Peach: Local-first video metadata scraper and media manager.
fix(ui): 接管详情滚动条并隐藏骨架横向轨道
longmeidao6caef0880ba4
diff --git a/docs/REUSE.md b/docs/REUSE.mdindex 08f4a97f7..ad4b166d9 100644--- a/docs/REUSE.md+++ b/docs/REUSE.md@@ -543,6 +543,7 @@ OneJAV、Free JAV Torrent 只给种子链接。这类条目经索引器同源的- 搜索玻璃用 `glideEase()` 的采样弹簧,`frontend/src/application/search-morph.js` 只管视口边界与轮廓关键帧。- 横排滚到头的回弹是 `wireHorizontalScroller` 内的 `edgeBounce`,头像排、厂牌排、新作排、筛选条共用;transitions.dev 的 43 条配方里没有(2026-09-23 核对)。越界位移借 UIScrollView 的橡皮筋公式 `(1 - 1/(x·c/d + 1))·d`,c = 0.55,与 use-gesture(MIT)的 `rubberband` 同一条,回弹走 `--spring-pane`。只抄公式不引依赖:拖动与滚轮归属已由 `wireHorizontalScroller` 判定。新作排自动滚动是同文件的 `wireAutoScroll`。- React 横向导航通过 `useHorizontalScroller` 绑定上述共享行为,适用于页签、分段控件、筛选栏和首字跳转;`data-horizontal-scroll` 隐藏原生滚动条,左右渐隐由实际溢出方向决定。容器和子项尺寸、文本及增删变化都会重算,竖向分类列关闭绑定;表格和代码块继续使用覆盖式滑块,不新增依赖。+- 详情影院模式通过 `data-theater` 改变已有容器的 overflow,共享滚动区观察器同步接管新滚动轴。`data-skeleton` 与 `data-skeleton-tier` 期间隐藏原生滚动条并移除旧轨道,内容恢复后由同一观察器重新接管;首页与资料页共用的新作占位在整条横向容器上标记 `data-skeleton="feed/new"`。保留原占位尺寸与排版,不为占位另建滚动组件。- 管理页头及 `manageHeaderSkeletonHtml` 共用一级导航、面包屑、页面标题的顺序,页内分类放在标题之后;管理条保持跨模块导航,面包屑保留上级链接与当前页语义。- 浮层筛选首页是页面内组件 `catalog-filter`,资料页是 `entity-filter`,共用 `FilterGlassRows` 两排、交集条与排序键,滑动玻璃走 `use-view-glide.ts`。外框管玻璃与吸顶,壳管查询状态和取数,岛只画、动作回壳,按下态在发请求前由壳经 `updateManagedRoute` 推到;身份与观看状态的组合沿用 `/api/items`。- `web/board.css` 共用正式页面结构。首启、登录与错误三页是独立页面包 `/dist/peach-pages.js` 里的 React 页,服务端只吐 `web_entry.page_shell()` 那一张薄壳,外框是 `frontend/src/react/pages/auth-card.tsx`,SPA 外壳之外的新页面挂进同一个包。diff --git a/frontend/e2e/follow-detail.test.ts b/frontend/e2e/follow-detail.test.tsindex 4838ac183..c33dd43ba 100644--- a/frontend/e2e/follow-detail.test.ts+++ b/frontend/e2e/follow-detail.test.ts@@ -112,6 +112,14 @@ describe('关注详情岛', () => {assert.ok(normal && normal.height > 100);await page.locator('#stage [data-player-theater]').dispatchEvent('click');await page.locator('#stage[data-theater]').waitFor();+ const scroll = page.locator('#stage > [data-stage-scroll]');+ await page.waitForFunction(() => document.querySelector('#stage > [data-stage-scroll]')?.hasAttribute('data-overlay-scrollbar'));+ assert.equal(await scroll.evaluate(node => getComputedStyle(node).scrollbarWidth), 'none');+ assert.equal(await page.locator('#stage > .ovtrack.ov-y').count(), 1);+ await page.waitForFunction(() => {+ const region=document.querySelector<HTMLElement>('#stage > [data-stage-scroll]')!;+ return region.scrollHeight<=region.clientHeight+1 || !document.querySelector<HTMLElement>('#stage > .ovtrack.ov-y')?.hidden;+ });const cinema = await player.boundingBox();assert.ok(cinema && cinema.height > 100, `影院画面不可见:${JSON.stringify(cinema)}`);assert.equal(await node!.evaluate(element => element === document.querySelector('#stage .video-js')), true);@@ -199,6 +207,8 @@ describe('关注详情岛', () => {assert.ok(box && box.height > 120, `详情等待画面高度不足:${JSON.stringify(box)}`);assert.equal(await page.locator('#stage [data-skeleton="detail"] [data-stage-side-content]').evaluate((node) => getComputedStyle(node).rowGap), '12px');+ assert.equal(await page.locator('#stage [data-skeleton="detail"] [data-stage-side-content]')+ .evaluate((node) => getComputedStyle(node).scrollbarWidth), 'none');} finally {releaseItem();}diff --git a/frontend/e2e/home-loading.test.ts b/frontend/e2e/home-loading.test.tsindex f30c091e4..597e224f6 100644--- a/frontend/e2e/home-loading.test.ts+++ b/frontend/e2e/home-loading.test.ts@@ -65,6 +65,8 @@ describe('首页加载结构',()=>{const tiers=await page.locator('[data-catalog-tier]').first().elementHandle();assert.equal(await page.locator('#feedNew .feednewskeleton').count()>0,hasFeed);if(hasFeed){+ assert.equal(await page.locator('#feedNew .feednewrow').evaluate(node=>getComputedStyle(node).scrollbarWidth),'none','新作骨架不显示原生横向滚动条');+ assert.equal(await page.locator('#feedNew > .ovtrack.ov-x:visible').count(),0,'新作骨架不显示外层横向轨道');const colors=await page.locator('#feedNew .feednewskeleton .pic').first().evaluate(node=>{const probe=document.createElement('i');probe.style.background='var(--hover)';node.append(probe);const expected=getComputedStyle(probe).backgroundColor,actual=getComputedStyle(node).backgroundColor;diff --git a/frontend/e2e/skeleton-paint.test.ts b/frontend/e2e/skeleton-paint.test.tsindex e1e45b5ef..cb83da6ae 100644--- a/frontend/e2e/skeleton-paint.test.ts+++ b/frontend/e2e/skeleton-paint.test.ts@@ -48,6 +48,13 @@ describe('各页骨架的显示门槛与绘制边界', () => {const missing = await page.locator('[data-skeleton] svg use,[data-skeleton-tier] svg use,[data-skeleton-control] svg use').evaluateAll(nodes =>nodes.map(node => node.getAttribute('href') || '').filter(href => href.startsWith('#') && !document.getElementById(href.slice(1))));assert.deepEqual(missing, [], '骨架使用了未提供的图标');+ const scrollbars = await page.locator('[data-skeleton],[data-skeleton-tier]').evaluateAll(roots =>+ roots.flatMap(root => [root,...root.querySelectorAll('*')]).filter(node => {+ const style=getComputedStyle(node);+ return /^(auto|scroll)$/.test(style.overflowX) || /^(auto|scroll)$/.test(style.overflowY);+ }).filter(node => getComputedStyle(node).scrollbarWidth !== 'none')+ .map(node => `${node.tagName}.${node.className}`));+ assert.deepEqual(scrollbars, [], '骨架显示了原生滚动条');assert.deepEqual((await layout(page)).offenders, []);const evidence = process.env.PEACH_SKELETON_EVIDENCE;if (evidence) await page.screenshot({ path: join(evidence, `${viewport.name}-${theme}-${index}.png`) });diff --git a/frontend/src/application/feed.js b/frontend/src/application/feed.jsindex 0e6c97e79..545bfa66e 100644--- a/frontend/src/application/feed.js+++ b/frontend/src/application/feed.js@@ -152,7 +152,7 @@ export function syncHeroWide([entry]){export function installFeed13() {feedState.FEED_SKELETON_CARDS = 8;-feedState.feedNewSkeletonHtml = ()=>`<div class="feednewrow srow" aria-hidden="true">${+feedState.feedNewSkeletonHtml = ()=>`<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${COVER_FRONT_RATIO}"></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>`diff --git a/frontend/src/ui-kit/overlay-scrollbar.ts b/frontend/src/ui-kit/overlay-scrollbar.tsindex 1890df1f8..05a99f124 100644--- a/frontend/src/ui-kit/overlay-scrollbar.ts+++ b/frontend/src/ui-kit/overlay-scrollbar.ts@@ -16,6 +16,11 @@ export function releaseOverlayScrollbars(root:HTMLElement):void{for(const [container,control] of controls)if(container===root||root.contains(container))control.destroy();}+/** 布局模式改变时,display:contents 子树可能改变内容长度而不触发容器尺寸观察。 */+export function refreshOverlayScrollbars(root:HTMLElement):void{+ for(const [container,control] of controls)if(container===root||root.contains(container))control();+}+/*** 覆盖式滚动条:滑块浮在内容上,一列宽度都不占。*diff --git a/frontend/src/ui-kit/scroll.ts b/frontend/src/ui-kit/scroll.tsindex 183df429f..08b074d68 100644--- a/frontend/src/ui-kit/scroll.ts+++ b/frontend/src/ui-kit/scroll.ts@@ -3,7 +3,7 @@已绑定的横排、自动滚动的那几排与弹簧取值都是模块级状态,只有一份。 */import { esc } from '../core';-import { attachOverlayScrollbar, detachOverlayScrollbar, pruneOverlayScrollbars, releaseOverlayScrollbars } from './overlay-scrollbar';+import { attachOverlayScrollbar, detachOverlayScrollbar, pruneOverlayScrollbars, refreshOverlayScrollbars, releaseOverlayScrollbars } from './overlay-scrollbar';const horizontalControls=new Map<Element,any>();let horizontalCleanup:MutationObserver|null|undefined;@@ -349,7 +349,9 @@ export function wireOverlayScrollbars(root:ParentNode=document,subtree=true):voi// 样式读取与轨道挂载分两段,避免每插入一条轨道就重新计算后面所有节点的样式。const candidates=nodes.flatMap<{el:HTMLElement;axes:readonly ('x'|'y')[]}>(el=>{if(!(el instanceof HTMLElement)||el===document.body||el===document.documentElement- ||el.closest('.ovtrack,.ui-ov-edges,[data-skeleton],[inert]'))return [];+ ||el.closest('.ovtrack,.ui-ov-edges'))return [];+ if(el.closest('[data-skeleton],[data-skeleton-tier]')){detachOverlayScrollbar(el);return []}+ if(el.closest('[inert]'))return [];const horizontalGesture=gesture(el),axes=horizontalGesture?['y'] as const:['y','x'] as const;if(el.dataset.overlayScrollbar&&el.dataset.overlayAxes===axes.join(''))return [];const style=getComputedStyle(el);@@ -380,14 +382,17 @@ export function observeScrollRegions(root:HTMLElement=document.body):()=>void{const observer=new MutationObserver(records=>{for(const record of records){if(record.type==='attributes'){- if(record.target instanceof HTMLElement)queue(record.target,record.attributeName!=='style');+ if(record.target instanceof HTMLElement){+ if(record.attributeName==='data-theater')refreshOverlayScrollbars(record.target);+ queue(record.target,record.attributeName!=='style');+ }}else{for(const node of record.addedNodes)if(node instanceof HTMLElement)queue(node);if(record.removedNodes.length&&!frame)frame=requestAnimationFrame(flush);}}});- observer.observe(root,{childList:true,subtree:true,attributes:true,attributeFilter:['class','style','hidden','open','inert','data-skeleton','data-horizontal-scroll']});+ observer.observe(root,{childList:true,subtree:true,attributes:true,attributeFilter:['class','style','hidden','open','inert','data-skeleton','data-skeleton-tier','data-horizontal-scroll','data-theater']});const resize=()=>queue(root);window.addEventListener('resize',resize,{passive:true});queue(root);diff --git a/frontend/test/overlay-scrollbar.test.ts b/frontend/test/overlay-scrollbar.test.tsindex 31c09cd67..d279b45c6 100644--- a/frontend/test/overlay-scrollbar.test.ts+++ b/frontend/test/overlay-scrollbar.test.ts@@ -124,3 +124,53 @@ it('横向手势与纵向滑块各自保留对应方向的操作', () => {wireOverlayScrollbars(host);expect(host.querySelectorAll('.ovtrack')).toHaveLength(2);});++it('影院模式改变 overflow 后自动接管已有容器', async () => {+ const host=document.createElement('div');+ host.innerHTML='<style>[data-theater] .cinema-scroll-region{overflow-y:auto}</style><div class="cinema-scroll-region"></div>';+ document.body.append(host);+ const region=host.querySelector<HTMLElement>('.cinema-scroll-region')!;+ const stop=observeScrollRegions(host);+ try{+ await new Promise(resolve=>setTimeout(resolve,30));+ expect(region.hasAttribute('data-overlay-scrollbar')).toBe(false);+ host.setAttribute('data-theater','');+ await vi.waitFor(()=>expect(region.dataset.overlayScrollbar).toBe('true'));+ expect(host.querySelectorAll('.ovtrack')).toHaveLength(2);+ }finally{stop()}+});++for(const marker of ['data-skeleton','data-skeleton-tier'])it(`${marker} 移除旧轨道,内容恢复后重新接管`, async () => {+ const host=document.createElement('div'),region=document.createElement('div');+ region.style.overflowY='auto';host.append(region);document.body.append(host);+ const stop=observeScrollRegions(host);+ try{+ await vi.waitFor(()=>expect(region.dataset.overlayScrollbar).toBe('true'));+ host.setAttribute(marker,'');host.setAttribute('inert','');+ await vi.waitFor(()=>expect(host.querySelector('.ovtrack')).toBeNull());+ expect(region.hasAttribute('data-overlay-scrollbar')).toBe(false);+ host.removeAttribute(marker);host.removeAttribute('inert');+ await vi.waitFor(()=>expect(region.dataset.overlayScrollbar).toBe('true'));+ expect(host.querySelectorAll('.ovtrack')).toHaveLength(2);+ }finally{stop()}+});++it('影院模式只改变内容长度时刷新已绑定轨道', async () => {+ const host=document.createElement('div'),region=document.createElement('div');+ region.style.overflowY='auto';host.append(region);document.body.append(host);+ let content=100;+ Object.defineProperties(region,{+ clientHeight:{get:()=>100},scrollHeight:{get:()=>content},+ clientWidth:{get:()=>200},scrollWidth:{get:()=>200},+ });+ const stop=observeScrollRegions(host);+ try{+ await vi.waitFor(()=>expect(region.dataset.overlayScrollbar).toBe('true'));+ const track=host.querySelector<HTMLElement>('.ov-y')!;+ expect(track.hidden).toBe(true);+ content=500;host.setAttribute('data-theater','');+ await vi.waitFor(()=>expect(track.hidden).toBe(false));+ content=100;host.removeAttribute('data-theater');+ await vi.waitFor(()=>expect(track.hidden).toBe(true));+ }finally{stop()}+});diff --git a/web/css/09-skeleton.css b/web/css/09-skeleton.cssindex 87ed38d91..cfdf9df49 100644--- a/web/css/09-skeleton.css+++ b/web/css/09-skeleton.css@@ -7,6 +7,10 @@/* 标签页骨架里的视图切换靠在读数行右缘,同页面落地后那一枚的位置。 */.index .board-filter-frame .count>.iconswitch{margin:0 0 0 auto}.skeleton{display:block;height:18px;border-radius:var(--control-radius);background:var(--hover)}+/* 占位沿用内容的滚动布局,但不显示原生滚动条或此前内容留下的覆盖轨道。 */+:is([data-skeleton],[data-skeleton-tier]),:is([data-skeleton],[data-skeleton-tier]) *{scrollbar-width:none}+:is([data-skeleton],[data-skeleton-tier])::-webkit-scrollbar,:is([data-skeleton],[data-skeleton-tier]) *::-webkit-scrollbar{display:none}+:is([data-skeleton],[data-skeleton-tier]) .ovtrack{display:none}[data-jav-skeleton-cover]{height:auto}.board-page-skeleton[data-skeleton="board/jav"]{max-width:none}/* 读数占位是行内的一截:它坐在最终那枚 `b`、`strong`、说明行里,行高仍由那枚元素自己给,diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex a1b4e6d51..f6fd46334 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] = "0f540de9-3b08-4674-98d8-a59593301bd0", e._sentryDebugIdIdentifier = "sentry-dbid-0f540de9-3b08-4674-98d8-a59593301bd0");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "747fa6a4-8467-4fb1-aef0-baa4eb332f42", e._sentryDebugIdIdentifier = "sentry-dbid-747fa6a4-8467-4fb1-aef0-baa4eb332f42");} 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) => {@@ -5175,13 +5175,13 @@ var k = /* @__PURE__ */ o(((e) => {}}var Vl = !1, Hl = null;- function U(e) {+ function Ul(e) {(e.tag === 30 || e.subtreeFlags & 33554432) && (Vl = !0);}- var Ul = null;+ var U = null;function Wl() {- var e = Ul;- return Ul = null, e;+ var e = U;+ return U = null, e;}var Gl = 0;function Kl(e, t, n, r, i) {@@ -5297,7 +5297,7 @@ var k = /* @__PURE__ */ o(((e) => {}d && (e.flags |= 4), u.abs ? u = !l.abs : (l = l.rect, u = u.rect, u = l.height !== u.height || l.width !== u.width), u && (e.flags |= 32);} else e.flags |= 32;- e.flags & 4 && Pp(c, Gl === 0 ? n : n + "_" + Gl, i), s && e.flags & 4 || (Ul === null && (Ul = []), Ul.push(c, Gl === 0 ? r : r + "_" + Gl, t.memoizedProps)), Gl++;+ e.flags & 4 && Pp(c, Gl === 0 ? n : n + "_" + Gl, i), s && e.flags & 4 || (U === null && (U = []), U.push(c, Gl === 0 ? r : r + "_" + Gl, t.memoizedProps)), Gl++;} else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : ru(e, t.child, n, r, i, a, o) && (s = !0));t = t.sibling;}@@ -5364,7 +5364,7 @@ var k = /* @__PURE__ */ o(((e) => {selectionRange: r}, Th = !1, n = (n & 335544064) === n, uu = t, t = n ? 9270 : 1024; uu !== null;) {if (e = uu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Ql(r[a]);- if (e.alternate === null && e.flags & 2) n && U(e), gu(n);+ if (e.alternate === null && e.flags & 2) n && Ul(e), gu(n);else {if (e.tag === 22) {if (r = e.alternate, e.memoizedState !== null) {@@ -5372,7 +5372,7 @@ var k = /* @__PURE__ */ o(((e) => {continue;}if (r !== null && r.memoizedState !== null) {- n && U(e), gu(n);+ n && Ul(e), gu(n);continue;}}@@ -5873,7 +5873,7 @@ var k = /* @__PURE__ */ o(((e) => {else switch (e.tag) {case 3:if (mu = du = !1, Wl(), Fu(t, e), !du && !pu) {- if (e = Ul, e !== null) for (var r = 0; r < e.length; r += 3) {+ if (e = U, e !== null) for (var r = 0; r < e.length; r += 3) {n = e[r];var i = e[r + 1];Fp(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({@@ -5901,7 +5901,7 @@ var k = /* @__PURE__ */ o(((e) => {pseudoElement: "::view-transition"})), mu = !0;}- Ul = null;+ U = null;break;case 5:Fu(t, e);@@ -5917,7 +5917,7 @@ var k = /* @__PURE__ */ o(((e) => {var a = e.memoizedProps, o = e.stateNode;t = mi(a, o), o = mi(n.memoizedProps, o);var s = gi(a.default, a.update);- s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Gl = 0, t = ru(e, n, t, o, s, a, !0), Gl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (zd(e, e.memoizedProps.onUpdate), Ul = i) : i !== null && (i.push.apply(i, Ul), Ul = i), du = e.flags & 32 ? !0 : r;+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Gl = 0, t = ru(e, n, t, o, s, a, !0), Gl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (zd(e, e.memoizedProps.onUpdate), U = i) : i !== null && (i.push.apply(i, U), U = i), du = e.flags & 32 ? !0 : r;break;default: Fu(t, e);}@@ -6250,7 +6250,7 @@ var k = /* @__PURE__ */ o(((e) => {cacheSignal: function() {return Ca(ka).controller.signal;}- }, td = typeof WeakMap == "function" ? WeakMap : Map, nd = 0, rd = null, id = null, ad = 0, od = 0, sd = null, cd = !1, ld = !1, ud = !1, dd = 0, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = 0, vd = null, yd = null, bd = !1, xd = 0, Sd = 0, Cd = Infinity, wd = null, Td = null, Ed = 0, Dd = null, Od = null, kd = 0, Ad = 0, jd = null, Md = null, W = null, Nd = null, Pd = null, Fd = 0, Id = null;+ }, td = typeof WeakMap == "function" ? WeakMap : Map, nd = 0, rd = null, id = null, ad = 0, od = 0, sd = null, cd = !1, ld = !1, ud = !1, dd = 0, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = 0, vd = null, yd = null, bd = !1, xd = 0, Sd = 0, Cd = Infinity, wd = null, Td = null, Ed = 0, Dd = null, Od = null, kd = 0, Ad = 0, jd = null, Md = null, Nd = null, W = null, Pd = null, Fd = 0, Id = null;function Ld() {return nd & 2 && ad !== 0 ? ad & -ad : he.T === null ? xt() : Vf();}@@ -6266,7 +6266,7 @@ var k = /* @__PURE__ */ o(((e) => {function zd(e, t) {if (t != null) {var n = e.stateNode, r = n.ref;- r === null && (r = n.ref = Up(mi(e.memoizedProps, n))), Nd === null && (Nd = []), Nd.push(t.bind(null, r));+ r === null && (r = n.ref = Up(mi(e.memoizedProps, n))), W === null && (W = []), W.push(t.bind(null, r));}}function Bd(e, t, n) {@@ -6611,7 +6611,7 @@ var k = /* @__PURE__ */ o(((e) => {}function uf(e, t, n, r, i, a, o) {var s = t.lanes | t.childLanes;- if (Ad = s, s |= bi, ht(e, n, s, r, i, a), Nd = null, (n & 335544064) === n ? (Pd = Pa(e), r = 10262) : (Pd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Ef(Ke, function() {+ if (Ad = s, s |= bi, ht(e, n, s, r, i, a), W = null, (n & 335544064) === n ? (Pd = Pa(e), r = 10262) : (Pd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Ef(Ke, function() {return vf(), null;})) : (e.callbackNode = null, e.callbackPriority = 0), Vl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {r = he.T, he.T = null, i = I.p, I.p = 2, a = nd, nd |= 4;@@ -6621,7 +6621,7 @@ var k = /* @__PURE__ */ o(((e) => {nd = a, I.p = i, he.T = r;}}- Ed = 1, Vl ? W = Vp(o, e.containerInfo, Pd, pf, mf, ff, hf, vf, df, null, null) : (pf(), mf(), hf());+ Ed = 1, Vl ? Nd = Vp(o, e.containerInfo, Pd, pf, mf, ff, hf, vf, df, null, null) : (pf(), mf(), hf());}function df(e) {if (Ed !== 0) {@@ -6702,8 +6702,8 @@ var k = /* @__PURE__ */ o(((e) => {function hf() {if (Ed === 4 || Ed === 3) {Ed = 0;- var e = W;- W = null, Ve();+ var e = Nd;+ Nd = null, Ve();var t = Dd, n = Od, r = kd, i = Md, a = (r & 335544064) === r ? 10262 : 10256;if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Ed = 5 : (Ed = 0, Od = Dd = null, gf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (Td = null), bt(r), n = n.stateNode, Qe && typeof Qe.onCommitFiberRoot == "function") try {Qe.onCommitFiberRoot(Ze, n, void 0, (n.current.flags & 128) == 128);@@ -6719,7 +6719,7 @@ var k = /* @__PURE__ */ o(((e) => {he.T = n, I.p = a;}}- if (i = Nd, o = Pd, Pd = null, i !== null && (Nd = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);+ if (i = W, o = Pd, Pd = null, i !== null && (W = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);kd & 3 && _f(), Nf(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Id ? Fd++ : (Fd = 0, Id = t) : (Fd = 0, Id = null), Pf(0, !1);}}@@ -6727,7 +6727,7 @@ var k = /* @__PURE__ */ o(((e) => {(e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, ja(t)));}function _f() {- return W !== null && (W.skipTransition(), W = null), pf(), mf(), hf(), vf();+ return Nd !== null && (Nd.skipTransition(), Nd = null), pf(), mf(), hf(), vf();}function vf() {if (Ed !== 5) return !1;@@ -12541,7 +12541,10 @@ function go() {function _o(e) {for (let [t, n] of mo) (t === e || e.contains(t)) && n.destroy();}-function vo(e, { variant: t = "", axes: n } = {}) {+function vo(e) {+ for (let [t, n] of mo) (t === e || e.contains(t)) && n();+}+function yo(e, { variant: t = "", axes: n } = {}) {if (!e) return null;if (e.dataset.overlayScrollbar) {if (!n || e.dataset.overlayAxes === n.join("")) return null;@@ -12687,48 +12690,48 @@ function vo(e, { variant: t = "", axes: n } = {}) {return mo.set(e, O), O;}// src/ui-kit/collapse.ts-var yo = /* @__PURE__ */ new WeakMap();-function bo(e, t, n) {- So(t, n, () => e.open, (t) => {+var bo = /* @__PURE__ */ new WeakMap();+function xo(e, t, n) {+ Co(t, n, () => e.open, (t) => {e.open = t;});}-function xo(e, t) {- So(e, t, () => !e.hidden, (t) => {+function So(e, t) {+ Co(e, t, () => !e.hidden, (t) => {e.hidden = !t;});}-function So(e, t, n, r) {+function Co(e, t, n, r) {e.classList.add("ui-fcollapse");- let i = (yo.get(e) || 0) + 1;- yo.set(e, i);- let a = () => yo.get(e) === i;+ let i = (bo.get(e) || 0) + 1;+ bo.set(e, i);+ let a = () => bo.get(e) === i;if (t) {e.inert = !1;let t = n() ? e.getBoundingClientRect().height : 0;- r(!0), wo(e, t, a);- } else e.inert = !0, e.classList.remove("ui-fcollapse-settled"), e.style.height = e.getBoundingClientRect().height + "px", e.getBoundingClientRect(), e.style.height = "0px", Co(e, () => {+ r(!0), To(e, t, a);+ } else e.inert = !0, e.classList.remove("ui-fcollapse-settled"), e.style.height = e.getBoundingClientRect().height + "px", e.getBoundingClientRect(), e.style.height = "0px", wo(e, () => {a() && (r(!1), e.style.height = "");});}-function Co(e, t) {+function wo(e, t) {let n = !1, r, i = (a) => {a && a.propertyName !== "height" || n || (n = !0, e.removeEventListener("transitionend", i), clearTimeout(r), t());};e.addEventListener("transitionend", i), r = setTimeout(i, 260);}-function wo(e, t, n = () => !0) {- e.classList.remove("ui-fcollapse-settled"), e.style.height = t + "px", e.getBoundingClientRect(), e.style.height = e.scrollHeight + "px", Co(e, () => {+function To(e, t, n = () => !0) {+ e.classList.remove("ui-fcollapse-settled"), e.style.height = t + "px", e.getBoundingClientRect(), e.style.height = e.scrollHeight + "px", wo(e, () => {n() && (e.style.height = "auto", e.classList.add("ui-fcollapse-settled"));});}// src/ui-kit/sounds.ts-var To = null, Eo = !1;-function Do() {+var Eo = null, Do = !1;+function Oo() {let e = globalThis.AudioContext || globalThis.webkitAudioContext;- return e ? (To ||= new e(), To.state === "suspended" && To.resume()?.catch?.(() => {}), To) : null;+ return e ? (Eo ||= new e(), Eo.state === "suspended" && Eo.resume()?.catch?.(() => {}), Eo) : null;}-function Oo(e, t, { type: n = "sine", from: r, to: i = r, duration: a, volume: o, attack: s = 0, start: c = 0, filter: l = null }) {+function ko(e, t, { type: n = "sine", from: r, to: i = r, duration: a, volume: o, attack: s = 0, start: c = 0, filter: l = null }) {let u = t + c, d = e.createOscillator(), f = e.createGain();d.type = n, d.frequency.setValueAtTime(r, u), i !== r && d.frequency.exponentialRampToValueAtTime(i, u + a), s ? (f.gain.setValueAtTime(.001, u), f.gain.exponentialRampToValueAtTime(o, u + s)) : f.gain.setValueAtTime(o, u), f.gain.exponentialRampToValueAtTime(.001, u + a);let p = d;@@ -12738,7 +12741,7 @@ function Oo(e, t, { type: n = "sine", from: r, to: i = r, duration: a, volume: o}p.connect(f), f.connect(e.destination), d.start(u), d.stop(u + a + .01);}-function ko(e, t, { duration: n, volume: r, filter: i, sweepTo: a = null, attack: o = 0 }) {+function Ao(e, t, { duration: n, volume: r, filter: i, sweepTo: a = null, attack: o = 0 }) {let s = Math.max(1, Math.round(e.sampleRate * n)), c = e.createBuffer(1, s, e.sampleRate), l = c.getChannelData(0);for (let e = 0; e < s; e++) l[e] = Math.random() * 2 - 1;let u = e.createBufferSource();@@ -12750,8 +12753,8 @@ function ko(e, t, { duration: n, volume: r, filter: i, sweepTo: a = null, attacku.disconnect(), d.disconnect(), f.disconnect();}, u.start(t);}-var Ao = {- click: (e, t) => ko(e, t, {+var jo = {+ click: (e, t) => Ao(e, t, {duration: .06,volume: .12,filter: {@@ -12759,24 +12762,24 @@ var Ao = {Q: 1}}),- "toggle-on": (e, t) => Oo(e, t, {+ "toggle-on": (e, t) => ko(e, t, {from: 550,to: 650,duration: .08,volume: .15}),- "toggle-off": (e, t) => Oo(e, t, {+ "toggle-off": (e, t) => ko(e, t, {from: 650,to: 550,duration: .08,volume: .15}),success: (e, t) => {- Oo(e, t, {+ ko(e, t, {from: 523,duration: .12,volume: .18- }), Oo(e, t, {+ }), ko(e, t, {from: 653.75,duration: .12,volume: .18,@@ -12784,12 +12787,12 @@ var Ao = {});},warning: (e, t) => {- Oo(e, t, {+ ko(e, t, {type: "triangle",from: 600,duration: .08,volume: .15- }), Oo(e, t, {+ }), ko(e, t, {type: "triangle",from: 600,duration: .08,@@ -12797,7 +12800,7 @@ var Ao = {start: .16});},- error: (e, t) => Oo(e, t, {+ error: (e, t) => ko(e, t, {type: "sawtooth",from: 400,to: 200,@@ -12809,7 +12812,7 @@ var Ao = {Q: 1}}),- whoosh: (e, t) => ko(e, t, {+ whoosh: (e, t) => Ao(e, t, {duration: .12,volume: .08,attack: .036,@@ -12819,66 +12822,66 @@ var Ao = {},sweepTo: 6e3}),- pop: (e, t) => Oo(e, t, {+ pop: (e, t) => ko(e, t, {from: 1500,to: 500,duration: .04,volume: .15})};-Object.freeze(Object.keys(Ao));-function jo(e) {- Eo = e === !0;-}+Object.freeze(Object.keys(jo));function Mo(e) {- let t = Ao[e];+ Do = e === !0;+}+function No(e) {+ let t = jo[e];if (!t) throw Error(`没有「${e}」这种界面音效`);- if (!Eo) return !1;- let n = Do();+ if (!Do) return !1;+ let n = Oo();return n ? (t(n, n.currentTime), !0) : !1;}-var No = "button,[role=\"button\"],[role=\"tab\"],[role=\"menuitem\"],[role=\"menuitemradio\"],[role=\"menuitemcheckbox\"],[role=\"option\"],summary,a[href]", Po = "input[type=\"checkbox\"][role=\"switch\"]";-function Fo(e) {+var Po = "button,[role=\"button\"],[role=\"tab\"],[role=\"menuitem\"],[role=\"menuitemradio\"],[role=\"menuitemcheckbox\"],[role=\"option\"],summary,a[href]", Fo = "input[type=\"checkbox\"][role=\"switch\"]";+function Io(e) {return e.disabled === !0 || e.getAttribute("aria-disabled") === "true";}-var Io = /* @__PURE__ */ new WeakSet();-function Lo(e = document) {- Io.has(e) || (Io.add(e), e.addEventListener("click", (e) => {- let t = e.target?.closest?.(No);- t && !Fo(t) && Mo("click");+var Lo = /* @__PURE__ */ new WeakSet();+function Ro(e = document) {+ Lo.has(e) || (Lo.add(e), e.addEventListener("click", (e) => {+ let t = e.target?.closest?.(Po);+ t && !Io(t) && No("click");}, { capture: !0 }), e.addEventListener("change", (e) => {let t = e.target;- t?.matches?.(Po) && !Fo(t) && Mo(t.checked ? "toggle-on" : "toggle-off");+ t?.matches?.(Fo) && !Io(t) && No(t.checked ? "toggle-on" : "toggle-off");}, { capture: !0 }));}// src/ui-kit/anchored-menu.ts-var Ro = null, zo = globalThis;-zo.__peachMenuCloser || (zo.__peachMenuCloser = !0, document.addEventListener("click", (e) => {- if (!Ro) return;+var zo = null, Bo = globalThis;+Bo.__peachMenuCloser || (Bo.__peachMenuCloser = !0, document.addEventListener("click", (e) => {+ if (!zo) return;let t = e.target;- Ro.menu.contains(t) || Ro.toggle.contains(t) || (!Ro.mount.contains(t) || t instanceof Element && t.closest("a[href],button,input,select,textarea,summary,[role=button],[role=menuitem],[tabindex]")) && Ro.setOpen(!1);+ zo.menu.contains(t) || zo.toggle.contains(t) || (!zo.mount.contains(t) || t instanceof Element && t.closest("a[href],button,input,select,textarea,summary,[role=button],[role=menuitem],[tabindex]")) && zo.setOpen(!1);}, !0));-function Bo() {- Ro && Ro.setOpen(!1);+function Vo() {+ zo && zo.setOpen(!1);}-var Vo = /* @__PURE__ */ new WeakMap();-function Ho(e) {- Vo.delete(e), e.classList.remove("leaving"), e.hidden && Mo("whoosh"), e.hidden = !1;+var Ho = /* @__PURE__ */ new WeakMap();+function Uo(e) {+ Ho.delete(e), e.classList.remove("leaving"), e.hidden && No("whoosh"), e.hidden = !1;}-function Uo(e, t) {- if (e.hidden || Vo.has(e)) return;+function Wo(e, t) {+ if (e.hidden || Ho.has(e)) return;let n = () => {- Vo.get(e) === n && (Vo.delete(e), e.classList.remove("leaving"), e.hidden = !0, t && t());+ Ho.get(e) === n && (Ho.delete(e), e.classList.remove("leaving"), e.hidden = !0, t && t());};- Vo.set(e, n), e.classList.add("leaving"), getComputedStyle(e).animationName === "none" ? n() : (e.addEventListener("animationend", (t) => {+ Ho.set(e, n), e.classList.add("leaving"), getComputedStyle(e).animationName === "none" ? n() : (e.addEventListener("animationend", (t) => {t.target === e && n();}, { once: !0 }), setTimeout(n, 240));}-var Wo = () => 8 + (parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 0);-function Go(e, t) {+var Go = () => 8 + (parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 0);+function Ko(e, t) {return e.target instanceof Node && e.target.contains(t);}-function Ko(e, t, n, { side: r = !1, align: i = "end" } = {}) {+function qo(e, t, n, { side: r = !1, align: i = "end" } = {}) {let a = null, o = () => {let e = t.getBoundingClientRect(), o = n.offsetWidth;if (a = {@@ -12888,26 +12891,26 @@ function Ko(e, t, n, { side: r = !1, align: i = "end" } = {}) {n.dataset.placement = "right", n.style.maxHeight = Math.max(0, innerHeight - 32) + "px", n.style.left = Math.max(16, Math.min(e.right + 8, innerWidth - o - 16)) + "px", n.style.top = Math.max(16, Math.min(e.top, innerHeight - n.offsetHeight - 16)) + "px";return;}- let s = Wo(), c = innerHeight - 8 - e.bottom - 8, l = e.top - 8 - s, u = n.scrollHeight + n.offsetHeight - n.clientHeight, d = c >= u || c >= l, f = Math.min(u, Math.max(d ? c : l, 0));+ let s = Go(), c = innerHeight - 8 - e.bottom - 8, l = e.top - 8 - s, u = n.scrollHeight + n.offsetHeight - n.clientHeight, d = c >= u || c >= l, f = Math.min(u, Math.max(d ? c : l, 0));n.dataset.placement = d ? "bottom" : "top", n.style.maxHeight = f + "px";let p = i === "start" || n.classList.contains("context-card") ? e.left : e.right - o;n.style.left = Math.max(8, Math.min(p, innerWidth - o - 8)) + "px", n.style.top = (d ? e.bottom + 8 : e.top - 8 - f) + "px";}, s = (e) => {- if (!Go(e, t) || !a) return;+ if (!Ko(e, t) || !a) return;let n = t.getBoundingClientRect();(e.target === document || e.target === window || Math.abs(n.left - a.left) > .5 || Math.abs(n.top - a.top) > .5) && d(!1);}, c = n.hasAttribute("popover"), l = !1, u = !1, d = (r) => {- u || (r ? (Ro && Ro.mount !== e && Ro.setOpen(!1), l = !0, Ho(n), c && !n.matches(":popover-open") && n.showPopover(), o(), window.addEventListener("resize", o), window.addEventListener("scroll", s, {+ u || (r ? (zo && zo.mount !== e && zo.setOpen(!1), l = !0, Uo(n), c && !n.matches(":popover-open") && n.showPopover(), o(), window.addEventListener("resize", o), window.addEventListener("scroll", s, {capture: !0,passive: !0- })) : (l = !1, window.removeEventListener("resize", o), window.removeEventListener("scroll", s, !0), Uo(n, () => {+ })) : (l = !1, window.removeEventListener("resize", o), window.removeEventListener("scroll", s, !0), Wo(n, () => {n.style.left = "", n.style.top = "", n.style.maxHeight = "", c && n.matches(":popover-open") && n.hidePopover();- })), t.setAttribute("aria-expanded", String(r)), Ro = r ? {+ })), t.setAttribute("aria-expanded", String(r)), zo = r ? {mount: e,menu: n,toggle: t,setOpen: d- } : Ro && Ro.mount === e ? null : Ro);+ } : zo && zo.mount === e ? null : zo);}, f = (e) => {e.stopPropagation(), d(!l);}, p = (e) => {@@ -12917,16 +12920,16 @@ function Ko(e, t, n, { side: r = !1, align: i = "end" } = {}) {setOpen: d,isOpen: () => l,dispose: () => {- u || (u = !0, l = !1, t.removeEventListener("click", f), e.removeEventListener("keydown", p), window.removeEventListener("resize", o), window.removeEventListener("scroll", s, !0), Ro?.menu === n && (Ro = null), Vo.delete(n), n.classList.remove("leaving"), n.hidden = !0, c && n.matches(":popover-open") && n.hidePopover(), n.style.left = "", n.style.top = "", n.style.maxHeight = "", t.setAttribute("aria-expanded", "false"));+ u || (u = !0, l = !1, t.removeEventListener("click", f), e.removeEventListener("keydown", p), window.removeEventListener("resize", o), window.removeEventListener("scroll", s, !0), zo?.menu === n && (zo = null), Ho.delete(n), n.classList.remove("leaving"), n.hidden = !0, c && n.matches(":popover-open") && n.hidePopover(), n.style.left = "", n.style.top = "", n.style.maxHeight = "", t.setAttribute("aria-expanded", "false"));}};}// src/ui-kit/select-field.ts-function qo(e) {+function Jo(e) {return e ? e.startsWith("data:image/png;base64,") ? `<img class="gselectmark" src="${z(e)}" alt="" width="16" height="16">` : R(e, "gselectmark") : "";}-function Jo(e, t, { label: n = "", attr: r = "", className: i = "" } = {}) {- let a = e.find(([e]) => String(e) === String(t)) || e[0] || ["", ""], o = ([, e, t]) => `${qo(t)}${z(e)}`, s = e.map(([e, t, n]) => `<button type="button" role="option" data-select-option="${z(e)}"+function Yo(e, t, { label: n = "", attr: r = "", className: i = "" } = {}) {+ let a = e.find(([e]) => String(e) === String(t)) || e[0] || ["", ""], o = ([, e, t]) => `${Jo(t)}${z(e)}`, s = e.map(([e, t, n]) => `<button type="button" role="option" data-select-option="${z(e)}"aria-selected="${String(e) === String(a[0])}" tabindex="-1"><span data-select-content>${o([e,t,@@ -12937,13 +12940,13 @@ function Jo(e, t, { label: n = "", attr: r = "", className: i = "" } = {}) {aria-expanded="false" aria-label="${z(n)}"><span data-select-label>${o(a)}</span>${R("chevron-down")}</button><div class="popmenu gselectmenu" role="listbox" aria-label="${z(n)}" popover="manual" data-select-menu hidden>${s}</div></div>`;}-function Yo(e) {+function Xo(e) {let t = e.querySelector("[data-select-trigger]"), n = e.querySelector("[data-select-menu]"), r = e.querySelector("[data-select-label]"), i = () => [...n.querySelectorAll("[data-select-option]")], a = () => n.querySelector("[aria-selected=\"true\"]");t.addEventListener("click", () => {let r = `${t.getBoundingClientRect().width}px`;n.style.minWidth = r, e.hasAttribute("data-fixed-width") && (n.style.width = r);});- let o = Ko(e, t, n);+ let o = qo(e, t, n);t.addEventListener("click", () => {o.isOpen() && a()?.focus();});@@ -12978,44 +12981,44 @@ function Yo(e) {}), e;}// src/ui-kit/media-source-icons.ts-var Xo = {+var Zo = {local: "hard-drive",guangya: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAEWUlEQVR42sWXT2hcVRTGf/fNYCZdNNPGTaHaSUXFVQZSLLowoe3GdpEERHFhYqTQRBATcWlpSly56YQu4ipNZivYxCK46Z9EsBGkHdwItdhXrLixzaASo2bucXHve/feNzOagqQXHnPf/XPOd77z3XPfKLwmkxTZit4lkiEiykQK8wA5+5v0c5i5nNj3ZJ03nwPyKpmvEekFpGNZvV6PE58qdT7BEIoLRKqYOo0g6PtOogQEDkDWeS4DVgQ0MVpNqbGNpRSATDCEcLHJYcAAzWz4QHIqZCcdswwloWr7iBpWJzeWlIxTAq4CJSK7MNmQOhXrSGXeWzj205AGAiiLQAAt0JA6HZ09eRRDCKV0UmGoUsq8SzJoKRS7DgFJxpQxmjhRXsRg5pU4AAKIKvL7xmQeGPVWerJIHBACSX9TQw5EAlB75lLnnm1t18NgHqHsAPjGvCj8KHN27rEuONgPnV3w96/wVx3urZrotefMj0n5DABalfME59CjUXwGPGDlEegbgZ5+mtpmHW5fgusz8NtdF30AwKZCa9AKJeNIYERZ4anM0esuwWvzJurttK8+hLUZY1B5gaUpMIHlW+8Wh0YL7O2BU5dhb4lttxc/sEBmnE3lmba6yrf0re1RE7vj7RbOf1iBWhXqdw1D+3rh8DtQLIUgNuvwzXmaUm3T25yCJA3Kgjg+DS+fcXMPYvjkLYhXw1Ql/YHT0H861MXcs7C5bo+2BCzkpg8x3ZpDZTa8cQE6i274XB/8/K0TVt8oPDcI67FxFq9AYQ/sP2zm8wXIdcDWn7D7AOwuGdZsRWzNQFJMegfh1EU3tjoLy+85oR4agVfnzdydFZg/ZuY6izD1PRSKzXbjFageS2tF1FZEIvD0QDj29aKt41bJHV0Z7YiZ31iH7z5rbfdmFRruTsj/q5K7D4TvP9Ys9fZofXkeuntgz5Nw6X1jNDn363FzjbgyAzeqnhCzKXhmAKauuk2LY7C2YAWJExyJ6CyQ5LL5aMvtvVE1YlWZtBIexTAF9zOonyg7tCn1Ht2JohsCPS+Fe3+quas3eRpi6G9o82hpAWCj7t5fGIVdxRCE9mt5ereb0+C3ezWnCS1eXweAmkW4tuj6nUU4fiZTQPCMmijY1wvPj4a14vaKi1pjhScOsG6VAoArlZCFo5NwIgvCA/JUP5z8NLTxxVnn2Hx8uPUND1TbOnB0El45R1N6Ls8aagEeL5kUZY/qgximD3riU5n7Jbz62xeikQXj4GHa/RhmjxgQqkV5F3sSRKfA2hei6pvw+dntO791DSpH4Jc7nuCyAhT3NWTT0Z6BtBiV4MR0ezZuXTPCvb7Q8jpJo/aveNyF9N8AkrarCPvL7lr+o270kK0dD9mUTHAz/C7cwSbUIoRlHlWLWIwoUEGoPwL3McJSpCrUiRjbcfeKKfUxcQSg5lhCMQzEO5D3OophNcdS8O8YQMYpoRkix+j/LkxFDWGZAhVVcSn/Bw2n+w/oK+fWAAAAAElFTkSuQmCC",115: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAHB0lEQVR4nO2bbUwURxjH/zN38qIcb4JWoIoHFYumWhDbRquNiSlYC4ZGjVYrotHWD1VTLdY00X7zbA22Na21KWqsUMHYSiygJjaRQDW+VK2YioBarVZBQA9QDm6nedajCuxxHrfH7dX+kiXcvszM8+zO7DPP/JfBzcQmfx4O1jpJEmKUgBTHwUYIIAyAwbYRZtoYUCdBVDLwi5yxCgjfo1Uly2vd2T7mjkJj3vgsUVitcwWkqQxstAv1CAFxnoEfZjpdbvXPq05p1gFxqSZDexuWCIhMCMTDHTBcYGA5+n7YdrEwy6xOkS4yJi07uMliWSGEeB9ACPqGBsbYFwE+PpvP7l/Z6BEHCCFYzDRTBgATBMLhCRhofMiqLsrawRgTvSuiFxinbxjK2pErgAnQAAwoE3rMrTmw5s9eXOscxpSNE5iQ9glgEDQEA24LxtNrij8sc+Y67szJscmmTAjpiNaMJ+Q2CemI3Ea1n4CZM/N1p5pqPoXASngDDNmJAcbVBQWzrI5PfRLjzTX7AKTCuyhMNBjTHTmBOypFvvPeZzyRamt775+A2GRTpgTxHbwYDraoqiQrx2kHGFM2TqBBBYAPvBsLGJ9i7+3AenjPn9DiaN/rV6QeSUpxgl4pwotNMeWqbXw/PceYuAiEBvk7dZ2/Xz8MCQvE2JERGB4ZgteXOt8jyRY5cBPi1a4Ro77rybbwVtUIzzDAF7mmOYiPGexSOZt2Hu31tRS12mzbbvctMCYtO1iO7VVmUXqSy8bX323Bjp9OutoUk81GZQc0WSwr1J7YBAb4IiNtnMvlbCs4jpYHba4VIhAu26jkgLhUk8E2pVWVRenj5S7QWyxtVhQcOoecH0+o0h6ykWztNga0t2GJ2vP5oAA/ZKQldtv/1Q+/Yv8vFWg0P3BYhrm5Fa2WdjWbFWKzdVMnB8iZHJVZ/NZ4BPTvfPfzis64NJipgc1W2QG8I4endhor2OCHd1ITOu27/6AN2btK4XEE4mWbYXMAJTD74u5/f+A07jS2QAt02MzlH5Cmqn/3u/d9vV6HyeOM8nFP02Ezo7y9hPu31MwQr86YjHdnv9zjOTXX7+D4uWsoKv0D5WeuwgMIDv/Belq0gFDP+JBAf8zv0veVMEYNlLc508bir1t3sffw78g/eA5/16mS7X4SGNnOacVG7b4/wN+5CWTk4CAsnzcRh79djPlvOnaeWkhCjOK0XKVmoXWNzdhTchalpy7Ld9YZ+vv5YP2yqfK8YfDAALgbASmOxSRvoGmv67GqHcJCBuDFkRHybC5pdBQSno8EY457XPW1O5i9ajca7t13V9Oo359kxuQNlwFEo494JsyAGVNGYeGMcbJzeuLcxZt4e02e63MA+1yh1+C/cXFfQIPc1vxjmJSxFZt3lcJqleye+0LcEKyYP9GdzTH0uQM6oPj+y9xyzM3Kw83ae3bPmzc9ARGDAt3qAI9ysuI6Zn2wG7X1TYrHfX30WDb7FbfVz23iBI9yo/YeFq/bK88VlJicZHRX1WZNOIA4X3ULuw6cVjwWER6I6Ai3rLybOclSoBFy9p2wO/ePHTpQ9foYUMdJkwONUNvQjIuXlSVBOp36w5UEUclJkAQNcdPOXIDTs6oyjMRYshpLQ1gl5big5nq96nVxxio4SdEeps21QVx0uGJesPKK6mo5QbZz0uGRFA0agMLk4ZGh3faX/XaF9HKqQjZXlSyvlUcW0uFBA9BUWKmvUxZZbTps5vIPnS4XHoZecwsU0mgHyypRUU0JK3XpsJnTH1mByXABHoKySFvWzpAXQrtOiT/aXKx+hQwXOlSn/NE+ZldE4E6GDQlGwaZ5eG4YyYcfcbu+CRkf5+Nuk+PFE2d53Fbe8Q/JT0mBiT6CJjlLZ76Eoq8zMTyq88B36WodFqzdgxu37c8SXaDBZqtMpxEnJsW0XgixDm6CNAKUGaLU+OzkMQgN6t/peLtVwjf5x7Alr1xeE3QHjLFPqouz1ivqAwJ8fDabLa3LXF0hHjEsDBMSoqHjHH4+egwM7g9jVCgS46O69XOC0l6Hyiuxs/CU3VBYFRhqycbOu7pgTNmwEAI5aiyMvjbeiEkJRhifDUXkoCB5qbyt3YrmFguu3mxE5dVaHCq7hPIzV2CV+iAWY8isKV6zvUcHiIcSmVKt6IDV1BNXFWd1k8jwbicyJkh4TMIi/EewiaTmKinKudIFpKYi4bEsMfN+LLKI2o6SnNu7inR1HOw9eDlkQ08Kct7TxbLCkiEb3gpDdk8qUcJhmoVU1yQ8hvdRaGs7XHJAQcEsK6muvepJILn8EyjFCafyTDbx9Nca1g9bqM87euwfhzlbw1P9yQxBFZDwmAILaATbR1NJzhpP/P/ZHFzkqf1wsitP7aezSjyVH0/DDlr/fP4fOwTeE5lpP+gAAAAASUVORK5CYII=",pikpak: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACY0lEQVR4nNWXy2tTQRSHv7m5RUWttqlNW1OairhKNbrU+lhE/AOkdCOIIO7arty0QhSxCIIQ7VJwIfgfCIJdFB+rgC32AVIflD5CbFUsoohJRiZzb5Ne05p4kxv94HCTc+bO+c0MM3eOoICD/TJswAAQBdoBH5UhA8wDo1mIv7ojpuyAsH9EBuQgkmuASXVJI4lN3BXDawIifXIQwQ28RDA0ERfDwpr2cQ9G7iSdhcOGteZeJ1eYKreB5DS1I2oiCJba2hDQVA9tjdDaCHMfICuhMwDJz5D8BMtftK9E2s2NttrJMOxvzSdT1rIb6goW69KIXsjr5/K+nxlIWWKWrOebJIxNFhXgK7r20QjcPL+59PllGH8LarDvU3oWFHU+CDZpK+TKA3j88vd+zGKd93av/y8lrKxao7Ls6bROrrj6EE6E9WzZppZKrJ0y0Hu8RAGhZuhohqk5nShp2Y/0+nZqxPaoFQsr2my2mNDSkBe01w/7AvAu9QcB/nrYs0vboU4qSsNOwCHAoMYY/5WAsckNt1NJ8WKY5TS+fF8/E7f/Lu5aQDrjLu5agOlzF3ct4NYFd3HXAk51uYv/k9vQLPeFr9/h4gh0dcCBNu17vaiP7nt9sGNblQVs3wo9x+DZNCRm9aUyFICebh0rF9PpWP22+QvqC3f2qLZyKda34XTMLsGLGSrO8xndtxMR6ZfqQ+tz7uczRyDor0zyxY/6LlDkoMqYVsUSKvSqho8SVB/JglqCUWqF4ImharVcueQ96j4bN3KFoiDmeXpJTOXO7QJVoyEZ8mgm0rm6sLA4talFef4LaurBZfZxNPMAAAAASUVORK5CYII=",onedrive: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAL30lEQVR42u2aa4xd11XHf2ufez2v6/GMY2dix4nHbRw7tI5TmyZgFToKtCKokitoigT9kAopFEFFGqkSAUrDowiJD614SEj5EEG/VUXllQgQLbQVCNqIokoVQmmVKKiNgELcUGfuPXuvtfiw9z73zPUjduxAC3dJW/uc0Zk7Z/3Xf/3XWvsOzG1uc5vb3OY2t7nNbW5z+/9o8r/xR898Kp1txb7fAriABcTFRAKhafwfhkv6x39/YvSv/2cAuO9J3z92e1cc2E+qcDQFRwNYY1gAGkcChMYhgDQOyLPi/tTyYPArnz2x8MVvSwDuf9L3fyPZB2LgvSpOCpCCowLWOCaONo402WkJEIJDAxKcEEDEIfEUxgc+f3r0Z982ANz3CX+oEf/lFnZHcRIQmwyCBScVELxxJDgyyE5Lk0GQUAABwPKLTvyJke7+iU+dka9+ywJw/5O+P415DOfsRCCKE4EY8m6hx4QGpLEc7WaaCtJAECeII5JZIBgAnnheUvPg586s/Om3HAD3P+n7mwl/m+C21iAaRIGJOFGK00BqsgZ4yfnQGDQZhBp5AgxwRAzBwcm7OO42aV5s3vt3b1l97FrfeXAtv7z5I184mybtXTHGtYWF8Eb5z8mpZrSwlAzcQB1UwUSw4JjJFATL6AfAEYJkB90F3AkGLpLLhIBgeOYA4izYUvqtu//iha9/7q3rn/gfZcDr3/P0Vrvd/kxs49tTG9E2kdrI6fvuYOPIPsYKrcHYYKIwcUgCLZDEu+hbcJpmmvcEp6l6UGkvjpDpL57dF3EcA3FwWraHP/rUD+z+g1edAXc99PxmGp9/PLZxS9XwskyV4/dscui12Xl1SJojnAzUIDrZaYGEYOY0jeA4UiIuQTCdpkEXHvfMBBwozgP5R7bLPf4u8IoBCFfy0KmHn3tA4/YzqrplxWlVRdVYWVvk+OmDRKVbybPjavk6ASlBVMETeBIsgUTBk+MRPDqSBItAufeJl+ctP9M6HgWiY9GxCI7uO/Hx/3jiVQPg1MPPfTi1+rgmRZNiKWFJu3X6rcew0GTBU4gJ2lSA0KwBqmAKnkCTgIJEsOhQQCDle0ngE6AtDreOTwogKe/WgrfgEayFZpf+4Os+9uKbrnsKnHr4Xx5NMT2kMdGtpGjK+8Hb97N6w4hxglaL4zZlQSwMUPLPTMg3ASxkGps6TdEECY4nx7w0QFKoXkpiTQME3Ot9ThPS5HeAk9dNBE89/NwDqdXHNSZScT61CY2R1CaaAdz7rruxpmGSyEszEBOF1qdlMBUg3PILh07ocimQxgjBaapDQQl4LgBiU/HbJcRRwIZCGoVcEsWRVmlaVxo5+/T37nnimgG466HnNy1ufyHFtKYxRzw7n0gxK//xrds5dPsG0XLkdzhveSUvouiQ3EvAHHHPJTA4BMtgBCO4IyEr/hQgx3Y3pBuHxJUGD56X5J6A4ITGGTS5irjxtVab33j2+PJHXrEGxPH5R+MkrqU2kmIktTFHvji/sm+FA0c3mCiMe863Wmjfy301SOqIgpgjmlHxZFhrOd/HuW7aWLGxYxPDJoZHJx1aIt6yTFoa4A5mZTkognnuFays0HBwZSl9+NhXXvzy4S+fv++qGfD69zy9Fdv0V1pErsv7mgYx8YYfOs3u/atoiXasANT8L12gaol86eRwz2Wt7GK9Oi+KeE4HdyesNsjRZXShQcVzIyV5UVkQcq/QlOg3hQ1NGaoEJufHwwefObb0+1csgu1LkwdUFU2l3M0AcPCuwyztXWWSprU+zjifDDSBVmcB8RI29253c0yNxi3X+CJ0zXpgeHyFtgkZM8lR93p+UD4GL52kg5nkaJaOEoQQfGG01P7ekX/e9meOLX30ygCI8WwucZYZkCoASjMUDty5Sau9Gm895S+1XxXMHbMaecsCWJx3s5IOmc+mhRFiNHsDiydHpOK8Ghi5glhxFMkfa5BHZ8tOm+QHpbTM7oIHWNqVHtv8p/G/PXvH4p9fFoDNd3x+K43jmqlianRpkBIalcNvvhMLTaZ26fVrxCsYSXPkO+etPFgTWJ1gjpti5ohqBsCMZhcsn9iND0J21ovzLtNr8XyIUhAwkTw8dYhkyriDhPxnRVgYDNJvAscuK4Jtm7ZSG0mT3ir3owPr7DlyICt8EbtYrqvjnfNaXqgIXq7Tlmt8SSdvDW8TNlG8VaxVll63Qlgdds5Xn1JpsWt36SYkLcJXRdEENcE07911WUG4/dCXxj99WQakNm5qUlwN1ZoCiptx8Lu/IzczpbGpL5WqIpd7M3bkuVh+c1PLlI+V9oZnlcTVWLh5yOJrl0hd1NnJAhNUsg6YFRaY9JTcqwDkHsKliORUG4Zi7wd++5IMGO4dnUiTSJxE0qQltRE3Y+P0bTRroxzxWaX3aTpY763FnGB1IMjC4Mnw0k57zJHXmAiNsX5mT3aUndGv9xXoVKNvsiPyeYF6ibpNo1+vHW7d+OLkxCUBWLp5Yzu1mfamuQNbXF/mhpO35T6/p/qxl/dqWfTEneBO8BxlT1URM1peBgSfGD5J3Qct3znClwc7I06vaFBZJ5l5VgGYgtAtFdTzdQUg9XYxfuySACwc2L96wxuOTu/Xljl473eSpEHNy0Q3zXfX3OR4ysIm6rj6VCBUy6BTqJ4SFhVXxZOirSLBGN2x0jmts9TvpUMqDKiptiPy/Yj3Iz+z3LnlkhrgItujY69h9fhrsrKWipqid9N4fUEtNA21wdGS70WVxLw4bx31iRmM2gWaKnvfsh8fNt1nzgKhfiEIoevfSt57J/54KGcl3SCV9+lvyPFLAiDOE2Z2twbp+nb3DIJJPuaqL9edURj5tKbU90x9R1JWTFfFa+ub8rWWfrnZHVg6OppqyGWiX++dUglKqXMvDZI7Ich0rwDQ2ylHzJdshIRPJvVfysdPUp6u0S/1uNdDS2ly8EL/Uu5ELQtipX6sjZV1OWSq7Nu6EdNpb2/9qPvMz8t1NaueBceLw15HbIHQj/7Ohv/SAHzpfcO/ue1D2980kVH2DlQyG6yjXBYOoUMFJ+e+mGUNKEXbk2OqeOdlLn+WjMVDCyzcskKK03ZBZ5y/GBCznjhCCNM2WQoILl1V7FIBwE0+fdlWOLl90k3OulNg7P1V6VXckiL9eu/JwUtnp9MSWFPAUzlLNGPvvQfQeBHq9523HiPs4sOM1zMWkY4BlQVysTSw8JXLAjAc2iOTl+Ssi2SnKnouID4VE+eCwUaKc7W5ccszgJdGyC0/t+e79iGLA1KaOthh5jPOXyL6s9alpshF6d/tA/7yZQ9Ebv3g+T9xs7d1LdTMVukv3i/UiueWLQteYYAnRaOXBkhpRg03veNwd1DSHZjYzuvovRnjCgC46Kxf1V+69/5Meqe8+WXPBIcj+/H2BXvGYXkHfJUMdebwPM/XMLrV4/J8b2ln5N1g/U03llF5GuHZ6z4DZsXvasx3JjA4H7ziM8HDv/hfPxwn6eNS4KuFIXQlM0deyFG30giZaQEgA2Epa4InY/XkGit3rO8QvB1TZe++32m+Qv9n7dO8W7au6puhm3/h3CO2rb/WTwWRWv58WgatnNJqzf06AOWx19XYtW+B9e85uDPnZ6jfP2Pog3Ed7BsM2OTdcu6qvxq7+WfP/byO4696EZjy/WRHsGCemxGtYpjTAM2nPWbOrj1D9p65CRtMO74+3S/GgrpfF+cbtnhQ/vEVfzd468+d+772m/Fjbra3+6V61GW5AfKy14R2Myw5u9Z2sX7PBtY0OxqdPgizAFQmmF8H5wNb/NTFnb+qL0cPf+jfD0xekF/3l9I73XyRrgvMYEzPAUrumzNcHbL3jTfhPeeNndHvpmW/cL9G+yPgAd53Ie2v6dvhw4+eO9Weiw+mcXq7tWmjdoOUbtDdkUZYvnUPK0fWulbBekPNLAAXsMCu2fGP8H7561f9HyQ2H/n6PZOxnrSJv01dgyBhsDxYWdwYHQnLC0ojLyAyrpOjWk6cVHXSp31TaRhJhvvVAVAdfZZF/vDlIj63uc1tbnOb29zmNre5zW1ucwP+G1ME77lSc/kUAAAAAElFTkSuQmCC"-}, Zo = {- ...Object.fromEntries(Yt.map((e) => [e.id, Xo[e.id] || e.icon])),+}, Qo = {+ ...Object.fromEntries(Yt.map((e) => [e.id, Zo[e.id] || e.icon])),online: "rss",smb: "network"-}, Qo = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", $o = {+}, $o = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", es = {medium: "h-9 rounded-2lg p-2 text-body-medium",small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"-}, es = {- medium: $o.medium,- small: "size-8 rounded-lg p-0 text-body-medium"}, ts = {+ medium: es.medium,+ small: "size-8 rounded-lg p-0 text-body-medium"+}, ns = {medium: "size-5 shrink-0",small: "size-[18px] shrink-0"-}, ns = "size-(--icon-inline) shrink-0", rs = {+}, rs = "size-(--icon-inline) shrink-0", is = {medium: "inline-flex items-center justify-center px-1 shrink-0",small: "inline-flex items-center justify-center px-0.5 shrink-0"-}, is = {+}, as = {primary: "bg-button-primary text-text-white shadow-xs",secondary: "bg-background-primary-default text-text-primary border border-border-button-default shadow-xs",ghost: "bg-button-ghost-background text-button-ghost-foreground"-}, as = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;-function os(e = "compact") {- return `<span data-shortcuts-entry class="inline-flex flex-none"><button type="button" data-shortcuts-trigger data-filter-action data-skeleton-action disabled tabindex="-1" aria-label="我的收藏" title="我的收藏" class="inline-grid ${e === "default" ? "size-9" : "size-8"} flex-none place-items-center rounded-(--control-radius) border border-(--border-10) bg-(--surface) text-(--muted)">${as("star", "size-4")}</button></span>`;+}, os = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;+function ss(e = "compact") {+ return `<span data-shortcuts-entry class="inline-flex flex-none"><button type="button" data-shortcuts-trigger data-filter-action data-skeleton-action disabled tabindex="-1" aria-label="我的收藏" title="我的收藏" class="inline-grid ${e === "default" ? "size-9" : "size-8"} flex-none place-items-center rounded-(--control-radius) border border-(--border-10) bg-(--surface) text-(--muted)">${os("star", "size-4")}</button></span>`;}-function ss(e, t = "", n = e) {- return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0">${as("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${z(n)}" value="${z(t)}" placeholder="${z(e)}" class="min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary"></div></div></div></div>`;+function cs(e, t = "", n = e) {+ return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0">${os("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${z(n)}" value="${z(t)}" placeholder="${z(e)}" class="min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary"></div></div></div></div>`;}-function cs({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {- let o = r ? $o[t] : es[t], s = n ? as(n, r ? ns : ts[t]) : "", c = r ? `<span class="${rs[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";- return `<button type="button" class="${Qo} ${o} ${is[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;+function ls({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {+ let o = r ? es[t] : ts[t], s = n ? os(n, r ? rs : ns[t]) : "", c = r ? `<span class="${is[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";+ return `<button type="button" class="${$o} ${o} ${as[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;}-var ls = {+var us = {md: {box: "gap-1.5 px-2.5 py-2 text-body-medium",value: "gap-[5px]",@@ -13027,66 +13030,66 @@ var ls = {chevron: "size-3.5"}};-function us(e, { size: t = "md", className: n = "", attrs: r = "", prefix: i = "" } = {}) {- let a = ls[t], o = `<span class="flex min-w-0 items-center truncate ${a.value}">${e}</span>`, s = i ? `<span class="flex min-w-0 items-center ${t === "sm" ? "gap-1.5" : "gap-2"}"><span aria-hidden="true" class="shrink-0 text-text-tertiary">${i}</span>${o}</span>` : o;- return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${a.box}">${s}${as("chevron-down", `shrink-0 text-text-secondary ${a.chevron}`)}</button></div>`;+function ds(e, { size: t = "md", className: n = "", attrs: r = "", prefix: i = "" } = {}) {+ let a = us[t], o = `<span class="flex min-w-0 items-center truncate ${a.value}">${e}</span>`, s = i ? `<span class="flex min-w-0 items-center ${t === "sm" ? "gap-1.5" : "gap-2"}"><span aria-hidden="true" class="shrink-0 text-text-tertiary">${i}</span>${o}</span>` : o;+ return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${a.box}">${s}${os("chevron-down", `shrink-0 text-text-secondary ${a.chevron}`)}</button></div>`;}-var ds = "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", fs = "flex min-w-0 flex-col gap-2", ps = "text-body-regular text-text-secondary", ms = "text-display-4-medium tabular-nums text-text-primary", hs = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";-function gs(e) {- return `<div data-collection-summary="" class="${ds}"><div class="${fs}"><span class="${ps}">${e}</span><strong class="${ms}"><span data-skeleton="count" aria-hidden="true" class="${hs}"></span></strong></div></div>`;+var fs = "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", ps = "flex min-w-0 flex-col gap-2", ms = "text-body-regular text-text-secondary", hs = "text-display-4-medium tabular-nums text-text-primary", gs = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";+function _s(e) {+ return `<div data-collection-summary="" class="${fs}"><div class="${ps}"><span class="${ms}">${e}</span><strong class="${hs}"><span data-skeleton="count" aria-hidden="true" class="${gs}"></span></strong></div></div>`;}// src/ui-kit/markup.ts-var _s = /* @__PURE__ */ new Set([+var vs = /* @__PURE__ */ new Set(["secondary","warning","error","success"]);-function vs({ label: e = "", items: t = [], footnote: n = "" } = {}) {+function ys({ label: e = "", items: t = [], footnote: n = "" } = {}) {return `<details class="geist-note-details"><summary>${z(e)}</summary><ul>${t.map((e) => `<li>${e.href ? `<a href="${z(e.href)}">${z(e.label || "")}</a>` : `<b>${z(e.label || "")}</b>`}<span>${z(e.note || "")}</span>${e.hint ? `<code>${z(e.hint)}</code>` : ""}</li>`).join("")}</ul>${n ? `<p>${z(n)}</p>` : ""}</details>`;}-function ys(e, { variant: t = "secondary", label: n = "", className: r = "", size: i = "medium", filled: a = !1, actionLabel: o = "", actionHref: s = "", details: c = null } = {}) {- let l = _s.has(t) ? t : "secondary", u = l === "secondary" ? "info" : l === "success" ? "check" : "alert", d = l === "error" ? " role=\"alert\"" : " role=\"note\"", f = o ? s ? `<a class="geist-button" href="${z(s)}" data-note-action>${z(o)}</a>` : `<button type="button" class="geist-button" data-note-action>${z(o)}</button>` : "";+function bs(e, { variant: t = "secondary", label: n = "", className: r = "", size: i = "medium", filled: a = !1, actionLabel: o = "", actionHref: s = "", details: c = null } = {}) {+ let l = vs.has(t) ? t : "secondary", u = l === "secondary" ? "info" : l === "success" ? "check" : "alert", d = l === "error" ? " role=\"alert\"" : " role=\"note\"", f = o ? s ? `<a class="geist-button" href="${z(s)}" data-note-action>${z(o)}</a>` : `<button type="button" class="geist-button" data-note-action>${z(o)}</button>` : "";return `<div class="geist-note geist-note-${l}${r ? ` ${z(r)}` : ""}${i === "small" ? " geist-note-small" : ""}${a ? " geist-note-filled" : ""}"${d}>- ${R(u)}<p>${n ? `<b>${z(n)}</b>` : ""}<span>${z(l === "error" ? tn(e) : e)}</span></p>${f}${c ? vs(c) : ""}</div>`;+ ${R(u)}<p>${n ? `<b>${z(n)}</b>` : ""}<span>${z(l === "error" ? tn(e) : e)}</span></p>${f}${c ? ys(c) : ""}</div>`;}-function bs(e = "加载中") {+function xs(e = "加载中") {let t = Array.from({ length: 10 }, (e, t) => `<i aria-hidden="true" style="--spinner-angle:${t * 36}deg;--spinner-delay:${t * 100 - 900}ms"></i>`).join("");return `<span class="ui-geist-spinner" role="status" aria-label="${z(e)}">${t}</span>`;}-var xs = "载入中";-function Ss(e = "正在处理", { className: t = "" } = {}) {+var Ss = "载入中";+function Cs(e = "正在处理", { className: t = "" } = {}) {return `<span class="ui-geist-loading${t ? ` ${z(t)}` : ""}" role="status"><span class="ui-geist-loading-dots" aria-hidden="true"><i></i><i></i><i></i></span><span>${z(e)}</span></span>`;}-function Cs(e, { active: t = "", attr: n = "data-tab", label: r = "页面视图", className: i = "", panel: a = "" } = {}) {+function ws(e, { active: t = "", attr: n = "data-tab", label: r = "页面视图", className: i = "", panel: a = "" } = {}) {let o = e.map(({ value: e, label: r, count: i, symbol: o }) => {let s = String(e) === String(t), c = i == null ? "" : `<span class="ui-board-tab-count">${z(Number(i).toLocaleString())}</span>`;return `<button type="button" role="tab" ${n}="${z(e)}" aria-selected="${s}"${a ? ` aria-controls="${z(a)}"` : ""}>${o ? R(o) : ""}${z(r)}${c}</button>`;}).join("");return `<div class="ui-board-local-nav ui-board-tabs${i ? ` ${z(i)}` : ""}" role="tablist" aria-label="${z(r)}">${o}</div>`;}-function ws(e, t, n, { className: r = "", actions: i = "" } = {}) {+function Ts(e, t, n, { className: r = "", actions: i = "" } = {}) {return `<div class="ui-emptystate${r ? ` ${z(r)}` : ""}" data-geist-empty-state role="status"><div class="ui-es-icon" aria-hidden="true">${R(e)}</div><div class="ui-es-copy"><h3>${z(t)}</h3><p>${z(n)}</p></div>${i ? `<div class="ui-es-actions">${i}</div>` : ""}</div>`;}-function Ts(e = "") {+function Es(e = "") {return `<span class="ui-pcheck"><input type="checkbox" ${e}><span aria-hidden="true">${R("check")}</span></span>`;}// src/ui-kit/motion.ts-function Es(e, t, n = "a", { className: r = "", iconClass: i = "", label: a = "" } = {}) {+function Ds(e, t, n = "a", { className: r = "", iconClass: i = "", label: a = "" } = {}) {return `<span class="iconswap${r ? " " + z(r) : ""}" data-icon-swap data-icon-state="${n === "b" ? "b" : "a"}"${a ? ` aria-label="${z(a)}"` : ""}><span data-icon="a">${R(e, i)}</span><span data-icon="b">${R(t, i)}</span></span>`;}-function Ds(e, t) {+function Os(e, t) {let n = e && (e.matches?.("[data-icon-swap]") ? e : e.querySelector?.("[data-icon-swap]"));return n && (n.dataset.iconState = t === "b" || t === !0 ? "b" : "a"), n;}-function Os(e, t, { html: n = !1 } = {}) {+function ks(e, t, { html: n = !1 } = {}) {if (!e) return;let r = String(t ?? ""), i = () => {n ? e.innerHTML = r : e.textContent = r;@@ -13106,7 +13109,7 @@ function Os(e, t, { html: n = !1 } = {}) {e.classList.contains("leaving") && (e.removeEventListener("transitionend", s), o());}, 400);}-function ks(e, t) {+function As(e, t) {if (!e) return;let n = String(t ?? ""), r = e.dataset.popCount;if (r === n && e.firstElementChild) return;@@ -13116,7 +13119,7 @@ function ks(e, t) {let a = e.firstElementChild;a.getBoundingClientRect(), a.classList.add("popping");}-function As(e, t = e && e.parentElement, { text: n = e && e.value, scrollLeft: r = e && e.scrollLeft || 0 } = {}) {+function js(e, t = e && e.parentElement, { text: n = e && e.value, scrollLeft: r = e && e.scrollLeft || 0 } = {}) {if (!e || !t || (t.querySelectorAll(":scope > .cleardissolve").forEach((e) => e.remove()), e.classList.remove("dissolving"), e.value = "", !n || !e.isConnected)) return () => {};let i = e.getBoundingClientRect(), a = t.getBoundingClientRect();if (!i.width) return () => {};@@ -13143,14 +13146,14 @@ function As(e, t = e && e.parentElement, { text: n = e && e.value, scrollLeft: r};return o.addEventListener("animationend", d), u = setTimeout(d, 1e3), d;}-var js = /* @__PURE__ */ new Map();-function Ms(e, t = "") {+var Ms = /* @__PURE__ */ new Map();+function Ns(e, t = "") {e && e.querySelectorAll("[data-count-badge]").forEach((e) => {- let n = `${t}\u0000${e.dataset.countBadge}`, r = e.textContent || "", i = js.get(n);- js.set(n, r), e.classList.add("countbadge"), i !== void 0 && i !== r && (e.classList.add("popped"), e.getBoundingClientRect(), e.classList.remove("popped"));+ let n = `${t}\u0000${e.dataset.countBadge}`, r = e.textContent || "", i = Ms.get(n);+ Ms.set(n, r), e.classList.add("countbadge"), i !== void 0 && i !== r && (e.classList.add("popped"), e.getBoundingClientRect(), e.classList.remove("popped"));});}-function Ns(e, t = "[data-reveal-line]") {+function Ps(e, t = "[data-reveal-line]") {if (!e) return;let n = [...e.querySelectorAll(t)];if (!n.length) return;@@ -13166,12 +13169,12 @@ function Ns(e, t = "[data-reveal-line]") {i.classList.contains("revealline") && (i.removeEventListener("transitionend", a), r());}, 1200);}-var Ps = [+var Fs = [50,100,200];-function Fs({ mode: e = "cloud", pageSize: t = 100 } = {}) {+function Is({ mode: e = "cloud", pageSize: t = 100 } = {}) {let n = Math.max(1, Math.min(200, Math.floor(t))), r = Array.from({ length: n }, (e, t) => `<span data-tag-skeleton-cell class="skeleton block rounded-lg" style="height:34px;width:${58 + (Math.imul(t + 1, 2654435761) >>> 0) % 153}px;max-width:100%"></span>`).join(""), i = Array.from({ length: Math.min(2, n) }, (e, t) => {let r = Math.floor(n / 2) + (t === 0 ? n % 2 : 0);return `<section class="min-w-0 bg-background-secondary-default rounded-2xl px-5 pt-4 pb-3"><span class="skeleton mb-2 block w-20" style="height:24px"></span><div class="index-tag-list gap-x-4 gap-y-0.5">${Array.from({ length: r }, () => "<span data-tag-skeleton-cell class=\"flex h-9 min-w-0 items-center gap-3 px-2.5\"><span class=\"skeleton w-32 max-w-full rounded-md\" style=\"height:16px\"></span><span class=\"skeleton ml-auto w-8 rounded-md\" style=\"height:12px\"></span></span>").join("")}</div></section>`;@@ -13179,7 +13182,7 @@ function Fs({ mode: e = "cloud", pageSize: t = 100 } = {}) {return `<div data-skeleton="tags/${e === "alphabet" ? "alphabet" : "cloud"}/${n}" role="status" aria-label="正在读取标签" aria-busy="true"><span class="sr-only">正在读取标签</span><div aria-hidden="true">${e === "alphabet" ? `<div class="flex flex-col gap-4">${i}</div>` : `<div class="flex flex-wrap gap-1.75">${r}</div>`}<div class="mt-5 flex flex-wrap items-center justify-between gap-3" data-tag-pagination-skeleton><span class="skeleton block w-32" style="height:16px"></span><div class="flex items-center gap-2"><span class="skeleton block w-28 rounded-md" style="height:32px"></span><span class="skeleton block w-40 rounded-md" style="height:32px"></span></div></div></div></div>`;}// src/ui-kit/skeleton.ts-function Is(e, t) {+function Ls(e, t) {if (!e) return;if (e.querySelector(".skeleton-awaiting") || !e.querySelector(".skeleton,[data-skeleton],.skeletoncard,.countskeleton") || !e.firstChild) {t();@@ -13197,7 +13200,7 @@ function Is(e, t) {n.isConnected && (n.removeEventListener("transitionend", i), r());}, 1e3);}-function Ls(e = "正在读取内容", { className: t = "", variant: n = "panel", count: r = 6, fill: i = !0, gridClass: a = "", gridSize: o = "", cardRatio: s = 0 } = {}) {+function Rs(e = "正在读取内容", { className: t = "", variant: n = "panel", count: r = 6, fill: i = !0, gridClass: a = "", gridSize: o = "", cardRatio: s = 0 } = {}) {let c = (/* @__PURE__ */ new Set(["panel","cards",@@ -13211,18 +13214,18 @@ function Ls(e = "正在读取内容", { className: t = "", variant: n = "panel",role="status" aria-label="${z(e)}"><span class="sr-only">${z(e)}</span><div${a ? ` class="${z(a)}"` : ""}${o ? ` data-size="${z(o)}"` : ""}${c === "cards" && Number(s) > 0 ? ` style="--skeleton-card-ratio:${Number(s)}"` : ""} aria-hidden="true">${l}</div></div>`;}-function Rs({ kind: e, layout: t = "big", mode: n = "alphabet" } = {}) {- if (e === "tags") return Fs({ mode: n });+function zs({ kind: e, layout: t = "big", mode: n = "alphabet" } = {}) {+ if (e === "tags") return Is({ mode: n });let r = `<div class="igrid" data-cells="${e === "studios" || e === "agencies" || e === "series" ? "company" : "people"}" data-layout="${z(t)}">${"<span class=\"icell\"><span class=\"ring skeleton\"></span><span class=\"nm skeleton\"> </span><span class=\"n skeleton\"> </span></span>".repeat(12)}</div>`, i = "正在读取索引";return `<div class="skeletonpanel index-skeleton" data-skeleton="index/${z(e)}/${z(t)}/${z(n)}" data-fill=""role="status" aria-label="${i}"><span class="sr-only">${i}</span><section aria-hidden="true">${r}</section></div>`;}-var zs = {+var Bs = {av: () => "<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\"> </span></span>",brandpill: (e) => `<span class="brandpill brandskeleton" style="width:${e}px"><span class="mk"></span></span>`,pill: (e) => `<span class="pill tagskeleton" style="width:${e}px"></span>`,"filter-pill": (e) => `<span class="skeleton" style="width:${e}px;height:var(--control-h-compact);border-radius:8px;flex:none"></span>`-}, Bs = {+}, Vs = {av: [0],brandpill: [132,@@ -13265,41 +13268,41 @@ var zs = {76,84]-}, Vs = "[data-skeleton],[data-skeleton-tier],.countskeleton";-function Hs(e) {+}, Hs = "[data-skeleton],[data-skeleton-tier],.countskeleton";+function Us(e) {if (!e) return;- let t = [...e.matches?.(Vs) ? [e] : [], ...e.querySelectorAll(Vs)], n = t.filter((e) => !t.some((t) => t !== e && t.contains(e)));+ let t = [...e.matches?.(Hs) ? [e] : [], ...e.querySelectorAll(Hs)], n = t.filter((e) => !t.some((t) => t !== e && t.contains(e)));for (let e of n) e.dataset.skeletonReveal || (e.dataset.skeletonReveal = "pending", e.classList.add("skeleton-awaiting"), setTimeout(() => {e.isConnected && e.dataset.skeletonReveal === "pending" && (e.dataset.skeletonReveal = "shown", e.classList.remove("skeleton-awaiting"));}, 180));}-var Us = 64;-function Ws(e) {- e = e.filter((e) => e.row && zs[e.kind] && (!e.row.children.length || e.row.scrollWidth <= e.row.clientWidth)).map((e) => ({+var Ws = 64;+function Gs(e) {+ e = e.filter((e) => e.row && Bs[e.kind] && (!e.row.children.length || e.row.scrollWidth <= e.row.clientWidth)).map((e) => ({...e,start: e.row.children.length,added: 0}));let t = (e, t) => {- let n = zs[e.kind], r = Bs[e.kind], i = "";- for (let a = Math.min(Us, e.added + t); e.added < a; e.added++) i += n(r[e.added % r.length]);+ let n = Bs[e.kind], r = Vs[e.kind], i = "";+ for (let a = Math.min(Ws, e.added + t); e.added < a; e.added++) i += n(r[e.added % r.length]);e.row.insertAdjacentHTML("beforeend", i);};- for (let n of e) t(n, Bs[n.kind].length);+ for (let n of e) t(n, Vs[n.kind].length);for (let n = 0; n < 4; n++) {- let n = e.filter((e) => e.added < Us && e.row.scrollWidth <= e.row.clientWidth).map((e) => {+ let n = e.filter((e) => e.added < Ws && e.row.scrollWidth <= e.row.clientWidth).map((e) => {let t = e.row.children[e.start].getBoundingClientRect(), n = e.row.lastElementChild.getBoundingClientRect(), r = Math.max(1, (n.right - t.left) / e.added);return [e, Math.ceil((e.row.getBoundingClientRect().right - n.right) / r) + 1];});if (!n.length) break;for (let [e, r] of n) t(e, Math.max(1, r));}- for (let t of e) Hs(t.row);+ for (let t of e) Us(t.row);}-function Gs(e) {+function Ks(e) {if (!e) return;let t = (t) => [...e.matches?.(t) ? [e] : [], ...e.querySelectorAll(t)];- Ws(t("[data-skeleton-tier]").map((e) => ({+ Gs(t("[data-skeleton-tier]").map((e) => ({row: e,kind: e.dataset.skeletonTier})));@@ -13312,36 +13315,36 @@ function Gs(e) {for (; e.children.length > s;) e.lastElementChild.remove();for (; e.children.length < s;) e.appendChild(t.cloneNode(!0));}- Hs(e);+ Us(e);}// src/ui-kit/sweep-gate.ts-var Ks = 1e4, qs = /* @__PURE__ */ new WeakMap(), Js = null;-function Ys() {- return Js || typeof IntersectionObserver != "function" || (Js = new IntersectionObserver((e) => {+var qs = 1e4, Js = /* @__PURE__ */ new WeakMap(), Ys = null;+function Xs() {+ return Ys || typeof IntersectionObserver != "function" || (Ys = new IntersectionObserver((e) => {for (let { target: t, isIntersecting: n } of e) {if (!t.isConnected) {- Zs(t);+ Qs(t);continue;}let e = t;- e.dataset.sweep !== "stalled" && (n ? (delete e.dataset.sweep, qs.has(e) || qs.set(e, setTimeout(() => {- qs.delete(e), e.isConnected && (e.dataset.sweep = "stalled");- }, Ks))) : (e.dataset.sweep = "idle", clearTimeout(qs.get(e)), qs.delete(e)));+ e.dataset.sweep !== "stalled" && (n ? (delete e.dataset.sweep, Js.has(e) || Js.set(e, setTimeout(() => {+ Js.delete(e), e.isConnected && (e.dataset.sweep = "stalled");+ }, qs))) : (e.dataset.sweep = "idle", clearTimeout(Js.get(e)), Js.delete(e)));}- })), Js;-}-function Xs(e) {- Ys()?.observe(e);+ })), Ys;}function Zs(e) {- Js?.unobserve(e), clearTimeout(qs.get(e)), qs.delete(e), e.dataset?.sweep && delete e.dataset.sweep;+ Xs()?.observe(e);+}+function Qs(e) {+ Ys?.unobserve(e), clearTimeout(Js.get(e)), Js.delete(e), e.dataset?.sweep && delete e.dataset.sweep;}// src/ui-kit/scroll.ts-var Qs = /* @__PURE__ */ new Map(), $s, ec = 240, tc = 50, nc = 70, rc = .55, ic = .35, ac = 480;-function oc(e, t) {- return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * rc / t + 1)) * t;+var $s = /* @__PURE__ */ new Map(), ec, tc = 240, nc = 50, rc = 70, ic = .55, ac = .35, oc = 480;+function sc(e, t) {+ return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * ic / t + 1)) * t;}-function sc(e) {+function cc(e) {let t = null, n = 0, r = () => typeof e.animate != "function" || matchMedia("(prefers-reduced-motion:reduce)").matches, i = () => {t = null, n || e.classList.remove("edgepull");}, a = (n, r) => {@@ -13349,11 +13352,11 @@ function sc(e) {};return {drag(i) {- r() || (t?.cancel(), t = null, n = -oc(i, e.clientWidth), e.classList.toggle("edgepull", !!n), n ? e.style.setProperty("--edge-pull", `${n}px`) : e.style.removeProperty("--edge-pull"));+ r() || (t?.cancel(), t = null, n = -sc(i, e.clientWidth), e.classList.toggle("edgepull", !!n), n ? e.style.setProperty("--edge-pull", `${n}px`) : e.style.removeProperty("--edge-pull"));},release() {if (!n) return;- let t = n, r = xc();+ let t = n, r = Sc();n = 0, e.style.removeProperty("--edge-pull"), a([{"--edge-pull": `${t}px`,easing: r.easing@@ -13361,9 +13364,9 @@ function sc(e) {},kick(t) {if (r() || n) return;- let i = -oc(t * ic, Math.min(e.clientWidth, ac));+ let i = -sc(t * ac, Math.min(e.clientWidth, oc));if (!i) return;- let o = xc();+ let o = Sc();a([{"--edge-pull": "0px",@@ -13379,10 +13382,10 @@ function sc(e) {}};}-function cc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dragIgnore: a = "" } = {}) {+function lc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dragIgnore: a = "" } = {}) {if (!e) return;n && (e.dataset.scrollGesture = "");- let o = Qs.get(e);+ let o = $s.get(e);if (o) return o.options.drag ||= t, o.options.fade ||= n, o.update(), o;let s = {drag: t,@@ -13390,7 +13393,7 @@ function cc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, drawheel: r,elastic: i,dragIgnore: a- }, c = new AbortController(), l = sc(e), u = null, d = 0, f = 0, p = 0, m = !1, h = 0, g = 0, _ = 0, v = 0, y = (t, n) => {+ }, c = new AbortController(), l = cc(e), u = null, d = 0, f = 0, p = 0, m = !1, h = 0, g = 0, _ = 0, v = 0, y = (t, n) => {e.dataset[t] !== n && (e.dataset[t] = n);}, b = "", x = () => (b ||= getComputedStyle(e).overflowX, ["auto",@@ -13416,7 +13419,7 @@ function cc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dracancelAnimationFrame(h), h = 0, v = 0;}, O = (t) => {let n = Math.min(Math.max(t - g, 0), 64);- if (g = t, _ += (p - _) * (1 - Math.exp(-n / nc)), Math.abs(p - _) < .5 && (_ = p), e.scrollLeft = _, _ !== p) h = requestAnimationFrame(O);+ if (g = t, _ += (p - _) * (1 - Math.exp(-n / rc)), Math.abs(p - _) < .5 && (_ = p), e.scrollLeft = _, _ !== p) h = requestAnimationFrame(O);else if (h = 0, v) {let e = v;v = 0, E(e);@@ -13428,11 +13431,11 @@ function cc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, draif (t.defaultPrevented || !t.cancelable || Math.abs(t.deltaY) <= Math.abs(t.deltaX) || n <= 0 || !x()) return;t.preventDefault();let r = performance.now(), i = Math.abs(t.deltaY);- r > f && (m = !1), f = r + ec;+ r > f && (m = !1), f = r + tc;let a = h ? p : e.scrollLeft, o = a + t.deltaY;p = Math.min(n, Math.max(0, o));let c = o === p ? 0 : t.deltaY;- i < tc || p === a ? (p !== a && (D(), e.scrollLeft = p), c && !h ? E(c) : c && (v = c)) : (c && (v = c), h ||= (_ = e.scrollLeft, g = performance.now(), requestAnimationFrame(O)));+ i < nc || p === a ? (p !== a && (D(), e.scrollLeft = p), c && !h ? E(c) : c && (v = c)) : (c && (v = c), h ||= (_ = e.scrollLeft, g = performance.now(), requestAnimationFrame(O)));}, { passive: !1 }), T(e, "mousedown", (t) => {d = 0, !s.drag || t.button !== 0 || e.scrollWidth - e.clientWidth <= 1 || s.dragIgnore && (t.shiftKey || t.ctrlKey || t.metaKey || t.altKey || t.target.closest?.(s.dragIgnore)) || (t.stopPropagation(), D(), u = {x: t.pageX,@@ -13470,18 +13473,18 @@ function cc(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, drab = "", S();},destroy() {- c.abort(), D(), cancelAnimationFrame(C), C = 0, A.disconnect(), M.disconnect(), Qs.delete(e), delete e.dataset.scrollGesture, e.style.cursor = "", Qs.size || ($s?.disconnect(), $s = null);+ c.abort(), D(), cancelAnimationFrame(C), C = 0, A.disconnect(), M.disconnect(), $s.delete(e), delete e.dataset.scrollGesture, e.style.cursor = "", $s.size || (ec?.disconnect(), ec = null);}};- return Qs.set(e, ee), $s || ($s = new MutationObserver(() => {- for (let [e, t] of Qs) e.isConnected || t.destroy();- }), $s.observe(document.body, {+ return $s.set(e, ee), ec || (ec = new MutationObserver(() => {+ for (let [e, t] of $s) e.isConnected || t.destroy();+ }), ec.observe(document.body, {childList: !0,subtree: !0})), ee;}-function lc(e) {- return cc(e, {+function uc(e) {+ return lc(e, {drag: !0,fade: !1,wheel: !1,@@ -13489,9 +13492,9 @@ function lc(e) {dragIgnore: "a,button,input,select,textarea,label,[role=\"button\"],[role=\"checkbox\"],[role=\"slider\"],.react-aria-ColumnResizer"});}-var uc = 24, dc = 2e3, fc = 3e3, pc = /* @__PURE__ */ new Map(), mc = /* @__PURE__ */ new Set(), hc = null, gc = null, _c = /* @__PURE__ */ new Map();-function vc(e) {- if (!e || pc.has(e) || matchMedia("(prefers-reduced-motion:reduce)").matches) return;+var dc = 24, fc = 2e3, pc = 3e3, mc = /* @__PURE__ */ new Map(), hc = /* @__PURE__ */ new Set(), gc = null, _c = null, vc = /* @__PURE__ */ new Map();+function yc(e) {+ if (!e || mc.has(e) || matchMedia("(prefers-reduced-motion:reduce)").matches) return;let t = new AbortController(), n = e.scrollLeft, r = 1, i = 0, a = 0, o = !1, s = !1, c = !0, l = 0, u = -1, d = !1, f = (e, n, r) => e.addEventListener(n, r, {passive: !0,signal: t.signal@@ -13503,11 +13506,11 @@ function vc(e) {if (!m()) return;a = requestAnimationFrame(h);let o = i ? Math.min(t - i, 64) : 0;- i = t, !(t < l) && (u < 0 && (u = e.scrollWidth - e.clientWidth), d && (d = !1, n = e.scrollLeft), !(u <= 1) && (n = Math.min(u, Math.max(0, n + r * uc * o / 1e3)), e.scrollLeft = n, (n >= u || n <= 0) && (r = n >= u ? -1 : 1, l = t + dc)));+ i = t, !(t < l) && (u < 0 && (u = e.scrollWidth - e.clientWidth), d && (d = !1, n = e.scrollLeft), !(u <= 1) && (n = Math.min(u, Math.max(0, n + r * dc * o / 1e3)), e.scrollLeft = n, (n >= u || n <= 0) && (r = n >= u ? -1 : 1, l = t + fc)));}, g = () => {e.isConnected ? !a && m() && (i = 0, a = requestAnimationFrame(h)) : b();}, _ = () => {- l = performance.now() + fc;+ l = performance.now() + pc;};f(e, "pointerenter", () => {o = !0;@@ -13527,41 +13530,41 @@ function vc(e) {});y.observe(e, { childList: !0 }), f(document, "visibilitychange", g), g();function b() {- cancelAnimationFrame(a), a = 0, t.abort(), v.disconnect(), y.disconnect(), pc.delete(e), mc.delete(g), gc?.unobserve(e), _c.delete(e), pc.size || (hc?.disconnect(), hc = null, gc?.disconnect(), gc = null);+ cancelAnimationFrame(a), a = 0, t.abort(), v.disconnect(), y.disconnect(), mc.delete(e), hc.delete(g), _c?.unobserve(e), vc.delete(e), mc.size || (gc?.disconnect(), gc = null, _c?.disconnect(), _c = null);}- pc.set(e, b), mc.add(g), hc || (hc = new MutationObserver(() => mc.forEach((e) => e())), hc.observe(document.body, {+ mc.set(e, b), hc.add(g), gc || (gc = new MutationObserver(() => hc.forEach((e) => e())), gc.observe(document.body, {attributes: !0,attributeFilter: ["data-detail-open", "data-wall-open"]- })), typeof IntersectionObserver == "function" && (gc ??= new IntersectionObserver((e) => {- for (let t of e) _c.get(t.target)?.(t.isIntersecting);- }), _c.set(e, (e) => {+ })), typeof IntersectionObserver == "function" && (_c ??= new IntersectionObserver((e) => {+ for (let t of e) vc.get(t.target)?.(t.isIntersecting);+ }), vc.set(e, (e) => {c = e, g();- }), gc.observe(e));+ }), _c.observe(e));}-function yc(e) {- pc.get(e)?.();+function bc(e) {+ mc.get(e)?.();}-var bc = null;-function xc() {- if (!bc) {+var xc = null;+function Sc() {+ if (!xc) {let e = getComputedStyle(document.documentElement);- bc = {+ xc = {easing: e.getPropertyValue("--spring-pane").trim() || "ease",duration: parseFloat(e.getPropertyValue("--spring-pane-ms")) || 300};}- return bc;+ return xc;}-function Sc(e, t, n, r = "x") {- wc(e), e.style.width = `${n.w}px`, e.style.height = `${n.h}px`;+function Cc(e, t, n, r = "x") {+ Tc(e), e.style.width = `${n.w}px`, e.style.height = `${n.h}px`;let i = r === "y" ? "h" : "w", a = r === "y" ? "y" : "x", o = `${n.x}px ${n.y}px`;if (t && t[a] !== n[a] && !matchMedia("(prefers-reduced-motion:reduce)").matches) {- let s = xc(), c = [e.animate([{ translate: r === "y" ? `${n.x}px ${t.y}px` : `${t.x}px ${n.y}px` }, { translate: o }], {+ let s = Sc(), c = [e.animate([{ translate: r === "y" ? `${n.x}px ${t.y}px` : `${t.x}px ${n.y}px` }, { translate: o }], {duration: s.duration,easing: s.easing,fill: "none"})];- Cc.set(e, c);+ wc.set(e, c);let l = 1 + Math.min(Math.abs(n[a] - t[a]) / n[i], 1.5) * .12;c.push(e.animate([{@@ -13584,17 +13587,19 @@ function Sc(e, t, n, r = "x") {}e.style.translate = o;}-var Cc = /* @__PURE__ */ new WeakMap();-function wc(e) {- e && (Cc.get(e)?.forEach((e) => e.cancel()), Cc.delete(e));+var wc = /* @__PURE__ */ new WeakMap();+function Tc(e) {+ e && (wc.get(e)?.forEach((e) => e.cancel()), wc.delete(e));}-var Tc = ".reviewtabs,.ftablewrap,.ui-board-local-nav,[data-manage-menu],.follow-workspace-switch,.fmanagenav";-function Ec(e = document, t = !0) {+var Ec = ".reviewtabs,.ftablewrap,.ui-board-local-nav,[data-manage-menu],.follow-workspace-switch,.fmanagenav";+function Dc(e = document, t = !0) {let n = [...e instanceof HTMLElement ? [e] : [], ...t ? e.querySelectorAll("*") : []];- n.filter((e) => e instanceof HTMLElement && e.matches(Tc)).forEach((e) => cc(e));- let r = (e) => e.hasAttribute("data-horizontal-scroll") || Qs.has(e) && Qs.get(e).options.fade !== !1;+ n.filter((e) => e instanceof HTMLElement && e.matches(Ec)).forEach((e) => lc(e));+ let r = (e) => e.hasAttribute("data-horizontal-scroll") || $s.has(e) && $s.get(e).options.fade !== !1;n.flatMap((e) => {- if (!(e instanceof HTMLElement) || e === document.body || e === document.documentElement || e.closest(".ovtrack,.ui-ov-edges,[data-skeleton],[inert]")) return [];+ if (!(e instanceof HTMLElement) || e === document.body || e === document.documentElement || e.closest(".ovtrack,.ui-ov-edges")) return [];+ if (e.closest("[data-skeleton],[data-skeleton-tier]")) return ho(e), [];+ if (e.closest("[inert]")) return [];let t = r(e), n = t ? ["y"] : ["y", "x"];if (e.dataset.overlayScrollbar && e.dataset.overlayAxes === n.join("")) return [];let i = getComputedStyle(e);@@ -13605,19 +13610,19 @@ function Ec(e = document, t = !0) {el: e,axes: []}] : [];- }).forEach(({ el: e, axes: t }) => t.length ? vo(e, { axes: t }) : ho(e));+ }).forEach(({ el: e, axes: t }) => t.length ? yo(e, { axes: t }) : ho(e));}-function Dc(e = document.body) {+function Oc(e = document.body) {let t = 0, n = /* @__PURE__ */ new Map(), r = (e) => !!e.closest(".ovtrack,.ui-ov-edges"), i = () => {t = 0;let e = [...n].filter(([e]) => e.isConnected);n.clear();- for (let [t, n] of e) e.some(([e, n]) => n && e !== t && e.contains(t)) || Ec(t, n);+ for (let [t, n] of e) e.some(([e, n]) => n && e !== t && e.contains(t)) || Dc(t, n);go();}, a = (e, a = !0) => {r(e) || (n.set(e, (n.get(e) ?? !1) || a), t ||= requestAnimationFrame(i));}, o = new MutationObserver((e) => {- for (let n of e) if (n.type === "attributes") n.target instanceof HTMLElement && a(n.target, n.attributeName !== "style");+ for (let n of e) if (n.type === "attributes") n.target instanceof HTMLElement && (n.attributeName === "data-theater" && vo(n.target), a(n.target, n.attributeName !== "style"));else {for (let e of n.addedNodes) e instanceof HTMLElement && a(e);n.removedNodes.length && !t && (t = requestAnimationFrame(i));@@ -13634,7 +13639,9 @@ function Dc(e = document.body) {"open","inert","data-skeleton",- "data-horizontal-scroll"+ "data-skeleton-tier",+ "data-horizontal-scroll",+ "data-theater"]});let s = () => a(e);@@ -13643,41 +13650,41 @@ function Dc(e = document.body) {};}// src/ui-kit/controls.ts-function Oc(e, t = !0) {+function kc(e, t = !0) {e && (t ? (e.setAttribute("aria-busy", "true"), e.setAttribute("aria-disabled", "true")) : (e.removeAttribute("aria-busy"), e.removeAttribute("aria-disabled")));}-var kc = /* @__PURE__ */ new WeakSet();-function Ac(e = document) {- kc.has(e) || (kc.add(e), e.addEventListener("click", (t) => {+var Ac = /* @__PURE__ */ new WeakSet();+function jc(e = document) {+ Ac.has(e) || (Ac.add(e), e.addEventListener("click", (t) => {let n = t.target.closest?.("button[aria-busy=\"true\"],[role=\"button\"][aria-busy=\"true\"]");n && e.contains(n) && (t.preventDefault(), t.stopImmediatePropagation());}, !0));}-function jc(e, t, n, r, { attr: i = "", className: a = "", text: o = !1 } = {}) {+function Mc(e, t, n, r, { attr: i = "", className: a = "", text: o = !1 } = {}) {let s = n.map(([t, n, a]) => `<label title="${z(n)}"><input type="radio" name="${z(e)}" value="${z(t)}" ${i}${t === r ? "checked" : ""}><span aria-hidden="true">${o ? (a ? R(a) : "") + z(n) : R(a)}</span><span class="sr-only">${z(n)}</span></label>`).join("");return `<fieldset class="iconswitch${o ? " iconswitch-text" : ""}${a ? ` ${z(a)}` : ""}"><legend class="sr-only">${z(t)}</legend>${s}</fieldset>`;}-function Mc(e, t, n) {+function Nc(e, t, n) {e?.querySelectorAll(`[${t}]`).forEach((e) => {e.onchange = () => {e.checked && n(e.value);};});}-var Nc = 9;-function Pc({ value: e = 0, min: t = 0, max: n = 100, step: r = 1, label: i = "", suffix: a = "%", attr: o = "", className: s = "" } = {}) {+var Pc = 9;+function Fc({ value: e = 0, min: t = 0, max: n = 100, step: r = 1, label: i = "", suffix: a = "%", attr: o = "", className: s = "" } = {}) {let c = n > t ? (e - t) / (n - t) * 100 : 0, l = `${e}${a}`;return `<div class="ui-dial${s ? ` ${z(s)}` : ""}" ${o}><div class="ui-dial-slider" data-dial-slider role="slider" tabindex="0" aria-label="${z(i)}"aria-valuemin="${t}" aria-valuemax="${n}" aria-valuenow="${e}" aria-valuetext="${z(l)}"data-dial-step="${r}" style="--dial-at:${c}%"><span class="ui-dial-track" aria-hidden="true"><span class="ui-dial-fill"></span></span>- <span class="ui-dial-ticks" aria-hidden="true">${"<span></span>".repeat(Nc)}</span>+ <span class="ui-dial-ticks" aria-hidden="true">${"<span></span>".repeat(Pc)}</span><span class="ui-dial-handle" aria-hidden="true"></span></div><b class="ui-dial-value mono" data-dial-value>${z(l)}</b></div>`;}-function Fc(e, { onInput: t = () => {}, onChange: n = () => {}, suffix: r = "%" } = {}) {+function Ic(e, { onInput: t = () => {}, onChange: n = () => {}, suffix: r = "%" } = {}) {let i = e.querySelector("[data-dial-slider]"), a = e.querySelector("[data-dial-value]"), o = e.querySelector(".ui-dial-track"), s = +i.getAttribute("aria-valuemin"), c = +i.getAttribute("aria-valuemax"), l = +i.dataset.dialStep || 1, u = +i.getAttribute("aria-valuenow"), d = (e) => Math.min(c, Math.max(s, Math.round(e / l) * l)), f = () => {let e = `${u}${r}`;i.style.setProperty("--dial-at", `${c > s ? (u - s) / (c - s) * 100 : 0}%`), i.setAttribute("aria-valuenow", String(u)), i.setAttribute("aria-valuetext", e), a && (a.textContent = e);@@ -13725,9 +13732,9 @@ function Fc(e, { onInput: t = () => {}, onChange: n = () => {}, suffix: r = "%"}};}-function Ic(e, t, n) {+function Lc(e, t, n) {n.classList.add("context-card"), n.setAttribute("popover", "manual"), n.setAttribute("role", "dialog"), n.tabIndex = -1, t.setAttribute("aria-haspopup", "dialog"), t.setAttribute("aria-controls", n.id);- let r = Ko(e, t, n), i, a = () => {+ let r = qo(e, t, n), i, a = () => {clearTimeout(i), r.setOpen(!1);}, o = () => {clearTimeout(i), i = setTimeout(() => {@@ -13747,7 +13754,7 @@ function Ic(e, t, n) {hide: a};}-function Lc(e, { selector: t, attribute: n, onMove: r } = {}) {+function Rc(e, { selector: t, attribute: n, onMove: r } = {}) {let i = () => [...e.querySelectorAll(t)], a = () => i().forEach((e) => e.classList.remove("dragging", "drop-before", "drop-after")), o = null;i().forEach((e) => {let t = e.getAttribute(n);@@ -13768,11 +13775,11 @@ function Lc(e, { selector: t, attribute: n, onMove: r } = {}) {});}// src/ui-kit/modal.ts-var Rc = 0;-function zc({ title: e, description: t = "", body: n = "", confirmLabel: r, cancelLabel: i = "取消", onConfirm: a = null, confirmDisabled: o = !1 } = {}) {+var zc = 0;+function Bc({ title: e, description: t = "", body: n = "", confirmLabel: r, cancelLabel: i = "取消", onConfirm: a = null, confirmDisabled: o = !1 } = {}) {let s = document.activeElement, c = document.createElement("dialog");c.className = "ui-geist-modal";- let l = `geist-form-title-${++Rc}`;+ let l = `geist-form-title-${++zc}`;c.setAttribute("aria-labelledby", l), c.innerHTML = `<form class="ui-geist-modal-form" novalidate><header class="ui-geist-modal-header"><h3 id="${l}"></h3></header><div class="ui-geist-modal-scroll"><div class="ui-geist-modal-body">${t ? "<p></p>" : ""}@@ -13796,31 +13803,31 @@ function zc({ title: e, description: t = "", body: n = "", confirmLabel: r, cancif (e.preventDefault(), !(m || d.disabled)) {if (!a) p = { confirmed: !0 }, c.close();else {- f.innerHTML = "", m = !0, Oc(d);+ f.innerHTML = "", m = !0, kc(d);try {p = {confirmed: !0,result: await a()}, c.close();} catch (e) {- f.innerHTML = ys(e.message || "操作未完成", { variant: "error" }), Oc(d, !1);+ f.innerHTML = bs(e.message || "操作未完成", { variant: "error" }), kc(d, !1);} finally {m = !1;}}}- }, c.showModal(), vo(c.querySelector(".ui-geist-modal-body")), Mo("pop"), (c.querySelector(".ui-geist-modal-fields input:not([type=\"checkbox\"])") || d).focus(), {+ }, c.showModal(), yo(c.querySelector(".ui-geist-modal-body")), No("pop"), (c.querySelector(".ui-geist-modal-fields input:not([type=\"checkbox\"])") || d).focus(), {dialog: c,confirmButton: d,done: h,close: () => c.close()};}-var Bc = 0;-function Vc({ title: e, body: t, items: n = [], confirmLabel: r, cancelLabel: i = "取消", onConfirm: a = null, danger: o = !1 } = {}) {+var Vc = 0;+function Hc({ title: e, body: t, items: n = [], confirmLabel: r, cancelLabel: i = "取消", onConfirm: a = null, danger: o = !1 } = {}) {let s = document.activeElement, c = document.createElement("dialog");c.className = "ui-geist-modal";- let l = `geist-modal-title-${++Bc}`;+ let l = `geist-modal-title-${++Vc}`;c.setAttribute("aria-labelledby", l), c.innerHTML = `<header class="ui-geist-modal-header"><h3 id="${l}"></h3></header><div class="ui-geist-modal-scroll"><div class="ui-geist-modal-body"><p></p><div data-modal-error></div></div></div>@@ -13855,55 +13862,55 @@ function Vc({ title: e, body: t, items: n = [], confirmLabel: r, cancelLabel: iif (!n) {if (!a) t = { confirmed: !0 }, c.close();else {- p.innerHTML = "", n = !0, Oc(f);+ p.innerHTML = "", n = !0, kc(f);try {t = {confirmed: !0,result: await a()}, c.close();} catch (e) {- p.innerHTML = ys(e.message || "操作未完成", { variant: "error" }), Oc(f, !1);+ p.innerHTML = bs(e.message || "操作未完成", { variant: "error" }), kc(f, !1);} finally {n = !1;}}}- }, c.showModal(), vo(c.querySelector(".ui-geist-modal-body")), vo(u), Mo("pop"), (o ? d : f).focus();+ }, c.showModal(), yo(c.querySelector(".ui-geist-modal-body")), yo(u), No("pop"), (o ? d : f).focus();});}// src/onboarding/post-setup-tutorial.ts-var Hc = "peach.post-setup-tutorial.v1", Uc = "peach.post-setup-tutorial-collapsed.v1", Wc = "peach.post-setup-tutorial-skipped.v1", Gc = (e) => {+var Uc = "peach.post-setup-tutorial.v1", Wc = "peach.post-setup-tutorial-collapsed.v1", Gc = "peach.post-setup-tutorial-skipped.v1", Kc = (e) => {try {return localStorage.getItem(e);} catch {return null;}-}, Kc = (e, t) => {+}, qc = (e, t) => {try {localStorage.setItem(e, t);} catch {}-}, qc = () => Gc("peach.post-setup-tutorial.v1") || "", Jc = (e) => Kc(Hc, e), Yc = () => Gc(Uc) === "1", Xc = (e) => Kc(Uc, e ? "1" : "0"), Zc = () => {+}, Jc = () => Kc("peach.post-setup-tutorial.v1") || "", Yc = (e) => qc(Uc, e), Xc = () => Kc(Wc) === "1", Zc = (e) => qc(Wc, e ? "1" : "0"), Qc = () => {try {- let e = JSON.parse(Gc("peach.post-setup-tutorial-skipped.v1") || "[]");+ let e = JSON.parse(Kc("peach.post-setup-tutorial-skipped.v1") || "[]");return new Set(Array.isArray(e) ? e.filter((e) => typeof e == "string") : []);} catch {return /* @__PURE__ */ new Set();}-}, Qc = (e) => Kc(Wc, JSON.stringify([...e])), $c = (e) => JSON.stringify(e.map((e) => [+}, $c = (e) => qc(Gc, JSON.stringify([...e])), el = (e) => JSON.stringify(e.map((e) => [e.key,e.done,e.label,e.description,e.href-])), el = 0, tl = () => ++el, nl = (e) => e === el;-function rl() {- Qc(/* @__PURE__ */ new Set()), Xc(!1), Jc("pending");+])), tl = 0, nl = () => ++tl, rl = (e) => e === tl;+function il() {+ $c(/* @__PURE__ */ new Set()), Zc(!1), Yc("pending");}-var il = (e) => `<article class="post-setup-notification post-setup-error">${e}+var al = (e) => `<article class="post-setup-notification post-setup-error">${e}<div><h2>暂时无法检查安装进度</h2><p>切换页面或重新打开后会再检查一次。</p><div class="post-setup-error-actions"><button class="geist-button" type="button" data-tutorial-dismiss>关闭</button>- <button class="geist-button" type="button" data-tutorial-retry>立即重试</button></div></div></article>`, al = () => window.devicePixelRatio || 1;-function ol(e) {+ <button class="geist-button" type="button" data-tutorial-retry>立即重试</button></div></div></article>`, ol = () => window.devicePixelRatio || 1;+function sl(e) {let t = e.parentElement;if (!t || (["position",@@ -13922,7 +13929,7 @@ function ol(e) {delete e.dataset.faceFramed;let n = new ResizeObserver(() => {let r = t.getBoundingClientRect();- r.width > 0 && r.height > 0 && (n.disconnect(), ol(e));+ r.width > 0 && r.height > 0 && (n.disconnect(), sl(e));});n.observe(t);return;@@ -13941,13 +13948,13 @@ function ol(e) {}, {w: n.width,h: n.height- }, al());+ }, ol());if (!l) return;let u = e.style;u.position = "absolute", u.right = "auto", u.bottom = "auto", u.left = `${l.left}%`, u.top = `${l.top}%`, u.width = `${l.width}%`, u.height = `${l.height}%`, u.maxWidth = "none", u.maxHeight = "none";}-function sl(e, t) {- let n = e.naturalWidth / e.naturalHeight, r = n ? t ?? fl(e) : 0;+function cl(e, t) {+ let n = e.naturalWidth / e.naturalHeight, r = n ? t ?? pl(e) : 0;if (e.closest(".pic,[data-media-pic]")?.style.removeProperty("--cover-blur"), !n) return;e.classList.remove("panel"), ["--panel-aspect",@@ -13959,58 +13966,58 @@ function sl(e, t) {"--cover-y"].forEach((t) => e.style.removeProperty(t));let i = e.dataset.coverCode || new URL(e.currentSrc || e.src, location.href).searchParams.get("code") || "";- e.dataset.frame = e.dataset.coverLayout === "still" || /^FC2(?:-PPV)?-/i.test(i) ? "still" : ul(e) ? "sleeve" : n >= 1.65 ? "still" : n > 1.2 ? "sleeve" : "front";+ e.dataset.frame = e.dataset.coverLayout === "still" || /^FC2(?:-PPV)?-/i.test(i) ? "still" : dl(e) ? "sleeve" : n >= 1.65 ? "still" : n > 1.2 ? "sleeve" : "front";let a = (t, n, r) => {if (n == null || !(r > 0 && r < 1)) return;let i = Math.min(1, Math.max(0, (n - r / 2) / (1 - r)));e.style.setProperty(t, `${Math.round(i * 100)}%`);};- a("--cover-x", pl(e, "cx"), r / n), a("--cover-y", pl(e, "cy"), n / r), cl(e, r), e.dataset.frame !== "still" && (e.classList.contains("whole") || e.dataset.frame === "front") && Math.abs(n / r - 1) > .02 && ll(e);+ a("--cover-x", ml(e, "cx"), r / n), a("--cover-y", ml(e, "cy"), n / r), ll(e, r), e.dataset.frame !== "still" && (e.classList.contains("whole") || e.dataset.frame === "front") && Math.abs(n / r - 1) > .02 && ul(e);}-function cl(e, t) {+function ll(e, t) {if (e.dataset.frame === "front" || e.dataset.coverLayout === "still") return;let [n = NaN, r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.posterbox || "").split(" ").map(Number);- if (!e.dataset.posterbox && e.dataset.frame === "sleeve" && (r = e.naturalWidth, i = e.naturalHeight, n = Math.round(r - (ul(e) ? Ra : La) * i), a = 0, o = r, s = i), !Ea(e.naturalWidth, e.naturalHeight, r, i)) return;+ if (!e.dataset.posterbox && e.dataset.frame === "sleeve" && (r = e.naturalWidth, i = e.naturalHeight, n = Math.round(r - (dl(e) ? Ra : La) * i), a = 0, o = r, s = i), !Ea(e.naturalWidth, e.naturalHeight, r, i)) return;let c = (o - n) / (s - a), l = r / i, u = l >= 1.75 && l < 1.85 && Math.abs(c - .85) <= .02, d = za({x0: n,y0: a,x1: o,y1: s,px: [r, i]- }, t, ul(e) || u);- d && (e.style.setProperty("--panel-aspect", `${e.naturalWidth} / ${e.naturalHeight}`), e.classList.add("panel"), e.style.setProperty("--panel-clip", `${d.clip.top}% ${d.clip.right}% ${d.clip.bottom}% ${d.clip.left}%`), e.style.setProperty("--panel-left", `${d.left}%`), e.style.setProperty("--panel-top", `${d.top}%`), e.style.setProperty("--panel-height", `${d.height}%`), e.dataset.frame !== "still" && e.classList.contains("front") && Math.abs(c / t - 1) > .02 && ll(e));+ }, t, dl(e) || u);+ d && (e.style.setProperty("--panel-aspect", `${e.naturalWidth} / ${e.naturalHeight}`), e.classList.add("panel"), e.style.setProperty("--panel-clip", `${d.clip.top}% ${d.clip.right}% ${d.clip.bottom}% ${d.clip.left}%`), e.style.setProperty("--panel-left", `${d.left}%`), e.style.setProperty("--panel-top", `${d.top}%`), e.style.setProperty("--panel-height", `${d.height}%`), e.dataset.frame !== "still" && e.classList.contains("front") && Math.abs(c / t - 1) > .02 && ul(e));}-function ll(e) {+function ul(e) {let t = (e.dataset.thumbSrc || e.currentSrc || e.src).replace(/"/g, "%22");e.closest(".pic,[data-media-pic]")?.style.setProperty("--cover-blur", `url("${t}")`);}-function ul(e) {+function dl(e) {let t = e.dataset.coverCode || new URL(e.currentSrc || e.src, location.href).searchParams.get("code") || "", n = e.naturalWidth / e.naturalHeight;return !/^FC2(?:-PPV)?-/i.test(t) && (e.dataset.wideSleeve === "1" || /^(CWPBD|SMBD)-/i.test(t)) && n >= 1.75 && n < 1.85;}-function dl(e) {+function fl(e) {let t = /[?&]thumb=([12])(?=&|$)/.exec(e.src)?.[1];if (!t || !e.naturalWidth) return;let { width: n, height: r } = e.getBoundingClientRect();- (getComputedStyle(e).objectFit === "contain" ? Math.min : Math.max)(n / e.naturalWidth, r / e.naturalHeight) * al() > 1.01 && (e.dataset.thumbSrc ||= e.src, e.src = t === "2" ? e.src.replace(/([?&])thumb=2(?=&|$)/, "$1thumb=1") : e.src.replace(/[?&]thumb=1(?=&|$)/, ""));+ (getComputedStyle(e).objectFit === "contain" ? Math.min : Math.max)(n / e.naturalWidth, r / e.naturalHeight) * ol() > 1.01 && (e.dataset.thumbSrc ||= e.src, e.src = t === "2" ? e.src.replace(/([?&])thumb=2(?=&|$)/, "$1thumb=1") : e.src.replace(/[?&]thumb=1(?=&|$)/, ""));}-function fl(e) {+function pl(e) {let t = (e.closest(".pic,[data-media-pic]")?.style.getPropertyValue("--card-ratio").trim() || getComputedStyle(e).getPropertyValue("--card-ratio").trim()).split("/").map(Number), n = t.length === 2 ? Number(t[0]) / Number(t[1]) : Number(t[0]);return Number.isFinite(n) && n > 0 ? n : 16 / 9;}-function pl(e, t) {+function ml(e, t) {let n = parseFloat(e.dataset[t] ?? "");return Number.isFinite(n) ? n : null;}-var ml = ".pic>img.poster,[data-media-art]>img,.ring>img,[data-tier-ring]>img,[data-person-ring]>img,[data-entity-portrait]>img,[data-hero-ring]>img", hl = /* @__PURE__ */ new WeakMap();-function gl(e) {- let t = e.matches(ml) ? [e] : e.querySelectorAll(ml);- for (let e of t) !e.complete && e.parentElement && (e.parentElement.classList.add("imgwait"), hl.set(e.parentElement, performance.now()), Xs(e.parentElement));-}+var hl = ".pic>img.poster,[data-media-art]>img,.ring>img,[data-tier-ring]>img,[data-person-ring]>img,[data-entity-portrait]>img,[data-hero-ring]>img", gl = /* @__PURE__ */ new WeakMap();function _l(e) {+ let t = e.matches(hl) ? [e] : e.querySelectorAll(hl);+ for (let e of t) !e.complete && e.parentElement && (e.parentElement.classList.add("imgwait"), gl.set(e.parentElement, performance.now()), Zs(e.parentElement));+}+function vl(e) {let t = e.parentElement;if (!t?.classList.contains("imgwait")) return;- if (Zs(t), performance.now() - (hl.get(t) ?? NaN) < 180) {+ if (Qs(t), performance.now() - (gl.get(t) ?? NaN) < 180) {t.classList.remove("imgwait");return;}@@ -14020,14 +14027,14 @@ function _l(e) {};t.addEventListener("transitionend", r), n = setTimeout(r, 1e3);}-function vl(e) {+function yl(e) {let t = "img.cover,img[data-facebox]", n = e.matches(t) ? [e] : e.querySelectorAll(t);for (let e of n) {let t = e;- t.complete && t.naturalWidth && (t.classList.contains("cover") ? sl(t) : (yl(t), ol(t)));+ t.complete && t.naturalWidth && (t.classList.contains("cover") ? cl(t) : (bl(t), sl(t)));}}-function yl(e) {+function bl(e) {let t = e.closest("[data-fit-native]");if (!t || !e.naturalWidth) return;let n = t.dataset.fitNative === "mark" ? ka(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight) : null;@@ -14035,75 +14042,75 @@ function yl(e) {t.dataset.nativeSmall = "false", t.style.setProperty("--markw", n.width + "px"), t.style.setProperty("--markh", n.height + "px"), t.style.setProperty("--markbg", "none");return;}- let { small: r, width: i, height: a } = Da(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, al());+ let { small: r, width: i, height: a } = Da(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, ol());t.dataset.nativeSmall = String(r), t.style.setProperty("--markw", r ? i + "px" : "100%"), t.style.setProperty("--markh", r ? a + "px" : "100%");let o = (e.currentSrc || e.src).replace(/"/g, "%22");t.style.setProperty("--markbg", r ? `url("${o}")` : "none");}-function bl(e) {+function xl(e) {(e || document).querySelectorAll("[data-fit-native] img").forEach((e) => {- yl(e), e.dataset.facebox && ol(e);+ bl(e), e.dataset.facebox && sl(e);});}-function xl(e, t) {- for (let n of Va(e, t)) sl(n), dl(n);+function Sl(e, t) {+ for (let n of Va(e, t)) cl(n), fl(n);}-var Sl = !1;-function Cl() {- Sl || (Sl = !0, document.addEventListener("load", (e) => {+var Cl = !1;+function wl() {+ Cl || (Cl = !0, document.addEventListener("load", (e) => {let t = e.target;- t instanceof HTMLImageElement && (_l(t), yl(t), t.classList.contains("cover") ? (sl(t), dl(t)) : t.dataset.facebox && ol(t));+ t instanceof HTMLImageElement && (vl(t), bl(t), t.classList.contains("cover") ? (cl(t), fl(t)) : t.dataset.facebox && sl(t));}, !0), new MutationObserver((e) => {- for (let t of e) for (let e of t.addedNodes) e.nodeType === Node.ELEMENT_NODE && (gl(e), vl(e));+ for (let t of e) for (let e of t.addedNodes) e.nodeType === Node.ELEMENT_NODE && (_l(e), yl(e));}).observe(document.body, {childList: !0,subtree: !0}), document.addEventListener("error", (e) => {let t = e.target;- t instanceof HTMLImageElement && !t.dataset.fallbacks && _l(t);+ t instanceof HTMLImageElement && !t.dataset.fallbacks && vl(t);}, !0));}// src/card-art/hover.ts-var wl = ".card,[data-media-card],[data-mix-card]", Tl = {+var Tl = ".card,[data-media-card],[data-mix-card]", El = {selecting: () => !1,censored: () => !1,delaySeconds: () => 0};-function El(e) {- Tl = e;+function Dl(e) {+ El = e;}-var Dl = () => !!window.__scrolling;-function Ol(e = document, t = null) {- e && e.querySelectorAll && (e.querySelectorAll(wl).forEach((e) => {+var Ol = () => !!window.__scrolling;+function kl(e = document, t = null) {+ e && e.querySelectorAll && (e.querySelectorAll(Tl).forEach((e) => {e !== t && e._stopHover && e._stopHover();}), e.querySelectorAll("video.hv").forEach((e) => {- e.closest(wl) !== t && (e._hop && clearInterval(e._hop), e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ e.closest(Tl) !== t && (e._hop && clearInterval(e._hop), e.pause(), e.removeAttribute("src"), e.load(), e.remove());}), e.querySelectorAll("img.ui-hvframes").forEach((e) => {- e.closest(wl) !== t && (e.removeAttribute("src"), e.remove());+ e.closest(Tl) !== t && (e.removeAttribute("src"), e.remove());}));}-function kl(e) {- e._stopHover?.(), Ol(e);+function Al(e) {+ e._stopHover?.(), kl(e);}-function Al(e, t, n) {+function jl(e, t, n) {n ? e.dataset[t] = "" : delete e.dataset[t];}-function jl(e, t) {+function Ml(e, t) {let n = e, r = e.querySelector("[data-media-pic]");if (!r) return;e.dataset.hoverMode = t.location === "local" ? "video" : "frames";let i, a = () => {- clearTimeout(i), Tl.delaySeconds() && (Al(e, "previewing", !0), i = setTimeout(() => {- Tl.delaySeconds() && Al(e, "longhover", !0);- }, Tl.delaySeconds() * 1e3));+ clearTimeout(i), El.delaySeconds() && (jl(e, "previewing", !0), i = setTimeout(() => {+ El.delaySeconds() && jl(e, "longhover", !0);+ }, El.delaySeconds() * 1e3));}, o = () => {- clearTimeout(i), Al(e, "previewing", !1), Al(e, "longhover", !1);+ clearTimeout(i), jl(e, "previewing", !1), jl(e, "longhover", !1);};if (t.location !== "local") {if (!t.has_thumb) return;let i, s = 4, c = null, l = !1;e.addEventListener("mouseenter", () => {- if (!(Tl.selecting() || Tl.censored())) {+ if (!(El.selecting() || El.censored())) {if (a(), !c) {c = document.createElement("img"), c.className = "ui-hvframes", c.alt = "";let e = c;@@ -14130,9 +14137,9 @@ function jl(e, t) {}let s, c = null;e.addEventListener("mouseenter", () => {- Tl.selecting() || Tl.censored() || Dl() || (s = setTimeout(() => {- if (Dl() || Tl.censored()) return;- Ol(document, e);+ El.selecting() || El.censored() || Ol() || (s = setTimeout(() => {+ if (Ol() || El.censored()) return;+ kl(document, e);let n = document.createElement("video");c = n, n.className = "hv", n.muted = !0, n.playsInline = !0, n.loop = !0, n.preload = "metadata", n.src = "/stream?id=" + t.id;let i = [@@ -14167,20 +14174,20 @@ function jl(e, t) {n._stopHover = l, e.addEventListener("mouseleave", l);}// src/core/tags.ts-var Ml = (e) => e;+var Nl = (e) => e;// src/react/follow-feed/follow-helpers.ts-function Nl([e, t, , n, r]) {+function Pl([e, t, , n, r]) {return n ? `<img src="/work-icon?work=${encodeURIComponent(e)}" width="128" height="128" alt="" loading="lazy"${eo(r)}${to(r)}>` : z(Pn(t, 2));}-function Pl(e) {+function Fl(e) {return {...e,- workMark: Nl,- tagLabel: Ml+ workMark: Pl,+ tagLabel: Nl};}// src/sidebar.ts-var Fl = [+var Il = ["","follow","jav",@@ -14189,7 +14196,7 @@ var Fl = ["studios","flagged","manage"-], Il = [+], Ll = ["playlists","immerse","stats",@@ -14198,12 +14205,12 @@ var Fl = ["trash","follow-manage","quality"-], Ll = /* @__PURE__ */ new Set([...Fl, ...Il]), Rl = (e) => e === "ads" || e === "dupes" ? "data-cleanup" : e;-function zl(e) {- let t = Array.isArray(e) ? e.filter((e) => typeof e == "string") : [], n = [...new Set(t.map(Rl))].filter((e) => Ll.has(e));- return n.length ? n : [...Fl];-}+], Rl = /* @__PURE__ */ new Set([...Il, ...Ll]), zl = (e) => e === "ads" || e === "dupes" ? "data-cleanup" : e;function Bl(e) {+ let t = Array.isArray(e) ? e.filter((e) => typeof e == "string") : [], n = [...new Set(t.map(zl))].filter((e) => Rl.has(e));+ return n.length ? n : [...Il];+}+function Vl(e) {return ["/","/unseen",@@ -14213,13 +14220,13 @@ function Bl(e) {"/junk-files"].includes(e) || /^\/assets\//.test(e) || /^\/(performers|studios|creators|series|agencies|tags)\/.+/.test(e);}-function Vl(e) {+function Hl(e) {let t = /* @__PURE__ */ new Map();for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);}// src/react/follow-detail/follow-detail-actions.ts-function Hl(e, t) {+function Ul(e, t) {return {...t,close: () => e.close(),@@ -14234,62 +14241,62 @@ function Hl(e, t) {};e.adoptView(i), e.rememberReturn(ua(i)), e.close();},- present: (t) => e.drawer({ tags: Vl([{ tags: t.tags || [] }]) })+ present: (t) => e.drawer({ tags: Hl([{ tags: t.tags || [] }]) })};}// src/shell/index.ts-var U, Ul, Wl = null, Gl = /* @__PURE__ */ new Set(), Kl = /* @__PURE__ */ new Set(), ql = !1, Jl = null, Yl = null, Xl = "", Zl = "/", Ql = null, $l = !1, eu = !1, tu = null, nu = null, ru = null, iu = "/follow", au = "", ou = null, su = !1, cu = 0, lu = 0, uu = !1, du = Math.floor(Math.random() * 4294967295), fu = 0, pu = 0, mu = 0, hu = /* @__PURE__ */ new Set(), gu = 0;-function _u(e) {+var U, Wl, Gl = null, Kl = /* @__PURE__ */ new Set(), ql = /* @__PURE__ */ new Set(), Jl = !1, Yl = null, Xl = null, Zl = "", Ql = "/", $l = null, eu = !1, tu = !1, nu = null, ru = null, iu = null, au = "/follow", ou = "", su = null, cu = !1, lu = 0, uu = 0, du = !1, fu = Math.floor(Math.random() * 4294967295), pu = 0, mu = 0, hu = 0, gu = /* @__PURE__ */ new Set(), _u = 0;+function vu(e) {let t = (t) => Object.prototype.hasOwnProperty.call(e, t);- t("state") && (U = e.state), t("barsContext") && (Ul = e.barsContext), t("detailReturnBarsContext") && (Wl = e.detailReturnBarsContext), t("selectMode") && (ql = e.selectMode), t("lastSelectedId") && (Jl = e.lastSelectedId), t("followLastSelectedId") && (Yl = e.followLastSelectedId), t("selectSurface") && (Xl = e.selectSurface), t("detailReturnPath") && (Zl = e.detailReturnPath), t("detailOriginAnchor") && (Ql = e.detailOriginAnchor), t("detailOriginAbove") && ($l = e.detailOriginAbove), t("detailReturnNeedsRestore") && (eu = e.detailReturnNeedsRestore), t("activeQueue") && (tu = e.activeQueue), t("pendingQueueRoute") && (nu = e.pendingQueueRoute), t("presentedItem") && (ru = e.presentedItem), t("followDetailReturnPath") && (iu = e.followDetailReturnPath), t("configurationRequestedSection") && (au = e.configurationRequestedSection), t("pageOpens") && (cu = e.pageOpens), t("queueOpens") && (lu = e.queueOpens), t("entityJavLayout") && (uu = e.entityJavLayout), t("followDiscoverySeed") && (du = e.followDiscoverySeed), t("followRevision") && (fu = e.followRevision), t("followScrollY") && (pu = e.followScrollY), t("playlistsRevision") && (mu = e.playlistsRevision), t("runtimeConfigurable") && (ou = e.runtimeConfigurable), t("cameFromSetup") && (su = e.cameFromSetup), vu();+ t("state") && (U = e.state), t("barsContext") && (Wl = e.barsContext), t("detailReturnBarsContext") && (Gl = e.detailReturnBarsContext), t("selectMode") && (Jl = e.selectMode), t("lastSelectedId") && (Yl = e.lastSelectedId), t("followLastSelectedId") && (Xl = e.followLastSelectedId), t("selectSurface") && (Zl = e.selectSurface), t("detailReturnPath") && (Ql = e.detailReturnPath), t("detailOriginAnchor") && ($l = e.detailOriginAnchor), t("detailOriginAbove") && (eu = e.detailOriginAbove), t("detailReturnNeedsRestore") && (tu = e.detailReturnNeedsRestore), t("activeQueue") && (nu = e.activeQueue), t("pendingQueueRoute") && (ru = e.pendingQueueRoute), t("presentedItem") && (iu = e.presentedItem), t("followDetailReturnPath") && (au = e.followDetailReturnPath), t("configurationRequestedSection") && (ou = e.configurationRequestedSection), t("pageOpens") && (lu = e.pageOpens), t("queueOpens") && (uu = e.queueOpens), t("entityJavLayout") && (du = e.entityJavLayout), t("followDiscoverySeed") && (fu = e.followDiscoverySeed), t("followRevision") && (pu = e.followRevision), t("followScrollY") && (mu = e.followScrollY), t("playlistsRevision") && (hu = e.playlistsRevision), t("runtimeConfigurable") && (su = e.runtimeConfigurable), t("cameFromSetup") && (cu = e.cameFromSetup), yu();}-function vu() {- gu += 1;- for (let e of [...hu]) e();+function yu() {+ _u += 1;+ for (let e of [...gu]) e();}-function yu(e) {- return hu.add(e), () => {- hu.delete(e);+function bu(e) {+ return gu.add(e), () => {+ gu.delete(e);};}// node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs-var bu = /* @__PURE__ */ (0, P.createContext)({});+var xu = /* @__PURE__ */ (0, P.createContext)({});// node_modules/framer-motion/dist/es/utils/use-constant.mjs-function xu(e) {+function Su(e) {let t = (0, P.useRef)(null);return t.current === null && (t.current = e()), t.current;}// node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs-var Su = typeof window < "u" ? P.useLayoutEffect : P.useEffect, Cu = /* @__PURE__ */ (0, P.createContext)(null);+var Cu = typeof window < "u" ? P.useLayoutEffect : P.useEffect, wu = /* @__PURE__ */ (0, P.createContext)(null);// node_modules/motion-utils/dist/es/array.mjs-function wu(e, t) {+function Tu(e, t) {e.indexOf(t) === -1 && e.push(t);}-function Tu(e, t) {+function Eu(e, t) {let n = e.indexOf(t);n > -1 && e.splice(n, 1);}// node_modules/motion-utils/dist/es/clamp.mjs-var Eu = (e, t, n) => n > t ? t : n < e ? e : n, Du = {}, Ou = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), ku = (e) => typeof e == "object" && !!e, Au = (e) => /^0[^.\s]+$/u.test(e);+var Du = (e, t, n) => n > t ? t : n < e ? e : n, Ou = {}, ku = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Au = (e) => typeof e == "object" && !!e, ju = (e) => /^0[^.\s]+$/u.test(e);// node_modules/motion-utils/dist/es/memo.mjs/*#__NO_SIDE_EFFECTS__*/-function ju(e) {+function Mu(e) {let t;return () => (t === void 0 && (t = e()), t);}// node_modules/motion-utils/dist/es/noop.mjs-var Mu = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Nu = (...e) => e.reduce((e, t) => (n) => t(e(n))), Pu = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {+var Nu = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Pu = (...e) => e.reduce((e, t) => (n) => t(e(n))), Fu = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {let r = t - e;return r ? (n - e) / r : 1;-}, Fu = class {+}, Iu = class {constructor() {this.subscriptions = [];}add(e) {- return wu(this.subscriptions, e), () => this.remove(e);+ return Tu(this.subscriptions, e), () => this.remove(e);}remove(e) {- Tu(this.subscriptions, e);+ Eu(this.subscriptions, e);}notify(e, t, n) {let r = this.subscriptions.length;@@ -14307,103 +14314,103 @@ var Mu = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Nu = (...e) => e.reduce((e, t) =>clear() {this.subscriptions.length = 0;}-}, Iu = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Lu = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Ru = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, zu = (e, t, n) => {+}, Lu = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Ru = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, zu = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, Bu = (e, t, n) => {let r = t - e;return ((n - e) % r + r) % r + e;-}, Bu = (e, t, n) => e * (3 * (1 - e) * ((1 - e) * t + e * n) + e * e);+}, Vu = (e, t, n) => e * (3 * (1 - e) * ((1 - e) * t + e * n) + e * e);/*#__NO_SIDE_EFFECTS__*/-function Vu(e, t, n, r) {- return e === t && n === r ? Mu : (i) => {+function Hu(e, t, n, r) {+ return e === t && n === r ? Nu : (i) => {let a = 0, o = 1, s = i;for (let t = 0;; t++) {s >= a && s <= o || (s = (a + o) / 2);- let r = Bu(s, e, n) - i;+ let r = Vu(s, e, n) - i;if (r * r < 1e-28 || t === 40) break;- r > 0 ? o = s : a = s, s -= r * 1e-7 / (Bu(s + 1e-7, e, n) - i - r);+ r > 0 ? o = s : a = s, s -= r * 1e-7 / (Vu(s + 1e-7, e, n) - i - r);}- return Bu(s, t, r);+ return Vu(s, t, r);};}// node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs-var Hu = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Uu = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), Wu = /*@__PURE__*/ Vu(.33, 1.53, .69, .99), Gu = /*@__PURE__*/ Uu(Wu), Ku = /*@__PURE__*/ Hu(Gu), qu = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * Gu(e) : .5 * (2 - 2 ** (-10 * (e - 1))), Ju = (e) => 1 - Math.sin(Math.acos(e)), Yu = /* @__PURE__ */ Uu(Ju), Xu = /* @__PURE__ */ Hu(Ju), Zu = /*@__PURE__*/ Vu(.42, 0, 1, 1), Qu = /*@__PURE__*/ Vu(0, 0, .58, 1), $u = /*@__PURE__*/ Vu(.42, 0, .58, 1), ed = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number";+var Uu = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Wu = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), Gu = /*@__PURE__*/ Hu(.33, 1.53, .69, .99), Ku = /*@__PURE__*/ Wu(Gu), qu = /*@__PURE__*/ Uu(Ku), Ju = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * Ku(e) : .5 * (2 - 2 ** (-10 * (e - 1))), Yu = (e) => 1 - Math.sin(Math.acos(e)), Xu = /* @__PURE__ */ Wu(Yu), Zu = /* @__PURE__ */ Uu(Yu), Qu = /*@__PURE__*/ Hu(.42, 0, 1, 1), $u = /*@__PURE__*/ Hu(0, 0, .58, 1), ed = /*@__PURE__*/ Hu(.42, 0, .58, 1), td = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number";// node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs/*#__NO_SIDE_EFFECTS__*/-function td(e, t) {- return /* @__PURE__ */ ed(e) ? e[zu(0, e.length, t)] : e;+function nd(e, t) {+ return /* @__PURE__ */ td(e) ? e[Bu(0, e.length, t)] : e;}// node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs-var nd = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", rd = {- linear: Mu,- easeIn: Zu,- easeInOut: $u,- easeOut: Qu,- circIn: Ju,- circInOut: Xu,- circOut: Yu,- backIn: Gu,- backInOut: Ku,- backOut: Wu,- anticipate: qu-}, id = (e) => typeof e == "string", ad = (e) => {- if (/* @__PURE__ */ nd(e)) {+var rd = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", id = {+ linear: Nu,+ easeIn: Qu,+ easeInOut: ed,+ easeOut: $u,+ circIn: Yu,+ circInOut: Zu,+ circOut: Xu,+ backIn: Ku,+ backInOut: qu,+ backOut: Gu,+ anticipate: Ju+}, ad = (e) => typeof e == "string", od = (e) => {+ if (/* @__PURE__ */ rd(e)) {e.length;let [t, n, r, i] = e;- return /* @__PURE__ */ Vu(t, n, r, i);+ return /* @__PURE__ */ Hu(t, n, r, i);}- return id(e) ? (rd[e], `${e}`, rd[e]) : e;-}, od = {+ return ad(e) ? (id[e], `${e}`, id[e]) : e;+}, sd = {delta: 0,timestamp: 0,isProcessing: !1-}, sd;-function cd() {- sd = void 0;+}, cd;+function ld() {+ cd = void 0;}-var ld = {- now: () => (sd === void 0 && ld.set(od.isProcessing || Du.useManualTiming ? od.timestamp : performance.now()), sd),+var ud = {+ now: () => (cd === void 0 && ud.set(sd.isProcessing || Ou.useManualTiming ? sd.timestamp : performance.now()), cd),set: (e) => {- sd = e, queueMicrotask(cd);+ cd = e, queueMicrotask(ld);}-}, ud = (e) => Math.round(e * 1e5) / 1e5, dd = (e) => (t) => typeof t == "string" && t.startsWith(e), fd = /*@__PURE__*/ dd("--"), pd = /*@__PURE__*/ dd("var(--"), md = (e) => pd(e) ? hd.test(e.split("/*")[0].trim()) : !1, hd = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;-function gd(e) {+}, dd = (e) => Math.round(e * 1e5) / 1e5, fd = (e) => (t) => typeof t == "string" && t.startsWith(e), pd = /*@__PURE__*/ fd("--"), md = /*@__PURE__*/ fd("var(--"), hd = (e) => md(e) ? gd.test(e.split("/*")[0].trim()) : !1, gd = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;+function _d(e) {return typeof e == "string" && e.split("/*")[0].includes("var(--");}// node_modules/motion-dom/dist/es/value/types/numbers/index.mjs-var _d = {+var vd = {test: (e) => typeof e == "number",parse: parseFloat,transform: (e) => e-}, vd = {- ..._d,- transform: (e) => Eu(0, 1, e)}, yd = {- ..._d,+ ...vd,+ transform: (e) => Du(0, 1, e)+}, bd = {+ ...vd,default: 1-}, bd = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;+}, xd = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;// node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs-function xd(e) {+function Sd(e) {return e == null;}// node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs-var Sd = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Cd = (e, t) => (n) => !!(typeof n == "string" && Sd.test(n) && n.startsWith(e) || t && !xd(n) && Object.prototype.hasOwnProperty.call(n, t)), wd = (e, t, n) => (r) => {+var Cd = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, wd = (e, t) => (n) => !!(typeof n == "string" && Cd.test(n) && n.startsWith(e) || t && !Sd(n) && Object.prototype.hasOwnProperty.call(n, t)), Td = (e, t, n) => (r) => {if (typeof r != "string") return r;- let [i, a, o, s] = r.match(bd);+ let [i, a, o, s] = r.match(xd);return {[e]: parseFloat(i),[t]: parseFloat(a),[n]: parseFloat(o),alpha: s === void 0 ? 1 : parseFloat(s)};-}, Td = (e) => Eu(0, 255, e), Ed = {- ..._d,- transform: (e) => Math.round(Td(e))-}, Dd = {- test: /*@__PURE__*/ Cd("rgb", "red"),- parse: /*@__PURE__*/ wd("red", "green", "blue"),- transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Ed.transform(e) + ", " + Ed.transform(t) + ", " + Ed.transform(n) + ", " + ud(vd.transform(r)) + ")"+}, Ed = (e) => Du(0, 255, e), Dd = {+ ...vd,+ transform: (e) => Math.round(Ed(e))+}, Od = {+ test: /*@__PURE__*/ wd("rgb", "red"),+ parse: /*@__PURE__*/ Td("red", "green", "blue"),+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Dd.transform(e) + ", " + Dd.transform(t) + ", " + Dd.transform(n) + ", " + dd(yd.transform(r)) + ")"};// node_modules/motion-dom/dist/es/value/types/color/hex.mjs-function Od(e) {+function kd(e) {let t = "", n = "", r = "", i = "";return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {red: parseInt(t, 16),@@ -14412,40 +14419,40 @@ function Od(e) {alpha: i ? parseInt(i, 16) / 255 : 1};}-var kd = {- test: /*@__PURE__*/ Cd("#"),- parse: Od,- transform: Dd.transform-}, Ad = /* @__NO_SIDE_EFFECTS__ */ (e) => ({+var Ad = {+ test: /*@__PURE__*/ wd("#"),+ parse: kd,+ transform: Od.transform+}, jd = /* @__NO_SIDE_EFFECTS__ */ (e) => ({test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,parse: parseFloat,transform: (t) => `${t}${e}`-}), jd = /*@__PURE__*/ Ad("deg"), Md = /*@__PURE__*/ Ad("%"), W = /*@__PURE__*/ Ad("px"), Nd = /*@__PURE__*/ Ad("vh"), Pd = /*@__PURE__*/ Ad("vw"), Fd = {- ...Md,- parse: (e) => Md.parse(e) / 100,- transform: (e) => Md.transform(e * 100)-}, Id = {- test: /*@__PURE__*/ Cd("hsl", "hue"),- parse: /*@__PURE__*/ wd("hue", "saturation", "lightness"),- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Md.transform(ud(t)) + ", " + Md.transform(ud(n)) + ", " + ud(vd.transform(r)) + ")"+}), Md = /*@__PURE__*/ jd("deg"), Nd = /*@__PURE__*/ jd("%"), W = /*@__PURE__*/ jd("px"), Pd = /*@__PURE__*/ jd("vh"), Fd = /*@__PURE__*/ jd("vw"), Id = {+ ...Nd,+ parse: (e) => Nd.parse(e) / 100,+ transform: (e) => Nd.transform(e * 100)}, Ld = {- test: (e) => Dd.test(e) || kd.test(e) || Id.test(e),- parse: (e) => Dd.test(e) ? Dd.parse(e) : Id.test(e) ? Id.parse(e) : kd.parse(e),- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Dd.transform(e) : Id.transform(e),+ test: /*@__PURE__*/ wd("hsl", "hue"),+ parse: /*@__PURE__*/ Td("hue", "saturation", "lightness"),+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Nd.transform(dd(t)) + ", " + Nd.transform(dd(n)) + ", " + dd(yd.transform(r)) + ")"+}, Rd = {+ test: (e) => Od.test(e) || Ad.test(e) || Ld.test(e),+ parse: (e) => Od.test(e) ? Od.parse(e) : Ld.test(e) ? Ld.parse(e) : Ad.parse(e),+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Od.transform(e) : Ld.transform(e),getAnimatableNone: (e) => {- let t = Ld.parse(e);- return t.alpha = 0, Ld.transform(t);+ let t = Rd.parse(e);+ return t.alpha = 0, Rd.transform(t);}-}, Rd = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, zd = /*@__PURE__*/ new RegExp(bd.source), Bd = /*@__PURE__*/ new RegExp(Rd.source, "i");-function Vd(e) {- return isNaN(e) && typeof e == "string" && (zd.test(e) || Bd.test(e));+}, zd = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, Bd = /*@__PURE__*/ new RegExp(xd.source), Vd = /*@__PURE__*/ new RegExp(zd.source, "i");+function Hd(e) {+ return isNaN(e) && typeof e == "string" && (Bd.test(e) || Vd.test(e));}-var Hd = "number", Ud = "color", Wd = "var", Gd = "var(", Kd = "${}", qd = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)(?![a-z]*\()/giu;-function Jd(e) {+var Ud = "number", Wd = "color", Gd = "var", Kd = "var(", qd = "${}", Jd = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)(?![a-z]*\()/giu;+function Yd(e) {let t = e.toString();- return zd.test(t) || Bd.test(t);+ return Bd.test(t) || Vd.test(t);}-function Yd(e) {+function Xd(e) {let t = e.toString(), n = [], r = {color: [],number: [],@@ -14453,50 +14460,50 @@ function Yd(e) {}, i = [], a = 0;return {values: n,- split: t.replace(qd, (e) => (Ld.test(e) ? (r.color.push(a), i.push(Ud), n.push(Ld.parse(e))) : e.startsWith(Gd) ? (r.var.push(a), i.push(Wd), n.push(e)) : (r.number.push(a), i.push(Hd), n.push(parseFloat(e))), ++a, Kd)).split(Kd),+ split: t.replace(Jd, (e) => (Rd.test(e) ? (r.color.push(a), i.push(Wd), n.push(Rd.parse(e))) : e.startsWith(Kd) ? (r.var.push(a), i.push(Gd), n.push(e)) : (r.number.push(a), i.push(Ud), n.push(parseFloat(e))), ++a, qd)).split(qd),indexes: r,types: i};}-function Xd(e) {- return Yd(e).values;+function Zd(e) {+ return Xd(e).values;}-function Zd({ split: e, types: t }) {+function Qd({ split: e, types: t }) {let n = e.length;return (r) => {let i = "";for (let a = 0; a < n; a++) if (i += e[a], r[a] !== void 0) {let e = t[a];- i += e === Hd ? ud(r[a]) : e === Ud ? Ld.transform(r[a]) : r[a];+ i += e === Ud ? dd(r[a]) : e === Wd ? Rd.transform(r[a]) : r[a];}return i;};}-function Qd(e) {- return Zd(Yd(e));+function $d(e) {+ return Qd(Xd(e));}-var $d = (e) => typeof e == "number" ? 0 : Ld.test(e) ? Ld.getAnimatableNone(e) : e, ef = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : $d(e);-function tf(e) {- let t = Yd(e);- return Zd(t)(t.values.map((e, n) => ef(e, t.split[n])));+var ef = (e) => typeof e == "number" ? 0 : Rd.test(e) ? Rd.getAnimatableNone(e) : e, tf = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : ef(e);+function nf(e) {+ let t = Xd(e);+ return Qd(t)(t.values.map((e, n) => tf(e, t.split[n])));}-var nf = {- test: Vd,- parse: Xd,- createTransformer: Qd,- getAnimatableNone: tf+var rf = {+ test: Hd,+ parse: Zd,+ createTransformer: $d,+ getAnimatableNone: nf};// node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs-function rf(e, t, n) {+function af(e, t, n) {return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;}-function af({ hue: e, saturation: t, lightness: n, alpha: r }) {+function of({ hue: e, saturation: t, lightness: n, alpha: r }) {e /= 360, t /= 100, n /= 100;let i = 0, a = 0, o = 0;if (!t) i = a = o = n;else {let r = n < .5 ? n * (1 + t) : n + t - n * t, s = 2 * n - r;- i = rf(s, r, e + 1 / 3), a = rf(s, r, e), o = rf(s, r, e - 1 / 3);+ i = af(s, r, e + 1 / 3), a = af(s, r, e), o = af(s, r, e - 1 / 3);}return {red: Math.round(i * 255),@@ -14506,59 +14513,59 @@ function af({ hue: e, saturation: t, lightness: n, alpha: r }) {};}// node_modules/motion-dom/dist/es/utils/mix/immediate.mjs-function of(e, t) {+function sf(e, t) {return (n) => n > 0 ? t : e;}// node_modules/motion-dom/dist/es/utils/mix/number.mjs-var sf = (e, t, n) => e + (t - e) * n, cf = (e, t, n) => {+var cf = (e, t, n) => e + (t - e) * n, lf = (e, t, n) => {let r = e * e, i = n * (t * t - r) + r;return i < 0 ? 0 : Math.sqrt(i);-}, lf = [- kd,- Dd,- Id-], uf = (e) => lf.find((t) => t.test(e));-function df(e) {- let t = uf(e);+}, uf = [+ Ad,+ Od,+ Ld+], df = (e) => uf.find((t) => t.test(e));+function ff(e) {+ let t = df(e);if (!t) return `${e}`, !1;let n = t.parse(e);- return t === Id && (n = af(n)), n;+ return t === Ld && (n = of(n)), n;}-var ff = (e, t) => {- let n = df(e), r = df(t);- if (!n || !r) return of(e, t);+var pf = (e, t) => {+ let n = ff(e), r = ff(t);+ if (!n || !r) return sf(e, t);let i = { ...n };- return (e) => (i.red = cf(n.red, r.red, e), i.green = cf(n.green, r.green, e), i.blue = cf(n.blue, r.blue, e), i.alpha = sf(n.alpha, r.alpha, e), Dd.transform(i));-}, pf = /* @__PURE__ */ new Set(["none", "hidden"]);-function mf(e, t) {- return pf.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;+ return (e) => (i.red = lf(n.red, r.red, e), i.green = lf(n.green, r.green, e), i.blue = lf(n.blue, r.blue, e), i.alpha = cf(n.alpha, r.alpha, e), Od.transform(i));+}, mf = /* @__PURE__ */ new Set(["none", "hidden"]);+function hf(e, t) {+ return mf.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;}// node_modules/motion-dom/dist/es/utils/mix/complex.mjs-function hf(e, t) {- return (n) => sf(e, t, n);+function gf(e, t) {+ return (n) => cf(e, t, n);}-function gf(e) {- return typeof e == "number" ? hf : typeof e == "string" ? md(e) ? of : Ld.test(e) ? ff : bf : Array.isArray(e) ? _f : typeof e == "object" ? Ld.test(e) ? ff : vf : of;+function _f(e) {+ return typeof e == "number" ? gf : typeof e == "string" ? hd(e) ? sf : Rd.test(e) ? pf : xf : Array.isArray(e) ? vf : typeof e == "object" ? Rd.test(e) ? pf : yf : sf;}-function _f(e, t) {- let n = [...e], r = n.length, i = e.map((e, n) => gf(e)(e, t[n]));+function vf(e, t) {+ let n = [...e], r = n.length, i = e.map((e, n) => _f(e)(e, t[n]));return (e) => {for (let t = 0; t < r; t++) n[t] = i[t](e);return n;};}-function vf(e, t) {+function yf(e, t) {let n = {...e,...t}, r = {};- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = gf(e[i])(e[i], t[i]));+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = _f(e[i])(e[i], t[i]));return (e) => {for (let t in r) n[t] = r[t](e);return n;};}-function yf(e, t) {+function bf(e, t) {let n = [], r = {color: 0,var: 0,@@ -14570,28 +14577,28 @@ function yf(e, t) {}return n;}-var bf = (e, t) => {- let n = nf.createTransformer(t), r = Yd(e), i = Yd(t);- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? pf.has(e) && !i.values.length || pf.has(t) && !r.values.length ? mf(e, t) : Nu(_f(yf(r, i), i.values), n) : (`${e}${t}`, of(e, t));-}, xf = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;-function Sf(e, t) {- let n = xf.exec(e);+var xf = (e, t) => {+ let n = rf.createTransformer(t), r = Xd(e), i = Xd(t);+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? mf.has(e) && !i.values.length || mf.has(t) && !r.values.length ? hf(e, t) : Pu(vf(bf(r, i), i.values), n) : (`${e}${t}`, sf(e, t));+}, Sf = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;+function Cf(e, t) {+ let n = Sf.exec(e);if (!n) return;- let r = xf.exec(t);+ let r = Sf.exec(t);if (!r || n[2] !== r[2]) return;let i = n[2], a = parseFloat(n[1]), o = parseFloat(r[1]);- return (e) => ud(sf(a, o, e)) + i;+ return (e) => dd(cf(a, o, e)) + i;}-function Cf(e, t, n) {- if (typeof e == "number" && typeof t == "number" && typeof n == "number") return sf(e, t, n);+function wf(e, t, n) {+ if (typeof e == "number" && typeof t == "number" && typeof n == "number") return cf(e, t, n);if (typeof e == "string" && typeof t == "string") {- let n = Sf(e, t);+ let n = Cf(e, t);if (n) return n;}- return gf(e)(e, t);+ return _f(e)(e, t);}// node_modules/motion-dom/dist/es/frameloop/order.mjs-var wf = [+var Tf = ["setup","read","resolveKeyframes",@@ -14602,7 +14609,7 @@ var wf = ["postRender"];// node_modules/motion-dom/dist/es/frameloop/render-step.mjs-function Tf(e) {+function Ef(e) {let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a, o = /* @__PURE__ */ new Set(), s = {delta: 0,timestamp: 0,@@ -14632,63 +14639,63 @@ function Tf(e) {return l;}// node_modules/motion-dom/dist/es/frameloop/batcher.mjs-var Ef = 40;-function Df(e, t, n = {+var Df = 40;+function Of(e, t, n = {delta: 0,timestamp: 0,isProcessing: !1}) {- let r = !1, i = !0, a = () => r = !0, o = wf.reduce((e, t) => (e[t] = Tf(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {- let a = Du.useManualTiming, o = a ? n.timestamp : performance.now();- r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, Ef), 1)), n.timestamp = o, n.isProcessing = !0, s.process(n), c.process(n), l.process(n), u.process(n), d.process(n), f.process(n), p.process(n), m.process(n), n.isProcessing = !1, r && t && (i = !1, e(h));+ let r = !1, i = !0, a = () => r = !0, o = Tf.reduce((e, t) => (e[t] = Ef(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {+ let a = Ou.useManualTiming, o = a ? n.timestamp : performance.now();+ r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, Df), 1)), n.timestamp = o, n.isProcessing = !0, s.process(n), c.process(n), l.process(n), u.process(n), d.process(n), f.process(n), p.process(n), m.process(n), n.isProcessing = !1, r && t && (i = !1, e(h));}, g = () => {r = !0, i = !0, n.isProcessing || e(h);};return {- schedule: wf.reduce((e, t) => {+ schedule: Tf.reduce((e, t) => {let n = o[t];return e[t] = (e, t = !1, i = !1) => (r || g(), n.schedule(e, t, i)), e;}, {}),cancel: (e) => {- for (let t = 0; t < wf.length; t++) o[wf[t]].cancel(e);+ for (let t = 0; t < Tf.length; t++) o[Tf[t]].cancel(e);},state: n,steps: o};}// node_modules/motion-dom/dist/es/frameloop/frame.mjs-var { schedule: Of, cancel: kf, steps: Af } = /* @__PURE__ */ Df(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Mu, !0, od), jf = (e) => {+var { schedule: kf, cancel: Af, steps: jf } = /* @__PURE__ */ Of(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Nu, !0, sd), Mf = (e) => {let t = ({ timestamp: t }) => e(t);return {- start: (e = !0) => Of.update(t, e),- stop: () => kf(t),- now: () => od.isProcessing ? od.timestamp : ld.now()+ start: (e = !0) => kf.update(t, e),+ stop: () => Af(t),+ now: () => sd.isProcessing ? sd.timestamp : ud.now()};-}, Mf = (e, t, n = 10) => {+}, Nf = (e, t, n = 10) => {let r = "", i = Math.max(Math.round(t / n), 2);for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";return `linear(${r.substring(0, r.length - 2)})`;-}, Nf = 2e4;-function Pf(e, t = 50, n = Nf, r) {+}, Pf = 2e4;+function Ff(e, t = 50, n = Pf, r) {let i = 0, a = e.next(i);for (r?.push(a.value); !a.done && i < n;) i += t, a = e.next(i), r?.push(a.value);return i >= n ? Infinity : i;}// node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs-function Ff(e, t = 100, n) {+function If(e, t = 100, n) {let { keyframes: r, velocity: i } = e, a = r && r[r.length - 1] - r[0], o = n({...e,velocity: i && a ? i * t / a : i,keyframes: [0, t]- }), s = Math.min(Pf(o), Nf);+ }), s = Math.min(Ff(o), Pf);return {type: "keyframes",ease: (e) => o.next(s * e).value / t,- duration: /* @__PURE__ */ Lu(s)+ duration: /* @__PURE__ */ Ru(s)};}// node_modules/motion-dom/dist/es/animation/generators/spring.mjs-var If = {+var Lf = {stiffness: 100,damping: 10,mass: 1,@@ -14706,63 +14713,63 @@ var If = {minDuration: .01,maxDuration: 10,minDamping: .05-}, Lf = (e) => e < 0 ? 1 / Math.max(1 + e, If.minDamping) : Math.max(1 - e, If.minDamping);-function Rf(e, t) {+}, Rf = (e) => e < 0 ? 1 / Math.max(1 + e, Lf.minDamping) : Math.max(1 - e, Lf.minDamping);+function zf(e, t) {if (!(e > 1)) return 1;let n = Math.sqrt(e * e - 1), r = e - n, i = e + n, a = 2 * n * Math.exp(-t) * (1 + t);- return Vf((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;+ return Hf((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;}-function zf(e, t) {+function Bf(e, t) {return e * Math.sqrt(1 - t * t);}-var Bf = 12;-function Vf(e, t, n) {+var Vf = 12;+function Hf(e, t, n) {let r = n;- for (let n = 1; n < Bf; n++) r -= e(r) / t(r);+ for (let n = 1; n < Vf; n++) r -= e(r) / t(r);return r;}-var Hf = .001;-function Uf({ duration: e = If.duration, bounce: t = If.bounce }) {+var Uf = .001;+function Wf({ duration: e = Lf.duration, bounce: t = Lf.bounce }) {let n, r;- If.maxDuration;- let i = Lf(t);- e = Eu(If.minDuration, If.maxDuration, /* @__PURE__ */ Lu(e)), i < 1 ? (n = (t) => {- let n = t * i, r = n * e, a = zf(t, i), o = Math.exp(-r);- return Hf - n / a * o;+ Lf.maxDuration;+ let i = Rf(t);+ e = Du(Lf.minDuration, Lf.maxDuration, /* @__PURE__ */ Ru(e)), i < 1 ? (n = (t) => {+ let n = t * i, r = n * e, a = Bf(t, i), o = Math.exp(-r);+ return Uf - n / a * o;}, r = (t) => {- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = zf(t * t, i);- return (-n(t) + Hf > 0 ? -1 : 1) * -a * o / s;+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Bf(t * t, i);+ return (-n(t) + Uf > 0 ? -1 : 1) * -a * o / s;}) : (n = (t) => -.001 + Math.exp(-t * e) * (t * e + 1), r = (t) => Math.exp(-t * e) * (-t * (e * e)));- let a = 5 / e, o = Vf(n, r, a), s = o * Rf(i, o * e), c = s * s;+ let a = 5 / e, o = Hf(n, r, a), s = o * zf(i, o * e), c = s * s;return {stiffness: c,damping: i * 2 * Math.sqrt(c),- duration: /* @__PURE__ */ Iu(e)+ duration: /* @__PURE__ */ Lu(e)};}-var Wf = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;-function Gf(e, t) {- if (Wf(e, t)) return e;+var Gf = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;+function Kf(e, t) {+ if (Gf(e, t)) return e;}-function Kf(e) {- let t = Gf(e.stiffness), n = Gf(e.damping, !0), r = Gf(e.mass), i = {+function qf(e) {+ let t = Kf(e.stiffness), n = Kf(e.damping, !0), r = Kf(e.mass), i = {...e,- stiffness: t ?? If.stiffness,- damping: n ?? If.damping,- mass: r ?? If.mass,+ stiffness: t ?? Lf.stiffness,+ damping: n ?? Lf.damping,+ mass: r ?? Lf.mass,isResolvedFromDuration: !1,isTimeDefined: (t ?? n ?? r) === void 0 && (e.duration !== void 0 || e.bounce !== void 0)};if (i.isTimeDefined) {if (e.visualDuration) {- let t = Lf(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Rf(t, 2 * Math.PI / 1.2);+ let t = Rf(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * zf(t, 2 * Math.PI / 1.2);i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);- } else Object.assign(i, Uf(i)), i.isResolvedFromDuration = !0;- Wf(i.stiffness) && Wf(i.damping, !0) || (i.stiffness = If.stiffness, i.damping = If.damping);+ } else Object.assign(i, Wf(i)), i.isResolvedFromDuration = !0;+ Gf(i.stiffness) && Gf(i.damping, !0) || (i.stiffness = Lf.stiffness, i.damping = Lf.damping);}return i;}-function qf(e = If.visualDuration, t = If.bounce) {+function Jf(e = Lf.visualDuration, t = Lf.bounce) {let n = typeof e == "object" ? e : {visualDuration: e,keyframes: [0, 1],@@ -14770,7 +14777,7 @@ function qf(e = If.visualDuration, t = If.bounce) {}, r = n.keyframes[0], i = n.keyframes[n.keyframes.length - 1], a = {done: !1,value: r- }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = Kf({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Lu(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Lu(Math.sqrt(o / c)), h = p * m, g = {+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = qf({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Ru(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Ru(Math.sqrt(o / c)), h = p * m, g = {target: i,delta: i - r,velocity: f(n.velocity || 0) || 0,@@ -14778,12 +14785,12 @@ function qf(e = If.visualDuration, t = If.bounce) {restDelta: 0}, _ = () => {let e = Math.abs(g.delta) < 5;- g.restSpeed = n.restSpeed || (e ? If.restSpeed.granular : If.restSpeed.default), g.restDelta = n.restDelta || (e ? If.restDelta.granular : If.restDelta.default);+ g.restSpeed = n.restSpeed || (e ? Lf.restSpeed.granular : Lf.restSpeed.default), g.restDelta = n.restDelta || (e ? Lf.restDelta.granular : Lf.restDelta.default);};_();let v, y, b;if (p < 1) {- let e = zf(m, p), t = {+ let e = Bf(m, p), t = {A: 0,sinC: 0,cosC: 0,@@ -14821,30 +14828,30 @@ function qf(e = If.visualDuration, t = If.bounce) {retarget: (e, t) => {g.target = e[e.length - 1], g.delta = g.target - e[0], g.velocity = f(t), n.restSpeed && n.restDelta || _(), S.calculatedDuration = x, a.done = !1, b();},- velocity: (e) => /* @__PURE__ */ Iu(y(e)),+ velocity: (e) => /* @__PURE__ */ Lu(y(e)),next: (e) => {let t = v(e);if (u) a.done = e >= l;else {- let n = /* @__PURE__ */ Iu(y(e));+ let n = /* @__PURE__ */ Lu(y(e));a.done = Math.abs(n) <= g.restSpeed && Math.abs(g.target - t) <= g.restDelta;}return a.value = a.done ? g.target : t, a;},toString: () => {- let e = Math.min(Pf(S), Nf), t = Mf((t) => S.next(e * t).value, e, 30);+ let e = Math.min(Ff(S), Pf), t = Nf((t) => S.next(e * t).value, e, 30);return e + "ms " + t;},toTransition: () => {}};return S;}-var Jf = /* @__PURE__ */ Object.assign(qf, { applyToOptions: (e) => {- let t = Ff(e, 100, qf);- return e.ease = t.ease, e.duration = /* @__PURE__ */ Iu(t.duration), e.type = "keyframes", e;+var Yf = /* @__PURE__ */ Object.assign(Jf, { applyToOptions: (e) => {+ let t = If(e, 100, Jf);+ return e.ease = t.ease, e.duration = /* @__PURE__ */ Lu(t.duration), e.type = "keyframes", e;} });// node_modules/motion-dom/dist/es/animation/generators/inertia.mjs-function Yf({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {+function Xf({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {let d = e[0], f = {done: !1,value: d@@ -14854,7 +14861,7 @@ function Yf({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32let t = v(e);f.done = Math.abs(t) <= l, f.value = f.done ? _ : _ + t;}, b, x, S = (e) => {- p(f.value) && (b = e, x = Jf({+ p(f.value) && (b = e, x = Yf({keyframes: [f.value, m(f.value)],velocity: -v(e) / r * 1e3,damping: i,@@ -14872,111 +14879,111 @@ function Yf({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32};}// node_modules/motion-dom/dist/es/utils/interpolate.mjs-function Xf(e, t, n) {- let r = [], i = n || Du.mix || Cf, a = e.length - 1;+function Zf(e, t, n) {+ let r = [], i = n || Ou.mix || wf, a = e.length - 1;for (let n = 0; n < a; n++) {let a = i(e[n], e[n + 1]);- t && (a = Nu(Array.isArray(t) ? t[n] || Mu : t, a)), r.push(a);+ t && (a = Pu(Array.isArray(t) ? t[n] || Nu : t, a)), r.push(a);}return r;}-function Zf(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {+function Qf(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {let a = e.length;if (t.length, a === 1) return () => t[0];if (a === 2 && t[0] === t[1]) return () => t[1];let o = e[0] === e[1];e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());- let s = Xf(t, r, i), c = s.length, l = (n) => {+ let s = Zf(t, r, i), c = s.length, l = (n) => {if (o && n < e[0]) return t[0];let r = 0;if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);- let i = /* @__PURE__ */ Pu(e[r], e[r + 1], n);+ let i = /* @__PURE__ */ Fu(e[r], e[r + 1], n);return s[r](i);};- return n ? (t) => l(Eu(e[0], e[a - 1], t)) : l;+ return n ? (t) => l(Du(e[0], e[a - 1], t)) : l;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs-function Qf(e, t) {+function $f(e, t) {let n = e[e.length - 1];for (let r = 1; r <= t; r++) {- let i = /* @__PURE__ */ Pu(0, t, r);- e.push(sf(n, 1, i));+ let i = /* @__PURE__ */ Fu(0, t, r);+ e.push(cf(n, 1, i));}}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs-function $f(e) {+function ep(e) {let t = [0];- return Qf(t, e.length - 1), t;+ return $f(t, e.length - 1), t;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs-function ep(e, t) {+function tp(e, t) {return e.map((e) => e * t);}// node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs-function tp(e, t) {- return e.map(() => t || $u).splice(0, e.length - 1);+function np(e, t) {+ return e.map(() => t || ed).splice(0, e.length - 1);}-function np({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {- let i = /* @__PURE__ */ ed(r) ? r.map(ad) : ad(r) || $u, a = {+function rp({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {+ let i = /* @__PURE__ */ td(r) ? r.map(od) : od(r) || ed, a = {done: !1,value: t[0]};if (t.length === 2 && !Array.isArray(i) && (!n || n.length !== 2 || n[0] === 0 && n[1] === 1)) {- let [n, r] = t, o = n === r ? void 0 : (Du.mix || Cf)(n, r);+ let [n, r] = t, o = n === r ? void 0 : (Ou.mix || wf)(n, r);return {calculatedDuration: e,- next: (t) => (a.value = o ? o(i(e > 0 ? Eu(0, 1, t / e) : 1)) : r, a.done = t >= e, a)+ next: (t) => (a.value = o ? o(i(e > 0 ? Du(0, 1, t / e) : 1)) : r, a.done = t >= e, a)};}- let o = Zf(ep(n && n.length === t.length ? n : $f(t), e), t, { ease: Array.isArray(i) ? i : tp(t, i) });+ let o = Qf(tp(n && n.length === t.length ? n : ep(t), e), t, { ease: Array.isArray(i) ? i : np(t, i) });return {calculatedDuration: e,next: (t) => (a.value = o(t), a.done = t >= e, a)};}// node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs-var rp = 5;-function ip(e, t, n) {- let r = Math.max(t - rp, 0);- return /* @__PURE__ */ Ru(n - e(r), t - r);+var ip = 5;+function ap(e, t, n) {+ let r = Math.max(t - ip, 0);+ return /* @__PURE__ */ zu(n - e(r), t - r);}-function ap(e, t, n = 0) {- return t <= 0 ? n : e.velocity ? e.velocity(t) : ip((t) => e.next(t).value, t, e.next(t).value);+function op(e, t, n = 0) {+ return t <= 0 ? n : e.velocity ? e.velocity(t) : ap((t) => e.next(t).value, t, e.next(t).value);}// node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs-var op = (e) => e !== null;-function sp(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {- let a = e.filter(op), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;+var sp = (e) => e !== null;+function cp(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {+ let a = e.filter(sp), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;return !o || r === void 0 ? a[o] : r;}// node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs-var cp = {- decay: Yf,- inertia: Yf,- tween: np,- keyframes: np,- spring: Jf+var lp = {+ decay: Xf,+ inertia: Xf,+ tween: rp,+ keyframes: rp,+ spring: Yf};-function lp(e) {- typeof e.type == "string" && (e.type = cp[e.type]);+function up(e) {+ typeof e.type == "string" && (e.type = lp[e.type]);}// node_modules/motion-dom/dist/es/animation/utils/resolve-start-time.mjs-var up = 40, dp = (e, t) => t - e > up && !Du.useManualTiming ? t : e;+var dp = 40, fp = (e, t) => t - e > dp && !Ou.useManualTiming ? t : e;// node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs-function fp(e, t) {+function pp(e, t) {return {kind: e,animation: t,- timestamp: ld.now(),- frameTimestamp: od.timestamp,- frameIsProcessing: od.isProcessing+ timestamp: ud.now(),+ frameTimestamp: sd.timestamp,+ frameIsProcessing: sd.isProcessing};}-function pp(e, t, n) {+function mp(e, t, n) {let r = globalThis.__MOTION_INSPECT__;if (r) try {r({- ...fp("animation-start", e),+ ...pp("animation-start", e),options: n ? {...t,...n@@ -14984,17 +14991,17 @@ function pp(e, t, n) {});} catch {}}-function mp(e, t) {+function hp(e, t) {let n = globalThis.__MOTION_INSPECT__;if (n) try {n({- ...fp("layout-animation-start", e),+ ...pp("layout-animation-start", e),node: t});} catch {}}// node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs-var hp = class {+var gp = class {constructor() {this.isResolved = !1;}@@ -15012,21 +15019,21 @@ var hp = class {then(e, t) {return this.finished.then(e, t);}-}, gp = (e) => e / 100, _p = (e) => Math.round(e * 1e4) / 1e4, vp = class extends hp {+}, _p = (e) => e / 100, vp = (e) => Math.round(e * 1e4) / 1e4, yp = class extends gp {constructor(e) {super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {done: !1,value: void 0}, this.stop = () => {let { motionValue: e } = this.options;- e && e.updatedAt !== ld.now() && this.tick(ld.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());- }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), pp(this, this.options);+ e && e.updatedAt !== ud.now() && this.tick(ud.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), mp(this, this.options);}initAnimation() {let { options: e } = this;- lp(e);- let { type: t = np, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || np;- s !== np && typeof o[0] != "number" && (this.mixKeyframes = Nu(gp, Cf(o[0], o[1])), o = [0, 100]);+ up(e);+ let { type: t = rp, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || rp;+ s !== rp && typeof o[0] != "number" && (this.mixKeyframes = Pu(_p, wf(o[0], o[1])), o = [0, 100]);let c = s(o === e.keyframes ? e : {...e,keyframes: o@@ -15035,7 +15042,7 @@ var hp = class {...e,keyframes: [...o].reverse(),velocity: -a- })), c.calculatedDuration === null && (c.calculatedDuration = Pf(c));+ })), c.calculatedDuration === null && (c.calculatedDuration = Ff(c));let { calculatedDuration: l } = c;this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;}@@ -15047,26 +15054,26 @@ var hp = class {let { generator: n, totalDuration: r, calculatedDuration: i } = this;if (this.startTime === null) return n.next(0);let { delay: a = 0, keyframes: o, type: s, onUpdate: c, finalKeyframe: l } = this.options;- this.startTime === this.pendingStartTime && (this.startTime = dp(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);+ this.startTime === this.pendingStartTime && (this.startTime = fp(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);let u = this.currentTime - a * (this.playbackSpeed >= 0 ? 1 : -1), d = this.playbackSpeed >= 0 ? u < 0 : u > r;this.currentTime = Math.max(u, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);let f = this.generate(this.currentTime, d), { done: p } = f;!d && i !== null && (p = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);let m = this.holdTime === null && (this.state === "finished" || this.state === "running" && p);- return m && s !== Yf && (f.value = sp(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;+ return m && s !== Xf && (f.value = cp(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;}at(e) {- return this.holdTime ?? _p((e - this.startTime) * this.playbackSpeed);+ return this.holdTime ?? vp((e - this.startTime) * this.playbackSpeed);}sampleAt(e, t) {let { options: n, totalDuration: r } = this, i = this.at(e) - (n.delay || 0);- return i >= r && n.type !== Yf ? sp(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;+ return i >= r && n.type !== Xf ? cp(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;}generate(e, t) {let { generator: n, totalDuration: r, mixKeyframes: i, mirroredGenerator: a, resolvedDuration: o } = this, { keyframes: s, repeat: c, repeatType: l, repeatDelay: u } = this.options, d = e, f = n;if (c) {let t = Math.min(e, r) / o, n = Math.floor(t), i = t % 1;- !i && t >= 1 && (i = 1), i === 1 && n--, n = Math.min(n, c + 1), n % 2 && (l === "reverse" ? (i = 1 - i, u && (i -= u / o)) : l === "mirror" && (f = a)), d = Eu(0, 1, i) * o;+ !i && t >= 1 && (i = 1), i === 1 && n--, n = Math.min(n, c + 1), n % 2 && (l === "reverse" ? (i = 1 - i, u && (i -= u / o)) : l === "mirror" && (f = a)), d = Du(0, 1, i) * o;}let p;return t ? (this.delayState.value = s[0], p = this.delayState) : p = f.next(d), i && !t && (p.value = i(p.value)), p;@@ -15075,37 +15082,37 @@ var hp = class {return this.finished.then(e, t);}get duration() {- return /* @__PURE__ */ Lu(this.calculatedDuration);+ return /* @__PURE__ */ Ru(this.calculatedDuration);}get iterationDuration() {let { delay: e = 0 } = this.options || {};- return this.duration + /* @__PURE__ */ Lu(e);+ return this.duration + /* @__PURE__ */ Ru(e);}get time() {- return /* @__PURE__ */ Lu(this.currentTime);+ return /* @__PURE__ */ Ru(this.currentTime);}set time(e) {- e = /* @__PURE__ */ Iu(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));+ e = /* @__PURE__ */ Lu(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));}getGeneratorVelocity() {- return ap(this.generator, this.currentTime, this.options.velocity);+ return op(this.generator, this.currentTime, this.options.velocity);}get speed() {return this.playbackSpeed;}set speed(e) {let t = this.playbackSpeed !== e;- t && this.driver && this.updateTime(ld.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ Lu(this.currentTime));+ t && this.driver && this.updateTime(ud.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ Ru(this.currentTime));}play() {if (this.isStopped) return;- let { driver: e = jf, startTime: t } = this.options;+ let { driver: e = Mf, startTime: t } = this.options;this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();let n = this.driver.now();this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? (this.pendingStartTime = n) : this.startTime = n - this.holdTime / (this.playbackSpeed || 1), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();}pause() {- this.state = "paused", this.updateTime(ld.now()), this.holdTime = this.currentTime;+ this.state = "paused", this.updateTime(ud.now()), this.holdTime = this.currentTime;}complete() {this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;@@ -15128,51 +15135,51 @@ var hp = class {attachTimeline(e) {return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);}-}, yp = /* @__PURE__ */ new Set([+}, bp = /* @__PURE__ */ new Set(["brightness","contrast","saturate","opacity"]);-function bp(e) {+function xp(e) {let [t, n] = e.slice(0, -1).split("(");if (t === "drop-shadow") return e;- let [r] = n.match(bd) || [];+ let [r] = n.match(xd) || [];if (!r) return e;- let i = n.replace(r, ""), a = +!!yp.has(t);+ let i = n.replace(r, ""), a = +!!bp.has(t);return r !== n && (a *= 100), t + "(" + a + i + ")";}-var xp = /\b([a-z-]*)\(.*?\)/gu, Sp = {- ...nf,+var Sp = /\b([a-z-]*)\(.*?\)/gu, Cp = {+ ...rf,getAnimatableNone: (e) => {- let t = e.match(xp);- return t ? t.map(bp).join(" ") : e;+ let t = e.match(Sp);+ return t ? t.map(xp).join(" ") : e;}-}, Cp = {- ...nf,+}, wp = {+ ...rf,getAnimatableNone: (e) => {- let t = nf.parse(e);- return nf.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {+ let t = rf.parse(e);+ return rf.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {...e,alpha: 1} : e));}-}, wp = {- ..._d,- transform: Math.round}, Tp = {- rotate: jd,- pathRotation: jd,- rotateX: jd,- rotateY: jd,- rotateZ: jd,- scale: yd,- scaleX: yd,- scaleY: yd,- scaleZ: yd,- skew: jd,- skewX: jd,- skewY: jd,+ ...vd,+ transform: Math.round+}, Ep = {+ rotate: Md,+ pathRotation: Md,+ rotateX: Md,+ rotateY: Md,+ rotateZ: Md,+ scale: bd,+ scaleX: bd,+ scaleY: bd,+ scaleZ: bd,+ skew: Md,+ skewX: Md,+ skewY: Md,distance: W,translateX: W,translateY: W,@@ -15182,11 +15189,11 @@ var xp = /\b([a-z-]*)\(.*?\)/gu, Sp = {z: W,perspective: W,transformPerspective: W,- opacity: vd,- originX: Fd,- originY: Fd,+ opacity: yd,+ originX: Id,+ originY: Id,originZ: W-}, Ep = {+}, Dp = {borderWidth: W,borderTopWidth: W,borderRightWidth: W,@@ -15237,38 +15244,38 @@ var xp = /\b([a-z-]*)\(.*?\)/gu, Sp = {fontSize: W,backgroundPositionX: W,backgroundPositionY: W,- ...Tp,- zIndex: wp,- fillOpacity: vd,- strokeOpacity: vd,- numOctaves: wp-}, Dp = {...Ep,- color: Ld,- backgroundColor: Ld,- outlineColor: Ld,- fill: Ld,- stroke: Ld,- borderColor: Ld,- borderTopColor: Ld,- borderRightColor: Ld,- borderBottomColor: Ld,- borderLeftColor: Ld,- filter: Sp,- WebkitFilter: Sp,- mask: Cp,- WebkitMask: Cp-}, Op = (e) => Dp[e], kp = /*@__PURE__*/ new Set([Sp, Cp]);-function Ap(e, t) {- let n = Op(e);- return kp.has(n) || (n = nf), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;+ zIndex: Tp,+ fillOpacity: yd,+ strokeOpacity: yd,+ numOctaves: Tp+}, Op = {+ ...Dp,+ color: Rd,+ backgroundColor: Rd,+ outlineColor: Rd,+ fill: Rd,+ stroke: Rd,+ borderColor: Rd,+ borderTopColor: Rd,+ borderRightColor: Rd,+ borderBottomColor: Rd,+ borderLeftColor: Rd,+ filter: Cp,+ WebkitFilter: Cp,+ mask: wp,+ WebkitMask: wp+}, kp = (e) => Op[e], Ap = /*@__PURE__*/ new Set([Cp, wp]);+function jp(e, t) {+ let n = kp(e);+ return Ap.has(n) || (n = rf), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;}// node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs-function jp(e) {+function Mp(e) {for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);}// node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs-var Mp = (e) => e * 180 / Math.PI, Np = (e) => Fp(Mp(Math.atan2(e[1], e[0]))), Pp = {+var Np = (e) => e * 180 / Math.PI, Pp = (e) => Ip(Np(Math.atan2(e[1], e[0]))), Fp = {x: 4,y: 5,translateX: 4,@@ -15277,54 +15284,54 @@ var Mp = (e) => e * 180 / Math.PI, Np = (e) => Fp(Mp(Math.atan2(e[1], e[0]))), PscaleY: 3,scaleZ: () => 1,scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,- rotate: Np,- rotateZ: Np,- skewX: (e) => Mp(Math.atan(e[1])),- skewY: (e) => Mp(Math.atan(e[2])),+ rotate: Pp,+ rotateZ: Pp,+ skewX: (e) => Np(Math.atan(e[1])),+ skewY: (e) => Np(Math.atan(e[2])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2-}, Fp = (e) => (e %= 360, e < 0 && (e += 360), e), Ip = Np, Lp = (e) => Math.hypot(e[0], e[1]), Rp = (e) => Math.hypot(e[4], e[5]), zp = {+}, Ip = (e) => (e %= 360, e < 0 && (e += 360), e), Lp = Pp, Rp = (e) => Math.hypot(e[0], e[1]), zp = (e) => Math.hypot(e[4], e[5]), Bp = {x: 12,y: 13,z: 14,translateX: 12,translateY: 13,translateZ: 14,- scaleX: Lp,- scaleY: Rp,+ scaleX: Rp,+ scaleY: zp,scaleZ: (e) => Math.hypot(e[8], e[9], e[10]),- scale: (e) => (Lp(e) + Rp(e)) / 2,- rotateX: (e) => Fp(Mp(Math.atan2(e[6], e[5]))),- rotateY: (e) => Fp(Mp(Math.atan2(-e[2], e[0]))),- rotateZ: Ip,- rotate: Ip,- skewX: (e) => Mp(Math.atan(e[4])),- skewY: (e) => Mp(Math.atan(e[1])),+ scale: (e) => (Rp(e) + zp(e)) / 2,+ rotateX: (e) => Ip(Np(Math.atan2(e[6], e[5]))),+ rotateY: (e) => Ip(Np(Math.atan2(-e[2], e[0]))),+ rotateZ: Lp,+ rotate: Lp,+ skewX: (e) => Np(Math.atan(e[4])),+ skewY: (e) => Np(Math.atan(e[1])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2};-function Bp(e) {+function Vp(e) {return +!!e.includes("scale");}-function Vp(e, t) {- if (!e || e === "none") return Bp(t);+function Hp(e, t) {+ if (!e || e === "none") return Vp(t);let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;- if (n) r = zp, i = n;+ if (n) r = Bp, i = n;else {let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);- r = Pp, i = t;+ r = Fp, i = t;}- if (!i) return Bp(t);- let a = r[t], o = i[1].split(",").map(Up);+ if (!i) return Vp(t);+ let a = r[t], o = i[1].split(",").map(Wp);return typeof a == "function" ? a(o) : o[a];}-var Hp = (e, t) => {+var Up = (e, t) => {let { transform: n = "none" } = getComputedStyle(e);- return Vp(n, t);+ return Hp(n, t);};-function Up(e) {+function Wp(e) {return parseFloat(e.trim());}// node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs-var Wp = [+var Gp = ["transformPerspective","x","y",@@ -15343,14 +15350,14 @@ var Wp = ["skew","skewX","skewY"-], Gp = /* @__PURE__ */ new Set([...Wp, "pathRotation"]), Kp = (e) => e === _d || e === W, qp = /* @__PURE__ */ new Set([+], Kp = /* @__PURE__ */ new Set([...Gp, "pathRotation"]), qp = (e) => e === vd || e === W, Jp = /* @__PURE__ */ new Set(["x","y","z"-]), Jp = /* @__PURE__ */ Wp.filter((e) => !qp.has(e));-function Yp(e) {+]), Yp = /* @__PURE__ */ Gp.filter((e) => !Jp.has(e));+function Xp(e) {let t = [];- return Jp.forEach((n) => {+ return Yp.forEach((n) => {let r = e.getValue(n);if (r !== void 0) {let e = r.get(), i = +!!n.startsWith("scale");@@ -15359,16 +15366,16 @@ function Yp(e) {}}), t;}-var Xp = /* @__PURE__ */ new Set(["bottom", "right"]);-function Zp(e, t, n, r, i, a) {+var Zp = /* @__PURE__ */ new Set(["bottom", "right"]);+function Qp(e, t, n, r, i, a) {let o = parseFloat(e);if (!isNaN(o)) return o;let { min: s, max: c } = t()[n], l = c - s;return a === "border-box" ? l : l - parseFloat(r) - parseFloat(i);}-var Qp = ({ transform: e }) => Vp(e, "x"), $p = ({ transform: e }) => Vp(e, "y"), em = {- width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => Zp(e, i, "x", t, n, r),- height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => Zp(e, i, "y", t, n, r),+var $p = ({ transform: e }) => Hp(e, "x"), em = ({ transform: e }) => Hp(e, "y"), tm = {+ width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => Qp(e, i, "x", t, n, r),+ height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => Qp(e, i, "y", t, n, r),top: ({ top: e }) => parseFloat(e),left: ({ left: e }) => parseFloat(e),bottom: ({ top: e }, t) => {@@ -15379,20 +15386,20 @@ var Qp = ({ transform: e }) => Vp(e, "x"), $p = ({ transform: e }) => Vp(e, "y")let { x: n } = t();return parseFloat(e) + (n.max - n.min);},- x: Qp,- y: $p,- translateX: Qp,- translateY: $p-}, tm = /* @__PURE__ */ new Set(), nm = !1, rm = !1, im = !1;-function am() {- if (rm) {+ x: $p,+ y: em,+ translateX: $p,+ translateY: em+}, nm = /* @__PURE__ */ new Set(), rm = !1, im = !1, am = !1;+function om() {+ if (im) {let e = [], t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();- tm.forEach((r) => {- r.needsMeasurement && (e.push(r), t.add(r.element), Xp.has(r.name) && n.add(r.element));+ nm.forEach((r) => {+ r.needsMeasurement && (e.push(r), t.add(r.element), Zp.has(r.name) && n.add(r.element));});let r = /* @__PURE__ */ new Map();n.forEach((e) => {- let t = Yp(e);+ let t = Xp(e);t.length && (r.set(e, t), e.render());}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {e.render();@@ -15404,29 +15411,29 @@ function am() {e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);});}- rm = !1, nm = !1, tm.forEach((e) => e.complete(im)), tm.clear();+ im = !1, rm = !1, nm.forEach((e) => e.complete(am)), nm.clear();}-function om() {- tm.forEach((e) => {- e.readKeyframes(), e.needsMeasurement && (rm = !0);+function sm() {+ nm.forEach((e) => {+ e.readKeyframes(), e.needsMeasurement && (im = !0);});}-function sm() {- im = !0, om(), am(), im = !1;+function cm() {+ am = !0, sm(), om(), am = !1;}-function cm(e, t, n) {+function lm(e, t, n) {if (typeof e == "string") {- if (Ou(e) || Au(e)) return parseFloat(e);- if (!nf.test(e) && nf.test(n)) return Ap(t, n);+ if (ku(e) || ju(e)) return parseFloat(e);+ if (!rf.test(e) && rf.test(n)) return jp(t, n);}return e ?? void 0;}-var lm = class {+var um = class {constructor(e, t, n, r, i, a = !1) {this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;}scheduleResolve() {- this.state = "scheduled", this.isAsync ? (tm.add(this), nm || (nm = !0, Of.read(om), Of.resolveKeyframes(am))) : (this.readKeyframes(), this.complete());+ this.state = "scheduled", this.isAsync ? (nm.add(this), rm || (rm = !0, kf.read(sm), kf.resolveKeyframes(om))) : (this.readKeyframes(), this.complete());}readKeyframes() {let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;@@ -15434,71 +15441,71 @@ var lm = class {let i = r?.get(), a = e[e.length - 1];if (i !== void 0) e[0] = i;else if (n && t) {- let r = cm(n.readValue(t, a), t, a);+ let r = lm(n.readValue(t, a), t, a);r !== void 0 && (e[0] = r);}e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);}- jp(e);+ Mp(e);}setFinalKeyframe() {}measureInitialState() {}renderEndStyles() {}measureEndState() {}complete(e = !1) {- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), tm.delete(this);+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), nm.delete(this);}cancel() {- this.state === "scheduled" && (tm.delete(this), this.state = "pending");+ this.state === "scheduled" && (nm.delete(this), this.state = "pending");}resume() {this.state === "pending" && this.scheduleResolve();}-}, um = (e) => e.startsWith("--");+}, dm = (e) => e.startsWith("--");// node_modules/motion-dom/dist/es/render/dom/style-set.mjs-function dm(e, t, n) {- um(t) ? e.style.setProperty(t, n) : e.style[t] = n;+function fm(e, t, n) {+ dm(t) ? e.style.setProperty(t, n) : e.style[t] = n;}// node_modules/motion-dom/dist/es/utils/supports/flags.mjs-var fm = {};+var pm = {};// node_modules/motion-dom/dist/es/utils/supports/memo.mjs-function pm(e, t) {- let n = /* @__PURE__ */ ju(e);- return () => fm[t] ?? n();+function mm(e, t) {+ let n = /* @__PURE__ */ Mu(e);+ return () => pm[t] ?? n();}// node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs-var mm = /* @__PURE__ */ pm(() => window.ScrollTimeline !== void 0, "scrollTimeline"), hm = /*@__PURE__*/ pm(() => {+var hm = /* @__PURE__ */ mm(() => window.ScrollTimeline !== void 0, "scrollTimeline"), gm = /*@__PURE__*/ mm(() => {try {document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });} catch {return !1;}return !0;-}, "linearEasing"), gm = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, _m = {+}, "linearEasing"), _m = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, vm = {linear: "linear",ease: "ease",easeIn: "ease-in",easeOut: "ease-out",easeInOut: "ease-in-out",- circIn: /*@__PURE__*/ gm([+ circIn: /*@__PURE__*/ _m([0,.65,.55,1]),- circOut: /*@__PURE__*/ gm([+ circOut: /*@__PURE__*/ _m([.55,0,1,.45]),- backIn: /*@__PURE__*/ gm([+ backIn: /*@__PURE__*/ _m([.31,.01,.66,-.59]),- backOut: /*@__PURE__*/ gm([+ backOut: /*@__PURE__*/ _m([.33,1.53,.69,@@ -15506,14 +15513,14 @@ var mm = /* @__PURE__ */ pm(() => window.ScrollTimeline !== void 0, "scrollTimel])};// node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs-function vm(e, t) {- if (e) return typeof e == "function" ? hm() ? Mf(e, t) : "ease-out" : /* @__PURE__ */ nd(e) ? gm(e) : Array.isArray(e) ? e.map((e) => vm(e, t) || _m.easeOut) : _m[e];+function ym(e, t) {+ if (e) return typeof e == "function" ? gm() ? Nf(e, t) : "ease-out" : /* @__PURE__ */ rd(e) ? _m(e) : Array.isArray(e) ? e.map((e) => ym(e, t) || vm.easeOut) : vm[e];}// node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs-function ym(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {+function bm(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {let u = { [t]: n };c && (u.offset = c);- let d = vm(s, i);+ let d = ym(s, i);Array.isArray(d) && (u.easing = d);let f = {delay: r,@@ -15526,27 +15533,27 @@ function ym(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTypreturn l && (f.pseudoElement = l), e.animate(u, f);}// node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs-function bm(e) {+function xm(e) {return typeof e == "function" && "applyToOptions" in e;}// node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs-function xm({ type: e, ...t }) {- return bm(e) && hm() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);+function Sm({ type: e, ...t }) {+ return xm(e) && gm() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);}// node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs-var Sm = class extends hp {+var Cm = class extends gp {constructor(e) {if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;- let c = xm(e);- this.animation = ym(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {+ let c = Sm(e);+ this.animation = bm(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {if (this.finishedTime = this.time, !i) {- let e = sp(r, this.options, o, this.speed);- this.updateMotionValue && this.updateMotionValue(e), dm(t, n, e), this.animation.cancel();+ let e = cp(r, this.options, o, this.speed);+ this.updateMotionValue && this.updateMotionValue(e), fm(t, n, e), this.animation.cancel();}s?.(), this.notifyFinished();- }, pp(this, e, c);+ }, mp(this, e, c);}play() {this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());@@ -15571,18 +15578,18 @@ var Sm = class extends hp {}get duration() {let e = this.animation.effect?.getComputedTiming?.().duration || 0;- return /* @__PURE__ */ Lu(Number(e));+ return /* @__PURE__ */ Ru(Number(e));}get iterationDuration() {let { delay: e = 0 } = this.options || {};- return this.duration + /* @__PURE__ */ Lu(e);+ return this.duration + /* @__PURE__ */ Ru(e);}get time() {- return /* @__PURE__ */ Lu(Number(this.animation.currentTime) || 0);+ return /* @__PURE__ */ Ru(Number(this.animation.currentTime) || 0);}set time(e) {let t = this.finishedTime !== null;- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Iu(e), t && this.animation.pause();+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Lu(e), t && this.animation.pause();}get speed() {return this.animation.playbackRate;@@ -15600,30 +15607,30 @@ var Sm = class extends hp {this.manualStartTime = this.animation.startTime = e;}attachTimeline({ timeline: e, onAttach: t, observe: n }) {- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && mm() ? (this.animation.timeline = e, t?.(this.animation), Mu) : n(this);+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && hm() ? (this.animation.timeline = e, t?.(this.animation), Nu) : n(this);}-}, Cm = {- anticipate: qu,- backInOut: Ku,- circInOut: Xu+}, wm = {+ anticipate: Ju,+ backInOut: qu,+ circInOut: Zu};-function wm(e) {- return e in Cm;-}function Tm(e) {- typeof e.ease == "string" && wm(e.ease) && (e.ease = Cm[e.ease]);+ return e in wm;+}+function Em(e) {+ typeof e.ease == "string" && Tm(e.ease) && (e.ease = wm[e.ease]);}-var Em = class extends Sm {+var Dm = class extends Cm {constructor(e) {- Tm(e), lp(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;+ Em(e), up(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;}elapsed() {- return this.state === "running" ? (ld.now() - this.startTime) * this.speed : this.time * 1e3;+ return this.state === "running" ? (ud.now() - this.startTime) * this.speed : this.time * 1e3;}sample(e) {if (!this.sampler) {let { motionValue: e, onUpdate: t, onComplete: n, onPlay: r, onStop: i, element: a, ...o } = this.options;- this.sampler = new vp({+ this.sampler = new yp({...o,autoplay: !1}), this.sampler.stop();@@ -15641,41 +15648,41 @@ var Em = class extends Sm {t.set(e);return;}- let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? Eu(0, 10, a) : 0, s = this.sample(a);- n && r && dm(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));+ let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? Du(0, 10, a) : 0, s = this.sample(a);+ n && r && fm(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));}-}, Dm = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (nf.test(e) || e === "0") && !e.startsWith("url("));+}, Om = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (rf.test(e) || e === "0") && !e.startsWith("url("));// node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs-function Om(e) {+function km(e) {let t = e[0];if (e.length === 1) return !0;for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;}-function km(e, t, n, r) {+function Am(e, t, n, r) {let i = e[0];if (i === null) return !1;if (t === "display" || t === "visibility") return !0;- let a = e[e.length - 1], o = Dm(i, t), s = Dm(a, t);- return !o || !s ? (o !== s && `${t}${i}${a}${o ? a : i}`, !1) : Om(e) || (n === "spring" || bm(n)) && r;+ let a = e[e.length - 1], o = Om(i, t), s = Om(a, t);+ return !o || !s ? (o !== s && `${t}${i}${a}${o ? a : i}`, !1) : km(e) || (n === "spring" || xm(n)) && r;}// node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs-function Am(e) {+function jm(e) {e.duration = 0, e.type = "keyframes";}// node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs-var jm = /* @__PURE__ */ new Set([+var Mm = /* @__PURE__ */ new Set(["opacity","clipPath","filter","transform","backgroundColor"-]), Mm = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;-function Nm(e) {- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Mm.test(e[t])) return !0;+]), Nm = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;+function Pm(e) {+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Nm.test(e[t])) return !0;return !1;}// node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs-var Pm = /* @__PURE__ */ new Set([+var Fm = /* @__PURE__ */ new Set(["color","backgroundColor","outlineColor",@@ -15686,26 +15693,26 @@ var Pm = /* @__PURE__ */ new Set(["borderRightColor","borderBottomColor","borderLeftColor"-]), Fm = () => !Du.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");-function Im(e) {+]), Im = () => !Ou.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");+function Lm(e) {let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e;- if (!n || !(jm.has(n) || Pm.has(n))) return !1;+ if (!n || !(Mm.has(n) || Fm.has(n))) return !1;let c = t?.owner?.current;if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;let { onUpdate: l, transformTemplate: u } = t.owner.getProps();- return Fm() && (jm.has(n) || Pm.has(n) && Nm(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";+ return Im() && (Mm.has(n) || Fm.has(n) && Pm(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";}// node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs-var Lm = (e, t) => t && typeof e == "number" ? t.transform(e) : e, Rm = {+var Rm = (e, t) => t && typeof e == "number" ? t.transform(e) : e, zm = {x: "translateX",y: "translateY",z: "translateZ",transformPerspective: "perspective"-}, zm = Wp.length;-function Bm(e, t, n) {+}, Bm = Gp.length;+function Vm(e, t, n) {let r = "", i = !0;- for (let a = 0; a < zm; a++) {- let o = Wp[a], s = e[o];+ for (let a = 0; a < Bm; a++) {+ let o = Gp[a], s = e[o];if (s === void 0) continue;let c = !0;if (typeof s == "number") c = s === +!!o.startsWith("scale");@@ -15714,43 +15721,43 @@ function Bm(e, t, n) {c = o.startsWith("scale") ? e === 1 : e === 0;}if (!c || n) {- let e = Lm(s, Ep[o]);+ let e = Rm(s, Dp[o]);if (!c) {i = !1;- let t = Rm[o] || o;+ let t = zm[o] || o;r += `${t}(${e}) `;}n && (t[o] = e);}}let a = e.pathRotation;- return a && (i = !1, r += `rotate(${Lm(a, Ep.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;+ return a && (i = !1, r += `rotate(${Rm(a, Dp.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;}// node_modules/motion-dom/dist/es/animation/waapi/transforms/groups.mjs-var Vm = /* @__PURE__ */ new WeakMap(), Hm = 200, Um = .001, Wm = .1, Gm = .001, Km = 100, qm = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Jm = (e, t) => e - t, Ym = (e, t, n) => {+var Hm = /* @__PURE__ */ new WeakMap(), Um = 200, Wm = .001, Gm = .1, Km = .001, qm = 100, Jm = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Ym = (e, t) => e - t, Xm = (e, t, n) => {let r = [];- for (let i = 0; i <= n; i++) r.push(sf(e, t, i / n));+ for (let i = 0; i <= n; i++) r.push(cf(e, t, i / n));return r;-}, Xm = (e) => e.motionValue.owner, Zm = (e) => Vm.get(e), Qm = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), $m = ({ name: e, motionValue: t }) => e && Wp.includes(e) && t?.owner?.current instanceof HTMLElement && Fm() && hm();-function eh(e) {- let t = Xm(e), { onUpdate: n, transformTemplate: r } = t.getProps();- return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (Qm(t, "transform") || "none") === "none" && !Qm(t, "pathRotation") && !t.projection?.isProjecting();+}, Zm = (e) => e.motionValue.owner, Qm = (e) => Hm.get(e), $m = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), eh = ({ name: e, motionValue: t }) => e && Gp.includes(e) && t?.owner?.current instanceof HTMLElement && Im() && gm();+function th(e) {+ let t = Zm(e), { onUpdate: n, transformTemplate: r } = t.getProps();+ return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && ($m(t, "transform") || "none") === "none" && !$m(t, "pathRotation") && !t.projection?.isProjecting();}-var th = class extends vp {+var nh = class extends yp {constructor(e) {- let t = Xm(e).current, { driver: n = jf } = e, r, i = eh(e);+ let t = Zm(e).current, { driver: n = Mf } = e, r, i = th(e);e.driver = (e) => {let i = n(e);return {js: i,now: i.now,start: (e = !0) => {- let n = Zm(t);+ let n = Qm(t);!n || n.isJS ? i.start(e) : n.schedule(!1, !e);},stop: () => {i.stop();- let e = Zm(t);+ let e = Qm(t);e && !e.isFinishing && e.release(r);}};@@ -15761,7 +15768,7 @@ var th = class extends vp {};}get group() {- return Zm(Xm(this.options).current);+ return Qm(Zm(this.options).current);}get js() {return this.driver?.js;@@ -15778,11 +15785,11 @@ var th = class extends vp {return e?.tracks.has(this) && !e.isJS && this.canAccelerate && (t === "running" || t === "paused");}liveValue() {- return this.isAccelerated() ? this.sampleAt(ld.now()) : void 0;+ return this.isAccelerated() ? this.sampleAt(ud.now()) : void 0;}tween() {- let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ nd(n) ? gm(n) : qm(n) && _m[n];- if (o && !i && !r && e.length === 2 && t === np && this.holdTime === null) {+ let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ rd(n) ? _m(n) : Jm(n) && vm[n];+ if (o && !i && !r && e.length === 2 && t === rp && this.holdTime === null) {let e = this.startTime + a / this.speed;return [e,@@ -15792,7 +15799,7 @@ var th = class extends vp {}}boundaries(e, t) {- let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || np) === np ? u || $f(d) : [0, 1], m = n + o / r, h = [];+ let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || rp) === rp ? u || ep(d) : [0, 1], m = n + o / r, h = [];if (this.holdTime !== null || !(i > 0)) return h;for (let n = Math.max(0, Math.floor((e - m) * r / i)); n <= s; n++) {let a = m + n * i / r;@@ -15808,11 +15815,11 @@ var th = class extends vp {return parseFloat(this.sampleAt(e, !0));}sync() {- let e = ld.now();+ let e = ud.now();this.options.motionValue.setWithVelocity(this.sampleAt(e - 10, !0), this.sampleAt(e, !0), 10);}play() {- this.isStopped || ((this.group || nh(Xm(this.options))).tracks.add(this), super.play());+ this.isStopped || ((this.group || rh(Zm(this.options))).tracks.add(this), super.play());}pause() {super.pause(), this.isAccelerated() && (this.sync(), this.group.schedule(!1));@@ -15820,10 +15827,10 @@ var th = class extends vp {complete() {super.complete();let { group: e } = this;- e && !e.isJS && this.canAccelerate && this.tick(ld.now());+ e && !e.isJS && this.canAccelerate && this.tick(ud.now());}get time() {- return this.isAccelerated() ? /* @__PURE__ */ Lu(Eu(0, this.totalDuration, this.at(ld.now()) - (this.options.delay || 0))) : super.time;+ return this.isAccelerated() ? /* @__PURE__ */ Ru(Du(0, this.totalDuration, this.at(ud.now()) - (this.options.delay || 0))) : super.time;}set time(e) {super.time = e, this.isAccelerated() && this.sync();@@ -15832,22 +15839,22 @@ var th = class extends vp {return this.canAccelerate = !1, this.group?.demote(!0), super.attachTimeline(e);}};-function nh(e) {+function rh(e) {let t = e.current, n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), i = {}, a = [], o = /* @__PURE__ */ new Map(), s = [], c = !1, l = !1, u = !1, d = !1, f = -Infinity, p = (e) => {for (let t of n) if (t.name === e) return !0;}, m = (t, n) => {let o = {};- for (let s of t === void 0 ? Wp : a) {- let a = r.get(s), c = t === void 0 ? Qm(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];+ for (let s of t === void 0 ? Gp : a) {+ let a = r.get(s), c = t === void 0 ? $m(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];c !== void 0 && (o[s] = c);}return o;}, h = (e, t) => {let n = "", r = m(e, t);- for (let e in r) n += (Rm[e] || e) + "(" + Lm(r[e], Ep[e]) + ") ";+ for (let e in r) n += (zm[e] || e) + "(" + Rm(r[e], Dp[e]) + ") ";return n || "none";}, g = (e = m()) => {- t.style.transform = Bm(e, {});+ t.style.transform = Vm(e, {});}, _ = (e = !0) => {e && g(), s.forEach(({ animation: e }) => e.cancel()), s = [];}, v = (e, t, n = Infinity) => {@@ -15856,7 +15863,7 @@ function nh(e) {offset: t,end: n};- e.startTime = ld.now() + t, n < Infinity && (e.onfinish = () => {+ e.startTime = ud.now() + t, n < Infinity && (e.onfinish = () => {r.isDone = !0, s.some((e) => e.end === Infinity) && (e.cancel(), s = s.filter((e) => e !== r)), O.schedule(!1);}), e.oncancel = () => s.includes(r) && O.demote(), s.push(r);}, y = (e, t, n) => {@@ -15867,34 +15874,34 @@ function nh(e) {}return r(t, n) > i / 2 ? [t, n] : [];}, b = (e, t, n, r) => {- let i = Math.min(Hm, Math.max(2, Math.ceil((n - t) / 10)));+ let i = Math.min(Um, Math.max(2, Math.ceil((n - t) / 10)));if (r.length * 4 > i) return;- let a = Ym(t, n, i).concat(r).sort(Jm), o = (e) => /* @__PURE__ */ Pu(t, n, e), s, c;+ let a = Xm(t, n, i).concat(r).sort(Ym), o = (e) => /* @__PURE__ */ Fu(t, n, e), s, c;for (let t of e) {- let e = a.map((e) => t.numberAt(e)), [n] = e, r = e.map((e) => e - n), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * Um > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);+ let e = a.map((e) => t.numberAt(e)), [n] = e, r = e.map((e) => e - n), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * Wm > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);if (!o) {- if (l.some((e) => !(Math.abs(e) <= Um))) return;+ if (l.some((e) => !(Math.abs(e) <= Wm))) return;} else if (!s) s = l, c = (e) => (t.numberAt(e) - n) / o;- else if (l.some((e, t) => !(Math.abs(e - s[t]) <= Um))) return;+ else if (l.some((e, t) => !(Math.abs(e - s[t]) <= Wm))) return;}- if (!s || s.every((e, t) => Math.abs(e - o(a[t])) <= Um)) return "linear";- let l = [], u = (e, t = c(e)) => l.push(_p(t) + " " + _p(o(e) * 100) + "%");+ if (!s || s.every((e, t) => Math.abs(e - o(a[t])) <= Wm)) return "linear";+ let l = [], u = (e, t = c(e)) => l.push(vp(t) + " " + vp(o(e) * 100) + "%");return s.forEach((e, t) => {t && Math.abs(e - s[t - 1]) > .2 && y(c, a[t - 1], a[t]).forEach((e) => u(e)), u(a[t], e);}), "linear(" + l + ")";}, x = (e, t, n, r) => {- let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? Gm : Wm))), o = (t, n, r) => {+ let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? Km : Gm))), o = (t, n, r) => {if (n - t < 1 || a(t, n)) i.push(n);else if (r < 4) o(t, (t + n) / 2, r + 1), o((t + n) / 2, n, r + 1);else {for (let r of e) i.push(...y((e) => r.numberAt(e), t, n));i.push(n);}- }, s = Ym(t, n, Math.ceil((n - t) / 100));+ }, s = Xm(t, n, Math.ceil((n - t) / 100));for (let e of r) s.push(e, Math.min(e + .01, n));let c = t;- for (let e of s.sort(Jm)) e > c && o(c, e, 0), c = e;- return i.sort(Jm);+ for (let e of s.sort(Ym)) e > c && o(c, e, 0), c = e;+ return i.sort(Ym);}, S = (e) => {let t;for (let n of e) {@@ -15905,7 +15912,7 @@ function nh(e) {return t;}, C = (e, n, r, i = { fill: "both" }, a, o) => {let s = e.flatMap((e) => e.boundaries(n, r)), c = o || b(e, n, r, s), l = c ? [n, r] : x(e, n, r, s), u = l.map((e) => h(e, a)), d = { transform: u };- return c || (d.offset = l.map((e) => /* @__PURE__ */ Pu(n, r, e))), u.every((e) => e === u[0]) && (g(m(n, a)), d = null), t.animate(d, {+ return c || (d.offset = l.map((e) => /* @__PURE__ */ Fu(n, r, e))), u.every((e) => e === u[0]) && (g(m(n, a)), d = null), t.animate(d, {...i,duration: r - n,easing: c || "linear"@@ -15933,9 +15940,9 @@ function nh(e) {f.push(e), l = Math.max(l, t);}}- i = {}, a = Wp.filter((t) => {+ i = {}, a = Gp.filter((t) => {if (r.has(t)) return !0;- let n = i[t] = Qm(e, t);+ let n = i[t] = $m(e, t);return n !== void 0 && parseFloat(n) !== +!!t.startsWith("scale");}), _(!1);let h = !u && S(f);@@ -15982,11 +15989,11 @@ function nh(e) {r ? (n.playbackRate = r, n.startTime = e - o / r) : (n.pause(), n.currentTime = o);}return !0;- }, E = () => !n.size && (u = !0, Zm(t) === O && Vm.delete(t), O.isJS || _(), !0), D = () => {- let t = ld.now();+ }, E = () => !n.size && (u = !0, Qm(t) === O && Hm.delete(t), O.isJS || _(), !0), D = () => {+ let t = ud.now();if (O.isJS || (O.isFinishing = !0, n.forEach((n) => {let [r, a] = n.timing();- n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = Qm(e, n.name), o.has(n) || (c = !0));+ n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = $m(e, n.name), o.has(n) || (c = !0));}), O.isFinishing = !1), l = !1, u || (n.forEach(({ state: e }, t) => {(e === "idle" || e === "finished") && n.delete(t);}), E())) return;@@ -15995,7 +16002,7 @@ function nh(e) {let r = c, a = d;if (c = d = !1, r || !T(t)) {if (a) {- if (t - f < Km) return O.demote();+ if (t - f < qm) return O.demote();f = t;}if (!w(t)) return O.demote();@@ -16005,7 +16012,7 @@ function nh(e) {isJS: !1,isFinishing: !1,schedule(e, t) {- u || (c ||= e, d ||= !!t, l || (l = !0, od.isProcessing ? Of.render(D, !1, !0) : queueMicrotask(D)));+ u || (c ||= e, d ||= !!t, l || (l = !0, sd.isProcessing ? kf.render(D, !1, !0) : queueMicrotask(D)));},release(e) {let { state: t } = e;@@ -16013,7 +16020,7 @@ function nh(e) {},check() {if (!O.isJS) {- for (let t in i) if (Qm(e, t) !== i[t] && !p(t)) return O.schedule(!0, !0);+ for (let t in i) if ($m(e, t) !== i[t] && !p(t)) return O.schedule(!0, !0);}},demote(e) {@@ -16022,40 +16029,40 @@ function nh(e) {}), O.isJS = !0, o = /* @__PURE__ */ new Map(), _(), n.forEach((e) => e.state === "running" && e.js?.start()));}};- return Vm.set(t, O), O;+ return Hm.set(t, O), O;}// node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs-var rh = class extends hp {+var ih = class extends gp {constructor(e) {super(), this.stop = () => {this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();- }, this.createdAt = ld.now();+ }, this.createdAt = ud.now();let { keyframes: t, name: n, motionValue: r, element: i } = e, a = e;a.autoplay ??= !0, a.delay ??= 0, a.type ??= "keyframes", a.repeat ??= 0, a.repeatDelay ??= 0, a.repeatType ??= "loop";- let o = i?.KeyframeResolver || lm;+ let o = i?.KeyframeResolver || um;this.keyframeResolver = new o(t, (e, t, n) => this.onKeyframesResolved(e, t, a, !n), n, r, i), this.keyframeResolver?.scheduleResolve();}onKeyframesResolved(e, t, n, r) {this.keyframeResolver = void 0;let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;- this.resolvedAt = ld.now();+ this.resolvedAt = ud.now();let u = !0;- km(e, i, a, o) || (u = !1, (Du.instantAnimations || !s) && l?.(sp(e, n, t)), e[0] = e[e.length - 1], Am(n), n.repeat = 0);+ Am(e, i, a, o) || (u = !1, (Ou.instantAnimations || !s) && l?.(cp(e, n, t)), e[0] = e[e.length - 1], jm(n), n.repeat = 0);let { onComplete: d } = n;n.finalKeyframe = t, n.keyframes = e, n.onComplete = () => {d?.(), this.notifyFinished();};- let f = u && !c && Im(n), p = !f && $m(n);- r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= dp(this.createdAt, this.resolvedAt));+ let f = u && !c && Lm(n), p = !f && eh(n);+ r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= fp(this.createdAt, this.resolvedAt));let m;if (f) {n.element = n.motionValue?.owner?.current;try {- m = new Em(n);+ m = new Dm(n);} catch {- m = new vp(n);+ m = new yp(n);}- } else m = p ? new th(n) : new vp(n);+ } else m = p ? new nh(n) : new yp(n);this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;}get finished() {@@ -16068,7 +16075,7 @@ var rh = class extends hp {return this._animation?.liveValue?.();}get animation() {- return this._animation || (this.keyframeResolver?.resume(), sm()), this._animation;+ return this._animation || (this.keyframeResolver?.resume(), cm()), this._animation;}get duration() {return this.animation.duration;@@ -16109,7 +16116,7 @@ var rh = class extends hp {cancel() {this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();}-}, ih = class {+}, ah = class {constructor(e) {this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);}@@ -16149,10 +16156,10 @@ var rh = class extends hp {return this.getAll("startTime");}get duration() {- return ah(this.animations, "duration");+ return oh(this.animations, "duration");}get iterationDuration() {- return ah(this.animations, "iterationDuration");+ return oh(this.animations, "iterationDuration");}runAll(e) {this.animations.forEach((t) => t[e]());@@ -16170,7 +16177,7 @@ var rh = class extends hp {this.runAll("complete");}};-function ah(e, t) {+function oh(e, t) {let n = 0;for (let r = 0; r < e.length; r++) {let i = e[r][t];@@ -16179,30 +16186,30 @@ function ah(e, t) {return n;}// node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs-var oh = class extends ih {+var sh = class extends ah {then(e, t) {return this.finished.finally(e).then(() => {});}-}, sh = /* @__PURE__ */ new WeakMap(), ch = (e, t = "") => `${e}:${t}`;-function lh(e) {- let t = sh.get(e);- return t || (t = /* @__PURE__ */ new Map(), sh.set(e, t)), t;+}, ch = /* @__PURE__ */ new WeakMap(), lh = (e, t = "") => `${e}:${t}`;+function uh(e) {+ let t = ch.get(e);+ return t || (t = /* @__PURE__ */ new Map(), ch.set(e, t)), t;}// node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs-function uh(e, t, n, r = 0, i = 1) {+function dh(e, t, n, r = 0, i = 1) {let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;}// node_modules/motion-dom/dist/es/value/index.mjs-var dh = 30, fh = (e) => !isNaN(parseFloat(e)), ph = { current: void 0 }, mh = class {+var fh = 30, ph = (e) => !isNaN(parseFloat(e)), mh = { current: void 0 }, hh = class {constructor(e, t = {}) {this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {- let t = ld.now();+ let t = ud.now();if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.notifyChange(), this.dependents)) for (let e of this.dependents) e.dirty();}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;}setCurrent(e) {- this.current = e, this.updatedAt = ld.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = fh(this.current));+ this.current = e, this.updatedAt = ud.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = ph(this.current));}setPrevFrameValue(e = this.current) {this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;@@ -16212,16 +16219,16 @@ var dh = 30, fh = (e) => !isNaN(parseFloat(e)), ph = { current: void 0 }, mh = c}on(e, t) {var n;- return e === "change" ? this.onChangeSubscribe(t) : ((n = this.events)[e] || (n[e] = new Fu())).add(t);+ return e === "change" ? this.onChangeSubscribe(t) : ((n = this.events)[e] || (n[e] = new Iu())).add(t);}onChangeSubscribe(e) {let { events: t } = this;- return !t.change && !this.changeSubscriber ? this.changeSubscriber = e : (t.change || (t.change = new Fu(), t.change.add(this.changeSubscriber), this.changeSubscriber = void 0), t.change.add(e)), () => {+ return !t.change && !this.changeSubscriber ? this.changeSubscriber = e : (t.change || (t.change = new Iu(), t.change.add(this.changeSubscriber), this.changeSubscriber = void 0), t.change.add(e)), () => {this.changeSubscriber === e ? this.changeSubscriber = void 0 : t.change?.remove(e), this.stopIfUnobserved();};}stopIfUnobserved() {- Of.read(() => {+ kf.read(() => {!this.changeSubscriber && !this.events.change?.getSize() && this.stop();});}@@ -16255,7 +16262,7 @@ var dh = 30, fh = (e) => !isNaN(parseFloat(e)), ph = { current: void 0 }, mh = cthis.dependents && this.dependents.delete(e);}get() {- ph.current && ph.current.push(this);+ mh.current && mh.current.push(this);let e = this.animation?.liveValue?.();return e === void 0 ? this.current : e;}@@ -16266,10 +16273,10 @@ var dh = 30, fh = (e) => !isNaN(parseFloat(e)), ph = { current: void 0 }, mh = creturn this.prev;}getVelocity() {- let e = ld.now();- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > dh) return 0;- let t = Math.min(this.updatedAt - this.prevUpdatedAt, dh);- return /* @__PURE__ */ Ru(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);+ let e = ud.now();+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > fh) return 0;+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, fh);+ return /* @__PURE__ */ zu(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);}start(e) {return this.stop(), new Promise((t) => {@@ -16293,11 +16300,11 @@ var dh = 30, fh = (e) => !isNaN(parseFloat(e)), ph = { current: void 0 }, mh = cthis.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();}};-function hh(e, t) {- return new mh(e, t);+function gh(e, t) {+ return new hh(e, t);}// node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs-function gh(e, t) {+function _h(e, t) {if (e?.inherit && t) {let { inherit: n, ...r } = e;return {@@ -16308,25 +16315,25 @@ function gh(e, t) {return e;}// node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs-function _h(e, t) {+function vh(e, t) {let n = e?.[t] ?? e?.default ?? e;- return n === e ? n : gh(n, e);+ return n === e ? n : _h(n, e);}// node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs-var vh = {+var yh = {type: "spring",stiffness: 500,damping: 25,restSpeed: 10-}, yh = (e) => ({+}, bh = (e) => ({type: "spring",stiffness: 550,damping: e === 0 ? 2 * Math.sqrt(550) : 30,restSpeed: 10-}), bh = {+}), xh = {type: "keyframes",duration: .8-}, xh = {+}, Sh = {type: "keyframes",ease: [.25,@@ -16335,7 +16342,7 @@ var vh = {1],duration: .3-}, Sh = (e, { keyframes: t }) => t.length > 2 ? bh : Gp.has(e) ? e.startsWith("scale") ? yh(t[1]) : vh : xh, Ch = /* @__PURE__ */ new Set([+}, Ch = (e, { keyframes: t }) => t.length > 2 ? xh : Kp.has(e) ? e.startsWith("scale") ? bh(t[1]) : yh : Sh, wh = /* @__PURE__ */ new Set(["when","delay","delayChildren",@@ -16347,14 +16354,14 @@ var vh = {"from","elapsed"]);-function wh(e) {- for (let t in e) if (!Ch.has(t)) return !0;+function Th(e) {+ for (let t in e) if (!wh.has(t)) return !0;return !1;}// node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs-var Th = (e, t, n, r = {}, i, a) => (o) => {- let s = _h(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;- l -= /* @__PURE__ */ Iu(c);+var Eh = (e, t, n, r = {}, i, a) => (o) => {+ let s = vh(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;+ l -= /* @__PURE__ */ Lu(c);let u = {keyframes: Array.isArray(n) ? n : [null, n],ease: "easeOut",@@ -16372,196 +16379,196 @@ var Th = (e, t, n, r = {}, i, a) => (o) => {element: a ? void 0 : i,hasOnUpdate: !!s.onUpdate};- wh(s) || Object.assign(u, Sh(e, u)), u.duration &&= /* @__PURE__ */ Iu(u.duration), u.repeatDelay &&= /* @__PURE__ */ Iu(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);+ Th(s) || Object.assign(u, Ch(e, u)), u.duration &&= /* @__PURE__ */ Lu(u.duration), u.repeatDelay &&= /* @__PURE__ */ Lu(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);let d = !1;- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (Am(u), u.delay === 0 && (d = !0)), (Du.instantAnimations || Du.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, Am(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {- let e = sp(u.keyframes, s);+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (jm(u), u.delay === 0 && (d = !0)), (Ou.instantAnimations || Ou.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, jm(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {+ let e = cp(u.keyframes, s);if (e !== void 0) {- Of.update(() => {+ kf.update(() => {u.onUpdate(e), u.onComplete();});return;}}- return s.isSync ? new vp(u) : new rh(u);-}, Eh = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;-function Dh(e) {- let t = Eh.exec(e);+ return s.isSync ? new yp(u) : new ih(u);+}, Dh = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;+function Oh(e) {+ let t = Dh.exec(e);if (!t) return [,];let [, n, r, i] = t;return [`--${n ?? r}`, i];}-function Oh(e, t, n = 1) {+function kh(e, t, n = 1) {`${e}`;- let [r, i] = Dh(e);+ let [r, i] = Oh(e);if (!r) return;let a = window.getComputedStyle(t).getPropertyValue(r);if (a) {let e = a.trim();- return Ou(e) ? parseFloat(e) : e;+ return ku(e) ? parseFloat(e) : e;}- return md(i) ? Oh(i, t, n + 1) : i;+ return hd(i) ? kh(i, t, n + 1) : i;}// node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs-function kh(e) {+function Ah(e) {let t = [{}, {}];return e?.values.forEach((e, n) => {t[0][n] = e.get(), t[1][n] = e.getVelocity();}), t;}-function Ah(e, t, n, r) {- let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...kh(r)) : t;+function jh(e, t, n, r) {+ let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Ah(r)) : t;return t = i(t), typeof t == "string" && (t = e.variants && e.variants[t]), i(t);}// node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs-function jh(e, t, n) {- return Ah(e.getProps(), t, n, e);+function Mh(e, t, n) {+ return jh(e.getProps(), t, n, e);}-var Mh = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, Nh = /* @__PURE__ */ new Set([+var Nh = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, Ph = /* @__PURE__ */ new Set(["width","height","top","left","right","bottom",- ...Wp-]), Ph = (e) => Array.isArray(e);+ ...Gp+]), Fh = (e) => Array.isArray(e);// node_modules/motion-dom/dist/es/render/utils/setters.mjs-function Fh(e, t, n) {- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, hh(n));+function Ih(e, t, n) {+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, gh(n));}-function Ih(e) {- return Ph(e) ? e[e.length - 1] || 0 : e;+function Lh(e) {+ return Fh(e) ? e[e.length - 1] || 0 : e;}-function Lh(e, t) {- let { transitionEnd: n = {}, transition: r = {}, ...i } = jh(e, t) || {};+function Rh(e, t) {+ let { transitionEnd: n = {}, transition: r = {}, ...i } = Mh(e, t) || {};i = {...i,...n};- for (let t in i) Fh(e, t, Ih(i[t]));+ for (let t in i) Ih(e, t, Lh(i[t]));}// node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs-var Rh = (e) => !!(e && e.getVelocity);+var zh = (e) => !!(e && e.getVelocity);// node_modules/motion-dom/dist/es/value/will-change/is.mjs-function zh(e) {- return !!(Rh(e) && e.add);+function Bh(e) {+ return !!(zh(e) && e.add);}// node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs-function Bh(e, t) {+function Vh(e, t) {let n = e.getValue("willChange");- if (zh(n)) return n.add(t);- if (!n && Du.WillChange) {- let n = new Du.WillChange("auto");+ if (Bh(n)) return n.add(t);+ if (!n && Ou.WillChange) {+ let n = new Ou.WillChange("auto");e.addValue("willChange", n), n.add(t);}}// node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs-var Vh = "data-framer-appear-id";+var Hh = "data-framer-appear-id";// node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs-function Hh(e) {- return e.props[Vh];+function Uh(e) {+ return e.props[Hh];}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs-var Uh = typeof window < "u";-function Wh({ protectedKeys: e, needsAnimating: t }, n) {+var Wh = typeof window < "u";+function Gh({ protectedKeys: e, needsAnimating: t }, n) {let r = n in e && !t[n];return t[n] = !1, r;}-function Gh(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {+function Kh(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();- a = a ? gh(a, c) : c;+ a = a ? _h(a, c) : c;let l = a?.reduceMotion, u = a?.skipAnimations;r && (a = r);let d = [], f = i && e.animationState?.getState()[i], p = a?.path;p && (p.animateValues ? p.animateValues((t) => e.getValue(t, e.latestValues[t] ?? 0), s, a, n, d) : p.animateVisualElement?.(e, s, a, n, d));for (let t in s) {let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];- if (i === void 0 || f && Wh(f, t)) continue;+ if (i === void 0 || f && Gh(f, t)) continue;let o = {delay: n,- ..._h(a || {}, t)+ ...vh(a || {}, t)};u && (o.skipAnimations = !0);let c = r.get();if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {- Of.update(() => r.set(i));+ kf.update(() => r.set(i));continue;}let p = !1;- if (Uh && window.MotionHandoffAnimation) {- let n = Hh(e);+ if (Wh && window.MotionHandoffAnimation) {+ let n = Uh(e);if (n) {- let e = window.MotionHandoffAnimation(n, t, Of);+ let e = window.MotionHandoffAnimation(n, t, kf);e !== null && (o.startTime = e, p = !0);}}- Bh(e, t);+ Vh(e, t);let m = l ?? e.shouldReduceMotion;- r.start(Th(t, r, i, m && Nh.has(t) ? { type: !1 } : o, e, p));+ r.start(Eh(t, r, i, m && Ph.has(t) ? { type: !1 } : o, e, p));let h = r.animation;h && d.push(h);}if (o) {- let t = () => Of.update(() => {- o && Lh(e, o);+ let t = () => kf.update(() => {+ o && Rh(e, o);});d.length ? Promise.all(d).then(t) : t();}return d;}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs-function Kh(e, t, n = {}) {- let r = jh(e, t, Mh(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Gh(e, r, n) : []), o = (r = 0) => {+function qh(e, t, n = {}) {+ let r = Mh(e, t, Nh(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Kh(e, r, n) : []), o = (r = 0) => {let { variantChildren: a } = e, { delayChildren: o = 0, staggerChildren: s, staggerDirection: c } = i, l = [];return a?.forEach((e) => {- e.notify("AnimationStart", t), l.push(Kh(e, t, {+ e.notify("AnimationStart", t), l.push(qh(e, t, {...n,- delay: r + (typeof o == "function" ? 0 : o) + uh(a, e, o, s, c)+ delay: r + (typeof o == "function" ? 0 : o) + dh(a, e, o, s, c)}).then(() => e.notify("AnimationComplete", t)));}), Promise.all(l);}, { when: s } = i;return s ? s === "beforeChildren" ? a().then(() => o()) : o().then(a) : Promise.all([a(), o(n.delay)]);}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs-function qh(e, t, n = {}) {- return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Kh(e, t, n))) : typeof t == "string" ? Kh(e, t, n) : Promise.all(Gh(e, jh(e, t, n.custom), n))).then(() => {+function Jh(e, t, n = {}) {+ return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => qh(e, t, n))) : typeof t == "string" ? qh(e, t, n) : Promise.all(Kh(e, Mh(e, t, n.custom), n))).then(() => {e.notify("AnimationComplete", t);});}// node_modules/motion-dom/dist/es/value/types/auto.mjs-var Jh = {+var Yh = {test: (e) => e === "auto",parse: (e) => e-}, Yh = (e) => (t) => t.test(e), Xh = [- _d,+}, Xh = (e) => (t) => t.test(e), Zh = [+ vd,W,+ Nd,Md,- jd,+ Fd,Pd,- Nd,- Jh-], Zh = (e) => Xh.find(Yh(e));+ Yh+], Qh = (e) => Zh.find(Xh(e));// node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs-function Qh(e) {- return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || Au(e);+function $h(e) {+ return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || ju(e);}// node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs-var $h = /* @__PURE__ */ new Set([+var eg = /* @__PURE__ */ new Set(["auto","none","0"]);-function eg(e, t, n) {+function tg(e, t, n) {let r = 0, i;for (; r < e.length && !i;) {let t = e[r];- typeof t == "string" && !$h.has(t) && Jd(t) && (i = e[r]), r++;+ typeof t == "string" && !eg.has(t) && Yd(t) && (i = e[r]), r++;}- if (i && n) for (let r of t) e[r] !== i && (e[r] = Ap(n, i));+ if (i && n) for (let r of t) e[r] !== i && (e[r] = jp(n, i));}// node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs-var tg = class extends lm {+var ng = class extends um {constructor(e, t, n, r, i) {super(e, t, n, r, i, !0);}@@ -16572,7 +16579,7 @@ var tg = class extends lm {canReadNow() {let { unresolvedKeyframes: e, element: t, motionValue: n } = this, r = e[0] ?? n?.get();if (!t?.current || r === void 0) return !1;- for (let t = 0; t < e.length; t++) if (gd(t ? e[t] : r)) return !1;+ for (let t = 0; t < e.length; t++) if (_d(t ? e[t] : r)) return !1;return !0;}readKeyframes() {@@ -16581,32 +16588,32 @@ var tg = class extends lm {super.readKeyframes();for (let n = 0; n < e.length; n++) {let r = e[n];- if (typeof r == "string" && (r = r.trim(), md(r))) {- let i = Oh(r, t.current);+ if (typeof r == "string" && (r = r.trim(), hd(r))) {+ let i = kh(r, t.current);i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);}}- if (this.resolveNoneKeyframes(), !Nh.has(n) || e.length !== 2) return;+ if (this.resolveNoneKeyframes(), !Ph.has(n) || e.length !== 2) return;let [r, i] = e;if (typeof r == "number" && typeof i == "number") return;- let a = Zh(r), o = Zh(i);- if (gd(r) !== gd(i) && em[n]) this.needsMeasurement = !0;+ let a = Qh(r), o = Qh(i);+ if (_d(r) !== _d(i) && tm[n]) this.needsMeasurement = !0;else if (a !== o) {- if (Kp(a) && Kp(o)) for (let t = 0; t < e.length; t++) {+ if (qp(a) && qp(o)) for (let t = 0; t < e.length; t++) {let n = e[t];typeof n == "string" && (e[t] = parseFloat(n));}- else em[n] && (this.needsMeasurement = !0);+ else tm[n] && (this.needsMeasurement = !0);}}resolveNoneKeyframes() {let { unresolvedKeyframes: e, name: t } = this, n = [];- for (let t = 0; t < e.length; t++) (e[t] === null || Qh(e[t])) && n.push(t);- n.length && eg(e, n, t);+ for (let t = 0; t < e.length; t++) (e[t] === null || $h(e[t])) && n.push(t);+ n.length && tg(e, n, t);}measure() {let { element: e, name: t } = this;- return em[t](window.getComputedStyle(e.current), () => e.measureViewportBox());+ return tm[t](window.getComputedStyle(e.current), () => e.measureViewportBox());}measureInitialState() {let { element: e, unresolvedKeyframes: t, name: n } = this;@@ -16624,19 +16631,19 @@ var tg = class extends lm {e.getValue(t).set(n);}), this.resolveNoneKeyframes();}-}, ng = [+}, rg = ["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"-], rg = /* @__PURE__ */ new Set([+], eee = /* @__PURE__ */ new Set(["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius",- ...ng,+ ...rg,"width","maxWidth","height",@@ -16679,18 +16686,18 @@ var tg = class extends lm {"backgroundPositionY"]);// node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs-function eee(e, t) {- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && rg.has(t) && (e[n] = e[n] + "px");+function tee(e, t) {+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && eee.has(t) && (e[n] = e[n] + "px");}// node_modules/motion-dom/dist/es/animation/animate/effects.mjsvar ig = [];-function tee(e) {+function nee(e) {typeof e.test == "function" && e.read, ag(e), ig.unshift(e);}function ag(e) {- Tu(ig, e);+ Eu(ig, e);}-function nee(e) {+function ree(e) {return ig.find((t) => t.test(e));}function og(e, t, n = {}, r) {@@ -16701,11 +16708,11 @@ function og(e, t, n = {}, r) {let c = t[o];if (c === void 0) continue;let l = e(o), u = l.get();- u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? Of.update(() => l.set(c)) : (l.start(Th(o, l, c, s && Nh.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));+ u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? kf.update(() => l.set(c)) : (l.start(Eh(o, l, c, s && Ph.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));}let { transitionEnd: c } = t;if (c) {- let t = () => Of.update(() => {+ let t = () => kf.update(() => {for (let t in c) e(t).set(c[t]);});i.length ? Promise.all(i).then(t) : t();@@ -16719,24 +16726,24 @@ function sg(e, t, n, r, i) {let o;if (!i) {let i = n[r];- o = ree(i) ?? e.read(t, r, i), `${r}`;+ o = iee(i) ?? e.read(t, r, i), `${r}`;}- a = hh(o, { owner: i }), e(t, { [r]: a });+ a = gh(o, { owner: i }), e(t, { [r]: a });}return a;}, n, r, i);}-function ree(e) {+function iee(e) {let t = Array.isArray(e) ? e[0] : void 0;return t === null ? void 0 : t;}// node_modules/motion-dom/dist/es/utils/is-html-element.mjsfunction cg(e) {- return ku(e) && "offsetHeight" in e && !("ownerSVGElement" in e);+ return Au(e) && "offsetHeight" in e && !("ownerSVGElement" in e);}// node_modules/motion-dom/dist/es/utils/is-svg-element.mjsfunction lg(e) {- return ku(e) && "ownerSVGElement" in e;+ return Au(e) && "ownerSVGElement" in e;}// node_modules/motion-dom/dist/es/scope/active.mjsvar ug = {};@@ -16755,8 +16762,8 @@ function pg(e, t, n) {return Array.from(e).filter((e) => e != null);}// node_modules/motion-dom/dist/es/effects/MotionValueState.mjs-var iee = class {- constructor(e = Of.render) {+var aee = class {+ constructor(e = kf.render) {this.step = e, this.values = /* @__PURE__ */ new Map(), this.pending = [], this.numPending = 0, this.flush = () => {let { pending: e, numPending: t } = this;this.numPending = 0;@@ -16802,7 +16809,7 @@ var iee = class {function mg(e, { step: t, ...n } = {}) {let r = /* @__PURE__ */ new WeakMap();return Object.assign((n, i) => {- let a = r.get(n) ?? new iee(t);+ let a = r.get(n) ?? new aee(t);r.set(n, a);let o = [];for (let t in i) {@@ -16820,79 +16827,79 @@ function mg(e, { step: t, ...n } = {}) {}// node_modules/motion-dom/dist/es/effects/style/transform.mjsvar hg = {};-function aee(e) {+function oee(e) {let t = "", { transformKeys: n = [], transformValues: r = {} } = e;for (let e = 0; e < n.length; e++) {let i = n[e], a = r[i].getCurrent();- a !== void 0 && (typeof a == "number" ? a : parseFloat(a)) !== +!!i.startsWith("scale") && (t += (t && " ") + (hg[i] || (hg[i] = (Rm[i] || i) + "(")) + Lm(a, Tp[i]) + ")");+ a !== void 0 && (typeof a == "number" ? a : parseFloat(a)) !== +!!i.startsWith("scale") && (t += (t && " ") + (hg[i] || (hg[i] = (zm[i] || i) + "(")) + Rm(a, Ep[i]) + ")");}let i = e.get("pathRotation")?.get();- return i && (t += (t && " ") + "rotate(" + Lm(i, Tp.pathRotation) + ")"), t || "none";+ return i && (t += (t && " ") + "rotate(" + Rm(i, Ep.pathRotation) + ")"), t || "none";}// node_modules/motion-dom/dist/es/effects/style/index.mjsvar gg = /* @__PURE__ */ new Set(["originX","originY","originZ"-]), _g = (e, t) => Lm(e.get(t)?.get(), Ep[t]), vg = (e, t, n, r) => {+]), _g = (e, t) => Rm(e.get(t)?.get(), Dp[t]), vg = (e, t, n, r) => {let i, a;- if (Gp.has(n)) {+ if (Kp.has(n)) {if (n !== "pathRotation") {let e = t.transformKeys ??= [];- (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => Wp.indexOf(e) - Wp.indexOf(t)));+ (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => Gp.indexOf(e) - Gp.indexOf(t)));}- t.get("transform") || (!cg(e) && !t.get("transformBox") && vg(e, t, "transformBox", new mh("fill-box")), t.set("transform", new mh("none"), () => {- Vm.get(e)?.check(), e.style.transform = aee(t);+ t.get("transform") || (!cg(e) && !t.get("transformBox") && vg(e, t, "transformBox", new hh("fill-box")), t.set("transform", new hh("none"), () => {+ Hm.get(e)?.check(), e.style.transform = oee(t);})), a = t.get("transform");- } else gg.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new mh(""), () => {+ } else gg.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new hh(""), () => {let n = _g(t, "originX") ?? "50%", r = _g(t, "originY") ?? "50%", i = _g(t, "originZ") ?? 0;e.style.transformOrigin = `${n} ${r} ${i}`;- }), a = t.get("transformOrigin")) : i = um(n) ? () => {+ }), a = t.get("transformOrigin")) : i = dm(n) ? () => {e.style.setProperty(n, r.getCurrent());} : () => {- e.style[n] = Lm(r.getCurrent(), Ep[n]);+ e.style[n] = Rm(r.getCurrent(), Dp[n]);};return t.set(n, r, i, a);-}, oee = (e) => cg(e) || lg(e), yg = (e, t) => {- if (Gp.has(t)) return Hp(e, t);- let n = getComputedStyle(e), r = um(t) ? n.getPropertyValue(t) : n[t];+}, see = (e) => cg(e) || lg(e), yg = (e, t) => {+ if (Kp.has(t)) return Up(e, t);+ let n = getComputedStyle(e), r = dm(t) ? n.getPropertyValue(t) : n[t];return typeof r == "string" && r.trim() || 0;-}, see = /*@__PURE__*/ mg(vg, {- test: oee,+}, bg = /*@__PURE__*/ mg(vg, {+ test: see,read: yg});// node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs-function bg(e) {+function xg(e) {return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);}// node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs-function xg(e, t, n) {+function Sg(e, t, n) {let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;for (let e in t) {let n = t[e];- if (Gp.has(e)) o = !0;- else if (fd(e)) i[e] = n;+ if (Kp.has(e)) o = !0;+ else if (pd(e)) i[e] = n;else {- let t = Lm(n, Ep[e]);+ let t = Rm(n, Dp[e]);e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;}}- if (t.transform || (o || n ? r.transform = Bm(t, e.transform, n) : r.transform &&= "none"), s) {+ if (t.transform || (o || n ? r.transform = Vm(t, e.transform, n) : r.transform &&= "none"), s) {let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;r.transformOrigin = `${e} ${t} ${n}`;}}// node_modules/motion-dom/dist/es/render/svg/utils/path.mjs-var Sg = {+var cee = {offset: "stroke-dashoffset",array: "stroke-dasharray"-}, cee = {+}, lee = {offset: "strokeDashoffset",array: "strokeDasharray"};-function lee(e, t, n = 1, r = 0, i = !0) {+function uee(e, t, n = 1, r = 0, i = !0) {e.pathLength = 1;- let a = i ? Sg : cee;+ let a = i ? cee : lee;e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;}// node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs@@ -16907,45 +16914,45 @@ var Cg = ["offsetAnchor"];function wg(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {- if (xg(e, s, l), c) {+ if (Sg(e, s, l), c) {e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);return;}e.attrs = e.style, e.style = {};let { attrs: d, style: f } = e;for (let e of Cg) d[e] !== void 0 && (f[e] = d[e], delete d[e]);- (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && lee(d, i, a, o, !1);+ (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && uee(d, i, a, o, !1);}// node_modules/motion-dom/dist/es/effects/attr/index.mjs-function uee(e, t) {+function dee(e, t) {if (!(t in e)) return !1;let n = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), t) || Object.getOwnPropertyDescriptor(e, t);return n && typeof n.set == "function";}var Tg = (e, t, n, r, i = n) => {- let a = uee(e, i);- !a && (i.startsWith("data") || i.startsWith("aria")) && (i = bg(i));- let o = Ep[n] || Ep[i], s = a ? () => {- e[i] = Lm(r.get(), Ep[n]);+ let a = dee(e, i);+ !a && (i.startsWith("data") || i.startsWith("aria")) && (i = xg(i));+ let o = Dp[n] || Dp[i], s = a ? () => {+ e[i] = Rm(r.get(), Dp[n]);} : () => {- let t = Lm(r.get(), o);+ let t = Rm(r.get(), o);t == null ? e.removeAttribute(i) : e.setAttribute(i, String(t));};return t.set(n, r, s);};// node_modules/motion-dom/dist/es/effects/svg/index.mjs-function dee(e, t, n, r) {- return Of.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {+function fee(e, t, n, r) {+ return kf.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {let t = r.get();e.setAttribute("stroke-dashoffset", `${-t}`);- }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new mh("1 1"), () => {+ }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new hh("1 1"), () => {let n = t.get("pathLength")?.get() ?? 1, r = t.get("pathSpacing")?.get();e.setAttribute("stroke-dasharray", `${n} ${r ?? 1 - Number(n)}`);}), t.set(n, r, void 0, t.get("stroke-dasharray")));}-var fee = /*@__PURE__*/ mg((e, t, n, r) => n.startsWith("path") && !Gp.has(n) ? dee(e, t, n, r) : n.startsWith("attr") ? Tg(e, t, n, r, Eg(n)) : (Gp.has(n) || gg.has(n) || um(n) || n in e.style ? vg : Tg)(e, t, n, r), {+var pee = /*@__PURE__*/ mg((e, t, n, r) => n.startsWith("path") && !Kp.has(n) ? fee(e, t, n, r) : n.startsWith("attr") ? Tg(e, t, n, r, Eg(n)) : (Kp.has(n) || gg.has(n) || dm(n) || n in e.style ? vg : Tg)(e, t, n, r), {test: lg,- read: (e, t) => Gp.has(t) ? Ep[t]?.default || 0 : um(t) || Cg.includes(t) ? yg(e, t) || e.getAttribute(bg(t)) || 0 : (t = Eg(t), e.getAttribute(bg(t)) ?? e.getAttribute(t) ?? void 0)+ read: (e, t) => Kp.has(t) ? Dp[t]?.default || 0 : dm(t) || Cg.includes(t) ? yg(e, t) || e.getAttribute(xg(t)) || 0 : (t = Eg(t), e.getAttribute(xg(t)) ?? e.getAttribute(t) ?? void 0)});function Eg(e) {return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());@@ -16963,7 +16970,7 @@ function Dg({ top: e, left: t, right: n, bottom: r }) {}};}-function pee({ x: e, y: t }) {+function mee({ x: e, y: t }) {return {top: t.min,right: e.max,@@ -16971,7 +16978,7 @@ function pee({ x: e, y: t }) {left: e.min};}-function mee(e, t) {+function hee(e, t) {if (!t) return e;let n = t({x: e.left,@@ -17017,7 +17024,7 @@ function Ig(e, { x: t, y: n }) {Fg(e.x, t.translate, t.scale, t.originPoint), Fg(e.y, n.translate, n.scale, n.originPoint);}var Lg = .999999999999, Rg = 1.0000000000001;-function hee(e, t, n, r = !1) {+function zg(e, t, n, r = !1) {let i = n.length;if (!i) return;t.x = t.y = 1;@@ -17025,35 +17032,35 @@ function hee(e, t, n, r = !1) {for (let s = 0; s < i; s++) {a = n[s], o = a.projectionDelta;let { visualElement: i } = a.options;- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (zg(e.x, -a.scroll.offset.x), zg(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Ig(e, o)), r && Ag(a.latestValues) && Hg(e, a.latestValues, a.layout?.layoutBox));+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (Bg(e.x, -a.scroll.offset.x), Bg(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Ig(e, o)), r && Ag(a.latestValues) && Ug(e, a.latestValues, a.layout?.layoutBox));}t.x < Rg && t.x > Lg && (t.x = 1), t.y < Rg && t.y > Lg && (t.y = 1);}-function zg(e, t) {+function Bg(e, t) {e.min += t, e.max += t;}-function Bg(e, t, n, r, i = .5) {- Fg(e, t, n, sf(e.min, e.max, i), r);+function Vg(e, t, n, r, i = .5) {+ Fg(e, t, n, cf(e.min, e.max, i), r);}-function Vg(e, t) {+function Hg(e, t) {return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;}-function Hg(e, t, n) {+function Ug(e, t, n) {let r = n ?? e;- Bg(e.x, Vg(t.x, r.x), t.scaleX, t.scale, t.originX), Bg(e.y, Vg(t.y, r.y), t.scaleY, t.scale, t.originY);+ Vg(e.x, Hg(t.x, r.x), t.scaleX, t.scale, t.originX), Vg(e.y, Hg(t.y, r.y), t.scaleY, t.scale, t.originY);}// node_modules/motion-dom/dist/es/projection/utils/measure.mjs-function Ug(e, t) {- return Dg(mee(e.getBoundingClientRect(), t));+function Wg(e, t) {+ return Dg(hee(e.getBoundingClientRect(), t));}-function gee(e, t, n) {- let r = Ug(e, n), { scroll: i } = t;- return i && (zg(r.x, i.offset.x), zg(r.y, i.offset.y)), r;+function Gg(e, t, n) {+ let r = Wg(e, n), { scroll: i } = t;+ return i && (Bg(r.x, i.offset.x), Bg(r.y, i.offset.y)), r;}// node_modules/motion-dom/dist/es/animation/animate/element.mjs-var _ee = {}, vee = (e) => lg(e) ? fee : see, yee = class {+var Kg = {}, qg = (e) => lg(e) ? pee : bg, Jg = class {constructor(e, t) {- this.effect = e, this.current = t, this.KeyframeResolver = tg;+ this.effect = e, this.current = t, this.KeyframeResolver = ng;}getValue(e) {return this.effect.get(this.current, e);@@ -17065,201 +17072,201 @@ var _ee = {}, vee = (e) => lg(e) ? fee : see, yee = class {this.effect.flush(this.current);}measureViewportBox() {- return Ug(this.current);+ return Wg(this.current);}getProps() {- return _ee;+ return Kg;}};-function bee(e, t, n, r) {+function Yg(e, t, n, r) {if (ug.current?.track(e), r) return og((e) => r.getValue(e, null), t, n, r);- let i = vee(e);- return sg(i, e, t, n, new yee(i, e));+ let i = qg(e);+ return sg(i, e, t, n, new Jg(i, e));}// node_modules/motion-dom/dist/es/effects/prop/index.mjs-var xee = /*@__PURE__*/ mg((e, t, n, r) => t.set(n, r, () => {+var Xg = /*@__PURE__*/ mg((e, t, n, r) => t.set(n, r, () => {e[n] = r.get();}), {- test: (e) => ku(e),+ test: (e) => Au(e),read: (e, t) => {let n = e[t];return typeof n == "string" || typeof n == "number" ? n : void 0;}-}), { schedule: Wg, cancel: See } = /* @__PURE__ */ Df(queueMicrotask, !1);+}), { schedule: Zg, cancel: gee } = /* @__PURE__ */ Of(queueMicrotask, !1);// node_modules/motion-dom/dist/es/animation/animate/single-value.mjs-function Gg(e, t, n) {- let r = Rh(e) ? e : hh(e);- return r.start(Th("", r, t, n)), r.animation;+function Qg(e, t, n) {+ let r = zh(e) ? e : gh(e);+ return r.start(Eh("", r, t, n)), r.animation;}// node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs-var Kg = {}, qg = {+var $g = {}, e_ = {value: null,addProjectionMetrics: null};// node_modules/motion-dom/dist/es/utils/delay.mjs-function Jg(e, t) {- let n = ld.now();+function _ee(e, t) {+ let n = ud.now();e = fg(e);let r = ({ timestamp: i }) => {let a = i - n;- a >= t && (kf(r), e(a - t));+ a >= t && (Af(r), e(a - t));};- return Of.setup(r, !0), dg(() => kf(r));+ return kf.setup(r, !0), dg(() => Af(r));}// node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs-function Cee(e) {+function vee(e) {return lg(e) && e.tagName === "svg";}// node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs-function Yg(e) {- return Rh(e) ? e.get() : e;+function t_(e) {+ return zh(e) ? e.get() : e;}// node_modules/motion-dom/dist/es/value/utils/as-number.mjs-var Xg = (e) => typeof e == "number" ? e : parseFloat(e), wee = ng.length, Zg = [+var n_ = (e) => typeof e == "number" ? e : parseFloat(e), yee = rg.length, r_ = ["rotate","rotateX","rotateY","rotateZ","skewX","skewY"-], Tee = Zg.length, Qg = (e) => typeof e == "number" || W.test(e);-function Eee(e, t, n, r, i, a) {- i ? (e.opacity = sf(0, n.opacity ?? 1, Dee(r)), e.opacityExit = sf(t.opacity ?? 1, 0, Oee(r))) : a && (e.opacity = sf(t.opacity ?? 1, n.opacity ?? 1, r));- for (let i = 0; i < wee; i++) {- let a = ng[i], o = $g(t, a), s = $g(n, a);- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || Qg(o) === Qg(s) ? (e[a] = Math.max(sf(Xg(o), Xg(s), r), 0), (Md.test(s) || Md.test(o)) && (e[a] += "%")) : e[a] = s);+], bee = r_.length, i_ = (e) => typeof e == "number" || W.test(e);+function xee(e, t, n, r, i, a) {+ i ? (e.opacity = cf(0, n.opacity ?? 1, See(r)), e.opacityExit = cf(t.opacity ?? 1, 0, Cee(r))) : a && (e.opacity = cf(t.opacity ?? 1, n.opacity ?? 1, r));+ for (let i = 0; i < yee; i++) {+ let a = rg[i], o = a_(t, a), s = a_(n, a);+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || i_(o) === i_(s) ? (e[a] = Math.max(cf(n_(o), n_(s), r), 0), (Nd.test(s) || Nd.test(o)) && (e[a] += "%")) : e[a] = s);}- for (let i = 0; i < Tee; i++) {- let a = Zg[i];- (t[a] || n[a]) && (e[a] = sf(t[a] || 0, n[a] || 0, r));+ for (let i = 0; i < bee; i++) {+ let a = r_[i];+ (t[a] || n[a]) && (e[a] = cf(t[a] || 0, n[a] || 0, r));}}-function $g(e, t) {+function a_(e, t) {return e[t] === void 0 ? e.borderRadius : e[t];}-var Dee = /*@__PURE__*/ e_(0, .5, Yu), Oee = /*@__PURE__*/ e_(.5, .95, Mu);-function e_(e, t, n) {- return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Pu(e, t, r));+var See = /*@__PURE__*/ o_(0, .5, Xu), Cee = /*@__PURE__*/ o_(.5, .95, Nu);+function o_(e, t, n) {+ return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Fu(e, t, r));}// node_modules/motion-dom/dist/es/projection/geometry/copy.mjs-function t_(e, t) {+function s_(e, t) {e.min = t.min, e.max = t.max;}-function n_(e, t) {- t_(e.x, t.x), t_(e.y, t.y);+function c_(e, t) {+ s_(e.x, t.x), s_(e.y, t.y);}-function r_(e, t) {+function l_(e, t) {e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;}// node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs-var kee = .9999, Aee = 1.0001, jee = -.01, Mee = .01;-function i_(e) {+var wee = .9999, Tee = 1.0001, Eee = -.01, Dee = .01;+function u_(e) {return e.max - e.min;}-function Nee(e, t, n) {+function Oee(e, t, n) {return Math.abs(e - t) <= n;}-function a_(e, t, n, r = .5) {- e.origin = r, e.originPoint = sf(t.min, t.max, e.origin), e.scale = i_(n) / i_(t), e.translate = sf(n.min, n.max, e.origin) - e.originPoint, (e.scale >= kee && e.scale <= Aee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= jee && e.translate <= Mee || isNaN(e.translate)) && (e.translate = 0);+function d_(e, t, n, r = .5) {+ e.origin = r, e.originPoint = cf(t.min, t.max, e.origin), e.scale = u_(n) / u_(t), e.translate = cf(n.min, n.max, e.origin) - e.originPoint, (e.scale >= wee && e.scale <= Tee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Eee && e.translate <= Dee || isNaN(e.translate)) && (e.translate = 0);}-function o_(e, t, n, r) {- a_(e.x, t.x, n.x, r ? r.originX : void 0), a_(e.y, t.y, n.y, r ? r.originY : void 0);+function f_(e, t, n, r) {+ d_(e.x, t.x, n.x, r ? r.originX : void 0), d_(e.y, t.y, n.y, r ? r.originY : void 0);}-function s_(e, t, n, r = 0) {- e.min = (r ? sf(n.min, n.max, r) : n.min) + t.min, e.max = e.min + i_(t);+function p_(e, t, n, r = 0) {+ e.min = (r ? cf(n.min, n.max, r) : n.min) + t.min, e.max = e.min + u_(t);}-function Pee(e, t, n, r) {- s_(e.x, t.x, n.x, r?.x), s_(e.y, t.y, n.y, r?.y);+function kee(e, t, n, r) {+ p_(e.x, t.x, n.x, r?.x), p_(e.y, t.y, n.y, r?.y);}-function c_(e, t, n, r = 0) {- let i = r ? sf(n.min, n.max, r) : n.min;- e.min = t.min - i, e.max = e.min + i_(t);+function m_(e, t, n, r = 0) {+ let i = r ? cf(n.min, n.max, r) : n.min;+ e.min = t.min - i, e.max = e.min + u_(t);}-function l_(e, t, n, r) {- c_(e.x, t.x, n.x, r?.x), c_(e.y, t.y, n.y, r?.y);+function h_(e, t, n, r) {+ m_(e.x, t.x, n.x, r?.x), m_(e.y, t.y, n.y, r?.y);}// node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs-function u_(e, t, n, r, i) {+function g_(e, t, n, r, i) {return e -= t, e = Ng(e, 1 / n, r), i !== void 0 && (e = Ng(e, 1 / i, r)), e;}-function Fee(e, t = 0, n = 1, r = .5, i, a = e, o = e) {- if (Md.test(t) && (t = parseFloat(t), t = sf(o.min, o.max, t / 100) - o.min), typeof t != "number") return;- let s = sf(a.min, a.max, r);- e === a && (s -= t), e.min = u_(e.min, t, n, s, i), e.max = u_(e.max, t, n, s, i);+function Aee(e, t = 0, n = 1, r = .5, i, a = e, o = e) {+ if (Nd.test(t) && (t = parseFloat(t), t = cf(o.min, o.max, t / 100) - o.min), typeof t != "number") return;+ let s = cf(a.min, a.max, r);+ e === a && (s -= t), e.min = g_(e.min, t, n, s, i), e.max = g_(e.max, t, n, s, i);}-function d_(e, t, [n, r, i], a, o) {- Fee(e, t[n], t[r], t[i], t.scale, a, o);+function __(e, t, [n, r, i], a, o) {+ Aee(e, t[n], t[r], t[i], t.scale, a, o);}-var Iee = [+var jee = ["x","scaleX","originX"-], Lee = [+], Mee = ["y","scaleY","originY"];-function f_(e, t, n, r) {- d_(e.x, t, Iee, n ? n.x : void 0, r ? r.x : void 0), d_(e.y, t, Lee, n ? n.y : void 0, r ? r.y : void 0);+function v_(e, t, n, r) {+ __(e.x, t, jee, n ? n.x : void 0, r ? r.x : void 0), __(e.y, t, Mee, n ? n.y : void 0, r ? r.y : void 0);}// node_modules/motion-dom/dist/es/projection/geometry/models.mjs-var p_ = () => ({+var y_ = () => ({translate: 0,scale: 1,origin: 0,originPoint: 0-}), m_ = () => ({- x: p_(),- y: p_()-}), h_ = () => ({+}), b_ = () => ({+ x: y_(),+ y: y_()+}), x_ = () => ({min: 0,max: 0-}), g_ = () => ({- x: h_(),- y: h_()+}), S_ = () => ({+ x: x_(),+ y: x_()});// node_modules/motion-dom/dist/es/projection/geometry/utils.mjs-function __(e) {+function C_(e) {return e.translate === 0 && e.scale === 1;}-function v_(e) {- return __(e.x) && __(e.y);+function w_(e) {+ return C_(e.x) && C_(e.y);}-function y_(e, t) {+function T_(e, t) {return e.min === t.min && e.max === t.max;}-function Ree(e, t) {- return y_(e.x, t.x) && y_(e.y, t.y);+function Nee(e, t) {+ return T_(e.x, t.x) && T_(e.y, t.y);}-function b_(e, t) {+function E_(e, t) {return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);}-function x_(e, t) {- return b_(e.x, t.x) && b_(e.y, t.y);+function D_(e, t) {+ return E_(e.x, t.x) && E_(e.y, t.y);}-function S_(e) {- return i_(e.x) / i_(e.y);+function O_(e) {+ return u_(e.x) / u_(e.y);}-function C_(e, t) {+function k_(e, t) {return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;}// node_modules/motion-dom/dist/es/projection/shared/stack.mjs-var zee = class {+var Pee = class {constructor() {this.members = [];}add(e) {- wu(this.members, e);+ Tu(this.members, e);for (let t = this.members.length - 1; t >= 0; t--) {let n = this.members[t];if (n === e || n === this.lead || n === this.prevLead) continue;let r = n.instance;- r && r.isConnected !== !1 || n.snapshot || (Tu(this.members, n), n.unmount());+ r && r.isConnected !== !1 || n.snapshot || (Eu(this.members, n), n.unmount());}e.scheduleRender();}remove(e) {- if (Tu(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {+ if (Eu(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {let e = this.members[this.members.length - 1];e && this.promote(e);}@@ -17292,33 +17299,33 @@ var zee = class {}};// node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs-function w_(e, t) {+function A_(e, t) {return t.max === t.min ? 0 : e / (t.max - t.min) * 100;}-var T_ = { correct: (e, t) => {+var j_ = { correct: (e, t) => {if (!t.target) return e;if (typeof e == "string") {if (W.test(e)) e = parseFloat(e);else return e;}- return `${w_(e, t.target.x)}% ${w_(e, t.target.y)}%`;-} }, Bee = {- borderRadius: /* @__PURE__ */ Object.assign({}, T_, { applyTo: /* @__PURE__ */ ng.slice() }),- borderTopLeftRadius: T_,- borderTopRightRadius: T_,- borderBottomLeftRadius: T_,- borderBottomRightRadius: T_,+ return `${A_(e, t.target.x)}% ${A_(e, t.target.y)}%`;+} }, Fee = {+ borderRadius: /* @__PURE__ */ Object.assign({}, j_, { applyTo: /* @__PURE__ */ rg.slice() }),+ borderTopLeftRadius: j_,+ borderTopRightRadius: j_,+ borderBottomLeftRadius: j_,+ borderBottomRightRadius: j_,boxShadow: { correct: (e, { treeScale: t, projectionDelta: n }) => {- let r = e, i = nf.parse(e);+ let r = e, i = rf.parse(e);if (i.length > 5) return r;- let a = nf.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;+ let a = rf.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;i[0 + o] /= s, i[1 + o] /= c;- let l = sf(s, c, .5);+ let l = cf(s, c, .5);return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);} }};// node_modules/motion-dom/dist/es/projection/styles/transform.mjs-function Vee(e, t, n) {+function Iee(e, t, n) {let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, rotateZ: s, skewX: c, skewY: l } = n;@@ -17328,72 +17335,72 @@ function Vee(e, t, n) {return (s !== 1 || c !== 1) && (r += `scale(${s}, ${c})`), r || "none";}// node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs-function E_(e) {+function M_(e) {return [e("x"), e("y")];}// node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs-var Hee = (e, t) => e.depth - t.depth, Uee = class {+var Lee = (e, t) => e.depth - t.depth, Ree = class {constructor() {this.children = [], this.isDirty = !1;}add(e) {- wu(this.children, e), this.isDirty = !0;+ Tu(this.children, e), this.isDirty = !0;}remove(e) {- Tu(this.children, e), this.isDirty = !0;+ Eu(this.children, e), this.isDirty = !0;}forEach(e) {- this.isDirty && this.children.sort(Hee), this.isDirty = !1, this.children.forEach(e);+ this.isDirty && this.children.sort(Lee), this.isDirty = !1, this.children.forEach(e);}-}, D_ = {+}, N_ = {hasAnimatedSinceResize: !0,hasEverUpdated: !1-}, O_ = {+}, P_ = {nodes: 0,calculatedTargetDeltas: 0,calculatedProjections: 0-}, k_ = [+}, F_ = ["","X","Y","Z"-], Wee = 1e3, Gee = 0;-function A_(e, t, n, r) {+], zee = 1e3, Bee = 0;+function I_(e, t, n, r) {let { latestValues: i } = t;i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));}-var j_ = ({ instance: e }) => e && Vm.get(e)?.demote();-function M_(e) {+var L_ = ({ instance: e }) => e && Hm.get(e)?.demote();+function R_(e) {if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;let { visualElement: t } = e.options;if (!t) return;- let n = Hh(t);+ let n = Uh(t);if (window.MotionHasOptimisedAnimation(n, "transform")) {let { layout: t, layoutId: r } = e.options;- window.MotionCancelOptimisedAnimation(n, "transform", Of, !(t || r));+ window.MotionCancelOptimisedAnimation(n, "transform", kf, !(t || r));}let { parent: r } = e;- r && !r.hasCheckedOptimisedAppear && M_(r);+ r && !r.hasCheckedOptimisedAppear && R_(r);}-function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {- return Object.assign(Kg, {- ...Bee,- ...Kg+function z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {+ return Object.assign($g, {+ ...Fee,+ ...$g}), class {constructor(e = {}, n = t?.()) {- this.id = Gee++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {+ this.id = Bee++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {x: 1,y: 1}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());}, this.updateProjection = () => {- this.projectionUpdateScheduled = !1, qg.value && (O_.nodes = O_.calculatedTargetDeltas = O_.calculatedProjections = 0), this.nodes.forEach(Jee), this.nodes.forEach(nte), this.nodes.forEach(rte), this.nodes.forEach(Yee), qg.addProjectionMetrics && qg.addProjectionMetrics(O_);+ this.projectionUpdateScheduled = !1, e_.value && (P_.nodes = P_.calculatedTargetDeltas = P_.calculatedProjections = 0), this.nodes.forEach(Uee), this.nodes.forEach(Zee), this.nodes.forEach(Qee), this.nodes.forEach(Wee), e_.addProjectionMetrics && e_.addProjectionMetrics(P_);}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;- this.root === this && (this.nodes = new Uee());+ this.root === this && (this.nodes = new Ree());}addEventListener(e, t) {- return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Fu()), this.eventHandlers.get(e).add(t);+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Iu()), this.eventHandlers.get(e).add(t);}notifyListeners(e, ...t) {let n = this.eventHandlers.get(e);@@ -17404,15 +17411,15 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}mount(t) {if (this.instance) return;- this.isSVG = lg(t) && !Cee(t), this.instance = t;+ this.isSVG = lg(t) && !vee(t), this.instance = t;let { layoutId: n, layout: r, visualElement: i } = this.options;if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {let n, r = 0, i = () => this.root.updateBlockedByResize = !1;- Of.read(() => {+ kf.read(() => {r = window.innerWidth;}), e(t, () => {let e = window.innerWidth;- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Jg(i, 250), D_.hasAnimatedSinceResize && (D_.hasAnimatedSinceResize = !1, this.nodes.forEach(I_)));+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = _ee(i, 250), N_.hasAnimatedSinceResize && (N_.hasAnimatedSinceResize = !1, this.nodes.forEach(H_)));});}n && this.root.registerSharedNode(n, this), this.addLayoutListener();@@ -17424,23 +17431,23 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.target = void 0, this.relativeTarget = void 0;return;}- let a = this.options.transition || n.getDefaultTransition() || ste, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !x_(this.targetLayout, i), l = !t && r;+ let a = this.options.transition || n.getDefaultTransition() || q_, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !D_(this.targetLayout, i), l = !t && r;if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);let t = {- ..._h(a, "layout"),+ ...vh(a, "layout"),onPlay: o,onComplete: s};(n.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);- } else t || I_(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();+ } else t || H_(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();this.targetLayout = i;}));}unmount() {this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);let e = this.getStack();- e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), this.hasLayoutListener = !1, kf(this.updateProjection);+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), this.hasLayoutListener = !1, Af(this.updateProjection);}blockUpdate() {this.updateManuallyBlocked = !0;@@ -17452,7 +17459,7 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn this.updateManuallyBlocked || this.updateBlockedByResize;}startUpdate() {- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(ite), this.animationId++);+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach($ee), this.animationId++);}getTransformTemplate() {let { visualElement: e } = this.options;@@ -17463,11 +17470,11 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.onExitComplete && this.options.onExitComplete();return;}- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && M_(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;- j_(this), this.isLayoutDirty = !0;+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && R_(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;+ L_(this), this.isLayoutDirty = !0;for (let e = 0; e < this.path.length; e++) {let t = this.path[e];- t.shouldResetTransform = !0, j_(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);+ t.shouldResetTransform = !0, L_(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);}let { layoutId: t, layout: n } = this.options;if (t === void 0 && !n) return;@@ -17477,39 +17484,39 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkupdate() {if (this.updateScheduled = !1, this.isUpdateBlocked()) {let e = this.updateBlockedByResize;- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Zee), this.nodes.forEach(P_);+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Kee), this.nodes.forEach(B_);return;}if (this.animationId <= this.animationCommitId) {- this.nodes.forEach(F_);+ this.nodes.forEach(V_);return;}- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach($ee), this.nodes.forEach(ete), this.nodes.forEach(tte), this.nodes.forEach(Kee), this.nodes.forEach(qee)) : this.nodes.forEach(F_), this.clearAllSnapshots();- let e = ld.now();- od.delta = Eu(0, 1e3 / 60, e - od.timestamp), od.timestamp = e, od.isProcessing = !0, Af.update.process(od), Af.preRender.process(od), Af.render.process(od), od.isProcessing = !1;+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Jee), this.nodes.forEach(Yee), this.nodes.forEach(Xee), this.nodes.forEach(Vee), this.nodes.forEach(Hee)) : this.nodes.forEach(V_), this.clearAllSnapshots();+ let e = ud.now();+ sd.delta = Du(0, 1e3 / 60, e - sd.timestamp), sd.timestamp = e, sd.isProcessing = !0, jf.update.process(sd), jf.preRender.process(sd), jf.render.process(sd), sd.isProcessing = !1;}didUpdate() {- this.updateScheduled || (this.updateScheduled = !0, Wg.read(this.scheduleUpdate));+ this.updateScheduled || (this.updateScheduled = !0, Zg.read(this.scheduleUpdate));}clearAllSnapshots() {- this.nodes.forEach(Xee), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));+ this.nodes.forEach(Gee), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));}scheduleUpdateProjection() {- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, Of.preRender(this.updateProjection, !1, !0));+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, kf.preRender(this.updateProjection, !1, !0));}scheduleCheckAfterUnmount() {- Of.postRender(() => {+ kf.postRender(() => {this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();});}updateSnapshot() {- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !i_(this.snapshot.measuredBox.x) && !i_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !u_(this.snapshot.measuredBox.x) && !u_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));}updateLayout() {if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();let e = this.layout;- this.layout = this.measure(!1), this.layoutCorrected ||= g_(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);+ this.layout = this.measure(!1), this.layoutCorrected ||= S_(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);let { visualElement: t } = this.options;t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);}@@ -17529,13 +17536,13 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkresetTransform() {if (!i) return;let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;- e && j_(this);- let t = this.projectionDelta && !v_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;+ e && L_(this);+ let t = this.projectionDelta && !w_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;e && this.instance && (t || Ag(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());}measure(e = !0) {let t = this.measurePageBox(), n = this.removeElementScroll(t);- return e && (n = this.removeTransform(n)), cte(n), {+ return e && (n = this.removeTransform(n)), Z_(n), {animationId: this.root.animationId,measuredBox: t,layoutBox: n,@@ -17545,42 +17552,42 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}measurePageBox() {let { visualElement: e } = this.options;- if (!e) return g_();+ if (!e) return S_();let t = e.measureViewportBox();- if (!(this.scroll?.wasRoot || this.path.some(lte))) {+ if (!(this.scroll?.wasRoot || this.path.some($_))) {let { scroll: e } = this.root;- e && (zg(t.x, e.offset.x), zg(t.y, e.offset.y));+ e && (Bg(t.x, e.offset.x), Bg(t.y, e.offset.y));}return t;}removeElementScroll(e) {- let t = g_();- if (n_(t, e), this.scroll?.wasRoot) return t;+ let t = S_();+ if (c_(t, e), this.scroll?.wasRoot) return t;for (let n = 0; n < this.path.length; n++) {let r = this.path[n], { scroll: i, options: a } = r;- r !== this.root && i && a.layoutScroll && (i.wasRoot && n_(t, e), zg(t.x, i.offset.x), zg(t.y, i.offset.y));+ r !== this.root && i && a.layoutScroll && (i.wasRoot && c_(t, e), Bg(t.x, i.offset.x), Bg(t.y, i.offset.y));}return t;}applyTransform(e, t = !1, n, r) {- let i = n || g_();- n_(i, e);+ let i = n || S_();+ c_(i, e);for (let e = 0; e < this.path.length; e++) {let n = this.path[e];- !t && n.options.layoutScroll && n.scroll && n !== n.root && (zg(i.x, -n.scroll.offset.x), zg(i.y, -n.scroll.offset.y)), Ag(n.latestValues) && Hg(i, n.latestValues, n.layout?.layoutBox);+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (Bg(i.x, -n.scroll.offset.x), Bg(i.y, -n.scroll.offset.y)), Ag(n.latestValues) && Ug(i, n.latestValues, n.layout?.layoutBox);}- return !r && Ag(this.latestValues) && Hg(i, this.latestValues, this.layout?.layoutBox), i;+ return !r && Ag(this.latestValues) && Ug(i, this.latestValues, this.layout?.layoutBox), i;}removeTransform(e) {- let t = g_();- n_(t, e);+ let t = S_();+ c_(t, e);for (let e = 0; e < this.path.length; e++) {let n = this.path[e];if (!Ag(n.latestValues)) continue;let r;- n.instance && (kg(n.latestValues) && n.updateSnapshot(), r = g_(), n_(r, n.measurePageBox())), f_(t, n.latestValues, n.snapshot?.layoutBox, r);+ n.instance && (kg(n.latestValues) && n.updateSnapshot(), r = S_(), c_(r, n.measurePageBox())), v_(t, n.latestValues, n.snapshot?.layoutBox, r);}- return Ag(this.latestValues) && f_(t, this.latestValues), t;+ return Ag(this.latestValues) && v_(t, this.latestValues), t;}setTargetDelta(e) {this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;@@ -17596,7 +17603,7 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;}forceRelativeParentToResolveTarget() {- this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== od.timestamp && this.relativeParent.resolveTargetDelta(!0);+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== sd.timestamp && this.relativeParent.resolveTargetDelta(!0);}resolveTargetDelta(e = !1) {let t = this.getLead();@@ -17605,9 +17612,9 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!(e || n && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;let { layout: r, layoutId: i } = this.options;if (!this.layout || !(r || i)) return;- this.resolvedRelativeTargetAt = od.timestamp;+ this.resolvedRelativeTargetAt = sd.timestamp;let a = this.getClosestProjectingParent();- !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = g_(), this.targetWithTransforms = g_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Pee(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : n_(this.target, this.layout.layoutBox), Ig(this.target, this.targetDelta)) : n_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), qg.value && O_.calculatedTargetDeltas++);+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = S_(), this.targetWithTransforms = S_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), kee(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : c_(this.target, this.layout.layoutBox), Ig(this.target, this.targetDelta)) : c_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), e_.value && P_.calculatedTargetDeltas++);}getClosestProjectingParent() {if (!(!this.parent || kg(this.parent.latestValues) || jg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();@@ -17616,21 +17623,21 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);}createRelativeTarget(e, t, n) {- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = g_(), this.relativeTargetOrigin = g_(), l_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), n_(this.relativeTarget, this.relativeTargetOrigin);+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = S_(), this.relativeTargetOrigin = S_(), h_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), c_(this.relativeTarget, this.relativeTargetOrigin);}removeRelativeTarget() {this.relativeParent = this.relativeTarget = void 0;}calcProjection() {let e = this.getLead(), t = !!this.resumingFrom || this !== e, n = !0;- if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === od.timestamp && (n = !1), n) return;+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === sd.timestamp && (n = !1), n) return;let { layout: r, layoutId: i } = this.options;if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;- n_(this.layoutCorrected, this.layout.layoutBox);+ c_(this.layoutCorrected, this.layout.layoutBox);let a = this.treeScale.x, o = this.treeScale.y;- hee(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = g_());+ zg(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = S_());let { target: s } = e;- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (r_(this.prevProjectionDelta.x, this.projectionDelta.x), r_(this.prevProjectionDelta.y, this.projectionDelta.y)), o_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && C_(this.projectionDelta.x, this.prevProjectionDelta.x) && C_(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), qg.value && O_.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (l_(this.prevProjectionDelta.x, this.projectionDelta.x), l_(this.prevProjectionDelta.y, this.projectionDelta.y)), f_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && k_(this.projectionDelta.x, this.prevProjectionDelta.x) && k_(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), e_.value && P_.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());}hide() {this.isVisible = !1;@@ -17646,22 +17653,22 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);}createProjectionDeltas() {- this.prevProjectionDelta = m_(), this.projectionDelta = m_(), this.projectionDeltaWithTransform = m_();+ this.prevProjectionDelta = b_(), this.projectionDelta = b_(), this.projectionDeltaWithTransform = b_();}setAnimationOrigin(e, t = !1, n) {- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = m_();+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = b_();this.relativeParent && this.relativeParent.options.layoutRoot || (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;- let s = g_(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(ote));+ let s = S_(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(K_));this.animationProgress = 0;let f, p = n?.interpolateProjection(e);this.mixTargetDelta = (t) => {let n = t / 1e3, r = p?.(n);- r ? (o.x.translate = r.x, o.x.scale = sf(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = sf(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (L_(o.x, e.x, n), L_(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (l_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), ate(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Ree(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= g_(), n_(f, this.relativeTarget)), c && (this.animationValues = a, Eee(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;+ r ? (o.x.translate = r.x, o.x.scale = cf(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = cf(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (U_(o.x, e.x, n), U_(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (h_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), G_(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Nee(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= S_(), c_(f, this.relativeTarget)), c && (this.animationValues = a, xee(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);}startAnimation(e) {- this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (kf(this.pendingAnimation), void 0), this.pendingAnimation = Of.update(() => {- D_.hasAnimatedSinceResize = !0, this.motionValue ||= hh(0), this.motionValue.jump(0, !1), this.currentAnimation = Gg(this.motionValue, [0, 1e3], {+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (Af(this.pendingAnimation), void 0), this.pendingAnimation = kf.update(() => {+ N_.hasAnimatedSinceResize = !0, this.motionValue ||= gh(0), this.motionValue.jump(0, !1), this.currentAnimation = Qg(this.motionValue, [0, 1e3], {...e,velocity: 0,isSync: !0,@@ -17671,7 +17678,7 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkonComplete: () => {e.onComplete && e.onComplete(), this.completeAnimation();}- }), mp(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;+ }), hp(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;});}completeAnimation() {@@ -17680,23 +17687,23 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checke && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");}finishAnimation() {- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Wee), this.currentAnimation.stop()), this.completeAnimation();+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(zee), this.currentAnimation.stop()), this.completeAnimation();}applyTransformsToTarget() {let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;if (t && i && n) {- if (this !== e && this.layout && n && H_(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {- i = this.target || g_();- let t = i_(this.layout.layoutBox.x);+ if (this !== e && this.layout && n && Q_(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {+ i = this.target || S_();+ let t = u_(this.layout.layoutBox.x);i.x.min = e.target.x.min, i.x.max = i.x.min + t;- let n = i_(this.layout.layoutBox.y);+ let n = u_(this.layout.layoutBox.y);i.y.min = e.target.y.min, i.y.max = i.y.min + n;}- n_(t, i), Hg(t, r), o_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);+ c_(t, i), Ug(t, r), f_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);}}registerSharedNode(e, t) {- this.sharedNodes.has(e) || this.sharedNodes.set(e, new zee()), this.sharedNodes.get(e).add(t);+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Pee()), this.sharedNodes.get(e).add(t);let n = t.options.initialPromotionConfig;t.promote({transition: n ? n.transition : void 0,@@ -17733,8 +17740,8 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet t = !1, { latestValues: n } = e;if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;let r = {};- n.z && A_("z", e, r, this.animationValues);- for (let t = 0; t < k_.length; t++) A_(`rotate${k_[t]}`, e, r, this.animationValues), A_(`skew${k_[t]}`, e, r, this.animationValues);+ n.z && I_("z", e, r, this.animationValues);+ for (let t = 0; t < F_.length; t++) I_(`rotate${F_[t]}`, e, r, this.animationValues), I_(`skew${F_[t]}`, e, r, this.animationValues);e.render();for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);e.scheduleRender();@@ -17747,71 +17754,71 @@ function N_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}let n = this.getTransformTemplate();if (this.needsReset) {- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = Yg(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = t_(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";return;}let r = this.getLead();if (!this.projectionDelta || !this.layout || !r.target) {- this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = Yg(t?.pointerEvents) || ""), this.hasProjected && !Ag(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = t_(t?.pointerEvents) || ""), this.hasProjected && !Ag(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);return;}e.visibility = "";let i = r.animationValues || r.latestValues;this.applyTransformsToTarget();- let a = Vee(this.projectionDeltaWithTransform, this.treeScale, i);+ let a = Iee(this.projectionDeltaWithTransform, this.treeScale, i);n && (a = n(i, a)), e.transform = a;let { x: o, y: s } = this.projectionDelta;e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;- for (let t in Kg) {+ for (let t in $g) {if (i[t] === void 0) continue;- let { correct: n, applyTo: o, isCSSVariable: s } = Kg[t], c = a === "none" ? i[t] : n(i[t], r);+ let { correct: n, applyTo: o, isCSSVariable: s } = $g[t], c = a === "none" ? i[t] : n(i[t], r);if (o) {let t = o.length;for (let n = 0; n < t; n++) e[o[n]] = c;} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;}- this.options.layoutId && (e.pointerEvents = r === this ? Yg(t?.pointerEvents) || "" : "none");+ this.options.layoutId && (e.pointerEvents = r === this ? t_(t?.pointerEvents) || "" : "none");}clearSnapshot() {this.resumeFrom = this.snapshot = this.dragSnapshot = this.dragAncestor = void 0;}resetTree() {- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(P_), this.root.sharedNodes.clear();+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(B_), this.root.sharedNodes.clear();}};}-function Kee(e) {- e.updateLayout(), Qee(e);+function Vee(e) {+ e.updateLayout(), qee(e);}-function qee(e) {+function Hee(e) {let t = e.resumeFrom?.snapshot || e.snapshot;if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;- if (i === "size") E_((e) => {- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = i_(r);+ if (i === "size") M_((e) => {+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = u_(r);r.min = n[e].min, r.max = r.min + i;});else if (i === "x" || i === "y") {let e = i === "x" ? "y" : "x";- t_(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);- } else H_(i, t.layoutBox, n) && E_((r) => {- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = i_(n[r]);+ s_(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);+ } else Q_(i, t.layoutBox, n) && M_((r) => {+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = u_(n[r]);i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);});- let o = m_();- o_(o, n, t.layoutBox);- let s = m_();- a ? o_(s, e.applyTransform(r, !0), t.measuredBox) : o_(s, n, t.layoutBox);- let c = !v_(o), l = !1;+ let o = b_();+ f_(o, n, t.layoutBox);+ let s = b_();+ a ? f_(s, e.applyTransform(r, !0), t.measuredBox) : f_(s, n, t.layoutBox);+ let c = !w_(o), l = !1;if (!e.resumeFrom) {let r = e.getClosestProjectingParent();if (r && !r.resumeFrom) {let { snapshot: i, layout: a } = r;if (i && a) {- let o = e.options.layoutAnchor || void 0, s = g_();- l_(s, t.layoutBox, i.layoutBox, o);- let c = g_();- l_(c, n, a.layoutBox, o), x_(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);+ let o = e.options.layoutAnchor || void 0, s = S_();+ h_(s, t.layoutBox, i.layoutBox, o);+ let c = S_();+ h_(c, n, a.layoutBox, o), D_(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);}}}@@ -17829,65 +17836,65 @@ function qee(e) {}e.options.transition = void 0;}-function Jee(e) {- qg.value && O_.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);+function Uee(e) {+ e_.value && P_.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);}-function Yee(e) {+function Wee(e) {e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;}-function Xee(e) {+function Gee(e) {e.clearSnapshot();}-function P_(e) {+function B_(e) {e.clearMeasurements();}-function Zee(e) {+function Kee(e) {e.isLayoutDirty = !0, e.updateLayout();}-function F_(e) {+function V_(e) {e.isLayoutDirty = !1;}-function Qee(e) {+function qee(e) {let { snapshot: t, dragAncestor: n } = e, r = n?.isAnimationBlocked && n.layout;if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;let i = n.dragSnapshot;- E_((e) => zg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));+ M_((e) => Bg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));}-function $ee(e) {+function Jee(e) {e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);}-function ete(e) {+function Yee(e) {e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));}-function tte(e) {+function Xee(e) {let { visualElement: t } = e.options;t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();}-function I_(e) {+function H_(e) {e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;}-function nte(e) {+function Zee(e) {e.resolveTargetDelta();}-function rte(e) {+function Qee(e) {e.calcProjection();}-function ite(e) {+function $ee(e) {e.resetSkewAndRotation();}-function L_(e, t, n) {- e.translate = sf(t.translate, 0, n), e.scale = sf(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;+function U_(e, t, n) {+ e.translate = cf(t.translate, 0, n), e.scale = cf(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;}-function R_(e, t, n, r) {- e.min = sf(t.min, n.min, r), e.max = sf(t.max, n.max, r);+function W_(e, t, n, r) {+ e.min = cf(t.min, n.min, r), e.max = cf(t.max, n.max, r);}-function ate(e, t, n, r) {- R_(e.x, t.x, n.x, r), R_(e.y, t.y, n.y, r);+function G_(e, t, n, r) {+ W_(e.x, t.x, n.x, r), W_(e.y, t.y, n.y, r);}-function ote(e) {+function K_(e) {return e.animationValues && e.animationValues.opacityExit !== void 0;}-var ste = {+var q_ = {duration: .45,ease: [.4,@@ -17895,58 +17902,58 @@ var ste = {.1,1]-}, z_ = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), B_ = z_("applewebkit/") && !z_("chrome/") ? Math.round : Mu;-function V_(e) {- e.min = B_(e.min), e.max = B_(e.max);+}, J_ = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Y_ = J_("applewebkit/") && !J_("chrome/") ? Math.round : Nu;+function X_(e) {+ e.min = Y_(e.min), e.max = Y_(e.max);}-function cte(e) {- V_(e.x), V_(e.y);+function Z_(e) {+ X_(e.x), X_(e.y);}-function H_(e, t, n) {- return e === "position" || e === "preserve-aspect" && !Nee(S_(t), S_(n), .2);+function Q_(e, t, n) {+ return e === "position" || e === "preserve-aspect" && !Oee(O_(t), O_(n), .2);}-function lte(e) {+function $_(e) {return e !== e.root && e.scroll?.wasRoot;}// node_modules/motion-dom/dist/es/events/add-dom-event.mjs-function U_(e, t, n, r = { passive: !0 }) {+function ev(e, t, n, r = { passive: !0 }) {return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);}// node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs-var ute = /* @__PURE__ */ N_({- attachResizeListener: (e, t) => U_(e, "resize", t),+var tv = /* @__PURE__ */ z_({+ attachResizeListener: (e, t) => ev(e, "resize", t),measureScroll: () => ({x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,y: document.documentElement.scrollTop || document.body?.scrollTop || 0}),checkIsScrollRoot: () => !0-}), W_ = { current: void 0 }, G_ = /* @__PURE__ */ N_({+}), nv = { current: void 0 }, rv = /* @__PURE__ */ z_({measureScroll: (e) => ({x: e.scrollLeft,y: e.scrollTop}),defaultParent: () => {- if (!W_.current) {- let e = new ute({});- e.mount(window), e.setOptions({ layoutScroll: !0 }), W_.current = e;+ if (!nv.current) {+ let e = new tv({});+ e.mount(window), e.setOptions({ layoutScroll: !0 }), nv.current = e;}- return W_.current;+ return nv.current;},resetTransform: (e, t) => {e.style.transform = t === void 0 ? "none" : t;},checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"-}), K_ = /* @__PURE__ */ new WeakMap();+}), iv = /* @__PURE__ */ new WeakMap();// node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs-function q_(e) {+function av(e) {return typeof e == "object" && !!e && typeof e.start == "function";}// node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs-function J_(e) {+function ov(e) {return typeof e == "string" || Array.isArray(e);}// node_modules/motion-dom/dist/es/render/utils/variant-props.mjs-var Y_ = [+var sv = ["animate","whileInView","whileFocus",@@ -17954,29 +17961,29 @@ var Y_ = ["whileTap","whileDrag","exit"-], X_ = /* @__PURE__ */ ["initial"].concat(Y_);+], cv = /* @__PURE__ */ ["initial"].concat(sv);// node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs-function Z_(e) {- if (q_(e.animate)) return !0;- for (let t = 0; t < X_.length; t++) if (J_(e[X_[t]])) return !0;+function lv(e) {+ if (av(e.animate)) return !0;+ for (let t = 0; t < cv.length; t++) if (ov(e[cv[t]])) return !0;return !1;}-function Q_(e) {- return !!(Z_(e) || e.variants);+function uv(e) {+ return !!(lv(e) || e.variants);}// node_modules/motion-dom/dist/es/render/utils/motion-values.mjs-function dte(e, t, n) {+function ete(e, t, n) {for (let r in t) {let i = t[r], a = n[r];- if (Rh(i)) e.addValue(r, i);- else if (Rh(a)) e.addValue(r, hh(i, { owner: e }));+ if (zh(i)) e.addValue(r, i);+ else if (zh(a)) e.addValue(r, gh(i, { owner: e }));else if (a !== i) {if (e.hasValue(r)) {let t = e.getValue(r);t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);} else {let t = e.getStaticValue(r);- e.addValue(r, hh(t === void 0 ? i : t, { owner: e }));+ e.addValue(r, gh(t === void 0 ? i : t, { owner: e }));}}}@@ -17984,17 +17991,17 @@ function dte(e, t, n) {return t;}// node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs-var $_ = { current: null }, ev = { current: !1 }, fte = typeof window < "u";-function tv() {- if (ev.current = !0, fte) {+var dv = { current: null }, fv = { current: !1 }, tte = typeof window < "u";+function pv() {+ if (fv.current = !0, tte) {if (window.matchMedia) {- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => $_.current = e.matches;+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => dv.current = e.matches;e.addEventListener("change", t), t();- } else $_.current = !1;+ } else dv.current = !1;}}// node_modules/motion-dom/dist/es/render/VisualElement.mjs-var nv = [+var mv = ["AnimationStart","AnimationComplete","Update",@@ -18002,35 +18009,35 @@ var nv = ["LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"-], rv = {};-function iv(e) {- rv = e;+], hv = {};+function gv(e) {+ hv = e;}-function av() {- return rv;+function nte() {+ return hv;}-var ov = class {+var rte = class {scrapeMotionValuesFromProps(e, t, n) {return {};}constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = lm, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = um, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));}, this.renderScheduledAt = 0, this.scheduleRender = () => {- let e = ld.now();- this.renderScheduledAt < e && (this.renderScheduledAt = e, Of.render(this.render, !1, !0));+ let e = ud.now();+ this.renderScheduledAt < e && (this.renderScheduledAt = e, kf.render(this.render, !1, !0));};let { latestValues: c, renderState: l } = o;- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = Z_(t), this.isVariantNode = Q_(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = lv(t), this.isVariantNode = uv(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);for (let e in d) {let t = d[e];- c[e] !== void 0 && Rh(t) && t.set(c[e]);+ c[e] !== void 0 && zh(t) && t.set(c[e]);}}mount(e) {if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];- if (this.current = e, K_.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.isVariantNode && !this.isControllingVariants) {+ if (this.current = e, iv.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.isVariantNode && !this.isControllingVariants) {let e = this;doe = e.props.inherit !== !1 && e.parent;@@ -18040,10 +18047,10 @@ var ov = class {t.add(this), this.removeFromVariantTree = () => t.delete(this);}}- this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (ev.current || tv(), this.shouldReduceMotion = $_.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;+ this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (fv.current || pv(), this.shouldReduceMotion = dv.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;}unmount() {- this.projection && this.projection.unmount(), kf(this.notifyUpdate), kf(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);+ this.projection && this.projection.unmount(), Af(this.notifyUpdate), Af(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);for (let e in this.events) this.events[e].clear();for (let e in this.features) {let t = this.features[e];@@ -18058,24 +18065,24 @@ var ov = class {this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);}bindToMotionValue(e, t) {- if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && jm.has(e) && this.current instanceof HTMLElement) {- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new Sm({+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && Mm.has(e) && this.current instanceof HTMLElement) {+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new Cm({element: this.current,name: e,keyframes: r,times: i,ease: a,- duration: /* @__PURE__ */ Iu(o)+ duration: /* @__PURE__ */ Lu(o)}), c = n(s);this.valueSubscriptions.set(e, () => {c(), s.cancel();});return;}- let n = Gp.has(e);+ let n = Kp.has(e);n && this.onBindTransform && this.onBindTransform();let r = t.on("change", (t) => {- this.latestValues[e] = t, this.props.onUpdate && Of.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), Vm.get(this.current)?.check()), this.scheduleRender();+ this.latestValues[e] = t, this.props.onUpdate && kf.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), Hm.get(this.current)?.check()), this.scheduleRender();}), i;typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {r(), i && i();@@ -18086,8 +18093,8 @@ var ov = class {}updateFeatures() {let e = "animation";- for (e in rv) {- let t = rv[e];+ for (e in hv) {+ let t = hv[e];if (!t) continue;let { isEnabled: n, Feature: r } = t;if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {@@ -18100,7 +18107,7 @@ var ov = class {this.build(this.renderState, this.latestValues, this.props);}measureViewportBox() {- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : g_();+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : S_();}getStaticValue(e) {return this.latestValues[e];@@ -18110,14 +18117,14 @@ var ov = class {}update(e, t) {let { transformTemplate: n, onUpdate: r } = this.props;- (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && Vm.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;- for (let t = 0; t < nv.length; t++) {- let n = nv[t];+ (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && Hm.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;+ for (let t = 0; t < mv.length; t++) {+ let n = mv[t];this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);let r = e["on" + n];r && (this.propEventSubscriptions[n] = this.on(n, r));}- this.prevMotionValues = dte(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();+ this.prevMotionValues = ete(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();}getProps() {return this.props;@@ -18150,27 +18157,27 @@ var ov = class {getValue(e, t) {if (this.props.values && this.props.values[e]) return this.props.values[e];let n = this.values.get(e);- return n === void 0 && t !== void 0 && (n = hh(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n;+ return n === void 0 && t !== void 0 && (n = gh(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n;}readValue(e, t) {let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);- return n != null && (typeof n == "string" && (Ou(n) || Au(n)) ? n = parseFloat(n) : typeof n != "number" && !nf.test(n) && nf.test(t) && (n = Ap(e, t)), this.setBaseTarget(e, Rh(n) ? n.get() : n)), Rh(n) ? n.get() : n;+ return n != null && (typeof n == "string" && (ku(n) || ju(n)) ? n = parseFloat(n) : typeof n != "number" && !rf.test(n) && rf.test(t) && (n = jp(e, t)), this.setBaseTarget(e, zh(n) ? n.get() : n)), zh(n) ? n.get() : n;}setBaseTarget(e, t) {this.baseTarget[e] = t;}on(e, t) {- return this.events[e] || (this.events[e] = new Fu()), this.events[e].add(t);+ return this.events[e] || (this.events[e] = new Iu()), this.events[e].add(t);}notify(e, ...t) {this.events[e] && this.events[e].notify(...t);}scheduleRenderMicrotask() {- Wg.render(this.render);+ Zg.render(this.render);}-}, sv = class extends ov {+}, _v = class extends rte {constructor() {- super(...arguments), this.KeyframeResolver = tg;+ super(...arguments), this.KeyframeResolver = ng;}sortInstanceNodePosition(e, t) {return e.compareDocumentPosition(t) & 2 ? 1 : -1;@@ -18185,105 +18192,105 @@ var ov = class {handleChildMotionValue() {this.childSubscription && (this.childSubscription(), delete this.childSubscription);let { children: e } = this.props;- Rh(e) && (this.childSubscription = e.on("change", (e) => {+ zh(e) && (this.childSubscription = e.on("change", (e) => {this.current && (this.current.textContent = `${e}`);}));}};// node_modules/motion-dom/dist/es/render/html/utils/render.mjs-function cv(e, { style: t, vars: n }, r, i) {+function vv(e, { style: t, vars: n }, r, i) {let a = e.style, o;for (o in t) a[o] = t[o];for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);}// node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs-function lv(e, { layout: t, layoutId: n }) {- return Gp.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!Kg[e] || e === "opacity");+function yv(e, { layout: t, layoutId: n }) {+ return Kp.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!$g[e] || e === "opacity");}// node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs-function uv(e, t, n) {+function bv(e, t, n) {let r = e.style, i = t?.style, a = {};if (!r) return a;- for (let t in r) (Rh(r[t]) || i && Rh(i[t]) || lv(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);+ for (let t in r) (zh(r[t]) || i && zh(i[t]) || yv(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);return a;}// node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs-function pte(e) {+function ite(e) {return window.getComputedStyle(e);}-var mte = class extends sv {+var ate = class extends _v {constructor() {- super(...arguments), this.type = "html", this.renderInstance = cv;+ super(...arguments), this.type = "html", this.renderInstance = vv;}mount(e) {e.style, super.mount(e);}readValueFromInstance(e, t) {- if (Gp.has(t)) return this.projection?.isProjecting ? Bp(t) : Hp(e, t);+ if (Kp.has(t)) return this.projection?.isProjecting ? Vp(t) : Up(e, t);{- let n = pte(e), r = (fd(t) ? n.getPropertyValue(t) : n[t]) || 0;+ let n = ite(e), r = (pd(t) ? n.getPropertyValue(t) : n[t]) || 0;return typeof r == "string" ? r.trim() : r;}}measureInstanceViewportBox(e, { transformPagePoint: t }) {- return Ug(e, t);+ return Wg(e, t);}build(e, t, n) {- xg(e, t, n.transformTemplate);+ Sg(e, t, n.transformTemplate);}scrapeMotionValuesFromProps(e, t, n) {- return uv(e, t, n);+ return bv(e, t, n);}-}, dv = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;+}, xv = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;// node_modules/motion-dom/dist/es/events/event-info.mjs-function fv(e) {+function Sv(e) {return { point: {x: e.pageX,y: e.pageY} };}-var hte = (e) => (t) => dv(t) && e(t, fv(t));+var ote = (e) => (t) => xv(t) && e(t, Sv(t));// node_modules/motion-dom/dist/es/events/add-pointer-event.mjs-function pv(e, t, n, r) {- return U_(e, t, hte(n), r);+function Cv(e, t, n, r) {+ return ev(e, t, ote(n), r);}// node_modules/motion-dom/dist/es/resize/handle-element.mjs-var mv = /* @__PURE__ */ new WeakMap(), hv, gv = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : lg(r) && "getBBox" in r ? r.getBBox()[t] : r[n], gte = /*@__PURE__*/ gv("inline", "width", "offsetWidth"), _te = /*@__PURE__*/ gv("block", "height", "offsetHeight");-function vte({ target: e, borderBoxSize: t }) {- mv.get(e)?.forEach((n) => {+var wv = /* @__PURE__ */ new WeakMap(), Tv, Ev = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : lg(r) && "getBBox" in r ? r.getBBox()[t] : r[n], ste = /*@__PURE__*/ Ev("inline", "width", "offsetWidth"), cte = /*@__PURE__*/ Ev("block", "height", "offsetHeight");+function lte({ target: e, borderBoxSize: t }) {+ wv.get(e)?.forEach((n) => {n(e, {get width() {- return gte(e, t);+ return ste(e, t);},get height() {- return _te(e, t);+ return cte(e, t);}});});}-function yte(e) {- e.forEach(vte);+function ute(e) {+ e.forEach(lte);}-function bte() {- typeof ResizeObserver < "u" && (hv = new ResizeObserver(yte));+function dte() {+ typeof ResizeObserver < "u" && (Tv = new ResizeObserver(ute));}-function xte(e, t) {- hv || bte();+function fte(e, t) {+ Tv || dte();let n = pg(e);return n.forEach((e) => {- let n = mv.get(e);- n || (n = /* @__PURE__ */ new Set(), mv.set(e, n)), n.add(t), hv?.observe(e);+ let n = wv.get(e);+ n || (n = /* @__PURE__ */ new Set(), wv.set(e, n)), n.add(t), Tv?.observe(e);}), () => {n.forEach((e) => {- let n = mv.get(e);- n?.delete(t), n?.size || hv?.unobserve(e);+ let n = wv.get(e);+ n?.delete(t), n?.size || Tv?.unobserve(e);});};}// node_modules/motion-dom/dist/es/resize/handle-window.mjs-var _v = /* @__PURE__ */ new Set(), vv;-function Ste() {- vv = () => {+var Dv = /* @__PURE__ */ new Set(), Ov;+function pte() {+ Ov = () => {let e = {get width() {return window.innerWidth;@@ -18292,26 +18299,26 @@ function Ste() {return window.innerHeight;}};- _v.forEach((t) => t(e));- }, window.addEventListener("resize", vv);+ Dv.forEach((t) => t(e));+ }, window.addEventListener("resize", Ov);}-function Cte(e) {- return _v.add(e), vv || Ste(), () => {- _v.delete(e), !_v.size && typeof vv == "function" && (window.removeEventListener("resize", vv), vv = void 0);+function mte(e) {+ return Dv.add(e), Ov || pte(), () => {+ Dv.delete(e), !Dv.size && typeof Ov == "function" && (window.removeEventListener("resize", Ov), Ov = void 0);};}// node_modules/motion-dom/dist/es/resize/index.mjs-function yv(e, t) {- return dg(typeof e == "function" ? Cte(e) : xte(e, t));+function kv(e, t) {+ return dg(typeof e == "function" ? mte(e) : fte(e, t));}// node_modules/motion-dom/dist/es/utils/distance.mjs-var bv = (e, t) => Math.abs(e - t);-function wte(e, t) {- let n = bv(e.x, t.x), r = bv(e.y, t.y);+var Av = (e, t) => Math.abs(e - t);+function hte(e, t) {+ let n = Av(e.x, t.x), r = Av(e.y, t.y);return Math.sqrt(n ** 2 + r ** 2);}// node_modules/motion-dom/dist/es/gestures/pan/PanSession.mjs-var xv = /*#__PURE__*/ new Set(["auto", "scroll"]), Sv = class {+var jv = /*#__PURE__*/ new Set(["auto", "scroll"]), Mv = class {constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {this.handleScroll(e.target);@@ -18319,8 +18326,8 @@ var xv = /*#__PURE__*/ new Set(["auto", "scroll"]), Sv = class {this.handleScroll(window);}, this.updatePoint = () => {if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Cv(this.lastRawMoveEventInfo, this.transformPagePoint));- let e = Tv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = wte(e.offset, {+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Nv(this.lastRawMoveEventInfo, this.transformPagePoint));+ let e = Fv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = hte(e.offset, {x: 0,y: 0}) >= this.distanceThreshold;@@ -18328,38 +18335,38 @@ var xv = /*#__PURE__*/ new Set(["auto", "scroll"]), Sv = class {let { point: r } = e;this.history.push({...r,- timestamp: ld.now()+ timestamp: ud.now()});let { onStart: i, onMove: a } = this.handlers;t || (i && i(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a && a(this.lastMoveEvent, e);}, this.handlePointerMove = (e, t) => {- this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Cv(t, this.transformPagePoint), this.hasPendingMove = !0, Of.update(this.updatePoint, !0);+ this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Nv(t, this.transformPagePoint), this.hasPendingMove = !0, kf.update(this.updatePoint, !0);}, this.handlePointerUp = (e, t) => {this.hasPendingMove && this.updatePoint(), this.end();let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;- let a = Tv(e.type === "pointercancel" ? this.lastMoveEventInfo : Cv(t, this.transformPagePoint), this.history);+ let a = Fv(e.type === "pointercancel" ? this.lastMoveEventInfo : Nv(t, this.transformPagePoint), this.history);this.startEvent && n && n(e, a), r && r(e, a);- }, !dv(e)) return;+ }, !xv(e)) return;this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;- let s = Cv(fv(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = od;+ let s = Nv(Sv(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = sd;this.history = [{...c,timestamp: l}];let { onSessionStart: u } = t;- u && u(e, Tv(s, this.history));+ u && u(e, Fv(s, this.history));let d = {passive: !0,capture: !0};- this.removeListeners = Nu(pv(this.contextWindow, "pointermove", this.handlePointerMove, d), pv(this.contextWindow, "pointerup", this.handlePointerUp, d), pv(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);+ this.removeListeners = Pu(Cv(this.contextWindow, "pointermove", this.handlePointerMove, d), Cv(this.contextWindow, "pointerup", this.handlePointerUp, d), Cv(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);}startScrollTracking(e) {let t = e.parentElement;for (; t;) {let e = getComputedStyle(t);- (xv.has(e.overflowX) || xv.has(e.overflowY)) && this.scrollPositions.set(t, {+ (jv.has(e.overflowX) || jv.has(e.overflowY)) && this.scrollPositions.set(t, {x: t.scrollLeft,y: t.scrollTop}), t = t.parentElement;@@ -18384,51 +18391,51 @@ var xv = /*#__PURE__*/ new Set(["auto", "scroll"]), Sv = class {x: r.x - t.x,y: r.y - t.y};- (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), Of.update(this.updatePoint, !0));+ (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), kf.update(this.updatePoint, !0));}updateHandlers(e) {this.handlers = e;}end() {- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), kf(this.updatePoint);+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), Af(this.updatePoint);}};-function Cv(e, t) {+function Nv(e, t) {return t ? { point: t(e.point) } : e;}-function wv(e, t) {+function Pv(e, t) {return {x: e.x - t.x,y: e.y - t.y};}-function Tv({ point: e }, t) {+function Fv({ point: e }, t) {return {point: e,- delta: wv(e, Ev(t)),- offset: wv(e, Tte(t)),- velocity: Ete(t, .1)+ delta: Pv(e, Iv(t)),+ offset: Pv(e, gte(t)),+ velocity: _te(t, .1)};}-function Tte(e) {+function gte(e) {return e[0];}-function Ev(e) {+function Iv(e) {return e[e.length - 1];}-function Ete(e, t) {+function _te(e, t) {if (e.length < 2) return {x: 0,y: 0};- let n = e.length - 1, r = null, i = Ev(e);- for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Iu(t)));) n--;+ let n = e.length - 1, r = null, i = Iv(e);+ for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Lu(t)));) n--;if (!r) return {x: 0,y: 0};- r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ Iu(t) * 2 && (r = e[1]);- let a = /* @__PURE__ */ Lu(i.timestamp - r.timestamp);+ r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ Lu(t) * 2 && (r = e[1]);+ let a = /* @__PURE__ */ Ru(i.timestamp - r.timestamp);if (a === 0) return {x: 0,y: 0@@ -18440,100 +18447,100 @@ function Ete(e, t) {return o.x === Infinity && (o.x = 0), o.y === Infinity && (o.y = 0), o;}// node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs-var Dte = /* @__PURE__ */ new Set([+var vte = /* @__PURE__ */ new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);-function Ote(e) {- return Dte.has(e.tagName) || e.isContentEditable === !0;+function yte(e) {+ return vte.has(e.tagName) || e.isContentEditable === !0;}-var kte = /* @__PURE__ */ new Set([+var bte = /* @__PURE__ */ new Set(["INPUT","SELECT","TEXTAREA"]);-function Ate(e) {- return kte.has(e.tagName) || e.isContentEditable === !0;+function xte(e) {+ return bte.has(e.tagName) || e.isContentEditable === !0;}// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs-var Dv = {+var Lv = {x: !1,y: !1};-function Ov() {- return Dv.x || Dv.y;+function Rv() {+ return Lv.x || Lv.y;}// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs-function jte(e) {- return e === "x" || e === "y" ? Dv[e] ? null : (Dv[e] = !0, () => {- Dv[e] = !1;- }) : Dv.x || Dv.y ? null : (Dv.x = Dv.y = !0, () => {- Dv.x = Dv.y = !1;+function Ste(e) {+ return e === "x" || e === "y" ? Lv[e] ? null : (Lv[e] = !0, () => {+ Lv[e] = !1;+ }) : Lv.x || Lv.y ? null : (Lv.x = Lv.y = !0, () => {+ Lv.x = Lv.y = !1;});}// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs-function Mte(e, { min: t, max: n }, r) {- return t !== void 0 && e < t ? e = r ? sf(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? sf(n, e, r.max) : Math.min(e, n)), e;+function Cte(e, { min: t, max: n }, r) {+ return t !== void 0 && e < t ? e = r ? cf(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? cf(n, e, r.max) : Math.min(e, n)), e;}-function kv(e, t, n) {+function zv(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 Nte(e, { top: t, left: n, bottom: r, right: i }) {+function wte(e, { top: t, left: n, bottom: r, right: i }) {return {- x: kv(e.x, n, i),- y: kv(e.y, t, r)+ x: zv(e.x, n, i),+ y: zv(e.y, t, r)};}-function Av(e, t) {+function Bv(e, t) {let n = t.min - e.min, r = t.max - e.max;return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {min: n,max: r};}-function Pte(e, t) {+function Tte(e, t) {return {- x: Av(e.x, t.x),- y: Av(e.y, t.y)+ x: Bv(e.x, t.x),+ y: Bv(e.y, t.y)};}-function Fte(e, t) {- let n = .5, r = i_(e), i = i_(t);- return i > r ? n = /* @__PURE__ */ Pu(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Pu(e.min, e.max - i, t.min)), Eu(0, 1, n);+function Ete(e, t) {+ let n = .5, r = u_(e), i = u_(t);+ return i > r ? n = /* @__PURE__ */ Fu(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Fu(e.min, e.max - i, t.min)), Du(0, 1, n);}-function Ite(e, t) {+function Dte(e, t) {let n = {};return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;}-var jv = .35;-function Lte(e = jv) {- return e === !1 ? e = 0 : e === !0 && (e = jv), {- x: Mv(e, "left", "right"),- y: Mv(e, "top", "bottom")+var Vv = .35;+function Ote(e = Vv) {+ return e === !1 ? e = 0 : e === !0 && (e = Vv), {+ x: Hv(e, "left", "right"),+ y: Hv(e, "top", "bottom")};}-function Mv(e, t, n) {+function Hv(e, t, n) {return {- min: Nv(e, t),- max: Nv(e, n)+ min: Uv(e, t),+ max: Uv(e, n)};}-function Nv(e, t) {+function Uv(e, t) {return typeof e == "number" ? e : e[t] || 0;}// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs-var Rte = /* @__PURE__ */ new WeakMap(), zte = class {+var kte = /* @__PURE__ */ new WeakMap(), Ate = class {constructor(e, t = () => e.getProps()) {this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {x: 0,y: 0- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = g_(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = S_(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;}start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {let { presenceContext: r } = this.visualElement;@@ -18542,19 +18549,19 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {t && this.snapToCursor(e), this.stopAnimation();}, a = (e, t) => {let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();- if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = jte(n), !this.openDragLock)) return;- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), E_((e) => {+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = Ste(n), !this.openDragLock)) return;+ this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), M_((e) => {let t = this.getAxisMotionValue(e).get() || 0;- if (md(t) && (t = Oh(t, this.visualElement.current) || 0), W.test(t)) t = parseFloat(t);- else if (Md.test(t)) {+ if (hd(t) && (t = kh(t, this.visualElement.current) || 0), W.test(t)) t = parseFloat(t);+ else if (Nd.test(t)) {let { projection: n } = this.visualElement;if (n && n.layout) {let r = n.layout.layoutBox[e];- r && (t = i_(r) * (parseFloat(t) / 100));+ r && (t = u_(r) * (parseFloat(t) / 100));}}this.originPoint[e] = t;- }), i && Of.update(() => i(e, t), !1, !0), Bh(this.visualElement, "transform");+ }), i && kf.update(() => i(e, t), !1, !0), Vh(this.visualElement, "transform");let { animationState: a } = this.visualElement;a && a.setActive("whileDrag", !0);}, o = (e, t) => {@@ -18563,10 +18570,10 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {if (!n && !this.openDragLock) return;let { offset: o } = t;if (r && this.currentDirection === null) {- if (this.currentDirection = Vte(o), this.currentDirection === null) return;+ if (this.currentDirection = Mte(o), this.currentDirection === null) return;i && i(this.currentDirection);}- this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && Of.update(() => a(e, t), !1, !0);+ this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && kf.update(() => a(e, t), !1, !0);}, s = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;}, c = () => {@@ -18576,7 +18583,7 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {y: 0});}, { dragSnapToOrigin: l } = this.getProps();- this.panSession = new Sv(e, {+ this.panSession = new Mv(e, {onSessionStart: i,onStart: a,onMove: o,@@ -18596,7 +18603,7 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {let { velocity: o } = i;this.startAnimation(o, n);let { onDragEnd: s } = this.getProps();- s && Of.postRender(() => s(r, i));+ s && kf.postRender(() => s(r, i));}cancel() {this.isDragging = !1;@@ -18610,32 +18617,32 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {}updateAxis(e, t, n) {let { drag: r } = this.getProps();- if (!n || !Lv(e, r, this.currentDirection)) return;+ if (!n || !qv(e, r, this.currentDirection)) return;let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];- this.constraints && this.constraints[e] && (a = Mte(a, this.constraints[e], this.elastic[e])), i.set(a);+ this.constraints && this.constraints[e] && (a = Cte(a, this.constraints[e], this.elastic[e])), i.set(a);}resolveConstraints() {let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;- Pv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Nte(n.layoutBox, e) : !1, this.elastic = Lte(t), r !== this.constraints && !Pv(e) && n && this.constraints && !this.hasMutatedConstraints && E_((e) => {- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Ite(n.layoutBox[e], this.constraints[e]));+ Wv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? wte(n.layoutBox, e) : !1, this.elastic = Ote(t), r !== this.constraints && !Wv(e) && n && this.constraints && !this.hasMutatedConstraints && M_((e) => {+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Dte(n.layoutBox[e], this.constraints[e]));});}resolveRefConstraints() {let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();- if (!Pv(e)) return !1;- let n = Fv(e), { projection: r } = this.visualElement;+ if (!Wv(e)) return !1;+ let n = Gv(e), { projection: r } = this.visualElement;if (!r || !r.layout) return !1;r.root && (r.root.scroll = void 0, r.root.updateScroll());- let i = gee(n, r.root, this.visualElement.getTransformPagePoint()), a = Pte(r.layout.layoutBox, i);+ let i = Gg(n, r.root, this.visualElement.getTransformPagePoint()), a = Tte(r.layout.layoutBox, i);if (t) {- let e = t(pee(a));+ let e = t(mee(a));this.hasMutatedConstraints = !!e, e && (a = Dg(e));}return a;}startAnimation(e, t) {- let { drag: n, dragMomentum: r, dragElastic: i, dragTransition: a, dragSnapToOrigin: o, onDragTransitionEnd: s } = this.getProps(), c = this.constraints || {}, l = E_((s) => {- if (!Lv(s, t || n, this.currentDirection)) return;+ let { drag: n, dragMomentum: r, dragElastic: i, dragTransition: a, dragSnapToOrigin: o, onDragTransitionEnd: s } = this.getProps(), c = this.constraints || {}, l = M_((s) => {+ if (!qv(s, t || n, this.currentDirection)) return;let l = c && c[s] || {};(o === !0 || o === s) && (l = {min: 0,@@ -18658,10 +18665,10 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {}startAxisValueAnimation(e, t) {let n = this.getAxisMotionValue(e);- return Bh(this.visualElement, e), n.start(Th(e, n, 0, t, this.visualElement, !1));+ return Vh(this.visualElement, e), n.start(Eh(e, n, 0, t, this.visualElement, !1));}stopAnimation() {- E_((e) => this.getAxisMotionValue(e).stop());+ M_((e) => this.getAxisMotionValue(e).stop());}getAxisMotionValue(e) {let t = `_drag${e.toUpperCase()}`;@@ -18672,50 +18679,50 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {x: e,y: t}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();- E_((e) => {- if (!Lv(e, n, this.currentDirection)) return;+ M_((e) => {+ if (!qv(e, n, this.currentDirection)) return;let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];- t.set((t.get() || 0) + i[e] - sf(r, o, .5));+ t.set((t.get() || 0) + i[e] - cf(r, o, .5));});}scalePositionWithinConstraints() {if (!this.visualElement.current) return;let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;- if (!Pv(t) || !n || !this.constraints) return;+ if (!Wv(t) || !n || !this.constraints) return;this.stopAnimation();let r = this.constraints, i = {x: 0,y: 0};- E_((e) => {+ M_((e) => {let t = this.getAxisMotionValue(e).get();- i[e] = Fte({+ i[e] = Ete({min: t,max: t}, r[e]);});let { transformTemplate: a } = this.visualElement.getProps();- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), E_((t) => {+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), M_((t) => {let n = this.getAxisMotionValue(t);- if (!Lv(t, e, null) || !n.get()) return;+ if (!qv(t, e, null) || !n.get()) return;let { min: r, max: a } = this.constraints[t];- n.set(sf(r, a, i[t]));+ n.set(cf(r, a, i[t]));}), this.visualElement.render();}addListeners() {if (!this.visualElement.current) return;- Rte.set(this.visualElement, this);- let e = this.visualElement.current, t = pv(e, "pointerdown", (t) => {- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Ate(i);+ kte.set(this.visualElement, this);+ let e = this.visualElement.current, t = Cv(e, "pointerdown", (t) => {+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && xte(i);n && r && !a && this.start(t);}), n, r = () => {- let { dragConstraints: t } = this.getProps(), r = Pv(t) && Fv(t);- r && (this.constraints = this.resolveRefConstraints(), n ||= Bte(e, r, () => this.scalePositionWithinConstraints()));+ let { dragConstraints: t } = this.getProps(), r = Wv(t) && Gv(t);+ r && (this.constraints = this.resolveRefConstraints(), n ||= jte(e, r, () => this.scalePositionWithinConstraints()));}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), Of.read(r);- let o = U_(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {- this.isDragging && t && (E_((t) => {- if (!Lv(t, this.getProps().drag, this.currentDirection)) return;+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), kf.read(r);+ let o = ev(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {+ this.isDragging && t && (M_((t) => {+ if (!qv(t, this.getProps().drag, this.currentDirection)) return;let n = this.getAxisMotionValue(t);this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate);}), this.visualElement.render());@@ -18725,7 +18732,7 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {};}getProps() {- let e = this.readProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = jv, dragMomentum: o = !0 } = e;+ let e = this.readProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = Vv, dragMomentum: o = !0 } = e;return {...e,drag: t,@@ -18737,31 +18744,31 @@ var Rte = /* @__PURE__ */ new WeakMap(), zte = class {};}};-function Pv(e) {+function Wv(e) {return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);}-var Fv = (e) => "current" in e ? e.current : e;-function Iv(e) {+var Gv = (e) => "current" in e ? e.current : e;+function Kv(e) {let t = !0;return () => {t ? t = !1 : e();};}-function Bte(e, t, n) {- let r = yv(e, Iv(n)), i = yv(t, Iv(n));+function jte(e, t, n) {+ let r = kv(e, Kv(n)), i = kv(t, Kv(n));return () => {r(), i();};}-function Lv(e, t, n) {+function qv(e, t, n) {return (t === !0 || t === e) && (n === null || n === e);}-function Vte(e, t = 10) {+function Mte(e, t = 10) {let n = null;return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;}// node_modules/motion-dom/dist/es/gestures/utils/setup.mjs-function Rv(e, t) {+function Jv(e, t) {let n = pg(e), r = new AbortController();return [n,@@ -18774,12 +18781,12 @@ function Rv(e, t) {];}// node_modules/motion-dom/dist/es/gestures/hover.mjs-function Hte(e) {- return !(e.pointerType === "touch" || Ov());+function Nte(e) {+ return !(e.pointerType === "touch" || Rv());}-function Ute(e, t, n = {}) {+function Pte(e, t, n = {}) {t = fg(t);- let [r, i, a] = Rv(e, n);+ let [r, i, a] = Jv(e, n);return r.forEach((e) => {let n = !1, r = !1, a, o = () => {e.removeEventListener("pointerleave", u);@@ -18793,7 +18800,7 @@ function Ute(e, t, n = {}) {e.pointerType !== "touch" && (n ? r = !0 : s(e));};e.addEventListener("pointerenter", (n) => {- if (!Hte(n)) return;+ if (!Nte(n)) return;r = !1;let o = t(e, n);typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));@@ -18801,71 +18808,71 @@ function Ute(e, t, n = {}) {}), a;}// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs-var zv = (e, t) => t ? e === t || zv(e, t.parentElement) : !1, Bv = /* @__PURE__ */ new WeakSet();+var Yv = (e, t) => t ? e === t || Yv(e, t.parentElement) : !1, Xv = /* @__PURE__ */ new WeakSet();// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs-function Vv(e) {+function Zv(e) {return (t) => {t.key === "Enter" && e(t);};}-function Hv(e, t) {+function Qv(e, t) {e.dispatchEvent(new PointerEvent("pointer" + t, {isPrimary: !0,bubbles: !0}));}-var Wte = (e, t) => {- let n = !1, r = Vv(() => {- Bv.has(e) || (n = !0, Hv(e, "down"));- }), i = Vv(() => {- n && (n = !1, Hv(e, "up"));+var Fte = (e, t) => {+ let n = !1, r = Zv(() => {+ Xv.has(e) || (n = !0, Qv(e, "down"));+ }), i = Zv(() => {+ n && (n = !1, Qv(e, "up"));});e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && Hv(e, "cancel");+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && Qv(e, "cancel");}, {...t,once: !0});};// node_modules/motion-dom/dist/es/gestures/press/index.mjs-function Uv(e) {- return dv(e) && !Ov();+function $v(e) {+ return xv(e) && !Rv();}-var Wv = /* @__PURE__ */ new WeakSet();-function Gte(e, t, n = {}) {+var ey = /* @__PURE__ */ new WeakSet();+function Ite(e, t, n = {}) {t = fg(t);- let [r, i, a] = Rv(e, n), o = (e) => {+ let [r, i, a] = Jv(e, n), o = (e) => {let r = e.currentTarget;- if (!Uv(e) || Wv.has(e)) return;- Bv.add(r), n.stopPropagation && Wv.add(e);+ if (!$v(e) || ey.has(e)) return;+ Xv.add(r), n.stopPropagation && ey.add(e);let a = t(r, e), o = {...i,capture: !0}, s = (e, t) => {- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Bv.has(r) && Bv.delete(r), Uv(e) && typeof a == "function" && a(e, { success: t });+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Xv.has(r) && Xv.delete(r), $v(e) && typeof a == "function" && a(e, { success: t });}, c = (e) => {- s(e, r === window || r === document || n.useGlobalTarget || zv(r, e.target));+ s(e, r === window || r === document || n.useGlobalTarget || Yv(r, e.target));}, l = (e) => {s(e, !1);};window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);};return r.forEach((e) => {- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), cg(e) && (e.addEventListener("focus", () => Wte(e, i), i), !Ote(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), cg(e) && (e.addEventListener("focus", () => Fte(e, i), i), !yte(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));}), a;}// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs-function Gv(e, t) {+function ty(e, t) {let n = window.getComputedStyle(e);- return um(t) ? n.getPropertyValue(t) : n[t];+ return dm(t) ? n.getPropertyValue(t) : n[t];}// node_modules/motion-dom/dist/es/render/Feature.mjs-var Kv = class {+var ny = class {constructor(e) {this.isMounted = !1, this.node = e;}update() {}-}, qv = /* @__PURE__ */ new Set([+}, ry = /* @__PURE__ */ new Set(["baseFrequency","diffuseConstant","kernelMatrix",@@ -18889,58 +18896,58 @@ var Kv = class {"startOffset","textLength","lengthAdjust"-]), Jv = (e) => typeof e == "string" && e.toLowerCase() === "svg";+]), iy = (e) => typeof e == "string" && e.toLowerCase() === "svg";// node_modules/motion-dom/dist/es/render/svg/utils/render.mjs-function Kte(e, t, n, r) {- cv(e, t, void 0, r);- for (let n in t.attrs) e.setAttribute(qv.has(n) ? n : bg(n), t.attrs[n]);+function Lte(e, t, n, r) {+ vv(e, t, void 0, r);+ for (let n in t.attrs) e.setAttribute(ry.has(n) ? n : xg(n), t.attrs[n]);}// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs-function Yv(e, t, n) {- let r = uv(e, t, n);- for (let n in e) if (n !== "children" && (Rh(e[n]) || Rh(t[n]))) {- let t = Wp.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);+function ay(e, t, n) {+ let r = bv(e, t, n);+ for (let n in e) if (n !== "children" && (zh(e[n]) || zh(t[n]))) {+ let t = Gp.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);r[t] = e[n];}return r;}// node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs-var qte = class extends sv {+var Rte = class extends _v {constructor() {- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = g_;+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = S_;}getBaseTargetFromProps(e, t) {- return Gp.has(t) ? super.getBaseTargetFromProps(e, t) ?? Bp(t) : e[t];+ return Kp.has(t) ? super.getBaseTargetFromProps(e, t) ?? Vp(t) : e[t];}getDefaultValue(e) {- return Gp.has(e) ? this.latestValues[e] ?? Bp(e) : void 0;+ return Kp.has(e) ? this.latestValues[e] ?? Vp(e) : void 0;}readValueFromInstance(e, t) {- if (Gp.has(t)) {- let e = Op(t);+ if (Kp.has(t)) {+ let e = kp(t);return e && e.default || 0;}if (Cg.includes(t)) {let n = getComputedStyle(e)[t];if (typeof n == "string" && n) return n.trim();}- return t = qv.has(t) ? t : bg(t), e.getAttribute(t);+ return t = ry.has(t) ? t : xg(t), e.getAttribute(t);}scrapeMotionValuesFromProps(e, t, n) {- return Yv(e, t, n);+ return ay(e, t, n);}build(e, t, n) {wg(e, t, this.isSVGTag, n.transformTemplate, n.style);}renderInstance(e, t, n, r) {- Kte(e, t, n, r);+ Lte(e, t, n, r);}mount(e) {- this.isSVGTag = Jv(e.tagName), super.mount(e);+ this.isSVGTag = iy(e.tagName), super.mount(e);}};// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs-function Xv(e, t) {+function oy(e, t) {if (!Array.isArray(t)) return !1;let n = t.length;if (n !== e.length) return !1;@@ -18948,19 +18955,19 @@ function Xv(e, t) {return !0;}// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs-var Jte = [...Y_].reverse();-function Yte(e) {- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => qh(e, t, n))), n = Zv(), r = !0, i = !1;+var zte = [...sv].reverse();+function Bte(e) {+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Jh(e, t, n))), n = sy(), r = !0, i = !1;function a(a) {let { props: o, parent: s, manuallyAnimateOnMount: c } = e, l = r || i, u = [], d = /* @__PURE__ */ new Set(), f = {}, p = Infinity, m = e;dom = m.props.inherit !== !1 && m.parent;while (m && !m.isControllingVariants);- if (Jte.forEach((t, r) => {- let i = n[t], h = o[t], g = m && m.props[t], _ = h === void 0 ? J_(g) || g === !1 ? g : void 0 : h, v = J_(_), y = t === a ? i.isActive : null;+ if (zte.forEach((t, r) => {+ let i = n[t], h = o[t], g = m && m.props[t], _ = h === void 0 ? ov(g) || g === !1 ? g : void 0 : h, v = ov(_), y = t === a ? i.isActive : null;y === !1 && (p = r);let b = v && h === void 0 && !(l && c);- if (i.protectedKeys = { ...f }, !i.isActive && y === null || !_ && !i.prevProp || q_(_) || typeof _ == "boolean") return;+ if (i.protectedKeys = { ...f }, !i.isActive && y === null || !_ && !i.prevProp || av(_) || typeof _ == "boolean") return;if (t === "exit" && i.isActive && y !== !0) {f = {...f,@@ -18968,9 +18975,9 @@ function Yte(e) {};return;}- let x = Xte(i.prevProp, _), S = x || v && (y && !b || r > p), C = !1, w = Array.isArray(_) ? _ : [_], T = {};+ let x = Vte(i.prevProp, _), S = x || v && (y && !b || r > p), C = !1, w = Array.isArray(_) ? _ : [_], T = {};if (y !== !1) for (let n of w) {- let { transition: r, transitionEnd: i, ...a } = jh(e, n, Mh(e, t)) || {};+ let { transition: r, transitionEnd: i, ...a } = Mh(e, n, Nh(e, t)) || {};T = {...T,...a,@@ -18983,7 +18990,7 @@ function Yte(e) {...T}) {if (t in f) continue;- let n = T[t], r = E[t], a = Array.isArray(n) && Array.isArray(r) ? !Xv(n, r) || x : n !== r;+ let n = T[t], r = E[t], a = Array.isArray(n) && Array.isArray(r) ? !oy(n, r) || x : n !== r;if (a && n == null) d.add(t);else if (a || n !== void 0 && d.has(t)) {S = !0, d.delete(t) && (C = !0), i.needsAnimating[t] = !0;@@ -18997,8 +19004,8 @@ function Yte(e) {}), S && (!(b && x) || C)) for (let n of w) {let r = { type: t };if (typeof n == "string" && l && c && s?.enteringChildren) {- let t = jh(s, n)?.transition?.delayChildren;- r.delay = uh(s.enteringChildren, e, t);+ let t = Mh(s, n)?.transition?.delayChildren;+ r.delay = dh(s.enteringChildren, e, t);}u.push({animation: n,@@ -19006,12 +19013,12 @@ function Yte(e) {});}}), d.size) {- let { initial: t } = o, n = {}, r = typeof t != "boolean" && jh(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom);+ let { initial: t } = o, n = {}, r = typeof t != "boolean" && Mh(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom);r && r.transition && (n.transition = r.transition), d.forEach((i) => {let a = e.getValue(i);a && (a.liveStyle = !0);let s = r && !Array.isArray(t) ? r[i] : void 0, c = e.getBaseTargetFromProps(o, i);- n[i] = (s === void 0 ? c !== void 0 && !Rh(c) ? c : e.initialValues[i] === void 0 ? e.baseTarget[i] : void 0 : s) ?? null;+ n[i] = (s === void 0 ? c !== void 0 && !zh(c) ? c : e.initialValues[i] === void 0 ? e.baseTarget[i] : void 0 : s) ?? null;}), u.push({ animation: n });}let h = l && e.blockInitialAnimation || r && !c && (o.initial === !1 || o.initial === o.animate);@@ -19032,16 +19039,16 @@ function Yte(e) {},getState: () => n,reset: () => {- n = Zv(), i = !0;+ n = sy(), i = !0;}};}-function Xte(e, t) {- return typeof t == "string" ? t !== e : Array.isArray(t) ? !Xv(t, e) : !1;+function Vte(e, t) {+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !oy(t, e) : !1;}-function Zv() {+function sy() {let e = {};- for (let t of Y_) e[t] = {+ for (let t of sv) e[t] = {isActive: t === "animate",protectedKeys: {},needsAnimating: {},@@ -19050,35 +19057,35 @@ function Zv() {return e;}// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs-var Qv = /* @__PURE__ */ (0, P.createContext)({+var cy = /* @__PURE__ */ (0, P.createContext)({transformPagePoint: (e) => e,isStatic: !1,reducedMotion: "never"});// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs-function $v(e, t) {+function ly(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}-function Zte(...e) {+function Hte(...e) {return (t) => {let n = !1, r = e.map((e) => {- let r = $v(e, t);+ let r = ly(e, t);return !n && typeof r == "function" && (n = !0), r;});if (n) return () => {for (let t = 0; t < r.length; t++) {let n = r[t];- typeof n == "function" ? n() : $v(e[t], null);+ typeof n == "function" ? n() : ly(e[t], null);}};};}-function Qte(...e) {- return P.useCallback(Zte(...e), e);+function uy(...e) {+ return P.useCallback(Hte(...e), e);}// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs-var $te = class extends P.Component {+var dy = class extends P.Component {getSnapshotBeforeUpdate(e) {let t = this.props.getElement();if (cg(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {@@ -19092,7 +19099,7 @@ var $te = class extends P.Component {return this.props.children;}};-function ene({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {+function Ute({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {let s = (0, P.useId)(), c = (0, P.useRef)(null), l = (0, P.useRef)({width: 0,height: 0,@@ -19101,7 +19108,7 @@ function ene({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:right: 0,bottom: 0,direction: "ltr"- }), { nonce: u } = (0, P.useContext)(Qv), d = Qte(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current;+ }), { nonce: u } = (0, P.useContext)(cy), d = uy(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current;return (0, P.useInsertionEffect)(() => {let { width: e, height: o, top: c, left: d, right: p, bottom: m, direction: h } = l.current, g = f();if (t || a === !1 || !g || !e || !o) return;@@ -19121,7 +19128,7 @@ function ene({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:`), () => {g.removeAttribute("data-motion-pop-id"), S.contains(x) && S.removeChild(x);};- }, [t]), (0, F.jsx)($te, {+ }, [t]), (0, F.jsx)(dy, {isPresent: t,getElement: f,sizeRef: l,@@ -19130,9 +19137,9 @@ function ene({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:});}// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs-var tne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {- let u = xu(nne), d = (0, P.useId)(), f = (0, P.useRef)(), p = (0, P.useRef)(n), m = (0, P.useRef)(r);- Su(() => {+var Wte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {+ let u = Su(Gte), d = (0, P.useId)(), f = (0, P.useRef)(), p = (0, P.useRef)(n), m = (0, P.useRef)(r);+ Cu(() => {p.current = n, m.current = r;});let h = !0, g = (0, P.useMemo)(() => (h = !1, {@@ -19157,7 +19164,7 @@ var tne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: iu.forEach((e, t) => u.set(t, !1));}, [n]), P.useEffect(() => {!n && !u.size && r && r();- }, [n]), e = (0, F.jsx)(ene, {+ }, [n]), e = (0, F.jsx)(Ute, {pop: o === "popLayout",isPresent: n,anchorX: s,@@ -19165,17 +19172,17 @@ var tne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: iroot: l,popNode: f,children: e- }), (0, F.jsx)(Cu.Provider, {+ }), (0, F.jsx)(wu.Provider, {value: g,children: e});};-function nne() {+function Gte() {return /* @__PURE__ */ new Map();}// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs-function ey(e = !0) {- let t = (0, P.useContext)(Cu);+function fy(e = !0) {+ let t = (0, P.useContext)(wu);if (t === null) return [!0, null];let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, P.useId)();(0, P.useEffect)(() => {@@ -19188,24 +19195,24 @@ function ey(e = !0) {]);return !n && r ? [!1, o] : [!0];}-function ty() {- return rne((0, P.useContext)(Cu));+function py() {+ return Kte((0, P.useContext)(wu));}-function rne(e) {+function Kte(e) {return e === null || e.isPresent;}// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs-var ny = (e) => e.key || "";-function ry(e) {+var my = (e) => e.key || "";+function hy(e) {let t = [];return P.Children.forEach(e, (e) => {(0, P.isValidElement)(e) && t.push(e);}), t;}// node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs-var iy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {- let [u, d] = ey(o), f = (0, P.useMemo)(() => ry(e), [e]), p = o && !u ? [] : f.map(ny), m = (0, P.useRef)(!0), h = xu(() => /* @__PURE__ */ new Map()), g = (0, P.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, P.useState)(f), [y, b] = (0, P.useState)(f);- Su(() => {+var gy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {+ let [u, d] = fy(o), f = (0, P.useMemo)(() => hy(e), [e]), p = o && !u ? [] : f.map(my), m = (0, P.useRef)(!0), h = Su(() => /* @__PURE__ */ new Map()), g = (0, P.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, P.useState)(f), [y, b] = (0, P.useState)(f);+ Cu(() => {o && !u && !y.length && d?.();}, [u,@@ -19217,10 +19224,10 @@ var iy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence(0, P.useEffect)(() => () => {let e = x.current;x.current = void 0, e?.();- }, [y]), Su(() => {+ }, [y]), Cu(() => {m.current = !1;for (let e = 0; e < y.length; e++) {- let t = ny(y[e]);+ let t = my(y[e]);p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);}}, [@@ -19232,15 +19239,15 @@ var iy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceif (f !== _) {let e = [...f], t = 0;for (let n of y) {- let r = p.indexOf(ny(n));+ let r = p.indexOf(my(n));r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;}- return S.every((e) => h.get(ny(e))) ? e = f : a === "wait" && (e = S), b(ry(e)), v(f), null;+ return S.every((e) => h.get(my(e))) ? e = f : a === "wait" && (e = S), b(hy(e)), v(f), null;}- let { forceRender: C } = (0, P.useContext)(bu);+ let { forceRender: C } = (0, P.useContext)(xu);return (0, F.jsx)(F.Fragment, { children: y.map((e) => {- let _ = ny(e), b = o && !u ? !1 : f === y || p.includes(_);- return (0, F.jsx)(tne, {+ let _ = my(e), b = o && !u ? !1 : f === y || p.includes(_);+ return (0, F.jsx)(Wte, {isPresent: b,initial: !m.current || n ? void 0 : !1,custom: t,@@ -19261,7 +19268,7 @@ var iy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presencechildren: e}, _);}) });-}, ay = /* @__PURE__ */ (0, P.createContext)({ strict: !1 }), oy = {+}, _y = /* @__PURE__ */ (0, P.createContext)({ strict: !1 }), vy = {animation: ["animate","variants",@@ -19298,32 +19305,32 @@ var iy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence"onViewportLeave"],layout: ["layout", "layoutId"]-}, sy = !1;-function ine() {- if (sy) return;+}, yy = !1;+function by() {+ if (yy) return;let e = {};- for (let t in oy) e[t] = { isEnabled: (e) => oy[t].some((t) => !!e[t]) };- iv(e), sy = !0;+ for (let t in vy) e[t] = { isEnabled: (e) => vy[t].some((t) => !!e[t]) };+ gv(e), yy = !0;}-function cy() {- return ine(), av();+function xy() {+ return by(), nte();}// node_modules/framer-motion/dist/es/motion/features/load-features.mjs-function ane(e) {- let t = cy();+function qte(e) {+ let t = xy();for (let n in e) t[n] = {...t[n],...e[n]};- iv(t);+ gv(t);}// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs-function one({ children: e, ...t }) {- let n = (0, P.useContext)(Qv);+function Jte({ children: e, ...t }) {+ let n = (0, P.useContext)(cy);t = {...n,...t- }, t.transition = gh(t.transition, n.transition), t.isStatic = xu(() => t.isStatic);+ }, t.transition = _h(t.transition, n.transition), t.isStatic = Su(() => t.isStatic);let r = (0, P.useMemo)(() => t, [JSON.stringify(t.transition),t.transformPagePoint,@@ -19331,77 +19338,77 @@ function one({ children: e, ...t }) {t.skipAnimations,t.isValidProp]);- return (0, F.jsx)(Qv.Provider, {+ return (0, F.jsx)(cy.Provider, {value: r,children: e});}// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs-var ly = /* @__PURE__ */ (0, P.createContext)({});+var Sy = /* @__PURE__ */ (0, P.createContext)({});// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs-function sne(e, t) {- if (Z_(e)) {+function Yte(e, t) {+ if (lv(e)) {let { initial: t, animate: n } = e;return {- initial: t === !1 || J_(t) ? t : void 0,- animate: J_(n) ? n : void 0+ initial: t === !1 || ov(t) ? t : void 0,+ animate: ov(n) ? n : void 0};}return e.inherit === !1 ? {} : t;}// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs-function cne(e) {- let { initial: t, animate: n } = sne(e, (0, P.useContext)(ly));+function Xte(e) {+ let { initial: t, animate: n } = Yte(e, (0, P.useContext)(Sy));return (0, P.useMemo)(() => ({initial: t,animate: n- }), [uy(t), uy(n)]);+ }), [Cy(t), Cy(n)]);}-function uy(e) {+function Cy(e) {return Array.isArray(e) ? e.join(" ") : e;}// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs-var dy = () => ({+var wy = () => ({style: {},transform: {},transformOrigin: {},vars: {}});// node_modules/framer-motion/dist/es/render/html/use-props.mjs-function fy(e, t, n) {- for (let r in t) !Rh(t[r]) && !lv(r, n) && (e[r] = t[r]);+function Ty(e, t, n) {+ for (let r in t) !zh(t[r]) && !yv(r, n) && (e[r] = t[r]);}-function lne({ transformTemplate: e }, t) {+function Zte({ transformTemplate: e }, t) {return (0, P.useMemo)(() => {- let n = dy();- return xg(n, t, e), Object.assign({}, n.vars, n.style);+ let n = wy();+ return Sg(n, t, e), Object.assign({}, n.vars, n.style);}, [t]);}-function une(e, t) {+function Qte(e, t) {let n = e.style || {}, r = {};- return fy(r, n, e), Object.assign(r, lne(e, t)), r;+ return Ty(r, n, e), Object.assign(r, Zte(e, t)), r;}-function dne(e, t) {- let n = {}, r = une(e, t);+function $te(e, t) {+ let n = {}, r = Qte(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 py = () => ({- ...dy(),+var Ey = () => ({+ ...wy(),attrs: {}});// node_modules/framer-motion/dist/es/render/svg/use-props.mjs-function fne(e, t, n, r) {+function ene(e, t, n, r) {let i = (0, P.useMemo)(() => {- let n = py();- return wg(n, t, Jv(r), e.transformTemplate, e.style), {+ let n = Ey();+ return wg(n, t, iy(r), e.transformTemplate, e.style), {...n.attrs,style: { ...n.style }};}, [t]);if (e.style) {let t = {};- return fy(t, e.style, e), {+ return Ty(t, e.style, e), {...i,style: {...t,@@ -19412,21 +19419,21 @@ function fne(e, t, n, r) {return i;}// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs-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 my(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);+var tne = /* @__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 Dy(e) {+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || tne.has(e);}// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs-function mne(e, t) {- return e.startsWith("on") ? !my(e) : t?.(e) ?? !my(e);+function nne(e, t) {+ return e.startsWith("on") ? !Dy(e) : t?.(e) ?? !Dy(e);}-function hne(e, t, n, r) {+function rne(e, t, n, r) {let i = {};- for (let a in e) a === "values" && typeof e.values == "object" || Rh(e[a]) || (mne(a, r) || n === !0 && my(a) || !t && !my(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);+ for (let a in e) a === "values" && typeof e.values == "object" || zh(e[a]) || (nne(a, r) || n === !0 && Dy(a) || !t && !Dy(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);return i;}// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs-var gne = [+var ine = ["animate","circle","defs",@@ -19454,40 +19461,40 @@ var gne = ["view"];// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs-function hy(e) {- return typeof e != "string" || e.includes("-") ? !1 : !!(gne.indexOf(e) > -1 || /[A-Z]/u.test(e));+function Oy(e) {+ return typeof e != "string" || e.includes("-") ? !1 : !!(ine.indexOf(e) > -1 || /[A-Z]/u.test(e));}// node_modules/framer-motion/dist/es/render/dom/use-render.mjs-function _ne(e, t, n, { latestValues: r }, i, a = !1, o, s) {- let c = (o ?? hy(e) ? fne : dne)(t, r, i, e), l = hne(t, typeof e == "string", a, s), u = e === P.Fragment ? {} : {+function ane(e, t, n, { latestValues: r }, i, a = !1, o, s) {+ let c = (o ?? Oy(e) ? ene : $te)(t, r, i, e), l = rne(t, typeof e == "string", a, s), u = e === P.Fragment ? {} : {...l,...c,ref: n- }, { children: d } = t, f = (0, P.useMemo)(() => Rh(d) ? d.get() : d, [d]);+ }, { children: d } = t, f = (0, P.useMemo)(() => zh(d) ? d.get() : d, [d]);return (0, P.createElement)(e, {...u,children: f});}// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs-function vne({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {+function one({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {return {- latestValues: yne(n, r, i, e),+ latestValues: sne(n, r, i, e),renderState: t()};}-function yne(e, t, n, r) {+function sne(e, t, n, r) {let i = {}, a = r(e, {});- for (let e in a) i[e] = Yg(a[e]);- let { initial: o, animate: s } = e, c = Z_(e), l = Q_(e);+ for (let e in a) i[e] = t_(a[e]);+ let { initial: o, animate: s } = e, c = lv(e), l = uv(e);t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));let u = n ? n.initial === !1 : !1;u ||= o === !1;let d = u ? s : o;- if (d && typeof d != "boolean" && !q_(d)) {+ if (d && typeof d != "boolean" && !av(d)) {let t = Array.isArray(d) ? d : [d];for (let n = 0; n < t.length; n++) {- let r = Ah(e, t[n]);+ let r = jh(e, t[n]);if (r) {let { transitionEnd: e, transition: t, ...n } = r;for (let e in n) {@@ -19504,18 +19511,18 @@ function yne(e, t, n, r) {}return i;}-var gy = (e) => (t, n) => {- let r = (0, P.useContext)(ly), i = (0, P.useContext)(Cu), a = () => vne(e, t, r, i);- return n ? a() : xu(a);-}, bne = /*@__PURE__*/ gy({- scrapeMotionValuesFromProps: uv,- createRenderState: dy-}), xne = /*@__PURE__*/ gy({- scrapeMotionValuesFromProps: Yv,- createRenderState: py-}), Sne = /* @__PURE__ */ Symbol.for("motionComponentSymbol");+var ky = (e) => (t, n) => {+ let r = (0, P.useContext)(Sy), i = (0, P.useContext)(wu), a = () => one(e, t, r, i);+ return n ? a() : Su(a);+}, cne = /*@__PURE__*/ ky({+ scrapeMotionValuesFromProps: bv,+ createRenderState: wy+}), lne = /*@__PURE__*/ ky({+ scrapeMotionValuesFromProps: ay,+ createRenderState: Ey+}), une = /* @__PURE__ */ Symbol.for("motionComponentSymbol");// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs-function Cne(e, t, n) {+function dne(e, t, n) {let r = (0, P.useRef)(n);(0, P.useInsertionEffect)(() => {r.current = n;@@ -19533,14 +19540,14 @@ function Cne(e, t, n) {}, [t]);}// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs-var _y = /* @__PURE__ */ (0, P.createContext)({});+var Ay = /* @__PURE__ */ (0, P.createContext)({});// node_modules/framer-motion/dist/es/utils/is-ref-object.mjs-function wne(e) {+function fne(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 Tne(e, t, n, r, i, a) {- let { visualElement: o } = (0, P.useContext)(ly), s = (0, P.useContext)(ay), c = (0, P.useContext)(Cu), l = (0, P.useContext)(Qv), u = l.reducedMotion, d = l.skipAnimations, f = (0, P.useRef)(null), p = (0, P.useRef)(!1);+function pne(e, t, n, r, i, a) {+ let { visualElement: o } = (0, P.useContext)(Sy), s = (0, P.useContext)(_y), c = (0, P.useContext)(wu), l = (0, P.useContext)(cy), 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,@@ -19551,14 +19558,14 @@ function Tne(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)(_y);- m && !m.projection && i && (m.type === "html" || m.type === "svg") && Ene(f.current, n, i, h), (0, P.useInsertionEffect)(() => {+ let m = f.current, h = (0, P.useContext)(Ay);+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && mne(f.current, n, i, h), (0, P.useInsertionEffect)(() => {m && m.props !== n && m.update(n, c);});- let g = n[Vh], _ = (0, P.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));- return Su(() => {+ let g = n[Hh], _ = (0, P.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));+ return Cu(() => {p.current && m && (m.animationState?.animateChanges(), m.enteringChildren = void 0);- }, []), Su(() => {+ }, []), Cu(() => {p.current = !0, m && (window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), _.current && m.animationState && m.animationState.animateChanges());}), (0, P.useEffect)(() => {m && (!_.current && m.animationState && m.animationState.animateChanges(), _.current &&= (queueMicrotask(() => {@@ -19566,12 +19573,12 @@ function Tne(e, t, n, r, i, a) {}), !1), m.enteringChildren = void 0);}), m;}-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 : vy(e.parent));+function mne(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 : jy(e.parent));f.setOptions({layoutId: i,layout: a,- alwaysMeasureLayout: !!o || s && wne(s),+ alwaysMeasureLayout: !!o || s && fne(s),visualElement: e,animationType: typeof a == "string" ? a : "both",initialPromotionConfig: r,@@ -19583,50 +19590,50 @@ function Ene(e, t, n, r) {let p = f.getStack()?.lead;p && !f.root.isUpdateBlocked() && (p.willUpdate(), p.scheduleCheckAfterUnmount());}-function vy(e) {- if (e) return e.options.allowProjection === !1 ? vy(e.parent) : e.projection;+function jy(e) {+ if (e) return e.options.allowProjection === !1 ? jy(e.parent) : e.projection;}// node_modules/framer-motion/dist/es/motion/index.mjs-function yy(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {- r && ane(r);- let a = n ? n === "svg" : hy(e), o = a ? xne : bne;+function My(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+ r && qte(r);+ let a = n ? n === "svg" : Oy(e), o = a ? lne : cne;function s(n, s) {- let c, l = Dne(n);- xu(() => !!W_.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {+ let c, l = Ny(n);+ Su(() => !!nv.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {...n,initial: !1});let u = {- ...(0, P.useContext)(Qv),+ ...(0, P.useContext)(cy),...n,layoutId: l- }, { isStatic: d, isValidProp: f } = u, p = cne(n), m = o(n, d);+ }, { isStatic: d, isValidProp: f } = u, p = Xte(n), m = o(n, d);if (!d && typeof window < "u") {- One(u, r);- let t = kne(u);- c = t.MeasureLayout, p.visualElement = Tne(e, m, u, i, t.ProjectionNode, a);+ Py(u, r);+ let t = Fy(u);+ c = t.MeasureLayout, p.visualElement = pne(e, m, u, i, t.ProjectionNode, a);}- return (0, F.jsxs)(ly.Provider, {+ return (0, F.jsxs)(Sy.Provider, {value: p,children: [c && p.visualElement ? (0, F.jsx)(c, {visualElement: p.visualElement,...u- }) : null, _ne(e, n, Cne(m, p.visualElement, s), m, d, t, a, f)]+ }) : null, ane(e, n, dne(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[Sne] = e, c;+ return c[une] = e, c;}-function Dne({ layoutId: e }) {- let t = (0, P.useContext)(bu).id;+function Ny({ layoutId: e }) {+ let t = (0, P.useContext)(xu).id;return t && e !== void 0 ? t + "-" + e : e;}-function One(e, t) {- (0, P.useContext)(ay).strict;+function Py(e, t) {+ (0, P.useContext)(_y).strict;}-function kne(e) {- let { drag: t, layout: n } = cy();+function Fy(e) {+ let { drag: t, layout: n } = xy();if (!t && !n) return {};let r = {...t,@@ -19638,19 +19645,19 @@ function kne(e) {};}// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs-function Ane(e, t) {- if (typeof Proxy > "u") return yy;- let n = /* @__PURE__ */ new Map(), r = (n, r) => yy(n, r, e, t);- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, yy(a, void 0, e, t)), n.get(a)) });+function Iy(e, t) {+ if (typeof Proxy > "u") return My;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => My(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, My(a, void 0, e, t)), n.get(a)) });}// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs-var jne = (e, t) => t.isSVG ?? hy(e) ? new qte(t) : new mte(t, { allowProjection: e !== P.Fragment }), Mne = class extends Kv {+var Ly = (e, t) => t.isSVG ?? Oy(e) ? new Rte(t) : new ate(t, { allowProjection: e !== P.Fragment }), Ry = class extends ny {constructor(e) {- super(e), e.animationState ||= Yte(e);+ super(e), e.animationState ||= Bte(e);}updateAnimationControlsSubscription() {let { animate: e } = this.node.getProps();- q_(e) && (this.unmountControls = e.subscribe(this.node));+ av(e) && (this.unmountControls = e.subscribe(this.node));}mount() {this.updateAnimationControlsSubscription();@@ -19662,11 +19669,11 @@ var jne = (e, t) => t.isSVG ?? hy(e) ? new qte(t) : new mte(t, { allowProjectionunmount() {this.node.animationState.reset(), this.unmountControls?.();}-}, Nne = 0, Pne = {- animation: { Feature: Mne },- exit: { Feature: class extends Kv {+}, hne = 0, gne = {+ animation: { Feature: Ry },+ exit: { Feature: class extends ny {constructor() {- super(...arguments), this.id = Nne++;+ super(...arguments), this.id = hne++;}update() {let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;@@ -19677,7 +19684,7 @@ var jne = (e, t) => t.isSVG ?? hy(e) ? new qte(t) : new mte(t, { allowProjectionif (this.exit === !0) {let { initial: e } = this.node.getProps();if (e && !Array.isArray(e)) {- let { transition: t, transitionEnd: n, ...r } = jh(this.node, e) || {};+ let { transition: t, transitionEnd: n, ...r } = Mh(this.node, e) || {};for (let e in r) this.node.getValue(e)?.jump(r[e]);}this.node.blockInitialAnimation = !1, n.reset(), n.animateChanges();@@ -19696,13 +19703,13 @@ var jne = (e, t) => t.isSVG ?? hy(e) ? new qte(t) : new mte(t, { allowProjection}unmount() {}} }-}, Fne = class extends Kv {+}, _ne = class extends ny {constructor(e) {- super(e), this.removeGroupControls = Mu, this.removeListeners = Mu, this.controls = new zte(e);+ super(e), this.removeGroupControls = Nu, this.removeListeners = Nu, this.controls = new Ate(e);}mount() {let { dragControls: e } = this.node.getProps();- e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Mu;+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Nu;}update() {let { dragControls: e, drag: t } = this.node.getProps(), { dragControls: n, drag: r } = this.node.prevProps || {};@@ -19711,31 +19718,31 @@ var jne = (e, t) => t.isSVG ?? hy(e) ? new qte(t) : new mte(t, { allowProjectionunmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, Ine = ({ current: e }) => e ? e.ownerDocument.defaultView : null, by = (e) => (t, n) => {- e && Of.update(() => e(t, n), !1, !0);-}, xy = class extends Kv {+}, vne = ({ current: e }) => e ? e.ownerDocument.defaultView : null, zy = (e) => (t, n) => {+ e && kf.update(() => e(t, n), !1, !0);+}, yne = class extends ny {constructor() {- super(...arguments), this.removePointerDownListener = Mu;+ super(...arguments), this.removePointerDownListener = Nu;}onPointerDown(e) {- this.session = new Sv(e, this.createPanHandlers(), {+ this.session = new Mv(e, this.createPanHandlers(), {transformPagePoint: this.node.getTransformPagePoint(),- contextWindow: Ine(this.node)+ contextWindow: vne(this.node)});}createPanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: by(e),- onStart: by(t),- onMove: by(n),+ onSessionStart: zy(e),+ onStart: zy(t),+ onMove: zy(n),onEnd: (e, t) => {- delete this.session, r && Of.postRender(() => r(e, t));+ delete this.session, r && kf.postRender(() => r(e, t));}};}mount() {- this.removePointerDownListener = pv(this.node.current, "pointerdown", (e) => this.onPointerDown(e));+ this.removePointerDownListener = Cv(this.node.current, "pointerdown", (e) => this.onPointerDown(e));}update() {this.session && this.session.updateHandlers(this.createPanHandlers());@@ -19743,40 +19750,40 @@ var jne = (e, t) => t.isSVG ?? hy(e) ? new qte(t) : new mte(t, { allowProjectionunmount() {this.removePointerDownListener(), this.session && this.session.end();}-}, Sy = !1, Cy = ({ layout: e, layoutDependency: t }) => ({+}, By = !1, Vy = ({ layout: e, layoutDependency: t }) => ({layout: e,layoutDependency: t,animationType: typeof e == "string" ? e : "both"-}), wy = class extends P.Component {+}), bne = class extends P.Component {componentDidMount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), Sy && i.root.didUpdate(), i.addEventListener("animationComplete", () => {+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), By && i.root.didUpdate(), i.addEventListener("animationComplete", () => {this.safeToRemove();}), i.setOptions({...i.options,- ...Cy(this.props),+ ...Vy(this.props),onExitComplete: () => this.safeToRemove()- })), D_.hasEverUpdated = !0;+ })), N_.hasEverUpdated = !0;}getSnapshotBeforeUpdate(e) {let { layout: t, layoutDependency: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;return o && (o.isPresent = a, (e.layoutDependency !== n || e.layout !== t) && o.setOptions({...o.options,- ...Cy(this.props)- }), Sy = !0, i || e.layoutDependency !== n || n === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || Of.postRender(() => {+ ...Vy(this.props)+ }), By = !0, i || e.layoutDependency !== n || n === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || kf.postRender(() => {let e = o.getStack();e && e.members.length || this.safeToRemove();}))), null;}componentDidUpdate() {let { visualElement: e, layoutAnchor: t } = this.props, { projection: n } = e;- n && (n.options.layoutAnchor = t, n.root.didUpdate(), Wg.postRender(() => {+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), Zg.postRender(() => {!n.currentAnimation && n.isLead() && this.safeToRemove();}));}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- Sy = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));+ By = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));}safeToRemove() {let { safeToRemove: e } = this.props;@@ -19786,39 +19793,39 @@ var jne = (e, t) => t.isSVG ?? hy(e) ? new qte(t) : new mte(t, { allowProjectionreturn null;}};-function Ty(e) {- let [t, n] = ey(), r = (0, P.useContext)(bu);- return (0, F.jsx)(wy, {+function Hy(e) {+ let [t, n] = fy(), r = (0, P.useContext)(xu);+ return (0, F.jsx)(bne, {...e,layoutGroup: r,- switchLayoutGroup: (0, P.useContext)(_y),+ switchLayoutGroup: (0, P.useContext)(Ay),isPresent: t,safeToRemove: n});}// node_modules/framer-motion/dist/es/motion/features/drag.mjs-var Ey = {- pan: { Feature: xy },+var xne = {+ pan: { Feature: yne },drag: {- Feature: Fne,- ProjectionNode: G_,- MeasureLayout: Ty+ Feature: _ne,+ ProjectionNode: rv,+ MeasureLayout: Hy}};// node_modules/framer-motion/dist/es/gestures/hover.mjs-function Dy(e, t, n) {+function Uy(e, t, n) {let { props: r } = e;e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");let i = r["onHover" + n];- i && Of.postRender(() => i(t, fv(t)));+ i && kf.postRender(() => i(t, Sv(t)));}-var Oy = class extends Kv {+var Sne = class extends ny {mount() {let { current: e } = this.node;- e && (this.unmount = Ute(e, (e, t) => (Dy(this.node, t, "Start"), (e) => Dy(this.node, e, "End"))));+ e && (this.unmount = Pte(e, (e, t) => (Uy(this.node, t, "Start"), (e) => Uy(this.node, e, "End"))));}unmount() {}-}, Lne = class extends Kv {+}, Cne = class extends ny {constructor() {super(...arguments), this.isActive = !1;}@@ -19835,55 +19842,55 @@ var Oy = class extends Kv {this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);}mount() {- this.unmount = Nu(U_(this.node.current, "focus", () => this.onFocus()), U_(this.node.current, "blur", () => this.onBlur()));+ this.unmount = Pu(ev(this.node.current, "focus", () => this.onFocus()), ev(this.node.current, "blur", () => this.onBlur()));}unmount() {}};// node_modules/framer-motion/dist/es/gestures/press.mjs-function ky(e, t, n) {+function Wy(e, t, n) {let { props: r } = e;if (e.current instanceof HTMLButtonElement && e.current.disabled) return;e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");let i = r["onTap" + (n === "End" ? "" : n)];- i && Of.postRender(() => i(t, fv(t)));+ i && kf.postRender(() => i(t, Sv(t)));}-var Rne = class extends Kv {+var wne = class extends ny {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = Gte(e, (e, t) => (ky(this.node, t, "Start"), (e, { success: t }) => ky(this.node, e, t ? "End" : "Cancel")), {+ this.unmount = Ite(e, (e, t) => (Wy(this.node, t, "Start"), (e, { success: t }) => Wy(this.node, e, t ? "End" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, Ay = /* @__PURE__ */ new WeakMap(), jy = /* @__PURE__ */ new WeakMap(), zne = (e) => {- let t = Ay.get(e.target);+}, Gy = /* @__PURE__ */ new WeakMap(), Ky = /* @__PURE__ */ new WeakMap(), Tne = (e) => {+ let t = Gy.get(e.target);t && t(e);-}, Bne = (e) => {- e.forEach(zne);+}, Ene = (e) => {+ e.forEach(Tne);};-function Vne({ root: e, ...t }) {+function Dne({ 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(Bne, {+ Ky.has(n) || Ky.set(n, {});+ let r = Ky.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(Ene, {root: e,...t})), r[i];}-function Hne(e, t, n) {- let r = Vne(t);- return Ay.set(e, n), r.observe(e), () => {- Ay.delete(e), r.unobserve(e);+function One(e, t, n) {+ let r = Dne(t);+ return Gy.set(e, n), r.observe(e), () => {+ Gy.delete(e), r.unobserve(e);};}// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs-var Une = {+var kne = {some: 0,all: 1-}, Wne = class extends Kv {+}, Ane = class extends ny {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -19892,7 +19899,7 @@ var Une = {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 : Une[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;@@ -19900,7 +19907,7 @@ var Une = {let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;a && a(e);};- this.stopObserver = Hne(this.node.current, a, o);+ this.stopObserver = One(this.node.current, a, o);}mount() {this.startObserver();@@ -19912,74 +19919,74 @@ var Une = {"amount","margin","root"- ].some(Gne(e, t)) && this.startObserver();+ ].some(jne(e, t)) && this.startObserver();}unmount() {this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;}};-function Gne({ 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 Kne = /*@__PURE__*/ Ane(/* @__PURE__ */ Object.assign({}, Pne, {- inView: { Feature: Wne },- tap: { Feature: Rne },- focus: { Feature: Lne },- hover: { Feature: Oy }-}, Ey, { layout: {- ProjectionNode: G_,- MeasureLayout: Ty-} }), jne);+var Mne = /*@__PURE__*/ Iy(/* @__PURE__ */ Object.assign({}, gne, {+ inView: { Feature: Ane },+ tap: { Feature: wne },+ focus: { Feature: Cne },+ hover: { Feature: Sne }+}, xne, { layout: {+ ProjectionNode: rv,+ MeasureLayout: Hy+} }), Ly);// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function My() {- !ev.current && tv();- let [e] = (0, P.useState)($_.current);+function qy() {+ !fv.current && pv();+ let [e] = (0, P.useState)(dv.current);return e;}// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function Ny(e) {+function Jy(e) {return typeof e == "object" && !Array.isArray(e);}// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function Py(e, t, n, r) {- return e == null ? [] : typeof e == "string" && Ny(t) ? pg(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function Yy(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && Jy(t) ? pg(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 qne(e, t, n) {+function Nne(e, t, n) {return e * (t + 1) + n * t;}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function Fy(e, t, n, r) {+function Xy(e, t, n, r) {return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;}// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs-function Jne(e, t, n) {+function Pne(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];- i.at > t && i.at < n && (Tu(e, i), r--);+ i.at > t && i.at < n && (Eu(e, i), r--);}}-function Yne(e, t, n, r, i, a) {- Jne(e, i, a);+function Fne(e, t, n, r, i, a) {+ Pne(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],- at: sf(i, a, r[o]),- easing: /* @__PURE__ */ td(n, o)+ at: cf(i, a, r[o]),+ easing: /* @__PURE__ */ nd(n, o)});}// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs-function Xne(e, t, n = 0) {+function Ine(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 Zne(e, t) {+function Lne(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 Qne = "easeInOut", Iy = 20;-function $ne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {+var Rne = "easeInOut", Zy = 20;+function zne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {let a = t.duration || .3, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = {}, l = /* @__PURE__ */ new Map(), u = 0, d = 0, f = 0;for (let n = 0; n < e.length; n++) {let o = e[n];@@ -19988,16 +19995,16 @@ function $ne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {continue;}if (!Array.isArray(o)) {- l.set(o.name, Fy(d, o.at, u, l));+ l.set(o.name, Xy(d, o.at, u, l));continue;}let [p, m, h = {}] = o;- h.at !== void 0 && (d = Fy(d, h.at, u, l));+ h.at !== void 0 && (d = Xy(d, h.at, u, l));let g = 0, _ = (e, n, r, o = 0, s = 0) => {- let c = ere(e), { delay: l = 0, times: u = $f(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = bm(p) ? p : i?.[p || "keyframes"];+ let c = Bne(e), { delay: l = 0, times: u = ep(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = xm(p) ? p : i?.[p || "keyframes"];if (S <= 2 && C) {let e = 100;- if (S === 2 && rre(c)) {+ if (S === 2 && Une(c)) {let t = c[1] - c[0];e = Math.abs(t);}@@ -20005,40 +20012,40 @@ function $ne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {...t,...v};- b !== void 0 && (n.duration = /* @__PURE__ */ Iu(b));- let r = Ff(n, e, C);+ b !== void 0 && (n.duration = /* @__PURE__ */ Lu(b));+ let r = If(n, e, C);y = r.ease, b = r.duration;}b ??= a;let w = d + x;u.length === 1 && u[0] === 0 && (u[1] = 1);let T = u.length - c.length;- if (T > 0 && Qf(u, T), c.length === 1 && c.unshift(null), m && `${m}${Iy}`, m && m < Iy) {+ if (T > 0 && $f(u, T), c.length === 1 && c.unshift(null), m && `${m}${Zy}`, m && m < Zy) {let e = b > 0 ? _ / b : 0;- b = qne(b, m, _);+ b = Nne(b, m, _);let t = [...c], n = [...u];y = Array.isArray(y) ? [...y] : [y];let r = [...y], i = h === "reverse" || h === "mirror", a = t, o = r;- i && (a = [...t].reverse(), h === "reverse" && (o = [...r].reverse().map((e) => typeof e == "function" ? /* @__PURE__ */ Uu(e) : e)));+ i && (a = [...t].reverse(), h === "reverse" && (o = [...r].reverse().map((e) => typeof e == "function" ? /* @__PURE__ */ Wu(e) : e)));for (let s = 0; s < m; s++) {let l = i && s % 2 == 0, d = l ? a : t, f = l ? o : r, p = (s + 1) * (1 + e);e > 0 && (c.push(c[c.length - 1]), u.push(p), y.push("linear")), c.push(...d);- for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ td(f, e - 1));+ for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ nd(f, e - 1));}- Xne(u, m, e);+ Ine(u, m, e);}let E = w + b;- Yne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);+ Fne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);};- if (Rh(p)) {- let e = Ly(p, s);- _(m, h, Ry("default", e));+ if (zh(p)) {+ let e = Qy(p, s);+ _(m, h, $y("default", e));} else {- let e = Py(p, m, r, c), t = e.length;+ let e = Yy(p, m, r, c), t = e.length;for (let n = 0; n < t; n++) {m = m, h = h;- let r = e[n], i = Ly(r, s);- for (let e in m) _(m[e], tre(h, e), Ry(e, i), n, t);+ let r = e[n], i = Qy(r, s);+ for (let e in m) _(m[e], Vne(h, e), $y(e, i), n, t);}}u = d, d += g;@@ -20046,13 +20053,13 @@ function $ne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {return s.forEach((e, r) => {for (let i in e) {let a = e[i];- a.sort(Zne);+ a.sort(Lne);let s = [], c = [], l = [];for (let e = 0; e < a.length; e++) {let { at: t, value: n, easing: r } = a[e];- s.push(n), c.push(/* @__PURE__ */ Pu(0, f, t)), l.push(r || "easeOut");+ s.push(n), c.push(/* @__PURE__ */ Fu(0, f, t)), l.push(r || "easeOut");}- c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Qne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {+ c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Rne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {keyframes: {},transition: {}});@@ -20069,45 +20076,45 @@ function $ne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {}}), o;}-function Ly(e, t) {+function Qy(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function Ry(e, t) {+function $y(e, t) {return t[e] || (t[e] = []), t[e];}-function ere(e) {+function Bne(e) {return Array.isArray(e) ? e : [e];}-function tre(e, t) {+function Vne(e, t) {return e && e[t] ? {...e,...e[t]} : { ...e };}-var nre = (e) => typeof e == "number", rre = (e) => e.every(nre);+var Hne = (e) => typeof e == "number", Une = (e) => e.every(Hne);// node_modules/framer-motion/dist/es/animation/animate/subject.mjs-function ire(e, t) {- return Rh(e) || typeof e == "number" || typeof e == "string" && !Ny(t);+function Wne(e, t) {+ return zh(e) || typeof e == "number" || typeof e == "string" && !Jy(t);}-function zy(e, t, n, r) {+function eb(e, t, n, r) {let i = [];- if (ire(e, t)) i.push(Gg(e, Ny(t) && t.default || t, n && (n.default || n)));+ if (Wne(e, t)) i.push(Qg(e, Jy(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = Py(e, t, r), o = a.length;+ let a = Yy(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(...bee(r, t, s, K_.get(r))) : i.push(...sg(nee(r) ?? xee, r, t, s));+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...Yg(r, t, s, iv.get(r))) : i.push(...sg(ree(r) ?? Xg, r, t, s));}}return i;}// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs-function are(e, t, n) {+function Gne(e, t, n) {let r = [];- return $ne(e.map((e) => {+ return zne(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {- let t = e[0], n = hh(0);+ let t = e[0], n = gh(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [n,[0, 1],@@ -20119,48 +20126,48 @@ function are(e, t, n) {];}return e;- }), t, n, { spring: Jf }).forEach(({ keyframes: e, transition: t }, n) => {- r.push(...zy(n, e, t));+ }), t, n, { spring: Yf }).forEach(({ keyframes: e, transition: t }, n) => {+ r.push(...eb(n, e, t));}), r;}// node_modules/framer-motion/dist/es/animation/animate/index.mjs-function ore(e) {+function Kne(e) {return Array.isArray(e) && e.some(Array.isArray);}-function sre(e = {}) {+function qne(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {let o = [], s, c = ug.current, l = c?.transition, u = {};- if (n !== void 0 && (u.reduceMotion = n), r !== void 0 && (u.skipAnimations = r), ore(e)) {+ if (n !== void 0 && (u.reduceMotion = n), r !== void 0 && (u.skipAnimations = r), Kne(e)) {let { onComplete: n, ...r } = i || {};typeof n == "function" && (s = n), l && (r.defaultTransition = {...l,...r.defaultTransition- }), o = are(e, {+ }), o = Gne(e, {...u,...r}, t);} else {let { onComplete: n, ...r } = a || {};- typeof n == "function" && (s = n), o = zy(e, i, {+ typeof n == "function" && (s = n), o = eb(e, i, {...u,...l,...r}, t);}- let d = new oh(o);+ let d = new sh(o);return s && d.finished.then(s), c && d.finished.then(c.add(() => d.stop())), t && (t.animations.push(d), d.finished.then(() => {- Tu(t.animations, d);+ Eu(t.animations, d);})), d;}return i;}-var cre = /* @__PURE__ */ Object.assign(/* @__PURE__ */ sre(), {- addEffect: tee,+var Jne = /* @__PURE__ */ Object.assign(/* @__PURE__ */ qne(), {+ addEffect: nee,removeEffect: ag});// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function lre(e, t, n, r) {+function Yne(e, t, n, r) {if (e == null) return [];let i = pg(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {@@ -20169,9 +20176,9 @@ function lre(e, t, n, r) {for (let e in t) {let n = t[e];Array.isArray(n) || (n = [n]);- let i = { ..._h(s, e) };- i.duration &&= /* @__PURE__ */ Iu(i.duration), i.delay &&= /* @__PURE__ */ Iu(i.delay);- let a = lh(r), c = ch(e, i.pseudoElement || ""), l = a.get(c);+ let i = { ...vh(s, e) };+ i.duration &&= /* @__PURE__ */ Lu(i.duration), i.delay &&= /* @__PURE__ */ Lu(i.delay);+ let a = uh(r), c = lh(e, i.pseudoElement || ""), l = a.get(c);l && l.stop(), o.push({map: a,key: c,@@ -20187,21 +20194,21 @@ function lre(e, t, n, r) {}for (let e = 0; e < o.length; e++) {let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;- !a && t[0] === null && (t[0] = Gv(r, i)), jp(t), eee(t, i), !a && t.length < 2 && t.unshift(Gv(r, i)), n.keyframes = t;+ !a && t[0] === null && (t[0] = ty(r, i)), Mp(t), tee(t, i), !a && t.length < 2 && t.unshift(ty(r, i)), n.keyframes = t;}let s = [];for (let e = 0; e < o.length; e++) {- let { map: t, key: n, options: r } = o[e], i = new Sm(r);+ let { map: t, key: n, options: r } = o[e], i = new Cm(r);t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);}return s;}-var ure = /*@__PURE__*/ ((e) => {+var Xne = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new oh(lre(t, n, r, e));+ return new sh(Yne(t, n, r, e));}return t;-})(), By = Kne, Vy = class {+})(), tb = Mne, nb = 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;}@@ -20216,22 +20223,22 @@ var ure = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, Hy = class extends Vy {+}, rb = class extends nb {filter(e, t, n) {- let [r, i] = Ky(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = sb(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends Vy {+(class extends nb {static {this.type = "header";}});-var Uy = class extends Vy {+var ib = class extends nb {static {this.type = "loader";}-}, Wy = class extends Hy {+}, ab = class extends rb {static {this.type = "item";}@@ -20242,7 +20249,7 @@ var Uy = class extends Vy {}return null;}-}, dre = class extends Hy {+}, Zne = class extends rb {static {this.type = "section";}@@ -20254,7 +20261,7 @@ var Uy = class extends Vy {}return null;}-}, Gy = class {+}, ob = class {get size() {return this.itemCount;}@@ -20329,14 +20336,14 @@ var Uy = class extends Vy {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = Ky(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = sb(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 Ky(e, t, n, r) {+function sb(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -20350,7 +20357,7 @@ function Ky(e, t, n, r) {return [i?.key ?? null, a?.key ?? null];}// node_modules/react-aria/dist/private/collections/Document.mjs-var qy = class {+var cb = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -20431,7 +20438,7 @@ var qy = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, Jy = class e extends qy {+}, lb = class e extends cb {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -20482,7 +20489,7 @@ var qy = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, fre = class extends qy {+}, Qne = class extends cb {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;}@@ -20490,7 +20497,7 @@ var qy = class {return !0;}createElement(e) {- return new Jy(e, this);+ return new lb(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -20512,8 +20519,8 @@ var qy = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof Jy && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof Jy ? (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 lb && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof lb ? (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() {@@ -20531,13 +20538,13 @@ var qy = class {}};// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function Yy(e) {+function ub(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 = pre(a) ? a : null, o = n ? s.get(n) : null;+ let n = $ne(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -20562,7 +20569,7 @@ function Yy(e) {i]);}-function pre(e) {+function $ne(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -20571,24 +20578,24 @@ function pre(e) {}}// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function Xy(e) {+function db(e) {e.focus({ preventScroll: !0 });}// node_modules/react-aria/dist/private/utils/domHelpers.mjs-var Zy = (e) => mre(e) ? e.document : hre(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Qy = (e) => Zy(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function $y(e) {+var fb = (e) => ere(e) ? e.document : tre(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), pb = (e) => fb(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function mb(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function mre(e) {+function ere(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function hre(e) {- return $y(e) && e.nodeType === 9;+function tre(e) {+ return mb(e) && e.nodeType === 9;}-function eb(e) {- return $y(e) && e.nodeType === 11 && "host" in e;+function hb(e) {+ return mb(e) && e.nodeType === 11 && "host" in e;}-function tb(e, t, n, r) {+function gb(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);@@ -20596,7 +20603,7 @@ function tb(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function nb(e, t, n, r) {+function _b(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -20610,70 +20617,70 @@ function nb(e, t, n, r) {};}// node_modules/react-stately/dist/private/flags/flags.mjs-var gre = !1;-function rb() {- return gre;+var nre = !1;+function vb() {+ return nre;}// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function ib(e, t) {- if (!rb()) return t && e ? e.contains(t) : !1;+function yb(e, t) {+ if (!vb()) 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 : hb(n) ? n.host : n.parentNode;}return !1;}-var ab = (e = document) => {- if (!rb()) return e.activeElement;+var bb = (e = document) => {+ if (!vb()) 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 (rb() && e.target instanceof Element && e.target.shadowRoot) {+ if (vb() && 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 ob(e, t) {+function xb(e, t) {if (t === null) return [];- t ??= Qy(e);+ t ??= pb(e);let n = [t];- if (!rb() || !e || e === t) return n;+ if (!vb() || !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 (; hb(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function sb(e) {+function Sb(e) {if (!e) return !1;- let t = e.getRootNode(), n = Qy(e);+ let t = e.getRootNode(), n = pb(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 _re = typeof Element < "u" && "checkVisibility" in Element.prototype;-function vre(e) {- let t = Qy(e);+var rre = typeof Element < "u" && "checkVisibility" in Element.prototype;+function Cb(e) {+ let t = pb(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 } = Qy(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = pb(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function yre(e, t) {+function wb(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 cb(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 || cb(e.parentElement, e));+function Tb(e, t) {+ return rre ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Cb(e) && wb(e, t) && (!e.parentElement || Tb(e.parentElement, e));}// node_modules/react-aria/dist/private/utils/isFocusable.mjs-var lb = [+var Eb = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -20688,39 +20695,39 @@ var lb = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], bre = lb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-lb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var xre = lb.join(":not([hidden]):not([tabindex=\"-1\"]),");-function ub(e, t) {- return e.matches(bre) && !fb(e) && (t?.skipVisibilityCheck || cb(e));+], Db = Eb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+Eb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var Ob = Eb.join(":not([hidden]):not([tabindex=\"-1\"]),");+function kb(e, t) {+ return e.matches(Db) && !jb(e) && (t?.skipVisibilityCheck || Tb(e));}-function db(e) {- return e.matches(xre) && cb(e) && !fb(e);+function Ab(e) {+ return e.matches(Ob) && Tb(e) && !jb(e);}-function fb(e) {+function jb(e) {let t = e;for (; t != null;) {- if (t instanceof Qy(t).HTMLElement && t.inert) return !0;+ if (t instanceof pb(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var pb = typeof document < "u" ? P.useLayoutEffect : () => {};+var Mb = typeof document < "u" ? P.useLayoutEffect : () => {};// node_modules/react-aria/dist/private/interactions/utils.mjs-function mb(e) {+function Nb(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function hb(e, t) {+function Pb(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function gb(e) {+function Fb(e) {let t = (0, P.useRef)({isFocused: !1,observer: null});- return pb(() => {+ return Mb(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);@@ -20732,14 +20739,14 @@ function gb(e) {let n = r;n.addEventListener("focusout", (r) => {if (t.current.isFocused = !1, n.disabled) {- let t = mb(r);+ let t = Nb(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 === ab() ? null : ab();+ let e = n === bb() ? null : bb();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -20752,80 +20759,80 @@ function gb(e) {}}, [e]);}-var _b = !1;-function Sre(e) {- for (; e && !ub(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = ab(Qy(e).document);+var Ib = !1;+function Lb(e) {+ for (; e && !kb(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = bb(pb(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && eb(n) ? n : Qy(e), i = (t) => t === e || $y(t) && ib(e, t), a = (e) => e === t || t != null && $y(e) && ib(t, e);- _b = !0;+ let n = e?.getRootNode(), r = n != null && hb(n) ? n : pb(e), i = (t) => t === e || mb(t) && yb(e, t), a = (e) => e === t || t != null && mb(e) && yb(t, e);+ Ib = !0;let o = !1, s = (e) => {(a(G(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Xy(t), d()));+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, db(t), d()));}, l = (e) => {(i(G(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Xy(t), d()));+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, db(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), _b = !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), Ib = !1, o = !1;}, f = requestAnimationFrame(d);return d;}// node_modules/react-aria/dist/private/utils/platform.mjs-function vb(e) {+function Rb(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 yb(e) {+function zb(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function bb(e) {+function Bb(e) {let t = null;return () => (t ??= e(), t);}-var xb = bb(function() {- return yb(/^Mac/i);-}), Cre = bb(function() {- return yb(/^iPhone/i);-}), Sb = bb(function() {- return yb(/^iPad/i) || xb() && navigator.maxTouchPoints > 1;-}), Cb = bb(function() {- return Cre() || Sb();-}), wre = bb(function() {- return xb() || Cb();-}), wb = bb(function() {- return vb(/AppleWebKit/i) && (Cb() || !Tb());-}), Tb = bb(function() {- return vb(/Chrome|CriOS|CrMo/i);-}), Eb = bb(function() {- return vb(/Android/i);+var Vb = Bb(function() {+ return zb(/^Mac/i);+}), Hb = Bb(function() {+ return zb(/^iPhone/i);+}), Ub = Bb(function() {+ return zb(/^iPad/i) || Vb() && navigator.maxTouchPoints > 1;+}), Wb = Bb(function() {+ return Hb() || Ub();+}), Gb = Bb(function() {+ return Vb() || Wb();+}), Kb = Bb(function() {+ return Rb(/AppleWebKit/i) && (Wb() || !qb());+}), qb = Bb(function() {+ return Rb(/Chrome|CriOS|CrMo/i);+}), Jb = Bb(function() {+ return Rb(/Android/i);});// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function Db(e) {- return e.pointerType === "" && e.isTrusted ? !0 : Eb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function Yb(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : Jb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function Tre(e) {- return !Eb() && e.width === 0 && e.height === 0 || Eb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function Xb(e) {+ return !Jb() && e.width === 0 && e.height === 0 || Jb() && 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 Ere = /*#__PURE__*/ (0, P.createContext)({+var Zb = /*#__PURE__*/ (0, P.createContext)({isNative: !0,- open: kre,+ open: ore,useHref: (e) => e});-function Ob() {- return (0, P.useContext)(Ere);+function Qb() {+ return (0, P.useContext)(Zb);}-function Dre(e, t) {+function ire(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 kb(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = wb() && xb() && !Sb() ? new KeyboardEvent("keydown", {+function $b(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = Kb() && Vb() && !Ub() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -20840,21 +20847,21 @@ function kb(e, t, n = !0) {bubbles: !0,cancelable: !0});- kb.isOpening = n, Xy(e), e.dispatchEvent(s), kb.isOpening = !1;+ $b.isOpening = n, db(e), e.dispatchEvent(s), $b.isOpening = !1;}-kb.isOpening = !1;-function Ore(e, t) {+$b.isOpening = !1;+function are(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 kre(e, t) {- Ore(e, (e) => kb(e, t));+function ore(e, t) {+ are(e, (e) => $b(e, t));}-function Ab(e) {- let t = Ob().useHref(e.href ?? "");+function ex(e) {+ let t = Qb().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -20864,8 +20871,8 @@ function Ab(e) {"data-referrer-policy": e.referrerPolicy};}-function jb(e) {- let t = Ob().useHref(e?.href ?? ""), n = {};+function tx(e) {+ let t = Qb().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -20876,138 +20883,138 @@ function jb(e) {]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);return n;}-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));+function sre(e, t, n, r) {+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && ire(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var Mb = {+var nx = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, Nb = /*#__PURE__*/ P.createContext(Mb), jre = /*#__PURE__*/ P.createContext(!1);+}, rx = /*#__PURE__*/ P.createContext(nx), cre = /*#__PURE__*/ P.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var Pb = /* @__PURE__ */ new WeakMap();-function Mre(e = !1) {- let t = (0, P.useContext)(Nb), n = (0, P.useRef)(null);+var ix = /* @__PURE__ */ new WeakMap();+function lre(e = !1) {+ let t = (0, P.useContext)(rx), 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 = Pb.get(e);- n == null ? Pb.set(e, {+ let n = ix.get(e);+ n == null ? ix.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, Pb.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, ix.delete(e));}n.current = ++t.current;}return n.current;}-function Nre(e) {- let t = (0, P.useContext)(Nb), n = Mre(!!e), r = `react-aria${t.prefix}`;+function ure(e) {+ let t = (0, P.useContext)(rx), n = lre(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function Pre(e) {- let t = P.useId(), [n] = (0, P.useState)(Fb()), r = n ? "react-aria" : `react-aria${Mb.prefix}`;+function dre(e) {+ let t = P.useId(), [n] = (0, P.useState)(ax()), r = n ? "react-aria" : `react-aria${nx.prefix}`;return e || `${r}-${t}`;}-var Fre = typeof P.useId == "function" ? Pre : Nre;-function Ire() {+var fre = typeof P.useId == "function" ? dre : ure;+function pre() {return !1;}-function Lre() {+function mre() {return !0;}-function Rre(e) {+function hre(e) {return () => {};}-function Fb() {- return typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore(Rre, Ire, Lre) : (0, P.useContext)(jre);+function ax() {+ return typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore(hre, pre, mre) : (0, P.useContext)(cre);}// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var Ib = null, Lb = /* @__PURE__ */ new Set(), Rb = /* @__PURE__ */ new Map(), zb = !1, Bb = !1, zre = {+var ox = null, sx = /* @__PURE__ */ new Set(), cx = /* @__PURE__ */ new Map(), lx = !1, ux = !1, gre = {Tab: !0,Escape: !0};-function Vb(e, t) {- for (let n of Lb) n(e, t);+function dx(e, t) {+ for (let n of sx) n(e, t);}-function Bre(e) {- return !(e.metaKey || !xb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+function _re(e) {+ return !(e.metaKey || !Vb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");}-function Hb(e) {- zb = !0, !kb.isOpening && Bre(e) && (Ib = "keyboard", Vb("keyboard", e));+function fx(e) {+ lx = !0, !$b.isOpening && _re(e) && (ox = "keyboard", dx("keyboard", e));}-function Ub(e) {- Ib = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (zb = !0, Vb("pointer", e));+function px(e) {+ ox = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (lx = !0, dx("pointer", e));}-function Wb(e) {- !kb.isOpening && Db(e) && (zb = !0, Ib = "virtual");+function mx(e) {+ !$b.isOpening && Yb(e) && (lx = !0, ox = "virtual");}-function Gb(e) {- if (_b) return;- let t = G(e), n = Qy(t), r = Zy(t);- t === n ? Bb = !0 : t !== r && e.isTrusted && (!zb && !Bb && (Ib = "virtual", Vb("virtual", e)), zb = !1, Bb = !1);+function hx(e) {+ if (Ib) return;+ let t = G(e), n = pb(t), r = fb(t);+ t === n ? ux = !0 : t !== r && e.isTrusted && (!lx && !ux && (ox = "virtual", dx("virtual", e)), lx = !1, ux = !1);}-function Kb() {- _b || (zb = !1, Bb = !0);+function gx() {+ Ib || (lx = !1, ux = !0);}-function qb(e) {- let t = ab(Zy(G(e)));+function _x(e) {+ let t = bb(fb(G(e)));queueMicrotask(() => {- ab(Zy(G(e))) !== t && Qb("keyboard");+ bb(fb(G(e))) !== t && Sx("keyboard");});}-function Jb(e) {+function vx(e) {if (typeof window > "u" || typeof document > "u") return;- let t = Qy(e), n = Zy(e);- if (Rb.get(t)) return;+ let t = pb(e), n = fb(e);+ if (cx.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- zb = !0, r.apply(this, arguments);+ lx = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", Hb, !0), n.addEventListener("keyup", Hb, !0), n.addEventListener("click", Wb, !0), n.addEventListener("invalid", qb, !0), t.addEventListener("focus", Gb, !0), t.addEventListener("blur", Kb, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Ub, !0), n.addEventListener("pointermove", Ub, !0), n.addEventListener("pointerup", Ub, !0)), t.addEventListener("beforeunload", () => {- Yb(e);- }, { once: !0 }), Rb.set(t, { focus: r });+ }), n.addEventListener("keydown", fx, !0), n.addEventListener("keyup", fx, !0), n.addEventListener("click", mx, !0), n.addEventListener("invalid", _x, !0), t.addEventListener("focus", hx, !0), t.addEventListener("blur", gx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", px, !0), n.addEventListener("pointermove", px, !0), n.addEventListener("pointerup", px, !0)), t.addEventListener("beforeunload", () => {+ yx(e);+ }, { once: !0 }), cx.set(t, { focus: r });}-var Yb = (e, t) => {- let n = Qy(e), r = Zy(e);- t && r.removeEventListener("DOMContentLoaded", t), Rb.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var yx = (e, t) => {+ let n = pb(e), r = fb(e);+ t && r.removeEventListener("DOMContentLoaded", t), cx.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: Rb.get(n).focus- }), r.removeEventListener("keydown", Hb, !0), r.removeEventListener("keyup", Hb, !0), r.removeEventListener("click", Wb, !0), r.removeEventListener("invalid", qb, !0), n.removeEventListener("focus", Gb, !0), n.removeEventListener("blur", Kb, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Ub, !0), r.removeEventListener("pointermove", Ub, !0), r.removeEventListener("pointerup", Ub, !0)), Rb.delete(n));+ value: cx.get(n).focus+ }), r.removeEventListener("keydown", fx, !0), r.removeEventListener("keyup", fx, !0), r.removeEventListener("click", mx, !0), r.removeEventListener("invalid", _x, !0), n.removeEventListener("focus", hx, !0), n.removeEventListener("blur", gx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", px, !0), r.removeEventListener("pointermove", px, !0), r.removeEventListener("pointerup", px, !0)), cx.delete(n));};-function Vre(e) {- let t = Zy(e), n;+function vre(e) {+ let t = fb(e), n;return t.readyState === "loading" ? (n = () => {- Jb(e);- }, t.addEventListener("DOMContentLoaded", n)) : Jb(e), () => Yb(e, n);+ vx(e);+ }, t.addEventListener("DOMContentLoaded", n)) : vx(e), () => yx(e, n);}-typeof document < "u" && Vre();-function Xb() {- return Ib !== "pointer";+typeof document < "u" && vre();+function bx() {+ return ox !== "pointer";}-function Zb() {- return Ib;+function xx() {+ return ox;}-function Qb(e) {- Ib = e, Vb(e, null);+function Sx(e) {+ ox = e, dx(e, null);}-function $b() {- Jb();- let [e, t] = (0, P.useState)(Ib);+function Cx() {+ vx();+ let [e, t] = (0, P.useState)(ox);return (0, P.useEffect)(() => {let e = () => {- t(Ib);+ t(ox);};- return Lb.add(e), () => {- Lb.delete(e);+ return sx.add(e), () => {+ sx.delete(e);};- }, []), Fb() ? null : e;+ }, []), ax() ? null : e;}-var Hre = /* @__PURE__ */ new Set([+var yre = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -21018,107 +21025,107 @@ var Hre = /* @__PURE__ */ new Set(["submit","reset"]);-function Ure(e, t, n) {- let r = n ? G(n) : void 0, i = Zy(r), a = Qy(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = ab(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 bre(e, t, n) {+ let r = n ? G(n) : void 0, i = fb(r), a = pb(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 = bb(i);+ return e = e || u instanceof o && !yre.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !gre[n.key]);}-function ex(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, P.useState)(n || Xb());- return tx((e) => {+function wx(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, P.useState)(n || bx());+ return Tx((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function tx(e, t, n) {- Jb(), (0, P.useEffect)(() => {+function Tx(e, t, n) {+ vx(), (0, P.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- Ure(!!n?.isTextInput, t, r) && e(Xb());+ bre(!!n?.isTextInput, t, r) && e(bx());};- return Lb.add(t), () => {- Lb.delete(t);+ return sx.add(t), () => {+ sx.delete(t);};}, t);}// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var nx = /* @__PURE__ */ new Map(), rx = /* @__PURE__ */ new Set();-function ix(e) {+var Ex = /* @__PURE__ */ new Map(), Dx = /* @__PURE__ */ new Set();+function Ox(e) {return "propertyName" in e;}-function Wre(e) {+function xre(e) {let t = G(e);- if (!ix(e) || !t) return;- let n = nx.get(t);- n || (n = /* @__PURE__ */ new Set(), nx.set(t, n), t.addEventListener("transitioncancel", ax, { once: !0 })), n.add(e.propertyName);+ if (!Ox(e) || !t) return;+ let n = Ex.get(t);+ n || (n = /* @__PURE__ */ new Set(), Ex.set(t, n), t.addEventListener("transitioncancel", kx, { once: !0 })), n.add(e.propertyName);}-function ax(e) {+function kx(e) {let t = G(e);- if (!ix(e) || !t) return;- let n = nx.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", ax), nx.delete(t)), nx.size === 0)) for (let e of rx) e(!0), rx.delete(e);+ if (!Ox(e) || !t) return;+ let n = Ex.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", kx), Ex.delete(t)), Ex.size === 0)) for (let e of Dx) e(!0), Dx.delete(e);}-function ox() {- tb(document, "transitionrun", Wre), tb(document, "transitionend", ax);+function Ax() {+ gb(document, "transitionrun", xre), gb(document, "transitionend", kx);}-function Gre() {- for (let [e] of nx) "isConnected" in e && !e.isConnected && nx.delete(e);+function Sre() {+ for (let [e] of Ex) "isConnected" in e && !e.isConnected && Ex.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? tb(document, "DOMContentLoaded", ox) : ox());-function sx(e) {+typeof document < "u" && (document.readyState === "loading" ? gb(document, "DOMContentLoaded", Ax) : Ax());+function jx(e) {let t = window.requestAnimationFrame(() => {- if (Gre(), nx.size === 0) return e(!1);- rx.add(e);+ if (Sre(), Ex.size === 0) return e(!1);+ Dx.add(e);});return () => {- window.cancelAnimationFrame(t), rx.delete(e);+ window.cancelAnimationFrame(t), Dx.delete(e);};}// node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function cx(e) {+function Mx(e) {if (!e.isConnected) return;- let t = Zy(e);- if (Zb() === "virtual") {- let n = ab(t);- sx(() => {- let r = ab(t);- (r === n || r === t.body) && e.isConnected && Xy(e);+ let t = fb(e);+ if (xx() === "virtual") {+ let n = bb(t);+ jx(() => {+ let r = bb(t);+ (r === n || r === t.body) && e.isConnected && db(e);});- } else Xy(e);+ } else db(e);}// node_modules/react-aria/dist/private/utils/chain.mjs-function lx(...e) {+function Nx(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}// node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function Kre(e) {+function Cre(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 pb(() => {+ return Mb(() => {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 qre = !!(typeof window < "u" && window.document && window.document.createElement), ux = /* @__PURE__ */ new Map(), dx;-typeof FinalizationRegistry < "u" && (dx = new FinalizationRegistry((e) => {- ux.delete(e);+var wre = !!(typeof window < "u" && window.document && window.document.createElement), Px = /* @__PURE__ */ new Map(), Fx;+typeof FinalizationRegistry < "u" && (Fx = new FinalizationRegistry((e) => {+ Px.delete(e);}));-var fx = /* @__PURE__ */ new WeakMap();-function px(e) {- let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(null), i = Fre(t), a = (0, P.useRef)(null), o = fx.get(a);- if (dx && o !== i && (o != null && dx.unregister(a), dx.register(a, i, a), fx.set(a, i)), qre) {- let e = ux.get(i);- e && !e.includes(r) ? e.push(r) : ux.set(i, [r]);- }- return pb(() => {+var Ix = /* @__PURE__ */ new WeakMap();+function Lx(e) {+ let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(null), i = fre(t), a = (0, P.useRef)(null), o = Ix.get(a);+ if (Fx && o !== i && (o != null && Fx.unregister(a), Fx.register(a, i, a), Ix.set(a, i)), wre) {+ let e = Px.get(i);+ e && !e.includes(r) ? e.push(r) : Px.set(i, [r]);+ }+ return Mb(() => {let e = i;return () => {- dx && (dx.unregister(a), fx.delete(a)), ux.delete(e);+ Fx && (Fx.unregister(a), Ix.delete(a)), Px.delete(e);};}, [i]), (0, P.useEffect)(() => {let e = r.current;@@ -21127,57 +21134,57 @@ function px(e) {};}), i;}-function Jre(e, t) {+function Tre(e, t) {if (e === t) return e;- let n = ux.get(e);+ let n = Px.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = ux.get(t);+ let r = Px.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function mx(e = []) {- let t = px(), [n, r] = Kre(t), i = (0, P.useCallback)(() => {+function Rx(e = []) {+ let t = Lx(), [n, r] = Cre(t), i = (0, P.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return pb(i, [+ return Mb(i, [t,i,...e]), n;}// node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function hx(...e) {+function zx(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = gx(e, t);+ let r = Bx(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : gx(e[n], null);+ typeof t == "function" ? t() : Bx(e[n], null);});};};}-function gx(e, t) {+function Bx(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}// node_modules/clsx/dist/clsx.mjs-function _x(e) {+function Vx(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 = _x(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = Vx(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function vx() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = _x(e)) && (r && (r += " "), r += t);+function Hx() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Vx(e)) && (r && (r += " "), r += t);return r;}// node_modules/react-aria/dist/private/utils/mergeProps.mjs@@ -21187,17 +21194,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] = lx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = vx(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;+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = Nx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Hx(n, i) : e === "id" && n && i ? t.id = Tre(n, i) : e === "ref" && n && i ? t.ref = zx(n, i) : t[e] = i === void 0 ? n : i;}}return t;}// node_modules/react-aria/dist/private/interactions/useFocus.mjs-function yx(e) {+function Ux(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 = gb(a), s = (0, P.useCallback)((e) => {- let t = G(e), r = Zy(t), a = r ? ab(r) : ab();+ }, [r, i]), o = Fb(a), s = (0, P.useCallback)((e) => {+ let t = G(e), r = fb(t), a = r ? bb(r) : bb();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -21210,7 +21217,7 @@ function yx(e) {} };}// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function bx(e) {+function Wx(e) {if (e) return (t) => {let n = !0;e({@@ -21234,33 +21241,33 @@ function bx(e) {};}// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var Yre = /* @__PURE__ */ new Set([+var Ere = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), Xre = [+]), Dre = ["Alt","Control","Meta","Shift"];-function Zre(e) {+function Ore(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(xb() ? "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(Vb() ? "Meta" : "Control"), t;}-function Qre(e) {+function kre(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 xx(e) {- return Xre.filter((t) => e.has(t));+function Gx(e) {+ return Dre.filter((t) => e.has(t));}-function $re(e) {+function Are(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- 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;+ return Ere.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,@@ -21272,10 +21279,10 @@ function $re(e) {if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t;}-function Sx(e) {+function Kx(e) {return e.toLowerCase();}-var eie = {+var jre = {space: " ",esc: "escape",del: "delete",@@ -21287,26 +21294,26 @@ var eie = {pageup: "pageup",pagedown: "pagedown"};-function tie(e) {- let t = Sx(e);- return eie[t] ?? t;+function Mre(e) {+ let t = Kx(e);+ return jre[t] ?? t;}-function nie(e) {- let t = xx(Zre(e)), n = tie(e.key);+function Nre(e) {+ let t = Gx(Ore(e)), n = Mre(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function rie(e) {- let t = xx(Qre(e)), n = Sx(e.key);+function Pre(e) {+ let t = Gx(kre(e)), n = Kx(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function iie(e) {+function Fre(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = $re(n);- t.set(nie(e), r);+ let e = Are(n);+ t.set(Nre(e), r);}return (e) => {- let n = rie(e), r = t.get(n), i = r?.(e);+ let n = Pre(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -21317,23 +21324,23 @@ function iie(e) {};}// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function Cx(e) {+function qx(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = iie(t), s = bx((e) => {- ib(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = bx((e) => {- ib(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = Fre(t), s = Wx((e) => {+ yb(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = Wx((e) => {+ yb(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? lx(e.onKeyDown, s) : s, a = e.onKeyUp ? lx(e.onKeyUp, c) : c;- } else i = bx(e.onKeyDown), a = bx(e.onKeyUp);+ i = e.onKeyDown ? Nx(e.onKeyDown, s) : s, a = e.onKeyUp ? Nx(e.onKeyUp, c) : c;+ } else i = Wx(e.onKeyDown), a = Wx(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a} };}// node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function wx(e) {+function Jx(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);@@ -21355,25 +21362,25 @@ function wx(e) {}), [r]);}// node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function Tx(e, t) {- pb(() => {+function Yx(e, t) {+ Mb(() => {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 Ex = /*#__PURE__*/ P.createContext(null);-function aie(e) {- let t = (0, P.useContext)(Ex) || {};- Tx(t, e);+var Xx = /*#__PURE__*/ P.createContext(null);+function Ire(e) {+ let t = (0, P.useContext)(Xx) || {};+ Yx(t, e);let { ref: n, ...r } = t;return r;}-function Dx(e, t) {- let { focusProps: n } = yx(e), { keyboardProps: r } = Cx(e), i = K(n, r), a = aie(t), o = e.isDisabled ? {} : a, s = (0, P.useRef)(e.autoFocus);+function Zx(e, t) {+ let { focusProps: n } = Ux(e), { keyboardProps: r } = qx(e), i = K(n, r), a = Ire(t), o = e.isDisabled ? {} : a, s = (0, P.useRef)(e.autoFocus);(0, P.useEffect)(() => {- s.current && t.current && cx(t.current), s.current = !1;+ s.current && t.current && Mx(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;return e.isDisabled && (c = void 0), { focusableProps: K({@@ -21407,21 +21414,21 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var Ox = /*#__PURE__*/ (0, P.createContext)(!1);-function oie(e) {- if ((0, P.useContext)(Ox)) return /*#__PURE__*/ P.createElement(P.Fragment, null, e.children);- let t = /*#__PURE__*/ P.createElement(Ox.Provider, { value: !0 }, e.children);+var Qx = /*#__PURE__*/ (0, P.createContext)(!1);+function Lre(e) {+ if ((0, P.useContext)(Qx)) return /*#__PURE__*/ P.createElement(P.Fragment, null, e.children);+ let t = /*#__PURE__*/ P.createElement(Qx.Provider, { value: !0 }, e.children);return /*#__PURE__*/ P.createElement("template", null, t);}-function kx(e) {- let t = (t, n) => (0, P.useContext)(Ox) ? null : e(t, n);+function $x(e) {+ let t = (t, n) => (0, P.useContext)(Qx) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, P.forwardRef)(t);}-function Ax() {- return (0, P.useContext)(Ox);+function eS() {+ return (0, P.useContext)(Qx);}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js-var sie = /* @__PURE__ */ o(((e) => {+var Rre = /* @__PURE__ */ o(((e) => {var t = A();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -21459,47 +21466,47 @@ var sie = /* @__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;-})), jx = /* @__PURE__ */ o(((e, t) => {- t.exports = sie();-})), cie = jx(), Mx = /*#__PURE__*/ (0, P.createContext)(!1), Nx = /*#__PURE__*/ (0, P.createContext)(null);-function Px(e) {- if ((0, P.useContext)(Nx)) 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(Nx.Provider, { value: n }, e.content)), /*#__PURE__*/ P.createElement(lie, {+})), tS = /* @__PURE__ */ o(((e, t) => {+ t.exports = Rre();+})), zre = tS(), nS = /*#__PURE__*/ (0, P.createContext)(!1), rS = /*#__PURE__*/ (0, P.createContext)(null);+function iS(e) {+ if ((0, P.useContext)(rS)) return e.content;+ let { collection: t, document: n } = Ure(e.createCollection);+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(Lre, null, /*#__PURE__*/ P.createElement(rS.Provider, { value: n }, e.content)), /*#__PURE__*/ P.createElement(Bre, {render: e.children,collection: t}));}-function lie({ collection: e, render: t }) {+function Bre({ collection: e, render: t }) {return t(e);}-function uie(e, t, n) {- let r = Fb(), i = (0, P.useRef)(r);+function Vre(e, t, n) {+ let r = ax(), i = (0, P.useRef)(r);i.current = r;let a = (0, P.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, cie.useSyncExternalStore)(e, a);+ return (0, zre.useSyncExternalStore)(e, a);}-var die = typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore : uie;-function fie(e) {- let [t] = (0, P.useState)(() => new fre(e?.() || new Gy()));+var Hre = typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore : Vre;+function Ure(e) {+ let [t] = (0, P.useState)(() => new Qne(e?.() || new ob()));return {- collection: die((0, P.useCallback)((e) => t.subscribe(e), [t]), (0, P.useCallback)(() => {+ collection: Hre((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 Fx = /*#__PURE__*/ (0, P.createContext)(null);-function pie(e) {- return class extends Vy {+var aS = /*#__PURE__*/ (0, P.createContext)(null);+function Wre(e) {+ return class extends nb {static {this.type = e;}};}-function Ix(e, t, n, r, i, a) {- typeof e == "string" && (e = pie(e));+function oS(e, t, n, r, i, a) {+ typeof e == "string" && (e = Wre(e));let o = (0, P.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -21508,82 +21515,82 @@ function Ix(e, t, n, r, i, a) {r,a,e- ]), s = (0, P.useContext)(Fx);+ ]), s = (0, P.useContext)(aS);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(Fx.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(aS.Provider, { value: o }, i) : null;}return /*#__PURE__*/ P.createElement(e.type, { ref: o }, i);}-function Lx(e, t) {+function sS(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, P.forwardRef)((r, i) => {- let a = (0, P.useContext)(Ex);- if (!(0, P.useContext)(Mx)) {+ let a = (0, P.useContext)(Xx);+ if (!(0, P.useContext)(nS)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return Ix(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ P.createElement(Ex.Provider, { value: a }, /*#__PURE__*/ P.createElement(n, { node: e })));+ return oS(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ P.createElement(Xx.Provider, { value: a }, /*#__PURE__*/ P.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function Rx(e, t, n = zx) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, P.forwardRef)((t, i) => Ix(e, t, i, null, n(t), (e) => /*#__PURE__*/ P.createElement(r, { node: e })) ?? /*#__PURE__*/ P.createElement(P.Fragment, null));+function cS(e, t, n = lS) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, P.forwardRef)((t, i) => oS(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 zx(e) {- return Yy({+function lS(e) {+ return ub({...e,addIdAndValue: !0});}-var Bx = /*#__PURE__*/ (0, P.createContext)(null);-function Vx(e) {- let t = (0, P.useContext)(Bx), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = zx({+var uS = /*#__PURE__*/ (0, P.createContext)(null);+function dS(e) {+ let t = (0, P.useContext)(uS), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = lS({...e,idScope: r,dependencies: n});- return (0, P.useContext)(Nx) && (i = /*#__PURE__*/ P.createElement(mie, null, i)), t = (0, P.useMemo)(() => ({+ return (0, P.useContext)(rS) && (i = /*#__PURE__*/ P.createElement(Gre, null, i)), t = (0, P.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ P.createElement(Bx.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ P.createElement(uS.Provider, { value: t }, i);}-function mie({ children: e }) {- let t = (0, P.useContext)(Nx), n = (0, P.useMemo)(() => /*#__PURE__*/ P.createElement(Nx.Provider, { value: null }, /*#__PURE__*/ P.createElement(Mx.Provider, { value: !0 }, e)), [e]);- return Fb() ? /*#__PURE__*/ P.createElement(Fx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);+function Gre({ children: e }) {+ let t = (0, P.useContext)(rS), n = (0, P.useMemo)(() => /*#__PURE__*/ P.createElement(rS.Provider, { value: null }, /*#__PURE__*/ P.createElement(nS.Provider, { value: !0 }, e)), [e]);+ return ax() ? /*#__PURE__*/ P.createElement(aS.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);}// node_modules/react-aria/dist/private/utils/constants.mjs-var hie = "react-aria-clear-focus", gie = "react-aria-focus";+var Kre = "react-aria-clear-focus", qre = "react-aria-focus";// node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function Hx(e) {- let t = vie(Zy(e));- t !== e && (t && _ie(t, e), e && Ux(e, t));+function fS(e) {+ let t = Yre(fb(e));+ t !== e && (t && Jre(t, e), e && pS(e, t));}-function _ie(e, t) {+function Jre(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function Ux(e, t) {+function pS(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function vie(e) {- let t = ab(e), n = t?.getAttribute("aria-activedescendant");+function Yre(e) {+ let t = bb(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}// node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function Wx(e, t) {- let n = Qy(t), r = Zy(t);+function mS(e, t) {+ let n = pb(t), r = fb(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 Gx = 100, Kx = 600, qx = {+var hS = 100, gS = 600, _S = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -21593,7 +21600,7 @@ var Gx = 100, Kx = 600, qx = {endTimeStamp: 0,resizeTimeStamp: 0,resizeTimeout: 0-}, yie = /* @__PURE__ */ new Set([+}, Xre = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -21604,7 +21611,7 @@ var Gx = 100, Kx = 600, qx = {"submit","reset"]);-function Jx() {+function vS() {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,@@ -21612,58 +21619,58 @@ function Jx() {angle: window.screen.orientation?.angle ?? 0};}-function bie(e) {- qx.resizeTimeStamp <= e.timeStamp + 50 && (qx.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(qx.resizeTimeout), qx.resizeTimeout = window.setTimeout(Yx, 150));-}-function Yx() {- let e = Wx("viewport");- if (Eb() && e?.includes("overlays-content")) return;- let t = performance.now(), n = Jx(), r = t - qx.startTimeStamp, i = qx.screenHeight - n.height, a = qx.screenAngle - n.angle;- Math.abs(a) % 180 && qx.screenWidth - n.height < Gx && (qx.screenWidth = n.width, qx.screenHeight = n.height, qx.screenAngle = n.angle, i = 0), r > Kx && (window.clearTimeout(qx.screenTimeout), qx.screenTimeout = window.setTimeout(() => {- let e = Qx(document.hasFocus() ? ab() : null), t = Jx();- Math.abs(qx.screenAngle - t.angle) % 180 || qx.isOpen && e || (qx.screenWidth = t.width, qx.screenHeight = t.height, qx.screenAngle = t.angle, qx.isOpen = !1);- }, Kx)), r <= Kx && i >= Gx && (qx.endTimeStamp = t), qx.isOpen = i >= Gx;-}-function xie() {- let e = Jx(), t = qx.screenAngle - e.angle;- if (Math.abs(t) % 180 && !qx.isOpen) {- let e = qx.screenWidth;- qx.screenWidth = qx.screenHeight, qx.screenHeight = e;- }- qx.isOpen || (qx.screenAngle = e.angle);-}-function Sie(e) {- let t = Qx(G(e)), n = performance.now(), r = Jx(), i = qx.screenHeight - r.height;- i < Gx && t && (qx.screenWidth = r.width, qx.screenHeight = r.height, qx.screenAngle = r.angle, qx.startTimeStamp = n), t && window.clearTimeout(qx.screenTimeout), i >= Gx && t && (qx.endTimeStamp = n);-}-function Xx() {- let e = Jx();- tb(window.visualViewport, "resize", wb() ? Yx : bie), tb(window.screen.orientation, "change", xie), tb(window, "focus", Sie, {+function Zre(e) {+ _S.resizeTimeStamp <= e.timeStamp + 50 && (_S.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(_S.resizeTimeout), _S.resizeTimeout = window.setTimeout(yS, 150));+}+function yS() {+ let e = mS("viewport");+ if (Jb() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = vS(), r = t - _S.startTimeStamp, i = _S.screenHeight - n.height, a = _S.screenAngle - n.angle;+ Math.abs(a) % 180 && _S.screenWidth - n.height < hS && (_S.screenWidth = n.width, _S.screenHeight = n.height, _S.screenAngle = n.angle, i = 0), r > gS && (window.clearTimeout(_S.screenTimeout), _S.screenTimeout = window.setTimeout(() => {+ let e = SS(document.hasFocus() ? bb() : null), t = vS();+ Math.abs(_S.screenAngle - t.angle) % 180 || _S.isOpen && e || (_S.screenWidth = t.width, _S.screenHeight = t.height, _S.screenAngle = t.angle, _S.isOpen = !1);+ }, gS)), r <= gS && i >= hS && (_S.endTimeStamp = t), _S.isOpen = i >= hS;+}+function Qre() {+ let e = vS(), t = _S.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !_S.isOpen) {+ let e = _S.screenWidth;+ _S.screenWidth = _S.screenHeight, _S.screenHeight = e;+ }+ _S.isOpen || (_S.screenAngle = e.angle);+}+function $re(e) {+ let t = SS(G(e)), n = performance.now(), r = vS(), i = _S.screenHeight - r.height;+ i < hS && t && (_S.screenWidth = r.width, _S.screenHeight = r.height, _S.screenAngle = r.angle, _S.startTimeStamp = n), t && window.clearTimeout(_S.screenTimeout), i >= hS && t && (_S.endTimeStamp = n);+}+function bS() {+ let e = vS();+ gb(window.visualViewport, "resize", Kb() ? yS : Zre), gb(window.screen.orientation, "change", Qre), gb(window, "focus", $re, {capture: !0,passive: !0- }), qx.screenWidth = e.width, qx.screenHeight = e.height, qx.screenAngle = e.angle;+ }), _S.screenWidth = e.width, _S.screenHeight = e.height, _S.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? tb(document, "DOMContentLoaded", Xx) : Xx());-function Zx() {- let e = Wx("viewport");- return Eb() && e?.includes("overlays-content") ? !1 : qx.isOpen ? !0 : qx.startTimeStamp ? qx.endTimeStamp >= qx.startTimeStamp ? !0 : performance.now() - qx.startTimeStamp <= Kx ? qx.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? gb(document, "DOMContentLoaded", bS) : bS());+function xS() {+ let e = mS("viewport");+ return Jb() && e?.includes("overlays-content") ? !1 : _S.isOpen ? !0 : _S.startTimeStamp ? _S.endTimeStamp >= _S.startTimeStamp ? !0 : performance.now() - _S.startTimeStamp <= gS ? _S.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function Qx(e) {- if (!(e instanceof Element) || !ub(e)) return !1;- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !yie.has(e.type);+function SS(e) {+ if (!(e instanceof Element) || !kb(e)) return !1;+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Xre.has(e.type);return t || n || r;}-function $x(e) {- return xb() ? e.metaKey : e.ctrlKey;+function CS(e) {+ return Vb() ? e.metaKey : e.ctrlKey;}-function eS() {- return qx.isOpen;+function wS() {+ return _S.isOpen;}// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var Cie = P.useInsertionEffect ?? pb;-function tS(e) {+var eie = P.useInsertionEffect ?? Mb;+function TS(e) {let t = (0, P.useRef)(null);- return Cie(() => {+ return eie(() => {t.current = e;}, [e]), (0, P.useCallback)((...e) => {let n = t.current;@@ -21671,10 +21678,10 @@ function tS(e) {}, []);}// node_modules/react-aria/dist/private/utils/useEvent.mjs-function nS(e, t, n, r) {- let i = tS(n), a = n == null;+function ES(e, t, n, r) {+ let i = TS(n), a = n == null;(0, P.useEffect)(() => {- if (!(a || e.current == null)) return tb(e.current, t, i, r);+ if (!(a || e.current == null)) return gb(e.current, t, i, r);}, [e,t,@@ -21683,16 +21690,16 @@ function nS(e, t, n, r) {]);}// node_modules/react-aria/dist/private/utils/useLabels.mjs-function rS(e, t) {+function DS(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = px(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 = Lx(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 wie = /* @__PURE__ */ new Set([+var tie = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -21703,7 +21710,7 @@ var wie = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), Tie = /* @__PURE__ */ new Set([+]), nie = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -21724,19 +21731,19 @@ var wie = /* @__PURE__ */ new Set(["ur","yi"]);-function Eie(e) {+function rie(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 wie.has(t.script);+ if (t.script) return tie.has(t.script);}let t = e.split("-")[0];- return Tie.has(t);+ return nie.has(t);}// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var iS = Symbol.for("react-aria.i18n.locale");-function aS() {- let e = typeof window < "u" && window[iS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var OS = Symbol.for("react-aria.i18n.locale");+function kS() {+ let e = typeof window < "u" && window[OS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -21744,31 +21751,31 @@ function aS() {}return {locale: e,- direction: Eie(e) ? "rtl" : "ltr"+ direction: rie(e) ? "rtl" : "ltr"};}-var oS = aS(), sS = /* @__PURE__ */ new Set();-function cS() {- oS = aS();- for (let e of sS) e(oS);+var AS = kS(), jS = /* @__PURE__ */ new Set();+function MS() {+ AS = kS();+ for (let e of jS) e(AS);}-function Die() {- let e = Fb(), [t, n] = (0, P.useState)(oS);- return (0, P.useEffect)(() => (sS.size === 0 && window.addEventListener("languagechange", cS), sS.add(n), () => {- sS.delete(n), sS.size === 0 && window.removeEventListener("languagechange", cS);+function iie() {+ let e = ax(), [t, n] = (0, P.useState)(AS);+ return (0, P.useEffect)(() => (jS.size === 0 && window.addEventListener("languagechange", MS), jS.add(n), () => {+ jS.delete(n), jS.size === 0 && window.removeEventListener("languagechange", MS);}), []), e ? {- locale: typeof window < "u" && window[iS] || "en-US",+ locale: typeof window < "u" && window[OS] || "en-US",direction: "ltr"} : t;}// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var Oie = /*#__PURE__*/ P.createContext(null);-function lS() {- let e = Die();- return (0, P.useContext)(Oie) || e;+var aie = /*#__PURE__*/ P.createContext(null);+function NS() {+ let e = iie();+ return (0, P.useContext)(aie) || e;}// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var kie = Symbol.for("react-aria.i18n.locale"), Aie = Symbol.for("react-aria.i18n.strings"), uS = void 0, dS = class e {+var oie = Symbol.for("react-aria.i18n.locale"), sie = Symbol.for("react-aria.i18n.strings"), PS = void 0, FS = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -21779,38 +21786,38 @@ var kie = Symbol.for("react-aria.i18n.locale"), Aie = Symbol.for("react-aria.i18}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = fS(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = cie(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[kie];- if (uS === void 0) {- let t = window[Aie];+ let n = window[oie];+ if (PS === void 0) {+ let t = window[sie];if (!t) return null;- uS = {};- for (let r in t) uS[r] = new e({ [n]: t[r] }, n);+ PS = {};+ for (let r in t) PS[r] = new e({ [n]: t[r] }, n);}- let r = uS?.[t];+ let r = PS?.[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 fS(e, t, n = "en-US") {+function cie(e, t, n = "en-US") {if (t[e]) return t[e];- let r = pS(e), i = mS(e);+ let r = lie(e), i = uie(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 pS(e) {+function lie(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function mS(e) {+function uie(e) {if (Intl.Locale) return new Intl.Locale(e).script;}// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var hS = /* @__PURE__ */ new Map(), gS = /* @__PURE__ */ new Map(), _S = class {+var IS = /* @__PURE__ */ new Map(), LS = /* @__PURE__ */ new Map(), die = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -21821,36 +21828,36 @@ var hS = /* @__PURE__ */ new Map(), gS = /* @__PURE__ */ new Map(), _S = class {plural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = hS.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), hS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = IS.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), IS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = gS.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), gS.set(this.locale, t)), t.format(e);+ let t = LS.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), LS.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, vS = /* @__PURE__ */ new WeakMap();-function yS(e) {- let t = vS.get(e);- return t || (t = new dS(e), vS.set(e, t)), t;+}, RS = /* @__PURE__ */ new WeakMap();+function fie(e) {+ let t = RS.get(e);+ return t || (t = new FS(e), RS.set(e, t)), t;}-function bS(e, t) {- return t && dS.getGlobalDictionaryForPackage(t) || yS(e);+function pie(e, t) {+ return t && FS.getGlobalDictionaryForPackage(t) || fie(e);}-function xS(e, t) {- let { locale: n } = lS(), r = bS(e, t);- return (0, P.useMemo)(() => new _S(n, r), [n, r]);+function zS(e, t) {+ let { locale: n } = NS(), r = pie(e, t);+ return (0, P.useMemo)(() => new die(n, r), [n, r]);}// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var SS = /* @__PURE__ */ new Set(["id"]), CS = /* @__PURE__ */ new Set([+var mie = /* @__PURE__ */ new Set(["id"]), hie = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), wS = /* @__PURE__ */ new Set([+]), gie = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -21858,60 +21865,60 @@ var SS = /* @__PURE__ */ new Set(["id"]), CS = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), TS = /* @__PURE__ */ new Set([+]), _ie = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"-]), ES = /* @__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(".")), DS = /^(data-.*)$/;-function OS(e, t = {}) {+]), BS = /* @__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 VS(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) && (SS.has(t) || n && CS.has(t) || r && wS.has(t) || i && TS.has(t) || a && (ES.has(t) || t.endsWith("Capture") && ES.has(t.slice(0, -7))) || o?.has(t) || DS.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (mie.has(t) || n && hie.has(t) || r && gie.has(t) || i && _ie.has(t) || a && (BS.has(t) || t.endsWith("Capture") && BS.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 kS = "default", AS = "", jS = /* @__PURE__ */ new WeakMap();-function MS(e) {- if (Cb() && wb()) {- if (kS === "default") {- let t = Zy(e);- AS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- kS = "disabled";+var HS = "default", US = "", WS = /* @__PURE__ */ new WeakMap();+function GS(e) {+ if (Wb() && Kb()) {+ if (HS === "default") {+ let t = fb(e);+ US = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ HS = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- jS.set(e, e.style[t]), e.style[t] = "none";+ WS.set(e, e.style[t]), e.style[t] = "none";}}-function NS(e) {- if (Cb() && wb()) {- if (kS !== "disabled") return;- kS = "restoring", setTimeout(() => {- sx(() => {- if (kS === "restoring") {- let t = Zy(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = AS || ""), AS = "", kS = "default";+function KS(e) {+ if (Wb() && Kb()) {+ if (HS !== "disabled") return;+ HS = "restoring", setTimeout(() => {+ jx(() => {+ if (HS === "restoring") {+ let t = fb(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = US || ""), US = "", HS = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && jS.has(e)) {- let t = jS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), jS.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && WS.has(e)) {+ let t = WS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), WS.delete(e);}}// node_modules/react-aria/dist/private/utils/getNonce.mjs-var PS = /* @__PURE__ */ new WeakMap();-function FS(e) {- let t = Zy(e), n = PS.get(t);- return n ??= Wx("csp-nonce", t), n !== void 0 && PS.set(t, n), n;+var qS = /* @__PURE__ */ new WeakMap();+function JS(e) {+ let t = fb(e), n = qS.get(t);+ return n ??= mS("csp-nonce", t), n !== void 0 && qS.set(t, n), n;}// node_modules/react-aria/dist/private/interactions/context.mjs-var IS = P.createContext({ register: () => {} });-IS.displayName = "PressResponderContext";+var YS = P.createContext({ register: () => {} });+YS.displayName = "PressResponderContext";// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function LS() {+function XS() {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);@@ -21937,15 +21944,15 @@ function LS() {};}// node_modules/react-aria/dist/private/interactions/usePress.mjs-function jie(e) {- let t = (0, P.useContext)(IS);+function yie(e) {+ let t = (0, P.useContext)(YS);if (t) {let { register: n, ref: r, ...i } = t;e = K(i, e), n();}- return Tx(t, e.ref), e;+ return Yx(t, e.ref), e;}-var RS = class {+var ZS = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -21958,9 +21965,9 @@ var RS = class {get shouldStopPropagation() {return this.#e;}-}, zS = Symbol("linkClicked"), BS = "react-aria-pressable-style", VS = "data-react-aria-pressable";-function HS(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 } = jie(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({+}, QS = Symbol("linkClicked"), $S = "react-aria-pressable-style", eC = "data-react-aria-pressable";+function tC(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 } = yie(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -21970,12 +21977,12 @@ function HS(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = LS(), y = (0, P.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = XS(), 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 RS("pressstart", t, e);+ let n = new ZS("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -21989,11 +21996,11 @@ function HS(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new RS("pressend", r, e);+ let t = new ZS("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new RS("press", r, e);+ let n = new ZS("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -22002,19 +22009,19 @@ function HS(e) {i,n,t- ]), x = tS(b), S = tS((0, P.useCallback)((e, t) => {+ ]), x = TS(b), S = TS((0, P.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new RS("pressup", t, e);+ let r = new ZS("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(GS(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || NS(t.target);+ t.didFirePressStart && t.pointerType != null && b(iC(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || KS(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -22022,7 +22029,7 @@ function HS(e) {d,v,b- ]), w = tS(C);+ ]), w = TS(C);(0, P.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -22039,39 +22046,39 @@ function HS(e) {}, [s, o]), D = (0, P.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- hb(n, t), o(mb(n));+ Pb(n, t), o(Nb(n));}}, [s, o]), O = (0, P.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (WS(t.nativeEvent, t.currentTarget) && ib(t.currentTarget, G(t))) {- KS(G(t), t.key) && t.preventDefault();+ if (rC(t.nativeEvent, t.currentTarget) && yb(t.currentTarget, G(t))) {+ aC(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;- _(Zy(t.currentTarget), "keyup", lx((t) => {- WS(t, i) && !t.repeat && ib(i, G(t)) && e.target && S(GS(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && xb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(fb(t.currentTarget), "keyup", Nx((t) => {+ rC(t, i) && !t.repeat && yb(i, G(t)) && e.target && S(iC(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && Vb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || ib(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !kb.isOpening) {+ if ((!t || yb(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !$b.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Db(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Yb(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(GS(t.currentTarget, t), r), a = x(GS(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(iC(t.currentTarget, t), r), a = x(iC(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 && WS(t, e.target)) {- KS(G(t), t.key) && t.preventDefault();- let n = G(t), r = ib(e.target, n);- x(GS(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && US(e.target) && ib(e.target, n) && !t[zS] && (t[zS] = !0, kb(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && rC(t, e.target)) {+ aC(G(t), t.key) && t.preventDefault();+ let n = G(t), r = yb(e.target, n);+ x(iC(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && nC(e.target) && yb(e.target, n) && !t[QS] && (t[QS] = !0, $b(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;@@ -22080,39 +22087,39 @@ function HS(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !ib(t.currentTarget, G(t))) return;- if (Tre(t.nativeEvent)) {+ if (t.button !== 0 || !yb(t.currentTarget, G(t))) return;+ if (Xb(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 || MS(e.target), i = y(t, e.pointerType);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || GS(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)), _(Zy(t.currentTarget), "pointerup", n, !1), _(Zy(t.currentTarget), "pointercancel", r, !1);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(fb(t.currentTarget), "pointerup", n, !1), _(fb(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (ib(t.currentTarget, G(t)) && t.button === 0) {+ if (yb(t.currentTarget, G(t)) && t.button === 0) {if (l) {- let n = Sre(t.target);+ let n = Lb(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- ib(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ yb(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(GS(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(iC(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(GS(e.target, t), e.pointerType, !1), T(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(iC(e.target, t), e.pointerType, !1), T(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (ib(e.target, G(t)) && e.pointerType != null) {+ if (yb(e.target, G(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Xy(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (db(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -22122,7 +22129,7 @@ function HS(e) {w(e);};t.onDragStart = (e) => {- ib(e.currentTarget, G(e)) && w(e);+ yb(e.currentTarget, G(e)) && w(e);};}return t;@@ -22139,14 +22146,14 @@ function HS(e) {]);return (0, P.useEffect)(() => {if (!f) return;- let e = Zy(f.current);- if (!e || !e.head || e.getElementById(BS)) return;+ let e = fb(f.current);+ if (!e || !e.head || e.getElementById($S)) return;let t = e.createElement("style");- t.id = BS;- let n = FS(e);+ t.id = $S;+ let n = JS(e);n && (t.nonce = n), t.textContent = `@layer {- [${VS}] {+ [${eC}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -22154,23 +22161,23 @@ function HS(e) {}, [f]), (0, P.useEffect)(() => {let e = g.current;return () => {- d || NS(e.target ?? void 0);+ d || KS(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: K(p, O, { [VS]: !0 })+ pressProps: K(p, O, { [eC]: !0 })};}-function US(e) {+function nC(e) {return e.tagName === "A" && e.hasAttribute("href");}-function WS(e, t) {+function rC(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Qy(i).HTMLInputElement && !qS(i, n) || i instanceof Qy(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && US(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof pb(i).HTMLInputElement && !oC(i, n) || i instanceof pb(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && nC(i)) && n !== "Enter");}-function GS(e, t) {+function iC(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -22183,13 +22190,13 @@ function GS(e, t) {key: t.key};}-function Mie(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !US(e);+function bie(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !nC(e);}-function KS(e, t) {- return xb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !qS(e, t) : Mie(e);+function aC(e, t) {+ return Vb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !oC(e, t) : bie(e);}-var Nie = /* @__PURE__ */ new Set([+var xie = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -22200,11 +22207,11 @@ var Nie = /* @__PURE__ */ new Set(["submit","reset"]);-function qS(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : Nie.has(e.type);+function oC(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : xie.has(e.type);}// node_modules/react-aria/dist/private/button/useButton.mjs-function Pie(e, t) {+function Sie(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,@@ -22226,7 +22233,7 @@ function Pie(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = HS({+ let { pressProps: _, isPressed: v } = tC({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -22236,9 +22243,9 @@ function Pie(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = Dx(e, t);+ }), { focusableProps: y } = Zx(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = K(y, _, OS(e, { labelable: !0 }));+ let b = K(y, _, VS(e, { labelable: !0 }));return {isPressed: v,buttonProps: K(g, b, {@@ -22252,7 +22259,7 @@ function Pie(e, t) {};}// node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var Fie = class {+var Cie = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -22277,7 +22284,7 @@ var Fie = class {return this._currentNode;}set currentNode(e) {- if (!ib(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!yb(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 });@@ -22291,7 +22298,7 @@ var Fie = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return ib(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return yb(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -22355,44 +22362,44 @@ var Fie = class {return null;}};-function JS(e, t, n, r) {- return rb() ? new Fie(e, t, n, r) : e.createTreeWalker(t, n, r);+function sC(e, t, n, r) {+ return vb() ? new Cie(e, t, n, r) : e.createTreeWalker(t, n, r);}// node_modules/react-aria/dist/private/focus/FocusScope.mjs-var YS = /*#__PURE__*/ P.createContext(null), XS = "react-aria-focus-scope-restore", ZS = null;-function QS(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)(YS) || {}, l = (0, P.useMemo)(() => new dC({ scopeRef: s }), [s]);- pb(() => {- let e = c || fC.root;- if (fC.getTreeNode(e.scopeRef) && ZS && !iC(ZS, e.scopeRef)) {- let t = fC.getTreeNode(ZS);+var cC = /*#__PURE__*/ P.createContext(null), lC = "react-aria-focus-scope-restore", uC = null;+function dC(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)(cC) || {}, l = (0, P.useMemo)(() => new EC({ scopeRef: s }), [s]);+ Mb(() => {+ let e = c || DC.root;+ if (DC.getTreeNode(e.scopeRef) && uC && !_C(uC, e.scopeRef)) {+ let t = DC.getTreeNode(uC);t && (e = t);}- e.addChild(l), fC.addNode(l);- }, [l, c]), pb(() => {- let e = fC.getTreeNode(s);+ e.addChild(l), DC.addNode(l);+ }, [l, c]), Mb(() => {+ let e = DC.getTreeNode(s);e && (e.contain = !!n);- }, [n]), pb(() => {+ }, [n]), Mb(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(XS, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(lC, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(XS, n);+ for (let e of t) e.removeEventListener(lC, n);};- }, [t]), Hie(s, r, n), zie(s, n), Uie(s, r, n), Vie(s, i), (0, P.useEffect)(() => {- let e = ab(Zy(s.current ? s.current[0] : void 0)), t = null;- if (nC(e, s.current)) {- for (let n of fC.traverse()) n.scopeRef && nC(e, n.scopeRef.current) && (t = n);- t === fC.getTreeNode(s) && (ZS = t.scopeRef);- }- }, [s]), pb(() => () => {- let e = fC.getTreeNode(s)?.parent?.scopeRef ?? null;- s !== ZS && !iC(s, ZS) || e && !fC.getTreeNode(e) || (ZS = e), fC.removeTreeNode(s);+ }, [t]), Aie(s, r, n), Die(s, n), SC(s, r, n), kie(s, i), (0, P.useEffect)(() => {+ let e = bb(fb(s.current ? s.current[0] : void 0)), t = null;+ if (hC(e, s.current)) {+ for (let n of DC.traverse()) n.scopeRef && hC(e, n.scopeRef.current) && (t = n);+ t === DC.getTreeNode(s) && (uC = t.scopeRef);+ }+ }, [s]), Mb(() => () => {+ let e = DC.getTreeNode(s)?.parent?.scopeRef ?? null;+ s !== uC && !_C(s, uC) || e && !DC.getTreeNode(e) || (uC = e), DC.removeTreeNode(s);}, [s]);- let u = (0, P.useMemo)(() => Iie(s), []), d = (0, P.useMemo)(() => ({+ let u = (0, P.useMemo)(() => wie(s), []), d = (0, P.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ P.createElement(YS.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {+ return /*#__PURE__*/ P.createElement(cC.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -22402,154 +22409,154 @@ function QS(e) {ref: o}));}-function Iie(e) {+function wie(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || ab(Zy(n[0] ?? void 0)), c = n[0].previousElementSibling, l = uC($S(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || bb(fb(n[0] ?? void 0)), c = n[0].previousElementSibling, l = wC(fC(n), {tabbable: i,accept: o}, n);- l.currentNode = nC(s, n) ? s : c;+ l.currentNode = hC(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 && vC(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || ab(Zy(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = uC($S(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || bb(fb(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = wC(fC(n), {tabbable: i,accept: o}, n);- l.currentNode = nC(s, n) ? s : c;+ l.currentNode = hC(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 && vC(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = uC($S(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = wC(fC(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && aC(o, !0), o;+ return o && vC(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = uC($S(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = wC(fC(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 && vC(o, !0), o;}};}-function $S(e) {+function fC(e) {return e[0].parentElement;}-function eC(e) {- let t = fC.getTreeNode(ZS);+function pC(e) {+ let t = DC.getTreeNode(uC);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function Lie(e) {- if (!e.form) return Array.from(Zy(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = Qy(e);+function Tie(e) {+ if (!e.form) return Array.from(fb(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = pb(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function Rie(e) {+function Eie(e) {if (e.checked) return !0;- let t = Lie(e);+ let t = Tie(e);return t.length > 0 && !t.some((e) => e.checked);}-function zie(e, t) {+function Die(e, t) {let n = (0, P.useRef)(void 0), r = (0, P.useRef)(void 0);- pb(() => {+ Mb(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = Zy(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !eC(e) || t.isComposing) return;- let n = ab(a), r = e.current;- if (!r || !nC(n, r)) return;- let i = uC($S(r), { tabbable: !0 }, r);+ let a = fb(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !pC(e) || t.isComposing) return;+ let n = bb(a), r = e.current;+ if (!r || !hC(n, r)) return;+ let i = wC(fC(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 Qy(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 && (vC(o, !0), o instanceof pb(o).HTMLInputElement && o.select());}, s = (t) => {- (!ZS || iC(ZS, e)) && nC(G(t), e.current) ? (ZS = e, n.current = G(t)) : eC(e) && !rC(G(t), e) ? n.current ? aC(n.current) : ZS && ZS.current && sC(ZS.current) : eC(e) && (n.current = G(t));+ (!uC || _C(uC, e)) && hC(G(t), e.current) ? (uC = e, n.current = G(t)) : pC(e) && !gC(G(t), e) ? n.current ? vC(n.current) : uC && uC.current && bC(uC.current) : pC(e) && (n.current = G(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = Zb(), i = (r === "virtual" || r === null) && Eb() && Tb(), o = ab(a);- if (!i && o && eC(e) && !rC(o, e)) {- ZS = e;+ let r = xx(), i = (r === "virtual" || r === null) && Jb() && qb(), o = bb(a);+ if (!i && o && pC(e) && !gC(o, e)) {+ uC = e;let r = G(t);- r && r.isConnected ? (n.current = r, aC(n.current)) : ZS.current && sC(ZS.current);+ r && r.isConnected ? (n.current = r, vC(n.current)) : uC.current && bC(uC.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]), pb(() => () => {+ }, [e, t]), Mb(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function tC(e) {- return rC(e);+function mC(e) {+ return gC(e);}-function nC(e, t) {- return !e || !t ? !1 : t.some((t) => ib(t, e));+function hC(e, t) {+ return !e || !t ? !1 : t.some((t) => yb(t, e));}-function rC(e, t = null) {+function gC(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of fC.traverse(fC.getTreeNode(t))) if (n && nC(e, n.current)) return !0;+ for (let { scopeRef: n } of DC.traverse(DC.getTreeNode(t))) if (n && hC(e, n.current)) return !0;return !1;}-function Bie(e) {- return rC(e, ZS);+function Oie(e) {+ return gC(e, uC);}-function iC(e, t) {- let n = fC.getTreeNode(t)?.parent;+function _C(e, t) {+ let n = DC.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function aC(e, t = !1) {+function vC(e, t = !1) {if (e != null && !t) try {- cx(e);+ Mx(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function oC(e, t = !0) {- let n = e[0].previousElementSibling, r = $S(e), i = uC(r, { tabbable: t }, e);+function yC(e, t = !0) {+ let n = e[0].previousElementSibling, r = fC(e), i = wC(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = $S(e), i = uC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = fC(e), i = wC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function sC(e, t = !0) {- aC(oC(e, t));+function bC(e, t = !0) {+ vC(yC(e, t));}-function Vie(e, t) {+function kie(e, t) {let n = P.useRef(t);(0, P.useEffect)(() => {- n.current && (ZS = e, !nC(ab(Zy(e.current ? e.current[0] : void 0)), ZS.current) && e.current && sC(e.current)), n.current = !1;+ n.current && (uC = e, !hC(bb(fb(e.current ? e.current[0] : void 0)), uC.current) && e.current && bC(e.current)), n.current = !1;}, [e]);}-function Hie(e, t, n) {- pb(() => {+function Aie(e, t, n) {+ Mb(() => {if (t || n) return;- let r = e.current, i = Zy(r ? r[0] : void 0), a = (t) => {+ let r = e.current, i = fb(r ? r[0] : void 0), a = (t) => {let n = G(t);- nC(n, e.current) ? ZS = e : tC(n) || (ZS = null);+ hC(n, e.current) ? uC = e : mC(n) || (uC = 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));@@ -22560,43 +22567,43 @@ function Hie(e, t, n) {n]);}-function cC(e) {- let t = fC.getTreeNode(ZS);+function xC(e) {+ let t = DC.getTreeNode(uC);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function Uie(e, t, n) {- let r = (0, P.useRef)(typeof document < "u" ? ab(Zy(e.current ? e.current[0] : void 0)) : null);- pb(() => {- let r = e.current, i = Zy(r ? r[0] : void 0);+function SC(e, t, n) {+ let r = (0, P.useRef)(typeof document < "u" ? bb(fb(e.current ? e.current[0] : void 0)) : null);+ Mb(() => {+ let r = e.current, i = fb(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!ZS || iC(ZS, e)) && nC(ab(i), e.current) && (ZS = e);+ (!uC || _C(uC, e)) && hC(bb(i), e.current) && (uC = 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]), pb(() => {- let r = Zy(e.current ? e.current[0] : void 0);+ }, [e, n]), Mb(() => {+ let r = fb(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !eC(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !pC(e) || t.isComposing) return;let n = r.activeElement;- if (!rC(n, e) || !cC(e)) return;- let i = fC.getTreeNode(e);+ if (!gC(n, e) || !xC(e)) return;+ let i = DC.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = uC(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = wC(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 || !rC(s, e)) && a) {+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !gC(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (rC(s, e));- t.preventDefault(), t.stopPropagation(), s ? aC(s, !0) : tC(a) ? aC(a, !0) : n.blur();+ while (gC(s, e));+ t.preventDefault(), t.stopPropagation(), s ? vC(s, !0) : mC(a) ? vC(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -22606,31 +22613,31 @@ function Uie(e, t, n) {e,t,n- ]), pb(() => {- let n = Zy(e.current ? e.current[0] : void 0);+ ]), Mb(() => {+ let n = fb(e.current ? e.current[0] : void 0);if (!t) return;- let i = fC.getTreeNode(e);+ let i = DC.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = fC.getTreeNode(e);+ let r = DC.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = ab(n);- if (t && i && (a && rC(a, e) || a === n.body && cC(e))) {- let t = fC.clone();+ let i = r.nodeToRestore, a = bb(n);+ if (t && i && (a && gC(a, e) || a === n.body && xC(e))) {+ let t = DC.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- lC(n.nodeToRestore);+ CC(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && fC.getTreeNode(n.scopeRef)) {- let e = oC(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && DC.getTreeNode(n.scopeRef)) {+ let e = yC(n.scopeRef.current, !0);if (e) {- lC(e);+ CC(e);return;}}@@ -22642,21 +22649,21 @@ function Uie(e, t, n) {};}, [e, t]);}-function lC(e) {- e.dispatchEvent(new CustomEvent(XS, {+function CC(e) {+ e.dispatchEvent(new CustomEvent(lC, {bubbles: !0,cancelable: !0- })) && aC(e);+ })) && vC(e);}-function uC(e, t, n) {- let r = t?.tabbable ? db : ub, i = Zy(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = JS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return ib(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Rie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || nC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function wC(e, t, n) {+ let r = t?.tabbable ? Ab : kb, i = fb(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = sC(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return yb(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Eie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || hC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var Wie = class e {+var TC = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new dC({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new EC({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -22667,7 +22674,7 @@ var Wie = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new dC({ scopeRef: e });+ let i = new EC({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -22678,7 +22685,7 @@ var Wie = 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 && nC(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 && hC(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);}@@ -22690,7 +22697,7 @@ var Wie = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, dC = class {+}, EC = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -22700,13 +22707,13 @@ var Wie = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, fC = new Wie(), pC = 7e3, mC = null;-function hC(e, t = "assertive", n = pC) {- mC ? mC.announce(e, t, n) : (mC = new Gie(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? mC.announce(e, t, n) : setTimeout(() => {- mC?.isAttached() && mC?.announce(e, t, n);+}, DC = new TC(), OC = 7e3, kC = null;+function AC(e, t = "assertive", n = OC) {+ kC ? kC.announce(e, t, n) : (kC = new jC(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? kC.announce(e, t, n) : setTimeout(() => {+ kC?.isAttached() && kC?.announce(e, t, n);}, 100));}-var Gie = class {+var jC = 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,@@ -22731,7 +22738,7 @@ var Gie = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = pC) {+ announce(e, t = "assertive", n = OC) {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(() => {@@ -22743,8 +22750,8 @@ var Gie = class {}};// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function gC(e, t) {- let n = (0, P.useRef)(!0), r = (0, P.useRef)(null), i = tS(e);+function MC(e, t) {+ let n = (0, P.useRef)(!0), r = (0, P.useRef)(null), i = TS(e);(0, P.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, P.useEffect)(() => {@@ -22753,30 +22760,30 @@ function gC(e, t) {}, t);}// node_modules/react-aria/dist/private/utils/isScrollable.mjs-function _C(e, t) {+function NC(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 vC(e, t) {+function PC(e, t) {let n = e;- for (_C(n, t) && (n = n.parentElement); n && !_C(n, t);) n = n.parentElement;+ for (NC(n, t) && (n = n.parentElement); n && !NC(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}// node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function yC(e, t) {+function FC(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (_C(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (NC(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function bC(e, t, n = {}) {- e !== t && Kie(e, t, t.getBoundingClientRect(), n);+function IC(e, t, n = {}) {+ e !== t && LC(e, t, t.getBoundingClientRect(), n);}-function Kie(e, t, n, r = {}) {+function LC(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;- Cb() && wb() || u.direction === "ltr" ? F -= ne : u.direction === "rtl" && (P += ne);+ Wb() && Kb() || 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;@@ -22797,7 +22804,7 @@ function Kie(e, t, n, r = {}) {top: o});}-function xC(e, t = {}) {+function RC(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -22810,45 +22817,45 @@ function xC(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = yC(e, !0);- for (let t of i) bC(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = FC(e, !0);+ for (let t of i) IC(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? yC(n, !0) : [];- for (let e of i) bC(e, n, {+ i = n ? FC(n, !0) : [];+ for (let e of i) IC(e, n, {block: "center",inline: "center"});- for (let t of yC(e, !0)) bC(t, e);+ for (let t of FC(e, !0)) IC(t, e);}}}}// node_modules/react-aria/dist/private/utils/useDescription.mjs-var qie = 0, SC = /* @__PURE__ */ new Map();-function CC(e) {+var zC = 0, BC = /* @__PURE__ */ new Map();+function VC(e) {let [t, n] = (0, P.useState)();- return pb(() => {+ return Mb(() => {if (!e) return;- let t = SC.get(e);+ let t = BC.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${qie++}`;+ let r = `react-aria-description-${zC++}`;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- }, SC.set(e, t);+ }, BC.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), SC.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), BC.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}// node_modules/react-aria/dist/private/utils/useFormReset.mjs-function wC(e, t, n) {- let r = tS((e) => {+function HC(e, t, n) {+ let r = TS((e) => {n && !e.defaultPrevented && n(t);});(0, P.useEffect)(() => {@@ -22859,21 +22866,21 @@ function wC(e, t, n) {}, [e]);}// node_modules/react-aria/dist/private/form/useFormValidation.mjs-function TC(e, t, n) {+function UC(e, t, n) {let { validationBehavior: r, focus: i } = e;- pb(() => {+ Mb(() => {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(Yie(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(GC(n.current));}});- let a = (0, P.useRef)(!1), o = tS(() => {+ let a = (0, P.useRef)(!1), o = TS(() => {a.current || t.resetValidation();- }), s = tS((e) => {+ }), s = TS((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && Xie(r) === n.current && (i ? i() : n.current?.focus(), Qb("keyboard")), e.preventDefault();- }), c = tS(() => {+ !e.defaultPrevented && n && r && KC(r) === n.current && (i ? i() : n.current?.focus(), Sx("keyboard")), e.preventDefault();+ }), c = TS(() => {t.commitValidation();});(0, P.useEffect)(() => {@@ -22887,7 +22894,7 @@ function TC(e, t, n) {};}, [n, r]);}-function Jie(e) {+function WC(e) {let t = e.validity;return {badInput: t.badInput,@@ -22903,14 +22910,14 @@ function Jie(e) {valid: t.valid};}-function Yie(e) {+function GC(e) {return {isInvalid: !e.validity.valid,- validationDetails: Jie(e),+ validationDetails: WC(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function Xie(e) {+function KC(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -22918,23 +22925,23 @@ function Xie(e) {return null;}// node_modules/react-aria/dist/private/utils/useSlot.mjs-function Zie(e = !0) {+function qC(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 pb(() => {+ return Mb(() => {r.current || n(!1);}, []), [i, t];}-function EC(e = !0) {- let t = px(), [n, r] = Zie(e);+function JC(e = !0) {+ let t = Lx(), [n, r] = qC(e);return {id: r ? t : void 0,ref: n};}// node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var DC = {+var YC = {badInput: !1,customError: !1,patternMismatch: !1,@@ -22946,18 +22953,18 @@ var DC = {typeMismatch: !1,valueMissing: !1,valid: !0-}, OC = {- ...DC,+}, XC = {+ ...YC,customError: !0,valid: !1-}, kC = {+}, ZC = {isInvalid: !1,- validationDetails: DC,+ validationDetails: YC,validationErrors: []-}, Qie = (0, P.createContext)({}), AC = "__reactAriaFormValidationState";-function jC(e) {+}, QC = (0, P.createContext)({}), $C = "__reactAriaFormValidationState";+function ew(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[AC];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[$C];return {realtimeValidation: t,displayValidation: n,@@ -22966,70 +22973,70 @@ function jC(e) {commitValidation: a};}- return $ie(e);+ return tw(e);}-function $ie(e) {+function tw(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: OC- }, l = (0, P.useMemo)(() => !o || i == null ? null : NC(eae(o, i)), [o, i]);+ validationDetails: XC+ }, l = (0, P.useMemo)(() => !o || i == null ? null : iw(rw(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, P.useContext)(Qie), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => MC(u[e])) : MC(u[r]) : [], [u, r]), [f, p] = (0, P.useState)(u), [m, h] = (0, P.useState)(!1);+ let u = (0, P.useContext)(QC), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => nw(u[e])) : nw(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)(() => NC(m ? [] : d), [m, d]), _ = (0, P.useRef)(kC), [v, y] = (0, P.useState)(kC), b = (0, P.useRef)(kC), x = () => {+ let g = (0, P.useMemo)(() => iw(m ? [] : d), [m, d]), _ = (0, P.useRef)(ZC), [v, y] = (0, P.useState)(ZC), b = (0, P.useRef)(ZC), x = () => {if (!S) return;C(!1);let e = l || a || _.current;- PC(e, b.current) || (b.current = e, y(e));+ aw(e, b.current) || (b.current = e, y(e));}, [S, C] = (0, P.useState)(!1);return (0, P.useEffect)(x), {- realtimeValidation: c || g || l || a || kC,+ realtimeValidation: c || g || l || a || ZC,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !PC(v, e) ? y(e) : _.current = e;+ s === "aria" && !aw(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = kC;- PC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);+ let e = ZC;+ aw(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},commitValidation() {s === "native" && C(!0), h(!0);}};}-function MC(e) {+function nw(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function eae(e, t) {+function rw(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return MC(n);+ if (n && typeof n != "boolean") return nw(n);}return [];}-function NC(e) {+function iw(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: OC+ validationDetails: XC} : null;}-function PC(e, t) {+function aw(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 FC(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 = jC({+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 = ew({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- TC(e, b, n);+ UC(e, b, n);let w = (e) => {e.stopPropagation(), t.setSelected(G(e).checked);- }, { pressProps: T, isPressed: E } = HS({+ }, { pressProps: T, isPressed: E } = tC({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -23037,7 +23044,7 @@ function FC(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [D, O] = (0, P.useState)(!1), { pressProps: k } = HS({+ }), [D, O] = (0, P.useState)(!1), { pressProps: k } = tC({onPressStart(e) {e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));},@@ -23054,13 +23061,13 @@ function FC(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [AC]: i } = e, { commitValidation: a } = i || b;+ let { [$C]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: A } = Dx(e, n), j = K(T, A), M = OS(e, { labelable: !0 });- wC(n, t.defaultSelected, t.setSelected);- let ee = EC(), te = EC();+ }), { focusableProps: A } = Zx(e, n), j = K(T, A), M = VS(e, { labelable: !0 });+ HC(n, t.defaultSelected, t.setSelected);+ let ee = JC(), te = JC();return {labelProps: K(k, { onClick: (e) => e.preventDefault() }),inputProps: K(M, {@@ -23096,8 +23103,8 @@ function FC(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function IC(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 } = FC(e, t, n), { isIndeterminate: m } = e;+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;return (0, P.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {@@ -23115,17 +23122,17 @@ function IC(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/utils.mjs-var tae = /* @__PURE__ */ new WeakMap();+var jie = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/label/useLabel.mjs-function LC(e) {+function cw(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = px(t);- let o = px(), s = {};+ t = Lx(t);+ let o = Lx(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = rS({+ let c = DS({id: t,"aria-label": i,"aria-labelledby": r@@ -23136,13 +23143,13 @@ function LC(e) {};}// node_modules/react-aria/dist/private/label/useField.mjs-function RC(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = LC(e), s = mx([+function lw(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = cw(e), s = Rx([!!t,!!n,r,i- ]), c = mx([+ ]), c = Rx([!!t,!!n,r,@@ -23160,26 +23167,26 @@ function RC(e) {};}// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function zC(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = LS(), c = (0, P.useCallback)((e) => {- ib(e.currentTarget, G(e)) && a.current.isFocusWithin && !ib(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+function uw(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = XS(), c = (0, P.useCallback)((e) => {+ yb(e.currentTarget, G(e)) && a.current.isFocusWithin && !yb(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = gb(c), u = (0, P.useCallback)((e) => {- if (!ib(e.currentTarget, G(e))) return;- let t = G(e), n = Zy(t), s = ab(n);+ ]), l = Fb(c), u = (0, P.useCallback)((e) => {+ if (!yb(e.currentTarget, G(e))) return;+ let t = G(e), n = fb(t), s = bb(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 && !ib(t, r)) {+ if (a.current.isFocusWithin && !yb(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- hb(e, t);- let i = mb(e);+ Pb(e, t);+ let i = Nb(e);c(i);}}, { capture: !0 });@@ -23200,14 +23207,14 @@ function zC(e) {} };}// node_modules/react-stately/dist/private/utils/useControlledState.mjs-var nae = P.useInsertionEffect ?? P.useLayoutEffect;-function BC(e, t, n) {+var Mie = P.useInsertionEffect ?? P.useLayoutEffect;+function dw(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;- nae(() => {+ Mie(() => {a.current = c;});let [, l] = (0, P.useReducer)(() => ({}), {});@@ -23217,8 +23224,8 @@ function BC(e, t, n) {}, [n])];}// node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function VC(e = {}) {- let { isReadOnly: t } = e, [n, r] = BC(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, P.useState)(n);+function fw(e = {}) {+ let { isReadOnly: t } = e, [n, r] = dw(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, P.useState)(n);function a(e) {t || r(e);}@@ -23233,26 +23240,26 @@ function VC(e = {}) {};}// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function rae(e, t, n) {- let r = VC({+function Nie(e, t, n) {+ let r = fw({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 } = tae.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = jie.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = jC({+ let { realtimeValidation: l } = ew({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, P.useRef)(kC), d = () => {+ }), u = (0, P.useRef)(ZC), 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 = IC({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = sw({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -23260,7 +23267,7 @@ function rae(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [AC]: {+ [$C]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -23283,10 +23290,10 @@ function rae(e, t, n) {};}// node_modules/react-stately/dist/private/utils/number.mjs-function HC(e, t = -Infinity, n = Infinity) {+function pw(e, t = -Infinity, n = Infinity) {return Math.min(Math.max(e, t), n);}-function UC(e, t) {+function mw(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 {@@ -23299,23 +23306,23 @@ function UC(e, t) {}return n;}-function WC(e, t, n, r) {+function hw(e, t, n, r) {t = Number(t), n = Number(n);- let i = (e - (isNaN(t) ? 0 : t)) % r, a = UC(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(UC(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(UC((n - t) / r, r)) * r), a = UC(a, r), a;+ 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;}// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs-var GC = /* @__PURE__ */ new Map(), KC = !1;+var gw = /* @__PURE__ */ new Map(), _w = !1;try {- KC = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";+ _w = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";} catch {}-var iae = class {+var Pie = class {constructor(e, t = {}) {- this.numberFormatter = aae(e, t), this.options = t;+ this.numberFormatter = Fie(e, t), this.options = t;}format(e) {let t = "";- return t = !KC && this.options.signDisplay != null ? oae(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;+ return t = !_w && this.options.signDisplay != null ? Iie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;}formatToParts(e) {return this.numberFormatter.formatToParts(e);@@ -23347,21 +23354,21 @@ var iae = class {}resolvedOptions() {let e = this.numberFormatter.resolvedOptions();- return !KC && this.options.signDisplay != null && (e = {+ return !_w && this.options.signDisplay != null && (e = {...e,signDisplay: this.options.signDisplay}), e;}};-function aae(e, t = {}) {+function Fie(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 (GC.has(r)) return GC.get(r);+ if (gw.has(r)) return gw.get(r);let i = new Intl.NumberFormat(e, t);- return GC.set(r, i), i;+ return gw.set(r, i), i;}-function oae(e, t, n) {+function Iie(e, t, n) {if (t === "auto") return e.format(n);if (t === "never") return e.format(Math.abs(n));{@@ -23374,12 +23381,12 @@ function oae(e, t, n) {}}// node_modules/react-aria/dist/private/interactions/useMove.mjs-function qC(e) {+function vw(e) {let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, P.useRef)({didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = LS(), s = tS((0, P.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = XS(), s = TS((0, P.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -23401,8 +23408,8 @@ function qC(e) {t,n,i- ])), c = tS((0, P.useCallback)((e, t) => {- NS(), i.current.didMove && r?.({+ ])), c = TS((0, P.useCallback)((e, t) => {+ KS(), i.current.didMove && r?.({type: "moveend",pointerType: t,shiftKey: e.shiftKey,@@ -23413,7 +23420,7 @@ function qC(e) {}, [r, i]));return { moveProps: (0, P.useMemo)(() => {let e = {}, t = () => {- MS(), i.current.didMove = !1;+ GS(), i.current.didMove = !1;};{let n = (e) => {@@ -23428,7 +23435,7 @@ function qC(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = Qy(G(e));+ let a = pb(G(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -23438,7 +23445,7 @@ function qC(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = Qy(G(e));+ let o = pb(G(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -23471,7 +23478,7 @@ function qC(e) {]) };}// node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var JC = {+var yw = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -23483,37 +23490,37 @@ var JC = {width: "1px",whiteSpace: "nowrap"};-function YC(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, P.useState)(!1), { focusWithinProps: a } = zC({+function bw(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, P.useState)(!1), { focusWithinProps: a } = uw({isDisabled: !n,onFocusWithinChange: (e) => i(e)}), o = (0, P.useMemo)(() => r ? t : t ? {- ...JC,+ ...yw,...t- } : JC, [r]);+ } : yw, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function XC(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = YC(e);+function xw(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = bw(e);return /*#__PURE__*/ P.createElement(n, K(a, o), t);}// node_modules/react-aria/dist/private/textfield/useTextField.mjs-function sae(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = BC(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Dx(e, t), d = jC({+function Lie(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 } = Zx(e, t), d = ew({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = RC({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = lw({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = OS(e, { labelable: !0 }), b = {+ }), y = VS(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, P.useState)(c);- return wC(t, e.defaultValue ?? x, l), TC(e, d, t), {+ return HC(t, e.defaultValue ?? x, l), UC(e, d, t), {labelProps: h,inputProps: K(y, n === "input" ? b : void 0, {disabled: r,@@ -23559,26 +23566,26 @@ function sae(e, t) {};}// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs-function cae(e = {}) {- let { locale: t } = lS();- return (0, P.useMemo)(() => new iae(t, e), [t, e]);+function Rie(e = {}) {+ let { locale: t } = NS();+ return (0, P.useMemo)(() => new Pie(t, e), [t, e]);}// node_modules/react-aria/dist/private/slider/utils.mjs-var ZC = /* @__PURE__ */ new WeakMap();-function QC(e, t) {- let n = ZC.get(e);+var Sw = /* @__PURE__ */ new WeakMap();+function Cw(e, t) {+ let n = Sw.get(e);if (!n) throw Error("Unknown slider state");return `${n.id}-${t}`;}// node_modules/react-aria/dist/private/slider/useSlider.mjs-function lae(e, t, n) {- let { labelProps: r, fieldProps: i } = LC(e), a = e.orientation === "vertical";- ZC.set(t, {+function zie(e, t, n) {+ let { labelProps: r, fieldProps: i } = cw(e), a = e.orientation === "vertical";+ Sw.set(t, {id: r.id ?? i.id,"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = lS(), { addGlobalListener: s, removeGlobalListener: c } = LS(), l = (0, P.useRef)(null), u = o === "rtl", d = (0, P.useRef)(null), { moveProps: f } = qC({+ let { direction: o } = NS(), { addGlobalListener: s, removeGlobalListener: c } = XS(), l = (0, P.useRef)(null), u = o === "rtl", d = (0, P.useRef)(null), { moveProps: f } = vw({onMoveStart() {d.current = null;},@@ -23588,7 +23595,7 @@ function lae(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 = HC(d.current / s, 0, 1);+ let e = pw(d.current / s, 0, 1);t.setThumbPercent(l.current, e);}},@@ -23612,7 +23619,7 @@ function lae(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(QC(t, 0))?.focus(), Qb("keyboard");+ document.getElementById(Cw(t, 0))?.focus(), Sx("keyboard");}), {labelProps: r,groupProps: {@@ -23635,26 +23642,26 @@ function lae(e, t, n) {}}, f),outputProps: {- htmlFor: t.values.map((e, n) => QC(t, n)).join(" "),+ htmlFor: t.values.map((e, n) => Cw(t, n)).join(" "),"aria-live": "off"}};}// node_modules/react-aria/dist/private/slider/useSliderThumb.mjs-function uae(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 } = lS(), { addGlobalListener: m, removeGlobalListener: h } = LS(), g = ZC.get(t), { labelProps: _, fieldProps: v } = LC({+function Bie(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 } = NS(), { addGlobalListener: m, removeGlobalListener: h } = XS(), g = Sw.get(t), { labelProps: _, fieldProps: v } = cw({...e,- id: QC(t, n),+ id: Cw(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, P.useCallback)(() => {- s.current && Xy(s.current);+ s.current && db(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 } = Cx({+ }, { keyboardProps: T } = qx({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -23670,7 +23677,7 @@ function uae(e, t) {})},allowRepeats: !0- }), { moveProps: E } = qC({+ }), { moveProps: E } = vw({onMoveStart() {C.current = null, t.setThumbDragging(n, !0);},@@ -23681,7 +23688,7 @@ function uae(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, HC(C.current / g, 0, 1));+ (f || S) && (t = -t), C.current += t, c(n, pw(C.current / g, 0, 1));}},onMoveEnd() {@@ -23689,7 +23696,7 @@ function uae(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: D } = Dx(K(e, {+ let { focusableProps: D } = Zx(K(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), O = (0, P.useRef)(void 0), k = (e) => {@@ -23709,7 +23716,7 @@ function uae(e, t) {k(e.changedTouches[0].identifier);}});- return wC(s, t.defaultValues[n], (e) => {+ return HC(s, t.defaultValues[n], (e) => {t.setThumbValue(n, e);}), {inputProps: K(D, v, {@@ -23749,42 +23756,42 @@ function uae(e, t) {};}// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var dae = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function $C(e) {+var Vie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function ww(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var ew = /* @__PURE__ */ new WeakMap(), tw = [];-function nw(e, t) {- let n = Qy(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && dae, 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 Tw = /* @__PURE__ */ new WeakMap(), Ew = [];+function Dw(e, t) {+ let n = pb(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Vie, 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 (rb()) {+ if (vb()) {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 (; hb(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 (ib(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (yb(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = JS(Zy(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = sC(fb(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 = ew.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), ew.set(e, t + 1));+ let t = Tw.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Tw.set(e, t + 1));};- tw.length && tw[tw.length - 1].disconnect(), d(i);+ Ew.length && Ew[Ew.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) => ib(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && $C(e) ? o.add(e) : e instanceof Element && d(e);- if (rb()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => yb(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 (vb()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23797,11 +23804,11 @@ function nw(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (rb()) for (let e of u) {+ if (vb()) 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) => ib(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && $C(e) ? o.add(e) : e instanceof Element && d(e);- if (rb()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => yb(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 (vb()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23827,56 +23834,56 @@ function nw(e, t) {p.disconnect();}};- return tw.push(h), () => {- if (p.disconnect(), rb()) for (let e of m) e.disconnect();+ return Ew.push(h), () => {+ if (p.disconnect(), vb()) for (let e of m) e.disconnect();for (let e of s) {- let t = ew.get(e);- t != null && (t === 1 ? (l(e, !1), ew.delete(e)) : ew.set(e, t - 1));+ let t = Tw.get(e);+ t != null && (t === 1 ? (l(e, !1), Tw.delete(e)) : Tw.set(e, t - 1));}- h === tw[tw.length - 1] ? (tw.pop(), tw.length && tw[tw.length - 1].observe()) : tw.splice(tw.indexOf(h), 1);+ h === Ew[Ew.length - 1] ? (Ew.pop(), Ew.length && Ew[Ew.length - 1].observe()) : Ew.splice(Ew.indexOf(h), 1);};}-function rw(e) {- let t = tw[tw.length - 1];+function Ow(e) {+ let t = Ew[Ew.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 iw = /* @__PURE__ */ new WeakMap();-function fae(e) {+var kw = /* @__PURE__ */ new WeakMap();+function Hie(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function pae(e, t) {- let n = iw.get(e);+function Uie(e, t) {+ let n = kw.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${fae(t)}`;+ return `${n.id}-option-${Hie(t)}`;}// node_modules/react-aria/dist/private/selection/utils.mjs-function aw(e) {- return wre() ? e.altKey : e.ctrlKey;+function Aw(e) {+ return Gb() ? e.altKey : e.ctrlKey;}-function ow(e, t) {+function jw(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 sw = /* @__PURE__ */ new WeakMap();-function mae(e) {- let t = px();- return sw.set(e, t), t;+var Mw = /* @__PURE__ */ new WeakMap();+function Wie(e) {+ let t = Lx();+ return Mw.set(e, t), t;}-function hae(e) {- return sw.get(e);+function Gie(e) {+ return Mw.get(e);}// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var cw = class {+var Nw = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : ow(this.ref, e);+ let n = e == null ? null : jw(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -23902,12 +23909,12 @@ var cw = class {height: e?.clientHeight ?? 0};}-}, lw = class {+}, Pw = 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 cw(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 cw(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 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.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -23947,14 +23954,14 @@ var cw = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = ow(this.ref, e);+ let t = this.getNextKey(e), n = jw(this.ref, e);if (t != null) {- let e = ow(this.ref, t);+ let e = jw(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = ow(this.ref, r);+ let e = jw(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -23988,7 +23995,7 @@ var cw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !_C(t)) return this.getFirstKey();+ if (t && !NC(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -24003,7 +24010,7 @@ var cw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !_C(t)) return this.getLastKey();+ if (t && !NC(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);@@ -24026,149 +24033,149 @@ var cw = class {}return null;}-}, uw = {};-uw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, Fw = {};+Fw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };// node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var dw = {};-dw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+var Iw = {};+Iw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs-var fw = {};-fw = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };+var 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-var pw = {};-pw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+var 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-var mw = {};-mw = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };+var 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-var hw = {};-hw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+var Bw = {};+Bw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };// node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var gw = {};-gw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+var Vw = {};+Vw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };// node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var _w = {};-_w = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+var 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-var vw = {};-vw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };+var Uw = {};+Uw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs-var yw = {};-yw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+var 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-var bw = {};-bw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };+var 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-var xw = {};-xw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+var Kw = {};+Kw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var Sw = {};-Sw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+var 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-var Cw = {};-Cw = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+var 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-var ww = {};-ww = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+var 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-var Tw = {};-Tw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+var Xw = {};+Xw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var Ew = {};-Ew = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+var Zw = {};+Zw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var Dw = {};-Dw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+var Qw = {};+Qw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs-var Ow = {};-Ow = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };+var $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-var kw = {};-kw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+var eT = {};+eT = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var Aw = {};-Aw = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };+var 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-var jw = {};-jw = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };+var 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-var Mw = {};-Mw = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+var 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-var Nw = {};-Nw = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+var 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-var Pw = {};-Pw = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };+var 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-var Fw = {};-Fw = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+var oT = {};+oT = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var Iw = {};-Iw = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };+var 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-var Lw = {};-Lw = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };+var 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-var Rw = {};-Rw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+var 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-var zw = {};-zw = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };+var 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-var Bw = {};-Bw = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };+var 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-var Vw = {};-Vw = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+var fT = {};+fT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var Hw = {};-Hw = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+var pT = {};+pT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var Uw = {};-Uw = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+var mT = {};+mT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };// node_modules/react-aria/dist/private/menu/intlStrings.mjs-var Ww = {};-Ww = {- "ar-AE": uw,- "bg-BG": dw,- "cs-CZ": fw,- "da-DK": pw,- "de-DE": mw,- "el-GR": hw,- "en-US": gw,- "es-ES": _w,- "et-EE": vw,- "fi-FI": yw,- "fr-FR": bw,- "he-IL": xw,- "hr-HR": Sw,- "hu-HU": Cw,- "it-IT": ww,- "ja-JP": Tw,- "ko-KR": Ew,- "lt-LT": Dw,- "lv-LV": Ow,- "nb-NO": kw,- "nl-NL": Aw,- "pl-PL": jw,- "pt-BR": Mw,- "pt-PT": Nw,- "ro-RO": Pw,- "ru-RU": Fw,- "sk-SK": Iw,- "sl-SI": Lw,- "sr-SP": Rw,- "sv-SE": zw,- "tr-TR": Bw,- "uk-UA": Vw,- "zh-CN": Hw,- "zh-TW": Uw+var 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};// node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var gae = 500;-function Gw(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = gae, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = LS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = HS({+var Kie = 500;+function gT(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Kie, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = XS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = tC({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -24176,12 +24183,12 @@ function Gw(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Zy(e.target).activeElement !== e.target && Xy(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), fb(e.target).activeElement !== e.target && db(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 = Qy(e.target);+ let t = pb(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -24196,11 +24203,11 @@ function Gw(e) {});}});- return { longPressProps: K(f, CC(a && !t ? s : void 0)) };+ return { longPressProps: K(f, VC(a && !t ? s : void 0)) };}// node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function _ae(e) {- let { onContextMenu: t } = e, n = (0, P.useRef)(!1), { longPressProps: r } = Gw({+function qie(e) {+ let { onContextMenu: t } = e, n = (0, P.useRef)(!1), { longPressProps: r } = gT({onLongPressStart() {n.current = !1;},@@ -24212,7 +24219,7 @@ function _ae(e) {});}});- return t ? { contextMenuProps: K(Cb() ? r : {}, {+ return t ? { contextMenuProps: K(Wb() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -24223,7 +24230,7 @@ function _ae(e) {});},onKeyDown(e) {- if (xb() && e.ctrlKey && e.key === "Enter") {+ if (Vb() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -24242,13 +24249,13 @@ function _ae(e) {}) } : { contextMenuProps: {} };}// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var Kw = /* @__PURE__ */ new WeakMap();-function vae(e) {+var _T = /* @__PURE__ */ new WeakMap();+function Jie(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, P.useEffect)(() => !n || r === null ? void 0 : tb(ob(t.current), "scroll", (e) => {+ (0, P.useEffect)(() => !n || r === null ? void 0 : gb(xb(t.current), "scroll", (e) => {let n = G(e);- if (!t.current || n instanceof Node && !ib(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || Kw.get(t.current);+ if (!t.current || n instanceof Node && !yb(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || _T.get(t.current);i && i();}, !0), [n,@@ -24257,14 +24264,14 @@ function vae(e) {]);}// node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function yae(e, t, n) {+function Yie(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, P.useEffect)(() => {- n && n.current && Kw.set(n.current, t.close);+ n && n.current && _T.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = px();+ let o = Lx();return {triggerProps: {"aria-haspopup": a,@@ -24276,14 +24283,14 @@ function yae(e, t, n) {};}// node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function bae(e) {+function Xie(e) {return e && e.__esModule ? e.default : e;}-function qw(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = px(), { triggerProps: s, overlayProps: c } = yae({ type: r }, t, n), l = (e, n, r = "first") => {+function vT(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Lx(), { triggerProps: s, overlayProps: c } = Yie({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = Cx({+ }, { keyboardProps: u } = qx({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -24295,7 +24302,7 @@ function qw(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = xS(bae(Ww), "@react-aria/menu"), { longPressProps: f } = Gw({+ }), d = zS(Xie(hT), "@react-aria/menu"), { longPressProps: f } = gT({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -24307,14 +24314,14 @@ function qw(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Xy(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (db(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (Xy(e.target), t.toggle());+ e.pointerType === "touch" && !i && (db(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = _ae({ onContextMenu(e) {+ let { contextMenuProps: m } = qie({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,@@ -24358,8 +24365,8 @@ function qw(e, t, n) {};}// node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var Jw = 1e3;-function Yw(e) {+var yT = 1e3;+function bT(e) {let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, P.useRef)({search: "",timeout: void 0@@ -24378,12 +24385,12 @@ function Yw(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, Jw);+ }, yT);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = xae(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !ib(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {+ let a = Zie(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !yb(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();@@ -24394,32 +24401,32 @@ function Yw(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, Jw);+ }, yT);}} : void 0} };}-function xae(e) {+function Zie(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function Xw(e, t) {+function xT(e, t) {let n = (0, P.useRef)(!0), r = (0, P.useRef)(null);- pb(() => (n.current = !0, () => {+ Mb(() => (n.current = !0, () => {n.current = !1;- }), []), pb(() => {+ }), []), Mb(() => {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 Zw(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 } = lS(), _ = Ob(), v = (e, n, i) => {+function ST(e) {+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = NS(), _ = Qb(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !aw(e)) {+ if (t.isLink(n) && m === "selection" && l && !Aw(e)) {(0, Lt.flushSync)(() => {t.setFocusedKey(n, i);});- let a = ow(r, n), o = t.getItemProps(n);+ let a = jw(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -24431,7 +24438,7 @@ function Zw(e) {t.extendSelection(n);return;}- if (l && !aw(e)) {+ if (l && !Aw(e)) {t.replaceSelection(n);return;}@@ -24458,9 +24465,9 @@ function Zw(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, $x(e));+ let r = n.getFirstKey(t.focusedKey, CS(e));if (t.setFocusedKey(r), r != null) {- if ($x(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (CS(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24492,9 +24499,9 @@ function Zw(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, $x(e));+ let r = n.getLastKey(t.focusedKey, CS(e));if (t.setFocusedKey(r), r != null) {- if ($x(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (CS(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24525,12 +24532,12 @@ function Zw(e) {else return !1;}, k = () => {if (!f && r.current) {- let e = uC(r.current, { tabbable: !0 }), t, n;+ let e = wC(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = ab();- t && (!sb(t) || i && !db(i)) && Xy(t);+ let i = bb();+ t && (!Sb(t) || i && !Ab(i)) && db(t);}return {shouldContinuePropagation: !0,@@ -24540,11 +24547,11 @@ function Zw(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), j = (e, t) => ({- [xb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [Vb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [xb() ? e + "+Alt" : e + "+Control"]: t,+ [Vb() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: M } = Cx({+ }), { keyboardProps: M } = qx({shortcuts: {...j("ArrowDown", y),...j("ArrowUp", b),@@ -24554,7 +24561,7 @@ function Zw(e) {...j("PageUp", E)},allowRepeats: !0- }), { keyboardProps: ee } = Cx({ shortcuts: {+ }), { keyboardProps: ee } = qx({ shortcuts: {...j("Home", x),...j("End", w),"Mod+A": D,@@ -24565,7 +24572,7 @@ function Zw(e) {top: 0,left: 0});- nS(p, "scroll", () => {+ ES(p, "scroll", () => {te.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -24573,11 +24580,11 @@ function Zw(e) {});let ne = (e) => {if (t.isFocused) {- ib(e.currentTarget, G(e)) || t.setFocused(!1);+ yb(e.currentTarget, G(e)) || t.setFocused(!1);return;}- if (!ib(e.currentTarget, G(e))) return;- let i = Zb();+ if (!yb(e.currentTarget, G(e))) return;+ let i = xx();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -24588,27 +24595,27 @@ function Zw(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 = ow(r, t.focusedKey);- e instanceof HTMLElement && (!sb(e) && !d && Xy(e), (i === "keyboard" || h && i === "virtual") && xC(e, { containingElement: r.current }));+ let e = jw(r, t.focusedKey);+ e instanceof HTMLElement && (!Sb(e) && !d && db(e), (i === "keyboard" || h && i === "virtual") && RC(e, { containingElement: r.current }));}}, N = (e) => {- ib(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ yb(e.currentTarget, e.relatedTarget) || t.setFocused(!1);}, re = (0, P.useRef)(!1);- nS(r, gie, d ? (e) => {+ ES(r, qre, d ? (e) => {let { detail: n } = e;e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (re.current = !0);} : void 0);let ie = n.getFirstKey?.() ?? null;- Xw(() => {+ xT(() => {if (re.current) {if (ie == null) {- let e = ab();- Hx(r.current), Ux(e, null), t.collection.size > 0 && (re.current = !1);+ let e = bb();+ fS(r.current), pS(e, null), t.collection.size > 0 && (re.current = !1);} else t.setFocusedKey(ie), re.current = !1;}- }, [ie, t.collection.size]), Xw(() => {+ }, [ie, t.collection.size]), xT(() => {t.collection.size > 0 && (re.current = !1);- }, [t.focusedKey]), nS(r, hie, d ? (e) => {+ }, [t.focusedKey]), ES(r, Kre, 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);@@ -24623,22 +24630,22 @@ function Zw(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && cx(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 && Mx(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 = Zb(), n = ow(r, t.focusedKey);+ let e = xx(), n = jw(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;(e === "keyboard" || ae.current) && (se.current && cancelAnimationFrame(se.current), se.current = requestAnimationFrame(() => {- p.current && (bC(p.current, n), e !== "virtual" && xC(n, { containingElement: r.current }));+ p.current && (IC(p.current, n), e !== "virtual" && RC(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && cx(r.current), oe.current = t.focusedKey, ae.current = !1;+ !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && Mx(r.current), oe.current = t.focusedKey, ae.current = !1;}), (0, P.useEffect)(() => () => {se.current && cancelAnimationFrame(se.current);- }, []), nS(r, "react-aria-focus-scope-restore", (e) => {+ }, []), ES(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});let ce = {@@ -24648,27 +24655,27 @@ function Zw(e) {onMouseDown(e) {p.current === G(e) && e.preventDefault();}- }, { typeSelectProps: le } = Yw({+ }, { typeSelectProps: le } = bT({keyboardDelegate: n,selectionManager: t});u || (ce = K(le, ce));let ue;d || (ue = t.focusedKey == null ? 0 : -1);- let de = mae(t.collection);+ let de = Wie(t.collection);return { collectionProps: K(ce, {tabIndex: ue,"data-collection": de}) };}// node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function Qw(e, t) {+function CT(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function $w(e) {- return eT(e, 0);+function wT(e) {+ return TT(e, 0);}-function eT(e, t) {+function TT(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -24676,106 +24683,106 @@ function eT(e, t) {n++;}}-function tT(e) {+function ET(e) {let t;for (let n of e) t = n;return t;}-function nT(e, t, n) {+function DT(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [...rT(e, t), t], i = [...rT(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [...OT(e, t), t], i = [...OT(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 rT(e, t) {+function OT(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 iT = /* @__PURE__ */ new WeakMap();-function aT(e) {- let t = iT.get(e);+var kT = /* @__PURE__ */ new WeakMap();+function AT(e) {+ let t = kT.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(Qw(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(CT(i, e)) : i.type === "item" && n++;};- return r(e), iT.set(e, n), n;+ return r(e), kT.set(e, n), n;}// node_modules/react-aria/dist/private/i18n/useCollator.mjs-var oT = /* @__PURE__ */ new Map();-function sT(e) {- let { locale: t } = lS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (oT.has(n)) return oT.get(n);+var jT = /* @__PURE__ */ new Map();+function MT(e) {+ let { locale: t } = NS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (jT.has(n)) return jT.get(n);let r = new Intl.Collator(t, e);- return oT.set(n, r), r;+ return jT.set(n, r), r;}// node_modules/react-aria/dist/private/interactions/PressResponder.mjs-var Sae = /*#__PURE__*/ P.forwardRef(({ children: e, ...t }, n) => {- let r = (0, P.useRef)(!1), i = (0, P.useContext)(IS), a = K(i || {}, {+var Qie = /*#__PURE__*/ P.forwardRef(({ children: e, ...t }, n) => {+ let r = (0, P.useRef)(!1), i = (0, P.useContext)(YS), a = K(i || {}, {...t,register() {r.current = !0, i && i.register();}});- return a.ref = wx(n || i?.ref), Tx(i, a.ref), (0, P.useEffect)(() => {+ return a.ref = Jx(n || i?.ref), Yx(i, a.ref), (0, P.useEffect)(() => {r.current ||= !0;- }, []), /*#__PURE__*/ P.createElement(IS.Provider, { value: a }, e);+ }, []), /*#__PURE__*/ P.createElement(YS.Provider, { value: a }, e);});-function Cae({ children: e }) {+function $ie({ children: e }) {let t = (0, P.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ P.createElement(IS.Provider, { value: t }, e);+ return /*#__PURE__*/ P.createElement(YS.Provider, { value: t }, e);}// node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var cT = /*#__PURE__*/ (0, P.createContext)({});-function lT(e) {- let { getContainer: t } = e, { getContainer: n } = uT();- return /*#__PURE__*/ P.createElement(cT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+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);}-function uT() {- return (0, P.useContext)(cT) ?? {};+function FT() {+ return (0, P.useContext)(NT) ?? {};}// node_modules/react-aria/dist/private/overlays/Overlay.mjs-var dT = /*#__PURE__*/ P.createContext(null);-function fT(e) {- let t = Fb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => ({+var IT = /*#__PURE__*/ P.createContext(null);+function LT(e) {+ let t = ax(), { 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 } = uT();+ }), [i, a]), { getContainer: s } = FT();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement(QS, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement(dC, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ P.createElement(dT.Provider, { value: o }, /*#__PURE__*/ P.createElement(Cae, null, /*#__PURE__*/ P.createElement(Ex.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ P.createElement(IT.Provider, { value: o }, /*#__PURE__*/ P.createElement($ie, null, /*#__PURE__*/ P.createElement(Xx.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);}-function pT() {- let e = (0, P.useContext)(dT)?.setContain;- pb(() => {+function RT() {+ let e = (0, P.useContext)(IT)?.setContain;+ Mb(() => {e?.(!0);}, [e]);}// node_modules/react-aria/dist/private/dialog/useDialog.mjs-function wae(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = mx();+function eae(e, t) {+ let { role: n = "dialog", isEntering: r } = e, i = Rx();i = e["aria-label"] ? void 0 : i;- let a = mx();+ let a = Rx();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, P.useRef)(!1);(0, P.useEffect)(() => {- if (!r && t.current && !sb(t.current)) {- cx(t.current);+ if (!r && t.current && !Sb(t.current)) {+ Mx(t.current);let e = setTimeout(() => {- (ab() === t.current || ab() === document.body) && (o.current = !0, t.current && (t.current.blur(), cx(t.current)), o.current = !1);+ (bb() === t.current || bb() === document.body) && (o.current = !0, t.current && (t.current.blur(), Mx(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t, r]), pT(), (0, P.useRef)(!1), (0, P.useEffect)(() => {});+ }, [t, r]), RT(), (0, P.useRef)(!1), (0, P.useEffect)(() => {});let s = e["aria-describedby"] ?? a;return {dialogProps: {- ...OS(e, { labelable: !0 }),+ ...VS(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? i,@@ -24789,23 +24796,23 @@ function wae(e, t) {};}// node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function mT(e = {}) {+function zT(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, P.useRef)({isFocused: !1,- isFocusVisible: t || Xb()+ isFocusVisible: t || bx()}), [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 = Xb(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = bx(), o(e), l();}, [l]);- tx((e) => {+ Tx((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = yx({+ let { focusProps: d } = Ux({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = zC({+ }), { focusWithinProps: f } = uw({isDisabled: !r,onFocusWithinChange: u});@@ -24816,41 +24823,41 @@ function mT(e = {}) {};}// node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function Tae(e = {}) {- let { locale: t } = lS();+function tae(e = {}) {+ let { locale: t } = NS();return (0, P.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}// node_modules/react-aria/dist/private/interactions/useHover.mjs-var hT = !1, gT = 0;-function Eae() {- hT = !0, setTimeout(() => {- hT = !1;+var BT = !1, VT = 0;+function nae() {+ BT = !0, setTimeout(() => {+ BT = !1;}, 500);}-function _T(e) {- e.pointerType === "touch" && Eae();+function HT(e) {+ e.pointerType === "touch" && nae();}-function Dae() {- let e = Zy(null);- if (e !== void 0) return gT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", _T), gT++, () => {- gT--, !(gT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", _T);+function rae() {+ let e = fb(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 vT(e) {+function UT(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)(Dae, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = LS(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {+ (0, P.useEffect)(rae, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = XS(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !ib(e.currentTarget, G(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !yb(e.currentTarget, G(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(Zy(G(e)), "pointerover", (e) => {- s.isHovered && s.target && !ib(s.target, G(e)) && a(e, e.pointerType);+ s.target = l, c(fb(G(e)), "pointerover", (e) => {+ s.isHovered && s.target && !yb(s.target, G(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -24865,9 +24872,9 @@ function vT(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- hT && t.pointerType === "mouse" || e(t, t.pointerType);+ BT && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && ib(e.currentTarget, G(e)) && a(e, e.pointerType);+ !i && yb(e.currentTarget, G(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -24889,22 +24896,22 @@ function vT(e) {};}// node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function Oae(e) {+function iae(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, P.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = tS((e) => {- n && yT(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = tS((e) => {+ }), o = TS((e) => {+ n && WT(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = TS((e) => {n && n(e);});(0, P.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = Zy(n);+ let n = t.current, i = fb(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && yT(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && WT(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);@@ -24912,28 +24919,28 @@ function Oae(e) {}}, [t, r]);}-function yT(e, t) {+function WT(e, t) {if (e.button > 0) return !1;let n = G(e);if (n) {let e = n.ownerDocument;- if (!e || !ib(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !yb(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 bT = /* @__PURE__ */ new WeakMap();-function xT(e, t) {- let { id: n } = bT.get(e) ?? {};+var GT = /* @__PURE__ */ new WeakMap();+function KT(e, t) {+ let { id: n } = GT.get(e) ?? {};if (!n) throw Error("Unknown list");- return `${n}-${kae(t)}`;+ return `${n}-${aae(t)}`;}-function kae(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 ST = {};-ST = {+var qT = {};+qT = {deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",select: "تحديد",@@ -24946,8 +24953,8 @@ ST = {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 CT = {};-CT = {+var JT = {};+JT = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",select: "Изберете",@@ -24960,8 +24967,8 @@ CT = {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 wT = {};-wT = {+var YT = {};+YT = {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",@@ -24974,8 +24981,8 @@ wT = {selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/da-DK.mjs-var TT = {};-TT = {+var XT = {};+XT = {deselectedItem: (e) => `${e.item} ikke valgt.`,longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",select: "Vælg",@@ -24988,8 +24995,8 @@ TT = {selectedItem: (e) => `${e.item} valgt.`};// node_modules/react-aria/dist/private/intl/grid/de-DE.mjs-var ET = {};-ET = {+var ZT = {};+ZT = {deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",select: "Auswählen",@@ -25002,8 +25009,8 @@ ET = {selectedItem: (e) => `${e.item} ausgew\xe4hlt.`};// node_modules/react-aria/dist/private/intl/grid/el-GR.mjs-var DT = {};-DT = {+var QT = {};+QT = {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: "Επιλογή",@@ -25016,8 +25023,8 @@ DT = {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 OT = {};-OT = {+var $T = {};+$T = {deselectedItem: (e) => `${e.item} not selected.`,select: "Select",selectedCount: (e, t) => `${t.plural(e.count, {@@ -25030,8 +25037,8 @@ OT = {longPressToSelect: "Long press to enter selection mode."};// node_modules/react-aria/dist/private/intl/grid/es-ES.mjs-var kT = {};-kT = {+var eE = {};+eE = {deselectedItem: (e) => `${e.item} no seleccionado.`,longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",select: "Seleccionar",@@ -25044,8 +25051,8 @@ kT = {selectedItem: (e) => `${e.item} seleccionado.`};// node_modules/react-aria/dist/private/intl/grid/et-EE.mjs-var AT = {};-AT = {+var tE = {};+tE = {deselectedItem: (e) => `${e.item} pole valitud.`,longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",select: "Vali",@@ -25058,8 +25065,8 @@ AT = {selectedItem: (e) => `${e.item} valitud.`};// node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs-var jT = {};-jT = {+var nE = {};+nE = {deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,longPressToSelect: "Siirry valintatilaan painamalla pitkään.",select: "Valitse",@@ -25072,8 +25079,8 @@ jT = {selectedItem: (e) => `${e.item} valittu.`};// node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs-var MT = {};-MT = {+var rE = {};+rE = {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",@@ -25086,8 +25093,8 @@ MT = {selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`};// node_modules/react-aria/dist/private/intl/grid/he-IL.mjs-var NT = {};-NT = {+var iE = {};+iE = {deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",select: "בחר",@@ -25100,8 +25107,8 @@ NT = {selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`};// node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs-var PT = {};-PT = {+var aE = {};+aE = {deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",select: "Odaberite",@@ -25114,8 +25121,8 @@ PT = {selectedItem: (e) => `Stavka ${e.item} je odabrana.`};// node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs-var FT = {};-FT = {+var oE = {};+oE = {deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,longPressToSelect: "Nyomja hosszan a kijelöléshez.",select: "Kijelölés",@@ -25128,8 +25135,8 @@ FT = {selectedItem: (e) => `${e.item} kijel\xf6lve.`};// node_modules/react-aria/dist/private/intl/grid/it-IT.mjs-var IT = {};-IT = {+var sE = {};+sE = {deselectedItem: (e) => `${e.item} non selezionato.`,longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",select: "Seleziona",@@ -25142,8 +25149,8 @@ IT = {selectedItem: (e) => `${e.item} selezionato.`};// node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs-var LT = {};-LT = {+var cE = {};+cE = {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: "選択",@@ -25156,8 +25163,8 @@ LT = {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 RT = {};-RT = {+var lE = {};+lE = {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: "선택",@@ -25170,8 +25177,8 @@ RT = {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 zT = {};-zT = {+var uE = {};+uE = {deselectedItem: (e) => `${e.item} nepasirinkta.`,longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select: "Pasirinkti",@@ -25184,8 +25191,8 @@ zT = {selectedItem: (e) => `Pasirinkta: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs-var BT = {};-BT = {+var dE = {};+dE = {deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select: "Atlasīt",@@ -25198,8 +25205,8 @@ BT = {selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs-var VT = {};-VT = {+var fE = {};+fE = {deselectedItem: (e) => `${e.item} er ikke valgt.`,longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",select: "Velg",@@ -25212,8 +25219,8 @@ VT = {selectedItem: (e) => `${e.item} er valgt.`};// node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs-var HT = {};-HT = {+var pE = {};+pE = {deselectedItem: (e) => `${e.item} niet geselecteerd.`,longPressToSelect: "Druk lang om de selectiemodus te openen.",select: "Selecteren",@@ -25226,8 +25233,8 @@ HT = {selectedItem: (e) => `${e.item} geselecteerd.`};// node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs-var UT = {};-UT = {+var mE = {};+mE = {deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select: "Zaznacz",@@ -25240,8 +25247,8 @@ UT = {selectedItem: (e) => `Zaznaczono ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs-var WT = {};-WT = {+var hE = {};+hE = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",select: "Selecionar",@@ -25254,8 +25261,8 @@ WT = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs-var GT = {};-GT = {+var gE = {};+gE = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Prima continuamente para entrar no modo de seleção.",select: "Selecionar",@@ -25268,8 +25275,8 @@ GT = {selectedItem: (e) => `${e.item} selecionado.`};// node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs-var KT = {};-KT = {+var _E = {};+_E = {deselectedItem: (e) => `${e.item} neselectat.`,longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",select: "Selectare",@@ -25282,8 +25289,8 @@ KT = {selectedItem: (e) => `${e.item} selectat.`};// node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs-var qT = {};-qT = {+var vE = {};+vE = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",select: "Выбрать",@@ -25296,8 +25303,8 @@ qT = {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 JT = {};-JT = {+var yE = {};+yE = {deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",select: "Vybrať",@@ -25310,8 +25317,8 @@ JT = {selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`};// node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs-var YT = {};-YT = {+var bE = {};+bE = {deselectedItem: (e) => `Element ${e.item} ni izbran.`,longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",select: "Izberite",@@ -25324,8 +25331,8 @@ YT = {selectedItem: (e) => `Element ${e.item} je izbran.`};// node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs-var XT = {};-XT = {+var xE = {};+xE = {deselectedItem: (e) => `${e.item} nije izabrano.`,longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",select: "Izaberite",@@ -25338,8 +25345,8 @@ XT = {selectedItem: (e) => `${e.item} je izabrano.`};// node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs-var ZT = {};-ZT = {+var SE = {};+SE = {deselectedItem: (e) => `${e.item} ej markerat.`,longPressToSelect: "Tryck länge när du vill öppna väljarläge.",select: "Markera",@@ -25352,8 +25359,8 @@ ZT = {selectedItem: (e) => `${e.item} markerat.`};// node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs-var QT = {};-QT = {+var CE = {};+CE = {deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,longPressToSelect: "Seçim moduna girmek için uzun basın.",select: "Seç",@@ -25366,8 +25373,8 @@ QT = {selectedItem: (e) => `${e.item} se\xe7ildi.`};// node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs-var $T = {};-$T = {+var wE = {};+wE = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",select: "Вибрати",@@ -25380,8 +25387,8 @@ $T = {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 eE = {};-eE = {+var TE = {};+TE = {deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect: "长按以进入选择模式。",select: "选择",@@ -25394,8 +25401,8 @@ eE = {selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`};// node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs-var tE = {};-tE = {+var EE = {};+EE = {deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect: "長按以進入選擇模式。",select: "選取",@@ -25408,54 +25415,54 @@ tE = {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 nE = {};-nE = {- "ar-AE": ST,- "bg-BG": CT,- "cs-CZ": wT,- "da-DK": TT,- "de-DE": ET,- "el-GR": DT,- "en-US": OT,- "es-ES": kT,- "et-EE": AT,- "fi-FI": jT,- "fr-FR": MT,- "he-IL": NT,- "hr-HR": PT,- "hu-HU": FT,- "it-IT": IT,- "ja-JP": LT,- "ko-KR": RT,- "lt-LT": zT,- "lv-LV": BT,- "nb-NO": VT,- "nl-NL": HT,- "pl-PL": UT,- "pt-BR": WT,- "pt-PT": GT,- "ro-RO": KT,- "ru-RU": qT,- "sk-SK": JT,- "sl-SI": YT,- "sr-SP": XT,- "sv-SE": ZT,- "tr-TR": QT,- "uk-UA": $T,- "zh-CN": eE,- "zh-TW": tE+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};// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs-function Aae(e) {+function oae(e) {return e && e.__esModule ? e.default : e;}-function rE(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = xS(Aae(nE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, P.useRef)(i), o = (0, P.useCallback)(() => {+function OE(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = zS(oae(DE), "@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 = iE(i, a.current), o = iE(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];+ let e = kE(i, a.current), o = kE(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)) {@@ -25475,7 +25482,7 @@ function rE(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 && hC(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 && AC(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -25486,7 +25493,7 @@ function rE(e, t) {n,r]);- gC(() => {+ MC(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -25494,20 +25501,20 @@ function rE(e, t) {}}, [i, t.selectionManager.isFocused]);}-function iE(e, t) {+function kE(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 AE(e, t) {let n = t?.isDisabled, [r, i] = (0, P.useState)(!1);- return pb(() => {+ return Mb(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = uC(e.current, { tabbable: !0 });+ let t = wC(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -25525,12 +25532,12 @@ function aE(e, t) {}), !n && r;}// node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs-function jae(e) {+function sae(e) {return e && e.__esModule ? e.default : e;}-function oE(e) {- let t = xS(jae(nE), "@react-aria/grid"), n = $b(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return CC((0, P.useMemo)(() => {+function jE(e) {+ let t = zS(sae(DE), "@react-aria/grid"), n = Cx(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return VC((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;}, [@@ -25542,11 +25549,11 @@ function oE(e) {]));}// node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function sE(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = sT({+function ME(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = MT({usage: "search",sensitivity: "base"- }), l = t.disabledBehavior, u = (0, P.useMemo)(() => a || new lw({+ }), l = t.disabledBehavior, u = (0, P.useMemo)(() => a || new Pw({collection: n,disabledKeys: r,disabledBehavior: l,@@ -25563,7 +25570,7 @@ function sE(e) {c,l,s- ]), { collectionProps: d } = Zw({+ ]), { collectionProps: d } = ST({...e,ref: i,selectionManager: t,@@ -25572,10 +25579,10 @@ function sE(e) {return { listProps: d };}// node_modules/react-aria/dist/private/gridlist/useGridList.mjs-function Mae(e, t, n) {+function cae(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 } = sE({+ let { listProps: f } = ME({selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,@@ -25590,30 +25597,30 @@ function Mae(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = px(e.id);- bT.set(t, {+ }), p = Lx(e.id);+ GT.set(t, {id: p,onAction: o,linkBehavior: c,keyboardNavigationBehavior: l,shouldSelectOnPressUp: d});- let m = oE({+ let m = jE({selectionManager: t.selectionManager,hasItemActions: !!o- }), h = aE(n, { isDisabled: t.collection.size !== 0 }), g = K(OS(e, { labelable: !0 }), {+ }), h = AE(n, { isDisabled: t.collection.size !== 0 }), g = K(VS(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), rE({}, t), { gridProps: g };+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), OE({}, t), { gridProps: g };}// node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function cE(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 = Ob();- t = px(t);+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 = Qb();+ t = Lx(t);let p = (e) => {- if (e.pointerType === "keyboard" && aw(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && Aw(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -25624,11 +25631,11 @@ function cE(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 && ($x(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 && (CS(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, P.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? Hx(i.current) : s ? s() : ab() !== i.current && i.current && cx(i.current));+ r === n.focusedKey && n.isFocused && (o ? fS(i.current) : s ? s() : bb() !== i.current && i.current && Mx(i.current));}, [i,r,@@ -25656,22 +25663,22 @@ function cE(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 || uE(e.key)) && p(e);+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || FE(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" && !lE(e.key)) return;+ if (e.pointerType === "keyboard" && !PE(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 || uE(e.key))) && p(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);}, k.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && lE(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 && PE(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));});- let A = hae(n.collection);+ let A = Gie(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));@@ -25686,10 +25693,10 @@ function cE(e) {"onPress","onPressUp","onClick"- ]) D[e] && (k[e] = lx(k[e], D[e]));- let { pressProps: j, isPressed: M } = HS(k), ee = x ? (e) => {+ ]) D[e] && (k[e] = Nx(k[e], D[e]));+ let { pressProps: j, isPressed: M } = tC(k), ee = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));- } : void 0, { longPressProps: te } = Gw({+ } : void 0, { longPressProps: te } = gT({isDisabled: !w,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));@@ -25697,7 +25704,7 @@ function cE(e) {}), ne = (e) => {C.current === "touch" && T.current && e.preventDefault();}, N = d !== "none" && n.isLink(r) ? (e) => {- kb.isOpening || e.preventDefault();+ $b.isOpening || e.preventDefault();} : void 0, re = K(m, v || b || o && !c ? j : {}, w ? te : {}, {onDoubleClick: ee,onDragStartCapture: ne,@@ -25710,7 +25717,7 @@ function cE(e) {if (e != null) return e !== A;t = t.parentElement;}- return db(e);+ return Ab(e);}, F = re.onPointerDown;re.onPointerDown = (e) => {let t = G(e);@@ -25730,14 +25737,14 @@ function cE(e) {hasAction: S};}-function lE(e) {+function PE(e) {return e === "Enter";}-function uE(e) {+function FE(e) {return e === " ";}// node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs-var dE = {+var IE = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -25747,18 +25754,18 @@ var dE = {rtl: "ArrowRight"}};-function Nae(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = lS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = bT.get(t), f = mx(), p = (0, P.useRef)(null), m = () => {+function lae(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = NS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = GT.get(t), f = Rx(), p = (0, P.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (sb(n.current) && n.current !== ab(Zy(n.current))) return;- let e = uC(n.current, { tabbable: !0 }).firstChild();+ if (Sb(n.current) && n.current !== bb(fb(n.current))) return;+ let e = wC(n.current, { tabbable: !0 }).firstChild();if (e) {- cx(e), xC(e, { containingElement: vC(e) });+ Mx(e), RC(e, { containingElement: PC(e) });return;}}- (p.current != null && r.key !== p.current || !sb(n.current)) && cx(n.current);+ (p.current != null && r.key !== p.current || !Sb(n.current)) && Mx(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -25768,7 +25775,7 @@ function Nae(e, t, n) {if (r.level >= 0 && r?.parentKey != null) {let e = t.collection.getItem(r.parentKey);if (e) {- let n = Pae(e, t.collection);+ let n = uae(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;@@ -25779,75 +25786,75 @@ function Nae(e, t, n) {"aria-setsize": i};}- let { itemProps: v, ...y } = cE({+ let { itemProps: v, ...y } = NE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? lx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? Nx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = ab(Zy(n.current));- if (!ib(e.currentTarget, G(e)) || !n.current || !i) return;- let a = uC(n.current);- if (a.currentNode = i, !fE(e, t, r, g, s, i, n.current, o)) switch (e.key) {+ let i = bb(fb(n.current));+ if (!yb(e.currentTarget, G(e)) || !n.current || !i) return;+ let a = wC(n.current);+ if (a.currentNode = i, !LE(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(), cx(t), xC(t, { containingElement: vC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") cx(n.current), xC(n.current, { containingElement: vC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), Mx(t), RC(t, { containingElement: PC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Mx(n.current), RC(n.current, { containingElement: PC(n.current) });else {a.currentNode = n.current;- let e = pE(a);- e && (cx(e), xC(e, { containingElement: vC(n.current) }));+ let e = RE(a);+ e && (Mx(e), RC(e, { containingElement: PC(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), cx(t), xC(t, { containingElement: vC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") cx(n.current), xC(n.current, { containingElement: vC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), Mx(t), RC(t, { containingElement: PC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Mx(n.current), RC(n.current, { containingElement: PC(n.current) });else {a.currentNode = n.current;- let e = pE(a);- e && (cx(e), xC(e, { containingElement: vC(n.current) }));+ let e = RE(a);+ e && (Mx(e), RC(e, { containingElement: PC(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && ib(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && yb(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 && ib(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && ab(Zy(n.current)) === n.current && m();- }) : Xb() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && yb(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && bb(fb(n.current)) === n.current && m();+ }) : bx() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = ab(Zy(n.current));- if (ib(e.currentTarget, G(e)) && n.current && i) {+ let i = bb(fb(n.current));+ if (yb(e.currentTarget, G(e)) && n.current && i) {if (u === "tab") {if (G(e) !== n.current && e.key !== "Tab") {e.stopPropagation();return;}- if (fE(e, t, r, g, s, i, n.current, o)) return;+ if (LE(e, t, r, g, s, i, n.current, o)) return;}if (e.key === "Tab" && u === "tab") {- let t = uC(n.current, { tabbable: !0 });+ let t = wC(n.current, { tabbable: !0 });t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = Ab(r.props), w = K(v, y.hasAction ? C : {}, {+ }, C = ex(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) ? `${xT(t, r.key)} ${f}` : void 0,- id: xT(t, r.key)+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${KT(t, r.key)} ${f}` : void 0,+ id: KT(t, r.key)});a === "child" && o && u === "tab" && (w.tabIndex = -1);let T = w.onKeyDown;@@ -25868,66 +25875,66 @@ function Nae(e, t, n) {...y};}-function fE(e, t, n, r, i, a, o, s) {+function LE(e, t, n, r, i, a, o, s) {if (!("expandedKeys" in t) || !s && a !== o) return !1;- if (e.key === dE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;- if (e.key === dE.collapse[i] && t.selectionManager.focusedKey === n.key) {+ 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 (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 pE(e) {+function RE(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);while (n);return t;}-function Pae(e, t) {+function uae(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 Fae(e) {+function dae(e) {return e && e.__esModule ? e.default : e;}-function mE(e, t) {- let { key: n } = e, r = t.selectionManager, i = px(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+function zE(e, t) {+ let { key: n } = e, r = t.selectionManager, i = Lx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": xS(Fae(nE), "@react-aria/grid").format("select"),+ "aria-label": zS(dae(DE), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)} };}// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs-function Iae(e, t) {- let { key: n } = e, { checkboxProps: r } = mE(e, t);+function fae(e, t) {+ let { key: n } = e, { checkboxProps: r } = zE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${xT(t, n)}`+ "aria-labelledby": `${r.id} ${KT(t, n)}`} };}// node_modules/react-aria/dist/private/listbox/useListBox.mjs-function Lae(e, t, n) {- let r = OS(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function pae(e, t, n) {+ let r = VS(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 } = sE({+ let { listProps: s } = ME({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = zC({+ }), { focusWithinProps: c } = uw({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = px(e.id);- iw.set(t, {+ }), l = Lx(e.id);+ kw.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -25937,7 +25944,7 @@ function Lae(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = LC({+ let { labelProps: u, fieldProps: d } = cw({...e,id: l,labelElementType: "span"@@ -25952,8 +25959,8 @@ function Lae(e, t, n) {};}// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function Rae(e) {- let { heading: t, "aria-label": n } = e, r = px();+function mae(e) {+ let { heading: t, "aria-label": n } = e, r = Lx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -25971,8 +25978,8 @@ function Rae(e) {};}// node_modules/react-aria/dist/private/listbox/useOption.mjs-function zae(e, t, n) {- let { key: r } = e, i = iw.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 = mx(), f = mx(), p = {+function hae(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 = Rx(), f = Rx(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -25982,9 +25989,9 @@ function zae(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"] = AT(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = pae(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = cE({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Uie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = NE({selectionManager: t.selectionManager,key: r,ref: n,@@ -25993,18 +26000,18 @@ function zae(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? lx(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? Nx(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g- }), { hoverProps: S } = vT({+ }), { hoverProps: S } = UT({isDisabled: a || !c,onHoverStart() {- Xb() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ bx() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = OS(m?.props);+ }), C = VS(m?.props);delete C.id;- let w = jb(m?.props);+ let w = tx(m?.props);return {optionProps: {...p,@@ -26014,7 +26021,7 @@ function zae(e, t, n) {labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && Xb(),+ isFocusVisible: y && t.selectionManager.isFocused && bx(),isSelected: o,isDisabled: a,isPressed: v,@@ -26023,12 +26030,12 @@ function zae(e, t, n) {};}// node_modules/react-aria/dist/private/menu/utils.mjs-var hE = /* @__PURE__ */ new WeakMap();+var BE = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/menu/useMenu.mjs-function Bae(e, t, n) {+function gae(e, t, n) {let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;!e["aria-label"] && e["aria-labelledby"];- let s = OS(e, { labelable: !0 }), { listProps: c } = sE({+ let s = VS(e, { labelable: !0 }), { listProps: c } = ME({...o,ref: n,selectionManager: t.selectionManager,@@ -26037,7 +26044,7 @@ function Bae(e, t, n) {shouldFocusWrap: r,linkBehavior: "override"});- return hE.set(t, {+ return BE.set(t, {onClose: e.onClose,onAction: e.onAction,shouldUseVirtualFocus: e.shouldUseVirtualFocus@@ -26053,15 +26060,15 @@ function Bae(e, t, n) {}) };}// node_modules/react-aria/dist/private/menu/useMenuItem.mjs-function Vae(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 = hE.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = Ob(), M = () => {+function _ae(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 = Qb(), 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 = mx(), ne = mx(), N = mx(), re = {+ let te = Rx(), ne = Rx(), N = Rx(), re = {id: r,"aria-disabled": E || void 0,role: ee,@@ -26078,17 +26085,17 @@ function Vae(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"] = AT(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(), Are(e, j, k.props.href, k?.props.routerOptions);+ m?.(e), M(), sre(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 } = cE({+ }, { itemProps: ce, isFocused: le } = NE({id: r,selectionManager: C,key: i,@@ -26097,27 +26104,27 @@ function Vae(e, t, n) {allowsDifferentPressOrigin: !0,linkBehavior: "none",shouldUseVirtualFocus: O.shouldUseVirtualFocus- }), { pressProps: ue, isPressed: de } = HS({+ }), { pressProps: ue, isPressed: de } = tC({onPressStart: l,onPress: d,onPressUp: oe,onPressChange: F,onPressEnd: p,isDisabled: E- }), { hoverProps: fe } = vT({+ }), { hoverProps: fe } = UT({isDisabled: E,onHoverStart(e) {- !Xb() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !bx() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: pe } = Cx({+ }), { keyboardProps: pe } = qx({shortcuts: {" ": (e) => {ae.current = {pointerType: "keyboard",key: " "- }, G(e).click(), Qb("keyboard");+ }, G(e).click(), Sx("keyboard");},Enter: (e) => {ae.current = {@@ -26125,8 +26132,8 @@ function Vae(e, t, n) {key: "Enter"};let t = G(e);- if (t.tagName !== "A") t.click(), Qb("keyboard");- else return Qb("keyboard"), {+ if (t.tagName !== "A") t.click(), Sx("keyboard");+ else return Sx("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -26134,13 +26141,13 @@ function Vae(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: me } = Dx({+ }), { focusableProps: me } = Zx({onBlur: S,onFocus: b,onFocusChange: x- }, n), he = OS(k?.props);+ }, n), he = VS(k?.props);delete he.id;- let I = jb(k?.props);+ let I = tx(k?.props);return {menuItemProps: {...re,@@ -26155,15 +26162,15 @@ function Vae(e, t, n) {descriptionProps: { id: ne },keyboardShortcutProps: { id: N },isFocused: le,- isFocusVisible: le && C.isFocused && Xb() && !T,+ isFocusVisible: le && C.isFocused && bx() && !T,isSelected: D,isPressed: de,isDisabled: E};}// node_modules/react-aria/dist/private/menu/useMenuSection.mjs-function Hae(e) {- let { heading: t, "aria-label": n } = e, r = px();+function vae(e) {+ let { heading: t, "aria-label": n } = e, r = Lx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26178,15 +26185,15 @@ function Hae(e) {};}// node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function Uae() {+function yae() {return window.ResizeObserver !== void 0;}-function gE(e) {- let { ref: t, box: n, onResize: r } = e, i = tS(r);+function VE(e) {+ let { ref: t, box: n, onResize: r } = e, i = TS(r);(0, P.useEffect)(() => {let e = t?.current;if (e) {- if (Uae()) {+ if (yae()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -26201,154 +26208,154 @@ function gE(e) {}, [t, n]);}// node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var _E = {};-_E = { dismiss: "تجاهل" };+var HE = {};+HE = { dismiss: "تجاهل" };// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var vE = {};-vE = { dismiss: "Отхвърляне" };+var UE = {};+UE = { dismiss: "Отхвърляне" };// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var yE = {};-yE = { dismiss: "Odstranit" };+var WE = {};+WE = { dismiss: "Odstranit" };// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var bE = {};-bE = { dismiss: "Luk" };+var GE = {};+GE = { dismiss: "Luk" };// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var xE = {};-xE = { dismiss: "Schließen" };+var KE = {};+KE = { dismiss: "Schließen" };// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var SE = {};-SE = { dismiss: "Απόρριψη" };+var qE = {};+qE = { dismiss: "Απόρριψη" };// node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var CE = {};-CE = { dismiss: "Dismiss" };+var JE = {};+JE = { dismiss: "Dismiss" };// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var wE = {};-wE = { dismiss: "Descartar" };+var YE = {};+YE = { dismiss: "Descartar" };// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var TE = {};-TE = { dismiss: "Lõpeta" };+var XE = {};+XE = { dismiss: "Lõpeta" };// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var EE = {};-EE = { dismiss: "Hylkää" };+var ZE = {};+ZE = { dismiss: "Hylkää" };// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var DE = {};-DE = { dismiss: "Rejeter" };+var QE = {};+QE = { dismiss: "Rejeter" };// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var OE = {};-OE = { dismiss: "התעלם" };+var $E = {};+$E = { dismiss: "התעלם" };// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var kE = {};-kE = { dismiss: "Odbaci" };+var eD = {};+eD = { dismiss: "Odbaci" };// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var AE = {};-AE = { dismiss: "Elutasítás" };+var tD = {};+tD = { dismiss: "Elutasítás" };// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var jE = {};-jE = { dismiss: "Ignora" };+var nD = {};+nD = { dismiss: "Ignora" };// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var ME = {};-ME = { dismiss: "閉じる" };+var rD = {};+rD = { dismiss: "閉じる" };// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var NE = {};-NE = { dismiss: "무시" };+var iD = {};+iD = { dismiss: "무시" };// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var PE = {};-PE = { dismiss: "Atmesti" };+var aD = {};+aD = { dismiss: "Atmesti" };// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var FE = {};-FE = { dismiss: "Nerādīt" };+var oD = {};+oD = { dismiss: "Nerādīt" };// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var IE = {};-IE = { dismiss: "Lukk" };+var sD = {};+sD = { dismiss: "Lukk" };// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var LE = {};-LE = { dismiss: "Negeren" };+var cD = {};+cD = { dismiss: "Negeren" };// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var RE = {};-RE = { dismiss: "Zignoruj" };+var lD = {};+lD = { dismiss: "Zignoruj" };// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var zE = {};-zE = { dismiss: "Descartar" };+var uD = {};+uD = { dismiss: "Descartar" };// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var BE = {};-BE = { dismiss: "Dispensar" };+var dD = {};+dD = { dismiss: "Dispensar" };// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var VE = {};-VE = { dismiss: "Revocare" };+var fD = {};+fD = { dismiss: "Revocare" };// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var HE = {};-HE = { dismiss: "Пропустить" };+var pD = {};+pD = { dismiss: "Пропустить" };// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var UE = {};-UE = { dismiss: "Zrušiť" };+var mD = {};+mD = { dismiss: "Zrušiť" };// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var WE = {};-WE = { dismiss: "Opusti" };+var hD = {};+hD = { dismiss: "Opusti" };// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var GE = {};-GE = { dismiss: "Odbaci" };+var gD = {};+gD = { dismiss: "Odbaci" };// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var KE = {};-KE = { dismiss: "Avvisa" };+var _D = {};+_D = { dismiss: "Avvisa" };// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var qE = {};-qE = { dismiss: "Kapat" };+var vD = {};+vD = { dismiss: "Kapat" };// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var JE = {};-JE = { dismiss: "Скасувати" };+var yD = {};+yD = { dismiss: "Скасувати" };// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var YE = {};-YE = { dismiss: "取消" };+var bD = {};+bD = { dismiss: "取消" };// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var XE = {};-XE = { dismiss: "關閉" };+var xD = {};+xD = { dismiss: "關閉" };// node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var ZE = {};-ZE = {- "ar-AE": _E,- "bg-BG": vE,- "cs-CZ": yE,- "da-DK": bE,- "de-DE": xE,- "el-GR": SE,- "en-US": CE,- "es-ES": wE,- "et-EE": TE,- "fi-FI": EE,- "fr-FR": DE,- "he-IL": OE,- "hr-HR": kE,- "hu-HU": AE,- "it-IT": jE,- "ja-JP": ME,- "ko-KR": NE,- "lt-LT": PE,- "lv-LV": FE,- "nb-NO": IE,- "nl-NL": LE,- "pl-PL": RE,- "pt-BR": zE,- "pt-PT": BE,- "ro-RO": VE,- "ru-RU": HE,- "sk-SK": UE,- "sl-SI": WE,- "sr-SP": GE,- "sv-SE": KE,- "tr-TR": qE,- "uk-UA": JE,- "zh-CN": YE,- "zh-TW": XE+var 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};// node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function Wae(e) {+function bae(e) {return e && e.__esModule ? e.default : e;}-function QE(e) {- let { onDismiss: t, ...n } = e, r = rS(n, xS(Wae(ZE), "@react-aria/overlays").format("dismiss")), i = () => {+function CD(e) {+ let { onDismiss: t, ...n } = e, r = DS(n, zS(bae(SD), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ P.createElement(XC, null, /*#__PURE__*/ P.createElement("button", {+ return /*#__PURE__*/ P.createElement(xw, null, /*#__PURE__*/ P.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -26359,35 +26366,35 @@ function QE(e) {}));}// node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var $E = [];-function eD(e, t) {+var wD = [];+function TD(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 && !$E.includes(t)) return $E.push(t), () => {- let e = $E.indexOf(t);- e >= 0 && $E.splice(e, 1);+ if (i && !wD.includes(t)) return wD.push(t), () => {+ let e = wD.indexOf(t);+ e >= 0 && wD.splice(e, 1);};}, [i, t]);let l = () => {- $E[$E.length - 1] === t && n && n();+ wD[wD.length - 1] === t && n && n();}, u = (e) => {- let n = $E[$E.length - 1];+ let n = wD[wD.length - 1];c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(G(e))) && ($E[$E.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = Cx({ shortcuts: { Escape: () => {+ (!s || s(G(e))) && (wD[wD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = qx({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });- Oae({+ iae({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = zC({+ let { focusWithinProps: p } = uw({isDisabled: !r,onBlurWithin: (e) => {- e.relatedTarget && !Bie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();+ e.relatedTarget && !Oie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();}});return {@@ -26399,87 +26406,87 @@ function eD(e, t) {};}// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var Gae = 200, Kae = 50, qae = 600, tD = /* @__PURE__ */ new WeakMap(), nD = /* @__PURE__ */ new Set(), rD = /* @__PURE__ */ new Set();-function Jae(e, t) {- let n = eS();- if (e !== n || t.aborted) for (let e of rD) e(n), rD.delete(e);- if (!e && n && wb() && !t.aborted) window.clearInterval(tD.get(window)), tD.set(window, iD(Gae));+var xae = 200, Sae = 50, Cae = 600, ED = /* @__PURE__ */ new WeakMap(), DD = /* @__PURE__ */ new Set(), OD = /* @__PURE__ */ new Set();+function wae(e, t) {+ let n = wS();+ if (e !== n || t.aborted) for (let e of OD) e(n), OD.delete(e);+ if (!e && n && Kb() && !t.aborted) window.clearInterval(ED.get(window)), ED.set(window, kD(xae));else {- if (e !== n || t.aborted) for (let e of nD) e(n), nD.delete(e);- (rD.size + nD.size <= 0 || t.aborted) && (window.clearInterval(tD.get(window)), tD.delete(window));+ 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));}}-function iD(e = qae) {- return window.setInterval(Jae, Kae, eS(), AbortSignal.timeout(e));+function kD(e = Cae) {+ return window.setInterval(wae, Sae, wS(), AbortSignal.timeout(e));}-function aD(e) {- if (!Zx()) return e(!1), () => {};+function AD(e) {+ if (!xS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Qx(document.hasFocus() ? ab() : null);- if (eS() === t || eS() && !t) return e(t);- rD.add(e), tD.has(window) || tD.set(window, iD());+ let t = SS(document.hasFocus() ? bb() : null);+ if (wS() === t || wS() && !t) return e(t);+ OD.add(e), ED.has(window) || ED.set(window, kD());});});return () => {- window.cancelAnimationFrame(t), rD.delete(e);+ window.cancelAnimationFrame(t), OD.delete(e);};}-function Yae(e) {- if (!Zx()) return e(!1), () => {};+function Tae(e) {+ if (!xS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = Qx(document.hasFocus() ? ab() : null);- if (eS() === t) return e(t);- nD.add(e), tD.has(window) || tD.set(window, iD());+ let t = SS(document.hasFocus() ? bb() : null);+ if (wS() === t) return e(t);+ DD.add(e), ED.has(window) || ED.set(window, kD());});});return () => {- window.cancelAnimationFrame(t), nD.delete(e);+ window.cancelAnimationFrame(t), DD.delete(e);};}// node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var oD = typeof document < "u" && window.visualViewport, sD = 0, cD;-function lD(e = {}) {+var jD = typeof document < "u" && window.visualViewport, MD = 0, ND;+function PD(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- pb(() => {- if (!t) return sD++, sD === 1 && (cD = Cb() && wb() ? dD() : uD(n)), () => {- sD--, sD === 0 && cD();+ Mb(() => {+ if (!t) return MD++, MD === 1 && (ND = Wb() && Kb() ? Dae() : Eae(n)), () => {+ MD--, MD === 0 && ND();};}, [t, n]);}-function uD(e) {+function Eae(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return lx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? nb(document.documentElement, "scrollbar-gutter", "stable") : nb(document.documentElement, "padding-right", `${t}px`)), nb(document.documentElement, "overflow", "hidden"), e && pD(), e && Zx() && fD());+ return Nx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? _b(document.documentElement, "scrollbar-gutter", "stable") : _b(document.documentElement, "padding-right", `${t}px`)), _b(document.documentElement, "overflow", "hidden"), e && ID(), e && xS() && FD());}-function dD() {- let e = nb(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+function Dae() {+ let e = _b(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {let r = G(e);- t = _C(r, !0) ? r : vC(r, !0), n = !1;+ t = NC(r, !0) ? r : PC(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 = FS();+ }, i = document.createElement("style"), a = JS();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 = pD(), c = lx(tb(document, "touchstart", r, {+ }, s = ID(), c = Nx(gb(document, "touchstart", r, {passive: !1,capture: !0- }), tb(document, "touchmove", o, {+ }), gb(document, "touchmove", o, {passive: !1,capture: !0- }), fD());+ }), FD());return () => {e(), c(), i.remove(), s();};}-function fD() {- return tb(document, "blur", (e) => {+function FD() {+ return gb(document, "blur", (e) => {let t = G(e), n = e.relatedTarget;- n && Qx(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ n && SS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}-function pD() {+function ID() {let e = HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -26490,9 +26497,9 @@ function pD() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- ab() === this && mD(this);+ bb() === this && Oae(this);};- aD((t) => t ? e() : Yae(() => e()));+ AD((t) => t ? e() : Tae(() => e()));}}}), () => {@@ -26503,15 +26510,15 @@ function pD() {});};}-function mD(e) {+function Oae(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {- let e = vC(n);+ let e = PC(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;- oD && (n = Math.min(n, oD.offsetTop + oD.height));+ jD && (n = Math.min(n, jD.offsetTop + jD.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)),@@ -26523,19 +26530,19 @@ function mD(e) {}}// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function hD(e, t, n) {- let { overlayProps: r, underlayProps: i } = eD({+function kae(e, t, n) {+ let { overlayProps: r, underlayProps: i } = TD({...e,isOpen: t.isOpen,onClose: t.close}, n);- lD({+ PD({isDisabled: !t.isOpen,UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus- }), pT();+ }), RT();let { isEntering: a } = e;return (0, P.useEffect)(() => {- if (t.isOpen && n.current) return a ? rw(n.current) : nw([n.current], { shouldUseInert: !0 });+ if (t.isOpen && n.current) return a ? Ow(n.current) : Dw([n.current], { shouldUseInert: !0 });}, [t.isOpen,a,@@ -26546,33 +26553,33 @@ function hD(e, t, n) {};}// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var gD = {+var LD = {top: "top",bottom: "top",left: "left",right: "left"-}, _D = {+}, RD = {top: "bottom",bottom: "top",left: "right",right: "left"-}, vD = {+}, Aae = {top: "left",left: "top"-}, yD = {+}, zD = {top: "height",left: "width"-}, bD = {+}, BD = {width: "totalWidth",height: "totalHeight"-}, xD = {}, SD = () => typeof document < "u" ? window.visualViewport : null;-function CD(e, t) {+}, VD = {}, jae = () => typeof document < "u" ? window.visualViewport : null;+function HD(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} = PD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return wb() && (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} = JD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return Kb() && (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,@@ -26582,7 +26589,7 @@ function CD(e, t) {left: s};}-function wD(e) {+function Mae(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -26590,11 +26597,11 @@ function wD(e) {height: e.scrollHeight};}-function TD(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[yD[e]], l = o[e] + r.scroll[gD[e]] + a, u = o[e] + r.scroll[gD[e]] + c - a, d = t - s + r.scroll[gD[e]] + o[e] - r[gD[e]], f = t - s + n + r.scroll[gD[e]] + o[e] - r[gD[e]];+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]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}-function ED(e) {+function Nae(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -26603,55 +26610,55 @@ function ED(e) {right: parseInt(t.marginRight, 10) || 0};}-function DD(e) {- if (xD[e]) return xD[e];- let [t, n] = e.split(" "), r = gD[t] || "right", i = vD[r];- gD[n] || (n = "center");- let a = yD[r], o = yD[i];- return xD[e] = {+function WD(e) {+ if (VD[e]) return VD[e];+ let [t, n] = e.split(" "), r = LD[t] || "right", i = Aae[r];+ LD[n] || (n = "center");+ let a = zD[r], o = zD[i];+ return VD[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, xD[e];+ }, VD[e];}-function OD(e, t, n, r, i, a, o, s, c, l, u) {+function GD(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] = HC(_[m], v, y), d === p) {- let t = s ? u[h] : u[bD[h]];- _[_D[p]] = Math.floor(t - e[p] + i);+ if (_[m] = pw(_[m], v, y), d === p) {+ let t = s ? u[h] : u[BD[h]];+ _[RD[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function kD(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 Pae(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 = {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 AD(e, t, n, r, i, a, o, s) {+function KD(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[_D[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[_D[l]] - i);+ 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);}-function jD(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = DD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = OD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = AD(s, l, t, i, a + u, v, c, g);+function Fae(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);if (o && n[y] > E) {- let e = DD(`${_D[S]} ${C}`), r = OD(t, s, n, e, u, d, l, f, m, h, c);- AD(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+ 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 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 = TD(b, w[b], n[x], s, c, a, l);+ let O = UD(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = kD(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = OD(t, s, n, v, T, d, l, f, m, h, c), O = TD(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[gD[b]], M = j + .5 * t[x], ee = m / 2 + h, te = gD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - te - m / 2 - h;- A[b] = HC(HC(M, t[b] + m / 2 - (w[b] + i[gD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[gD[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 = Pae(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 N = S === "left" || S === "top" ? n[y] : 0, re = {x: S === "top" || S === "bottom" ? j : N,y: S === "left" || S === "right" ? j : N@@ -26665,17 +26672,17 @@ function jD(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {triggerAnchorPoint: re};}-function MD(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 = SD(), h = r instanceof HTMLElement ? Xae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? PD(n, !1, p) : FD(n, h, !1, p);+function Iae(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 = jae(), h = r instanceof HTMLElement ? Lae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? JD(n, !1, p) : YD(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 = PD(r, !0), x = ED(r);+ let b = JD(r, !0), x = Nae(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = wD(i), C = CD(s, m), w = CD(h, m), T;+ let S = Mae(i), C = HD(s, m), w = HD(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = ND(h, !1);+ let e = qD(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -26687,11 +26694,11 @@ function MD(e) {left: 0,width: 0,height: 0- } : FD(s, h, !1);- let E = ib(s, h);- return jD(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ } : YD(s, h, !1);+ let E = yb(s, h);+ return Fae(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function ND(e, t) {+function qD(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,@@ -26700,8 +26707,8 @@ function ND(e, t) {height: a};}-function PD(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || ND(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+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;return {top: r + s - l,left: i + c - u,@@ -26709,29 +26716,29 @@ function PD(e, t, n) {height: o};}-function FD(e, t, n, r) {+function YD(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || ND(e, n);+ if (i.position === "fixed") a = r || qD(e, n);else {- a = PD(e, n, r);- let i = PD(t, n), o = window.getComputedStyle(t);+ a = JD(e, n, r);+ let i = JD(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 Xae(e) {+function Lae(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !ID(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !ID(t);) t = t.parentElement;+ 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;return t || document.documentElement;}-function ID(e) {+function XD(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 LD = typeof document < "u" ? window.visualViewport : null;-function Zae(e) {- let { direction: t } = lS(), { 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 ZD = typeof document < "u" ? window.visualViewport : null;+function Rae(e) {+ let { direction: t } = NS(), { 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,@@ -26748,15 +26755,15 @@ function Zae(e) {g,_,n- ], S = (0, P.useRef)(LD?.scale);+ ], S = (0, P.useRef)(ZD?.scale);(0, P.useEffect)(() => {- m && (S.current = LD?.scale);+ m && (S.current = ZD?.scale);}, [m]);let C = (0, P.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || LD?.scale !== S.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || ZD?.scale !== S.current) return;let e = null;- if (o.current && sb(o.current)) {- let t = ab()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && Sb(o.current)) {+ let t = bb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -26764,8 +26771,8 @@ function Zae(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 = MD({- placement: $ae(s, t),+ let y = Iae({+ placement: Bae(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -26775,28 +26782,28 @@ function Zae(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? ND(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? qD(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 = ab();+ let x = bb();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);- pb(C, x), Qae(C), gE({+ Mb(C, x), zae(C), VE({ref: i,onResize: C- }), gE({+ }), VE({ref: r,onResize: C});let w = (0, P.useRef)(!1);- pb(() => {+ Mb(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -26804,16 +26811,16 @@ function Zae(e) {}, n = () => {w.current && t();};- LD?.addEventListener("resize", t), LD?.addEventListener("scroll", n);- let r = tb(ob(window), "scroll", n);+ ZD?.addEventListener("resize", t), ZD?.addEventListener("scroll", n);+ let r = gb(xb(window), "scroll", n);return () => {- LD?.removeEventListener("resize", t), LD?.removeEventListener("scroll", n), r();+ ZD?.removeEventListener("resize", t), ZD?.removeEventListener("scroll", n), r();};}, [C]);let T = (0, P.useCallback)(() => {w.current || h?.();}, [h, w]);- return vae({+ return Jie({triggerRef: r,isOpen: m,onClose: h && T@@ -26839,24 +26846,24 @@ function Zae(e) {updatePosition: C};}-function Qae(e) {- pb(() => (window.addEventListener("resize", e, !1), () => {+function zae(e) {+ Mb(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function $ae(e, t) {+function Bae(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 eoe(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({+function Vae(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({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 } = Zae({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Rae({...c,targetRef: n,overlayRef: r,@@ -26864,15 +26871,15 @@ function eoe(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)});- lD({ isDisabled: a || !t.isOpen }), (0, P.useEffect)(() => {- if (t.isOpen && r.current) return a ? rw(i?.current ?? r.current) : nw([i?.current ?? r.current], { shouldUseInert: !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 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = zC(e);+ let { focusWithinProps: g } = uw(e);return {popoverProps: K(u, f, g),arrowProps: p,@@ -26882,12 +26889,12 @@ function eoe(e, t) {};}// node_modules/react-aria/dist/private/radio/utils.mjs-var RD = /* @__PURE__ */ new WeakMap();+var QD = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/radio/useRadio.mjs-function toe(e, t, n) {+function Hae(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: _ } = HS({+ }, { pressProps: g, isPressed: _ } = tC({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -26895,7 +26902,7 @@ function toe(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = HS({+ }), { pressProps: v, isPressed: y } = tC({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -26905,11 +26912,11 @@ function toe(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = Dx(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = OS(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = Zx(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = VS(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 } = RD.get(t);- wC(n, t.defaultSelectedValue, t.setSelectedValue), TC({ validationBehavior: O }, t, n);- let k = EC();+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = QD.get(t);+ HC(n, t.defaultSelectedValue, t.setSelectedValue), UC({ validationBehavior: O }, t, n);+ let k = JC();return {labelProps: K(v, (0, P.useMemo)(() => ({onClick: (e) => e.preventDefault(),@@ -26940,13 +26947,13 @@ function toe(e, t, n) {};}// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function noe(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = lS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = RC({+function Uae(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = NS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = lw({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = OS(e, { labelable: !0 }), { focusWithinProps: v } = zC({+ }), _ = VS(e, { labelable: !0 }), { focusWithinProps: v } = uw({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -26954,13 +26961,13 @@ function noe(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = uC(n.currentTarget, {+ let r = wC(n.currentTarget, {from: G(n),- accept: (e) => e instanceof Qy(e).HTMLInputElement && e.type === "radio"+ accept: (e) => e instanceof pb(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 } = Cx({+ let { keyboardProps: b } = qx({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -26968,8 +26975,8 @@ function noe(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = px(n);- return RD.set(t, {+ }), x = Lx(n);+ return QD.set(t, {name: x,form: r,descriptionId: h.id,@@ -26997,21 +27004,21 @@ function noe(e, t) {};}// node_modules/react-aria/dist/private/select/useSelect.mjs-var zD = /* @__PURE__ */ new WeakMap();-function roe(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = sT({+var $D = /* @__PURE__ */ new WeakMap();+function Wae(e, t, n) {+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = MT({usage: "search",sensitivity: "base"- }), u = (0, P.useMemo)(() => r || new lw(t.collection, t.disabledKeys, n, l), [+ }), u = (0, P.useMemo)(() => r || new Pw(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = qw({+ ]), { menuTriggerProps: d, menuProps: f } = vT({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = Cx({+ }, t, n), { keyboardProps: p } = qx({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -27027,21 +27034,21 @@ function roe(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = Yw({+ }), { typeSelectProps: m } = bT({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 } = RC({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = lw({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = OS(e, { labelable: !0 }), C = K(m, d, y), w = px();- return zD.set(t, {+ let S = VS(e, { labelable: !0 }), C = K(m, d, y), w = Lx();+ return $D.set(t, {isDisabled: i,isRequired: a,name: o,@@ -27051,13 +27058,13 @@ function roe(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), Qb("keyboard"));+ e.isDisabled || (n.current?.focus(), Sx("keyboard"));}},triggerProps: K(S, {...C,isDisabled: i,- onKeyDown: lx(C.onKeyDown, p.onKeyDown),+ onKeyDown: Nx(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -27081,7 +27088,7 @@ function roe(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- ib(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ yb(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(" ")},@@ -27101,13 +27108,13 @@ function roe(e, t, n) {};}// node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function ioe(e, t, n) {- let r = zD.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = YC({ style: {+function Gae(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: {position: "fixed",top: 0,left: 0} });- wC(e.selectRef, t.defaultValue, t.setValue), TC({+ HC(e.selectRef, t.defaultValue, t.setValue), UC({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);@@ -27137,8 +27144,8 @@ function ioe(e, t, n) {}};}-function aoe(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 } = ioe({+function Kae(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 } = Gae({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -27162,7 +27169,7 @@ function aoe(e) {value: e ?? ""})))));if (i) {- let { validationBehavior: e } = zD.get(t) || {};+ let { validationBehavior: e } = $D.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -27192,8 +27199,8 @@ function aoe(e) {return null;}// node_modules/react-aria/dist/private/separator/useSeparator.mjs-function ooe(e) {- let t = OS(e, { labelable: !0 }), n;+function qae(e) {+ let t = VS(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,role: "separator",@@ -27201,8 +27208,8 @@ function ooe(e) {} };}// node_modules/react-aria/dist/private/switch/useSwitch.mjs-function soe(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = FC(e, t, n);+function Jae(e, t, n) {+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = ow(e, t, n);return {labelProps: r,inputProps: {@@ -27215,10 +27222,10 @@ function soe(e, t, n) {};}// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var BD = class {+var eO = 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 coe(e.layout) : new cw(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Yae(e.layout) : new Nw(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -27254,7 +27261,7 @@ var BD = class {let n = this.collection.getItem(e);if (!n) return null;let r = 0;- for (let e of Qw(n, this.collection)) {+ for (let e of CT(n, this.collection)) {if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;r++;}@@ -27288,13 +27295,13 @@ var BD = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = Qw(t, this.collection);- return (this.direction === "rtl" ? tT(e)?.key : $w(e)?.key) ?? null;+ let e = CT(t, this.collection);+ return (this.direction === "rtl" ? ET(e)?.key : wT(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = Qw(n, this.collection), i = (this.direction === "rtl" ? eT(r, t.index - 1) : eT(r, t.index + 1)) ?? null;+ let r = CT(n, this.collection), i = (this.direction === "rtl" ? TT(r, t.index - 1) : TT(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;@@ -27303,13 +27310,13 @@ var BD = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = Qw(t, this.collection);- return (this.direction === "rtl" ? $w(e)?.key : tT(e)?.key) ?? null;+ let e = CT(t, this.collection);+ return (this.direction === "rtl" ? wT(e)?.key : ET(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = Qw(n, this.collection), i = (this.direction === "rtl" ? eT(r, t.index + 1) : eT(r, t.index - 1)) ?? null;+ let r = CT(n, this.collection), i = (this.direction === "rtl" ? TT(r, t.index + 1) : TT(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;@@ -27320,13 +27327,13 @@ var BD = 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 ? $w(Qw(e, this.collection))?.key ?? null : null;+ return e ? wT(CT(e, this.collection))?.key ?? null : null;}}if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {let e = this.collection.getItem(n);if (!e) return null;- n = $w(Qw(e, this.collection))?.key ?? null;+ n = wT(CT(e, this.collection))?.key ?? null;}return n;}@@ -27336,13 +27343,13 @@ var BD = 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 ? tT(Qw(e, this.collection))?.key ?? null : null;+ return e ? ET(CT(e, this.collection))?.key ?? null : null;}}if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {let e = this.collection.getItem(n);if (!e) return null;- n = tT(Qw(e, this.collection))?.key ?? null;+ n = ET(CT(e, this.collection))?.key ?? null;}return n;}@@ -27378,13 +27385,13 @@ var BD = 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" ? $w(Qw(t, this.collection))?.key ?? null : t.key;+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? wT(CT(t, this.collection))?.key ?? null : t.key;}n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);}return null;}-}, coe = class {+}, Yae = class {constructor(e) {this.layout = e;}@@ -27397,15 +27404,15 @@ var BD = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, VD = /* @__PURE__ */ new WeakMap();+}, tO = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/grid/useGrid.mjs-function loe(e, t, n) {+function Xae(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 = sT({+ let h = MT({usage: "search",sensitivity: "base"- }), { direction: g } = lS(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new BD({+ }), { direction: g } = NS(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new eO({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -27422,7 +27429,7 @@ function loe(e, t, n) {g,h,o- ]), { collectionProps: y } = Zw({+ ]), { collectionProps: y } = ST({ref: n,selectionManager: m,keyboardDelegate: v,@@ -27430,8 +27437,8 @@ function loe(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = px(e.id);- VD.set(t, {+ }), b = Lx(e.id);+ tO.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -27440,42 +27447,42 @@ function loe(e, t, n) {shouldSelectOnPressUp: f,keyboardNavigationBehavior: p});- let x = oE({+ let x = jE({selectionManager: m,hasItemActions: !!(l || u)- }), S = OS(e, { labelable: !0 }), C = (0, P.useCallback)((e) => {- m.isFocused ? ib(e.currentTarget, G(e)) || m.setFocused(!1) : ib(e.currentTarget, G(e)) && m.setFocused(!0);+ }), S = VS(e, { labelable: !0 }), C = (0, P.useCallback)((e) => {+ m.isFocused ? yb(e.currentTarget, G(e)) || m.setFocused(!1) : yb(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 = AE(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), rE({ getRowText: c }, t), { gridProps: E };+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), OE({ getRowText: c }, t), { gridProps: E };}// node_modules/react-aria/dist/private/table/utils.mjs-var HD = /* @__PURE__ */ new WeakMap();-function UD(e) {+var nO = /* @__PURE__ */ new WeakMap();+function rO(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function WD(e, t) {- let n = HD.get(e);+function iO(e, t) {+ let n = nO.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${UD(t)}`;+ return `${n}-${rO(t)}`;}-function GD(e, t, n) {- let r = HD.get(e);+function aO(e, t, n) {+ let r = nO.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${UD(t)}-${UD(n)}`;+ return `${r}-${rO(t)}-${rO(n)}`;}-function KD(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => GD(e, t, n)).join(" ");+function oO(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => aO(e, t, n)).join(" ");}// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var qD = {};-qD = {+var sO = {};+sO = {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: "طي",@@ -27489,8 +27496,8 @@ qD = {sortable: "عمود قابل للترتيب"};// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var JD = {};-JD = {+var cO = {};+cO = {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: "Свиване",@@ -27504,8 +27511,8 @@ JD = {sortable: "сортираща колона"};// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var YD = {};-YD = {+var lO = {};+lO = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -27519,8 +27526,8 @@ YD = {sortable: "sloupec s možností řazení"};// node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var XD = {};-XD = {+var uO = {};+uO = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -27534,8 +27541,8 @@ XD = {sortable: "sorterbar kolonne"};// node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var ZD = {};-ZD = {+var dO = {};+dO = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -27549,8 +27556,8 @@ ZD = {sortable: "sortierbare Spalte"};// node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var QD = {};-QD = {+var fO = {};+fO = {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: "Σύμπτυξη",@@ -27564,8 +27571,8 @@ QD = {sortable: "Στήλη διαλογής"};// node_modules/react-aria/dist/private/intl/table/en-US.mjs-var $D = {};-$D = {+var pO = {};+pO = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -27579,8 +27586,8 @@ $D = {collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var eO = {};-eO = {+var mO = {};+mO = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -27594,8 +27601,8 @@ eO = {sortable: "columna ordenable"};// node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var tO = {};-tO = {+var hO = {};+hO = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -27609,8 +27616,8 @@ tO = {sortable: "sorditav veerg"};// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var nO = {};-nO = {+var gO = {};+gO = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -27624,8 +27631,8 @@ nO = {sortable: "lajiteltava sarake"};// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var rO = {};-rO = {+var _O = {};+_O = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -27639,8 +27646,8 @@ rO = {sortable: "colonne triable"};// node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var iO = {};-iO = {+var vO = {};+vO = {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: "כווץ",@@ -27654,8 +27661,8 @@ iO = {sortable: "עמודה שניתן למיין"};// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var aO = {};-aO = {+var yO = {};+yO = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -27669,8 +27676,8 @@ aO = {sortable: "stupac koji se može razvrstati"};// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var oO = {};-oO = {+var bO = {};+bO = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -27684,8 +27691,8 @@ oO = {sortable: "rendezendő oszlop"};// node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var sO = {};-sO = {+var xO = {};+xO = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -27699,8 +27706,8 @@ sO = {sortable: "colonna ordinabile"};// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var cO = {};-cO = {+var SO = {};+SO = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -27714,8 +27721,8 @@ cO = {sortable: "並べ替え可能な列"};// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var lO = {};-lO = {+var CO = {};+CO = {ascending: "오름차순",ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,collapse: "접기",@@ -27729,8 +27736,8 @@ lO = {sortable: "정렬 가능한 열"};// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var uO = {};-uO = {+var wO = {};+wO = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -27744,8 +27751,8 @@ uO = {sortable: "rikiuojamas stulpelis"};// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var dO = {};-dO = {+var TO = {};+TO = {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",@@ -27759,8 +27766,8 @@ dO = {sortable: "kārtojamā kolonna"};// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var fO = {};-fO = {+var EO = {};+EO = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -27774,8 +27781,8 @@ fO = {sortable: "kolonne som kan sorteres"};// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var pO = {};-pO = {+var DO = {};+DO = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -27789,8 +27796,8 @@ pO = {sortable: "sorteerbare kolom"};// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var mO = {};-mO = {+var OO = {};+OO = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -27804,8 +27811,8 @@ mO = {sortable: "kolumna z możliwością sortowania"};// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var hO = {};-hO = {+var kO = {};+kO = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -27819,8 +27826,8 @@ hO = {sortable: "coluna classificável"};// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var gO = {};-gO = {+var AO = {};+AO = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -27834,8 +27841,8 @@ gO = {sortable: "Coluna ordenável"};// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var _O = {};-_O = {+var jO = {};+jO = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -27849,8 +27856,8 @@ _O = {sortable: "coloană sortabilă"};// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var vO = {};-vO = {+var MO = {};+MO = {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: "Свернуть",@@ -27864,8 +27871,8 @@ vO = {sortable: "сортируемый столбец"};// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var yO = {};-yO = {+var NO = {};+NO = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -27879,8 +27886,8 @@ yO = {sortable: "zoraditeľný stĺpec"};// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var bO = {};-bO = {+var PO = {};+PO = {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",@@ -27894,8 +27901,8 @@ bO = {sortable: "razvrstljivi stolpec"};// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var xO = {};-xO = {+var FO = {};+FO = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -27909,8 +27916,8 @@ xO = {sortable: "kolona koja se može sortirati"};// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var SO = {};-SO = {+var IO = {};+IO = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -27924,8 +27931,8 @@ SO = {sortable: "sorterbar kolumn"};// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var CO = {};-CO = {+var LO = {};+LO = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -27939,8 +27946,8 @@ CO = {sortable: "Sıralanabilir sütun"};// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var wO = {};-wO = {+var RO = {};+RO = {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: "Згорнути",@@ -27954,8 +27961,8 @@ wO = {sortable: "сортувальний стовпець"};// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var TO = {};-TO = {+var zO = {};+zO = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -27969,8 +27976,8 @@ TO = {sortable: "可排序的列"};// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var EO = {};-EO = {+var BO = {};+BO = {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: "收合",@@ -27984,45 +27991,45 @@ EO = {sortable: "可排序的欄"};// node_modules/react-aria/dist/private/table/intlStrings.mjs-var DO = {};-DO = {- "ar-AE": qD,- "bg-BG": JD,- "cs-CZ": YD,- "da-DK": XD,- "de-DE": ZD,- "el-GR": QD,- "en-US": $D,- "es-ES": eO,- "et-EE": tO,- "fi-FI": nO,- "fr-FR": rO,- "he-IL": iO,- "hr-HR": aO,- "hu-HU": oO,- "it-IT": sO,- "ja-JP": cO,- "ko-KR": lO,- "lt-LT": uO,- "lv-LV": dO,- "nb-NO": fO,- "nl-NL": pO,- "pl-PL": mO,- "pt-BR": hO,- "pt-PT": gO,- "ro-RO": _O,- "ru-RU": vO,- "sk-SK": yO,- "sl-SI": bO,- "sr-SP": xO,- "sv-SE": SO,- "tr-TR": CO,- "uk-UA": wO,- "zh-CN": TO,- "zh-TW": EO+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};// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var uoe = class extends BD {+var Zae = class extends eO {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -28030,7 +28037,7 @@ var uoe = class extends BD {let n = this.collection.getItem(e);if (!n) return null;if (n.type === "column") {- let e = $w(Qw(n, this.collection));+ let e = wT(CT(n, this.collection));if (e) return e.key;let t = this.getFirstKey();return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);@@ -28051,13 +28058,13 @@ var uoe = class extends BD {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 Qw(n, this.collection)) if (e.type === "column") return e.key;+ for (let e of CT(n, this.collection)) if (e.type === "column") return e.key;return null;}findPreviousColumnKey(e) {let t = this.findPreviousKey(e.key, (e) => e.type === "column");if (t != null) return t;- let n = this.collection.headerRows[e.level], r = [...Qw(n, this.collection)];+ let n = this.collection.headerRows[e.level], r = [...CT(n, this.collection)];for (let e = r.length - 1; e >= 0; e--) {let t = r[e];if (t.type === "column") return t.key;@@ -28086,7 +28093,7 @@ var uoe = class extends BD {let t = o.textValue.slice(0, e.length);if (this.collator.compare(t, e) === 0) return o.key;}- for (let r of Qw(o, this.collection)) {+ for (let r of CT(o, this.collection)) {let a = n.columns[r.index];if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {let a = r.textValue.slice(0, e.length);@@ -28099,14 +28106,14 @@ var uoe = class extends BD {}};// node_modules/react-aria/dist/private/table/useTable.mjs-function doe(e) {+function Qae(e) {return e && e.__esModule ? e.default : e;}-function foe(e, t, n) {- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = sT({+function $ae(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = MT({usage: "search",sensitivity: "base"- }), { direction: c } = lS(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new uoe({+ }), { direction: c } = NS(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new Zae({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -28125,51 +28132,51 @@ function foe(e, t, n) {s,a,o- ]), d = px(e.id);- HD.set(t, d);- let { gridProps: f } = loe({+ ]), d = Lx(e.id);+ nO.set(t, d);+ let { gridProps: f } = Xae({...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 = xS(doe(DO), "@react-aria/table"), g = (0, P.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = zS(Qae(VO), "@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- ]), _ = CC(g);- return gC(() => {- g && hC(g, "assertive", 500);+ ]), _ = VC(g);+ return MC(() => {+ g && AC(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 OO(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = lS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = VD.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = () => {+function HO(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = NS(), { 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 = () => {if (n.current) {- let e = uC(n.current);+ let e = wC(n.current);if (p === "child") {- let i = ab(Zy(n.current));- if (sb(n.current) && n.current !== i) return;- let a = Zy(n.current);+ let i = bb(fb(n.current));+ if (Sb(n.current) && n.current !== i) return;+ let a = fb(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && ib(n.current, e)) {- cx(e);+ if (e && m.current === r.key && yb(n.current, e)) {+ Mx(e);return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? kO(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? UO(e) : e.firstChild();if (o) {- cx(o);+ Mx(o);return;}}- (m.current != null && r.key !== m.current || !sb(n.current)) && cx(n.current);+ (m.current != null && r.key !== m.current || !Sb(n.current)) && Mx(n.current);}- }, { itemProps: _, isPressed: v } = cE({+ }, { itemProps: _, isPressed: v } = NE({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -28181,44 +28188,44 @@ function OO(e, t, n) {}), y = K(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = ab(Zy(n.current));- if (!ib(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = uC(n.current);+ let i = bb(fb(n.current));+ if (!yb(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = wC(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) cx(t), xC(t, { containingElement: vC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Mx(t), RC(t, { containingElement: PC(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" ? (cx(n.current), xC(n.current, { containingElement: vC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : kO(a), t && (cx(t), xC(t, { containingElement: vC(n.current) })));+ p === "cell" && l === "rtl" ? (Mx(n.current), RC(n.current, { containingElement: PC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : UO(a), t && (Mx(t), RC(t, { containingElement: PC(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) cx(t), xC(t, { containingElement: vC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Mx(t), RC(t, { containingElement: PC(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" ? (cx(n.current), xC(n.current, { containingElement: vC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? kO(a) : a.firstChild(), t && (cx(t), xC(t, { containingElement: vC(n.current) })));+ p === "cell" && l === "ltr" ? (Mx(n.current), RC(n.current, { containingElement: PC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? UO(a) : a.firstChild(), t && (Mx(t), RC(t, { containingElement: PC(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && ib(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && yb(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 = ab(Zy(n.current));- if (ib(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {+ let r = bb(fb(n.current));+ if (yb(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 = uC(n.current, { tabbable: !0 });+ let t = wC(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -28229,9 +28236,9 @@ function OO(e, t, n) {onFocus: (e) => {if (m.current = r.key, G(e) !== n.current) {let i = G(e);- n.current && ib(n.current, i) && (h.current = i), Xb() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && ib(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && ab(Zy(n.current)) === n.current && g();+ n.current && yb(n.current, i) && (h.current = i), bx() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && yb(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && bb(fb(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -28246,7 +28253,7 @@ function OO(e, t, n) {isPressed: v};}-function kO(e) {+function UO(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -28254,32 +28261,32 @@ function kO(e) {return t;}// node_modules/react-aria/dist/private/table/useTableCell.mjs-function poe(e, t, n) {- let { gridCellProps: r, isPressed: i } = OO(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = GD(t, e.node.parentKey, a)), {+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)), {gridCellProps: r,isPressed: i};}// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function moe(e) {+function toe(e) {return e && e.__esModule ? e.default : e;}-function hoe(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = OO({+function noe(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = HO({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = HS({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = tC({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = Dx({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !Eb() && (u = d ? f : "none");- let p = xS(moe(DO), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && Eb() && (m = `${m}, ${p.format(f)}`));- let h = CC(m), g = t.collection.size === 0;+ }), { focusableProps: l } = Zx({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !Jb() && (u = d ? f : "none");+ let p = zS(toe(VO), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && Jb() && (m = `${m}, ${p.format(f)}`));+ let h = VC(m), g = t.collection.size === 0;return (0, P.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -28290,7 +28297,7 @@ function hoe(e, t, n) {columnHeaderProps: {...K(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: WD(t, r.key),+ id: iO(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -28298,17 +28305,17 @@ function hoe(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function goe(e) {+function roe(e) {return e && e.__esModule ? e.default : e;}-function _oe(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = xS(goe(DO), "@react-aria/table"), d = px(), 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 } = lS(), b = (0, P.useCallback)((e) => {+function ioe(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = zS(roe(VO), "@react-aria/table"), d = Lx(), 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 } = NS(), 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 && cx(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 && Mx(i.current)), m.current = null;}, [t,i,@@ -28316,14 +28323,14 @@ function _oe(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = Cx({ shortcuts: {+ }, { keyboardProps: w } = qx({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);}," ": () => C(),Tab: () => C()- } }), T = (0, P.useRef)(0), { moveProps: E } = qC({+ } }), T = (0, P.useRef)(0), { moveProps: E } = vw({onMoveStart(e) {T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);},@@ -28339,12 +28346,12 @@ function _oe(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 = $b();+ let A = Math.floor(t.getColumnWidth(r.key)), j = Cx();j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");- let M = CC(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {+ let M = VC(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {"aria-label": l,"aria-orientation": "horizontal",- "aria-labelledby": `${d} ${WD(t.tableState, r.key)}`,+ "aria-labelledby": `${d} ${iO(t.tableState, r.key)}`,"aria-valuetext": u.format("columnSize", { value: A }),type: "range",min: O,@@ -28352,11 +28359,11 @@ function _oe(e, t, n) {value: A,...M}, te = (0, P.useCallback)(() => {- n.current && cx(n.current);- }, [n]), ne = t.resizingColumn, N = (0, P.useRef)(null), re = tS(b);+ n.current && Mx(n.current);+ }, [n]), ne = t.resizingColumn, N = (0, P.useRef)(null), re = TS(b);(0, P.useEffect)(() => {if (N.current !== ne && ne != null && ne === r.key) {- h.current = ab() === n.current, re(r);+ h.current = bb() === n.current, re(r);let e = setTimeout(() => te(), 0), t = setTimeout(te, 400);return () => {clearTimeout(e), clearTimeout(t);@@ -28372,7 +28379,7 @@ function _oe(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 } = HS({+ }, { pressProps: F } = tC({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)));@@ -28380,7 +28387,7 @@ function _oe(e, t, n) {onPress: (e) => {(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);}- }), { visuallyHiddenProps: ae } = YC();+ }), { visuallyHiddenProps: ae } = bw();return {resizerProps: K(w, {...E,@@ -28399,19 +28406,19 @@ function _oe(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function voe(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 yoe(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = VD.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = cE({+function ooe(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({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? lx(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? Nx(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -28425,10 +28432,10 @@ function yoe(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableRow.mjs-function boe(e) {+function soe(e) {return e && e.__esModule ? e.default : e;}-var AO = {+var WO = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -28438,21 +28445,21 @@ var AO = {rtl: "ArrowRight"}};-function xoe(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = yoe(e, t, n), { direction: s } = lS();+function coe(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = ooe(e, t, n), { direction: s } = NS();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 = xS(boe(DO), "@react-aria/table"), u = rS({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = zS(soe(VO), "@react-aria/table"), u = DS({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": KD(t, r.key)+ "aria-labelledby": oO(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = jO(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 = jO(t.collection, a);+ 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);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === AO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === AO.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 === 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()));},"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,"aria-level": e.level + 1,@@ -28470,42 +28477,42 @@ function xoe(e, t, n) {};}}- let p = Ab(r.props), m = o.hasAction ? p : {};+ let p = ex(r.props), m = o.hasAction ? p : {};return {rowProps: {...K(a, d, m),- "aria-labelledby": KD(t, r.key)+ "aria-labelledby": oO(t, r.key)},expandButtonProps: f,...o};}-function jO(e, t) {+function GO(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 Soe() {+function loe() {return { rowGroupProps: { role: "rowgroup" } };}// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function MO() {- return Soe();+function KO() {+ return loe();}// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function Coe(e) {+function uoe(e) {return e && e.__esModule ? e.default : e;}-function woe(e, t) {- let { key: n } = e, { checkboxProps: r } = mE(e, t);+function doe(e, t) {+ let { key: n } = e, { checkboxProps: r } = zE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${KD(t, n)}`+ "aria-labelledby": `${r.id} ${oO(t, n)}`} };}-function Toe(e) {+function foe(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": xS(Coe(DO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": zS(uoe(VO), "@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,@@ -28513,22 +28520,22 @@ function Toe(e) {} };}// node_modules/react-aria/dist/private/tabs/utils.mjs-var NO = /* @__PURE__ */ new WeakMap();-function PO(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${NO.get(e)}-${n}-${t}`) : "";+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}`) : "";}// node_modules/react-aria/dist/private/tabs/useTab.mjs-function Eoe(e, t, n) {- let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = cE({+function poe(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({selectionManager: o,key: r,ref: n,isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = PO(t, r, "tab"), m = PO(t, r, "tabpanel"), { tabIndex: h } = d, g = OS(u?.props, { labelable: !0 });+ }), p = JO(t, r, "tab"), m = JO(t, r, "tabpanel"), { tabIndex: h } = d, g = VS(u?.props, { labelable: !0 });delete g.id;- let _ = jb(u?.props), { focusableProps: v } = Dx({+ let _ = tx(u?.props), { focusableProps: v } = Zx({...u?.props,isDisabled: l}, n);@@ -28547,7 +28554,7 @@ function Eoe(e, t, n) {};}// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var Doe = class {+var moe = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -28590,11 +28597,11 @@ var Doe = class {}};// node_modules/react-aria/dist/private/tabs/useTabList.mjs-function Ooe(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = lS(), { collectionProps: l } = Zw({+function hoe(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = NS(), { collectionProps: l } = ST({ref: n,selectionManager: o,- keyboardDelegate: (0, P.useMemo)(() => new Doe(a, c, r, s), [+ keyboardDelegate: (0, P.useMemo)(() => new moe(a, c, r, s), [a,s,r,@@ -28604,9 +28611,9 @@ function Ooe(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = px();- return NO.set(t, u), { tabListProps: {- ...K(l, rS({+ }), u = Lx();+ return qO.set(t, u), { tabListProps: {+ ...K(l, DS({...e,id: u})),@@ -28616,12 +28623,12 @@ function Ooe(e, t, n) {} };}// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function koe(e, t, n) {- let r = aE(n) ? void 0 : 0, i = PO(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: K(rS({+function goe(e, t, n) {+ let r = AE(n) ? void 0 : 0, i = JO(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: K(DS({...e,id: i,- "aria-labelledby": PO(t, t?.selectedKey, "tab")+ "aria-labelledby": JO(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -28630,265 +28637,265 @@ function koe(e, t, n) {}) };}// node_modules/react-aria/dist/private/tree/useTree.mjs-function Aoe(e, t, n) {- let { gridProps: r } = Mae(e, t, n);+function _oe(e, t, n) {+ let { gridProps: r } = cae(e, t, n);return r.role = "treegrid", { gridProps: r };}// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var FO = {};-FO = {+var YO = {};+YO = {collapse: "طي",expand: "تمديد"};// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var IO = {};-IO = {+var XO = {};+XO = {collapse: "Свиване",expand: "Разширяване"};// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var LO = {};-LO = {+var ZO = {};+ZO = {collapse: "Sbalit",expand: "Roztáhnout"};// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var RO = {};-RO = {+var QO = {};+QO = {collapse: "Skjul",expand: "Udvid"};// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var zO = {};-zO = {+var $O = {};+$O = {collapse: "Reduzieren",expand: "Erweitern"};// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var BO = {};-BO = {+var ek = {};+ek = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};// node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var VO = {};-VO = {+var tk = {};+tk = {expand: "Expand",collapse: "Collapse"};// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var HO = {};-HO = {+var nk = {};+nk = {collapse: "Contraer",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var UO = {};-UO = {+var rk = {};+rk = {collapse: "Ahenda",expand: "Laienda"};// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var WO = {};-WO = {+var ik = {};+ik = {collapse: "Pienennä",expand: "Laajenna"};// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var GO = {};-GO = {+var ak = {};+ak = {collapse: "Réduire",expand: "Développer"};// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var KO = {};-KO = {+var ok = {};+ok = {collapse: "כווץ",expand: "הרחב"};// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var qO = {};-qO = {+var sk = {};+sk = {collapse: "Sažmi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var JO = {};-JO = {+var ck = {};+ck = {collapse: "Összecsukás",expand: "Kibontás"};// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var YO = {};-YO = {+var lk = {};+lk = {collapse: "Comprimi",expand: "Espandi"};// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var XO = {};-XO = {+var uk = {};+uk = {collapse: "折りたたむ",expand: "展開"};// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var ZO = {};-ZO = {+var dk = {};+dk = {collapse: "접기",expand: "펼치기"};// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var QO = {};-QO = {+var fk = {};+fk = {collapse: "Sutraukti",expand: "Išskleisti"};// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var $O = {};-$O = {+var pk = {};+pk = {collapse: "Sakļaut",expand: "Izvērst"};// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var ek = {};-ek = {+var mk = {};+mk = {collapse: "Skjul",expand: "Utvid"};// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var tk = {};-tk = {+var hk = {};+hk = {collapse: "Samenvouwen",expand: "Uitvouwen"};// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var nk = {};-nk = {+var gk = {};+gk = {collapse: "Zwiń",expand: "Rozwiń"};// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var rk = {};-rk = {+var _k = {};+_k = {collapse: "Recolher",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var ik = {};-ik = {+var vk = {};+vk = {collapse: "Colapsar",expand: "Expandir"};// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var ak = {};-ak = {+var yk = {};+yk = {collapse: "Restrângeți",expand: "Extindeți"};// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var ok = {};-ok = {+var bk = {};+bk = {collapse: "Свернуть",expand: "Развернуть"};// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var sk = {};-sk = {+var xk = {};+xk = {collapse: "Zbaliť",expand: "Rozbaliť"};// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var ck = {};-ck = {+var Sk = {};+Sk = {collapse: "Strni",expand: "Razširi"};// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var lk = {};-lk = {+var Ck = {};+Ck = {collapse: " Skupi",expand: "Proširi"};// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var uk = {};-uk = {+var wk = {};+wk = {collapse: "Dölj",expand: "Expandera"};// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var dk = {};-dk = {+var Tk = {};+Tk = {collapse: "Daralt",expand: "Genişlet"};// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var fk = {};-fk = {+var Ek = {};+Ek = {collapse: "Згорнути",expand: "Розгорнути"};// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var pk = {};-pk = {+var Dk = {};+Dk = {collapse: "折叠",expand: "扩展"};// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var mk = {};-mk = {+var Ok = {};+Ok = {collapse: "收合",expand: "展開"};// node_modules/react-aria/dist/private/tree/intlStrings.mjs-var hk = {};-hk = {- "ar-AE": FO,- "bg-BG": IO,- "cs-CZ": LO,- "da-DK": RO,- "de-DE": zO,- "el-GR": BO,- "en-US": VO,- "es-ES": HO,- "et-EE": UO,- "fi-FI": WO,- "fr-FR": GO,- "he-IL": KO,- "hr-HR": qO,- "hu-HU": JO,- "it-IT": YO,- "ja-JP": XO,- "ko-KR": ZO,- "lt-LT": QO,- "lv-LV": $O,- "nb-NO": ek,- "nl-NL": tk,- "pl-PL": nk,- "pt-BR": rk,- "pt-PT": ik,- "ro-RO": ak,- "ru-RU": ok,- "sk-SK": sk,- "sl-SI": ck,- "sr-SP": lk,- "sv-SE": uk,- "tr-TR": dk,- "uk-UA": fk,- "zh-CN": pk,- "zh-TW": mk+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};// node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function joe(e) {+function voe(e) {return e && e.__esModule ? e.default : e;}-function gk(e, t, n) {- let { node: r } = e, i = Nae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = xS(joe(hk), "@react-aria/tree"), s = {+function Ak(e, t, n) {+ let { node: r } = e, i = lae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = zS(voe(kk), "@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,- ...rS({+ ...DS({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -28899,15 +28906,15 @@ function gk(e, t, n) {};}// src/react/components/selection-dock.tsx-var _k = "(prefers-reduced-motion: reduce)", Moe = () => matchMedia(_k).matches, Noe = (e) => {- let t = matchMedia(_k);+var jk = "(prefers-reduced-motion: reduce)", yoe = () => matchMedia(jk).matches, boe = (e) => {+ let t = matchMedia(jk);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, vk = /* @__PURE__ */ new Map(), yk = () => {+}, Mk = /* @__PURE__ */ new Map(), Nk = () => {let e = document.documentElement;- vk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...vk.values())}px`) : e.style.removeProperty("--selection-dock-space");+ Mk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Mk.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function Poe({ children: e, count: t, label: n }) {- let r = (0, P.useRef)(null), i = ty(), a = (0, P.useSyncExternalStore)(Noe, Moe, () => !1), { isFocusVisible: o } = ex(), s = a || o, c = {+function xoe({ children: e, count: t, label: n }) {+ let r = (0, P.useRef)(null), i = py(), a = (0, P.useSyncExternalStore)(boe, yoe, () => !1), { isFocusVisible: o } = wx(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -28915,12 +28922,12 @@ function Poe({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- vk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), yk();+ Mk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Nk();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), vk.delete(e), yk();+ n.disconnect(), window.removeEventListener("resize", t), Mk.delete(e), Nk();};- }, [i]), /* @__PURE__ */ (0, F.jsxs)(By.div, {+ }, [i]), /* @__PURE__ */ (0, F.jsxs)(tb.div, {ref: r,role: "group","aria-label": n,@@ -28953,17 +28960,17 @@ function Poe({ children: e, count: t, label: n }) {}), e]});}-function bk({ visible: e, ...t }) {- return /* @__PURE__ */ (0, F.jsx)(iy, { children: e ? /* @__PURE__ */ (0, F.jsx)(Poe, { ...t }, "selection") : null });+function Pk({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, F.jsx)(gy, { children: e ? /* @__PURE__ */ (0, F.jsx)(xoe, { ...t }, "selection") : null });}// src/react/batch-dock/batch-dock-api.ts-var xk = {+var Fk = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function Foe(e, t = !1) {+function Soe(e, t = !1) {switch (e) {case "trash": return [{@@ -28979,7 +28986,7 @@ function Foe(e, t = !1) {glyph: "trash",danger: !0},- xk+ Fk];case "junk": return [t ? {@@ -29000,7 +29007,7 @@ function Foe(e, t = !1) {glyph: "trash",danger: !0},- xk+ Fk];case "follow": return [{@@ -29021,7 +29028,7 @@ function Foe(e, t = !1) {label: "忽略",glyph: "eye-off"},- xk+ Fk];default: return [{@@ -29055,38 +29062,38 @@ function Foe(e, t = !1) {glyph: "trash",danger: !0},- xk+ Fk];}}// src/react/batch-dock/batch-dock-island.tsx-var Sk = null, Ck = {+var Ik = null, Lk = {count: 0,context: "catalog",junkDismissed: !1-}, wk = /* @__PURE__ */ new Set();-function Ioe(e) {- return wk.add(e), () => {- wk.delete(e);+}, Rk = /* @__PURE__ */ new Set();+function Coe(e) {+ return Rk.add(e), () => {+ Rk.delete(e);};}-function Loe() {- for (let e of [...wk]) e();+function woe() {+ for (let e of [...Rk]) e();}-var Roe = { render(e) {- Ck = e, (0, Lt.flushSync)(Loe);+var Toe = { render(e) {+ Lk = e, (0, Lt.flushSync)(woe);} };-function zoe(e) {- return Sk = e, Roe;+function Eoe(e) {+ return Ik = e, Toe;}-function Boe() {- let e = (0, P.useSyncExternalStore)(Ioe, () => Ck);- return Sk ? /* @__PURE__ */ (0, F.jsx)(Voe, {- host: Sk,+function Doe() {+ let e = (0, P.useSyncExternalStore)(Coe, () => Lk);+ return Ik ? /* @__PURE__ */ (0, F.jsx)(Ooe, {+ host: Ik,props: e}) : null;}-function Voe({ host: e, props: t }) {+function Ooe({ host: e, props: t }) {let n = t.count > 0;return (0, P.useLayoutEffect)(() => {document.body.toggleAttribute("data-batch-dock-open", n);@@ -29096,11 +29103,11 @@ function Voe({ host: e, props: t }) {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, F.jsx)(bk, {+ children: /* @__PURE__ */ (0, F.jsx)(Pk, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: Foe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, F.jsxs)("button", {+ children: Soe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -29116,11 +29123,11 @@ function Voe({ host: e, props: t }) {});}// src/number-setting.ts-function Tk(e, t, n, r) {+function zk(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}// src/settings-store.ts-function Hoe(e, t) {+function koe(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -29139,7 +29146,7 @@ function Hoe(e, t) {};}// src/sort-preferences.ts-var Ek = [+var Bk = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -29148,7 +29155,7 @@ var Ek = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Dk = ["release", "发行时间"], Ok = [...Ek, Dk].map(([e]) => e), kk = {+], Vk = ["release", "发行时间"], Hk = [...Bk, Vk].map(([e]) => e), Uk = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -29157,43 +29164,43 @@ var Ek = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, Ak = {+}, Wk = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, jk = (e, t, n = kk) => (n[e] || [])[+(t === "asc")] || "", Mk = (e, t = kk) => t[e] ? "desc" : "";-function Nk(e, t, n, r = kk) {+}, Gk = (e, t, n = Uk) => (n[e] || [])[+(t === "asc")] || "", Kk = (e, t = Uk) => t[e] ? "desc" : "";+function qk(e, t, n, r = Uk) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: Mk(e, r)+ dir: Kk(e, r)};}-function Pk(e, t, n) {+function Jk(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function Fk(e, t, n, r, i = n) {- let a = e ? Ak[e] : void 0, o = a ? a[0] : e, s = o && Ok.includes(o) ? o : i;- return kk[s] ? {+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] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Pk(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Jk(s, n, r)} : {sort: s,dir: ""};}// src/appearance/home-glow.ts-var Ik = [+var Xk = ["spot1","spot2","spot3"-], Uoe = [+], Aoe = ["光晕一","光晕二","光晕三"-], Lk = "native", Rk = [+], Zk = "native", Qk = [["ash","灰雾",@@ -29499,7 +29506,7 @@ var Ik = ["rose"],[- Lk,+ Zk,"玻璃原色",{spot1: {@@ -29517,7 +29524,7 @@ var Ik = [},"blue"]-], zk = (e) => e === Lk, Bk = [...Rk.map(([e, t]) => [e, t]), ["custom", "自定义"]], Woe = (e) => (Bk.find(([t]) => t === e) || Bk[0])[1], Vk = (e) => structuredClone((Rk.find(([t]) => t === e) || Rk[0])[2]), Hk = [+], $k = (e) => e === Zk, eA = [...Qk.map(([e, t]) => [e, t]), ["custom", "自定义"]], joe = (e) => (eA.find(([t]) => t === e) || eA[0])[1], tA = (e) => structuredClone((Qk.find(([t]) => t === e) || Qk[0])[2]), nA = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -29530,7 +29537,7 @@ var Ik = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], Uk = "blue", Wk = (e) => Hk.some(([t]) => t === e) ? e : Uk, Goe = (e) => (Rk.find(([t]) => t === e) || [])[3] || "blue", Koe = [+], rA = "blue", iA = (e) => nA.some(([t]) => t === e) ? e : rA, Moe = (e) => (Qk.find(([t]) => t === e) || [])[3] || "blue", Noe = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -29540,7 +29547,7 @@ var Ik = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], qoe = [+], Poe = [["gray","云灰",@@ -29936,11 +29943,11 @@ var Ik = ["霁蓝","#6686b8"]-], Gk = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Kk = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Joe = (e, t) => `rgba(${[+], 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, Foe = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Yoe = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Ioe = {strength: [0,100,@@ -29966,7 +29973,7 @@ var Ik = [100,50]-}, qk = {+}, sA = {on: !0,preset: "ash",strength: 100,@@ -29974,56 +29981,56 @@ var Ik = [speed: 100,soften: 50,size: 50,- ...Vk("ash")+ ...tA("ash")};-function Jk(e) {- let t = e && typeof e == "object" ? e : {}, n = Bk.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Vk(r === "custom" ? "ash" : r), a = {+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 = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(Yoe)) a[e] = Gk(+t[e], n, r, i);- for (let e of Ik) {+ for (let [e, [n, r, i]] of Object.entries(Ioe)) a[e] = aA(+t[e], n, r, i);+ for (let e of Xk) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: Kk(r.color, o.color),- alpha: Gk(+r.alpha, 0, 100, o.alpha)+ color: oA(r.color, o.color),+ alpha: aA(+r.alpha, 0, 100, o.alpha)};}return a;}-var Xoe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Yk = /* @__PURE__ */ new WeakMap();-function Zoe(e, t) {+var Loe = (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 Roe(e, t) {if (!e) return;- let n = Yk.get(e);- n || (n = /* @__PURE__ */ new Map(), Yk.set(e, n));- let r = t.on && !zk(t.preset), i = (t, r) => {+ let n = lA.get(e);+ n || (n = /* @__PURE__ */ new Map(), lA.set(e, n));+ let r = t.on && !$k(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"), Ik.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"), Xk.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, Joe(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, Foe(r.color, r.alpha));});}-function Qoe(e, t) {+function zoe(e, t) {if (!e) return;- let n = !t.on || zk(t.preset);+ let n = !t.on || $k(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 $oe = "peach.settings.v1", ese = [+var Boe = "peach.settings.v1", Voe = ["system","light","dark"-], Xk = [+], uA = [0,7,30,90-], tse = [+], Hoe = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], Zk = {+], dA = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -30043,54 +30050,54 @@ var $oe = "peach.settings.v1", ese = [theaterMode: !1,theme: "system",groupCollapse: !0,- sidebarOrder: [...Fl],- homeGlow: qk,- accent: Uk-}, Qk = (e, t, n) => t.includes(e) ? e : n;-function nse(e) {+ sidebarOrder: [...Il],+ homeGlow: sA,+ accent: rA+}, fA = (e, t, n) => t.includes(e) ? e : n;+function Uoe(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...Zk,+ ...dA,...t};- n.followInitialDays = Xk.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = uA.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 = Ak[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Tk(+n.batchSize, 1, 200, 60), n.defaultSort = Qk(n.defaultSort, Ok, "seed"), n.hoverDelaySeconds = Tk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Tk(+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 = Tk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Tk(+n.relatedLimit, 0, 60, 20), n.feedLimit = Tk(+n.feedLimit, 1, 100, 12), Object.assign(n, Pa(n)), n.theme = Qk(n.theme, ese, "system"), n.homeGlow = Jk(n.homeGlow), n.accent = Wk(n.accent), n.sidebarOrder = zl(n.sidebarOrder), {+ 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 = fA(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 = fA(n.theme, Voe, "system"), n.homeGlow = cA(n.homeGlow), n.accent = iA(n.accent), n.sidebarOrder = Bl(n.sidebarOrder), {settings: n,migrated: r};}-function rse(e) {+function Woe(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return nse(t);+ return Uoe(t);}-var $k = null;-function eA() {- if ($k) return $k;- let { settings: e, migrated: t } = rse(localStorage);- return $k = Hoe($oe, e), t && $k.save(), $k;+var pA = null;+function mA() {+ if (pA) return pA;+ let { settings: e, migrated: t } = Woe(localStorage);+ return pA = koe(Boe, e), t && pA.save(), pA;}-function tA(e, t, n = eA()) {+function hA(e, t, n = mA()) {let r = n.value, i = e && e.followInitialDays;- Xk.includes(i) && (r.followInitialDays = i, n.save());- for (let t of tse) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ uA.includes(i) && (r.followInitialDays = i, n.save());+ for (let t of Hoe) 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 = Tk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== Zk.searchHistoryLimit && ise(n);+ 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 !== dA.searchHistoryLimit && Goe(n);let o = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;o && o.length && o.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = o, n.save());}-function ise(e = eA()) {+function Goe(e = mA()) {return on("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })}).catch(() => {});}// src/appearance/theme.ts-var ase = [+var Koe = [["system","跟随系统",@@ -30106,31 +30113,31 @@ var ase = ["深色","moon"]-], ose = null, nA = () => ose ??= matchMedia("(prefers-color-scheme: dark)"), rA = null;-function sse() {- return rA || (rA = document.createElement("style"), rA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), rA.isConnected || document.head.append(rA), () => {+], qoe = null, gA = () => qoe ??= matchMedia("(prefers-color-scheme: dark)"), _A = null;+function Joe() {+ return _A || (_A = document.createElement("style"), _A.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), _A.isConnected || document.head.append(_A), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), rA?.remove();+ cancelAnimationFrame(t), clearTimeout(n), _A?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function iA(e = eA().value.theme) {- let t = sse(), n = document.documentElement;+function vA(e = mA().value.theme) {+ let t = Joe(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && nA().matches;+ let r = e === "dark" || e === "system" && gA().matches;n.classList.toggle("dark", r), document.querySelectorAll("[data-board-theme]").forEach((e) => e.setAttribute("aria-pressed", String(e.dataset.boardTheme === "dark" === r))), document.querySelector(".board-theme-toggle")?.classList.toggle("is-dark", r), document.querySelectorAll("meta[data-theme-color]").forEach((e) => {e.media = e.dataset.themeColor === "dark" === r ? "all" : "not all";}), t();}-var aA = !1;-function cse() {- aA || (aA = !0, nA().addEventListener("change", () => {- eA().value.theme === "system" && iA();+var yA = !1;+function Yoe() {+ yA || (yA = !0, gA().addEventListener("change", () => {+ mA().value.theme === "system" && vA();}));}// src/appearance/layout.ts-var oA = [[+var bA = [["big","大图","maximize"@@ -30138,7 +30145,7 @@ var oA = [["small","小图","layout-grid"-]], sA = [[+]], xA = [["big","大图","maximize"@@ -30146,7 +30153,7 @@ var oA = [["small","小图","layout-grid"-]], cA = [[+]], SA = [["fixed","固定比例","layout-grid"@@ -30154,127 +30161,127 @@ var oA = [["masonry","瀑布流","columns-2"-]], lA = .75, uA = () => eA().value, dA = (e = uA()) => Na(e.javLayout), lse = (e = uA()) => Na(e.homeLayout), fA = (e, t = uA()) => e ? lse(t) : dA(t), pA = sA.map(([e]) => e), mA = cA.map(([e]) => e), hA = (e = uA()) => Qk(e.photoSize, pA, "small"), gA = (e = uA()) => Qk(e.photoLayout, mA, "masonry"), _A = null;-function vA(e, t = uA()) {+]], CA = .75, wA = () => mA().value, TA = (e = wA()) => Na(e.javLayout), Xoe = (e = wA()) => Na(e.homeLayout), EA = (e, t = wA()) => e ? Xoe(t) : TA(t), DA = xA.map(([e]) => e), OA = SA.map(([e]) => e), kA = (e = wA()) => fA(e.photoSize, DA, "small"), AA = (e = wA()) => fA(e.photoLayout, OA, "masonry"), jA = null;+function MA(e, t = wA()) {let n = {active: e.active,- size: fA(e.home, t),+ size: EA(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = _A;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (_A = n), _A;+ }, r = jA;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (jA = n), jA;}-function yA(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? lA : 16 / 9;+function NA(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? CA : 16 / 9;}-function use(e, t = eA()) {+function Zoe(e, t = mA()) {t.value.homeLayout = Na(e), t.save();}-function bA(e, t = eA()) {+function PA(e, t = mA()) {t.value.javLayout = Na(e), t.save();}-function dse(e, t = eA()) {+function Qoe(e, t = mA()) {t.value.homeLayout = t.value.javLayout = Na(e), t.save();}-function fse(e, t = eA()) {- t.value.photoSize = Qk(e, pA, "small"), t.save();+function $oe(e, t = mA()) {+ t.value.photoSize = fA(e, DA, "small"), t.save();}-function xA(e, t = eA()) {- t.value.photoLayout = Qk(e, mA, "masonry"), t.save();+function FA(e, t = mA()) {+ t.value.photoLayout = fA(e, OA, "masonry"), t.save();}// src/appearance/density.ts-var SA = "density", CA = {+var IA = "density", LA = {big: "336px",dense: "168px"-}, wA = () => localStorage.getItem(SA) === "dense" ? "dense" : "big";-function TA(e, t) {- let [n, r] = sA;- if (e.querySelector("[data-icon-swap]")) Ds(e, t === r[0] ? "b" : "a");+}, RA = () => localStorage.getItem(IA) === "dense" ? "dense" : "big";+function zA(e, t) {+ let [n, r] = xA;+ if (e.querySelector("[data-icon-swap]")) Os(e, t === r[0] ? "b" : "a");else {let i = e.querySelector(":scope > [data-glass-drift]");- e.innerHTML = Es(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);+ e.innerHTML = Ds(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);}- EA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");+ BA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");}-function EA(e, t, n) {+function BA(e, t, n) {e.getAttribute(t) !== n && e.setAttribute(t, n);}-var DA = () => document.querySelector("#density");-function OA(e = wA()) {+var VA = () => document.querySelector("#density");+function HA(e = RA()) {let t = document.documentElement;- t.style.getPropertyValue("--tile") !== CA[e] && t.style.setProperty("--tile", CA[e]), EA(document.body, "data-density", e);- let n = DA();- n && (EA(n, "aria-pressed", String(e === "dense")), EA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), TA(n, e === "big" ? "big" : "small"));+ t.style.getPropertyValue("--tile") !== LA[e] && t.style.setProperty("--tile", LA[e]), BA(document.body, "data-density", e);+ let n = VA();+ n && (BA(n, "aria-pressed", String(e === "dense")), BA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), zA(n, e === "big" ? "big" : "small"));}-function pse() {- let e = wA() === "big" ? "dense" : "big";- localStorage.setItem(SA, e), OA(e);+function ese() {+ let e = RA() === "big" ? "dense" : "big";+ localStorage.setItem(IA, e), HA(e);}-function mse(e) {- let t = DA();- t && (EA(t, "aria-pressed", String(e === "small")), EA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), TA(t, e));+function tse(e) {+ let t = VA();+ t && (BA(t, "aria-pressed", String(e === "small")), BA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), zA(t, e));}// src/appearance/glow.ts-function kA(e = eA()) {- Zoe(document.querySelector(".glowlayer"), e.value.homeGlow);+function UA(e = mA()) {+ Roe(document.querySelector(".glowlayer"), e.value.homeGlow);}-var AA = 0;-function jA(e = eA()) {- AA ||= requestAnimationFrame(() => {- AA = 0, kA(e);+var WA = 0;+function GA(e = mA()) {+ WA ||= requestAnimationFrame(() => {+ WA = 0, UA(e);});}-function MA(e = eA()) {- Qoe(document.documentElement, e.value.homeGlow);+function KA(e = mA()) {+ zoe(document.documentElement, e.value.homeGlow);}-function NA(e = eA()) {+function qA(e = mA()) {document.documentElement.dataset.accent = e.value.accent;}-var PA = (e, t, n) => ({+var JA = (e, t, n) => ({key: e,label: t,- native: zk(e),- fill: zk(e) ? "" : Xoe(n)+ native: $k(e),+ fill: $k(e) ? "" : Loe(n)});-function hse(e) {- let t = Rk.map(([e, t, n]) => PA(e, t, Ik.map((e) => n[e].color)));- return e.preset === "custom" && t.push(PA("custom", "自定义", Ik.map((t) => e[t].color))), t;+function nse(e) {+ let t = Qk.map(([e, t, n]) => JA(e, t, Xk.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(JA("custom", "自定义", Xk.map((t) => e[t].color))), t;}-var gse = Hk;-function _se(e, t = eA()) {+var rse = nA;+function ise(e, t = mA()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, Vk(e)), t.value.accent = Goe(e), t.save(), jA(t), MA(t), NA(t);+ n.preset = e, Object.assign(n, tA(e)), t.value.accent = Moe(e), t.save(), GA(t), KA(t), qA(t);}-function vse(e, t = eA()) {- t.value.accent = Wk(e), t.save(), NA(t);+function ase(e, t = mA()) {+ t.value.accent = iA(e), t.save(), qA(t);}-function yse(e = eA()) {+function ose(e = mA()) {let t = e.value.homeGlow;- t.preset = qk.preset, Object.assign(t, Vk(t.preset)), e.value.accent = Uk, e.save(), jA(e), MA(e), NA(e);+ t.preset = sA.preset, Object.assign(t, tA(t.preset)), e.value.accent = rA, e.save(), GA(e), KA(e), qA(e);}-function FA(e, t) {- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && zk(t.preset)), e.toggleAttribute("data-glow-off", !t.on);+function YA(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 bse(e, t = eA()) {- return FA(e, t.value.homeGlow), t.subscribe(() => FA(e, t.value.homeGlow));+function sse(e, t = mA()) {+ return YA(e, t.value.homeGlow), t.subscribe(() => YA(e, t.value.homeGlow));}// src/react/components/glow-preset-grid.tsx-function IA({ store: e, label: t, hidden: n }) {+function XA({ 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: hse(r).map((t) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: nse(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: () => _se(t.key, e),+ onClick: () => ise(t.key, e),children: /* @__PURE__ */ (0, F.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30285,14 +30292,14 @@ function IA({ store: e, label: t, hidden: n }) {});}// src/react/glow-picker/glow-picker-island.tsx-var LA = null;-function xse(e) {- LA = e;+var ZA = null;+function cse(e) {+ ZA = e;}-function Sse() {- return LA ? /* @__PURE__ */ (0, F.jsx)(Cse, { host: LA }) : null;+function lse() {+ return ZA ? /* @__PURE__ */ (0, F.jsx)(use, { host: ZA }) : null;}-function Cse({ host: e }) {+function use({ host: e }) {let { store: t } = e;(0, P.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -30304,11 +30311,11 @@ function Cse({ host: e }) {children: [/* @__PURE__ */ (0, F.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => yse(t),+ onClick: () => ose(t),children: "重置"})]}),- /* @__PURE__ */ (0, F.jsx)(IA, {+ /* @__PURE__ */ (0, F.jsx)(XA, {store: t,label: "光晕",hidden: !n.on@@ -30322,14 +30329,14 @@ function Cse({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: gse.map(([e, n]) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: rse.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: () => vse(e, t),+ onClick: () => ase(e, t),children: /* @__PURE__ */ (0, F.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30347,31 +30354,31 @@ function Cse({ host: e }) {] });}// src/player/host.ts-var RA = null;-function wse(e) {- RA = e;+var QA = null;+function dse(e) {+ QA = e;}-function zA() {- if (!RA) throw Error("播放器还没有接上宿主(configurePlayer)");- return RA;+function $A() {+ if (!QA) throw Error("播放器还没有接上宿主(configurePlayer)");+ return QA;}// src/player/menu.ts-var BA = null;-function Tse(e) {- BA = e;+var ej = null;+function fse(e) {+ ej = e;}-function Ese() {+function pse() {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 VA = null, HA = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function UA() {+var tj = null, nj = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function rj() {let e = document.getElementById("playerMenu");- e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && Uo(e, () => {+ e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && Wo(e, () => {e.innerHTML = "";- }), VA &&= (VA(), null);+ }), tj &&= (tj(), null);}-async function Dse(e) {+async function ij(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -30384,8 +30391,8 @@ async function Dse(e) {return t.remove(), n;}}-function Ose(e) {- let t = !!BA?.inMiniplayer(e), n = e.peachItem, r = BA?.kind(e) ?? "item", i = (t) => {+function mse(e) {+ let t = !!ej?.inMiniplayer(e), n = e.peachItem, r = ej?.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);@@ -30401,7 +30408,7 @@ function Ose(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- Dse(i(e)).then((e) => zA().toast(e ? t : "复制失败,请手动复制地址栏", {+ ij(i(e)).then((e) => $A().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -30413,11 +30420,11 @@ function Ose(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => BA?.expand()+ run: () => ej?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => BA?.toMiniplayer()+ run: () => ej?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -30440,29 +30447,29 @@ function Ose(e) {run: () => s.click()}), o;}-function kse(e, t, n) {- let r = Ese();- UA();- let i = zA().stage();+function hse(e, t, n) {+ let r = pse();+ rj();+ let i = $A().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = Ose(e);+ let a = mse(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}">${HA(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? HA(R("check"), "data-player-menu-check") : ""}</button>`;- }).join(""), Ho(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`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${nj(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? nj(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)];- UA(), n?.run();+ rj(), n?.run();};});let s = (e) => {- r.contains(e.target) || UA();+ r.contains(e.target) || rj();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), UA();+ e.preventDefault(), e.stopPropagation(), rj();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -30470,49 +30477,49 @@ function kse(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- Go(t, e.el()) && UA();+ Ko(t, e.el()) && rj();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), VA = () => {+ }, 0), tj = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function Ase(e) {+function gse(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), kse(e, t.clientX, t.clientY));- }), e.on("dispose", UA);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), hse(e, t.clientX, t.clientY));+ }), e.on("dispose", rj);}// src/player/registry.ts-var WA = null, GA = () => WA;-function KA(e) {- WA = e;+var aj = null, oj = () => aj;+function sj(e) {+ aj = e;}-function qA(e) {+function cj(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}// src/player/stats.ts-function JA(e) {+function lj(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 jse(e) {+function _se(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 YA = 3e3;-function XA(e, t) {+var uj = 3e3;+function dj(e, t) {let n = Number(e) || 0, r = On(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function Mse(e) {+function vse(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -30527,10 +30534,10 @@ function Mse(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = jse(e), s = e.currentTime || 0;+ let a = performance.now(), o = _se(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 > YA * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > uj * 2 && (t.length = 0);}for (n = {at: a,@@ -30539,55 +30546,55 @@ function Mse(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > YA;) t.shift();+ }); t.length > 2 && a - t[0].at > uj;) 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 ZA = 24;-function QA(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > ZA && e.splice(0, e.length - ZA);+var fj = 24;+function pj(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > fj && e.splice(0, e.length - fj);}-var $A = "peach-player-panel";-function ej(e, t, n, r) {- let i = [...Array(Math.max(0, ZA - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var mj = "peach-player-panel";+function hj(e, t, n, r) {+ let i = [...Array(Math.max(0, fj - 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 Nse() {+function yse() {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 tj(e, t = "") {+function gj(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 nj(e, t = "") {- let n = tj(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 _j(e, t = "") {+ let n = gj(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 rj(e, t, n = "", r = null) {+function vj(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : nj(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : _j(t, n);}-function ij(e) {+function yj(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 Pse(e, t) {- return e > 0 ? ij(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : ij(0);+function bse(e, t) {+ return e > 0 ? yj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : yj(0);}// src/player/subtitle-style.ts-var aj = {+var bj = {font: {label: "字体",values: [@@ -30690,7 +30697,7 @@ var aj = {["shadow", "阴影"]]}-}, oj = {+}, xj = {font: "sans",size: "100",color: "white",@@ -30700,7 +30707,7 @@ var aj = {window: "black",windowOpacity: "0",edge: "shadow"-}, sj = "peach.caption-style.v1", Fse = {+}, Sj = "peach.caption-style.v1", xse = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -30709,7 +30716,7 @@ var aj = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, Ise = {+}, Sse = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -30717,28 +30724,28 @@ var aj = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, Lse = {+}, Cse = {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 Rse() {+function wse() {let e = {};try {- e = JSON.parse(localStorage.getItem(sj) || "{}") || {};+ e = JSON.parse(localStorage.getItem(Sj) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(oj).map(([t, n]) => [t, aj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries(xj).map(([t, n]) => [t, bj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function cj(e, t, n, r) {- let i = Rse(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");+function Cj(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(${Fse[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", Ise[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", Lse[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${xse[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", Sse[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", Cse[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 || [])) {@@ -30754,15 +30761,15 @@ function cj(e, t, n, r) {if (!n.aborted) {if (e.caption_style) {let t = {- ...oj,+ ...xj,...e.caption_style};- for (let e of Object.keys(oj)) a.has(e) || (i[e] = t[e]);+ for (let e of Object.keys(xj)) a.has(e) || (i[e] = t[e]);c();} else {let e = !1;try {- e = !!localStorage.getItem(sj);+ e = !!localStorage.getItem(Sj);} catch {}e && !a.size && r.save({ caption_style: i }).catch(() => {});}@@ -30770,18 +30777,18 @@ function cj(e, t, n, r) {}), {current: () => i,set(e, t) {- aj[e].values.some(([e]) => e === t) && (a.add(e), i = {+ bj[e].values.some(([e]) => e === t) && (a.add(e), i = {...i,[e]: t}, c(), r?.save({ caption_style: { [e]: t } }).catch(() => {}));},reset() {- Object.keys(oj).forEach((e) => a.add(e)), i = { ...oj }, c(), r?.save({ caption_style: i }).catch(() => {});+ Object.keys(xj).forEach((e) => a.add(e)), i = { ...xj }, c(), r?.save({ caption_style: i }).catch(() => {});}};}// src/player/memory.ts-var lj = /* @__PURE__ */ new Map(), uj = /* @__PURE__ */ new WeakMap(), zse = class {+var wj = /* @__PURE__ */ new Map(), Tj = /* @__PURE__ */ new WeakMap(), Tse = class {cleanup = new AbortController();reading;listeners = /* @__PURE__ */ new Set();@@ -30809,7 +30816,7 @@ var lj = /* @__PURE__ */ new Map(), uj = /* @__PURE__ */ new WeakMap(), zse = cl}load() {return this.url ? this.reading ||= (async () => {- await lj.get(this.url)?.catch(() => {});+ await wj.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) => {@@ -30821,7 +30828,7 @@ var lj = /* @__PURE__ */ new Map(), uj = /* @__PURE__ */ new WeakMap(), zse = cl}save(e) {if (!this.url) return Promise.resolve();- let t = (lj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (wj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = {...this.unsaved,...e,@@ -30848,8 +30855,8 @@ var lj = /* @__PURE__ */ new Map(), uj = /* @__PURE__ */ new WeakMap(), zse = clthis.changed();}});- return lj.set(this.url, t), t.finally(() => {- lj.get(this.url) === t && lj.delete(this.url);+ return wj.set(this.url, t), t.finally(() => {+ wj.get(this.url) === t && wj.delete(this.url);}).catch(() => {}), t;}async retry() {@@ -30858,12 +30865,12 @@ var lj = /* @__PURE__ */ new Map(), uj = /* @__PURE__ */ new WeakMap(), zse = cl} catch {}}};-function dj(e) {- let t = uj.get(e);- return t || (t = new zse(e), uj.set(e, t)), t;+function Ej(e) {+ let t = Tj.get(e);+ return t || (t = new Tse(e), Tj.set(e, t)), t;}-function fj(e, t) {- let n = dj(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {+function Dj(e, t) {+ let n = Ej(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {t.defaultPlaybackRate = r, Number(e.playbackRate()) !== r && e.playbackRate(r);};return n.restore((t) => {@@ -30876,7 +30883,7 @@ function fj(e, t) {};}// src/player/subtitle-memory.ts-var pj = class {+var Oj = class {player;video;changed;@@ -30887,7 +30894,7 @@ var pj = class {ready;error = "";constructor(e, t, n = () => {}) {- this.player = e, this.video = t, this.changed = n, this.memory = dj(e);+ this.player = e, this.video = t, this.changed = n, this.memory = Ej(e);let r = this.cleanup.signal;t.textTracks.addEventListener("addtrack", () => {this.apply(), this.changed();@@ -30984,7 +30991,7 @@ var pj = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, mj = () => "<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>", Bse = class {+}, kj = () => "<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>", Ese = class {player;video;panels;@@ -31003,7 +31010,7 @@ var pj = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = cj(e.el(), t, this.cleanup.signal, dj(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = mj(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = Cj(e.el(), t, this.cleanup.signal, Ej(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = kj(), 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", () => {@@ -31013,7 +31020,7 @@ var pj = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new pj(e, t, () => {+ }), this.session = new Oj(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -31061,7 +31068,7 @@ var pj = 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(aj).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(bj).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);@@ -31073,7 +31080,7 @@ var pj = class {}styleOptions(e) {this.page = "style";- let t = aj[e];+ let t = bj[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>`;@@ -31085,7 +31092,7 @@ var pj = class {}status(e, t = !1, n = !1) {let r = this.player.el().querySelector(".vjs-peach-panel:not(.vjs-peach-panel-leaving) [data-subtitle-status]");- r && (r.hidden = !1, r.innerHTML = `${n ? bs("") : ""}<span>${z(e)}</span>`, r.toggleAttribute("data-error", t));+ r && (r.hidden = !1, r.innerHTML = `${n ? xs("") : ""}<span>${z(e)}</span>`, r.toggleAttribute("data-error", t));}busy() {return this.request?.abort(), this.request = new AbortController(), this.request.signal;@@ -31138,7 +31145,7 @@ var pj = class {async runSearch(e, t = this.offset) {if (e.getAttribute("aria-busy") === "true") return;let n = this.busy(), r = this.generation, i = e.querySelector("[data-subtitle-more],[data-subtitle-retry]"), a = e.querySelector("[data-subtitle-results]");- e.setAttribute("aria-busy", "true"), i && Oc(i), a.inert = !0, this.status("正在搜索字幕", !1, !0);+ e.setAttribute("aria-busy", "true"), i && kc(i), a.inert = !0, this.status("正在搜索字幕", !1, !0);try {let i = await on(`/api/subtitles/search?q=${encodeURIComponent(this.query)}&offset=${t}`, { signal: n });if (n.aborted || r !== this.generation) return;@@ -31148,7 +31155,7 @@ var pj = class {this.runSearch(e, t);});} finally {- e.removeAttribute("aria-busy"), i && Oc(i, !1), a.inert = !1;+ e.removeAttribute("aria-busy"), i && kc(i, !1), a.inert = !1;}}async showFiles(e) {@@ -31189,7 +31196,7 @@ var pj = class {}};// src/player/timeline.ts-function Vse(e, t) {+function Dse(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;@@ -31201,8 +31208,8 @@ function Vse(e, t) {return !a || e >= a[1] && (i !== t.cues.length - 1 || e !== a[1]) ? null : i;}// src/player/rotation.ts-function hj(e, t) {- let n = 0, r = !1, i = dj(e), a = e.el(), o = a.querySelector("media-container") || a, s = [+function Aj(e, t) {+ let n = 0, r = !1, i = Ej(e), a = e.el(), o = a.querySelector("media-container") || a, s = ["width","height","inset",@@ -31230,7 +31237,7 @@ function hj(e, t) {};}// src/player/pip.ts-function Hse(e, t, n, r) {+function Ose(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";@@ -31262,7 +31269,7 @@ function Hse(e, t, n, r) {});}// src/player/controls.ts-function gj(e, t, n = "") {+function jj(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));@@ -31273,27 +31280,27 @@ function gj(e, t, n = "") {};return o(), o;}-function _j(e, t) {+function Mj(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function Use(e, t = !0) {- let n = zA(), r = n.settings();+function kse(e, t = !0) {+ let n = $A(), 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 vj = /* @__PURE__ */ new WeakMap();-function yj(e) {+var Nj = /* @__PURE__ */ new WeakMap();+function Pj(e) {if (!e) return;- let t = zA().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), vj.get(e)?.(t ? "默认视图" : "影院模式");+ let t = $A().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Nj.get(e)?.(t ? "默认视图" : "影院模式");}-function bj(e, t = !0) {- let n = zA(), r = n.settings();+function Fj(e, t = !0) {+ let n = $A(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), yj(i?.querySelector("[data-player-theater]")), qA(GA());+ i?.toggleAttribute("data-theater", r.theaterMode), Pj(i?.querySelector("[data-player-theater]")), cj(oj());}-function Wse(e) {- let t = zA().stage(), n = t?.querySelector("[data-ambient-canvas]");+function Ase(e) {+ let t = $A().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -31316,9 +31323,9 @@ function Wse(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || (zA().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || ($A().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && zA().settings().ambientMode && (l(), e.paused || u(++o));+ !i && $A().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -31327,7 +31334,7 @@ function Wse(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function xj(e, t, n = 0, r = null) {+function Ij(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");@@ -31337,8 +31344,8 @@ function xj(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]");- gj(s, "设置");- let l = a.querySelector(".vjs-peach-settings-menu"), u = hj(e, t), d = fj(e, t), f = dj(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {+ jj(s, "设置");+ let l = a.querySelector(".vjs-peach-settings-menu"), u = Aj(e, t), d = Dj(e, t), f = Ej(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 = () => {@@ -31377,11 +31384,11 @@ function xj(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($A, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(mj, { detail: "settings" }));}, S = () => x(!1), C = (e) => {e.detail !== "settings" && S();};- document.addEventListener($A, C);+ document.addEventListener(mj, 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;@@ -31397,15 +31404,15 @@ function xj(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="${zA().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="${$A().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">${mj()}</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">${kj()}</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 = () => {- Use(!zA().settings().ambientMode), k();+ kse(!$A().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();@@ -31509,8 +31516,8 @@ function xj(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($A, C), w && clearTimeout(w);- }), p = new Bse(e, t, {+ F(), t.removeEventListener("loadedmetadata", ie), t.removeEventListener("resize", ie), t.removeEventListener("ratechange", ie), T++, document.removeEventListener("pointerdown", P), document.removeEventListener(mj, C), w && clearTimeout(w);+ }), p = new Ese(e, t, {render: E,open: () => {O = "subtitles", x(!0);@@ -31519,21 +31526,21 @@ function xj(e, t, n = 0, r = null) {back: () => {p?.hide(), k(-1);}- }), y(), Gse(e, a), Kse(e), (e) => {+ }), y(), jse(e, a), Mse(e), (e) => {h = e?.length ? e : null, ie();};}-function Gse(e, t) {+function jse(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;- let r = zA().settings().theaterMode, i = document.createElement("div");+ let r = $A().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");- vj.set(a, gj(a, "影院模式", "T")), yj(a), a.onclick = (e) => {- e.stopPropagation(), bj(!zA().settings().theaterMode);+ Nj.set(a, jj(a, "影院模式", "T")), Pj(a), a.onclick = (e) => {+ e.stopPropagation(), Fj(!$A().settings().theaterMode);};}-function Kse(e) {+function Mse(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");@@ -31545,7 +31552,7 @@ function Kse(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 = gj(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 = jj(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 ? "播放" : "暂停");};@@ -31556,7 +31563,7 @@ function Kse(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 = gj(p, "静音", "M"), g = () => {+ let h = jj(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 ? "取消静音" : "静音");};@@ -31582,7 +31589,7 @@ function Kse(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 = gj(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = jj(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)};点击显示剩余时间`);};@@ -31594,10 +31601,10 @@ function Kse(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- gj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Hse(e, E, gj(E, "画中画"), (e) => zA().toast(e, { warn: !0 }));- let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = gj(D, "全屏", "F"), A = () => {+ jj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Ose(e, E, jj(E, "画中画"), (e) => $A().toast(e, { warn: !0 }));+ let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = jj(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 ? "退出全屏" : "全屏"), qA(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), cj(e);};e.on(["fullscreenchange",@@ -31618,7 +31625,7 @@ function Kse(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 = gj(te, "展开控件"), N = (t) => {+ let te = ee.querySelector("button"), ne = jj(te, "展开控件"), N = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), te.setAttribute("aria-expanded", String(t)), ne(t ? "收起控件" : "展开控件");};te.onclick = (t) => {@@ -31630,7 +31637,7 @@ function Kse(e) {}, ie = new ResizeObserver(re);ie.observe(e.el()), e.on("dispose", () => ie.disconnect()), N(!1), re();}-function Sj(e, t, n = {}) {+function Lj(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");@@ -31641,7 +31648,7 @@ function Sj(e, t, n = {}) {}).catch(() => {});let f = (e, n, r, i) => {if (!t) return;- let a = n.columns || 10, o = a * (n.rows || 10), s = Vse(e, n);+ let a = n.columns || 10, o = a * (n.rows || 10), s = Dse(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;@@ -31666,13 +31673,13 @@ function Sj(e, t, n = {}) {r.removeEventListener("pointermove", m), r.removeEventListener("pointerleave", h);});}-function qse(e, t) {+function Nse(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(zA().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number($A().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -31713,11 +31720,11 @@ function qse(e, t) {} catch {}});}-function Cj(e) {+function Rj(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 zj(e, t) {on(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -31733,35 +31740,35 @@ function wj(e, t) {}).catch(() => {});}// src/player/progress.ts-var Tj = "peach.playback-position.v1", Ej = /* @__PURE__ */ new WeakMap();-function Dj(e) {- Ej.get(e)?.(), Ej.delete(e);+var Bj = "peach.playback-position.v1", Vj = /* @__PURE__ */ new WeakMap();+function Hj(e) {+ Vj.get(e)?.(), Vj.delete(e);}-function Oj(e, t, n = null) {+function Uj(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 Jse(e) {+function Pse(e) {try {- let t = localStorage.getItem(`${Tj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${Bj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function Yse(e, t) {- let n = Jse(e);+function Fse(e, t) {+ let n = Pse(e);if (n !== null) return n;let r = Number(t.leave_ratio);return r > 0 && r < 1 ? r * On(t.duration) : 0;}-function Xse(e, t) {- Dj(t);+function Ise(e, t) {+ Hj(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(`${Tj}:${e}`, String(r));+ localStorage.setItem(`${Bj}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -31775,7 +31782,7 @@ function Xse(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Ej.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Vj.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -31787,19 +31794,19 @@ function Xse(e, t) {});}// src/player/telemetry.ts-var kj = /* @__PURE__ */ new WeakMap();-function Aj(e) {- kj.get(e)?.(), kj.delete(e);+var Wj = /* @__PURE__ */ new WeakMap();+function Gj(e) {+ Wj.get(e)?.(), Wj.delete(e);}-function jj(e, t, n, r) {+function Kj(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), kj.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Wj.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 Mj(e, t, n = {}) {+function qj(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);@@ -31840,11 +31847,11 @@ function Mj(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, jj(t, l, u, () => {+ }, Kj(t, l, u, () => {a++;}), c();}-function Zse(e, t) {+function Lse(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", {@@ -31875,22 +31882,22 @@ function Zse(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, jj(t, o, s, () => {});+ }, Kj(t, o, s, () => {});}// src/player/dispose.ts-function Nj(e) {+function Jj(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (Dj(t), Aj(t));+ t && (Hj(t), Gj(t));try {e.dispose();} catch {}}// src/core/random-id.ts-function Pj() {+function Yj() {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;@@ -31898,23 +31905,23 @@ function Pj() {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 Fj() {- return Pj();+function Xj() {+ return Yj();}-function Ij(e, t) {+function Zj(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function Qse(e) {+function Rse(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function Lj(e, t) {- let n = Qse(e);+async function Qj(e, t) {+ let n = Rse(e);if (n) return n;try {let n = await on(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -31923,9 +31930,9 @@ async function Lj(e, t) {type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return Ij(e, t);+ return Zj(e, t);}-function Rj(e) {+function $j(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -31934,22 +31941,22 @@ function Rj(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var zj = "";-function Bj() {- return zj;+var eM = "";+function tM() {+ return eM;}-function Vj() {- return zj ||= Fj(), zj;+function nM() {+ return eM ||= Xj(), eM;}-var $se = (e) => Ij(e, Vj()), ece = (e) => Lj(e, Vj());-function Hj() {- let e = zj;- e && (zj = "", Rj(e));+var zse = (e) => Zj(e, nM()), Bse = (e) => Qj(e, nM());+function rM() {+ let e = eM;+ e && (eM = "", $j(e));}// src/player/v10-player.ts-var Uj = (e) => typeof e == "string" ? [e] : e, tce = (e, t) => {+var iM = (e) => typeof e == "string" ? [e] : e, Vse = (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-${Pj()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${Yj()}`, 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 = {@@ -32044,9 +32051,9 @@ var Uj = (e) => typeof e == "string" ? [e] : e, tce = (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) => Uj(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => Uj(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => Uj(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => iM(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => iM(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => iM(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -32101,7 +32108,7 @@ var Uj = (e) => typeof e == "string" ? [e] : e, tce = (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);}};-}, nce = "/vendor/videojs/10.2.0/", rce = [+}, Hse = "/vendor/videojs/10.2.0/", Use = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -32119,17 +32126,17 @@ var Uj = (e) => typeof e == "string" ? [e] : e, tce = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], Wj = null;-function Gj() {- return Wj ??= Promise.all(rce.map((e) => import(+], aM = null;+function oM() {+ return aM ??= Promise.all(Use.map((e) => import(/* @vite-ignore */- `${nce}${e}`-))).then(() => tce).catch((e) => {- throw Wj = null, e;- }), Wj;+ `${Hse}${e}`+))).then(() => Vse).catch((e) => {+ throw aM = null, e;+ }), aM;}// src/player/immerse-player.ts-var ice = {+var Wse = {controls: !1,preload: "auto",posterImage: !1,@@ -32141,38 +32148,38 @@ var ice = {errorDisplay: !1,textTrackSettings: !1};-function ace(e, t) {+function Gse(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([Lj(n, r), Gj().catch(() => null)]).then(([o, s]) => {+ return Promise.all([Qj(n, r), oM().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = Ij(n, r), l = String(o.type || "").includes("mpegurl");+ let c = Zj(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, ice);- i = t, t.peachItem = n, t.peachPlaybackKey = Oj("item", n);+ let t = s(e, Wse);+ i = t, t.peachItem = n, t.peachPlaybackKey = Uj("item", n);let r = new AbortController();- cj(t.el(), e, r.signal, dj(t)), hj(t, e), fj(t, e), t.on("dispose", () => r.abort()), new pj(t, e), wj(t, n.id), l && t.one("error", () => {+ Cj(t.el(), e, r.signal, Ej(t)), Aj(t, e), Dj(t, e), t.on("dispose", () => r.abort()), new Oj(t, e), zj(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- Mj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ qj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, Rj(r), i ? Nj(i) : (e.pause(), Aj(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, $j(r), i ? Jj(i) : (e.pause(), Gj(e), e.removeAttribute("src"), e.load()));};}// src/player/detail-player.ts-var Kj = /* @__PURE__ */ new WeakMap(), qj = null, Jj = null, Yj = null;-function Xj() {- qj &&= (clearInterval(qj), null), Jj &&= (clearInterval(Jj), null), Yj &&= (clearTimeout(Yj), null);+var sM = /* @__PURE__ */ new WeakMap(), cM = null, lM = null, uM = null;+function dM() {+ cM &&= (clearInterval(cM), null), lM &&= (clearInterval(lM), null), uM &&= (clearTimeout(uM), null);}-async function oce(e, t, n, r = {}) {- let i = GA();+async function Kse(e, t, n, r = {}) {+ let i = oj();if (i && !i.isDisposed()) return i;- let a = zA(), o = r.resume ?? null;+ let a = $A(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : ece(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : Bse(e), c;try {- c = await Gj();+ c = await oM();} catch {return t.controls = !0, s().then((e) => {t.addEventListener("loadedmetadata", () => {@@ -32198,7 +32205,7 @@ async function oce(e, t, n, r = {}) {} }}});- KA(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Oj("item", e), Ase(l), l.on("loadedmetadata", () => {+ sj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Uj("item", e), gse(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}`);});@@ -32206,7 +32213,7 @@ async function oce(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = Mse(XA(f, e.duration)), m = 0, h = !1, g = () => GA() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = vse(dj(f, e.duration)), m = 0, h = !1, g = () => oj() === 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(() => {@@ -32217,15 +32224,15 @@ async function oce(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- Kj.set(l, y), y.updateStats = () => {+ sM.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 = Bj(), h = s ? tj(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 = tM(), h = s ? gj(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 = rj(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 = vj(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 = JA(t);- QA(d.speed, x), QA(d.activity, C), QA(d.buffer, w);+ let w = lj(t);+ pj(d.speed, x), pj(d.activity, C), pj(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} 请求`,@@ -32243,17 +32250,17 @@ async function oce(e, t, n, r = {}) {["连接速度",D,- ej(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ hj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- ej(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ hj(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- ej(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ hj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${An(t.currentTime)} / ${An(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -32269,15 +32276,15 @@ async function oce(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = rj(l, e.id, Bj(), r ? null : p), a = r ? ij(i) : Pse(i, JA(t));+ let i = vj(l, e.id, tM(), r ? null : p), a = r ? yj(i) : bse(i, lj(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(), Jj && clearInterval(Jj), Jj = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), lM && clearInterval(lM), lM = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (Yj && clearTimeout(Yj), Yj = setTimeout(() => {- e.hidden = !0, Jj &&= (clearInterval(Jj), null);+ e && (uM && clearTimeout(uM), uM = setTimeout(() => {+ e.hidden = !0, lM &&= (clearInterval(lM), null);}, 1400));};return l.on([@@ -32288,7 +32295,7 @@ async function oce(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src($se(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(zse(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))}`@@ -32296,13 +32303,13 @@ async function oce(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = xj(l, t, e.height, r.qualities ?? null);+ let n = Ij(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 = XA(r, e.duration));- }).catch(() => {}), Sj(l, e, { thumbnail: !r.source }), qse(l, e), Cj(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 = dj(r, e.duration));+ }).catch(() => {}), Lj(l, e, { thumbnail: !r.source }), Nse(l, e), Rj(l), r.source || zj(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;@@ -32311,14 +32318,14 @@ async function oce(e, t, n, r = {}) {}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var sce = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function Zj(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", sce), e.querySelector(":scope > #playerStatsBtn")) return;+var qse = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function fM(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", qse), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = Nse(), e.insertBefore(n.content, t);+ n.innerHTML = yse(), e.insertBefore(n.content, t);}-function Qj(e, t) {- let n = Kj.get(e);+function pM(e, t) {+ let n = sM.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -32330,29 +32337,29 @@ function Qj(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), qj &&= (clearInterval(qj), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), cM &&= (clearInterval(cM), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent($A, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), qj && clearInterval(qj), qj = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(mj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), cM && clearInterval(cM), cM = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener($A, t), s = () => document.removeEventListener($A, t);+ document.addEventListener(mj, t), s = () => document.removeEventListener(mj, t);}- let c = e.el().querySelector("video"), l = c ? Wse(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, Xj()));+ let c = e.el().querySelector("video"), l = c ? Ase(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, dM()));};return e.one("dispose", d), d;}-function $j(e, t) {- if (t.kind === "immerse") return ace(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = zA(), c = t.chrome === !1 ? null : e.parentElement;- c && Zj(c, e);- let l = Oj(n, r, i?.index ?? null), u = {+function mM(e, t) {+ if (t.kind === "immerse") return Gse(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = $A(), c = t.chrome === !1 ? null : e.parentElement;+ c && fM(c, e);+ let l = Uj(n, r, i?.index ?? null), u = {playbackKey: l,resume: t.resume ?? {- time: Yse(l, r),+ time: Fse(l, r),autoplay: !1}};@@ -32372,36 +32379,36 @@ function $j(e, t) {t && (e.poster = t);}let d = null, f = !1, p = () => {}, m = e, h = () => {- p(), !(d && a?.(d)) && (Dj(m), d ? (GA() === d && (KA(null), Xj()), Nj(d)) : Aj(m));+ p(), !(d && a?.(d)) && (Hj(m), d ? (oj() === d && (sj(null), dM()), Jj(d)) : Gj(m));};- return oce(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Xse(l, m), n === "follow" ? Zse(r, m) : (m.addEventListener("play", () => {+ return Kse(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Ise(l, m), n === "follow" ? Lse(r, m) : (m.addEventListener("play", () => {on("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), Mj(r, m, {+ }, { once: !0 }), qj(r, m, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (c && (p = Qj(t, c)), o?.(t)) : o?.(null));+ })), t ? (c && (p = pM(t, c)), o?.(t)) : o?.(null));}), () => {f = !0, h();};}// src/player/playback.ts-function eM(e) {+function hM(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function tM(e, t) {+function gM(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 cce(e, t, n) {+function _M(e, t, n) {e.controls = !1;let r = !1, i = null;- return Gj().then((a) => {+ return oM().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -32426,56 +32433,56 @@ function cce(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (xj(o, e), Sj(o, null, { thumbnail: !1 }), Cj(o));+ r || o.isDisposed() || (Ij(o, e), Lj(o, null, { thumbnail: !1 }), Rj(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, Nj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, Jj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}// src/react/catalog-grid/catalog-view.ts-var nM = "peach.catalog-view.v1", rM = /* @__PURE__ */ new Set(), iM = "cards";-function aM() {+var vM = "peach.catalog-view.v1", yM = /* @__PURE__ */ new Set(), bM = "cards";+function xM() {try {- return localStorage.getItem(nM) === "list" ? "list" : "cards";+ return localStorage.getItem(vM) === "list" ? "list" : "cards";} catch {- return iM;+ return bM;}}-function lce(e) {- iM = e === "list" ? "list" : "cards";+function SM(e) {+ bM = e === "list" ? "list" : "cards";try {- localStorage.setItem(nM, iM);+ localStorage.setItem(vM, bM);} catch {}- rM.forEach((e) => e());+ yM.forEach((e) => e());}-function uce(e) {- rM.add(e);+function CM(e) {+ yM.add(e);let t = (t) => {- (t.key === nM || t.key === null) && e();+ (t.key === vM || t.key === null) && e();};return addEventListener("storage", t), () => {- rM.delete(e), removeEventListener("storage", t);+ yM.delete(e), removeEventListener("storage", t);};}-var oM = () => (0, P.useSyncExternalStore)(uce, aM, () => "cards");-function sM(e, t) {+var wM = () => (0, P.useSyncExternalStore)(CM, xM, () => "cards");+function TM(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var dce = (e, t) => [+var EM = (e, t) => ["catalog-grid","catalog",e,t-], fce = (e, t) => [+], DM = (e, t) => ["catalog-grid","entity",e,t];-async function pce(e, t, n, r, i) {+async function OM(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 = {@@ -32485,22 +32492,22 @@ async function pce(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 mce = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, hce = (e, t) => {+var kM = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, AM = (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 cM(e) {- let t = sM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function jM(e) {+ let t = TM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: dce(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => pce(t, e, n, r, i),+ queryKey: EM(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => OM(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: mce(n)+ getNextPageParam: kM(n)};}-function gce(e) {+function MM(e) {return {- queryKey: fce(e.entityKey || "", e.revision || 0),+ queryKey: DM(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -32515,12 +32522,12 @@ function gce(e) {};},initialPageParam: 0,- getNextPageParam: hce+ getNextPageParam: AM};}-async function _ce(e, t) {- if (e.mode !== "catalog" || e.wall || aM() === "list") return;- let n = cM(e);+async function NM(e, t) {+ if (e.mode !== "catalog" || e.wall || xM() === "list") return;+ let n = jM(e);await H.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({@@ -32529,11 +32536,11 @@ async function _ce(e, t) {})});}-function vce(e) {+function PM(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 FM(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -32548,24 +32555,24 @@ function lM(e, t, n) {return !0;}) : [...e];}-var uM = (e, t) => !!e && !!Ia(e, t);-function yce(e, t) {- let n = (e) => uM(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) => uM(e, t)) || e[e.length - 1];+var IM = (e, t) => !!e && !!Ia(e, t);+function LM(e, t) {+ let n = (e) => IM(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) => IM(e, t)) || e[e.length - 1];}-function bce(e, { collapse: t, mix: n, javImage: r }) {+function RM(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 = FM(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 = yce(e, r);+ let t = LM(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -32578,16 +32585,16 @@ function bce(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function xce(e, t, n) {+function zM(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 Sce(e, t) {+function BM(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 Cce(e, t) {+function Jse(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -32600,10 +32607,10 @@ function Cce(e, t) {strip: null}), r;}-function dM(e, t) {- fM((t) => t.id === e, t);+function VM(e, t) {+ HM((t) => t.id === e, t);}-function fM(e, t) {+function HM(e, t) {H.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {...n,items: n.items.map((n) => e(n) ? {@@ -32624,34 +32631,34 @@ function fM(e, t) {} : n)});}-var pM = (e) => Math.min(Math.max(e || 0, 0), 100), mM = (e) => Math.round(pM(e) / 20), wce = (e) => {- let t = mM(e);+var UM = (e) => Math.min(Math.max(e || 0, 0), 100), WM = (e) => Math.round(UM(e) / 20), Yse = (e) => {+ let t = WM(e);return t ? `${t} 星` : "未评分";-}, hM = (e, t) => t === mM(e) ? 0 : t * 20, gM = (e) => ["item", e], _M = (e) => [+}, GM = (e, t) => t === WM(e) ? 0 : t * 20, KM = (e) => ["item", e], qM = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], Tce = (e, t) => [+], Xse = (e, t) => ["item-related",e,t-], Ece = (e) => `/api/item?id=${e}`, Dce = (e, t) => `/api/related?id=${e}&limit=${t}`, vM = "/api/playlist", yM = "/api/feedback", bM = "/api/item-tag", xM = "/api/watch-later", SM = "/api/quality-goal", CM = "/api/preference", wM = class extends Error {};-async function TM(e, t) {- let n = await B(Ece(e), t);- if (n.error) throw new wM(n.error);+], Zse = (e) => `/api/item?id=${e}`, Qse = (e, t) => `/api/related?id=${e}&limit=${t}`, JM = "/api/playlist", YM = "/api/feedback", XM = "/api/item-tag", ZM = "/api/watch-later", QM = "/api/quality-goal", $M = "/api/preference", eN = class extends Error {};+async function tN(e, t) {+ let n = await B(Zse(e), t);+ if (n.error) throw new eN(n.error);return n;}-async function EM(e, t, n) {+async function nN(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([TM(r, n), t.mixRelated(r)]);- return H.setQueryData(gM(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([tN(r, n), t.mixRelated(r)]);+ return H.setQueryData(KM(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 DM(await B(`${vM}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return rN(await B(`${JM}?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 {@@ -32662,19 +32669,19 @@ async function EM(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var DM = (e) => ({+var rN = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), OM = (e) => e.disposal === "vanished";-function kM(e, t) {+}), iN = (e) => e.disposal === "vanished";+function aN(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !OM(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !iN(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 Oce(e, t) {+function $se(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 : {@@ -32682,20 +32689,20 @@ function Oce(e, t) {part_label: n};}-function AM(e, t) {+function oN(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 jM(e, t) {+async function sN(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = _M(n);+ let o = qM(n);try {let r = n.fresh ? void 0 : H.getQueryData(o);a = !r && n.kind === "mix", i = r || await H.fetchQuery({queryKey: o,- queryFn: () => EM(n, e.helpers, t),+ queryFn: () => nN(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -32707,21 +32714,21 @@ async function jM(e, t) {return;}}- let o = i ? kM(i, e.id) : e.id;+ let o = i ? aN(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(gM(o)) : void 0;+ let s, c = a && o === i?.seedId ? H.getQueryData(KM(o)) : void 0;try {s = c || await H.fetchQuery({- queryKey: gM(o),- queryFn: () => TM(o, t),+ queryKey: KM(o),+ queryFn: () => tN(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof wM) {+ if (e instanceof eN) {r.redirect({ kind: "gone" });return;}@@ -32732,7 +32739,7 @@ async function jM(e, t) {id: Number(s.follow_item_id)});}-function kce(e) {+function ece(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);@@ -32754,35 +32761,35 @@ function kce(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function Ace(e, t) {+function tce(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 MM = (e, t) => (e.tags || []).some((e) => wn(e.k) === wn(t)), NM = (e, t) => ({+var cN = (e, t) => (e.tags || []).some((e) => wn(e.k) === wn(t)), lN = (e, t) => ({...e,tags: (e.tags || []).filter((e) => wn(e.k) !== wn(t))-}), PM = (e, t) => MM(e, t.k) ? e : {+}), uN = (e, t) => cN(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, FM = "peach.recentTags";-function IM() {+}, dN = "peach.recentTags";+function fN() {try {- let e = JSON.parse(localStorage.getItem(FM) || "[]");+ let e = JSON.parse(localStorage.getItem(dN) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function LM(e) {+function pN(e) {try {- let t = IM().filter((t) => wn(t) !== wn(e));- localStorage.setItem(FM, JSON.stringify([e, ...t].slice(0, 12)));+ let t = fN().filter((t) => wn(t) !== wn(e));+ localStorage.setItem(dN, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function jce(e, t, n) {+function nce(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@@ -32793,72 +32800,72 @@ function jce(e, t, n) {create: r && !s ? e.trim() : ""};}-var Mce = {+var rce = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, Nce = {+}, ice = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function Pce(e) {+function ace(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: Nce[e.kind],+ title: ice[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var RM = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Fce = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(RM(e.part_label))}</small>` : "";-function Ice(e, t, n, r) {+var mN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, oce = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(mN(e.part_label))}</small>` : "";+function sce(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var Lce = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function Rce(e, t) {+var cce = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function lce(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 zce(e) {+function uce(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 zM(e, t) {+function hN(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}// src/react/immerse/immerse.ts-var Bce = (e, t, n) => [+var dce = (e, t, n) => ["immerse-list",e,t,n];-function Vce(e) {+function fce(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 Hce = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function Uce(e, t = Math.random) {+var pce = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function mce(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 Wce(e, t) {- return Uce(((await B(`/api/items?${e}`)).items || []).filter((e) => Hce(e, t)));+async function hce(e, t) {+ return mce(((await B(`/api/items?${e}`)).items || []).filter((e) => pce(e, t)));}-var BM = (e) => H.ensureQueryData({- queryKey: gM(e),- queryFn: ({ signal: t }) => TM(e, t)+var gN = (e) => H.ensureQueryData({+ queryKey: KM(e),+ queryFn: ({ signal: t }) => tN(e, t)});-function Gce(e, t) {+function gce(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function Kce(e) {+function _ce(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,@@ -32867,306 +32874,306 @@ function Kce(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function qce(e, t, n) {+function vce(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 Jce(e, t) {+function yce(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 Yce = 15e3, VM = {+var bce = 15e3, _N = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, HM = null, UM = null, WM = VM, GM = /* @__PURE__ */ new Set(), KM = 0, qM = 0, JM = 0, YM = "", XM = [], ZM = 0, QM = !1, $M = !1, eN = null, tN = /* @__PURE__ */ new Set(), nN = "", rN = null, iN = 0, aN = null, oN = !1;-function sN() {- if (!HM) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return HM;+}, vN = null, yN = null, bN = _N, xN = /* @__PURE__ */ new Set(), SN = 0, CN = 0, wN = 0, TN = "", EN = [], DN = 0, ON = !1, kN = !1, AN = null, jN = /* @__PURE__ */ new Set(), MN = "", NN = null, PN = 0, FN = null, IN = !1;+function LN() {+ if (!vN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return vN;}-function Xce(e) {- return GM.add(e), () => {- GM.delete(e);+function xce(e) {+ return xN.add(e), () => {+ xN.delete(e);};}-function Zce() {- for (let e of [...GM]) e();+function Sce() {+ for (let e of [...xN]) e();}-function cN() {- (0, Lt.flushSync)(Zce);+function RN() {+ (0, Lt.flushSync)(Sce);}-function lN() {- let e = rN ? nj(rN.id) : 0;- return e ? `${nN} · ${ij(e)}` : nN;+function zN() {+ let e = NN ? _j(NN.id) : 0;+ return e ? `${MN} · ${yj(e)}` : MN;}-function uN(e, t = null) {- clearInterval(iN), iN = 0, e === null ? (WM = {- ...WM,+function BN(e, t = null) {+ clearInterval(PN), PN = 0, e === null ? (bN = {+ ...bN,loading: null- }, cN()) : (nN = e, rN = t, WM = {- ...WM,- loading: lN()- }, cN(), iN = window.setInterval(() => {- rN = XM[ZM] ?? null, WM = {- ...WM,- loading: lN()- }, cN();+ }, RN()) : (MN = e, NN = t, bN = {+ ...bN,+ loading: zN()+ }, RN(), PN = window.setInterval(() => {+ NN = EN[DN] ?? null, bN = {+ ...bN,+ loading: zN()+ }, RN();}, 500));}-function Qce(e) {+function Cce(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), UM.track.append(t);- let r = Fj(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), yN.track.append(t);+ let r = Xj(), i = () => {}, a = {el: t,video: n,session: r,- release: () => Rj(r),+ release: () => $j(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return tN.add(a), a;+ return jN.add(a), a;}-function $ce(e, t) {+function wce(e, t) {return new Promise((n) => {- e.release = $j(e.video, {+ e.release = mM(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- WM.open && _N(1);+ bN.open && qN(1);}}), e.gone.then(n);});}-function dN(e) {- e && !e.disposed && (e.disposed = !0, tN.delete(e), e.leave(), e.release(), e.el.remove(), eN === e && (eN = null));+function VN(e) {+ e && !e.disposed && (e.disposed = !0, jN.delete(e), e.leave(), e.release(), e.el.remove(), AN === e && (AN = null));}-var fN = [+var HN = ["loadeddata","canplay","error"];-function ele(e) {+function Tce(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), fN.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), HN.forEach((e) => t.removeEventListener(e, i)), n());};- fN.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, Yce);+ HN.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, bce);e.gone.then(i);});}-function pN(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = qce(e.videoWidth, e.videoHeight, n);+function UN(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = vce(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var mN = () => UM?.track.querySelectorAll("video").forEach(pN);-function tle(e) {- delete e.dataset.fit, e.readyState >= 1 ? pN(e) : e.addEventListener("loadedmetadata", () => pN(e), { once: !0 });+var WN = () => yN?.track.querySelectorAll("video").forEach(UN);+function Ece(e) {+ delete e.dataset.fit, e.readyState >= 1 ? UN(e) : e.addEventListener("loadedmetadata", () => UN(e), { once: !0 });}-function nle(e) {- WM = {- ...WM,+function Dce(e) {+ bN = {+ ...bN,wide: e- }, cN(), mN();+ }, RN(), WN();}-var hN = () => {- let e = YM;+var GN = () => {+ let e = TN;return H.fetchQuery({- queryKey: Bce(e, qM, JM),- queryFn: () => Wce(e, sN().sourceOffline),+ queryKey: dce(e, CN, wN),+ queryFn: () => hce(e, LN().sourceOffline),staleTime: Infinity});};-function rle(e, t) {+function Oce(e, t) {let n = () => On(e.duration) || On(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && UM && (UM.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), aN = {+ t && yN && (yN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), FN = {video: e,duration: n};}-async function gN(e = 0) {- let t = XM[ZM];- if (!t || QM) return;- let n = KM;- sN().route(t.id), QM = !0, uN(e ? "切换中" : "加载中", t);+async function KN(e = 0) {+ let t = EN[DN];+ if (!t || ON) return;+ let n = SN;+ LN().route(t.id), ON = !0, BN(e ? "切换中" : "加载中", t);let r = null;try {- if (await BM(t.id).catch((e) => {- if (!(e instanceof wM)) throw e;- }), n !== KM) return;- let i = eN, a = !!(e && i);- a || dN(i);- let o = Qce(a ? e > 0 ? 100 : -100 : 0);- if (r = o, tle(o.video), await $ce(o, t), await ele(o), o.disposed || (nle(Jce(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await gN(t.id).catch((e) => {+ if (!(e instanceof eN)) throw e;+ }), n !== SN) return;+ let i = AN, a = !!(e && i);+ a || VN(i);+ let o = Cce(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, Ece(o.video), await wce(o, t), await Tce(o), o.disposed || (Dce(yce(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)), dN(i), o.el.style.transform = ""), o.disposed)) return;- eN = o, r = null, o.video.play()?.catch(() => {}), WM = {- ...WM,+ })), await new Promise((e) => setTimeout(e, 210)), VN(i), o.el.style.transform = ""), o.disposed)) return;+ AN = o, r = null, o.video.play()?.catch(() => {}), bN = {+ ...bN,idle: !1,shown: {item: t,- index: ZM,- length: XM.length+ index: DN,+ length: EN.length}- }, rle(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), uN(null);+ }, Oce(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), BN(null);} catch {- dN(r), n === KM && uN(null);+ VN(r), n === SN && BN(null);} finally {- n === KM && (QM = !1);+ n === SN && (ON = !1);}}-async function _N(e) {- if (QM || !WM.open) return;- let t = KM;- if (ZM += e, uN("切换中", XM[ZM] ?? null), ZM >= XM.length - 3 && !$M) {- $M = !0;+async function qN(e) {+ if (ON || !bN.open) return;+ let t = SN;+ if (DN += e, BN("切换中", EN[DN] ?? null), DN >= EN.length - 3 && !kN) {+ kN = !0;try {- JM += 1;- let e = await hN();- t === KM && (XM = Gce(XM, e));+ wN += 1;+ let e = await GN();+ t === SN && (EN = gce(EN, e));} catch {} finally {- $M = !1;+ kN = !1;}}- t === KM && (ZM >= XM.length && (ZM = 0), ZM < 0 && (ZM = XM.length - 1), await gN(e));+ t === SN && (DN >= EN.length && (DN = 0), DN < 0 && (DN = EN.length - 1), await KN(e));}-async function ile(e) {- let t = ++KM;- vN(), qM += 1, JM = 0, YM = Vce(sN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), WM = {- ...WM,+async function kce(e) {+ let t = ++SN;+ JN(), CN += 1, wN = 0, TN = fce(LN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), bN = {+ ...bN,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), uN("加载内容");+ }, document.body.setAttribute("data-immerse-open", ""), BN("加载内容");try {- let n = await hN();+ let n = await GN();if (e && !n.some((t) => t.id === e)) {- let t = await BM(e).catch((e) => {- if (e instanceof wM) return null;+ let t = await gN(e).catch((e) => {+ if (e instanceof eN) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== KM) return;- if (XM = n, !XM.length) {- yN(), sN().warn("当前筛选下没有可直接播放的内容");+ if (t !== SN) return;+ if (EN = n, !EN.length) {+ YN(), LN().warn("当前筛选下没有可直接播放的内容");return;}- ZM = Math.max(0, XM.findIndex((t) => t.id === e)), await gN();+ DN = Math.max(0, EN.findIndex((t) => t.id === e)), await KN();} catch {- if (t !== KM) return;- uN(null), yN();+ if (t !== SN) return;+ BN(null), YN();}}-function vN() {- clearInterval(iN), iN = 0, TN(), CN = null, aN = null, oN = !1, [...tN].forEach(dN), QM = !1;+function JN() {+ clearInterval(PN), PN = 0, tP(), $N = null, FN = null, IN = !1, [...jN].forEach(VN), ON = !1;}-function yN() {- WM.open && (KM++, vN(), WM = VM, document.body.removeAttribute("data-immerse-open"), cN(), sN().closed());+function YN() {+ bN.open && (SN++, JN(), bN = _N, document.body.removeAttribute("data-immerse-open"), RN(), LN().closed());}-var bN = 0, xN = null, SN = 0, CN = null, wN = 0;-function TN() {- clearTimeout(bN), bN = 0, xN = null;+var XN = 0, ZN = null, QN = 0, $N = null, eP = 0;+function tP() {+ clearTimeout(XN), XN = 0, ZN = null;}-function ale(e) {- let t = eN?.video;+function Ace(e) {+ let t = AN?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- xN && xN.side === n && r - xN.at <= 280 ? (TN(), tM(t, sN().seekSeconds() * n)) : (bN && (clearTimeout(bN), bN = 0, eM(t)), xN = {+ ZN && ZN.side === n && r - ZN.at <= 280 ? (tP(), gM(t, LN().seekSeconds() * n)) : (XN && (clearTimeout(XN), XN = 0, hM(t)), ZN = {side: n,at: r- }, bN = window.setTimeout(() => {- bN = 0, xN = null, WM.open && eM(eN?.video);+ }, XN = window.setTimeout(() => {+ XN = 0, ZN = null, bN.open && hM(AN?.video);}, 280));}-function ole() {- Date.now() < SN || eM(eN?.video);+function jce() {+ Date.now() < QN || hM(AN?.video);}-var EN = (e) => UM?.bar.toggleAttribute("data-scrubbing", e);-function DN(e) {- UM && (UM.progress.style.width = `${(e * 100).toFixed(2)}%`);+var nP = (e) => yN?.bar.toggleAttribute("data-scrubbing", e);+function rP(e) {+ yN && (yN.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function ON(e) {+function iP(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- CN = null;+ $N = null;return;}- let n = eN?.video;- CN = {+ let n = AN?.video;+ $N = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function kN(e) {- if (!CN || e.touches.length !== 1) return;- let t = e.touches[0].clientX - CN.x, n = e.touches[0].clientY - CN.y;- if (!CN.axis) {+function aP(e) {+ if (!$N || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - $N.x, n = e.touches[0].clientY - $N.y;+ if (!$N.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- CN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", CN.axis === "x" && EN(!0);+ $N.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", $N.axis === "x" && nP(!0);}- if (CN.axis !== "x") return;- let r = eN?.video, i = r && r.duration || 0;- i && (e.preventDefault(), CN.to = Math.min(i, Math.max(0, CN.from + t / window.innerWidth * i)), DN(CN.to / i));+ if ($N.axis !== "x") return;+ let r = AN?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), $N.to = Math.min(i, Math.max(0, $N.from + t / window.innerWidth * i)), rP($N.to / i));}-function AN(e) {- if (!CN) return;- let t = CN;- if (CN = null, SN = Date.now() + 700, EN(!1), t.axis === "x") {- let e = eN?.video;+function oP(e) {+ if (!$N) return;+ let t = $N;+ if ($N = null, QN = Date.now() + 700, nP(!1), t.axis === "x") {+ let e = AN?.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 ? (TN(), _N(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), ale(n.clientX));+ Math.abs(i) > 60 ? (tP(), qN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Ace(n.clientX));}-function jN() {- CN = null, EN(!1);+function sP() {+ $N = null, nP(!1);}-function MN(e) {+function cP(e) {let t = Date.now();- t - wN < 260 || (wN = t, _N(e.deltaY > 0 ? 1 : -1));+ t - eP < 260 || (eP = t, qN(e.deltaY > 0 ? 1 : -1));}-function NN(e) {- let t = UM.bar.getBoundingClientRect();+function lP(e) {+ let t = yN.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}-function PN(e) {- aN?.duration() && (oN = !0, EN(!0), e.currentTarget.setPointerCapture(e.pointerId), DN(NN(e)), e.preventDefault());+function Mce(e) {+ FN?.duration() && (IN = !0, nP(!0), e.currentTarget.setPointerCapture(e.pointerId), rP(lP(e)), e.preventDefault());}-function FN(e) {- oN && DN(NN(e));+function Nce(e) {+ IN && rP(lP(e));}-function IN(e) {- if (!oN) return;- oN = !1, EN(!1);- let t = aN?.duration();- aN && t && (aN.video.currentTime = t * NN(e));+function Pce(e) {+ if (!IN) return;+ IN = !1, nP(!1);+ let t = FN?.duration();+ FN && t && (FN.video.currentTime = t * lP(e));}-function LN() {- oN = !1, EN(!1);+function Fce() {+ IN = !1, nP(!1);}-async function RN(e, t) {- let n = await V(yM, {+async function uP(e, t) {+ let n = await V(YM, {id: e,kind: t- }), r = H.getQueryData(gM(e));- if (!r) return dM(e, {+ }), r = H.getQueryData(KM(e));+ if (!r) return VM(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -33175,7 +33182,7 @@ async function RN(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return H.setQueryData(gM(e), i), dM(e, {+ return H.setQueryData(KM(e), i), VM(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -33183,7 +33190,7 @@ async function RN(e, t) {o_count: i.o_count}), n;}-var zN = [+var Ice = [{kind: "dislike",glyph: "thumbs-down",@@ -33200,31 +33207,31 @@ var zN = [label: "记一次高潮"}];-function BN(e) {+function dP(e) {return Pt({- queryKey: gM(e ?? 0),- queryFn: ({ signal: t }) => TM(e, t),+ queryKey: KM(e ?? 0),+ queryFn: ({ signal: t }) => tN(e, t),enabled: e != null,staleTime: Infinity}).data;}-function VN({ kind: e, glyph: t, label: n, id: r }) {- let i = BN(r), a = Ft({+function Lce({ kind: e, glyph: t, label: n, id: r }) {+ let i = dP(r), a = Ft({mutationFn: async (t) => {- let n = H.getQueryData(gM(t))?.feedback || null;+ let n = H.getQueryData(KM(t))?.feedback || null;return {- result: await RN(t, e),+ result: await uP(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- sN().toast(zM(e, t), { undo: async () => {- e === "o" ? await RN(r, "o-undo") : (t.feedback && await RN(r, t.feedback), n && await RN(r, n));+ LN().toast(hN(e, t), { undo: async () => {+ e === "o" ? await uP(r, "o-undo") : (t.feedback && await uP(r, t.feedback), n && await uP(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- _N(1);+ qN(1);}, 260);},- onError: (e) => sN().failure("更新反馈", e)+ onError: (e) => LN().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": "",@@ -33255,11 +33262,11 @@ function VN({ kind: e, glyph: t, label: n, id: r }) {})]});}-function HN({ shown: e }) {- let t = e?.item ?? null, n = BN(t?.id ?? null), r = n ? Kce(n) : null, i = sN(), a = (e) => {- e.preventDefault(), n && (yN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function Rce({ shown: e }) {+ let t = e?.item ?? null, n = dP(t?.id ?? null), r = n ? _ce(n) : null, i = LN(), a = (e) => {+ e.preventDefault(), n && (YN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (yN(), i.openItem(t.id));+ t && (YN(), 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": "",@@ -33288,18 +33295,18 @@ function HN({ shown: e }) {})]});}-var UN = { __html: bs("媒体加载中") };-function WN({ view: e }) {+var zce = { __html: xs("媒体加载中") };+function Bce({ 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 UM = {+ return yN = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", ON, { passive: !0 }), e.addEventListener("touchmove", kN, { passive: !1 }), e.addEventListener("touchend", AN, { passive: !1 }), e.addEventListener("touchcancel", jN, { passive: !0 }), e.addEventListener("wheel", MN, { passive: !0 }), () => {- e.removeEventListener("touchstart", ON), e.removeEventListener("touchmove", kN), e.removeEventListener("touchend", AN), e.removeEventListener("touchcancel", jN), e.removeEventListener("wheel", MN), UM = null;+ }, e.addEventListener("touchstart", iP, { passive: !0 }), e.addEventListener("touchmove", aP, { passive: !1 }), e.addEventListener("touchend", oP, { passive: !1 }), e.addEventListener("touchcancel", sP, { passive: !0 }), e.addEventListener("wheel", cP, { passive: !0 }), () => {+ e.removeEventListener("touchstart", iP), e.removeEventListener("touchmove", aP), e.removeEventListener("touchend", oP), e.removeEventListener("touchcancel", sP), e.removeEventListener("wheel", cP), yN = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -33316,10 +33323,10 @@ function WN({ view: e }) {children: [/* @__PURE__ */ (0, F.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: ole+ onClick: jce}), /* @__PURE__ */ (0, F.jsx)("div", {"data-immerse-actions": "",- children: zN.map((e) => /* @__PURE__ */ (0, F.jsx)(VN, {+ children: Ice.map((e) => /* @__PURE__ */ (0, F.jsx)(Lce, {...e,id: a}, e.kind))@@ -33332,7 +33339,7 @@ function WN({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: UN+ dangerouslySetInnerHTML: zce}), /* @__PURE__ */ (0, F.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, F.jsx)("button", {@@ -33340,7 +33347,7 @@ function WN({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: yN,+ onClick: YN,children: /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-x" })@@ -33349,88 +33356,88 @@ function WN({ view: e }) {/* @__PURE__ */ (0, F.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: PN,- onPointerMove: FN,- onPointerUp: IN,- onPointerCancel: LN,+ onPointerDown: Mce,+ onPointerMove: Nce,+ onPointerUp: Pce,+ onPointerCancel: Fce,children: /* @__PURE__ */ (0, F.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, F.jsx)(HN, { shown: e.shown })+ /* @__PURE__ */ (0, F.jsx)(Rce, { shown: e.shown })]});}-var GN = {- open: ile,- close: yN,- isOpen: () => WM.open,- activeVideo: () => WM.open ? eN?.video ?? null : null+var Vce = {+ open: kce,+ close: YN,+ isOpen: () => bN.open,+ activeVideo: () => bN.open ? AN?.video ?? null : null};-function KN(e) {- if (!WM.open) return;+function Hce(e) {+ if (!bN.open) return;let t = e.target;- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && _N(1), e.key === "ArrowUp" && _N(-1));+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && qN(1), e.key === "ArrowUp" && qN(-1));}-function qN(e) {- let t = !HM;- return HM = e, t && (document.addEventListener("keydown", KN), addEventListener("resize", () => {- WM.open && mN();+function Uce(e) {+ let t = !vN;+ return vN = e, t && (document.addEventListener("keydown", Hce), addEventListener("resize", () => {+ bN.open && WN();}), addEventListener("pagehide", () => {- tN.forEach((e) => Rj(e.session));- })), GN;+ jN.forEach((e) => $j(e.session));+ })), Vce;}-function JN() {- let e = (0, P.useSyncExternalStore)(Xce, () => WM);- return HM ? /* @__PURE__ */ (0, F.jsx)(WN, { view: e }) : null;+function Wce() {+ let e = (0, P.useSyncExternalStore)(xce, () => bN);+ return vN ? /* @__PURE__ */ (0, F.jsx)(Bce, { view: e }) : null;}// src/manage-header.ts-var YN = {+var fP = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, XN = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function ZN(e) {- let t = YN[e.path] ? "cleanup" : e.section;+}, Gce = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function Kce(e) {+ let t = fP[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var QN = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function $N(e) {+var qce = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function pP(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = YN[e.path] ?? "";+ let n = fP[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: ZN(e),+ pressed: Kce(e),crumb: n,- compact: XN.has(e.path) || e.section === "configuration",+ compact: Gce.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: QN(e.trash),+ text: qce(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var eP = (e) => e.replace(/[&<>"']/g, (e) => ({+var mP = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), tP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${eP(e)}"/></svg>`, nP = "<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 rP(e) {- let t = $N(e);+})[e]), hP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${mP(e)}"/></svg>`, gP = "<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 Jce(e) {+ let t = pP(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${eP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${tP(r)}<span>${eP(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${tP("chevron-right")}</li><li aria-current="true"><span>${eP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? nP : `<span data-lede-text="">${eP(t.lede.text)}</span>${t.lede.total ? iP : ""}`}</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=\"\"" : ""}>${eP(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${mP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${hP(r)}<span>${mP(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${hP("chevron-right")}</li><li aria-current="true"><span>${mP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? gP : `<span data-lede-text="">${mP(t.lede.text)}</span>${t.lede.total ? Yce : ""}`}</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=\"\"" : ""}>${mP(t.title)}</h2>` + i;}-var iP = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var Yce = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";// src/react/settings-panel/icon.tsx-function aP({ name: e }) {+function _P({ name: e }) {let { wide: t, viewBox: n } = rn(e);return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: n,@@ -33439,7 +33446,7 @@ function aP({ name: e }) {children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-function oP({ name: e }) {+function Xce({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -33447,88 +33454,88 @@ function oP({ name: e }) {});}// node_modules/tailwind-merge/dist/bundle-mjs.mjs-var sP = (e, t) => {+var Zce = (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;-}, cP = (e, t) => ({+}, Qce = (e, t) => ({classGroupId: e,validator: t-}), lP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), vP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), uP = "-", dP = [], fP = "arbitrary..", pP = (e) => {- let t = gP(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), yP = "-", bP = [], $ce = "arbitrary..", ele = (e) => {+ let t = nle(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return hP(e);- let n = e.split(uP);- return mP(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return tle(e);+ let n = e.split(yP);+ return xP(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? sP(i, t) : t : i || dP;+ return t ? i ? Zce(i, t) : t : i || bP;}- return n[e] || dP;+ return n[e] || bP;}};-}, mP = (e, t, n) => {+}, xP = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = mP(e, t + 1, i);+ let n = xP(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(uP) : e.slice(t).join(uP), s = a.length;+ let o = t === 0 ? e.join(yP) : e.slice(t).join(yP), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, hP = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, tle = (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 ? fP + r : void 0;-})(), gP = (e) => {+ return r ? $ce + r : void 0;+})(), nle = (e) => {let { theme: t, classGroups: n } = e;- return _P(n, t);-}, _P = (e, t) => {- let n = lP();+ return rle(n, t);+}, rle = (e, t) => {+ let n = vP();for (let r in e) {let i = e[r];- vP(i, n, r, t);+ SP(i, n, r, t);}return n;-}, vP = (e, t, n, r) => {+}, SP = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- yP(i, t, n, r);+ CP(i, t, n, r);}-}, yP = (e, t, n, r) => {- typeof e == "string" ? bP(e, t, n) : typeof e == "function" ? xP(e, t, n, r) : SP(e, t, n, r);-}, bP = (e, t, n) => {- let r = e === "" ? t : CP(t, e);+}, CP = (e, t, n, r) => {+ typeof e == "string" ? ile(e, t, n) : typeof e == "function" ? ale(e, t, n, r) : ole(e, t, n, r);+}, ile = (e, t, n) => {+ let r = e === "" ? t : wP(t, e);r.classGroupId = n;-}, xP = (e, t, n, r) => {- wP(e) ? vP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(cP(n, e)));-}, SP = (e, t, n, r) => {+}, ale = (e, t, n, r) => {+ sle(e) ? SP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Qce(n, e)));+}, ole = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- vP(o, CP(t, a), n, r);+ SP(o, wP(t, a), n, r);}-}, CP = (e, t) => {- let n = e, r = t.split(uP), i = r.length;+}, wP = (e, t) => {+ let n = e, r = t.split(yP), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = lP(), n.nextPart.set(t, i)), n = i;+ i || (i = vP(), n.nextPart.set(t, i)), n = i;}return n;-}, wP = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, TP = (e) => {+}, sle = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, cle = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -33546,19 +33553,19 @@ var sP = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, EP = "!", DP = ":", OP = [], kP = (e, t, n, r, i) => ({+}, TP = "!", EP = ":", lle = [], DP = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), AP = (e) => {+}), ule = (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 === DP) {+ if (o === EP) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -33570,13 +33577,13 @@ var sP = (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(EP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(EP) && (c = s.slice(1), l = !0);+ s.endsWith(TP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(TP) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return kP(t, l, c, u);+ return DP(t, l, c, u);};if (t) {- let e = t + DP, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : kP(OP, !1, t, void 0, !0);+ let e = t + EP, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : DP(lle, !1, t, void 0, !0);}if (n) {let e = r;@@ -33586,7 +33593,7 @@ var sP = (e, t) => {});}return r;-}, jP = (e) => {+}, dle = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -33598,18 +33605,18 @@ var sP = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, MP = (e) => ({- cache: TP(e.cacheSize),- parseClassName: AP(e),- sortModifiers: jP(e),- postfixLookupClassGroupIds: NP(e),- ...pP(e)-}), NP = (e) => {+}, fle = (e) => ({+ cache: cle(e.cacheSize),+ parseClassName: ule(e),+ sortModifiers: dle(e),+ postfixLookupClassGroupIds: ple(e),+ ...ele(e)+}), ple = (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;-}, PP = /\s+/, FP = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(PP), l = "";+}, mle = /\s+/, hle = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(mle), 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) {@@ -33629,7 +33636,7 @@ var sP = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + EP : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + TP : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -33640,34 +33647,34 @@ var sP = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, IP = (...e) => {+}, gle = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = LP(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = OP(n)) && (i && (i += " "), i += r);return i;-}, LP = (e) => {+}, OP = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = LP(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = OP(e[r])) && (n && (n += " "), n += t);return n;-}, RP = (e, ...t) => {- let n, r, i, a, o = (o) => (n = MP(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, kP = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = fle(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 = FP(e, n);+ let a = hle(e, n);return i(e, a), a;};- return a = o, (...e) => a(IP(...e));-}, zP = [], BP = (e) => {- let t = (t) => t[e] || zP;+ return a = o, (...e) => a(gle(...e));+}, _le = [], AP = (e) => {+ let t = (t) => t[e] || _le;return t.isThemeGetter = !0, t.themeKey = e, t;-}, VP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, HP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, UP = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, WP = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, GP = /\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$/, KP = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, qP = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, JP = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, YP = (e) => UP.test(e), XP = (e) => !!e && !Number.isNaN(Number(e)), ZP = (e) => !!e && Number.isInteger(Number(e)), QP = (e) => e.endsWith("%") && XP(e.slice(0, -1)), $P = (e) => WP.test(e), eF = () => !0, tF = (e) => GP.test(e) && !KP.test(e), nF = () => !1, sle = (e) => qP.test(e), cle = (e) => JP.test(e), lle = (e) => !rF(e) && !cF(e), ule = (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)), dle = (e) => fF(e, gF, nF), rF = (e) => VP.test(e), iF = (e) => fF(e, _F, tF), aF = (e) => fF(e, yle, XP), fle = (e) => fF(e, yF, eF), ple = (e) => fF(e, vF, nF), oF = (e) => fF(e, mF, nF), mle = (e) => fF(e, hF, cle), sF = (e) => fF(e, bF, sle), cF = (e) => HP.test(e), lF = (e) => pF(e, _F), hle = (e) => pF(e, vF), uF = (e) => pF(e, mF), gle = (e) => pF(e, gF), _le = (e) => pF(e, hF), dF = (e) => pF(e, bF, !0), vle = (e) => pF(e, yF, !0), fF = (e, t, n) => {- let r = VP.exec(e);+}, jP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, MP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, vle = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, yle = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ble = /\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)\(.+\)$/, Sle = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Cle = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, NP = (e) => vle.test(e), PP = (e) => !!e && !Number.isNaN(Number(e)), FP = (e) => !!e && Number.isInteger(Number(e)), IP = (e) => e.endsWith("%") && PP(e.slice(0, -1)), LP = (e) => yle.test(e), RP = () => !0, wle = (e) => ble.test(e) && !xle.test(e), zP = () => !1, Tle = (e) => Sle.test(e), Ele = (e) => Cle.test(e), Dle = (e) => !BP(e) && !GP(e), Ole = (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)), kle = (e) => YP(e, $P, zP), BP = (e) => jP.test(e), VP = (e) => YP(e, eF, wle), HP = (e) => YP(e, Lle, PP), Ale = (e) => YP(e, nF, RP), jle = (e) => YP(e, tF, zP), UP = (e) => YP(e, ZP, zP), Mle = (e) => YP(e, QP, Ele), WP = (e) => YP(e, rF, Tle), GP = (e) => MP.test(e), KP = (e) => XP(e, eF), Nle = (e) => XP(e, tF), qP = (e) => XP(e, ZP), Ple = (e) => XP(e, $P), Fle = (e) => XP(e, QP), JP = (e) => XP(e, rF, !0), Ile = (e) => XP(e, nF, !0), YP = (e, t, n) => {+ let r = jP.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, pF = (e, t, n = !1) => {- let r = HP.exec(e);+}, XP = (e, t, n = !1) => {+ let r = MP.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, mF = (e) => e === "position" || e === "percentage", hF = (e) => e === "image" || e === "url", gF = (e) => e === "length" || e === "size" || e === "bg-size", _F = (e) => e === "length", yle = (e) => e === "number", vF = (e) => e === "family-name", yF = (e) => e === "number" || e === "weight", bF = (e) => e === "shadow", xF = () => {- let e = BP("color"), t = BP("font"), n = BP("text"), r = BP("font-weight"), i = BP("tracking"), a = BP("leading"), o = BP("breakpoint"), s = BP("container"), c = BP("spacing"), l = BP("radius"), u = BP("shadow"), d = BP("inset-shadow"), f = BP("text-shadow"), p = BP("drop-shadow"), m = BP("blur"), h = BP("perspective"), g = BP("aspect"), _ = BP("ease"), v = BP("animate"), y = () => [+}, ZP = (e) => e === "position" || e === "percentage", QP = (e) => e === "image" || e === "url", $P = (e) => e === "length" || e === "size" || e === "bg-size", eF = (e) => e === "length", Lle = (e) => e === "number", tF = (e) => e === "family-name", nF = (e) => e === "number" || e === "weight", rF = (e) => e === "shadow", iF = () => {+ let e = AP("color"), t = AP("font"), n = AP("text"), r = AP("font-weight"), i = AP("tracking"), a = AP("leading"), o = AP("breakpoint"), s = AP("container"), c = AP("spacing"), l = AP("radius"), u = AP("shadow"), d = AP("inset-shadow"), f = AP("text-shadow"), p = AP("drop-shadow"), m = AP("blur"), h = AP("perspective"), g = AP("aspect"), _ = AP("ease"), v = AP("animate"), y = () => ["auto","avoid","all",@@ -33692,8 +33699,8 @@ var sP = (e, t) => {"left-bottom"], x = () => [...b(),- cF,- rF+ GP,+ BP], S = () => ["auto","hidden",@@ -33705,43 +33712,43 @@ var sP = (e, t) => {"contain","none"], w = () => [- cF,- rF,+ GP,+ BP,c], T = () => [- YP,+ NP,"full","auto",...w()], E = () => [- ZP,+ FP,"none","subgrid",- cF,- rF+ GP,+ BP], D = () => ["auto",{ span: ["full",- ZP,- cF,- rF+ FP,+ GP,+ BP] },- ZP,- cF,- rF+ FP,+ GP,+ BP], O = () => [- ZP,+ FP,"auto",- cF,- rF+ GP,+ BP], k = () => ["auto","min","max","fr",- cF,- rF+ GP,+ BP], A = () => ["start","end",@@ -33761,7 +33768,7 @@ var sP = (e, t) => {"center-safe","end-safe"], M = () => ["auto", ...w()], ee = () => [- YP,+ NP,"auto","full","dvw",@@ -33776,7 +33783,7 @@ var sP = (e, t) => {...w()], te = () => [s,- YP,+ NP,"screen","full","dvw",@@ -33787,7 +33794,7 @@ var sP = (e, t) => {"fit",...w()], ne = () => [- YP,+ NP,"screen","full","lh",@@ -33800,13 +33807,13 @@ var sP = (e, t) => {...w()], N = () => [e,- cF,- rF+ GP,+ BP], re = () => [...b(),- uF,- oF,- { position: [cF, rF] }+ qP,+ UP,+ { position: [GP, BP] }], ie = () => ["no-repeat", { repeat: ["","x",@@ -33817,25 +33824,25 @@ var sP = (e, t) => {"auto","cover","contain",- gle,- dle,- { size: [cF, rF] }+ Ple,+ kle,+ { size: [GP, BP] }], F = () => [- QP,- lF,- iF+ IP,+ KP,+ VP], ae = () => ["","none","full",l,- cF,- rF+ GP,+ BP], oe = () => ["",- XP,- lF,- iF+ PP,+ KP,+ VP], se = () => ["solid","dashed",@@ -33859,32 +33866,32 @@ var sP = (e, t) => {"color","luminosity"], le = () => [- XP,- QP,- uF,- oF+ PP,+ IP,+ qP,+ UP], ue = () => ["","none",m,- cF,- rF+ GP,+ BP], de = () => ["none",- XP,- cF,- rF+ PP,+ GP,+ BP], fe = () => ["none",- XP,- cF,- rF+ PP,+ GP,+ BP], pe = () => [- XP,- cF,- rF+ PP,+ GP,+ BP], me = () => [- YP,+ NP,"full",...w()];@@ -33898,17 +33905,17 @@ var sP = (e, t) => {"bounce"],aspect: ["video"],- blur: [$P],- breakpoint: [$P],- color: [eF],- container: [$P],- "drop-shadow": [$P],+ blur: [LP],+ breakpoint: [LP],+ color: [RP],+ container: [LP],+ "drop-shadow": [LP],ease: ["in","out","in-out"],- font: [lle],+ font: [Dle],"font-weight": ["thin","extralight",@@ -33920,7 +33927,7 @@ var sP = (e, t) => {"extrabold","black"],- "inset-shadow": [$P],+ "inset-shadow": [LP],leading: ["none","tight",@@ -33937,11 +33944,11 @@ var sP = (e, t) => {"distant","none"],- radius: [$P],- shadow: [$P],- spacing: ["px", XP],- text: [$P],- "text-shadow": [$P],+ radius: [LP],+ shadow: [LP],+ spacing: ["px", PP],+ text: [LP],+ "text-shadow": [LP],tracking: ["tighter","tight",@@ -33955,9 +33962,9 @@ var sP = (e, t) => {aspect: [{ aspect: ["auto","square",- YP,- rF,- cF,+ NP,+ BP,+ GP,g] }],container: ["container"],@@ -33965,15 +33972,15 @@ var sP = (e, t) => {"","normal","size",- cF,- rF+ GP,+ BP] }],- "container-named": [ule],+ "container-named": [Ole],columns: [{ columns: [- XP,+ PP,"auto",- rF,- cF,+ BP,+ GP,s] }],"break-after": [{ "break-after": y() }],@@ -34070,13 +34077,13 @@ var sP = (e, t) => {"collapse"],z: [{ z: [- ZP,+ FP,"auto",- cF,- rF+ GP,+ BP] }],basis: [{ basis: [- YP,+ NP,"full","auto",s,@@ -34094,32 +34101,32 @@ var sP = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [- XP,- YP,+ PP,+ NP,"auto","initial","none",- rF+ BP] }],grow: [{ grow: ["",- XP,- cF,- rF+ PP,+ GP,+ BP] }],shrink: [{ shrink: ["",- XP,- cF,- rF+ PP,+ GP,+ BP] }],order: [{ order: [- ZP,+ FP,"first","last","none",- cF,- rF+ GP,+ BP] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -34226,15 +34233,15 @@ var sP = (e, t) => {"font-size": [{ text: ["base",n,- lF,- iF+ KP,+ VP] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- vle,- fle+ Ile,+ Ale] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -34246,15 +34253,15 @@ var sP = (e, t) => {"expanded","extra-expanded","ultra-expanded",- QP,- rF+ IP,+ BP] }],"font-family": [{ font: [- hle,- ple,+ Nle,+ jle,t] }],- "font-features": [{ "font-features": [rF] }],+ "font-features": [{ "font-features": [BP] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -34263,14 +34270,14 @@ var sP = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- cF,- rF+ GP,+ BP] }],"line-clamp": [{ "line-clamp": [- XP,+ PP,"none",- cF,- aF+ GP,+ HP] }],leading: [{ leading: ["none",@@ -34279,16 +34286,16 @@ var sP = (e, t) => {] }],"list-image": [{ "list-image": ["none",- cF,- rF+ GP,+ BP] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- cF,- rF+ GP,+ BP] }],"text-alignment": [{ text: ["left",@@ -34308,18 +34315,18 @@ var sP = (e, t) => {],"text-decoration-style": [{ decoration: [...se(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- XP,+ PP,"from-font","auto",- cF,- iF+ GP,+ VP] }],"text-decoration-color": [{ decoration: N() }],"underline-offset": [{ "underline-offset": [- XP,+ PP,"auto",- cF,- rF+ GP,+ BP] }],"text-transform": ["uppercase",@@ -34340,9 +34347,9 @@ var sP = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- ZP,- cF,- rF+ FP,+ GP,+ BP] }],"vertical-align": [{ align: ["baseline",@@ -34353,8 +34360,8 @@ var sP = (e, t) => {"text-bottom","sub","super",- cF,- rF+ GP,+ BP] }],whitespace: [{ whitespace: ["normal",@@ -34382,8 +34389,8 @@ var sP = (e, t) => {] }],content: [{ content: ["none",- cF,- rF+ GP,+ BP] }],"bg-attachment": [{ bg: ["fixed",@@ -34418,24 +34425,24 @@ var sP = (e, t) => {"l","tl"] },- ZP,- cF,- rF+ FP,+ GP,+ BP],radial: ["",- cF,- rF+ GP,+ BP],conic: ["",- ZP,- cF,- rF+ FP,+ GP,+ BP]},- _le,- mle+ Fle,+ Mle] }],"bg-color": [{ bg: N() }],"gradient-from-pos": [{ from: F() }],@@ -34502,15 +34509,15 @@ var sP = (e, t) => {"hidden"] }],"outline-offset": [{ "outline-offset": [- XP,- cF,- rF+ PP,+ GP,+ BP] }],"outline-w": [{ outline: ["",- XP,- lF,- iF+ PP,+ KP,+ VP] }],"outline-color": [{ outline: N() }],shadow: [{ shadow: [@@ -34518,35 +34525,35 @@ var sP = (e, t) => {"inner","none",u,- dF,- sF+ JP,+ WP] }],"shadow-color": [{ shadow: N() }],"inset-shadow": [{ "inset-shadow": ["none",d,- dF,- sF+ JP,+ WP] }],"inset-shadow-color": [{ "inset-shadow": N() }],"ring-w": [{ ring: oe() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: N() }],- "ring-offset-w": [{ "ring-offset": [XP, iF] }],+ "ring-offset-w": [{ "ring-offset": [PP, VP] }],"ring-offset-color": [{ "ring-offset": N() }],"inset-ring-w": [{ "inset-ring": oe() }],"inset-ring-color": [{ "inset-ring": N() }],"text-shadow": [{ "text-shadow": ["none",f,- dF,- sF+ JP,+ WP] }],"text-shadow-color": [{ "text-shadow": N() }],opacity: [{ opacity: [- XP,- cF,- rF+ PP,+ GP,+ BP] }],"mix-blend": [{ "mix-blend": [...ce(),@@ -34568,7 +34575,7 @@ var sP = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [XP] }],+ "mask-image-linear-pos": [{ "mask-linear": [PP] }],"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() }],@@ -34597,7 +34604,7 @@ var sP = (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": [cF, rF] }],+ "mask-image-radial": [{ "mask-radial": [GP, BP] }],"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() }],@@ -34608,7 +34615,7 @@ var sP = (e, t) => {farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [XP] }],+ "mask-image-conic-pos": [{ "mask-conic": [PP] }],"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() }],@@ -34632,111 +34639,111 @@ var sP = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- cF,- rF+ GP,+ BP] }],filter: [{ filter: ["","none",- cF,- rF+ GP,+ BP] }],blur: [{ blur: ue() }],brightness: [{ brightness: [- XP,- cF,- rF+ PP,+ GP,+ BP] }],contrast: [{ contrast: [- XP,- cF,- rF+ PP,+ GP,+ BP] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- dF,- sF+ JP,+ WP] }],"drop-shadow-color": [{ "drop-shadow": N() }],grayscale: [{ grayscale: ["",- XP,- cF,- rF+ PP,+ GP,+ BP] }],"hue-rotate": [{ "hue-rotate": [- XP,- cF,- rF+ PP,+ GP,+ BP] }],invert: [{ invert: ["",- XP,- cF,- rF+ PP,+ GP,+ BP] }],saturate: [{ saturate: [- XP,- cF,- rF+ PP,+ GP,+ BP] }],sepia: [{ sepia: ["",- XP,- cF,- rF+ PP,+ GP,+ BP] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- cF,- rF+ GP,+ BP] }],"backdrop-blur": [{ "backdrop-blur": ue() }],"backdrop-brightness": [{ "backdrop-brightness": [- XP,- cF,- rF+ PP,+ GP,+ BP] }],"backdrop-contrast": [{ "backdrop-contrast": [- XP,- cF,- rF+ PP,+ GP,+ BP] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- XP,- cF,- rF+ PP,+ GP,+ BP] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- XP,- cF,- rF+ PP,+ GP,+ BP] }],"backdrop-invert": [{ "backdrop-invert": ["",- XP,- cF,- rF+ PP,+ GP,+ BP] }],"backdrop-opacity": [{ "backdrop-opacity": [- XP,- cF,- rF+ PP,+ GP,+ BP] }],"backdrop-saturate": [{ "backdrop-saturate": [- XP,- cF,- rF+ PP,+ GP,+ BP] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- XP,- cF,- rF+ PP,+ GP,+ BP] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -34752,39 +34759,39 @@ var sP = (e, t) => {"shadow","transform","none",- cF,- rF+ GP,+ BP] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- XP,+ PP,"initial",- cF,- rF+ GP,+ BP] }],ease: [{ ease: ["linear","initial",_,- cF,- rF+ GP,+ BP] }],delay: [{ delay: [- XP,- cF,- rF+ PP,+ GP,+ BP] }],animate: [{ animate: ["none",v,- cF,- rF+ GP,+ BP] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- cF,- rF+ GP,+ BP] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: de() }],@@ -34800,8 +34807,8 @@ var sP = (e, t) => {"skew-x": [{ "skew-x": pe() }],"skew-y": [{ "skew-y": pe() }],transform: [{ transform: [- cF,- rF,+ GP,+ BP,"","none","gpu",@@ -34815,9 +34822,9 @@ var sP = (e, t) => {"translate-z": [{ "translate-z": me() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- ZP,- cF,- rF+ FP,+ GP,+ BP] }],accent: [{ accent: N() }],appearance: [{ appearance: ["none", "auto"] }],@@ -34867,8 +34874,8 @@ var sP = (e, t) => {"nwse-resize","zoom-in","zoom-out",- cF,- rF+ GP,+ BP] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -34954,15 +34961,15 @@ var sP = (e, t) => {"scroll","contents","transform",- cF,- rF+ GP,+ BP] }],fill: [{ fill: ["none", ...N()] }],"stroke-w": [{ stroke: [- XP,- lF,- iF,- aF+ PP,+ KP,+ VP,+ HP] }],stroke: [{ stroke: ["none", ...N()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -35220,16 +35227,16 @@ var sP = (e, t) => {"selection"]};-}, ble = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (SF(e, "cacheSize", t), SF(e, "prefix", n), SF(e, "experimentalParseClassName", r), CF(e.theme, a.theme), CF(e.classGroups, a.classGroups), CF(e.conflictingClassGroups, a.conflictingClassGroups), CF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), SF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), SF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), wF(e.theme, i.theme), wF(e.classGroups, i.classGroups), wF(e.conflictingClassGroups, i.conflictingClassGroups), wF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), TF(e, i, "postfixLookupClassGroups"), TF(e, i, "orderSensitiveModifiers"), e), SF = (e, t, n) => {+}, Rle = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (aF(e, "cacheSize", t), aF(e, "prefix", n), aF(e, "experimentalParseClassName", r), oF(e.theme, a.theme), oF(e.classGroups, a.classGroups), oF(e.conflictingClassGroups, a.conflictingClassGroups), oF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), aF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), aF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), sF(e.theme, i.theme), sF(e.classGroups, i.classGroups), sF(e.conflictingClassGroups, i.conflictingClassGroups), sF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), cF(e, i, "postfixLookupClassGroups"), cF(e, i, "orderSensitiveModifiers"), e), aF = (e, t, n) => {n !== void 0 && (e[t] = n);-}, CF = (e, t) => {- if (t) for (let n in t) SF(e, n, t[n]);-}, wF = (e, t) => {- if (t) for (let n in t) TF(e, t, n);-}, TF = (e, t, n) => {+}, oF = (e, t) => {+ if (t) for (let n in t) aF(e, n, t[n]);+}, sF = (e, t) => {+ if (t) for (let n in t) cF(e, t, n);+}, cF = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, xle = (e, ...t) => typeof e == "function" ? RP(xF, e, ...t) : RP(() => ble(xF(), e), ...t), Sle = [+}, zle = (e, ...t) => typeof e == "function" ? kP(iF, e, ...t) : kP(() => Rle(iF(), e), ...t), Ble = ["large-title","display-1","display-2",@@ -35243,17 +35250,17 @@ var sP = (e, t) => {"body-2","caption-1","caption-2"-], Cle = [+], Vle = ["regular","medium","semibold","bold"-], EF = xle({ extend: { classGroups: { "font-size": [{ text: Sle.flatMap((e) => Cle.map((t) => `${e}-${t}`)) }] } } });-function DF(e) {+], lF = zle({ extend: { classGroups: { "font-size": [{ text: Ble.flatMap((e) => Vle.map((t) => `${e}-${t}`)) }] } } });+function uF(e) {return e;}// src/react/components/pill-tab.tsx-var wle = typeof window < "u" ? P.useLayoutEffect : P.useEffect, OF = DF({+var Hle = typeof window < "u" ? P.useLayoutEffect : P.useEffect, dF = uF({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -35275,9 +35282,9 @@ var wle = typeof window < "u" ? P.useLayoutEffect : P.useEffect, OF = DF({gray: "text-text-primary"}});-function kF({ children: e, className: t, ref: n, container: r, ...i }) {+function fF({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, P.useRef)(null), [o, s] = (0, P.useState)(null);- wle(() => {+ Hle(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -35313,7 +35320,7 @@ function kF({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: EF("pointer-events-none absolute left-0 top-0", OF.radius[o.variant], OF.thumb[o.variant]),+ className: lF("pointer-events-none absolute left-0 top-0", dF.radius[o.variant], dF.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -35324,43 +35331,43 @@ function kF({ children: e, className: t, ref: n, container: r, ...i }) {return r === void 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {ref: c,role: "group",- className: EF("relative inline-flex items-center gap-1", t),+ className: lF("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 AF = null, jF = null, MF = /* @__PURE__ */ new Set();-function Tle(e) {- return MF.add(e), () => {- MF.delete(e);+var pF = null, mF = null, hF = /* @__PURE__ */ new Set();+function Ule(e) {+ return hF.add(e), () => {+ hF.delete(e);};}-function Ele() {- for (let e of [...MF]) e();+function Wle() {+ for (let e of [...hF]) e();}-var Dle = { render(e) {- jF = e, (0, Lt.flushSync)(Ele);+var Gle = { render(e) {+ mF = e, (0, Lt.flushSync)(Wle);} };-function Ole(e) {- return AF = e, jF = null, Dle;+function Kle(e) {+ return pF = e, mF = null, Gle;}-function kle() {- let e = (0, P.useSyncExternalStore)(Tle, () => jF);- return AF && e ? /* @__PURE__ */ (0, F.jsx)(Ale, {- host: AF,+function qle() {+ let e = (0, P.useSyncExternalStore)(Ule, () => mF);+ return pF && e ? /* @__PURE__ */ (0, F.jsx)(Jle, {+ host: pF,props: e}) : null;}-function Ale({ host: e, props: t }) {- let n = $N(t);+function Jle({ host: e, props: t }) {+ let n = pP(t);return n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(jle, {+ /* @__PURE__ */ (0, F.jsx)(Yle, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, F.jsx)(Mle, {+ n.crumb ? /* @__PURE__ */ (0, F.jsx)(Xle, {host: e,label: n.crumb}) : null,@@ -35369,13 +35376,13 @@ function Ale({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, F.jsx)(Nle, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, F.jsx)(Zle, {host: e,lede: n.lede})] }) : null;}-function jle({ host: e, pressed: t, menu: n }) {+function Yle({ 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\"]");@@ -35385,7 +35392,7 @@ function jle({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, F.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, F.jsx)(kF, {+ children: /* @__PURE__ */ (0, F.jsx)(fF, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -35399,13 +35406,13 @@ function jle({ 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)(aP, { name: i }), /* @__PURE__ */ (0, F.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, F.jsx)(_P, { name: i }), /* @__PURE__ */ (0, F.jsx)("span", { children: r })]}, n);})})});}-function Mle({ host: e, label: t }) {+function Xle({ host: e, label: t }) {return /* @__PURE__ */ (0, F.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -35415,20 +35422,20 @@ function Mle({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, F.jsx)(aP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, F.jsx)("li", {+ }), /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-right" })] }), /* @__PURE__ */ (0, F.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, F.jsx)("span", { children: t })})] })});}-function Nle({ host: e, lede: t }) {+function Zle({ 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: nP }- }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Ple, { text: t.text }), t.total ? /* @__PURE__ */ (0, F.jsx)("button", {+ dangerouslySetInnerHTML: { __html: gP }+ }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Qle, { text: t.text }), t.total ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -35438,39 +35445,39 @@ function Nle({ host: e, lede: t }) {}) : null] })});}-function Ple({ text: e }) {+function Qle({ text: e }) {let t = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {- Os(t.current, e);+ ks(t.current, e);}, [e]), /* @__PURE__ */ (0, F.jsx)("span", {ref: t,"data-lede-text": ""});}// src/core/text-lang.ts-var Fle = /[-ヿㇰ-ㇿヲ-゚]/, Ile = /[㐀-鿿豈-]/, Lle = /[A-Za-z]/;-function NF(e) {+var $le = /[-ヿㇰ-ㇿヲ-゚]/, eue = /[㐀-鿿豈-]/, tue = /[A-Za-z]/;+function gF(e) {let t = String(e ?? "");- if (Fle.test(t)) return "ja";- if (!Ile.test(t) && Lle.test(t)) return "en";+ if ($le.test(t)) return "ja";+ if (!eue.test(t) && tue.test(t)) return "en";}-var Rle = (e) => {- let t = NF(e);+var nue = (e) => {+ let t = gF(e);return t ? ` lang="${t}"` : "";-}, zle = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Ble = (e, t = e?.name) => {+}, rue = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, iue = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(zle, "") : n;-}, Vle = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Hle = (e) => {+ return e?.is_jav ? n.replace(rue, "") : n;+}, aue = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), oue = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(Vle) || t[0] || "";+ return t.find(aue) || t[0] || "";};-function PF(e, t = e?.name) {- let n = Ble(e, t), r = String(e?.code || "").trim().toUpperCase();+function _F(e, t = e?.name) {+ let n = iue(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 = Hle(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 = oue(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) => ["中字","无码","无码破解"@@ -35481,26 +35488,26 @@ function PF(e, t = e?.name) {badges: f};}-var FF = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = PF(e, t);+var vF = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = _F(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function IF(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = PF(e, t);+function yF(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = _F(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"${Rle(r)}>${z(r)}</span>` : ""}`;+ return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${nue(r)}>${z(r)}</span>` : ""}`;}// src/react/activity/tasks.ts-var LF = "/api/tasks", RF = ["tasks"], Ule = (e, t) => B(`${LF}?${new URLSearchParams({+var bF = "/api/tasks", xF = ["tasks"], sue = (e, t) => B(`${bF}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function Wle(...e) {+function cue(...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) => {@@ -35508,26 +35515,26 @@ function Wle(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var Gle = 2e3, Kle = 1e4, zF = (e) => e?.running?.length ? Gle : Kle, BF = (e) => B(LF, e);-async function qle(e) {+var lue = 2e3, uue = 1e4, SF = (e) => e?.running?.length ? lue : uue, CF = (e) => B(bF, e);+async function due(e) {await H.fetchQuery({- queryKey: RF,- queryFn: () => BF(e)+ queryKey: xF,+ queryFn: () => CF(e)});}-var Jle = {+var fue = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, Yle = {+}, pue = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, Xle = (e) => Yle[e] || e, VF = {+}, mue = (e) => pue[e] || e, wF = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -35604,7 +35611,7 @@ var Jle = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, Zle = [+}, hue = ["gone_count","unclear_count","source_failed",@@ -35626,14 +35633,14 @@ var Jle = {"paused_count","miss","incomplete"-], Qle = ["face_match_unavailable"], HF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Qle.some((t) => e.result_summary?.[t] === !0) || Zle.some((t) => Number(e.result_summary?.[t]) > 0);-function $le(e) {+], gue = ["face_match_unavailable"], TF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || gue.some((t) => e.result_summary?.[t] === !0) || hue.some((t) => Number(e.result_summary?.[t]) > 0);+function _ue(e) {let t = e.result_summary?.issues;return Array.isArray(t) ? t.filter((e) => !!e && typeof e == "object" && typeof e.error == "string" && typeof e.label == "string") : [];}-var UF = /* @__PURE__ */ new Set(["library-processing"]);-function eue(e, t = !0) {- if (!HF(e) && e.status !== "failed" || UF.has(e.task_key) && !t) return null;+var EF = /* @__PURE__ */ new Set(["library-processing"]);+function vue(e, t = !0) {+ if (!TF(e) && e.status !== "failed" || EF.has(e.task_key) && !t) return null;let n = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],@@ -35651,12 +35658,12 @@ function eue(e, t = !0) {label: n[1]} : null;}-function tue(e) {+function yue(e) {let t = /* @__PURE__ */ new Map();- for (let n of e) UF.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);+ for (let n of e) EF.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);return new Set(t.values());}-function nue(e) {+function bue(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -35665,7 +35672,7 @@ function nue(e) {}return t;}-function rue(e, t) {+function xue(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -35687,12 +35694,12 @@ function rue(e, t) {}return n;}-var iue = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !HF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), WF = (e) => e.status === "pending" || e.status === "running";-function aue(e) {+var Sue = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !TF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), DF = (e) => e.status === "pending" || e.status === "running";+function Cue(e) {let t = `${e.task_label}:`, n = e.progress_label || "", r = String(e.result_summary?.name || "") || (n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n), i = e.progress_total || 0, { name: a, ...o } = e.result_summary || {};- return [r, qF(e.error) || fue(o) || (WF(e) && i > 0 ? `${KF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, jF(e.error) || BF(o) || (DF(e) && i > 0 ? `${kF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function GF(e) {+function OF(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -35701,19 +35708,19 @@ function GF(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function KF(e, t) {+function kF(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function oue(e) {+function AF(e) {let t = String(e || "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean);return t.length ? /^Traceback \(most recent call last\)/.test(t[0]) ? t[t.length - 1] : t[0] : "";}-function qF(e) {- let t = oue(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+function jF(e) {+ let t = AF(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);return n ? tn(n[1]) : t;}-var sue = {+var MF = {partial: "处理已结束,部分项目需处理",complete: "处理完成",interrupted: "处理已中断",@@ -35730,11 +35737,11 @@ var sue = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, JF = {+}, NF = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, cue = {+}, PF = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -35745,8 +35752,8 @@ var sue = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, lue = (e) => sue[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${JF[t.toLowerCase()]} 资料页` : `已保存来自 ${JF[t.toLowerCase()]} 的资料`);-function YF(e) {+}, FF = (e) => MF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${NF[t.toLowerCase()]} 资料页` : `已保存来自 ${NF[t.toLowerCase()]} 的资料`);+function IF(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -35756,7 +35763,7 @@ function YF(e) {minute: "2-digit"});}-var uue = /* @__PURE__ */ new Set([+var LF = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -35765,14 +35772,14 @@ var uue = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function XF(e) {- let t = due(e);+function RF(e) {+ let t = zF(e);return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;}-function due(e) {- return Object.entries(e || {}).filter(([e, t]) => !uue.has(e) && (e in VF || 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" ? qF(String(t)) : e === "outcome" || e === "result" ? lue(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${VF[e]} ${jn(Number(t))}` : e === "operation" ? `操作:${cue[String(t)] || "批量操作"}` : `${VF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function zF(e) {+ return Object.entries(e || {}).filter(([e, t]) => !LF.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" ? jF(String(t)) : e === "outcome" || e === "result" ? FF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${wF[e]} ${jn(Number(t))}` : e === "operation" ? `操作:${PF[String(t)] || "批量操作"}` : `${wF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var fue = (e) => XF(e).join(" · "), ZF = DF({+var BF = (e) => RF(e).join(" · "), VF = uF({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",@@ -35783,20 +35790,20 @@ var fue = (e) => XF(e).join(" · "), ZF = DF({small: "size-4 shrink-0"}});-function QF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function HF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, F.jsx)("button", {ref: i,type: r,- className: EF(ZF.base, ZF.size[t], n),+ className: lF(VF.base, VF.size[t], n),...a,children: /* @__PURE__ */ (0, F.jsx)(e, {- className: ZF.icon[t],+ className: VF.icon[t],"aria-hidden": !0})});}// src/react/components/glass-drift.tsx-function $F() {+function UF() {return /* @__PURE__ */ (0, F.jsxs)("span", {"data-glass-drift": "","aria-hidden": "true",@@ -35810,7 +35817,7 @@ function $F() {});}// src/react/components/use-stuck.ts-function eI(e) {+function WF(e) {(0, P.useEffect)(() => {let t = e.current;if (!t) return;@@ -35827,31 +35834,31 @@ function eI(e) {}, [e]);}// src/react/components/use-horizontal-scroller.ts-function tI(e, t = !0) {+function GF(e, t = !0) {let [n, r] = (0, P.useState)(null), i = (0, P.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);return (0, P.useLayoutEffect)(() => {if (!n || !t) return;n.dataset.horizontalScroll = "";- let e = cc(n);+ let e = lc(n);return () => {e.destroy(), delete n.dataset.horizontalScroll, delete n.dataset.overflowLeft, delete n.dataset.overflowRight;};}, [n, t]), i;}// src/react/components/filter-glass.tsx-var pue = ({ className: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var KF = ({ className: e }) => /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,className: e,- dangerouslySetInnerHTML: { __html: bs("正在处理") }+ dangerouslySetInnerHTML: { __html: xs("正在处理") }});-function nI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, F.jsx)(QF, {+function qF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, F.jsx)(HF, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? pue : t,+ icon: n && r === "spinner" ? KF : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -35861,9 +35868,9 @@ function nI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function mue({ title: e, children: t }) {+function JF({ title: e, children: t }) {let n = (0, P.useRef)(null);- return eI(n), /* @__PURE__ */ (0, F.jsxs)("div", {+ return WF(n), /* @__PURE__ */ (0, F.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -35876,20 +35883,20 @@ function mue({ title: e, children: t }) {children: e}),t,- /* @__PURE__ */ (0, F.jsx)($F, {})+ /* @__PURE__ */ (0, F.jsx)(UF, {})]});}-function rI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {- let d = (0, P.useRef)(null), f = tI(), p = tI(u);- return eI(d), /* @__PURE__ */ (0, F.jsxs)("div", {+function YF({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {+ let d = (0, P.useRef)(null), f = GF(), p = GF(u);+ return WF(d), /* @__PURE__ */ (0, F.jsxs)("div", {ref: d,role: "group","aria-label": e,"data-filter-glass": !0,"data-glass-pane": "",...c,- className: EF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: lF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, F.jsx)("div", {@@ -35897,37 +35904,37 @@ function rI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNarole: "group","aria-label": t,"data-filter-row": "top",- className: EF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: lF("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: EF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: lF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r}),- /* @__PURE__ */ (0, F.jsx)($F, {})+ /* @__PURE__ */ (0, F.jsx)(UF, {})]});}-var hue = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";-function iI({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var XF = "flex h-8 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";+function ZF({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: EF(hue, r),+ className: lF(XF, r),onClick: n,children: e});}-var gue = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";-function aI({ children: e, onPress: t, busy: n = !1 }) {+var QF = "h-8 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";+function $F({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glass-pill": "",- className: gue,+ className: QF,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -35937,13 +35944,13 @@ function aI({ children: e, onPress: t, busy: n = !1 }) {});}// src/react/components/use-view-glide.ts-var oI = (e, t) => [+var eI = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function sI(e, t, n) {+function tI(e, t, n) {if (!t.contains(e)) return null;let r = 0, i = 0;for (let n = e; n && n !== t; n = n.offsetParent) r += n.offsetLeft, i += n.offsetTop;@@ -35967,17 +35974,17 @@ function sI(e, t, n) {h: e.offsetHeight};}-function cI(e, t, n, r, { axis: i = "x" } = {}) {+function nI(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, P.useRef)(null), o = (0, P.useCallback)((r, o) => {let s = e.current, c = t.current, l = s?.parentElement;if (!s) return;- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? sI(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? tI(u, l, i) : null;if (!d || !d.w || !d.h) {- wc(s), s.hidden = !0, a.current = null;+ Tc(s), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && oI(f, d)) && Sc(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && eI(f, d)) && Cc(s, o ? f : null, d, i);}, [e,t,@@ -35998,8 +36005,8 @@ function cI(e, t, n, r, { axis: i = "x" } = {}) {passive: !0}), addEventListener("resize", c, { passive: !0 });let l = new ResizeObserver(() => {- let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? sI(o, r, i) : null, l = a.current;- s && l && oI(s, l) || c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? tI(o, r, i) : null, l = a.current;+ s && l && eI(s, l) || c();}), u = t.current;if (u && r) {l.observe(u);@@ -36025,12 +36032,12 @@ function cI(e, t, n, r, { axis: i = "x" } = {}) {e.pointerType !== "touch" && o(null, !0);}, [o]),sync: (0, P.useCallback)(() => {- wc(e.current), o(null, !1);+ Tc(e.current), o(null, !1);}, [e, o])};}// src/react/boardui/components/base/buttons/button.tsx-var lI = DF({+var rI = uF({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",@@ -36063,52 +36070,52 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, F.jsxs)("button", {ref: c,type: s,- className: EF(lI.base, lI.size[t], lI.variant[e], n && lI.iconOnlySize[t], o),+ className: lF(rI.base, rI.size[t], rI.variant[e], n && rI.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, F.jsx)(r, {- className: lI.icon[t],+ className: rI.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, F.jsx)("span", {- className: lI.label[t],+ className: rI.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, F.jsx)(i, {- className: lI.icon[t],+ className: rI.icon[t],"aria-hidden": !0}) : null]});}-function uI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function iI({ 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: EF(lI.base, lI.size[t], lI.variant[e], n && lI.iconOnlySize[t], o),+ className: lF(rI.base, rI.size[t], rI.variant[e], n && rI.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, F.jsx)(r, {- className: lI.icon[t],+ className: rI.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, F.jsx)("span", {- className: lI.label[t],+ className: rI.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, F.jsx)(i, {- className: lI.icon[t],+ className: rI.icon[t],"aria-hidden": !0}) : null]});}// node_modules/react-aria-components/dist/private/utils.mjs-var dI = Symbol("default");-function fI({ values: e, children: t }) {+var aI = Symbol("default");+function oI({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ P.createElement(n.Provider, { value: r }, t);return t;}-function pI(e) {+function sI(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, P.useMemo)(() => {let e, l, u;@@ -36142,11 +36149,11 @@ function pI(e) {c]);}-function mI(e, t) {+function cI(e, t) {let n = (0, P.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || dI;+ let e = t || aI;if (!n.slots[e]) {let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";throw Error(`${r} Valid slot names are ${e}.`);@@ -36155,8 +36162,8 @@ function mI(e, t) {}return n;}-function hI(e, t, n) {- let { ref: r, ...i } = mI(n, e.slot) || {}, a = wx((0, P.useMemo)(() => hx(t, r), [t, r])), o = K(i, e);+function lI(e, t, n) {+ let { ref: r, ...i } = cI(n, e.slot) || {}, a = Jx((0, P.useMemo)(() => zx(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,@@ -36174,42 +36181,42 @@ function hI(e, t, n) {...e.style}), [o, a];}-function gI(e = !0) {+function uI(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 pb(() => {+ return Mb(() => {r.current || n(!1);}, []), [i, t];}-function _I(e) {+function dI(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function _ue(e, t, n) {- let { render: r, ...i } = t, a = (0, P.useRef)(null), o = (0, P.useMemo)(() => hx(n, a), [n, a]);- pb(() => {}, [e, r]);+function fI(e, t, n) {+ let { render: r, ...i } = t, a = (0, P.useRef)(null), o = (0, P.useMemo)(() => zx(n, a), [n, a]);+ Mb(() => {}, [e, r]);let s = {...i,ref: o};return r ? r(s, void 0) : /*#__PURE__*/ P.createElement(e, s);}-var vI = {}, yI = new Proxy({}, { get(e, t) {+var pI = {}, mI = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = vI[t];- return n || (n = /*#__PURE__*/ (0, P.forwardRef)(_ue.bind(null, t)), vI[t] = n), n;-} }), bI = /*#__PURE__*/ (0, P.createContext)(null), xI = /*#__PURE__*/ (0, P.createContext)(null), SI = /*#__PURE__*/ (0, P.createContext)(null), CI = {+ let n = pI[t];+ return n || (n = /*#__PURE__*/ (0, P.forwardRef)(fI.bind(null, t)), pI[t] = n), n;+} }), hI = /*#__PURE__*/ (0, P.createContext)(null), gI = /*#__PURE__*/ (0, P.createContext)(null), _I = /*#__PURE__*/ (0, P.createContext)(null), vI = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return wI(e, null, t);+ return yI(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return wI(e, t, n);+ return yI(e, t, n);}};-function wI(e, t, n) {- return Yy({+function yI(e, t, n) {+ return ub({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -36219,11 +36226,11 @@ function wI(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, vue(e, t, n));+ }), r, bI(e, t, n));}});}-function vue(e, t, n) {+function bI(e, t, n) {let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);let o = t.nextKey == null ? null : e.getItem(t.nextKey);@@ -36242,24 +36249,24 @@ function vue(e, t, n) {}return s;}-var TI = /*#__PURE__*/ (0, P.createContext)(CI);-function EI(e) {+var xI = /*#__PURE__*/ (0, P.createContext)(vI);+function SI(e) {return (0, P.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}// node_modules/react-aria-components/dist/private/Label.mjs-var DI = /*#__PURE__*/ (0, P.createContext)({}), OI = /*#__PURE__*/ kx(function(e, t) {- [e, t] = hI(e, t, DI);- let { elementType: n = "label", ...r } = e, i = yI[n];+var CI = /*#__PURE__*/ (0, P.createContext)({}), wI = /*#__PURE__*/ $x(function(e, t) {+ [e, t] = lI(e, t, CI);+ let { elementType: n = "label", ...r } = e, i = mI[n];return /*#__PURE__*/ P.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), yue = /*#__PURE__*/ (0, P.createContext)(null), kI = /*#__PURE__*/ (0, P.createContext)({}), AI = /*#__PURE__*/ kx(function(e, t) {- [e, t] = hI(e, t, kI);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Pie(e, t);- i = xue(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = mT(e), { hoverProps: l, isHovered: u } = vT({+}), TI = /*#__PURE__*/ (0, P.createContext)(null), EI = /*#__PURE__*/ (0, P.createContext)({}), DI = /*#__PURE__*/ $x(function(e, t) {+ [e, t] = lI(e, t, EI);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Sie(e, t);+ i = kI(i, r);+ let { focusProps: o, isFocused: s, isFocusVisible: c } = zT(e), { hoverProps: l, isHovered: u } = UT({...e,isDisabled: e.isDisabled || r}), d = {@@ -36269,24 +36276,24 @@ var DI = /*#__PURE__*/ (0, P.createContext)({}), OI = /*#__PURE__*/ kx(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = pI({+ }, f = sI({...e,values: d,defaultClassName: "react-aria-Button"- }), p = px(i.id), m = px(), h = i["aria-labelledby"];+ }), p = Lx(i.id), m = Lx(), 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) && hC(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && AC(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = OS(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ P.createElement(yI.button, {+ let _ = VS(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ P.createElement(mI.button, {...K(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -36300,61 +36307,61 @@ var DI = /*#__PURE__*/ (0, P.createContext)({}), OI = /*#__PURE__*/ kx(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ P.createElement(yue.Provider, { value: { id: m } }, f.children));-}), bue = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function xue(e, t) {+ }, /*#__PURE__*/ P.createElement(TI.Provider, { value: { id: m } }, f.children));+}), OI = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function kI(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !bue.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !OI.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}// node_modules/react-aria-components/dist/private/Heading.mjs-var jI = /*#__PURE__*/ (0, P.createContext)({}), MI = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = hI(e, t, jI);- let { children: n, level: r = 3, className: i, ...a } = e, o = yI[`h${r}`];+var AI = /*#__PURE__*/ (0, P.createContext)({}), jI = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = lI(e, t, AI);+ let { children: n, level: r = 3, className: i, ...a } = e, o = mI[`h${r}`];return /*#__PURE__*/ P.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), NI = /*#__PURE__*/ (0, P.createContext)({}), Sue = /*#__PURE__*/ kx(function(e, t) {- [e, t] = hI(e, t, NI);- let { elementType: n = "span", ...r } = e, i = yI[n];+}), MI = /*#__PURE__*/ (0, P.createContext)({}), NI = /*#__PURE__*/ $x(function(e, t) {+ [e, t] = lI(e, t, MI);+ let { elementType: n = "span", ...r } = e, i = mI[n];return /*#__PURE__*/ P.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), PI = /*#__PURE__*/ (0, P.createContext)(null), FI = /*#__PURE__*/ (0, P.createContext)(null), II = /*#__PURE__*/ (0, P.createContext)(null), LI = /*#__PURE__*/ (0, P.createContext)(null), Cue = /*#__PURE__*/ (0, P.createContext)(null), RI = /*#__PURE__*/ (0, P.createContext)(null);-function wue(e, t) {- let { validationBehavior: n } = mI(FI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(Cue), a = wx((0, P.useMemo)(() => hx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ..._I(e),+}), PI = /*#__PURE__*/ (0, P.createContext)(null), FI = /*#__PURE__*/ (0, P.createContext)(null), II = /*#__PURE__*/ (0, P.createContext)(null), LI = /*#__PURE__*/ (0, P.createContext)(null), wue = /*#__PURE__*/ (0, P.createContext)(null), RI = /*#__PURE__*/ (0, P.createContext)(null);+function Tue(e, t) {+ let { validationBehavior: n } = cI(FI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(wue), a = Jx((0, P.useMemo)(() => zx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...dI(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? rae(o, i, a) : IC(o, VC(e), a), a];+ return [i ? Nie(o, i, a) : sw(o, fw(e), a), a];}-var Tue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+var Eue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = hI(r, t, II);- let [i, a] = wue(e, n);+ [e, t] = lI(r, t, II);+ let [i, a] = Tue(e, n);return /*#__PURE__*/ P.createElement(RI.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ P.createElement(Eue, {+ } }, /*#__PURE__*/ P.createElement(Due, {...e,ref: t}));-}), Eue = /*#__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)(RI), { isFocused: p, isFocusVisible: m, focusProps: h } = mT(), g = a || o, { hoverProps: _, isHovered: v } = vT({+}), Due = /*#__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)(RI), { isFocused: p, isFocusVisible: m, focusProps: h } = zT(), g = a || o, { hoverProps: _, isHovered: v } = UT({...e,isDisabled: g- }), y = pI({+ }), y = sI({...e,defaultClassName: u,values: {@@ -36369,8 +36376,8 @@ var Tue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = OS(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(yI.label, {+ }), b = VS(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(mI.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -36384,20 +36391,20 @@ var Tue = /*#__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(XC, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {+ }, /*#__PURE__*/ P.createElement(xw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {...K(r, h),ref: l})), y.children);}), zI = /*#__PURE__*/ (0, P.createContext)({}), BI = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = hI(e, t, zI);+ [e, t] = lI(e, t, zI);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 } = vT({+ let { hoverProps: l, isHovered: u } = UT({onHoverStart: a,onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = mT({ within: !0 }), m = pI({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = zT({ within: !0 }), m = sI({...e,values: {isHovered: u,@@ -36408,7 +36415,7 @@ var Tue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ P.createElement(yI.div, {+ return /*#__PURE__*/ P.createElement(mI.div, {...K(c, p, l),...m,ref: t,@@ -36421,18 +36428,18 @@ var Tue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), VI = /*#__PURE__*/ (0, P.createContext)({}), Due = (e) => {+}), VI = /*#__PURE__*/ (0, P.createContext)({}), Oue = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Oue = /*#__PURE__*/ kx(function(e, t) {- [e, t] = hI(e, t, VI);- let { hoverProps: n, isHovered: r } = vT({+}, kue = /*#__PURE__*/ $x(function(e, t) {+ [e, t] = lI(e, t, VI);+ let { hoverProps: n, isHovered: r } = UT({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = mT({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = zT({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = pI({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = sI({...e,values: {isHovered: r,@@ -36443,8 +36450,8 @@ var Tue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ P.createElement(yI.input, {- ...K(Due(e), o, n),+ return /*#__PURE__*/ P.createElement(mI.input, {+ ...K(Oue(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -36453,16 +36460,16 @@ var Tue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), kue = 0, Aue = 100, jue = 1;-function Mue(e) {- let { isDisabled: t = !1, minValue: n = kue, maxValue: r = Aue, numberFormatter: i, step: a = jue, orientation: o = "horizontal" } = e, s = (0, P.useMemo)(() => {+}), Aue = 0, jue = 100, Mue = 1;+function Nue(e) {+ let { isDisabled: t = !1, minValue: n = Aue, maxValue: r = jue, numberFormatter: i, step: a = Mue, orientation: o = "horizontal" } = e, s = (0, P.useMemo)(() => {let e = (r - n) / 10;- return e = WC(e, 0, e + a, a), Math.max(e, a);+ return e = hw(e, 0, e + a, a), Math.max(e, a);}, [a,r,n- ]), c = (0, P.useCallback)((e) => e?.map((t, i) => WC(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) => hw(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [n,r,a@@ -36470,7 +36477,7 @@ function Mue(e) {e.defaultValue,n,c- ]), d = WI(e.value, e.defaultValue, e.onChange), f = WI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = BC(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 = WI(e.value, e.defaultValue, e.onChange), f = WI(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) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -36493,7 +36500,7 @@ function Mue(e) {function A(e, n) {if (t || !O(e)) return;let r = E(e), i = D(e);- n = WC(n, r, i, a);+ n = hw(n, r, i, a);let o = HI(x.current, e, n);C(o);}@@ -36522,15 +36529,15 @@ function Mue(e) {return Math.round((e - n) / a) * a + n;}function N(e) {- return HC(ne(e * (r - n) + n), n, r);+ return pw(ne(e * (r - n) + n), n, r);}function re(e, t = 1) {let i = Math.max(t, a);- A(e, WC(p[e] + i, n, r, a));+ A(e, hw(p[e] + i, n, r, a));}function ie(e, t = 1) {let i = Math.max(t, a);- A(e, WC(p[e] - i, n, r, a));+ A(e, hw(p[e] - i, n, r, a));}return {values: p,@@ -36575,15 +36582,15 @@ function WI(e, t, n) {};}// node_modules/react-aria-components/dist/private/Slider.mjs-var Nue = /*#__PURE__*/ (0, P.createContext)(null), GI = /*#__PURE__*/ (0, P.createContext)(null), KI = /*#__PURE__*/ (0, P.createContext)(null), Pue = /*#__PURE__*/ (0, P.createContext)(null), Fue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = hI(e, t, Nue);- let n = (0, P.useRef)(null), r = cae(e.formatOptions), i = Mue({+var Pue = /*#__PURE__*/ (0, P.createContext)(null), GI = /*#__PURE__*/ (0, P.createContext)(null), KI = /*#__PURE__*/ (0, P.createContext)(null), Fue = /*#__PURE__*/ (0, P.createContext)(null), Iue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = lI(e, t, Pue);+ let n = (0, P.useRef)(null), r = Rie(e.formatOptions), i = Nue({...e,numberFormatter: r- }), [a, o] = gI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = lae({+ }), [a, o] = uI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = zie({...e,label: o- }, i, n), d = pI({+ }, i, n), d = sI({...e,values: {orientation: i.orientation,@@ -36591,32 +36598,32 @@ var Nue = /*#__PURE__*/ (0, P.createContext)(null), GI = /*#__PURE__*/ (0, P.crestate: i},defaultClassName: "react-aria-Slider"- }), f = OS(e, { global: !0 });- return delete f.id, /*#__PURE__*/ P.createElement(fI, { values: [+ }), f = VS(e, { global: !0 });+ return delete f.id, /*#__PURE__*/ P.createElement(oI, { values: [[GI, i],[KI, {...c,ref: n}],- [Pue, u],- [DI, {+ [Fue, u],+ [CI, {...l,ref: a}]- ] }, /*#__PURE__*/ P.createElement(yI.div, {+ ] }, /*#__PURE__*/ P.createElement(mI.div, {...K(f, d, s),ref: t,slot: e.slot || void 0,"data-orientation": i.orientation,"data-disabled": i.isDisabled || void 0}));-}), Iue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = hI(e, t, KI);- let n = (0, P.useContext)(GI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = vT({+}), Lue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = lI(e, t, KI);+ let n = (0, P.useContext)(GI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = UT({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = pI({+ }), l = sI({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -36626,7 +36633,7 @@ var Nue = /*#__PURE__*/ (0, P.createContext)(null), GI = /*#__PURE__*/ (0, P.crestate: n}});- return /*#__PURE__*/ P.createElement(yI.div, {+ return /*#__PURE__*/ P.createElement(mI.div, {...K(o, s),...l,ref: t,@@ -36634,14 +36641,14 @@ var Nue = /*#__PURE__*/ (0, P.createContext)(null), GI = /*#__PURE__*/ (0, P.cre"data-orientation": n.orientation || void 0,"data-disabled": n.isDisabled || void 0});-}), Lue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, P.useContext)(GI), { ref: i } = mI(KI), { index: a = 0 } = e, o = (0, P.useRef)(null), s = n || o, [c, l] = gI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = uae({+}), Rue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { inputRef: n = null } = e, r = (0, P.useContext)(GI), { ref: i } = cI(KI), { index: a = 0 } = e, o = (0, P.useRef)(null), s = n || o, [c, l] = uI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Bie({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = mT(), { hoverProps: v, isHovered: y } = vT(e), b = pI({+ }, r), { focusProps: g, isFocusVisible: _ } = zT(), { hoverProps: v, isHovered: y } = UT(e), b = sI({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -36652,8 +36659,8 @@ var Nue = /*#__PURE__*/ (0, P.createContext)(null), GI = /*#__PURE__*/ (0, P.creisFocusVisible: _,isDisabled: h}- }), x = OS(e, { global: !0 });- return delete x.id, /*#__PURE__*/ P.createElement(yI.div, {+ }), x = VS(e, { global: !0 });+ return delete x.id, /*#__PURE__*/ P.createElement(mI.div, {...K(x, u, v),...b,ref: t,@@ -36666,10 +36673,10 @@ var Nue = /*#__PURE__*/ (0, P.createContext)(null), GI = /*#__PURE__*/ (0, P.cre"data-focused": m || void 0,"data-focus-visible": _ || void 0,"data-disabled": h || void 0- }, /*#__PURE__*/ P.createElement(XC, null, /*#__PURE__*/ P.createElement("input", {+ }, /*#__PURE__*/ P.createElement(xw, null, /*#__PURE__*/ P.createElement("input", {ref: s,...K(d, g)- })), /*#__PURE__*/ P.createElement(fI, { values: [[DI, {+ })), /*#__PURE__*/ P.createElement(oI, { values: [[CI, {...f,ref: c}]] }, b.children));@@ -36983,13 +36990,13 @@ DL = {"zh-TW": EL};// node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var OL = /*#__PURE__*/ (0, P.createContext)({}), kL = /*#__PURE__*/ (0, P.createContext)(null), Rue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+var OL = /*#__PURE__*/ (0, P.createContext)({}), kL = /*#__PURE__*/ (0, P.createContext)(null), zue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let { render: n } = (0, P.useContext)(kL);return /*#__PURE__*/ P.createElement(P.Fragment, null, n(e, t));});function AL(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, P.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ P.createElement(Rue, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ P.createElement(zue, { target: e });}, [t?.target,r,@@ -37018,13 +37025,13 @@ function jL(e, t, n) {return (0, P.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);}// node_modules/react-aria-components/dist/private/Header.mjs-var ML = /*#__PURE__*/ (0, P.createContext)({}), zue = /*#__PURE__*/ (0, P.createContext)(null);+var ML = /*#__PURE__*/ (0, P.createContext)({}), Bue = /*#__PURE__*/ (0, P.createContext)(null);function NL(e) {let t = (0, P.useRef)({});- return /*#__PURE__*/ P.createElement(zue.Provider, { value: t }, e.children);+ return /*#__PURE__*/ P.createElement(Bue.Provider, { value: t }, e.children);}// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var PL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), FL = /*#__PURE__*/ (0, P.createContext)({}), Bue = /*#__PURE__*/ Lx(class extends Vy {+var PL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), FL = /*#__PURE__*/ (0, P.createContext)({}), Vue = /*#__PURE__*/ sS(class extends nb {static {this.type = "separator";}@@ -37037,14 +37044,14 @@ var PL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), FL = /*#__PURE_return null;}}, function(e, t) {- [e, t] = hI(e, t, FL);+ [e, t] = lI(e, t, FL);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = yI[c], { separatorProps: u } = ooe({+ let l = mI[c], { separatorProps: u } = qae({...s,elementType: n,orientation: r- }), d = OS(e, { global: !0 });+ }), d = VS(e, { global: !0 });return /*#__PURE__*/ P.createElement(l, {render: e.render,...K(d, u),@@ -37110,13 +37117,13 @@ var LL = class {}};// node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function Vue(e, t) {+function Hue(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}function zL(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, 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] = BC((0, P.useMemo)(() => BL(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => BL(e.defaultSelectedKeys, new RL()), [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] = dw((0, P.useMemo)(() => BL(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => BL(e.defaultSelectedKeys, new RL()), [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)(() => {@@ -37143,7 +37150,7 @@ function zL(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !Vue(e, d)) && f(e);+ (r || !Hue(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a@@ -37209,7 +37216,7 @@ var VL = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && nT(this.collection, n, e) < 0) && (e = n);+ (!e || n && DT(this.collection, n, e) < 0) && (e = n);}return e?.key ?? null;}@@ -37217,7 +37224,7 @@ var VL = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && nT(this.collection, n, e) > 0) && (e = n);+ (!e || n && DT(this.collection, n, e) > 0) && (e = n);}return e?.key ?? null;}@@ -37247,7 +37254,7 @@ var VL = class e {}getKeyRange(e, t) {let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? nT(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ return n && r ? DT(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);@@ -37297,7 +37304,7 @@ var VL = class e {for (; r != null;) {if (this.canSelectItemIn(r, e)) {let i = e.getItem(r);- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n($w(Qw(i, e))?.key ?? null);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(wT(CT(i, e))?.key ?? null);}r = e.getKeyAfter(r);}@@ -37349,7 +37356,7 @@ var VL = class e {fullCollection: this.fullCollection ?? this.collection});}-}, Hue = class {+}, Uue = class {build(e, t) {return this.context = t, HL(() => this.iterateCollection(e));}@@ -37433,7 +37440,7 @@ var VL = class e {...a,key: l,index: s,- wrapper: Uue(e.wrapper, a.wrapper)+ wrapper: Wue(e.wrapper, a.wrapper)}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];for (let t of u) {if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${UL(t.type)}> in <${UL(r?.type ?? "unknown parent type")}>. Only <${UL(e.type)}> is supported.`);@@ -37485,7 +37492,7 @@ function HL(e) {for (let e of n) t.push(e), yield e;} };}-function Uue(e, t) {+function Wue(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;@@ -37495,7 +37502,7 @@ function UL(e) {}// node_modules/react-stately/dist/private/collections/useCollection.mjsfunction WL(e, t, n) {- let r = (0, P.useMemo)(() => new Hue(), []), { children: i, items: a, collection: o } = e;+ let r = (0, P.useMemo)(() => new Uue(), []), { children: i, items: a, collection: o } = e;return (0, P.useMemo)(() => o || t(r.build({children: i,items: a@@ -37521,7 +37528,7 @@ function GL(e) {selectionManager: o};}-function Wue(e, t) {+function Gue(e, t) {let n = (0, P.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return KL(n, r), {collection: n,@@ -37557,14 +37564,14 @@ function KL(e, t) {}// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjsfunction qL(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, P.useRef)(null), s = tS((e) => {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, P.useRef)(null), s = TS((e) => {for (let t of e) t.isIntersecting && r && r();});- pb(() => {+ Mb(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: vC(t?.current),+ root: PC(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -37579,27 +37586,27 @@ function qL(e, t) {]);}// node_modules/react-aria-components/dist/private/ListBox.mjs-var JL = /*#__PURE__*/ (0, P.createContext)(null), YL = /*#__PURE__*/ (0, P.createContext)(null), Gue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = hI(e, t, JL);+var JL = /*#__PURE__*/ (0, P.createContext)(null), YL = /*#__PURE__*/ (0, P.createContext)(null), Kue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = lI(e, t, JL);let n = (0, P.useContext)(YL);return n ? /*#__PURE__*/ P.createElement(XL, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ P.createElement(Px, { content: /*#__PURE__*/ P.createElement(Vx, e) }, (n) => /*#__PURE__*/ P.createElement(Kue, {+ }) : /*#__PURE__*/ P.createElement(iS, { content: /*#__PURE__*/ P.createElement(dS, e) }, (n) => /*#__PURE__*/ P.createElement(que, {props: e,listBoxRef: t,collection: n}));});-function Kue({ props: e, listBoxRef: t, collection: n }) {+function que({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, P.useContext)(TI), i = GL({+ let { layoutDelegate: r } = (0, P.useContext)(xI), i = GL({...e,layoutDelegate: r});@@ -37610,11 +37617,11 @@ function Kue({ props: e, listBoxRef: t, collection: n }) {});}function XL({ state: e, props: t, listBoxRef: n }) {- [t, n] = hI(t, n, bI);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Wue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = lS(), { disabledBehavior: p, disabledKeys: m } = l, h = sT({+ [t, n] = lI(t, n, hI);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Gue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = NS(), { disabledBehavior: p, disabledKeys: m } = l, h = MT({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(TI), b = (0, P.useMemo)(() => t.keyboardDelegate || new lw({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(xI), b = (0, P.useMemo)(() => t.keyboardDelegate || new Pw({collection: c,collator: h,ref: n,@@ -37635,7 +37642,7 @@ function XL({ state: e, props: t, listBoxRef: n }) {t.keyboardDelegate,i,_- ]), { listBoxProps: x } = Lae({+ ]), { listBoxProps: x } = pae({...t,shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,keyboardDelegate: b,@@ -37667,7 +37674,7 @@ function XL({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, C, n), T = C.isDropTarget({ type: "root" });}- let { focusProps: O, isFocused: k, isFocusVisible: A } = mT(), j = s.collection.size === 0, M = {+ let { focusProps: O, isFocused: k, isFocusVisible: A } = zT(), j = s.collection.size === 0, M = {isDropTarget: T,isEmpty: j,isFocused: k,@@ -37675,7 +37682,7 @@ function XL({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, ee = pI({+ }, ee = sI({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -37685,8 +37692,8 @@ function XL({ state: e, props: t, listBoxRef: n }) {role: "option",style: { display: "contents" }}, t.renderEmptyState(M)));- let ne = OS(t, { global: !0 });- return /*#__PURE__*/ P.createElement(QS, null, /*#__PURE__*/ P.createElement(yI.div, {+ let ne = VS(t, { global: !0 });+ return /*#__PURE__*/ P.createElement(dC, null, /*#__PURE__*/ P.createElement(mI.div, {...K(ne, ee, x, O, w?.collectionProps),ref: n,slot: t.slot || void 0,@@ -37697,7 +37704,7 @@ function XL({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": A || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ P.createElement(fI, { values: [+ }, /*#__PURE__*/ P.createElement(oI, { values: [[JL, t],[YL, s],[OL, {@@ -37706,10 +37713,10 @@ function XL({ state: e, props: t, listBoxRef: n }) {dropState: C}],[FL, { elementType: "div" }],- [kL, { render: Yue }],- [SI, {+ [kL, { render: Xue }],+ [_I, {name: "ListBoxSection",- render: que+ render: Jue}]] }, /*#__PURE__*/ P.createElement(NL, null, /*#__PURE__*/ P.createElement(y, {collection: c,@@ -37718,18 +37725,18 @@ function XL({ state: e, props: t, listBoxRef: n }) {renderDropIndicator: AL(r, C)}))), te, E));}-function que(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, P.useContext)(YL), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(OL), { CollectionBranch: s } = (0, P.useContext)(TI), [c, l] = gI(), { headingProps: u, groupProps: d } = Rae({+function Jue(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, P.useContext)(YL), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(OL), { CollectionBranch: s } = (0, P.useContext)(xI), [c, l] = uI(), { headingProps: u, groupProps: d } = mae({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = pI({+ }), f = sI({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0- }), p = OS(e, { global: !0 });- return delete p.id, /*#__PURE__*/ P.createElement(yI.section, {+ }), p = VS(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ P.createElement(mI.section, {...K(p, f, d),ref: t}, /*#__PURE__*/ P.createElement(ML.Provider, { value: {@@ -37741,16 +37748,16 @@ function que(e, t, n, r = "react-aria-ListBoxSection") {renderDropIndicator: AL(a, o)})));}-var Jue = /*#__PURE__*/ Lx(Wy, function(e, t, n) {- let r = wx(t), i = (0, P.useContext)(YL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(OL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = zae({+var Yue = /*#__PURE__*/ sS(ab, function(e, t, n) {+ let r = Jx(t), i = (0, P.useContext)(YL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(OL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = hae({key: n.key,"aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = vT({+ }, i, r), { hoverProps: p, isHovered: m } = UT({isDisabled: !f.allowsSelection && !f.hasAction && !c,onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = Cx(e), { focusProps: g } = yx(e), _ = null;+ }), { keyboardProps: h } = qx(e), { focusProps: g } = Ux(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -37761,7 +37768,7 @@ var Jue = /*#__PURE__*/ Lx(Wy, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = pI({+ let y = o && o.isDragging(n.key), b = sI({...e,id: void 0,children: e.children,@@ -37779,7 +37786,7 @@ var Jue = /*#__PURE__*/ Lx(Wy, function(e, t, n) {(0, P.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? yI.a : yI.div, S = OS(e, { global: !0 });+ let x = e.href ? mI.a : mI.div, S = VS(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,@@ -37793,29 +37800,29 @@ var Jue = /*#__PURE__*/ Lx(Wy, function(e, t, n) {"data-dragging": y || void 0,"data-drop-target": v?.isDropTarget || void 0,"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode- }, /*#__PURE__*/ P.createElement(fI, { values: [[NI, { slots: {- [dI]: u,+ }, /*#__PURE__*/ P.createElement(oI, { values: [[MI, { slots: {+ [aI]: u,label: u,description: d} }], [PL, { isSelected: f.isSelected }]] }, b.children));});-function Yue(e, t) {- t = wx(t);+function Xue(e, t) {+ t = Jx(t);let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(OL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ P.createElement(Zue, {+ return a ? null : /*#__PURE__*/ P.createElement(Que, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function Xue(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = pI({+function Zue(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = sI({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(yI.div, {+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(mI.div, {...n,...a,role: "option",@@ -37823,8 +37830,8 @@ function Xue(e, t) {"data-drop-target": r || void 0}));}-var Zue = /*#__PURE__*/ (0, P.forwardRef)(Xue);-Lx(Uy, function(e, t, n) {+var Que = /*#__PURE__*/ (0, P.forwardRef)(Zue);+sS(ib, function(e, t, n) {let r = (0, P.useContext)(YL), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);qL((0, P.useMemo)(() => ({onLoadMore: a,@@ -37836,7 +37843,7 @@ Lx(Uy, function(e, t, n) {o,r?.collection]), c);- let l = pI({+ let l = sI({...s,id: void 0,children: n.rendered,@@ -37858,18 +37865,18 @@ Lx(Uy, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(yI.div, {- ...K(OS(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(mI.div, {+ ...K(VS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t}, l.children)));});// node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var Que = /*#__PURE__*/ (0, P.createContext)({ placement: "bottom" });+var $ue = /*#__PURE__*/ (0, P.createContext)({ placement: "bottom" });// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjsfunction ZL(e) {- let [t, n] = BC(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, P.useState)(null);+ let [t, n] = dw(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, P.useState)(null);return {isOpen: t,setOpen: n,@@ -37889,9 +37896,9 @@ function ZL(e) {// node_modules/react-aria/dist/private/utils/animation.mjsfunction QL(e, t = !0, n) {let [r, i] = (0, P.useState)(!0), a = r && t;- return pb(() => {- if (!t && e.current) return lx(nb(e.current, "opacity", "0"), nb(e.current, "clip", "rect(0 0 0 0)"), nb(e.current, "clip-path", "inset(50%)"), nb(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), pb(() => {+ return Mb(() => {+ if (!t && e.current) return Nx(_b(e.current, "opacity", "0"), _b(e.current, "clip", "rect(0 0 0 0)"), _b(e.current, "clip-path", "inset(50%)"), _b(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), Mb(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();}, [e, a]), eR(e, a, n, (0, P.useCallback)(() => i(!1), [])), a;}@@ -37910,8 +37917,8 @@ function $L(e, t, n) {}, [])), a;}function eR(e, t, n, r) {- let i = (0, P.useRef)(null), a = tS(n);- pb(() => {+ let i = (0, P.useRef)(null), a = TS(n);+ Mb(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -37937,8 +37944,8 @@ function eR(e, t, n, r) {}// node_modules/react-aria-components/dist/private/Popover.mjsvar tR = /*#__PURE__*/ (0, P.createContext)(null), nR = /*#__PURE__*/ (0, P.createContext)(null), rR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = hI(e, t, tR);- let n = (0, P.useContext)(hR), r = ZL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = $L(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Ax(), { direction: c } = lS();+ [e, t] = lI(e, t, tR);+ let n = (0, P.useContext)(hR), r = ZL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = $L(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = eS(), { direction: c } = NS();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -37949,7 +37956,7 @@ var tR = /*#__PURE__*/ (0, P.createContext)(null), nR = /*#__PURE__*/ (0, P.creadefaultChildren: null})), /*#__PURE__*/ P.createElement(P.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ P.createElement($ue, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ P.createElement(ede, {...e,triggerRef: e.triggerRef,state: i,@@ -37958,13 +37965,13 @@ var tR = /*#__PURE__*/ (0, P.createContext)(null), nR = /*#__PURE__*/ (0, P.creadir: c});});-function $ue({ 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)(nR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, P.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = eoe({+function ede({ 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)(nR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, P.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Vae({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = QL(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = pI({+ }, e), g = i.popoverRef, _ = QL(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = sI({...i,defaultClassName: "react-aria-Popover",values: {@@ -37974,10 +37981,10 @@ function $ue({ 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");- pb(() => {+ Mb(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, P.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Zb() !== "pointer") && g.current && !sb(g.current) && cx(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || xx() !== "pointer") && g.current && !Sb(g.current) && Mx(g.current);}, [x,g,@@ -37990,7 +37997,7 @@ function $ue({ 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]);- pb(E, [E]), gE({+ Mb(E, [E]), VE({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -38000,9 +38007,9 @@ function $ue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- pb(() => aD(() => u(!0)), []);- let O = /*#__PURE__*/ P.createElement(yI.div, {- ...K(OS(i, { global: !0 }), d),+ Mb(() => AD(() => u(!0)), []);+ let O = /*#__PURE__*/ P.createElement(mI.div, {+ ...K(VS(i, { global: !0 }), d),...y,id: x ? i.id : void 0,role: x ? "dialog" : void 0,@@ -38017,17 +38024,17 @@ function $ue({ 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(QE, { onDismiss: e.close }), /*#__PURE__*/ P.createElement(Que.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ P.createElement(CD, { onDismiss: e.close }), /*#__PURE__*/ P.createElement($ue.Provider, { value: {...p,placement: m,ref: a- } }, C), /*#__PURE__*/ P.createElement(QE, { onDismiss: e.close }));- return c ? /*#__PURE__*/ P.createElement(fT, {+ } }, C), /*#__PURE__*/ P.createElement(CD, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ P.createElement(LT, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,portalContainer: n ?? s?.current ?? void 0- }, O) : /*#__PURE__*/ P.createElement(fT, {+ }, O) : /*#__PURE__*/ P.createElement(LT, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,@@ -38045,7 +38052,7 @@ function $ue({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}, /*#__PURE__*/ P.createElement(nR.Provider, { value: o }, O)));}// node_modules/react-aria-components/dist/private/Keyboard.mjs-var ede = /*#__PURE__*/ (0, P.createContext)({});+var tde = /*#__PURE__*/ (0, P.createContext)({});// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjsfunction iR(e) {let t = ZL(e), [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)([]), o = () => {@@ -38073,7 +38080,7 @@ function iR(e) {};}// node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var tde = class {+var nde = class {constructor(e, { expandedKeys: t } = {}) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();let n = (e) => {@@ -38117,7 +38124,7 @@ var tde = class {};// node_modules/react-stately/dist/private/tree/useTreeState.mjsfunction aR(e) {- let { onExpandedChange: t } = e, [n, r] = BC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = zL(e), a = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = WL(e, (0, P.useCallback)((e) => new tde(e, { expandedKeys: n }), [n]), null);+ 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 = zL(e), a = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = WL(e, (0, P.useCallback)((e) => new nde(e, { expandedKeys: n }), [n]), null);return (0, P.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -38125,24 +38132,24 @@ function aR(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(nde(n, e));+ r(rde(n, e));},setExpandedKeys: r,selectionManager: new VL(o, i)};}-function nde(e, t) {+function rde(e, t) {let n = new Set(e);return n.has(t) ? n.delete(t) : n.add(t), n;}// node_modules/react-aria-components/dist/private/Menu.mjsvar oR = /*#__PURE__*/ (0, P.createContext)(null), sR = /*#__PURE__*/ (0, P.createContext)(null), cR = /*#__PURE__*/ (0, P.createContext)(null), lR = /*#__PURE__*/ (0, P.createContext)(null);-function rde(e) {- let t = iR(e), n = (0, P.useRef)(null), { menuTriggerProps: r, menuProps: i } = qw({+function ide(e) {+ let t = iR(e), n = (0, P.useRef)(null), { menuTriggerProps: r, menuProps: i } = vT({...e,type: "menu"}, t, n), a = (0, P.useRef)(null);- return Ax() ? null : /*#__PURE__*/ P.createElement(fI, { values: [+ return eS() ? null : /*#__PURE__*/ P.createElement(oI, { values: [[oR, {...i,ref: a@@ -38157,14 +38164,14 @@ function rde(e) {"aria-labelledby": i["aria-labelledby"],offset: e.trigger === "contextMenu" ? 0 : void 0}]- ] }, /*#__PURE__*/ P.createElement(Sae, {+ ] }, /*#__PURE__*/ P.createElement(Qie, {...r,ref: n,isPressed: t.isOpen}, e.children));}-var ide = /*#__PURE__*/ (0, P.createContext)(null);-(class extends Vy {+var ade = /*#__PURE__*/ (0, P.createContext)(null);+(class extends nb {static {this.type = "submenutrigger";}@@ -38177,24 +38184,24 @@ var ide = /*#__PURE__*/ (0, P.createContext)(null);return null;}});-var ade = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- return [e, t] = hI(e, t, oR), /*#__PURE__*/ P.createElement(Px, { content: /*#__PURE__*/ P.createElement(Vx, e) }, (n) => /*#__PURE__*/ P.createElement(ode, {+var ode = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ return [e, t] = lI(e, t, oR), /*#__PURE__*/ P.createElement(iS, { content: /*#__PURE__*/ P.createElement(dS, e) }, (n) => /*#__PURE__*/ P.createElement(sde, {props: e,collection: n,menuRef: t}));});-function ode({ props: e, collection: t, menuRef: n }) {- [e, n] = hI(e, n, bI);+function sde({ props: e, collection: t, menuRef: n }) {+ [e, n] = lI(e, n, hI);let { filter: r, ...i } = e, a = (0, P.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = aR({...e,collection: a,children: void 0- }), s = (0, P.useContext)(cR), { isVirtualized: c, CollectionRoot: l } = (0, P.useContext)(TI), { menuProps: u } = Bae({+ }), s = (0, P.useContext)(cR), { isVirtualized: c, CollectionRoot: l } = (0, P.useContext)(xI), { menuProps: u } = gae({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = pI({+ }, o, n), d = sI({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -38204,36 +38211,36 @@ function ode({ props: e, collection: t, menuRef: n }) {role: "menuitem",style: { display: "contents" }}, e.renderEmptyState()));- let p = OS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(QS, null, /*#__PURE__*/ P.createElement(yI.div, {+ let p = VS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(dC, null, /*#__PURE__*/ P.createElement(mI.div, {...K(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ P.createElement(fI, { values: [+ }, /*#__PURE__*/ P.createElement(oI, { values: [[sR, o],[FL, { elementType: "div" }],- [SI, {+ [_I, {name: "MenuSection",render: uR}],- [ide, {+ [ade, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],[fR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],- [bI, null],- [xI, null],+ [hI, null],+ [gI, null],[lR, o.selectionManager],[cR, s ?? iR({})]] }, /*#__PURE__*/ P.createElement(NL, null, /*#__PURE__*/ P.createElement(l, {collection: o.collection,- persistedKeys: EI(o.selectionManager.focusedKey),+ persistedKeys: SI(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var sde = class extends VL {+var cde = class extends VL {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -38254,10 +38261,10 @@ var sde = class extends VL {}};function uR(e, t, n, r = "react-aria-MenuSection") {- let i = (0, P.useContext)(sR), { CollectionBranch: a } = (0, P.useContext)(TI), [o, s] = gI(), { headingProps: c, groupProps: l } = Hae({+ let i = (0, P.useContext)(sR), { CollectionBranch: a } = (0, P.useContext)(xI), [o, s] = uI(), { headingProps: c, groupProps: l } = vae({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = pI({+ }), u = sI({...e,id: void 0,children: void 0,@@ -38265,11 +38272,11 @@ function uR(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, P.useContext)(lR), f = zL(e), p = e.selectionMode == null ? d : new sde(d, f), m = mI(fR)?.shouldCloseOnSelect, h = OS(e, { global: !0 });- return delete h.id, /*#__PURE__*/ P.createElement(yI.section, {+ }), d = (0, P.useContext)(lR), f = zL(e), p = e.selectionMode == null ? d : new cde(d, f), m = cI(fR)?.shouldCloseOnSelect, h = VS(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ P.createElement(mI.section, {...K(h, u, l),ref: t- }, /*#__PURE__*/ P.createElement(fI, { values: [+ }, /*#__PURE__*/ P.createElement(oI, { values: [[ML, {...c,ref: o@@ -38281,15 +38288,15 @@ function uR(e, t, n, r = "react-aria-MenuSection") {parent: n})));}-var dR = /*#__PURE__*/ Rx(dre, uR), fR = /*#__PURE__*/ (0, P.createContext)(null), pR = /*#__PURE__*/ Lx(Wy, function(e, t, n) {- [e, t] = hI(e, t, fR);- let r = mI(fR)?.id, i = (0, P.useContext)(sR), a = wx(t), o = (0, P.useContext)(lR), { isVirtualized: s } = (0, P.useContext)(TI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Vae({+var dR = /*#__PURE__*/ cS(Zne, uR), fR = /*#__PURE__*/ (0, P.createContext)(null), pR = /*#__PURE__*/ sS(ab, function(e, t, n) {+ [e, t] = lI(e, t, fR);+ let r = cI(fR)?.id, i = (0, P.useContext)(sR), a = Jx(t), o = (0, P.useContext)(lR), { isVirtualized: s } = (0, P.useContext)(xI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = _ae({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = vT({ isDisabled: f.isDisabled }), h = pI({+ }, i, a), { hoverProps: p, isHovered: m } = UT({ isDisabled: f.isDisabled }), h = sI({...e,id: void 0,children: n.rendered,@@ -38303,7 +38310,7 @@ var dR = /*#__PURE__*/ Rx(dre, uR), fR = /*#__PURE__*/ (0, P.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? yI.a : yI.div, _ = OS(e, { global: !0 });+ }), g = e.href ? mI.a : mI.div, _ = VS(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(g, {...K(_, h, c, p),ref: a,@@ -38316,17 +38323,17 @@ var dR = /*#__PURE__*/ Rx(dre, uR), fR = /*#__PURE__*/ (0, P.createContext)(null"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,"data-has-submenu": !!e["aria-haspopup"] || void 0,"data-open": e["aria-expanded"] === "true" || void 0- }, /*#__PURE__*/ P.createElement(fI, { values: [- [NI, { slots: {- [dI]: l,+ }, /*#__PURE__*/ P.createElement(oI, { values: [+ [MI, { slots: {+ [aI]: l,label: l,description: u} }],- [ede, d],+ [tde, d],[PL, { isSelected: f.isSelected }]] }, h.children));});-Lx(Uy, function(e, t, n) {+sS(ib, function(e, t, n) {let r = (0, P.useContext)(sR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);qL((0, P.useMemo)(() => ({onLoadMore: a,@@ -38338,7 +38345,7 @@ Lx(Uy, function(e, t, n) {o,r?.collection]), c);- let l = pI({+ let l = sI({...s,id: void 0,children: n.rendered,@@ -38360,8 +38367,8 @@ Lx(Uy, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(yI.div, {- ...K(OS(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(mI.div, {+ ...K(VS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",ref: t@@ -38370,44 +38377,44 @@ Lx(Uy, function(e, t, n) {// node_modules/react-aria-components/dist/private/Dialog.mjsvar mR = /*#__PURE__*/ (0, P.createContext)(null), hR = /*#__PURE__*/ (0, P.createContext)(null), gR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = hI(e, t, mR);- let { dialogProps: r, titleProps: i, contentProps: a } = wae({+ [e, t] = lI(e, t, mR);+ let { dialogProps: r, titleProps: i, contentProps: a } = eae({...e,"aria-labelledby": n}, t), o = (0, P.useContext)(hR);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = pI({+ let s = sI({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = OS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(yI.section, {+ }), c = VS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(mI.section, {...K(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ P.createElement(fI, { values: [- [jI, { slots: {- [dI]: {},+ }, /*#__PURE__*/ P.createElement(oI, { values: [+ [AI, { slots: {+ [aI]: {},title: {...i,level: 2}} }],- [NI, { slots: {- [dI]: {},+ [MI, { slots: {+ [aI]: {},description: a} }],- [kI, { slots: {- [dI]: {},+ [EI, { slots: {+ [aI]: {},close: { onPress: () => o?.close() }} }]] }, s.children));}), _R = typeof document < "u" && window.visualViewport;-function cde() {- let e = Fb(), t = (0, P.useRef)(null), [n, r] = (0, P.useState)(() => e ? {+function lde() {+ let e = ax(), t = (0, P.useRef)(null), [n, r] = (0, P.useState)(() => e ? {width: 0,height: 0} : vR());@@ -38417,15 +38424,15 @@ function cde() {}, n = () => {_R && _R.scale > 1 || e(vR());}, i = (n) => {- _R && _R.scale > 1 || Qx(G(n)) && (t.current = aD((t) => {+ _R && _R.scale > 1 || SS(G(n)) && (t.current = AD((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(vR()), Cb() && wb() && window.addEventListener("blur", i, !0), _R ? _R.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), Cb() && wb() && window.removeEventListener("blur", i, !0), _R ? _R.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(vR()), Wb() && Kb() && window.addEventListener("blur", i, !0), _R ? _R.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), Wb() && Kb() && window.removeEventListener("blur", i, !0), _R ? _R.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}@@ -38436,7 +38443,7 @@ function vR() {};}// node_modules/react-aria-components/dist/private/Modal.mjs-var lde = /*#__PURE__*/ (0, P.createContext)(null), yR = /*#__PURE__*/ (0, P.createContext)(null), ude = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+var ude = /*#__PURE__*/ (0, P.createContext)(null), yR = /*#__PURE__*/ (0, P.createContext)(null), dde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {if ((0, P.useContext)(yR)) return /*#__PURE__*/ P.createElement(xR, {...e,modalRef: t@@ -38457,10 +38464,10 @@ var lde = /*#__PURE__*/ (0, P.createContext)(null), yR = /*#__PURE__*/ (0, P.cremodalRef: t}, s));});-function dde(e, t) {- [e, t] = hI(e, t, lde);- let n = (0, P.useContext)(hR), r = ZL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = wx(t), o = (0, P.useRef)(null), s = $L(a, i.isOpen, e.onExit), c = (0, P.useRef)(null), l = $L(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Fb();- return !i.isOpen && !u || d ? null : /*#__PURE__*/ P.createElement(fde, {+function fde(e, t) {+ [e, t] = lI(e, t, ude);+ let n = (0, P.useContext)(hR), r = ZL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Jx(t), o = (0, P.useRef)(null), s = $L(a, i.isOpen, e.onExit), c = (0, P.useRef)(null), l = $L(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = ax();+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ P.createElement(pde, {...e,state: i,isExiting: u,@@ -38469,12 +38476,12 @@ function dde(e, t) {onExitRef: c});}-var bR = /*#__PURE__*/ (0, P.forwardRef)(dde);-function fde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, P.useState)(!1), s = QL(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = hD({+var bR = /*#__PURE__*/ (0, P.forwardRef)(fde);+function pde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {+ let r = n.modalRef, { state: i } = n, [a, o] = (0, P.useState)(!1), s = QL(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = kae({...n,isEntering: c- }, i, r), d = (0, P.useContext)(mR), f = t ? pde(d, { isEntering: c }) : d, p = pI({+ }, i, r), d = (0, P.useContext)(mR), f = t ? mde(d, { isEntering: c }) : d, p = sI({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -38482,9 +38489,9 @@ function fde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisExiting: n.isExiting,state: i}- }), m = cde(), h, g;+ }), m = lde(), h, g;if (typeof document < "u") {- let e = _C(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = NC(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 _ = {@@ -38494,17 +38501,17 @@ function fde({ 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 pb(() => aD(() => o(!0)), []), /*#__PURE__*/ P.createElement(fT, {+ return Mb(() => AD(() => o(!0)), []), /*#__PURE__*/ P.createElement(LT, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ P.createElement(yI.div, {- ...K(OS(n, { global: !0 }), u),+ }, /*#__PURE__*/ P.createElement(mI.div, {+ ...K(VS(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ P.createElement(fI, { values: [+ }, /*#__PURE__*/ P.createElement(oI, { values: [[yR, {modalProps: l,modalRef: r,@@ -38517,7 +38524,7 @@ function fde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n[mR, f]] }, p.children)));}-function pde(e, t) {+function mde(e, t) {if (e && "slots" in e && e.slots) {let n = {};for (let r in e.slots) n[r] = {@@ -38535,7 +38542,7 @@ function pde(e, t) {};}function xR(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, P.useContext)(yR), s = (0, P.useContext)(hR), c = wx((0, P.useMemo)(() => hx(e.modalRef, n), [e.modalRef, n])), l = QL(c, o, e.onEnter), u = pI({+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, P.useContext)(yR), s = (0, P.useContext)(hR), c = Jx((0, P.useMemo)(() => zx(e.modalRef, n), [e.modalRef, n])), l = QL(c, o, e.onEnter), u = sI({...e,defaultClassName: "react-aria-Modal",values: {@@ -38544,20 +38551,20 @@ function xR(e) {state: s}});- return pb(() => {+ return Mb(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ P.createElement(yI.div, {- ...K(OS(e, { global: !0 }), t),+ }), /*#__PURE__*/ P.createElement(mI.div, {+ ...K(VS(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,"data-exiting": r || void 0- }, a && /*#__PURE__*/ P.createElement(QE, { onDismiss: s.close }), u.children);+ }, a && /*#__PURE__*/ P.createElement(CD, { onDismiss: s.close }), u.children);}// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var mde = Math.round(Math.random() * 1e10), hde = 0;-function gde(e) {- let t = (0, P.useMemo)(() => e.name || `radio-group-${mde}-${++hde}`, [e.name]), [n, r] = BC(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = jC({+var hde = Math.round(Math.random() * 1e10), gde = 0;+function _de(e) {+ let t = (0, P.useMemo)(() => e.name || `radio-group-${hde}-${++gde}`, [e.name]), [n, r] = dw(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = ew({...e,value: n}), c = (t) => {@@ -38579,16 +38586,16 @@ function gde(e) {};}// node_modules/react-aria-components/dist/private/RadioGroup.mjs-var _de = /*#__PURE__*/ (0, P.createContext)(null), vde = /*#__PURE__*/ (0, P.createContext)(null), SR = /*#__PURE__*/ (0, P.createContext)(null), CR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = hI(e, t, _de);- let { validationBehavior: n } = mI(FI) || {}, r = e.validationBehavior ?? n ?? "native", i = gde({+var vde = /*#__PURE__*/ (0, P.createContext)(null), yde = /*#__PURE__*/ (0, P.createContext)(null), SR = /*#__PURE__*/ (0, P.createContext)(null), CR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = lI(e, t, vde);+ let { validationBehavior: n } = cI(FI) || {}, r = e.validationBehavior ?? n ?? "native", i = _de({...e,validationBehavior: r- }), [a, o] = gI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = noe({+ }), [a, o] = uI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Uae({...e,label: o,validationBehavior: r- }, i), f = pI({+ }, i), f = sI({...e,values: {orientation: e.orientation || "vertical",@@ -38599,8 +38606,8 @@ var _de = /*#__PURE__*/ (0, P.createContext)(null), vde = /*#__PURE__*/ (0, P.crstate: i},defaultClassName: "react-aria-RadioGroup"- }), p = OS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(yI.div, {+ }), p = VS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(mI.div, {...K(p, f, s),ref: t,slot: e.slot || void 0,@@ -38609,14 +38616,14 @@ var _de = /*#__PURE__*/ (0, P.createContext)(null), vde = /*#__PURE__*/ (0, P.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ P.createElement(fI, { values: [+ }, /*#__PURE__*/ P.createElement(oI, { values: [[SR, i],- [DI, {+ [CI, {...c,ref: a,elementType: "span"}],- [NI, { slots: {+ [MI, { slots: {description: l,errorMessage: u} }],@@ -38624,24 +38631,24 @@ var _de = /*#__PURE__*/ (0, P.createContext)(null), vde = /*#__PURE__*/ (0, P.cr] }, /*#__PURE__*/ P.createElement(NL, null, f.children)));}), wR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = hI(r, t, vde);- let i = P.useContext(SR), a = wx((0, P.useMemo)(() => hx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = toe({- ..._I(e),+ [e, t] = lI(r, t, yde);+ let i = P.useContext(SR), a = Jx((0, P.useMemo)(() => zx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Hae({+ ...dI(e),children: typeof e.children == "function" || e.children}, i, a);return /*#__PURE__*/ P.createElement(TR.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ P.createElement(yde, {+ } }, /*#__PURE__*/ P.createElement(bde, {...e,ref: t}));-}), TR = /*#__PURE__*/ (0, P.createContext)(null), yde = /*#__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)(TR), l = P.useContext(SR), { isFocused: u, isFocusVisible: d, focusProps: f } = mT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = vT({+}), TR = /*#__PURE__*/ (0, P.createContext)(null), bde = /*#__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)(TR), l = P.useContext(SR), { isFocused: u, isFocusVisible: d, focusProps: f } = zT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = UT({...e,isDisabled: p- }), g = pI({+ }), g = sI({...e,defaultClassName: s,values: {@@ -38655,8 +38662,8 @@ var _de = /*#__PURE__*/ (0, P.createContext)(null), vde = /*#__PURE__*/ (0, P.crisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = OS(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(yI.label, {+ }), _ = VS(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(mI.label, {...K(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -38668,18 +38675,18 @@ var _de = /*#__PURE__*/ (0, P.createContext)(null), vde = /*#__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(XC, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {+ }, /*#__PURE__*/ P.createElement(xw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {...K(r, f),ref: c})), g.children);});// node_modules/react-stately/dist/private/select/useSelectState.mjs-function bde(e) {+function xde(e) {let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = ZL(e), [i, a] = (0, P.useState)(null), o = (0, P.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t- ]), [s, c] = BC((0, P.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ ]), [s, c] = dw((0, P.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [e.value,e.selectedKey,t@@ -38696,7 +38703,7 @@ function bde(e) {selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, P.useMemo)(() => xde(l), [l]),+ selectedKeys: (0, P.useMemo)(() => Sde(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -38706,7 +38713,7 @@ function bde(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 = jC({+ }), 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 = ew({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, P.useState)(!1), [_] = (0, P.useState)(l);@@ -38733,15 +38740,15 @@ function bde(e) {setFocused: g};}-function xde(e) {+function Sde(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}// node_modules/react-aria-components/dist/private/Select.mjs-function Sde(e) {+function Cde(e) {return e && e.__esModule ? e.default : e;}-var ER = /*#__PURE__*/ (0, P.createContext)(null), DR = /*#__PURE__*/ (0, P.createContext)(null), Cde = /*#__PURE__*/ kx(function(e, t) {- [e, t] = hI(e, t, ER);+var ER = /*#__PURE__*/ (0, P.createContext)(null), DR = /*#__PURE__*/ (0, P.createContext)(null), wde = /*#__PURE__*/ $x(function(e, t) {+ [e, t] = lI(e, t, ER);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, P.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -38756,24 +38763,24 @@ var ER = /*#__PURE__*/ (0, P.createContext)(null), DR = /*#__PURE__*/ (0, P.creai,a]);- return /*#__PURE__*/ P.createElement(Px, { content: o }, (n) => /*#__PURE__*/ P.createElement(Tde, {+ return /*#__PURE__*/ P.createElement(iS, { content: o }, (n) => /*#__PURE__*/ P.createElement(Ede, {props: e,collection: n,selectRef: t}));-}), wde = [- DI,- kI,- NI+}), Tde = [+ CI,+ EI,+ MI];-function Tde({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = mI(FI) || {}, i = e.validationBehavior ?? r ?? "native", a = bde({+function Ede({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = cI(FI) || {}, i = e.validationBehavior ?? r ?? "native", a = xde({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = mT({ within: !0 }), c = (0, P.useRef)(null), [l, u] = gI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = roe({- ..._I(e),+ }), { isFocusVisible: o, focusProps: s } = zT({ within: !0 }), c = (0, P.useRef)(null), [l, u] = uI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Wae({+ ...dI(e),label: u,validationBehavior: i}, a, c), y = (0, P.useMemo)(() => ({@@ -38790,23 +38797,23 @@ function Tde({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = pI({+ ]), b = sI({...e,values: y,defaultClassName: "react-aria-Select"- }), x = OS(e, { global: !0 });+ }), x = VS(e, { global: !0 });delete x.id;let S = (0, P.useRef)(null);- return /*#__PURE__*/ P.createElement(fI, { values: [+ return /*#__PURE__*/ P.createElement(oI, { values: [[ER, e],[DR, a],[OR, p],- [DI, {+ [CI, {...d,ref: l,elementType: "span"}],- [kI, {+ [EI, {...f,ref: c,isPressed: a.isOpen,@@ -38819,19 +38826,19 @@ function Tde({ props: e, selectRef: t, collection: n }) {scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: wde+ clearContexts: Tde}],[JL, {...m,ref: S}],[YL, a],- [NI, { slots: {+ [MI, { slots: {description: h,errorMessage: g} }],[PI, v]- ] }, /*#__PURE__*/ P.createElement(yI.div, {+ ] }, /*#__PURE__*/ P.createElement(mI.div, {...K(x, b, s),ref: t,slot: e.slot || void 0,@@ -38841,14 +38848,14 @@ function Tde({ 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(aoe, {+ }, b.children, /*#__PURE__*/ P.createElement(Kae, {..._,autoComplete: e.autoComplete})));}-for (var OR = /*#__PURE__*/ (0, P.createContext)(null), Ede = /*#__PURE__*/ kx(function(e, t) {- [e, t] = hI(e, t, OR);- let n = (0, P.useContext)(DR), { placeholder: r } = mI(ER), i = n.selectedItems.map((e) => {+for (var OR = /*#__PURE__*/ (0, P.createContext)(null), Dde = /*#__PURE__*/ $x(function(e, t) {+ [e, t] = lI(e, t, OR);+ let n = (0, P.useContext)(DR), { placeholder: r } = cI(ER), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -38860,7 +38867,7 @@ for (var OR = /*#__PURE__*/ (0, P.createContext)(null), Ede = /*#__PURE__*/ kx(fselectionMode: "single",selectionBehavior: "toggle"})), t;- }), a = Tae(), 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 = tae(), 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@@ -38875,7 +38882,7 @@ for (var OR = /*#__PURE__*/ (0, P.createContext)(null), Ede = /*#__PURE__*/ kx(fa,o,i- ]), u = xS(Sde(DL), "react-aria-components"), d = pI({+ ]), u = zS(Cde(DL), "react-aria-components"), d = sI({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -38886,33 +38893,33 @@ for (var OR = /*#__PURE__*/ (0, P.createContext)(null), Ede = /*#__PURE__*/ kx(fisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = OS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(yI.span, {+ }), f = VS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(mI.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ P.createElement(NI.Provider, { value: void 0 }, d.children));-}), Dde = /*#__PURE__*/ (0, P.createContext)(null), kR = /*#__PURE__*/ (0, P.createContext)(null), Ode = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ P.createElement(MI.Provider, { value: void 0 }, d.children));+}), Ode = /*#__PURE__*/ (0, P.createContext)(null), kR = /*#__PURE__*/ (0, P.createContext)(null), kde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = hI(r, t, Dde);- let i = wx((0, P.useMemo)(() => hx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = VC(e), o = soe({- ..._I(e),+ [e, t] = lI(r, t, Ode);+ let i = Jx((0, P.useMemo)(() => zx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = fw(e), o = Jae({+ ...dI(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ P.createElement(fI, { values: [[kR, a], [AR, {+ return /*#__PURE__*/ P.createElement(oI, { values: [[kR, a], [AR, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ P.createElement(kde, {+ }]] }, /*#__PURE__*/ P.createElement(Ade, {...e,ref: t}));-}), AR = /*#__PURE__*/ (0, P.createContext)(null), kde = /*#__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)(AR), { isFocused: f, isFocusVisible: p, focusProps: m } = mT(), h = a || o, g = (0, P.useContext)(kR), { hoverProps: _, isHovered: v } = vT({+}), AR = /*#__PURE__*/ (0, P.createContext)(null), Ade = /*#__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)(AR), { isFocused: f, isFocusVisible: p, focusProps: m } = zT(), h = a || o, g = (0, P.useContext)(kR), { hoverProps: _, isHovered: v } = UT({...e,isDisabled: h- }), y = pI({+ }), y = sI({...e,defaultClassName: u,values: {@@ -38927,8 +38934,8 @@ for (var OR = /*#__PURE__*/ (0, P.createContext)(null), Ede = /*#__PURE__*/ kx(fisRequired: d || !1,state: g}- }), b = OS(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(yI.label, {+ }), b = VS(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(mI.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -38941,7 +38948,7 @@ for (var OR = /*#__PURE__*/ (0, P.createContext)(null), Ede = /*#__PURE__*/ kx(f"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": d || void 0- }, /*#__PURE__*/ P.createElement(XC, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {+ }, /*#__PURE__*/ P.createElement(xw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {...K(r, m),ref: l})), y.children);@@ -39053,7 +39060,7 @@ for (var OR = /*#__PURE__*/ (0, P.createContext)(null), Ede = /*#__PURE__*/ kx(fboundaryContext: null};}-}, Ade = class {+}, jde = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -39208,7 +39215,7 @@ function IR(e, t) {textValue: ""}));}-var jde = class extends Ade {+var Mde = class extends jde {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {@@ -39282,10 +39289,10 @@ var jde = class extends Ade {return this.keyMap.get(e)?.nextKey ?? null;}getFirstKey() {- return $w(this.body.childNodes)?.key ?? null;+ return wT(this.body.childNodes)?.key ?? null;}getLastKey() {- return tT(this.body.childNodes)?.key ?? null;+ return ET(this.body.childNodes)?.key ?? null;}getItem(e) {return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;@@ -39316,10 +39323,10 @@ var jde = class extends Ade {}};// node_modules/react-stately/dist/private/table/TableUtils.mjs-function Mde(e) {+function Nde(e) {return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);}-function Nde(e) {+function Pde(e) {if (!e || typeof e == "number") return 1;let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;@@ -39338,12 +39345,12 @@ function RR(e, t) {function zR(e, t) {return e == null ? 0 : LR(e, t);}-function Pde(e, t, n, r, i) {+function Fde(e, t, n, r, i) {let a = e, o = Math.floor(e), s = e - o > 0;e = o;let c = !1, l = t.map((t, a) => {let o = n.get(t.key) == null ? t.width ?? t.defaultWidth ?? r?.(a) ?? "1fr" : n.get(t.key) ?? "1fr", s = !1, l = 0, u = 0, d = 0;- Mde(o) ? (l = LR(o, e), s = !0) : (u = Nde(o), u <= 0 && (s = !0));+ Nde(o) ? (l = LR(o, e), s = !0) : (u = Pde(o), u <= 0 && (s = !0));let f = zR(t.minWidth ?? i?.(a) ?? 0, e), p = RR(t.maxWidth, e), m = Math.max(f, Math.min(l, p));return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {frozen: s,@@ -39378,14 +39385,14 @@ function Pde(e, t, n, r, i) {i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);});}- let u = Fde(l);+ let u = Ide(l);if (s && u.length > 0) {let e = a.toString().split(".")[1], t = u[u.length - 1].toString();u[u.length - 1] = Number(t + "." + e);}return u;}-function Fde(e) {+function Ide(e) {let t = 0, n = 0, r = [];return e.forEach(function(e) {let i = e.targetMainSize, a = Math.round(i + t) - n;@@ -39393,7 +39400,7 @@ function Fde(e) {}), r;}// node_modules/react-stately/dist/private/table/TableColumnLayout.mjs-var Ide = class {+var Lde = class {constructor(e) {this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), this.getDefaultWidth = e?.getDefaultWidth ?? (() => "1fr"), this.getDefaultMinWidth = e?.getDefaultMinWidth ?? (() => 75);}@@ -39422,7 +39429,7 @@ var Ide = class {}), o;}buildColumnWidths(e, t, n) {- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Pde(e, t.columns.map((e) => ({+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Fde(e, t.columns.map((e) => ({...e.props,key: e.key})), n, (e) => this.getDefaultWidth(t.columns[e]), (e) => this.getDefaultMinWidth(t.columns[e])).forEach((n, r) => {@@ -39432,8 +39439,8 @@ var Ide = class {}};// node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs-function Lde(e, t) {- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, P.useState)(null), s = (0, P.useMemo)(() => new Ide({+function Rde(e, t) {+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, P.useState)(null), s = (0, P.useMemo)(() => new Lde({getDefaultWidth: n,getDefaultMinWidth: r}), [n, r]), [c, l] = (0, P.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, P.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, P.useState)(t.collection.columns);@@ -39484,14 +39491,14 @@ function Lde(e, t) {]);}// node_modules/react-stately/dist/private/grid/useGridState.mjs-function Rde(e) {+function zde(e) {let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || zL(e), i = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;r.setFocusedKey = (e, r) => {if (n === "cell" && e != null) {let n = t.getItem(e);if (n?.type === "item") {- let i = Qw(n, t);- e = r === "last" ? tT(i)?.key ?? null : $w(i)?.key ?? null;+ let i = CT(n, t);+ e = r === "last" ? ET(i)?.key ?? null : wT(i)?.key ?? null;}}a(e, r);@@ -39516,7 +39523,7 @@ function Rde(e) {}}if (u) {- let i = u.hasChildNodes ? [...Qw(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ let i = u.hasChildNodes ? [...CT(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;r.setFocusedKey(a);} else r.setFocusedKey(null);}@@ -39534,11 +39541,11 @@ function Rde(e) {};}// node_modules/react-stately/dist/private/table/useTableState.mjs-var zde = {+var Bde = {ascending: "descending",descending: "ascending"};-function Bde(e) {+function Vde(e) {let [t, n] = (0, P.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, P.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -39549,11 +39556,11 @@ function Bde(e) {i,r,a- ]), c = WL(e, (0, P.useCallback)((e) => new jde(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Rde({+ ]), c = WL(e, (0, P.useCallback)((e) => new Mde(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = zde({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"- }), [d, f] = BC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ }), [d, f] = dw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);return {collection: c,disabledKeys: l,@@ -39565,7 +39572,7 @@ function Bde(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? zde[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? Bde[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -39578,7 +39585,7 @@ function Bde(e) {treeColumn: o};}-function Vde(e, t) {+function Hde(e, t) {let n = (0, P.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -39587,10 +39594,10 @@ function Vde(e, t) {};}// node_modules/react-aria-components/dist/private/Table.mjs-function Hde(e) {+function Ude(e) {return e && e.__esModule ? e.default : e;}-var Ude = class extends Gy {+var Wde = class extends ob {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -39714,26 +39721,26 @@ var Ude = class extends Gy {constructor(...e) {super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new WR(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, BR = /*#__PURE__*/ (0, P.createContext)(null), Wde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let n = wx(t), r = (0, P.useRef)(null), i = (0, P.useRef)(null), [a, o] = (0, P.useState)(0);- pb(() => {+}, BR = /*#__PURE__*/ (0, P.createContext)(null), Gde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let n = Jx(t), r = (0, P.useRef)(null), i = (0, P.useRef)(null), [a, o] = (0, P.useState)(0);+ Mb(() => {let e = r.current;- for (; e && e !== n.current && !_C(e);) e = e.parentElement;+ for (; e && e !== n.current && !NC(e);) e = e.parentElement;i.current = e;- }, [n]), gE({+ }, [n]), VE({ref: i,box: "border-box",onResize() {o(i.current?.clientWidth ?? 0);}- }), pb(() => {+ }), Mb(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, P.useMemo)(() => ({tableRef: r,scrollRef: i,tableWidth: a,- useTableColumnResizeState: Lde,+ useTableColumnResizeState: Rde,onResizeStart: e.onResizeStart,onResize: e.onResize,onResizeEnd: e.onResizeEnd@@ -39744,16 +39751,16 @@ var Ude = class extends Gy {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ P.createElement(yI.div, {+ return /*#__PURE__*/ P.createElement(mI.div, {render: e.render,- ...OS(e, { global: !0 }),+ ...VS(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll}, /*#__PURE__*/ P.createElement(BR.Provider, { value: s }, e.children));-}), Gde = /*#__PURE__*/ (0, P.createContext)(null), VR = /*#__PURE__*/ (0, P.createContext)(null), HR = /*#__PURE__*/ (0, P.createContext)(null), Kde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = hI(e, t, Gde);+}), Kde = /*#__PURE__*/ (0, P.createContext)(null), VR = /*#__PURE__*/ (0, P.createContext)(null), HR = /*#__PURE__*/ (0, P.createContext)(null), qde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = lI(e, t, Kde);let n = zL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, P.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,@@ -39764,22 +39771,22 @@ var Ude = class extends Gy {i,a,o- ]), c = /*#__PURE__*/ P.createElement(Yde.Provider, { value: s }, /*#__PURE__*/ P.createElement(Vx, e));- return /*#__PURE__*/ P.createElement(Px, {+ ]), c = /*#__PURE__*/ P.createElement(Xde.Provider, { value: s }, /*#__PURE__*/ P.createElement(dS, e));+ return /*#__PURE__*/ P.createElement(iS, {content: c,- createCollection: () => new Ude()- }, (r) => /*#__PURE__*/ P.createElement(Jde, {+ createCollection: () => new Wde()+ }, (r) => /*#__PURE__*/ P.createElement(Yde, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), qde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(TI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+}), Jde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(xI);+ return n ? /*#__PURE__*/ P.createElement(mI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.table, {+ }) : /*#__PURE__*/ P.createElement(mI.table, {...e,ref: t});@@ -39793,26 +39800,26 @@ var Ude = class extends Gy {rtl: "ArrowRight"}};-function Jde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = hI(e, t, bI);+function Yde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = lI(e, t, hI);let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, P.useContext)(BR);- t = wx((0, P.useMemo)(() => hx(t, c?.tableRef), [t, c?.tableRef]));- let [l, u] = BC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ t = Jx((0, P.useMemo)(() => zx(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);r = (0, P.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = Bde({+ let d = Vde({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = Vde(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(TI), { dragAndDropHooks: _ } = e, { gridProps: v } = foe({+ }), f = Hde(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(xI), { dragAndDropHooks: _ } = e, { gridProps: v } = $ae({...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 } = lS(), [k] = (0, P.useState)(() => new NR());+ let S, C, w, T = !1, E = null, D = (0, P.useRef)(null), { direction: O } = NS(), [k] = (0, P.useState)(() => new NR());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -39827,7 +39834,7 @@ function Jde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {collection: f.collection,selectionManager: y});- let e = new lw({+ let e = new Pw({collection: f.collection,disabledKeys: y.disabledKeys,disabledBehavior: y.disabledBehavior,@@ -39852,7 +39859,7 @@ function Jde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: A, isFocused: j, isFocusVisible: M } = mT(), ee = pI({+ let { focusProps: A, isFocused: j, isFocusVisible: M } = zT(), ee = sI({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -39868,8 +39875,8 @@ function Jde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {tableLayout: "fixed",width: "min-content"}));- let re = OS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(fI, { values: [+ let re = VS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(oI, { values: [[VR, f],[HR, N],[OL, {@@ -39877,10 +39884,10 @@ function Jde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {dragState: S,dropState: C}],- [kL, { render: afe }],- [bI, null],- [xI, null]- ] }, /*#__PURE__*/ P.createElement(QS, null, /*#__PURE__*/ P.createElement(qde, {+ [kL, { render: ofe }],+ [hI, null],+ [gI, null]+ ] }, /*#__PURE__*/ P.createElement(dC, null, /*#__PURE__*/ P.createElement(Jde, {...K(re, ee, v, A, w?.collectionProps),style: ne,ref: t,@@ -39896,49 +39903,49 @@ function Jde({ props: e, forwardedRef: t, selectionState: n, collection: r }) {persistedKeys: jL(y, _, C)})))), E);}-var Yde = /*#__PURE__*/ (0, P.createContext)(null), WR = class extends Vy {+var Xde = /*#__PURE__*/ (0, P.createContext)(null), WR = class extends nb {static {this.type = "tableheader";}-}, Xde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(TI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+}, Zde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(xI);+ return n ? /*#__PURE__*/ P.createElement(mI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.thead, {+ }) : /*#__PURE__*/ P.createElement(mI.thead, {...e,ref: t});-}), GR = /*#__PURE__*/ Rx(WR, (e, t) => {- let n = (0, P.useContext)(VR).collection, r = Yy({+}), GR = /*#__PURE__*/ cS(WR, (e, t) => {+ let n = (0, P.useContext)(VR).collection, r = ub({items: n.headerRows,children: (0, P.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ P.createElement(Qde, { item: e });+ case "headerrow": return /*#__PURE__*/ P.createElement($de, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = MO(), { hoverProps: a, isHovered: o } = vT({+ }), { rowGroupProps: i } = KO(), { hoverProps: a, isHovered: o } = UT({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = pI({+ }), s = sI({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ P.createElement(Xde, {- ...K(OS(e, { global: !0 }), i, a),+ return /*#__PURE__*/ P.createElement(Zde, {+ ...K(VS(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ P.createElement(Vx, {+}, (e) => /*#__PURE__*/ P.createElement(dS, {dependencies: e.dependencies,items: e.columns-}, e.children)), Zde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(TI);+}, e.children)), Qde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(xI);return n ? /*#__PURE__*/ P.createElement("div", {...e,ref: t@@ -39947,41 +39954,41 @@ var Yde = /*#__PURE__*/ (0, P.createContext)(null), WR = class extends Vy {ref: t});});-function Qde({ item: e }) {- let t = (0, P.useRef)(null), n = (0, P.useContext)(VR), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(TI), { rowProps: a } = voe({+function $de({ item: e }) {+ let t = (0, P.useRef)(null), n = (0, P.useContext)(VR), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(xI), { rowProps: a } = aoe({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = Toe(n);- return /*#__PURE__*/ P.createElement(Zde, {+ }, n, t), { checkboxProps: o } = foe(n);+ return /*#__PURE__*/ P.createElement(Qde, {...a,ref: t- }, /*#__PURE__*/ P.createElement(fI, { values: [[II, { slots: { selection: o } }], [LI, { slots: { selection: o } }]] }, /*#__PURE__*/ P.createElement(i, {+ }, /*#__PURE__*/ P.createElement(oI, { values: [[II, { slots: { selection: o } }], [LI, { slots: { selection: o } }]] }, /*#__PURE__*/ P.createElement(i, {collection: n.collection,parent: e})));}-var $de = class extends Vy {+var efe = class extends nb {static {this.type = "column";}-}, efe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(TI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+}, tfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(xI);+ return n ? /*#__PURE__*/ P.createElement(mI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.th, {+ }) : /*#__PURE__*/ P.createElement(mI.th, {...e,ref: t});-}), KR = /*#__PURE__*/ Lx($de, (e, t, n) => {- let r = wx(t), i = (0, P.useContext)(VR), { isVirtualized: a } = (0, P.useContext)(TI), { columnHeaderProps: o, isPressed: s } = hoe({+}), KR = /*#__PURE__*/ sS(efe, (e, t, n) => {+ let r = Jx(t), i = (0, P.useContext)(VR), { isVirtualized: a } = (0, P.useContext)(xI), { columnHeaderProps: o, isPressed: s } = noe({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = mT(), d = (0, P.useContext)(HR), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = zT(), d = (0, P.useContext)(HR), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = vT({ isDisabled: !e.allowsSorting }), h = pI({+ let { hoverProps: p, isHovered: m } = UT({ isDisabled: !e.allowsSorting }), h = sI({...e,id: void 0,children: n.rendered,@@ -40007,8 +40014,8 @@ var $de = class extends Vy {...g,width: d.getColumnWidth(n.key)});- let _ = OS(e, { global: !0 });- return delete _.id, /*#__PURE__*/ P.createElement(efe, {+ let _ = VS(e, { global: !0 });+ return delete _.id, /*#__PURE__*/ P.createElement(tfe, {...K(_, o, u, p),...h,style: g,@@ -40020,29 +40027,29 @@ var $de = class extends Vy {"data-resizing": f || void 0,"data-allows-sorting": n.props.allowsSorting || void 0,"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0- }, /*#__PURE__*/ P.createElement(fI, { values: [[qR, {+ }, /*#__PURE__*/ P.createElement(oI, { values: [[qR, {column: n,triggerRef: r- }], [TI, CI]] }, h.children));-}), qR = /*#__PURE__*/ (0, P.createContext)(null), tfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ }], [xI, vI]] }, h.children));+}), qR = /*#__PURE__*/ (0, P.createContext)(null), nfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let n = (0, P.useContext)(HR);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = xS(Hde(DL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, P.useContext)(BR), { column: s, triggerRef: c } = (0, P.useContext)(qR), l = (0, P.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = _oe({+ let r = zS(Ude(DL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, P.useContext)(BR), { column: s, triggerRef: c } = (0, P.useContext)(qR), l = (0, P.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = ioe({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 } = mT(), { hoverProps: _, isHovered: v } = vT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = lS(), S = "both";+ }, 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 } = NS(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = wx(t), [w, T] = (0, P.useState)("");+ let C = Jx(t), [w, T] = (0, P.useState)("");(0, P.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let E = pI({+ let E = sI({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -40052,8 +40059,8 @@ var $de = class extends Vy {isHovered: v,resizableDirection: S}- }), D = OS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(yI.div, {+ }), D = VS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(mI.div, {ref: C,role: "presentation",...K(D, E, u, _),@@ -40076,24 +40083,24 @@ var $de = class extends Vy {},"data-testid": "cursor-overlay"}), document.body));-}), JR = class extends Hy {+}), JR = class extends rb {static {this.type = "tablebody";}-}, nfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(TI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+}, rfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(xI);+ return n ? /*#__PURE__*/ P.createElement(mI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.tbody, {+ }) : /*#__PURE__*/ P.createElement(mI.tbody, {...e,ref: t});-}), YR = /*#__PURE__*/ Rx(JR, (e, t, n) => {- let r = (0, P.useContext)(VR), { isVirtualized: i } = (0, P.useContext)(TI), a = r.collection, { CollectionBranch: o } = (0, P.useContext)(TI), { dragAndDropHooks: s, dropState: c } = (0, P.useContext)(OL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), YR = /*#__PURE__*/ cS(JR, (e, t, n) => {+ let r = (0, P.useContext)(VR), { isVirtualized: i } = (0, P.useContext)(xI), a = r.collection, { CollectionBranch: o } = (0, P.useContext)(xI), { dragAndDropHooks: s, dropState: c } = (0, P.useContext)(OL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = pI({+ }, p = sI({...e,id: void 0,children: void 0,@@ -40112,23 +40119,23 @@ var $de = class extends Vy {style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = MO(), _ = OS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(nfe, {+ let { rowGroupProps: g } = KO(), _ = VS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(rfe, {...K(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ P.createElement(ufe, null), /*#__PURE__*/ P.createElement(o, {+ }, l && /*#__PURE__*/ P.createElement(dfe, null), /*#__PURE__*/ P.createElement(o, {collection: a,parent: n,renderDropIndicator: AL(s, c)}), m);});-(class extends Hy {+(class extends rb {static {this.type = "tablefooter";}});-var XR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), rfe = class extends Vy {+var XR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), ife = class extends nb {static {this.type = "item";}@@ -40141,30 +40148,30 @@ var XR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), rfreturn null;}}, ZR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(TI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+ let { isVirtualized: n } = (0, P.useContext)(xI);+ return n ? /*#__PURE__*/ P.createElement(mI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.tr, {+ }) : /*#__PURE__*/ P.createElement(mI.tr, {...e,ref: t});-}), QR = /*#__PURE__*/ Rx(rfe, (e, t, n) => {- let r = wx(t), i = (0, P.useContext)(VR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(OL), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(TI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = xoe({+}), QR = /*#__PURE__*/ cS(ife, (e, t, n) => {+ let r = Jx(t), i = (0, P.useContext)(VR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(OL), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(xI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = coe({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = mT(), { isFocusVisible: _, focusProps: v } = mT({ within: !0 }), { hoverProps: y, isHovered: b } = vT({+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = zT(), { isFocusVisible: _, focusProps: v } = zT({ within: !0 }), { hoverProps: y, isHovered: b } = UT({isDisabled: !p.allowsSelection && !p.hasAction && !u,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = woe({ key: n.key }, i), S;+ }), { checkboxProps: x } = doe({ 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 } = YC();+ let C, w = (0, P.useRef)(null), { visuallyHiddenProps: T } = bw();s && a && (C = a.useDropIndicator({ target: {type: "item",key: n.key,@@ -40174,7 +40181,7 @@ var XR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), rf(0, P.useEffect)(() => {o && E.current;}, []);- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = pI({+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = sI({...k,id: void 0,defaultClassName: "react-aria-Row",@@ -40195,7 +40202,7 @@ var XR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), rfisExpanded: j,level: n.level + 1}- }), ee = OS(e, { global: !0 });+ }), ee = VS(e, { global: !0 });return delete ee.id, delete ee.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, C && !C.isHidden && /*#__PURE__*/ P.createElement(ZR, {role: "row",style: { height: 0 }@@ -40224,17 +40231,17 @@ var XR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), rf"data-expanded": j || void 0,"data-has-child-items": A || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ P.createElement(fI, { values: [+ }, /*#__PURE__*/ P.createElement(oI, { values: [[II, { slots: {- [dI]: {},+ [aI]: {},selection: x} }],[LI, { slots: {- [dI]: {},+ [aI]: {},selection: x} }],- [kI, { slots: {- [dI]: {},+ [EI, { slots: {+ [aI]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -40251,34 +40258,34 @@ var XR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), rf}, (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(Vx, {+ return /*#__PURE__*/ P.createElement(dS, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), ife = class extends Vy {+}), afe = class extends nb {static {this.type = "cell";}}, $R = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(TI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+ let { isVirtualized: n } = (0, P.useContext)(xI);+ return n ? /*#__PURE__*/ P.createElement(mI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.td, {+ }) : /*#__PURE__*/ P.createElement(mI.td, {...e,ref: t});-}), ez = /*#__PURE__*/ Lx(ife, (e, t, n) => {- let r = wx(t), i = (0, P.useContext)(VR), { dragState: a } = (0, P.useContext)(OL), { isVirtualized: o } = (0, P.useContext)(TI);+}), ez = /*#__PURE__*/ sS(afe, (e, t, n) => {+ let r = Jx(t), i = (0, P.useContext)(VR), { dragState: a } = (0, P.useContext)(OL), { isVirtualized: o } = (0, P.useContext)(xI);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = poe({+ let { gridCellProps: s, isPressed: c } = eoe({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = mT(), { hoverProps: f, isHovered: p } = vT({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)(XR), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = pI({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = zT(), { hoverProps: f, isHovered: p } = UT({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)(XR), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = sI({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -40297,7 +40304,7 @@ var XR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), rflevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = OS(e, { global: !0 });+ }), S = VS(e, { global: !0 });return delete S.id, /*#__PURE__*/ P.createElement($R, {...K(S, x, s, d, f),ref: r,@@ -40312,14 +40319,14 @@ var XR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), rf"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ P.createElement(TI.Provider, { value: CI }, x.children));+ }, /*#__PURE__*/ P.createElement(xI.Provider, { value: vI }, x.children));});-function afe(e, t) {- t = wx(t);+function ofe(e, t) {+ t = Jx(t);let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(OL), 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;- return /*#__PURE__*/ P.createElement(lfe, {+ return /*#__PURE__*/ P.createElement(ufe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -40328,40 +40335,40 @@ function afe(e, t) {ref: t});}-var ofe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(TI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+var sfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(xI);+ return n ? /*#__PURE__*/ P.createElement(mI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.tr, {+ }) : /*#__PURE__*/ P.createElement(mI.tr, {...e,ref: t});-}), sfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(TI);- return n ? /*#__PURE__*/ P.createElement(yI.div, {+}), cfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(xI);+ return n ? /*#__PURE__*/ P.createElement(mI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(yI.td, {+ }) : /*#__PURE__*/ P.createElement(mI.td, {...e,ref: t});});-function cfe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(VR), { visuallyHiddenProps: c } = YC(), l = pI({+function lfe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(VR), { visuallyHiddenProps: c } = bw(), l = sI({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ P.createElement(ofe, {- ...OS(e, { global: !0 }),+ return /*#__PURE__*/ P.createElement(sfe, {+ ...VS(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ P.createElement(sfe, {+ }, /*#__PURE__*/ P.createElement(cfe, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -40372,9 +40379,9 @@ function cfe(e, t) {ref: i}), l.children));}-var lfe = /*#__PURE__*/ (0, P.forwardRef)(cfe);-function ufe() {- let e = (0, P.useContext)(VR), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(OL), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = YC();+var ufe = /*#__PURE__*/ (0, P.forwardRef)(lfe);+function dfe() {+ let e = (0, P.useContext)(VR), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(OL), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = bw();return !a && i["aria-hidden"] ? null : /*#__PURE__*/ P.createElement(ZR, {role: "row","aria-hidden": i["aria-hidden"],@@ -40390,8 +40397,8 @@ function ufe() {ref: r})));}-Lx(Uy, function(e, t, n) {- let r = (0, P.useContext)(VR), { isVirtualized: i } = (0, P.useContext)(TI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, P.useRef)(null);+sS(ib, function(e, t, n) {+ let r = (0, P.useContext)(VR), { isVirtualized: i } = (0, P.useContext)(xI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, P.useRef)(null);qL((0, P.useMemo)(() => ({onLoadMore: o,collection: r?.collection,@@ -40402,7 +40409,7 @@ Lx(Uy, function(e, t, n) {s,r?.collection]), u);- let d = pI({+ let d = sI({...c,id: void 0,children: n.rendered,@@ -40425,7 +40432,7 @@ Lx(Uy, function(e, t, n) {width: 1}}))), a && d.children && /*#__PURE__*/ P.createElement(ZR, {- ...K(OS(e, { global: !0 }), f),+ ...K(VS(e, { global: !0 }), f),...d,role: "row",ref: t,@@ -40438,8 +40445,8 @@ Lx(Uy, function(e, t, n) {}, d.children)));});// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function dfe(e) {- let [t, n] = BC(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, P.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = GL({+function ffe(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 } = GL({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -40461,8 +40468,8 @@ function dfe(e) {};}// node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function ffe(e) {- let t = dfe({+function pfe(e) {+ let t = ffe({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);@@ -40487,24 +40494,24 @@ function tz(e, t) {return n;}// node_modules/react-aria-components/dist/private/Tabs.mjs-var nz = /*#__PURE__*/ (0, P.createContext)(null), rz = /*#__PURE__*/ (0, P.createContext)(null), pfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = hI(e, t, nz);+var nz = /*#__PURE__*/ (0, P.createContext)(null), rz = /*#__PURE__*/ (0, P.createContext)(null), mfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = lI(e, t, nz);let { children: n, orientation: r = "horizontal" } = e;return n = (0, P.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ P.createElement(Px, { content: n }, (n) => /*#__PURE__*/ P.createElement(mfe, {+ }) : n, [n, r]), /*#__PURE__*/ P.createElement(iS, { content: n }, (n) => /*#__PURE__*/ P.createElement(hfe, {props: e,collection: n,tabsRef: t}));});-function mfe({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = ffe({+function hfe({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = pfe({...e,collection: n,children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = mT({ within: !0 }), c = (0, P.useMemo)(() => ({+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = zT({ within: !0 }), c = (0, P.useMemo)(() => ({orientation: r,isFocusWithin: o,isFocusVisible: s@@ -40512,12 +40519,12 @@ function mfe({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = pI({+ ]), l = sI({...e,defaultClassName: "react-aria-Tabs",values: c- }), u = OS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(yI.div, {+ }), u = VS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(mI.div, {...K(u, l, a),ref: t,slot: e.slot || void 0,@@ -40525,20 +40532,20 @@ function mfe({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ P.createElement(fI, { values: [[nz, e], [rz, i]] }, l.children));+ }, /*#__PURE__*/ P.createElement(oI, { values: [[nz, e], [rz, i]] }, l.children));}var iz = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- return (0, P.useContext)(rz) ? /*#__PURE__*/ P.createElement(hfe, {+ return (0, P.useContext)(rz) ? /*#__PURE__*/ P.createElement(gfe, {props: e,forwardedRef: t- }) : /*#__PURE__*/ P.createElement(Vx, e);+ }) : /*#__PURE__*/ P.createElement(dS, e);});-function hfe({ props: e, forwardedRef: t }) {- let n = (0, P.useContext)(rz), { CollectionRoot: r } = (0, P.useContext)(TI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = mI(nz), o = wx(t), { tabListProps: s } = Ooe({+function gfe({ props: e, forwardedRef: t }) {+ let n = (0, P.useContext)(rz), { CollectionRoot: r } = (0, P.useContext)(xI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = cI(nz), o = Jx(t), { tabListProps: s } = hoe({...e,orientation: i,keyboardActivation: a- }, n, o), c = pI({+ }, n, o), c = sI({...e,children: null,defaultClassName: "react-aria-TabList",@@ -40546,30 +40553,30 @@ function hfe({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = OS(e, { global: !0 });- return delete l.id, /*#__PURE__*/ P.createElement(yI.div, {+ }), l = VS(e, { global: !0 });+ return delete l.id, /*#__PURE__*/ P.createElement(mI.div, {...K(l, c, s),ref: o,"data-orientation": i || void 0}, /*#__PURE__*/ P.createElement(NL, null, /*#__PURE__*/ P.createElement(r, {collection: n.collection,- persistedKeys: EI(n.selectionManager.focusedKey)+ persistedKeys: SI(n.selectionManager.focusedKey)})));}-var gfe = /*#__PURE__*/ Lx(class extends Vy {+var _fe = /*#__PURE__*/ sS(class extends nb {static {this.type = "item";}}, (e, t, n) => {- let r = (0, P.useContext)(rz), i = wx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Eoe({+ let r = (0, P.useContext)(rz), i = Jx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = poe({key: n.key,...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = mT(), { hoverProps: f, isHovered: p } = vT({+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = zT(), { hoverProps: f, isHovered: p } = UT({isDisabled: s,onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = pI({+ }), m = sI({...e,id: void 0,children: n.rendered,@@ -40582,7 +40589,7 @@ var gfe = /*#__PURE__*/ Lx(class extends Vy {isPressed: c,isHovered: p}- }), h = n.props.href ? yI.a : yI.div, g = OS(e, { global: !0 });+ }), h = n.props.href ? mI.a : mI.div, g = VS(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ P.createElement(h, {...K(g, m, a, l, f),ref: i,@@ -40593,19 +40600,19 @@ var gfe = /*#__PURE__*/ Lx(class extends Vy {"data-pressed": c || void 0,"data-hovered": p || void 0}, /*#__PURE__*/ P.createElement(PL.Provider, { value: { isSelected: o } }, m.children));-}), _fe = /*#__PURE__*/ kx(function(e, t) {- let n = (0, P.useContext)(rz), r = wx(t), i = n.selectedKey === e.id, [a, o] = (0, P.useState)(n.selectedKey == null ? null : i);+}), vfe = /*#__PURE__*/ $x(function(e, t) {+ let n = (0, P.useContext)(rz), r = Jx(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 = $L(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ P.createElement(vfe, {+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ P.createElement(yfe, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function vfe(e) {- let t = (0, P.useContext)(rz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = koe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = mT(), d = t.selectedKey === e.id, f = QL(r) && !i, p = pI({+function yfe(e) {+ let t = (0, P.useContext)(rz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = goe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = zT(), d = t.selectedKey === e.id, f = QL(r) && !i, p = sI({...e,defaultClassName: "react-aria-TabPanel",values: {@@ -40616,10 +40623,10 @@ function vfe(e) {isExiting: a,state: t}- }), m = OS(o, { global: !0 });+ }), m = VS(o, { global: !0 });delete m.id;let h = d ? K(m, s, c, p) : K(m, p);- return /*#__PURE__*/ P.createElement(yI.div, {+ return /*#__PURE__*/ P.createElement(mI.div, {...h,ref: r,"data-focused": l || void 0,@@ -40628,18 +40635,18 @@ function vfe(e) {"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ P.createElement(fI, { values: [[nz, null], [rz, null]] }, /*#__PURE__*/ P.createElement(TI.Provider, { value: CI }, p.children)));+ }, /*#__PURE__*/ P.createElement(oI, { values: [[nz, null], [rz, null]] }, /*#__PURE__*/ P.createElement(xI.Provider, { value: vI }, p.children)));}// node_modules/react-aria-components/dist/private/TextArea.mjs-var az = /*#__PURE__*/ (0, P.createContext)({}), yfe = (e) => {+var az = /*#__PURE__*/ (0, P.createContext)({}), bfe = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, bfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = hI(e, t, az);- let { hoverProps: n, isHovered: r } = vT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = mT({+}, xfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = lI(e, t, az);+ let { hoverProps: n, isHovered: r } = UT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = zT({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = pI({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = sI({...e,values: {isHovered: r,@@ -40650,8 +40657,8 @@ var az = /*#__PURE__*/ (0, P.createContext)({}), yfe = (e) => {},defaultClassName: "react-aria-TextArea"});- return /*#__PURE__*/ P.createElement(yI.textarea, {- ...K(yfe(e), o, n),+ return /*#__PURE__*/ P.createElement(mI.textarea, {+ ...K(bfe(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -40660,18 +40667,18 @@ var az = /*#__PURE__*/ (0, P.createContext)({}), yfe = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), xfe = /*#__PURE__*/ (0, P.createContext)(null), Sfe = /*#__PURE__*/ kx(function(e, t) {- [e, t] = hI(e, t, xfe);- let { validationBehavior: n } = mI(FI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useRef)(null);- [e, i] = hI(e, i, xI);- let [a, o] = gI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = sae({- ..._I(e),+}), Sfe = /*#__PURE__*/ (0, P.createContext)(null), Cfe = /*#__PURE__*/ $x(function(e, t) {+ [e, t] = lI(e, t, Sfe);+ let { validationBehavior: n } = cI(FI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useRef)(null);+ [e, i] = lI(e, i, gI);+ let [a, o] = uI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Lie({+ ...dI(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, P.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = pI({+ }, [i]), h = sI({...e,values: {isDisabled: e.isDisabled || !1,@@ -40680,8 +40687,8 @@ var az = /*#__PURE__*/ (0, P.createContext)({}), yfe = (e) => {isRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = OS(e, { global: !0 });- return delete g.id, /*#__PURE__*/ P.createElement(yI.div, {+ }), g = VS(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ P.createElement(mI.div, {...g,...h,ref: t,@@ -40690,8 +40697,8 @@ var az = /*#__PURE__*/ (0, P.createContext)({}), yfe = (e) => {"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ P.createElement(fI, { values: [- [DI, {+ }, /*#__PURE__*/ P.createElement(oI, { values: [+ [CI, {...l,ref: a}],@@ -40708,13 +40715,13 @@ var az = /*#__PURE__*/ (0, P.createContext)({}), yfe = (e) => {isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [NI, { slots: {+ [MI, { slots: {description: d,errorMessage: f} }],[PI, p]] }, h.children));-}), Cfe = class e extends Gy {+}), wfe = class e extends ob {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;@@ -40786,11 +40793,11 @@ var az = /*#__PURE__*/ (0, P.createContext)({}), yfe = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, wfe = /*#__PURE__*/ (0, P.createContext)(null), oz = /*#__PURE__*/ (0, P.createContext)(null), Tfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- return [e, t] = hI(e, t, wfe), /*#__PURE__*/ P.createElement(Px, {- content: /*#__PURE__*/ P.createElement(Vx, e),- createCollection: () => new Cfe()- }, (n) => /*#__PURE__*/ P.createElement(Efe, {+}, Tfe = /*#__PURE__*/ (0, P.createContext)(null), oz = /*#__PURE__*/ (0, P.createContext)(null), Efe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ return [e, t] = lI(e, t, Tfe), /*#__PURE__*/ P.createElement(iS, {+ content: /*#__PURE__*/ P.createElement(dS, e),+ createCollection: () => new wfe()+ }, (n) => /*#__PURE__*/ P.createElement(Dfe, {props: e,collection: n,treeRef: t@@ -40805,16 +40812,16 @@ var az = /*#__PURE__*/ (0, P.createContext)({}), yfe = (e) => {rtl: "ArrowRight"}};-function Efe({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = lS(), a = sT({+function Dfe({ props: e, collection: t, treeRef: n }) {+ let { dragAndDropHooks: r } = e, { direction: i } = NS(), a = MT({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)(TI), [y, b] = BC(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));- Nfe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(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)(xI), [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));+ Pfe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));let D = aR({...e,selectionMode: u,@@ -40823,7 +40830,7 @@ function Efe({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: O } = Aoe({+ }), { gridProps: O } = _oe({...e,isVirtualized: g,layoutDelegate: _@@ -40845,7 +40852,7 @@ function Efe({ 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 lw({+ let t = new Pw({collection: D.collection,collator: a,ref: n,@@ -40872,7 +40879,7 @@ function Efe({ props: e, collection: t, treeRef: n }) {}}, A, n), M = A.isDropTarget({ type: "root" });}- let N = !(!o || k?.isDisabled), { focusProps: re, isFocused: ie, isFocusVisible: F } = mT(), ae = {+ let N = !(!o || k?.isDisabled), { focusProps: re, isFocused: ie, isFocusVisible: F } = zT(), ae = {isEmpty: D.collection.size === 0,isFocused: ie,isFocusVisible: F,@@ -40880,7 +40887,7 @@ function Efe({ props: e, collection: t, treeRef: n }) {selectionMode: D.selectionManager.selectionMode,allowsDragging: !!N,state: D- }, oe = pI({+ }, oe = sI({...e,children: void 0,defaultClassName: "react-aria-Tree",@@ -40897,8 +40904,8 @@ function Efe({ props: e, collection: t, treeRef: n }) {style: { display: "contents" }}, r));}- let ce = OS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(QS, null, /*#__PURE__*/ P.createElement(yI.div, {+ let ce = VS(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(dC, null, /*#__PURE__*/ P.createElement(mI.div, {...K(ce, oe, O, re, j?.collectionProps),ref: n,slot: e.slot || void 0,@@ -40908,54 +40915,54 @@ function Efe({ props: e, collection: t, treeRef: n }) {"data-focus-visible": F || void 0,"data-selection-mode": D.selectionManager.selectionMode === "none" ? void 0 : D.selectionManager.selectionMode,"data-allows-dragging": !!N || void 0- }, /*#__PURE__*/ P.createElement(fI, { values: [+ }, /*#__PURE__*/ P.createElement(oI, { values: [[oz, D],[OL, {dragAndDropHooks: r,dragState: k,dropState: A}],- [kL, { render: kfe }]- ] }, s && /*#__PURE__*/ P.createElement(Mfe, null), /*#__PURE__*/ P.createElement(NL, null, /*#__PURE__*/ P.createElement(h, {+ [kL, { render: Afe }]+ ] }, s && /*#__PURE__*/ P.createElement(Nfe, null), /*#__PURE__*/ P.createElement(NL, null, /*#__PURE__*/ P.createElement(h, {collection: D.collection,persistedKeys: jL(D.selectionManager, r, A),scrollRef: n,renderDropIndicator: AL(r, A)}))), se)), ee);}-var Dfe = /*#__PURE__*/ Lx(class extends Vy {+var Ofe = /*#__PURE__*/ sS(class extends nb {static {this.type = "content";}}, function(e) {- let t = (0, P.useContext)(cz), n = pI({+ let t = (0, P.useContext)(cz), n = sI({children: e.children,values: t});- return /*#__PURE__*/ P.createElement(TI.Provider, { value: CI }, n.children);-}), cz = /*#__PURE__*/ (0, P.createContext)(null), Ofe = /*#__PURE__*/ Rx(class extends Vy {+ return /*#__PURE__*/ P.createElement(xI.Provider, { value: vI }, n.children);+}), cz = /*#__PURE__*/ (0, P.createContext)(null), kfe = /*#__PURE__*/ cS(class extends nb {static {this.type = "item";}}, (e, t, n) => {let r = (0, P.useContext)(oz);- t = wx(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, P.useContext)(OL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = gk({+ t = Jx(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, P.useContext)(OL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Ak({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: _ } = vT({+ }, 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({isDisabled: !f.allowsSelection && !f.hasAction && !s,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { isFocusVisible: v, focusProps: y } = mT(), { isFocusVisible: b, focusProps: x } = mT({ within: !0 }), { checkboxProps: S } = Iae({ key: n.key }, r), C = null;+ }), { isFocusVisible: v, focusProps: y } = zT(), { isFocusVisible: b, focusProps: x } = zT({ within: !0 }), { checkboxProps: S } = fae({ 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 } = YC();+ let w = null, T = (0, P.useRef)(null), E = (0, P.useRef)(null), D = (0, P.useRef)(null), { visuallyHiddenProps: O } = bw();o && i && (w = i.useDropIndicator({target: {type: "item",@@ -40994,7 +41001,7 @@ var Dfe = /*#__PURE__*/ Lx(class extends Vy {A,M,j- ]), te = pI({+ ]), te = sI({...e,id: void 0,children: n.rendered,@@ -41011,7 +41018,7 @@ var Dfe = /*#__PURE__*/ Lx(class extends Vy {(0, P.useEffect)(() => {a && ne.current;}, []);- let N = Yy({+ let N = ub({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -41021,7 +41028,7 @@ var Dfe = /*#__PURE__*/ Lx(class extends Vy {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), re = px(), ie = OS(e, { global: !0 });+ }), re = Lx(), ie = VS(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"],@@ -41044,7 +41051,7 @@ var Dfe = /*#__PURE__*/ Lx(class extends Vy {"aria-labelledby": `${re} ${c.id}`,tabIndex: -1,ref: D- }))), /*#__PURE__*/ P.createElement(yI.div, {+ }))), /*#__PURE__*/ P.createElement(mI.div, {...K(ie, c, y, g, x, C?.dragProps),...te,ref: t,@@ -41064,17 +41071,17 @@ var Dfe = /*#__PURE__*/ Lx(class extends Vy {}, /*#__PURE__*/ P.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ P.createElement(fI, { values: [+ }, /*#__PURE__*/ P.createElement(oI, { values: [[II, { slots: {- [dI]: {},+ [aI]: {},selection: S} }],[LI, { slots: {- [dI]: {},+ [aI]: {},selection: S} }],- [kI, { slots: {- [dI]: {},+ [EI, { slots: {+ [aI]: {},chevron: {...u,ref: T@@ -41089,8 +41096,8 @@ var Dfe = /*#__PURE__*/ Lx(class extends Vy {[PL, { isSelected: f.isSelected }]] }, N))));});-Lx(Uy, function(e, t, n) {- let { isVirtualized: r } = (0, P.useContext)(TI), i = (0, P.useContext)(oz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, P.useRef)(null);+sS(ib, function(e, t, n) {+ let { isVirtualized: r } = (0, P.useContext)(xI), i = (0, P.useContext)(oz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, P.useRef)(null);qL((0, P.useMemo)(() => ({onLoadMore: o,collection: i?.collection,@@ -41100,11 +41107,11 @@ Lx(Uy, function(e, t, n) {o,s,i?.collection- ]), l), t = wx(t);- let { rowProps: u, gridCellProps: d } = gk({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ ]), l), t = Jx(t);+ let { rowProps: u, gridCellProps: d } = Ak({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = pI({+ }, m = sI({...c,id: void 0,children: n.rendered,@@ -41126,9 +41133,9 @@ Lx(Uy, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ P.createElement(yI.div, {+ })), a && m.children && /*#__PURE__*/ P.createElement(mI.div, {ref: t,- ...K(OS(e), p),+ ...K(VS(e), p),...m,"data-level": f}, /*#__PURE__*/ P.createElement("div", {@@ -41136,12 +41143,12 @@ Lx(Uy, function(e, t, n) {style: h}, m.children)));});-function kfe(e, t) {- t = wx(t);+function Afe(e, t) {+ t = Jx(t);let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(OL), 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;- return /*#__PURE__*/ P.createElement(jfe, {+ return /*#__PURE__*/ P.createElement(Mfe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -41150,8 +41157,8 @@ function kfe(e, t) {level: c});}-function Afe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = YC(), c = pI({+function jfe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = bw(), c = sI({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -41160,7 +41167,7 @@ function Afe(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ P.createElement(yI.div, {+ return /*#__PURE__*/ P.createElement(mI.div, {...c,role: "row","aria-level": a,@@ -41173,9 +41180,9 @@ function Afe(e, t) {ref: i}), c.children));}-var jfe = /*#__PURE__*/ (0, P.forwardRef)(Afe);-function Mfe() {- let { dragAndDropHooks: e, dropState: t } = (0, P.useContext)(OL), n = (0, P.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = YC();+var Mfe = /*#__PURE__*/ (0, P.forwardRef)(jfe);+function Nfe() {+ let { dragAndDropHooks: e, dropState: t } = (0, P.useContext)(OL), n = (0, P.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = bw();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ P.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -41187,13 +41194,13 @@ function Mfe() {ref: n})));}-function Nfe(e, t) {+function Pfe(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}// node_modules/@remixicon/react/index.mjs-var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+var Ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41201,7 +41208,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Ffe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41233,7 +41240,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Ife = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41241,7 +41248,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Lfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41249,7 +41256,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Rfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41257,7 +41264,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Bfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41265,7 +41272,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Bfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Vfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41273,7 +41280,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Vfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41281,7 +41288,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41289,7 +41296,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Wfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41297,7 +41304,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Wfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41305,7 +41312,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), Gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), Kfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41321,7 +41328,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Kfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), qfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41329,7 +41336,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), qfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), Jfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41337,7 +41344,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), Jfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), Yfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41345,7 +41352,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Yfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Xfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41353,7 +41360,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Xfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41369,7 +41376,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), Zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), Qfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41377,7 +41384,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Qfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), $fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41385,7 +41392,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), $fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), epe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41393,7 +41400,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), epe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), tpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41401,7 +41408,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), tpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), npe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41409,7 +41416,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), npe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), rpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41433,7 +41440,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), rpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), ipe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41457,7 +41464,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), ipe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), ape = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41465,7 +41472,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), ape = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), ope = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41473,7 +41480,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), ope = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), spe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41481,7 +41488,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), spe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), cpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41489,7 +41496,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), cpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), lpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41505,7 +41512,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), lpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), upe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41513,7 +41520,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), upe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), dpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41553,7 +41560,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), dpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), fpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41569,7 +41576,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), fpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), ppe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41577,7 +41584,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), ppe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), mpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41585,7 +41592,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), mpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), hpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41593,7 +41600,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), hpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), gpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41601,7 +41608,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), gpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), _pe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41609,7 +41616,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), _pe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), vpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41633,7 +41640,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), vpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41641,7 +41648,7 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), bpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41652,10 +41659,10 @@ var Pfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P}, P.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" }));// src/react/boardui/components/base/input/label.tsxfunction Ez({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, F.jsxs)(OI, {+ return /* @__PURE__ */ (0, F.jsxs)(wI, {"data-label": "true",...a,- className: EF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: lF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, F.jsx)("span", {@@ -41663,7 +41670,7 @@ function Ez({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, F.jsx)(ope, {+ n && /* @__PURE__ */ (0, F.jsx)(spe, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -41672,10 +41679,10 @@ function Ez({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr}// src/react/boardui/components/base/input/hint-text.tsxfunction Dz({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, F.jsx)(Sue, {+ return /* @__PURE__ */ (0, F.jsx)(NI, {slot: e ? "errorMessage" : "description",...n,- className: EF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: lF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}// src/react/boardui/components/base/input/input.tsx@@ -41687,16 +41694,16 @@ function kz({ size: e = "medium", fieldClassName: t, inputClassName: n, classNamfieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, F.jsx)(Sfe, {+ children: /* @__PURE__ */ (0, F.jsx)(Cfe, {...a,"data-input-size": e,- className: EF("group flex h-max w-full flex-col items-start gap-1", r),+ className: lF("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}kz.displayName = "TextField";-var Az = DF({+var Az = uF({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",@@ -41715,7 +41722,7 @@ function jz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCllet l = (0, P.useContext)(Oz), u = e ?? l.size ?? "medium", d = r != null;return /* @__PURE__ */ (0, F.jsx)(BI, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => EF(Az.field, d ? Az.fieldWithAddonSize[u] : Az.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => lF(Az.field, d ? Az.fieldWithAddonSize[u] : Az.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),children: /* @__PURE__ */ (0, F.jsxs)("div", {className: Az.content,children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -41723,10 +41730,10 @@ function jz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClchildren: [d ? r : t ? /* @__PURE__ */ (0, F.jsx)(t, {className: Az.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, F.jsx)(Oue, {+ }) : null, /* @__PURE__ */ (0, F.jsx)(kue, {ref: o,...c,- className: EF(Az.input, l.inputClassName, a)+ className: lF(Az.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, F.jsx)(n, {className: Az.icon,@@ -41766,14 +41773,14 @@ function Mz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra}Mz.displayName = "Input";// src/react/components/modal-frame.tsx-var bpe = {+var xpe = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal",collections: "max-w-4xl"};function Nz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {- let { isFocusVisible: a } = ex();+ let { isFocusVisible: a } = wx();return /* @__PURE__ */ (0, F.jsx)(bR, {isOpen: e,onOpenChange: t,@@ -41782,10 +41789,10 @@ function Nz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {"data-modal-kind": n,"data-motion-instant": a || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, F.jsx)(ude, {+ children: /* @__PURE__ */ (0, F.jsx)(dde, {"data-modal-surface": "","data-modal-width": n,- className: `flex max-h-full w-full ${bpe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,+ className: `flex max-h-full w-full ${xpe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,children: /* @__PURE__ */ (0, F.jsx)(gR, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",@@ -41805,9 +41812,9 @@ function Pz({ children: e }) {function Fz({ 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: EF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),+ className: lF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),children: [/* @__PURE__ */ (0, F.jsxs)("div", {- className: EF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),+ className: lF("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@@ -41824,37 +41831,37 @@ function Fz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:switch (e) {case "info": return /* @__PURE__ */ (0, F.jsx)("div", {role: "status",- className: EF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),+ className: lF("@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: EF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),+ className: lF("@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: EF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),+ className: lF("@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: EF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),+ className: lF("@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: EF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),+ className: lF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),children: s});}}// src/react/components/empty-state.tsx-var xpe = {+var Spe = {standard: "min-h-80 px-6 py-12",compact: "min-h-60 px-4 py-6"};-function Spe({ target: e, children: t }) {+function Cpe({ target: e, children: t }) {return /* @__PURE__ */ (0, F.jsx)(q, {size: "small",variant: "secondary",@@ -41866,7 +41873,7 @@ function Iz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }return /* @__PURE__ */ (0, F.jsxs)("div", {"data-empty-state": "","data-empty-size": i,- className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${xpe[i]}`,+ className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${Spe[i]}`,children: [/* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,@@ -41956,11 +41963,11 @@ function Wz() {function Gz(e, t) {return e.some((e) => t.scope === "online" ? e.scope === "online" && e.tag_id === t.tag_id : e.scope !== "online" && (t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name));}-function Cpe(e) {+function wpe(e) {return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : hn(e.kind, e.name, e.entity_id);}// src/react/library-shortcuts/shortcut-controls.tsx-var Kz = Rz("star"), wpe = Rz("bookmark-plus"), qz = Rz("chevron-right"), Jz = {+var Kz = Rz("star"), Tpe = Rz("bookmark-plus"), qz = Rz("chevron-right"), Jz = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",@@ -41992,9 +41999,9 @@ function Zz({ label: e, children: t, ...n }) {});}function Qz({ item: e }) {- return /* @__PURE__ */ (0, F.jsx)(Tpe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);+ return /* @__PURE__ */ (0, F.jsx)(Epe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}-function Tpe({ item: e }) {+function Epe({ item: e }) {let t = Uz(!1), n = (0, P.useRef)(t.data), r = Wz(), i = t.data && t.data !== n.current ? Gz(t.data.favorites || [], e) : e.favorite ?? (t.data ? Gz(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",@@ -42013,7 +42020,7 @@ function Tpe({ item: e }) {},children: r.isPending ? /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,- dangerouslySetInnerHTML: { __html: bs("") }+ dangerouslySetInnerHTML: { __html: xs("") }}) : /* @__PURE__ */ (0, F.jsx)(Kz, {})}),r.isError ? /* @__PURE__ */ (0, F.jsx)(Fz, {@@ -42034,7 +42041,7 @@ function $z({ currentHref: e, kind: t }) {let [n, r] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, F.jsx)(nI, {+ children: /* @__PURE__ */ (0, F.jsx)(qF, {"data-shortcuts-trigger": "",label: "我的收藏",icon: Kz,@@ -42047,29 +42054,29 @@ function $z({ currentHref: e, kind: t }) {onOpenChange: r,width: "collections",label: "我的收藏",- children: n ? /* @__PURE__ */ (0, F.jsx)(Epe, {+ children: n ? /* @__PURE__ */ (0, F.jsx)(Dpe, {currentHref: e,kind: t,close: () => r(!1)}) : null})] });}-function Epe({ currentHref: e, kind: t, close: n }) {+function Dpe({ currentHref: e, kind: t, close: n }) {let r = Uz(), i = Wz(), [a, o] = (0, P.useState)(""), [s, c] = (0, P.useState)(t || "all"), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), p = (0, P.useId)(), [m, h] = (0, P.useState)(() => matchMedia("(max-width: 760px)").matches);(0, P.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(s), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = cI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(s), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = nI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, P.useLayoutEffect)(() => {- b.current && (x.current = vo(b.current) || null);+ b.current && (x.current = yo(b.current) || null);}, []), (0, P.useLayoutEffect)(() => {- let e = cc(g.current);+ let e = lc(g.current);return () => e?.destroy();}, []), (0, P.useLayoutEffect)(() => {b.current && (b.current.scrollTop = 0);}, [s]), (0, P.useLayoutEffect)(() => {- v.current !== s && Ns(_.current, "h2"), v.current = s;+ v.current !== s && Ps(_.current, "h2"), v.current = s;}, [s]), (0, P.useLayoutEffect)(() => {x.current?.();});@@ -42167,7 +42174,7 @@ function Epe({ currentHref: e, kind: t, close: n }) {href: "/watch-later",onClick: n,children: [- /* @__PURE__ */ (0, F.jsx)(wpe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, F.jsx)(Tpe, { "aria-hidden": !0 }),"稍后看",/* @__PURE__ */ (0, F.jsx)(qz, { "aria-hidden": !0 })]@@ -42206,7 +42213,7 @@ function Epe({ currentHref: e, kind: t, close: n }) {size: "compact",icon: Rz("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, F.jsx)(uI, {+ actions: /* @__PURE__ */ (0, F.jsx)(iI, {size: "small",href: "/",onClick: n,@@ -42279,7 +42286,7 @@ function Epe({ currentHref: e, kind: t, close: n }) {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, F.jsx)(uI, {+ }) : /* @__PURE__ */ (0, F.jsx)(iI, {size: "small",href: "/",onClick: n,@@ -42293,11 +42300,11 @@ function Epe({ currentHref: e, kind: t, close: n }) {"data-shortcuts-row": "",className: "flex min-w-0 items-center justify-between gap-3",children: [/* @__PURE__ */ (0, F.jsxs)("a", {- href: Cpe(e),+ href: wpe(e),"aria-label": e.name,onClick: n,className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",- children: [/* @__PURE__ */ (0, F.jsx)(Dpe, { item: e }, e.image_url), /* @__PURE__ */ (0, F.jsxs)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(Ope, { item: e }, e.image_url), /* @__PURE__ */ (0, F.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "truncate",@@ -42329,7 +42336,7 @@ function Epe({ currentHref: e, kind: t, close: n }) {]});}-function Dpe({ item: e }) {+function Ope({ item: e }) {let t = Yz[e.kind] || Kz;return /* @__PURE__ */ (0, F.jsxs)("span", {"data-shortcuts-avatar": "",@@ -42348,8 +42355,8 @@ function Dpe({ item: e }) {});}// node_modules/react-router/dist/production/lib/router/url.js-var Ope = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, eB = /^[\\/]{2}/;-function kpe(e, t) {+var kpe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, eB = /^[\\/]{2}/;+function Ape(e, t) {return t + e.replace(/\\/g, "/");}// node_modules/react-router/dist/production/lib/router/history.js@@ -42357,7 +42364,7 @@ var tB = "popstate";function nB(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}-function Ape(e = {}) {+function jpe(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;return oB("", {@@ -42373,7 +42380,7 @@ function Ape(e = {}) {function n(e, t) {return typeof t == "string" ? t : sB(t);}- return Mpe(t, n, null, e);+ return Npe(t, n, null, e);}function rB(e, t) {if (e === !1 || e == null) throw Error(t);@@ -42386,7 +42393,7 @@ function iB(e, t) {} catch {}}}-function jpe() {+function Mpe() {return Math.random().toString(36).substring(2, 10);}function aB(e, t) {@@ -42408,7 +42415,7 @@ function oB(e, t, n = null, r, i) {hash: "",...typeof t == "string" ? cB(t) : t,state: n,- key: t && t.key || r || jpe(),+ key: t && t.key || r || Mpe(),mask: i};}@@ -42425,7 +42432,7 @@ function cB(e) {}return t;}-function Mpe(e, t, n, r = {}) {+function Npe(e, t, n, r = {}) {let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();l ?? (l = 0, o.replaceState({...o.state,@@ -42472,7 +42479,7 @@ function Mpe(e, t, n, r = {}) {});}function m(e) {- return Npe(i, e);+ return Ppe(i, e);}let h = {get action() {@@ -42507,26 +42514,26 @@ function Mpe(e, t, n, r = {}) {};return h;}-function Npe(e, t, n = !1) {+function Ppe(e, t, n = !1) {let r = "http://localhost";e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), rB(r, "No window.location.(origin|href) available to create URL");let i = typeof t == "string" ? t : sB(t);return i = i.replace(/ $/, "%20"), !n && eB.test(i) && (i = r + i), new URL(i, r);}// node_modules/react-router/dist/production/lib/router/utils.js-function Ppe(e, t, n = "/") {- return Fpe(e, t, n, !1);+function Fpe(e, t, n = "/") {+ return Ipe(e, t, n, !1);}-function Fpe(e, t, n, r, i) {+function Ipe(e, t, n, r, i) {let a = hB((typeof t == "string" ? cB(t) : t).pathname || "/", n);if (a == null) return null;- let o = i ?? Ipe(e), s = null, c = Ype(a);- for (let e = 0; s == null && e < o.length; ++e) s = Jpe(o[e], c, r);+ let o = i ?? Lpe(e), s = null, c = Xpe(a);+ for (let e = 0; s == null && e < o.length; ++e) s = Ype(o[e], c, r);return s;}-function Ipe(e) {+function Lpe(e) {let t = lB(e);- return Lpe(t), t;+ return Rpe(t), t;}function lB(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {@@ -42543,7 +42550,7 @@ function lB(e, t = [], n = [], r = "", i = !1) {let l = yB([r, c.relativePath]), u = n.concat(c);e.children && e.children.length > 0 && (rB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), lB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({path: l,- score: Kpe(l, e.index),+ score: qpe(l, e.index),routesMeta: u.map((e, t) => {let [n, r] = mB(e.relativePath, e.caseSensitive, t === u.length - 1);return {@@ -42567,18 +42574,18 @@ function uB(e) {let o = uB(r.join("/")), s = [];return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);}-function Lpe(e) {- e.sort((e, t) => e.score === t.score ? qpe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);+function Rpe(e) {+ e.sort((e, t) => e.score === t.score ? Jpe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var Rpe = /^:[\w-]+$/, zpe = /^:[\w-]+/, Bpe = 3.5, Vpe = 3, Hpe = 2, Upe = 1, Wpe = 10, Gpe = -2, dB = (e) => e === "*";-function Kpe(e, t) {+var zpe = /^:[\w-]+$/, Bpe = /^:[\w-]+/, Vpe = 3.5, Hpe = 3, Upe = 2, Wpe = 1, Gpe = 10, Kpe = -2, dB = (e) => e === "*";+function qpe(e, t) {let n = e.split("/"), r = n.length;- return n.some(dB) && (r += Gpe), t && (r += Hpe), n.filter((e) => !dB(e)).reduce((e, t) => e + (Rpe.test(t) ? Vpe : zpe.test(t) ? Bpe : t === "" ? Upe : Wpe), r);+ return n.some(dB) && (r += Kpe), t && (r += Upe), n.filter((e) => !dB(e)).reduce((e, t) => e + (zpe.test(t) ? Hpe : Bpe.test(t) ? Vpe : t === "" ? Wpe : Gpe), r);}-function qpe(e, t) {+function Jpe(e, t) {return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;}-function Jpe(e, t, n = !1) {+function Ype(e, t, n = !1) {let { routesMeta: r } = e, i = {}, a = "/", o = [];for (let e = 0; e < r.length; ++e) {let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {@@ -42594,7 +42601,7 @@ function Jpe(e, t, n = !1) {Object.assign(i, d.params), o.push({params: i,pathname: yB([a, d.pathname]),- pathnameBase: eme(yB([a, d.pathnameBase])),+ pathnameBase: tme(yB([a, d.pathnameBase])),route: f}), d.pathnameBase !== "/" && (a = yB([a, d.pathnameBase]));}@@ -42641,7 +42648,7 @@ function mB(e, t = !1, n = !0) {}).replace(/\/((?:[^/?()[\]*^\\]|\\.)+)\?(?=\/|$|\()/g, "(?:/$1)?");return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];}-function Ype(e) {+function Xpe(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {@@ -42654,12 +42661,12 @@ function hB(e, t) {let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);return r && r !== "/" ? null : e.slice(n) || "/";}-function Xpe(e, t = "/") {+function Zpe(e, t = "/") {let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? cB(e) : e, a;return n ? (n = vB(n), a = n.startsWith("/") || n.startsWith("\\") ? gB(n.substring(1), "/") : gB(n, t)) : a = t, {pathname: a,- search: tme(r),- hash: nme(i)+ search: nme(r),+ hash: rme(i)};}function gB(e, t) {@@ -42671,14 +42678,14 @@ function gB(e, t) {function _B(e, t, n, r) {return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;}-function Zpe(e) {+function Qpe(e) {return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);}-function Qpe(e) {- let t = Zpe(e);+function $pe(e) {+ let t = Qpe(e);return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);}-function $pe(e, t, n, r = !1) {+function eme(e, t, n, r = !1) {let i;typeof e == "string" ? i = cB(e) : (i = { ...e }, rB(!i.pathname || !i.pathname.includes("?"), _B("?", "pathname", "search", i)), rB(!i.pathname || !i.pathname.includes("#"), _B("#", "pathname", "hash", i)), rB(!i.search || !i.search.includes("#"), _B("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;@@ -42692,7 +42699,7 @@ function $pe(e, t, n, r = !1) {}s = e >= 0 ? t[e] : "/";}- let c = Xpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ let c = Zpe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}var vB = (e) => e.replace(/[\\/]{2,}/g, "/"), yB = (e) => vB(e.join("/"));@@ -42701,7 +42708,7 @@ function bB(e, t = 0) {for (; n > t && e.charCodeAt(n - 1) === 47;) n--;return n === e.length ? e : e.slice(0, n);}-var eme = (e) => bB(e).replace(/^\/*/, "/"), tme = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, nme = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, rme = class {+var tme = (e) => bB(e).replace(/^\/*/, "/"), nme = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, rme = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, ime = class {status;statusText;data;@@ -42711,23 +42718,23 @@ var eme = (e) => bB(e).replace(/^\/*/, "/"), tme = (e) => !e || e === "?" ? "" :this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;}};-function ime(e) {+function ame(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function ame(e) {+function ome(e) {return yB(e.map((e) => e.route.path).filter(Boolean)) || "/";}var xB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function ome(e, t) {+function sme(e, t) {let n = e;- if (typeof n != "string" || !Ope.test(n)) return {+ if (typeof n != "string" || !kpe.test(n)) return {absoluteURL: void 0,isExternal: !1,to: n};let r = n, i = !1;if (xB) try {- let e = new URL(window.location.href), r = eB.test(n) ? new URL(kpe(n, e.protocol)) : new URL(n), a = hB(r.pathname, t);+ let e = new URL(window.location.href), r = eB.test(n) ? new URL(Ape(n, e.protocol)) : new URL(n), a = hB(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {iB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);@@ -42751,7 +42758,7 @@ function CB(e) {function wB(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function sme(e, t) {+function cme(e, t) {if (e.startsWith("//")) return !0;let n = t.protocol.toLowerCase();return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;@@ -42764,7 +42771,7 @@ function TB(e, t, n, r) {let a = new URL(t, n), o = i != null && !wB(i, n), s = !wB(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !sme(e, i) || !wB(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !cme(e, i) || !wB(i, a))) throw Error("External navigation is not allowed");}// node_modules/react-router/dist/production/lib/router/router.jsvar EB = [@@ -42774,9 +42781,9 @@ var EB = ["DELETE"];new Set(EB);-var cme = ["GET", ...EB];-new Set(cme);-var lme = [+var lme = ["GET", ...EB];+new Set(lme);+var ume = ["about:","blob:","chrome:",@@ -42788,9 +42795,9 @@ var lme = ["filesystem:","javascript:"];-function ume(e) {+function dme(e) {try {- return lme.includes(new URL(e).protocol);+ return ume.includes(new URL(e).protocol);} catch {return !1;}@@ -42798,18 +42805,18 @@ function ume(e) {// node_modules/react-router/dist/production/lib/context.jsvar DB = P.createContext(null);DB.displayName = "DataRouter";-var dme = P.createContext(null);-dme.displayName = "DataRouterState";+var fme = P.createContext(null);+fme.displayName = "DataRouterState";var OB = P.createContext(null);OB.displayName = "DataRouterData";-var fme = P.createContext(null);-fme.displayName = "DataRouterNavigation";-var pme = P.createContext(!1), mme = P.createContext({ isTransitioning: !1 });-mme.displayName = "ViewTransition";-var hme = P.createContext(null);-hme.displayName = "Fetchers";+var pme = P.createContext(null);+pme.displayName = "DataRouterNavigation";+var mme = P.createContext(!1), hme = P.createContext({ isTransitioning: !1 });+hme.displayName = "ViewTransition";var gme = P.createContext(null);-gme.displayName = "Await";+gme.displayName = "Fetchers";+var _me = P.createContext(null);+_me.displayName = "Await";var kB = P.createContext(null);kB.displayName = "Navigation";var AB = P.createContext(null);@@ -42827,17 +42834,17 @@ NB.displayName = "RouteId";var PB = P.createContext(null);PB.displayName = "RouteError";// node_modules/react-router/dist/production/lib/errors.js-var FB = "REACT_ROUTER_ERROR", _me = "REDIRECT", vme = "ROUTE_ERROR_RESPONSE";-function yme(e) {- if (e.startsWith(`${FB}:${_me}:{`)) try {+var FB = "REACT_ROUTER_ERROR", vme = "REDIRECT", yme = "ROUTE_ERROR_RESPONSE";+function bme(e) {+ if (e.startsWith(`${FB}:${vme}:{`)) try {let t = JSON.parse(e.slice(28));if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;} catch {}}-function bme(e) {- if (e.startsWith(`${FB}:${vme}:{`)) try {+function xme(e) {+ if (e.startsWith(`${FB}:${yme}:{`)) try {let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new rme(t.status, t.statusText, t.data);+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new ime(t.status, t.statusText, t.data);} catch {}}// node_modules/react-router/dist/production/lib/hooks.js@@ -42848,12 +42855,12 @@ function LB() {return rB(IB(), "useLocation() may be used only in the context of a <Router> component."), P.useContext(AB).location;}var RB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";-function xme() {- return P.useContext(MB) ? Nme() : Sme();-}function Sme() {+ return P.useContext(MB) ? Pme() : Cme();+}+function Cme() {rB(IB(), "useNavigate() may be used only in the context of a <Router> component.");- let e = P.useContext(DB), { basename: t, navigator: n } = P.useContext(kB), { matches: r } = P.useContext(jB), { pathname: i } = LB(), a = JSON.stringify(Qpe(r)), o = P.useRef(!1);+ let e = P.useContext(DB), { basename: t, navigator: n } = P.useContext(kB), { matches: r } = P.useContext(jB), { pathname: i } = LB(), a = JSON.stringify($pe(r)), o = P.useRef(!1);return P.useLayoutEffect(() => {o.current = !0;}), P.useCallback((r, s = {}) => {@@ -42862,7 +42869,7 @@ function Sme() {n.go(r);return;}- let c = $pe(r, JSON.parse(a), i, s.relative === "path");+ let c = eme(r, JSON.parse(a), i, s.relative === "path");e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : yB([t, c.pathname])), TB(typeof r == "string" ? r : sB(r), n.createHref(c), CB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,@@ -42873,7 +42880,7 @@ function Sme() {]);}P.createContext(null);-function Cme(e, t) {+function wme(e, t) {return zB(e, t);}function zB(e, t, n) {@@ -42893,8 +42900,8 @@ function zB(e, t, n) {d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");}let f;- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Ppe(e, { pathname: d });- let p = kme(f && f.map((e) => Object.assign({}, e, {+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Fpe(e, { pathname: d });+ let p = Ame(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),pathname: yB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),pathnameBase: e.pathnameBase === "/" ? s : yB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])@@ -42912,14 +42919,14 @@ function zB(e, t, n) {navigationType: "POP"} }, p) : p;}-function wme() {- let e = Mme(), t = ime(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;+function Tme() {+ let e = Nme(), t = ame(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;return /* @__PURE__ */ P.createElement(P.Fragment, null, /* @__PURE__ */ P.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ P.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ P.createElement("pre", { style: {padding: "0.5rem",backgroundColor: "rgba(200,200,200, 0.5)"} }, n) : null, null);}-var Tme = /* @__PURE__ */ P.createElement(wme, null), Eme = class extends P.Component {+var Eme = /* @__PURE__ */ P.createElement(Tme, null), Dme = class extends P.Component {constructor(e) {super(e), this.state = {location: e.location,@@ -42927,7 +42934,7 @@ var Tme = /* @__PURE__ */ P.createElement(wme, null), Eme = class extends P.Comperror: e.error};}- static contextType = pme;+ static contextType = mme;static getDerivedStateFromError(e) {return { error: e };}@@ -42948,25 +42955,25 @@ var Tme = /* @__PURE__ */ P.createElement(wme, null), Eme = class extends P.Comprender() {let e = this.state.error;if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = bme(e.digest);+ let t = xme(e.digest);t && (e = t);}let t = e === void 0 ? this.props.children : /* @__PURE__ */ P.createElement(jB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ P.createElement(MB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ P.createElement(NB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ P.createElement(PB.Provider, {value: e,children: this.props.component}))));- return this.context ? /* @__PURE__ */ P.createElement(Dme, { error: e }, t) : t;+ return this.context ? /* @__PURE__ */ P.createElement(Ome, { error: e }, t) : t;}}, BB = /* @__PURE__ */ new WeakMap();-function Dme({ children: e, error: t }) {+function Ome({ children: e, error: t }) {let { basename: n, navigator: r } = P.useContext(kB);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = yme(t.digest);+ let e = bme(t.digest);if (e) {let i = BB.get(t);if (i) throw i;- let a = ome(e.location, n), o = a.absoluteURL || a.to;- if (TB(e.location, o, CB(r), "allow-explicit"), ume(o)) throw Error("Invalid redirect location");+ let a = sme(e.location, n), o = a.absoluteURL || a.to;+ if (TB(e.location, o, CB(r), "allow-explicit"), dme(o)) throw Error("Invalid redirect location");if (xB && !BB.get(t)) {if (a.isExternal || e.reloadDocument) window.location.href = o;else {@@ -42982,11 +42989,11 @@ function Dme({ children: e, error: t }) {}return e;}-function Ome({ routeContext: e, match: t, children: n }) {+function kme({ routeContext: e, match: t, children: n }) {let r = P.useContext(DB);return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ P.createElement(jB.Provider, { value: e }, /* @__PURE__ */ P.createElement(MB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ P.createElement(NB.Provider, { value: t.route.id }, n)));}-function kme(e, t = [], n) {+function Ame(e, t = [], n) {let r = n?.state;if (e == null) {if (!r) return null;@@ -43017,16 +43024,16 @@ function kme(e, t = [], n) {c(e, {location: r.location,params: r.matches?.[0]?.params ?? {},- pattern: ame(r.matches),+ pattern: ome(r.matches),errorInfo: t});} : void 0;return i.reduceRight((e, n, c) => {let u, d = !1, f = null, p = null;- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || Tme, o && (s < 0 && c === 0 ? (Pme("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || Eme, o && (s < 0 && c === 0 ? (Fme("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));let m = t.concat(i.slice(0, c + 1)), h = () => {let t;- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ P.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ P.createElement(Ome, {+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ P.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ P.createElement(kme, {match: n,routeContext: {outlet: e,@@ -43036,7 +43043,7 @@ function kme(e, t = [], n) {children: t});};- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ P.createElement(Eme, {+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ P.createElement(Dme, {location: r.location,revalidation: r.revalidation,component: f,@@ -43054,11 +43061,11 @@ function kme(e, t = [], n) {function VB(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}-function Ame(e) {+function jme(e) {let t = P.useContext(DB);return rB(t, VB(e)), t;}-function jme(e) {+function Mme(e) {let t = P.useContext(OB);return rB(t, VB(e)), t;}@@ -43066,12 +43073,12 @@ function HB(e) {let t = P.useContext(NB);return rB(t, `${e} can only be used on routes that contain a unique "id"`), t;}-function Mme() {- let e = P.useContext(PB), t = jme("useRouteError"), n = HB("useRouteError");+function Nme() {+ let e = P.useContext(PB), t = Mme("useRouteError"), n = HB("useRouteError");return e === void 0 ? t.errors?.[n] : e;}-function Nme() {- let { router: e } = Ame("useNavigate"), t = HB("useNavigate"), n = P.useRef(!1);+function Pme() {+ let { router: e } = jme("useNavigate"), t = HB("useNavigate"), n = P.useRef(!1);return P.useLayoutEffect(() => {n.current = !0;}), P.useCallback(async (r, i = {}) => {@@ -43082,13 +43089,13 @@ function Nme() {}, [e, t]);}var UB = {};-function Pme(e, t, n) {+function Fme(e, t, n) {!t && !UB[e] && (UB[e] = !0, iB(!1, n));}// node_modules/react-router/dist/production/lib/dom/ssr/components.jsvar WB = P.createContext(void 0);-WB.displayName = "FrameworkContext", P.memo(Fme);-function Fme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+WB.displayName = "FrameworkContext", P.memo(Ime);+function Ime({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {let a = P.useContext(DB);rB(a, "You must render this element inside a <DataRouterContext.Provider> element");let o = P.useContext(WB)?.routeDiscoveryRuntime;@@ -43105,7 +43112,7 @@ function Fme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {function GB(e) {rB(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");}-function Ime({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+function Lme({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {rB(!IB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = P.useMemo(() => ({basename: s,@@ -43149,7 +43156,7 @@ function Ime({ basename: e = "/", children: t = null, location: n, navigationTyp}));}function KB({ children: e, location: t }) {- return Cme(qB(e), t);+ return wme(qB(e), t);}P.Component;function qB(e, t = []) {@@ -43186,11 +43193,11 @@ function qB(e, t = []) {}), n;}// src/react/components/board-navigation-link.tsx-function Lme(e) {+function Rme(e) {return /* @__PURE__ */ (0, F.jsx)("a", { ...e });}// src/react/boardui/components/foundations/icons/chevrons.tsx-function Rme(e) {+function zme(e) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43204,7 +43211,7 @@ function Rme(e) {})});}-function zme(e) {+function Bme(e) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 12 12",fill: "none",@@ -43231,15 +43238,15 @@ function JB(e) {});}// src/react/boardui/components/base/breadcrumb/breadcrumb.tsx-function Bme({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {+function Vme({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {let i = P.Children.toArray(e).filter(P.isValidElement);return /* @__PURE__ */ (0, F.jsx)("nav", {ref: r,"aria-label": t,- className: EF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),+ className: lF("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)(zme, {+ children: i.map((e, t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, F.jsx)(Bme, {className: "size-3 shrink-0 text-text-tertiary","aria-hidden": !0}), e] }, e.key ?? t))@@ -43253,33 +43260,33 @@ function YB({ 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: EF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),+ className: lF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),children: o});- let s = EF("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);+ let s = lF("-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)(Lme, {+ children: n ? /* @__PURE__ */ (0, F.jsx)(Rme, {href: n,className: s,children: o}) : /* @__PURE__ */ (0, F.jsx)("button", {type: "button",onClick: r,- className: EF("cursor-pointer", s),+ className: lF("cursor-pointer", s),children: o})});}// src/react/boardui/components/foundations/direction/direction.tsxfunction XB() {- return lS().direction;+ return NS().direction;}// src/react/boardui/components/base/dropdown/menu-styles.ts-var ZB = "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", Vme = "w-[266px]", Hme = "flex w-full flex-col gap-1 outline-none", QB = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", $B = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+var ZB = "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", Hme = "w-[266px]", Ume = "flex w-full flex-col gap-1 outline-none", QB = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", $B = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";// src/react/boardui/components/base/tree-view/tree-view.tsx-function Ume({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = XB(), l = (0, P.useContext)(TI), u = l === CI && !s.dragAndDropHooks ? tV : l;+function Wme({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {+ let c = XB(), l = (0, P.useContext)(xI), u = l === vI && !s.dragAndDropHooks ? tV : l;return /* @__PURE__ */ (0, F.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -43296,23 +43303,23 @@ function Ume({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, F.jsx)(TI.Provider, {+ children: /* @__PURE__ */ (0, F.jsx)(xI.Provider, {value: u,- children: /* @__PURE__ */ (0, F.jsx)(Tfe, {+ children: /* @__PURE__ */ (0, F.jsx)(Efe, {...s,ref: o,selectionMode: n,"data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => EF("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === tV ? "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) => lF("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 === tV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)})})});}function eV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {let d = XB();- return /* @__PURE__ */ (0, F.jsxs)(Ofe, {+ return /* @__PURE__ */ (0, F.jsxs)(kfe, {...u,ref: l,textValue: t,@@ -43320,11 +43327,11 @@ function eV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNampaddingInlineStart: `calc(0.5rem + ${e.level - 1} * 1.25rem)`,...typeof c == "function" ? c(e) : c}),- className: (e) => EF("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),- children: [/* @__PURE__ */ (0, F.jsx)(Dfe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? hz : mz : $fe);+ className: (e) => lF("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)(Ofe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? hz : mz : epe);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(Gme, {+ /* @__PURE__ */ (0, F.jsx)(Kme, {state: l,id: u,level: c,@@ -43334,20 +43341,20 @@ function eV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, F.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, F.jsx)(AI, {+ children: [t ? /* @__PURE__ */ (0, F.jsx)(DI, {slot: "chevron",isDisabled: s,className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",children: /* @__PURE__ */ (0, F.jsx)(dz, {"aria-hidden": !0,- className: EF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")+ className: lF("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: EF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")+ className: lF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")}), f && /* @__PURE__ */ (0, F.jsx)(f, {"aria-hidden": !0,- className: EF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)+ className: lF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)})]}),/* @__PURE__ */ (0, F.jsx)("span", {@@ -43363,23 +43370,23 @@ function eV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam});}var tV = {- ...CI,- CollectionRoot: Wme+ ...vI,+ CollectionRoot: Gme};-function Wme({ collection: e, ...t }) {+function Gme({ collection: e, ...t }) {let n = (0, P.useContext)(oz);- return n ? /* @__PURE__ */ (0, F.jsx)(iy, {+ return n ? /* @__PURE__ */ (0, F.jsx)(gy, {initial: !1,- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, F.jsx)(Kme, {+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, F.jsx)(qme, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, F.jsx)(CI.CollectionRoot, {+ }) : /* @__PURE__ */ (0, F.jsx)(vI.CollectionRoot, {collection: e,...t});}-function Gme({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {+function Kme({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {let o = e.collection.getItem(t);if (!o) return null;let s = [], c = o.parentKey == null ? null : e.collection.getItem(o.parentKey), l = n - 1;@@ -43412,7 +43419,7 @@ function Gme({ state: e, id: t, level: n, expanded: r, branchWidth: i, directionheight: "7",viewBox: `0 0 ${i} 7`,fill: "none",- className: EF("absolute start-0", a === "rtl" && "-scale-x-100"),+ className: lF("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}`,@@ -43438,9 +43445,9 @@ function Gme({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction]});}-function Kme({ state: e, children: t }) {- let n = ty(), r = My(), [i, a] = (0, P.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, F.jsx)(By.div, {+function qme({ state: e, children: t }) {+ let n = py(), r = qy(), [i, a] = (0, P.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, F.jsx)(tb.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -43504,7 +43511,7 @@ function rV({ state: e, size: t = "md" }) {let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = nV[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,- className: EF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? EF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : EF("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: lF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? lF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : lF("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",@@ -43529,15 +43536,15 @@ function rV({ state: e, size: t = "md" }) {// src/react/boardui/components/base/checkbox/checkbox.tsxfunction iV({ className: e, children: t, size: n = "md", ref: r, ...i }) {let a = nV[n];- return /* @__PURE__ */ (0, F.jsx)(Tue, {+ return /* @__PURE__ */ (0, F.jsx)(Eue, {ref: r,...i,- className: (t) => EF("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ className: (t) => lF("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)(rV, {state: e,size: n}), t != null && /* @__PURE__ */ (0, F.jsx)("span", {- className: EF(a.label, "text-text-primary"),+ className: lF(a.label, "text-text-primary"),children: t})] })});@@ -43548,7 +43555,7 @@ function aV() {return (0, P.useEffect)(() => {t.current?.node !== e.current && (t.current?.control?.destroy(), t.current = e.current ? {node: e.current,- control: vo(e.current)+ control: yo(e.current)} : null);}), (0, P.useEffect)(() => () => {t.current?.control?.destroy(), t.current = null;@@ -43589,7 +43596,7 @@ var pV = (e) => {"/assets/:id","/posts/:id","/works/:code"-], qme = [+], Jme = ["mix","parts","editions",@@ -43616,7 +43623,7 @@ function hV(e, t = "") {let a = Number(i[0]);if (!Number.isSafeInteger(a) || a <= 0) return null;if (n === "/assets/:id") {- let e = new URLSearchParams(t), r = qme.filter((t) => e.has(t));+ let e = new URLSearchParams(t), r = Jme.filter((t) => e.has(t));if (r.length === 1) {let t = r[0], i = e.get(t), o = Number(i);if (/^[1-9]\d*$/.test(i) && Number.isSafeInteger(o)) return {@@ -43661,7 +43668,7 @@ function xV() {function SV() {yV = null, bV = null;}-function Jme(e) {+function Yme(e) {let t = vV(e);t && (yV = t, bV = t.pathname + t.search + (t.hash || ""));}@@ -43870,7 +43877,7 @@ var OV = () => {}, kV = new Promise((e) => {});kV.catch(() => {});var AV = null, jV = /* @__PURE__ */ new Map(), MV = /* @__PURE__ */ new Map(), NV = 0, PV = /* @__PURE__ */ new Set();-function Yme(e) {+function Xme(e) {OV(e);}function FV(e) {@@ -43880,7 +43887,7 @@ function IV(e) {return !!e && (jV.has(e) || MV.has(e));}var LV = () => [...jV.values()];-function Xme(e) {+function Zme(e) {return PV.add(e), () => {PV.delete(e);};@@ -43908,7 +43915,7 @@ async function zV(e, t, n) {if (i.controller.signal.aborted) return !1;}if (MV.get(r) !== i || (MV.delete(r), !n.isCurrent())) return !1;- let s = n.place ? n.place(r) : Zme(r);+ let s = n.place ? n.place(r) : Qme(r);return jV.set(r, {path: e,props: t,@@ -43918,7 +43925,7 @@ async function zV(e, t, n) {resident: !!n.resident}), RV(!0), !0;}-function Zme(e) {+function Qme(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.textContent = "", e.append(t), t;}@@ -43945,18 +43952,18 @@ function VV(e, ...t) {for (let e of n) e.resident || e.host.remove();}}-function Qme() {+function $me() {let [e, ...t] = /* @__PURE__ */ new Set([...jV.keys(), ...MV.keys()]);e && VV(e, ...t);}-function $me(e, t) {+function ehe(e, t) {let n = jV.get(e);n?.revision === t && (jV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {RV(!1);}));}// src/history/index.ts-var HV = Ape({ v5Compat: !0 }), UV = 0, WV = 0, GV = {+var HV = jpe({ v5Compat: !0 }), UV = 0, WV = 0, GV = {action: HV.action,location: HV.location,seq: UV,@@ -44021,42 +44028,42 @@ function $V() {}// src/react/providers.tsxvar eH = null;-function ehe() {+function the() {return eH?.isConnected || (eH = document.createElement("div"), eH.className = "peach-react", eH.dataset.reactOverlays = "", document.body.append(eH)), eH;}function tH({ children: e }) {return /* @__PURE__ */ (0, F.jsx)(se, {client: H,- children: /* @__PURE__ */ (0, F.jsx)(one, {+ children: /* @__PURE__ */ (0, F.jsx)(Jte, {reducedMotion: "user",- children: /* @__PURE__ */ (0, F.jsx)(lT, {- getContainer: ehe,+ children: /* @__PURE__ */ (0, F.jsx)(PT, {+ getContainer: the,children: e})})});}// node_modules/sonner/dist/index.mjs-function the(e) {+function nhe(e) {if (!e || typeof document > "u") return;let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));}-var nhe = (e) => {+var rhe = (e) => {switch (e) {- case "success": return ahe;- case "info": return she;- case "warning": return ohe;- case "error": return che;+ case "success": return ohe;+ case "info": return che;+ case "warning": return she;+ case "error": return lhe;default: return null;}-}, rhe = Array(12).fill(0), ihe = ({ visible: e, className: t }) => /*#__PURE__*/ P.createElement("div", {+}, ihe = Array(12).fill(0), ahe = ({ visible: e, className: t }) => /*#__PURE__*/ P.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ P.createElement("div", { className: "sonner-spinner" }, rhe.map((e, t) => /*#__PURE__*/ P.createElement("div", {+}, /*#__PURE__*/ P.createElement("div", { className: "sonner-spinner" }, ihe.map((e, t) => /*#__PURE__*/ P.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), ahe = /*#__PURE__*/ P.createElement("svg", {+})))), ohe = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44067,7 +44074,7 @@ var nhe = (e) => {fillRule: "evenodd",d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule: "evenodd"-})), ohe = /*#__PURE__*/ P.createElement("svg", {+})), she = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -44078,7 +44085,7 @@ var nhe = (e) => {fillRule: "evenodd",d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule: "evenodd"-})), she = /*#__PURE__*/ P.createElement("svg", {+})), che = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44089,7 +44096,7 @@ var nhe = (e) => {fillRule: "evenodd",d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule: "evenodd"-})), che = /*#__PURE__*/ P.createElement("svg", {+})), lhe = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44100,7 +44107,7 @@ var nhe = (e) => {fillRule: "evenodd",d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule: "evenodd"-})), lhe = /*#__PURE__*/ P.createElement("svg", {+})), uhe = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -44121,7 +44128,7 @@ var nhe = (e) => {y1: "6",x2: "18",y2: "18"-})), uhe = () => {+})), dhe = () => {let [e, t] = P.useState(document.hidden);return P.useEffect(() => {let e = () => {@@ -44129,7 +44136,7 @@ var nhe = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, dhe = 1, fhe = 100, nH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : dhe++, rH = new class {+}, fhe = 1, phe = 100, nH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : fhe++, rH = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -44139,7 +44146,7 @@ var nhe = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - fhe;+ let e = this.toasts.length - phe;e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));}, this.create = (e) => {let { message: t, ...n } = e, r = nH(e), i = this.pendingDismissals.get(r);@@ -44217,7 +44224,7 @@ var nhe = (e) => {type: "default",message: e});- else if (mhe(e) && !e.ok) {+ else if (hhe(e) && !e.ok) {i = !1;let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !P.isValidElement(r) ? r : { message: r };this.create({@@ -44270,7 +44277,7 @@ var nhe = (e) => {}), n;}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();}-}(), phe = (e, t) => rH.message(e, t), mhe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", iH = Object.assign(phe, {+}(), mhe = (e, t) => rH.message(e, t), hhe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", iH = Object.assign(mhe, {success: rH.success,info: rH.info,warning: rH.warning,@@ -44284,20 +44291,20 @@ var nhe = (e) => {getHistory: () => rH.toasts,getToasts: () => rH.getActiveToasts()});-the("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");+nhe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function aH(e) {return e.label !== void 0;}-var hhe = 3, ghe = "24px", _he = "16px", oH = 4e3, vhe = 356, yhe = 14, bhe = 45, xhe = 200;+var ghe = 3, _he = "24px", vhe = "16px", oH = 4e3, yhe = 356, bhe = 14, xhe = 45, She = 200;function sH(...e) {return e.filter(Boolean).join(" ");}-function She(e) {+function Che(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var Che = (e) => {- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = P.useState(null), [O, k] = P.useState(null), [A, j] = P.useState(!1), [M, ee] = P.useState(!1), [te, ne] = P.useState(!1), [N, re] = P.useState(!1), [ie, F] = P.useState(!1), [ae, oe] = P.useState(0), [se, ce] = P.useState(0), le = P.useRef(n.duration || y || oH), ue = P.useRef(null), de = P.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", I = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = P.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = P.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = P.useMemo(() => n.duration || y || oH, [n.duration, y]), xe = P.useRef(0), Se = P.useRef(0), Ce = P.useRef(0), we = P.useRef(null), [Te, Ee] = b.split("-"), De = P.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = uhe(), ke = P.useMemo(() => e.swipeDirections ?? She(b), [e.swipeDirections, b]), Ae = n.invert || t, je = me === "loading";+var whe = (e) => {+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = P.useState(null), [O, k] = P.useState(null), [A, j] = P.useState(!1), [M, ee] = P.useState(!1), [te, ne] = P.useState(!1), [N, re] = P.useState(!1), [ie, F] = P.useState(!1), [ae, oe] = P.useState(0), [se, ce] = P.useState(0), le = P.useRef(n.duration || y || oH), ue = P.useRef(null), de = P.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", I = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = P.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = P.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = P.useMemo(() => n.duration || y || oH, [n.duration, y]), xe = P.useRef(0), Se = P.useRef(0), Ce = P.useRef(0), we = P.useRef(null), [Te, Ee] = b.split("-"), De = P.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = dhe(), ke = P.useMemo(() => e.swipeDirections ?? Che(b), [e.swipeDirections, b]), Ae = n.invert || t, je = me === "loading";Se.current = P.useMemo(() => ve * x + De, [ve, De]), P.useEffect(() => {le.current = be;}, [be]), P.useEffect(() => {@@ -44338,7 +44345,7 @@ var Che = (e) => {let Me = P.useCallback(() => {ee(!0), oe(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, xhe);+ }, She);}, [n,d,@@ -44371,12 +44378,12 @@ var Che = (e) => {return w?.loading ? /*#__PURE__*/ P.createElement("div", {className: sH(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": me === "loading"- }, w.loading) : /*#__PURE__*/ P.createElement(ihe, {+ }, w.loading) : /*#__PURE__*/ P.createElement(ahe, {className: sH(C?.loader, n?.classNames?.loader),visible: me === "loading"});}- let Pe = n.icon || w?.[me] || nhe(me);+ let Pe = n.icon || w?.[me] || rhe(me);return /*#__PURE__*/ P.createElement("li", {tabIndex: 0,ref: de,@@ -44423,7 +44430,7 @@ var Che = (e) => {if (N || !I) return;we.current = null;let e = Number(de.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(de.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ue.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;- if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= bhe || a > .11)) oe(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), re(!0);+ if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= xhe || a > .11)) oe(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), re(!0);else {var o, s;(o = de.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = de.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), F(!1), ne(!1), D(null);@@ -44463,7 +44470,7 @@ var Che = (e) => {Me(), n.onDismiss == null || n.onDismiss.call(n, n);},className: sH(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? lhe) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ P.createElement("div", {+ }, w?.close ?? uhe) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ P.createElement("div", {"data-icon": "",className: sH(C?.icon, n?.classNames?.icon)}, me === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, me === "loading" ? null : Pe) : null, /*#__PURE__*/ P.createElement("div", {@@ -44498,10 +44505,10 @@ function cH() {let e = document.documentElement.getAttribute("dir");return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;}-function whe(e, t) {+function The(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? _he : ghe;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? vhe : _he;function o(e) {["top",@@ -44523,7 +44530,7 @@ function whe(e, t) {}), n;}var lH = /*#__PURE__*/ P.forwardRef(function(e, t) {- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = hhe, toastOptions: g, dir: _ = cH(), gap: v = yhe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = P.useState([]), w = P.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = P.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = P.useState([]), [O, k] = P.useState(!1), [A, j] = P.useState(!1), [M, ee] = P.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), te = P.useRef(null), ne = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), N = P.useRef(null), re = P.useRef(!1), ie = P.useCallback((e) => {+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = ghe, toastOptions: g, dir: _ = cH(), gap: v = bhe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = P.useState([]), w = P.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = P.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = P.useState([]), [O, k] = P.useState(!1), [A, j] = P.useState(!1), [M, ee] = P.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), te = P.useRef(null), ne = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), N = P.useRef(null), re = P.useRef(!1), ie = P.useCallback((e) => {C((t) => (t.find((t) => t.id === e.id)?.delete || rH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);return P.useEffect(() => rH.subscribe((e) => {@@ -44605,10 +44612,10 @@ var lH = /*#__PURE__*/ P.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${E[0]?.height || 0}px`,- "--width": `${vhe}px`,+ "--width": `${yhe}px`,"--gap": `${v}px`,...m,- ...whe(l, u)+ ...The(l, u)},onBlur: (e) => {re.current && !e.currentTarget.contains(e.relatedTarget) && (re.current = !1, N.current &&= (N.current.focus({ preventScroll: !0 }), null));@@ -44626,7 +44633,7 @@ var lH = /*#__PURE__*/ P.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);},onPointerUp: () => j(!1)- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ P.createElement(Che, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ P.createElement(whe, {key: n.id,icons: y,index: i,@@ -44656,19 +44663,19 @@ var lH = /*#__PURE__*/ P.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), uH = "/api/library-processing", dH = ["library-processing"], The = (e, t, n) => {+}), uH = "/api/library-processing", dH = ["library-processing"], Ehe = (e, t, n) => {let r = new URLSearchParams({estimate: "1",stage: e.stage || "all"});return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${uH}?${r}`, t);-}, Ehe = {+}, Dhe = {fetching_cover: "封面",querying_metadata: "资料"};function fH(e) {if (e?.status !== "running" || e.current_asset_id == null) return null;- let t = Ehe[e.current_action || ""];+ let t = Dhe[e.current_action || ""];return !t || (e.waited_seconds || 0) < 120 ? null : {what: t,source: e.current_source@@ -44702,11 +44709,11 @@ async function bH(e) {queryFn: () => yH(e)});}-var Dhe = 2e3, Ohe = 1e4, xH = "连接中断,正在重新读取处理进度";+var Ohe = 2e3, khe = 1e4, xH = "连接中断,正在重新读取处理进度";function SH(e, t) {- return mH(e) ? Dhe : t ? Ohe : !1;+ return mH(e) ? Ohe : t ? khe : !1;}-var khe = {+var Ahe = {scanning_files: "扫描文件",reading_local: "检查配套文件",reading_local_cover: "读取配套图片",@@ -44719,21 +44726,21 @@ var khe = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function Ahe(e) {+function jhe(e) {let t = Object.entries(e).filter(([e, t]) => CH[e] && t > 0).map(([e, t]) => `${CH[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function jhe(e) {+function Mhe(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = khe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${GF(e.waited_seconds)}` : "";+ let t = Ahe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${OF(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function Mhe(e) {- let t = e.total ? `${KF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";- return jhe(e) + (t ? ` · ${t}` : "");-}function Nhe(e) {+ let t = e.total ? `${kF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ return Mhe(e) + (t ? ` · ${t}` : "");+}+function Phe(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -44747,12 +44754,12 @@ function Nhe(e) {log: e.issues_log || ""} : null;}-var wH = "peach.library-processing.announced", Phe = 120;+var wH = "peach.library-processing.announced", Fhe = 120;function TH(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;- return !!e.job_id && t >= 0 && t < Phe;+ return !!e.job_id && t >= 0 && t < Fhe;}-function Fhe(e, t, n) {+function Ihe(e, t, n) {if (e.status === "complete" && (n || TH(e))) {try {if (e.job_id && localStorage.getItem(wH) === e.job_id) return;@@ -44762,7 +44769,7 @@ function Fhe(e, t, n) {}}// src/react/boardui/components/base/buttons/link-button.tsx-var EH = DF({+var EH = uF({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",@@ -44780,7 +44787,7 @@ var EH = DF({}});function DH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = EF(EH.base, EH.size[t], EH.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [+ let c = lF(EH.base, EH.size[t], EH.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n ? /* @__PURE__ */ (0, F.jsx)(n, {className: EH.icon[t],"aria-hidden": !0@@ -44877,14 +44884,14 @@ function kH({ state: e }) {]});}-function Ihe({ state: e, slow: t }) {+function Lhe({ state: e, slow: t }) {return /* @__PURE__ */ (0, F.jsx)(Fz, {tone: "warning",action: /* @__PURE__ */ (0, F.jsx)(kH, { state: e }),children: pH(t)});}-function Lhe({ state: e, slow: t }) {+function Rhe({ state: e, slow: t }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-processing-slow": "",className: "flex min-w-0 flex-wrap items-center justify-between gap-3",@@ -44895,14 +44902,14 @@ function Lhe({ state: e, slow: t }) {});}// src/react/components/use-moving-surface.ts-var Rhe = {+var zhe = {selection: {- type: Jf,+ type: Yf,duration: .16,bounce: 0},hover: {- type: Jf,+ type: Yf,duration: .08,bounce: 0}@@ -44928,7 +44935,7 @@ function AH(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 = ure(n, { transform: [r, E] }, Rhe[e]);+ l = Xne(n, { transform: [r, E] }, zhe[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -45012,12 +45019,12 @@ function IH({ className: e }) {]});}-var zhe = [+var Bhe = [PH,FH,IH];-function Bhe({ animate: e }) {+function Vhe({ animate: e }) {let [t, n] = (0, P.useState)(document.hidden);return (0, P.useEffect)(() => {let e = () => n(document.hidden);@@ -45081,7 +45088,7 @@ function LH({ value: e, busy: t, onChange: n, animate: r = !0 }) {})]}),- /* @__PURE__ */ (0, F.jsxs)(Fue, {+ /* @__PURE__ */ (0, F.jsxs)(Iue, {"aria-label": "处理速度",minValue: 0,maxValue: 2,@@ -45093,7 +45100,7 @@ function LH({ value: e, busy: t, onChange: n, animate: r = !0 }) {e !== i && n(MH[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, F.jsx)(OI, {+ children: [/* @__PURE__ */ (0, F.jsx)(wI, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -45113,10 +45120,10 @@ function LH({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, F.jsx)("i", {})]}),- a === 2 ? /* @__PURE__ */ (0, F.jsx)(Bhe, { animate: r }) : null,- /* @__PURE__ */ (0, F.jsx)(Iue, {+ a === 2 ? /* @__PURE__ */ (0, F.jsx)(Vhe, { animate: r }) : null,+ /* @__PURE__ */ (0, F.jsx)(Lue, {className: "processing-effort-hit",- children: /* @__PURE__ */ (0, F.jsx)(Lue, {+ children: /* @__PURE__ */ (0, F.jsx)(Rue, {"aria-label": NH[a],className: "processing-effort-thumb"})@@ -45131,7 +45138,7 @@ function LH({ value: e, busy: t, onChange: n, animate: r = !0 }) {]});}-function Vhe({ value: e, busy: t, onChange: n, animate: r = !0 }) {+function Hhe({ value: e, busy: t, onChange: n, animate: r = !0 }) {let i = (0, P.useRef)(null), [a, o] = (0, P.useState)(!1), s = Math.max(0, MH.indexOf(e));return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "processing-effort-trigger",@@ -45144,7 +45151,7 @@ function Vhe({ value: e, busy: t, onChange: n, animate: r = !0 }) {"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,- leadingIcon: zhe[s],+ leadingIcon: Bhe[s],trailingIcon: lz,onClick: () => {t || o(!a);@@ -45183,7 +45190,7 @@ function RH({ state: e, disabled: t = !1 }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, F.jsx)(Vhe, {+ /* @__PURE__ */ (0, F.jsx)(Hhe, {value: e.speed_mode || "standard",busy: t || !!n.busy || i,animate: e.status !== "paused" && e.status !== "pausing",@@ -45247,7 +45254,7 @@ function zH({ toast: e, mode: t, monitor: n }) {"paused","stopping"].includes(n) && !mH(c);- r && o(c), (r || t === "notice") && Fhe(c, e, r);+ r && o(c), (r || t === "notice") && Ihe(c, e, r);}, [c,t,@@ -45259,32 +45266,32 @@ function zH({ toast: e, mode: t, monitor: n }) {};}// src/react/components/card.tsx-var Hhe = "min-w-0", Uhe = {+var Uhe = "min-w-0", Whe = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, Whe = {+}, Ghe = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, Ghe = {+}, Khe = {line: "border border-border-button-default",soft: "border border-separator-border"-}, Khe = {+}, qhe = {none: "",default: "p-5"-}, qhe = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", Jhe = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";+}, Jhe = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", Yhe = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";function BH(e = {}) {let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");return [- Hhe,- Uhe[t],- Whe[s],- Khe[n],- a ? Ghe[a] : "",- r ? qhe : "",- i ? Jhe : "",+ Uhe,+ Whe[t],+ Ghe[s],+ qhe[n],+ a ? Khe[a] : "",+ r ? Jhe : "",+ i ? Yhe : "",o ?? ""].filter(Boolean).join(" ");}@@ -45308,7 +45315,7 @@ function VH({ label: e }) {});}// src/react/components/progress.tsx-var HH = 100, Yhe = .4;+var HH = 100, Xhe = .4;function UH({ label: e, value: t, max: n = 100, stops: r = [] }) {let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * HH;return /* @__PURE__ */ (0, F.jsxs)("svg", {@@ -45333,7 +45340,7 @@ function UH({ label: e, value: t, max: n = 100, stops: r = [] }) {}),r.map((e) => /* @__PURE__ */ (0, F.jsx)("rect", {x: o(e),- width: Yhe,+ width: Xhe,height: 1,className: "fill-background-secondary-default"}, e))@@ -45376,15 +45383,15 @@ function GH(e) {return () => window.clearInterval(r);}, [e, i]);let a = i && t.snapshot === e ? t.seconds : 0;- return Mhe(a ? {+ return Nhe(a ? {...e,waited_seconds: r + a} : e);}-function Xhe({ state: e }) {+function Zhe({ state: e }) {return GH(e);}-function Zhe({ state: e }) {+function Qhe({ state: e }) {let t = GH(e);return /* @__PURE__ */ (0, F.jsx)(WH, {embedded: !0,@@ -45398,7 +45405,7 @@ function KH({ open: e, children: t, ...n }) {let r = (0, P.useRef)(null), i = (0, P.useRef)(!1);return (0, P.useLayoutEffect)(() => {let t = r.current;- t && (i.current ? xo(t, e) : (i.current = !0, t.hidden = !e, t.inert = !e, t.classList.add("ui-fcollapse"), t.classList.toggle("ui-fcollapse-settled", e)));+ t && (i.current ? So(t, e) : (i.current = !0, t.hidden = !e, t.inert = !e, t.classList.add("ui-fcollapse"), t.classList.toggle("ui-fcollapse-settled", e)));}, [e]), /* @__PURE__ */ (0, F.jsx)("div", {...n,ref: r,@@ -45422,19 +45429,19 @@ function qH(e) {// src/react/boardui/components/application/settings/settings-rows.tsxfunction JH({ className: e, children: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {- className: EF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: lF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}function YH({ className: e, children: t }) {return /* @__PURE__ */ (0, F.jsx)("p", {- className: EF("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: lF("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function Qhe({ label: e, description: t, children: n }) {+function $he({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {- className: EF("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),+ className: lF("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", {@@ -45448,7 +45455,7 @@ function Qhe({ label: e, description: t, children: n }) {});}// src/react/settings/section.tsx-function $he({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {+function ege({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {let o = t ? /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [t, e]@@ -45476,13 +45483,13 @@ function $he({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {children: s});}-function ege({ children: e }) {+function tge({ children: e }) {return /* @__PURE__ */ (0, F.jsx)("div", {className: "ui-settings-rows flex flex-col empty:hidden",children: e});}-function tge({ divided: e = !1, children: t }) {+function nge({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, F.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden",children: t@@ -45491,7 +45498,7 @@ function tge({ divided: e = !1, children: t }) {children: t});}-function nge({ label: e, html: t }) {+function rge({ label: e, html: t }) {let [n] = (0, P.useState)(t);return /* @__PURE__ */ (0, F.jsx)("div", {className: "contents",@@ -45501,7 +45508,7 @@ function nge({ label: e, html: t }) {dangerouslySetInnerHTML: { __html: n }});}-function rge({ status: e, children: t }) {+function ige({ status: e, children: t }) {return /* @__PURE__ */ (0, F.jsxs)("div", {className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3 empty:hidden",children: [e ? /* @__PURE__ */ (0, F.jsx)("div", {@@ -45530,7 +45537,7 @@ function QH({ children: e }) {children: e});}-function ige({ href: e, children: t, leadingIcon: n }) {+function age({ href: e, children: t, leadingIcon: n }) {return /* @__PURE__ */ (0, F.jsx)(DH, {href: e,target: "_blank",@@ -45545,13 +45552,13 @@ function ige({ href: e, children: t, leadingIcon: n }) {})});}-function age({ children: e }) {+function oge({ children: e }) {return /* @__PURE__ */ (0, F.jsx)("dl", {className: "ui-settings-facts flex flex-col empty:hidden",children: e});}-function oge({ term: e, children: t }) {+function sge({ term: e, children: t }) {return /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",children: [/* @__PURE__ */ (0, F.jsx)("dt", {@@ -45566,7 +45573,7 @@ function oge({ term: e, children: t }) {function $H({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {let s = (0, P.useId)(), c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(!1), [d, f] = (0, P.useState)(n ?? t);return (0, P.useLayoutEffect)(() => {- n !== void 0 && n !== d && c.current && l.current && (bo(c.current, l.current, n), f(n));+ n !== void 0 && n !== d && c.current && l.current && (xo(c.current, l.current, n), f(n));}, [n, d]), /* @__PURE__ */ (0, F.jsxs)("details", {ref: (e) => {c.current = e, e && (n ?? t) && !u.current && (u.current = !0, e.open = !0);@@ -45575,7 +45582,7 @@ function $H({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:"aria-expanded": d,"aria-controls": s,onClick: (e) => {- e.preventDefault(), c.current && l.current && (bo(c.current, l.current, !d), f(!d), a?.(!d));+ e.preventDefault(), c.current && l.current && (xo(c.current, l.current, !d), f(!d), a?.(!d));},className: `${i ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [@@ -45594,13 +45601,13 @@ function $H({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:id: s,inert: !d,children: /* @__PURE__ */ (0, F.jsx)("div", {- className: EF("flex flex-col gap-2 pt-3", o),+ className: lF("flex flex-col gap-2 pt-3", o),children: r})})]});}-function sge({ name: e }) {+function cge({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {"aria-hidden": !0,"data-source-mark": e,@@ -45617,23 +45624,23 @@ function eU({ mark: e }) {width: 16,height: 16,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, F.jsx)(sge, { name: e });+ }) : /* @__PURE__ */ (0, F.jsx)(cge, { name: e });}// src/react/components/source-label.tsx-var tU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, cge = Object.fromEntries(Object.entries(Zo).map(([e, t]) => [e, function({ className: e }) {+var tU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, lge = Object.fromEntries(Object.entries(Qo).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("span", {className: e,children: /* @__PURE__ */ (0, F.jsx)(eU, { mark: t })});}]));-function lge({ className: e }) {+function uge({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("span", {className: e,children: /* @__PURE__ */ (0, F.jsx)(eU, { mark: "database" })});}-var nU = (e) => cge[tU(e)] ?? lge;-function uge({ site: e, label: t }) {+var nU = (e) => lge[tU(e)] ?? uge;+function dge({ site: e, label: t }) {let [n, r] = (0, P.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",@@ -45649,18 +45656,18 @@ function rU({ source: e, label: t }) {let n = tU(e);return /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, F.jsx)(eU, { mark: Zo[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(eU, { mark: Qo[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, F.jsx)("span", {className: "min-w-0 truncate",children: t})]});}// src/react/library-processing/processing-traffic.tsx-var iU = (e) => jn(e).replace(/\s/g, ""), aU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : iU(e), dge = (e, t) => {+var iU = (e) => jn(e).replace(/\s/g, ""), aU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : iU(e), fge = (e, t) => {if (e === t) return iU(t);let [n, r] = jn(e).split(" "), [i, a] = jn(t).split(" ");return r === a ? `${n}-${i}${a}` : `${iU(e)}-${iU(t)}`;-}, oU = (e, t, n) => e === void 0 ? dge(t, n) : `${e > 0 ? "约 " : ""}${iU(e)}`;+}, oU = (e, t, n) => e === void 0 ? fge(t, n) : `${e > 0 ? "约 " : ""}${iU(e)}`;function sU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {let i = aV(), [a, o] = (0, P.useState)(!1), s = (0, P.useId)(), c = n ?? a;if (!e) return null;@@ -45731,7 +45738,7 @@ function sU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, F.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, F.jsx)(ype, {+ children: [/* @__PURE__ */ (0, F.jsx)(bpe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]@@ -45765,7 +45772,7 @@ function sU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })className: "self-start","aria-expanded": c,"aria-controls": s,- trailingIcon: c ? Lfe : lz,+ trailingIcon: c ? Rfe : lz,onClick: () => {o(!c), r?.(!c);},@@ -45841,7 +45848,7 @@ function lU(e) {return !0;}}-function fge({ value: e, max: t }) {+function pge({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, F.jsxs)("svg", {role: "progressbar",@@ -45900,7 +45907,7 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {"data-processing-tone": d ? "error" : h ? "warning" : "neutral","aria-label": "扫描任务",role: d ? "alert" : "status",- className: EF("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: lF("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",@@ -45908,13 +45915,13 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [- f && e?.total ? /* @__PURE__ */ (0, F.jsx)(fge, {+ f && e?.total ? /* @__PURE__ */ (0, F.jsx)(pge, {value: e.checked || 0,max: e.total- }) : d || h ? /* @__PURE__ */ (0, F.jsx)(Xfe, {+ }) : d || h ? /* @__PURE__ */ (0, F.jsx)(Zfe, {"aria-hidden": !0,className: "size-5 shrink-0"- }) : /* @__PURE__ */ (0, F.jsx)(spe, {+ }) : /* @__PURE__ */ (0, F.jsx)(cpe, {"aria-hidden": !0,className: "size-5 shrink-0"}),@@ -45956,7 +45963,7 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {detailsOpen: s,onDetailsChange: c}),- m ? /* @__PURE__ */ (0, F.jsx)(Lhe, {+ m ? /* @__PURE__ */ (0, F.jsx)(Rhe, {state: e,slow: m}) : null@@ -45969,7 +45976,7 @@ function uU({ 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: EF("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: lF("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": "处理步骤",@@ -45977,16 +45984,16 @@ function uU({ 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: EF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),+ className: lF("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)(Ufe, {+ e.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(Wfe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, F.jsx)(Wfe, {+ }) : /* @__PURE__ */ (0, F.jsx)(Gfe, {"aria-hidden": !0,- className: EF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")+ className: lF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),- /* @__PURE__ */ (0, F.jsx)(XC, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),+ /* @__PURE__ */ (0, F.jsx)(xw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, F.jsx)("s", {className: "wrap-anywhere",children: e.label@@ -45999,7 +46006,7 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}) : null,/* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: t || (d || u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, F.jsx)(Xhe, { state: e }))+ children: t || (d || u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, F.jsx)(Zhe, { state: e }))}),u ? /* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular wrap-anywhere",@@ -46042,7 +46049,7 @@ function uU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {]});}-function pge(e) {+function mge(e) {let { job: t } = zH(e);return /* @__PURE__ */ (0, F.jsx)(uU, {state: t.data,@@ -46051,14 +46058,14 @@ function pge(e) {}// src/react/library-processing/processing-notice-visibility.tsvar dU = "peach.library-processing.visibility", fU = /* @__PURE__ */ new Set(), pU = "";-function mge() {+function hge() {try {return sessionStorage.getItem(dU) || "";} catch {return pU;}}-function hge(e) {+function gge(e) {return fU.add(e), () => {fU.delete(e);};@@ -46071,7 +46078,7 @@ function mU(e, t) {fU.forEach((e) => e());}function hU(e) {- let t = (0, P.useSyncExternalStore)(hge, mge, () => "");+ let t = (0, P.useSyncExternalStore)(gge, hge, () => "");return {hidden: t === `hidden:${e}`,requested: t === `shown:${e}`@@ -46079,7 +46086,7 @@ function hU(e) {}// src/react/library-processing/library-processing-dock.tsxvar gU = "peach-library-processing";-function gge({ toast: e }) {+function _ge({ toast: e }) {let { job: t, settled: n } = zH({toast: e,mode: "notice"@@ -46117,15 +46124,15 @@ function gge({ toast: e }) {}, []), null;}// src/react/network-banner.tsx-var _ge = ["network-status"], vge = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";-function yge(e) {+var vge = ["network-status"], yge = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";+function bge(e) {return e?.state === "online" ? 12e4 : 3e4;}-function bge() {+function xge() {let e = Pt({- queryKey: _ge,+ queryKey: vge,queryFn: ({ signal: e }) => B("/api/network-status", e),- refetchInterval: (e) => yge(e.state.data),+ refetchInterval: (e) => bge(e.state.data),retry: !1}), t = document.querySelector("[data-network-banner]");return e.data?.state !== "offline" || !t ? null : (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsxs)("aside", {@@ -46136,14 +46143,14 @@ function bge() {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-alert" })- }), /* @__PURE__ */ (0, F.jsx)("p", { children: vge })] }), /* @__PURE__ */ (0, F.jsx)("a", {+ }), /* @__PURE__ */ (0, F.jsx)("p", { children: yge })] }), /* @__PURE__ */ (0, F.jsx)("a", {href: "/settings/network#peachProxy",children: "检查 Peach 代理"})]}), t);}// src/react/client-updates.tsx-var xge = 12e4, Sge = 15e3, _U = () => document.visibilityState !== "hidden", vU = /* @__PURE__ */ new Set([+var Sge = 12e4, Cge = 15e3, _U = () => document.visibilityState !== "hidden", vU = /* @__PURE__ */ new Set(["downloading","verifying","extracting",@@ -46151,7 +46158,7 @@ var xge = 12e4, Sge = 15e3, _U = () => document.visibilityState !== "hidden", vU"restarting","installing"]), yU = "/settings/maintenance#releaseUpdates";-function Cge() {+function wge() {try {let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");return typeof e?.version == "string" && typeof e?.build_id == "string" ? {@@ -46163,19 +46170,19 @@ function Cge() {}}function bU() {- let e = (0, P.useRef)(Cge()), [t, n] = (0, P.useState)(null);+ let e = (0, P.useRef)(wge()), [t, n] = (0, P.useState)(null);return (0, P.useEffect)(() => {let t = !1, r, i, a = async () => {if (t || !_U()) return;let o = new AbortController();i = o;- let s = setTimeout(() => o.abort(), Sge);+ let s = setTimeout(() => o.abort(), Cge);o.signal.addEventListener("abort", () => clearTimeout(s), { once: !0 });try {let r = await B("/api/client-updates", o.signal);!t && !o.signal.aborted && typeof r?.runtime?.version == "string" && typeof r.runtime.build_id == "string" && (e.current ??= { ...r.runtime }, n(r));} catch {} finally {- clearTimeout(s), i === o && (i = void 0, !t && _U() && (r = setTimeout(a, xge)));+ clearTimeout(s), i === o && (i = void 0, !t && _U() && (r = setTimeout(a, Sge)));}}, o = () => {clearTimeout(r), i?.abort(), i = void 0, _U() && a();@@ -46188,7 +46195,7 @@ function bU() {refresh: !!t && !!e.current && (t.runtime.version !== e.current.version || t.runtime.build_id !== e.current.build_id)};}-function wge({ navigate: e }) {+function Tge({ navigate: e }) {let { snapshot: t, refresh: n } = bU(), [r, i] = (0, P.useState)(""), a = document.querySelector("[data-network-banner]");if (!t || !a) return null;let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : vU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;@@ -46242,7 +46249,7 @@ function wge({ navigate: e }) {}, d), a);}// src/react/router/pages/settings.tsx-function Tge() {+function Ege() {let e = (0, P.useContext)(TU), { pathname: t } = LB();return (0, P.useEffect)(() => {e?.openSettings?.(dV(t));@@ -46253,9 +46260,9 @@ function Tge() {}, [e]), null;}// src/react/router/pages/overlay.tsx-var xU = () => cu, Ege = () => lu;-function Dge() {- let e = (0, P.useContext)(TU), t = (0, P.useSyncExternalStore)(yu, Ege), n = (0, P.useSyncExternalStore)(yu, xU);+var xU = () => lu, Dge = () => uu;+function Oge() {+ let e = (0, P.useContext)(TU), t = (0, P.useSyncExternalStore)(bu, Dge), n = (0, P.useSyncExternalStore)(bu, xU);return (0, P.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -46271,10 +46278,10 @@ function Dge() {]), null;}function SU(e, t = !1) {- let n = (0, P.useSyncExternalStore)(yu, xU), r = (0, P.useRef)(void 0);+ let n = (0, P.useSyncExternalStore)(bu, xU), r = (0, P.useRef)(void 0);if (r.current === void 0) {let { claimed: e } = XV.navigation;- r.current = cu === 0 || QV() ? "boot" : e && !t ? null : "history";+ r.current = lu === 0 || QV() ? "boot" : e && !t ? null : "history";}let i = (0, P.useRef)(e);(0, P.useEffect)(() => {@@ -46290,20 +46297,20 @@ function SU(e, t = !1) {}));}, [n]);}-function Oge() {+function kge() {let e = (0, P.useContext)(TU), t = (0, P.useRef)(e);return (0, P.useLayoutEffect)(() => {t.current = e;}, [e]), SU((t) => {let n = XV.navigation.location, { pathname: r, search: i } = uV(n.pathname) && pV(n.state) || n, a = gV(r, i);- e && a && (SV(), t || Jme(XV.navigation.location.state), e.openOverlay(a));+ e && a && (SV(), t || Yme(XV.navigation.location.state), e.openOverlay(a));}, !0), (0, P.useEffect)(() => () => {queueMicrotask(() => {_V(XV.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function kge({ path: e }) {+function Age({ path: e }) {wU();let { location: t, seq: n, action: r } = XV.navigation, i = uV(t.pathname) ? pV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, P.useRef)({identity: a,@@ -46316,26 +46323,26 @@ function kge({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, F.jsx)(Oge, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, F.jsx)(kge, {}, `${e} ${o.current.seq}`);}-function Age() {+function jge() {let e = (0, P.useContext)(TU);return SU(() => {e?.follow?.ground();}), null;}-function jge() {- return /* @__PURE__ */ (0, F.jsx)(Age, {}, wU());+function Mge() {+ return /* @__PURE__ */ (0, F.jsx)(jge, {}, wU());}// src/react/router/router.tsxvar CU = (0, P.createContext)(0), wU = () => (0, P.useContext)(CU), TU = (0, P.createContext)(null);-function Mge({ children: e }) {+function Nge({ children: e }) {let [t, n] = (0, P.useState)(() => XV.navigation);return (0, P.useLayoutEffect)(() => (n(XV.navigation), XV.listen((e) => {(0, Lt.flushSync)(() => n(e));})), []), /* @__PURE__ */ (0, F.jsx)(CU.Provider, {value: t.openEpoch,- children: /* @__PURE__ */ (0, F.jsx)(Ime, {+ children: /* @__PURE__ */ (0, F.jsx)(Lme, {location: t.location,navigationType: t.action,navigator: XV,@@ -46343,48 +46350,48 @@ function Mge({ children: e }) {})});}-function Nge({ target: e }) {- let t = xme();+function Pge({ target: e }) {+ let t = Sme();return (0, P.useLayoutEffect)(() => {e.current = t;}), null;}-function Pge(e, t, n) {+function Fge(e, t, n) {let r = new URL(e, window.location.href);- N6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);+ P6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function Fge() {+function Ige() {let e = (0, P.useContext)(TU), [t, n] = (0, P.useState)(LV), r = (0, P.useRef)(null);- (0, P.useLayoutEffect)(() => (n(LV()), Xme((e, t) => {+ (0, P.useLayoutEffect)(() => (n(LV()), Zme((e, t) => {t ? (0, Lt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, P.useMemo)(() => (t) => {- e && r.current && Pge(t, e, r.current);+ e && r.current && Fge(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Nge, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, F.jsx)(Ige, {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Pge, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, F.jsx)(Lge, {entry: t,- children: /* @__PURE__ */ (0, F.jsx)(Lge, {+ children: /* @__PURE__ */ (0, F.jsx)(Rge, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var Ige = class extends P.Component {+var Lge = class extends P.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };}componentDidCatch() {- $me(this.props.entry.container, this.props.entry.revision);+ ehe(this.props.entry.container, this.props.entry.revision);}render() {return this.state.failed ? null : this.props.children;}-}, Lge = (0, P.memo)(function({ entry: e, actions: t, go: n }) {- return q6(e.path) ? (0, Lt.createPortal)($je(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, Rge = (0, P.memo)(function({ entry: e, actions: t, go: n }) {+ return J6(e.path) ? (0, Lt.createPortal)($je(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function Rge({ children: e }) {+function zge({ children: e }) {let t = LB();wU();let n = $V(), r = uV(t.pathname) && !QV() ? pV(t.state) : null;@@ -46392,7 +46399,7 @@ function Rge({ children: e }) {/* @__PURE__ */ (0, F.jsxs)(KB, {location: n ?? t,children: [- Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(GB, {+ Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(GB, {path: e,element: t.element}, e)),@@ -46400,21 +46407,21 @@ function Rge({ children: e }) {path: e,element: t.element}, e)),- Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(GB, {+ Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(GB, {path: e,element: t.element}, e)),- Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(GB, {+ Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(GB, {path: e,element: t.element}, e)),- Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(GB, {+ Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(GB, {path: e,element: t.element}, e)),- K6.map((e) => /* @__PURE__ */ (0, F.jsx)(GB, {+ q6.map((e) => /* @__PURE__ */ (0, F.jsx)(GB, {path: e,- element: B6["/"].element+ element: V6["/"].element}, e)),Object.entries(Xje).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(GB, {path: e,@@ -46422,7 +46429,7 @@ function Rge({ children: e }) {}, e)),mV.map((e) => /* @__PURE__ */ (0, F.jsx)(GB, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, F.jsx)(jge, {}) : B6["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, F.jsx)(Mge, {}) : V6["/"].element}, e)),lV.map((e) => /* @__PURE__ */ (0, F.jsx)(GB, {path: e,@@ -46438,7 +46445,7 @@ function Rge({ children: e }) {location: r ?? t,children: [mV.map((e) => /* @__PURE__ */ (0, F.jsx)(GB, {path: e,- element: /* @__PURE__ */ (0, F.jsx)(kge, { path: e })+ element: /* @__PURE__ */ (0, F.jsx)(Age, { path: e })}, e)), /* @__PURE__ */ (0, F.jsx)(GB, {path: "*",element: null@@ -46446,31 +46453,31 @@ function Rge({ children: e }) {}),/* @__PURE__ */ (0, F.jsxs)(KB, { children: [lV.map((e) => /* @__PURE__ */ (0, F.jsx)(GB, {path: e,- element: /* @__PURE__ */ (0, F.jsx)(Tge, {})+ element: /* @__PURE__ */ (0, F.jsx)(Ege, {})}, e)), /* @__PURE__ */ (0, F.jsx)(GB, {path: "*",element: null})] })] });}-function zge({ children: e, actions: t = null, background: n, processing: r = !1 }) {+function Bge({ children: e, actions: t = null, background: n, processing: r = !1 }) {return /* @__PURE__ */ (0, F.jsxs)(tH, { children: [n, /* @__PURE__ */ (0, F.jsx)(TU.Provider, {value: t,- children: /* @__PURE__ */ (0, F.jsxs)(Mge, { children: [- /* @__PURE__ */ (0, F.jsx)(Fge, {}),- /* @__PURE__ */ (0, F.jsx)(Dge, {}),- r && t ? /* @__PURE__ */ (0, F.jsx)(gge, { toast: t.toast }) : null,- r && t ? /* @__PURE__ */ (0, F.jsx)(bge, {}) : null,- r && t ? /* @__PURE__ */ (0, F.jsx)(wge, { navigate: t.navigate }) : null,- /* @__PURE__ */ (0, F.jsx)(Rge, { children: e })+ children: /* @__PURE__ */ (0, F.jsxs)(Nge, { children: [+ /* @__PURE__ */ (0, F.jsx)(Ige, {}),+ /* @__PURE__ */ (0, F.jsx)(Oge, {}),+ r && t ? /* @__PURE__ */ (0, F.jsx)(_ge, { toast: t.toast }) : null,+ r && t ? /* @__PURE__ */ (0, F.jsx)(xge, {}) : null,+ r && t ? /* @__PURE__ */ (0, F.jsx)(Tge, { navigate: t.navigate }) : null,+ /* @__PURE__ */ (0, F.jsx)(zge, { children: e })] })})] });}-var Bge = { onCaughtError: (e) => {+var Vge = { onCaughtError: (e) => {globalThis.reportError?.(e);} };// src/react/boardui/utils/use-dismiss-on-outside-press.ts-function Vge(e, t, n) {+function Hge(e, t, n) {(0, P.useEffect)(() => {if (!e) return;let r = (e) => {@@ -46484,7 +46491,7 @@ function Vge(e, t, n) {n]);}-function Hge(e, t) {+function Uge(e, t) {let n = (0, P.useRef)(!1);return (0, P.useEffect)(() => {if (!e) return;@@ -46500,29 +46507,29 @@ function Hge(e, t) {var EU = (0, P.createContext)("md");function DU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, P.useRef)(null), u = (0, P.useRef)(null), [d, f] = (0, P.useState)(!1);- Vge(d, () => f(!1), [l, u]);- let p = Hge(d, l);- return /* @__PURE__ */ (0, F.jsx)(Cde, {+ Hge(d, () => f(!1), [l, u]);+ let p = Uge(d, l);+ return /* @__PURE__ */ (0, F.jsx)(wde, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: EF("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)(AI, {+ className: lF("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)(DI, {ref: l,- className: EF("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),- children: [/* @__PURE__ */ (0, F.jsx)(Ede, {- className: EF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: lF("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)(Dde, {+ className: lF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, F.jsx)(Rme, { className: EF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, F.jsx)(zme, { className: lF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]}), /* @__PURE__ */ (0, F.jsx)(rR, {ref: u,isNonModal: !0,offset: 4,- className: EF(Vme, ZB, "p-2", n),- children: /* @__PURE__ */ (0, F.jsx)(Gue, {+ className: lF(Hme, ZB, "p-2", n),+ children: /* @__PURE__ */ (0, F.jsx)(Kue, {items: a,- className: EF(Hme, "max-h-[240px] overflow-auto"),+ className: lF(Ume, "max-h-[240px] overflow-auto"),children: /* @__PURE__ */ (0, F.jsx)(EU.Provider, {value: r,children: i@@ -46533,9 +46540,9 @@ function DU({ className: e, triggerClassName: t, popoverClassName: n, size: r =}function OU({ className: e, children: t, ...n }) {let r = (0, P.useContext)(EU);- return /* @__PURE__ */ (0, F.jsx)(Jue, {+ return /* @__PURE__ */ (0, F.jsx)(Yue, {...n,- className: (t) => EF(QB, 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) => lF(QB, 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});}@@ -46565,7 +46572,7 @@ function jU(e, t) {return e.pathname + (n.size ? `?${n}` : "");}// src/react/catalog-folders/folder-rule-dialog.tsx-function Uge({ folder: e, rule: t, revision: n, close: r }) {+function Wge({ folder: e, rule: t, revision: n, close: r }) {let i = (0, P.useContext)(TU), a = OH(), [o, s] = (0, P.useState)(t?.purpose || "category"), [c, l] = (0, P.useState)(t?.name || ""), [u, d] = (0, P.useState)(t?.recursive ?? !0), [f, p] = (0, P.useState)(t?.future ?? !1), [m, h] = (0, P.useState)(null), [g, _] = (0, P.useState)(!1), v = {folder: e.id,purpose: o,@@ -46575,7 +46582,7 @@ function Uge({ folder: e, rule: t, revision: n, close: r }) {}, y = () => {h(null), a.setError("");}, b = (e) => {- H.invalidateQueries({ queryKey: ["catalog-folders"] }), i?.receipt(e), r(), _u({ pageOpens: cu + 1 });+ H.invalidateQueries({ queryKey: ["catalog-folders"] }), i?.receipt(e), r(), vu({ pageOpens: lu + 1 });}, x = () => a.run("preview", (e) => V("/api/folders/preview", v, "POST", e), h), S = () => {m && a.run("save", (e) => V("/api/folders/rule", {...v,@@ -46584,7 +46591,7 @@ function Uge({ folder: e, rule: t, revision: n, close: r }) {expected_revision: n}, "POST", e), (e) => b(`已保存目录用途${e.applied ? `,关联 ${e.applied} 项` : ""}`));}, C = async () => {- (0, Lt.flushSync)(() => _(!0)), (await Vc({+ (0, Lt.flushSync)(() => _(!0)), (await Hc({title: "移除目录规则",body: `「${e.name}」的目录规则将被移除,并撤回这条规则建立的关联。`,confirmLabel: "移除目录规则",@@ -46594,7 +46601,7 @@ function Uge({ folder: e, rule: t, revision: n, close: r }) {expected_revision: n})})).confirmed ? b("已移除目录规则") : _(!1);- }, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: bs(t) } }), t] }) : null;+ }, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs(t) } }), t] }) : null;return g ? null : /* @__PURE__ */ (0, F.jsx)(Nz, {isOpen: !0,onOpenChange: (e) => {@@ -46609,7 +46616,7 @@ function Uge({ folder: e, rule: t, revision: n, close: r }) {className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, F.jsx)(MI, {+ children: [/* @__PURE__ */ (0, F.jsx)(jI, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -46764,7 +46771,7 @@ function Uge({ folder: e, rule: t, revision: n, close: r }) {});}// src/react/catalog-folders/use-folder-sticky-offset.ts-function Wge(e, t) {+function Gge(e, t) {(0, P.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -46788,13 +46795,13 @@ function Wge(e, t) {}// src/react/catalog-folders/catalog-folders-page.tsxfunction MU() {- return IB() ? /* @__PURE__ */ (0, F.jsx)(Gge, {}) : null;+ return IB() ? /* @__PURE__ */ (0, F.jsx)(Kge, {}) : null;}-function Gge() {+function Kge() {let e = LB(), t = (0, P.useContext)(TU);if (!fn(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");- return /* @__PURE__ */ (0, F.jsx)(QF, {+ return /* @__PURE__ */ (0, F.jsx)(HF, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",@@ -46808,13 +46815,13 @@ function Gge() {} : { browse: "folders" }))});}-function Kge({ children: e, enabled: t }) {- return IB() ? /* @__PURE__ */ (0, F.jsx)(qge, {+function qge({ children: e, enabled: t }) {+ return IB() ? /* @__PURE__ */ (0, F.jsx)(Jge, {enabled: t,children: e}) : /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: e });}-function qge({ children: e, enabled: t }) {+function Jge({ children: e, enabled: t }) {let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(null), o = LB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, F.jsxs)("div", {className: "entity-folder-workspace",@@ -46847,7 +46854,7 @@ function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- Wge(o, e);+ Gge(o, e);let c = a.get("folder") || "", l = Pt({...AU(s, c),enabled: o@@ -46867,7 +46874,7 @@ function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, F.jsx)(Yge, {+ }, _ = l.data, v = /* @__PURE__ */ (0, F.jsx)(Xge, {scope: s,selected: c,current: _,@@ -46884,14 +46891,14 @@ function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, F.jsx)(QF, {+ children: /* @__PURE__ */ (0, F.jsx)(HF, {"aria-label": "打开文件夹目录",- icon: fpe,+ icon: ppe,size: "small",onClick: () => d(!0)})}),- /* @__PURE__ */ (0, F.jsxs)(Bme, {+ /* @__PURE__ */ (0, F.jsxs)(Vme, {"aria-label": "文件夹路径",children: [/* @__PURE__ */ (0, F.jsx)(YB, {current: !c,@@ -46908,9 +46915,9 @@ function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, F.jsx)(QF, {+ _?.selected ? /* @__PURE__ */ (0, F.jsx)(HF, {"aria-label": "设置目录用途",- icon: rpe,+ icon: ipe,size: "small",onClick: () => p(!0)}) : null@@ -46957,7 +46964,7 @@ function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, F.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, F.jsx)(Jge, {+ _?.children.length ? /* @__PURE__ */ (0, F.jsx)(Yge, {nodes: _.children,go: g}, c) : null@@ -46982,7 +46989,7 @@ function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, F.jsx)(Uge, {+ f && _?.selected ? /* @__PURE__ */ (0, F.jsx)(Wge, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -46990,7 +46997,7 @@ function NU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function Jge({ nodes: e, go: t }) {+function Yge({ nodes: e, go: t }) {let [n, r] = (0, P.useState)(!1), i = (0, P.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -47018,7 +47025,7 @@ function Jge({ nodes: e, go: t }) {}) : null]});}-function Yge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+function Xge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {let a = Pt(AU(e)), [o, s] = (0, P.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, P.useState)(""), u = (0, P.useDeferredValue)(c), d = Pt({...AU(e, "", u),enabled: !!u.trim()@@ -47120,7 +47127,7 @@ function Yge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}),children: "换个目录名称试试。"})- }) : a.data?.roots.length ? /* @__PURE__ */ (0, F.jsx)(Ume, {+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, F.jsx)(Wme, {"aria-label": "媒体目录",size: "sm",expandedKeys: o,@@ -47132,7 +47139,7 @@ function Yge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {size: "compact",icon: mz,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, F.jsx)(uI, {+ actions: /* @__PURE__ */ (0, F.jsx)(iI, {size: "small",href: "/settings/library",children: "添加媒体"@@ -47145,29 +47152,29 @@ function Yge({ scope: e, selected: t, current: n, go: r, reportedError: i }) {});}// src/react/components/segmented.tsx-function Xge(e) {- let t = tI(AH("selection"));+function Zge(e) {+ let t = GF(AH("selection"));return /* @__PURE__ */ (0, F.jsx)(iz, {...e,ref: t});}function PU(e) {- let t = tI(AH("selection"));+ let t = GF(AH("selection"));return /* @__PURE__ */ (0, F.jsx)(CR, {...e,ref: t});}-var FU = "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", IU = "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", Zge = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", LU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", RU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";+var FU = "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", IU = "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", Qge = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", LU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", RU = "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 zU() {- let e = oM();+ let e = wM();return /* @__PURE__ */ (0, F.jsxs)(CR, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: lce,+ onChange: SM,"data-entity-layout": "",className: LU,children: [/* @__PURE__ */ (0, F.jsx)(wR, {@@ -47191,7 +47198,7 @@ function zU() {children: /* @__PURE__ */ (0, F.jsx)("span", {title: "列表",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, F.jsx)(upe, {+ children: /* @__PURE__ */ (0, F.jsx)(dpe, {"aria-hidden": "true",className: "size-4"})@@ -47201,7 +47208,7 @@ function zU() {}// src/react/components/icon-swap.tsxfunction BU({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = ex();+ let { isFocusVisible: i } = wx();return /* @__PURE__ */ (0, F.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -47219,8 +47226,8 @@ function BU({ a: e, b: t, state: n, className: r }) {}function VU({ className: e }) {return /* @__PURE__ */ (0, F.jsx)(BU, {- a: Ife,- b: Ffe,+ a: Lfe,+ b: Ife,className: e});}@@ -47288,9 +47295,9 @@ function $U(e, t) {let n = HU(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var Qge = 864e5, $ge = (e, t) => {+var $ge = 864e5, e_e = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > Qge;+ return Number.isFinite(n) && n - t > $ge;};function eW(e, t) {let n = HU(e.published_at);@@ -47299,14 +47306,14 @@ function eW(e, t) {return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: $ge(n, t) ? " · 晚于现在" : ""+ suffix: e_e(n, t) ? " · 晚于现在" : ""};}function tW(e, t = Date.now()) {let n = eW(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function e_e(e, t = Date.now()) {+function t_e(e, t = Date.now()) {let n = eW(e, t);if (!n) return "时间未取得";if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;@@ -47322,7 +47329,7 @@ function aW() {body: JSON.stringify({ entries: e })}).catch(() => {}), rW.length && (iW = setTimeout(aW, 800));}-function t_e(e, t, n, r) {+function n_e(e, t, n, r) {let i = `${e}:${t ?? ""}`;nW.has(i) || (nW.add(i), rW.push(t === null ? {item: e,@@ -47336,22 +47343,22 @@ function t_e(e, t, n, r) {}), iW ||= setTimeout(aW, 800));}// src/react/entity-filter/entity-filter.ts-var n_e = (e) => e === "videos", oW = () => /* @__PURE__ */ (0, F.jsx)("span", {+var r_e = (e) => e === "videos", oW = () => /* @__PURE__ */ (0, F.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), r_e = Rz("shuffle"), i_e = Rz("arrow-up"), a_e = Rz("arrow-down");-function o_e(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = n_e(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), i_e = Rz("shuffle"), a_e = Rz("arrow-up"), o_e = Rz("arrow-down");+function s_e(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = r_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 = cI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = cI(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 = cI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!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 = nI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = nI(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 = nI(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)(sW, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, F.jsx)(rI, {+ }), /* @__PURE__ */ (0, F.jsx)(YF, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -47380,14 +47387,14 @@ function o_e(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(u_e, {+ n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(d_e, {keys: n,view: t,row: _,glide: S,onView: s.setView}), d ? /* @__PURE__ */ (0, F.jsx)(oW, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(c_e, {+ T ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(l_e, {head: T,row: w,glide: E,@@ -47417,7 +47424,7 @@ function o_e(e) {}), /* @__PURE__ */ (0, F.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, F.jsxs)(iI, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, F.jsxs)(ZF, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47426,17 +47433,17 @@ function o_e(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, F.jsx)(l_e, {+ }, e.k)) : u ? /* @__PURE__ */ (0, F.jsx)(u_e, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, F.jsx)(d_e, { ...e })+ bottom: /* @__PURE__ */ (0, F.jsx)(cW, { ...e })})] });}-var s_e = [[+var c_e = [["videos","视频","play",@@ -47447,7 +47454,7 @@ var s_e = [["pics","image"]];-function c_e({ head: e, row: t, glide: n, onMedia: r }) {+function l_e({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {ref: t,role: "group",@@ -47455,7 +47462,7 @@ function c_e({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: s_e.map(([t, i, a, o]) => {+ children: c_e.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -47473,7 +47480,7 @@ function c_e({ head: e, row: t, glide: n, onMedia: r }) {})});}-function l_e({ head: e, actions: t }) {+function u_e({ head: e, actions: t }) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -47486,7 +47493,7 @@ function l_e({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: WU(n) }}, n)),e.providers.length && e.tags.length ? /* @__PURE__ */ (0, F.jsx)(oW, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, F.jsxs)(iI, {+ e.tags.map((e) => /* @__PURE__ */ (0, F.jsxs)(ZF, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -47499,7 +47506,7 @@ function l_e({ head: e, actions: t }) {}, e.k))] });}-function u_e({ keys: e, view: t, row: n, glide: r, onView: i }) {+function d_e({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -47567,7 +47574,7 @@ function sW({ items: e, hidden: t, actions: n }) {})] }) : null});}-function d_e(e) {+function cW(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", {@@ -47579,27 +47586,27 @@ function d_e(e) {dangerouslySetInnerHTML: { __html: R("chevron-left") }}), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, F.jsx)(cW, {+ /* @__PURE__ */ (0, F.jsx)(lW, {text: n,busy: r}),/* @__PURE__ */ (0, F.jsx)($z, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, F.jsx)(dW, {+ t === "videos" && i ? /* @__PURE__ */ (0, F.jsx)(fW, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, F.jsx)(mW, {+ t === "photos" && a ? /* @__PURE__ */ (0, F.jsx)(hW, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, F.jsx)(pW, {+ t === "online" && e.online ? /* @__PURE__ */ (0, F.jsx)(mW, {head: e.online,actions: o}) : null] });}-function cW({ text: e, busy: t }) {+function lW({ text: e, busy: t }) {return /* @__PURE__ */ (0, F.jsx)("h3", {"data-entity-readout": "",children: t ? /* @__PURE__ */ (0, F.jsx)("span", {@@ -47609,7 +47616,7 @@ function cW({ text: e, busy: t }) {}) : e});}-function lW({ name: e, label: t, value: n, options: r, onChange: i }) {+function uW({ name: e, label: t, value: n, options: r, onChange: i }) {return /* @__PURE__ */ (0, F.jsx)(CR, {name: e,"aria-label": t,@@ -47634,23 +47641,23 @@ function lW({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function uW({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, F.jsx)(nI, {+function dW({ onPress: e, busy: t = !1 }) {+ return /* @__PURE__ */ (0, F.jsx)(qF, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: r_e,+ icon: i_e,onPress: e});}-function dW({ head: e, actions: t }) {- let n = oM();+function fW({ head: e, actions: t }) {+ let n = wM();return /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(uW, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, F.jsx)(lW, {+ /* @__PURE__ */ (0, F.jsx)(dW, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, F.jsx)(uW, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,@@ -47658,14 +47665,14 @@ function dW({ head: e, actions: t }) {}) : null,/* @__PURE__ */ (0, F.jsx)(zU, {}),/* @__PURE__ */ (0, F.jsx)(MU, {}),- /* @__PURE__ */ (0, F.jsx)(fW, {+ /* @__PURE__ */ (0, F.jsx)(pW, {sorts: e.sorts,onSort: t.setSort})]});}-function fW({ sorts: e, onSort: t }) {+function pW({ 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,@@ -47674,19 +47681,19 @@ function fW({ 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)(BU, {- a: i_e,- b: a_e,+ a: a_e,+ b: o_e,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function pW({ head: e, actions: t }) {+function mW({ head: e, actions: t }) {return /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(uW, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(lW, {+ /* @__PURE__ */ (0, F.jsx)(dW, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(uW, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -47706,27 +47713,27 @@ function pW({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, F.jsx)(fW, {+ /* @__PURE__ */ (0, F.jsx)(pW, {sorts: e.sorts,onSort: t.onlineSort})]});}-function mW({ head: e, actions: t, helpers: n }) {+function hW({ 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)(uW, {+ e.shuffle ? /* @__PURE__ */ (0, F.jsx)(dW, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, F.jsx)(lW, {+ /* @__PURE__ */ (0, F.jsx)(uW, {label: "图片布局",value: e.layout,options: e.layouts,@@ -47741,8 +47748,8 @@ function mW({ head: e, actions: t, helpers: n }) {});}// src/react/catalog-filter/catalog-filter.ts-var hW = "peach.catalog.tiers.v1";-function gW() {+var gW = "peach.catalog.tiers.v1";+function _W() {try {let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");return {@@ -47756,19 +47763,19 @@ function gW() {};}}-function _W(e) {+function vW(e) {try {let t = JSON.stringify({performers: e.performers,studios: e.studios});- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(hW, t);+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(gW, t);} catch {}}// src/react/catalog-filter/catalog-filter-page.tsx-var vW = "";-function yW(e) {- let t = !e.tiers, n = DW(e.comboHost);+var yW = "";+function bW(e) {+ let t = !e.tiers, n = OW(e.comboHost);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,@@ -47780,17 +47787,17 @@ function yW(e) {hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, F.jsx)(SW, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, F.jsx)(bW, { ...e })+ /* @__PURE__ */ (0, F.jsx)(CW, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, F.jsx)(xW, { ...e })]});}-function bW(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 = cI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function xW(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 = nI(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 = OW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = kW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, P.useLayoutEffect)(() => {let e = a.current?.closest("[data-catalog-frame]");if (!e) return;@@ -47806,8 +47813,8 @@ function bW(e) {e.layout,e.sorts]), (0, P.useLayoutEffect)(() => {- Ms(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, F.jsx)(rI, {+ Ns(o.current, "tagbar");+ }, [f]), /* @__PURE__ */ (0, F.jsx)(YF, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -47851,17 +47858,17 @@ function bW(e) {}), /* @__PURE__ */ (0, F.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, F.jsx)(wW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, F.jsx)(xW, {+ children: [e.empty || d ? /* @__PURE__ */ (0, F.jsx)(TW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, F.jsx)(SW, {tag: e,onPress: t.toggleTag}, e.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, F.jsx)(TW, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, F.jsx)(EW, { ...e })});}-function xW({ tag: e, onPress: t }) {- return /* @__PURE__ */ (0, F.jsxs)(iI, {+function SW({ tag: e, onPress: t }) {+ return /* @__PURE__ */ (0, F.jsxs)(ZF, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47872,14 +47879,14 @@ function xW({ tag: e, onPress: t }) {})]});}-function SW(e) {+function CW(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 = OW(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = OW(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, P.useMemo)(() => i ? gW() : 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 = kW(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = kW(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, P.useMemo)(() => i ? _W() : 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 || _W({+ i || vW({performers: f,studios: p});@@ -47900,7 +47907,7 @@ function SW(e) {children: [f ? /* @__PURE__ */ (0, F.jsx)("div", {ref: o,"data-catalog-tier": "performers",- children: a ? /* @__PURE__ */ (0, F.jsx)(wW, { kind: "performer" }) : l.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, F.jsx)(TW, { kind: "performer" }) : l.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -47917,18 +47924,18 @@ function SW(e) {}) : null, p ? /* @__PURE__ */ (0, F.jsx)("div", {ref: s,"data-catalog-tier": "studios",- children: a ? /* @__PURE__ */ (0, F.jsx)(wW, { kind: "studio" }) : u.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, F.jsx)(TW, { 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)(CW, { studio: e }), e.name]+ children: [/* @__PURE__ */ (0, F.jsx)(wW, { studio: e }), e.name]}, e.name))}) : null]});}-function CW({ studio: e }) {+function wW({ studio: e }) {let [t, n] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("span", {"data-tier-mark": "",@@ -47946,7 +47953,7 @@ function CW({ studio: e }) {}) : e.fallback});}-function wW({ kind: e }) {+function TW({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-catalog-placeholder": "tag",@@ -47962,21 +47969,21 @@ function wW({ kind: e }) {children: [/* @__PURE__ */ (0, F.jsx)("span", {}), /* @__PURE__ */ (0, F.jsx)("span", { children: "\xA0" })]}, t)) });}-function TW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = oM(), [o, s] = (0, P.useState)(!1);+function EW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = wM(), [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)(EW, { count: e }), /* @__PURE__ */ (0, F.jsx)($z, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, F.jsx)(DW, { count: e }), /* @__PURE__ */ (0, F.jsx)($z, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(uW, {+ /* @__PURE__ */ (0, F.jsx)(dW, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, F.jsx)(lW, {+ n && a === "cards" ? /* @__PURE__ */ (0, F.jsx)(uW, {name: n.name,label: n.label,value: n.value,@@ -47985,23 +47992,23 @@ function TW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {}, n.name) : null,/* @__PURE__ */ (0, F.jsx)(zU, {}),/* @__PURE__ */ (0, F.jsx)(MU, {}),- /* @__PURE__ */ (0, F.jsx)(fW, {+ /* @__PURE__ */ (0, F.jsx)(pW, {sorts: r,onSort: i.setSort})]})] });}-function EW({ count: e }) {+function DW({ 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;if (!e) {- Gs(n.current);+ Ks(n.current);return;}let i = t.current;- i && (vW && i.dataset.popCount === void 0 && (i.dataset.popCount = vW), vW = r, ks(i, r));+ i && (yW && i.dataset.popCount === void 0 && (i.dataset.popCount = yW), yW = 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": "",@@ -48017,7 +48024,7 @@ function EW({ count: e }) {})}, "skeleton");}-function DW(e) {+function OW(e) {let [t, n] = (0, P.useState)(null);return (0, P.useLayoutEffect)(() => {if (!e) return;@@ -48027,7 +48034,7 @@ function DW(e) {};}, [e]), t;}-function OW(e, t, n, r, i) {+function kW(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -48070,11 +48077,11 @@ function OW(e, t, n, r, i) {}), l.slice(0, c.limit);}// src/react/components/grid-reveal.tsx-var kW = "100% 0px";-function AW(e, t) {+var AW = "100% 0px";+function jW(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 && Gs(a.current);+ a.current && Ks(a.current);}, []), (0, P.useLayoutEffect)(() => {if (e || n !== "skeleton") return;let t = !!a.current && !a.current.querySelector(".skeleton-awaiting");@@ -48097,20 +48104,20 @@ function AW(e, t) {fading: n === "fade"};}-function jW({ message: e, onRetry: t }) {+function MW({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-media-error": "",onClick: (e) => {e.target.closest("[data-note-action]") && t();},- dangerouslySetInnerHTML: { __html: ys(e, {+ dangerouslySetInnerHTML: { __html: bs(e, {variant: "error",actionLabel: "立即重试"}) }});}// src/react/components/art-slot.tsx-function MW({ artwork: e, identity: t = e.html, relayout: n }) {+function NW({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, P.useState)({identity: t,artwork: e@@ -48129,63 +48136,63 @@ function MW({ artwork: e, identity: t = e.html, relayout: n }) {});}// src/library-catalog.ts-var NW = "peach.library-colors.v1", PW = null, FW = /* @__PURE__ */ new Set();-function IW() {+var PW = "peach.library-colors.v1", FW = null, IW = /* @__PURE__ */ new Set();+function LW() {try {- let e = JSON.parse(localStorage.getItem(NW) || "{}");+ let e = JSON.parse(localStorage.getItem(PW) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function LW(e) {- PW = e;+function RW(e) {+ FW = e;try {- localStorage.setItem(NW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(PW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- FW.forEach((t) => t(e));+ IW.forEach((t) => t(e));}-function RW() {- return PW;+function zW() {+ return FW;}-function zW(e) {- return FW.add(e), () => {- FW.delete(e);+function BW(e) {+ return IW.add(e), () => {+ IW.delete(e);};}// src/react/components/library-tint.ts-var BW = /* @__PURE__ */ new Map(), VW = !1, HW = /* @__PURE__ */ new Set();-function UW(e) {+var VW = /* @__PURE__ */ new Map(), HW = !1, UW = /* @__PURE__ */ new Set();+function WW(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 WW(e) {- BW = e;+function GW(e) {+ VW = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...BW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${UW(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...VW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${WW(e.color)}}`).join("\n");}-function GW(e) {- WW(e), HW.forEach((e) => e());+function KW(e) {+ GW(e), UW.forEach((e) => e());}-var KW = (e) => new Map(e.map((e) => [e.id, {+var qW = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,- icon: Zo[e.icon || ""] || e.icon || "database",+ icon: Qo[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), qW = !1;-function JW() {- if (qW) return;- qW = !0, zW((e) => GW(KW(e)));- let e = RW();+}])), JW = !1;+function YW() {+ if (JW) return;+ JW = !0, BW((e) => KW(qW(e)));+ let e = zW();if (e) {- WW(KW(e));+ GW(qW(e));return;}- let t = Object.entries(IW()).filter(([, e]) => e);- t.length && WW(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(LW()).filter(([, e]) => e);+ t.length && GW(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -48193,73 +48200,73 @@ function JW() {color: t}])));}-function YW() {- VW || RW() || (VW = !0, B("/api/libraries").then((e) => LW(e.libraries || [])).catch(() => {- VW = !1;+function XW() {+ HW || zW() || (HW = !0, B("/api/libraries").then((e) => RW(e.libraries || [])).catch(() => {+ HW = !1;}));}-function XW(e, t) {- let n = BW.get(e) ?? {+function ZW(e, t) {+ let n = VW.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- GW(new Map([...BW, [e, {+ KW(new Map([...VW, [e, {...n,color: t}]]));}-function ZW(e) {- return HW.add(e), () => {- HW.delete(e);+function QW(e) {+ return UW.add(e), () => {+ UW.delete(e);};}-function QW({ names: e = !1 } = {}) {- return JW(), e && YW(), (0, P.useSyncExternalStore)(ZW, () => BW, () => BW);+function $W({ names: e = !1 } = {}) {+ return YW(), e && XW(), (0, P.useSyncExternalStore)(QW, () => VW, () => VW);}// src/react/components/row-click.ts-var $W = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";-function eG(e, t) {+var eG = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";+function tG(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest($W);+ let r = n.closest(eG);return !r || !t.contains(r) || r === t;}-function tG(e) {+function nG(e) {e.shiftKey && e.preventDefault();}// src/react/components/media-card.tsx-var nG = 9 / 16, rG = "未命名视频";-function iG({ name: e }) {+var rG = 9 / 16, iG = "未命名视频";+function aG({ 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 aG = {+var oG = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, oG = {+}, sG = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function sG({ item: e }) {+function cG({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && oG[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && sG[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, F.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function cG({ item: e, actions: t }) {+function lG({ 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",@@ -48271,17 +48278,17 @@ function cG({ item: e, actions: t }) {},"aria-busy": n || void 0,"aria-disabled": n || void 0,- children: n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: bs(`正在${s}`) } }), /* @__PURE__ */ (0, F.jsx)("span", { children: `正在${s}` })] }) : /* @__PURE__ */ (0, F.jsx)("span", { children: s })+ children: n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs(`正在${s}`) } }), /* @__PURE__ */ (0, F.jsx)("span", { children: `正在${s}` })] }) : /* @__PURE__ */ (0, F.jsx)("span", { children: s })}), i ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-operation-error": "",role: "alert",children: i}) : null] });}-function lG(e, t, n) {- return t === "short" ? nG : yA(n);+function uG(e, t, n) {+ return t === "short" ? rG : NA(n);}-function uG(e) {+function dG(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", {@@ -48313,7 +48320,7 @@ function uG(e) {"data-entity-kind": "performer","data-entity-name": s,title: s,- children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: s })]+ children: [/* @__PURE__ */ (0, F.jsx)(aG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, F.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -48323,16 +48330,16 @@ function uG(e) {"data-entity-kind": t,"data-entity-name": n,title: n,- children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, F.jsx)(aG, { 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)(iG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, F.jsx)(aG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]})};}-function dG() {+function fG() {return /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-media-preview": "",@@ -48351,7 +48358,7 @@ function dG() {})]});}-function fG({ item: e, actions: t, on: n, onChange: r }) {+function pG({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("div", {"data-media-later": "",@@ -48366,11 +48373,11 @@ function fG({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, F.jsx)(aG, { name: n ? "check" : "bookmark-plus" })})});}-function pG({ reason: e }) {+function mG({ 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,@@ -48400,17 +48407,17 @@ function pG({ reason: e }) {})})] });}-function mG(e, t) {+function hG(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 hG({ 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 = QW(), 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 gG({ 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 = $W(), 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 && kl(u.current), u.current = e, e && (!t.medium || t.medium === "video") && jl(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 = lG(e, t, n), w = S ? n.size : "small", T = C === nG && !!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() || rG, A = o.titleHtml(e, O).trim() || z(rG), 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 } = uG(e), N = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {+ 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 = uG(e, t, n), w = S ? n.size : "small", T = C === rG && !!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() || iG, A = o.titleHtml(e, O).trim() || z(iG), 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 } = dG(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;@@ -48437,13 +48444,13 @@ function hG({ 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 === nG ? "" : void 0,+ "data-pic-portrait": C === rG ? "" : void 0,style: { "--card-ratio": String(C) },children: [- E.html ? /* @__PURE__ */ (0, F.jsx)(MW, {+ E.html ? /* @__PURE__ */ (0, F.jsx)(NW, {artwork: E,identity: D,- relayout: (e) => xl(e, w)+ relayout: (e) => Sl(e, w)}) : /* @__PURE__ */ (0, F.jsx)("span", {"data-media-nopic": "",children: "无预览"@@ -48454,11 +48461,11 @@ function hG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe}),/* @__PURE__ */ (0, F.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "check" })+ children: /* @__PURE__ */ (0, F.jsx)(aG, { name: "check" })}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, F.jsx)(aG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]}),y && !b ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-group": "",@@ -48473,7 +48480,7 @@ function hG({ 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)(cG, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)(lG, {item: e,actions: s}) : null,@@ -48489,22 +48496,22 @@ function hG({ 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)(dG, {}),+ /* @__PURE__ */ (0, F.jsx)(fG, {}),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)(iG, { name: "bookmark" })+ children: /* @__PURE__ */ (0, F.jsx)(aG, { 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)(iG, { name: "heart" })+ children: /* @__PURE__ */ (0, F.jsx)(aG, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, F.jsx)(fG, {+ i ? null : /* @__PURE__ */ (0, F.jsx)(pG, {item: e,actions: s,on: p,@@ -48519,27 +48526,27 @@ function hG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe/* @__PURE__ */ (0, F.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), mG(u.current, -a);+ e.stopPropagation(), hG(u.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, F.jsx)(aG, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), mG(u.current, a);+ e.stopPropagation(), hG(u.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, F.jsx)(aG, { name: "rotate-cw" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "expand" })+ children: /* @__PURE__ */ (0, F.jsx)(aG, { name: "expand" })})]})@@ -48558,7 +48565,7 @@ function hG({ 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: tG,+ onMouseDown: nG,children: [/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -48600,15 +48607,15 @@ function hG({ 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)(iG, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, F.jsx)(aG, { name: "calendar" }), e.release_date]}) : null, /* @__PURE__ */ (0, F.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "hard-drive" }), Number(j) > 0 ? jn(Number(j)) : "大小未知"]+ children: [/* @__PURE__ */ (0, F.jsx)(aG, { name: "hard-drive" }), Number(j) > 0 ? jn(Number(j)) : "大小未知"]})]})]}),- t === "next" ? e.why ? /* @__PURE__ */ (0, F.jsx)(pG, { reason: e.why }) : null : N.length || e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)("div", {+ t === "next" ? e.why ? /* @__PURE__ */ (0, F.jsx)(mG, { 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",@@ -48618,15 +48625,15 @@ function hG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSechildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, F.jsx)(sG, { item: e })+ /* @__PURE__ */ (0, F.jsx)(cG, { item: e })]})]})]});}-function gG({ 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") ? "网址快捷方式" : aG[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function _G({ 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") ? "网址快捷方式" : oG[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, F.jsxs)("article", {ref: o,"data-media-card": "",@@ -48638,14 +48645,14 @@ function gG({ 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: tG,+ onMouseDown: nG,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)(iG, { name: u }), /* @__PURE__ */ (0, F.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, F.jsx)(aG, { name: u }), /* @__PURE__ */ (0, F.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-art": "thumb",@@ -48657,13 +48664,13 @@ function gG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe}),/* @__PURE__ */ (0, F.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "check" })+ children: /* @__PURE__ */ (0, F.jsx)(aG, { name: "check" })}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, F.jsx)(aG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, F.jsx)(cG, {+ n ? null : /* @__PURE__ */ (0, F.jsx)(lG, {item: e,actions: i})@@ -48674,7 +48681,7 @@ function gG({ 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)(iG, { name: u })+ children: /* @__PURE__ */ (0, F.jsx)(aG, { name: u })}), /* @__PURE__ */ (0, F.jsxs)("div", {"data-media-text": "",children: [@@ -48702,29 +48709,29 @@ function gG({ 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)(sG, { item: e })+ /* @__PURE__ */ (0, F.jsx)(cG, { item: e })]})]})]});}-function _G(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, F.jsx)(gG, { ...e }) : /* @__PURE__ */ (0, F.jsx)(hG, { ...e });+function vG(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, F.jsx)(_G, { ...e }) : /* @__PURE__ */ (0, F.jsx)(gG, { ...e });}-var vG = (0, P.memo)(_G), yG = 1100, bG = 340, xG = 5e3;-function SG(e, t, n) {+var yG = (0, P.memo)(vG), bG = 1100, xG = 340, SG = 5e3;+function CG(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, xG);+ }, s = () => o(!1), c = setTimeout(s, SG);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 CG({ load: e, canFlip: t, referrerPolicy: n }) {+function wG({ 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,@@ -48766,11 +48773,11 @@ function CG({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => SG(t, e, n)));+ let s = await Promise.all(a.map((t) => CG(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, yG);+ p(), e.cycle = setInterval(p, bG);}));};return (0, P.useEffect)(() => d, [d]), {@@ -48779,7 +48786,7 @@ function CG({ 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(bG, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(xG, () => {e.armed = null, m();});},@@ -48789,8 +48796,8 @@ function CG({ load: e, canFlip: t, referrerPolicy: n }) {};}// src/react/components/mix-card.tsx-var wG = Rz("play");-function TG({ src: e }) {+var TG = Rz("play");+function EG({ src: e }) {let [t, n] = (0, P.useState)(!1);return t ? null : /* @__PURE__ */ (0, F.jsx)("img", {"data-mix-poster": "",@@ -48803,8 +48810,8 @@ function TG({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var EG = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";-function DG({ faces: e, fallback: t, onOpenEntity: n }) {+var DG = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";+function OG({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, F.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, F.jsx)("button", {@@ -48812,18 +48819,18 @@ function DG({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${EG} cursor-pointer outline-none`,+ className: `${DG} 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: `${EG} mt-0.5`,+ className: `${DG} mt-0.5`,children: t});}-function OG({ 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 = CG({+function kG({ 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 = wG({load: i,canFlip: a}), x = (0, P.useRef)(b.onPointerLeave);@@ -48850,11 +48857,11 @@ function OG({ 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)(MW, {+ f?.html ? /* @__PURE__ */ (0, F.jsx)(NW, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, F.jsx)(TG, { src: r }, r) : /* @__PURE__ */ (0, F.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, F.jsx)(EG, { src: r }, r) : /* @__PURE__ */ (0, F.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -48884,7 +48891,7 @@ function OG({ 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)(wG, {+ children: [/* @__PURE__ */ (0, F.jsx)(TG, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -48897,8 +48904,8 @@ function OG({ 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)(wG, {})- }) : /* @__PURE__ */ (0, F.jsx)(DG, {+ children: /* @__PURE__ */ (0, F.jsx)(TG, {})+ }) : /* @__PURE__ */ (0, F.jsx)(OG, {faces: o,fallback: Fn(e),onOpenEntity: s@@ -48921,7 +48928,7 @@ function OG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:});}// src/react/video-wall/folia/blockReflows.ts-var kG = [+var AG = [[[{@@ -52482,7 +52489,7 @@ var kG = [}]]-], AG = [+], jG = [[{x: 0,@@ -52779,89 +52786,89 @@ var kG = [rows: 2}]-], jG = (e) => e.map((e) => ({+], MG = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), MG = (e) => e.map((e) => ({+})), NG = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), NG = [+})), PG = [(e) => e,- jG,MG,- (e) => jG(MG(e))-], PG = AG.flatMap((e) => NG.map((t) => t(e))), FG = kG.flatMap((e) => NG.map((t) => e.map(t)));-PG.length;-var IG = (e, t) => {+ NG,+ (e) => MG(NG(e))+], FG = jG.flatMap((e) => PG.map((t) => t(e))), IG = AG.flatMap((e) => PG.map((t) => e.map(t)));+FG.length;+var LG = (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;-}, LG = (e, t) => {- let n = AG.length;- return ((e + t * 2) % n + n) % n * NG.length + IG(e, t) % NG.length;-}, RG = (e, t) => PG[LG(e, t)], zG = (e, t, n) => n < 0 || n >= 12 ? null : FG[LG(e, t)][n], BG = 103.36, VG = 6.08, HG = 12 * BG, UG = 8 * BG, WG = 12, GG = (e, t) => (e % t + t) % t, KG = (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 qG(e, t) {- let n = Math.max(1, Math.ceil(e / WG)), r = t ? 3 : Math.min(3, n);+}, RG = (e, t) => {+ let n = jG.length;+ return ((e + t * 2) % n + n) % n * PG.length + LG(e, t) % PG.length;+}, zG = (e, t) => FG[RG(e, t)], BG = (e, t, n) => n < 0 || n >= 12 ? null : IG[RG(e, t)][n], VG = 103.36, HG = 6.08, UG = 12 * VG, WG = 8 * VG, GG = 12, KG = (e, t) => (e % t + t) % t, qG = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;+function JG(e, t) {+ let n = Math.max(1, Math.ceil(e / GG)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * HG,- height: Math.ceil(n / r) * UG+ width: r * UG,+ height: Math.ceil(n / r) * WG};}-function JG(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = RG(e, t)[n];+function YG(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = zG(e, t)[n];return {- x: e * HG + r * BG,- y: t * UG + i * BG,- width: a * BG - VG,- height: o * BG - VG+ x: e * UG + r * VG,+ y: t * WG + i * VG,+ width: a * VG - HG,+ height: o * VG - HG};}-function YG(e) {+function XG(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function XG(e, t, n) {+function ZG(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 >= WG) return null;- let o = qG(e, t), s = o.height / UG;+ ].every(Number.isInteger) || a < 0 || a >= GG) return null;+ let o = JG(e, t), s = o.height / WG;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : GG(r, o.columns), l = ((t ? i : GG(i, s)) * o.columns + c) * WG + a;+ let c = t ? r : KG(r, o.columns), l = ((t ? i : KG(i, s)) * o.columns + c) * GG + a;return t && l >= e ? null : {- ...JG(r, i, a),+ ...YG(r, i, a),index: l % e,key: n};}-function ZG(e, t) {+function QG(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / WG);- return XG(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % WG}`);+ let n = Math.floor(t / GG);+ return ZG(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % GG}`);}-function QG(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = zG(r, i, a);+function $G(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = BG(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * HG + e.x * BG,- y: i * UG + e.y * BG,- width: e.cols * BG - VG,- height: e.rows * BG - VG+ x: r * UG + e.x * VG,+ y: i * WG + e.y * VG,+ width: e.cols * VG - HG,+ height: e.rows * VG - HG}]));}-function $G(e) {+function eK(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / WG), i = JG(e % 3, Math.floor(e / 3), r % WG);+ let e = Math.floor(r / GG), i = YG(e % 3, Math.floor(e / 3), r % GG);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * HG - VG : t,+ width: e >= 36 ? 3 * UG - HG : t,height: n};}-function eK(e, t, n, r) {+function tK(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 {@@ -52870,22 +52877,22 @@ function eK(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function tK(e, t, n, r) {+function nK(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 = qG(e, t), s = o.height / UG, c = [];- for (let n = Math.floor(a.y / UG); n <= Math.floor((a.y + a.height) / UG); n += 1) for (let r = Math.floor(a.x / HG); r <= Math.floor((a.x + a.width) / HG); r += 1) {+ }, o = JG(e, t), s = o.height / WG, c = [];+ for (let n = Math.floor(a.y / WG); n <= Math.floor((a.y + a.height) / WG); n += 1) for (let r = Math.floor(a.x / UG); r <= Math.floor((a.x + a.width) / UG); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : GG(r, o.columns), l = t ? n : GG(n, s);- for (let s = 0; s < WG; s += 1) {- let u = (l * o.columns + i) * WG + s;+ let i = t ? r : KG(r, o.columns), l = t ? n : KG(n, s);+ for (let s = 0; s < GG; s += 1) {+ let u = (l * o.columns + i) * GG + s;if (t && u >= e) continue;- let d = JG(r, n, s);- KG(d, a) && c.push({+ let d = YG(r, n, s);+ qG(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -52894,7 +52901,7 @@ function tK(e, t, n, r) {}return c;}-var nK = class {+var rK = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -52906,7 +52913,7 @@ var nK = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : XG(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : ZG(t, !1, e);return r ? {...r,index: n@@ -52936,7 +52943,7 @@ var nK = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * HG,+ x: (e + 2) * UG,y: 0};}@@ -52949,10 +52956,10 @@ var nK = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / HG)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / UG)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, rK = [+}, iK = ["q","performer","series",@@ -52967,16 +52974,16 @@ var nK = class {"dur_max","region"];-function iK(e = {}) {- return rK.some((t) => !!e[t]);+function aK(e = {}) {+ return iK.some((t) => !!e[t]);}// src/react/video-wall/use-wall-camera.ts-var aK = {+var oK = {x: 16,y: 16,scale: 1};-function oK(e, t, n = aK, r = !1) {+function sK(e, t, n = oK, r = !1) {let i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)({width: 0,height: 0@@ -52996,7 +53003,7 @@ function oK(e, t, n = aK, 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 = eK(e, o.current, $G(r), c && !f && !n);+ let { count: r, finite: c, focused: f } = d.current, p = tK(e, o.current, eK(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));@@ -53067,7 +53074,7 @@ function oK(e, t, n = aK, 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 = cre(0, 1, {+ !t || v() ? _(a, !0, n) : p.current = Jne(0, 1, {duration: .42,ease: [.22,@@ -53096,7 +53103,7 @@ function oK(e, t, n = aK, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...aK }, !0);+ g(), _({ ...oK }, !0);},pan: (e, t) => {g(), _({@@ -53157,16 +53164,16 @@ function oK(e, t, n = aK, r = !1) {};}// src/react/video-wall/wall-motion.ts-var sK = {+var cK = {type: "spring",stiffness: 300,damping: 34-}, cK = {+}, lK = {delay: .14,duration: .24};// src/react/video-wall/use-wall-playback.ts-function lK(e, t, n) {+function uK(e, t, n) {let [r, i] = (0, P.useState)({paused: !0,time: 0,@@ -53207,15 +53214,15 @@ function lK(e, t, n) {};}// src/react/video-wall/wall-controls.tsx-function uK({ 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 = My(), x = lK(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function dK({ 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 = qy(), x = uK(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)(By.div, {+ return /* @__PURE__ */ (0, F.jsxs)(tb.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -53225,7 +53232,7 @@ function uK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, groupopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : cK,+ transition: b ? { duration: 0 } : lK,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-wall-control-row": "",children: [@@ -53237,7 +53244,7 @@ function uK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",title: w ? "播放" : "暂停",onClick: () => void T(),- children: C ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: bs() } }) : /* @__PURE__ */ (0, F.jsx)("svg", {+ children: C ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs() } }) : /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: w ? "#i-play" : "#i-player-pause" })@@ -53288,7 +53295,7 @@ function uK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouptitle: "稍后看","aria-pressed": u,onClick: g,- children: d ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: bs() } }) : /* @__PURE__ */ (0, F.jsx)("svg", {+ children: d ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs() } }) : /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-bookmark" })@@ -53329,7 +53336,7 @@ function uK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group});}// src/react/components/mix-queue.tsx-function dK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function fK({ 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]);@@ -53365,7 +53372,7 @@ function dK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function fK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function pK({ 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@@ -53388,7 +53395,7 @@ function fK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var pK = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {+var mK = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -53397,28 +53404,28 @@ var pK = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {]});// src/react/video-wall/wall-queue.tsx-function mK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function hK({ 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)(dK, {+ children: /* @__PURE__ */ (0, F.jsx)(fK, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(fK, {+ children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(pK, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? RM(e.part_label) : "",+ e.part_label ? mN(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, F.jsx)(MW, { artwork: ao(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, F.jsx)(NW, { 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 ? RM(e.part_label) : "",+ e.part_label ? mN(e.part_label) : "",kn(e.duration)].filter(Boolean).join(" · ") })]}, e.id))@@ -53426,7 +53433,7 @@ function mK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {});}// src/react/video-wall/wall-route.ts-function hK(e = `${location.pathname}${location.search}`, t = {}) {+function gK(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",@@ -53441,62 +53448,62 @@ function hK(e = `${location.pathname}${location.search}`, t = {}) {}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function gK(e = `${location.pathname}${location.search}`) {+function _K(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of rK) t.delete(e);+ for (let e of iK) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function _K() {+function vK() {let e = new URLSearchParams(XV.navigation.location.search).get("returnTo") || "/";XV.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}// src/react/video-wall/video-wall.tsx-var vK = /* @__PURE__ */ new Map(), yK = (0, P.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+var yK = /* @__PURE__ */ new Map(), bK = (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} : e, n || r >= 1 ? "small" : "big", !0, t), a = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {a.current?.querySelectorAll("img.cover").forEach((e) => {- e.complete && e.naturalWidth && sl(e, r);+ e.complete && e.naturalWidth && cl(e, r);});}, [r, i.html]), /* @__PURE__ */ (0, F.jsx)("span", {ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, F.jsx)(MW, {+ children: /* @__PURE__ */ (0, F.jsx)(NW, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {- e.complete && e.naturalWidth && sl(e, r);+ e.complete && e.naturalWidth && cl(e, r);})})});});-function bK({ 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 xK({ 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 = vK.get(f);+ let e = yK.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, P.useState)(() => m?.exploration || new nK()), 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 rK()), 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: _M(M || {+ queryKey: qM(M || {kind: "parts",seedId: 0}),enabled: !!M,- queryFn: ({ signal: e }) => EM(M, {+ queryFn: ({ signal: e }) => nN(M, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), te = M ? ee.data : void 0, ne = te?.items.find((e) => e.id === kM(te, O || w?.id || null)) || w, N = oK(e.length, t && !!e.length, m?.camera || {+ }), te = M ? ee.data : void 0, ne = te?.items.find((e) => e.id === aN(te, O || w?.id || null)) || w, N = sK(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), re = My(), [ie, ae] = (0, P.useState)(!!m);+ }, !!w), re = qy(), [ie, ae] = (0, P.useState)(!!m);(0, P.useEffect)(() => {if (!e.length || ie || re) return;let t = setTimeout(() => ae(!0), 1100);@@ -53530,17 +53537,17 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:pool: p};let je = () => {- ke.current && (vK.delete(f), vK.set(f, {+ ke.current && (yK.delete(f), yK.set(f, {...Ae.current,camera: N.snapshot(),exploration: h- }), vK.size > 8 && vK.delete(vK.keys().next().value));+ }), yK.size > 8 && yK.delete(yK.keys().next().value));};(0, P.useLayoutEffect)(je);- let Me = tK(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 = nK(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 ? XG(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? QG(e.length, t, Pe) : /* @__PURE__ */ new Map();+ })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? ZG(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? $G(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);@@ -53579,7 +53586,7 @@ function bK({ 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(QG(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($G(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) => {@@ -53601,7 +53608,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:C.current === t && fe(!1);}}, Ve = () => {- let e = AM(te || null, se || 0);+ let e = oN(te || null, se || 0);e && (k(e.id), Be(e));};(0, P.useEffect)(() => {@@ -53623,7 +53630,7 @@ function bK({ 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 ? ZG(e.length, i) : h.nearest(e.length, i, a);+ }, o = t ? QG(e.length, i) : h.nearest(e.length, i, a);o && (Re(n, o), ue(n.id));}, Ge = async () => {if (!(r || g.current)) {@@ -53715,7 +53722,7 @@ function bK({ 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)(yK, {+ children: /* @__PURE__ */ (0, F.jsx)(bK, {item: w,image: Te,big: !0@@ -53723,7 +53730,7 @@ function bK({ 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)(yK, {+ children: /* @__PURE__ */ (0, F.jsx)(bK, {item: w,image: Te,big: !0@@ -53752,7 +53759,7 @@ function bK({ 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 ? RM(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null+ te ? /* @__PURE__ */ (0, F.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? mN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, F.jsx)("button", {@@ -53779,7 +53786,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, F.jsx)(uK, {+ /* @__PURE__ */ (0, F.jsx)(dK, {item: Xe,playing: se,frame: b,@@ -53801,7 +53808,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ended: Ve,error: me}),- A ? /* @__PURE__ */ (0, F.jsx)(mK, {+ A ? /* @__PURE__ */ (0, F.jsx)(hK, {items: He,activeId: Xe.id,kind: te?.kind || "wall",@@ -53817,7 +53824,7 @@ function bK({ 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) : _K());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Le() : be ? xe(!1) : vK());},children: [/* @__PURE__ */ (0, F.jsx)("button", {@@ -53825,7 +53832,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: _K,+ onClick: vK,children: /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -53843,7 +53850,7 @@ function bK({ 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: () => XV.push(gK()),+ onClick: () => XV.push(_K()),children: "清除筛选"})]}) : null,@@ -53952,7 +53959,7 @@ function bK({ 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)(By.article, {+ return /* @__PURE__ */ (0, F.jsx)(tb.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,@@ -53973,7 +53980,7 @@ function bK({ 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: sK,+ layout: cK,transform: a ? {type: "spring",stiffness: 360,@@ -54006,7 +54013,7 @@ function bK({ 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)(yK, {+ /* @__PURE__ */ (0, F.jsx)(bK, {item: n,image: Te,ratio: i.width / i.height@@ -54032,7 +54039,7 @@ function bK({ 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)(By.span, {+ /* @__PURE__ */ (0, F.jsx)(tb.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },transition: { duration: re ? 0 : .24 }@@ -54059,11 +54066,11 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:onClick: async (e) => {let t = e.target.closest("[data-wall-load-more]");if (!(!t || r || g.current)) {- Oc(t);+ kc(t);try {await Ge();} finally {- Oc(t, !1);+ kc(t, !1);}}},@@ -54071,7 +54078,7 @@ function bK({ 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)(uW, {+ children: /* @__PURE__ */ (0, F.jsx)(dW, {busy: r,onPress: () => void qe()})@@ -54083,7 +54090,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:variant: "secondary",...Bz(r),onClick: () => void Ge(),- children: [r ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: bs() } }) : null, "载入更多"]+ children: [r ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs() } }) : null, "载入更多"]})}) : null,he ? /* @__PURE__ */ (0, F.jsxs)("div", {@@ -54117,7 +54124,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:return (0, Lt.createPortal)(Qe, Se);}// src/catalog-onboarding.ts-var xK = [+var SK = ["loc","creator","performer",@@ -54136,19 +54143,19 @@ var xK = ["jav","thumb"];-function SK(e = typeof location > "u" ? "/" : location.href) {+function CK(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...xK,+ ...SK,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function CK(e, t) {+async function wK(e, t) {let n = new URLSearchParams();- for (let t of xK) e[t] && n.set(t, e[t]);+ for (let t of SK) 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 || [],@@ -54159,9 +54166,9 @@ async function CK(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function wK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function TK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";- if (t || n) return ws("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(SK()) : "/?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(CK()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -54174,33 +54181,33 @@ function wK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:agencies: "事务所",series: "系列"}[e] || "资料";- return ws(e === "tags" ? "tags" : "user-round", "还没有" + t, i ? "添加关注来源并获取内容后,这里会显示来源上的" + t + "。" : "添加内容并补充资料后,这里会显示对应信息。", { actions: i ? o : a + o });+ return Ts(e === "tags" ? "tags" : "user-round", "还没有" + t, i ? "添加关注来源并获取内容后,这里会显示来源上的" + t + "。" : "添加内容并补充资料后,这里会显示对应信息。", { actions: i ? o : a + o });}- return ws("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });+ return Ts("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });}// src/react/video-wall/wall-empty.ts-function TK({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || wK() : t ? ws("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : ws("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${gK()}">清除筛选</a>` });+function EK({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || TK() : 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="${_K()}">清除筛选</a>` });}// src/react/library-processing/processing-actions.tsx-function EK({ label: e, maintenance: t = !1, children: n }) {+function DK({ label: e, maintenance: t = !1, children: n }) {let r = AH("hover");return /* @__PURE__ */ (0, F.jsx)("div", {ref: r,role: "group","aria-label": e,"data-processing-maintenance": t || void 0,- className: EF("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),+ className: lF("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),children: n});}-function DK({ option: e, metadataOnly: t, onRun: n }) {+function OK({ 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: EF(QB, i ? "cursor-not-allowed opacity-50" : $B, "text-body-2-medium"),+ className: lF(QB, i ? "cursor-not-allowed opacity-50" : $B, "text-body-2-medium"),onClick: () => n(e.command),children: /* @__PURE__ */ (0, F.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -54211,12 +54218,12 @@ function DK({ option: e, metadataOnly: t, onRun: n }) {})});}-function OK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function kK({ 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) => {try {- let o = await The(e, t.signal, a);+ let o = await Ehe(e, t.signal, a);if (!o.traffic) throw Error("服务端未提供流量预估");if (t.signal.aborted) return;c(o.traffic), n.confirmButton.disabled = !1, o.traffic.inventory?.token && (r = setTimeout(() => {@@ -54261,7 +54268,7 @@ function OK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function kK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", pendingCount: i = 0, onRun: a }) {+function AK({ 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 = {@@ -54317,7 +54324,7 @@ function kK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand}if (s.current) return;u.current = r;- let o = i.stage === "previews", c = i.scope === "new" ? "补全待处理影片" : i.incremental ? i.stage === "scan" ? "发现新增文件" : "同步新增文件" : o ? "仅补全预览图" : i.stage === "scan" ? "扫描全部文件" : i.stage === "metadata" ? "仅补全影片资料" : i.stage === "collect" ? "补全已入库影片" : "同步整个媒体库", d = zc({+ let o = i.stage === "previews", c = i.scope === "new" ? "补全待处理影片" : i.incremental ? i.stage === "scan" ? "发现新增文件" : "同步新增文件" : o ? "仅补全预览图" : i.stage === "scan" ? "扫描全部文件" : i.stage === "metadata" ? "仅补全影片资料" : i.stage === "collect" ? "补全已入库影片" : "同步整个媒体库", d = Bc({title: c,description: `${i.scope === "new" ? "为这组已登记的影片补全资料和视频属性,并按设置生成预览" : i.incremental ? i.stage === "scan" ? "发现并登记未入库的新文件,保留已有影片资料" : `发现新文件,仅补全新增及未完成影片的资料和视频属性${n ? "" : ",并生成本地预览图"}` : o ? "为本地视频补全九宫格预览图,会读取视频并占用处理器" : i.stage === "scan" ? "扫描目录并登记文件,按目录设置读取视频时长和分辨率" : i.stage === "metadata" ? "读取配套资料,补全影片资料、封面和人物资料" : `${i.stage === "collect" ? "为已入库影片补全资料和视频属性" : "扫描目录发现文件,再补全资料和视频属性"}${n ? "" : ",并生成本地预览图"}`},可能让电脑变慢。需要同时使用电脑时,可选择低占用模式。`,body: "<div class=\"peach-react\" data-processing-prompt></div>",@@ -54340,7 +54347,7 @@ function kK({ 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)(OK, {+ c ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(kK, {command: c.command,dialog: c.dialog,speed: r,@@ -54391,17 +54398,17 @@ function kK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standchildren: /* @__PURE__ */ (0, F.jsxs)(gR, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",- children: [t ? /* @__PURE__ */ (0, F.jsxs)(EK, {+ children: [t ? /* @__PURE__ */ (0, F.jsxs)(DK, {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)(DK, {+ }), m.map((e) => /* @__PURE__ */ (0, F.jsx)(OK, {option: e,metadataOnly: n,onRun: g}, e.label))]- }) : null, /* @__PURE__ */ (0, F.jsxs)(EK, {+ }) : null, /* @__PURE__ */ (0, F.jsxs)(DK, {label: t ? "全库维护" : "补全方式",maintenance: t,children: [t ? /* @__PURE__ */ (0, F.jsxs)("div", {@@ -54413,7 +54420,7 @@ function kK({ 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)(DK, {+ }) : null, h.map((e) => /* @__PURE__ */ (0, F.jsx)(OK, {option: e,metadataOnly: n,onRun: g@@ -54424,17 +54431,17 @@ function kK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand] });}// src/react/library-processing/library-completion.tsx-function AK(e, t) {+function jK(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 jK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, F.jsx)(MK, {+function MK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, F.jsx)(NK, {assetIds: e,onComplete: t,className: n}) : null;}-function MK({ assetIds: e, onComplete: t, className: n }) {+function NK({ assetIds: e, onComplete: t, className: n }) {let r = Pt({queryKey: dH,queryFn: ({ signal: e }) => yH(e),@@ -54460,12 +54467,12 @@ function MK({ assetIds: e, onComplete: t, className: n }) {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",- className: EF("@container", n),+ className: lF("@container", n),children: /* @__PURE__ */ (0, F.jsxs)(Fz, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, F.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, F.jsx)(kK, {+ children: /* @__PURE__ */ (0, F.jsx)(AK, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -54487,31 +54494,31 @@ function MK({ assetIds: e, onComplete: t, className: n }) {});}// node_modules/@tanstack/react-table/dist/FlexRender.js-function NK(e) {- return PK(e) || typeof e == "function" || FK(e);-}function PK(e) {+ return FK(e) || typeof e == "function" || IK(e);+}+function FK(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function FK(e) {+function IK(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function IK(e, t) {- return e == null ? null : NK(e) ? /* @__PURE__ */ P.createElement(e, t) : e;+function LK(e, t) {+ return e == null ? null : PK(e) ? /* @__PURE__ */ P.createElement(e, t) : e;}-function LK(e) {+function RK(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? IK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : IK(n.cell, t.getContext());+ return r.getIsAggregated?.() ? LK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : LK(n.cell, t.getContext());}- return "header" in e && e.header ? IK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? IK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? LK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? LK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}// node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function RK({ update: e, notify: t, unwatched: n }) {+function zK({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -54628,7 +54635,7 @@ function RK({ update: e, notify: t, unwatched: n }) {}}// node_modules/@tanstack/store/dist/atom.js-function zK(e, t, n) {+function BK(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -54636,35 +54643,35 @@ function zK(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var BK = [], VK = 0, { link: HK, unlink: UK, propagate: WK, checkDirty: GK, shallowPropagate: KK } = /* @__PURE__ */ RK({+var VK = [], HK = 0, { link: UK, unlink: WK, propagate: GK, checkDirty: KK, shallowPropagate: qK } = /* @__PURE__ */ zK({update(e) {return e._update();},notify(e) {- BK[JK++] = e, e.flags &= -3;+ VK[YK++] = e, e.flags &= -3;},unwatched(e) {- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, ZK(e));+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, QK(e));}-}), qK = 0, JK = 0, YK, XK = 0;+}), JK = 0, YK = 0, XK, ZK = 0;function f_e(e) {try {- ++XK, e();+ ++ZK, e();} finally {- --XK || QK();+ --ZK || $K();}}-function ZK(e) {+function QK(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = UK(n, e);+ for (; n !== void 0;) n = WK(n, e);}-function QK() {- if (!(XK > 0)) {- for (; qK < JK;) {- let e = BK[qK];- BK[qK++] = void 0, e.notify();+function $K() {+ if (!(ZK > 0)) {+ for (; JK < YK;) {+ let e = VK[JK];+ VK[JK++] = void 0, e.notify();}- qK = 0, JK = 0;+ JK = 0, YK = 0;}}function p_e(e, t) {@@ -54676,53 +54683,53 @@ function p_e(e, t) {depsTail: void 0,flags: +!n,get() {- return YK !== void 0 && HK(i, YK, VK), i._snapshot;+ return XK !== void 0 && UK(i, XK, HK), i._snapshot;},subscribe(e) {- let t = zK(e), n = { current: !1 }, r = m_e(() => {- i.get(), n.current ? (YK = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = BK(e), n = { current: !1 }, r = m_e(() => {+ i.get(), n.current ? (XK = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {r.stop();} };},_update(e) {- let a = YK, o = t?.compare ?? Object.is;- if (n) YK = i, ++VK, i.depsTail = void 0;+ let a = XK, o = t?.compare ?? Object.is;+ if (n) XK = i, ++HK, 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 {- YK = a, n && (i.flags &= -5), ZK(i);+ XK = a, n && (i.flags &= -5), QK(i);}}};return n ? (i.flags = 17, i.get = function() {let e = i.flags;- if (e & 16 || e & 32 && GK(i.deps, i)) {+ if (e & 16 || e & 32 && KK(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && KK(e);+ e !== void 0 && qK(e);}} else e & 32 && (i.flags = e & -33);- return YK !== void 0 && HK(i, YK, VK), i._snapshot;+ return XK !== void 0 && UK(i, XK, HK), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (WK(e), KK(e), QK());+ e !== void 0 && (GK(e), qK(e), $K());}}, i;}function m_e(e) {let t = () => {- let t = YK;- YK = n, ++VK, n.depsTail = void 0, n.flags = 6;+ let t = XK;+ XK = n, ++HK, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- YK = t, n.flags &= -5, ZK(n);+ XK = t, n.flags &= -5, QK(n);}}, n = {deps: void 0,@@ -54732,16 +54739,16 @@ function m_e(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && GK(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && KK(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, ZK(this);+ this.flags = 0, this.depsTail = void 0, QK(this);}};return t(), n;}// node_modules/@tanstack/store/dist/shallow.js-function $K(e, t) {+function eq(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) {@@ -54755,17 +54762,17 @@ function $K(e, t) {return !0;}if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();- let n = eq(e);- if (n.length !== eq(t).length) return !1;+ let n = tq(e);+ if (n.length !== tq(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 eq(e) {+function tq(e) {return Object.keys(e).concat(Object.getOwnPropertySymbols(e));}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.jsvar h_e = /* @__PURE__ */ o(((e) => {- var t = A(), n = jx();+ var t = A(), n = tS();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -54809,13 +54816,13 @@ var h_e = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), tq = /* @__PURE__ */ o(((e, t) => {+})), nq = /* @__PURE__ */ o(((e, t) => {t.exports = h_e();-})), g_e = tq();+})), g_e = nq();function __e(e, t) {return e === t;}-function nq(e, t = (e) => e, n) {+function rq(e, t = (e) => e, n) {let r = n?.compare ?? __e, i = (0, P.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;@@ -54824,7 +54831,7 @@ function nq(e, t = (e) => e, n) {}// node_modules/@tanstack/react-table/dist/Subscribe.jsfunction v_e(e) {- let t = nq(e.source, e.selector, { compare: $K });+ let t = rq(e.source, e.selector, { compare: eq });return typeof e.children == "function" ? e.children(t) : e.children;}// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js@@ -54885,21 +54892,21 @@ function S_e() {});}// node_modules/@tanstack/table-core/dist/utils.js-function rq(e, t) {+function iq(e, t) {return typeof e == "function" ? e(t) : e;}-function iq(e) {- if (Array.isArray(e)) return e.map(iq);+function aq(e) {+ if (Array.isArray(e)) return e.map(aq);if (e && typeof e == "object") {let t = Object.getPrototypeOf(e);if (t !== Object.prototype && t !== null) return e;- let n = t === null ? oq() : {}, r = Object.keys(e);+ let n = t === null ? sq() : {}, 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: iq(e[i]),+ value: aq(e[i]),writable: !0});}@@ -54907,7 +54914,7 @@ function iq(e) {}return e;}-function aq(e, t) {+function oq(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -54915,46 +54922,46 @@ function aq(e, t) {}return e;}-function oq() {+function sq() {return Object.create(null);}-function sq(e, t) {+function cq(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function cq(e, t) {+function lq(e, t) {return (n) => {- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => rq(n, e));+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => iq(n, e));};}-function lq(e) {+function uq(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 uq(e) {+function dq(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}var C_e = 3;function w_e(e, t) {- return dq(e, t, C_e);+ return fq(e, t, C_e);}-function dq(e, t, n) {+function fq(e, t, n) {if (Object.is(e, t)) return !0;- if (n <= 0 || !lq(e) || !lq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;- let r = uq(e), i = uq(t);+ if (n <= 0 || !uq(e) || !uq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = dq(e), i = dq(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) || !dq(a[i], o[i], n - 1)) return !1;+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !fq(a[i], o[i], n - 1)) return !1;}return !0;}-function fq(e, t, n, r = w_e) {+function pq(e, t, n, r = w_e) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {- let t = rq(n, e);+ let t = iq(n, e);return r(e, t) ? e : t;});}@@ -54985,13 +54992,13 @@ var D_e = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCoreturn n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;};};-function pq(e) {+function mq(e) {let t = !1;return () => {t ? e() : t = !0;};}-function mq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {+function hq({ 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()));@@ -55001,7 +55008,7 @@ function mq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, .....o});}-function hq(e, t = "_") {+function gq(e, t = "_") {let [n, r] = e.replace(t, " ").split(" ");return {fnKey: r,@@ -55009,10 +55016,10 @@ function hq(e, t = "_") {parentName: n};}-function gq(e, t, n) {+function _q(e, t, n) {for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {- let { fnKey: n, fnName: o } = hq(r);- t[n] = a ? mq({+ let { fnKey: n, fnName: o } = gq(r);+ t[n] = a ? hq({memoDeps: a,fn: i,fnName: o,@@ -55021,15 +55028,15 @@ function gq(e, t, n) {}) : i;}}-function _q(e, t, n, r) {+function vq(e, t, n, r) {for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {- let { fnKey: r, fnName: s } = hq(i);+ let { fnKey: r, fnName: s } = gq(i);if (o) {let i = `_memo_${r}`;t[r] = function(...t) {if (!this[i]) {let t = this;- this[i] = mq({+ this[i] = hq({memoDeps: (e) => o(t, e),fn: (...e) => a(t, ...e),fnName: s,@@ -55045,7 +55052,7 @@ function _q(e, t, n, r) {};}}-function vq(e, t, n, ...r) {+function yq(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js@@ -55067,7 +55074,7 @@ function A_e(e) {}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.jsvar j_e = { assignCellPrototype: (e, t) => {- _q("coreCellsFeature", e, t, {+ vq("coreCellsFeature", e, t, {cell_getValue: { fn: (e) => O_e(e) },cell_renderValue: { fn: (e) => k_e(e) },cell_getContext: {@@ -55112,26 +55119,26 @@ function N_e(e, t, n, r) {return u;}// node_modules/@tanstack/table-core/dist/core/featureStubs.js-function yq(e) {+function bq(e) {return e.getIsVisible?.() ?? !0;}function P_e(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}-function bq(e, t) {+function xq(e, t) {let n = e, r = t;return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;}-function xq(e, t, n, r) {+function Sq(e, t, n, r) {return e._orderByColumnPinning?.(t, n, r) ?? t;}-function Sq(e, t) {+function Cq(e, t) {return e._expandRows?.(t) ?? t;}function F_e(e) {e.autoResetExpanded?.();}-function Cq(e) {+function wq(e) {e.autoResetPageIndex?.();}function I_e(e) {@@ -55147,7 +55154,7 @@ function R_e(e) {function z_e(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());- return bq(e.table, t);+ return xq(e.table, t);}return [e];}@@ -55162,23 +55169,23 @@ function B_e(e) {...e.options.defaultColumn};}-function wq(e, t, n, r = 0) {+function Tq(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 = N_e(e, o, r, n), c = o;- s.columns = c.columns ? wq(e, c.columns, s, r + 1) : [], i[a] = s;+ s.columns = c.columns ? Tq(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}function V_e(e) {- return wq(e, e.options.columns);+ return Tq(e, e.options.columns);}function H_e(e) {return e.getAllColumns().flatMap((e) => e.getFlatColumns());}function U_e(e) {- let t = oq(), n = e.getAllFlatColumns();+ let t = sq(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;@@ -55186,10 +55193,10 @@ function U_e(e) {return t;}function W_e(e) {- return bq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));+ return xq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));}function G_e(e) {- let t = oq(), n = e.getAllLeafColumns();+ let t = sq(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;@@ -55202,7 +55209,7 @@ function K_e(e, t) {// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.jsvar q_e = {assignColumnPrototype: (e, t) => {- _q("coreColumnsFeature", e, t, {+ vq("coreColumnsFeature", e, t, {column_getFlatColumns: {fn: (e) => R_e(e),memoDeps: (e) => [e.table.options.columns]@@ -55219,7 +55226,7 @@ var q_e = {});},constructTableAPIs: (e) => {- gq("coreColumnsFeature", e, {+ _q("coreColumnsFeature", e, {table_getDefaultColumnDef: {fn: () => B_e(e),memoDeps: () => [e.options.defaultColumn]@@ -55262,7 +55269,7 @@ function J_e(e) {}return e._headerPrototype;}-function Tq(e, t, n) {+function Eq(e, t, n) {let r = J_e(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;@@ -55270,11 +55277,11 @@ function Tq(e, t, n) {return i;}// node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js-function Eq(e, t = 1) {+function Dq(e, t = 1) {let n = t;for (let r = 0; r < e.length; r++) {let i = e[r];- yq(i) && i.columns.length && (n = Math.max(n, Eq(i.columns, t + 1)));+ bq(i) && i.columns.length && (n = Math.max(n, Dq(i.columns, t + 1)));}return n;}@@ -55290,7 +55297,7 @@ function Z_e(e, t) {for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;}-function Dq(e, t, n, r, i, a) {+function Oq(e, t, n, r, i, a) {let o = {depth: t,id: Y_e(r, t),@@ -55301,7 +55308,7 @@ function Dq(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 = Tq(n, u, {+ let e = Eq(n, u, {id: X_e(r, t, u.id, a.id),isPlaceholder: d,placeholderId: d ? String(Z_e(s, u)) : void 0,@@ -55313,18 +55320,18 @@ function Dq(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 && Dq(s, t - 1, n, r, i, a);+ i.push(o), t > 0 && Oq(s, t - 1, n, r, i, a);}-function Oq(e) {+function kq(e) {for (let t = 0; t < e.length; t++) {let n = e[t];- if (!yq(n.column)) continue;+ if (!bq(n.column)) continue;let r = 0;if (n.subHeaders.length) {- Oq(n.subHeaders);+ kq(n.subHeaders);for (let e = 0; e < n.subHeaders.length; e++) {let t = n.subHeaders[e];- yq(t.column) && (r += t.colSpan);+ bq(t.column) && (r += t.colSpan);}} else r = 1;if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {@@ -55335,21 +55342,21 @@ function Oq(e) {}}function Q_e(e, t, n, r) {- let i = Eq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);- for (let e = 0; e < t.length; e++) e in t && (s[e] = Tq(n, t[e], {+ let i = Dq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);+ for (let e = 0; e < t.length; e++) e in t && (s[e] = Eq(n, t[e], {depth: i,index: e}));- return Dq(s, i - 1, n, r, a, o), a.reverse(), Oq(a[0]?.headers ?? []), a;+ return Oq(s, i - 1, n, r, a, o), a.reverse(), kq(a[0]?.headers ?? []), a;}// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js-function kq(e, t) {- for (let n = 0; n < e.subHeaders.length; n++) kq(e.subHeaders[n], t);+function Aq(e, t) {+ for (let n = 0; n < e.subHeaders.length; n++) Aq(e.subHeaders[n], t);t.push(e);}function $_e(e) {let t = [];- return kq(e, t), t;+ return Aq(e, t), t;}function eve(e) {return {@@ -55359,7 +55366,7 @@ function eve(e) {};}function tve(e) {- return Q_e(e.getAllColumns(), xq(e, P_e(e), (e) => e.id), e);+ return Q_e(e.getAllColumns(), Sq(e, P_e(e), (e) => e.id), e);}function nve(e) {return [...e.getHeaderGroups()].reverse();@@ -55383,7 +55390,7 @@ function ive(e) {// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.jsvar ave = {assignHeaderPrototype: (e, t) => {- _q("coreHeadersFeature", e, t, {+ vq("coreHeadersFeature", e, t, {header_getLeafHeaders: {fn: (e) => $_e(e),memoDeps: (e) => [e.column.table.options.columns]@@ -55395,7 +55402,7 @@ var ave = {});},constructTableAPIs: (e) => {- gq("coreHeadersFeature", e, {+ _q("coreHeadersFeature", e, {table_getHeaderGroups: {fn: () => tve(e),memoDeps: () => [@@ -55433,29 +55440,29 @@ function ove(e) {}var sve = (e, t, n, r, i, a, o) => {let s = ove(e), c = Object.create(s);- c._displayIndexCache = -1, c._uniqueValuesCache = oq(), c._valuesCache = oq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];+ c._displayIndexCache = -1, c._uniqueValuesCache = sq(), c._valuesCache = sq(), 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.jsfunction cve() {- return (e) => mq({+ return (e) => hq({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],fn: () => lve(e, e.options.data),- onAfterUpdate: pq(() => {- F_e(e), Cq(e), I_e(e), L_e(e);+ onAfterUpdate: mq(() => {+ F_e(e), wq(e), I_e(e), L_e(e);})});}-function Aq(e, t, n, r = 0, i) {+function jq(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {let s = n[o], c = sve(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 = Aq(e, t, c.originalSubRows, r + 1, c)));+ 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 = jq(e, t, c.originalSubRows, r + 1, c)));}return a;}@@ -55463,9 +55470,9 @@ function lve(e, t) {let n = {rows: [],flatRows: [],- rowsById: oq()+ rowsById: sq()};- return n.rows = Aq(e, n, t), n;+ return n.rows = jq(e, n, t), n;}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.jsfunction uve(e) {@@ -55506,7 +55513,7 @@ function xve(e) {}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.jsvar Sve = { constructTableAPIs: (e) => {- gq("coreRowModelsFeature", e, {+ _q("coreRowModelsFeature", e, {table_getCoreRowModel: { fn: () => uve(e) },table_getPreFilteredRowModel: { fn: () => dve(e) },table_getFilteredRowModel: { fn: () => fve(e) },@@ -55543,17 +55550,17 @@ function Tve(e) {return t[n] === e ? n : -1;}function Eve(e) {- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Sq(e, t).rows : t.rows;+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Cq(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}function Dve(e, t) {- if (sq(e._valuesCache, t)) return e._valuesCache[t];+ if (cq(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 Ove(e, t) {- if (sq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+ if (cq(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]);}@@ -55591,7 +55598,7 @@ function Pve(e) {return r;}function Fve(e) {- let t = oq(), n = e.getAllCells();+ let t = sq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;@@ -55609,7 +55616,7 @@ function Lve(e, t, n) {// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.jsvar Rve = {assignRowPrototype: (e, t) => {- _q("coreRowsFeature", e, t, {+ vq("coreRowsFeature", e, t, {row_getDisplayIndex: { fn: (e) => Tve(e) },row_getAllCellsByColumnId: {fn: (e) => Fve(e),@@ -55631,7 +55638,7 @@ var Rve = {});},constructTableAPIs: (e) => {- gq("coreRowsFeature", e, {+ _q("coreRowsFeature", e, {table_getRowsInDisplayOrder: {fn: () => Eve(e),memoDeps: () => [@@ -55650,7 +55657,7 @@ var Rve = {}};// node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js-function jq(e, t, n = (e, t) => e === t) {+function Mq(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) {@@ -55661,13 +55668,13 @@ function jq(e, t, n = (e, t) => e === t) {}});}-function Mq(e, t, n = (e, t) => e === t) {+function Nq(e, t, n = (e, t) => e === t) {e._reactivity.batch(() => {- jq(e, t, n), e._reactivity.commit?.();+ Mq(e, t, n), e._reactivity.commit?.();});}function zve(e) {- let t = iq(e.initialState);+ let t = aq(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -55710,9 +55717,9 @@ function Bve(e, t) {}});}-function Nq(e, t, n) {- let r = Bve(e, rq(t, e.options));- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Mq(e, r.state ?? null);+function Pq(e, t, n) {+ let r = Bve(e, iq(t, e.options));+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Nq(e, r.state ?? null);}// node_modules/@tanstack/table-core/dist/core/coreFeatures.jsvar Vve = {@@ -55722,14 +55729,14 @@ var Vve = {coreRowModelsFeature: Sve,coreRowsFeature: Rve,coreTablesFeature: { constructTableAPIs: (e) => {- gq("coreTablesFeature", e, {+ _q("coreTablesFeature", e, {table_reset: { fn: () => zve(e) },- table_setOptions: { fn: (t) => Nq(e, t) }+ table_setOptions: { fn: (t) => Pq(e, t) }});} }};// node_modules/@tanstack/table-core/dist/helpers/columnHelper.js-function Pq() {+function Fq() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -55744,14 +55751,14 @@ function Pq() {};}// node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js-function Fq(e) {+function Iq(e) {return e;}// node_modules/@tanstack/table-core/dist/core/table/constructTable.jsfunction Hve(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), iq(t);+ }), aq(t);}function Uve(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 = {@@ -55804,14 +55811,14 @@ function Uve(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 && sq(i, n)) {+ if (i && cq(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- jq(v), v.store = y_e(t.createReadonlyAtom(() => {+ Mq(v), v.store = y_e(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -55819,7 +55826,7 @@ function Uve(e) {}return e;}, {- compare: $K,+ compare: eq,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -55830,104 +55837,104 @@ function Uve(e) {}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.jsfunction Wve() {- return oq();+ return sq();}-function Iq(e, t) {- Rq(e) && Bq(e.table, (n) => {- let r = Object.assign(oq(), n), i = t ?? !vq(e, "getIsVisible", Lq), a = e.getLeafColumns();+function Lq(e, t) {+ zq(e) && Vq(e.table, (n) => {+ let r = Object.assign(sq(), n), i = t ?? !yq(e, "getIsVisible", Rq), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];- Rq(t) && (r[t.id] = i);+ zq(t) && (r[t.id] = i);}return r;});}-function Lq(e) {+function Rq(e) {let t = e.table.atoms.columnVisibility?.get();if (!t) return !0;let n = e.columns;- return n.length ? n.some((e) => vq(e, "getIsVisible", Lq)) : (sq(t, e.id) ? t[e.id] : void 0) ?? !0;+ return n.length ? n.some((e) => yq(e, "getIsVisible", Rq)) : (cq(t, e.id) ? t[e.id] : void 0) ?? !0;}-function Rq(e) {+function zq(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}function Gve(e) {return (t) => {- Iq(e, t.target.checked);+ Lq(e, t.target.checked);};}function Kve(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];- vq(r.column, "getIsVisible", Lq) && n.push(r);+ yq(r.column, "getIsVisible", Rq) && n.push(r);}- return xq(e.table, n, (e) => e.column.id, () => vq(e, "getVisibleCellsByColumnId", zq));+ return Sq(e.table, n, (e) => e.column.id, () => yq(e, "getVisibleCellsByColumnId", Bq));}-function zq(e) {- let t = oq(), n = e.getAllCells();+function Bq(e) {+ let t = sq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];- vq(r.column, "getIsVisible", Lq) && (t[r.column.id] = r);+ yq(r.column, "getIsVisible", Rq) && (t[r.column.id] = r);}return t;}function qve(e) {- return e.getAllFlatColumns().filter((e) => vq(e, "getIsVisible", Lq));+ return e.getAllFlatColumns().filter((e) => yq(e, "getIsVisible", Rq));}function Jve(e) {- return e.getAllLeafColumns().filter((e) => vq(e, "getIsVisible", Lq));+ return e.getAllLeafColumns().filter((e) => yq(e, "getIsVisible", Rq));}-function Bq(e, t) {- fq(e, "columnVisibility", t);+function Vq(e, t) {+ pq(e, "columnVisibility", t);}function Yve(e, t) {- Bq(e, t ? oq() : Object.assign(oq(), iq(e.initialState.columnVisibility ?? {})));+ Vq(e, t ? sq() : Object.assign(sq(), aq(e.initialState.columnVisibility ?? {})));}-function Vq(e, t) {- t ??= !Hq(e);- let n = oq(), r = e.getAllLeafColumns();+function Hq(e, t) {+ t ??= !Uq(e);+ let n = sq(), r = e.getAllLeafColumns();for (let e = 0; e < r.length; e++) {let i = r[e];- n[i.id] = t || !Rq(i);+ n[i.id] = t || !zq(i);}- Bq(e, n);+ Vq(e, n);}-function Hq(e) {- return !e.getAllLeafColumns().some((e) => !vq(e, "getIsVisible", Lq));+function Uq(e) {+ return !e.getAllLeafColumns().some((e) => !yq(e, "getIsVisible", Rq));}function Xve(e) {- return e.getAllLeafColumns().some((e) => vq(e, "getIsVisible", Lq));+ return e.getAllLeafColumns().some((e) => yq(e, "getIsVisible", Rq));}function Zve(e) {return (t) => {- Vq(e, t.target.checked);+ Hq(e, t.target.checked);};}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js-var Uq = {+var Wq = {getInitialState: (e) => ({columnVisibility: Wve(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: cq("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: lq("columnVisibility", e) }),assignColumnPrototype: (e, t) => {- _q("columnVisibilityFeature", e, t, {+ vq("columnVisibilityFeature", e, t, {column_getIsVisible: {- fn: (e) => Lq(e),+ fn: (e) => Rq(e),memoDeps: (e) => [t.options.columns,t.atoms.columnVisibility?.get(),e.columns]},- column_getCanHide: { fn: (e) => Rq(e) },+ column_getCanHide: { fn: (e) => zq(e) },column_getToggleVisibilityHandler: { fn: (e) => Gve(e) },- column_toggleVisibility: { fn: (e, t) => Iq(e, t) }+ column_toggleVisibility: { fn: (e, t) => Lq(e, t) }});},assignRowPrototype: (e, t) => {- _q("columnVisibilityFeature", e, t, {+ vq("columnVisibilityFeature", e, t, {row_getVisibleCells: {fn: (e) => Kve(e),memoDeps: (e) => [@@ -55937,13 +55944,13 @@ var Uq = {]},row_getVisibleCellsByColumnId: {- fn: (e) => zq(e),+ fn: (e) => Bq(e),memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]}});},constructTableAPIs: (e) => {- gq("columnVisibilityFeature", e, {+ _q("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {fn: () => qve(e),memoDeps: () => [@@ -55964,51 +55971,51 @@ var Uq = {e.options.groupedColumnMode]},- table_setColumnVisibility: { fn: (t) => Bq(e, t) },+ table_setColumnVisibility: { fn: (t) => Vq(e, t) },table_resetColumnVisibility: { fn: (t) => Yve(e, t) },- table_toggleAllColumnsVisible: { fn: (t) => Vq(e, t) },- table_getIsAllColumnsVisible: { fn: () => Hq(e) },+ table_toggleAllColumnsVisible: { fn: (t) => Hq(e, t) },+ table_getIsAllColumnsVisible: { fn: () => Uq(e) },table_getIsSomeColumnsVisible: { fn: () => Xve(e) },table_getToggleAllColumnsVisibilityHandler: { fn: () => Zve(e) }});}-}, Wq = 0, Gq = 10;-function Kq() {+}, Gq = 0, Kq = 10;+function qq() {return {- pageIndex: Wq,- pageSize: Gq+ pageIndex: Gq,+ pageSize: Kq};}function Qve(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {- if ((e.atoms.pagination?.get()?.pageIndex ?? Wq) === Wq) return;- Yq(e, !0);+ if ((e.atoms.pagination?.get()?.pageIndex ?? Gq) === Gq) return;+ Xq(e, !0);}}-function qq(e, t) {- fq(e, "pagination", t);+function Jq(e, t) {+ pq(e, "pagination", t);}function $ve(e, t) {- qq(e, t ? Kq() : iq(e.initialState.pagination ?? Kq()));+ Jq(e, t ? qq() : aq(e.initialState.pagination ?? qq()));}-function Jq(e, t) {- qq(e, (n) => {- let r = rq(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+function Yq(e, t) {+ Jq(e, (n) => {+ let r = iq(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 Yq(e, t) {- Jq(e, t ? Wq : e.initialState.pagination?.pageIndex ?? Wq);+function Xq(e, t) {+ Yq(e, t ? Gq : e.initialState.pagination?.pageIndex ?? Gq);}function eye(e, t) {- Xq(e, t ? Gq : e.initialState.pagination?.pageSize ?? Gq);+ Zq(e, t ? Kq : e.initialState.pagination?.pageSize ?? Kq);}-function Xq(e, t) {- qq(e, (e) => {- let n = Math.max(1, rq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);+function Zq(e, t) {+ Jq(e, (e) => {+ let n = Math.max(1, iq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -56017,61 +56024,61 @@ function Xq(e, t) {});}function tye(e) {- let t = Zq(e), n = [];+ let t = Qq(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;}function rye(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? Wq, n = Zq(e);+ let t = e.atoms.pagination?.get()?.pageIndex ?? Gq, n = Qq(e);return n === -1 || n !== 0 && t < n - 1;}function iye(e) {- let t = e.atoms.pagination?.get()?.pageIndex ?? Wq, n = Zq(e);+ let t = e.atoms.pagination?.get()?.pageIndex ?? Gq, n = Qq(e);return Number.isFinite(n) && n > 0 && t < n - 1;}function aye(e) {- return Jq(e, (e) => e - 1);+ return Yq(e, (e) => e - 1);}function oye(e) {- return Jq(e, (e) => e + 1);+ return Yq(e, (e) => e + 1);}function sye(e) {- return Jq(e, 0);+ return Yq(e, 0);}function cye(e) {- let t = Zq(e);- if (!(!Number.isFinite(t) || t <= 0)) return Jq(e, t - 1);+ let t = Qq(e);+ if (!(!Number.isFinite(t) || t <= 0)) return Yq(e, t - 1);}-function Zq(e) {+function Qq(e) {let t = e.options.pageCount;if (t != null) return t;- let n = Qq(e), r = e.atoms.pagination?.get()?.pageSize ?? Gq;+ let n = $q(e), r = e.atoms.pagination?.get()?.pageSize ?? Kq;return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);}-function Qq(e) {+function $q(e) {return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;}// node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js-var $q = {+var eJ = {getInitialState: (e) => ({...e,pagination: {- ...Kq(),+ ...qq(),...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: cq("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: lq("pagination", e) }),constructTableAPIs: (e) => {- gq("rowPaginationFeature", e, {+ _q("rowPaginationFeature", e, {table_autoResetPageIndex: { fn: () => Qve(e) },- table_setPagination: { fn: (t) => qq(e, t) },+ table_setPagination: { fn: (t) => Jq(e, t) },table_resetPagination: { fn: (t) => $ve(e, t) },- table_setPageIndex: { fn: (t) => Jq(e, t) },- table_resetPageIndex: { fn: (t) => Yq(e, t) },- table_setPageSize: { fn: (t) => Xq(e, t) },- table_getPageCount: { fn: () => Zq(e) },+ table_setPageIndex: { fn: (t) => Yq(e, t) },+ table_resetPageIndex: { fn: (t) => Xq(e, t) },+ table_setPageSize: { fn: (t) => Zq(e, t) },+ table_getPageCount: { fn: () => Qq(e) },table_resetPageSize: { fn: (t) => eye(e, t) },table_getPageOptions: { fn: () => tye(e) },table_getCanPreviousPage: { fn: () => nye(e) },@@ -56081,42 +56088,42 @@ var $q = {table_nextPage: { fn: () => oye(e) },table_firstPage: { fn: () => sye(e) },table_lastPage: { fn: () => cye(e) },- table_getRowCount: { fn: () => Qq(e) }+ table_getRowCount: { fn: () => $q(e) }});}};// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.jsfunction lye() {- return oq();+ return sq();}-function eJ(e, t) {+function tJ(e, t) {e.options.onRowSelectionChange?.(t);}function uye(e, t) {- e._lastSelectedRowId = null, eJ(e, t ? oq() : Object.assign(oq(), iq(e.initialState.rowSelection ?? {})));+ e._lastSelectedRowId = null, tJ(e, t ? sq() : Object.assign(sq(), aq(e.initialState.rowSelection ?? {})));}-function tJ(e, t, n) {- e._lastSelectedRowId = null, eJ(e, (r) => {- if (t = t === void 0 ? !vq(e, "getIsAllRowsSelected", iJ) : t, n?.deselectAll && !t) return oq();- let i = Object.assign(oq(), r), a = e.getPreGroupedRowModel().flatRows;+function nJ(e, t, n) {+ e._lastSelectedRowId = null, tJ(e, (r) => {+ if (t = t === void 0 ? !yq(e, "getIsAllRowsSelected", aJ) : t, n?.deselectAll && !t) return sq();+ let i = Object.assign(sq(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {- mJ(t, e) && (i[t.id] = !0);+ hJ(t, e) && (i[t.id] = !0);});} else a.forEach((e) => {- uJ(e) && delete i[e.id];+ dJ(e) && delete i[e.id];});return i;});}-function nJ(e, t, n) {- e._lastSelectedRowId = null, eJ(e, (r) => {- let i = t === void 0 ? !vq(e, "getIsAllPageRowsSelected", aJ) : t;- if (n?.deselectAll && !i) return oq();- let a = Object.assign(oq(), r);+function rJ(e, t, n) {+ e._lastSelectedRowId = null, tJ(e, (r) => {+ let i = t === void 0 ? !yq(e, "getIsAllPageRowsSelected", oJ) : t;+ if (n?.deselectAll && !i) return sq();+ let a = Object.assign(sq(), r);return e.getRowModel().rows.forEach((t) => {- pJ(a, t.id, i, !0, e, !0);+ mJ(a, t.id, i, !0, e, !0);}), a;});}@@ -56125,122 +56132,122 @@ function dye(e) {}function fye(e) {let t = e.getCoreRowModel();- return vq(e, "getIsSomeRowsSelected", oJ) ? _J(t, e) : {+ return yq(e, "getIsSomeRowsSelected", sJ) ? vJ(t, e) : {rows: [],flatRows: [],- rowsById: oq()+ rowsById: sq()};}function pye(e) {let t = e.getFilteredRowModel();- return vq(e, "getIsSomeRowsSelected", oJ) ? _J(t, e) : {+ return yq(e, "getIsSomeRowsSelected", sJ) ? vJ(t, e) : {rows: [],flatRows: [],- rowsById: oq()+ rowsById: sq()};}function mye(e) {let t = e.getSortedRowModel();- return vq(e, "getIsSomeRowsSelected", oJ) ? _J(t, e) : {+ return yq(e, "getIsSomeRowsSelected", sJ) ? vJ(t, e) : {rows: [],flatRows: [],- rowsById: oq()+ rowsById: sq()};}-function rJ(e) {+function iJ(e) {return Object.keys(e.atoms.rowSelection?.get() ?? {});}-function iJ(e) {+function aJ(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) => !vJ(t, n) && mJ(t, e)) && (r = !1);+ t.some((t) => !yJ(t, n) && hJ(t, e)) && (r = !1);}return r;}-function aJ(e) {+function oJ(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 (vJ(a, n)) !i && mJ(a, r) && (i = !0);- else if (mJ(a, r)) return !1;+ if (yJ(a, n)) !i && hJ(a, r) && (i = !0);+ else if (hJ(a, r)) return !1;}return i;}-function oJ(e) {- return vq(e, "getSelectedRowIds", rJ).length > 0;+function sJ(e) {+ return yq(e, "getSelectedRowIds", iJ).length > 0;}function hye(e) {- return e.getPaginatedRowModel().flatRows.filter((e) => uJ(e)).some((e) => cJ(e) || vq(e, "getIsSomeSelected", lJ));+ return e.getPaginatedRowModel().flatRows.filter((e) => dJ(e)).some((e) => lJ(e) || yq(e, "getIsSomeSelected", uJ));}function gye(e) {return (t) => {- tJ(e, t.target.checked);+ nJ(e, t.target.checked);};}function _ye(e) {return (t) => {- nJ(e, t.target.checked);+ rJ(e, t.target.checked);};}-function sJ(e, t, n) {- let r = cJ(e);- eJ(e.table, (i) => {+function cJ(e, t, n) {+ let r = lJ(e);+ tJ(e.table, (i) => {t = t === void 0 ? !r : t;- let a = Object.assign(oq(), i);- return pJ(a, e.id, t, (n?.selectChildren ?? !0) && fJ(e), e.table), !t && n?.deselectParents && hJ(a, e), a;+ let a = Object.assign(sq(), i);+ return mJ(a, e.id, t, (n?.selectChildren ?? !0) && pJ(e), e.table), !t && n?.deselectParents && gJ(a, e), a;});}-function cJ(e) {- return vJ(e, e.table.atoms.rowSelection?.get() ?? {});-}function lJ(e) {- return yJ(e) === "some";+ return yJ(e, e.table.atoms.rowSelection?.get() ?? {});+}+function uJ(e) {+ return bJ(e) === "some";}function vye(e) {- return yJ(e) === "all";+ return bJ(e) === "all";}-function uJ(e) {+function dJ(e) {let t = e.table.options;return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;}-function dJ(e) {+function fJ(e) {let t = e.table.options;return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;}-function fJ(e) {+function pJ(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}function yye(e, t) {- let n = uJ(e);+ let n = dJ(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 && fJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && bye(e, s, o, t) || sJ(e, o, t), a._lastSelectedRowId = e.id;+ a.options.enableRowRangeSelection !== !1 && s !== null && pJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && bye(e, s, o, t) || cJ(e, o, t), a._lastSelectedRowId = e.id;};}function bye(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 || !fJ(s) || !fJ(e)) return !1;+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !pJ(s) || !pJ(e)) return !1;let f = Math.min(c, l), p = Math.max(c, l);- return eJ(a, (e) => {- let t = Object.assign(oq(), e);+ return tJ(a, (e) => {+ let t = Object.assign(sq(), e);for (let e = f; e <= p; e++) {let s = o[e];- uJ(s) && fJ(s) && (pJ(t, s.id, n, i, a), !n && r?.deselectParents && hJ(t, s));+ dJ(s) && pJ(s) && (mJ(t, s.id, n, i, a), !n && r?.deselectParents && gJ(t, s));}return t;}), !0;}-function pJ(e, t, n, r, i, a) {+function mJ(e, t, n, r, i, a) {let o = i.getRow(t, !0);- n ? (fJ(o) || Object.keys(e).forEach((t) => delete e[t]), uJ(o) && (e[t] = !0)) : (!a || uJ(o)) && delete e[t], r && o.subRows.length && dJ(o) && o.subRows.forEach((t) => pJ(e, t.id, n, r, i, a));+ n ? (pJ(o) || Object.keys(e).forEach((t) => delete e[t]), dJ(o) && (e[t] = !0)) : (!a || dJ(o)) && delete e[t], r && o.subRows.length && fJ(o) && o.subRows.forEach((t) => mJ(e, t.id, n, r, i, a));}-function mJ(e, t) {- if (!uJ(e)) return !1;+function hJ(e, t) {+ if (!dJ(e)) return !1;let n = e.table;if (n.options.enableSubRowSelection === !0) return !0;let r = e.parentId;@@ -56256,7 +56263,7 @@ function mJ(e, t) {}o.push(c);let r = a[c] ?? n.getRow(c, !0);- if (!dJ(r)) {+ if (!fJ(r)) {s = !1;break;}@@ -56264,50 +56271,50 @@ function mJ(e, t) {}return o.forEach((e) => t.set(e, s)), s;}-function hJ(e, t) {+function gJ(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 gJ(e, t, n, r) {+function _J(e, t, n, r) {let i = [];for (let a = 0; a < e.length; a++) {- let o = e[a], s = vJ(o, t);+ let o = e[a], s = yJ(o, t);if (s && (n.push(o), r[o.id] = o), o.subRows.length) {- let e = gJ(o.subRows, t, n, r);+ let e = _J(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- aq(t, o), t.subRows = e, i.push(t);+ oq(t, o), t.subRows = e, i.push(t);}} else s && i.push(o);}return i;}-function _J(e, t) {- let n = [], r = oq(), i = t.atoms.rowSelection?.get() ?? {};+function vJ(e, t) {+ let n = [], r = sq(), i = t.atoms.rowSelection?.get() ?? {};return {- rows: gJ(e.rows, i, n, r),+ rows: _J(e.rows, i, n, r),flatRows: n,rowsById: r};}-function vJ(e, t) {- return !!(sq(t, e.id) && t[e.id]);+function yJ(e, t) {+ return !!(cq(t, e.id) && t[e.id]);}-function yJ(e) {+function bJ(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 (uJ(o) && (i = !0, vJ(o, t) ? n = !0 : r = !1), o.subRows.length) {- let e = yJ(o);+ if (dJ(o) && (i = !0, yJ(o, t) ? n = !0 : r = !1), o.subRows.length) {+ let e = bJ(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 bJ = {+var xJ = {initTableInstanceData: (e) => {e._lastSelectedRowId = null;},@@ -56319,7 +56326,7 @@ var bJ = {...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: cq("rowSelection", e),+ onRowSelectionChange: lq("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -56330,11 +56337,11 @@ var bJ = {}}),assignRowPrototype: (e, t) => {- _q("rowSelectionFeature", e, t, {- row_toggleSelected: { fn: (e, t, n) => sJ(e, t, n) },- row_getIsSelected: { fn: (e) => cJ(e) },+ vq("rowSelectionFeature", e, t, {+ row_toggleSelected: { fn: (e, t, n) => cJ(e, t, n) },+ row_getIsSelected: { fn: (e) => lJ(e) },row_getIsSomeSelected: {- fn: (e) => lJ(e),+ fn: (e) => uJ(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -56349,18 +56356,18 @@ var bJ = {e.table.options.enableRowSelection]},- row_getCanSelect: { fn: (e) => uJ(e) },- row_getCanSelectSubRows: { fn: (e) => dJ(e) },- row_getCanMultiSelect: { fn: (e) => fJ(e) },+ row_getCanSelect: { fn: (e) => dJ(e) },+ row_getCanSelectSubRows: { fn: (e) => fJ(e) },+ row_getCanMultiSelect: { fn: (e) => pJ(e) },row_getToggleSelectedHandler: { fn: (e, t) => yye(e, t) }});},constructTableAPIs: (e) => {- gq("rowSelectionFeature", e, {- table_setRowSelection: { fn: (t) => eJ(e, t) },+ _q("rowSelectionFeature", e, {+ table_setRowSelection: { fn: (t) => tJ(e, t) },table_resetRowSelection: { fn: (t) => uye(e, t) },- table_toggleAllRowsSelected: { fn: (t, n) => tJ(e, t, n) },- table_toggleAllPageRowsSelected: { fn: (t, n) => nJ(e, t, n) },+ table_toggleAllRowsSelected: { fn: (t, n) => nJ(e, t, n) },+ table_toggleAllPageRowsSelected: { fn: (t, n) => rJ(e, t, n) },table_getPreSelectedRowModel: { fn: () => dye(e) },table_getSelectedRowModel: {fn: () => fye(e),@@ -56375,11 +56382,11 @@ var bJ = {memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {- fn: () => rJ(e),+ fn: () => iJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsAllRowsSelected: {- fn: () => iJ(e),+ fn: () => aJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getFilteredRowModel(),@@ -56388,7 +56395,7 @@ var bJ = {]},table_getIsAllPageRowsSelected: {- fn: () => aJ(e),+ fn: () => oJ(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),@@ -56397,7 +56404,7 @@ var bJ = {]},table_getIsSomeRowsSelected: {- fn: () => oJ(e),+ fn: () => sJ(e),memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {@@ -56421,7 +56428,7 @@ function Sye(e) {}, e);return t;}-var xJ = /* @__PURE__ */ Sye({ sort: (e, t) => Cye(e, t) });+var SJ = /* @__PURE__ */ Sye({ sort: (e, t) => Cye(e, t) });function Cye(e, t) {return e === t ? 0 : e > t ? 1 : -1;}@@ -56429,16 +56436,16 @@ function Cye(e, t) {function wye() {return [];}-function SJ(e, t) {- fq(e, "sorting", t);-}function CJ(e, t) {- SJ(e, t ? [] : iq(e.initialState.sorting ?? []));+ pq(e, "sorting", t);+}+function wJ(e, t) {+ CJ(e, t ? [] : aq(e.initialState.sorting ?? []));}function Tye(e) {- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && CJ(e);+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && wJ(e);}-function wJ(e) {+function TJ(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);@@ -56455,9 +56462,9 @@ function wJ(e) {let e = t?.[r];if (e || r === "alphanumeric" && (e = t?.text), e) return e;}- return xJ;+ return SJ;}-function TJ(e) {+function EJ(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);@@ -56465,14 +56472,14 @@ function TJ(e) {}return "desc";}-function EJ(e) {+function DJ(e) {let t = e.table._rowModelFns.sortFns;- return T_e(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? wJ(e) : t?.[e.columnDef.sortFn] ?? xJ;+ return T_e(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? TJ(e) : t?.[e.columnDef.sortFn] ?? SJ;}-function DJ(e, t, n) {- let r = kJ(e, n && jJ(e)), i = t !== void 0;- SJ(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 && jJ(e) && n);+function OJ(e, t, n) {+ let r = AJ(e, n && MJ(e)), i = t !== void 0;+ CJ(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 && MJ(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@@ -56488,20 +56495,20 @@ function DJ(e, t, n) {}], c;});}-function OJ(e) {- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? TJ(e) === "desc" ? "desc" : "asc";+function kJ(e) {+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? EJ(e) === "desc" ? "desc" : "asc";}-function kJ(e, t) {- let n = OJ(e), r = MJ(e);+function AJ(e, t) {+ let n = kJ(e), r = NJ(e);return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;}-function AJ(e) {+function jJ(e) {return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;}-function jJ(e) {+function MJ(e) {return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;}-function MJ(e) {+function NJ(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}@@ -56509,16 +56516,16 @@ function Eye(e) {return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}function Dye(e) {- SJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);+ CJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);}function Oye(e) {- let t = AJ(e);+ let t = jJ(e);return (n) => {- t && DJ(e, void 0, jJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);+ t && OJ(e, void 0, MJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);};}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js-var NJ = {+var PJ = {getInitialState(e) {return {sorting: wye(),@@ -56534,35 +56541,35 @@ var NJ = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: cq("sorting", e),+ onSortingChange: lq("sorting", e),isMultiSortEvent: (e) => e.shiftKey};},assignColumnPrototype(e, t) {- _q("rowSortingFeature", e, t, {- column_getAutoSortFn: { fn: (e) => wJ(e) },- column_getAutoSortDir: { fn: (e) => TJ(e) },- column_getSortFn: { fn: (e) => EJ(e) },- column_toggleSorting: { fn: (e, t, n) => DJ(e, t, n) },- column_getFirstSortDir: { fn: (e) => OJ(e) },- column_getNextSortingOrder: { fn: (e, t) => kJ(e, t) },- column_getCanSort: { fn: (e) => AJ(e) },- column_getCanMultiSort: { fn: (e) => jJ(e) },- column_getIsSorted: { fn: (e) => MJ(e) },+ vq("rowSortingFeature", e, t, {+ column_getAutoSortFn: { fn: (e) => TJ(e) },+ column_getAutoSortDir: { fn: (e) => EJ(e) },+ column_getSortFn: { fn: (e) => DJ(e) },+ column_toggleSorting: { fn: (e, t, n) => OJ(e, t, n) },+ column_getFirstSortDir: { fn: (e) => kJ(e) },+ column_getNextSortingOrder: { fn: (e, t) => AJ(e, t) },+ column_getCanSort: { fn: (e) => jJ(e) },+ column_getCanMultiSort: { fn: (e) => MJ(e) },+ column_getIsSorted: { fn: (e) => NJ(e) },column_getSortIndex: { fn: (e) => Eye(e) },column_clearSorting: { fn: (e) => Dye(e) },column_getToggleSortingHandler: { fn: (e) => Oye(e) }});},constructTableAPIs(e) {- gq("rowSortingFeature", e, {+ _q("rowSortingFeature", e, {table_autoResetSorting: { fn: () => Tye(e) },- table_setSorting: { fn: (t) => SJ(e, t) },- table_resetSorting: { fn: (t) => CJ(e, t) }+ table_setSorting: { fn: (t) => CJ(e, t) },+ table_resetSorting: { fn: (t) => wJ(e, t) }});}}, kye = typeof window > "u" ? P.useEffect : P.useLayoutEffect;-function PJ(e, t) {+function FJ(e, t) {let [{ table: n, rootSource: r }] = (0, P.useState)(() => {let t = Uve({...e,@@ -56574,18 +56581,18 @@ function PJ(e, t) {return t.Subscribe = ((e) => v_e({...e,source: e.source ?? t.store- })), t.FlexRender = LK, {+ })), t.FlexRender = RK, {table: t,- rootSource: x_e(t.store, $K)+ rootSource: x_e(t.store, eq)};}), i = n;- Nq(i, (t) => ({+ Pq(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = nq(r, t, { compare: $K });+ let a = i.options.state, o = r.get(), s = rq(r, t, { compare: eq });return kye(() => {- r.markCommitted(o), Mq(i, a ?? null, $K);+ r.markCommitted(o), Nq(i, a ?? null, eq);}), (0, P.useMemo)(() => ({...n,options: e,@@ -56597,18 +56604,18 @@ function PJ(e, t) {]);}// src/react/boardui/components/base/table/table.tsx-function FJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+function IJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, F.jsx)("div", {- className: EF("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, F.jsx)(Kde, {+ className: lF("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, F.jsx)(qde, {ref: r,...i,- className: EF("bui-table", e === "sm" && "bui-table-sm", t)+ className: lF("bui-table", e === "sm" && "bui-table-sm", t)})});}// src/react/catalog-grid/catalog-table-columns.ts-var IJ = "peach.catalog-column-widths.v1", LJ = "peach.catalog-column-visibility.v1", Aye = {+var LJ = "peach.catalog-column-widths.v1", RJ = "peach.catalog-column-visibility.v1", Aye = {select: {width: 48,min: 48,@@ -56694,7 +56701,7 @@ var IJ = "peach.catalog-column-widths.v1", LJ = "peach.catalog-column-visibilityrelease: "发行时间",code: "番号",tags: "标签"-}, RJ = [+}, zJ = ["select","name","tags",@@ -56716,7 +56723,7 @@ var IJ = "peach.catalog-column-widths.v1", LJ = "peach.catalog-column-visibilityrequired: e === "select" || e === "name",visible: jye[e] !== !1}));-function zJ(e) {+function BJ(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -56725,8 +56732,8 @@ function zJ(e) {}}function Nye() {- let e = zJ(IJ), t = zJ(LJ);- return RJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {+ let e = BJ(LJ), t = BJ(RJ);+ return zJ.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,@@ -56737,41 +56744,41 @@ function Nye() {});}// src/react/library-processing/completion-row.ts-var BJ = "peach.catalog.completion-row";-function VJ() {+var VJ = "peach.catalog.completion-row";+function HJ() {try {- return localStorage.getItem(BJ) === "1";+ return localStorage.getItem(VJ) === "1";} catch {return !1;}}function Pye(e) {try {- e ? localStorage.setItem(BJ, "1") : localStorage.removeItem(BJ);+ e ? localStorage.setItem(VJ, "1") : localStorage.removeItem(VJ);} catch {}}var Fye = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";// src/catalog-content-skeleton.ts-function HJ(e) {+function UJ(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 Iye(e) {- let t = Nye(), 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>${HJ(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>` + (VJ() ? Fye : "") + `<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>`;+ let t = Nye(), 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>${UJ(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>` + (HJ() ? Fye : "") + `<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 UJ(e, t) {- return aM() === "list" ? Iye(e) : Ls(e, {+function WJ(e, t) {+ return xM() === "list" ? Iye(e) : Rs(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t});}// src/react/components/data-table-frame.tsx-function WJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {+function GJ({ 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;- vo(e), lc(e);+ yo(e), uc(e);}), /* @__PURE__ */ (0, F.jsx)("div", {ref: i,"data-board-data-table": !0,@@ -56781,9 +56788,9 @@ function WJ({ 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 && eG(e, r) && n(r.dataset.key);+ r && tG(e, r) && n(r.dataset.key);} : void 0,- children: r ? /* @__PURE__ */ (0, F.jsx)(Wde, {+ children: r ? /* @__PURE__ */ (0, F.jsx)(Gde, {className: "relative min-w-0",onResize: r.resize,onResizeEnd: r.save,@@ -56792,7 +56799,7 @@ function WJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {});}// src/react/components/select.tsx-function GJ({ prefix: e, renderValue: t, size: n, ...r }) {+function KJ({ prefix: e, renderValue: t, size: n, ...r }) {if (e == null) return /* @__PURE__ */ (0, F.jsx)(DU, {...r,size: n,@@ -56810,7 +56817,7 @@ function GJ({ prefix: e, renderValue: t, size: n, ...r }) {});}// src/react/components/table-pagination.tsx-function KJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function qJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {return t <= 1 ? null : /* @__PURE__ */ (0, F.jsxs)("nav", {"aria-label": r,"data-pagination-layout": "",@@ -56849,11 +56856,11 @@ function KJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {});}// src/react/components/table-controls.tsx-function qJ({ label: e, options: t, sorting: n, onChange: r }) {+function JJ({ 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)(GJ, {+ children: [/* @__PURE__ */ (0, F.jsxs)(KJ, {"aria-label": `${e}排序`,prefix: "排序",selectedKey: i?.id ?? "default",@@ -56886,7 +56893,7 @@ function qJ({ label: e, options: t, sorting: n, onChange: r }) {})]});}-function JJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [+function YJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [10,20,50,@@ -56901,7 +56908,7 @@ function JJ({ 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)(GJ, {+ children: [/* @__PURE__ */ (0, F.jsx)(KJ, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(n.pageSize),@@ -56915,7 +56922,7 @@ function JJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记id: String(e),children: `每页 ${e} ${a}`}, e))- }), /* @__PURE__ */ (0, F.jsx)(KJ, {+ }), /* @__PURE__ */ (0, F.jsx)(qJ, {label: `${e}分页`,page: c + 1,pages: s,@@ -56928,7 +56935,7 @@ function JJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记});}// src/react/components/table-column-preferences.ts-function YJ(e) {+function XJ(e) {try {let t = JSON.parse(localStorage.getItem(e) || "{}");return t && typeof t == "object" && !Array.isArray(t) ? t : {};@@ -56936,7 +56943,7 @@ function YJ(e) {return {};}}-function XJ(e, t) {+function ZJ(e, t) {try {localStorage.setItem(e, JSON.stringify(t));} catch {}@@ -56946,7 +56953,7 @@ function Lye(e, t) {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 = YJ(e);+ let r = XJ(e);for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];return n(r);});@@ -56963,7 +56970,7 @@ function Lye(e, t) {...r,...Object.fromEntries(t)});- i(a), XJ(e, a);+ i(a), ZJ(e, a);},reset: () => {i(n({}));@@ -56977,16 +56984,16 @@ function Rye(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(YJ(e)));+ }), [a, o] = (0, P.useState)(() => i(XJ(e)));return {visibility: a,change: (t) => {let n = i(typeof t == "function" ? t(a) : t);- o(n), XJ(e, n);+ o(n), ZJ(e, n);}};}-function ZJ(e, t, n) {+function QJ(e, t, n) {let r = (0, P.useMemo)(() => Object.fromEntries(t.map((e) => [e.id, {width: e.width ?? 180,min: e.min ?? 96,@@ -57012,14 +57019,14 @@ function ZJ(e, t, n) {}// src/react/catalog-grid/catalog-column-widths.tsfunction zye() {- return ZJ("catalog", RJ, {- widths: IJ,- visibility: LJ+ return QJ("catalog", zJ, {+ widths: LJ,+ visibility: RJ});}// src/react/components/rating-stars.tsx-var QJ = Rz("star");-function $J({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {+var $J = Rz("star");+function eY({ 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": "",@@ -57042,16 +57049,16 @@ function $J({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {onClick: () => {n || t(e);},- children: n === e ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: bs("正在保存评分") } }) : /* @__PURE__ */ (0, F.jsx)(QJ, {})+ children: n === e ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs("正在保存评分") } }) : /* @__PURE__ */ (0, F.jsx)($J, {})}, 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)(QJ, {}), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)($J, {}), /* @__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)(QJ, {})+ children: /* @__PURE__ */ (0, F.jsx)($J, {})})]})}, e))@@ -57059,8 +57066,8 @@ function $J({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {}// src/react/catalog-grid/catalog-table-controls.tsxfunction Bye({ item: e, actions: t }) {- let { rating: n } = e, r = OH(), i = (0, P.useRef)(0), a = mM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- dM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {+ let { rating: n } = e, r = OH(), i = (0, P.useRef)(0), a = WM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ VM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -57072,7 +57079,7 @@ function Bye({ item: e, actions: t }) {role: "group","aria-label": o,title: o,- children: [/* @__PURE__ */ (0, F.jsx)($J, {+ children: [/* @__PURE__ */ (0, F.jsx)(eY, {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0@@ -57089,7 +57096,7 @@ function Bye({ item: e, actions: t }) {}) : null]});}-function eY(e) {+function tY(e) {if (e == null || e === "") return "—";let t = String(e);if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;@@ -57104,11 +57111,11 @@ function eY(e) {});}// src/react/components/selection-actions.tsx-function tY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {+function nY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-selection-actions": "","data-action-layout": t,- className: EF("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),+ className: lF("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",@@ -57128,8 +57135,8 @@ function tY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {});}// src/react/components/selection-popover.tsx-function nY({ 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)(tY, {+function rY({ 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)(nY, {actions: a,layout: o,onNavigate: () => u(!1)@@ -57162,7 +57169,7 @@ function nY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,onOpenChange: u,placement: "bottom end",offset: 4,- className: EF(ZB, "w-max overscroll-contain"),+ className: lF(ZB, "w-max overscroll-contain"),children: ({ placement: t }) => /* @__PURE__ */ (0, F.jsx)(jH, {"aria-label": e,"data-selection-placement": t ?? "bottom",@@ -57172,13 +57179,13 @@ function nY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,})] });}// src/react/components/table-column-controls.tsx-function rY({ preferences: e, label: t = "表格" }) {+function iY({ 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)(nY, {+ children: [/* @__PURE__ */ (0, F.jsx)(rY, {label: `${t}显示列`,triggerLabel: "显示列",actionLayout: "fullWidth",@@ -57206,20 +57213,20 @@ function rY({ preferences: e, label: t = "表格" }) {})]});}-function iY({ preferences: e, id: t }) {+function aY({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);- return e.canResize(t) ? /* @__PURE__ */ (0, F.jsx)(tfe, { "aria-label": `调整${n.label}列宽` }) : null;+ return e.canResize(t) ? /* @__PURE__ */ (0, F.jsx)(nfe, { "aria-label": `调整${n.label}列宽` }) : null;}// src/react/components/table-selection-header.tsx-function aY(e, t) {+function oY(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 oY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {- let { all: i, some: a } = aY(e, n);+function sY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {+ let { all: i, some: a } = oY(e, n);return /* @__PURE__ */ (0, F.jsx)(iV, {slot: null,"aria-label": t,@@ -57227,17 +57234,17 @@ function oY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {isSelected: i,isIndeterminate: a,onChange: () => {- let t = !aY(e, n).all;+ let t = !oY(e, n).all;n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);}});}// src/react/catalog-grid/catalog-list-page.tsx-var Vye = Fq({- rowSortingFeature: NJ,- rowSelectionFeature: bJ,- rowPaginationFeature: $q,- columnVisibilityFeature: Uq+var Vye = Iq({+ rowSortingFeature: PJ,+ rowSelectionFeature: xJ,+ rowPaginationFeature: eJ,+ columnVisibilityFeature: Wq}), Hye = [{id: "name",@@ -57275,12 +57282,12 @@ var Vye = Fq({id: "played",label: "观看时间"}-], sY = /* @__PURE__ */ new Map();+], cY = /* @__PURE__ */ new Map();function Uye(e) {- let t = zye(), n = QW(), r = sM(e.filters || {}, !1), [i] = (0, P.useState)(() => {+ let t = zye(), n = $W(), r = TM(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)(() => sY.get(i) || {+ }), [a, o] = (0, P.useState)(() => cY.get(i) || {sorting: [],pagination: {pageIndex: 0,@@ -57288,7 +57295,7 @@ function Uye(e) {}}), { sorting: s, pagination: c } = a;(0, P.useEffect)(() => {- sY.set(i, a);+ cY.set(i, a);}, [i, a]);let l = c.pageIndex * c.pageSize, u = s[0], d = Pt({queryKey: [@@ -57314,7 +57321,7 @@ function Uye(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" ? [] : AK(f, e.layout.javImage), [h] = (0, P.useState)(VJ);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : jK(f, e.layout.javImage), [h] = (0, P.useState)(HJ);(0, P.useEffect)(() => {d.data && !d.isPlaceholderData && Pye(m.length > 0);}, [@@ -57348,14 +57355,14 @@ function Uye(e) {p,c.pageIndex]);- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = PJ({+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = FJ({features: Vye,columns: (0, P.useMemo)(() => {- let t = Pq();+ let t = Fq();return t.columns([t.display({id: "select",- header: ({ table: e }) => /* @__PURE__ */ (0, F.jsx)(oY, {+ header: ({ table: e }) => /* @__PURE__ */ (0, F.jsx)(sY, {table: e,label: "全选本页作品",disabled: d.isPlaceholderData@@ -57450,13 +57457,13 @@ function Uye(e) {id: "played",header: "观看时间",enableSorting: !0,- cell: ({ row: e }) => eY(e.original.last_played)+ cell: ({ row: e }) => tY(e.original.last_played)}),t.accessor((e) => e.first_seen, {id: "new",header: "入库时间",enableSorting: !0,- cell: ({ row: e }) => eY(e.original.first_seen)+ cell: ({ row: e }) => tY(e.original.first_seen)}),t.accessor((e) => e.release_date, {id: "release",@@ -57516,7 +57523,7 @@ function Uye(e) {"aria-label": "作品列表工具栏",children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-toolbar-actions": "",- children: [/* @__PURE__ */ (0, F.jsx)(rY, { preferences: t }), /* @__PURE__ */ (0, F.jsx)(qJ, {+ children: [/* @__PURE__ */ (0, F.jsx)(iY, { preferences: t }), /* @__PURE__ */ (0, F.jsx)(JJ, {label: "作品列表",options: Hye,sorting: s,@@ -57528,21 +57535,21 @@ function Uye(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, F.jsx)(jK, {+ }) : null : /* @__PURE__ */ (0, F.jsx)(MK, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, F.jsx)(jW, {+ d.isError ? /* @__PURE__ */ (0, F.jsx)(MW, {message: tn(d.error),onRetry: () => void d.refetch()}) : null,- /* @__PURE__ */ (0, F.jsx)(WJ, {+ /* @__PURE__ */ (0, F.jsx)(GJ, {follow: !0,preferences: t,onRowClick: e.selectMode ? (t) => {d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);} : void 0,- children: /* @__PURE__ */ (0, F.jsxs)(FJ, {+ children: /* @__PURE__ */ (0, F.jsxs)(IJ, {"aria-label": "作品列表",size: "sm",sortDescriptor: u ? {@@ -57560,12 +57567,12 @@ function Uye(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: [IK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, F.jsx)("span", {+ children: [LK(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)(JB, {})}) : null]- }), /* @__PURE__ */ (0, F.jsx)(iY, {+ }), /* @__PURE__ */ (0, F.jsx)(aY, {preferences: t,id: e.id})] })@@ -57581,19 +57588,19 @@ function Uye(e) {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)(ez, { children: /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: HJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, F.jsx)(ez, { "data-table-space": "" })]+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)(ez, { children: /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: UJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, F.jsx)(ez, { "data-table-space": "" })]}, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, F.jsxs)(QR, {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)(ez, { children: IK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, F.jsx)(ez, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, F.jsx)(ez, { children: LK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, F.jsx)(ez, { "data-table-space": "" })]}, e.id))})]})}),- d.data ? /* @__PURE__ */ (0, F.jsx)(JJ, {+ d.data ? /* @__PURE__ */ (0, F.jsx)(YJ, {label: "作品列表",total: p,pagination: c,@@ -57605,7 +57612,7 @@ function Uye(e) {});}function Wye({ 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 } = uG(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = QW({ 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", {+ 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 } = dG(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = $W({ 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}` })@@ -57630,9 +57637,9 @@ function Wye({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, F.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, F.jsx)(MW, {+ r.html ? /* @__PURE__ */ (0, F.jsx)(NW, {artwork: r,- relayout: (e) => xl(e, "small")+ relayout: (e) => Sl(e, "small")}) : /* @__PURE__ */ (0, F.jsx)("span", { children: "无预览" }),i && !a ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-group": "",@@ -57693,10 +57700,10 @@ function Wye({ item: e, props: t, disabled: n }) {});}// src/react/catalog-grid/catalog-grid-page.tsx-function cY(e) {- let t = oM();+function lY(e) {+ let t = wM();if (e.mode === "items") return /* @__PURE__ */ (0, F.jsx)(Kye, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${sM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${TM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;return t === "list" && !e.wall ? /* @__PURE__ */ (0, F.jsx)(Uye, { ...e }, n) : /* @__PURE__ */ (0, F.jsx)(qye, { ...e }, n);}function Gye({ name: e }) {@@ -57706,7 +57713,7 @@ function Gye({ name: e }) {children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-function lY({ children: e, selectMode: t }) {+function uY({ children: e, selectMode: t }) {let n = (0, P.useRef)(null), [r, i] = (0, P.useState)(!1);return (0, P.useLayoutEffect)(() => {let e = n.current;@@ -57723,7 +57730,7 @@ function lY({ children: e, selectMode: t }) {});}function Kye(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)(vG, {+ 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)(yG, {item: i,variant: r,layout: e.layout,@@ -57737,13 +57744,13 @@ function Kye(e) {return r === "next" ? /* @__PURE__ */ (0, F.jsx)("div", {"data-media-next-row": "",children: i- }) : /* @__PURE__ */ (0, F.jsx)(lY, {+ }) : /* @__PURE__ */ (0, F.jsx)(uY, {selectMode: e.selectMode,children: i});}function qye(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? gce(e) : cM(e), [s] = (0, P.useState)(() => e.wall ? vce(o.queryKey) : void 0), c = s || (i && e.initial ? {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? MM(e) : jM(e), [s] = (0, P.useState)(() => e.wall ? PM(o.queryKey) : void 0), c = s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -57764,7 +57771,7 @@ function qye(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)(() => bce(l.data?.pages || [], {+ let { tiles: d, pageStarts: f } = (0, P.useMemo)(() => RM(l.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -57774,7 +57781,7 @@ function qye(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 || iK(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && YG(e.item) ? [e.item] : []), v = a ? [] : AK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = AW(l.isPending, e.skeletonHtml), b = (0, P.useRef)(null), x = Jye(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 || aK(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && XG(e.item) ? [e.item] : []), v = a ? [] : jK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = jW(l.isPending, e.skeletonHtml), b = (0, P.useRef)(null), x = Jye(e, l.data, d, f, b);(0, P.useLayoutEffect)(() => {if (!l.data) return;let t = !0;@@ -57806,7 +57813,7 @@ function qye(e) {layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, F.jsx)(vG, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, F.jsx)(yG, {item: i.item,grouped: e.groupCollapse !== !1,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",@@ -57824,10 +57831,10 @@ function qye(e) {"data-grid-reveal": y.fading ? "" : void 0,children: [!e.wall && y.layer,- /* @__PURE__ */ (0, F.jsx)(jK, { assetIds: v }),+ /* @__PURE__ */ (0, F.jsx)(MK, { assetIds: v }),(() => {- if (g && e.wall) return /* @__PURE__ */ (0, F.jsx)(bK, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${sM(e.filters || {}, !!e.excludeVertical)}`,+ if (g && e.wall) return /* @__PURE__ */ (0, F.jsx)(xK, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${TM(e.filters || {}, !!e.excludeVertical)}`,items: _,finite: h,hasMore: !!l.hasNextPage,@@ -57835,7 +57842,7 @@ function qye(e) {loading: l.isPending || !l.data && l.isFetching,error: !l.data && !l.isPending ? tn(l.error) : "",retry: () => void l.refetch(),- emptyHtml: l.data && !_.length ? TK({+ emptyHtml: l.data && !_.length ? EK({libraryEmpty: !!l.data.pages[0]?.libraryEmpty,matches: m,hasMore: !!l.hasNextPage,@@ -57850,7 +57857,7 @@ function qye(e) {javImage: r.javImage}, h ? "finite" : "explore");if (l.isPending) return null;- if (!l.data) return /* @__PURE__ */ (0, F.jsx)(jW, {+ if (!l.data) return /* @__PURE__ */ (0, F.jsx)(MW, {message: tn(l.error),onRetry: () => void l.refetch()});@@ -57867,12 +57874,12 @@ function qye(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: Cce(d, x).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(lY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, F.jsx)(Yye, {+ children: Jse(d, x).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(uY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, F.jsx)(Yye, {cut: t.strip,props: e,onOpen: T}) : null] }, t.start))- }), l.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(uY, {+ }), l.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(dY, {entity: i,load: E,enabled: () => e.canLoadMore?.() !== !1@@ -57881,7 +57888,7 @@ function qye(e) {]});}-function uY({ entity: e, load: t, enabled: n, children: r }) {+function dY({ 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: ""@@ -57923,7 +57930,7 @@ function uY({ entity: e, load: t, enabled: n, children: r }) {if (!e) return;let t = new IntersectionObserver((e) => {e.some((e) => e.isIntersecting) && d(!1);- }, { rootMargin: kW });+ }, { rootMargin: AW });return a.current = t, t.observe(e), () => {t.disconnect(), a.current = null;};@@ -57945,8 +57952,8 @@ function uY({ entity: e, load: t, enabled: n, children: r }) {...p,hidden: !!c.error,onClick: () => void d(!0),- dangerouslySetInnerHTML: { __html: Ss(xs) }- }), c.error ? /* @__PURE__ */ (0, F.jsx)(jW, {+ dangerouslySetInnerHTML: { __html: Cs(Ss) }+ }), c.error ? /* @__PURE__ */ (0, F.jsx)(MW, {message: c.error,onRetry: () => void d(!0)}) : null] });@@ -57963,7 +57970,7 @@ function Jye(e, t, n, r, i) {let r = new AbortController();f.current.push(r);let i = n - 1;- B(`/api/items?${Sce(e.filters || {}, l.current)}`, r.signal).then((e) => {+ B(`/api/items?${BM(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];t.length ? c({page: i,@@ -57975,9 +57982,9 @@ function Jye(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 = xce(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 = zM(n.length - t, m, p);if (!h.length) return;- let g = lM(s.items, d.current, e.groupCollapse !== !1);+ let g = FM(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, {@@ -58008,7 +58015,7 @@ function Yye({ cut: e, props: t, onOpen: n }) {] }), /* @__PURE__ */ (0, F.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, F.jsx)(vG, {+ children: e.items.map((e) => /* @__PURE__ */ (0, F.jsx)(yG, {item: e,variant: "short",layout: t.layout,@@ -58023,17 +58030,17 @@ function Yye({ cut: e, props: t, onOpen: n }) {})]});}-function dY(e, t, n) {+function fY(e, t, n) {return oo(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}function Xye({ 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) => uM(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), dY(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = dY(e, t, !1);- return /* @__PURE__ */ (0, F.jsx)(OG, {+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => IM(e, t.javImage)).slice(0, 9);+ return i.current = new Map(n.map((e) => [String(e.id), fY(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = fY(e, t, !1);+ return /* @__PURE__ */ (0, F.jsx)(kG, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -58043,12 +58050,12 @@ function Xye({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : dY(e, {+ artworkIdentity: c === "small" ? l.html : fY(e, {...t,size: "small"}, !1).html,- relayoutArt: (e) => xl(e, c),- ratio: lG(e, "grid", t),+ relayoutArt: (e) => Sl(e, c),+ ratio: uG(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -58059,13 +58066,13 @@ function Xye({ seed: e, layout: t, helpers: n, actions: r }) {});}// src/react/media-sources.ts-async function fY(e) {+async function pY(e) {await H.fetchQuery({queryKey: er,queryFn: () => tr(e)});}-var Zye = (e) => (e?.sources ?? []).filter((e) => Qt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Qye = "/api/duplicates?limit=120", pY = ["duplicates"], mY = "/api/batch", hY = (e) => B(Qye, e), $ye = /[\s\-_.()[\]【】/\\]/;+var Zye = (e) => (e?.sources ?? []).filter((e) => Qt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Qye = "/api/duplicates?limit=120", mY = ["duplicates"], hY = "/api/batch", gY = (e) => B(Qye, e), $ye = /[\s\-_.()[\]【】/\\]/;function ebe(e) {if (e.length < 2) return "";let t = 0, n = e[0];@@ -58078,9 +58085,9 @@ function ebe(e) {var tbe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;async function nbe(e) {await Promise.all([H.fetchQuery({- queryKey: pY,- queryFn: () => hY(e)- }), fY(e)]);+ queryKey: mY,+ queryFn: () => gY(e)+ }), pY(e)]);}var rbe = {largest: "最大的一个",@@ -58088,7 +58095,7 @@ var rbe = {115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, ibe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), gY = (e, t) => ibe(e, t).filter((t) => e.some((e) => e.location !== t)), abe = (e, t) => t.filter((t) => e.some((e) => gY(e.files, [t]).length));+}, ibe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), _Y = (e, t) => ibe(e, t).filter((t) => e.some((e) => e.location !== t)), abe = (e, t) => t.filter((t) => e.some((e) => _Y(e.files, [t]).length));function obe(e, t) {let n = [];for (let r of e) {@@ -58113,14 +58120,14 @@ function sbe(e, t) {return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);}async function cbe(e, t) {- for (let n = 0; n < e.length; n += 200) await V(mY, {+ for (let n = 0; n < e.length; n += 200) await V(hY, {ids: e.slice(n, n + 200),operation: t,...t === "dispose" ? { disposal_reason: "duplicate" } : {}});}// src/react/media-repair/media-repair.ts-var _Y = "/api/media-repair", vY = ["media-repair"], yY = ["media-repair", "libraries"], lbe = {+var vY = "/api/media-repair", yY = ["media-repair"], bY = ["media-repair", "libraries"], lbe = {status: "idle",library: "",stage: "",@@ -58132,39 +58139,39 @@ var _Y = "/api/media-repair", vY = ["media-repair"], yY = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, bY = (e) => B(_Y, e), xY = async (e) => (await B("/api/libraries", e)).libraries || [];+}, xY = (e) => B(vY, e), SY = async (e) => (await B("/api/libraries", e)).libraries || [];async function ube(e) {await Promise.all([H.fetchQuery({- queryKey: vY,- queryFn: () => bY(e)- }), H.fetchQuery({queryKey: yY,queryFn: () => xY(e)+ }), H.fetchQuery({+ queryKey: bY,+ queryFn: () => SY(e)})]);}-var SY = (e) => Number(e).toLocaleString();+var CY = (e) => Number(e).toLocaleString();function dbe(e) {if (e.status === "running") {- let t = e.total ? `${SY(Math.min(e.checked || 0, e.total))} / ${SY(e.total)}` : "准备中";+ let t = e.total ? `${CY(Math.min(e.checked || 0, e.total))} / ${CY(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${SY(e.repaired)} 部,${SY(e.failed)} 部修不了` : `修好 ${SY(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${CY(e.repaired)} 部,${CY(e.failed)} 部修不了` : `修好 ${CY(e.repaired)} 部` : "";}-var fbe = (e) => `${SY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, pbe = "/api/quality-goals?limit=200", CY = ["quality-goals"], wY = (e) => B(pbe, e);+var fbe = (e) => `${CY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, pbe = "/api/quality-goals?limit=200", wY = ["quality-goals"], TY = (e) => B(pbe, e);async function mbe(e) {await H.fetchQuery({- queryKey: CY,- queryFn: () => wY(e)+ queryKey: wY,+ queryFn: () => TY(e)});}var hbe = (e) => e.has_cover ? Wa(e) : `/poster?id=${e.id}&c=4`;// src/selection.ts-function TY(e, t, n, r, i, a = i || !e.has(r)) {+function EY(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 gbe = "/api/review", _be = "/api/review/decision", vbe = "/api/review/genre", EY = ["review"], DY = {+var gbe = "/api/review", _be = "/api/review/decision", vbe = "/api/review/genre", DY = ["review"], OY = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -58174,14 +58181,14 @@ var gbe = "/api/review", _be = "/api/review/decision", vbe = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, ybe = Object.keys(DY), bbe = "metadata_fields", OY = (e) => typeof e == "string" && Object.hasOwn(DY, e), xbe = {+}, ybe = Object.keys(OY), bbe = "metadata_fields", kY = (e) => typeof e == "string" && Object.hasOwn(OY, e), xbe = {creator_tags: "creator",western_identity: "creator"-}, kY = [+}, AY = ["pending","later","ignored"-], AY = {+], jY = {pending: "待处理",later: "稍后处理",ignored: "已忽略"@@ -58189,14 +58196,14 @@ var gbe = "/api/review", _be = "/api/review/decision", vbe = "/api/review/genre"approved: "已通过",rejected: "已忽略",skipped: "稍后处理"-}, jY = (e) => e === "later" || e === "ignored" ? e : "pending", MY = (e, t) => t === "pending" ? {+}, MY = (e) => e === "later" || e === "ignored" ? e : "pending", NY = (e, t) => t === "pending" ? {sections: e.sections,counts: e.counts} : e.queues[t];function Cbe(e, t) {return {...e,- ...t(MY(e, "pending")),+ ...t(NY(e, "pending")),queues: {later: t(e.queues.later),ignored: t(e.queues.ignored)@@ -58207,7 +58214,7 @@ function wbe(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 NY(e, t) {+function PY(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -58225,7 +58232,7 @@ function NY(e, t) {return [...n.values()];}function Tbe(e, t, n) {- return n && NY(e, t).find((e) => e.key === n)?.rows || e;+ return n && PY(e, t).find((e) => e.key === n)?.rows || e;}function Ebe(e, t) {let n = Zn(e.length, 20), r = Qn(t, n);@@ -58239,17 +58246,17 @@ function Dbe(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 Obe(e, t, n, r, i, a) {- return TY(e, t, n, r, i, a);+ return EY(e, t, n, r, i, a);}function kbe(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function PY(e, t) {+function FY(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var FY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+var IY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";function Abe(e, t) {- let n = PY(e, t), r = FY(e, t);+ let n = FY(e, t), r = IY(e, t);return r ? `${n} · ${r}` : n;}var jbe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Mbe = (e) => String(e.tags || "").split("|").filter(Boolean), Nbe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];@@ -58282,16 +58289,16 @@ var Ibe = (e) => ({skipped: "已移至稍后处理",restore: "已恢复待处理"})[e];-async function IY(e) {+async function LY(e) {let t = await B(gbe, e);- for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${AY[e]}状态未取得,请刷新或更新写入端`);+ for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${jY[e]}状态未取得,请刷新或更新写入端`);return t;}async function Lbe(e) {let t = await V(_be, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- H.setQueryData(EY, (t) => t && Cbe(t, (t) => ({+ H.setQueryData(DY, (t) => t && Cbe(t, (t) => ({...t,sections: {...t.sections,@@ -58308,8 +58315,8 @@ async function Lbe(e) {return t;}function Rbe(e, t) {- let n = H.getQueryData(EY);- return n && kY.flatMap((t) => MY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;+ let n = H.getQueryData(DY);+ return n && AY.flatMap((t) => NY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;}var zbe = (e, t) => V(vbe, {genre: e,@@ -58317,23 +58324,23 @@ var zbe = (e, t) => V(vbe, {});async function Bbe(e) {await H.fetchQuery({- queryKey: EY,- queryFn: () => IY(e)+ queryKey: DY,+ queryFn: () => LY(e)});}function Vbe(e, t, n) {let r = new Set(t);- r.size && H.setQueryData(EY, (t) => {+ r.size && H.setQueryData(DY, (t) => {if (!t) return t;- let i = kY.flatMap((n) => MY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));+ let i = AY.flatMap((n) => NY(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(kY.map((o) => {- let s = MY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({+ }[n], o = Object.fromEntries(AY.map((o) => {+ let s = NY(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: ""@@ -58361,69 +58368,69 @@ function Vbe(e, t, n) {});}var Hbe = () => H.invalidateQueries({- queryKey: EY,+ queryKey: DY,exact: !0});function Ube(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${ir(e.fetched_at)} 的缓存` : e?.error || t;}// src/react/data-cleanup/links.ts-var Wbe = "/api/links", LY = "/api/links/check", RY = "/api/links/prune", zY = ["links"], BY = ["links", "check"], VY = ["links", "prune"], Gbe = {+var Wbe = "/api/links", RY = "/api/links/check", zY = "/api/links/prune", BY = ["links"], VY = ["links", "check"], HY = ["links", "prune"], Gbe = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function HY(e) {+async function UY(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var UY = (e) => B(Wbe, e), WY = (e) => V(LY, { status_only: !0 }, "POST", e), Kbe = ({ retry: e, checkId: t }) => HY(V(LY, e ? {+var WY = (e) => B(Wbe, e), GY = (e) => V(RY, { status_only: !0 }, "POST", e), Kbe = ({ retry: e, checkId: t }) => UY(V(RY, e ? {retry: e,check_id: t-} : { restart: !0 })), GY = (e) => B(RY, e), qbe = ({ checkId: e, ids: t }) => HY(V(RY, {+} : { restart: !0 })), KY = (e) => B(zY, e), qbe = ({ checkId: e, ids: t }) => UY(V(zY, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), KY = (e) => Number(e || 0).toLocaleString(), Jbe = (e) => `已删除 ${KY(e.removed)} 条;${e.marked ? `已隐退女优的 ${KY(e.marked)} 条留作不可点的记录;` : ""}保留 ${KY(e.recovered)} 条未确认失效的链接。`;+})), qY = (e) => Number(e || 0).toLocaleString(), Jbe = (e) => `已删除 ${qY(e.removed)} 条;${e.marked ? `已隐退女优的 ${qY(e.marked)} 条留作不可点的记录;` : ""}保留 ${qY(e.recovered)} 条未确认失效的链接。`;function Ybe(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${KY(e.checked)} / ${KY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${qY(e.checked)} / ${qY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}// src/configuration-endpoints.ts-var qY = "/api/configuration", JY = "/api/pick-folder", YY = "/api/settings", XY = "/api/follow/schedule", ZY = "/api/feeds/schedule", QY = "/api/thumbnail-jobs", $Y = ["settings"], eX = ["follow-schedule"], tX = ["feed-schedule"], nX = ["thumbnail-jobs"], rX = "/api/media-processing", Xbe = ["media-processing"], Zbe = (e) => B(rX, e), iX = (e) => B(YY, e), Qbe = (e) => B(XY, e), $be = (e) => B(ZY, e), exe = (e) => B(QY, e);+var JY = "/api/configuration", YY = "/api/pick-folder", XY = "/api/settings", ZY = "/api/follow/schedule", QY = "/api/feeds/schedule", $Y = "/api/thumbnail-jobs", eX = ["settings"], tX = ["follow-schedule"], nX = ["feed-schedule"], rX = ["thumbnail-jobs"], iX = "/api/media-processing", Xbe = ["media-processing"], Zbe = (e) => B(iX, e), aX = (e) => B(XY, e), Qbe = (e) => B(ZY, e), $be = (e) => B(QY, e), exe = (e) => B($Y, e);function txe(e = H) {return e.fetchQuery({- queryKey: $Y,- queryFn: ({ signal: e }) => iX(e),+ queryKey: eX,+ queryFn: ({ signal: e }) => aX(e),staleTime: 0}).catch(() => null);}-function aX() {+function oX() {return Ft({- mutationFn: (e) => V(YY, e),- onSuccess: (e) => H.setQueryData($Y, e)+ mutationFn: (e) => V(XY, e),+ onSuccess: (e) => H.setQueryData(eX, e)});}function nxe() {return Ft({- mutationFn: (e) => V(XY, {+ mutationFn: (e) => V(ZY, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => H.setQueryData(eX, e)+ onSuccess: (e) => H.setQueryData(tX, e)});}var rxe = {follow: {- url: `${XY}/run`,- key: eX- },- feed: {url: `${ZY}/run`,key: tX+ },+ feed: {+ url: `${QY}/run`,+ key: nX}};function ixe(e) {@@ -58436,32 +58443,32 @@ function ixe(e) {var axe = (e) => e?.running ? 3e3 : !1;function oxe() {return Ft({- mutationFn: (e) => V(QY, { mode: e }),- onSuccess: (e) => H.setQueryData(nX, e)+ mutationFn: (e) => V($Y, { mode: e }),+ onSuccess: (e) => H.setQueryData(rX, e)});}// src/react/data-cleanup/organize.ts-var sxe = "/api/organize", cxe = "/api/organize/preview", lxe = "/api/organize/apply", uxe = "/api/organize/rollback", oX = ["organize"], dxe = "/api/organize/example", fxe = (e, t, n) => B(`${dxe}?${new URLSearchParams({+var sxe = "/api/organize", cxe = "/api/organize/preview", lxe = "/api/organize/apply", uxe = "/api/organize/rollback", sX = ["organize"], dxe = "/api/organize/example", fxe = (e, t, n) => B(`${dxe}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), sX = (e) => B(sxe, e);+})}`, n), cX = (e) => B(sxe, e);async function pxe(e) {await H.fetchQuery({- queryKey: oX,- queryFn: () => sX(e)+ queryKey: sX,+ queryFn: () => cX(e)});}-var mxe = (e) => V(cxe, e), hxe = (e) => V(JY, { initial: e }), gxe = (e) => e.kind === "apply" ? V(lxe, {+var mxe = (e) => V(cxe, e), hxe = (e) => V(YY, { initial: e }), gxe = (e) => e.kind === "apply" ? V(lxe, {...e.request,confirm: !0}) : V(uxe, { confirm: !0 });async function _xe(e) {- H.setQueryData(oX, (t) => t && {+ H.setQueryData(sX, (t) => t && {...t,templates: e});try {- await V(YY, { organizeTemplates: e });+ await V(XY, { organizeTemplates: e });} catch {}}var vxe = (e, t) => e && {@@ -58472,91 +58479,91 @@ function bxe(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var cX = (e) => Number(e || 0).toLocaleString();+var lX = (e) => Number(e || 0).toLocaleString();function xxe(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${cX(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${cX(e.counts.change)} 个文件会改名或移动,${cX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${lX(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${lX(e.counts.change)} 个文件会改名或移动,${lX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}function Sxe(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${cX(r)} 个文件${n ? `,${cX(n)} 行未能退回` : ""}。` : `已整理 ${cX(r)} 个文件${n ? `,${cX(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${lX(r)} 个文件${n ? `,${lX(n)} 行未能退回` : ""}。` : `已整理 ${lX(r)} 个文件${n ? `,${lX(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}// src/react/data-cleanup/orphan-records.ts-var Cxe = "/api/orphan-records", wxe = "/api/orphan-records/attach", lX = ["orphan-records"], Txe = [+var Cxe = "/api/orphan-records", wxe = "/api/orphan-records/attach", uX = ["orphan-records"], Txe = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], uX = (e) => B(Cxe, e), Exe = (e, t) => V(wxe, {+], dX = (e) => B(Cxe, e), Exe = (e, t) => V(wxe, {id: e,target: t-}), Dxe = (e) => V(mY, {+}), Dxe = (e) => V(hY, {ids: Array.isArray(e) ? e : [e],operation: "delete"}), Oxe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], kxe = (e) => [...Txe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Oxe(e)].filter(Boolean).join(" · "), Axe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", jxe = (e) => [e.name, Axe(e.duration)].filter(Boolean).join(" · "), dX = "/api/resource-sync/scan", fX = "/api/resource-sync/apply", pX = ["resource-sync", "scan"], mX = ["resource-sync", "apply"], hX = (e) => V(dX, {+], kxe = (e) => [...Txe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Oxe(e)].filter(Boolean).join(" · "), Axe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", jxe = (e) => [e.name, Axe(e.duration)].filter(Boolean).join(" · "), fX = "/api/resource-sync/scan", pX = "/api/resource-sync/apply", mX = ["resource-sync", "scan"], hX = ["resource-sync", "apply"], gX = (e) => V(fX, {background: !0,status_only: !0-}, "POST", e), Mxe = () => V(dX, {+}, "POST", e), Mxe = () => V(fX, {background: !0,restart: !0-}), gX = (e) => B(fX, e), Nxe = (e) => V(fX, {+}), _X = (e) => B(pX, e), Nxe = (e) => V(pX, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), _X = (e) => (e?.sources ?? []).some((e) => Zt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+}), vX = (e) => (e?.sources ?? []).some((e) => Zt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);async function Pxe(e) {- _X(H.getQueryData(er)) && await Promise.all([H.fetchQuery({- queryKey: pX,- queryFn: () => hX(e)- }), H.fetchQuery({+ vX(H.getQueryData(er)) && await Promise.all([H.fetchQuery({queryKey: mX,queryFn: () => gX(e)+ }), H.fetchQuery({+ queryKey: hX,+ queryFn: () => _X(e)})]);}-var Fxe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), vX = (e) => Number(e || 0).toLocaleString(), Ixe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", yX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), bX = (e) => e.vanish ? `${vX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", xX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Lxe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录和 ${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。${xX(e)}${bX(e)}`, Rxe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录(含回收站里的)、${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。来源根目录保留。${xX(e)}${bX(e)}`, zxe = (e) => e.online ? [- `找不到文件 · 共 ${vX(e.total)} 项`,- e.vanish ? `${vX(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${vX(e.empty)} 个` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${vX(e.total)} 项`;-function SX(e) {+var Fxe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), yX = (e) => Number(e || 0).toLocaleString(), Ixe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", bX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), xX = (e) => e.vanish ? `${yX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", SX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Lxe = (e) => `将永久删除文件已不在盘上的 ${yX(bX(e))} 条记录和 ${yX(e.empty)} 个空文件夹,并清理 ${yX(e.cache?.files)} 个闲置缓存。${SX(e)}${xX(e)}`, Rxe = (e) => `将永久删除文件已不在盘上的 ${yX(bX(e))} 条记录(含回收站里的)、${yX(e.empty)} 个空文件夹,并清理 ${yX(e.cache?.files)} 个闲置缓存。来源根目录保留。${SX(e)}${xX(e)}`, zxe = (e) => e.online ? [+ `找不到文件 · 共 ${yX(e.total)} 项`,+ e.vanish ? `${yX(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${yX(e.empty)} 个` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${yX(e.total)} 项`;+function CX(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 ? `${vX(t.length)} 条记录没有删除(${o})` : "",- n ? `${vX(n)} 个文件夹没有删除` : "",- r.length ? `${vX(r.length)} 个缓存没有清理` : ""+ t.length ? `${yX(t.length)} 条记录没有删除(${o})` : "",+ n ? `${yX(n)} 个文件夹没有删除` : "",+ r.length ? `${yX(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}var Bxe = (e, t) => {- let { rest: n } = SX(e), r = `已永久删除 ${vX(e.purged)} 条失效记录和 ${vX(e.dirs_removed)} 个空文件夹,清理 ${vX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${vX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${vX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+ let { rest: n } = CX(e), r = `已永久删除 ${yX(e.purged)} 条失效记录和 ${yX(e.dirs_removed)} 个空文件夹,清理 ${yX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${yX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${yX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, Vxe = "/api/review?counts=1", CX = ["review", "counts"], Hxe = "/api/ads?limit=1", wX = ["junk-summary"], TX = "/api/items?state=trash&limit=1", EX = ["trash-summary"], Uxe = [+}, Vxe = "/api/review?counts=1", wX = ["review", "counts"], Hxe = "/api/ads?limit=1", TX = ["junk-summary"], EX = "/api/items?state=trash&limit=1", DX = ["trash-summary"], Uxe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], DX = (e) => B(Vxe, e), OX = (e) => B(Hxe, e), kX = (e) => {+], OX = (e) => B(Vxe, e), kX = (e) => B(Hxe, e), AX = (e) => {let t = sessionStorage.getItem("peach.library");- return B(t ? `${TX}&library=${encodeURIComponent(t)}` : TX, e);-}, AX = (e) => Number(e || 0).toLocaleString();+ return B(t ? `${EX}&library=${encodeURIComponent(t)}` : EX, e);+}, jX = (e) => Number(e || 0).toLocaleString();function Wxe(e) {- let t = DY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);+ let t = OY, 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(" · ")@@ -58564,17 +58571,17 @@ function Wxe(e) {}function Gxe(e) {if (!e) return "";- let t = Uxe.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(" · ");+ let t = Uxe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${jX(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${jX(e.dismissed_total)}`), t.join(" · ");}var Kxe = [- [CX, ({ signal: e }) => DX(e)],- [CY, ({ signal: e }) => wY(e)],- [EX, ({ signal: e }) => kX(e)],- [zY, ({ signal: e }) => UY(e)],+ [wX, ({ signal: e }) => OX(e)],+ [wY, ({ signal: e }) => TY(e)],+ [DX, ({ signal: e }) => AX(e)],[BY, ({ signal: e }) => WY(e)],[VY, ({ signal: e }) => GY(e)],- [lX, ({ signal: e }) => uX(e)]+ [HY, ({ signal: e }) => KY(e)],+ [uX, ({ signal: e }) => dX(e)]];async function qxe(e) {let t = !!location.hash, n = Kxe.map(([n, r]) => {@@ -58590,21 +58597,21 @@ async function qxe(e) {await Promise.all([...n,H.fetchQuery({- queryKey: wX,- queryFn: () => OX(e)+ queryKey: TX,+ queryFn: () => kX(e)}),H.fetchQuery({- queryKey: pY,- queryFn: () => hY(e)+ queryKey: mY,+ queryFn: () => gY(e)}),- fY(e).then(() => Pxe(e)),+ pY(e).then(() => Pxe(e)),bH(e),ube(e),pxe(e)]);}// src/react/feed-new/feed-new.ts-var jX = (e) => ["feed-new", e ?? "home"], Jxe = 8, Yxe = 1500;+var MX = (e) => ["feed-new", e ?? "home"], Jxe = 8, Yxe = 1500;function Xxe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;@@ -58617,7 +58624,7 @@ function Xxe(e, t, n) {})]);}async function Zxe(e, t, n) {- let r = new URLSearchParams({ limit: String(eA().value.feedLimit) });+ let r = new URLSearchParams({ limit: String(mA().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 Xxe(s, Jxe, Yxe), {@@ -58626,12 +58633,12 @@ async function Zxe(e, t, n) {fetching: o.some((e) => e.cover_fetching && !e.has_cover)};}-var MX = (e, t, n = !1) => ({- queryKey: jX(e),+var NX = (e, t, n = !1) => ({+ queryKey: MX(e),queryFn: () => Zxe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1-}), NX = (e, t) => on("/api/feeds/discovery", {+}), PX = (e, t) => on("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,@@ -58639,10 +58646,10 @@ var MX = (e, t, n = !1) => ({})}).then(() => void 0, () => void 0);async function Qxe(e) {- H.removeQueries({ queryKey: jX(null) }), await H.fetchQuery(MX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+ H.removeQueries({ queryKey: MX(null) }), await H.fetchQuery(NX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}// src/react/entity-page/entity-page.ts-var PX = [+var FX = ["loc","creator","tag",@@ -58656,10 +58663,10 @@ var PX = ["browse","folder","folder_recursive"-], FX = {+], IX = {media: "videos",set: 0-}, IX = (e, t) => [+}, LX = (e, t) => ["entity",e,t@@ -58669,35 +58676,35 @@ var PX = [t,n,r-], LX = (e, t, n, r) => [+], RX = (e, t, n, r) => ["entity-photos",e,t,n,r-], RX = (e) => String(e || "").split(",").filter(Boolean), eSe = (e, t) => RX(e).includes(t);-function zX(e, t, n, r, i = 0) {+], zX = (e) => String(e || "").split(",").filter(Boolean), eSe = (e, t) => zX(e).includes(t);+function BX(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, ...zX(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 FX) 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 VX(e, t, n, r, i, a, o) {+ let s = BX(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 HX = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = zX(e.kind, e.name, e.filters, t).toString();+ }, n = BX(e.kind, e.name, e.filters, t).toString();return {queryKey: $xe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => BX(e.kind, e.name, e.filters, t, 0, n),+ queryFn: ({ signal: n }) => VX(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, HX = (e, t) => ({- queryKey: IX(e, t),+}, UX = (e, t) => ({+ queryKey: LX(e, t),queryFn: ({ signal: n }) => on(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});@@ -58710,8 +58717,8 @@ function tSe(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 WX = (e, t, n, r) => ({+ queryKey: RX(e, t, n, r),queryFn: async ({ pageParam: i }) => {let a = await on(tSe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;@@ -58726,7 +58733,7 @@ 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") : [];+}), GX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];async function nSe(e) {let { kind: t, name: n } = e;for (let e of [@@ -58738,25 +58745,25 @@ async function nSe(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(LX(t, n), e.resolvedEntity), await Promise.all([+ H.fetchQuery(UX(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: MX(Number(t.id)) }), H.fetchQuery(NX(Number(t.id), e.helpers.feedRowHtml, !0)))),+ H.fetchQuery(HX(e)),+ H.fetchInfiniteQuery(WX(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(WX(t, n, e.media.set, "")) : null]);}// src/identity-filter.ts-var GX = [+var KX = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], KX = "mb-4 flex flex-wrap gap-2";+], qX = "mb-4 flex flex-wrap gap-2";function rSe(e) {- let t = GX.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${KX}">${GX.map(([e, n]) => cs({+ let t = KX.some(([t]) => t === e) ? e : "all";+ return `<div class="peach-react"><div aria-label="身份分类" class="${qX}">${KX.map(([e, n]) => ls({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -58789,7 +58796,7 @@ function lSe(e, t, n, r) {});return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${aSe}?${i}`;}-var uSe = (e, t, n, r) => B(cSe(e, t, n), r), dSe = (e, t, n, r, i) => B(lSe(e, t, n, r), i), fSe = "/api/index", qX = {+var uSe = (e, t, n, r) => B(cSe(e, t, n), r), dSe = (e, t, n, r, i) => B(lSe(e, t, n, r), i), fSe = "/api/index", JX = {performers: "艺人",creators: "卖家",studios: "厂牌",@@ -58802,7 +58809,7 @@ var uSe = (e, t, n, r) => B(cSe(e, t, n), r), dSe = (e, t, n, r, i) => B(lSe(e,studios: "studio",agencies: "agency",series: "series"-}, JX = [+}, YX = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -58812,31 +58819,31 @@ var uSe = (e, t, n, r) => B(cSe(e, t, n), r), dSe = (e, t, n, r, i) => B(lSe(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], YX = [+], XX = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], XX = {+], ZX = {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({+}, QX = (e) => e !== "tags", $X = (e) => e === "studios" || e === "agencies";+function eZ(e) {+ if (e.kind === "creators" && e.category === "animation") return eZ({...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" ? XX : YX : e.kind === "performers" && t === "local" ? KX : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function eZ(e) {+function tZ(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -58856,13 +58863,13 @@ function eZ(e) {...i && i !== "all" ? { category: i } : {}};}-var tZ = (e, t, n = "all") => [+var nZ = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function nZ(e, t, n, r, i) {+function rZ(e, t, n, r, i) {let a = new URLSearchParams({kind: e,limit: String(r),@@ -58870,21 +58877,21 @@ function nZ(e, t, n, r, i) {});return t && a.set("q", t), n !== "all" && a.set("category", n), `${fSe}?${a}`;}-function rZ(e, t = XX.tags) {- let n = e.what === "people" || e.what === "online-authors" ? XX.people : t, r = {+function iZ(e, t = ZX.tags) {+ let n = e.what === "people" || e.what === "online-authors" ? ZX.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: nZ(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: t, signal: r }) => B(rZ(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: nZ("tags", e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => B(rZ("tags", e.q, e.category, n, t), r)};case "online-authors": return {...r,@@ -58899,7 +58906,7 @@ function rZ(e, t = XX.tags) {}}async function mSe(e, t) {- let n = rZ(eZ($X(e)));+ let n = iZ(tZ(eZ(e)));H.removeQueries({queryKey: n.queryKey,exact: !0@@ -58913,11 +58920,11 @@ async function mSe(e, t) {getNextPageParam: n.getNextPageParam});}-var hSe = (e) => e ? e.pages.flatMap((e) => e.items) : [], gSe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, iZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", _Se = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, vSe = {+var hSe = (e) => e ? e.pages.flatMap((e) => e.items) : [], gSe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, aZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", _Se = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, vSe = {numeric: !0,sensitivity: "base"};-function aZ(e, t) {+function oZ(e, t) {let n = /* @__PURE__ */ new Map();for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", vSe))) {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);@@ -58926,7 +58933,7 @@ function aZ(e, t) {return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));}// src/react/boardui/components/base/badges/chip.tsx-var oZ = DF({+var sZ = uF({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",@@ -58945,15 +58952,15 @@ var oZ = DF({soft: "bg-background-secondary-default text-text-secondary"}});-function sZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function cZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, F.jsx)("span", {ref: r,- className: EF(oZ.base, oZ.variant[e], oZ.color[t], n),+ className: lF(sZ.base, sZ.variant[e], sZ.color[t], n),...i});}// src/react/index/index-people.tsx-function cZ({ html: e, face: t, company: n, big: r }) {+function lZ({ 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");@@ -58966,7 +58973,7 @@ function cZ({ html: e, face: t, company: n, big: r }) {});}var ySe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", bSe = Rz("rss");-function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {+function uZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",...o,@@ -58985,7 +58992,7 @@ 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)(cZ, {variant: "caption",color: "soft",children: /* @__PURE__ */ (0, F.jsx)(bSe, {})@@ -59004,8 +59011,8 @@ 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 dZ({ kind: e, items: t, layout: n, props: r }) {+ let i = $X(e) || e === "series", a = n === "big";return /* @__PURE__ */ (0, F.jsx)("div", {"data-index-grid": "","data-layout": n,@@ -59013,7 +59020,7 @@ function uZ({ kind: e, items: t, layout: n, props: r }) {className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {let n = t.entity_kind || pSe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, F.jsx)(lZ, {+ return /* @__PURE__ */ (0, F.jsx)(uZ, {"data-k": t.k,"data-kind": n,name: t.k,@@ -59021,7 +59028,7 @@ function uZ({ kind: e, items: t, layout: n, props: r }) {big: a,following: t.following,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, F.jsx)(cZ, {+ children: /* @__PURE__ */ (0, F.jsx)(lZ, {html: o.html,face: o.face,company: i,@@ -59038,7 +59045,7 @@ function xSe({ items: e, layout: t, props: n }) {"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)(uZ, {"data-follow-author": e.key,"data-kind": "performer",name: e.k,@@ -59047,7 +59054,7 @@ function xSe({ 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)(lZ, {html: n.authorAvatar(e),company: !1,big: r@@ -59056,8 +59063,8 @@ function xSe({ items: e, layout: t, props: n }) {});}// src/board-tooltip.ts-var dZ = (e) => e.replace(/\s+/g, " ").trim();-function fZ(e) {+var fZ = (e) => e.replace(/\s+/g, " ").trim();+function pZ(e) {let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;for (; r = t.nextNode();) {let e = r.parentElement;@@ -59065,12 +59072,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 fZ(n);}-function pZ(e) {+function mZ(e) {let t = e.getBoundingClientRect();if (t.width && t.height) {- if (e.matches("a") && fZ(e) && !mZ(e)) {+ if (e.matches("a") && pZ(e) && !hZ(e)) {let t = document.createRange();t.selectNodeContents(e);let n = t.getBoundingClientRect();@@ -59083,7 +59090,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 hZ(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);@@ -59098,15 +59105,15 @@ function SSe() {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 = mZ(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"), (pZ(l) !== fZ(n) || hZ(l)) && (i = setTimeout(() => {+ t === l && l.isConnected && mZ(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) => {@@ -59114,30 +59121,30 @@ function SSe() {}), document.addEventListener("focusin", (e) => s(e.target, 0)), document.addEventListener("focusout", o), document.addEventListener("keydown", (e) => {e.key === "Escape" && o();}), document.addEventListener("scroll", (n) => {- if (!t || !Go(n, t)) return;- let r = pZ(t);+ if (!t || !Ko(n, t)) return;+ let r = mZ(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 gZ(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();+var _Z = /* @__PURE__ */ new WeakSet();function CSe() {- if (gZ.has(document)) return;- gZ.add(document);+ if (_Z.has(document)) return;+ _Z.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(hZ), TSe(e), wSe(e);+ e.querySelectorAll("input[type=range]").forEach(gZ), TSe(e), wSe(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]") && gZ(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);+ e.target instanceof HTMLInputElement && e.target.type === "range" && gZ(e.target);}), SSe();}function wSe(e) {@@ -59164,7 +59171,7 @@ function wSe(e) {r.observe(e);});}-var _Z = /* @__PURE__ */ new Map();+var vZ = /* @__PURE__ */ new Map();function TSe(e) {let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {@@ -59172,7 +59179,7 @@ function TSe(e) {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 = vZ.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -59181,7 +59188,7 @@ function TSe(e) {w: i.offsetWidth,h: i.offsetHeight};- Sc(t, r, a, "x"), r = a, _Z.set(n, a);+ Cc(t, r, a, "x"), r = a, vZ.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -59197,8 +59204,8 @@ function TSe(e) {});}// src/react/photo-lightbox/photo-lightbox.ts-var vZ = "/vendor/swiper/14.3.0/", yZ = null, ESe = () => yZ ??= Promise.all([new Promise((e, t) => {- let n = `${vZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var yZ = "/vendor/swiper/14.3.0/", bZ = null, ESe = () => bZ ??= Promise.all([new Promise((e, t) => {+ let n = `${yZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -59212,9 +59219,9 @@ var vZ = "/vendor/swiper/14.3.0/", yZ = null, ESe = () => 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 = `${yZ}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 bZ = null, e;});function DSe(e, t, n) {let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {@@ -59237,26 +59244,26 @@ function DSe(e, t, n) {}};}-var bZ = (e) => {+var xZ = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : jn(t)).replace(" ", "\xA0") : "大小未知";}, OSe = (e) => e.asset?.name || e.name || "未命名图片";function kSe(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 || "来源未知", xZ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? bZ(e.size) : ""+ e.size ? xZ(e.size) : ""].filter(Boolean).join(" · ");}// src/react/photo-lightbox/photo-lightbox-dialog.tsx-var xZ = null, SZ = null, ASe = 0;+var SZ = null, CZ = null, ASe = 0;function jSe() {- 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;+ return CZ && SZ?.isConnected || (CZ?.unmount(), SZ = document.createElement("div"), SZ.className = "peach-react", SZ.dataset.photoLightboxHost = "", document.body.append(SZ), CZ = (0, Rt.createRoot)(SZ)), CZ;}-async function CZ(e, t, n) {+async function wZ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {@@ -59273,8 +59280,8 @@ async function CZ(e, t, n) {host: n ?? null}, ++ASe)));}-function wZ() {- SZ && (0, Lt.flushSync)(() => SZ.render(null));+function TZ() {+ CZ && (0, Lt.flushSync)(() => CZ.render(null));}function MSe({ 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)({@@ -59320,7 +59327,7 @@ function MSe({ slides: e, index: t, Swiper: n, host: r }) {} }});i(t, 0), h.current = DSe(e, a, b);- let m = Ic(e, f.current, p.current), _ = (e = !1) => {+ 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();};g.current = {@@ -59336,18 +59343,18 @@ function MSe({ 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) : TZ());};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 && gZ(m.current);}, [y]);let j = e[_], M = j.asset ?? null, ee = async (e) => {if (!M || !r || e.getAttribute("aria-busy") === "true") return;let t = _;- Oc(e), O(!0), A({+ kc(e), O(!0), A({at: t,text: ""});@@ -59357,7 +59364,7 @@ function MSe({ slides: e, index: t, Swiper: n, host: r }) {text: await r.revealSource(M.id)});} finally {- Oc(e, !1), O(!1);+ kc(e, !1), O(!1);}}, te = (e, t) => {t.naturalWidth && t.naturalHeight && !x[e] && S((n) => ({@@ -59373,18 +59380,18 @@ function MSe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), wZ();+ e.preventDefault(), TZ();},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")) && TZ();},children: [/* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: wZ,+ onClick: TZ,dangerouslySetInnerHTML: { __html: R("x") }}),/* @__PURE__ */ (0, F.jsxs)("div", {@@ -59531,7 +59538,7 @@ function MSe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-reveal": "",hidden: !M || !r,onClick: (e) => void ee(e.currentTarget),- dangerouslySetInnerHTML: { __html: (D ? bs("正在定位") : R("folder-open")) + "<span>在资源管理器中显示</span>" }+ dangerouslySetInnerHTML: { __html: (D ? xs("正在定位") : R("folder-open")) + "<span>在资源管理器中显示</span>" }}),/* @__PURE__ */ (0, F.jsx)("span", {"data-photo-status": "",@@ -59570,31 +59577,31 @@ function NSe(e) {props: e}, e.photos.revision) : null;}-var TZ = XX.people;+var EZ = ZX.people;function PSe({ 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)(EZ), s = (0, P.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, P.useCallback)(async () => {+ o((e) => e + EZ);}, []);- 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)(dZ, {kind: e.kind,items: s,layout: e.layout,props: i- }), a < e.people.length ? /* @__PURE__ */ (0, F.jsx)(uY, {+ }), a < e.people.length ? /* @__PURE__ */ (0, F.jsx)(dY, {entity: !0,load: c,enabled: () => !0}, a) : null] });}function FSe(e) {- let t = AW(!e.items, e.skeletonHtml);+ let t = jW(!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)(cY, {+ children: [t.layer, e.items ? /* @__PURE__ */ (0, F.jsx)(lY, {mode: "entity",entityKey: `${e.kind}:${e.name}`,revision: e.revision,@@ -59621,15 +59628,15 @@ var ISe = (e) => Array.from({ length: e.n }, (t, n) => ({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}`, LSe = (e) => EZ(e) ? {- src: `/sample-image?${DZ(e)}`,- thumb: OZ(e),+})), DZ = (e) => e.sample === !0, OZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, kZ = (e) => DZ(e) ? `/sample-thumb?${OZ(e)}` : `/photo-thumb?id=${e.id}`, LSe = (e) => DZ(e) ? {+ src: `/sample-image?${OZ(e)}`,+ thumb: kZ(e),name: e.name,asset: null,source: e.source} : {src: `/photo?id=${e.id}`,- thumb: OZ(e),+ thumb: kZ(e),name: e.name || "",asset: e};@@ -59639,7 +59646,7 @@ function RSe({ photos: e, props: t }) {let n = new Set(t);return n.add(e), n;}), []), u = (0, P.useCallback)((e) => {- CZ(e, o.map(LSe), { revealSource: i.revealSource });+ wZ(e, o.map(LSe), { revealSource: i.revealSource });}, [i, o]), d = (e, t) => /* @__PURE__ */ (0, F.jsx)(zSe, {item: e,index: t,@@ -59658,7 +59665,7 @@ function RSe({ 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)(AZ, {label: e.code,title: e.name,meta: [@@ -59670,7 +59677,7 @@ function RSe({ 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)(AZ, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -59679,14 +59686,14 @@ function RSe({ 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)(uY, {+ e.hasMore ? /* @__PURE__ */ (0, F.jsx)(dY, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function kZ({ label: e, title: t, meta: n }) {+function AZ({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-photo-group": "",children: [@@ -59712,7 +59719,7 @@ function zSe({ 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: kZ(e),alt: a,loading: "lazy",decoding: "async",@@ -59723,7 +59730,7 @@ function zSe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {}// src/react/background-job.tsvar BSe = 2e3, VSe = (e) => e, HSe = (e, t) => t;-function AZ(e) {+function jZ(e) {let { queryKey: t, jobOf: n = VSe, withJob: r = HSe, 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;@@ -59757,13 +59764,13 @@ function AZ(e) {};}// src/react/follow-feed/follow-check.ts-var jZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);+var MZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);function USe(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)) : [];+ return t ? MZ(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.tsxfunction WSe({ sources: e, report: t }) {- let n = jZ(e), [r, i] = (0, P.useState)(""), { running: a, start: o } = AZ({+ let n = MZ(e), [r, i] = (0, P.useState)(""), { running: a, start: o } = jZ({queryKey: br,queryFn: ({ signal: e }) => $r(e),start: (e) => ni(e),@@ -59790,7 +59797,7 @@ function WSe({ sources: e, report: t }) {}// src/react/follow-feed/follow-card.tsxvar GSe = (e) => Number(e) > 0;-function MZ({ name: e, actions: t, children: n, ...r }) {+function NZ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, F.jsx)("a", {...r,href: hn("creator", e),@@ -59800,7 +59807,7 @@ function MZ({ name: e, actions: t, children: n, ...r }) {children: n});}-var NZ = ({ provider: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var PZ = ({ provider: e }) => /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: GU(e) }});@@ -59808,7 +59815,7 @@ function KSe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: alet [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)(PZ, { provider: i }) : /* @__PURE__ */ (0, F.jsx)("img", {src: l ? t : e,alt: "",loading: "lazy",@@ -59828,7 +59835,7 @@ function KSe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a});}function qSe(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) => t_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({+ 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) => n_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,stack: t.stack,@@ -59836,7 +59843,7 @@ function qSe(e) {limit: 9}), S = (0, P.useRef)(x.faces);S.current = x.faces;- let C = CG({+ let C = wG({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -59859,7 +59866,7 @@ function qSe(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: ee,- onMouseDown: tG,+ onMouseDown: nG,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -59881,7 +59888,7 @@ function qSe(e) {provider: O,onLearn: v,retryKey: e.retryKey- }, p) : /* @__PURE__ */ (0, F.jsx)(NZ, { provider: O }),+ }, p) : /* @__PURE__ */ (0, F.jsx)(PZ, { provider: O }),x.faces.length > 1 ? /* @__PURE__ */ (0, F.jsx)("div", {"data-mix-faces": "",hidden: !C.faces.length,@@ -59986,7 +59993,7 @@ function qSe(e) {/* @__PURE__ */ (0, F.jsxs)("div", {"data-media-meta": "",children: [- E.entityName ? /* @__PURE__ */ (0, F.jsx)(MZ, {+ E.entityName ? /* @__PURE__ */ (0, F.jsx)(NZ, {name: E.entityName,actions: l,"data-media-avatar": "",@@ -60010,7 +60017,7 @@ function qSe(e) {/* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-byline": "",children: [- E.entityName ? /* @__PURE__ */ (0, F.jsx)(MZ, {+ E.entityName ? /* @__PURE__ */ (0, F.jsx)(NZ, {name: E.entityName,actions: l,"data-follow-author": "",@@ -60024,7 +60031,7 @@ function qSe(e) {/* @__PURE__ */ (0, F.jsx)("time", {dateTime: u.published_at || "",title: tW(u),- children: e_e(u)+ children: t_e(u)}),E.credited ? /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-credit": "",@@ -60046,7 +60053,7 @@ function qSe(e) {"data-media-tag": "","data-tag-cat": `r34-${u.tag_types?.[e] || "unknown"}`,"data-follow-tag": e,- children: Ml(e)+ children: Nl(e)}, e))})]@@ -60059,7 +60066,7 @@ function qSe(e) {]});}-var PZ = (0, P.memo)(qSe);+var FZ = (0, P.memo)(qSe);// src/react/components/use-masonry-grid.tsfunction JSe(e, t) {let n = (0, P.useRef)(null);@@ -60096,37 +60103,37 @@ function JSe(e, t) {}, [e, t]), n;}// src/react/follow-manage/manage-route.ts-var FZ = [+var IZ = [["list", "关注列表"],["add", "添加关注"],["tags", "标签管理"]-], IZ = FZ.map(([e]) => e);-function LZ(e) {+], LZ = IZ.map(([e]) => e);+function RZ(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: IZ.find((e) => e === n) || "list",+ tab: LZ.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 zZ(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 BZ(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" : zZ({+ tab: t || RZ(e).tab,page: 1,sort: "",dir: ""});}// src/react/follow-feed/follow-feed-page.tsx-var BZ = () => /* @__PURE__ */ (0, F.jsx)("span", {+var VZ = () => /* @__PURE__ */ (0, F.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), YSe = Rz("settings"), VZ = Rz("chevron-down"), XSe = Rz("history"), ZSe = Rz("arrow-up"), QSe = Rz("arrow-down"), $Se = [[+}), YSe = Rz("settings"), HZ = Rz("chevron-down"), XSe = Rz("history"), ZSe = Rz("arrow-up"), QSe = Rz("arrow-down"), $Se = [["fixed","固定比例","layout-grid"@@ -60192,7 +60199,7 @@ function tCe(e) {aliases: c?.author_aliases || [],credentials: l}), [c, l]), d = eCe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, P.useMemo)(() => ({- tags: Vl(d.visible.flatMap(Wi).map((e) => ({ tags: e.tags || [] }))),+ tags: Hl(d.visible.flatMap(Wi).map((e) => ({ tags: e.tags || [] }))),providers: [...d.providers].map(([e, t]) => [e,t,@@ -60220,7 +60227,7 @@ function tCe(e) {let h = rCe(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)(jW, {+ children: [/* @__PURE__ */ (0, F.jsx)(UZ, {}), /* @__PURE__ */ (0, F.jsx)(MW, {message: tn(o.error),onRetry: () => void o.refetch()})]@@ -60251,7 +60258,7 @@ function tCe(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)(UZ, { children: d.sources.length ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "primary","data-follow-recheck": "","aria-label": "检查每个来源的更新",@@ -60259,7 +60266,7 @@ function tCe(e) {onClick: () => void h.start(!1),children: h.starting === "check" ? /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: bs("检查中") }+ dangerouslySetInnerHTML: { __html: xs("检查中") }}) : "检查更新"}) : null }),/* @__PURE__ */ (0, F.jsx)(iCe, {@@ -60319,13 +60326,13 @@ function tCe(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)(uY, {+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, F.jsxs)(dY, {entity: !0,enabled: () => !h.busyRef.current,load: async () => {await o.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, F.jsx)(VZ, { className: "size-(--icon-inline)" }), "加载更多"]+ children: [/* @__PURE__ */ (0, F.jsx)(HZ, { className: "size-(--icon-inline)" }), "加载更多"]}, o.data?.pages.length) : /* @__PURE__ */ (0, F.jsx)(nCe, {busy: o.isFetchingNextPage,error: o.isFetchNextPageError ? tn(o.error) : "",@@ -60343,7 +60350,7 @@ function tCe(e) {onClick: () => void h.start(!0),children: h.olderBusy ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: bs("抓取中") }+ dangerouslySetInnerHTML: { __html: xs("抓取中") }}), /* @__PURE__ */ (0, F.jsx)("span", { children: "抓取中" })] }) : "抓更早的一页"}), /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-backfill": "",@@ -60355,7 +60362,7 @@ function tCe(e) {})] });}-function HZ({ children: e }) {+function UZ({ children: e }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, F.jsx)("h2", {@@ -60363,11 +60370,11 @@ function HZ({ children: e }) {children: "关注"}), /* @__PURE__ */ (0, F.jsxs)("span", {"data-follow-head-actions": "",- children: [/* @__PURE__ */ (0, F.jsx)(uI, {+ children: [/* @__PURE__ */ (0, F.jsx)(iI, {variant: "secondary",leadingIcon: YSe,"data-follow-manage": "",- href: UZ(),+ href: WZ(),children: "管理关注"}), e]})]@@ -60380,8 +60387,8 @@ function nCe({ busy: e, error: t, load: n }) {"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)(jW, {+ children: [/* @__PURE__ */ (0, F.jsx)(HZ, { className: "size-(--icon-inline)" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, F.jsx)(MW, {message: t,onRetry: n}) : null] });@@ -60468,7 +60475,7 @@ function iCe({ 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)(NZ, {name: s,actions: r.actions,"data-follow-author": n,@@ -60507,12 +60514,12 @@ function aCe({ rows: e, pressed: t, props: n, onPick: r }) {}) : null;}function oCe({ 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 = cI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = cI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+ 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 = nI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = nI(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);}, [o]);let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";- return /* @__PURE__ */ (0, F.jsx)(rI, {+ return /* @__PURE__ */ (0, F.jsx)(YF, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -60564,7 +60571,7 @@ function oCe({ 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)(VZ, {})] }) : null, /* @__PURE__ */ (0, F.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -60584,7 +60591,7 @@ function oCe({ 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)(VZ, {}) : null]}), /* @__PURE__ */ (0, F.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -60599,14 +60606,14 @@ function oCe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {onClick: () => a({ provider: e.provider === t ? "" : t }),dangerouslySetInnerHTML: { __html: GU(t, n) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, F.jsx)(BZ, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, F.jsxs)(iI, {+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, F.jsx)(VZ, {}) : null,+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, F.jsxs)(ZF, {"data-follow-tag": n,"data-entity-press": "","data-tag-cat": `r34-${ca(e.groups, n)}`,pressed: t.tags.includes(n),onPress: () => a({ tags: t.tags.includes(n) ? t.tags.filter((e) => e !== n) : [...t.tags, n] }),- children: [Ml(n), r ? /* @__PURE__ */ (0, F.jsx)("span", {+ children: [Nl(n), r ? /* @__PURE__ */ (0, F.jsx)("span", {"data-count-badge": n,children: String(r)}) : null]@@ -60627,8 +60634,8 @@ function oCe({ 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)(uW, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(lW, {+ /* @__PURE__ */ (0, F.jsx)(dW, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(uW, {label: "图片布局",value: i.photoLayout,options: $Se,@@ -60702,12 +60709,12 @@ function sCe({ conditions: e, onDrop: t, onClear: n }) {function cCe({ 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(WZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}-var UZ = () => zZ(window.location.search);+var WZ = () => BZ(window.location.search);function lCe({ 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 = AW(e, () => c.listSkeletonHtml(s.media));+ let { view: s, helpers: c } = i, l = s.media === "images", u = jW(e, () => c.listSkeletonHtml(s.media));return /* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": u.fading ? "" : void 0,@@ -60723,23 +60730,23 @@ function lCe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a});}function uCe({ 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 ? {+ let { view: s, actions: c } = r, l = KZ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)} : {}, d = JSe(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)(FZ, {group: t,authorSources: o,media: s.media,retryKey: a,context: n,- selected: r.selected.has(WZ(t, s)),+ selected: r.selected.has(GZ(t, s)),selectMode: r.selectMode,- busy: l.busy.get(WZ(t, s)) || "",- failure: l.failures.get(WZ(t, s)) || "",+ busy: l.busy.get(GZ(t, s)) || "",+ failure: l.failures.get(GZ(t, s)) || "",actions: c,onStatus: l.status,onSave: l.save@@ -60767,7 +60774,7 @@ function uCe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,children: f});}-function WZ(e, t) {+function GZ(e, t) {return Zi(e, t.media).id;}function dCe({ data: e, filtered: t, clear: n, checkAction: r }) {@@ -60782,7 +60789,7 @@ function dCe({ data: e, filtered: t, clear: n, checkAction: r }) {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, F.jsx)(uI, {+ }) : a ? r : /* @__PURE__ */ (0, F.jsx)(iI, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -60796,7 +60803,7 @@ var fCe = {seen: "已标记已看",ignored: "已忽略"};-function GZ(e) {+function KZ(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;@@ -60865,8 +60872,8 @@ function GZ(e) {}// src/react/entity-body/entity-online.tsxfunction pCe(e) {- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = AW(a, () => i.listSkeletonHtml(r));- return !n && t.isError ? /* @__PURE__ */ (0, F.jsx)(jW, {+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = jW(a, () => i.listSkeletonHtml(r));+ return !n && t.isError ? /* @__PURE__ */ (0, F.jsx)(MW, {message: tn(t.error),onRetry: () => {t.refetch();@@ -60881,7 +60888,7 @@ function pCe(e) {...e,data: n}),- !a && n?.has_more ? /* @__PURE__ */ (0, F.jsx)(uY, {+ !a && n?.has_more ? /* @__PURE__ */ (0, F.jsx)(dY, {entity: !0,enabled: () => e.canLoadMore?.() !== !1,load: async () => {@@ -60892,7 +60899,7 @@ function pCe(e) {});}function mCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {- let u = GZ({+ let u = KZ({view: e,revision: 0,actions: c@@ -60910,7 +60917,7 @@ function mCe({ 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)(FZ, {group: e,authorSources: r && d.byAuthor.get(r) || [],media: t,@@ -60950,7 +60957,7 @@ function hCe({ searched: e, clear: t, actions: n, sources: r }) {}) : r.length ? /* @__PURE__ */ (0, F.jsx)(WSe, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, F.jsx)(uI, {+ }) : /* @__PURE__ */ (0, F.jsx)(iI, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -60959,7 +60966,7 @@ function hCe({ searched: e, clear: t, actions: n, sources: r }) {})});}-function KZ(e) {+function qZ(e) {return {x0: 0,y0: 0,@@ -60967,7 +60974,7 @@ function KZ(e) {y1: e.height};}-function qZ(e) {+function JZ(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -60975,21 +60982,21 @@ function qZ(e) {y1: Math.round(e.y1)};}-function JZ(e) {+function YZ(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 XZ(e, t) {+ if (!YZ(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return KZ(e);+ if (t == null || !(t > 0)) return qZ(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 JZ({x0: i,y0: a,x1: i + n,@@ -60997,9 +61004,9 @@ function YZ(e, t) {});}function gCe(e, t) {- if (!JZ(e) || !(t > 0)) return KZ(e);+ if (!YZ(e) || !(t > 0)) return qZ(e);let n = Math.min(e.width, e.height * t);- return qZ({+ return JZ({x0: e.width - n,y0: 0,x1: e.width,@@ -61007,8 +61014,8 @@ function gCe(e, t) {});}function _Ce(e, t, n) {- if (!JZ(t) || !(n > 0)) return KZ(t);- let r = XZ(e, t), i = YZ({+ if (!YZ(t) || !(n > 0)) return qZ(t);+ let r = ZZ(e, t), i = XZ({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -61019,8 +61026,8 @@ function _Ce(e, t, n) {y1: r.y0 + i.y1};}-function XZ(e, t, n = null, r = "width") {- if (!JZ(t)) return {+function ZZ(e, t, n = null, r = "width") {+ if (!YZ(t)) return {x0: 0,y0: 0,x1: 0,@@ -61029,26 +61036,26 @@ 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 JZ({x0: s,y0: c,x1: s + a,y1: c + o});}-function ZZ(e, t, n, r) {+function QZ(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 JZ({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 $Z(e, t, n, r = null) {+ if (!YZ(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 ZZ({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,@@ -61062,10 +61069,10 @@ function vCe(e, t, n, r, i = null) {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 ZZ(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) ? {+ return YZ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -61078,7 +61085,7 @@ function yCe(e, t) {};}function bCe(e, t) {- if (!JZ(t)) return {+ if (!YZ(t)) return {size: "cover",position: "50% 50%"};@@ -61097,15 +61104,15 @@ function xCe(e, t) {height: `${t.height / r * 100}%`};}-function $Z(e, t, n) {+function eQ(e, t, n) {return t > 0 ? e * n / t : 0;}function SCe(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 CCe = .02, eQ = 1.08;-function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var CCe = .02, tQ = 1.08;+function nQ({ 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);@@ -61124,8 +61131,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: eQ(e, n.clientWidth, r.width),+ dy: eQ(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -61142,7 +61149,7 @@ 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(vCe(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(QZ(n.box, o.dx, o.dy, r)) : i(vCe(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));@@ -61155,9 +61162,9 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oArrowUp: [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(QZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i($Z(n, e.key === "-" ? 1 / tQ : tQ, r, t)));}- let v = n && r ? yCe(XZ(n, r, t), r) : null, y = v ? SCe(v, d) : !1, b = v ? {+ let v = n && r ? yCe(ZZ(n, r, t), r) : null, y = v ? SCe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -61176,7 +61183,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({+ YZ({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -61215,7 +61222,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($Z(n, e.deltaY > 0 ? tQ : 1 / tQ, 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", {@@ -61237,13 +61244,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 wCe = "/api/avatar-choices", nQ = "/api/avatar-pick", TCe = "/api/avatar-code-cover", rQ = "/api/avatar-frame", ECe = "/avatar-choice", iQ = (e, t) => [+var wCe = "/api/avatar-choices", rQ = "/api/avatar-pick", TCe = "/api/avatar-code-cover", iQ = "/api/avatar-frame", ECe = "/avatar-choice", aQ = (e, t) => ["avatar-choices",e,t-], aQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, oQ = (e, t, n, r = "") => `${ECe}${aQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), sQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", DCe = (e, t, n) => B(wCe + aQ(e, t), n), OCe = (e) => V(TCe, { code: e });+], oQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, sQ = (e, t, n, r = "") => `${ECe}${oQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), cQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", DCe = (e, t, n) => B(wCe + oQ(e, t), n), OCe = (e) => V(TCe, { code: e });async function kCe(e, t, n) {- let r = await V(rQ, {+ let r = await V(iQ, {kind: e,id: t,ref: n.ref@@ -61256,12 +61263,12 @@ async function kCe(e, t, n) {bases: r.bases};}-var ACe = (e, t, n) => V(rQ, {+var ACe = (e, t, n) => V(iQ, {kind: e,id: t,url: n-}), jCe = (e, t, n) => cQ(`${rQ}${aQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function cQ(e, t) {+}), jCe = (e, t, n) => lQ(`${iQ}${oQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function lQ(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",@@ -61270,17 +61277,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 uQ(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? _Ce(e.focus, t, n) : YZ(t, n);+ return e.focus && r ? _Ce(e.focus, t, n) : XZ(t, n);}-var MCe = (e) => e.crop && JZ({+var MCe = (e) => e.crop && YZ({width: e.width,height: e.height});async function NCe(e, t, n) {if (!("file" in n)) {- await V(nQ, {+ await V(rQ, {kind: e,id: t,...n@@ -61293,19 +61300,19 @@ async function NCe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await cQ(`${nQ}${aQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await lQ(`${rQ}${oQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var uQ = 2;+var dQ = 2;function PCe(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, dQ).join("」「")}」`}${n.length > dQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}var FCe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;function ICe(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 ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${FCe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var dQ = (e) => e.cast > 1, LCe = (e) => dQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, RCe = {+var fQ = (e) => e.cast > 1, LCe = (e) => fQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, RCe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -61326,7 +61333,7 @@ function zCe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var BCe = (e) => `${RCe[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}` : ""), VCe = 8, HCe = 3 / 4;+var BCe = (e) => `${RCe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (fQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), VCe = 8, HCe = 3 / 4;async function UCe(e, t, n) {switch (n.via) {case "choice": return { choice: await kCe(e, t, n.choice) };@@ -61348,7 +61355,7 @@ function WCe({ kind: e, entityId: t, name: n, onPicked: r }) {"aria-label": `更换${n}的头像`,onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",- children: /* @__PURE__ */ (0, F.jsx)(Pfe, {+ children: /* @__PURE__ */ (0, F.jsx)(Ffe, {"aria-hidden": !0,className: "size-4"})@@ -61368,7 +61375,7 @@ function WCe({ kind: e, entityId: t, name: n, onPicked: r }) {})] });}function GCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, P.useRef)(null), o = aV(), [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({+ let a = (0, P.useRef)(null), o = aV(), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(null), p = aQ(e, t), m = (0, P.useRef)(!1), h = Pt({queryKey: p,queryFn: ({ signal: n }) => DCe(e, t, n),retryOnMount: !0,@@ -61376,7 +61383,7 @@ function GCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {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: aQ(e, t) });}, [e, t]);let g = Ft({mutationFn: (n) => NCe(e, t, n),@@ -61415,11 +61422,11 @@ function GCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, F.jsx)(MI, {+ children: [/* @__PURE__ */ (0, F.jsx)(jI, {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)(cZ, {color: "soft",children: [S.length.toLocaleString(), " 张可选"]}) : null]@@ -61447,7 +61454,7 @@ function GCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, F.jsx)(QF, {+ /* @__PURE__ */ (0, F.jsx)(HF, {icon: fz,size: "small","aria-label": "关闭",@@ -61498,7 +61505,7 @@ function GCe({ 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)(KCe, {- src: oQ(e, t, n.ref, sQ(n, n.ref)),+ src: sQ(e, t, n.ref, cQ(n, n.ref)),choice: n}),/* @__PURE__ */ (0, F.jsx)("span", {@@ -61507,15 +61514,15 @@ function GCe({ 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)(cZ, {variant: "caption",color: "gray",children: "在用"})}) : null,- dQ(n) ? /* @__PURE__ */ (0, F.jsx)("span", {+ fQ(n) ? /* @__PURE__ */ (0, F.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, F.jsxs)(sZ, {+ children: /* @__PURE__ */ (0, F.jsxs)(cZ, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -61608,7 +61615,7 @@ function KCe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = MCe(t) ? xCe(lQ(t, s, HCe), s) : null, l = r || a ? !0 : void 0;+ }, c = MCe(t) ? xCe(uQ(t, s, HCe), 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",@@ -61635,7 +61642,7 @@ function KCe({ src: e, choice: t }) {});}function qCe({ 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 = aV();+ 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 = cQ(n, s), m = sQ(e, t, s, p), h = aV();function g(e) {c(e), u(null), f(null);}@@ -61643,14 +61650,14 @@ function qCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })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)(nQ, {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), YZ(e) && f(s === n.ref ? uQ(n, e, 1) : XZ(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, F.jsx)("div", {@@ -61712,9 +61719,9 @@ function qCe({ 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 pQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;+function mQ({ 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 ? pQ(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({@@ -61795,7 +61802,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 hQ({ 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;@@ -61809,7 +61816,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: pQ(e, `actor:${t.source_actor_id}`),alt: "","data-drop": "self"}) : null] });@@ -61819,7 +61826,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 gQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {let a = (0, P.useContext)(TU), 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);@@ -61852,7 +61859,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)(hQ, {code: e.dataset.code,person: {name: e.dataset.name,@@ -61861,7 +61868,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 _Q({ name: e }) {let { wide: t, viewBox: n } = rn(e);return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: n,@@ -61871,20 +61878,20 @@ function gQ({ name: e }) {});}// src/react/entity-hero/hero-pop.tsx-function _Q(e, t) {+function vQ(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 yQ = (e) => !!e?.isConnected && e.matches(":popover-open");+function bQ(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 && yQ(n.current) ? vQ(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -61898,17 +61905,17 @@ function yQ(e, t, n, r) {n]);}-function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function xQ({ 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, yQ(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 && !yQ(s.current) && (s.current.showPopover(), vQ(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 bQ(c, o, s, f), (0, P.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -61934,7 +61941,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" && yQ(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -61954,14 +61961,14 @@ function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}function JCe({ 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);+ yQ(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 && !yQ(o.current) && (o.current.showPopover(), vQ(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 bQ(s, i, o, () => c(!1)), (0, P.useEffect)(() => {+ i.current && yQ(o.current) && vQ(i.current, o.current);}, [r]), /* @__PURE__ */ (0, F.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -61970,7 +61977,7 @@ function JCe({ 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)(_Q, { name: "rss" }),/* @__PURE__ */ (0, F.jsx)("input", {ref: a,type: "checkbox",@@ -62008,21 +62015,21 @@ function YCe({ 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", "名字与别名");- }, []), /* @__PURE__ */ (0, F.jsxs)(rde, {+ }, []), /* @__PURE__ */ (0, F.jsxs)(ide, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, F.jsx)(AI, {+ children: [/* @__PURE__ */ (0, F.jsx)(DI, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, F.jsx)(gQ, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, F.jsx)(_Q, { name: "chevron-down" })}), /* @__PURE__ */ (0, F.jsx)(rR, {placement: "bottom start",offset: 8,containerPadding: 8,className: ZB,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, F.jsxs)(ade, {+ children: /* @__PURE__ */ (0, F.jsxs)(ode, {"aria-label": "名字与别名","data-namepick-list": "",children: [@@ -62038,27 +62045,27 @@ function YCe({ 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)(_Q, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]}, e))}),- /* @__PURE__ */ (0, F.jsx)(Bue, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, F.jsx)(Vue, { "data-namepick-rule": "" }),/* @__PURE__ */ (0, F.jsx)(dR, { children: /* @__PURE__ */ (0, F.jsxs)(pR, {id: "alias",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)(_Q, { name: "plus" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var XCe = (e) => e === "studio" || e === "agency", xQ = (e) => e === "performer" || e === "creator", ZCe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+var XCe = (e) => e === "studio" || e === "agency", SQ = (e) => e === "performer" || e === "creator", ZCe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";function QCe(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}-function SQ(e) {+function CQ(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -62070,13 +62077,13 @@ function SQ(e) {linked: !1} : null;}-function CQ(e, t) {+function wQ(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) });+var TQ = (e) => ({ site: bn(e) });function $Ce(e, t) {- let n = SQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+ let n = CQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -62086,7 +62093,7 @@ function $Ce(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${CQ(e, n)} · ${t}`+ title: `${wQ(e, n)} · ${t}`};}let r = e.url || "";@@ -62094,11 +62101,11 @@ function $Ce(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (xQ(t) && e.link_kind !== "social") return {+ if (SQ(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: CQ(e, n),- mark: wQ(e)+ title: wQ(e, n),+ mark: TQ(e)};if (e.link_kind === "social") {let t = Cn(r);@@ -62106,7 +62113,7 @@ function $Ce(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : wQ(e)+ mark: t ? { brand: t } : TQ(e)};}return {@@ -62114,7 +62121,7 @@ function $Ce(e, t) {url: r,title: e.label || "",text: Dn(e, t, i),- mark: wQ(e)+ mark: TQ(e)};});return [...r, ...ewe(a)];@@ -62127,7 +62134,7 @@ function ewe(e) {sources: t.map((e) => e.label)}];}-var TQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+var EQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");function twe(e) {return [[@@ -62241,7 +62248,7 @@ function nwe(e) {tags: e.tags}), t;}-function EQ(e, t = 4) {+function DQ(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),@@ -62270,7 +62277,7 @@ function iwe(e) {});}function awe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = xQ(e), c = XCe(e), l = s ? nwe(n.profile) : c ? twe(n.company_profile) : [], u = $Ce(n, e), d = TQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, P.useRef)(null), m = (0, P.useRef)(null);+ let s = SQ(e), c = XCe(e), l = s ? nwe(n.profile) : c ? twe(n.company_profile) : [], u = $Ce(n, e), d = EQ(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)(() => {@@ -62388,7 +62395,7 @@ function awe({ 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)(gQ, {feedNew: r,host: i,wire: o.wireFeedRow,@@ -62405,7 +62412,7 @@ function owe({ kind: e, name: t, helpers: n, people: r, company: i }) {});}function swe({ kind: e, entity: t, actions: n }) {- let r = SQ(t), i = (e, t) => (r) => {+ let r = CQ(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),@@ -62418,11 +62425,11 @@ function swe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, F.jsx)(DQ, { entity: t }),+ /* @__PURE__ */ (0, F.jsx)(OQ, { 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)(_Q, { name: "film" }), /* @__PURE__ */ (0, F.jsx)("span", { children: o })]}),t.follow?.key ? /* @__PURE__ */ (0, F.jsx)(lwe, {follow: t.follow,@@ -62431,27 +62438,27 @@ function swe({ kind: e, entity: t, actions: n }) {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)(_Q, { 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)(_Q, { name: "id-card" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-alias-names": "",title: "别名",children: e.names.map((e, t) => /* @__PURE__ */ (0, F.jsx)("span", {- lang: NF(e),+ lang: gF(e),children: e}, t))}),- e.rest > 0 ? /* @__PURE__ */ (0, F.jsx)(bQ, {+ e.rest > 0 ? /* @__PURE__ */ (0, F.jsx)(xQ, {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)(kQ, {label: e.label,names: e.names}, t)) })@@ -62473,21 +62480,21 @@ function swe({ 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)(OQ, { 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)(_Q, { 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)(_Q, { 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)(_Q, { name: "clapperboard" }), /* @__PURE__ */ (0, F.jsx)("a", {href: hn("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),@@ -62499,24 +62506,24 @@ function swe({ kind: e, entity: t, actions: n }) {});}function cwe({ aliases: e }) {- let { shown: t, rest: n } = EQ(e, 3);+ let { shown: t, rest: n } = DQ(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)(_Q, { 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)(xQ, {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)(kQ, { names: e.map((e) => ({ name: e })) }) })}) : null]});@@ -62527,7 +62534,7 @@ function lwe({ follow: e, actions: t }) {"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)(_Q, { name: "rss" }), /* @__PURE__ */ (0, F.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -62570,37 +62577,37 @@ function uwe({ follow: e, entity: t, actions: n }) {}, e.key))});}-function DQ({ entity: e }) {+function OQ({ 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)(_Q, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function OQ({ label: e, names: t }) {+function kQ({ 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: NF(e.name),+ lang: gF(e.name),children: [e.name, e.reading ? /* @__PURE__ */ (0, F.jsx)("small", { children: e.reading }) : null]}, t))})] });}function dwe({ 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", {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("dt", { children: [/* @__PURE__ */ (0, F.jsx)(_Q, { 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 fwe({ tags: e }) {- let { shown: t, rest: n } = EQ(e);+ let { shown: t, rest: n } = DQ(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)(xQ, {id: "entityTagPop",hook: "fact",rest: n,@@ -62616,10 +62623,10 @@ function fwe({ tags: e }) {})}) : null] });}-function kQ({ mark: e }) {+function AQ({ 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)(_Q, { 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", {@@ -62636,19 +62643,19 @@ function pwe({ 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)(AQ, { 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)(AQ, { 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)(AQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, F.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -62660,7 +62667,7 @@ function pwe({ link: e }) {rel: "noopener noreferrer",title: e.title,children: [- /* @__PURE__ */ (0, F.jsx)(kQ, { mark: e.mark }),+ /* @__PURE__ */ (0, F.jsx)(AQ, { mark: e.mark }),/* @__PURE__ */ (0, F.jsx)("span", {"data-link-label": "",children: e.text@@ -62693,14 +62700,14 @@ function mwe({ 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: [EQ(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)(_Q, { 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", {@@ -62770,7 +62777,7 @@ function gwe(e, t, n) {providers: (y.providers || []).map((e) => [e, b.get(e) || e]),tags: x.map(([e, t]) => ({k: e,- label: Ml(e),+ label: Nl(e),n: t,selected: r.tags.includes(e),cat: ca(f?.groups || [], e)@@ -62829,7 +62836,7 @@ function gwe(e, t, n) {}// src/react/entity-page/entity-page-view.tsxfunction _we(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 ? {+ let { kind: t, name: n } = e, r = Pt(UX(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;@@ -62847,7 +62854,7 @@ function _we(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, F.jsx)(jW, {+ ]), r.isError ? /* @__PURE__ */ (0, F.jsx)(MW, {message: Wn(r.error),onRetry: () => {r.refetch();@@ -62857,7 +62864,7 @@ function _we(e) {entity: r.data});}-function AQ(e) {+function jQ(e) {let [t, n] = (0, P.useState)({key: e,n: 1@@ -62874,17 +62881,17 @@ function ywe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}function bwe(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 ? {+ 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(WX(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 || GX(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);+ } : IX, [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 = gwe(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 = HX(e), A = Pt(k), j = jQ(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]);@@ -62894,26 +62901,26 @@ function bwe(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) => VX(t, n, i, te, e, r, a), [j]), [N, re] = (0, P.useState)({}), ie = v.set, ae = N[ie] || "", oe = It({+ ...WX(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 = jQ(JSON.stringify(RX(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 ? [] : GX(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),+ ...NX(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: MX(d) }));}, [d, e.feedRevision]);let me = !!A.data;(0, P.useEffect)(() => {@@ -62932,7 +62939,7 @@ function bwe(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: LX(t, n) }), await H.invalidateQueries({ queryKey: ["entity-items",t,n@@ -62966,7 +62973,7 @@ function bwe(e) {enabled: e})}),- onSuccess: (e, r) => H.setQueryData(IX(t, n), (e) => e && {+ onSuccess: (e, r) => H.setQueryData(LX(t, n), (e) => e && {...e,feed: {...e.feed,@@ -62983,7 +62990,7 @@ function bwe(e) {openEntity: s.openEntity,chooseName: (e) => {let n = r.canonical_name;- e !== n && Vc({+ e !== n && Hc({title: "更改统一名称",body: `「${e}」将成为这份档案显示的名称,「${n}」留作别名。作品上的署名、搜索和标签都会跟着改写。`,confirmLabel: "更改统一名称",@@ -63020,10 +63027,10 @@ function bwe(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: MX(d) });})();},- feedAction: NX,+ feedAction: PX,avatarPicked: () => {s.avatarChanged(), I().then(() => {he.current && O((e) => e + 1);@@ -63071,19 +63078,19 @@ function bwe(e) {(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {media: e,set: 0- } : FX));+ } : IX));},setState: (e) => s.route({...i,state: e- }, FX),+ }, IX),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 = HX({kind: t,name: n,filters: {@@ -63097,7 +63104,7 @@ function bwe(e) {await H.fetchQuery(a).catch(() => null);return;}- let r = vwe(), a = await H.fetchInfiniteQuery(UX(t, n, ie, r)).catch(() => null);+ let r = vwe(), a = await H.fetchInfiniteQuery(WX(t, n, ie, r)).catch(() => null);he.current && a?.pages[0] && !a.pages[0].error && re((e) => ({...e,[ie]: r@@ -63130,7 +63137,7 @@ function bwe(e) {})}), [o, ue]), we = (r.tags || []).map((e) => ({k: e.k,- label: Ml(e.k),+ label: Nl(e.k),n: e.n,selected: eSe(i.tag, e.k)})), Te = [@@ -63167,14 +63174,14 @@ function bwe(e) {creator: "",studio: "",owner: ""- }, FX), Ne = "", Pe = !1;+ }, IX), 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 = zX(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()} 张` : ywe(se, GX(se).length) : Pe = oe.isPending;let Fe = (0, P.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -63201,7 +63208,7 @@ function bwe(e) {actions: be,helpers: xe}, D),- (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(o_e, {+ (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(s_e, {kind: t,name: n,view: w,@@ -63218,7 +63225,7 @@ function bwe(e) {actions: Se,helpers: Ce}), c.filter),- (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Kge, {+ (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(qge, {enabled: w === "videos",children: w === "online" ? /* @__PURE__ */ (0, F.jsx)(pCe, {view: T.view,@@ -63234,7 +63241,7 @@ function bwe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }, T.key) : w === "videos" && A.isError ? /* @__PURE__ */ (0, F.jsx)(jW, {+ }, T.key) : w === "videos" && A.isError ? /* @__PURE__ */ (0, F.jsx)(MW, {message: Wn(A.error),onRetry: () => {A.refetch();@@ -63292,7 +63299,7 @@ function xwe({ filtered: e, onShowAll: t, onOnline: n }) {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, F.jsx)(uI, {+ }) : /* @__PURE__ */ (0, F.jsx)(iI, {size: "small",href: "/",children: "浏览馆藏"@@ -63301,30 +63308,30 @@ function xwe({ filtered: e, onShowAll: t, onOnline: n }) {});}// src/react/diagnostics/diagnostics.ts-var jQ = ["diagnostics"], MQ = (e) => B("/api/diagnostics", e);+var MQ = ["diagnostics"], NQ = (e) => B("/api/diagnostics", e);async function Swe(e) {await H.fetchQuery({- queryKey: jQ,- queryFn: () => MQ(e),+ queryKey: MQ,+ queryFn: () => NQ(e),staleTime: 1e4});}// src/react/feed-new/feed-new-page.tsxfunction Cwe({ host: e, revision: t, helpers: n, actions: r }) {- let i = Pt(MX(null, n.feedRowHtml)), a = (0, P.useRef)(t);+ let i = Pt(NX(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: MX(null) }));+ }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(gQ, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: NX,+ act: PX,settled: r.settled}), e);}// src/react/index/index-search.tsxvar wwe = Rz("search");-function NQ({ label: e, value: t, onQuery: n }) {+function PQ({ 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);@@ -63361,7 +63368,7 @@ function NQ({ label: e, value: t, onQuery: n }) {});}// src/react/index/tag-pagination.ts-function PQ(e) {+function FQ(e) {let [t, n] = (0, P.useState)({filter: e,pageIndex: 0,@@ -63378,7 +63385,7 @@ function PQ(e) {}), [e])};}-function FQ(e, t, n) {+function IQ(e, t, n) {let { pageIndex: r, pageSize: i } = t;(0, P.useEffect)(() => {if (e === void 0) return;@@ -63395,7 +63402,7 @@ function FQ(e, t, n) {]);}// src/react/components/board-tabs.tsx-function IQ({ value: e }) {+function LQ({ 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",@@ -63403,8 +63410,8 @@ function IQ({ value: e }) {});}var Twe = "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" }) {- let a = (0, P.useRef)(null), o = tI(a);+function RQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+ let a = (0, P.useRef)(null), o = GF(a);return (0, P.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -63413,7 +63420,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)(kF, {+ }, [t]), /* @__PURE__ */ (0, F.jsx)(fF, {ref: o,role: "tablist","aria-label": n,@@ -63447,11 +63454,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 zQ = () => /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), zQ = Rz("pencil"), BQ = (e, t) => ({+}), BQ = Rz("pencil"), VQ = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -63469,13 +63476,13 @@ function Ewe({ tag: e, actions: t }) {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": iZ(t.online, e.cat),+ "data-tag-cat": aZ(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)(zQ, {}),/* @__PURE__ */ (0, F.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -63486,16 +63493,16 @@ function Ewe({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(Qz, { item: BQ(e, t.online) }),+ t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(Qz, { item: VQ(e, t.online) }),t.edit ? /* @__PURE__ */ (0, F.jsx)(Zz, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, F.jsx)(zQ, {})+ children: /* @__PURE__ */ (0, F.jsx)(BQ, {})}) : null]});}-function VQ({ groups: e, actions: t }) {+function HQ({ groups: e, actions: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",@@ -63508,7 +63515,7 @@ 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)(LQ, { 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)(Ewe, {@@ -63520,19 +63527,19 @@ function VQ({ groups: e, actions: t }) {});}var Dwe = "\xA0";-function HQ({ tags: e, actions: t }) {+function UQ({ 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": aZ(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": aZ(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",@@ -63547,10 +63554,10 @@ 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)(Qz, { item: BQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, F.jsx)(Zz, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(Qz, { item: VQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, F.jsx)(Zz, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, F.jsx)(zQ, {})+ children: /* @__PURE__ */ (0, F.jsx)(BQ, {})}) : null]}) : null]}, e.k))@@ -63565,34 +63572,34 @@ var Owe = [["字母表","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 }) {- let d = tI();- return /* @__PURE__ */ (0, F.jsx)(rI, {+function WQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {+ let d = GF();+ return /* @__PURE__ */ (0, F.jsx)(YF, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [l ? /* @__PURE__ */ (0, F.jsxs)("div", {role: "group","aria-label": "标签状态",className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",- children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(iI, {+ children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(ZF, {"data-tag-pill": "","data-tag-cat": "all",pressed: !l.blocked && l.hidden === e,onPress: () => l.onChange(!!e),children: t- }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, F.jsx)(iI, {+ }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, F.jsx)(ZF, {"data-tag-pill": "","data-tag-cat": "all",pressed: !!l.blocked,onPress: l.onBlocked,children: "已屏蔽内容"}) : null]- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, F.jsxs)(iI, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, F.jsxs)(ZF, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : iZ(n, e),+ "data-tag-cat": e === "all" ? "all" : aZ(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, F.jsx)(RQ, {}), r]+ children: [/* @__PURE__ */ (0, F.jsx)(zQ, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {@@ -63638,7 +63645,7 @@ function UQ({ categories: e, category: t, online: n, readout: r, letters: i, vie});}function kwe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, F.jsxs)(bk, {+ return /* @__PURE__ */ (0, F.jsxs)(Pk, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,@@ -63674,20 +63681,20 @@ function kwe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {});}// src/react/toaster.tsx-var WQ = (e, t) => /* @__PURE__ */ (0, F.jsx)("span", {+var GQ = (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();+}), KQ = null, qQ = { "--floating-radius": "var(--radius-2xl)" };+function JQ() {+ let e = KQ;+ KQ = null, e?.root.unmount();+}+var YQ = (e, t) => {+ if (KQ?.host === e) return;+ JQ();let n = (0, Rt.createRoot)(e);- GQ = {+ KQ = {host: e,root: n}, n.render(/* @__PURE__ */ (0, F.jsxs)(tH, { children: [/* @__PURE__ */ (0, F.jsx)(lH, {@@ -63696,7 +63703,7 @@ var JQ = (e, t) => {closeButton: !0,gap: 8,style: {- ...KQ,+ ...qQ,"--width": "min(560px, calc(100vw - 48px))"},offset: {@@ -63711,8 +63718,8 @@ var JQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: WQ(t.success, !0),- error: WQ(t.error, !1)+ success: GQ(t.success, !0),+ error: GQ(t.error, !1)}}), /* @__PURE__ */ (0, F.jsx)(lH, {id: "processing",@@ -63720,7 +63727,7 @@ var JQ = (e, t) => {gap: 8,expand: !0,style: {- ...KQ,+ ...qQ,"--width": "min(400px, calc(100vw - 32px))"},offset: {@@ -63735,7 +63742,7 @@ var JQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, Awe = 6e3, YQ = (e, t) => {+}, Awe = 6e3, XQ = (e, t) => {if (!String(t.html ?? "").trim()) return;let n = t.alert ? iH.error : iH.success, r = t.action;n(/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {@@ -63749,7 +63756,7 @@ var JQ = (e, t) => {}} : void 0});-}, XQ = (e) => e.id ?? e.entity_id, ZQ = {+}, ZQ = (e) => e.id ?? e.entity_id, QQ = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",@@ -63757,26 +63764,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) {+}, $Q = (e, t) => V("/api/tag-management/preview", e, "POST", t);+async function e$(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 Vc({- title: ZQ[e.operation],+ return !(await Hc({+ title: QQ[e.operation],body: i,- confirmLabel: ZQ[e.operation],+ confirmLabel: QQ[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(), XQ(`tag-management-${Date.now()}`, {+ html: `已${QQ[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function t$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, P.useRef)({operation: e,selected: t,@@ -63785,24 +63792,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] ? ZQ(t[0]) : 0}), [s, c] = (0, P.useState)(null);return (0, P.useEffect)(() => {- let e = new AbortController(), t = a.current, n = zc({- title: ZQ[t.operation],+ let e = new AbortController(), t = a.current, n = Bc({+ title: QQ[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(ZQ),...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 $Q(n, e.signal)};}});@@ -63813,7 +63820,7 @@ 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 e$(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}@@ -63830,7 +63837,7 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }}), s.host) : null;}function jwe({ 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);+ let [i, a] = (0, P.useState)(t[0]?.k || ""), [o, s] = (0, P.useState)(t[0] ? ZQ(t[0]) : 0);return (0, P.useEffect)(() => {r({name: i,@@ -63849,22 +63856,22 @@ function jwe({ operation: e, selected: t, dialog: n, update: r }) {value: i,onChange: a,maxLength: 80- }) : /* @__PURE__ */ (0, F.jsx)(GJ, {+ }) : /* @__PURE__ */ (0, F.jsx)(KJ, {"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(ZQ(t)) === String(e));+ n && s(ZQ(n));},children: t.map((e) => /* @__PURE__ */ (0, F.jsx)(OU, {- id: String(XQ(e)),+ id: String(ZQ(e)),children: e.k- }, XQ(e)))+ }, ZQ(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 n$({ 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,_,@@ -63872,7 +63879,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 } = FQ(S), T = new URLSearchParams({limit: String(C.pageSize),offset: String(C.pageIndex * C.pageSize),q: _,@@ -63889,25 +63896,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);+ IQ(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 = OH(), 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 = OH(), ee = E.data?.items || [], te = ee, ne = (s ? XX : YX).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" ? oZ(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 e$(n, await $Q(n, t), t);}, (e) => {e && O(/* @__PURE__ */ new Map());});- }, oe = ie.map(XQ), se = {+ }, oe = ie.map(ZQ), se = {online: s,favorites: s,picked: k,@@ -63928,13 +63935,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)(PQ, {label: "过滤标签",value: l,onQuery: u})}) : null,- /* @__PURE__ */ (0, F.jsx)(UQ, {+ /* @__PURE__ */ (0, F.jsx)(WQ, {categories: ne,category: h,online: s,@@ -63962,7 +63969,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,} } : {}},actions: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, F.jsx)(aI, {+ E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, F.jsx)($F, {busy: M.busy === "repair",onPress: () => ae({operation: "repair",@@ -63970,17 +63977,17 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}),children: "整理重复标签"}) : null,- te.length ? /* @__PURE__ */ (0, F.jsx)(aI, {+ te.length ? /* @__PURE__ */ (0, F.jsx)($F, {onPress: () => O((e) => new Map([...e, ...te.map((e) => [e.k, e])])),children: "选择本页"}) : null,- k.size ? /* @__PURE__ */ (0, F.jsx)(aI, {+ k.size ? /* @__PURE__ */ (0, F.jsx)($F, {onPress: () => O(/* @__PURE__ */ new Map()),children: "清空选择"}) : null] })}),- E.isPending ? /* @__PURE__ */ (0, F.jsx)("div", { dangerouslySetInnerHTML: { __html: Fs({+ E.isPending ? /* @__PURE__ */ (0, F.jsx)("div", { dangerouslySetInnerHTML: { __html: Is({mode: g,pageSize: C.pageSize}) } }) : E.isError ? /* @__PURE__ */ (0, F.jsx)(Fz, {@@ -63991,10 +63998,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)(HQ, {groups: re,actions: se- }) : /* @__PURE__ */ (0, F.jsx)(HQ, {+ }) : /* @__PURE__ */ (0, F.jsx)(UQ, {tags: N,actions: se}) : /* @__PURE__ */ (0, F.jsx)(Fz, {@@ -64003,21 +64010,21 @@ 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)(JJ, {+ children: /* @__PURE__ */ (0, F.jsx)(YJ, {label: "标签管理",total: E.data.total,pagination: C,onChange: w,unit: "个标签",pageUnit: "个",- pageSizes: Ps+ pageSizes: Fs})}) : null,M.error ? /* @__PURE__ */ (0, F.jsx)(Fz, {tone: "error",children: M.error}) : null,- /* @__PURE__ */ (0, F.jsxs)(bk, {+ /* @__PURE__ */ (0, F.jsxs)(Pk, {label: "标签管理操作",count: `已选 ${k.size} 个标签`,visible: k.size > 0,@@ -64058,7 +64065,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)(t$, {operation: A,selected: ie,scope: o,@@ -64140,18 +64147,18 @@ var Mwe = [};function Iwe({ kind: e, layout: t, onChange: n }) {return /* @__PURE__ */ (0, F.jsx)(PU, {- "aria-label": `${qX[e]}索引版式`,+ "aria-label": `${JX[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",className: `flex-none ${FU}`,- children: Fwe[e === "series" ? "series" : QX(e) ? "company" : "people"].map(([e, t, n]) => {+ children: Fwe[e === "series" ? "series" : $X(e) ? "company" : "people"].map(([e, t, n]) => {let r = Rz(n);return /* @__PURE__ */ (0, F.jsx)(wR, {value: e,"aria-label": t,- className: Zge,+ className: Qge,children: /* @__PURE__ */ (0, F.jsx)("span", {title: t,className: "contents",@@ -64162,13 +64169,13 @@ function Iwe({ kind: e, layout: t, onChange: n }) {});}function Lwe(e) {- let [t, n] = (0, P.useState)(!1), [r, i] = (0, P.useState)(() => $X({+ let [t, n] = (0, P.useState)(!1), [r, i] = (0, P.useState)(() => eZ({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, _ = JX[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;@@ -64187,7 +64194,7 @@ function Lwe(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 } = FQ(JSON.stringify(r)), T = iZ(tZ(r), C.pageSize), E = It({queryKey: f === "tags" && (C.pageIndex || C.pageSize !== 100) ? [...T.queryKey,"page",@@ -64203,7 +64210,7 @@ function Lwe(e) {enabled: !(t && f === "tags"),placeholderData: b ? ke : void 0}), D = hSe(E.data), O = !!E.hasNextPage && !E.isPlaceholderData, k = E.data?.pages[0]?.total;- FQ(f === "tags" && !E.isPlaceholderData ? k : void 0, C, w);+ IQ(f === "tags" && !E.isPlaceholderData ? k : void 0, C, w);let A = f === "tags" ? E.isPending || E.isError ? "" : `${(k ?? D.length).toLocaleString()} 个标签` : gSe(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,@@ -64211,7 +64218,7 @@ function Lwe(e) {});let te = ee ?? (M.current?.key === j ? M.current.counts : void 0), ne = E.isPending && !te, N = ([e]) => e === "all" || ne || Number(te?.[e] || 0) > 0;(0, P.useLayoutEffect)(() => {- d.current && bl(d.current);+ d.current && xl(d.current);}, [a]);let re = (0, P.useMemo)(() => f === "tags" ? D.map((t) => ({...t,@@ -64220,14 +64227,14 @@ function Lwe(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" ? oZ(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, {+ }, oe = f === "tags" ? /* @__PURE__ */ (0, F.jsx)(RQ, {tabs: Nwe,value: m,label: "词表",@@ -64238,7 +64245,7 @@ function Lwe(e) {view: e === "online" ? "alphabet" : h});}- }) : QX(f) || f === "series" ? /* @__PURE__ */ (0, F.jsx)(LQ, {+ }) : $X(f) || f === "series" ? /* @__PURE__ */ (0, F.jsx)(RQ, {tabs: Mwe,value: f,label: "资料类型",@@ -64248,7 +64255,7 @@ function Lwe(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 ? XX : YX).filter(N);return /* @__PURE__ */ (0, F.jsxs)("div", {ref: d,"data-index-page": f,@@ -64263,12 +64270,12 @@ function Lwe(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", {+ QX(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)(Iwe, {+ QX(f) ? /* @__PURE__ */ (0, F.jsx)(Iwe, {kind: f,layout: a,onChange: ae@@ -64287,7 +64294,7 @@ function Lwe(e) {e.exitSelectMode(), c(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, F.jsx)(NQ, {+ /* @__PURE__ */ (0, F.jsx)(PQ, {label: `过滤${_}`,value: p,onQuery: (e) => {@@ -64296,7 +64303,7 @@ function Lwe(e) {})]}),- f === "performers" || f === "creators" ? /* @__PURE__ */ (0, F.jsx)(LQ, {+ f === "performers" || f === "creators" ? /* @__PURE__ */ (0, F.jsx)(RQ, {tabs: Pwe,value: y ? "online" : f,label: "人物名册",@@ -64309,7 +64316,7 @@ function Lwe(e) {}}) : null,oe,- t && f === "tags" ? /* @__PURE__ */ (0, F.jsx)(t$, {+ t && f === "tags" ? /* @__PURE__ */ (0, F.jsx)(n$, {scope: m,search: p,category: g,@@ -64323,8 +64330,8 @@ function Lwe(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: qX,+ children: KX.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,@@ -64332,7 +64339,7 @@ function Lwe(e) {children: t}, e))}) : null,- f === "tags" ? /* @__PURE__ */ (0, F.jsx)(UQ, {+ f === "tags" ? /* @__PURE__ */ (0, F.jsx)(WQ, {categories: ce,category: g,online: v,@@ -64351,10 +64358,10 @@ function Lwe(e) {children: (() => {if (E.isPending) return /* @__PURE__ */ (0, F.jsx)("div", {"aria-busy": "true",- dangerouslySetInnerHTML: { __html: f === "tags" ? Fs({+ dangerouslySetInnerHTML: { __html: f === "tags" ? Is({mode: h,pageSize: C.pageSize- }) : Rs({+ }) : zs({kind: f,layout: a,mode: h@@ -64384,7 +64391,7 @@ function Lwe(e) {layout: a,props: e});- if (ZX(f)) return /* @__PURE__ */ (0, F.jsx)(uZ, {+ if (QX(f)) return /* @__PURE__ */ (0, F.jsx)(dZ, {kind: f,items: D,layout: a,@@ -64395,10 +64402,10 @@ function Lwe(e) {picked: s,press: se};- return h === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(VQ, {+ return h === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(HQ, {groups: ie,actions: t- }) : /* @__PURE__ */ (0, F.jsx)(HQ, {+ }) : /* @__PURE__ */ (0, F.jsx)(UQ, {tags: re,actions: t});@@ -64406,14 +64413,14 @@ function Lwe(e) {}),f === "tags" && !E.isPending && !E.isError ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mt-5",- children: /* @__PURE__ */ (0, F.jsx)(JJ, {+ children: /* @__PURE__ */ (0, F.jsx)(YJ, {label: "标签",total: k ?? D.length,pagination: C,onChange: w,unit: "个标签",pageUnit: "个",- pageSizes: Ps+ pageSizes: Fs})}) : null,O ? /* @__PURE__ */ (0, F.jsx)("div", {@@ -64427,7 +64434,7 @@ function Lwe(e) {onClick: () => void E.fetchNextPage(),children: [E.isFetchingNextPage ? /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: bs("正在载入下一批") }+ dangerouslySetInnerHTML: { __html: xs("正在载入下一批") }}) : null, "载入更多"]})}) : null,@@ -64464,7 +64471,7 @@ function zwe({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : Rwe[e], a = /* @__PURE__ */ (0, F.jsx)(uI, {+ let i = n && e === "performers" ? "创作者" : Rwe[e], a = /* @__PURE__ */ (0, F.jsx)(iI, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",@@ -64473,7 +64480,7 @@ function zwe({ kind: e, filtered: t, online: n, onClear: r }) {return /* @__PURE__ */ (0, F.jsx)(Iz, {icon: Rz(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(uI, {+ actions: n ? a : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(iI, {size: "small",href: "/settings/library",children: "添加媒体"@@ -64481,14 +64488,14 @@ function zwe({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var n$ = {+var r$ = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, Bwe = (e) => n$[e.junk_kind || "other"] || n$.other;+}, Bwe = (e) => r$[e.junk_kind || "other"] || r$.other;function Vwe(e) {return e === "dismissed" ? {operation: "reconsider-junk",@@ -64500,7 +64507,7 @@ function Vwe(e) {glyph: "check"};}-var r$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Hwe = (e, t) => [+var i$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Hwe = (e, t) => ["junk-queue",e.view,e.kind,@@ -64521,19 +64528,19 @@ async function Wwe(e, t) {};}// src/react/junk-queue/junk-card.tsx-function i$({ name: e }) {+function a$({ 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;+var o$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;function Gwe({ 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] = Bwe(e), m = String(e.name || ""), h = Vwe(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));+ t.target.closest("[data-junk-actions]") || o$(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(), o$(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) => {@@ -64564,7 +64571,7 @@ function Gwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: tG,+ onMouseDown: nG,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-media-pic": "",@@ -64572,7 +64579,7 @@ function Gwe({ 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)(a$, { name: p }), /* @__PURE__ */ (0, F.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-art": "thumb",@@ -64584,7 +64591,7 @@ function Gwe({ 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)(a$, { name: "check" })})]}),@@ -64620,8 +64627,8 @@ function Gwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionsonClick: b,children: [s === "reveal" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-spinner": "",- dangerouslySetInnerHTML: { __html: bs("正在定位") }- }) : /* @__PURE__ */ (0, F.jsx)(i$, { name: "folder-open" }), /* @__PURE__ */ (0, F.jsx)("span", {+ dangerouslySetInnerHTML: { __html: xs("正在定位") }+ }) : /* @__PURE__ */ (0, F.jsx)(a$, { name: "folder-open" }), /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -64633,7 +64640,7 @@ function Gwe({ 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)(a$, { name: h.glyph }), /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -64645,7 +64652,7 @@ function Gwe({ 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)(a$, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -64660,7 +64667,7 @@ function Gwe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var Kwe = (0, P.memo)(Gwe), o$ = [+var Kwe = (0, P.memo)(Gwe), s$ = [["","全部",@@ -64696,40 +64703,40 @@ var Kwe = (0, P.memo)(Gwe), o$ = ["其它","hard-drive"]-], qwe = (e) => o$.find(([t]) => t === e)?.[0] ?? "";-function s$(e) {+], qwe = (e) => s$.find(([t]) => t === e)?.[0] ?? "";+function c$(e) {let t = new URLSearchParams(e);return {kind: qwe(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function c$(e = "", t = "pending") {+function l$(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 u$(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: c$("", "pending")+ href: l$("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: c$("", "dismissed")+ href: l$("", "dismissed")};}-var u$ = (e) => e === "dismissed" ? "已排除" : "待判断", d$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+var d$ = (e) => e === "dismissed" ? "已排除" : "待判断", f$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;function Jwe({ 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">${gs(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>`;+ let n = s$.map(([n, r, i]) => `<a href="${l$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${f$(i)}${z(r)}</a>`).join(""), r = u$(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${_s(d$(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${f$(r.glyph)}${r.label}</a></nav></div></div></div>`;}// src/react/components/collection-summary.tsx-function f$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function p$({ 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@@ -64755,31 +64762,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 m$({ 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 h$({ 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 Ywe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = aV(), a = (0, P.useRef)(null), { kind: o, view: s } = e, c = cI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? o$.map(([e]) => r$(t, e)).join(",") : ""}`), l = l$(s), u = (e) => {+ let i = aV(), a = (0, P.useRef)(null), { kind: o, view: s } = e, c = nI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? s$.map(([e]) => i$(t, e)).join(",") : ""}`), l = u$(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") || l$()));}, 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)(p$, {+ label: d$(s),figure: d,pending: !t && !n,flush: !0@@ -64799,17 +64806,17 @@ function Ywe({ 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),+ s$.map(([e, n, r]) => /* @__PURE__ */ (0, F.jsxs)("a", {+ href: l$(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)(m$, { name: r }),n,- /* @__PURE__ */ (0, F.jsx)(m$, {+ /* @__PURE__ */ (0, F.jsx)(h$, {scope: e,- count: t ? r$(t, e) : 0+ count: t ? i$(t, e) : 0})]}, e || "all")),@@ -64823,9 +64830,9 @@ function Ywe({ 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)(m$, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, F.jsx)(m$, {+ /* @__PURE__ */ (0, F.jsx)(h$, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -64855,7 +64862,7 @@ function Qwe(e) {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, P.useLayoutEffect)(() => {- r && n.data && Ms(r, "junk");+ r && n.data && Ns(r, "junk");}, [r, n.data]);let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Ywe, {route: t,@@ -64882,7 +64889,7 @@ function $we(e) {}, [e]), t;}function eTe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = AW(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)(() => {+ let a = jW(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", {@@ -64890,7 +64897,7 @@ function eTe({ 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)(jW, {+ if (!t) return /* @__PURE__ */ (0, F.jsx)(MW, {message: tn(r),onRetry: i});@@ -64899,7 +64906,7 @@ function eTe({ props: e, data: t, pending: n, error: r, retry: i }) {return /* @__PURE__ */ (0, F.jsx)(Iz, {icon: Xwe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, F.jsx)(uI, {+ actions: t ? /* @__PURE__ */ (0, F.jsx)(iI, {size: "small",href: "/junk-files",children: "查看待判断"@@ -64938,17 +64945,17 @@ function tTe({ onMore: e }) {if (!n || typeof IntersectionObserver > "u") return;let r = new IntersectionObserver((t) => {t.some((e) => e.isIntersecting) && e();- }, { rootMargin: kW });+ }, { rootMargin: AW });return r.observe(n), () => r.disconnect();}, [e]), /* @__PURE__ */ (0, F.jsx)("div", {ref: t,"data-load-more": "",onClick: e,- dangerouslySetInnerHTML: { __html: Ss(xs) }+ dangerouslySetInnerHTML: { __html: Cs(Ss) }});}// src/react/wants/wants.ts-var h$ = "/api/wants", g$ = ["wants"], nTe = (e) => [+var g$ = "/api/wants", _$ = ["wants"], nTe = (e) => ["wants","follow",e@@ -64957,9 +64964,9 @@ var h$ = "/api/wants", g$ = ["wants"], nTe = (e) => [["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], _$ = (e) => B(h$, e);+], v$ = (e) => B(g$, e);function iTe(e, t) {- H.setQueryData(g$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+ H.setQueryData(_$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -64967,37 +64974,37 @@ function iTe(e, t) {} : n)} : n);}-var aTe = (e, t) => B(`${h$}?follow=${encodeURIComponent(e)}`, t), v$ = (e, t) => V(h$, {+var aTe = (e, t) => B(`${g$}?follow=${encodeURIComponent(e)}`, t), y$ = (e, t) => V(g$, {action: "add",...e-}, "POST", t), y$ = (e, t) => V(h$, {+}, "POST", t), b$ = (e, t) => V(g$, {action: "remove",ids: e-}, "POST", t), oTe = (e, t) => V(h$, {+}, "POST", t), oTe = (e, t) => V(g$, {action: "reset",ids: e-}, "POST", t), b$ = () => H.invalidateQueries({ queryKey: g$ }), sTe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+}, "POST", t), x$ = () => H.invalidateQueries({ queryKey: _$ }), sTe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;function cTe(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 S$ = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], S$ = (e) => x$.some(([t]) => t === e) ? e : "library", lTe = (e) => S$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+], C$ = (e) => S$.some(([t]) => t === e) ? e : "library", lTe = (e) => C$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;function uTe(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 w$ = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function w$(e, t, n = {}) {+function T$(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",@@ -65017,80 +65024,80 @@ function dTe(e, t, n) {}async function fTe(e, t) {e === "wants" ? await H.ensureQueryData({- queryKey: g$,- queryFn: () => _$(t),+ queryKey: _$,+ queryFn: () => v$(t),staleTime: 3e4,revalidateIfStale: !0}) : e === "discover" && await H.ensureQueryData({- queryKey: C$("external"),- queryFn: () => w$("external", t),+ queryKey: w$("external"),+ queryFn: () => T$("external", t),staleTime: 3e4,revalidateIfStale: !0});}// src/react/components/fieldset-layout.ts-var T$ = BH({+var E$ = BH({padding: "none",bordered: "line",className: "overflow-hidden"-}), E$ = {+}), D$ = {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$ = {+}, O$ = {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 k$(e) {+ return `${E$} ${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", pTe = "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 A$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", j$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", M$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", N$ = "disabled data-skeleton-action", pTe = "aria-disabled=\"true\"", P$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, F$ = (e, t, n) => `<div class="${D$[n]}"><div class="flex flex-col gap-2"><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 mTe() {- 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>${as("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${cs({+ return P$(`<section aria-label="扫描与采集" class="${k$("stack")}" data-cleanup-task data-cleanup-processing>+ ${F$("扫描与采集", A$, "stack")}+ <footer class="${O$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${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$- })}${cs({+ attrs: N$+ })}${ls({glyph: "chevron-down",- attrs: `${M$} aria-label="更多同步方式"`+ attrs: `${N$} aria-label="更多同步方式"`})}</span></footer></section>`);}function hTe() {- return N$(`<section aria-label="媒体修复" class="${O$("split")}" data-cleanup-task data-cleanup-processing>- ${P$("媒体修复", A$, "split")}- <footer class="${D$.split}">${us(j$, {+ return P$(`<section aria-label="媒体修复" class="${k$("split")}" data-cleanup-task data-cleanup-processing>+ ${F$("媒体修复", j$, "split")}+ <footer class="${O$.split}">${ds(M$, {className: "w-48",attrs: pTe- })}${cs({+ })}${ls({label: "开始修复",- attrs: M$+ attrs: N$})}</footer></section>`);}-function F$() {+function I$() {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}">${cs({+ ], t = E$, n = D$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${O$.stack}">${ls({label: e,- attrs: M$+ attrs: N$})}</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">${as(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">${M$}</strong><span class="text-caption-1-regular">${M$}</span></div>`).join("")}</div><div class="flex flex-col gap-4 max-cleanup-tight:gap-3"><div id="libraryProcessing">${mTe()}</div><div id="mediaRepair">${hTe()}</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">${us(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 }, () => cs({+ <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${ds(M$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => ls({variant: "secondary",- label: j$,- attrs: M$+ label: M$,+ attrs: N$})).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">${[@@ -65098,7 +65105,7 @@ 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">${M$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${M$}</div></div>${i("检查死链")}</div></section></div></div>`;}// src/react/components/fieldset.tsx@@ -65108,25 +65115,25 @@ var gTe = BH({bordered: "line",className: "overflow-hidden"}), _Te = "border-t border-border-button-default p-4 first:border-t-0";-function I$({ id: e, gap: t = "none", children: n }) {+function L$({ 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 R$({ 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: k$(e),children: [/* @__PURE__ */ (0, F.jsx)("div", {- className: E$[e],+ className: D$[e],children: a}), i ? /* @__PURE__ */ (0, F.jsx)("footer", {- className: D$[e],+ className: O$[e],children: i}) : null]});@@ -65139,8 +65146,8 @@ var vTe = {error: "rose",neutral: "neutral"};-function R$({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, F.jsx)(sZ, {+function z$({ tone: e = "neutral", ...t }) {+ return /* @__PURE__ */ (0, F.jsx)(cZ, {"data-status-tone": e,variant: "caption",color: vTe[e],@@ -65162,7 +65169,7 @@ function yTe({ className: e }) {});}var bTe = "打开文件管理器失败,请重试";-function z$({ path: e, prefix: t, className: n, onRevealed: r }) {+function B$({ 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;@@ -65184,9 +65191,9 @@ 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: EF("min-w-0 break-all", n),+ className: lF("min-w-0 break-all", n),children: [t, e]- }), /* @__PURE__ */ (0, F.jsx)(QF, {+ }), /* @__PURE__ */ (0, F.jsx)(HF, {icon: yTe,size: "small",className: "shrink-0",@@ -65236,12 +65243,12 @@ var CTe = "这一项耗时较长,暂时没有新进展。任务结束后可以return r && a.push(`${r} 项同名人物资料需要确认是否为同一人`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;}, TTe = (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} 部视频预览。` : "") + wTe(e);function ETe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = Nhe(e), o = OH(), s = OH(), c = e.status === "failed" && !!e.retryable_asset_ids?.length, l = Ahe(e.notes || {}), u = !!t || !e.archived && e.status === "failed", d = !t && !e.archived && hH(e), f = u && !!a?.log, p = fH(e), m = aV();+ let a = Phe(e), o = OH(), s = OH(), c = e.status === "failed" && !!e.retryable_asset_ids?.length, l = jhe(e.notes || {}), u = !!t || !e.archived && e.status === "failed", d = !t && !e.archived && hH(e), f = u && !!a?.log, p = fH(e), m = aV();return /* @__PURE__ */ (0, F.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- p ? /* @__PURE__ */ (0, F.jsx)(Ihe, {+ p ? /* @__PURE__ */ (0, F.jsx)(Lhe, {state: e,slow: p}) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, F.jsx)(Fz, {@@ -65302,7 +65309,7 @@ function ETe({ 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)(B$, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65359,7 +65366,7 @@ function ETe({ 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)(B$, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65371,7 +65378,7 @@ function ETe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function B$(e) {+function V$(e) {let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = zH(e), o = Ft({mutationFn: (e) => V(uH, e),onSuccess: (e) => {@@ -65386,7 +65393,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)(R$, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [@@ -65408,7 +65415,7 @@ function B$(e) {trailingIcon: uz,children: "复核资料"}) : null,- /* @__PURE__ */ (0, F.jsx)(kK, {+ /* @__PURE__ */ (0, F.jsx)(AK, {scan: !0,busy: d,metadataOnly: s?.metadata_only,@@ -65424,7 +65431,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)(L$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, F.jsx)(cZ, {variant: "caption",color: "blue",children: /* @__PURE__ */ (0, F.jsxs)("span", {@@ -65441,12 +65448,12 @@ function B$(e) {}),/* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: k$+ children: A$}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, F.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, F.jsx)(R$, { children: "已暂停" })- }) : mH(s) ? /* @__PURE__ */ (0, F.jsx)(Zhe, { state: s }) : null,+ children: /* @__PURE__ */ (0, F.jsx)(z$, { children: "已暂停" })+ }) : mH(s) ? /* @__PURE__ */ (0, F.jsx)(Qhe, { state: s }) : null,mH(s) ? /* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",@@ -65471,32 +65478,32 @@ function B$(e) {});}// src/react/playlists/playlists.ts-var DTe = "/api/playlists", V$ = "/api/playlist", H$ = ["playlists"], U$ = (e) => B(DTe, e);+var DTe = "/api/playlists", H$ = "/api/playlist", U$ = ["playlists"], W$ = (e) => B(DTe, e);async function OTe(e) {await H.fetchQuery({- queryKey: H$,- queryFn: () => U$(e),+ queryKey: U$,+ queryFn: () => W$(e),staleTime: 0});}var kTe = () => H.invalidateQueries({- queryKey: H$,+ queryKey: U$,exact: !0-}), ATe = (e) => e.current_asset_id || e.preview_asset_id || null, jTe = (e) => `/poster?id=${e}&c=4`, MTe = (e) => V(V$, {+}), ATe = (e) => e.current_asset_id || e.preview_asset_id || null, jTe = (e) => `/poster?id=${e}&c=4`, MTe = (e) => V(H$, {action: "create",name: e,asset_ids: []-}), NTe = (e, t) => V(V$, {+}), NTe = (e, t) => V(H$, {action: "rename",id: e,name: t-}), PTe = (e) => V(V$, {+}), PTe = (e) => V(H$, {action: "delete",id: e-}), FTe = (e) => B(`${V$}?id=${e}`).catch(() => null);+}), FTe = (e) => B(`${H$}?id=${e}`).catch(() => null);function ITe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return V(V$, {+ return V(H$, {action: "create",name: e.name,asset_ids: t,@@ -65505,13 +65512,9 @@ function ITe(e) {});}// src/react/scraping/custom-source-data.ts-var W$ = "/api/custom-metadata", G$ = ["custom-metadata"], K$ = (e) => B(W$, e), LTe = "/api/scraping", RTe = "/api/scraping/settings", zTe = "/api/scraping/check", q$ = "/api/scraping/cover", BTe = "/api/scraping/amane-bridge", VTe = "/api/scraping/amane-bridge/check", HTe = "/api/scraping/amane-bridge/rebuild", J$ = ["scraping"], Y$ = ["scraping", "cover"], X$ = ["scraping", "amane-bridge"], UTe = 262144, Z$ = (e) => B(LTe, e), Q$ = (e) => B(q$, e), $$ = (e) => B(BTe, e);+var G$ = "/api/custom-metadata", K$ = ["custom-metadata"], q$ = (e) => B(G$, e), LTe = "/api/scraping", RTe = "/api/scraping/settings", zTe = "/api/scraping/check", J$ = "/api/scraping/cover", BTe = "/api/scraping/amane-bridge", VTe = "/api/scraping/amane-bridge/check", HTe = "/api/scraping/amane-bridge/rebuild", Y$ = ["scraping"], X$ = ["scraping", "cover"], Z$ = ["scraping", "amane-bridge"], UTe = 262144, Q$ = (e) => B(LTe, e), $$ = (e) => B(J$, e), e1 = (e) => B(BTe, e);async function WTe(e) {await Promise.all([- H.fetchQuery({- queryKey: J$,- queryFn: () => Z$(e)- }),H.fetchQuery({queryKey: Y$,queryFn: () => Q$(e)@@ -65521,8 +65524,12 @@ async function WTe(e) {queryFn: () => $$(e)}),H.fetchQuery({- queryKey: G$,- queryFn: () => K$(e)+ queryKey: Z$,+ queryFn: () => e1(e)+ }),+ H.fetchQuery({+ queryKey: K$,+ queryFn: () => q$(e)})]);}@@ -65530,19 +65537,19 @@ function GTe(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 t1 = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), t1 = /* @__PURE__ */ new Set([+]), n1 = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"-]), n1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+]), r1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();function KTe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {let c = 0, l = [], u = (e) => {let t = {@@ -65550,7 +65557,7 @@ function KTe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aindex: c++};return l.push(t), t;- }, d = t.filter((t) => !e || n1(t).includes(n1(e)));+ }, d = t.filter((t) => !e || r1(t).includes(r1(e)));if (!e) {if (s.length) {let e = s.map((e) => ({@@ -65571,8 +65578,8 @@ function KTe({ 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) => !n1.has(e.kind)),+ right: e.filter((e) => n1.has(e.kind)),empty: !1,options: l};@@ -65622,7 +65629,7 @@ function KTe({ 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) => !n1.has(e.kind)).map(h), _ = m.filter((e) => n1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -65638,7 +65645,7 @@ function qTe(e, t, n = Math.random) {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) => r1(t) === r1(e))).slice(0, 5);}// src/react/search/search-page.tsxvar JTe = () => ({@@ -65660,7 +65667,7 @@ var JTe = () => ({active: -1,reveal: !1,rewind: !1-}), r1 = (e) => KTe({+}), i1 = (e) => KTe({query: e.query,history: e.history,picks: e.picks,@@ -65669,7 +65676,7 @@ var JTe = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), YTe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), i1 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {+}), YTe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), a1 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })@@ -65695,7 +65702,7 @@ function XTe(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)($Te, {+ let c = i1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, F.jsx)($Te, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -65708,7 +65715,7 @@ function XTe(e) {children: [/* @__PURE__ */ (0, F.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, F.jsx)("a", {href: e.href,- onMouseDown: a1,+ onMouseDown: o1,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},@@ -65765,7 +65772,7 @@ function ZTe(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) => r1(e) !== r1(t))]), V("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -65814,7 +65821,7 @@ function ZTe(e, t, n, r) {if (t.dismissed) return;t.query = i().value.trim(), t.picks = t.query ? [] : qTe(t.pool, o()), t.active = -1;let a = n();- a && (YTe(r1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (YTe(i1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, g = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -65826,7 +65833,7 @@ function ZTe(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() ? i1(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) => {@@ -65835,7 +65842,7 @@ function ZTe(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" && t1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));}, C = (t) => {m(), i().blur(), e().actions.openPath?.(t);};@@ -65881,7 +65888,7 @@ function ZTe(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) => r1(t) !== r1(e))), t.active = -1, r();},pickKind: _,openPath: C@@ -65901,9 +65908,9 @@ function QTe({ 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)(LQ, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, F.jsxs)(kF, {+ return /* @__PURE__ */ (0, F.jsxs)(fF, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -65912,7 +65919,7 @@ function QTe({ 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();+var o1 = (e) => e.preventDefault();function $Te({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,@@ -65925,33 +65932,33 @@ function $Te({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: a1,+ onMouseDown: o1,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, F.jsx)(i1, { name: "chevron-right" })+ /* @__PURE__ */ (0, F.jsx)(a1, { 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)(a1, { 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: o1,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, F.jsx)(i1, { name: "x" })+ children: /* @__PURE__ */ (0, F.jsx)(a1, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = e1.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = t1.has(c) ? c : void 0;if (["asset","jav",@@ -65965,8 +65972,8 @@ function $Te({ 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: o1,+ children: [/* @__PURE__ */ (0, F.jsx)(s1, {card: s.card,helpers: n}), /* @__PURE__ */ (0, F.jsxs)("span", {@@ -65991,9 +65998,9 @@ function $Te({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: a1,+ onMouseDown: o1,children: [- /* @__PURE__ */ (0, F.jsx)(s1, {+ /* @__PURE__ */ (0, F.jsx)(c1, {item: s,kind: c}),@@ -66016,11 +66023,11 @@ function $Te({ 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: o1,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, F.jsx)(o1, {+ children: /* @__PURE__ */ (0, F.jsx)(s1, {card: e,helpers: n})@@ -66034,7 +66041,7 @@ function $Te({ 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)(c1, {item: s,kind: c}) : null,@@ -66047,13 +66054,13 @@ function $Te({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function o1({ card: e, helpers: t }) {+function s1({ 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 c1({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, F.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -66072,28 +66079,28 @@ function s1({ item: e, kind: t }) {});}// src/react/settings/configuration.ts-var c1 = ["configuration"], l1 = (e) => B(qY, e);+var l1 = ["configuration"], u1 = (e) => B(JY, e);async function eEe(e) {await H.fetchQuery({- queryKey: c1,- queryFn: () => l1(e)+ queryKey: l1,+ queryFn: () => u1(e)});}// src/react/settings-panel/legacy-controls.tsx-var u1 = (e) => e.map(([e, t, n]) => n ? [+var d1 = (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 f1({ 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 = jc(t, n, u1(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Mc(t, n, d1(r), i, {attr: a,className: o,text: s- }), Mc(e, a, (e) => {+ }), Nc(e, a, (e) => {d.current = {value: e,epoch: c@@ -66107,18 +66114,18 @@ 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 p1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {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 = Jo(u1(n), r, { label: t });- let i = Yo(e.firstElementChild);+ e.innerHTML = Yo(d1(n), r, { label: t });+ let i = Xo(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}let o = f.current;- o.value !== r && (o.value = r), o.disabled !== i && (o.disabled = i), o.getAttribute("aria-busy") === "true" !== a && Oc(o, a), u?.(o);+ o.value !== r && (o.value = r), o.disabled !== i && (o.disabled = i), o.getAttribute("aria-busy") === "true" !== a && kc(o, a), u?.(o);}), /* @__PURE__ */ (0, F.jsx)("div", {id: e,ref: d,@@ -66136,14 +66143,14 @@ function tEe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSetonSettle: o}, (0, P.useLayoutEffect)(() => {let i = s.current;- i && !c.current && (i.insertAdjacentHTML("beforeend", Pc({+ i && !c.current && (i.insertAdjacentHTML("beforeend", Fc({value: r,min: 0,max: n,step: 1,label: t,attr: `data-glow-dial="${e}"`- })), c.current = Fc(i.lastElementChild, {+ })), c.current = Ic(i.lastElementChild, {onInput: (e) => l.current.onStep(e),onChange: (e) => l.current.onSettle(e)}));@@ -66188,7 +66195,7 @@ var nEe = []];function rEe({ host: e, spot: t, index: n, glow: r }) {- let i = Uoe[n], a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = aV(), [l, u] = (0, P.useState)("all");+ let i = Aoe[n], a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = aV(), [l, u] = (0, P.useState)("all");(0, P.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -66197,11 +66204,11 @@ function rEe({ host: e, spot: t, index: n, glow: r }) {];e && t && n && (t.addEventListener("click", () => {n.style.width = `${t.offsetWidth}px`;- }), Ko(e, t, n));+ }), qo(e, t, n));}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = Kk(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), Bo(), o.current?.focus();+ r[t].color = oA(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,@@ -66226,7 +66233,7 @@ function rEe({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, F.jsx)(aP, { name: "chevron-down" })+ /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-down" })]}), /* @__PURE__ */ (0, F.jsxs)("div", {className: "popmenu",@@ -66238,7 +66245,7 @@ function rEe({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: Koe.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: Noe.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -66252,7 +66259,7 @@ function rEe({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: qoe.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: Poe.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -66270,7 +66277,7 @@ function rEe({ host: e, spot: t, index: n, glow: r }) {});}function iEe({ host: e }) {- let t = e.store.value.homeGlow, n = zk(t.preset);+ let t = e.store.value.homeGlow, n = $k(t.preset);return /* @__PURE__ */ (0, F.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -66289,10 +66296,10 @@ function iEe({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, F.jsx)("b", {"data-glow-preset-name": "",- children: Woe(t.preset)+ children: joe(t.preset)})]}),- /* @__PURE__ */ (0, F.jsx)(IA, {+ /* @__PURE__ */ (0, F.jsx)(XA, {store: e.store,label: "光晕配色"}),@@ -66324,7 +66331,7 @@ function iEe({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = Jk(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = cA(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -66343,7 +66350,7 @@ function iEe({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, F.jsx)("div", {"data-glow-stops": "",- children: Ik.map((n, r) => /* @__PURE__ */ (0, F.jsx)(rEe, {+ children: Xk.map((n, r) => /* @__PURE__ */ (0, F.jsx)(rEe, {host: e,spot: n,index: r,@@ -66402,22 +66409,22 @@ var aEe = {optional: !0,fallback: 60}-}, p1 = (e) => `peach.number.${e}`;-function m1(e, t) {+}, m1 = (e) => `peach.number.${e}`;+function h1(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 }) {+function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {let a = aEe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, P.useRef)(0);- d.current ||= Tk(Number(localStorage.getItem(p1(e))), o, s, n && n > 0 ? n : l);+ d.current ||= zk(Number(localStorage.getItem(m1(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(m1(e), String(d.current)), y.current(d.current)));}, x = (0, P.useRef)(b);x.current = b, (0, P.useEffect)(() => {let e = v.current;@@ -66427,7 +66434,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(m1(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": "",@@ -66464,7 +66471,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, h1(Number(m), c) ? ` · ${h1(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, F.jsx)("small", {id: `${e}-error`,@@ -66477,13 +66484,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 } = aX();+function _1(e) {+ let { mutate: t } = oX();return (0, P.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function _1(e, t, n, r) {+function v1(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -66492,23 +66499,23 @@ 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 oEe = "__home__", v1 = (e) => e === "" ? oEe : e;+var oEe = "__home__", y1 = (e) => e === "" ? oEe : e;function sEe({ 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);+ let t = _1(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, 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 = v1(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 = () => {- h.current && Uo(h.current), l(!1);+ }, v = a.find(([e]) => y1(e) === o) ?? a[0], y = () => {+ h.current && Wo(h.current), l(!1);}, b = () => {let e = h.current;if (!e) return;let t = !c;- t ? Ho(e) : Uo(e), l(t), t && e.querySelector("[aria-selected=\"true\"]")?.focus();+ t ? Uo(e) : Wo(e), l(t), t && e.querySelector("[aria-selected=\"true\"]")?.focus();}, x = (e) => {if (e.key === "Escape") {e.preventDefault(), y(), m.current?.focus();@@ -66523,7 +66530,7 @@ function sEe({ 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", y1(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -66555,9 +66562,9 @@ function sEe({ host: e }) {/* @__PURE__ */ (0, F.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(aP, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, F.jsx)(_P, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, F.jsx)(aP, { name: a ?? "" }),+ /* @__PURE__ */ (0, F.jsx)(_P, { name: a ?? "" }),/* @__PURE__ */ (0, F.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, F.jsxs)("span", {@@ -66571,7 +66578,7 @@ function sEe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, F.jsx)(aP, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-up" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -66581,7 +66588,7 @@ function sEe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, F.jsx)(aP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-down" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -66593,11 +66600,11 @@ function sEe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, F.jsx)(aP, { name: "eye-off" })+ children: /* @__PURE__ */ (0, F.jsx)(_P, { name: "eye-off" })})]})]- }, v1(e))), /* @__PURE__ */ (0, F.jsxs)("div", {+ }, y1(e))), /* @__PURE__ */ (0, F.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-sidebar-add-picker": "",@@ -66613,13 +66620,13 @@ function sEe({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(aP, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, F.jsx)(_P, { name: v[2] ?? "" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, F.jsx)(aP, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(aP, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(_P, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, F.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -66630,15 +66637,15 @@ function sEe({ 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": y1(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(v1(e)), y(), m.current?.focus();+ s(y1(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, F.jsx)(aP, { name: n ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]- }, v1(e)))+ children: [/* @__PURE__ */ (0, F.jsx)(_P, { name: n ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]+ }, y1(e)))}) : null]}), /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -66654,7 +66661,7 @@ function sEe({ host: e }) {});}// src/react/settings-panel/settings-panel.tsx-var y1 = [+var b1 = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],@@ -66696,76 +66703,76 @@ var y1 = ["切片","隐藏切片"]-], fEe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", b1 = null, x1 = {+], fEe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", x1 = null, S1 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, S1 = 0, C1 = null, w1 = /* @__PURE__ */ new Set();+}, C1 = 0, w1 = null, T1 = /* @__PURE__ */ new Set();function pEe(e) {- return w1.add(e), () => {- w1.delete(e);+ return T1.add(e), () => {+ T1.delete(e);};}function mEe() {- for (let e of [...w1]) e();+ for (let e of [...T1]) e();}-function T1(e) {- x1 = {- ...x1,+function E1(e) {+ S1 = {+ ...S1,...e}, (0, Lt.flushSync)(mEe);}async function hEe(e) {- let t = x1.epoch, n = await e.configurable();- x1.open && x1.epoch === t && T1({ configurable: n });+ let t = S1.epoch, n = await e.configurable();+ S1.open && S1.epoch === t && E1({ configurable: n });}function gEe(e = "") {- let t = b1;+ let t = x1;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 = b1.findIndex(([t]) => t === e);+ if (S1.open && !S1.closing) {+ n >= 0 && n !== S1.tab && E1({ tab: n });return;}- Bo(), S1 += 1, C1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ Vo(), C1 += 1, w1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");let r = txe();- T1({+ E1({open: !0,closing: !1,configurable: null,- epoch: x1.epoch + 1,- tab: n >= 0 ? n : x1.tab+ epoch: S1.epoch + 1,+ tab: n >= 0 ? n : S1.tab}), r.then((e) => {e && t.syncRemote(e);}), hEe(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 D1(e = !0) {+ if (!S1.open || S1.closing) return;+ let t = ++C1;+ e && x1?.closed?.(), E1({ closing: !0 });let n = () => {- t === S1 && x1.closing && (T1({+ t === C1 && S1.closing && (E1({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"), w1 instanceof HTMLElement && document.contains(w1) && w1.focus(), w1 = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}var _Ee = {open: gEe,- close: E1,- isOpen: () => x1.open,+ close: D1,+ isOpen: () => S1.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};function vEe(e) {- return b1 = e, _Ee;+ return x1 = e, _Ee;}function yEe() {- let e = (0, P.useSyncExternalStore)(pEe, () => x1);- return b1 ? /* @__PURE__ */ (0, F.jsx)(SEe, {- host: b1,+ let e = (0, P.useSyncExternalStore)(pEe, () => S1);+ return x1 ? /* @__PURE__ */ (0, F.jsx)(SEe, {+ host: x1,view: e}) : null;}@@ -66776,7 +66783,7 @@ function bEe(e) {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}`;+var O1 = (e) => `settings-tab-${e}`, k1 = (e) => `settings-group-${e}`;function xEe({ 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;@@ -66792,12 +66799,12 @@ function xEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectw: e.offsetWidth,h: e.offsetHeight}, i = s.current;- s.current = r, Sc(n, t ? i : null, r, "y");+ s.current = r, Cc(n, t ? i : null, r, "y");}, d = (0, P.useRef)(u);d.current = u, (0, P.useLayoutEffect)(() => {let e = a.current;if (!e) return;- cc(e);+ lc(e);let t = new ResizeObserver(() => d.current(l.current[c.current], !1));return t.observe(e), () => t.disconnect();}, []), (0, P.useLayoutEffect)(() => {@@ -66805,7 +66812,7 @@ function xEe({ 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 = b1.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;@@ -66834,11 +66841,11 @@ function xEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- y1.map(([t, n], r) => /* @__PURE__ */ (0, F.jsxs)("button", {+ b1.map(([t, n], r) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",role: "tab",- id: D1(r),- "aria-controls": O1(r),+ id: O1(r),+ "aria-controls": k1(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -66849,7 +66856,7 @@ function xEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, F.jsx)(aP, { name: n }) : /* @__PURE__ */ (0, F.jsx)(oP, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, F.jsx)(_P, { name: n }) : /* @__PURE__ */ (0, F.jsx)(Xce, { name: n }), t]}, t)),/* @__PURE__ */ (0, F.jsx)("div", {"data-settings-service": "",@@ -66860,27 +66867,27 @@ function xEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, F.jsx)(aP, { name: "folder-cog" }),+ /* @__PURE__ */ (0, F.jsx)(_P, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, F.jsx)(aP, { name: "chevron-right" })+ /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-right" })]})})]});}-function k1({ index: e, tab: t, children: n, cards: r = !1 }) {+function A1({ 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: k1(e),role: "tabpanel",- "aria-labelledby": D1(e),+ "aria-labelledby": O1(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, F.jsx)("h3", { children: y1[e][0] }), n]+ children: [/* @__PURE__ */ (0, F.jsx)("h3", { children: b1[e][0] }), n]});}-function A1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function j1({ 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", {@@ -66897,7 +66904,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 M1({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -66916,17 +66923,17 @@ function SEe({ host: e, view: t }) {u.current = l, (0, P.useLayoutEffect)(() => {let t = o.current;if (!t || !r.current) return;- s.current = vo(t) ?? s.current, e.attached(r.current);+ s.current = yo(t) ?? s.current, e.attached(r.current);let n = () => u.current();return t.addEventListener("scroll", n, { passive: !0 }), () => t.removeEventListener("scroll", n);}, [e]), (0, P.useLayoutEffect)(() => {let e = c.current !== t.tab;- c.current = t.tab, o.current && (o.current.scrollTop = 0), e && a.current && Ns(a.current, "h2"), u.current();+ c.current = t.tab, o.current && (o.current.scrollTop = 0), e && a.current && Ps(a.current, "h2"), u.current();}, [t.tab, t.epoch]), (0, P.useLayoutEffect)(() => {s.current?.();});let d = t.epoch, f = (t) => {- t !== x1.tab && (T1({ tab: t }), e.selectSection?.(y1[t][0]));+ t !== S1.tab && (E1({ tab: t }), e.selectSection?.(b1[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, F.jsx)("section", {"data-settings-panel": "",@@ -66939,7 +66946,7 @@ function SEe({ host: e, view: t }) {ref: r,onKeyDown: bEe,onClick: (e) => {- e.target === e.currentTarget && E1();+ e.target === e.currentTarget && D1();},children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-settings-card": "",@@ -66950,11 +66957,11 @@ function SEe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, F.jsx)("h2", {id: "settingsTitle",- children: y1[t.tab][0]+ children: b1[t.tab][0]}), /* @__PURE__ */ (0, F.jsx)(zz, {id: "settingsClose",label: "关闭设置",- onPress: () => E1()+ onPress: () => D1()})]}),/* @__PURE__ */ (0, F.jsx)(xEe, {@@ -66963,14 +66970,14 @@ function SEe({ host: e, view: t }) {configurable: t.configurable,onSelect: f,openConfiguration: () => {- E1(!1), e.openConfiguration();+ D1(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, F.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, F.jsxs)(k1, {+ /* @__PURE__ */ (0, F.jsxs)(A1, {index: 0,tab: t.tab,cards: !0,@@ -66978,9 +66985,9 @@ function SEe({ host: e, view: t }) {/* @__PURE__ */ (0, F.jsxs)("div", {"data-setting-card": "",children: [- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "主题",- children: /* @__PURE__ */ (0, F.jsx)(d1, {+ children: /* @__PURE__ */ (0, F.jsx)(f1, {id: "themeSetting",name: "theme",legend: "主题",@@ -67008,7 +67015,7 @@ function SEe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -67016,7 +67023,7 @@ function SEe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -67054,7 +67061,7 @@ function SEe({ host: e, view: t }) {tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, F.jsxs)(k1, {+ /* @__PURE__ */ (0, F.jsxs)(A1, {index: 3,tab: t.tab,children: [@@ -67062,11 +67069,11 @@ function SEe({ host: e, view: t }) {host: e,epoch: d}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "相关推荐数量",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(g1, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -67076,24 +67083,24 @@ function SEe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "口味与记录",children: /* @__PURE__ */ (0, F.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, F.jsx)(uI, {+ children: /* @__PURE__ */ (0, F.jsx)(iI, {variant: "secondary",href: "/taste",- onClick: () => E1(!1),+ onClick: () => D1(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, F.jsx)(k1, {+ /* @__PURE__ */ (0, F.jsx)(A1, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, F.jsx)(A1, {+ children: /* @__PURE__ */ (0, F.jsx)(j1, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -67111,16 +67118,16 @@ function SEe({ host: e, view: t }) {function CEe(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;- n.querySelector("[data-icon-swap]") || (n.innerHTML = Es("arrow-up", "arrow-down", "a", {+ n.querySelector("[data-icon-swap]") || (n.innerHTML = Ds("arrow-up", "arrow-down", "a", {className: "gselectmark",iconClass: "gselectmark"- }) + "<span data-sort-direction-label></span>"), Ds(n, t ? "a" : "b");+ }) + "<span data-sort-direction-label></span>"), Os(n, t ? "a" : "b");let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}function wEe({ 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)(A1, {index: 1,tab: t,children: [@@ -67128,11 +67135,11 @@ function wEe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品列表"}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "每批加载作品",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(g1, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -67142,12 +67149,12 @@ function wEe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, F.jsx)(f1, {+ children: [/* @__PURE__ */ (0, F.jsx)(p1, {id: "defaultSortSetting",label: "默认排序",options: cEe,@@ -67156,7 +67163,7 @@ function wEe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, F.jsx)(f1, {+ }), /* @__PURE__ */ (0, F.jsx)(p1, {id: "defaultSortDirectionSetting",label: "默认排序方向",options: lEe,@@ -67171,9 +67178,9 @@ function wEe({ host: e, tab: t, epoch: n }) {})]})}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, F.jsx)(d1, {+ children: /* @__PURE__ */ (0, F.jsx)(f1, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -67199,16 +67206,16 @@ function wEe({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(g1, {id: "hoverDelaySetting",label: "悬停预览延迟",value: r.hoverDelaySeconds,onApply: (t) => {- r.hoverDelaySeconds = Tk(t, 0, 60, 5), i(), e.changed("hoverDelay");+ r.hoverDelaySeconds = zk(t, 0, 60, 5), i(), e.changed("hoverDelay");}}, n)})@@ -67226,7 +67233,7 @@ function wEe({ host: e, tab: t, epoch: n }) {}function TEe({ 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)(A1, {index: 2,tab: t,children: [@@ -67234,9 +67241,9 @@ function TEe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "默认图片",- children: /* @__PURE__ */ (0, F.jsx)(d1, {+ children: /* @__PURE__ */ (0, F.jsx)(f1, {id: "javImageSetting",name: "jav-image",legend: "默认图片",@@ -67255,21 +67262,21 @@ function TEe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "显示数量",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "feedLimitSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(g1, {id: "feedLimitSetting",label: "新作显示数量",value: r.feedLimit,onApply: (t) => {- r.feedLimit = Tk(t, 1, 100, 12), i(), e.changed("feedLimit");+ r.feedLimit = zk(t, 1, 100, 12), i(), e.changed("feedLimit");}}, n)})}),- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {id: "feedAutoScrollSetting",title: "自动滚动",checked: r.feedAutoScroll,@@ -67288,14 +67295,14 @@ function TEe({ host: e, tab: t, epoch: n }) {});}function EEe({ host: e, id: t, settingKey: n, label: r, title: i }) {- let a = aX(), [o, s] = (0, P.useState)(null), c = (0, P.useRef)(null), l = e.store.value, u = (t) => {- s(t), Oc(c.current), a.mutate({ [n]: t }, {+ let a = oX(), [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}`);},onError: (t) => e.failure(`保存${r}开关`, t),onSettled: () => {- s(null), Oc(c.current, !1);+ s(null), kc(c.current, !1);}});};@@ -67315,7 +67322,7 @@ function EEe({ host: e, id: t, settingKey: n, label: r, title: i }) {function DEe({ 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)(j1, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -67323,7 +67330,7 @@ function DEe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -67331,11 +67338,11 @@ function DEe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(g1, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -67348,60 +67355,60 @@ function DEe({ host: e, epoch: t }) {] });}function OEe({ host: e, epoch: t }) {- let n = e.store.value, r = aX();- return /* @__PURE__ */ (0, F.jsx)(j1, {+ let n = e.store.value, r = oX();+ return /* @__PURE__ */ (0, F.jsx)(M1, {title: "搜索记录数量",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(g1, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = Tk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = zk(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__", kEe = {+var N1 = "__home__", kEe = {creator: 26,tag: 30,tech: 16-}, N1 = 180, P1 = null, F1 = {+}, P1 = 180, F1 = null, I1 = {props: {content: null,filters: {},latest: null},epoch: 0-}, I1 = /* @__PURE__ */ new Set();+}, L1 = /* @__PURE__ */ new Set();function AEe(e) {- return I1.add(e), () => {- I1.delete(e);+ return L1.add(e), () => {+ L1.delete(e);};}-function L1() {- for (let e of [...I1]) e();+function R1() {+ for (let e of [...L1]) e();}var jEe = {render(e) {- F1 = {- ...F1,+ I1 = {+ ...I1,props: e- }, (0, Lt.flushSync)(L1);+ }, (0, Lt.flushSync)(R1);},navChanged() {- F1 = {- ...F1,- epoch: F1.epoch + 1- }, (0, Lt.flushSync)(L1);+ I1 = {+ ...I1,+ epoch: I1.epoch + 1+ }, (0, Lt.flushSync)(R1);}};function MEe(e) {- return P1 = e, F1 = {- ...F1,+ return F1 = e, I1 = {+ ...I1,props: {content: null,filters: {},@@ -67410,9 +67417,9 @@ function MEe(e) {}, jEe;}function NEe() {- let e = (0, P.useSyncExternalStore)(AEe, () => F1);- return P1 ? /* @__PURE__ */ (0, F.jsx)(PEe, {- host: P1,+ let e = (0, P.useSyncExternalStore)(AEe, () => I1);+ return F1 ? /* @__PURE__ */ (0, F.jsx)(PEe, {+ host: F1,props: e.props,epoch: e.epoch}) : null;@@ -67435,7 +67442,7 @@ function PEe({ host: e, props: t, epoch: n }) {] });}function FEe({ 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 = cI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || M1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+ let r = _1(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = nI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || N1 : "").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());[@@ -67459,7 +67466,7 @@ function FEe({ 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 || N1);},onDragOver: (t) => {if (f === null || f === e) return;@@ -67474,7 +67481,7 @@ function FEe({ 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 : v1(i, n, e, a);o && r(o);},onDragEnd: g@@ -67502,15 +67509,15 @@ function FEe({ host: e, epoch: t, version: n }) {height: 24,alt: "",decoding: "async"- }) : /* @__PURE__ */ (0, F.jsx)(aP, { name: r }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]- }, t || M1))+ }) : /* @__PURE__ */ (0, F.jsx)(_P, { name: r }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ }, t || N1))}), 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);+var z1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);function IEe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [@@ -67528,7 +67535,7 @@ function IEe(e) {function LEe({ 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" && Ms(e.scroll, "drawer");+ t.kind === "catalog" && Ns(e.scroll, "drawer");}, [e,i,@@ -67547,8 +67554,8 @@ function LEe({ host: e, content: t, filters: n, latest: r }) {function REe(e, t, n, r, i) {let a = IEe(r), o = (t, r, i) => {if (!t.length) return null;- let o = R1(n, r);- return /* @__PURE__ */ (0, F.jsx)(V1, {+ let o = z1(n, r);+ return /* @__PURE__ */ (0, F.jsx)(H1, {rows: t,filterKey: r,multi: i,@@ -67558,7 +67565,7 @@ function REe(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 = z1(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -67590,7 +67597,7 @@ function REe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, F.jsx)(W1, {+ body: /* @__PURE__ */ (0, F.jsx)(G1, {host: e,filters: n})@@ -67605,7 +67612,7 @@ function REe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, F.jsx)(H1, {+ body: /* @__PURE__ */ (0, F.jsx)(U1, {rows: t.followTags,host: e,selected: null,@@ -67615,13 +67622,13 @@ function REe(e, t, n, r, i) {];}function zEe(e, t, n) {- let r = t.providers || [], i = R1(n, "provider"), a = new Set(t.selected);+ let r = t.providers || [], i = z1(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)(H1, {rows: r,filterKey: "provider",multi: !1,@@ -67635,7 +67642,7 @@ function zEe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, F.jsx)(W1, {+ body: /* @__PURE__ */ (0, F.jsx)(G1, {host: e,filters: n,commit: e.setFollowDuration@@ -67645,7 +67652,7 @@ function zEe(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)(U1, {rows: t.tags,host: e,selected: a,@@ -67654,7 +67661,7 @@ function zEe(e, t, n) {} : null];}-function z1(e, t) {+function B1(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);@@ -67662,17 +67669,17 @@ function z1(e, t) {return n === null ? t : n === "open";}function BEe({ 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);+ let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(() => B1(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 ? B1(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) => {if (t?.preventDefault(), !o.current || !s.current) return;let n = !c;- bo(o.current, s.current, n), l(n);+ xo(o.current, s.current, n), l(n);try {sessionStorage.setItem(`peach.sidebar.group.${e}`, n ? "open" : "closed");} catch {}@@ -67687,7 +67694,7 @@ function BEe({ 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)(aP, { name: "chevron-right" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-right" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, F.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -67698,7 +67705,7 @@ function BEe({ 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)(V1.Provider, {value: d,children: a})@@ -67707,15 +67714,15 @@ function BEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var B1 = (0, P.createContext)(() => {});+var V1 = (0, P.createContext)(() => {});function VEe({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, F.jsx)(aP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, F.jsx)("img", {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, F.jsx)(_P, { 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 H1({ 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) => {@@ -67748,7 +67755,7 @@ function V1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,});}function HEe({ 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);+ let u = (0, P.useContext)(V1), [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)(() => {@@ -67760,10 +67767,10 @@ function HEe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s};if (_) {let t = e.body.closest("details");- e.body.classList.add("ui-fcollapse"), wo(e.body, e.before, () => !!t?.open && !e.body.inert);+ e.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)(H1, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -67788,10 +67795,10 @@ function HEe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, F.jsx)(aP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-down" })}) : null] });}-function H1({ rows: e, host: t, selected: n, badges: r }) {+function U1({ 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", {@@ -67813,10 +67820,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 W1 = (e, t) => e ? Math.min(P1, Number(e) / 60) : t;+function G1({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, P.useState)(r), [o, s] = (0, P.useState)(() => [W1(t.dur_min, 0), W1(t.dur_max, P1)]), [c, l] = (0, P.useState)("max");+ i !== r && (a(r), s([W1(t.dur_min, 0), W1(t.dur_max, P1)]));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) => {@@ -67829,11 +67836,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 / P1 * 100}%`), e.style.setProperty("--hi", `${d / P1 * 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 / P1 * 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`);});@@ -67843,7 +67850,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 >= P1 ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, F.jsx)("div", {"data-sidebar-duration": "",@@ -67858,7 +67865,7 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: N1,+ max: P1,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -67869,7 +67876,7 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: N1,+ max: P1,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -67883,8 +67890,8 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {});}// src/diagnostics-skeleton.ts-function G1() {- let e = (e) => cs({+function K1() {+ let e = (e) => ls({label: e,variant: "secondary",attrs: "disabled data-skeleton-action"@@ -67897,7 +67904,7 @@ function G1() {</div></div>`;}// src/react/settings/library-policy-copy.ts-var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", UEe = [+var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", UEe = ["自动补全","仅使用本地资料","自定义"@@ -67932,7 +67939,7 @@ var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], GEe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", q1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", J1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Y1 = "只填域名,留空用默认地址", KEe = [+], GEe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", J1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Y1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", X1 = "只填域名,留空用默认地址", KEe = [{provider: "coomer",label: "Coomer",@@ -68022,8 +68029,8 @@ var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式label: "SubscribeStar",requirement: "none"}-], X1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", qEe = "peach.configuration.shape.v1";-function Z1() {+], Z1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", qEe = "peach.configuration.shape.v1";+function Q1() {try {let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");return e && typeof e == "object" ? e : {};@@ -68033,7 +68040,7 @@ function Z1() {}function JEe(e, t) {try {- let n = Z1();+ let n = Q1();if (JSON.stringify(n[e]) === JSON.stringify(t)) return;localStorage.setItem(qEe, JSON.stringify({...n,@@ -68041,17 +68048,17 @@ function JEe(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") => cs({+var $1 = (e) => Q1()[e], e0 = (e) => e === !0, t0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, n0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], r0 = "disabled data-skeleton-action", i0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, a0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, o0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, s0 = (e = "3em") => o0(e, "24px"), c0 = () => o0("var(--icon-inline)", "var(--icon-inline)"), l0 = (e, t = "primary", n = "medium") => 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>`, YEe = (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: r0+}), u0 = (e, t = "") => `<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, d0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, YEe = (e, t, n) => {+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${c0()}${e}</span>` : e}</p>`;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">${YEe(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)}${us(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">${as("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, XEe = /* @__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">${XEe.has(e) ? r0("100%") + r0("80%") + r0("6em") : r0("6em")}</dd></div>`).join("")}</dl>`, ZEe = KEe;-function QEe(e = Q1("credentials")) {- let t = new Set(t0(e?.done, 64, String));+}, f0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${YEe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? u0(n, i) : ""}</div></section>`, p0 = (e, t, n) => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, m0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => p0(e, t, `<span class="skeleton ${n}"></span>`), h0 = (e, t = "4em") => p0(e, "", i0(t)), g0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, _0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, v0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${a0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, y0 = (e) => `<div class="flex flex-col gap-1">${_0(e)}${ds(i0("8em"))}</div>`, b0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${o0("16px", "16px")}${e}</span>`, x0 = (e) => `<span class="inline-flex items-center gap-1">${c0()}${e}</span>`, S0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${os("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, XEe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), C0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${XEe.has(e) ? i0("100%") + i0("80%") + i0("6em") : i0("6em")}</dd></div>`).join("")}</dl>`, ZEe = KEe;+function QEe(e = $1("credentials")) {+ let t = new Set(n0(e?.done, 64, String));return ZEe.map((e) => {let n = t.has(e.provider);return {@@ -68062,99 +68069,99 @@ function QEe(e = Q1("credentials")) {});}function $Ee(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>`;+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = s0() + (n && !e.done ? t.map(() => s0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${o0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${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 ? g0(z(e.why)) : ""}</div>`;+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + g0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? g0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => v0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${l0("保存配置")}</div>${S0("凭据文件")}</div></div>` : "";+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${S0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;}-function C0() {+function w0() {let e = QEe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;- return d0("来源凭据", u0(`<div class="flex flex-col gap-4">${[+ return f0("来源凭据", d0(`<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($Ee).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? r0("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">${as("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("保存配置"));+ ].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($Ee).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? i0("5em") : "" });}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 ? "更新渠道与令牌" : "启用并生成令牌"));+ let e = n0($1("indexers")?.open, 20, e0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${os("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${i0("6em")}${i0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${v0("名称")}${v0("Torznab 地址")}${v0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${b0("启用")}${l0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");+ return f0("资源搜索", d0(`<div class="flex min-w-0 flex-col gap-4">${S0("索引器连接帮助")}${e}</div>`), l0("添加索引器", "secondary") + l0("保存配置"));+}+function E0() {+ let e = $1("javBrowser"), t = e0(e?.enabled);+ return f0("浏览器添加 JAV", d0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${i0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${s0()}</div><p class="text-caption-1-regular text-text-secondary">${i0("70%")}</p><div class="flex flex-wrap items-center gap-2">${l0("重新检测", "secondary")}</div></div>`}${y0("浏览器添加的下载渠道")}${e0(e?.ready) ? "" : g0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${v0("Peach 地址")}</div>`), (t ? l0("关闭浏览器添加", "secondary") : "") + l0(t ? "更新渠道与令牌" : "启用并生成令牌"));}-var E0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${g0(e)}${us(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 D0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${_0(e)}${ds(i0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${v0(`${e}地址`)}</div><div class="w-full sm:w-28">${v0(`${e}端口`)}</div></div>${S0("代理认证")}` : "") + "</div>";+function O0() {+ let e = $1("cloudProxy"), t = n0(e?.accounts, 12, (e) => Array.isArray(e) ? [e0(e[0]), e0(e[1])] : [!1, !1]), n = t0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${_0(x0(i0("6em")))}${g0(i0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${_0(x0(i0("8em")))}${g0(i0("50%"))}${D0("数据代理", e)}${D0("API 代理", t)}<div class="flex justify-end">${l0("保存配置")}</div></div>`).join("") : g0(i0("60%"));+ return f0("CloudDrive 代理", d0(`${g0(Z1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), l0("重新读取", "secondary"));}-var O0 = (e, t, 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>`, eDe = (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>${cs({+var k0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, eDe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${ls({glyph: "folder-search",variant: "secondary",- attrs: n0+ attrs: r0})}</div>- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${O0("来源", us(r0("6em")), "w-full @lg:w-60")}${O0("读取策略", us(r0("4em")), "w-full @lg:w-32")}${e > 1 ? O0("移到媒体库", us(r0("4em")), "w-full @lg:w-48") : ""}</div></div>+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${k0("来源", ds(i0("6em")), "w-full @lg:w-60")}${k0("读取策略", ds(i0("4em")), "w-full @lg:w-32")}${e > 1 ? k0("移到媒体库", ds(i0("4em")), "w-full @lg:w-48") : ""}</div></div></div>`, tDe = (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>${cs({+ <div data-library-head>${ls({label: "自动识别",variant: "secondary",- attrs: n0-})}${i0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${us(r0("4em"), { prefix: "处理方式" })}</div>- <div data-library-folders>${eDe(t).repeat(e)}<div class="flex">${cs({+ attrs: r0+})}${a0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${ds(i0("4em"), { prefix: "处理方式" })}</div>+ <div data-library-folders>${eDe(t).repeat(e)}<div class="flex">${ls({label: "添加文件夹",variant: "secondary",- attrs: n0-})}</div></div></div>`, nDe = `<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>`, rDe = "<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 = Q1("media")) {- let t = t0(e?.folders, 12, (e) => e0(e, 50)).filter(Boolean);+ attrs: r0+})}</div></div></div>`, nDe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${q1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, rDe = "<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 = $1("media")) {+ let t = n0(e?.folders, 12, (e) => t0(e, 50)).filter(Boolean);return t.length ? {folders: t,- cloud: $1(e?.cloud)+ cloud: e0(e?.cloud)} : {folders: [1],cloud: !1};}function aDe() {- 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>${us(r0("4em"), { prefix: "对应目录" })}${cs({+ let e = $1("discovery"), t = e0(e?.enabled), n = t && e0(e?.cloud), r = n && e0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${ds(i0("4em"), { prefix: "对应目录" })}${ls({glyph: "trash",variant: "secondary",- attrs: n0+ attrs: r0})}</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("保存配置"));+ return f0("自动发现新文件", d0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${s0()}</div>`) + m0("发现新文件后自动入库", t ? i0("10em") : "") + m0("监视本机文件夹", t && e0(e?.watchLocal) ? i0("12em") : "") + m0("接收 CloudDrive2 通知") + (n ? p0("Webhook 配置", i0("20em"), "") : "") + (r ? d0(S0("查看配置"), !0) : "") + (n ? d0(`<div class="flex flex-col gap-3">${_0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(t0(e?.prefixes, 20))}</div><div>${l0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? l0("更换密钥", "secondary") : "") + l0("保存配置"));}var oDe = () => {let e = iDe();- return d0("媒体库与目录", u0(`${nDe}<div class="flex flex-col gap-4">${e.folders.map((t) => tDe(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 ? rDe : ""}<span class="text-body-medium text-text-primary">${r0("15em")}</span>`), c0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? D0() : "") + aDe() + 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"));-}, sDe = () => `<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("保存配置")), cDe = () => {- 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 f0("媒体库与目录", d0(`${nDe}<div class="flex flex-col gap-4">${e.folders.map((t) => tDe(t, e.folders.length)).join("")}</div>+ <div class="self-start">${l0("添加媒体库", "secondary")}</div>+ <p class="text-body-2-regular text-text-secondary">${J1}</p>+ ${e.cloud ? rDe : ""}<span class="text-body-medium text-text-primary">${i0("15em")}</span>`), l0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? O0() : "") + aDe() + f0("番号识别规则", d0(`${i0("90%")}${i0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), l0("保存配置")) + f0("视频预览", m0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + m0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + m0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+}, sDe = () => `<div>${l0("采集来源与登录状态", "secondary")}</div>` + w0() + f0("关注采集", p0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + h0("订阅源拉取") + m0("首次采集范围", "", "ui-configuration-skeleton-select") + h0("头像刷新") + h0("favicon 刷新")) + T0() + f0("作品资料站点", d0(`<p class="text-body-2-regular text-text-secondary">${Y1}</p>${v0(x0("JavDB 地址"), X1)}${v0(x0("MISSAV 地址"), X1)}`), l0("保存配置")), cDe = () => {+ let e = $1("downloads"), t = e0(e?.pikpak), n = e0(e?.pikpakRoots) ? y0(x0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${_0(x0("PikPak 根目录对应的媒体目录"))}${g0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = e0(e?.cloud) ? f0("云下载", d0(v0("CloudDrive2 地址") + v0("CloudDrive2 API 令牌", "需要离线任务权限。") + (e0(e?.has115) ? v0(x0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? v0(x0("PikPak 目标目录"), "目录要已经存在。") + n : "") + v0("等待上限(小时)", i0("14em"))), l0("检查连接", "secondary") + l0("保存配置")) : "", i = e0(e?.pikpakLoggedIn);+ return r + (t ? f0("PikPak 账号", i ? C0(["账号", i0("4em")]) : d0(v0("账号") + v0("密码") + b0("保存密码,登录过期时自动重新登录")), i ? l0("登出", "secondary") : (e0(e?.browserLogin) ? l0("用浏览器登录", "secondary") : "") + l0("登录"), {+ aside: s0(),mark: !0- }) : "") + T0();-}, k0 = {+ }) : "") + E0();+}, A0 = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"-}, A0 = {+}, j0 = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};function lDe(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;+ let t = e === "locked" ? "" : v0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + v0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");+ return (A0[e] ? g0(A0[e]) : "") + (e === "open" ? o0("100%", "64px") : "") + (e === "password" || e === "legacy" ? b0("关闭访问密码") : "") + (e === "password" ? v0("当前访问密码 *") : "") + t;}var uDe = () => {- 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([+ let e = $1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = e0(e?.tunnelNamed), r = (n && e0(e?.tunnelNamedMode) ? g0(j0.named) + v0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + v0("隧道令牌", i0("16em")) : g0(j0.quick)) + (e0(e?.tunnelNote) ? o0("100%", "64px") : ""), i = t0(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">${v0(["本机地址","手机连接地址","备用 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(lDe(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("保存配置"));+ ][t])}</div>${l0("复制地址", "secondary")}</div>`).join("");+ return (i || e0(e?.port) ? f0("访问地址", d0(a + (i ? o0("100%", "40px") : "") + (e0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${_0("谁可以访问")}${o0("min(100%, 20em)", "36px")}</div>` + (e0(e?.lan) ? v0("局域网访问地址") : "") : "") + (e0(e?.port) ? v0("端口") : "")), e0(e?.port) ? l0("保存配置") : "", e0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + f0("访问密码", d0(lDe(t)), t === "locked" ? "" : l0("保存配置")) + f0("Cloudflare 公网入口", d0((n ? o0("10.5em", "36px") : "") + r), l0("启动公网入口", n ? "secondary" : "primary") + (n ? l0("保存配置") : ""), { aside: s0() }) + f0("Peach 代理", m0("连接方式", "", "ui-configuration-skeleton-select") + (e0(e?.proxyAddress) ? d0(v0("代理地址"), !0) : ""), l0("保存配置"));}, dDe = ["版本","操作系统",@@ -68162,21 +68169,21 @@ var uDe = () => {"设置文件","日志目录"], fDe = () => {- let e = Q1("maintenance"), t = [+ let e = $1("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 : dDe)) + `<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, t0(e?.releaseFacts, 5))), n = t0(e?.releaseNotes, 4), r = t0(e?.storageRows, 12), i = t0(e?.storageNotes, 3), a = n0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${s0("6em")}</span>`, s = (t) => !e || e0(t), c = s(e?.reporting) ? m0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (e0(e?.reportingIdle) ? d0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${m0("上传馆藏与口味明细", e0(e?.sharingNotice) ? i0("12em") : "")}${e0(e?.sharingIdle) ? d0(o, !0) : ""}${u0(l0("预览上传内容", "secondary"))}</div>` : "";+ return f0("检查更新", C0(t) + (n ? d0(g0(i0("50%")).repeat(n), !0) : ""), l0("检查更新"), {+ aside: s0("4em"),+ status: i0("5em")+ }) + f0("自动更新", m0("自动检查新版本") + m0("自动下载更新") + m0("检查频率", e0(e?.autoUpdateHelp) ? i0("12em") : "", "ui-configuration-skeleton-select"), l0("保存配置")) + f0("开机自启", m0("开机后启动 Peach") + m0("只启动托盘,不打开网页") + m0("在桌面创建快捷方式", e0(e?.desktopNote) ? i0("12em") : "") + (e0(e?.startupNote) ? d0(g0(i0("60%")), !0) : ""), l0("保存配置")) + f0("视频播放", m0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + f0("存储空间", C0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => p0(i0("6em"), "", i0("4em"))).join("") : d0(g0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? d0(g0(i0("80%")).repeat(i), !0) : ""), l0("更改位置", "secondary") + l0(r ? "重新统计" : "统计占用")) + (c || l ? f0("数据上传", c + l) : "") + f0("运行信息", C0(a.length ? a : dDe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${p0("安装教程", "", l0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? f0("卸载 Peach", (e0(e?.uninstallHelp) ? d0(g0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + m0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + d0(S0("数据目录"), !0), l0("卸载 Peach"), { status: i0("16em") }) : "");};function pDe(e) {switch (e) {- case "系统诊断": return G1();+ case "系统诊断": return K1();case "来源与订阅": return sDe();case "下载渠道": return cDe();case "网络与访问": return uDe();@@ -68188,7 +68195,7 @@ function mDe(e = "媒体库与入库") {return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(sV).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">${pDe(e)}</div></div></div>`;}// src/react/jav/discovery-sorts.ts-var j0 = [+var M0 = [["taste","口味",@@ -68196,7 +68203,7 @@ var j0 = [],["release_date",- Dk[1],+ Vk[1],"按发行日期排序"],[@@ -68243,8 +68250,8 @@ function gDe(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>`, _De = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, N0 = "w-full min-w-0";-function P0() {+var N0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, _De = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";+function F0() {return ["w-20","w-16",@@ -68254,20 +68261,20 @@ 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 = dA()) {- 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">${_De("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>`;- let n = yA({- ...vA({+function I0(e, t = TA()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${N0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${_De("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${N0("80%")}${N0("60%")}${N0("40%")}</div></div>`).join("")}</div>`;+ let n = NA({+ ...MA({active: !0,home: !1,portrait: !1}),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="${P0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3"><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>${N0("85%")}${N0("65%")}</div><div data-media-byline>${N0("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>@@ -68276,32 +68283,32 @@ function F0(e, t = dA()) {function vDe(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>${cs({+ <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({variant: "primary",label: "查找资源",attrs: "disabled data-skeleton-action"})}</div>- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${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>- <form aria-label="${t}">${ss("筛选番号、女优或标题", "", 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>`;+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${S$.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>+ <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>${N0("100%")}</div>${I0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${yDe()}${I0(e)}</section>`}</div></div>`;}function yDe() {- 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="" ${dA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${as(t, "size-4")}</span>`;+ 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="" ${TA() === 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>${F0()}</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>- ${os()}- <span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${as("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" ? as("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${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>+ ${M0.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";+var L0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", R0 = (e = "60%") => `<span class="${L0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, z0 = "disabled data-skeleton-action", B0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";function bDe() {let e = ["馆藏视频",@@ -68310,27 +68317,27 @@ function bDe() {"使用空间"].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="${L0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${R0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${B0}" data-stats-chart>+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${R0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header><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">${R0()}</span><b class="text-title-2-medium">${R0("3em")}</b><small class="text-caption-1-regular">${R0()}</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">数据库中的当前统计 · ${R0("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="${B0}"><h3 class="text-title-2-medium">${e}</h3><div class="${L0} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -68339,7 +68346,7 @@ function bDe() {"最近看过","标签来源"].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="${L0} h-7"></div>`).join("")}</div></section></div></div>`;}@@ -68351,20 +68358,20 @@ function xDe() {"私有导出"].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="${L0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${R0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${L0} h-6"></div>`).join(""), r = (e) => `<section class="${B0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${L0} h-40"></div></section>`;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">${us("全部时间")}<span data-button-group data-split-button data-variant="primary">${cs({+ <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- })}${cs({+ attrs: z0+ })}${ls({glyph: "chevron-down",- attrs: R0+ attrs: z0})}</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>@@ -68382,11 +68389,11 @@ function xDe() {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">${R0("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="${B0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${L0} 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(["标签",@@ -68394,117 +68401,117 @@ function xDe() {"常访问网站","浏览线索"])}</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="${L0} h-7"></div>`).join("")}</div></section></div></div></div>`;}function SDe() {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="${L0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${R0("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${R0("3em")}</span>`).join("")}+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${R0("75%")}</span></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">${R0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${R0("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长","整组回收"- ].map((e) => cs({+ ].map((e) => ls({variant: "secondary",size: "small",label: e,- attrs: R0+ attrs: z0})).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">${R0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${R0("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 ${z0} 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 CDe() {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="${L0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${R0("80%")}</h3><p class="text-body-2-regular">${R0("60%")}</p></div></div>- <footer class="flex justify-end">${cs({+ <footer class="flex justify-end">${ls({variant: "secondary",size: "small",label: "查看版本",- attrs: R0+ attrs: z0})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- ${gs("待升级")}+ ${_s("待升级")}<ul class="card-grid-cover gap-5">${e.repeat(6)}</ul></div></div>`;}// src/board-skeleton.ts-var B0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, wDe = () => `${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>`, TDe = "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 V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, wDe = () => `${V0("80%")}${V0("48%")}`, H0 = (e, t) => e.repeat(t), U0 = "disabled data-skeleton-action", W0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, G0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, TDe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", K0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${["关注创作者","启用来源","检查失败","未看更新","JAV 订阅","未看新作"-].map((e) => `<div class="${TDe}"><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>`, EDe = (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>`, DDe = ({ table: e, sort: t, dir: n }) => {+].map((e) => `<div class="${TDe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${W0("3em")}</b></div>`).join("")}</div>`, EDe = (e = "") => IZ.some(([t]) => t === e) ? e : "list", q0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${IZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, J0 = (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>`, DDe = ({ 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>${cs({+ return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${W0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${ls({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: H0- })}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${cs({+ attrs: U0+ })}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${ls({variant: "ghost",glyph: "layout-grid",attrs: `aria-pressed="${!e}"`- })}${cs({+ })}${ls({variant: "ghost",glyph: "table",attrs: `aria-pressed="${e}"`- })}</span><span class="flex flex-none items-center gap-2">${us(r, { prefix: "排序" })}${cs({+ })}</span><span class="flex flex-none items-center gap-2">${ds(r, { prefix: "排序" })}${ls({variant: "secondary",glyph: n === "asc" ? "arrow-up" : "arrow-down"- })}</span>${e ? "" : cs({+ })}</span>${e ? "" : ls({variant: "secondary",glyph: "chevron-up",label: "全部收起",compact: !0,- attrs: H0+ attrs: U0})}</span></div></div>`;-}, J0 = () => `<span class="flex shrink-0 items-center gap-1">${cs({+}, Y0 = () => `<span class="flex shrink-0 items-center gap-1">${ls({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: H0-})}${cs({+ attrs: U0+})}${ls({variant: "secondary",size: "small",glyph: "trash",- attrs: H0-})}</span>`, ODe = () => `<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">${cs({+ attrs: U0+})}</span>`, ODe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${J0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${W0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${G0(14, 14)}</span>${G0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${W0("113px")}</span>${Y0()}</span></div>`, X0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${G0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${W0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${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">${cs({+ attrs: U0+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${G0(14, 14)}${G0(14, 14)}</span><span class="flex flex-none items-center gap-2">${ls({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: H0-})}${cs({+ attrs: U0+})}${ls({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: H0-})}</span></span></div><div data-source-divider>${V0(ODe(), e)}</div></section>`, kDe = () => {+ attrs: U0+})}</span></span></div><div data-source-divider>${H0(ODe(), e)}</div></section>`, kDe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {@@ -68524,30 +68531,30 @@ var B0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, wDeprovider: "provider",status: "status",checked: "checked"-}, MDe = "<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>", NDe = (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>${ADe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${jDe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${MDe}</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>`, PDe = (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>${us(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${W0(204, 32)}</div></div>`, FDe = () => `<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>${[+}, MDe = "<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>", NDe = (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>${ADe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${jDe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${MDe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${H0(`<tr>${[+ J0(),+ `<span class="flex min-w-0 items-center gap-2">${G0(32, 32, !0)}${W0("5em")}</span>`,+ W0("10em"),+ `<span class="flex items-center gap-1.5">${G0(14, 14)}${W0("4em")}</span>`,+ G0(48, 24),+ W0("113px"),+ Y0()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, PDe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${W0("111px")}</span><div data-toolbar-actions>${ds(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, FDe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${W0("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${U0(e)}</span>`).join("")}</div>`, IDe = (e) => {+].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, IDe = (e) => {let t = EDe(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">${FDe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = Yn(e.followSort, e.followDir), i = e.followPageSize || kDe(), a = n ? NDe(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"}">${DDe({+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(t)}<div class="flex flex-col gap-4">${FDe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = Yn(e.followSort, e.followDir), i = e.followPageSize || kDe(), a = n ? NDe(i, r) : `${J0("全选本页")}<div class="flex flex-col gap-3">${X0(3)}${X0(4)}${X0(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(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"}">${DDe({table: n,...r})}${a}${PDe(n, i)}</div></div></div></div></div>`;};function LDe() {- 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(wDe(), 4)}</div></aside></div>`;+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${V0("85%")}${V0("65%")}${H0(wDe(), 4)}</div></aside></div>`;}function RDe(e, t = {}) {let n = "";@@ -68560,13 +68567,13 @@ function RDe(e, t = {}) {"正在进行","本次未执行","最近完成"- ].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>`;+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${W0("8em")}</span><span class="text-caption-1-regular">${W0("14em")}</span>${W0("60%")}${W0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${W0("6em")}</div></div></section>`).join("")}</div></div>`;else if (e === "/duplicates") n = SDe();else if (e === "/quality-goals") n = CDe();- 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>${cs({+ 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: U0+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${H0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;else return "";return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}@@ -68577,21 +68584,21 @@ function zDe(e) {let n = e.ownerDocument.createElement("div");return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;}-function X0(e) {+function Z0(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");return zDe(n ?? t.body);}-function Z0(e) {+function Q0(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 Q0 = (e) => ["follow-item", e], BDe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, VDe = "/api/follow/save", HDe = "/api/follow/media/hide", $0 = class extends Error {+var $0 = (e) => ["follow-item", e], BDe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, VDe = "/api/follow/save", HDe = "/api/follow/media/hide", e2 = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function e2(e, t) {+async function t2(e, t) {let n = await B(BDe(e), t);for (let t of n.groups || []) {let r = Wi(t).find((t) => t.id === e);@@ -68602,7 +68609,7 @@ async function e2(e, t) {aliases: n.author_aliases || []};}- throw new $0();+ throw new e2();}function UDe(e) {for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {@@ -68615,8 +68622,8 @@ function UDe(e) {}return null;}-async function t2(e, t) {- let n = Q0(e.id), r = Gi(e.id), i = H.getQueryData(zi) ? null : H.fetchQuery({+async function n2(e, t) {+ let n = $0(e.id), r = Gi(e.id), i = H.getQueryData(zi) ? null : H.fetchQuery({queryKey: zi,queryFn: () => Bi(t)}), a = r ? {@@ -68625,7 +68632,7 @@ async function t2(e, t) {} : H.getQueryData(n) ?? UDe(e.id);a ? H.setQueryData(n, a) : await H.fetchQuery({queryKey: n,- queryFn: () => e2(e.id, t)+ queryFn: () => t2(e.id, t)}), await i;}function WDe(e, t, n, r) {@@ -68665,7 +68672,7 @@ function JDe(e) {return "外部文件页";}}-function n2(e, t) {+function r2(e, t) {return qDe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}function YDe(e, t, n = "") {@@ -68677,7 +68684,7 @@ function YDe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var XDe = (e) => String(e.name || "").trim(), r2 = (e, t) => e.tag_types?.[t] || "unknown", ZDe = /* @__PURE__ */ new Set([+var XDe = (e) => String(e.name || "").trim(), i2 = (e, t) => e.tag_types?.[t] || "unknown", ZDe = /* @__PURE__ */ new Set(["artist","character","copyright",@@ -68685,10 +68692,10 @@ var XDe = (e) => String(e.name || "").trim(), r2 = (e, t) => e.tag_types?.[t] ||"unknown"]);function QDe(e, t) {- let n = r2(e, t);+ let n = i2(e, t);return `r34-${ZDe.has(n) ? n : "general"}`;}-var i2 = [+var a2 = ["copyright","character","artist",@@ -68697,12 +68704,12 @@ var i2 = [];function $De(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = i2.indexOf(r2(e, t));- return n < 0 ? i2.length : n;+ let n = a2.indexOf(i2(e, t));+ return n < 0 ? a2.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function a2(e, t) {+function o2(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;}@@ -68710,21 +68717,21 @@ var eOe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), o2 = (e) => e?.size ? { size: e.size } : {};+}), s2 = (e) => e?.size ? { size: e.size } : {};function tOe(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: n2(t, e),- ...o2(t)+ source: r2(t, e),+ ...s2(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: n2(a, e),- ...o2(a)+ source: r2(a, e),+ ...s2(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -68732,7 +68739,7 @@ function tOe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var nOe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", s2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Ls(e, {+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, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -68755,35 +68762,35 @@ var nOe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", s2<div class="reviewtabs" data-section-items>${rOe.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>`, aOe = {- "/data-cleanup": () => F$(),- "/resource-sync": () => F$(),+ "/data-cleanup": () => I$(),+ "/resource-sync": () => I$(),"/review": () => iOe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${s2("正在读取采集来源", {+ ${c2("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function c2(e, { followLayout: t, followSort: n, followDir: r }) {+function l2(e, { followLayout: t, followSort: n, followDir: r }) {return RDe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (aOe[e] ?? (() => s2("正在读取页面")))();+ }) || (aOe[e] ?? (() => c2("正在读取页面")))();}-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, Gs(e));+var u2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function d2(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = u2(t);+ r && r === n || (e.innerHTML = t, Ks(e));}// src/react/components/related-section.tsx-function d2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function f2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, P.useCallback)((e) => {- e && (Gs(e), t(e));+ e && (Ks(e), t(e));}, [t]);return /* @__PURE__ */ (0, F.jsxs)("div", {...s,@@ -68794,7 +68801,7 @@ function d2({ 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)(jW, {+ children: /* @__PURE__ */ (0, F.jsx)(MW, {message: i,onRetry: a || (() => {})})@@ -68804,7 +68811,7 @@ function d2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,size: "compact",icon: Tz,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, F.jsx)(uI, {+ actions: /* @__PURE__ */ (0, F.jsx)(iI, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -68820,7 +68827,7 @@ function d2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,});}// src/react/components/detail-continuation.tsx-function f2({ queue: e, children: t, queueCards: n }) {+function p2({ 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),@@ -68828,12 +68835,12 @@ function f2({ queue: e, children: t, queueCards: n }) {});}// src/react/components/media-carousel.tsx-function p2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function m2({ 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]");if (!e) return;- let t = cc(e, { drag: !0 }), n = () => {+ let t = lc(e, { drag: !0 }), n = () => {let n = e.querySelector("[aria-current=\"true\"]");if (n && e.clientWidth) {let t = n.getBoundingClientRect(), r = e.getBoundingClientRect(), i = parseFloat(getComputedStyle(e).paddingLeft);@@ -68851,7 +68858,7 @@ function p2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]), (0, P.useLayoutEffect)(() => {let e = a.current, t = e?.querySelector("[data-follow-image-dots]"), n = e?.closest("[data-stage-media]");if (!e || !t) return;- let i = cc(t, { drag: !0 }), o = () => {+ let i = lc(t, { drag: !0 }), o = () => {let a = t.querySelector("[aria-current=\"true\"]");if (a && t.clientWidth) {let e = a.getBoundingClientRect(), n = t.getBoundingClientRect(), r = parseFloat(getComputedStyle(t).paddingLeft);@@ -68960,7 +68967,7 @@ var sOe = (e, t, n) => [t,n];-function m2(e, t, n, r) {+function h2(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);@@ -68989,17 +68996,17 @@ async function cOe(e, t, n, r) {}, t), r);return o.push(n), n;}, c = await s(i, 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), {+ 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), {pages: o,pageParams: o.map((e) => e.offset || 0)};}// src/react/components/detail-tags.tsx-var h2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var g2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }});-function g2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {+function _2({ 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),@@ -69038,7 +69045,7 @@ function g2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"aria-label": `修改标签 ${a(e.k)}`,...Bz(!!g.busy),onClick: () => _(e),- children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "pencil" })+ children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "pencil" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -69047,7 +69054,7 @@ function g2({ 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)(h2, { name: "x" })+ children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "x" })})]}, e.k)), /* @__PURE__ */ (0, F.jsx)(lOe, {@@ -69074,7 +69081,7 @@ function g2({ 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)(t$, {operation: "rename",selected: [u],scope: n,@@ -69103,7 +69110,7 @@ function lOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,let [e, t] = [c.current, l.current];if (!e || !t) return;"showPopover" in t && t.setAttribute("popover", "manual");- let n = Ko(e.parentElement, e, t);+ let n = qo(e.parentElement, e, t);S.current = n;let r = () => {let e = x.current;@@ -69129,7 +69136,7 @@ function lOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,_,t.length]);- let w = p ? jce(_, t, IM()) : {+ let w = p ? nce(_, t, fN()) : {recent: [],results: [],create: ""@@ -69172,7 +69179,7 @@ function lOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"aria-pressed": i,onClick: () => E(t, i),children: [- /* @__PURE__ */ (0, F.jsx)(h2, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, F.jsx)(g2, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-pick-name": "",children: n(t.k)@@ -69193,7 +69200,7 @@ function lOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"aria-label": "添加标签","aria-expanded": p,...Bz(!!i),- children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "plus" })+ children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "plus" })}), /* @__PURE__ */ (0, F.jsxs)("div", {ref: l,id: "tagPicker",@@ -69205,8 +69212,8 @@ function lOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"data-tag-search": "",children: [s ? /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: bs("正在读取标签") }- }) : /* @__PURE__ */ (0, F.jsx)(h2, { name: "search" }), /* @__PURE__ */ (0, F.jsx)("input", {+ dangerouslySetInnerHTML: { __html: xs("正在读取标签") }+ }) : /* @__PURE__ */ (0, F.jsx)(g2, { name: "search" }), /* @__PURE__ */ (0, F.jsx)("input", {ref: d,id: "tagPickSearch",maxLength: 80,@@ -69250,7 +69257,7 @@ function lOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,onClick: () => {C(), r(w.create);},- children: [/* @__PURE__ */ (0, F.jsx)(h2, { name: "plus" }), /* @__PURE__ */ (0, F.jsxs)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(g2, { name: "plus" }), /* @__PURE__ */ (0, F.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -69291,7 +69298,7 @@ function uOe({ item: e, label: t, actions: n }) {}, "POST", t);a(n), await i();}, () => {- o === "add" && LM(s);+ o === "add" && pN(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", {@@ -69307,7 +69314,7 @@ function uOe({ item: e, label: t, actions: n }) {"aria-label": "内容标签","data-follow-tag-editor": "","data-follow-detail-tags": "",- children: [/* @__PURE__ */ (0, F.jsx)(g2, {+ children: [/* @__PURE__ */ (0, F.jsx)(_2, {tags: $De(e, t).map((t) => ({k: t,cat: QDe(e, t)@@ -69327,14 +69334,14 @@ function uOe({ item: e, label: t, actions: n }) {});}// src/react/follow-detail/follow-detail-page.tsx-var _2 = (e) => Number(e) > 0, dOe = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var v2 = (e) => Number(e) > 0, dOe = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), v2 = R("external-link", "ui-externalmark");+}), y2 = R("external-link", "ui-externalmark");function fOe(e) {let { id: t, actions: n } = e, r = Pt({- queryKey: Q0(t),- queryFn: ({ signal: e }) => e2(t, e)+ queryKey: $0(t),+ queryFn: ({ signal: e }) => t2(t, e)}), i = Pt({queryKey: zi,queryFn: ({ signal: e }) => Bi(e)@@ -69351,9 +69358,9 @@ function fOe(e) {children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, F.jsx)(y2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {+ children: [/* @__PURE__ */ (0, F.jsx)(b2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? pOe(r.error) ? /* @__PURE__ */ (0, F.jsx)(mOe, { onBack: n.close }) : /* @__PURE__ */ (0, F.jsx)(jW, {+ children: r.isError ? pOe(r.error) ? /* @__PURE__ */ (0, F.jsx)(mOe, { onBack: n.close }) : /* @__PURE__ */ (0, F.jsx)(MW, {message: tn(r.error),onRetry: () => void r.refetch()}) : null@@ -69361,17 +69368,17 @@ function fOe(e) {})});}-var pOe = (e) => e instanceof $0 || e instanceof Hn && e.status === 404;+var pOe = (e) => e instanceof e2 || e instanceof Hn && e.status === 404;function mOe({ onBack: e }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {t.target.closest("[data-note-action]") && e();},- dangerouslySetInnerHTML: { __html: ys("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }+ dangerouslySetInnerHTML: { __html: bs("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var y2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {+var b2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -69401,13 +69408,13 @@ function hOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? GDe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, F.jsx)(C2, {+ let g = !u.embedded.length && u.collection ? GDe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, F.jsx)(w2, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, F.jsx)(C2, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, F.jsx)(w2, {item: g,current: null,helpers: o,@@ -69441,7 +69448,7 @@ function hOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, F.jsx)(f2, {+ }), /* @__PURE__ */ (0, F.jsx)(p2, {queue: _,children: a > 0 ? /* @__PURE__ */ (0, F.jsx)(gOe, {data: e,@@ -69457,19 +69464,19 @@ function gOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }let o = Pt({queryKey: sOe(e.item.id, t, n),queryFn: ({ signal: r }) => cOe(e, t, n, r)- }), [s] = (0, P.useState)(() => s2("正在读取推荐", {+ }), [s] = (0, P.useState)(() => c2("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, P.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: () => !1- }), [a]), l = m2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {+ }), [a]), l = h2(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)(d2, {+ return /* @__PURE__ */ (0, F.jsx)(f2, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,@@ -69479,11 +69486,11 @@ function gOe({ 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)(FZ, {variant: "next",group: e,media: t,- authorSources: a2(e.primary, u),+ authorSources: o2(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -69511,14 +69518,14 @@ function _Oe({ 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)(y2, { onClose: n.close }),+ /* @__PURE__ */ (0, F.jsx)(b2, { 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 wZ(Math.max(0, l), p) : void 0,onError: () => {_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();}@@ -69529,7 +69536,7 @@ function _Oe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {dangerouslySetInnerHTML: { __html: WU(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, F.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, F.jsx)(p2, {+ u ? /* @__PURE__ */ (0, F.jsx)(m2, {items: c,position: l,onSelect: r,@@ -69546,11 +69553,11 @@ function _Oe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var b2 = ({ kind: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var x2 = ({ kind: e }) => /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }});-function x2({ src: e }) {+function S2({ src: e }) {let [t, n] = (0, P.useState)(!1);return t ? null : /* @__PURE__ */ (0, F.jsx)("img", {src: e,@@ -69560,14 +69567,14 @@ function x2({ src: e }) {onError: () => n(!0)});}-function S2(e) {+function C2(e) {return (0, P.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}function vOe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = $i(e), a = S2(n);- return /* @__PURE__ */ (0, F.jsx)(dK, {+ let i = $i(e), a = C2(n);+ return /* @__PURE__ */ (0, F.jsx)(fK, {kind: "collection","data-follow-queue": "",title: "视频合集",@@ -69576,11 +69583,11 @@ function vOe({ group: e, itemId: t, helpers: n, actions: r }) {summary: `${KU(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {let i = e.duplicates.includes(n), a = YDe(e, n, i ? n.provider_label : ""), o = i ? WU(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, F.jsxs)(fK, {+ return /* @__PURE__ */ (0, F.jsxs)(pK, {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)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(b2, { kind: "video" }), _2(n.duration) ? /* @__PURE__ */ (0, F.jsx)("i", {+ 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", {className: "mono","data-mix-item-duration": "",children: kn(n.duration)@@ -69605,8 +69612,8 @@ function vOe({ group: e, itemId: t, helpers: n, actions: r }) {})});}-function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = S2(r), c = [];+function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = C2(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -69616,23 +69623,23 @@ function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, c.push(n)), n.items.push(e);});let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);- return /* @__PURE__ */ (0, F.jsx)(dK, {+ return /* @__PURE__ */ (0, F.jsx)(fK, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,summary: `${KU(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, F.jsx)(pK, {+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, F.jsx)(mK, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, F.jsxs)(fK, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, F.jsxs)(pK, {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)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(b2, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(x2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, F.jsx)("b", {"data-middle-truncate": "",children: XDe(n)@@ -69649,7 +69656,7 @@ function yOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpevariants: [],duplicates: [],has_wip: e.variant_kind === "wip"- }, f = QU(d, e), p = XU(e, a2(e, t.sources), n), m = p.credited ? "" : e.author && wn(e.author) !== wn(p.author) ? e.author : "", h = $U(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {+ }, f = QU(d, e), p = XU(e, o2(e, t.sources), n), m = p.credited ? "" : e.author && wn(e.author) !== wn(p.author) ? e.author : "", h = $U(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -69673,7 +69680,7 @@ function yOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: v2 }+ dangerouslySetInnerHTML: { __html: y2 }}) : null]}),/* @__PURE__ */ (0, F.jsxs)("div", {@@ -69682,7 +69689,7 @@ function yOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-reveal-line": "",children: [/* @__PURE__ */ (0, F.jsx)("span", { children: tW(e) }),- _2(e.duration) ? /* @__PURE__ */ (0, F.jsx)("span", { children: kn(e.duration) }) : null,+ v2(e.duration) ? /* @__PURE__ */ (0, F.jsx)("span", { children: kn(e.duration) }) : null,f ? /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -69699,7 +69706,7 @@ function yOe({ 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)(NZ, {name: p.entityName,actions: s,"data-id-cell": "creator",@@ -69756,7 +69763,7 @@ function yOe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",children: [JDe(e), /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: v2 }+ dangerouslySetInnerHTML: { __html: y2 }})]}, e))}) : null,@@ -69856,7 +69863,7 @@ function yOe({ 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)(x2, { src: e.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(dOe, { name: "image-off" }), /* @__PURE__ */ (0, F.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, F.jsx)(S2, { src: e.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(dOe, { name: "image-off" }), /* @__PURE__ */ (0, F.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]}, e.index))})]}) : null,@@ -69887,7 +69894,7 @@ function bOe({ text: e }) {ref: t,"data-follow-detail-summary": "","data-long-text": "",- lang: NF(e),+ lang: gF(e),"data-clamped": n ? void 0 : "",children: e}), i || n ? /* @__PURE__ */ (0, F.jsx)(q, {@@ -69900,7 +69907,7 @@ function bOe({ text: e }) {}) : null] });}function xOe(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 = e.id, i = $0(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) => {@@ -69919,7 +69926,7 @@ function xOe(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" && x$(), t.toast(nOe(n), { undo: i === "saved" ? void 0 : async () => {await V(pr, {item: r,to: i@@ -69956,9 +69963,9 @@ function xOe(e, t, n) {queryKey: nTe(r),queryFn: ({ signal: e }) => aTe(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 b$([e.id]) : await y$({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), b$();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), x$();},onError: d,onSettled: () => l("want", !1)@@ -69997,7 +70004,7 @@ function xOe(e, t, n) {};}// src/react/components/identity-cell.tsx-function w2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-id-face": "",dangerouslySetInnerHTML: { __html: `<span>${z(Fn(t.name))}</span>` + Xa({@@ -70043,7 +70050,7 @@ function w2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: s});}-function T2({ people: e, onOpen: t }) {+function E2({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "contents",@@ -70076,7 +70083,7 @@ function T2({ people: e, onOpen: t }) {});}// src/react/components/folded-title.ts-function E2(e) {+function D2(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;@@ -70093,9 +70100,9 @@ function E2(e) {};}// src/react/item-detail/catalog-picture.tsx-function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, 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)(mQ, {item: {code: e.code,has_cover: !1,@@ -70127,9 +70134,9 @@ function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}, o);}// src/react/jav-detail/jav-detail.ts-var O2 = (e) => ["jav-detail", e], k2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), SOe = (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),+var k2 = (e) => ["jav-detail", e], A2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), SOe = (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),staleTime: 216e5,revalidateIfStale: !0});@@ -70139,22 +70146,22 @@ function COe(e, t) {return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;}// src/react/item-detail/external-playback.tsx-var j2 = "peach.playback-target.v1", M2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];+var M2 = "peach.playback-target.v1", N2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];function wOe() {try {- return localStorage.getItem(j2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;+ return localStorage.getItem(M2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;} catch {return "local:default";}}-function N2({ id: e, onOpened: t }) {+function P2({ id: e, onOpened: t }) {let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(wOe), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(0), f = OH();(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) || M2.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) || N2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));}).catch((t) => {- e.signal.aborted || (r([]), a((e) => M2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));+ e.signal.aborted || (r([]), a((e) => N2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));}), () => e.abort();}, [u]);let p = () => void f.run("open", async (t) => {@@ -70178,17 +70185,17 @@ function N2({ 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)(p1, {id: `external-player-${e}`,label: "外部播放器",- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...M2],+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...N2],value: i,disabled: n === null || !!f.busy,epoch: u * 2 + Number(n !== null),onPick: (e) => {a(e), s(null), f.setError("");try {- localStorage.setItem(j2, e);+ localStorage.setItem(M2, e);} catch {}}}), /* @__PURE__ */ (0, F.jsx)(q, {@@ -70218,7 +70225,7 @@ function N2({ id: e, onOpened: t }) {});}// src/react/boardui/components/base/switch/switch.tsx-var TOe = DF({+var TOe = uF({sm: {track: "h-4 w-7",trackRadius: {@@ -70284,18 +70291,18 @@ function EOe({ state: e, size: t = "md", shape: n = "pill" }) {let r = TOe[t];return /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,- className: EF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? EF("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: lF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? lF("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: EF("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),- children: /* @__PURE__ */ (0, F.jsx)("span", { className: EF("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })+ className: lF("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: lF("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })})});}-function P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, F.jsx)(Ode, {+function F2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, F.jsx)(kde, {ref: i,...a,- className: (t) => EF("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ className: (t) => lF("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)(EOe, {state: e,size: n,@@ -70312,7 +70319,7 @@ var DOe = "/api/cover-crop", OOe = (e, t) => V(DOe, {box: t});// src/react/cover-crop/cover-crop-page.tsx-function F2({ className: e }) {+function I2({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -70335,7 +70342,7 @@ function kOe({ 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)(F2, { className: "size-3.75" })+ children: /* @__PURE__ */ (0, F.jsx)(I2, { className: "size-3.75" })}), /* @__PURE__ */ (0, F.jsx)(Nz, {isOpen: i,onOpenChange: a,@@ -70365,18 +70372,18 @@ function AOe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {x1: n.x1,y1: n.y1} : gCe(e, La);- c(XZ(t, e, null));+ c(ZZ(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)(Pz, { children: /* @__PURE__ */ (0, F.jsx)(F2, { className: "size-6" }) }),+ /* @__PURE__ */ (0, F.jsx)(Pz, { children: /* @__PURE__ */ (0, F.jsx)(I2, { className: "size-6" }) }),/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, F.jsx)(MI, {+ /* @__PURE__ */ (0, F.jsx)(jI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -70391,7 +70398,7 @@ function AOe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, F.jsx)(QF, {+ /* @__PURE__ */ (0, F.jsx)(HF, {icon: fz,size: "small","aria-label": "关闭",@@ -70402,24 +70409,24 @@ function AOe({ 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)(nQ, {src: t,aspect: l ? La : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- JZ(e) && p(e);+ YZ(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)(P2, {+ children: [/* @__PURE__ */ (0, F.jsx)(F2, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(XZ(s, a, La));+ u(e), e && s && a && c(ZZ(s, a, La));},children: /* @__PURE__ */ (0, F.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -70447,21 +70454,21 @@ function AOe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {] });}// src/react/item-detail/item-detail-page.tsx-var I2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var L2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), L2 = ({ html: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+}), R2 = ({ html: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), R2 = (e) => Number(e) > 0 ? jn(Number(e)) : "大小未知";+}), z2 = (e) => Number(e) > 0 ? jn(Number(e)) : "大小未知";function jOe(e) {let { queue: t, actions: n } = e, r = Pt({- queryKey: t ? _M(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => EM(t, e.helpers, n),+ queryKey: t ? qM(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => nN(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? kM(i, e.id) : t ? null : e.id, o = Pt({- queryKey: gM(a ?? 0),- queryFn: ({ signal: e }) => TM(a, e),+ }), i = t && r.data || null, a = i ? aN(i, e.id) : t ? null : e.id, o = Pt({+ queryKey: KM(a ?? 0),+ queryFn: ({ signal: e }) => tN(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -70472,9 +70479,9 @@ function jOe(e) {children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, F.jsx)(z2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {+ children: [/* @__PURE__ */ (0, F.jsx)(B2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, F.jsx)(jW, {+ children: e ? /* @__PURE__ */ (0, F.jsx)(MW, {message: tn(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -70486,11 +70493,11 @@ function jOe(e) {}return /* @__PURE__ */ (0, F.jsx)(MOe, {...e,- item: Oce(o.data, i),+ item: $se(o.data, i),queue: i}, o.data.id);}-var z2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {+var B2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -70504,13 +70511,13 @@ function MOe(e) {(0, P.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, P.useEffect)(() => {- n?.kind === "playlist" && V(vM, {+ n?.kind === "playlist" && V(JM, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = Rce(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = AM(n, t.id);+ let s = lce(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = oN(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,@@ -70535,7 +70542,7 @@ function MOe(e) {helpers: i,actions: r})]- }), /* @__PURE__ */ (0, F.jsx)(f2, {+ }), /* @__PURE__ */ (0, F.jsx)(p2, {queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,queue: n ? /* @__PURE__ */ (0, F.jsx)(FOe, {queue: n,@@ -70554,10 +70561,10 @@ function MOe(e) {}function NOe({ 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: O2(e.code || ""),+ queryKey: k2(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, k2(e.code, t, n);+ return d.current = !1, A2(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -70602,26 +70609,26 @@ function NOe({ 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)(z2, { onClose: r.close }),+ /* @__PURE__ */ (0, F.jsx)(B2, { 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)(I2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}),- l === -2 ? null : /* @__PURE__ */ (0, F.jsx)(D2, {+ l === -2 ? null : /* @__PURE__ */ (0, F.jsx)(O2, {item: e,image: l,source: p.find((e) => e.index === l)?.source}, e.id),- /* @__PURE__ */ (0, F.jsx)(p2, {+ /* @__PURE__ */ (0, F.jsx)(m2, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, F.jsx)(D2, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, F.jsx)(O2, {item: e,image: t.index === -2 ? m[0].index : t.index,source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,@@ -70658,7 +70665,7 @@ function NOe({ 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)(N2, {+ /* @__PURE__ */ (0, F.jsx)(P2, {id: e.id,onOpened: () => r.toast("已请求打开本地播放器")}, e.id)@@ -70668,7 +70675,7 @@ function NOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: arole: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, F.jsx)(L2, { html: y }),+ /* @__PURE__ */ (0, F.jsx)(R2, { html: y }),/* @__PURE__ */ (0, F.jsx)("b", { children: "在线作品" }),/* @__PURE__ */ (0, F.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, F.jsx)("button", {@@ -70683,7 +70690,7 @@ function NOe({ 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)(L2, { html: y }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["点此开始拉流 · ", R2(e.size)] })]+ children: [/* @__PURE__ */ (0, F.jsx)(R2, { html: y }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["点此开始拉流 · ", z2(e.size)] })]}) : null]});@@ -70699,7 +70706,7 @@ function POe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, F.jsx)(L2, { html: t }),+ /* @__PURE__ */ (0, F.jsx)(R2, { 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", {@@ -70714,7 +70721,7 @@ function POe({ item: e, badge: t, helpers: n, actions: r }) {});}function FOe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Pce(e), a = (0, P.useRef)(null), o = LOe(e, t, r), s = (0, P.useRef)(o);+ let i = ace(e), a = (0, P.useRef)(null), o = LOe(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, {@@ -70741,7 +70748,7 @@ function FOe({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, F.jsx)(dK, {+ return /* @__PURE__ */ (0, F.jsx)(fK, {kind: e.kind,title: i.title,summary: i.summary,@@ -70750,11 +70757,11 @@ function FOe({ 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 ${Mce[i.edition_label] || "censored"}`,+ className: `javedition ${rce[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && OM(i);- return /* @__PURE__ */ (0, F.jsxs)(fK, {+ }) : null, s = e.kind === "playlist" && iN(i);+ return /* @__PURE__ */ (0, F.jsxs)(pK, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -70764,25 +70771,25 @@ function FOe({ 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)(L2, { html: co(i, n.javImage()) }), /* @__PURE__ */ (0, F.jsx)("i", {+ pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(R2, { 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)(L2, { html: fo(i) }),+ lead: /* @__PURE__ */ (0, F.jsx)(R2, { 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)(I2, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { 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)(I2, { name: "x" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, F.jsxs)("span", {@@ -70793,14 +70800,14 @@ function FOe({ 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 ? RM(i.part_label) : po(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? mN(i.part_label) : po(i, n.tagLabel)})]}, i.id);})});}function IOe(e, t) {- let n = Ft({ mutationFn: (t) => V(vM, {+ let n = Ft({ mutationFn: (t) => V(JM, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -70814,10 +70821,10 @@ function IOe(e, t) {});}function LOe(e, t, n) {- let r = _M({+ let r = qM({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (H.setQueryData(r, DM(e)), e), a = (t) => V(vM, {+ }), i = (e) => (H.setQueryData(r, rN(e)), e), a = (t) => V(JM, {id: e.playlistId,...t}).then((e) => e.playlist), o = Ft({@@ -70833,8 +70840,8 @@ function LOe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = Ice(s, t, r, c);- if (Lce(l, s)) return;+ let l = sce(s, t, r, c);+ if (cce(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -70845,7 +70852,7 @@ function LOe(e, t, n) {},remove: (e) => {let r = s;- Vc({+ Hc({title: "移出播放列表",body: "这个视频将从播放列表移除,视频文件保留。",confirmLabel: "移出播放列表",@@ -70907,7 +70914,7 @@ function ROe({ 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)(I2, { name: "monitor" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "monitor" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.width,"×",e.height@@ -70915,11 +70922,11 @@ function ROe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "hard-drive" }), /* @__PURE__ */ (0, F.jsx)("span", { children: R2(e.size) })]+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "hard-drive" }), /* @__PURE__ */ (0, F.jsx)("span", { children: z2(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "calendar" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "calendar" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",@@ -70927,11 +70934,11 @@ function ROe({ 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)(I2, { name: "globe" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { 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)(N2, {+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, F.jsx)(P2, {id: e.id,onOpened: () => i.toast("已请求打开本地播放器")}, e.id) : null,@@ -70946,10 +70953,10 @@ function ROe({ item: e, queue: t, write: n, helpers: r, actions: i }) {helpers: r,actions: i}),- /* @__PURE__ */ (0, F.jsx)(jK, {- assetIds: AK([e], r.javImage()),+ /* @__PURE__ */ (0, F.jsx)(MK, {+ assetIds: jK([e], r.javImage()),onComplete: () => {- H.invalidateQueries({ queryKey: gM(e.id) });+ H.invalidateQueries({ queryKey: KM(e.id) });}}),/* @__PURE__ */ (0, F.jsx)(WOe, { item: e }),@@ -70966,7 +70973,7 @@ function ROe({ 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)(I2, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "thumbs-up" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -70978,7 +70985,7 @@ function ROe({ 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)(I2, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "notebook-pen" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -70989,7 +70996,7 @@ function ROe({ 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)(I2, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "thumbs-down" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71000,7 +71007,7 @@ function ROe({ 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)(I2, { name: "eye" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "eye" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71011,7 +71018,7 @@ function ROe({ 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)(I2, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71020,7 +71027,7 @@ function ROe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "playlist" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "playlist" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71031,7 +71038,7 @@ function ROe({ 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)(I2, { name: "sparkles" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "sparkles" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71042,7 +71049,7 @@ function ROe({ 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)(I2, { name: "trash" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "trash" })})]}),@@ -71057,7 +71064,7 @@ function ROe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, F.jsx)(I2, { name: "sperm" }),+ /* @__PURE__ */ (0, F.jsx)(L2, { name: "sperm" }),/* @__PURE__ */ (0, F.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, F.jsx)("b", {className: "mono",@@ -71071,7 +71078,7 @@ function ROe({ item: e, queue: t, write: n, helpers: r, actions: i }) {});}function zOe({ 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) + Fce(e, t);+ 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) + oce(e, t);return /* @__PURE__ */ (0, F.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, F.jsxs)("div", {@@ -71108,9 +71115,9 @@ function zOe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {box: e.poster_box || null,onSaved: (t) => {H.invalidateQueries({- queryKey: gM(e.id),+ queryKey: KM(e.id),exact: !0- }), fM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), HM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,@@ -71143,7 +71150,7 @@ function BOe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void a(),- dangerouslySetInnerHTML: { __html: r === "reveal" ? bs("正在定位") : R("folder-open") }+ dangerouslySetInnerHTML: { __html: r === "reveal" ? xs("正在定位") : R("folder-open") }}), /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-sync": e,@@ -71154,18 +71161,18 @@ function BOe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "folder-sync" })})] });}function VOe({ item: e, write: t }) {- let n = mM(e.rating);+ let n = WM(e.rating);return /* @__PURE__ */ (0, F.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": pM(e.rating),- children: [/* @__PURE__ */ (0, F.jsx)($J, {+ "data-value": UM(e.rating),+ children: [/* @__PURE__ */ (0, F.jsx)(eY, {value: n,onRate: (e) => t.rate(e),busyStar: [@@ -71179,14 +71186,14 @@ function VOe({ item: e, write: t }) {}), /* @__PURE__ */ (0, F.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: wce(e.rating)+ children: Yse(e.rating)})]});}function HOe({ item: e, actions: t }) {- let n = (0, P.useMemo)(() => kce(e), [e]), [r, i] = (0, P.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+ let n = (0, P.useMemo)(() => ece(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)(w2, {+ return /* @__PURE__ */ (0, F.jsx)(T2, {kind: e,person: n,onOpen: t.openEntity,@@ -71218,7 +71225,7 @@ function HOe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "user-round" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "user-round" })}), /* @__PURE__ */ (0, F.jsx)("span", {"data-id-name": "",children: "未归属"@@ -71249,7 +71256,7 @@ function HOe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, F.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, F.jsx)(T2, {+ }) : null, /* @__PURE__ */ (0, F.jsx)(E2, {people: n.series,onOpen: t.openEntity})]@@ -71258,9 +71265,9 @@ function HOe({ item: e, actions: t }) {function UOe({ item: e, write: t, helpers: n, actions: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-item-tags": "",- children: /* @__PURE__ */ (0, F.jsx)(g2, {+ children: /* @__PURE__ */ (0, F.jsx)(_2, {id: "detailTags",- tags: Ace(e, n),+ tags: tce(e, n),candidates: n.tagCandidates(),label: n.tagLabel,adding: [...t.busy].some((e) => e.startsWith("add:")),@@ -71272,7 +71279,7 @@ function UOe({ item: e, write: t, helpers: n, actions: r }) {});}function WOe({ item: e }) {- let t = zce(e);+ let t = uce(e);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -71340,17 +71347,17 @@ function GOe({ item: e, open: t, write: n }) {"aria-label": "提交喜爱理由",...n.busyAttrs("preference"),onClick: () => n.preference({ reason: r }),- dangerouslySetInnerHTML: { __html: o ? `${bs("正在提交喜爱理由")}<span>提交中</span>` : "<span>提交</span>" }+ dangerouslySetInnerHTML: { __html: o ? `${xs("正在提交喜爱理由")}<span>提交中</span>` : "<span>提交</span>" }})]})]});}function KOe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Pt({- queryKey: Tce(t.id, n),- queryFn: async ({ signal: e }) => (await B(Dce(t.id, n), e)).items || []+ queryKey: Xse(t.id, n),+ queryFn: async ({ signal: e }) => (await B(Qse(t.id, n), e)).items || []}), [o] = (0, P.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, F.jsx)(d2, {+ return /* @__PURE__ */ (0, F.jsx)(f2, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,@@ -71358,7 +71365,7 @@ function KOe(e) {onRetry: () => {a.refetch();},- children: a.data ? /* @__PURE__ */ (0, F.jsx)(cY, {+ children: a.data ? /* @__PURE__ */ (0, F.jsx)(lY, {mode: "items",variant: "next",items: a.data,@@ -71371,11 +71378,11 @@ function KOe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, F.jsx)(L2, { html: o })+ }) : /* @__PURE__ */ (0, F.jsx)(R2, { html: o })});}function qOe(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 = e.id, i = KM(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) => {@@ -71391,7 +71398,7 @@ function qOe(e, t, n) {rating: t.rating,o_count: t.o_count};- return dM(r, n), t;+ return VM(r, n), t;}, m = (e, t) => V(e, {id: r,...t@@ -71406,7 +71413,7 @@ function qOe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(yM, t === void 0 ? { kind: e } : {+ let n = await m(YM, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -71426,21 +71433,21 @@ function qOe(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = hM(n, e);- await _("rate", r), t.toast(r ? `已评 ${mM(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = GM(n, e);+ await _("rate", r), t.toast(r ? `已评 ${WM(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(zM(e, r), { undo: async () => {+ t.toast(hN(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(xM, {});+ let e = await m(ZM, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(xM, {})).watch_later });+ p({ watch_later: (await m(ZM, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -71450,9 +71457,9 @@ function qOe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(SM, { wanted: !e.wanted });+ }), r = await m(QM, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(SM, e));+ n(await m(QM, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -71466,7 +71473,7 @@ function qOe(e, t, n) {});u("保存中…");try {- o(await m(CM, {+ o(await m($M, {liked: a,reason: i}));@@ -71476,7 +71483,7 @@ function qOe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(CM, r));+ o(await m($M, r));} });});},@@ -71485,37 +71492,37 @@ function qOe(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => NM(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(bM, {+ p((t) => lN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(XM, {operation: "add",tag: e.k- }), p((t) => PM(t, e));+ }), p((t) => uN(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(bM, {+ let e = await m(XM, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- MM(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => PM(e, {+ cN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => uN(e, {k: i,cat: "general"- })), LM(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(bM, {+ })), pN(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(XM, {operation: "remove",tag: i- }), p((e) => NM(e, i));+ }), p((e) => lN(e, i));} }));});}};}// src/react/activity/downloads-panel.tsx-var B2 = "/api/downloads", V2 = ["downloads"], JOe = "/api/downloads/cancel", YOe = "/api/downloads/postprocess", H2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, XOe = {+var V2 = "/api/downloads", H2 = ["downloads"], JOe = "/api/downloads/cancel", YOe = "/api/downloads/postprocess", U2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, XOe = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -71524,21 +71531,21 @@ var B2 = "/api/downloads", V2 = ["downloads"], JOe = "/api/downloads/cancel", YOremote_done: "lime",landed: "lime",submitted: "neutral"-}, U2 = (e) => {- let t = e.display_code || e.code || "", { title: n } = PF({+}, W2 = (e) => {+ let t = e.display_code || e.code || "", { title: n } = _F({is_jav: !!t,code: t,name: e.display_title ?? e.title ?? e.display_name ?? e.remote_name});return [t, n].filter(Boolean).join(" · ") || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`;-}, W2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", ZOe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+}, G2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", ZOe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");function QOe() {let e = (0, P.useId)(), t = It({- queryKey: [...V2, "pages"],+ queryKey: [...H2, "pages"],initialPageParam: null,- queryFn: ({ signal: e, pageParam: t }) => B(`${B2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),+ queryFn: ({ signal: e, pageParam: t }) => B(`${V2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),getNextPageParam: (e) => e.has_more ? e.next_before_id ?? void 0 : void 0,- refetchInterval: (e) => e.state.data?.pages.some((e) => H2(e) === 5e3) ? 5e3 : 3e4+ refetchInterval: (e) => e.state.data?.pages.some((e) => U2(e) === 5e3) ? 5e3 : 3e4}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];return !r.length && !t.error ? null : /* @__PURE__ */ (0, F.jsxs)("section", {id: "cloudDownloads",@@ -71577,12 +71584,12 @@ function QOe() {});}function $Oe({ task: e, writable: t }) {- let n = oe(), r = OH(), [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 = [+ let n = oe(), r = OH(), [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 = [e.display_code || e.code ? "" : "番号未识别",e.target,- YF(e.submitted_at)+ IF(e.submitted_at)].filter(Boolean).join(" · "), h = () => {- n.invalidateQueries({ queryKey: V2 });+ n.invalidateQueries({ queryKey: H2 });}, g = () => {r.run("cancel", (t) => V(JOe, { id: e.id }, "POST", t), h);}, _ = () => {@@ -71594,7 +71601,7 @@ function $Oe({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => V(B2, t, "POST", e), h);+ r.run("resubmit", (e) => V(V2, t, "POST", e), h);}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {@@ -71614,24 +71621,24 @@ function $Oe({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-download-cover": "","data-media-pic": "",- style: { "--card-ratio": String(lA) },+ style: { "--card-ratio": String(CA) },className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",children: [u?.has_cover ? null : /* @__PURE__ */ (0, F.jsx)("span", {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, F.jsx)(MW, {+ u?.has_cover ? /* @__PURE__ */ (0, F.jsx)(NW, {artwork: {kind: "cover",html: no(u, "big")},- relayout: (e) => xl(e, "big")+ relayout: (e) => Sl(e, "big")}) : null,f ? /* @__PURE__ */ (0, F.jsx)("a", {"data-download-cover-link": "",href: f,- "aria-label": `打开作品详情:${U2(e)}`,+ "aria-label": `打开作品详情:${W2(e)}`,className: "absolute inset-0 z-1 rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring"}) : null]@@ -71642,19 +71649,19 @@ function $Oe({ 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: U2(e),+ title: W2(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: U2(e)- }) : U2(e)+ children: W2(e)+ }) : W2(e)}), /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, F.jsx)(sZ, {+ children: [/* @__PURE__ */ (0, F.jsx)(cZ, {color: XOe[e.state] ?? "neutral",children: e.state_label- }), e.state === "ingested" ? /* @__PURE__ */ (0, F.jsx)(sZ, {+ }), e.state === "ingested" ? /* @__PURE__ */ (0, F.jsx)(cZ, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",children: e.postprocess_label}) : null]@@ -71755,7 +71762,7 @@ function $Oe({ task: e, writable: t }) {id: c,"data-download-title-full": !0,className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",- children: U2(e)+ children: W2(e)}) : null,l || e.postprocess_detail ? /* @__PURE__ */ (0, 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",@@ -71768,13 +71775,13 @@ function $Oe({ task: e, writable: t }) {});}// src/react/activity/work-code.ts-var G2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), K2 = (e, t) => !!G2(e) && G2(e) === G2(t);+var K2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), q2 = (e, t) => !!K2(e) && K2(e) === K2(t);// src/react/activity/resource-search.tsxfunction eke({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("span", {className: e,"aria-hidden": !0,- dangerouslySetInnerHTML: { __html: bs("") }+ dangerouslySetInnerHTML: { __html: xs("") }});}function tke(e) {@@ -71797,7 +71804,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) => K2(e.code, t));+ let r = (n.items || []).find((e) => q2(e.code, t));i(r ? {code: r.code,title: String(r.catalog_title || r.name || ""),@@ -71928,7 +71935,7 @@ var rke = {adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};-function q2({ prefill: e, close: t, receipt: n, provider: r }) {+function J2({ prefill: e, close: t, receipt: n, provider: r }) {return /* @__PURE__ */ (0, F.jsx)(Nz, {isOpen: !!e,onOpenChange: (e) => {@@ -71945,12 +71952,12 @@ function q2({ prefill: e, close: t, receipt: n, provider: r }) {}function ike({ prefill: e, close: t, receipt: n, provider: r }) {let i = Pt({- queryKey: V2,- queryFn: ({ signal: e }) => B(`${B2}?limit=50`, e),- refetchInterval: (e) => H2(e.state.data)+ queryKey: H2,+ queryFn: ({ signal: e }) => B(`${V2}?limit=50`, e),+ refetchInterval: (e) => U2(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)(MI, {+ children: [/* @__PURE__ */ (0, F.jsx)(jI, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"@@ -72008,14 +72015,14 @@ function ake({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => V(B2, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: V2 });+ b(""), S.run("submit", (e) => V(V2, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: H2 });let t = rke[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = W2(e.task);+ let n = G2(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -72051,13 +72058,13 @@ function ake({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provideinitialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- K2(e, _?.code) || (v(K2(e, n.code) ? n : null), f("")), m(e);+ q2(e, _?.code) || (v(q2(e, n.code) ? n : null), f("")), m(e);},- onWork: (e) => v((t) => e ? K2(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? q2(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : K2(t?.code, n.code) ? t : null),+ } : e : q2(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}@@ -72120,7 +72127,7 @@ function ake({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providemaxLength: 60,value: p,onChange: (e) => {- m(e), K2(e, _?.code) || v(null);+ m(e), q2(e, _?.code) || v(null);}}),y || S.error ? /* @__PURE__ */ (0, F.jsx)(ZH, { children: y || S.error }) : null@@ -72143,11 +72150,11 @@ function ake({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide});}// src/react/publication-cache.ts-var J2 = 864e5, Y2 = (e) => {+var Y2 = 864e5, X2 = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function X2(e) {+function Z2(e) {let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");if (!t) return;let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));@@ -72156,24 +72163,24 @@ function X2(e) {return Date.UTC(n, r + 1, Math.min(i, o));}function oke(e, t = Date.now()) {- let n = X2(e);- return n !== void 0 && Y2(t) > n ? Infinity : J2;+ let n = Z2(e);+ return n !== void 0 && X2(t) > n ? Infinity : Y2;}-function Z2(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : oke(t, n) === Infinity ? Y2(e) > X2(t) : n - e < J2;+function Q2(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : oke(t, n) === Infinity ? X2(e) > Z2(t) : n - e < Y2;}// src/react/wants/resource-cache.ts-var Q2 = "peach.want-resources.v2";-function $2(e) {+var $2 = "peach.want-resources.v2";+function e4(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function e4(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !$2(e) ? Date.now() - t < 6e4 : Z2(t, n));+function t4(e, t, n) {+ return !!e && !e.cache_stale && (e.state === "error" || !e4(e) ? Date.now() - t < 6e4 : Q2(t, n));}-function t4() {+function n4() {try {- let e = JSON.parse(localStorage.getItem(Q2) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && $2(e.result) && e.result.items.every((e) => e && [+ let e = JSON.parse(localStorage.getItem($2) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && e4(e.result) && e.result.items.every((e) => e && ["magnet","ed2k","url"@@ -72183,22 +72190,22 @@ function t4() {}}function ske(e, t) {- let n = t4().find((t) => t.code === e);- return n && Z2(n.saved, t) ? n : void 0;+ let n = n4().find((t) => t.code === e);+ return n && Q2(n.saved, t) ? n : void 0;}function cke(e) {- let t = new Map(t4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+ let t = new Map(n4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();for (let r of e) {if (!r.code) continue;let e = t.get(`all-sources:${r.code}`);- e && Z2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));+ e && Q2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));}return n;}function lke(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([{+ if (t.state === "ready" && e4(t)) try {+ let n = n4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem($2, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -72214,7 +72221,7 @@ function dke(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}// src/react/wants/want-magnets.tsx-function n4({ icon: e, children: t, title: n }) {+function r4({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, F.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -72224,7 +72231,7 @@ function n4({ icon: e, children: t, title: n }) {}), t]});}-function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+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 = OH(), p = oe(), m = (0, P.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, P.useMemo)(() => ske(h, e.release_date), [h, e.release_date]);(0, P.useEffect)(() => {if (!s.current || c) return;@@ -72251,9 +72258,9 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcinitialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});@@ -72268,7 +72275,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc]);let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {- let n = await V(B2, {+ let n = await V(V2, {magnet: r.uri,provider: v.key,target: v.target,@@ -72279,7 +72286,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcif (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");return n;}, (e) => {- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: V2 });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: H2 });});}, b = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -72315,7 +72322,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourctone: "neutral",children: dke(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, F.jsx)(uI, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, F.jsx)(iI, {variant: "secondary",size: "small",className: "self-start",@@ -72344,7 +72351,7 @@ function r4({ 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)(cZ, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"@@ -72358,25 +72365,25 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-facts": "",className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, F.jsx)(n4, {- icon: lpe,+ /* @__PURE__ */ (0, F.jsx)(r4, {+ icon: upe,children: e.source}),- /* @__PURE__ */ (0, F.jsx)(n4, {+ /* @__PURE__ */ (0, F.jsx)(r4, {icon: _z,title: `来源大小:${e.size}`,children: uke(e.size)}),- e.files ? /* @__PURE__ */ (0, F.jsx)(n4, {- icon: epe,+ e.files ? /* @__PURE__ */ (0, F.jsx)(r4, {+ icon: tpe,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, F.jsx)(n4, {- icon: Bfe,+ /* @__PURE__ */ (0, F.jsx)(r4, {+ icon: Vfe,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, F.jsx)(n4, {+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, F.jsx)(r4, {icon: xz,children: e}, e))@@ -72386,7 +72393,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-actions": "",className: "flex flex-wrap gap-2",children: [- /* @__PURE__ */ (0, F.jsx)(uI, {+ /* @__PURE__ */ (0, F.jsx)(iI, {"data-button-link": "",variant: "secondary",size: "small",@@ -72399,7 +72406,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Qfe,+ leadingIcon: $fe,...Bz(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"@@ -72407,7 +72414,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource.protocol === "magnet" ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "primary",size: "small",- leadingIcon: v ? nU(v.key) : Kfe,+ leadingIcon: v ? nU(v.key) : qfe,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,...Bz(f.busy === e.id),@@ -72433,10 +72440,10 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc});}// src/react/jav-detail/review-cache.ts-var i4 = "peach.jav-reviews.v2";-function a4() {+var a4 = "peach.jav-reviews.v2";+function o4() {try {- let e = localStorage.getItem(i4) || "[]";+ let e = localStorage.getItem(a4) || "[]";if (e.length > 2e6) return [];let t = JSON.parse(e);return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];@@ -72450,15 +72457,15 @@ function fke(e, t) {code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...a4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(i4, i);+ }, ...o4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(a4, i);} catch {}}function pke(e, t) {- let n = a4(), r = [], i = Infinity;+ let n = o4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !Z2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;+ if (!o || !Q2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;}return r.length ? {pages: r,@@ -72467,15 +72474,15 @@ function pke(e, t) {} : void 0;}function mke(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Z2(Date.parse(e.checked_at || "") || t, n));+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Q2(Date.parse(e.checked_at || "") || t, n));}// src/react/jav-detail/jav-detail-page.tsxfunction hke(e) {let t = (0, P.useRef)(!1), n = Pt({- queryKey: O2(e.code),+ queryKey: k2(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, k2(e.code, n, r);+ return t.current = !1, A2(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -72492,14 +72499,14 @@ function hke(e) {retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, F.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, F.jsx)(o4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, F.jsx)(jW, {+ children: [/* @__PURE__ */ (0, F.jsx)(s4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, F.jsx)(MW, {message: Wn(n.error),onRetry: r}) : null]})});}-var o4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {+var s4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -72529,12 +72536,12 @@ function gke({ 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 = OH(), 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(O2(e), (e) => e && {+ p.run("want", async (e) => d ? (await b$([d], e), null) : (await y$({ code: t.code }, e)).want.id, (t) => {+ f(t), H.setQueryData(k2(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 ? "已加入想要" : "已取消想要"), x$(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [@@ -72543,24 +72550,24 @@ function gke({ 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)(o4, { close: n.close }),+ /* @__PURE__ */ (0, F.jsx)(s4, { 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)(s4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, F.jsx)(yke, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, F.jsx)(pQ, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, F.jsx)(yke, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, F.jsx)(mQ, {item: t,image: o === -1 ? "cover" : String(o)}, t.code),- /* @__PURE__ */ (0, F.jsx)(p2, {+ /* @__PURE__ */ (0, F.jsx)(m2, {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)(mQ, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -72575,16 +72582,16 @@ function gke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-info": "",children: [/* @__PURE__ */ (0, F.jsx)(_ke, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(l4, { score: Number(t.score) }) : null,+ Number(t.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(u4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, F.jsxs)("div", {className: "mono","data-stage-meta": "","data-reveal-line": "",- children: [/* @__PURE__ */ (0, F.jsx)(c4, {+ children: [/* @__PURE__ */ (0, F.jsx)(l4, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, F.jsx)(c4, {+ }), /* @__PURE__ */ (0, F.jsx)(l4, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0@@ -72596,11 +72603,11 @@ function gke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a}),/* @__PURE__ */ (0, F.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, F.jsx)(c4, {+ children: [/* @__PURE__ */ (0, F.jsx)(l4, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, F.jsx)(c4, {+ }), /* @__PURE__ */ (0, F.jsx)(l4, {glyph: "clapperboard",label: "导演",value: t.director@@ -72619,16 +72626,16 @@ function gke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: achildren: /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-tag": e.name,- title: Ml(e.name),+ title: Nl(e.name),onClick: () => n.openTag(e.name),- children: Ml(e.name)+ children: Nl(e.name)})}, e.name))}) : null,t.summary ? /* @__PURE__ */ (0, F.jsx)("p", {"data-jav-summary": "","data-long-text": "",- lang: NF(t.summary),+ lang: gF(t.summary),children: t.summary}) : null,t.message ? /* @__PURE__ */ (0, F.jsx)(Fz, {@@ -72644,7 +72651,7 @@ function gke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a/* @__PURE__ */ (0, F.jsxs)("div", {"data-jav-actions": "",children: [- t.source_url ? /* @__PURE__ */ (0, F.jsx)(uI, {+ t.source_url ? /* @__PURE__ */ (0, F.jsx)(iI, {"data-button-link": "",variant: "secondary",trailingIcon: pz,@@ -72692,24 +72699,24 @@ function gke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, F.jsx)(q2, {+ /* @__PURE__ */ (0, F.jsx)(J2, {prefill: l,close: () => u(null),receipt: n.receipt})] });}-var s4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var c4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents","aria-hidden": "true",dangerouslySetInnerHTML: { __html: R(e) }-}), c4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, F.jsxs)("span", {+}), l4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: e }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: e }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]}) : null;function _ke({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = E2(e.title), a = e.title === e.code ? "" : e.title;+ let { text: t, expanded: n, foldable: r, toggle: i } = D2(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, F.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, F.jsx)("h1", {@@ -72725,7 +72732,7 @@ function _ke({ 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: NF(a),+ lang: gF(a),children: a})] }) : null]})@@ -72744,14 +72751,14 @@ function _ke({ item: e }) {})]});}-function l4({ score: e, review: t = !1 }) {+function u4({ 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)($J, { value: e }), /* @__PURE__ */ (0, F.jsxs)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(eY, { value: e }), /* @__PURE__ */ (0, F.jsxs)("span", {"data-rating-value": "",children: [e.toFixed(1), " / 5"]})]@@ -72766,14 +72773,14 @@ function vke({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, F.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, F.jsx)(w2, {+ children: i.map((r) => /* @__PURE__ */ (0, F.jsx)(T2, {kind: t,person: {...r,id: r.id ?? null},onOpen: n,- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, F.jsx)(mQ, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, F.jsx)(hQ, {code: e.code,person: r,detail: !0@@ -72790,7 +72797,7 @@ function vke({ 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)(T2, {+ }), /* @__PURE__ */ (0, F.jsx)(E2, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -72803,7 +72810,7 @@ function yke({ 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), cce(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), _M(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));@@ -72859,7 +72866,7 @@ function bke({ code: e, count: t, released: n }) {children: /* @__PURE__ */ (0, F.jsxs)($H, {trailing: !0,summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(Vfe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, F.jsx)(Hfe, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -72896,7 +72903,7 @@ function bke({ 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)(l4, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(u4, {score: Number(e.score),review: !0}) : null,@@ -72908,7 +72915,7 @@ function bke({ code: e, count: t, released: n }) {]}), /* @__PURE__ */ (0, F.jsx)("p", {"data-long-text": "",- lang: NF(e.content),+ lang: gF(e.content),children: e.content})]}, e.id)),@@ -72957,19 +72964,19 @@ function bke({ code: e, count: t, released: n }) {}function xke({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, P.useState)(!1), a = Pt({- queryKey: V2,+ queryKey: H2,enabled: r,- queryFn: ({ signal: e }) => B(`${B2}?limit=50`, e)+ queryFn: ({ signal: e }) => B(`${V2}?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)($H, {trailing: !0,- summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, F.jsx)(r4, {+ children: s ? /* @__PURE__ */ (0, F.jsx)(i4, {want: {id: 0,code: e.code,@@ -72986,31 +72993,31 @@ function xke({ item: e, actions: t, readOnly: n }) {});}// src/react/stage/stage-player.ts-var u4 = null, d4 = null, f4 = null, p4 = null, m4 = null, h4 = !1, g4 = 0, _4 = null, v4 = () => !1, y4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;+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 Ske(e, t) {- u4 = e, v4 = () => t.isOpen(), _4 = () => t.requestClose(), wse({+ d4 = e, y4 = () => t.isOpen(), v4 = () => t.requestClose(), dse({...e.player,stage: () => document.getElementById("stage")- }), Tse({- 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", () => Hj()));-}-var b4 = !1;-function x4() {- if (!u4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return u4;-}-function S4(e) {- p4 = e;-}-var Cke = () => 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 Tke(e, d4);- d4 && R4();+ }), fse({+ 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", () => rM()));+}+var x4 = !1;+function S4() {+ if (!d4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return d4;+}+function C4(e) {+ m4 = e;+}+var Cke = () => 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 Tke(e, f4);+ f4 && z4();let o = {player: null,kind: n,@@ -73018,23 +73025,23 @@ function C4(e, t) {mediaIndex: i?.index ?? null,key: a};- f4 = o;+ p4 = o;let s = document.createElement("video");t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);- let c = $j(s, {+ let c = mM(s, {kind: n,item: r,media: i,autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- f4 === o && (o.player = e);+ p4 === o && (o.player = e);},- handedOff: (e) => d4?.player === e+ handedOff: (e) => f4?.player === e});return () => {- let e = !!o.player && d4?.player === o.player;- f4 === o && (f4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), Hj());+ let e = !!o.player && f4?.player === o.player;+ p4 === o && (p4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), rM());};}async function wke(e, t, n) {@@ -73043,27 +73050,27 @@ async function wke(e, t, n) {if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");if (r.location === "online") throw Error("请打开详情播放在线作品");if (r.cost === "metered") throw Error("请打开详情确认计费来源");- let i = await x4().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(x4().player.offlineReason(String(r.root_id || r.location || "")));+ let i = await S4().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(S4().player.offlineReason(String(r.root_id || r.location || "")));let a = {kind: "item",item: r,title: String(r.title || r.name || ""),sub: String(r.performers?.[0] || r.creator || "未归属")};- S4(a);- let o = C4(t, {+ C4(a);+ let o = w4(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && p4 === a && T4(!0), o(), p4 === a && S4(null));+ s || (s = !0, e && m4 === a && E4(!0), o(), m4 === a && C4(null));};}function Tke(e, t) {let { player: n } = t;- I4(t), d4 = null, L4(), n.el().classList.remove("vjs-peach-mini"), Zj(e), e.append(n.el()), KA(n);+ L4(t), f4 = null, R4(), n.el().classList.remove("vjs-peach-mini"), fM(e), e.append(n.el()), sj(n);let r = {player: n,kind: t.kind,@@ -73071,22 +73078,22 @@ function Tke(e, t) {mediaIndex: t.mediaIndex,key: t.key};- f4 = r;- let i = Qj(n, e);- return qA(n), () => {- f4 === r && (f4 = null), i(), d4?.player !== n && (GA() === n && KA(null), Nj(n), Hj());+ p4 = r;+ let i = pM(n, e);+ return cj(n), () => {+ p4 === r && (p4 = null), i(), f4?.player !== n && (oj() === n && sj(null), Jj(n), rM());};}-var w4 = () => {- let e = f4?.player;+var T4 = () => {+ let e = p4?.player;return e && !e.isDisposed() ? e : null;};-function T4(e) {- let t = h4;- h4 = !1, d4?.pending && R4();- let n = f4, r = n?.player, i = p4;- if (!n || !r || r.isDisposed() || !i || !m4) return;- let a = x4().player.settings();+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()) && kke({player: r,kind: n.kind,@@ -73095,46 +73102,46 @@ function T4(e) {key: n.key}, i);}-function E4(e, t) {- h4 = !1, d4 && (d4.kind === e && d4.item.id === t ? (d4.pending = !0, L4()) : R4());+function D4(e, t) {+ g4 = !1, f4 && (f4.kind === e && f4.item.id === t ? (f4.pending = !0, R4()) : z4());}-function D4(e) {- m4 = e, m4 && P4();+function O4(e) {+ h4 = e, h4 && F4();}-var O4 = () => !!d4 && !d4.pending && !d4.player.isDisposed();+var k4 = () => !!f4 && !f4.pending && !f4.player.isDisposed();function Eke() {- return O4() ? m4?.frame.querySelector("video") ?? null : null;+ return k4() ? h4?.frame.querySelector("video") ?? null : null;}function Dke() {- return v4() ? document.getElementById("stage")?.querySelector("video") ?? null : w4()?.el().querySelector("video") ?? Eke();+ return y4() ? document.getElementById("stage")?.querySelector("video") ?? null : T4()?.el().querySelector("video") ?? Eke();}-function k4(e) {- m4 && (m4.title.textContent = e.title || "", m4.sub.textContent = e.sub || "", m4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+function A4(e) {+ h4 && (h4.title.textContent = e.title || "", h4.sub.textContent = e.sub || "", h4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function A4(e = d4?.item) {- if (!m4) return;- let t = m4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- m4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function j4(e = f4?.item) {+ if (!h4) return;+ let t = h4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ h4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-function j4() {- let e = d4?.player;- if (!e || e.isDisposed() || !m4) return;+function M4() {+ let e = f4?.player;+ if (!e || e.isDisposed() || !h4) return;let t = e.paused();- m4.play.setAttribute("aria-label", t ? "播放" : "暂停"), m4.play.querySelector("[data-icon-swap]") || (m4.play.innerHTML = Es("player-pause", "player-play", t ? "b" : "a")), Ds(m4.play, t ? "b" : "a");+ 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 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) {+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"}`;+}+var P4 = () => Math.max(1, Number(S4().player.settings().seekSeconds) || 10);+function F4() {+ if (!h4 || !d4) return;+ let e = P4();+ for (let [t, n] of [[h4.back, `后退 ${e} 秒`], [h4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function I4(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -73146,17 +73153,17 @@ function F4(e) {"play","pause","ended"- ], j4), t([+ ], M4), t(["timeupdate","durationchange","loadedmetadata"- ], M4), t("loadedmetadata", () => A4()), j4(), M4(), A4(), P4();+ ], N4), t("loadedmetadata", () => j4()), M4(), N4(), j4(), F4();}-function I4(e) {+function L4(e) {e.off.forEach((e) => e()), e.off = [];}function Oke() {- let e = m4?.root;+ let e = h4?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -73164,8 +73171,8 @@ function Oke() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function L4() {- let e = m4?.root;+function R4() {+ let e = h4?.root;if (e) {e.hidden = !0;for (let t of [@@ -73177,72 +73184,72 @@ function L4() {}}function kke(e, t) {- if (!m4) return;+ if (!h4) return;let n = {...e,meta: t,off: [],pending: !1};- d4 = n, g4++, e.player.el().classList.add("vjs-peach-mini"), m4.frame.prepend(e.player.el()), k4(t), F4(n), Oke(), qA(e.player);-}-function R4() {- let e = d4;- e && I4(e), d4 = null, g4++;- let t = e?.player ?? null;- t && GA() === t && KA(null), Nj(t), t && Hj(), m4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), UA(), L4();+ f4 = n, _4++, e.player.el().classList.add("vjs-peach-mini"), h4.frame.prepend(e.player.el()), A4(t), I4(n), Oke(), cj(e.player);}function z4() {- if (!O4() || !d4) return;- let { kind: e, item: t, mediaIndex: n } = d4;- x4().expand(e, t.id, n);+ let e = f4;+ e && L4(e), f4 = null, _4++;+ let t = e?.player ?? null;+ t && oj() === t && sj(null), Jj(t), t && rM(), h4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), rj(), R4();}function B4() {- O4() && !v4() ? z4() : v4() && w4() && _4 && (h4 = !0, _4());+ if (!k4() || !f4) return;+ let { kind: e, item: t, mediaIndex: n } = f4;+ S4().expand(e, t.id, n);+}+function V4() {+ k4() && !y4() ? B4() : y4() && T4() && v4 && (g4 = !0, v4());}function Ake() {- let e = d4?.player;+ let e = f4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function V4(e) {- let t = d4?.player;+function H4(e) {+ let t = f4?.player;if (!t || t.isDisposed()) return;- let n = On(t.duration()) || On(d4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + N4() * e);+ let n = On(t.duration()) || On(f4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + P4() * e);t.currentTime(n ? Math.min(n, r) : r);}-function H4(e) {- return !(!O4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || x4().sourceOffline(String(e.root_id || e.location || "")));+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 jke(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);+ 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);return;}- let r = d4;- I4(r), GA() === r.player && KA(null), Nj(r.player), Hj(), m4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = f4;+ L4(r), oj() === r.player && sj(null), Jj(r.player), rM(), h4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", m4.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", h4.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- k4(a), $j(i, {+ A4(a), mM(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== g4) {- r && GA() === r && KA(null), Nj(r);+ if (t !== _4) {+ r && oj() === r && sj(null), Jj(r);return;}if (!r) {- R4(), x4().openItem(e);+ z4(), S4().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -73251,25 +73258,25 @@ async function jke(e) {kind: "item",item: n,mediaIndex: null,- key: y4("item", n.id, null),+ key: b4("item", n.id, null),meta: a,off: [],pending: !1};- d4 = i, F4(i);+ f4 = i, I4(i);}- }), A4(n);+ }), j4(n);}// src/react/stage/miniplayer.tsx-var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {+var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })-}), Mke = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, W4 = (e) => (t) => {+}), Mke = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, G4 = (e) => (t) => {t.stopPropagation(), e();}, Nke = (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)(() => (D4({+ return (0, P.useLayoutEffect)(() => (O4({root: e.current,frame: n.current,play: r.current,@@ -73279,7 +73286,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => D4(null)), []), (0, P.useEffect)(() => Fke(e.current, t.current), []), /* @__PURE__ */ (0, F.jsx)("aside", {+ }), () => O4(null)), []), (0, P.useEffect)(() => Fke(e.current, t.current), []), /* @__PURE__ */ (0, F.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -73303,24 +73310,24 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: W4(z4),- children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "maximize-2" })+ onClick: G4(B4),+ children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "maximize-2" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: W4(R4),- children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "x" })+ onClick: G4(z4),+ children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "x" })}),/* @__PURE__ */ (0, F.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: W4(() => V4(-1)),- children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "rotate-ccw" })+ onClick: G4(() => H4(-1)),+ children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, F.jsx)("button", {ref: r,@@ -73329,7 +73336,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: W4(Ake),+ onClick: G4(Ake),dangerouslySetInnerHTML: Mke}),/* @__PURE__ */ (0, F.jsx)("button", {@@ -73337,8 +73344,8 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: W4(() => V4(1)),- children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "rotate-cw" })+ onClick: G4(() => H4(1)),+ children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "rotate-cw" })}),/* @__PURE__ */ (0, F.jsx)("span", {ref: i,@@ -73355,7 +73362,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => z4(),+ onClick: () => B4(),children: [/* @__PURE__ */ (0, F.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -73428,35 +73435,35 @@ function Fke(e, t) {};}// src/react/stage/stage.tsx-var G4 = null, K4 = null, q4 = null, J4 = /* @__PURE__ */ new Set(), Y4 = 0, X4 = null, Z4 = !1, Q4 = !1, $4 = () => {+var K4 = null, q4 = null, J4 = null, Y4 = /* @__PURE__ */ new Set(), X4 = 0, Z4 = null, Q4 = !1, $4 = !1, e3 = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function e3() {- if (!G4) throw Error("舞台还没有接上宿主(configureStage)");- return G4;+function t3() {+ if (!K4) throw Error("舞台还没有接上宿主(configureStage)");+ return K4;}function Ike(e) {- return J4.add(e), () => {- J4.delete(e);+ return Y4.add(e), () => {+ Y4.delete(e);};}function Lke() {- for (let e of [...J4]) e();+ for (let e of [...Y4]) e();}-function t3() {+function n3() {(0, Lt.flushSync)(Lke);}function Rke({ view: e }) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)(zke, { view: e }, e.generation) : null, /* @__PURE__ */ (0, F.jsx)(Nke, {})] });}-var n3 = () => /* @__PURE__ */ (0, F.jsx)("div", {+var r3 = () => /* @__PURE__ */ (0, F.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",dangerouslySetInnerHTML: { __html: LDe() }});-function r3(e) {+function i3(e) {let t = e.currentTarget;if (e.target !== t) return !1;let n = t.getBoundingClientRect();@@ -73466,7 +73473,7 @@ function zke({ view: e }) {let t = (0, P.useRef)(null);(0, P.useLayoutEffect)(() => {let e = t.current, n = (t) => {- t.target === e && (t.preventDefault(), i3());+ t.target === e && (t.preventDefault(), a3());};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);@@ -73478,27 +73485,27 @@ function zke({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), i3());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), a3());},onPointerDown: (e) => {- Q4 = r3(e);+ $4 = i3(e);},onClick: (e) => {- Q4 && r3(e) && i3();+ $4 && i3(e) && a3();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, F.jsx)(n3, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, F.jsx)(r3, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, F.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(n3, {})+ children: /* @__PURE__ */ (0, F.jsx)(r3, {})}, "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)(lT, {- getContainer: () => X0(t.current),+ children: /* @__PURE__ */ (0, F.jsx)(PT, {+ getContainer: () => Z0(t.current),children: i})})@@ -73506,14 +73513,14 @@ function zke({ view: e }) {]});}-function i3() {- K4 && !Z4 && (Z4 = !0, K4.request.actions.close());+function a3() {+ q4 && !Q4 && (Q4 = !0, q4.request.actions.close());}-function a3(e, t) {- let n = $4();+function o3(e, t) {+ let n = e3();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function o3(e) {+function s3(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -73521,30 +73528,30 @@ function o3(e) {readOnly: e.readOnly,actions: {...e.actions,- close: i3+ close: a3}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => e3().player.settings(), i = () => K4?.request === e;+ }, r = () => t3().player.settings(), i = () => q4?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: i3,+ close: a3,present: (e, t) => {let n = e.performers;- S4({+ C4({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), a3(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), o3(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => C4(e, {+ mountPlayer: (e, t, r, i) => w4(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -73562,18 +73569,18 @@ function o3(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: i3,+ close: a3,present: (e, t) => {- S4({+ C4({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), a3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), o3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => C4(e, {+ mountPlayer: (e, t, r, i) => w4(e, {kind: "follow",item: t,media: r,@@ -73594,102 +73601,102 @@ function Bke(e, t) {let n = e.querySelector(":scope > [data-stage-fade]");e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");let r = 0, i = () => {- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), K4?.generation === t && K4.phase === "reveal" && (K4 = {- ...K4,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), q4?.generation === t && q4.phase === "reveal" && (q4 = {+ ...q4,phase: "content"- }, t3());+ }, n3());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function s3(e) {- let t = $4();- return !K4 || K4.content.kind !== e || Z4 || !t?.open || t.hasAttribute("data-closing") ? null : t;+function c3(e) {+ let t = e3();+ return !q4 || q4.content.kind !== e || Q4 || !t?.open || t.hasAttribute("data-closing") ? null : t;}async function Vke(e) {- !q4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (q4 = {+ !J4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (J4 = {left: window.scrollX,top: window.scrollY,anchor: document.activeElement});- let t = s3(e.kind);+ let t = c3(e.kind);if (t) {await Uke(e, t);return;}- K4 && c3({ 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 = o3(e);- K4 = {+ 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);+ let i = s3(e);+ q4 = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? jM(i.props, r.signal) : i.kind === "jav" ? A2(i.props, r.signal) : t2(i.props, r.signal);- if (n !== Y4 || K4?.request !== e) {+ let a = i.kind === "item" ? sN(i.props, r.signal) : i.kind === "jav" ? j2(i.props, r.signal) : n2(i.props, r.signal);+ if (n !== X4 || q4?.request !== e) {await a.catch(() => {});return;}let o = Hke(i);- K4 = {- ...K4,+ q4 = {+ ...q4,phase: o ? "content" : "skeleton"- }, t3();- let s = $4();+ }, n3();+ let s = e3();if (!s) {await a.catch(() => {});return;}- o || Gs(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), Z0(s);+ o || Ks(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), Q0(s);try {await a;} catch {if (r.signal.aborted) return;}- if (n !== Y4 || !K4 || o) return;+ if (n !== X4 || !q4 || o) return;let c = !!s.querySelector(".skeleton-awaiting");- K4 = {- ...K4,+ q4 = {+ ...q4,phase: c ? "content" : "reveal"- }, t3(), c || Bke(s, n), Ns(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, n3(), c || Bke(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 Hke(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(_M(t)) : null;+ 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(qM(t)) : null;if (t && !r) return !1;- let i = r ? kM(r, n) : n;- return i != null && !!H.getQueryData(gM(i));+ let i = r ? aN(r, n) : n;+ return i != null && !!H.getQueryData(KM(i));}async function Uke(e, t) {- let n = ++Y4;- X4?.abort();+ let n = ++X4;+ Z4?.abort();let r = new AbortController();- X4 = r, Q4 = !1;- let i = o3(e);+ Z4 = r, $4 = !1;+ let i = s3(e);try {- i.kind === "item" ? await jM(i.props, r.signal) : i.kind === "jav" ? await A2(i.props, r.signal) : await t2(i.props, r.signal);+ i.kind === "item" ? await sN(i.props, r.signal) : i.kind === "jav" ? await j2(i.props, r.signal) : await n2(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== Y4 || !K4 || s3(e.kind) !== t) return;- e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN), Ol(t), UA(), K4 = {- ...K4,+ if (n !== X4 || !q4 || c3(e.kind) !== t) return;+ e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN), kl(t), rj(), q4 = {+ ...q4,request: e,content: i,phase: "content"- }, t3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Ns(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, 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]");let a = document.activeElement;a !== t && t.contains(a) || (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });}function Wke() {- Z0(null);- let e = $4();+ Q0(null);+ let e = e3();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();@@ -73699,14 +73706,14 @@ function Wke() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function c3({ miniplayer: e = !0 } = {}) {- if (Y4++, X4?.abort(), X4 = null, T4(e), !K4) return;- let t = $4();- t && Ol(t), UA(), 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;+function l3({ miniplayer: e = !0 } = {}) {+ if (X4++, Z4?.abort(), Z4 = null, E4(e), !q4) return;+ let t = e3();+ t && kl(t), rj(), 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;let r = () => {- !K4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({+ !q4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({left: n.left,top: n.top,behavior: "instant"@@ -73715,77 +73722,77 @@ function c3({ miniplayer: e = !0 } = {}) {r(), requestAnimationFrame(r);}function Gke(e) {- K4 && (K4 = {- ...K4,- content: K4.content.kind === "item" ? {+ q4 && (q4 = {+ ...q4,+ content: q4.content.kind === "item" ? {kind: "item",props: {- ...K4.content.props,+ ...q4.content.props,...e}- } : K4.content.kind === "jav" ? K4.content : {+ } : q4.content.kind === "jav" ? q4.content : {kind: "follow",props: {- ...K4.content.props,+ ...q4.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, t3());+ }, n3());}function Kke() {- let e = Cke(), t = e?.kind === "item" ? e.item : null, n = t ? lo(t, e3().player.settings().javImage) : "";+ let e = Cke(), t = e?.kind === "item" ? e.item : null, n = t ? lo(t, t3().player.settings().javImage) : "";if (!n) return;- let r = w4();+ let r = T4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}var qke = {open: Vke,update: Gke,exit: Wke,- dispose: c3,- requestClose: i3,+ dispose: l3,+ requestClose: a3,repaintPoster: Kke,- isOpen: () => !!K4,- showing: () => K4 && s3(K4.content.kind) ? K4.content.kind : null,+ isOpen: () => !!q4,+ showing: () => q4 && c3(q4.content.kind) ? q4.content.kind : null,activeVideo: () => Dke(),mountWallPlayer: wke,toggleTheater: () => {- K4 && bj(!e3().player.settings().theaterMode);+ q4 && Fj(!t3().player.settings().theaterMode);},- toggleMiniplayer: () => B4(),- closeMiniplayer: () => R4(),- miniplayerActive: () => O4(),- miniplayerTakesCard: (e) => H4(e),+ toggleMiniplayer: () => V4(),+ closeMiniplayer: () => z4(),+ miniplayerActive: () => k4(),+ miniplayerTakesCard: (e) => U4(e),miniplayerPlay: (e) => {jke(e);}};function Jke(e) {- return G4 = e, Ske(e, {- isOpen: () => !!K4,- requestClose: i3+ return K4 = e, Ske(e, {+ isOpen: () => !!q4,+ requestClose: a3}), qke;}function Yke() {- let e = (0, P.useSyncExternalStore)(Ike, () => K4);- return G4 ? /* @__PURE__ */ (0, F.jsx)(Rke, { view: e }) : null;+ let e = (0, P.useSyncExternalStore)(Ike, () => q4);+ return K4 ? /* @__PURE__ */ (0, F.jsx)(Rke, { view: e }) : null;}// src/react/stats/stats.ts-var Xke = "/api/stats", l3 = ["stats"], u3 = (e) => B(Xke, e);+var Xke = "/api/stats", u3 = ["stats"], d3 = (e) => B(Xke, e);async function Zke(e) {await H.fetchQuery({- queryKey: l3,- queryFn: () => u3(e)+ queryKey: u3,+ queryFn: () => d3(e)});}-var d3 = (e) => e != null && Number.isFinite(e), Qke = (e) => d3(e) ? e.toLocaleString() : "未取得", $ke = (e, t) => d3(e) && d3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, eAe = (e, t) => {+var f3 = (e) => e != null && Number.isFinite(e), Qke = (e) => f3(e) ? e.toLocaleString() : "未取得", $ke = (e, t) => f3(e) && f3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, eAe = (e, t) => {let n = $ke(e, t);- return !n && d3(e) && e > 0 && d3(t) && t > 0 ? "<1%" : `${n}%`;-}, f3 = (e) => {- if (!d3(e)) return "未取得";+ 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)} 分钟`;-}, p3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, m3 = (e) => (e.max_reached || 0) * 100, tAe = (e) => e.kind === "online" ? "在线直接观看" : p3(e) < m3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", nAe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+}, m3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, h3 = (e) => (e.max_reached || 0) * 100, tAe = (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 rAe(e, t = 6) {let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (n.length <= t) return n;@@ -73812,10 +73819,10 @@ var iAe = (e) => Math.max(1, ...e) * 1.1, aAe = (e, t) => e > 0 ? Math.max(e, t短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, h3 = (e, t = {}) => e.map((e) => ({+}, g3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), uAe = (e) => h3(e, lAe), dAe = [+})), uAe = (e) => g3(e, lAe), dAe = [[1,1,@@ -73856,7 +73863,7 @@ var iAe = (e) => Math.max(1, ...e) * 1.1, aAe = (e, t) => e > 0 ? Math.max(e, tvalue: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)}));// node_modules/d3-array/src/max.js-function g3(e, t) {+function _3(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);else {@@ -73866,7 +73873,7 @@ function g3(e, t) {return n;}// node_modules/d3-array/src/min.js-function _3(e, t) {+function v3(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);else {@@ -73876,7 +73883,7 @@ function _3(e, t) {return n;}// node_modules/d3-array/src/sum.js-function v3(e, t) {+function y3(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -73890,22 +73897,22 @@ function pAe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}// node_modules/d3-sankey/src/constant.js-function y3(e) {+function b3(e) {return function() {return e;};}// node_modules/d3-sankey/src/sankey.js-function b3(e, t) {- return S3(e.source, t.source) || e.index - t.index;-}function x3(e, t) {- return S3(e.target, t.target) || e.index - t.index;+ return C3(e.source, t.source) || e.index - t.index;}function S3(e, t) {+ return C3(e.target, t.target) || e.index - t.index;+}+function C3(e, t) {return e.y0 - t.y0;}-function C3(e) {+function w3(e) {return e.value;}function mAe(e) {@@ -73917,12 +73924,12 @@ function hAe(e) {function gAe(e) {return e.links;}-function w3(e, t) {+function T3(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function T3({ nodes: e }) {+function E3({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;@@ -73936,14 +73943,14 @@ function _Ae() {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), T3(e), e;+ return h(e), g(e), _(e), v(e), x(e), E3(e), e;}m.update = function(e) {- return T3(e), e;+ return E3(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : y3(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : b3(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : y3(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : b3(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -73951,9 +73958,9 @@ function _Ae() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : y3(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : b3(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : y3(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : b3(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -73969,12 +73976,12 @@ function _Ae() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = w3(n, t)), typeof i != "object" && (i = r.target = w3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = T3(n, t)), typeof i != "object" && (i = r.target = T3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);}if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);}function g({ nodes: e }) {- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(v3(t.sourceLinks, C3), v3(t.targetLinks, C3)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(y3(t.sourceLinks, w3), y3(t.targetLinks, w3)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -73999,7 +74006,7 @@ function _Ae() {}}function y({ nodes: t }) {- let r = g3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = _3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);for (let n of t) {let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];@@ -74008,7 +74015,7 @@ function _Ae() {return o;}function b(e) {- let n = _3(e, (e) => (r - t - (e.length - 1) * o) / v3(e, C3));+ let n = v3(e, (e) => (r - t - (e.length - 1) * o) / y3(e, w3));for (let i of e) {let e = t;for (let t of i) {@@ -74025,7 +74032,7 @@ function _Ae() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (g3(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (_3(n, (e) => e.length) - 1)), b(n);for (let e = 0; e < p; ++e) {let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);C(n, t, r), S(n, t, r);@@ -74044,7 +74051,7 @@ function _Ae() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(S3), w(i, n);+ l === void 0 && i.sort(C3), w(i, n);}}function C(e, t, n) {@@ -74060,7 +74067,7 @@ function _Ae() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(S3), w(i, n);+ l === void 0 && i.sort(C3), w(i, n);}}function w(e, n) {@@ -74081,12 +74088,12 @@ function _Ae() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(x3);- for (let { target: { targetLinks: t } } of e) t.sort(b3);+ for (let { source: { sourceLinks: e } } of t) e.sort(S3);+ for (let { target: { targetLinks: t } } of e) t.sort(x3);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(x3), n.sort(b3);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(S3), n.sort(x3);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -74115,15 +74122,15 @@ function _Ae() {return m;}// node_modules/d3-path/src/path.js-var E3 = Math.PI, D3 = 2 * E3, O3 = 1e-6, vAe = D3 - O3;-function k3() {+var D3 = Math.PI, O3 = 2 * D3, k3 = 1e-6, vAe = O3 - k3;+function A3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function A3() {- return new k3();+function j3() {+ return new A3();}-k3.prototype = A3.prototype = {- constructor: k3,+A3.prototype = j3.prototype = {+ constructor: A3,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -74144,11 +74151,11 @@ k3.prototype = A3.prototype = {var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (i < 0) throw Error("negative radius: " + i);if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);- else if (d > O3) {- if (!(Math.abs(u * s - c * l) > O3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > k3) {+ if (!(Math.abs(u * s - c * l) > k3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);else {- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((E3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > O3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((D3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > k3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);}}},@@ -74156,7 +74163,7 @@ k3.prototype = A3.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) > O3 || Math.abs(this._y1 - l) > O3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % D3 + D3), d > vAe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > O3 && (this._ += "A" + n + "," + n + ",0," + +(d >= E3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));+ 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 > vAe ? 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";@@ -74166,7 +74173,7 @@ k3.prototype = A3.prototype = {}};// node_modules/d3-shape/src/constant.js-function j3(e) {+function M3(e) {return function() {return e;};@@ -74191,16 +74198,16 @@ function wAe(e) {var t = SAe, n = CAe, r = yAe, i = bAe, a = null;function o() {var o, s = xAe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = A3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ 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) {return arguments.length ? (t = e, o) : t;}, o.target = function(e) {return arguments.length ? (n = e, o) : n;}, o.x = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : j3(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : M3(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : j3(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : M3(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;@@ -74222,7 +74229,7 @@ function kAe() {return EAe().source(DAe).target(OAe);}// src/react/taste/taste.ts-var AAe = "/api/taste", M3 = "/api/taste/refresh", jAe = "/api/taste/import", N3 = "/api/taste/source", P3 = (e) => ["taste", e], MAe = ["taste", "refresh"], NAe = [+var AAe = "/api/taste", N3 = "/api/taste/refresh", jAe = "/api/taste/import", P3 = "/api/taste/source", F3 = (e) => ["taste", e], MAe = ["taste", "refresh"], NAe = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],@@ -74233,20 +74240,20 @@ var AAe = "/api/taste", M3 = "/api/taste/refresh", jAe = "/api/taste/import", N3day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", LAe = (e, t) => V(N3, {+}) : "—", LAe = (e, t) => V(P3, {...e,window: t-}), F3 = (e, t, n = !1) => B(`${AAe}?window=${e}${n ? "&retry=1" : ""}`, t), RAe = (e) => B(M3, e);+}), I3 = (e, t, n = !1) => B(`${AAe}?window=${e}${n ? "&retry=1" : ""}`, t), RAe = (e) => B(N3, e);async function zAe(e, t) {await H.fetchQuery({- queryKey: P3(e),- queryFn: () => F3(e, t)+ queryKey: F3(e),+ queryFn: () => I3(e, t)});}-var BAe = (e) => V(M3, {+var BAe = (e) => V(N3, {window: e,background: !0-}), VAe = (e, t) => V(N3, {+}), VAe = (e, t) => V(P3, {operation: "remove",source_key: e,window: t@@ -74270,17 +74277,17 @@ async function HAe(e) {}return n;}-var UAe = 1e4, I3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+var UAe = 1e4, L3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";function WAe(e) {let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;if (!e.range_start && !e.range_end) return t;let n = e.range_start?.slice(0, 4) === e.range_end?.slice(0, 4), r = (e) => e && n ? new Date(e).toLocaleDateString("zh-CN", {month: "numeric",day: "numeric"- }) : I3(e);+ }) : L3(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var GAe = f3, KAe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), qAe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+var GAe = p3, KAe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), qAe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);function JAe(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;@@ -74290,22 +74297,22 @@ function YAe(e) {let t = e.map(qAe), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var L3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+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 XAe(e) {- let t = L3(e, 6);+ let t = R3(e, 6);return t.length < 3 ? [] : t;}-var R3 = {+var z3 = {width: 720,height: 435}, ZAe = {source: 145,target: 545-}, z3 = 30, QAe = 240;-function B3(e, t, n) {+}, B3 = 30, QAe = 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);if (r.size <= 12) return (e) => e;@@ -74315,7 +74322,7 @@ function B3(e, t, n) {function $Ae(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = B3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = B3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = V3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = V3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();for (let e of t) {let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);s ? s.value += e.value : i.set(o, {@@ -74324,7 +74331,7 @@ function $Ae(e = []) {value: e.value});}- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * z3 + QAe), u = _Ae().nodeId((e) => e.id).nodeWidth(10).nodePadding(z3).extent([[155, 16], [535, l]])({+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * B3 + QAe), u = _Ae().nodeId((e) => e.id).nodeWidth(10).nodePadding(B3).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -74367,10 +74374,10 @@ function $Ae(e = []) {};}),total: d,- height: l + R3.height - 404+ height: l + z3.height - 404};}-var eje = (e) => In(e, 17), V3 = {+var eje = (e) => In(e, 17), H3 = {performers: "艺人",creators: "卖家",studios: "厂牌",@@ -74449,8 +74456,8 @@ var eje = (e) => In(e, 17), V3 = {"alphabet","字母表","text-aa"-]], H3 = (e) => e === "compact" ? "compact" : "big";-function U3(e, t) {+]], U3 = (e) => e === "compact" ? "compact" : "big";+function W3(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -74460,7 +74467,7 @@ function U3(e, t) {category: n.get("category") || "all"};}-var W3 = (e, t, n) => Cs(e.map(([e, t, n]) => ({+var G3 = (e, t, n) => ws(e.map(([e, t, n]) => ({value: e,label: t,symbol: n@@ -74471,38 +74478,38 @@ var W3 = (e, t, n) => Cs(e.map(([e, t, n]) => ({}), cje = (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">${jc("tag-view", "标签视图", sje, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;+ <span class="ml-auto">${Mc("tag-view", "标签视图", sje, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;function lje({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = V3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? jc("people-layout", o + "索引版式", e === "series" ? rje : c ? nje : tje, a) : "";+ let o = H3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Mc("people-layout", o + "索引版式", e === "series" ? rje : c ? nje : tje, 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}- ${os("default")}- ${e === "tags" ? cs({+ ${ss("default")}+ ${e === "tags" ? ls({variant: "ghost",glyph: "pencil",attrs: "data-tag-mode data-skeleton-action disabled tabindex=\"-1\" aria-label=\"管理标签\""}) : ""}- <div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${ss("", t, "过滤" + o)}</div>+ <div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${cs("", t, "过滤" + o)}</div></div>- ${e === "tags" ? W3(aje, n, "词表") : e === "performers" || e === "creators" ? W3(oje, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? W3(ije, e, "资料类型") : ""}+ ${e === "tags" ? G3(aje, n, "词表") : e === "performers" || e === "creators" ? G3(oje, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? G3(ije, e, "资料类型") : ""}${e === "tags" ? cje(r) : ""}${e === "performers" && n !== "online" ? rSe(i) : ""}- ${Rs({+ ${zs({kind: e,layout: a,mode: r})}`;}var uje = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function G3(e, t, n) {+function K3(e, t, n) {let r = lje(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== uje(r) && (e.innerHTML = r, Gs(e));+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== uje(r) && (e.innerHTML = r, Ks(e));}// src/react/router/pages/index-entity.tsx-var dje = () => cu, fje = () => ql, K3 = () => document.getElementById("index");-function q3(e, t, n = {}) {- let r = (0, P.useSyncExternalStore)(yu, dje);+var dje = () => lu, fje = () => Jl, q3 = () => document.getElementById("index");+function J3(e, t, n = {}) {+ let r = (0, P.useSyncExternalStore)(bu, dje);LB();let i = _V(XV.navigation.location.pathname), a = (0, P.useRef)({mounted: !0,@@ -74528,8 +74535,8 @@ function q3(e, t, n = {}) {r !== 0 && queueMicrotask(() => {let t = a.current;if (!t.mounted) return;- let n = t.epoch !== e || t.opens !== cu, r = t.opens !== cu;- if (t.epoch = e, t.opens = cu, _V(XV.navigation.location.pathname)) {+ let n = t.epoch !== e || t.opens !== lu, r = t.opens !== lu;+ if (t.epoch = e, t.opens = lu, _V(XV.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -74551,15 +74558,15 @@ function q3(e, t, n = {}) {]);}async function pje(e, t, n, r) {- let i = K3();+ let i = q3();if (!i) return;let a = `/${t}`;e.surfaceChanged("index", a);- let o = U3(t, n), s = H3(eA().value.peopleLayout);- G3(i, o, s), await zV(a, {+ let o = W3(t, n), s = U3(mA().value.peopleLayout);+ K3(i, o, s), await zV(a, {...o,layout: s,- selectMode: ql,+ selectMode: Jl,configurable: !!e.configurable?.()}, {container: i,@@ -74567,22 +74574,22 @@ async function pje(e, t, n, r) {}) && r() && e.surfaceShown?.("index", a);}function mje(e) {- let t = K3(), n = t ? FV(t) : null;+ let t = q3(), n = t ? FV(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}function hje({ epoch: e }) {let t = (0, P.useContext)(TU), n = LB(), r = n.pathname.split("/").filter(Boolean)[0];- return q3(e, (e, i) => {+ return J3(e, (e, i) => {t && pje(t, r, n.search, i);}, { shown: () => mje(`/${r}`) }), null;}function gje() {- let e = wU(), t = (0, P.useSyncExternalStore)(yu, fje), n = (0, P.useRef)(t);+ let e = wU(), t = (0, P.useSyncExternalStore)(bu, fje), n = (0, P.useRef)(t);return (0, P.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && BV(K3(), { selectMode: t }));+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && BV(q3(), { selectMode: t }));}, [t]), /* @__PURE__ */ (0, F.jsx)(hje, { epoch: e }, e);}-function J3(e) {+function Y3(e) {let t;try {t = decodeURIComponent(e);@@ -74596,9 +74603,9 @@ function J3(e) {name: a} : null;}-var Y3 = /* @__PURE__ */ new WeakMap();+var X3 = /* @__PURE__ */ new WeakMap();function _je(e) {- let t = Y3.get(e);+ let t = X3.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -74608,18 +74615,18 @@ function _je(e) {...e.grid.actions,revealSource: e.revealSource}- }, Y3.set(e, t)), t;+ }, X3.set(e, t)), t;}-function X3() {- let e = K3(), t = e ? FV(e) : null;+function Z3() {+ let e = q3(), t = e ? FV(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}async function vje(e, t, n, r, i, a, o) {- let s = K3();+ let s = q3();if (!s) return;let { segment: c, kind: l, name: u } = n;if (e.surfaceChanged("entity", r), await t.loading(l, u, a), !a()) return;- _u({ entityJavLayout: !1 });+ vu({ entityJavLayout: !1 });let d = document.createElement("template");d.innerHTML = "<div data-entity-hero><div class=\"peach-react\"></div></div>\n <div data-entity-filter><div class=\"peach-react\"></div></div>\n <section class=\"feednew\" data-feed-new aria-label=\"未入库的新作\" hidden></section>\n <div data-entity-body><div class=\"peach-react\"></div></div>";let f = [...d.content.childNodes], p = d.content.querySelector("[data-entity-hero]"), m = {@@ -74634,7 +74641,7 @@ async function vje(e, t, n, r, i, a, o) {actions: {...h.actions,javContext: (e) => {- _u({ entityJavLayout: !!e });+ vu({ entityJavLayout: !!e });}}};@@ -74642,14 +74649,14 @@ async function vje(e, t, n, r, i, a, o) {container: s,isCurrent: a,place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && X3() && (e.surfaceShown?.("entity", r), window.scrollTo({+ }) && a() && Z3() && (e.surfaceShown?.("entity", r), window.scrollTo({top: 0,behavior: "smooth"}));}function yje({ target: e }) {let t = (0, P.useContext)(TU), n = wU(), r = LB();- return q3(n, (n, i) => {+ return J3(n, (n, i) => {let a = t?.entity;t && a && (async () => {let o = new URLSearchParams({ kind: e.kind });@@ -74684,14 +74691,14 @@ function yje({ target: e }) {state: XV.navigation.location.state});})();- }, { shown: () => X3() && !K3()?.hidden }), null;+ }, { shown: () => Z3() && !q3()?.hidden }), null;}function bje() {- let e = J3(LB().pathname);+ let e = Y3(LB().pathname);return e ? /* @__PURE__ */ (0, F.jsx)(yje, { target: e }, JSON.stringify([e.kind, e.name])) : null;}// src/react/jav/jav-header.tsx-function Z3({ tab: e, navigate: t, find: n }) {+function Q3({ tab: e, navigate: t, find: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -74705,8 +74712,8 @@ function Z3({ tab: e, navigate: t, find: n }) {onClick: n,children: "查找资源"})]- }), /* @__PURE__ */ (0, F.jsx)(LQ, {- tabs: x$.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, F.jsx)(RQ, {+ tabs: S$.map(([e, t]) => ({value: e,label: t})),@@ -74719,36 +74726,36 @@ function Z3({ tab: e, navigate: t, find: n }) {}function xje({ navigate: e, receipt: t }) {let [n, r] = (0, P.useState)(null);- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Z3, {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Q3, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, F.jsx)(q2, {+ }), /* @__PURE__ */ (0, F.jsx)(J2, {prefill: n,close: () => r(null),receipt: t})] });}// src/react/router/pages/catalog.tsx-var Sje = () => cu, Q3 = XV.navigation.seq, $3 = XV.navigation.openEpoch, e6 = XV.navigation.location.pathname, t6 = {- seq: Q3,+var Sje = () => lu, $3 = XV.navigation.seq, e6 = XV.navigation.openEpoch, t6 = XV.navigation.location.pathname, n6 = {+ seq: $3,claimed: !0,- from: e6+ from: t6};XV.listen((e) => {- t6 = {+ n6 = {seq: e.seq,- claimed: e.openEpoch === $3,- from: e6- }, $3 = e.openEpoch, e6 = e.location.pathname;+ claimed: e.openEpoch === e6,+ from: t6+ }, e6 = e.openEpoch, t6 = e.location.pathname;});-var n6 = !1;-function r6(e) {+var r6 = !1;+function i6(e) {let { seq: t, openEpoch: n, location: r } = XV.navigation, i = _V(r.pathname), a = $V() ?? r, o = U ?? {};return {seq: t,epoch: n,- opens: cu,+ opens: lu,covered: i,address: `${a.pathname}${a.search}`,filters: JSON.stringify(o, Object.keys(o).sort()),@@ -74766,7 +74773,7 @@ function Cje(e, t, n, r) {state: "trash",q: ""};- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = eA().value;+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = mA().value;return {...i,loc: a.get("loc") ?? r.defaultLoc(),@@ -74780,7 +74787,7 @@ function Cje(e, t, n, r) {dur_max: a.get("dur_max") || "",orient: a.get("orient") || "",state: un[e] || a.get("state") || "",- ...Fk(a.get("sort"), a.get("dir"), o, s),+ ...Yk(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") || "",@@ -74792,7 +74799,7 @@ function Cje(e, t, n, r) {};}function wje(e, t) {- let n = { ...e }, r = r6(n.opened);+ let n = { ...e }, r = i6(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;@@ -74807,33 +74814,33 @@ function wje(e, t) {i.load();return;}- r.epoch !== n.epoch && (a = XV.navigation.action === "POP" && t6.from !== "/");+ r.epoch !== n.epoch && (a = XV.navigation.action === "POP" && n6.from !== "/");}let { pathname: o, search: s } = XV.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = s$(s);- n6 = !0, ZV(c$(e, t), { replace: !0 });+ let { kind: e, view: t } = c$(s);+ r6 = !0, ZV(l$(e, t), { replace: !0 });return;}- let c = n6;- n6 = !1, a &&= o === "/", e.opened = !0, _u({ state: Cje(o, s, a, i) }), i.open(o, {+ let c = r6;+ r6 = !1, a &&= o === "/", e.opened = !0, vu({ state: Cje(o, s, a, i) }), i.open(o, {entering: a,retitle: c});}function Tje(e) {- return fn(e) || e === "/trash" || _V(e) || e === "/immerse" || !!J3(e);+ return fn(e) || e === "/trash" || _V(e) || e === "/immerse" || !!Y3(e);}function Eje() {- let e = (0, P.useContext)(TU), t = wU(), n = (0, P.useSyncExternalStore)(yu, Sje), r = LB(), i = (0, P.useRef)(null), a = (0, P.useRef)({+ let e = (0, P.useContext)(TU), t = wU(), n = (0, P.useSyncExternalStore)(bu, Sje), r = LB(), i = (0, P.useRef)(null), a = (0, P.useRef)({mounted: !0,queued: !1});return (0, P.useEffect)(() => {let t = a.current;t.mounted = !0;- let n = r6(!_V(XV.navigation.location.pathname));- return !n.covered && n.opens > 0 && (n6 || t6.seq === Q3 ? n.opens = -1 : t6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {+ let n = i6(!_V(XV.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 && !Tje(XV.navigation.location.pathname) && e.catalog.release();});@@ -74850,7 +74857,7 @@ function Eje() {e]), null;}-function i6() {+function a6() {let { pathname: e, search: t } = LB();(0, P.useLayoutEffect)(() => {if (e !== "/wall") return;@@ -74879,18 +74886,18 @@ function i6() {] });}// src/react/router/pages/follow.tsx-var a6 = () => document.getElementById("stats"), Dje = () => mu;+var o6 = () => document.getElementById("stats"), Dje = () => hu;function Oje(e) {let t = document.createElement("div");- return t.className = "peach-react", Is(e, () => {+ return t.className = "peach-react", Ls(e, () => {e.textContent = "", e.append(t);}), t;}async function kje(e, t) {- let n = a6(), r = e.follow;+ let n = o6(), r = e.follow;if (!n || !r || r.refresh()) return;- let i = pu;- e.surfaceChanged("follow", "/follow"), u2(n, r.skeleton()), await zV("/follow", r.props(), {+ let i = mu;+ e.surfaceChanged("follow", "/follow"), d2(n, r.skeleton()), await zV("/follow", r.props(), {container: n,isCurrent: t,place: Oje@@ -74903,12 +74910,12 @@ async function kje(e, t) {});}function Aje() {- let e = a6(), t = e ? FV(e) : null;+ let e = o6(), t = e ? FV(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}function jje() {let e = (0, P.useContext)(TU);- return q3(wU(), (t, n) => {+ return J3(wU(), (t, n) => {e && kje(e, n);}, {shown: Aje,@@ -74917,17 +74924,17 @@ function jje() {}}), null;}-function o6(e) {+function s6(e) {let t = e ? FV(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}async function Mje(e, t) {- let n = a6();- n && (e.surfaceChanged("playlists", "/playlists"), u2(n, c2("/playlists", {+ let n = o6();+ n && (e.surfaceChanged("playlists", "/playlists"), d2(n, l2("/playlists", {followLayout: "",followSort: "",followDir: ""- })), await zV("/playlists", { revision: mu }, {+ })), await zV("/playlists", { revision: hu }, {container: n,isCurrent: t}), t() && window.scrollTo({@@ -74936,17 +74943,17 @@ async function Mje(e, t) {}));}function Nje() {- let e = (0, P.useContext)(TU), t = (0, P.useSyncExternalStore)(yu, Dje), n = (0, P.useRef)(t);+ let e = (0, P.useContext)(TU), t = (0, P.useSyncExternalStore)(bu, Dje), n = (0, P.useRef)(t);return (0, P.useEffect)(() => {if (n.current === t) return;n.current = t;- let e = a6();- o6(e) && BV(e, { revision: t });- }, [t]), q3(wU(), (t, n) => {+ let e = o6();+ s6(e) && BV(e, { revision: t });+ }, [t]), J3(wU(), (t, n) => {e && Mje(e, n);}, { shown: () => {- let e = a6();- return o6(e) && !e.hidden;+ let e = o6();+ return s6(e) && !e.hidden;} }), null;}// src/react/router/pages/immerse.tsx@@ -74964,8 +74971,8 @@ function Ije() {return /* @__PURE__ */ (0, F.jsx)(Fje, {}, wU());}// src/ui-kit/anchor-scroll.ts-var s6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";-async function c6(e, t) {+var c6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";+async function l6(e, t) {let n;try {n = decodeURIComponent(e.slice(1));@@ -74980,26 +74987,26 @@ async function c6(e, t) {let r = document.getElementById(n);r?.getClientRects().length && r.scrollIntoView({block: "start",- behavior: s6()+ behavior: c6()});}// src/react/router/pages/managed.tsx-var Lje = () => cu > 0, l6 = () => (0, P.useSyncExternalStore)(yu, Lje), u6 = () => eA().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);+var Lje = () => lu > 0, u6 = () => (0, P.useSyncExternalStore)(bu, Lje), d6 = () => mA().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);function Rje(e) {- let t = d6();- return c2(e, {- followLayout: u6(),+ let t = f6();+ return l2(e, {+ followLayout: d6(),followSort: t.get("sort") || "",followDir: t.get("dir") || ""});}-function f6(e) {+function p6(e) {return on("/healthz", { signal: e.controller.signal }).catch((e) => {if (sn(e)) return null;throw e;});}-function p6(e, t) {+function m6(e, t) {return {readOnly: !!e?.ledger_read_only,readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",@@ -75008,39 +75015,39 @@ function p6(e, t) {}async function zje(e, t) {if (e === "/jav") {- let e = await f6(t);+ let e = await p6(t);return t.live ? {- tab: S$(d6().get("tab")),+ tab: C$(f6().get("tab")),readOnly: !!e?.ledger_read_only} : null;}if (e === "/stats") return {};if (e === "/taste") {- let e = su;- return _u({ cameFromSetup: !1 }), { onboarding: e };+ let e = cu;+ return vu({ cameFromSetup: !1 }), { onboarding: e };}if (e.startsWith("/settings/")) {- window.location.hash === "#peachProxy" && _u({ configurationRequestedSection: "网络与访问" });- let t = d6().get("section") || au || cV(e);+ window.location.hash === "#peachProxy" && vu({ configurationRequestedSection: "网络与访问" });+ let t = f6().get("section") || ou || cV(e);return t ? { section: t } : {};}if (e === "/review") {- let e = d6().get("category") || "", n = await f6(t);+ let e = f6().get("category") || "", n = await p6(t);return t.live ? {- category: OY(e) ? e : "",- queue: jY(d6().get("queue")),- ...p6(n, "/review")+ category: kY(e) ? e : "",+ queue: MY(f6().get("queue")),+ ...m6(n, "/review")} : null;}if (e === "/subscriptions") {- let e = LZ("?" + d6().toString()), n = await f6(t);+ let e = RZ("?" + f6().toString()), n = await p6(t);if (!t.live) return null;- let r = eA().value;+ let r = mA().value;return {...e,pageSize: Number(r.followPageSize) || 20,- layout: u6(),- ...p6(n, "/subscriptions")+ layout: d6(),+ ...m6(n, "/subscriptions")};}return {};@@ -75048,7 +75055,7 @@ async function zje(e, t) {var Bje = () => {window.scrollTo({top: 0,- behavior: s6()+ behavior: c6()});}, Vje = /* @__PURE__ */ new Set(["/stats",@@ -75060,15 +75067,15 @@ var Bje = () => {]);async function Hje(e, t, n) {let r = XV.navigation.seq, i = () => n.live && XV.navigation.seq === r;- if (e === "/jav" && S$(d6().get("tab")) === "library") {+ if (e === "/jav" && C$(f6().get("tab")) === "library") {XV.replace(uTe(window.location.search));return;}- if (e === "/subscriptions" && d6().get("tab") === "wants") {+ if (e === "/subscriptions" && f6().get("tab") === "wants") {ZV("/jav?tab=wants", { replace: !0 });return;}- if (e === "/subscriptions" && d6().get("tab") === "source") {+ if (e === "/subscriptions" && f6().get("tab") === "source") {ZV("/settings/subscriptions", { replace: !0 });return;}@@ -75077,7 +75084,7 @@ async function Hje(e, t, n) {e === "/jav" && window.scrollTo({top: 0,behavior: "instant"- }), t.surfaceChanged("management", e), e === "/taste" && (_u({ state: {+ }), t.surfaceChanged("management", e), e === "/taste" && (vu({ state: {...U,creator: "",studio: "",@@ -75091,24 +75098,24 @@ async function Hje(e, t, n) {state: "",q: "",jav: ""- } }), t.clearSearch()), u2(a, Rje(e));+ } }), t.clearSearch()), d2(a, Rje(e));let o = await zje(e, n);if (!o) return;let s = await zV(e, o, {container: a,isCurrent: () => n.live});- if (s && (n.revision = FV(a)?.revision ?? 0), e.startsWith("/settings/") && s && _u({ configurationRequestedSection: "" }), s && i()) {+ if (s && (n.revision = FV(a)?.revision ?? 0), e.startsWith("/settings/") && s && vu({ configurationRequestedSection: "" }), s && i()) {let { hash: t } = window.location;e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {i() && ZV("/data-cleanup#libraryProcessing", {replace: !0,state: null});- }) : t ? c6(t, i) : (Vje.has(e) || e === "/settings/library") && Bje();+ }) : t ? l6(t, i) : (Vje.has(e) || e === "/settings/library") && Bje();}}-function m6({ path: e }) {+function h6({ path: e }) {let t = wU();LB();let n = _V(XV.navigation.location.pathname), r = (0, P.useRef)(n ? null : t), i = (0, P.useRef)(n);@@ -75120,7 +75127,7 @@ function m6({ path: e }) {}, `${a} ${r.current ?? "covered"}`);}function Uje({ path: e, covered: t }) {- let n = (0, P.useContext)(TU), r = l6(), i = (0, P.useRef)(null);+ let n = (0, P.useContext)(TU), r = u6(), i = (0, P.useRef)(null);return (0, P.useEffect)(() => {e.startsWith("/settings/") && BV(document.getElementById("stats"), { section: cV(e) });}, [e]), (0, P.useEffect)(() => {@@ -75144,7 +75151,7 @@ function Uje({ path: e, covered: t }) {}, []), null;}function Wje() {- let e = l6(), t = (0, P.useRef)(!1);+ let e = u6(), t = (0, P.useRef)(!1);return (0, P.useEffect)(() => {if (!e || t.current || _V(XV.navigation.location.pathname)) return;t.current = !0;@@ -75157,22 +75164,22 @@ function Wje() {}, [e]), null;}// src/react/router/route-chunk.ts-var h6 = [], g6 = "peach.chunkReloadAt", Gje = 3e4;+var g6 = [], _6 = "peach.chunkReloadAt", Gje = 3e4;async function Kje() {try {- let e = Number(sessionStorage.getItem(g6) || 0);+ let e = Number(sessionStorage.getItem(_6) || 0);if (Date.now() - e < Gje || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;- sessionStorage.setItem(g6, String(Date.now())), location.reload();+ sessionStorage.setItem(_6, String(Date.now())), location.reload();} catch {}}-function _6(e) {+function v6(e) {let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {throw n = null, e;});- return h6.push(r), {+ return g6.push(r), {preload: () => r().catch(async (e) => {throw await Kje(), e;}),@@ -75185,7 +75192,7 @@ function _6(e) {function qje() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;- let t = [...h6], n = () => {+ let t = [...g6], n = () => {let r = t.shift();r && e(() => {r().catch(() => {}).finally(n);@@ -75194,31 +75201,31 @@ function qje() {document.readyState === "complete" ? n() : window.addEventListener("load", n, { once: !0 });}// src/react/router/managed-routes.tsx-async function v6(e, t) {+async function y6(e, t) {let [n, r] = await Promise.allSettled([e.preload(), t]);if (r.status === "rejected") throw r.reason;if (n.status === "rejected") throw n.reason;}-var y6 = _6(() => import("./peach-app.jav-page-C5uPjDXP.js")), b6 = _6(() => import("./peach-app.stats-page-BD7bt_Ub.js")), x6 = _6(() => import("./peach-app.taste-page-TP-o8aAE.js")), S6 = _6(() => import("./peach-app.review-page-BoybwF8-.js")), C6 = _6(() => import("./peach-app.data-cleanup-page-Ctwipl6H.js")), w6 = _6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), T6 = _6(() => import("./peach-app.quality-goals-page-DwyqtX3v.js")), E6 = _6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), D6 = _6(async () => {+var b6 = v6(() => import("./peach-app.jav-page-C5uPjDXP.js")), x6 = v6(() => import("./peach-app.stats-page-BD7bt_Ub.js")), S6 = v6(() => import("./peach-app.taste-page-TP-o8aAE.js")), C6 = v6(() => import("./peach-app.review-page-BoybwF8-.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-Ctwipl6H.js")), T6 = v6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), E6 = v6(() => import("./peach-app.quality-goals-page-DwyqtX3v.js")), D6 = v6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), O6 = v6(async () => {let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-Bji43uG_.js"), import("./peach-app.diagnostics-page-CZQmu5mE.js")]);return {ConfigurationPage: e,DiagnosticsPage: t};-}), O6 = _6(() => import("./peach-app.activity-page-DzMpq2eJ.js")), k6 = _6(() => import("./peach-app.follow-manage-page-36Z6mSDD.js")), A6 = _6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));+}), k6 = v6(() => import("./peach-app.activity-page-DzMpq2eJ.js")), A6 = v6(() => import("./peach-app.follow-manage-page-36Z6mSDD.js")), j6 = v6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));function Jje(e, t, n) {if (e === "duplicates") {n("/duplicates");return;}let r = t.managePath(e);- N6(r) ? n(r) : t.openManage(e);+ P6(r) ? n(r) : t.openManage(e);}-var j6 = (e) => ({- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: e }),- prefetch: (t, n) => v6(D6, Promise.all([eEe(n), ...e === "/settings/diagnostics" ? [Swe(n)] : []]).then(() => {})),+var M6 = (e) => ({+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: e }),+ prefetch: (t, n) => y6(O6, Promise.all([eEe(n), ...e === "/settings/diagnostics" ? [Swe(n)] : []]).then(() => {})),page: (t, n) => {- let { ConfigurationPage: r, DiagnosticsPage: i } = D6.get();+ let { ConfigurationPage: r, DiagnosticsPage: i } = O6.get();return /* @__PURE__ */ (0, F.jsx)(r, {receipt: (e) => n.receipt(e),reopenTutorial: n.reopenTutorial,@@ -75229,12 +75236,12 @@ var j6 = (e) => ({})});}-}), M6 = {+}), N6 = {"/jav": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/jav" }),- prefetch: (e, t) => v6(y6, fTe(e.tab, t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/jav" }),+ prefetch: (e, t) => y6(b6, fTe(e.tab, t)),page: (e, t) => {- let { JavPage: n } = y6.get();+ let { JavPage: n } = b6.get();return /* @__PURE__ */ (0, F.jsx)(n, {...e,navigate: t.navigate,@@ -75243,21 +75250,21 @@ var j6 = (e) => ({}},"/stats": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/stats" }),- prefetch: (e, t) => v6(b6, Zke(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/stats" }),+ prefetch: (e, t) => y6(x6, Zke(t)),page: (e, t) => {- let { StatsPage: n } = b6.get();+ let { StatsPage: n } = x6.get();return /* @__PURE__ */ (0, F.jsx)(n, {- tagLabel: Ml,+ tagLabel: Nl,onTag: t.openTag});}},"/taste": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/taste" }),- prefetch: (e, t) => v6(x6, zAe("all", t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/taste" }),+ prefetch: (e, t) => y6(S6, zAe("all", t)),page: (e, t, n) => {- let { TastePage: r } = x6.get();+ let { TastePage: r } = S6.get();return /* @__PURE__ */ (0, F.jsx)(r, {onSignal: t.openTasteSignal,navigate: n,@@ -75267,10 +75274,10 @@ var j6 = (e) => ({}},"/review": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/review" }),- prefetch: (e, t) => v6(S6, Bbe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/review" }),+ prefetch: (e, t) => y6(C6, Bbe(t)),page: (e, t) => {- let { ReviewPage: n } = S6.get();+ let { ReviewPage: n } = C6.get();return /* @__PURE__ */ (0, F.jsx)(n, {...e,route: t.routeReview,@@ -75282,10 +75289,10 @@ var j6 = (e) => ({}},"/data-cleanup": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/data-cleanup" }),- prefetch: (e, t) => v6(C6, qxe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/data-cleanup" }),+ prefetch: (e, t) => y6(w6, qxe(t)),page: (e, t, n) => {- let { DataCleanupPage: r } = C6.get();+ let { DataCleanupPage: r } = w6.get();return /* @__PURE__ */ (0, F.jsx)(r, {failure: t.failure,open: (e) => Jje(e, t, n),@@ -75294,10 +75301,10 @@ var j6 = (e) => ({}},"/duplicates": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/duplicates" }),- prefetch: (e, t) => v6(w6, nbe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/duplicates" }),+ prefetch: (e, t) => y6(T6, nbe(t)),page: (e, t) => {- let { DuplicatesPage: n } = w6.get();+ let { DuplicatesPage: n } = T6.get();return /* @__PURE__ */ (0, F.jsx)(n, {openItem: t.openItem,failure: t.failure,@@ -75306,46 +75313,46 @@ var j6 = (e) => ({}},"/quality-goals": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/quality-goals" }),- prefetch: (e, t) => v6(T6, mbe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/quality-goals" }),+ prefetch: (e, t) => y6(E6, mbe(t)),page: (e, t) => {- let { QualityGoalsPage: n } = T6.get();+ let { QualityGoalsPage: n } = E6.get();return /* @__PURE__ */ (0, F.jsx)(n, {openItem: t.openItem,- javTitleHtml: IF,- javDisplayName: FF,+ javTitleHtml: yF,+ javDisplayName: vF,toast: (e) => t.receipt(e),srcBadge: t.srcBadge});}},"/sources": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/sources" }),- prefetch: (e, t) => v6(E6, WTe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/sources" }),+ prefetch: (e, t) => y6(D6, WTe(t)),page: (e, t) => {- let { ScrapingPage: n } = E6.get();+ let { ScrapingPage: n } = D6.get();return /* @__PURE__ */ (0, F.jsx)(n, { toast: (e) => t.toast(e) });}},- "/settings/library": j6("/settings/library"),- "/settings/subscriptions": j6("/settings/subscriptions"),- "/settings/downloads": j6("/settings/downloads"),- "/settings/network": j6("/settings/network"),- "/settings/maintenance": j6("/settings/maintenance"),- "/settings/diagnostics": j6("/settings/diagnostics"),+ "/settings/library": M6("/settings/library"),+ "/settings/subscriptions": M6("/settings/subscriptions"),+ "/settings/downloads": M6("/settings/downloads"),+ "/settings/network": M6("/settings/network"),+ "/settings/maintenance": M6("/settings/maintenance"),+ "/settings/diagnostics": M6("/settings/diagnostics"),"/tasks": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/tasks" }),- prefetch: (e, t) => v6(O6, qle(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/tasks" }),+ prefetch: (e, t) => y6(k6, due(t)),page: () => {- let { ActivityPage: e } = O6.get();+ let { ActivityPage: e } = k6.get();return /* @__PURE__ */ (0, F.jsx)(e, {});}},"/subscriptions": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/subscriptions" }),- prefetch: (e, t) => v6(k6, yi(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/subscriptions" }),+ prefetch: (e, t) => y6(A6, yi(t)),page: (e, t) => {- let { FollowManagePage: n } = k6.get();+ let { FollowManagePage: n } = A6.get();return /* @__PURE__ */ (0, F.jsx)(n, {...e,route: t.routeFollowManage,@@ -75355,12 +75362,12 @@ var j6 = (e) => ({});}}-}, N6 = (e) => Object.hasOwn(M6, e), Yje = { "/resource-sync": { element: /* @__PURE__ */ (0, F.jsx)(Wje, {}) } }, Xje = { "/immerse": { element: /* @__PURE__ */ (0, F.jsx)(Ije, {}) } }, P6 = {+}, P6 = (e) => Object.hasOwn(N6, e), Yje = { "/resource-sync": { element: /* @__PURE__ */ (0, F.jsx)(Wje, {}) } }, Xje = { "/immerse": { element: /* @__PURE__ */ (0, F.jsx)(Ije, {}) } }, F6 = {"/playlists": {element: /* @__PURE__ */ (0, F.jsx)(Nje, {}),- prefetch: (e, t) => v6(A6, OTe(t)),+ prefetch: (e, t) => y6(j6, OTe(t)),page: (e, t) => {- let { PlaylistsPage: n } = A6.get();+ let { PlaylistsPage: n } = j6.get();return /* @__PURE__ */ (0, F.jsx)(n, {revision: e.revision,openPlaylist: t.openPlaylist,@@ -75375,7 +75382,7 @@ var j6 = (e) => ({prefetch: (e, t) => Vi(e, t),page: (e) => /* @__PURE__ */ (0, F.jsx)(tCe, { ...e })}-}, F6 = (e) => Object.hasOwn(P6, e), I6 = {+}, I6 = (e) => Object.hasOwn(F6, e), L6 = {element: /* @__PURE__ */ (0, F.jsx)(gje, {}),prefetch: (e, t) => mSe(e, t),page: (e, t) => /* @__PURE__ */ (0, F.jsx)(Lwe, {@@ -75385,45 +75392,45 @@ var j6 = (e) => ({exitSelectMode: t.exitSelectMode,personAvatar: t.personAvatar,authorAvatar: t.authorAvatar,- tagLabel: Ml,+ tagLabel: Nl,openEntity: t.openEntity,showTags: t.showIndexTags,openFollowAuthor: t.openFollowAuthor,openFollowTag: t.openFollowTag})-}, L6 = {- "/performers": I6,- "/creators": I6,- "/studios": I6,- "/agencies": I6,- "/tags": I6,- "/series": I6}, R6 = {+ "/performers": L6,+ "/creators": L6,+ "/studios": L6,+ "/agencies": L6,+ "/tags": L6,+ "/series": L6+}, z6 = {element: /* @__PURE__ */ (0, F.jsx)(bje, {}),prefetch: (e) => nSe(e),page: (e) => /* @__PURE__ */ (0, F.jsx)(_we, { ...e })-}, z6 = {- "/performers/*": R6,- "/studios/*": R6,- "/creators/*": R6,- "/series/*": R6,- "/agencies/*": R6,- "/tags/*": R6}, B6 = {+ "/performers/*": z6,+ "/studios/*": z6,+ "/creators/*": z6,+ "/series/*": z6,+ "/agencies/*": z6,+ "/tags/*": z6+}, V6 = {"/": {- element: /* @__PURE__ */ (0, F.jsx)(i6, {}),- prefetch: (e, t) => _ce(e, t),- page: (e) => /* @__PURE__ */ (0, F.jsx)(cY, { ...e })+ element: /* @__PURE__ */ (0, F.jsx)(a6, {}),+ prefetch: (e, t) => NM(e, t),+ page: (e) => /* @__PURE__ */ (0, F.jsx)(lY, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, F.jsx)(i6, {}),+ element: /* @__PURE__ */ (0, F.jsx)(a6, {}),prefetch: async () => {},page: (e) => /* @__PURE__ */ (0, F.jsx)(Qwe, { ...e })}-}, V6 = (e) => Object.hasOwn(B6, e), Zje = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)(pge, { ...e }) : /* @__PURE__ */ (0, F.jsx)(B$, { ...e }), H6 = {+}, H6 = (e) => Object.hasOwn(V6, e), Zje = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)(mge, { ...e }) : /* @__PURE__ */ (0, F.jsx)(V$, { ...e }), U6 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, F.jsx)(yW, { ...e })+ page: (e) => /* @__PURE__ */ (0, F.jsx)(bW, { ...e })},"feed-new": {prefetch: (e) => Qxe(e),@@ -75437,22 +75444,22 @@ var j6 = (e) => ({prefetch: async () => {},page: (e) => /* @__PURE__ */ (0, F.jsx)(XTe, { ...e })}-}, U6 = (e) => Object.hasOwn(H6, e), W6 = {+}, W6 = (e) => Object.hasOwn(U6, e), G6 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(Boe, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(Doe, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(Sse, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(lse, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(kle, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(qle, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(JN, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(Wce, {})},"settings-panel": {prefetch: async () => {},@@ -75466,7 +75473,7 @@ var j6 = (e) => ({prefetch: async () => {},page: () => /* @__PURE__ */ (0, F.jsx)(Yke, {})}-}, G6 = (e) => Object.hasOwn(W6, e), K6 = [+}, K6 = (e) => Object.hasOwn(G6, e), q6 = ["/","/wall","/unseen",@@ -75476,99 +75483,99 @@ var j6 = (e) => ({"/junk-files"];[- ...Object.keys(M6),- ...Object.keys(P6),- ...Object.keys(L6),- ...Object.keys(z6),- ...K6+ ...Object.keys(N6),+ ...Object.keys(F6),+ ...Object.keys(R6),+ ...Object.keys(B6),+ ...q6];-var q6 = (e) => N6(e) || F6(e) || Object.hasOwn(L6, e) || Object.hasOwn(z6, e) || V6(e) || U6(e) || G6(e);-function J6(e) {- return N6(e) ? M6[e] : F6(e) ? P6[e] : V6(e) ? B6[e] : U6(e) ? H6[e] : G6(e) ? W6[e] : Object.hasOwn(L6, e) ? L6[e] : z6[e];+var J6 = (e) => P6(e) || I6(e) || Object.hasOwn(R6, e) || Object.hasOwn(B6, e) || H6(e) || W6(e) || K6(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 Qje(e, t, n) {- return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+ return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}function $je(e, t, n, r) {- return J6(e).page(t, n, r);+ return Y6(e).page(t, n, r);}// src/react/application-residents.ts-var Y6 = null, X6 = null, Z6 = 0, Q6 = /* @__PURE__ */ new Set();+var X6 = null, Z6 = null, Q6 = 0, $6 = /* @__PURE__ */ new Set();function eMe(e) {- return Y6 = e, X6 && e(X6), () => {- Y6 === e && (Y6 = null);+ return X6 = e, Z6 && e(Z6), () => {+ X6 === e && (X6 = null);};}function tMe(e) {- return Y6 && (X6 = e, Y6(e), Yme(Promise.resolve(Qje)), qje()), Promise.resolve();+ return X6 && (Z6 = e, X6(e), Xme(Promise.resolve(Qje)), qje()), Promise.resolve();}-async function $6(e, t, n = (e) => e) {- let r = Z6;- if (t.isConnected || Q6.add(t), !await zV(e, {}, {+async function e8(e, t, n = (e) => e) {+ let r = Q6;+ if (t.isConnected || $6.add(t), !await zV(e, {}, {container: t,resident: !0,- isCurrent: () => !!Y6 && r === Z6,+ isCurrent: () => !!X6 && r === Q6,place: () => n(t)- }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");+ }) || r !== Q6 || !X6) throw new DOMException("应用已卸载", "AbortError");}function nMe() {- Z6 += 1, Y6 = null, X6 = null, e8 = null, t8 = null, i8 = null, a8 = null, s8 = null, c8 = null, u8 = null, d8 = null, p8 = null, m8 = null, g8 = null, _8 = null, y8 = null;- for (let e of Q6) e.remove();- Q6.clear(), qQ();+ 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(), JQ();}-var e8 = null, t8 = null;-function n8(e) {- return e8 ??= (async () => {+var t8 = null, n8 = null;+function r8(e) {+ return t8 ??= (async () => {let t = Jke(e), n = document.createElement("div");- return n.dataset.stageHost = "", await $6("stage", n, (e) => (document.body.append(e), e)), t8 = t, t;- })(), e8;+ return n.dataset.stageHost = "", await e8("stage", n, (e) => (document.body.append(e), e)), n8 = t, t;+ })(), t8;}-var r8 = () => t8, i8 = null, a8 = null;+var i8 = () => n8, a8 = null, o8 = null;function rMe(e) {- return i8 ??= (async () => {- let t = qN(e), n = document.createElement("div");- return n.dataset.immerseHost = "", await $6("immerse", n, (e) => (document.body.append(e), e)), a8 = t, t;- })(), i8;+ return a8 ??= (async () => {+ let t = Uce(e), n = document.createElement("div");+ return n.dataset.immerseHost = "", await e8("immerse", n, (e) => (document.body.append(e), e)), o8 = t, t;+ })(), a8;}-var o8 = () => a8, s8 = null, c8 = null;+var s8 = () => o8, c8 = null, l8 = null;function iMe(e) {- return s8 ??= (async () => {+ return c8 ??= (async () => {let t = vEe(e), n = document.createElement("div");- return n.dataset.settingsHost = "", await $6("settings-panel", n, (e) => (document.body.append(e), e)), c8 = t, t;- })(), s8;+ return n.dataset.settingsHost = "", await e8("settings-panel", n, (e) => (document.body.append(e), e)), l8 = t, t;+ })(), c8;}-var l8 = () => c8, u8 = null, d8 = null;+var u8 = () => l8, d8 = null, f8 = null;function aMe(e) {- return u8 ??= (async () => {+ return d8 ??= (async () => {let t = MEe(e);- return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;- })(), u8;+ return await e8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), f8 = t, t;+ })(), d8;}-var f8 = () => d8, p8 = null, m8 = null;+var p8 = () => f8, m8 = null, h8 = null;function oMe(e) {- return p8 ??= (async () => {- let t = Ole(e);- return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;- })(), p8;+ return m8 ??= (async () => {+ let t = Kle(e);+ return await e8("manage-header", e.root, (e) => (e.replaceChildren(), e)), h8 = t, t;+ })(), m8;}-var h8 = () => m8, g8 = null, _8 = null;+var g8 = () => h8, _8 = null, v8 = null;function sMe(e) {- return g8 ??= (async () => {- let t = zoe(e);- return await $6("batch-dock", e.root), _8 = t, t;- })(), g8;+ return _8 ??= (async () => {+ let t = Eoe(e);+ return await e8("batch-dock", e.root), v8 = t, t;+ })(), _8;}-var v8 = () => _8, y8 = null;+var y8 = () => v8, b8 = null;function cMe(e) {- return y8 ??= (async () => {- xse(e), await $6("glow-picker", e.root);- })(), y8;+ return b8 ??= (async () => {+ cse(e), await e8("glow-picker", e.root);+ })(), b8;}-function b8(e, t, n, r) {- JQ(e, t), YQ(n, r);+function x8(e, t, n, r) {+ YQ(e, t), XQ(n, r);}// src/application/effects.ts-var x8 = class {+var S8 = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -75649,12 +75656,12 @@ var x8 = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, J = new x8();+}, J = new S8();function lMe() {- return J.dispose(), J = new x8(), J;+ return J.dispose(), J = new S8(), J;}// src/application/receipts.js-var S8 = {+var C8 = {toastBody: void 0,toastSeq: void 0,toast: void 0,@@ -75665,12 +75672,12 @@ var S8 = {seededSample: void 0};function uMe() {- JQ(L("#toasts"), {+ YQ(L("#toasts"), {success: R("check"),error: R("circle-alert")- }), S8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), S8.toastSeq = 0, S8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {- let a = `toast-${++S8.toastSeq}`, o = (e, t, n, r) => {- Mo(i || (t ? "error" : "success")), b8(L("#toasts"), {+ }), 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 } = {}) => {+ let a = `toast-${++C8.toastSeq}`, o = (e, t, n, r) => {+ No(i || (t ? "error" : "success")), x8(L("#toasts"), {success: R("check"),error: R("circle-alert")}, a, {@@ -75680,18 +75687,18 @@ function uMe() {action: r && !t ? {label: r.label,run: (e) => {- Oc(e), r.run();+ kc(e), r.run();}} : null});};- return o(S8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(S8.toastBody(e), t, n, null) };- }, S8.liftToastsOverTutorial = () => {+ return o(C8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(C8.toastBody(e), t, n, null) };+ }, C8.liftToastsOverTutorial = () => {let e = L("#postSetupTutorial"), t = L("#toasts"), n = e.hidden ? innerHeight : e.getBoundingClientRect().top;e.hidden || !e.offsetHeight || n < 160 ? t.style.removeProperty("--toast-bottom") : t.style.setProperty("--toast-bottom", `${Math.round(innerHeight - n + 12)}px`);- }, J.resize(S8.liftToastsOverTutorial).observe(L("#postSetupTutorial")), J.listen.bind(J, window)("resize", S8.liftToastsOverTutorial), S8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {+ }, J.resize(C8.liftToastsOverTutorial).observe(L("#postSetupTutorial")), J.listen.bind(J, window)("resize", C8.liftToastsOverTutorial), C8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {let r = null;- return r = S8.toast({ text: e }, {+ return r = C8.toast({ text: e }, {timeout: n,action: t ? {label: "撤销",@@ -75704,7 +75711,7 @@ function uMe() {}} : null}), r;- }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => zn(), S8.seededSample = (e, t, n, r = (e) => e.k) => {+ }, C8.actionFailure = (e, t) => C8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), C8.rollSeed = () => zn(), C8.seededSample = (e, t, n, r = (e) => e.k) => {if (e.length <= t) return e;let i = new Set([...e].sort((e, t) => Rn(n, r(e)) - Rn(n, r(t))).slice(0, t).map(r));return e.filter((e) => i.has(r(e)));@@ -75732,8 +75739,8 @@ var dMe = ["folder","folder_recursive"];-function C8(e, t, n, r = n.defaultSort) {- return Fk(e, t, n.defaultSort, n.defaultSortDirection, r);+function w8(e, t, n, r = n.defaultSort) {+ return Yk(e, t, n.defaultSort, n.defaultSortDirection, r);}function fMe(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;@@ -75751,7 +75758,7 @@ function fMe(e, t, n) {region: o("region") || "",year: o("year") || "",state: un[r] || o("state") || "",- ...C8(o("sort"), o("dir"), t),+ ...w8(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",@@ -75768,7 +75775,7 @@ function mMe(e) {let t = ln[e.state ?? ""] || "/", n = new URLSearchParams();for (let t of dMe) {let r = e[t];- !r || t === "tag_match" && r === "all" || t === "dir" && r === Mk(e.sort ?? "") || n.set(t, r);+ !r || t === "tag_match" && r === "all" || t === "dir" && r === Kk(e.sort ?? "") || n.set(t, r);}return !ln[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}@@ -75788,7 +75795,7 @@ function hMe(e, t, n) {year: "",state: "",sort: t.defaultSort,- dir: Pk(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: Jk(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",@@ -75798,7 +75805,7 @@ function hMe(e, t, n) {folder_recursive: ""};}-function w8(e) {+function T8(e) {return {state: e,barsContext: {@@ -75854,21 +75861,21 @@ var gMe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, T8 = 3e4, E8 = 0, _Me = (e, t = E8) => [+}, E8 = 3e4, D8 = 0, _Me = (e, t = D8) => ["facets",e,t-], vMe = (e, t, n = E8) => [+], vMe = (e, t, n = D8) => ["tops",e,t,n-], yMe = (e, t = E8) => [+], yMe = (e, t = D8) => ["tops",e,t];-async function D8(e) {+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}`));}@@ -75876,22 +75883,22 @@ function bMe(e, t) {return Promise.all([H.fetchQuery({queryKey: _Me(e),queryFn: () => on(`/api/facets${e ? `?${e}` : ""}`),- staleTime: T8+ staleTime: E8}), H.fetchQuery({queryKey: vMe(t, e),- queryFn: () => D8(t),- staleTime: T8+ queryFn: () => O8(t),+ staleTime: E8})]);}function xMe(e) {return H.fetchQuery({queryKey: yMe(e),- queryFn: () => D8(e),- staleTime: T8+ queryFn: () => O8(e),+ staleTime: E8});}-function O8() {- E8 += 1;+function k8() {+ D8 += 1;let e = (e) => e.state.fetchStatus === "idle";H.removeQueries({queryKey: ["facets"],@@ -75902,7 +75909,7 @@ function O8() {});}// src/application/navigation-items.ts-var k8 = [+var A8 = [["","首页",@@ -75953,7 +75960,7 @@ var k8 = ["管理","wrench"]-], A8 = [+], j8 = [["stats","统计",@@ -75999,18 +76006,18 @@ var k8 = ["Peach 配置","folder-cog"]-], j8 = [+], M8 = ["stats","taste","cleanup","follow","activity","configuration"-], SMe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], SMe = (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-]]), CMe = [...k8, ...M8], wMe = {+]]), CMe = [...A8, ...N8], wMe = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -76018,18 +76025,18 @@ var k8 = ["follow-manage": "follow",quality: "quality",activity: "activity"-}, N8 = [+}, P8 = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],["90", "最近 90 天"]];// src/react/index/index-controller.ts-function P8({ kind: e, q: t, scope: n, view: r, category: i }) {+function F8({ kind: e, q: t, scope: n, view: r, category: i }) {let a = new URLSearchParams();return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");}-function F8(e, t, n) {+function I8(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {html: Za(e.k, r ? {@@ -76042,7 +76049,7 @@ function F8(e, t, n) {face: $a(e.avatar_focus)};}-function I8(e) {+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}`;}@@ -76052,10 +76059,10 @@ function TMe(e) {};return {route(t, { replace: n = !1 } = {}) {- e.route(P8(t), n);+ e.route(F8(t), n);},- personAvatar: F8,- authorAvatar: I8,+ personAvatar: I8,+ authorAvatar: L8,openFollowAuthor(n) {t(da(e.followView(), n));},@@ -76069,44 +76076,44 @@ function EMe(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";- r && (Oc(r), r.innerHTML = `${bs("正在定位")}${a ? `<span>${z(a)}</span>` : ""}`), n.textContent = "";+ r && (kc(r), r.innerHTML = `${xs("正在定位")}${a ? `<span>${z(a)}</span>` : ""}`), n.textContent = "";try {await e.request(t), n.textContent = "", e.success();} catch (t) {n.textContent = e.failureText(t);} finally {- r && (Oc(r, !1), r.innerHTML = i);+ r && (kc(r, !1), r.innerHTML = i);}};}// src/react/entity-page/entity-route.ts-var L8 = () => Object.fromEntries(PX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function R8(e, t) {- let n = new URLSearchParams(e), r = L8();- for (let e of PX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");+var R8 = () => Object.fromEntries(FX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function z8(e, t) {+ let n = new URLSearchParams(e), r = R8();+ for (let e of FX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...Fk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...Yk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function z8(e) {+function B8(e) {let t = new URLSearchParams();- for (let n of PX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Mk(e.sort || "") || t.set(n, e[n]);+ for (let n of FX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Kk(e.sort || "") || t.set(n, e[n]);return t.toString();}-function B8(e) {+function V8(e) {let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");return {media: r === "photos" || r === "online" ? r : "videos",set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0};}-function V8(e, t) {- let n = new URLSearchParams(z8(e));+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 DMe(e, t, n, r) {- let i = V8(n, r);+ let i = H8(n, r);return hn(e, t) + (i ? `?${i}` : "");}function OMe() {@@ -76118,13 +76125,13 @@ function OMe() {read(t, n, r, i) {let a = e === hn(t, n) && !r;e = "";- let o = a ? L8() : { ...R8(r, i) };+ let o = a ? R8() : { ...z8(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : B8(r)+ } : V8(r)};}};@@ -76174,7 +76181,7 @@ function jMe(e, t, n) {if (s) return s;let c = () => {let n = e.context();- return n?.kind === t && n.name === a ? n.filters : L8();+ return n?.kind === t && n.name === a ? n.filters : R8();}, l = {...n,route: (e, n) => {@@ -76187,7 +76194,7 @@ function jMe(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = Nk(e, n.sort || "new", n.dir || "");+ let n = c(), i = qk(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -76294,7 +76301,7 @@ function FMe(e) {return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;}// src/application/feed.js-var H8 = {+var U8 = {FEED_SKELETON_CARDS: void 0,feedNewSkeletonHtml: void 0,entityShapes: void 0,@@ -76310,18 +76317,18 @@ var H8 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function U8(e) {- return e.has_cover ? no(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Ss("抓取中")}</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 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 IMe(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 = U8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? IF({+ 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 ? yF({is_jav: !0,code: e.code,name: e.code,display_title: e.title || ""}) : z(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${z(r)} 的作品详情"></a>` : "";return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">- ${a}<div class="pic" style="--card-ratio:${lA}">${n}+ ${a}<div class="pic" style="--card-ratio:${CA}">${n}<div class="hovertools feednewtools"><button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${z(r)}">${R("star")}</button><button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${R("x")}</button>@@ -76334,85 +76341,85 @@ function LMe() {if (e) try {let t = JSON.parse(e.textContent || "null");if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;- H8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${wn(e)}`, t.parts]));+ U8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${wn(e)}`, t.parts]));} catch {}}-async function W8() {+async function G8() {let e = J, t = await on("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && (H8.entityShapesComplete = !0, H8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${wn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && K8(t.home.feed), X8(location.pathname) && q8(L("#feedNew"))), H8.entityShapes;+ return e.isActive && t && !t.error && (U8.entityShapesComplete = !0, U8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${wn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && q8(t.home.feed), Z8(location.pathname) && J8(L("#feedNew"))), U8.entityShapes;}-var G8 = "peach.home-feed.v1";-function K8(e) {+var K8 = "peach.home-feed.v1";+function q8(e) {X.homeHasFeed = e;try {- localStorage.setItem(G8, e ? "1" : "0");+ localStorage.setItem(K8, e ? "1" : "0");} catch {}}function RMe() {try {- let e = localStorage.getItem(G8);+ let e = localStorage.getItem(K8);return e === "1" || e !== "0" && null;} catch {return null;}}-function q8(e) {- !e || IV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = H8.feedNewSkeletonHtml())));+function J8(e) {+ !e || IV(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 zMe(e, t) {- return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : ys(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {+ return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : bs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",actionLabel: "配置连接方式",actionHref: "/sources"});}-function J8(e) {+function Y8(e) {let t = e && !e.error && e.items || [];return zMe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(IMe).join("")}</div>`;}-function Y8(e) {- e && (t9(e), Z.appSettings.feedAutoScroll && vc(e));-}function X8(e) {+ e && (t9(e), Z.appSettings.feedAutoScroll && yc(e));+}+function Z8(e) {return fn(e) && e !== "/junk-files";}function BMe() {let e = L("#feedNew");- IV(e) ? BV(e, { revision: ++H8.feedRevision }) : (q8(e), zV("feed-new", {+ IV(e) ? BV(e, { revision: ++U8.feedRevision }) : (J8(e), zV("feed-new", {host: e,- revision: H8.feedRevision,- helpers: H8.feedNewHelpers,- actions: H8.feedNewActions+ revision: U8.feedRevision,+ helpers: U8.feedNewHelpers,+ actions: U8.feedNewActions}, {container: e,- isCurrent: () => X8(location.pathname)+ isCurrent: () => Z8(location.pathname)}));}-function Z8() {+function Q8() {let e = L("#feedNew");- e.querySelectorAll(".feednewrow").forEach(yc), VV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");+ e.querySelectorAll(".feednewrow").forEach(bc), VV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");}-function Q8() {- H8.feedRevision += 1, BV(L("#feedNew"), { revision: H8.feedRevision }), a5({ feedRevision: H8.feedRevision });+function $8() {+ U8.feedRevision += 1, BV(L("#feedNew"), { revision: U8.feedRevision }), o5({ feedRevision: U8.feedRevision });}function VMe() {- document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? vc(e) : yc(e));+ document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? yc(e) : bc(e));}-var $8 = 0;+var e5 = 0;function HMe([e]) {- let t = e.contentRect.width >= H8.HERO_WIDE_PX;- cancelAnimationFrame($8), $8 = requestAnimationFrame(() => {- $8 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);+ let t = e.contentRect.width >= U8.HERO_WIDE_PX;+ cancelAnimationFrame(e5), e5 = requestAnimationFrame(() => {+ e5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);});}function UMe() {- H8.FEED_SKELETON_CARDS = 8, H8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${lA}"></div>+ 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:${CA}"></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(H8.FEED_SKELETON_CARDS)}</div>`, H8.entityShapes = null, H8.entityShapesComplete = !1, H8.hasEntityShape = (e, t) => H8.entityShapesComplete || !!H8.entityShapes?.has(`${e}/${wn(t)}`), H8.hasEntityPart = (e, t, n) => !!t && !!H8.entityShapes?.get(`${e}/${wn(t)}`)?.includes(n), H8.feedNewSkeletonSection = () => `<section class="feednew">${H8.feedNewSkeletonHtml()}</section>`, H8.COSTAR_SKELETON_PEOPLE = 12, H8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(H8.COSTAR_SKELETON_PEOPLE)}</div></div>`, H8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, H8.feedRevision = 0, H8.feedNewHelpers = {- feedRowHtml: J8,- wireFeedRow: (e) => Y8(e)- }, H8.feedNewActions = { settled: (e) => K8(e) }, H8.HERO_WIDE_PX = 900, J.resize(HMe).observe(L("#index"));+ <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(HMe).observe(L("#index"));}// src/entity-skeleton.tsfunction WMe(e, t, n, r = "") {@@ -76429,10 +76436,10 @@ function WMe(e, t, n, r = "") {<div class="entitysection">${o}</div></div></section>`;}// src/filter-controls-skeleton.ts-var e5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : as(e, "size-4 shrink-0"), t5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", n5 = (e, t, n) => `<span data-entity-layout="" class="${LU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${RU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${t5}>${e5(r)}</span>`).join("")}</span>`;-function r5(e, t) {- let n = aM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? n5(t.label, t.value, t.options) : "";- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${t5}>${e5("shuffle")}</button>${i}${n5("馆藏显示方式", n, [[+var 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="${LU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${RU}" 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 = xM(), 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","卡片","ri-layout-grid-line"@@ -76440,7 +76447,7 @@ function r5(e, t) {"list","列表","ri-list-unordered"- ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${t5}>${e5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${t5}>${z(e.label)}${e.dir ? e5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;+ ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${n5}>${t5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${n5}>${z(e.label)}${e.dir ? t5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;}// src/application/entity.jsvar Y = {@@ -76468,16 +76475,16 @@ var Y = {sourceToolButtons: void 0,application: void 0};-function i5() {+function a5() {let e = FV(L("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}-function a5(e) {+function o5(e) {Y.entityPageCurrent() && BV(L("#index"), e);}-function o5() {- if (Ul.type === "item") return Ul;- let e = i5();+function s5() {+ if (Wl.type === "item") return Wl;+ let e = a5();if (e) {let { kind: t, name: n, filters: r } = e.props;return {@@ -76487,24 +76494,24 @@ function o5() {filters: { ...r }};}- return Ul;+ return Wl;}-function s5(e, t, n = t7()) {- return LNe(n).map(([n, r]) => {- let i = e === n, a = Nk(n, e, t);+function c5(e, t, n = t7()) {+ return RNe(n).map(([n, r]) => {+ let i = e === n, a = qk(n, e, t);return {key: n,label: r,pressed: i,- dir: i && jk(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? jk(a.sort, a.dir) : ""}排序` : ""+ dir: i && Gk(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? Gk(a.sort, a.dir) : ""}排序` : ""};});}-function c5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {+function l5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {return Y.application.route(e, t, n, r, i);}-function l5() {+function u5() {return kMe({entityWall: Y.entityPageWall,entityCurrent: Y.entityPageCurrent(),@@ -76514,37 +76521,37 @@ function l5() {statsVisible: !L("#stats").hidden}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));}-function u5() {+function d5() {Y.photos.sync();}-function d5() {- l5() ? mse(hA()) : OA();+function f5() {+ u5() ? tse(kA()) : HA();}function GMe(e) {Y.photos.setSize(e);}-var f5 = EMe({+var p5 = EMe({request: (e) => on("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })}),- success: () => S8.toast({ text: "已在资源管理器中显示" }),+ success: () => C8.toast({ text: "已在资源管理器中显示" }),failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))});-async function p5(e) {+async function m5(e) {let t = { textContent: "" };- return await f5(e, t), t.textContent;+ return await p5(e, t), t.textContent;}async function KMe(e) {let t = { textContent: "" }, n = [];- return await m5(e, t, (e) => {+ return await h5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));}), {text: t.textContent,removed: n};}-async function m5(e, t, n) {+async function h5(e, t, n) {t.textContent = "正在核对目录…";try {let r = await on("/api/purge-missing", {@@ -76557,7 +76564,7 @@ async function m5(e, t, n) {}if (t.textContent = r.removed ? `${Y.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);- n && n(r), S8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {+ n && n(r), C8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {await on("/api/batch", {method: "POST",body: JSON.stringify({@@ -76569,9 +76576,9 @@ async function m5(e, t, n) {restored: e.length});} : null });- } else S8.actionReceipt("目录核对完成,无需改动");+ } else C8.actionReceipt("目录核对完成,无需改动");} catch (e) {- t.textContent = Y.sourceHint(e.message), S8.actionFailure("核对目录", e);+ t.textContent = Y.sourceHint(e.message), C8.actionFailure("核对目录", e);}}function qMe(e) {@@ -76582,10 +76589,10 @@ function JMe(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", () => f5(Number(r.dataset.reveal), n, { button: r })), i && J.handler(i, "onclick", () => m5(Number(i.dataset.sync), n, t));+ 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 YMe(e, t) {- let n = zc({+ let n = Bc({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",body: "<label class=\"modalfield\"><span>别名</span>\n <input class=\"geist-input\" name=\"alias\" maxlength=\"80\" autocomplete=\"off\"\n placeholder=\"另一种写法,或另一个艺名\"></label>" + (e.length ? `<div class="modalfield"><span>自己添过的</span>@@ -76607,53 +76614,53 @@ async function YMe(e, t) {remove: !0});} catch (e) {- S8.actionFailure("撤销别名", e);+ C8.actionFailure("撤销别名", e);return;}- S8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {+ C8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {await t({ alias: r });} });}));let { confirmed: i, result: a } = await n.done;- i && (a?.added ? S8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {+ i && (a?.added ? C8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {await t({alias: a.alias,remove: !0});- } }) : S8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));+ } }) : C8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));}-function h5(e, t) {- let n = ["performer", "studio"].includes(e) && H8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${os()}${e === "agency" ? "" : r5(s5(U.sort, U.dir, n), n ? {+function g5(e, t) {+ let n = ["performer", "studio"].includes(e) && U8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${ss()}${e === "agency" ? "" : i5(c5(U.sort, U.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",- value: dA(),- options: oA- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${t5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${t5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${t5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = WMe(e, r, e === "agency" ? Rs({+ value: TA(),+ options: bA+ } : 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 = WMe(e, r, e === "agency" ? zs({kind: "performers",layout: M5.peopleIndexLayout()- }) : UJ("正在读取作品", yA(vA({+ }) : WJ("正在读取作品", NA(MA({active: n,home: !1,portrait: !1}))), i);- L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? g5(e, t) : (L("#index").innerHTML = a, g5(e, t), Gs(L("#index")));+ L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? _5(e, t) : (L("#index").innerHTML = a, _5(e, t), Ks(L("#index")));}-function g5(e, t) {+function _5(e, t) {let n = L("#index").firstElementChild;if (n?.dataset.skeleton !== `entity/${e}`) return;let r = (e, t, n) => {t && !e ? n() : !t && e && e.remove();};- r(n.querySelector(".entityfoot"), e !== "agency" && H8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", H8.costarSkeletonFoot())), r(n.querySelector(".feednew"), H8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", H8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && H8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", H8.factsSkeleton()));+ r(n.querySelector(".entityfoot"), e !== "agency" && U8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", U8.costarSkeletonFoot())), r(n.querySelector(".feednew"), U8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", U8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && U8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", U8.factsSkeleton()));}-function _5(e) {- let t = pn[e] || e, n = V3[t] || "条目", r = V3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";+function v5(e) {+ let t = pn[e] || e, n = H3[t] || "条目", r = H3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}-function v5(e, t) {+function y5(e, t) {x9(Y.application.fresh(e, t));}-function y5() {+function XMe() {Y.ENTITY_FILTER_KEYS = ["loc","creator",@@ -76665,40 +76672,40 @@ function y5() {"year","sort","dir"- ], Y.emptyEntityFilters = L8, Y.parseEntityFilters = (e) => R8(e, {+ ], Y.emptyEntityFilters = R8, Y.parseEntityFilters = (e) => z8(e, {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection- }), Y.entityFilterSearch = z8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), Y.entityFilterSearch = B8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }} : e, Y.activeFilterState = () => {- let e = o5();+ let e = s5();return e.type === "home" ? U : e.filters;}, L("#q").value = U.q, X.rememberSearchValue();}-function XMe() {- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!i5(), Y.entityPageLive = (e, t) => {- let n = i5();+function ZMe() {+ 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;}, Y.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, Y.parseMediaView = B8, Y.entityViewSearch = V8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => q7(), Y.entityPageHelpers = {+ }, Y.parseMediaView = V8, Y.entityViewSearch = H8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => q7(), Y.entityPageHelpers = {wireDrag: (e) => {e && t9(e);},wireScroller: (e) => {- e && cc(e);+ e && lc(e);},- wireFeedRow: (e) => Y8(e),- feedRowHtml: J8,- receipt: (e, t) => S8.actionReceipt(e, t),- failure: (e, t) => S8.actionFailure(e, t),+ wireFeedRow: (e) => X8(e),+ feedRowHtml: Y8,+ receipt: (e, t) => C8.actionReceipt(e, t),+ failure: (e, t) => C8.actionFailure(e, t),aliasForm: (e, t) => YMe(e, t),sourceToolsHtml: (e) => qMe(e),wireSourceTools: (e, t) => JMe(e, t),comboItems: (e) => I7(e),- sortKeys: (e, t, n) => s5(e, t, n)+ sortKeys: (e, t, n) => c5(e, t, n)}, Y.entityFollowActions = {...$.followFeedActions,route: () => {},@@ -76721,41 +76728,41 @@ function XMe() {<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${R("folder-sync")}</button>`;}-function ZMe() {+function QMe() {Y.application = PMe({controller: {context: () => {- let e = o5();+ let e = s5();return e.type === "entity" ? e : null;},live: (e, t) => Y.entityPageLive(e, t),current: () => Y.entityPageCurrent(),route: (e, t = !1) => Q.route(e, t),suffix: () => location.search + location.hash,- restoreHomeContext: () => _u({ barsContext: {+ restoreHomeContext: () => vu({ barsContext: {type: "home",filters: U} }),- releaseBodyPreviews: () => Ol(L("#index [data-entity-body]")),- push: a5,+ releaseBodyPreviews: () => kl(L("#index [data-entity-body]")),+ push: o5,state: () => ({seed: String(U.seed || ""),jav: U.jav === "1"}),preferences: () => ({revision: Y.entityPageRevision,- feedRevision: H8.feedRevision,- photoSize: hA(),- photoLayout: gA(),- photoLayouts: cA,+ feedRevision: U8.feedRevision,+ photoSize: kA(),+ photoLayout: AA(),+ photoLayouts: SA,followImagesOnly: !!Z.appSettings.followImagesOnly,- javLayout: dA(),- javLayouts: oA,+ javLayout: TA(),+ javLayouts: bA,states: X.VIEW_PILLS,peopleLayout: M5.peopleIndexLayout(),layout: K7(),- selectMode: ql,- selected: new Set(Gl),+ selectMode: Jl,+ selected: new Set(Kl),seekSeconds: Z.appSettings.seekSeconds,groupCollapse: Z.appSettings.groupCollapse,wireDrag: t9,@@ -76767,52 +76774,52 @@ function ZMe() {}}),changeFilter: C7,- rollSeed: () => S8.rollSeed(),+ rollSeed: () => C8.rollSeed(),writeSeed: (e) => {- U.seed = e, vu();+ U.seed = e, yu();},setJavLayout: i7,- javLayout: dA,- setPhotoLayout: xA,- syncPhotoWalls: u5,- openEntity: v5,- photoViewActive: l5,+ javLayout: TA,+ setPhotoLayout: FA,+ syncPhotoWalls: d5,+ openEntity: y5,+ photoViewActive: u5,recordPainted: (e, t) => {Y.entityPageView = e, Y.entityPageWall = t;},- syncDensity: d5,+ syncDensity: f5,scheduleSticky: d7,releasePage: () => VV(L("#index")),- showMissing: _5,- dropBars: O8+ showMissing: v5,+ dropBars: k8},loading: {- shapesReady: (e, t) => H8.hasEntityShape(e, t),+ shapesReady: (e, t) => U8.hasEntityShape(e, t),waitShapes: z5,- paintSkeleton: h5,+ paintSkeleton: g5,resetView: () => {- _u({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;+ vu({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;},- loadShapes: W8,- syncParts: g5+ loadShapes: G8,+ syncParts: _5},photos: {preferences: () => ({- size: hA(),- layout: gA(),+ size: kA(),+ layout: AA(),imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),- pushEntity: a5,+ pushEntity: o5,pushFollow: E9,- syncDensity: d5,- storeSize: fse+ syncDensity: f5,+ storeSize: $oe},helpers: Y.entityPageHelpers,actions: {toggleTag: F7,openFollowAuthor: F5,- javContext: (e) => _u({ entityJavLayout: !!e })+ javContext: (e) => vu({ entityJavLayout: !!e })},sortPreference: () => ({sort: Z.appSettings.defaultSort,@@ -76822,8 +76829,8 @@ function ZMe() {}// src/application/playlists.jsvar b5 = { playlistWrite: void 0 };-function QMe(e, t) {- e === "tag" ? (_u({ state: {+function $Me(e, t) {+ e === "tag" ? (vu({ state: {...U,tag: t,tag_match: "all",@@ -76832,14 +76839,14 @@ function QMe(e, t) {q: "",state: "",orient: ""- } }), X.clearSearchField(), Q.route(g7()), W5(), N7()) : v5(e, t);+ } }), X.clearSearchField(), Q.route(g7()), W5(), N7()) : y5(e, t);}function x5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;}-async function $Me({ title: e, count: t, save: n }) {- let r = zc({+async function eNe({ title: e, count: t, save: n }) {+ let r = Bc({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,body: x5(e),@@ -76852,19 +76859,19 @@ async function $Me({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await s9(a.id, a.current_asset_id, !0), S8.actionReceipt("已保存为播放列表", { undo: async () => {+ i && (await s9(a.id, a.current_asset_id, !0), C8.actionReceipt("已保存为播放列表", { undo: async () => {await b5.playlistWrite({action: "delete",id: a.id}), x9("/playlists");} }));}-async function eNe(e) {- let t = ((await on("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Ts(`data-pick-playlist="${e.id}"`)}- <span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = zc({+async function tNe(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: "加入播放列表",description: "勾选要加入的列表,或者填个名称新建一份。",- body: x5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : ys("还没有播放列表,填个名称就能新建一份。", { size: "small" })),+ body: x5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : bs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),confirmLabel: "保存",confirmDisabled: !0,onConfirm: async () => {@@ -76891,7 +76898,7 @@ async function eNe(e) {let { confirmed: i, result: a } = await n.done;if (!i) return;let o = +!!a.created + a.added.length;- S8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {+ C8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {for (let t of a.added) await b5.playlistWrite({action: "remove",id: t,@@ -76904,19 +76911,19 @@ async function eNe(e) {} });}function S5() {- Ol(), a9(!1), U5();+ kl(), a9(!1), U5();let e = FV(L("#stats"));- e?.path !== "/playlists" || !e.host.isConnected ? _u({ pageOpens: cu + 1 }) : (H5({ manage: !1 }), _u({ playlistsRevision: mu + 1 }));+ e?.path !== "/playlists" || !e.host.isConnected ? vu({ pageOpens: lu + 1 }) : (H5({ manage: !1 }), vu({ playlistsRevision: hu + 1 }));}-function tNe(e) {+function nNe(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 : ""));}function C5(e) {- _u({ configurationRequestedSection: e }), Q.navigatePath(fV(e));+ vu({ configurationRequestedSection: e }), Q.navigatePath(fV(e));}-function nNe() {+function rNe() {b5.playlistWrite = (e) => on("/api/playlist", {method: "POST",body: JSON.stringify(e)@@ -76935,18 +76942,18 @@ function T5(e, t, n, r, i = !1) {};}function E5(e, t, n, r, i, a = !1) {- let o = n === "follow", s = TY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);+ let o = n === "follow", s = EY(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 rNe(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: c$(n).view === "dismissed"};}// src/application/selection.js@@ -76960,41 +76967,41 @@ var D5 = {};function O5() {W7({- selected: new Set(Gl),- selectMode: ql- }), a5({- selected: new Set(Gl),- selectMode: ql- }), E9({selected: new Set(Kl),- selectMode: ql- }), D5.batchDockProps = pNe(), v8() && (v8().render(D5.batchDockProps), Z.syncGlassOptics());+ selectMode: Jl+ }), o5({+ selected: new Set(Kl),+ selectMode: Jl+ }), E9({+ selected: new Set(ql),+ selectMode: Jl+ }), D5.batchDockProps = mNe(), y8() && (y8().render(D5.batchDockProps), Z.syncGlassOptics());}function k5(e, t = !1) {- _u(T5({- selected: Gl,- followSelected: Kl- }, j5(), w5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", ql), ql && Ol(), L("#selectMode").setAttribute("aria-pressed", String(ql)), O5();+ vu(T5({+ selected: Kl,+ 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 aNe() {return [...I5.gridCards()].map((e) => +e.dataset.id);}function A5(e, t = !1) {- _u(E5({- selected: Gl,- followSelected: Kl- }, j5(), w5(location.pathname), iNe(), e, t)), k5(!0);+ vu(E5({+ selected: Kl,+ followSelected: ql+ }, j5(), w5(location.pathname), aNe(), e, t)), k5(!0);}-function aNe() {+function oNe() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function oNe(e, t = !1) {- _u(E5({- selected: Gl,- followSelected: Kl- }, j5(), "follow", aNe(), e, t)), k5(!0);+function sNe(e, t = !1) {+ vu(E5({+ selected: Kl,+ followSelected: ql+ }, j5(), "follow", oNe(), e, t)), k5(!0);}-async function sNe(e, t) {+async function cNe(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -77009,14 +77016,14 @@ async function sNe(e, t) {dispose: "移入回收站",restore: "还原所选项目",delete: "永久删除所选项目"- }, i = [...Gl];- if (i.length) return Vc({+ }, i = [...Kl];+ if (i.length) return Hc({title: r[e],body: `将处理选中的 ${i.length} 项。${e === "delete" ? "文件和馆藏记录会永久删除,无法恢复。" : e === "dispose" ? "馆藏记录可在回收站还原。" : ""}`,confirmLabel: r[e],danger: e === "delete",onConfirm: async () => {- Oc(t);+ kc(t);try {let t = await on("/api/batch", {method: "POST",@@ -77028,7 +77035,7 @@ async function sNe(e, t) {if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));k5(!1, !0), await o7();let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;- S8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {+ C8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {if (r === "dispose" && t.restored_reasons) for (let e of [null,"manual",@@ -77056,17 +77063,17 @@ async function sNe(e, t) {await o7();} : null });} catch (e) {- throw Oc(t, !1), e;+ throw kc(t, !1), e;} finally {- Oc(t, !1), O5();+ kc(t, !1), O5();}}});}-async function cNe() {- let e = [...Gl];+async function lNe() {+ let e = [...Kl];if (!e.length) return;- let t = zc({+ let t = Bc({title: "判定产地",description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + D5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">@@ -77093,10 +77100,10 @@ async function cNe() {t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;}));let { confirmed: n, result: r } = await t.done;- n && (k5(!1, !0), await o7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));+ n && (k5(!1, !0), await o7(), C8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function lNe(e, t) {- let n = [...Kl];+async function uNe(e, t) {+ let n = [...ql];if (!n.length) return;let r = {save: "保存到数据库",@@ -77107,13 +77114,13 @@ async function lNe(e, t) {seen: "标记为已看",ignored: "忽略所选作品"};- return Vc({+ return Hc({title: i[e],body: `将处理选中的 ${n.length} 项关注作品。`,confirmLabel: i[e],danger: !1,onConfirm: async () => {- Oc(t);+ kc(t);try {await on(e === "save" ? "/api/follow/save" : "/api/follow/status", {method: "POST",@@ -77121,17 +77128,17 @@ async function lNe(e, t) {items: n,to: e})- }), k5(!1, !0), location.pathname === "/follow" && _u({ pageOpens: cu + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);+ }), k5(!1, !0), location.pathname === "/follow" && vu({ pageOpens: lu + 1 }), C8.actionReceipt(`已${r[e]} ${n.length} 项`);} catch (e) {- throw Oc(t, !1), e;+ throw kc(t, !1), e;} finally {- Oc(t, !1), O5();+ kc(t, !1), O5();}}});}-async function uNe(e, t) {- let n = [...Gl];+async function dNe(e, t) {+ let n = [...Kl];if (!n.length) return;let r = {"dismiss-junk": "不是垃圾",@@ -77142,13 +77149,13 @@ async function uNe(e, t) {"reconsider-junk": "重新检查文件",dispose: "移入回收站"};- return Vc({+ return Hc({title: i[e],body: `将处理选中的 ${n.length} 个文件。`,confirmLabel: i[e],danger: !1,onConfirm: async () => {- Oc(t);+ kc(t);try {await on("/api/batch", {method: "POST",@@ -77159,7 +77166,7 @@ async function uNe(e, t) {})}), k5(!1, !0), await R7();let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;- S8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {+ C8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {await on("/api/batch", {method: "POST",body: JSON.stringify({@@ -77169,14 +77176,14 @@ async function uNe(e, t) {}), await R7();} : null });} catch (e) {- throw Oc(t, !1), e;+ throw kc(t, !1), e;} finally {- Oc(t, !1), O5();+ kc(t, !1), O5();}}});}-function dNe() {+function fNe() {sMe({root: L("[data-batch-dock]"),run: (e, t, n) => {@@ -77186,12 +77193,12 @@ function dNe() {e.render(D5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function fNe() {+function pNe() {D5.batchDockProps = {count: 0,context: "catalog",junkDismissed: !1- }, D5.trashCount = null, D5.currentSelectSurface = () => w5(location.pathname), J.handler(L("#selectMode"), "onclick", () => k5(!ql, !!ql)), D5.REGION_CHOICES = [+ }, D5.trashCount = null, D5.currentSelectSurface = () => w5(location.pathname), J.handler(L("#selectMode"), "onclick", () => k5(!Jl, !!Jl)), D5.REGION_CHOICES = [["jp", "日本"],["kr", "韩国"],["cn", "国产"],@@ -77199,37 +77206,37 @@ function fNe() {["other", "其他"],["none", "撤回判定"]], D5.BATCH_RUNNERS = {- batch: sNe,- region: cNe,- follow: lNe,- junk: uNe,+ batch: cNe,+ region: lNe,+ follow: uNe,+ junk: dNe,clear: () => k5(!1, !0)}, J.handler(L("#density"), "onclick", () => {- l5() ? GMe(hA() === "big" ? "small" : "big") : pse();- }), OA(), El({- selecting: () => ql,+ u5() ? GMe(kA() === "big" ? "small" : "big") : ese();+ }), HA(), Dl({+ selecting: () => Jl,censored: () => $7(),delaySeconds: () => Z.appSettings.hoverDelaySeconds- }), J.listen(window, "pagehide", () => Ol()), J.listen(document, "visibilitychange", () => {- document.hidden && Ol();- }), Cl(), D5.coverRecheck = 0, J.listen(window, "resize", () => {- bl(L("#index")), clearTimeout(D5.coverRecheck), D5.coverRecheck = J.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {- e.complete && dl(e);+ }), J.listen(window, "pagehide", () => kl()), J.listen(document, "visibilitychange", () => {+ document.hidden && kl();+ }), wl(), D5.coverRecheck = 0, J.listen(window, "resize", () => {+ xl(L("#index")), clearTimeout(D5.coverRecheck), D5.coverRecheck = J.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {+ e.complete && fl(e);}), 200);}, { passive: !0 });}function j5() {return {- selectMode: ql,- selectSurface: Xl,- lastSelectedId: Jl,- followLastSelectedId: Yl+ selectMode: Jl,+ selectSurface: Zl,+ lastSelectedId: Yl,+ followLastSelectedId: Xl};}-function pNe() {- return rNe({- selected: Gl,- followSelected: Kl+function mNe() {+ return iNe({+ selected: Kl,+ followSelected: ql}, location.pathname, location.search, U.state);}// src/application/index.js@@ -77237,32 +77244,32 @@ var M5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function mNe() {- return Z.appSettings.followLayout === "table" ? "table" : "default";-}function hNe() {- return LZ(location.search);+ return Z.appSettings.followLayout === "table" ? "table" : "default";}-function gNe(e) {- return RZ(e);+function gNe() {+ return RZ(location.search);}function _Ne(e) {- Q.route(gNe(e));+ return zZ(e);+}+function vNe(e) {+ Q.route(_Ne(e));}-function vNe(e = "") {- return zZ(location.search, e);+function yNe(e = "") {+ return BZ(location.search, e);}-function yNe(e) {- return I8(e);+function bNe(e) {+ return L8(e);}function N5(e) {- return P8(e);+ return F8(e);}function P5() {L("#stats").hidden = !0, L("#index").hidden = !1, B7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;}-function bNe(e, t) {- _u({ state: {+function xNe(e, t) {+ vu({ state: {...U,state: "",tag: e.join(","),@@ -77272,15 +77279,15 @@ function bNe(e, t) {function F5(e) {M5.controller.openFollowAuthor(e);}-function xNe(e) {+function SNe(e) {M5.controller.openFollowTag(e);}-function SNe() {- $.FOLLOW_MANAGE_TABS = IZ, J.listen(document, "click", (e) => {+function CNe() {+ $.FOLLOW_MANAGE_TABS = LZ, J.listen(document, "click", (e) => {e.target.closest?.("[data-empty-settings]") && C5("媒体库与入库");- }), M5.peopleIndexLayout = () => H3(Z.appSettings.peopleLayout), M5.personAvatar = F8;+ }), M5.peopleIndexLayout = () => U3(Z.appSettings.peopleLayout), M5.personAvatar = I8;}-function CNe() {+function wNe() {M5.controller = TMe({route: Q.route,followView: C9,@@ -77307,12 +77314,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 = Jwe(s$(location.search)), Gs(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 = Jwe(c$(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 !== l2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== J7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : I5.setGridCards(i), Gs(L("#grid")));+ (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")));}function R5() {L("#catalogFilter").style.display = "none", w7();@@ -77325,34 +77332,34 @@ function z5() {};J.delay(r, 50);});- return Promise.race([I5.entityShapesReady ||= W8(), e]);+ return Promise.race([I5.entityShapesReady ||= G8(), e]);}-function wNe() {+function TNe() {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" && C$(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");else if (Q.managedPagePath(e)) {R5();let t = L("#stats");- t.hidden = !1, B7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : I5.managementPlaceholder(e), Gs(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) R5(), P5(), G3(L("#index"), U3(e.slice(1), location.search), M5.peopleIndexLayout());+ t.hidden = !1, B7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : I5.managementPlaceholder(e), Ks(t);+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) R5(), P5(), K3(L("#index"), W3(e.slice(1), location.search), M5.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {R5(), L("#index").hidden = !1, B7();let t = mn[e.split("/")[1]], n = e.split("/").slice(2).join("/");- (H8.hasEntityShape(t, n) ? Promise.resolve() : z5()).then(() => {- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (h5(t, n), Gs(L("#index")));+ (U8.hasEntityShape(t, n) ? Promise.resolve() : z5()).then(() => {+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (g5(t, n), Ks(L("#index")));});} else Q.routeMeta(e) ? L5() : (B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);}-function TNe() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => s2(t, {+function ENe() {+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => c2(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",- gridSize: hA()+ gridSize: kA()}), $.followSkeletonHtml = (e = "正在读取关注内容") => `<div class="peach-react"><div class="follow" data-follow-feed><div data-follow-head><h2 data-follow-title>关注</h2></div><div class="tier followauthors" data-skeleton-tier="av"></div>@@ -77360,15 +77367,15 @@ function TNe() {<div class="board-filter-frame" data-filter-frame><div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div><div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>- ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Ss(xs), I5.setGridCards = (e) => Is(L("#grid"), () => {+ ${$.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) => c2(e, {- followLayout: mNe(),+ }), 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: hNe(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(hNe())+ }))(gNe())}), 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 = DV(decodeURIComponent(t.pathname))?.title;document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, h9();@@ -77382,7 +77389,7 @@ var B5 = (e) => e.replace(/[&<>"']/g, (e) => ({"\"": ""","'": "'"})[e]);-function ENe(e, t, n) {+function DNe(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>`;@@ -77390,7 +77397,7 @@ function ENe(e, t, n) {}).join("")}</div>`;}// src/application/filter-scroll.js-function DNe(e, t, n, r = !1) {+function ONe(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -77431,15 +77438,15 @@ 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 && u2(L("#stats"), 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);}function U5() {X.hideCatalogCombo(), R5(), document.body.classList.remove("entity-open", "index-open");}function W5() {- document.body.classList.remove("entity-open", "index-open"), VV(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, X8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", w7(), Z5(), $5();+ document.body.classList.remove("entity-open", "index-open"), VV(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 ONe() {+function kNe() {Q.route("/"), W5();}function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {@@ -77448,7 +77455,7 @@ function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {kind: "follow",tags: e.map(([e, t]) => ({value: e,- label: Ml(e),+ label: Nl(e),n: t})),selected: [...$.followTags],@@ -77467,7 +77474,7 @@ function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {});}function K5(e) {- PPe({+ FPe({...C9(),...e}), g9({ filters: $.followSidebarFilters() });@@ -77479,12 +77486,12 @@ 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 kNe() {+function ANe() {q5() && J5(!1);}-function ANe() {- ou === null && (_u({ runtimeConfigurable: !1 }), on("/healthz").then((e) => {- _u({ runtimeConfigurable: !!e.configurable }), ou && X5() && Z5();+function jNe() {+ su === null && (vu({ runtimeConfigurable: !1 }), on("/healthz").then((e) => {+ vu({ runtimeConfigurable: !!e.configurable }), su && X5() && Z5();}).catch(() => {}));}function Y5(e = "", t = !1) {@@ -77502,10 +77509,10 @@ function Y5(e = "", t = !1) {});return e ||= dV(location.pathname), iMe(V5.settingsHost()).then((t) => (t.open(e), t));}-function jNe() {+function MNe() {uV(location.pathname) && (pV(XV.navigation.location.state) ? XV.go(-1) : Q.navigatePath("/", !0));}-function MNe() {+function NNe() {return {scroll: L("#drawerScroll"),store: Z.settingsStore,@@ -77537,31 +77544,31 @@ function MNe() {}};}-function NNe() {+function PNe() {let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = ENe(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {- if (f8()) return;+ e.innerHTML = DNe(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);- }), aMe(MNe()).then((e) => e.render(V5.sidebarProps)).catch(() => {});+ }), aMe(NNe()).then((e) => e.render(V5.sidebarProps)).catch(() => {});}-async function PNe() {+async function FNe() {let e = J, t = null;try {t = await on("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && tA(t, (e) => Z.settingsEffects[e]?.());+ e.isActive && hA(t, (e) => Z.settingsEffects[e]?.());}function X5() {return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");}function Z5() {let e = X5();- ANe(), e && R5(), L("#count").classList.toggle("no-tagbar", !!e), _9(), e !== "trash" && (D5.trashCount = null), Q5(e);+ jNe(), e && R5(), L("#count").classList.toggle("no-tagbar", !!e), _9(), e !== "trash" && (D5.trashCount = null), Q5(e);}-function FNe(e) {+function INe(e) {return {section: e,path: decodeURIComponent(location.pathname),@@ -77572,19 +77579,19 @@ function FNe(e) {}function Q5(e = X5()) {$5();- let t = FNe(e), n = h8();+ let t = INe(e), n = g8();if (n) n.render(t);else {- let e = rP(t);+ let e = Jce(t);e !== V5.manageHeaderSkeleton && (V5.manageHeaderSkeleton = e, V5.manageHeaderRoot().innerHTML = e);}- let r = $N(t)?.title || "";- r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && Ns(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));+ let r = pP(t)?.title || "";+ r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && Ps(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function INe() {+function LNe() {let e = V5.manageHeaderRoot();J.listen(e, "click", (e) => {- if (h8()) return;+ if (g8()) return;let t = e.target.closest?.("[data-manage]");if (t) e7(t.dataset.manage);else if (e.target.closest?.("[data-manage-crumb] a[href]")) {@@ -77606,47 +77613,47 @@ function $5() {}function e7(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", vu(), Q.route(c$()), W5(), _9(), N7());+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", yu(), Q.route(l$()), W5(), _9(), N7());}function t7() {let e = decodeURIComponent(location.pathname);- return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || uu : !1;+ return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || du : !1;}-function LNe(e = t7()) {- let t = Ek.filter(([e]) => e !== "seed");- return e ? [Dk, ...t] : t;+function RNe(e = t7()) {+ let t = Bk.filter(([e]) => e !== "seed");+ return e ? [Vk, ...t] : t;}function n7() {return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";}function r7() {- return fA(n7());+ return EA(n7());}-function RNe(e) {- use(e), a7(), L("#grid").hidden || Y7();+function zNe(e) {+ Zoe(e), a7(), L("#grid").hidden || Y7();}function i7(e) {- bA(e), a7(), Y7();+ PA(e), a7(), Y7();}function a7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {e.checked = e.value === r7();}), X.catalogFilterProps && T7({ layout: D7() });}-function zNe(e) {- dse(e), a7(), Y7();+function BNe(e) {+ Qoe(e), a7(), Y7();}async function o7() {- O8(), X.mixRelatedCache.clear(), await Promise.all([s7(), N7()]);+ k8(), X.mixRelatedCache.clear(), await Promise.all([s7(), N7()]);}async function s7() {if (Y.entityPageCurrent() && !L("#index").hidden) {- a5({ revision: ++Y.entityPageRevision });+ o5({ revision: ++Y.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);if (DV(e)?.reload === "reopen" || e === "/follow") {- _u({ pageOpens: cu + 1 });+ vu({ pageOpens: lu + 1 });return;}let t = Q.routeMeta(e);@@ -77662,7 +77669,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 (kNe(), V5.DIRECT_MANAGE_NAV[e]) {+ if (ANe(), V5.DIRECT_MANAGE_NAV[e]) {e7(V5.DIRECT_MANAGE_NAV[e]);return;}@@ -77679,19 +77686,19 @@ function l7(e) {return;}let t = ln[e] ? null : Q.routePathOf("nav", e);- t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), vu(), Q.route(g7()), W5(), _9(), N7());+ t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), yu(), Q.route(g7()), W5(), _9(), N7());}function u7() {let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);- ql && Xl !== D5.currentSelectSurface() && k5(!1, !0);+ Jl && Zl !== D5.currentSelectSurface() && k5(!1, !0);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, u5(), !i && ql && k5(!1, !0);+ L("#selectMode").hidden = !i, L("#density").hidden = !a, d5(), !i && Jl && k5(!1, !0);}-function BNe() {+function VNe() {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 = DNe(V5.mobileFilterScroll, n, innerWidth <= 760, r);+ V5.mobileFilterScroll = ONe(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;@@ -77705,49 +77712,49 @@ function BNe() {});}}-function VNe() {- BNe(), [".board-filter-frame", "#count"].forEach((e) => {+function HNe() {+ VNe(), [".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, VNe();+ V5.stickyFrame = 0, HNe();});}-function HNe() {+function UNe() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), J.handler(L("#filterBtn"), "onclick", () => J5(!L("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = k8, V5.MANAGE_SECTIONS = A8, V5.MANAGE_MENU_SECTIONS = j8, V5.manageMenuSections = () => SMe(ou === !0), V5.OPTIONAL_SIDEBAR_ITEMS = M8, V5.NAV_CATALOG = CMe, V5.DIRECT_MANAGE_NAV = wMe, 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 = () => SMe(su === !0), V5.OPTIONAL_SIDEBAR_ITEMS = N8, V5.NAV_CATALOG = CMe, V5.DIRECT_MANAGE_NAV = wMe, V5.settingsHost = () => ({selectSection: (e) => ZV(fV(e), {replace: !0,state: XV.navigation.location.state}),- closed: jNe,+ closed: MNe,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),- sound: (e) => Mo(e),+ sound: (e) => No(e),navCatalog: V5.NAV_CATALOG,- themeOptions: ase,- videoLayouts: oA,- followInitialRanges: N8,+ themeOptions: Koe,+ videoLayouts: bA,+ followInitialRanges: P8,videoLayout: () => r7(),- setVideoLayout: zNe,+ setVideoLayout: BNe,censored: $7,- setCensored: dPe,+ setCensored: fPe,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: fPe,- receipt: (e) => S8.actionReceipt(e),- failure: S8.actionFailure,- syncRemote: (e) => tA(e, (e) => Z.settingsEffects[e]?.()),+ setHighContrast: pPe,+ receipt: (e) => C8.actionReceipt(e),+ failure: C8.actionFailure,+ syncRemote: (e) => hA(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),- configurable: () => on("/healthz").then((e) => (_u({ runtimeConfigurable: !!e.configurable }), ou)).catch(() => null)+ configurable: () => on("/healthz").then((e) => (vu({ runtimeConfigurable: !!e.configurable }), su)).catch(() => null)}), J.handler(L("#settingsBtn"), "onclick", () => void Y5()), V5.lastManagePageLabel = "", V5.manageHeaderSkeleton = "", V5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, V5.scrollT = null, V5.stickyFrame = 0, V5.mobileFilterScroll = null, V5.mobileFilterHost = null, V5.mobileFilterPath = "", J.listen(document, "focusin", d7), J.listen(document, "focusout", d7), J.listen(window, "scroll", () => {- d7(), location.pathname === "/follow" && T9() && _u({ followScrollY: scrollY }), window.__scrolling = !0, Ol(), clearTimeout(V5.scrollT), V5.scrollT = J.delay(() => {+ d7(), location.pathname === "/follow" && T9() && vu({ followScrollY: scrollY }), window.__scrolling = !0, kl(), clearTimeout(V5.scrollT), V5.scrollT = J.delay(() => {window.__scrolling = !1;}, 180);}, { passive: !0 }), J.listen(window, "resize", d7, { passive: !0 }), J.handler(L("#scrim"), "onclick", () => J5(!1));@@ -77759,9 +77766,9 @@ var f7 = 64, p7 = (e) => e.replace(/[&<>"]/g, (e) => ({">": ">","\"": """})[e]), m7 = (e) => e.repeat(f7);-function UNe(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 = gW();- 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>${os()}</span>` + (n ? r5(n.sorts, n.layout) : "") + "</div></div></div></div>";+function WNe(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 = _W();+ 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.jsvar X = {@@ -77800,8 +77807,8 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function WNe() {- X.initialParams.has("loc") || (U.loc = h7(U.loc), vu());+function GNe() {+ X.initialParams.has("loc") || (U.loc = h7(U.loc), yu());}function h7(e) {return pMe(e, Z.sourceOnline);@@ -77809,16 +77816,16 @@ function h7(e) {function g7(e = U) {return mMe(e);}-function GNe() {- _u(w8(hMe(U, Z.appSettings, S8.rollSeed))), O8();+function KNe() {+ vu(T8(hMe(U, Z.appSettings, C8.rollSeed))), k8();}function _7(e = null, t = !1) {- GNe(), e && (Object.assign(U, e), vu()), Q.route(e ? g7() : "/"), X.clearSearchField(), a9(!1), W5(), _9(), N7(), t && window.scrollTo({+ KNe(), 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 KNe(e, t = null) {+function qNe(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);}@@ -77827,19 +77834,19 @@ function v7(e) {throw X.mixRelatedCache.delete(e), t;})), X.mixRelatedCache.get(e);}-function qNe(e, t) {- r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : y7(e, t);+function JNe(e, t) {+ i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : y7(e, t);}function y7(e, t) {- e.edition_group ? yPe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? bPe(e.part_group.seed_id, e.id, !0, t) : l9(e.id, !0, null, t);+ e.edition_group ? bPe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? xPe(e.part_group.seed_id, e.id, !0, t) : l9(e.id, !0, null, t);}-async function JNe(e, t) {+async function YNe(e, t) {try {let n = await on("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});- e.watch_later = n.watch_later, t(!!n.watch_later), S8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {+ e.watch_later = n.watch_later, t(!!n.watch_later), C8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {let n = await on("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })@@ -77847,10 +77854,10 @@ async function JNe(e, t) {e.watch_later = n.watch_later, t(!!n.watch_later);} });} catch (e) {- S8.actionFailure("更新稍后看", e);+ C8.actionFailure("更新稍后看", e);}}-async function YNe(e, t) {+async function XNe(e, t) {try {await on("/api/batch", {method: "POST",@@ -77860,7 +77867,7 @@ async function YNe(e, t) {})}), await R7();let n = t === "restore" ? "dispose" : "restore";- S8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {+ C8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {await on("/api/batch", {method: "POST",body: JSON.stringify({@@ -77871,11 +77878,11 @@ async function YNe(e, t) {}), await R7();} });} catch (e) {- throw S8.actionFailure("操作", e), e;+ throw C8.actionFailure("操作", e), e;}}-async function XNe(e, t, n, r) {- let i = Number(e.rating) || 0, a = hM(i, t), o = async (t, r) => {+async function ZNe(e, t, n, r) {+ let i = Number(e.rating) || 0, a = GM(i, t), o = async (t, r) => {let i = (await on("/api/feedback", {method: "POST",body: JSON.stringify({@@ -77889,9 +77896,9 @@ async function XNe(e, t, n, r) {};try {let e = await o(a, r);- S8.actionReceipt(e ? `已评 ${mM(e)} 星` : "已取消评分", { undo: () => o(i) });+ C8.actionReceipt(e ? `已评 ${WM(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {- throw r?.aborted || S8.actionFailure("评分", e), e;+ throw r?.aborted || C8.actionFailure("评分", e), e;}}async function b7(e) {@@ -77920,7 +77927,7 @@ async function b7(e) {}return bMe(t.toString(), X.topsQueryParams(e).toString());}-function ZNe() {+function QNe() {if (scrollY <= 0) return;let e = document.documentElement;e.classList.add("refiltering");@@ -77933,31 +77940,31 @@ function ZNe() {});}function x7(e) {- o5().type !== "entity" && T7({ tags: k7(e) }), g9({ filters: { ...e } }), L7();+ s5().type !== "entity" && T7({ tags: k7(e) }), g9({ filters: { ...e } }), L7();}async function S7(e) {let t = ++X.facetCountsSeq, [n] = await b7(e);t === X.facetCountsSeq && (e.type === "home" && (n9.facets = n), g9({ latest: Q7(n, e) }));}function C7(e) {- ZNe();- let t = o5();+ QNe();+ let t = s5();if (t.type === "entity") {let n = { ...t.filters };- e(n), c5(t.kind, t.name, n), x7(n), S7(o5());+ e(n), l5(t.kind, t.name, n), x7(n), S7(s5());} else if (t.type === "item") {- let t = Y.cloneBarsContext(Wl);- if (a9(!1), _u({ detailReturnBarsContext: null }), t && t.type === "entity") {- e(t.filters), c5(t.kind, t.name, t.filters) ? N7() : _u({ pageOpens: cu + 1 });+ let t = Y.cloneBarsContext(Gl);+ if (a9(!1), vu({ detailReturnBarsContext: null }), t && t.type === "entity") {+ e(t.filters), l5(t.kind, t.name, t.filters) ? N7() : vu({ pageOpens: lu + 1 });return;}- e(U), _u({ barsContext: {+ e(U), vu({ barsContext: {type: "home",filters: U} }), Q.route(g7()), W5(), N7();- } else e(U), vu(), Q.route(g7()), x7(U), S7(Ul);+ } else e(U), yu(), Q.route(g7()), x7(U), S7(Wl);}-function QNe() {+function $Ne() {return {tiers: null,tiersPending: !1,@@ -77979,7 +77986,7 @@ function QNe() {helpers: {wireDrag: t9,wireScroller: (e) => {- e && cc(e);+ e && lc(e);}}};@@ -77993,9 +78000,9 @@ function T7(e) {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || QNe(),+ ...X.catalogFilterProps || $Ne(),...e- }, !X.catalogFilterMounting && (IV(t) ? BV(t, e) : (!t.firstChild && !n && (t.innerHTML = UNe(X.catalogViews(), X.catalogFilterProps.state, O7()), Gs(t)), X.catalogFilterMounting = zV("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (IV(t) ? BV(t, e) : (!t.firstChild && !n && (t.innerHTML = WNe(X.catalogViews(), X.catalogFilterProps.state, O7()), Ks(t)), X.catalogFilterMounting = zV("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0}).then(() => BV(t, X.catalogFilterProps)).finally(() => {@@ -78008,9 +78015,9 @@ function E7() {let e = new URL(g7(), location.origin);return e.searchParams.set("loc", U.loc || ""), e.searchParams.set("thumb", U.thumb || "0"), e.searchParams.set("sort", U.sort || ""), e.searchParams.set("dir", U.dir || ""), e.pathname + e.search;},- openEntity: (e, t) => v5(e, t),+ openEntity: (e, t) => y5(e, t),setView: (e) => {- U.state = e, vu(), T7({ state: e }), Q.route(g7()), N7();+ U.state = e, yu(), T7({ state: e }), Q.route(g7()), N7();},toggleTag: (e) => F7(e),clearFilter: (e) => C7((t) => {@@ -78020,12 +78027,12 @@ function E7() {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = Nk(e, U.sort, U.dir);- t && (U.sort = t.sort, U.dir = t.dir, vu(), Z7());+ let t = qk(e, U.sort, U.dir);+ t && (U.sort = t.sort, U.dir = t.dir, yu(), Z7());},- reshuffle: () => uPe(),+ reshuffle: () => dPe(),setLayout: (e) => {- t7() ? i7(e) : RNe(e);+ t7() ? i7(e) : zNe(e);},moreTops: async (e) => {let t = X.catalogTopsPages;@@ -78039,18 +78046,18 @@ function D7() {return t7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: dA(),- options: oA+ value: TA(),+ options: bA} : n7() ? {name: "home-layout",label: "首页卡片版式",value: r7(),- options: oA+ options: bA} : null;}function O7() {return {- sorts: s5(U.sort, U.dir),+ sorts: c5(U.sort, U.dir),layout: D7(),state: U.state || "",trash: U.state === "trash"@@ -78083,7 +78090,7 @@ function j7(e) {logo: e.has_logo ? qa(e.k, "icon", e.logo_version) : ""};}-function $Ne(e, t) {+function ePe(e, t) {X.catalogFilterProps?.tiers || (X.barsRendered = "", X.barsPendingSeq = t, T7({tiers: null,tiersPending: !0,@@ -78095,15 +78102,15 @@ function M7(e) {}async function N7() {let e = ++X.barsRequestSeq;- if (g9(), !Bl(location.pathname) || Ul.type === "item") return;- let t = o5(), n = Y.activeFilterState(), r = JSON.stringify([+ if (g9(), !Vl(location.pathname) || Wl.type === "item") return;+ let t = s5(), n = Y.activeFilterState(), r = JSON.stringify([t,n,U.state || "",U.seed || "",t7()]);- $Ne(n, e);+ ePe(n, e);let i;try {i = await b7(t);@@ -78132,10 +78139,10 @@ async function N7() {performers: 0,studios: 0};- let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = S8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));+ let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = C8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));X.catalogTagRows = f.concat(m, p.filter((e) => !h.has(e.k))).map((e) => ({k: e.k,- label: Ml(e.k),+ label: Nl(e.k),n: e.n ?? null})), X.barsPendingSeq = 0, T7({tiers: {@@ -78159,7 +78166,7 @@ async function N7() {latest: null});}-function ePe(e, t) {+function tPe(e, t) {n9.total = e, U.state === "trash" && (D5.trashCount = {total: n9.total,shown: t@@ -78169,7 +78176,7 @@ function ePe(e, t) {} });}function P7() {- return Vc({+ return Hc({title: "清空回收站",body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",confirmLabel: "清空回收站",@@ -78178,7 +78185,7 @@ function P7() {try {let e = await on("/api/trash/empty", { method: "POST" });if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- S8.actionReceipt(`已永久删除 ${e.purged} 项`);+ C8.actionReceipt(`已永久删除 ${e.purged} 项`);} finally {await R7();}@@ -78211,7 +78218,7 @@ function I7(e) {}), X.tagList(e.tag).forEach((e) => t.push({kind: "untag",key: e,- label: Ml(e)+ label: Nl(e)})), t;}function L7() {@@ -78222,17 +78229,17 @@ function L7() {}async function R7() {let e = Q.claimSurface(Q.surfacePath());- if (_u({+ if (vu({barsContext: {type: "home",filters: U},detailReturnBarsContext: null- }), a9(!1), U.state === "ads") return rPe(e);- if (X.controller.page === "/junk-files" && B7(), L5(), W5(), X8(location.pathname) && U.browse !== "folders") {+ }), 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;BMe();- } else Z8();+ } else Q8();return L7(), L("#count").classList.remove("manage-static", "junkcount"), V7(e);}function z7(e) {@@ -78240,13 +78247,13 @@ function z7(e) {}function B7() {let e = L("#grid");- Ol(e), VV(e), X.controller.clear(), e.innerHTML = "";+ kl(e), VV(e), X.controller.clear(), e.innerHTML = "";}function V7(e) {- return G7("/", nPe, e, { place: IPe });+ return G7("/", rPe, e, { place: LPe });}-function tPe(e) {- return G7("/junk-files", aPe, e);+function nPe(e) {+ return G7("/junk-files", oPe, e);}function H7() {return !!FV(L("#grid"));@@ -78262,7 +78269,7 @@ function G7(e, t, n, r = {}) {X.controller.page && X.controller.page !== e && B7();let a = X.controller.begin(e, H7()), o = t();if (!a.mount) return W7(o), a.settled;- Ol(i);+ kl(i);let s = () => VV(i);return a.signal.addEventListener("abort", s, { once: !0 }), zV(e, o, {...r,@@ -78274,28 +78281,28 @@ function G7(e, t, n, r = {}) {}function K7() {let e = n7();- return vA({+ return MA({active: t7() || e,home: e,portrait: U.orient === "竖屏"});}function q7(e = "正在读取作品") {- return UJ(e, J7());+ return WJ(e, J7());}function J7() {- return U ? yA(K7()) : 16 / 9;+ return U ? NA(K7()) : 16 / 9;}function Y7() {- U7() && (Ol(L("#grid")), W7({+ U7() && (kl(L("#grid")), W7({layout: K7(),seekSeconds: Z.appSettings.seekSeconds- })), Y.entityPageCurrent() && (Ol(L("#index [data-entity-hero]")), a5({+ })), Y.entityPageCurrent() && (kl(L("#index [data-entity-hero]")), o5({layout: K7(),seekSeconds: Z.appSettings.seekSeconds}));}-function nPe() {+function rPe() {let e = decodeURIComponent(location.pathname), t = fn(e), n = U.state === "trash";return {mode: "catalog",@@ -78303,8 +78310,8 @@ function nPe() {actions: X.gridActions,layout: K7(),wall: e === "/wall",- selectMode: ql,- selected: new Set(Gl),+ selectMode: Jl,+ selected: new Set(Kl),seekSeconds: Z.appSettings.seekSeconds,revision: X.controller.revision,wireDrag: t9,@@ -78317,21 +78324,21 @@ function nPe() {mix: t && e !== "/wall" && !n && U.browse !== "folders",shorts: t && e !== "/wall" && !t7() && U.orient !== "竖屏" && !n && U.browse !== "folders",countRow: L("#count"),- onCount: ePe,+ onCount: tPe,onCountFailed: () => T7({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : wK({+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : TK({jav: t7() && !t,- configurable: ou,+ configurable: su,filtered: !t}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function rPe(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"), tPe(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"), nPe(e);}-async function iPe(e, t) {+async function aPe(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await on("/api/batch", {@@ -78343,7 +78350,7 @@ async function iPe(e, t) {})}), await R7();let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";- S8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {+ C8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {await on("/api/batch", {method: "POST",body: JSON.stringify({@@ -78353,29 +78360,29 @@ async function iPe(e, t) {}), await R7();} });} catch (e) {- throw S8.actionFailure("操作", e), e;+ throw C8.actionFailure("操作", e), e;}}-function aPe() {+function oPe() {return {- ...s$(location.search),+ ...c$(location.search),helpers: X.junkQueueHelpers,actions: X.junkQueueActions,batchSize: Z.appSettings.batchSize,revision: X.controller.revision,- selectMode: ql,- selected: new Set(Gl),+ selectMode: Jl,+ selected: new Set(Kl),countRow: L("#count"),settled: z7,- skeletonHtml: () => s2("正在读取垃圾文件", {+ skeletonHtml: () => c2("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function oPe() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), _u(w8(fMe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {+function sPe() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => w8(e, t, Z.appSettings, n), vu(T8(fMe(location, Z.appSettings, C8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {@@ -78390,40 +78397,40 @@ function oPe() {text: t.value,scrollLeft: t.scrollLeft || 0}, r = e || (n.text ? n : X.searchValueSnapshot);- X.cancelSearchDissolve(), X.cancelSearchDissolve = As(t, t.parentElement, r), X.searchValueSnapshot = {+ X.cancelSearchDissolve(), X.cancelSearchDissolve = js(t, t.parentElement, r), X.searchValueSnapshot = {text: "",scrollLeft: 0};};}-function sPe() {+function cPe() {J.handler(L("#wallBtn"), "onclick", () => {k5(!1, !0);- let e = o5(), t = {+ let e = s5(), t = {...Y.activeFilterState(),jav: t7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(hK(void 0, t));+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(gK(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) => IF(e, t),- displayName: (e, t) => FF(e, t),- tagLabel: (e) => Ml(e)+ titleHtml: (e, t) => yF(e, t),+ displayName: (e, t) => vF(e, t),+ tagLabel: (e) => Nl(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {- let r = await n8(n9.stageHost);+ let r = await r8(n9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},wallDetails: y7,- open: (e, t) => qNe(e, t),- openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : KNe(e, t),- openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : f9(e.id),+ open: (e, t) => JNe(e, t),+ openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : qNe(e, t),+ openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : f9(e.id),openShorts: () => f9(),- openMix: (e, t) => vPe(e, e, !0, t),- openEntity: (e, t) => v5(e, t),+ openMix: (e, t) => yPe(e, e, !0, t),+ openEntity: (e, t) => y5(e, t),openUnowned: () => _7({ owner: "none" }, !0),toggleTag: (e) => {C7((t) => {@@ -78434,11 +78441,11 @@ function sPe() {});},toggleSelection: (e, t) => A5(e, t),- watchLater: (e, t) => JNe(e, t),- rate: (e, t, n, r) => XNe(e, t, n, r),- resourceOperation: (e, t) => YNe(e, t),+ watchLater: (e, t) => YNe(e, t),+ rate: (e, t, n, r) => ZNe(e, t, n, r),+ resourceOperation: (e, t) => XNe(e, t),mixRelated: (e) => v7(e),- canFlip: () => !ql && !$7() && !window.__scrolling && !X.reduceMotion()+ canFlip: () => !Jl && !$7() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {let n = new URLSearchParams({n: "60",@@ -78476,10 +78483,10 @@ function sPe() {X.catalogFilterProps && T7({ comboHidden: !0 });};}-function cPe() {+function lPe() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {- ql && k5(!1, !0), Q.route(e);+ Jl && k5(!1, !0), Q.route(e);},toggleSelection: (e, t) => A5(e, t),open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : l9(e.id, !0, null, t),@@ -78488,12 +78495,12 @@ function cPe() {return await on("/api/reveal", {method: "POST",body: JSON.stringify({ id: e.id })- }), S8.toast({ text: "已在资源管理器中显示" }), "";+ }), C8.toast({ text: "已在资源管理器中显示" }), "";} catch (e) {return Y.sourceHint(e.message);}},- operate: (e, t) => iPe(e, t)+ operate: (e, t) => aPe(e, t)};}X.controller = new gMe();@@ -78530,7 +78537,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)), WNe(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), GNe(), Z.sourceOnline;}function Z7() {let e = Q.surfacePath();@@ -78541,7 +78548,7 @@ function Z7() {state: XV.navigation.location.state}), t;}-function lPe(e) {+function uPe(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -78550,7 +78557,7 @@ function lPe(e) {kind: "glyph",name: "rss"};- let t = Zo[e];+ let t = Qo[e];return t ? t.startsWith("data:") ? {kind: "image",src: t@@ -78563,7 +78570,7 @@ function lPe(e) {};}function Q7(e, t) {- let n = (e, t = (e) => e.label || Ml(e.k)) => (e || []).map((e) => ({+ let n = (e, t = (e) => e.label || Nl(e.k)) => (e || []).map((e) => ({value: String(e.k),label: t(e),n: e.n ?? null@@ -78573,7 +78580,7 @@ function Q7(e, t) {value: e.k,label: Ln[e.k] || e.k,n: e.n ?? null,- dot: lPe(e.k),+ dot: uPe(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -78582,12 +78589,12 @@ function Q7(e, t) {creators: n(r),tags: n(e.tags),tech: n(e.tech),- followTags: n(e.follow_tags, (e) => Ml(e.k)),+ followTags: n(e.follow_tags, (e) => Nl(e.k)),duration: !!e.stats?.duration};}-async function uPe(e = !1) {- if (e && (document.hidden || !fn(decodeURIComponent(location.pathname)) || n9.stageOpen() || n9.immerseOpen() || ql || Gl.size || document.activeElement === L("#q"))) return !1;+async function dPe(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;if (t === "skip") return;@@ -78598,7 +78605,7 @@ async function uPe(e = !1) {let n = t === "reopen" ? e : "/stats";n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, XV.navigation.location.state) : Q.navigatePath(n);} else if (L("#index").hidden) {- U.sort = "seed", U.dir = "", U.seed = S8.rollSeed(), vu(), O8(), T7({ refreshing: !0 });+ U.sort = "seed", U.dir = "", U.seed = C8.rollSeed(), yu(), k8(), T7({ refreshing: !0 });try {let e = Z7();await null, await Promise.all([e, N7()]);@@ -78617,71 +78624,71 @@ function $7() {function e9(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function dPe(e) {- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), e9(e), e && Ol();-}function fPe(e) {+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), e9(e), e && kl();+}+function pPe(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}function t9(e) {- return cc(e, { drag: !0 });+ return lc(e, { drag: !0 });}-function pPe() {+function mPe() {["#nrow", "#count"].forEach((e) => t9(L(e))), document.querySelectorAll(".tier,.srow").forEach(t9);}-function mPe() {+function hPe() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function hPe() {+function gPe() {Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Z.OFFLINE_REASON = {local: "无法读取媒体目录,请检查目录是否存在及读取权限。",115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = eA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), jo(Z.appSettings.uiSounds), Lo(), iA(), cse(), kA(), MA(), NA(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {- theme: () => iA(),+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = mA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Mo(Z.appSettings.uiSounds), Ro(), vA(), Yoe(), UA(), KA(), qA(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {+ theme: () => vA(),uiSounds: () => {- jo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Mo("toggle-on");+ Mo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && No("toggle-on");},- glowFrame: () => jA(),+ glowFrame: () => GA(),glow: () => {- jA(), MA();+ GA(), KA();},batchSize: () => {location.pathname === "/" && R7();},defaultSort: () => {- U.sort = Z.appSettings.defaultSort, U.dir = Pk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), vu(), location.pathname === "/" && Z7();+ U.sort = Z.appSettings.defaultSort, U.dir = Jk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && Z7();},sortDirection: () => {- U.dir = Pk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), vu(), location.pathname === "/" && Z7();+ U.dir = Jk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && Z7();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {- Al(e, "previewing", !1), Al(e, "longhover", !1);+ jl(e, "previewing", !1), jl(e, "longhover", !1);}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);},seekSeconds: () => Y7(),groupCollapse: () => s7(),feedAutoScroll: () => VMe(),- feedLimit: () => Q8(),- feedCompilations: () => Q8(),+ feedLimit: () => $8(),+ feedCompilations: () => $8(),miniplayer: () => {- Z.appSettings.miniplayer || r8()?.closeMiniplayer();+ Z.appSettings.miniplayer || i8()?.closeMiniplayer();},javImage: () => {- Ba(document, Z.appSettings.javImage), Y7(), document.querySelectorAll("img[data-jav-image].cover").forEach(sl), _Pe();+ Ba(document, Z.appSettings.javImage), Y7(), document.querySelectorAll("img[data-jav-image].cover").forEach(cl), vPe();},searchHistoryLimit: () => BV(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {- ...Object.fromEntries(Object.entries(Zo).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : R(t)])),+ ...Object.fromEntries(Object.entries(Qo).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : R(t)])),online: R("rss")}, Z.srcBadge = (e, t, n) => {let r = `${Ln[e] || e}${t === "metered" ? " · 计费" : ""}`;return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";- }, Z.emptyState = ws;+ }, Z.emptyState = Ts;}-function gPe() {+function _Pe() {Z.CENSOR_KEY = "peach-censor", e9(localStorage.getItem(Z.CENSOR_KEY) === "1");}// src/application/media.js@@ -78704,26 +78711,26 @@ function r9() {} : null;}function i9() {- return r8()?.exit() || Promise.resolve();+ return i8()?.exit() || Promise.resolve();}function a9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {- Q.queueOpenRequest !== r && v9(), r8()?.dispose({ miniplayer: n }), _u({+ Q.queueOpenRequest !== r && v9(), i8()?.dispose({ miniplayer: n }), vu({activeQueue: null,pendingQueueRoute: null,presentedItem: null- }), t || _u({+ }), t || vu({detailOriginAnchor: null,detailOriginAbove: !1,detailReturnNeedsRestore: !1- }), d7(), e && Q.route(Zl || "/");+ }), d7(), e && Q.route(Ql || "/");}-function _Pe() {- r8()?.repaintPoster();+function vPe() {+ i8()?.repaintPoster();}function o9(e, t, n, r, i = null, a = {}) {t = +t;- let o = tu?.kind === e && (e === "playlist" ? tu.playlistId : tu.seedId) === t;- r && !o && _u({ detailReturnPath: location.pathname + location.search }), r && xV();+ let o = nu?.kind === e && (e === "playlist" ? nu.playlistId : nu.seedId) === t;+ r && !o && vu({ detailReturnPath: location.pathname + location.search }), r && xV();let s = e === "playlist" ? {kind: e,playlistId: t,@@ -78739,16 +78746,16 @@ function o9(e, t, n, r, i = null, a = {}) {seq: XV.navigation.seq,cancelled: !1};- Q.requestedQueue = () => l9(n == null ? null : +n, !1, s, i, !0, e), _u({ queueOpens: lu + 1 });+ 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 vPe(e, t = e, n = !0, r = null) {+function yPe(e, t = e, n = !0, r = null) {return o9("mix", e, t, n, r);}-function yPe(e, t = e, n = !0, r = null) {+function bPe(e, t = e, n = !0, r = null) {return o9("editions", e, t, n, r);}-function bPe(e, t = e, n = !0, r = null) {+function xPe(e, t = e, n = !0, r = null) {return o9("parts", e, t, n, r);}function s9(e, t = null, n = !0) {@@ -78760,24 +78767,24 @@ function c9() {async function l9(e, t = !0, n = null, r = null, i = !1, a = null) {if (a?.cancelled) return;if (a || v9(), t && !n) {- _u({ detailReturnPath: location.pathname + location.search }), y9("/assets/" + +e, "item", () => l9(e, !1, null, r));+ vu({ detailReturnPath: location.pathname + location.search }), y9("/assets/" + +e, "item", () => l9(e, !1, null, r));return;}- Ol(), e = e == null ? null : +e;- let o = r?.isConnected ? r : Ql?.isConnected ? Ql : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : $l, c = c9(), l = eu || !t && !c, u = Ul.type === "item" ? Wl : Y.cloneBarsContext(o5());- t ? _u({ detailReturnPath: location.pathname + location.search }) : i || _u({ detailReturnPath: CV() || Zl }), t && xV(), r8()?.showing() !== "item" && a9(!1, !0, {+ kl(), e = e == null ? null : +e;+ let o = r?.isConnected ? r : $l?.isConnected ? $l : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : eu, c = c9(), l = tu || !t && !c, u = Wl.type === "item" ? Gl : Y.cloneBarsContext(s5());+ t ? vu({ detailReturnPath: location.pathname + location.search }) : i || vu({ detailReturnPath: CV() || Ql }), t && xV(), i8()?.showing() !== "item" && a9(!1, !0, {miniplayer: !1,preserveQueueRequest: a- }), _u({+ }), vu({detailOriginAnchor: o,detailOriginAbove: s,detailReturnNeedsRestore: l- }), _u({ detailReturnBarsContext: u }), _u({ activeQueue: n && {+ }), vu({ detailReturnBarsContext: u }), vu({ activeQueue: n && {kind: n.kind,seedId: n.seedId,playlistId: n.playlistId- } }), _u({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, wV("item"));- let d = await n8(n9.stageHost);+ } }), vu({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, wV("item"));+ let d = await r8(n9.stageHost);if (a?.cancelled) return;let f = a ? {...n9.itemDetailActions,@@ -78800,31 +78807,31 @@ async function l9(e, t = !0, n = null, r = null, i = !1, a = null) {actions: X.gridActions},layout: K7(),- selectMode: ql,- selected: new Set(Gl),+ selectMode: Jl,+ selected: new Set(Kl),seekSeconds: Z.appSettings.seekSeconds,resume: t || e == null ? null : r9()}), d7();}async function u9() {- let e = Y.cloneBarsContext(Wl), t = Zl || "/", n = eu;- await i9(), a9(!1, !1, { miniplayer: !1 }), _u({ detailReturnBarsContext: null }), SV(), _u({ barsContext: e || {+ let e = Y.cloneBarsContext(Gl), t = Ql || "/", n = tu;+ await i9(), a9(!1, !1, { miniplayer: !1 }), vu({ detailReturnBarsContext: null }), SV(), vu({ barsContext: e || {type: "home",filters: U- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? _u({ pageOpens: cu + 1 }) : (N7(), location.pathname === "/playlists" && _u({ pageOpens: cu + 1 })));+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? vu({ pageOpens: lu + 1 }) : (N7(), location.pathname === "/playlists" && vu({ pageOpens: lu + 1 })));}async function d9(e, t = !0) {if (t) {- _u({ detailReturnPath: location.pathname + location.search }), y9("/works/" + encodeURIComponent(e), "jav", () => d9(e, !1));+ vu({ detailReturnPath: location.pathname + location.search }), y9("/works/" + encodeURIComponent(e), "jav", () => d9(e, !1));return;}- let n = XV.navigation.seq, r = Y.cloneBarsContext(o5()), i = !c9(), a = CV() || (i ? "/jav?tab=discover" : Zl) || "/jav?tab=discover";- r8()?.showing() !== "jav" && a9(!1, !0, { miniplayer: !1 }), _u({+ let n = XV.navigation.seq, r = Y.cloneBarsContext(s5()), i = !c9(), a = CV() || (i ? "/jav?tab=discover" : Ql) || "/jav?tab=discover";+ i8()?.showing() !== "jav" && a9(!1, !0, { miniplayer: !1 }), vu({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i- }), Ol();- let [o, s] = await Promise.all([n8(n9.stageHost), B("/healthz")]);+ }), kl();+ let [o, s] = await Promise.all([r8(n9.stageHost), B("/healthz")]);XV.navigation.seq === n && (await o.open({kind: "jav",code: e,@@ -78846,19 +78853,19 @@ async function d9(e, t = !0) {behavior: "smooth"});},- receipt: (e) => S8.toast({ text: e })+ receipt: (e) => C8.toast({ text: e })}}), d7());}async function f9(e = null, t = !0) {- t ? (n9.requestedImmerseId = e, Q.route("/immerse")) : (r8()?.closeMiniplayer(), await (await rMe(n9.immerseHost)).open(e));+ t ? (n9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await rMe(n9.immerseHost)).open(e));}-function xPe() {+function SPe() {n9.total = 0, n9.facets = null, n9.stageHost = {player: {settings: () => Z.appSettings,saveSettings: () => Z.saveSettings(),- toast: (e, t) => S8.toast({ text: e }, t),+ toast: (e, t) => C8.toast({ text: e }, t),loadSourceStatus: () => X7(),offlineReason: (e) => Z.offlineReason(e)},@@ -78867,56 +78874,56 @@ function xPe() {e === "follow" ? O9(t, !0, n) : l9(t, !0);},openItem: (e) => void l9(e)- }, n9.stageOpen = () => !!r8()?.isOpen();+ }, n9.stageOpen = () => !!i8()?.isOpen();}-function SPe() {+function CPe() {n9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => IF(e),- displayName: (e) => FF(e),+ titleHtml: (e) => yF(e),+ displayName: (e) => vF(e),javImage: () => Z.appSettings.javImage,- tagLabel: (e) => Ml(e),+ 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: () => s2("正在读取推荐", {+ relatedSkeletonHtml: () => c2("正在读取推荐", {cards: !0,className: "related-skeleton"}),mixRelated: (e) => v7(e),wireDrag: (e) => t9(e),- wireDragReorder: (e, t) => Lc(e, t)+ wireDragReorder: (e, t) => Rc(e, t)}, n9.itemDetailActions = {close: () => u9(),present: (e) => {- _u({ presentedItem: e });- let t = Wl;- _u({ barsContext: {+ vu({ presentedItem: e });+ let t = Gl;+ vu({ barsContext: {type: "item",id: e.id,filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()- } }), nu && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${nu}`, !1, wV("item")), _u({ pendingQueueRoute: null })), N7();+ } }), ru && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${ru}`, !1, wV("item")), vu({ pendingQueueRoute: null })), N7();},redirect: (e) => {- let t = !!nu;- e.kind === "follow" ? (Q.queueOpenRequest = null, _u({+ let t = !!ru;+ e.kind === "follow" ? (Q.queueOpenRequest = null, vu({pendingQueueRoute: null,- followDetailReturnPath: Zl || "/"+ followDetailReturnPath: Ql || "/"}), Q.route(`/posts/${e.id}`, !t, wV("follow")), O9(e.id, !1, null, !0)) : e.kind === "item" ? l9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? x9("/playlists") : S5() : a9(!1);},openQueueItem: (e, t, n = !0) => void o9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {- let e = ru;+ let e = iu;if (!e) return;- let t = tu;+ let t = nu;t ? o9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : l9(e.id, !1);},checkSource: async (e) => (await X7())[e] !== !1,openSavedFollow: () => {$.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", x9(S9());},- openEntity: (e, t) => v5(e, t),+ openEntity: (e, t) => y5(e, t),openUnowned: () => _7({ owner: "none" }, !0),openRegion: (e) => _7({ region: e || "none" }, !0),openTag: (e) => {@@ -78927,31 +78934,31 @@ function SPe() {behavior: "smooth"});},- addToPlaylist: (e) => eNe(e),- saveMix: (e) => $Me(e),+ addToPlaylist: (e) => tNe(e),+ saveMix: (e) => eNe(e),editPlaylist: () => x9("/playlists"),openPlaylists: () => x9("/playlists"),- reveal: (e) => p5(e),+ reveal: (e) => m5(e),sync: (e) => KMe(e),trashChanged: async (e, t) => {U.state === "ads" && (t || e === "trash") && (t || (SV(), a9(!0, !1, { miniplayer: !1 })), await R7());},- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: (e, t) => S8.actionFailure(e, t)+ toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),+ failure: (e, t) => C8.actionFailure(e, t)}, n9.immerseHost = {filters: () => U,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => FF(e),+ displayName: (e) => vF(e),route: (e) => Q.route("/immerse?id=" + e, !0),closed: () => _7(),openItem: (e) => void l9(e),- openEntity: (e, t) => v5(e, t),+ openEntity: (e, t) => y5(e, t),openUnowned: () => _7({ owner: "none" }, !0),- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- warn: (e) => S8.toast({ text: e }, { sound: "warning" }),- failure: (e, t) => S8.actionFailure(e, t)- }, n9.immerseOpen = () => !!o8()?.isOpen(), J.handler(L("#immerseBtn"), "onclick", () => f9());+ toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),+ warn: (e) => C8.toast({ text: e }, { sound: "warning" }),+ failure: (e, t) => C8.actionFailure(e, t)+ }, n9.immerseOpen = () => !!s8()?.isOpen(), J.handler(L("#immerseBtn"), "onclick", () => f9());}// src/application/tutorial.jsvar p9 = {@@ -78963,8 +78970,8 @@ var p9 = {readPostSetupTutorialDone: void 0,openTutorialTarget: void 0};-async function CPe() {- rl(), await p9.writePostSetupTutorialDone(!1), await m9();+async function wPe() {+ il(), await p9.writePostSetupTutorialDone(!1), await m9();}async function m9() {let e = L("#postSetupTutorial");@@ -78972,37 +78979,37 @@ async function m9() {let t = () => {e.hidden = !0, e.innerHTML = "", delete e.dataset.tutorialSignature, e.removeAttribute("aria-busy");};- if (p9.postSetupTutorialNeedsReopen && (p9.postSetupTutorialNeedsReopen = !1, await p9.writePostSetupTutorialDone(!1).catch(() => {})), qc() !== "pending" || await p9.readPostSetupTutorialDone()) {+ if (p9.postSetupTutorialNeedsReopen && (p9.postSetupTutorialNeedsReopen = !1, await p9.writePostSetupTutorialDone(!1).catch(() => {})), Jc() !== "pending" || await p9.readPostSetupTutorialDone()) {t();return;}- let n = tl();+ let n = nl();e.hidden = !1, e.setAttribute("aria-busy", "true"), e.firstElementChild || (e.innerHTML = `<article class="post-setup-notification post-setup-loading">${R("compass")}<p>正在检查安装进度…</p></article>`);try {let r = await p9.postSetupTutorialTasks();- if (!nl(n)) return;- let i = new Set(r.map((e) => e.key)), a = new Set([...Zc()].filter((e) => i.has(e)));- Qc(a);+ if (!rl(n)) return;+ let i = new Set(r.map((e) => e.key)), a = new Set([...Qc()].filter((e) => i.has(e)));+ $c(a);let o = r.filter((e) => !a.has(e.key)), s = o.filter((e) => !e.done);if (!s.length) {- Jc("complete"), t(), await p9.writePostSetupTutorialDone(!0).catch(() => {});+ Yc("complete"), t(), await p9.writePostSetupTutorialDone(!0).catch(() => {});return;}- let c = $c(o);+ let c = el(o);if (e.dataset.tutorialSignature === c) {e.removeAttribute("aria-busy");return;}e.innerHTML = p9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");let l = s[0], u = e.querySelector("[data-tutorial-collapse]"), d = e.querySelector(".post-setup-collapse-body");- d.inert = Yc(), d.classList.toggle("ui-fcollapse-settled", !d.inert), J.handler(u, "onclick", () => {+ d.inert = Xc(), d.classList.toggle("ui-fcollapse-settled", !d.inert), J.handler(u, "onclick", () => {let t = e.querySelector(".post-setup-notification"), n = t.dataset.collapsed !== "true";- t.dataset.collapsed = String(n), Xc(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), xo(d, !n);+ t.dataset.collapsed = String(n), Zc(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), So(d, !n);}), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => J.handler(e, "onclick", () => {- let t = Zc(), n = e.dataset.tutorialSkip;- t.add(n), Qc(t), S8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {- let e = Zc();- e.delete(n), Qc(e), Jc("pending"), await m9();+ let t = Qc(), n = e.dataset.tutorialSkip;+ t.add(n), $c(t), C8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {+ let e = Qc();+ e.delete(n), $c(e), Yc("pending"), await m9();} }), m9();}));let f = new Map(o.map((e) => [e.key, e]));@@ -79011,15 +79018,15 @@ async function m9() {!n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), p9.openTutorialTarget(n));})), J.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => p9.openTutorialTarget(l));} catch {- if (!nl(n)) return;- e.innerHTML = il(R("alert")), e.removeAttribute("aria-busy"), J.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {+ if (!rl(n)) return;+ e.innerHTML = al(R("alert")), e.removeAttribute("aria-busy"), J.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {delete e.dataset.tutorialSignature, e.innerHTML = "", m9();}), J.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);}}-function wPe() {- if (_u({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), p9.postSetupTutorialDone = null, p9.postSetupTutorialNeedsReopen = !1, su) {- Jc("pending"), p9.postSetupTutorialDone = !1, p9.postSetupTutorialNeedsReopen = !0;+function TPe() {+ 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);e.searchParams.delete("onboarding"), ZV(e, {replace: !0,@@ -79087,7 +79094,7 @@ function wPe() {}];}, p9.postSetupTutorialHtml = (e, t, n) => {- let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = Yc(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}">+ let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = Xc(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}"><a href="${e.href}" data-tutorial-task="${e.key}"><span class="post-setup-check" aria-hidden="true">${e.done ? R("check") : R(e.icon)}</span><span><b>${e.label}</b><small>${e.description}</small></span>@@ -79120,7 +79127,7 @@ function wPe() {}return p9.postSetupTutorialDone;}, p9.openTutorialTarget = (e) => {- e.setupEntry && _u({ cameFromSetup: !0 }), Q.navigatePath(e.href);+ e.setupEntry && vu({ cameFromSetup: !0 }), Q.navigatePath(e.href);};}// src/application/navigation.js@@ -79144,7 +79151,7 @@ var Q = {initialOverlayOpened: void 0};function h9() {- let e = f8();+ let e = p8();e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(c7(e.dataset.nav))));}function g9(e = {}) {@@ -79156,13 +79163,13 @@ function g9(e = {}) {}), V5.sidebarProps = {...V5.sidebarProps,...e- }, f8()?.render(V5.sidebarProps);+ }, p8()?.render(V5.sidebarProps);}function _9() {g9(), h9(), u7();}function v9() {- Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, _u({ pendingQueueRoute: null });+ Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, vu({ pendingQueueRoute: null });}function y9(e, t, n) {v9(), xV(), Q.requestedOverlay = {@@ -79174,9 +79181,9 @@ function b9() {Q.surfaceEpoch++, X.barsRequestSeq++, I5.syncPageTitle(location.href), g9(), SV(), m9();}function x9(e) {- Q.route(e), _u({ pageOpens: cu + 1 });+ Q.route(e), vu({ pageOpens: lu + 1 });}-function TPe() {+function EPe() {Q.routeMeta = (e) => {let t = DV(e);return t ? { route: t } : null;@@ -79184,7 +79191,7 @@ function TPe() {let t = DV(e);return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !_V(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? f9(mPe()) : e === "/follow" ? D9() : e === "/playlists" || Q.catalogPage(e) ? x9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? vNe() : e) : (k5(!1, !0), x9(N5({+ e === "/immerse" ? f9(hPe()) : e === "/follow" ? D9() : e === "/playlists" || Q.catalogPage(e) ? x9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? yNe() : e) : (k5(!1, !0), x9(N5({kind: e.slice(1),q: "",scope: "local",@@ -79193,12 +79200,12 @@ function TPe() {})));};}-function EPe() {+function DPe() {Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({epoch: Q.surfaceEpoch,path: e,signal: Q.surfaceRequests?.signal- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (X8(e) || Z8(), VV(L("#stats"), L("#index")), !fn(e) && e !== "/trash" && B7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Z8(e) || Q8(), VV(L("#stats"), L("#index")), !fn(e) && e !== "/trash" && B7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {Q.surfaceEpoch++, X.barsRequestSeq++, ZV(e, {replace: t,state: n@@ -79212,15 +79219,15 @@ function EPe() {}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}// src/jobs.ts-function DPe(e, t, n) {+function OPe(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 OPe(e, t = 0, n = 0) {- return n > 0 ? DPe(e, t, n) : Ss(e);+function kPe(e, t = 0, n = 0) {+ return n > 0 ? OPe(e, t, n) : Cs(e);}-async function kPe(e) {+async function APe(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -79235,14 +79242,14 @@ async function kPe(e) {await t(2e3);}}-function APe(e) {- let t = e.note || ((e) => ys(e, {+function jPe(e) {+ let t = e.note || ((e) => bs(e, {label: "任务状态",variant: "error"- })), n = e.loading || Ss, r = e.progress || ((e, t, n) => OPe(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) => kPe(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;- kPe({+ APe({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -79291,9 +79298,9 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function jPe(e) {+function MPe(e) {let t = (e.results || []).filter((e) => !e.ok).length;- S8.toast({ text: Ci(e) }, {+ C8.toast({ text: Ci(e) }, {warn: !!t,timeout: t ? 8e3 : 6e3,sound: t ? "warning" : "success",@@ -79306,7 +79313,7 @@ function jPe(e) {function S9() {return ua(C9());}-function MPe() {+function NPe() {return $.controller.read();}function C9() {@@ -79327,17 +79334,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 NPe() {+function PPe() {let e = FV(L("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}function T9() {- return !!NPe();+ return !!PPe();}function E9(e) {T9() && BV(L("#stats"), e);}-function PPe(e, t = {}) {+function FPe(e, t = {}) {return $.controller.route(e, t);}function D9(e = !1) {@@ -79345,12 +79352,12 @@ function D9(e = !1) {}async function O9(e, t = !0, n = null, r = !1) {if (t) {- !location.pathname.startsWith("/posts/") && !r && _u({ followDetailReturnPath: location.pathname + location.search }), y9(`/posts/${+e}`, "follow", () => O9(e, !1, n, r));+ !location.pathname.startsWith("/posts/") && !r && vu({ followDetailReturnPath: location.pathname + location.search }), y9(`/posts/${+e}`, "follow", () => O9(e, !1, n, r));return;}- Ol(), e = +e;+ kl(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && _u({ followDetailReturnPath: location.pathname + location.search }), !t && !r && _u({ followDetailReturnPath: CV() || "/follow" }), t && xV(), r8()?.showing() !== "follow" && a9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, wV("follow")), await (await n8(n9.stageHost)).open({+ t && i && !r && vu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && vu({ followDetailReturnPath: CV() || "/follow" }), t && xV(), i8()?.showing() !== "follow" && a9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, wV("follow")), await (await r8(n9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -79361,90 +79368,90 @@ async function O9(e, t = !0, n = null, r = !1) {resume: t ? null : r9()}), d7();}-async function FPe() {- await i9(), a9(!1, !1, { miniplayer: !1 }), SV(), Q.route(iu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && T9() ? (MPe(), E9({ view: C9() })) : _u({ pageOpens: cu + 1 }));+async function IPe() {+ await i9(), a9(!1, !1, { miniplayer: !1 }), SV(), Q.route(au || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && T9() ? (NPe(), E9({ view: C9() })) : vu({ pageOpens: lu + 1 }));}-function IPe(e) {+function LPe(e) {let t = document.createElement("div");- return t.className = "peach-react", Is(e, () => {+ return t.className = "peach-react", Ls(e, () => {e.textContent = "", e.append(t);}), t;}-function LPe() {- $.followFeedHelpers = Pl({+function RPe() {+ $.followFeedHelpers = Fl({wireDrag: (e) => {e && t9(e);},wireScroller: (e) => {- e && cc(e);+ e && lc(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: APe+ jobProgress: jPe}), $.followFeedActions = {loaded: (e) => G5(e),openDetail: (e) => O9(e),openAuthor: (e) => Q.navigatePath(hn("creator", e)),- toggleSelection: (e, t) => oNe(e, t),+ toggleSelection: (e, t) => sNe(e, t),setImagesOnly: (e) => {- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), u5();+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), d5();},setPhotoLayout: (e) => {- xA(e), u5();+ FA(e), d5();},- canFlip: () => !ql && !$7() && !window.__scrolling && !X.reduceMotion(),- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: (e, t) => S8.actionFailure(e, t),- checkReport: (e) => jPe(e)+ 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) => MPe(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- r8()?.showing() !== "follow" && (Ol(), a9(!1), U5(), !T9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), L("#stats").querySelector(".peach-react") && VV(L("#stats")), L("#stats").replaceChildren()));+ i8()?.showing() !== "follow" && (kl(), a9(!1), U5(), !T9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), L("#stats").querySelector(".peach-react") && VV(L("#stats")), L("#stats").replaceChildren()));}- }, $.followDetailActions = Hl({+ }, $.followDetailActions = Ul({view: C9,adoptView: w9,- rememberReturn: (e) => _u({ followDetailReturnPath: e }),- close: () => void FPe(),+ rememberReturn: (e) => vu({ followDetailReturnPath: e }),+ close: () => void IPe(),open: (e, t, n) => void O9(e, !0, t, n),drawer: G5,openAuthor: (e) => Q.navigatePath(hn("creator", e))}, {- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: S8.actionFailure+ toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),+ failure: C8.actionFailure});}-function RPe() {+function zPe() {$.controller = pa({location: () => location,view: C9,adoptView: w9,session: () => ({- discoverySeed: du,- revision: fu,- scrollY: pu+ discoverySeed: fu,+ revision: pu,+ scrollY: mu}),- writeSession: (e) => _u({+ writeSession: (e) => vu({...e.discoverySeed === void 0 ? {} : { followDiscoverySeed: e.discoverySeed },...e.revision === void 0 ? {} : { followRevision: e.revision },...e.scrollY === void 0 ? {} : { followScrollY: e.scrollY }}),preferences: () => ({- selectMode: ql,- selected: Kl,- photoSize: hA(),- photoLayout: gA(),+ selectMode: Jl,+ selected: ql,+ photoSize: kA(),+ photoLayout: AA(),imagesOnly: !!Z.appSettings.followImagesOnly}),live: T9,push: E9,route: Q.route,openPage: x9,- rollSeed: () => Number(S8.rollSeed()),+ rollSeed: () => Number(C8.rollSeed()),enterSeed: () => Math.floor(Math.random() * 4294967295),revealFeed: () => {- Ol(), U5(), H5({ manage: !1 });+ kl(), U5(), H5({ manage: !1 });},- syncPhotoWalls: u5,+ syncPhotoWalls: d5,scrollTop: () => window.scrollTo({top: 0,behavior: "smooth"@@ -79452,8 +79459,8 @@ function RPe() {}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;}// src/application/lifecycle.js-function zPe() {- CSe(), Ac(document), vo(document.documentElement, { variant: "page" }), vo(L("#drawerScroll")), J.own(Dc()), Ta(document.body), X.homeHasFeed = RMe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {+function BPe() {+ CSe(), jc(document), yo(document.documentElement, { variant: "page" }), yo(L("#drawerScroll")), J.own(Oc()), Ta(document.body), X.homeHasFeed = RMe(), 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@@ -79464,7 +79471,7 @@ function zPe() {], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;}// src/react/search/recommendations.ts-async function BPe(e) {+async function VPe(e) {let t = (await Promise.allSettled([e("/api/items?sort=rand&limit=5"),e("/api/jav/discoveries?scope=library&limit=5"),@@ -79576,7 +79583,7 @@ async function BPe(e) {];}// src/application/search-morph.js-function VPe(e, t, n, r, i, a, o) {+function HPe(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);@@ -79601,7 +79608,7 @@ var k9 = {function A9() {k9.searchControl?.close();}-function HPe(e) {+function UPe(e) {let t = e ? Ia({...e,is_jav: !!e.code@@ -79618,9 +79625,9 @@ function M9(e) {j9(), t.classList.remove("open");let o = n.getBoundingClientRect();if (t.classList.toggle("open", e), L("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;- let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = xc();+ 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(VPe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(HPe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"@@ -79629,30 +79636,30 @@ function M9(e) {k9.searchMorph === h && j9();});}-function UPe() {- return n9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;+function WPe() {+ return n9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;}-function WPe(e) {+function GPe(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function GPe() {+function KPe() {k9.searchControl = null, k9.searchActions = {search: (e) => {- X.rememberSearchValue(), a9(!1), U.q = e, vu(), Q.route(U.jav === "1" ? g7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);+ X.rememberSearchValue(), a9(!1), U.q = e, yu(), Q.route(U.jav === "1" ? g7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);},openItem: (e) => l9(e),- openEntity: (e, t) => v5(e, t),+ openEntity: (e, t) => y5(e, t),openPath: (e) => Q.route(e, !1),openFollow: (e, t, n) => {$.followMediaView = t, O9(e, !0, n);}}, k9.searchHelpers = {- pool: () => CK(U, on),- recommendations: () => BPe(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 ? U8(e) : HPe(e)}</span>`,- present: (e) => Ho(e),- dismiss: (e) => Uo(e),- wireScroller: (e) => cc(e),+ pool: () => wK(U, on),+ recommendations: () => VPe(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) : UPe(e)}</span>`,+ present: (e) => Uo(e),+ dismiss: (e) => Wo(e),+ wireScroller: (e) => lc(e),typed: (e) => {let t = e.value;!t && X.searchValueSnapshot.text ? X.clearSearchField(X.searchValueSnapshot) : (t && (X.cancelSearchDissolve(), X.cancelSearchDissolve = () => {}), X.rememberSearchValue(e));@@ -79683,7 +79690,7 @@ function GPe() {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function KPe() {+function qPe() {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", () => {@@ -79698,7 +79705,7 @@ function KPe() {e.preventDefault(), _7(null, !0);}), J.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = l8();+ let t = u8();if (t?.isOpen()) {t.close();return;@@ -79708,24 +79715,24 @@ function KPe() {return;}if (n9.immerseOpen()) {- o8().close();+ s8().close();return;}if (n9.stageOpen()) {- e.defaultPrevented || (e.preventDefault(), r8().requestClose());+ e.defaultPrevented || (e.preventDefault(), i8().requestClose());return;}if (L("#drawer").classList.contains("open")) {J5(!1);return;}- if (ql || Gl.size || Kl.size) {+ if (Jl || Kl.size || ql.size) {k5(!1, !0);return;}return;}- if (WPe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (GPe(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) {@@ -79733,37 +79740,37 @@ function KPe() {return;}}- let t = UPe();+ let t = WPe();if (t) {if (e.key === "t" || e.key === "T") {- e.preventDefault(), r8()?.toggleTheater();+ e.preventDefault(), i8()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), tM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), gM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), eM(t);+ e.preventDefault(), hM(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), _j(t, ".vjs-mute-control");+ e.preventDefault(), Mj(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), _j(t, ".vjs-fullscreen-control");+ e.preventDefault(), Mj(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {- e.preventDefault(), r8()?.toggleMiniplayer();+ e.preventDefault(), i8()?.toggleMiniplayer();return;}}});}// src/history/links.ts-function qPe(e) {+function JPe(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;@@ -79786,23 +79793,23 @@ var N9 = {shellActions: void 0,routing: void 0};-function JPe() {+function YPe() {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 (LMe(), I5.entityShapesReady = W8(), wNe(), location.pathname === "/") {+ if (LMe(), I5.entityShapesReady = G8(), TNe(), location.pathname === "/") {let e = new URLSearchParams(location.search);!e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1);}- X8(decodeURIComponent(location.pathname)) && q8(L("#feedNew")), NNe(), N9.shellActions = {+ Z8(decodeURIComponent(location.pathname)) && J8(L("#feedNew")), PNe(), N9.shellActions = {openSettings: (e) => Y5(e, !0),- closeSettings: () => l8()?.close(!1),+ closeSettings: () => u8()?.close(!1),openItem: (e) => void l9(e),- openEntity: (e, t) => void v5(e, t),+ openEntity: (e, t) => void y5(e, t),openTag: (e) => {- ONe(), F7(e);+ kNe(), F7(e);},- openTasteSignal: QMe,+ openTasteSignal: $Me,navigate: (e) => {let n = new URL(e, location.href), r = gV(n.pathname, n.search);if (r) {@@ -79811,19 +79818,19 @@ function JPe() {} else if (n.hash && n.pathname === location.pathname && n.search === location.search && !_V(location.pathname)) {Q.route(e);let t = XV.navigation.seq;- c6(n.hash, () => XV.navigation.seq === t);+ l6(n.hash, () => XV.navigation.seq === t);} else Q.navigatePath(e);},openManage: e7,managePath: (e) => Q.routePathOf("section", e) || "",openFollow: () => D9(),- receipt: (e, t) => S8.actionReceipt(e, t),- toast: (e, t) => S8.toast(e, t),- failure: S8.actionFailure,- revealSource: p5,- reopenTutorial: CPe,- routeReview: tNe,- routeFollowManage: _Ne,+ receipt: (e, t) => C8.actionReceipt(e, t),+ toast: (e, t) => C8.toast(e, t),+ failure: C8.actionFailure,+ revealSource: m5,+ reopenTutorial: wPe,+ routeReview: nNe,+ routeFollowManage: vNe,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();},@@ -79834,17 +79841,17 @@ function JPe() {},exitSelectMode: () => k5(!1, !1),personAvatar: (e, t, n) => M5.personAvatar(e, t, n),- authorAvatar: (e) => yNe(e),- showIndexTags: bNe,+ authorAvatar: (e) => bNe(e),+ showIndexTags: xNe,openFollowAuthor: F5,- openFollowTag: xNe,+ openFollowTag: SNe,openPlaylist: (e, t) => void s9(e, t, !0),- canFlip: () => !ql && !$7() && !window.__scrolling && !X.reduceMotion(),+ canFlip: () => !Jl && !$7() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {- e === "entity" ? (Ol(), _u({ barsContext: {+ e === "entity" ? (kl(), vu({ barsContext: {type: "home",filters: U- } }), W5(), document.body.classList.add("entity-open"), w7(), P5()) : e === "index" ? (Ol(), document.body.classList.remove("entity-open"), Q.claimSurface(t), W5(), document.body.classList.add("index-open"), w7(), P5()) : (Ol(), Q.claimSurface(t), e === "catalog" ? W5() : (U5(), H5({ manage: e === "management" })));+ } }), W5(), document.body.classList.add("entity-open"), w7(), P5()) : e === "index" ? (kl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), W5(), document.body.classList.add("index-open"), w7(), P5()) : (kl(), Q.claimSurface(t), e === "catalog" ? W5() : (U5(), H5({ manage: e === "management" })));},clearSearch: () => X.clearSearchField(),openImmerse: (e) => {@@ -79866,28 +79873,28 @@ function JPe() {helpers: X.gridHelpers,actions: X.gridActions},- configurable: () => !!ou,+ configurable: () => !!su,surfaceShown: (e) => {e === "index" ? (_9(), d7()) : N7();},entity: {missing: (e) => {- N9.shellActions.surfaceChanged("entity", location.pathname), _5(e);+ N9.shellActions.surfaceChanged("entity", location.pathname), v5(e);},loading: (e, t, n) => Y.application.loading(e, t, n),props: (e, t, n) => Y.application.addressProps(e, t, n),refresh: (e, t, n) => {let r = Y.parseEntityFilters(n);e === "creator" && (r.creator = "");- let i = o5();- return i.type !== "entity" || i.kind !== e || i.name !== t || !c5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (x7(r), S7(o5()), !0);+ let i = s5();+ return i.type !== "entity" || i.kind !== e || i.name !== t || !l5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (x7(r), S7(s5()), !0);}},follow: $.followFeedShell,catalog: {defaultLoc: () => h7("local,115"),open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {- n && (b9(), u7(), $5()), t && O8(), e === "/trash" ? (X.clearSearchField(), W5()) : (L("#q").value = U.q, X.rememberSearchValue()), _9(), N7(), Z.handOff(R7());+ n && (b9(), u7(), $5()), t && k8(), e === "/trash" ? (X.clearSearchField(), W5()) : (L("#q").value = U.q, X.rememberSearchValue()), _9(), N7(), Z.handOff(R7());},load: () => {Z.handOff(R7());@@ -79898,27 +79905,27 @@ function JPe() {e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), V7(Q.surfaceToken(Q.surfacePath()));},release: () => {- B7(), Z8();+ B7(), Q8();}}}, N9.routing = !1, e.listen(document, "click", (e) => {- let t = qPe(e);+ let t = JPe(e);t && (e.preventDefault(), N9.shellActions.navigate(t));}), J.own(XV.listen((e) => {Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !_V(e.location.pathname) && a9(!1), N9.routing && !e.claimed && b9();- })), tMe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), INe(), dNe(), Z5(), Promise.all([+ })), tMe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), LNe(), fNe(), Z5(), Promise.all([X7(),- PNe(),+ FNe(),I5.entityShapesReady]).then(() => {- e.isActive && (I5.wantsDiscoveryBars() && N7().catch((e) => console.error("首页横条装载失败", e)), _9(), pPe(), N9.routing = !0, _u({ pageOpens: 1 }), b9(), d7());+ e.isActive && (I5.wantsDiscoveryBars() && N7().catch((e) => console.error("首页横条装载失败", e)), _9(), mPe(), N9.routing = !0, vu({ pageOpens: 1 }), b9(), d7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});}// src/theme-transition.tsvar P9 = !1;-async function YPe(e, t) {+async function XPe(e, t) {if (P9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();@@ -79940,7 +79947,7 @@ async function YPe(e, t) {}}// src/application/chrome.js-function XPe() {+function ZPe() {(() => {let e = J, t = ["#brandHome",@@ -79978,7 +79985,7 @@ function XPe() {e.handler(c, "onclick", (e) => {e.preventDefault();});- let u = Ko(document.querySelector("#drawer"), c, l, { side: !0 });+ let u = qo(document.querySelector("#drawer"), c, l, { side: !0 });e.own(u.dispose);let d = null, f = null;function p(e, t) {@@ -79994,7 +80001,7 @@ function XPe() {w: r.offsetWidth,h: r.offsetHeight}, a = f;- f = i, Sc(d, e ? a : null, i, "y");+ f = i, Cc(d, e ? a : null, i, "y");}e.listen(l, "toggle", (e) => {e.newState === "open" && (l.querySelector("button")?.focus(), p(!1));@@ -80002,7 +80009,7 @@ function XPe() {e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());}), on("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- LW(t.libraries);+ RW(t.libraries);let n = [["","全部媒体库",@@ -80019,7 +80026,7 @@ function XPe() {}let i = sessionStorage.getItem("peach.library") || "", a = n.find((e) => e[0] === i)?.[1] || "全部媒体库";sessionStorage.setItem("peach.library-label", a), c.querySelector("h1").textContent = a;- let o = (e) => Zo[e]?.startsWith("data:") ? `<img src="${Zo[e]}" alt="">` : R(Zo[e] || e), s = document.createElement("span");+ let o = (e) => Qo[e]?.startsWith("data:") ? `<img src="${Qo[e]}" alt="">` : R(Qo[e] || e), s = document.createElement("span");s.className = "mark", s.setAttribute("aria-hidden", "true"), s.innerHTML = o(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(s), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${z(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${z(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {sessionStorage.setItem("peach.library", t.dataset.library), sessionStorage.setItem("peach.library-label", n.find((e) => e[0] === t.dataset.library)?.[1] || "全部媒体库"), location.assign("/");})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {@@ -80040,14 +80047,14 @@ function XPe() {(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" && YPe(t, () => {- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), iA();+ t.getAttribute("aria-pressed") !== "true" && XPe(t, () => {+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), vA();});- })), iA();+ })), vA();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 = Ko(g, v, _);- e.own(y.dispose), e.own(bse(v)), cMe({+ let v = g.querySelector("#boardGlowBtn"), y = qo(g, v, _);+ e.own(y.dispose), e.own(sse(v)), cMe({root: _,store: Z.settingsStore,openDetails: () => {@@ -80190,12 +80197,12 @@ function XPe() {})(), J5(!q5() && sessionStorage.getItem("board.sidebar") !== "closed");}// src/application/initialize.js-function ZPe() {- zPe(), TPe(), TNe(), EPe(), hPe(), uMe(), oPe(), wPe(), y5(), xPe(), fNe(), sPe(), UMe(), nNe(), LPe(), SNe(), XMe(), RPe(), CNe(), ZMe(), HNe(), cPe(), GPe(), SPe(), KPe(), gPe(), JPe(), XPe(), J.own(B7), J.own(v9);+function QPe() {+ BPe(), EPe(), ENe(), DPe(), gPe(), uMe(), sPe(), TPe(), XMe(), SPe(), pNe(), cPe(), UMe(), rNe(), RPe(), CNe(), ZMe(), zPe(), wNe(), QMe(), UNe(), lPe(), KPe(), CPe(), qPe(), _Pe(), YPe(), ZPe(), 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 QPe(e, t) {+function $Pe(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;@@ -80213,7 +80220,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 }), $Pe = (e) => {+}, { canvas: null }), eFe = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -80223,17 +80230,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);-}, eFe = (e) => {+}, tFe = (e) => {let t = L9.get(e);if (!t || !e.isConnected) return;- let n = $Pe(e), r = n > 0 ? QPe(t.full, (t) => U9(e, t) <= n) : t.full;+ let n = eFe(e), r = n > 0 ? $Pe(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, eFe(e);+ t.raf = 0, tFe(e);}));}, G9 = (e) => {e instanceof HTMLElement && (L9.has(e) || L9.set(e, {@@ -80246,7 +80253,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 tFe(e = document) {+function nFe(e = document) {B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();let t = V9, n = !0;z9 = new ResizeObserver((e) => e.forEach((e) => {@@ -80320,7 +80327,7 @@ var q9 = ["jav-detail","wants","index"-], nFe = {+], rFe = {catalog: [...q9,...J9,@@ -80341,10 +80348,10 @@ var q9 = ["avatar-choices"]};-function rFe() {+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 nFe[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of rFe[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);@@ -80357,12 +80364,12 @@ function rFe() {})), t || Promise.resolve();};}-function iFe() {+function aFe() {let e = Pt({- queryKey: RF,- queryFn: ({ signal: e }) => BF(e),- refetchInterval: (e) => zF(e.state.data)- }), t = (0, P.useRef)(void 0), [n] = (0, P.useState)(rFe), r = e.data?.result_versions;+ queryKey: xF,+ queryFn: ({ signal: e }) => CF(e),+ refetchInterval: (e) => SF(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;@@ -80372,52 +80379,52 @@ var X9 = null;function Z9(e) {X9 !== e || e.owners || (X9 = null, e.effects.dispose());}-function aFe() {+function oFe() {if (!X9) {let e = lMe();X9 = {effects: e,owners: 0- }, e.own(tFe(document)), e.own(() => {- Ol(), H.cancelQueries();- }), e.own(nMe), e.own(Qme), e.own(Bo);+ }, e.own(nFe(document)), e.own(() => {+ kl(), H.cancelQueries();+ }), e.own(nMe), e.own($me), e.own(Vo);}return X9.owners += 1, X9.effects.resume(), X9;}-function oFe() {+function sFe() {let [e, t] = (0, P.useState)(null);return (0, P.useLayoutEffect)(() => {- let e = X9 === null, n = aFe(), r = eMe(t);+ let e = X9 === null, n = oFe(), r = eMe(t);if (e) try {- ZPe();+ QPe();} catch (e) {throw r(), n.effects.dispose(), X9 = null, e;}return () => {r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));};- }, []), /* @__PURE__ */ (0, F.jsx)(zge, {+ }, []), /* @__PURE__ */ (0, F.jsx)(Bge, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, F.jsx)(iFe, {}) : null+ background: e ? /* @__PURE__ */ (0, F.jsx)(aFe, {}) : null});}var Q9 = /* @__PURE__ */ new WeakMap();-function sFe(e) {+function cFe(e) {let t = Q9.get(e);if (t) return t;- let n = (0, Rt.createRoot)(e, Bge);+ let n = (0, Rt.createRoot)(e, Vge);Q9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {Q9.get(e) === n && (Q9.delete(e), r(), X9 && Z9(X9));- }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, F.jsx)(oFe, {}))), n;+ }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, F.jsx)(sFe, {}))), n;}// src/react/bootstrap.tsxO();var $9 = document.getElementById("appRoot");if (!$9) throw Error("主界面宿主缺失");-sFe($9);-export { MI as $2ec61d1d4f780267$export$a8a3e93435678ff9, BI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, rR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, lT as $72abaeab4d80592f$export$78efe591171d7d45, YR as $76d00c5a4edb230a$export$76ccd210b9029917, KR as $76d00c5a4edb230a$export$816b5d811295e6bc, QR as $76d00c5a4edb230a$export$b59bdbef9ce70de2, ez as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, GR as $76d00c5a4edb230a$export$f850895b287ef28e, _fe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, gfe as $b4f18e3395fe64d7$export$3e41faf802a29e71, pfe as $b4f18e3395fe64d7$export$b2539bed5023c21c, iz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, bfe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, XC as $ea3928288112382f$export$439d29a4e110a164, gR as $f2ff30fde7b014be$export$3ddf2d174ce01153, CR as $fe21c36db05242bb$export$a98f0dcb43a68a25, wR as $fe21c36db05242bb$export$d7b12c4107be0d61, npe as $l, Hk as ACCENTS, VTe as AMANE_BRIDGE_CHECK_URL, X$ as AMANE_BRIDGE_KEY, HTe as AMANE_BRIDGE_REBUILD_URL, Hn as ApiError, MW as ArtSlot, q as Button, uI as ButtonLink, dpe as Bx, Qt as CLOUD_LOCATIONS, X1 as CLOUD_PROXY_HELP, Dr as COLUMN_SORT, c1 as CONFIGURATION_KEY, qY as CONFIGURATION_URL, UTe as COOKIE_TEXT_LIMIT, Y$ as COVER_JOB_KEY, Ai as CREDENTIAL_STATE, G$ as CUSTOM_SOURCES_KEY, W$ as CUSTOM_SOURCES_URL, iV as Checkbox, rV as CheckboxGlyph, JB as ChevronSortDown, sZ as Chip, q2 as CloudDownloadDialog, qH as CollapseChevron, KH as CollapseRegion, f$ as CollectionSummary, bbe as DEFAULT_CATEGORY, Kn as DEFAULT_SORT, jQ as DIAGNOSTICS_KEY, yxe as DIRECTORY_TEMPLATE_ERROR, j0 as DISCOVERY_SORTS, V2 as DOWNLOADS_KEY, B2 as DOWNLOADS_URL, pY as DUPLICATES_KEY, JJ as DataTableFooter, WJ as DataTableFrame, qJ as DataTableSort, $H as Disclosure, QOe as DownloadsPanel, qfe as E3, xbe as ENTITY_REVIEW_KINDS, J1 as ENTRY_LINKS_HELP, Y1 as ENTRY_LINKS_HINT, ape as Ea, Spe as EmptyFocusButton, Iz as EmptyState, ZH as ErrorText, ige as ExternalLink, Sr as FEEDS_KEY, tX as FEED_SCHEDULE_KEY, D$ as FIELDSET_FOOT, ZAe as FLOW_LABEL_X, R3 as FLOW_VIEWBOX, br as FOLLOW_CHECK_KEY, yr as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, vr as FOLLOW_MANAGE_KEY, FZ as FOLLOW_MANAGE_NAV, xr as FOLLOW_RESOLVE_KEY, eX as FOLLOW_SCHEDULE_KEY, oge as Fact, age as FactList, QH as FieldLabel, L$ as Fieldset, I$ as FieldsetTitle, mue as FilterGlass, rI as FilterGlassRows, nI as FilterIconButton, iI as FilterPill, rge as Footer, bz as Gg, aI as GlassPill, XH as Help, Dz as HintText, UAe as IDLE_POLL_MS, lbe as IDLE_REPAIR, QF as IconButton, Mz as Input, jz as InputBase, oA as JAV_LAYOUTS, N0 as JAV_RECOMMENDATION_GRID, wX as JUNK_KEY, Z3 as JavHeader, rbe as KEEP_LABELS, wr as LAYOUTS, q1 as LIBRARY_FOLDER_HELP, dH as LIBRARY_PROCESSING_KEY, zY as LINKS_KEY, BY as LINK_CHECK_KEY, Gbe as LINK_KINDS, VY as LINK_PRUNE_KEY, Ln as LOC, Ez as Label, B$ as LibraryProcessingCard, $z as LibraryShortcuts, DH as LinkButton, VH as LoadingDots, Yfe as M6, Xbe as MEDIA_PROCESSING_KEY, rX as MEDIA_PROCESSING_URL, vY as MEDIA_REPAIR_KEY, _Y as MEDIA_REPAIR_URL, er as MEDIA_SOURCES_KEY, Zo as MEDIA_SOURCE_ICONS, Xt as MEDIA_SOURCE_OPTIONS, QB as MENU_ITEM, $B as MENU_ITEM_INTERACTIVE, ZB as MENU_POPOVER_SURFACE, jH as MenuDialog, OG as MixCard, Nz as ModalFrame, Qv as MotionConfigContext, Tz as NR, Fz as Note, vpe as OA, oX as ORGANIZE_KEY, lX as ORPHAN_RECORDS_KEY, yz as OV, fz as P7, rTe as PHASES, JY as PICK_FOLDER_URL, H$ as PLAYLISTS_KEY, UEe as POLICY_COLUMNS, GEe as POLICY_COVER_NOTE, WEe as POLICY_MATRIX, K1 as POLICY_SUMMARY, KJ as Pagination, z$ as PathLine, kF as PillTabList, UH as Progress, CY as QUALITY_GOALS_KEY, A$ as REPAIR_CARD_TEXT, yY as REPAIR_LIBRARIES_KEY, mX as RESOURCE_APPLY_KEY, pX as RESOURCE_SCAN_KEY, gTe as RESULT_PANEL, _Te as RESULT_SECTION, ybe as REVIEW_CATEGORIES, CX as REVIEW_COUNTS_KEY, Sbe as REVIEW_DECISION_LABELS, EY as REVIEW_KEY, DY as REVIEW_LABELS, kY as REVIEW_QUEUES, AY as REVIEW_QUEUE_LABELS, jW as RetryNote, _pe as Rf, ege as Rows, zTe as SCRAPING_CHECK_URL, q$ as SCRAPING_COVER_URL, J$ as SCRAPING_KEY, RTe as SCRAPING_SETTINGS_URL, IU as SEGMENT, FU as SEGMENTED_TRACK, $Y as SETTINGS_KEY, YY as SETTINGS_URL, qn as SORT_DEFAULT_DIR, Gn as SORT_OPTIONS, $t as SOURCE_LABELS, l3 as STATS_KEY, $he as Section, nge as SectionSkeleton, PU as SegmentedRadioGroup, Xge as SegmentedTabList, lW as Segments, GJ as Select, DU as Select$1, f1 as SelectField, OU as SelectItem, tY as SelectionActions, bk as SelectionDock, nY as SelectionPopover, JH as SettingsCard, Qhe as SettingsRow, YH as SettingsSectionLabel, uge as SiteLabel, VU as SortDirectionIcon, fW as SortKeys, mQ as SourceAvatar, rU as SourceLabel, eU as SourceMark, tge as Stack, R$ as StatusLabel, P2 as Switch, RF as TASKS_KEY, MAe as TASTE_REFRESH_KEY, NAe as TASTE_WINDOWS, nX as THUMBNAIL_JOBS_KEY, EX as TRASH_KEY, Jle as TRIGGER_LABELS, FJ as Table, rY as TableColumnControls, iY as TableColumnResizer, oY as TableSelectionHeader, t$ as TagManager, WH as TaskProgress, kz as TextField, Oz as TextFieldContext, vz as Un, g$ as WANTS_KEY, r4 as WantMagnets, hp as WithPromise, pz as Wt, _z as Xc, wz as Xf, Zfe as Xt, Jfe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, gpe as aB, si as addAlias, oi as addSource, v$ as addWant, B as apiGet, V as apiSend, eA as appSettingsStore, Rxe as applyConfirmText, SX as applyLeftovers, Lxe as applyPlanText, Bxe as applyText, iA as applyTheme, Xg as asNumber, Exe as attachOrphan, Ur as authorAvatar, Gr as authorGroups, Hr as authorInitial, Vr as authorName, Cq as autoResetPageIndex, Za as avatarInner, h3 as bandRows, bxe as baseName, cbe as batchOperate, Tk as boundedPreference, abe as bulkCloudPreferences, Bz as busyProps, hpe as cB, cke as cachedMagnetStates, ap as calcGeneratorVelocity, kbe as canApprove, kf as cancelFrame, jxe as candidateText, BH as cardClass, yA as cardRatio, gz as cc, Ei as checkEvidenceGap, Ti as checkFailures, gi as checkFeeds, Ybe as checkLine, Ci as checkReceipt, wi as checkSummary, GTe as checkText, Di as checkedText, eG as clickedBlank, Zye as cloudLocations, D0 as cloudProxySkeleton, vx as clsx, cpe as cn, ph as collectMotionValues, Uq as columnVisibilityFeature, AJ as column_getCanSort, EJ as column_getSortFn, Dbe as commonReviewSources, cV as configurationSection, LAe as configureTasteBrowser, Vc as confirmModal, aq as copyInstancePropertiesWithoutMemos, Wa as coverUrl, Pq as createColumnHelper, MTe as createPlaylist, ji as credentialDone, C0 as credentialsSkeleton, Rbe as currentReviewRow, EF as cx, Sz as dZ, Fbe as decisionPayload, Ibe as decisionReceipt, Pbe as defaultChoice, PTe as deletePlaylist, x as diagnosticHeaders, G1 as diagnosticsSkeleton, dTe as discoveryArtwork, C$ as discoveryKey, hDe as discoveryScore, tbe as distinctName, xi as dropSources, mpe as du, obe as duplicateVictims, GF as elapsedText, Xa as entityFaceImg, hn as entityPath, Ir as errorHeadline, Wn as errorMessage, z as esc, Sq as expandRowModel, lz 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, hY as fetchDuplicates, Ule as fetchEarlier, $be as fetchFeedSchedule, pi as fetchFeeds, Zr as fetchFollow, Qbe as fetchFollowSchedule, OX as fetchJunkSummary, WY as fetchLinkCheck, GY as fetchLinkPrune, UY as fetchLinkStats, Zbe as fetchMediaProcessing, bY as fetchMediaRepair, tr as fetchMediaSources, sX as fetchOrganize, fxe as fetchOrganizeExample, uX as fetchOrphanRecords, fi as fetchPending, U$ as fetchPlaylists, wY as fetchQualityGoals, xY as fetchRepairLibraries, ei as fetchResolveJob, gX as fetchResourceApply, hX as fetchResourceScan, IY as fetchReview, DX as fetchReviewCounts, iX as fetchSettings, Z$ as fetchSources, u3 as fetchStats, ti as fetchSuggestions, BF as fetchTasks, F3 as fetchTaste, RAe as fetchTasteJob, exe as fetchThumbnailJobs, kX as fetchTrashSummary, _$ as fetchWants, Tbe as filterReviewRows, Fn as firstGrapheme, IK as flexRender, $Ae as flowGraph, eje as flowLabel, Qke as fmtCount, kn as fmtDur, jn as fmtSize, rue as foldRoutine, vi as followFeedByName, Cr as followSuggestKey, aue as followupDetail, Of as frame, Rfe as g4, Kq as getDefaultPaginationState, vA as gridLayout, Wr as groupByAuthor, nue as groupFollowups, NY as groupReviewRows, Fxe as hasChanges, _X as hasResourceRoots, HF as hasResultProblems, WAe as historySpan, uz as i2, HAe as importTasteExport, w0 as indexersSkeleton, Zf as interpolate, b$ as invalidateWants, WF as isActive, Pr as isBroken, Or as isLayout, Rh as isMotionValue, OY as isReviewCategory, iue as isRoutine, T0 as javBrowserSkeleton, F0 as javContentSkeleton, dA as javLayout, P0 as javTagSkeleton, Gxe as junkBreakdown, FTe as keepPlaylist, ke as keepPreviousData, Jr as keepSelected, d3 as known, Hfe as l7, tue as latestOfKind, uAe as lengthRows, ir as localTime, _i as lookupFeedActor, Gfe as m7, xz as mM, cn as mapLimit, di as markItem, g3 as max, cAe as mediumRows, Wle as mergeFinished, _3 as min, Ube as mirrorText, fbe as missingToolText, gY as mixedCloudPreferences, YF as momentText, By as motion, hh as motionValue, Sxe as organizeOutcome, X0 as overlayHost, kr as pageSizeOf, qr as pageWindow, Xn as paginationRange, bi as patchSource, XV as peachHistory, XV as peachHistory$1, Nbe as pendingGenres, eAe as percentText, hxe as pickOrganizeFolder, xxe as planSummary, f3 as playedFor, nAe as playedItemUrl, zF as pollInterval, ks as popCount, jTe as posterUrl, XW as previewLibraryColor, mxe as previewOrganize, hbe as previewUrl, eue as problemDestination, KF as progressText, nU as providerIcon, Jbe as pruneText, yX as purgeCount, Dxe as purgeOrphan, Cz as pv, ppe as qE, H as queryClient, dz as r2, XAe as radarRows, aAe as radialArc, oAe as radialBarSize, iAe as radialCeiling, rAe as radialSlices, Pj as randomId, JAe as rankDetail, YAe as rankShares, m3 as reachedShare, qF as readableErrorHeadline, gDe as recommendationScore, zbe as recordGenre, kxe as recordsText, ITe as recreatePlaylist, kTe as refreshPlaylists, xl as relayoutCovers, Si as reloadFollowManage, Hbe as reloadReview, JEe as rememberShape, _xe as rememberTemplates, ci as removeAlias, hi as removeFeed, ai as removeSource, VAe as removeTasteSource, y$ as removeWants, li as renameAliasGroup, NTe as renamePlaylist, fAe as replayRows, ie as require_jsx_runtime, A as require_react, te as require_react_dom, tq as require_with_selector, oTe as resetWants, Yn as resolveFollowSort, dp as resolveStartTime, ATe as resumeAssetId, wbe as reviewGroupingOptions, MY as reviewQueueData, jY as reviewQueueOf, Wxe as reviewSummary, Ebe as reviewWindow, jbe as rowEvidence, FY as rowFieldName, $q as rowPaginationFeature, bJ as rowSelectionFeature, NJ as rowSortingFeature, PY as rowSubject, Mbe as rowTags, Abe as rowTitle, zfe as s5, ui as saveCredential, Ixe as scanLine, axe as schedulePollInterval, cTe as searchNote, Obe as selectReviewRange, Yr as selectionState, mi as setFeedEnabled, ii as setSourceEnabled, fV as settingsPath, Vbe as settleReviewRows, ebe as sharedNamePrefix, ZV as shellNavigate, b8 as showToast, xn as siteMarkUrl, pq as skipFirstRun, DF as sortCx, jr as sortLabel, en as sourceDefaultCost, ki as sourceIconUrl, zxe as sourceMeta, bs as spinnerHtml, Jf as spring, Rz as spriteGlyph, ni as startCheck, Kbe as startLinkCheck, qbe as startLinkPrune, gxe as startOrganize, ri as startResolve, Nxe as startResourceApply, Mxe as startResourceScan, BAe as startTasteRefresh, Xle as statusLabel, dbe as statusLine, Nr as statusText, bA as storeJavLayout, Lbe as submitDecision, XF as summaryItems, Fq as tableFeatures, mq as tableMemo, Kr as tableRows, $le as taskIssues, I3 as tasteDate, KAe as tasteDimensions, GAe as tasteHours, P3 as tasteKey, FAe as tasteRefetchInterval, IAe as tasteTime, NF as textLang, ld as time, tpe as tl, Xr as toggleGroup, L3 as topScores, ipe as uo, OH as useAction, AZ as useBackgroundJob, bU as useClientUpdates, xu as useConstant, tI as useHorizontalScroller, Su as useIsomorphicLayoutEffect, QW as useLibraryTints, Ft as useMutation, aV as useOverlayScrollbar, Pt as useQuery, oe as useQueryClient, My as useReducedMotion, ixe as useRunSchedule, nxe as useSaveFollowSchedule, aX as useSaveSettings, oxe as useSaveThumbnailMode, PJ as useTable, ZJ as useTablePreferences, cI as useViewGlide, sbe as victimBytes, sTe as wantName, tAe as watchNote, p3 as watchedShare, cc as wireHorizontalScroller, vxe as withOrganizeJob };+cFe($9);+export { jI as $2ec61d1d4f780267$export$a8a3e93435678ff9, BI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, rR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, PT as $72abaeab4d80592f$export$78efe591171d7d45, YR as $76d00c5a4edb230a$export$76ccd210b9029917, KR as $76d00c5a4edb230a$export$816b5d811295e6bc, QR as $76d00c5a4edb230a$export$b59bdbef9ce70de2, ez as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, GR as $76d00c5a4edb230a$export$f850895b287ef28e, vfe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, _fe as $b4f18e3395fe64d7$export$3e41faf802a29e71, mfe as $b4f18e3395fe64d7$export$b2539bed5023c21c, iz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, xfe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, xw as $ea3928288112382f$export$439d29a4e110a164, gR as $f2ff30fde7b014be$export$3ddf2d174ce01153, CR as $fe21c36db05242bb$export$a98f0dcb43a68a25, wR as $fe21c36db05242bb$export$d7b12c4107be0d61, rpe as $l, nA as ACCENTS, VTe as AMANE_BRIDGE_CHECK_URL, Z$ as AMANE_BRIDGE_KEY, HTe as AMANE_BRIDGE_REBUILD_URL, Hn as ApiError, NW as ArtSlot, q as Button, iI as ButtonLink, fpe as Bx, Qt as CLOUD_LOCATIONS, Z1 as CLOUD_PROXY_HELP, Dr as COLUMN_SORT, l1 as CONFIGURATION_KEY, JY as CONFIGURATION_URL, UTe as COOKIE_TEXT_LIMIT, X$ as COVER_JOB_KEY, Ai as CREDENTIAL_STATE, K$ as CUSTOM_SOURCES_KEY, G$ as CUSTOM_SOURCES_URL, iV as Checkbox, rV as CheckboxGlyph, JB as ChevronSortDown, cZ as Chip, J2 as CloudDownloadDialog, qH as CollapseChevron, KH as CollapseRegion, p$ as CollectionSummary, bbe as DEFAULT_CATEGORY, Kn as DEFAULT_SORT, MQ as DIAGNOSTICS_KEY, yxe as DIRECTORY_TEMPLATE_ERROR, M0 as DISCOVERY_SORTS, H2 as DOWNLOADS_KEY, V2 as DOWNLOADS_URL, mY as DUPLICATES_KEY, YJ as DataTableFooter, GJ as DataTableFrame, JJ as DataTableSort, $H as Disclosure, QOe as DownloadsPanel, Jfe as E3, xbe as ENTITY_REVIEW_KINDS, Y1 as ENTRY_LINKS_HELP, X1 as ENTRY_LINKS_HINT, ope as Ea, Cpe as EmptyFocusButton, Iz as EmptyState, ZH as ErrorText, age as ExternalLink, Sr as FEEDS_KEY, nX as FEED_SCHEDULE_KEY, O$ as FIELDSET_FOOT, ZAe 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, IZ as FOLLOW_MANAGE_NAV, xr as FOLLOW_RESOLVE_KEY, tX as FOLLOW_SCHEDULE_KEY, sge as Fact, oge as FactList, QH as FieldLabel, R$ as Fieldset, L$ as FieldsetTitle, JF as FilterGlass, YF as FilterGlassRows, qF as FilterIconButton, ZF as FilterPill, ige as Footer, bz as Gg, $F as GlassPill, XH as Help, Dz as HintText, UAe as IDLE_POLL_MS, lbe as IDLE_REPAIR, HF as IconButton, Mz as Input, jz as InputBase, bA as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, TX as JUNK_KEY, Q3 as JavHeader, rbe as KEEP_LABELS, wr as LAYOUTS, J1 as LIBRARY_FOLDER_HELP, dH as LIBRARY_PROCESSING_KEY, BY as LINKS_KEY, VY as LINK_CHECK_KEY, Gbe as LINK_KINDS, HY as LINK_PRUNE_KEY, Ln as LOC, Ez as Label, V$ as LibraryProcessingCard, $z as LibraryShortcuts, DH as LinkButton, VH as LoadingDots, Xfe as M6, Xbe as MEDIA_PROCESSING_KEY, iX as MEDIA_PROCESSING_URL, yY as MEDIA_REPAIR_KEY, vY as MEDIA_REPAIR_URL, er as MEDIA_SOURCES_KEY, Qo as MEDIA_SOURCE_ICONS, Xt as MEDIA_SOURCE_OPTIONS, QB as MENU_ITEM, $B as MENU_ITEM_INTERACTIVE, ZB as MENU_POPOVER_SURFACE, jH as MenuDialog, kG as MixCard, Nz as ModalFrame, cy as MotionConfigContext, Tz as NR, Fz as Note, ype as OA, sX as ORGANIZE_KEY, uX as ORPHAN_RECORDS_KEY, yz as OV, fz as P7, rTe as PHASES, YY as PICK_FOLDER_URL, U$ as PLAYLISTS_KEY, UEe as POLICY_COLUMNS, GEe as POLICY_COVER_NOTE, WEe as POLICY_MATRIX, q1 as POLICY_SUMMARY, qJ as Pagination, B$ as PathLine, fF as PillTabList, UH as Progress, wY as QUALITY_GOALS_KEY, j$ as REPAIR_CARD_TEXT, bY as REPAIR_LIBRARIES_KEY, hX as RESOURCE_APPLY_KEY, mX as RESOURCE_SCAN_KEY, gTe as RESULT_PANEL, _Te as RESULT_SECTION, ybe as REVIEW_CATEGORIES, wX as REVIEW_COUNTS_KEY, Sbe as REVIEW_DECISION_LABELS, DY as REVIEW_KEY, OY as REVIEW_LABELS, AY as REVIEW_QUEUES, jY as REVIEW_QUEUE_LABELS, MW as RetryNote, vpe as Rf, tge as Rows, zTe as SCRAPING_CHECK_URL, J$ as SCRAPING_COVER_URL, Y$ as SCRAPING_KEY, RTe as SCRAPING_SETTINGS_URL, IU as SEGMENT, FU as SEGMENTED_TRACK, eX as SETTINGS_KEY, XY as SETTINGS_URL, qn as SORT_DEFAULT_DIR, Gn as SORT_OPTIONS, $t as SOURCE_LABELS, u3 as STATS_KEY, ege as Section, rge as SectionSkeleton, PU as SegmentedRadioGroup, Zge as SegmentedTabList, uW as Segments, KJ as Select, DU as Select$1, p1 as SelectField, OU as SelectItem, nY as SelectionActions, Pk as SelectionDock, rY as SelectionPopover, JH as SettingsCard, $he as SettingsRow, YH as SettingsSectionLabel, dge as SiteLabel, VU as SortDirectionIcon, pW as SortKeys, hQ as SourceAvatar, rU as SourceLabel, eU as SourceMark, nge as Stack, z$ as StatusLabel, F2 as Switch, xF as TASKS_KEY, MAe as TASTE_REFRESH_KEY, NAe as TASTE_WINDOWS, rX as THUMBNAIL_JOBS_KEY, DX as TRASH_KEY, fue as TRIGGER_LABELS, IJ as Table, iY as TableColumnControls, aY as TableColumnResizer, sY as TableSelectionHeader, n$ as TagManager, WH as TaskProgress, kz as TextField, Oz as TextFieldContext, vz as Un, _$ as WANTS_KEY, i4 as WantMagnets, gp as WithPromise, pz as Wt, _z as Xc, wz as Xf, Qfe as Xt, Yfe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, _pe as aB, si as addAlias, oi as addSource, y$ as addWant, B as apiGet, V as apiSend, mA as appSettingsStore, Rxe as applyConfirmText, CX as applyLeftovers, Lxe as applyPlanText, Bxe as applyText, vA as applyTheme, n_ as asNumber, Exe as attachOrphan, Ur as authorAvatar, Gr as authorGroups, Hr as authorInitial, Vr as authorName, wq as autoResetPageIndex, Za as avatarInner, g3 as bandRows, bxe as baseName, cbe as batchOperate, zk as boundedPreference, abe as bulkCloudPreferences, Bz as busyProps, gpe as cB, cke as cachedMagnetStates, op as calcGeneratorVelocity, kbe as canApprove, Af as cancelFrame, jxe as candidateText, BH as cardClass, NA as cardRatio, gz as cc, Ei as checkEvidenceGap, Ti as checkFailures, gi as checkFeeds, Ybe as checkLine, Ci as checkReceipt, wi as checkSummary, GTe as checkText, Di as checkedText, tG as clickedBlank, Zye as cloudLocations, O0 as cloudProxySkeleton, Hx as clsx, lpe as cn, mh as collectMotionValues, Wq as columnVisibilityFeature, jJ as column_getCanSort, DJ as column_getSortFn, Dbe as commonReviewSources, cV as configurationSection, LAe as configureTasteBrowser, Hc as confirmModal, oq as copyInstancePropertiesWithoutMemos, Wa as coverUrl, Fq as createColumnHelper, MTe as createPlaylist, ji as credentialDone, w0 as credentialsSkeleton, Rbe as currentReviewRow, lF as cx, Sz as dZ, Fbe as decisionPayload, Ibe as decisionReceipt, Pbe as defaultChoice, PTe as deletePlaylist, x as diagnosticHeaders, K1 as diagnosticsSkeleton, dTe as discoveryArtwork, w$ as discoveryKey, hDe as discoveryScore, tbe as distinctName, xi as dropSources, hpe as du, obe as duplicateVictims, OF as elapsedText, Xa as entityFaceImg, hn as entityPath, Ir as errorHeadline, Wn as errorMessage, z as esc, Cq as expandRowModel, lz as f1, Fr as feedIntervalText, e1 as fetchAmaneBridge, $r as fetchCheckJob, u1 as fetchConfiguration, $$ as fetchCoverJob, Qr as fetchCredentials, q$ as fetchCustomSources, NQ as fetchDiagnostics, T$ as fetchDiscoveries, gY as fetchDuplicates, sue as fetchEarlier, $be as fetchFeedSchedule, pi as fetchFeeds, Zr as fetchFollow, Qbe as fetchFollowSchedule, kX as fetchJunkSummary, GY as fetchLinkCheck, KY as fetchLinkPrune, WY as fetchLinkStats, Zbe as fetchMediaProcessing, xY as fetchMediaRepair, tr as fetchMediaSources, cX as fetchOrganize, fxe as fetchOrganizeExample, dX as fetchOrphanRecords, fi as fetchPending, W$ as fetchPlaylists, TY as fetchQualityGoals, SY as fetchRepairLibraries, ei as fetchResolveJob, _X as fetchResourceApply, gX as fetchResourceScan, LY as fetchReview, OX as fetchReviewCounts, aX as fetchSettings, Q$ as fetchSources, d3 as fetchStats, ti as fetchSuggestions, CF as fetchTasks, I3 as fetchTaste, RAe as fetchTasteJob, exe as fetchThumbnailJobs, AX as fetchTrashSummary, v$ as fetchWants, Tbe as filterReviewRows, Fn as firstGrapheme, LK as flexRender, $Ae as flowGraph, eje as flowLabel, Qke as fmtCount, kn as fmtDur, jn as fmtSize, xue as foldRoutine, vi as followFeedByName, Cr as followSuggestKey, Cue as followupDetail, kf as frame, zfe as g4, qq as getDefaultPaginationState, MA as gridLayout, Wr as groupByAuthor, bue as groupFollowups, PY as groupReviewRows, Fxe as hasChanges, vX as hasResourceRoots, TF as hasResultProblems, WAe as historySpan, uz as i2, HAe as importTasteExport, T0 as indexersSkeleton, Qf as interpolate, x$ as invalidateWants, DF as isActive, Pr as isBroken, Or as isLayout, zh as isMotionValue, kY as isReviewCategory, Sue as isRoutine, E0 as javBrowserSkeleton, I0 as javContentSkeleton, TA as javLayout, F0 as javTagSkeleton, Gxe as junkBreakdown, FTe as keepPlaylist, ke as keepPreviousData, Jr as keepSelected, f3 as known, Ufe as l7, yue as latestOfKind, uAe as lengthRows, ir as localTime, _i as lookupFeedActor, Kfe as m7, xz as mM, cn as mapLimit, di as markItem, _3 as max, cAe as mediumRows, cue as mergeFinished, v3 as min, Ube as mirrorText, fbe as missingToolText, _Y as mixedCloudPreferences, IF as momentText, tb as motion, gh as motionValue, Sxe as organizeOutcome, Z0 as overlayHost, kr as pageSizeOf, qr as pageWindow, Xn as paginationRange, bi as patchSource, XV as peachHistory, XV as peachHistory$1, Nbe as pendingGenres, eAe as percentText, hxe as pickOrganizeFolder, xxe as planSummary, p3 as playedFor, nAe as playedItemUrl, SF as pollInterval, As as popCount, jTe as posterUrl, ZW as previewLibraryColor, mxe as previewOrganize, hbe as previewUrl, vue as problemDestination, kF as progressText, nU as providerIcon, Jbe as pruneText, bX as purgeCount, Dxe as purgeOrphan, Cz as pv, mpe as qE, H as queryClient, dz as r2, XAe as radarRows, aAe as radialArc, oAe as radialBarSize, iAe as radialCeiling, rAe as radialSlices, Yj as randomId, JAe as rankDetail, YAe as rankShares, h3 as reachedShare, jF as readableErrorHeadline, gDe as recommendationScore, zbe as recordGenre, kxe as recordsText, ITe as recreatePlaylist, kTe as refreshPlaylists, Sl as relayoutCovers, Si as reloadFollowManage, Hbe as reloadReview, JEe as rememberShape, _xe as rememberTemplates, ci as removeAlias, hi as removeFeed, ai as removeSource, VAe as removeTasteSource, b$ as removeWants, li as renameAliasGroup, NTe as renamePlaylist, fAe as replayRows, ie as require_jsx_runtime, A as require_react, te as require_react_dom, nq as require_with_selector, oTe as resetWants, Yn as resolveFollowSort, fp as resolveStartTime, ATe as resumeAssetId, wbe as reviewGroupingOptions, NY as reviewQueueData, MY as reviewQueueOf, Wxe as reviewSummary, Ebe as reviewWindow, jbe as rowEvidence, IY as rowFieldName, eJ as rowPaginationFeature, xJ as rowSelectionFeature, PJ as rowSortingFeature, FY as rowSubject, Mbe as rowTags, Abe as rowTitle, Bfe as s5, ui as saveCredential, Ixe as scanLine, axe as schedulePollInterval, cTe as searchNote, Obe as selectReviewRange, Yr as selectionState, mi as setFeedEnabled, ii as setSourceEnabled, fV as settingsPath, Vbe as settleReviewRows, ebe as sharedNamePrefix, ZV as shellNavigate, x8 as showToast, xn as siteMarkUrl, mq as skipFirstRun, uF as sortCx, jr as sortLabel, en as sourceDefaultCost, ki as sourceIconUrl, zxe as sourceMeta, xs as spinnerHtml, Yf as spring, Rz as spriteGlyph, ni as startCheck, Kbe as startLinkCheck, qbe as startLinkPrune, gxe as startOrganize, ri as startResolve, Nxe as startResourceApply, Mxe as startResourceScan, BAe as startTasteRefresh, mue as statusLabel, dbe as statusLine, Nr as statusText, PA as storeJavLayout, Lbe as submitDecision, RF as summaryItems, Iq as tableFeatures, hq as tableMemo, Kr as tableRows, _ue as taskIssues, L3 as tasteDate, KAe as tasteDimensions, GAe as tasteHours, F3 as tasteKey, FAe as tasteRefetchInterval, IAe as tasteTime, gF as textLang, ud as time, npe as tl, Xr as toggleGroup, R3 as topScores, ape as uo, OH as useAction, jZ as useBackgroundJob, bU as useClientUpdates, Su as useConstant, GF as useHorizontalScroller, Cu as useIsomorphicLayoutEffect, $W as useLibraryTints, Ft as useMutation, aV as useOverlayScrollbar, Pt as useQuery, oe as useQueryClient, qy as useReducedMotion, ixe as useRunSchedule, nxe as useSaveFollowSchedule, oX as useSaveSettings, oxe as useSaveThumbnailMode, FJ as useTable, QJ as useTablePreferences, nI as useViewGlide, sbe as victimBytes, sTe as wantName, tAe as watchNote, m3 as watchedShare, lc as wireHorizontalScroller, vxe as withOrganizeJob };-//# debugId=0f540de9-3b08-4674-98d8-a59593301bd0\ No newline at end of file+//# debugId=747fa6a4-8467-4fb1-aef0-baa4eb332f42\ No newline at end of file