Peach: Local-first video metadata scraper and media manager.
fix(web): 竖屏格的番号作品只用视频帧图,不借番号封面
longmeidao2a2114c23e70
diff --git a/frontend/src/card-art/index.ts b/frontend/src/card-art/index.tsindex 8aec9bcae..04aa909e6 100644--- a/frontend/src/card-art/index.ts+++ b/frontend/src/card-art/index.ts@@ -9,8 +9,8 @@ export { rememberRepresentatives, representativeOf } from './representatives';export type { RepresentativeRow } from './representatives';export {avatarInner, cardArtwork, cardIdentity, coverImage, coverUrl, detailPosterUrl, entityAvatar, entityFaceImg,- faceBoxAttrs, faceOrigin, facePos, javArtwork, logoUrl, mixFace, mixLabel, performerLabel, queueAvatarHtml,- queueThumbHtml, remoteCoverUrl, withVersion,+ faceBoxAttrs, faceOrigin, facePos, frameArtwork, javArtwork, logoUrl, mixFace, mixLabel, performerLabel,+ queueAvatarHtml, queueThumbHtml, remoteCoverUrl, withVersion,} from './markup';export type { Artwork, ArtworkKind, CoverItem, FaceFocus, FaceRef, IdentityItem } from './markup';export {diff --git a/frontend/src/card-art/markup.ts b/frontend/src/card-art/markup.tsindex ce00cbf6d..09838fceb 100644--- a/frontend/src/card-art/markup.ts+++ b/frontend/src/card-art/markup.ts@@ -298,6 +298,13 @@ export function cardArtwork(item: CoverItem & { follow_thumb_url?: string | nullexport function mixFace(item: CoverItem, size: 'big' | 'small', eager: boolean, javImage: unknown): Artwork {if (item.is_jav) return javArtwork(item, size, eager, javImage);if (item.has_cover && item.cover_key) return { kind: 'cover', html: coverImage(item, size, eager) };+ return frameArtwork(item, eager);+}++/** 视频自己的画面:本地预览格切出的帧图。没有帧图就是空,卡片写「无预览」。+ * 竖屏格(竖屏带与筛竖屏的网格)只展示竖屏比例的视频,番号作品在那里也只用它,不借番号官方+ * 封面:封面是整部作品的宣传图,多是横图,和这一卷竖屏视频不是同一个画面。 */+export function frameArtwork(item: CoverItem, eager: boolean): Artwork {if (!item.has_thumb && !item.has_local_poster) return NO_ARTWORK;return { kind: 'thumb', html: `<img class="poster" src="/poster?id=${item.id}&c=4" width="640" height="360" alt="" loading="${eager ? 'eager' : 'lazy'}" decoding="async">` };}diff --git a/frontend/src/react/components/media-card.tsx b/frontend/src/react/components/media-card.tsxindex a2cc4bb16..e2d1e0af3 100644--- a/frontend/src/react/components/media-card.tsx+++ b/frontend/src/react/components/media-card.tsx@@ -23,7 +23,7 @@ import { Dialog, Popover } from 'react-aria-components';import { MENU_POPOVER_SURFACE } from '@/components/base/dropdown/menu-styles';import { cardRatio as layoutRatio } from '@peach/appearance';import {- cardArtwork, cardIdentity, entityAvatar, performerLabel, relayoutCovers, releaseHover, wireHover,+ cardArtwork, cardIdentity, entityAvatar, frameArtwork, performerLabel, relayoutCovers, releaseHover, wireHover,} from '@peach/card-art';import { esc, fmtDur, fmtSize } from '@peach/legacy/core';import { spinnerHtml } from '@peach/legacy/ui';@@ -225,12 +225,13 @@ function VideoCard({ item, variant, layout, selected, selectMode, seekSeconds, hconst stacked = !!(parts || editions);const jav = layout.active && !!item.is_jav;const ratio = cardRatio(item, variant, layout);- /* 竖屏格(竖屏带与筛竖屏的网格)没有竖屏海报时只剩番号官方封面,多是横图。按小图整张放进- 9:16 会上下各空出一大块底,所以这里一律按大图取景(`front`):剧照与 FC2 整幅封面按人脸- 铺满、没检出人脸就居中裁,双页封套只取右侧正封(`coverAnchor`、`posterPanel`)。 */- const size = item.is_jav && ratio === PORTRAIT_RATIO ? 'big' : jav ? layout.size : 'small';- const artwork = cardArtwork(item, size, false, layout.javImage);- const identity = size === 'small' ? artwork.html : cardArtwork(item, 'small', false, layout.javImage).html;+ const size = jav ? layout.size : 'small';+ /* 竖屏格(竖屏带与筛竖屏的网格)只展示竖屏比例的视频,卡面只用视频自己的帧图;番号作品也+ 不走官方封面,「JAV 默认封面」设置在这里不起作用:那张封面是整部作品的宣传图,多是横图,+ 和这一卷竖屏视频不是同一个画面。没有帧图就是「无预览」。 */+ const frameOnly = ratio === PORTRAIT_RATIO && !!item.is_jav;+ const artwork = frameOnly ? frameArtwork(item, false) : cardArtwork(item, size, false, layout.javImage);+ const identity = frameOnly || size === 'small' ? artwork.html : cardArtwork(item, 'small', false, layout.javImage).html;const rawName = parts?.title || item.name || '';const shownName = helpers.displayName(item, rawName).trim() || UNNAMED;const titleHtml = helpers.titleHtml(item, rawName).trim() || esc(UNNAMED);diff --git a/frontend/test/react/catalog-grid.test.tsx b/frontend/test/react/catalog-grid.test.tsxindex 6a89b1799..f3c3ea1b9 100644--- a/frontend/test/react/catalog-grid.test.tsx+++ b/frontend/test/react/catalog-grid.test.tsx@@ -432,13 +432,18 @@ describe('作品卡', () => {expect([...oneVersion.host.querySelectorAll('[data-media-group]')].map((node) => node.textContent)).toEqual(['2 卷']);});- it('竖屏格里的番号封面按大图取景铺满,横格小图版式照旧整张放进去', async () => {+ it('竖屏格的番号作品只用视频帧图,不用番号封面:没有帧图就是「无预览」;横格照旧按封面设置出图', async () => {const cover = { is_jav: true, code: 'FC2-PPV-3189161', has_cover: true, has_thumb: false };- const classes = (host: ParentNode) => host.querySelector('[data-media-art] img')?.className.split(/\s+/).sort();- expect(classes((await render(item(20, cover), { variant: 'short' })).host)).toEqual(['cover', 'front', 'poster']);- expect(classes((await render(item(21, cover), { layout: { ...SMALL, portrait: true } })).host),- '显式筛竖屏的网格也是竖屏格').toEqual(['cover', 'front', 'poster']);- expect(classes((await render(item(22, cover))).host)).toEqual(['cover', 'poster', 'whole']);+ const pictureOf = (host: ParentNode) => {+ const img = host.querySelector('[data-media-art] img');+ return img ? img.getAttribute('src') : host.querySelector('[data-media-nopic]')?.textContent;+ };+ const portraitGrid = { ...SMALL, portrait: true };+ expect(pictureOf((await render(item(20, cover), { variant: 'short' })).host)).toBe('无预览');+ expect(pictureOf((await render(item(21, cover), { layout: portraitGrid })).host), '显式筛竖屏的网格也是竖屏格').toBe('无预览');+ expect(pictureOf((await render(item(23, { ...cover, has_thumb: true }), { variant: 'short' })).host),+ '封面设置为官方封面时竖屏格照样用帧图').toBe('/poster?id=23&c=4');+ expect(pictureOf((await render(item(22, cover))).host)).toMatch(/^\/cover\?code=FC2-PPV-3189161/);});it('不合并分卷时一卷一张卡:名字、时长写这一卷自己的,不叠纸边、不标卷数,打开时条目原样交出', async () => {diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex eeee6b8b9..62b26aa44 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -2,7 +2,7 @@(function() {try {var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "614b4f36-07a6-47b7-a583-1bdef6a1aa1a", e._sentryDebugIdIdentifier = "sentry-dbid-614b4f36-07a6-47b7-a583-1bdef6a1aa1a");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8ab42d12-2a1c-4a62-816c-896b583719ac", e._sentryDebugIdIdentifier = "sentry-dbid-8ab42d12-2a1c-4a62-816c-896b583719ac");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {@@ -140,7 +140,7 @@ var _ = /* @__PURE__ */ o(((e) => {function M(e, t) {return typeof e == "object" && e && e.key != null ? A("" + e.key) : t.toString(36);}- function ee(e) {+ function N(e) {switch (e.status) {case "fulfilled": return e.value;case "rejected": throw e.reason;@@ -155,7 +155,7 @@ var _ = /* @__PURE__ */ o(((e) => {}throw e;}- function N(e, r, i, a, o) {+ function P(e, r, i, a, o) {var s = typeof e;(s === "undefined" || s === "boolean") && (e = null);var c = !1;@@ -171,30 +171,30 @@ var _ = /* @__PURE__ */ o(((e) => {case n:c = !0;break;- case d: return c = e._init, N(c(e._payload), r, i, a, o);+ case d: return c = e._init, P(c(e._payload), r, i, a, o);}}- if (c) return o = o(e), c = a === "" ? "." + M(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(j, "$&/") + "/"), N(o, r, i, "", function(e) {+ if (c) return o = o(e), c = a === "" ? "." + M(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(j, "$&/") + "/"), P(o, r, i, "", function(e) {return e;})) : o != null && (k(o) && (o = O(o, i + (o.key == null || e && e.key === o.key ? "" : ("" + o.key).replace(j, "$&/") + "/") + c)), r.push(o)), 1;c = 0;var l = a === "" ? "." : a + ":";- if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + M(a, u), c += N(a, r, i, s, o);- else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + M(a, u++), c += N(a, r, i, s, o);+ if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + M(a, u), c += P(a, r, i, s, o);+ else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + M(a, u++), c += P(a, r, i, s, o);else if (s === "object") {- if (typeof e.then == "function") return N(ee(e), r, i, a, o);+ if (typeof e.then == "function") return P(N(e), r, i, a, o);throw r = String(e), Error("Objects are not valid as a React child (found: " + (r === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : r) + "). If you meant to render a collection of children, use an array instead.");}return c;}- function te(e, t, n) {+ function ee(e, t, n) {if (e == null) return e;var r = [], i = 0;- return N(e, r, "", "", function(e) {+ return P(e, r, "", "", function(e) {return t.call(n, e, i++);}), r;}- function P(e) {+ function F(e) {if (e._status === -1) {var t = e._result, n = t();n.then(function(t) {@@ -206,7 +206,7 @@ var _ = /* @__PURE__ */ o(((e) => {if (e._status === 1) return e._result.default;throw e._result;}- var ne = typeof reportError == "function" ? reportError : function(e) {+ var te = typeof reportError == "function" ? reportError : function(e) {if (typeof window == "object" && typeof window.ErrorEvent == "function") {var t = new window.ErrorEvent("error", {bubbles: !0,@@ -221,40 +221,40 @@ var _ = /* @__PURE__ */ o(((e) => {}console.error(e);};- function F(e) {+ function I(e) {var t = T.T, n = {};n.types = t === null ? null : t.types, T.T = n;try {var r = e(), i = T.S;- i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, ne);+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, te);} catch (e) {- ne(e);+ te(e);} finally {t !== null && n.types !== null && (t.types = n.types), T.T = t;}}- function re(e) {+ function ne(e) {var t = T.T;if (t !== null) {var n = t.types;n === null ? t.types = [e] : n.indexOf(e) === -1 && n.push(e);- } else F(re.bind(null, e));+ } else I(ne.bind(null, e));}- var ie = {- map: te,+ var re = {+ map: ee,forEach: function(e, t, n) {- te(e, function() {+ ee(e, function() {t.apply(this, arguments);}, n);},count: function(e) {var t = 0;- return te(e, function() {+ return ee(e, function() {t++;}), t;},toArray: function(e) {- return te(e, function(e) {+ return ee(e, function(e) {return e;}) || [];},@@ -263,12 +263,12 @@ var _ = /* @__PURE__ */ o(((e) => {return e;}};- e.Activity = f, e.Children = ie, e.Component = y, e.Fragment = r, e.Profiler = a, e.PureComponent = x, e.StrictMode = i, e.Suspense = l, e.ViewTransition = p, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = T, e.__COMPILER_RUNTIME = {+ e.Activity = f, e.Children = re, e.Component = y, e.Fragment = r, e.Profiler = a, e.PureComponent = x, e.StrictMode = i, e.Suspense = l, e.ViewTransition = p, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = T, e.__COMPILER_RUNTIME = {__proto__: null,c: function(e) {return T.H.useMemoCache(e);}- }, e.addTransitionType = re, e.cache = function(e) {+ }, e.addTransitionType = ne, e.cache = function(e) {return function() {return e.apply(null, arguments);};@@ -322,7 +322,7 @@ var _ = /* @__PURE__ */ o(((e) => {_status: -1,_result: e},- _init: P+ _init: F};}, e.memo = function(e, t) {return {@@ -330,7 +330,7 @@ var _ = /* @__PURE__ */ o(((e) => {type: e,compare: t === void 0 ? null : t};- }, e.startTransition = F, e.unstable_useCacheRefresh = function() {+ }, e.startTransition = I, e.unstable_useCacheRefresh = function() {return T.H.useCacheRefresh();}, e.use = function(e) {return T.H.use(e);@@ -880,58 +880,58 @@ var _ = /* @__PURE__ */ o(((e) => {}return null;}- var D = Object.assign, O = Symbol.for("react.element"), k = Symbol.for("react.transitional.element"), A = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), ee = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), te = Symbol.for("react.context"), P = Symbol.for("react.forward_ref"), ne = Symbol.for("react.suspense"), F = Symbol.for("react.suspense_list"), re = Symbol.for("react.memo"), ie = Symbol.for("react.lazy"), ae = Symbol.for("react.activity"), oe = Symbol.for("react.legacy_hidden"), se = Symbol.for("react.memo_cache_sentinel"), ce = Symbol.for("react.view_transition"), le = Symbol.for("react.recoverable"), ue = Symbol.iterator;- function de(e) {- return typeof e != "object" || !e ? null : (e = ue && e[ue] || e["@@iterator"], typeof e == "function" ? e : null);+ var D = Object.assign, O = Symbol.for("react.element"), k = Symbol.for("react.transitional.element"), A = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), N = Symbol.for("react.profiler"), P = Symbol.for("react.consumer"), ee = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), te = Symbol.for("react.suspense"), I = Symbol.for("react.suspense_list"), ne = Symbol.for("react.memo"), re = Symbol.for("react.lazy"), ie = Symbol.for("react.activity"), ae = Symbol.for("react.legacy_hidden"), oe = Symbol.for("react.memo_cache_sentinel"), se = Symbol.for("react.view_transition"), ce = Symbol.for("react.recoverable"), le = Symbol.iterator;+ function ue(e) {+ return typeof e != "object" || !e ? null : (e = le && e[le] || e["@@iterator"], typeof e == "function" ? e : null);}- var fe = Symbol.for("react.client.reference");- function pe(e) {+ var de = Symbol.for("react.client.reference");+ function fe(e) {if (e == null) return null;- if (typeof e == "function") return e.$$typeof === fe ? null : e.displayName || e.name || null;+ if (typeof e == "function") return e.$$typeof === de ? null : e.displayName || e.name || null;if (typeof e == "string") return e;switch (e) {case j: return "Fragment";- case ee: return "Profiler";+ case N: return "Profiler";case M: return "StrictMode";- case ne: return "Suspense";- case F: return "SuspenseList";- case ae: return "Activity";- case ce: return "ViewTransition";+ case te: return "Suspense";+ case I: return "SuspenseList";+ case ie: return "Activity";+ case se: return "ViewTransition";}if (typeof e == "object") switch (e.$$typeof) {case A: return "Portal";- case te: return e.displayName || "Context";- case N: return (e._context.displayName || "Context") + ".Consumer";- case P:+ case ee: return e.displayName || "Context";+ case P: return (e._context.displayName || "Context") + ".Consumer";+ case F:var t = e.render;return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;- case re: return t = e.displayName || null, t === null ? pe(e.type) || "Memo" : t;- case ie:+ case ne: return t = e.displayName || null, t === null ? fe(e.type) || "Memo" : t;+ case re:t = e._payload, e = e._init;try {- return pe(e(t));+ return fe(e(t));} catch {}}return null;}- var me = Array.isArray, he = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ge = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, _e = {+ var pe = Array.isArray, me = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, he = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ge = {pending: !1,data: null,method: null,action: null- }, ve = [], ye = -1;- function be(e) {+ }, _e = [], ve = -1;+ function ye(e) {return { current: e };}- function xe(e) {- 0 > ye || (e.current = ve[ye], ve[ye] = null, ye--);+ function be(e) {+ 0 > ve || (e.current = _e[ve], _e[ve] = null, ve--);}- function Se(e, t) {- ye++, ve[ye] = e.current, e.current = t;+ function xe(e, t) {+ ve++, _e[ve] = e.current, e.current = t;}- var Ce = be(null), we = be(null), Te = be(null), Ee = be(null);- function De(e, t) {- switch (Se(Te, t), Se(we, e), Se(Ce, null), t.nodeType) {+ var Se = ye(null), Ce = ye(null), we = ye(null), Te = ye(null);+ function Ee(e, t) {+ switch (xe(we, t), xe(Ce, e), xe(Se, null), t.nodeType) {case 9:case 11:e = (e = t.documentElement) && (e = e.namespaceURI) ? yp(e) : 0;@@ -947,34 +947,34 @@ var _ = /* @__PURE__ */ o(((e) => {default: e = 0;}}- xe(Ce), Se(Ce, e);+ be(Se), xe(Se, e);}- function Oe() {- xe(Ce), xe(we), xe(Te);+ function De() {+ be(Se), be(Ce), be(we);}- function ke(e) {+ function Oe(e) {var t = e.memoizedState;- t !== null && (gh._currentValue = t.memoizedState, Se(Ee, e)), t = Ce.current;+ t !== null && (gh._currentValue = t.memoizedState, xe(Te, e)), t = Se.current;var n = bp(t, e.type);- t !== n && (Se(we, e), Se(Ce, n));+ t !== n && (xe(Ce, e), xe(Se, n));}- function Ae(e) {- we.current === e && (xe(Ce), xe(we)), Ee.current === e && (xe(Ee), gh._currentValue = _e);+ function ke(e) {+ Ce.current === e && (be(Se), be(Ce)), Te.current === e && (be(Te), gh._currentValue = ge);}- var je, Me;- function Ne(e) {- if (je === void 0) try {+ var Ae, je;+ function Me(e) {+ if (Ae === void 0) try {throw Error();} catch (e) {var t = e.stack.trim().match(/\n( *(at )?)/);- je = t && t[1] || "", Me = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";+ Ae = t && t[1] || "", je = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";}- return "\n" + je + e + Me;+ return "\n" + Ae + e + je;}- var Pe = !1;- function Fe(e, t) {- if (!e || Pe) return "";- Pe = !0;+ var Ne = !1;+ function Pe(e, t) {+ if (!e || Ne) return "";+ Ne = !0;var n = Error.prepareStackTrace;Error.prepareStackTrace = void 0;try {@@ -1045,50 +1045,50 @@ var _ = /* @__PURE__ */ o(((e) => {}}} finally {- Pe = !1, Error.prepareStackTrace = n;+ Ne = !1, Error.prepareStackTrace = n;}- return (n = e ? e.displayName || e.name : "") ? Ne(n) : "";+ return (n = e ? e.displayName || e.name : "") ? Me(n) : "";}- function Ie(e, t) {+ function Fe(e, t) {switch (e.tag) {case 26:case 27:- case 5: return Ne(e.type);- case 16: return Ne("Lazy");- case 13: return e.child !== t && t !== null ? Ne("Suspense Fallback") : Ne("Suspense");- case 19: return Ne("SuspenseList");+ case 5: return Me(e.type);+ case 16: return Me("Lazy");+ case 13: return e.child !== t && t !== null ? Me("Suspense Fallback") : Me("Suspense");+ case 19: return Me("SuspenseList");case 0:- case 15: return Fe(e.type, !1);- case 11: return Fe(e.type.render, !1);- case 1: return Fe(e.type, !0);- case 31: return Ne("Activity");- case 30: return Ne("ViewTransition");+ case 15: return Pe(e.type, !1);+ case 11: return Pe(e.type.render, !1);+ case 1: return Pe(e.type, !0);+ case 31: return Me("Activity");+ case 30: return Me("ViewTransition");default: return "";}}- function Le(e) {+ function Ie(e) {try {var t = "", n = null;do- t += Ie(e, n), n = e, e = e.return;+ t += Fe(e, n), n = e, e = e.return;while (e);return t;} catch (e) {return "\nError generating stack: " + e.message + "\n" + e.stack;}}- var Re = Object.prototype.hasOwnProperty, ze = t.unstable_scheduleCallback, Be = t.unstable_cancelCallback, Ve = t.unstable_shouldYield, He = t.unstable_requestPaint, Ue = t.unstable_now, We = t.unstable_getCurrentPriorityLevel, Ge = t.unstable_ImmediatePriority, Ke = t.unstable_UserBlockingPriority, qe = t.unstable_NormalPriority, Je = t.unstable_LowPriority, Ye = t.unstable_IdlePriority, Xe = t.log, Ze = t.unstable_setDisableYieldValue, Qe = null, $e = null;- function et(e) {- if (typeof Xe == "function" && Ze(e), $e && typeof $e.setStrictMode == "function") try {- $e.setStrictMode(Qe, e);+ var Le = Object.prototype.hasOwnProperty, Re = t.unstable_scheduleCallback, ze = t.unstable_cancelCallback, Be = t.unstable_shouldYield, Ve = t.unstable_requestPaint, He = t.unstable_now, Ue = t.unstable_getCurrentPriorityLevel, We = t.unstable_ImmediatePriority, Ge = t.unstable_UserBlockingPriority, Ke = t.unstable_NormalPriority, qe = t.unstable_LowPriority, Je = t.unstable_IdlePriority, Ye = t.log, Xe = t.unstable_setDisableYieldValue, Ze = null, Qe = null;+ function $e(e) {+ if (typeof Ye == "function" && Xe(e), Qe && typeof Qe.setStrictMode == "function") try {+ Qe.setStrictMode(Ze, e);} catch {}}- var tt = Math.clz32 ? Math.clz32 : it, nt = Math.log, rt = Math.LN2;- function it(e) {- return e >>>= 0, e === 0 ? 32 : 31 - (nt(e) / rt | 0) | 0;+ var et = Math.clz32 ? Math.clz32 : rt, tt = Math.log, nt = Math.LN2;+ function rt(e) {+ return e >>>= 0, e === 0 ? 32 : 31 - (tt(e) / nt | 0) | 0;}- var at = 256, ot = 262144, st = 4194304;- function ct(e) {+ var it = 256, at = 262144, ot = 4194304;+ function st(e) {var t = e & 42;if (t !== 0) return t;switch (e & -e) {@@ -1126,27 +1126,27 @@ var _ = /* @__PURE__ */ o(((e) => {default: return e;}}- function lt(e, t, n) {+ function ct(e, t, n) {var r = e.pendingLanes;if (r === 0) return 0;var i = 0, a = e.suspendedLanes, o = e.pingedLanes;e = e.warmLanes;var s = r & 134217727;- return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = ct(n))) : i = ct(o) : i = ct(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = ct(n))) : i = ct(o)) : i = ct(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;+ return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = st(n))) : i = st(o) : i = st(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = st(n))) : i = st(o)) : i = st(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;}- function ut(e, t) {+ function lt(e, t) {return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;}- function dt(e, t) {+ function ut(e, t) {t & 8 && (t |= t & 32);var n = e.entangledLanes;if (n !== 0) for (e = e.entanglements, n &= t; 0 < n;) {- var r = 31 - tt(n), i = 1 << r;+ var r = 31 - et(n), i = 1 << r;t |= e[r], n &= ~i;}return t;}- function ft(e, t) {+ function dt(e, t) {switch (e) {case 1:case 2:@@ -1182,23 +1182,23 @@ var _ = /* @__PURE__ */ o(((e) => {default: return -1;}}- function pt() {- var e = st;- return st <<= 1, !(st & 62914560) && (st = 4194304), e;+ function ft() {+ var e = ot;+ return ot <<= 1, !(ot & 62914560) && (ot = 4194304), e;}- function mt(e) {+ function pt(e) {for (var t = [], n = 0; 31 > n; n++) t.push(e);return t;}- function ht(e, t) {+ function mt(e, t) {e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);}- function gt(e, t, n, r, i, a) {+ function ht(e, t, n, r, i, a) {var o = e.pendingLanes;e.pendingLanes = n, e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0, e.expiredLanes &= n, e.entangledLanes &= n, e.errorRecoveryDisabledLanes &= n, e.shellSuspendCounter = 0;var s = e.entanglements, c = e.expirationTimes, l = e.hiddenUpdates;for (n = o & ~n; 0 < n;) {- var u = 31 - tt(n), d = 1 << u;+ var u = 31 - et(n), d = 1 << u;s[u] = 0, c[u] = -1;var f = l[u];if (f !== null) for (l[u] = null, u = 0; u < f.length; u++) {@@ -1207,25 +1207,25 @@ var _ = /* @__PURE__ */ o(((e) => {}n &= ~d;}- r !== 0 && _t(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));+ r !== 0 && gt(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));}- function _t(e, t, n) {+ function gt(e, t, n) {e.pendingLanes |= t, e.suspendedLanes &= ~t;- var r = 31 - tt(t);+ var r = 31 - et(t);e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;}- function vt(e, t) {+ function _t(e, t) {var n = e.entangledLanes |= t;for (e = e.entanglements; n;) {- var r = 31 - tt(n), i = 1 << r;+ var r = 31 - et(n), i = 1 << r;i & t | e[r] & t && (e[r] |= t), n &= ~i;}}- function yt(e, t) {+ function vt(e, t) {var n = t & -t;- return n = n & 42 ? 1 : bt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;+ return n = n & 42 ? 1 : yt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;}- function bt(e) {+ function yt(e) {switch (e) {case 2:e = 1;@@ -1263,32 +1263,32 @@ var _ = /* @__PURE__ */ o(((e) => {}return e;}- function xt(e) {+ function bt(e) {return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;}- function St() {- var e = ge.p;+ function xt() {+ var e = he.p;return e === 0 ? (e = window.event, e === void 0 ? 32 : Mh(e.type)) : e;}- function Ct(e, t) {- var n = ge.p;+ function St(e, t) {+ var n = he.p;try {- return ge.p = e, t();+ return he.p = e, t();} finally {- ge.p = n;+ he.p = n;}}- var wt = Math.random().toString(36).slice(2), Tt = "__reactFiber$" + wt, Et = "__reactProps$" + wt, Dt = "__reactContainer$" + wt, Ot = "__reactEvents$" + wt, kt = "__reactListeners$" + wt, At = "__reactHandles$" + wt, jt = "__reactResources$" + wt, Mt = "__reactMarker$" + wt, Nt = "__reactLoad$" + wt;- function Pt(e) {- delete e[Tt], delete e[Et], delete e[kt], delete e[At];+ var Ct = Math.random().toString(36).slice(2), wt = "__reactFiber$" + Ct, Tt = "__reactProps$" + Ct, Et = "__reactContainer$" + Ct, Dt = "__reactEvents$" + Ct, Ot = "__reactListeners$" + Ct, kt = "__reactHandles$" + Ct, At = "__reactResources$" + Ct, jt = "__reactMarker$" + Ct, Mt = "__reactLoad$" + Ct;+ function Nt(e) {+ delete e[wt], delete e[Tt], delete e[Ot], delete e[kt];}- function Ft(e) {+ function Pt(e) {var t;- if (t = e[Tt]) return t;+ if (t = e[wt]) return t;for (var n = e.parentNode; n;) {- if (t = n[Dt] || n[Tt]) {+ if (t = n[Et] || n[wt]) {if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = xm(e); e !== null;) {- if (n = e[Tt]) return n;+ if (n = e[wt]) return n;e = xm(e);}return t;@@ -1297,49 +1297,49 @@ var _ = /* @__PURE__ */ o(((e) => {}return null;}- function It(e) {- if (e = e[Tt] || e[Dt]) {+ function Ft(e) {+ if (e = e[wt] || e[Et]) {var t = e.tag;if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) return e;}return null;}- function Lt(e) {+ function It(e) {var t = e.tag;if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;throw Error(i(33));}- function Rt(e) {- var t = e[jt];- return t ||= e[jt] = {+ function Lt(e) {+ var t = e[At];+ return t ||= e[At] = {hoistableStyles: /* @__PURE__ */ new Map(),hoistableScripts: /* @__PURE__ */ new Map()}, t;}+ function Rt(e) {+ e[jt] = !0;+ }function zt(e) {- e[Mt] = !0;+ e[Mt] = void 0;}- function Bt(e) {- e[Nt] = void 0;+ var Bt = /* @__PURE__ */ new Set(), Vt = {};+ function Ht(e, t) {+ Ut(e, t), Ut(e + "Capture", t);}- var Vt = /* @__PURE__ */ new Set(), Ht = {};function Ut(e, t) {- Wt(e, t), Wt(e + "Capture", t);+ for (Vt[e] = t, e = 0; e < t.length; e++) Bt.add(t[e]);}- function Wt(e, t) {- for (Ht[e] = t, e = 0; e < t.length; e++) Vt.add(t[e]);+ var Wt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Gt = {}, L = {};+ function R(e) {+ return Le.call(L, e) ? !0 : Le.call(Gt, e) ? !1 : Wt.test(e) ? L[e] = !0 : (Gt[e] = !0, !1);}- var Gt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Kt = {}, I = {};- function L(e) {- return Re.call(I, e) ? !0 : Re.call(Kt, e) ? !1 : Gt.test(e) ? I[e] = !0 : (Kt[e] = !0, !1);+ var z = !1;+ function Kt() {+ var e = z;+ return z = !1, e;}- var R = !1;- function qt() {- var e = R;- return R = !1, e;- }- function Jt(e, t, n) {- if (L(t)) {+ function qt(e, t, n) {+ if (R(t)) {if (n === null) e.removeAttribute(t);else {switch (typeof n) {@@ -1359,7 +1359,7 @@ var _ = /* @__PURE__ */ o(((e) => {}}}- function Yt(e, t, n) {+ function Jt(e, t, n) {if (n === null) e.removeAttribute(t);else {switch (typeof n) {@@ -1373,7 +1373,7 @@ var _ = /* @__PURE__ */ o(((e) => {e.setAttribute(t, n);}}- function Xt(e, t, n, r) {+ function Yt(e, t, n, r) {if (r === null) e.removeAttribute(n);else {switch (typeof r) {@@ -1387,7 +1387,7 @@ var _ = /* @__PURE__ */ o(((e) => {e.setAttributeNS(t, n, r);}}- function Zt(e) {+ function Xt(e) {switch (typeof e) {case "bigint":case "boolean":@@ -1398,11 +1398,11 @@ var _ = /* @__PURE__ */ o(((e) => {default: return "";}}- function Qt(e) {+ function Zt(e) {var t = e.type;return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");}- function $t(e, t, n) {+ function Qt(e, t, n) {var r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t);if (!e.hasOwnProperty(t) && r !== void 0 && typeof r.get == "function" && typeof r.set == "function") {var i = r.get, a = r.set;@@ -1427,48 +1427,48 @@ var _ = /* @__PURE__ */ o(((e) => {};}}- function en(e) {+ function $t(e) {if (!e._valueTracker) {- var t = Qt(e) ? "checked" : "value";- e._valueTracker = $t(e, t, "" + e[t]);+ var t = Zt(e) ? "checked" : "value";+ e._valueTracker = Qt(e, t, "" + e[t]);}}- function tn(e) {+ function en(e) {if (!e) return !1;var t = e._valueTracker;if (!t) return !0;var n = t.getValue(), r = "";- return e && (r = Qt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);+ return e && (r = Zt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);}- var z = /[\n"\\]/g;- function nn(e) {- return e.replace(z, function(e) {+ var B = /[\n"\\]/g;+ function tn(e) {+ return e.replace(B, function(e) {return "\\" + e.charCodeAt(0).toString(16) + " ";});}- function rn(e, t, n, r, i, a, o, s) {- e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + Zt(t)) : e.value !== "" + Zt(t) && (e.value = "" + Zt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : on(e, Zt(n)) : o === "number" && e.value == t ? on(e, Zt(e.value)) : on(e, Zt(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + Zt(s) : e.removeAttribute("name");+ function nn(e, t, n, r, i, a, o, s) {+ e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + Xt(t)) : e.value !== "" + Xt(t) && (e.value = "" + Xt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : an(e, Xt(n)) : o === "number" && e.value == t ? an(e, Xt(e.value)) : an(e, Xt(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + Xt(s) : e.removeAttribute("name");}- function an(e, t, n, r, i, a, o, s) {+ function rn(e, t, n, r, i, a, o, s) {if (a != null && typeof a != "function" && typeof a != "symbol" && typeof a != "boolean" && (e.type = a), t != null || n != null) {if (!(a !== "submit" && a !== "reset" || t != null)) {- en(e);+ $t(e);return;}- n = n == null ? "" : "" + Zt(n), t = t == null ? n : "" + Zt(t), s || t === e.value || (e.value = t), e.defaultValue = t;+ n = n == null ? "" : "" + Xt(n), t = t == null ? n : "" + Xt(t), s || t === e.value || (e.value = t), e.defaultValue = t;}- r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), en(e);+ r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), $t(e);}- function on(e, t) {+ function an(e, t) {e.defaultValue !== "" + t && (e.defaultValue = "" + t);}- function sn(e, t, n, r) {+ function on(e, t, n, r) {if (e = e.options, t) {t = {};for (var i = 0; i < n.length; i++) t["$" + n[i]] = !0;for (n = 0; n < e.length; n++) i = t.hasOwnProperty("$" + e[n].value), e[n].selected !== i && (e[n].selected = i), i && r && (e[n].defaultSelected = !0);} else {- for (n = "" + Zt(n), t = null, i = 0; i < e.length; i++) {+ for (n = "" + Xt(n), t = null, i = 0; i < e.length; i++) {if (e[i].value === n) {e[i].selected = !0, r && (e[i].defaultSelected = !0);return;@@ -1478,14 +1478,14 @@ var _ = /* @__PURE__ */ o(((e) => {t !== null && (t.selected = !0);}}- function cn(e, t, n) {- t != null && (t = "" + Zt(t), t !== e.value && (e.value = t), n == null) ? e.defaultValue !== t && (e.defaultValue = t) : e.defaultValue = n == null ? "" : "" + Zt(n);+ function sn(e, t, n) {+ t != null && (t = "" + Xt(t), t !== e.value && (e.value = t), n == null) ? e.defaultValue !== t && (e.defaultValue = t) : e.defaultValue = n == null ? "" : "" + Xt(n);}- function ln(e, t, n, r) {+ function cn(e, t, n, r) {if (t == null) {if (r != null) {if (n != null) throw Error(i(92));- if (me(r)) {+ if (pe(r)) {if (1 < r.length) throw Error(i(93));r = r[0];}@@ -1493,9 +1493,9 @@ var _ = /* @__PURE__ */ o(((e) => {}n ??= "", t = n;}- n = Zt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), en(e);+ n = Xt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), $t(e);}- function un(e, t) {+ function ln(e, t) {if (t) {var n = e.firstChild;if (n && n === e.lastChild && n.nodeType === 3) {@@ -1505,19 +1505,19 @@ var _ = /* @__PURE__ */ o(((e) => {}e.textContent = t;}- var dn = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));- function fn(e, t, n) {+ var un = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));+ function dn(e, t, n) {var r = t.indexOf("--") === 0;- n == null || typeof n == "boolean" || n === "" ? r ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : r ? e.setProperty(t, n) : typeof n != "number" || n === 0 || dn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";+ n == null || typeof n == "boolean" || n === "" ? r ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : r ? e.setProperty(t, n) : typeof n != "number" || n === 0 || un.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";}- function pn(e, t, n) {+ function fn(e, t, n) {if (t != null && typeof t != "object") throw Error(i(62));if (e = e.style, n != null) {- for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", R = !0);- for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (fn(e, a, r), R = !0);- } else for (var o in t) t.hasOwnProperty(o) && fn(e, o, t[o]);+ for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", z = !0);+ for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (dn(e, a, r), z = !0);+ } else for (var o in t) t.hasOwnProperty(o) && dn(e, o, t[o]);}- function mn(e) {+ function pn(e) {if (e.indexOf("-") === -1) return !1;switch (e) {case "annotation-xml":@@ -1531,7 +1531,7 @@ var _ = /* @__PURE__ */ o(((e) => {default: return !0;}}- var hn = /* @__PURE__ */ new Map([+ var mn = /* @__PURE__ */ new Map([["acceptCharset", "accept-charset"],["htmlFor", "for"],["httpEquiv", "http-equiv"],@@ -1611,56 +1611,56 @@ var _ = /* @__PURE__ */ o(((e) => {["writingMode", "writing-mode"],["xmlnsXlink", "xmlns:xlink"],["xHeight", "x-height"]- ]), gn = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;- function _n(e) {- return gn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;+ ]), hn = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;+ function gn(e) {+ return hn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;}- function vn() {}- var yn = null;- function bn(e) {+ function _n() {}+ var vn = null;+ function yn(e) {return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;}- var xn = null, Sn = null;- function Cn(e) {- var t = It(e);+ var bn = null, xn = null;+ function Sn(e) {+ var t = Ft(e);if (t && (e = t.stateNode)) {- var n = e[Et] || null;+ var n = e[Tt] || null;a: switch (e = t.stateNode, t.type) {case "input":- if (rn(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {+ if (nn(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {for (n = e; n.parentNode;) n = n.parentNode;- for (n = n.querySelectorAll("input[name=\"" + nn("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {+ for (n = n.querySelectorAll("input[name=\"" + tn("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {var r = n[t];if (r !== e && r.form === e.form) {- var a = r[Et] || null;+ var a = r[Tt] || null;if (!a) throw Error(i(90));- rn(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);+ nn(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);}}- for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && tn(r);+ for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && en(r);}break a;case "textarea":- cn(e, n.value, n.defaultValue);+ sn(e, n.value, n.defaultValue);break a;- case "select": t = n.value, t != null && sn(e, !!n.multiple, t, !1);+ case "select": t = n.value, t != null && on(e, !!n.multiple, t, !1);}}}- var wn = !1;- function Tn(e, t, n) {- if (wn) return e(t, n);- wn = !0;+ var Cn = !1;+ function wn(e, t, n) {+ if (Cn) return e(t, n);+ Cn = !0;try {return e(t);} finally {- if (wn = !1, (xn !== null || Sn !== null) && (Gd(), xn && (t = xn, e = Sn, Sn = xn = null, Cn(t), e))) for (t = 0; t < e.length; t++) Cn(e[t]);+ if (Cn = !1, (bn !== null || xn !== null) && (Gd(), bn && (t = bn, e = xn, xn = bn = null, Sn(t), e))) for (t = 0; t < e.length; t++) Sn(e[t]);}}- function En(e, t) {+ function Tn(e, t) {var n = e.stateNode;if (n === null) return null;- var r = n[Et] || null;+ var r = n[Tt] || null;if (r === null) return null;n = r[t];a: switch (t) {@@ -1683,54 +1683,54 @@ var _ = /* @__PURE__ */ o(((e) => {if (n && typeof n != "function") throw Error(i(231, t, typeof n));return n;}- var Dn = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, On = !1;- if (Dn) try {- var kn = {};- Object.defineProperty(kn, "passive", { get: function() {- On = !0;- } }), window.addEventListener("test", kn, kn), window.removeEventListener("test", kn, kn);+ var En = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Dn = !1;+ if (En) try {+ var On = {};+ Object.defineProperty(On, "passive", { get: function() {+ Dn = !0;+ } }), window.addEventListener("test", On, On), window.removeEventListener("test", On, On);} catch {- On = !1;+ Dn = !1;}- var An = null, jn = null, B = null;- function V() {- if (B) return B;- var e, t = jn, n = t.length, r, i = "value" in An ? An.value : An.textContent, a = i.length;+ var kn = null, An = null, V = null;+ function H() {+ if (V) return V;+ var e, t = An, n = t.length, r, i = "value" in kn ? kn.value : kn.textContent, a = i.length;for (e = 0; e < n && t[e] === i[e]; e++);var o = n - e;for (r = 1; r <= o && t[n - r] === i[a - r]; r++);- return B = i.slice(e, 1 < r ? 1 - r : void 0);+ return V = i.slice(e, 1 < r ? 1 - r : void 0);}- function Mn(e) {+ function jn(e) {var t = e.keyCode;return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0;}- function Nn() {+ function Mn() {return !0;}- function Pn() {+ function Nn() {return !1;}- function Fn(e) {+ function Pn(e) {function t(t, n, r, i, a) {for (var o in this._reactName = t, this._targetInst = r, this.type = n, this.nativeEvent = i, this.target = a, this.currentTarget = null, e) e.hasOwnProperty(o) && (t = e[o], this[o] = t ? t(i) : i[o]);- return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? Nn : Pn, this.isPropagationStopped = Pn, this;+ return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? Mn : Nn, this.isPropagationStopped = Nn, this;}return D(t.prototype, {preventDefault: function() {this.defaultPrevented = !0;var e = this.nativeEvent;- e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = Nn);+ e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = Mn);},stopPropagation: function() {var e = this.nativeEvent;- e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Nn);+ e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Mn);},persist: function() {},- isPersistent: Nn+ isPersistent: Mn}), t;}- var In = {+ var Fn = {eventPhase: 0,bubbles: 0,cancelable: 0,@@ -1739,10 +1739,10 @@ var _ = /* @__PURE__ */ o(((e) => {},defaultPrevented: 0,isTrusted: 0- }, Ln = Fn(In), Rn = D({}, In, {+ }, In = Pn(Fn), Ln = D({}, Fn, {view: 0,detail: 0- }), zn = Fn(Rn), H, Bn, Vn, Hn = D({}, Rn, {+ }), Rn = Pn(Ln), U, zn, Bn, Vn = D({}, Ln, {screenX: 0,screenY: 0,clientX: 0,@@ -1753,25 +1753,25 @@ var _ = /* @__PURE__ */ o(((e) => {shiftKey: 0,altKey: 0,metaKey: 0,- getModifierState: $n,+ getModifierState: Qn,button: 0,buttons: 0,relatedTarget: function(e) {return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;},movementX: function(e) {- return "movementX" in e ? e.movementX : (e !== Vn && (Vn && e.type === "mousemove" ? (H = e.screenX - Vn.screenX, Bn = e.screenY - Vn.screenY) : Bn = H = 0, Vn = e), H);+ return "movementX" in e ? e.movementX : (e !== Bn && (Bn && e.type === "mousemove" ? (U = e.screenX - Bn.screenX, zn = e.screenY - Bn.screenY) : zn = U = 0, Bn = e), U);},movementY: function(e) {- return "movementY" in e ? e.movementY : Bn;+ return "movementY" in e ? e.movementY : zn;}- }), Un = Fn(Hn), Wn = Fn(D({}, Hn, { dataTransfer: 0 })), Gn = Fn(D({}, Rn, { relatedTarget: 0 })), Kn = Fn(D({}, In, {+ }), Hn = Pn(Vn), Un = Pn(D({}, Vn, { dataTransfer: 0 })), Wn = Pn(D({}, Ln, { relatedTarget: 0 })), Gn = Pn(D({}, Fn, {animationName: 0,elapsedTime: 0,pseudoElement: 0- })), qn = Fn(D({}, In, { clipboardData: function(e) {+ })), Kn = Pn(D({}, Fn, { clipboardData: function(e) {return "clipboardData" in e ? e.clipboardData : window.clipboardData;- } })), Jn = Fn(D({}, In, { data: 0 })), Yn = {+ } })), qn = Pn(D({}, Fn, { data: 0 })), Jn = {Esc: "Escape",Spacebar: " ",Left: "ArrowLeft",@@ -1784,7 +1784,7 @@ var _ = /* @__PURE__ */ o(((e) => {Apps: "ContextMenu",Scroll: "ScrollLock",MozPrintableKey: "Unidentified"- }, Xn = {+ }, Yn = {8: "Backspace",9: "Tab",12: "Clear",@@ -1821,26 +1821,26 @@ var _ = /* @__PURE__ */ o(((e) => {144: "NumLock",145: "ScrollLock",224: "Meta"- }, Zn = {+ }, Xn = {Alt: "altKey",Control: "ctrlKey",Meta: "metaKey",Shift: "shiftKey"};- function Qn(e) {+ function Zn(e) {var t = this.nativeEvent;- return t.getModifierState ? t.getModifierState(e) : (e = Zn[e]) ? !!t[e] : !1;+ return t.getModifierState ? t.getModifierState(e) : (e = Xn[e]) ? !!t[e] : !1;}- function $n() {- return Qn;+ function Qn() {+ return Zn;}- var er = Fn(D({}, Rn, {+ var $n = Pn(D({}, Ln, {key: function(e) {if (e.key) {- var t = Yn[e.key] || e.key;+ var t = Jn[e.key] || e.key;if (t !== "Unidentified") return t;}- return e.type === "keypress" ? (e = Mn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Xn[e.keyCode] || "Unidentified" : "";+ return e.type === "keypress" ? (e = jn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Yn[e.keyCode] || "Unidentified" : "";},code: 0,location: 0,@@ -1850,17 +1850,17 @@ var _ = /* @__PURE__ */ o(((e) => {metaKey: 0,repeat: 0,locale: 0,- getModifierState: $n,+ getModifierState: Qn,charCode: function(e) {- return e.type === "keypress" ? Mn(e) : 0;+ return e.type === "keypress" ? jn(e) : 0;},keyCode: function(e) {return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;},which: function(e) {- return e.type === "keypress" ? Mn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;+ return e.type === "keypress" ? jn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;}- })), tr = Fn(D({}, Hn, {+ })), er = Pn(D({}, Vn, {pointerId: 0,width: 0,height: 0,@@ -1871,7 +1871,7 @@ var _ = /* @__PURE__ */ o(((e) => {twist: 0,pointerType: 0,isPrimary: 0- })), nr = Fn(D({}, In, { submitter: 0 })), rr = Fn(D({}, Rn, {+ })), tr = Pn(D({}, Fn, { submitter: 0 })), nr = Pn(D({}, Ln, {touches: 0,targetTouches: 0,changedTouches: 0,@@ -1879,12 +1879,12 @@ var _ = /* @__PURE__ */ o(((e) => {metaKey: 0,ctrlKey: 0,shiftKey: 0,- getModifierState: $n- })), ir = Fn(D({}, In, {+ getModifierState: Qn+ })), rr = Pn(D({}, Fn, {propertyName: 0,elapsedTime: 0,pseudoElement: 0- })), ar = Fn(D({}, Hn, {+ })), ir = Pn(D({}, Vn, {deltaX: function(e) {return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;},@@ -1893,21 +1893,21 @@ var _ = /* @__PURE__ */ o(((e) => {},deltaZ: 0,deltaMode: 0- })), or = Fn(D({}, In, {+ })), ar = Pn(D({}, Fn, {newState: 0,oldState: 0,source: 0- })), sr = [+ })), or = [9,13,27,32- ], cr = Dn && "CompositionEvent" in window, lr = null;- Dn && "documentMode" in document && (lr = document.documentMode);- var ur = Dn && "TextEvent" in window && !lr, dr = Dn && (!cr || lr && 8 < lr && 11 >= lr), fr = " ", pr = !1;- function mr(e, t) {+ ], sr = En && "CompositionEvent" in window, cr = null;+ En && "documentMode" in document && (cr = document.documentMode);+ var lr = En && "TextEvent" in window && !cr, ur = En && (!sr || cr && 8 < cr && 11 >= cr), dr = " ", fr = !1;+ function pr(e, t) {switch (e) {- case "keyup": return sr.indexOf(t.keyCode) !== -1;+ case "keyup": return or.indexOf(t.keyCode) !== -1;case "keydown": return t.keyCode !== 229;case "keypress":case "mousedown":@@ -1915,20 +1915,20 @@ var _ = /* @__PURE__ */ o(((e) => {default: return !1;}}- function hr(e) {+ function mr(e) {return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;}- var gr = !1;- function _r(e, t) {+ var hr = !1;+ function gr(e, t) {switch (e) {- case "compositionend": return hr(t);- case "keypress": return t.which === 32 ? (pr = !0, fr) : null;- case "textInput": return e = t.data, e === fr && pr ? null : e;+ case "compositionend": return mr(t);+ case "keypress": return t.which === 32 ? (fr = !0, dr) : null;+ case "textInput": return e = t.data, e === dr && fr ? null : e;default: return null;}}- function vr(e, t) {- if (gr) return e === "compositionend" || !cr && mr(e, t) ? (e = V(), B = jn = An = null, gr = !1, e) : null;+ function _r(e, t) {+ if (hr) return e === "compositionend" || !sr && pr(e, t) ? (e = H(), V = An = kn = null, hr = !1, e) : null;switch (e) {case "paste": return null;case "keypress":@@ -1937,11 +1937,11 @@ var _ = /* @__PURE__ */ o(((e) => {if (t.which) return String.fromCharCode(t.which);}return null;- case "compositionend": return dr && t.locale !== "ko" ? null : t.data;+ case "compositionend": return ur && t.locale !== "ko" ? null : t.data;default: return null;}}- var yr = {+ var vr = {color: !0,date: !0,datetime: !0,@@ -1958,76 +1958,76 @@ var _ = /* @__PURE__ */ o(((e) => {url: !0,week: !0};- function br(e) {+ function yr(e) {var t = e && e.nodeName && e.nodeName.toLowerCase();- return t === "input" ? !!yr[e.type] : t === "textarea";+ return t === "input" ? !!vr[e.type] : t === "textarea";}- function xr(e, t, n, r) {- xn ? Sn ? Sn.push(r) : Sn = [r] : xn = r, t = np(t, "onChange"), 0 < t.length && (n = new Ln("onChange", "change", null, n, r), e.push({+ function br(e, t, n, r) {+ bn ? xn ? xn.push(r) : xn = [r] : bn = r, t = np(t, "onChange"), 0 < t.length && (n = new In("onChange", "change", null, n, r), e.push({event: n,listeners: t}));}- var Sr = null, Cr = null;- function wr(e) {+ var xr = null, Sr = null;+ function Cr(e) {Jf(e, 0);}- function Tr(e) {- if (tn(Lt(e))) return e;+ function wr(e) {+ if (en(It(e))) return e;}- function Er(e, t) {+ function Tr(e, t) {if (e === "change") return t;}- var Dr = !1;- if (Dn) {- var Or;- if (Dn) {- var kr = "oninput" in document;- if (!kr) {- var Ar = document.createElement("div");- Ar.setAttribute("oninput", "return;"), kr = typeof Ar.oninput == "function";+ var Er = !1;+ if (En) {+ var Dr;+ if (En) {+ var Or = "oninput" in document;+ if (!Or) {+ var kr = document.createElement("div");+ kr.setAttribute("oninput", "return;"), Or = typeof kr.oninput == "function";}- Or = kr;- } else Or = !1;- Dr = Or && (!document.documentMode || 9 < document.documentMode);+ Dr = Or;+ } else Dr = !1;+ Er = Dr && (!document.documentMode || 9 < document.documentMode);}- function jr() {- Sr && (Sr.detachEvent("onpropertychange", Mr), Cr = Sr = null);+ function Ar() {+ xr && (xr.detachEvent("onpropertychange", jr), Sr = xr = null);}- function Mr(e) {- if (e.propertyName === "value" && Tr(Cr)) {+ function jr(e) {+ if (e.propertyName === "value" && wr(Sr)) {var t = [];- xr(t, Cr, e, bn(e)), Tn(wr, t);+ br(t, Sr, e, yn(e)), wn(Cr, t);}}- function Nr(e, t, n) {- e === "focusin" ? (jr(), Sr = t, Cr = n, Sr.attachEvent("onpropertychange", Mr)) : e === "focusout" && jr();+ function Mr(e, t, n) {+ e === "focusin" ? (Ar(), xr = t, Sr = n, xr.attachEvent("onpropertychange", jr)) : e === "focusout" && Ar();}- function Pr(e) {- if (e === "selectionchange" || e === "keyup" || e === "keydown") return Tr(Cr);+ function Nr(e) {+ if (e === "selectionchange" || e === "keyup" || e === "keydown") return wr(Sr);+ }+ function Pr(e, t) {+ if (e === "click") return wr(t);}function Fr(e, t) {- if (e === "click") return Tr(t);+ if (e === "input" || e === "change") return wr(t);}function Ir(e, t) {- if (e === "input" || e === "change") return Tr(t);- }- function Lr(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}- var Rr = typeof Object.is == "function" ? Object.is : Lr;- function zr(e, t) {- if (Rr(e, t)) return !0;+ var Lr = typeof Object.is == "function" ? Object.is : Ir;+ function Rr(e, t) {+ if (Lr(e, t)) return !0;if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;var n = Object.keys(e), r = Object.keys(t);if (n.length !== r.length) return !1;for (r = 0; r < n.length; r++) {var i = n[r];- if (!Re.call(t, i) || !Rr(e[i], t[i])) return !1;+ if (!Le.call(t, i) || !Lr(e[i], t[i])) return !1;}return !0;}- function Br(e) {+ function zr(e) {if (e ||= typeof document < "u" ? document : void 0, e === void 0) return null;try {return e.activeElement || e.body;@@ -2035,12 +2035,12 @@ var _ = /* @__PURE__ */ o(((e) => {return e.body;}}- function Vr(e) {+ function Br(e) {for (; e && e.firstChild;) e = e.firstChild;return e;}- function Hr(e, t) {- var n = Vr(e);+ function Vr(e, t) {+ var n = Br(e);e = 0;for (var r; n;) {if (n.nodeType === 3) {@@ -2060,15 +2060,15 @@ var _ = /* @__PURE__ */ o(((e) => {}n = void 0;}- n = Vr(n);+ n = Br(n);}}- function Ur(e, t) {- return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Ur(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;+ function Hr(e, t) {+ return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Hr(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;}- function Wr(e) {+ function Ur(e) {e = e != null && e.ownerDocument != null && e.ownerDocument.defaultView != null ? e.ownerDocument.defaultView : window;- for (var t = Br(e.document); t instanceof e.HTMLIFrameElement;) {+ for (var t = zr(e.document); t instanceof e.HTMLIFrameElement;) {try {var n = typeof t.contentWindow.location.href == "string";} catch {@@ -2076,18 +2076,18 @@ var _ = /* @__PURE__ */ o(((e) => {}if (n) e = t.contentWindow;else break;- t = Br(e.document);+ t = zr(e.document);}return t;}- function Gr(e) {+ function Wr(e) {var t = e && e.nodeName && e.nodeName.toLowerCase();return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || t === "textarea" || e.contentEditable === "true");}- var Kr = Dn && "documentMode" in document && 11 >= document.documentMode, qr = null, Jr = null, Yr = null, Xr = !1;- function Zr(e, t, n) {+ var Gr = En && "documentMode" in document && 11 >= document.documentMode, Kr = null, qr = null, Jr = null, Yr = !1;+ function Xr(e, t, n) {var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;- Xr || qr == null || qr !== Br(r) || (r = qr, "selectionStart" in r && Gr(r) ? r = {+ Yr || Kr == null || Kr !== zr(r) || (r = Kr, "selectionStart" in r && Wr(r) ? r = {start: r.selectionStart,end: r.selectionEnd} : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = {@@ -2095,46 +2095,46 @@ var _ = /* @__PURE__ */ o(((e) => {anchorOffset: r.anchorOffset,focusNode: r.focusNode,focusOffset: r.focusOffset- }), Yr && zr(Yr, r) || (Yr = r, r = np(Jr, "onSelect"), 0 < r.length && (t = new Ln("onSelect", "select", null, t, n), e.push({+ }), Jr && Rr(Jr, r) || (Jr = r, r = np(qr, "onSelect"), 0 < r.length && (t = new In("onSelect", "select", null, t, n), e.push({event: t,listeners: r- }), t.target = qr)));+ }), t.target = Kr)));}- function Qr(e, t) {+ function Zr(e, t) {var n = {};return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;}- var $r = {- animationend: Qr("Animation", "AnimationEnd"),- animationiteration: Qr("Animation", "AnimationIteration"),- animationstart: Qr("Animation", "AnimationStart"),- transitionrun: Qr("Transition", "TransitionRun"),- transitionstart: Qr("Transition", "TransitionStart"),- transitioncancel: Qr("Transition", "TransitionCancel"),- transitionend: Qr("Transition", "TransitionEnd")- }, ei = {}, ti = {};- Dn && (ti = document.createElement("div").style, "AnimationEvent" in window || (delete $r.animationend.animation, delete $r.animationiteration.animation, delete $r.animationstart.animation), "TransitionEvent" in window || delete $r.transitionend.transition);- function ni(e) {- if (ei[e]) return ei[e];- if (!$r[e]) return e;- var t = $r[e], n;- for (n in t) if (t.hasOwnProperty(n) && n in ti) return ei[e] = t[n];+ var Qr = {+ animationend: Zr("Animation", "AnimationEnd"),+ animationiteration: Zr("Animation", "AnimationIteration"),+ animationstart: Zr("Animation", "AnimationStart"),+ transitionrun: Zr("Transition", "TransitionRun"),+ transitionstart: Zr("Transition", "TransitionStart"),+ transitioncancel: Zr("Transition", "TransitionCancel"),+ transitionend: Zr("Transition", "TransitionEnd")+ }, $r = {}, ei = {};+ En && (ei = document.createElement("div").style, "AnimationEvent" in window || (delete Qr.animationend.animation, delete Qr.animationiteration.animation, delete Qr.animationstart.animation), "TransitionEvent" in window || delete Qr.transitionend.transition);+ function ti(e) {+ if ($r[e]) return $r[e];+ if (!Qr[e]) return e;+ var t = Qr[e], n;+ for (n in t) if (t.hasOwnProperty(n) && n in ei) return $r[e] = t[n];return e;}- var ri = ni("animationend"), ii = ni("animationiteration"), ai = ni("animationstart"), oi = ni("transitionrun"), si = ni("transitionstart"), ci = ni("transitioncancel"), li = ni("transitionend"), ui = /* @__PURE__ */ new Map(), di = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");- di.push("scrollEnd");- function fi(e, t) {- ui.set(e, t), Ut(t, [e]);+ var ni = ti("animationend"), ri = ti("animationiteration"), ii = ti("animationstart"), ai = ti("transitionrun"), oi = ti("transitionstart"), si = ti("transitioncancel"), ci = ti("transitionend"), li = /* @__PURE__ */ new Map(), ui = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");+ ui.push("scrollEnd");+ function di(e, t) {+ li.set(e, t), Ht(t, [e]);}- var pi = 0;- function mi(e, t) {+ var fi = 0;+ function pi(e, t) {if (e.name != null && e.name !== "auto") return e.name;if (t.autoName !== null) return t.autoName;e = Ed.identifierPrefix;- var n = pi++;+ var n = fi++;return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;}- function hi(e) {+ function mi(e) {if (e == null || typeof e == "string") return e;var t = null, n = Pd;if (n !== null) for (var r = 0; r < n.length; r++) {@@ -2146,10 +2146,10 @@ var _ = /* @__PURE__ */ o(((e) => {}return t ?? e.default;}- function gi(e, t) {- return e = hi(e), t = hi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;+ function hi(e, t) {+ return e = mi(e), t = mi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;}- var _i = typeof reportError == "function" ? reportError : function(e) {+ var gi = typeof reportError == "function" ? reportError : function(e) {if (typeof window == "object" && typeof window.ErrorEvent == "function") {var t = new window.ErrorEvent("error", {bubbles: !0,@@ -2163,62 +2163,62 @@ var _ = /* @__PURE__ */ o(((e) => {return;}console.error(e);- }, vi = [], yi = 0, bi = 0;- function xi() {- for (var e = yi, t = bi = yi = 0; t < e;) {- var n = vi[t];- vi[t++] = null;- var r = vi[t];- vi[t++] = null;- var i = vi[t];- vi[t++] = null;- var a = vi[t];- if (vi[t++] = null, r !== null && i !== null) {+ }, _i = [], vi = 0, yi = 0;+ function bi() {+ for (var e = vi, t = yi = vi = 0; t < e;) {+ var n = _i[t];+ _i[t++] = null;+ var r = _i[t];+ _i[t++] = null;+ var i = _i[t];+ _i[t++] = null;+ var a = _i[t];+ if (_i[t++] = null, r !== null && i !== null) {var o = r.pending;o === null ? i.next = i : (i.next = o.next, o.next = i), r.pending = i;}- a !== 0 && Ti(n, i, a);+ a !== 0 && wi(n, i, a);}}- function Si(e, t, n, r) {- vi[yi++] = e, vi[yi++] = t, vi[yi++] = n, vi[yi++] = r, bi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);+ function xi(e, t, n, r) {+ _i[vi++] = e, _i[vi++] = t, _i[vi++] = n, _i[vi++] = r, yi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);}- function Ci(e, t, n, r) {- return Si(e, t, n, r), Ei(e);+ function Si(e, t, n, r) {+ return xi(e, t, n, r), Ti(e);}- function wi(e, t) {- return Si(e, null, null, t), Ei(e);+ function Ci(e, t) {+ return xi(e, null, null, t), Ti(e);}- function Ti(e, t, n) {+ function wi(e, t, n) {e.lanes |= n;var r = e.alternate;r !== null && (r.lanes |= n);for (var i = !1, a = e.return; a !== null;) a.childLanes |= n, r = a.alternate, r !== null && (r.childLanes |= n), a.tag === 22 && (e = a.stateNode, e === null || e._visibility & 1 || (i = !0)), e = a, a = a.return;- return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - tt(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;+ return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - et(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;}- function Ei(e) {+ function Ti(e) {if (50 < Fd) throw Fd = 0, Id = null, Error(i(185));for (var t = e.return; t !== null;) e = t, t = e.return;return e.tag === 3 ? e.stateNode : null;}- var Di = {};- function Oi(e, t, n, r) {+ var Ei = {};+ function Di(e, t, n, r) {this.tag = e, this.key = n, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = r, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;}- function ki(e, t, n, r) {- return new Oi(e, t, n, r);+ function Oi(e, t, n, r) {+ return new Di(e, t, n, r);}- function Ai(e) {+ function ki(e) {return e = e.prototype, !(!e || !e.isReactComponent);}- function ji(e, t) {+ function Ai(e, t) {var n = e.alternate;- return n === null ? (n = ki(e.tag, t, e.key, e.mode), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null), n.flags = e.flags & 1206910976, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {+ return n === null ? (n = Oi(e.tag, t, e.key, e.mode), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null), n.flags = e.flags & 1206910976, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {lanes: t.lanes,firstContext: t.firstContext}, n.sibling = e.sibling, n.index = e.index, n.ref = e.ref, n.refCleanup = e.refCleanup, n;}- function Mi(e, t) {+ function ji(e, t) {e.flags &= 1206910978;var n = e.alternate;return n === null ? (e.childLanes = 0, e.lanes = t, e.child = null, e.subtreeFlags = 0, e.memoizedProps = null, e.memoizedState = null, e.updateQueue = null, e.dependencies = null, e.stateNode = null) : (e.childLanes = n.childLanes, e.lanes = n.lanes, e.child = n.child, e.subtreeFlags = 0, e.deletions = null, e.memoizedProps = n.memoizedProps, e.memoizedState = n.memoizedState, e.updateQueue = n.updateQueue, e.type = n.type, t = n.dependencies, e.dependencies = t === null ? null : {@@ -2226,21 +2226,21 @@ var _ = /* @__PURE__ */ o(((e) => {firstContext: t.firstContext}), e;}- function Ni(e, t, n, r, a, o) {+ function Mi(e, t, n, r, a, o) {var s = 0;- if (r = e, typeof r == "function") Ai(r) && (s = 1);- else if (typeof r == "string") s = nh(e, n, Ce.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;+ if (r = e, typeof r == "function") ki(r) && (s = 1);+ else if (typeof r == "string") s = nh(e, n, Se.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;else a: switch (r) {- case ae: return e = ki(31, n, t, a), e.elementType = ae, e.lanes = o, e;- case j: return Pi(n.children, a, o, t);+ case ie: return e = Oi(31, n, t, a), e.elementType = ie, e.lanes = o, e;+ case j: return Ni(n.children, a, o, t);case M:s = 8, a |= 24;break;- case ee: return e = ki(12, n, t, a | 2), e.elementType = ee, e.lanes = o, e;- case ne: return e = ki(13, n, t, a), e.elementType = ne, e.lanes = o, e;- case F: return e = ki(19, n, t, a), e.elementType = F, e.lanes = o, e;- case oe:- case ce: return e = a | 32, e = ki(30, n, t, e), e.elementType = ce, e.lanes = o, e.stateNode = {+ case N: return e = Oi(12, n, t, a | 2), e.elementType = N, e.lanes = o, e;+ case te: return e = Oi(13, n, t, a), e.elementType = te, e.lanes = o, e;+ case I: return e = Oi(19, n, t, a), e.elementType = I, e.lanes = o, e;+ case ae:+ case se: return e = a | 32, e = Oi(30, n, t, e), e.elementType = se, e.lanes = o, e.stateNode = {autoName: null,paired: null,clones: null,@@ -2248,92 +2248,92 @@ var _ = /* @__PURE__ */ o(((e) => {}, e;default:if (typeof r == "object" && r) switch (r.$$typeof) {- case te:+ case ee:s = 10;break a;- case N:+ case P:s = 9;break a;- case P:+ case F:s = 11;break a;- case re:+ case ne:s = 14;break a;- case ie:+ case re:s = 16, r = null;break a;}s = 29, n = Error(i(130, e === null ? "null" : typeof e, "")), r = null;}- return t = ki(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;+ return t = Oi(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;}- function Pi(e, t, n, r) {- return e = ki(7, e, r, t), e.lanes = n, e;+ function Ni(e, t, n, r) {+ return e = Oi(7, e, r, t), e.lanes = n, e;}- function Fi(e, t, n) {- return e = ki(6, e, null, t), e.lanes = n, e;+ function Pi(e, t, n) {+ return e = Oi(6, e, null, t), e.lanes = n, e;}- function Ii(e) {- var t = ki(18, null, null, 0);+ function Fi(e) {+ var t = Oi(18, null, null, 0);return t.stateNode = e, t;}- function Li(e, t, n) {- return t = ki(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {+ function Ii(e, t, n) {+ return t = Oi(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {containerInfo: e.containerInfo,pendingChildren: null,implementation: e.implementation}, t;}- var Ri = /* @__PURE__ */ new WeakMap();- function zi(e, t) {+ var Li = /* @__PURE__ */ new WeakMap();+ function Ri(e, t) {if (typeof e == "object" && e) {- var n = Ri.get(e);+ var n = Li.get(e);return n === void 0 ? (t = {value: e,source: t,- stack: Le(t)- }, Ri.set(e, t), t) : n;+ stack: Ie(t)+ }, Li.set(e, t), t) : n;}return {value: e,source: t,- stack: Le(t)+ stack: Ie(t)};}- var Bi = [], Vi = 0, Hi = null, Ui = 0, Wi = [], Gi = 0, Ki = null, qi = 1, Ji = "";- function Yi(e, t) {- Bi[Vi++] = Ui, Bi[Vi++] = Hi, Hi = e, Ui = t;+ var zi = [], Bi = 0, Vi = null, Hi = 0, Ui = [], Wi = 0, Gi = null, Ki = 1, qi = "";+ function Ji(e, t) {+ zi[Bi++] = Hi, zi[Bi++] = Vi, Vi = e, Hi = t;}- function Xi(e, t, n) {- Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, Ki = e;- var r = qi;- e = Ji;- var i = 32 - tt(r) - 1;+ function Yi(e, t, n) {+ Ui[Wi++] = Ki, Ui[Wi++] = qi, Ui[Wi++] = Gi, Gi = e;+ var r = Ki;+ e = qi;+ var i = 32 - et(r) - 1;r &= ~(1 << i), n += 1;- var a = 32 - tt(t) + i;+ var a = 32 - et(t) + i;if (30 < a) {var o = i - i % 5;- a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, qi = 1 << 32 - tt(t) + i | n << i | r, Ji = a + e;- } else qi = 1 << a | n << i | r, Ji = e;+ a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Ki = 1 << 32 - et(t) + i | n << i | r, qi = a + e;+ } else Ki = 1 << a | n << i | r, qi = e;+ }+ function Xi(e) {+ e.return !== null && (Ji(e, 1), Yi(e, 1, 0));}function Zi(e) {- e.return !== null && (Yi(e, 1), Xi(e, 1, 0));+ for (; e === Vi;) Vi = zi[--Bi], zi[Bi] = null, Hi = zi[--Bi], zi[Bi] = null;+ for (; e === Gi;) Gi = Ui[--Wi], Ui[Wi] = null, qi = Ui[--Wi], Ui[Wi] = null, Ki = Ui[--Wi], Ui[Wi] = null;}- function Qi(e) {- for (; e === Hi;) Hi = Bi[--Vi], Bi[Vi] = null, Ui = Bi[--Vi], Bi[Vi] = null;- for (; e === Ki;) Ki = Wi[--Gi], Wi[Gi] = null, Ji = Wi[--Gi], Wi[Gi] = null, qi = Wi[--Gi], Wi[Gi] = null;+ function Qi(e, t) {+ Ui[Wi++] = Ki, Ui[Wi++] = qi, Ui[Wi++] = Gi, Ki = t.id, qi = t.overflow, Gi = e;}- function $i(e, t) {- Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, qi = t.id, Ji = t.overflow, Ki = e;+ var $i = null, ea = null, ta = !1, na = null, ra = !1, ia = Error(i(519));+ function aa(e) {+ throw da(Ri(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), ia;}- var ea = null, ta = null, na = !1, ra = null, ia = !1, aa = Error(i(519));function oa(e) {- throw fa(zi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), aa;- }- function sa(e) {var t = e.stateNode, n = e.type, r = e.memoizedProps;- switch (t[Tt] = e, t[Et] = r, n) {+ switch (t[wt] = e, t[Tt] = r, n) {case "dialog":Yf("cancel", t), Yf("close", t);break;@@ -2358,67 +2358,67 @@ var _ = /* @__PURE__ */ o(((e) => {Yf("toggle", t);break;case "input":- Yf("invalid", t), an(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);+ Yf("invalid", t), rn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);break;case "select":Yf("invalid", t);break;- case "textarea": Yf("invalid", t), ln(t, r.value, r.defaultValue, r.children);+ case "textarea": Yf("invalid", t), cn(t, r.value, r.defaultValue, r.children);}- n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || cp(t.textContent, n) ? (r.popover != null && (Yf("beforetoggle", t), Yf("toggle", t)), r.onScroll != null && Yf("scroll", t), r.onScrollEnd != null && Yf("scrollend", t), r.onClick != null && (t.onclick = vn), t = !0) : t = !1, t || oa(e, !0);+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || cp(t.textContent, n) ? (r.popover != null && (Yf("beforetoggle", t), Yf("toggle", t)), r.onScroll != null && Yf("scroll", t), r.onScrollEnd != null && Yf("scrollend", t), r.onClick != null && (t.onclick = _n), t = !0) : t = !1, t || aa(e, !0);}- function ca(e) {- for (ea = e.return; ea;) switch (ea.tag) {+ function sa(e) {+ for ($i = e.return; $i;) switch ($i.tag) {case 5:case 31:case 13:- ia = !1;+ ra = !1;return;case 27:case 3:- ia = !0;+ ra = !0;return;- default: ea = ea.return;+ default: $i = $i.return;}}- function la(e) {- if (e !== ea) return !1;- if (!na) return ca(e), na = !0, !1;+ function ca(e) {+ if (e !== $i) return !1;+ if (!ta) return sa(e), ta = !0, !1;var t = e.tag, n;- if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || Sp(e.type, e.memoizedProps)), n = !n), n && ta && oa(e), ca(e), t === 13) {+ if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || Sp(e.type, e.memoizedProps)), n = !n), n && ea && aa(e), sa(e), t === 13) {if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- ta = bm(e);+ ea = bm(e);} else if (t === 31) {if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- ta = bm(e);- } else t === 27 ? (t = ta, jp(e.type) ? (e = ym, ym = null, ta = e) : ta = t) : ta = ea ? vm(e.stateNode.nextSibling) : null;+ ea = bm(e);+ } else t === 27 ? (t = ea, jp(e.type) ? (e = ym, ym = null, ea = e) : ea = t) : ea = $i ? vm(e.stateNode.nextSibling) : null;return !0;}- function ua() {- ta = ea = null, na = !1;+ function la() {+ ea = $i = null, ta = !1;}- function da() {- var e = ra;- return e !== null && (vd === null ? vd = e : vd.push.apply(vd, e), ra = null), e;+ function ua() {+ var e = na;+ return e !== null && (vd === null ? vd = e : vd.push.apply(vd, e), na = null), e;}- function fa(e) {- ra === null ? ra = [e] : ra.push(e);+ function da(e) {+ na === null ? na = [e] : na.push(e);}- var pa = be(null), ma = null, ha = null;- function ga(e, t, n) {- Se(pa, t._currentValue), t._currentValue = n;+ var fa = ye(null), pa = null, ma = null;+ function ha(e, t, n) {+ xe(fa, t._currentValue), t._currentValue = n;}- function _a(e) {- e._currentValue = pa.current, xe(pa);+ function ga(e) {+ e._currentValue = fa.current, be(fa);}- function va(e, t, n) {+ function _a(e, t, n) {for (; e !== null;) {var r = e.alternate;if ((e.childLanes & t) === t ? r !== null && (r.childLanes & t) !== t && (r.childLanes |= t) : (e.childLanes |= t, r !== null && (r.childLanes |= t)), e === n) break;e = e.return;}}- function ya(e, t, n, r) {+ function va(e, t, n, r) {var a = e.child;for (a !== null && (a.return = e); a !== null;) {var o = a.dependencies;@@ -2429,15 +2429,15 @@ var _ = /* @__PURE__ */ o(((e) => {var c = o;o = a;for (var l = 0; l < t.length; l++) if (c.context === t[l]) {- o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), va(o.return, n, e), r || (s = null);+ o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), _a(o.return, n, e), r || (s = null);break a;}o = c.next;}} else if (a.tag === 18) {if (s = a.return, s === null) throw Error(i(341));- s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), va(s, n, e), s = null;- } else a.tag === 13 && a.memoizedState !== null && a.memoizedState.dehydrated === null ? (a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), va(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;+ s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), _a(s, n, e), s = null;+ } else a.tag === 13 && a.memoizedState !== null && a.memoizedState.dehydrated === null ? (a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), _a(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;if (s !== null) s.return = a;else for (s = a; s !== null;) {if (s === e) {@@ -2453,7 +2453,7 @@ var _ = /* @__PURE__ */ o(((e) => {a = s;}}- function ba(e, t, n, r) {+ function ya(e, t, n, r) {e = null;for (var a = t, o = !1; a !== null;) {if (!o) {@@ -2465,48 +2465,48 @@ var _ = /* @__PURE__ */ o(((e) => {if (s === null) throw Error(i(387));if (s = s.memoizedProps, s !== null) {var c = a.type;- Rr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));+ Lr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));}- } else if (a === Ee.current) {+ } else if (a === Te.current) {if (s = a.alternate, s === null) throw Error(i(387));s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [gh] : e.push(gh));}a = a.return;}- return e !== null && ya(t, e, n, r), t.flags |= 262144, e !== null;+ return e !== null && va(t, e, n, r), t.flags |= 262144, e !== null;}- function xa(e) {+ function ba(e) {for (e = e.firstContext; e !== null;) {- if (!Rr(e.context._currentValue, e.memoizedValue)) return !0;+ if (!Lr(e.context._currentValue, e.memoizedValue)) return !0;e = e.next;}return !1;}+ function xa(e) {+ pa = e, ma = null, e = e.dependencies, e !== null && (e.firstContext = null);+ }function Sa(e) {- ma = e, ha = null, e = e.dependencies, e !== null && (e.firstContext = null);+ return wa(pa, e);}- function Ca(e) {- return Ta(ma, e);+ function Ca(e, t) {+ return pa === null && xa(e), wa(e, t);}function wa(e, t) {- return ma === null && Sa(e), Ta(e, t);- }- function Ta(e, t) {var n = t._currentValue;if (t = {context: t,memoizedValue: n,next: null- }, ha === null) {+ }, ma === null) {if (e === null) throw Error(i(308));- ha = t, e.dependencies = {+ ma = t, e.dependencies = {lanes: 0,firstContext: t}, e.flags |= 524288;- } else ha = ha.next = t;+ } else ma = ma.next = t;return n;}- var Ea = typeof AbortController < "u" ? AbortController : function() {+ var Ta = typeof AbortController < "u" ? AbortController : function() {var e = [], t = this.signal = {aborted: !1,addEventListener: function(t, n) {@@ -2518,27 +2518,27 @@ var _ = /* @__PURE__ */ o(((e) => {return e();});};- }, Da = t.unstable_scheduleCallback, Oa = t.unstable_NormalPriority, ka = {- $$typeof: te,+ }, Ea = t.unstable_scheduleCallback, Da = t.unstable_NormalPriority, Oa = {+ $$typeof: ee,Consumer: null,Provider: null,_currentValue: null,_currentValue2: null,_threadCount: 0};- function Aa() {+ function ka() {return {- controller: new Ea(),+ controller: new Ta(),data: /* @__PURE__ */ new Map(),refCount: 0};}- function ja(e) {- e.refCount--, e.refCount === 0 && Da(Oa, function() {+ function Aa(e) {+ e.refCount--, e.refCount === 0 && Ea(Da, function() {e.controller.abort();});}- function Ma(e, t) {+ function ja(e, t) {if (e.pendingLanes & 4194048) {var n = e.transitionTypes;for (n === null && (n = e.transitionTypes = []), e = 0; e < t.length; e++) {@@ -2547,16 +2547,16 @@ var _ = /* @__PURE__ */ o(((e) => {}}}- var Na = null;- function Pa(e) {+ var Ma = null;+ function Na(e) {var t = e.transitionTypes;return e.transitionTypes = null, t;}- var Fa = null, Ia = 0, La = 0, Ra = null;- function za(e, t) {- if (Fa === null) {- var n = Fa = [];- Ia = 0, La = Vf(), Ra = {+ var Pa = null, Fa = 0, Ia = 0, La = null;+ function Ra(e, t) {+ if (Pa === null) {+ var n = Pa = [];+ Fa = 0, Ia = Vf(), La = {status: "pending",value: void 0,then: function(e) {@@ -2564,17 +2564,17 @@ var _ = /* @__PURE__ */ o(((e) => {}};}- return Ia++, t.then(Ba, Ba), t;+ return Fa++, t.then(za, za), t;}- function Ba() {- if (--Ia === 0 && (Na = null, Fa !== null)) {- Ra !== null && (Ra.status = "fulfilled");- var e = Fa;- Fa = null, La = 0, Ra = null;+ function za() {+ if (--Fa === 0 && (Ma = null, Pa !== null)) {+ La !== null && (La.status = "fulfilled");+ var e = Pa;+ Pa = null, Ia = 0, La = null;for (var t = 0; t < e.length; t++) (0, e[t])();}}- function Va(e, t) {+ function Ba(e, t) {var n = [], r = {status: "pending",value: null,@@ -2590,48 +2590,48 @@ var _ = /* @__PURE__ */ o(((e) => {for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);}), r;}- var Ha = he.S;- he.S = function(e, t) {- if (xd = Ue(), typeof t == "object" && t && typeof t.then == "function" && za(e, t), Na !== null) for (var n = Df; n !== null;) Ma(n, Na), n = n.next;+ var Va = me.S;+ me.S = function(e, t) {+ if (xd = He(), typeof t == "object" && t && typeof t.then == "function" && Ra(e, t), Ma !== null) for (var n = Df; n !== null;) ja(n, Ma), n = n.next;if (n = e.types, n !== null) {- for (var r = Df; r !== null;) Ma(r, n), r = r.next;- if (La !== 0) {- r = Na, r === null && (r = Na = []);+ for (var r = Df; r !== null;) ja(r, n), r = r.next;+ if (Ia !== 0) {+ r = Ma, r === null && (r = Ma = []);for (var i = 0; i < n.length; i++) {var a = n[i];r.indexOf(a) === -1 && r.push(a);}}}- Ha !== null && Ha(e, t);+ Va !== null && Va(e, t);};- var Ua = be(null);- function Wa() {- var e = Ua.current;- return e === null ? rd.pooledCache : e;+ var Ha = ye(null);+ function Ua() {+ var e = Ha.current;+ return e === null ? nd.pooledCache : e;}- function Ga(e, t) {- t === null ? Se(Ua, Ua.current) : Se(Ua, t.pool);+ function Wa(e, t) {+ t === null ? xe(Ha, Ha.current) : xe(Ha, t.pool);}- function Ka() {- var e = Wa();+ function Ga() {+ var e = Ua();return e === null ? null : {- parent: ka._currentValue,+ parent: Oa._currentValue,pool: e};}- var qa = Error(i(460)), Ja = Error(i(474)), Ya = Error(i(542)), Xa = { then: function() {} };- function Za(e) {+ var Ka = Error(i(460)), qa = Error(i(474)), Ja = Error(i(542)), Ya = { then: function() {} };+ function Xa(e) {return e = e.status, e === "fulfilled" || e === "rejected";}- function Qa(e, t, n) {- switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(vn, vn), t = n), t.status) {+ function Za(e, t, n) {+ switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(_n, _n), t = n), t.status) {case "fulfilled": return t.value;- case "rejected": throw e = t.reason, no(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;+ case "rejected": throw e = t.reason, to(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;default:- if (typeof t.status == "string") t.then(vn, vn);+ if (typeof t.status == "string") t.then(_n, _n);else {- if (e = rd, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));+ if (e = nd, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));e = t, e.status = "pending", e.then(function(e) {if (t.status === "pending") {var n = t;@@ -2646,40 +2646,40 @@ var _ = /* @__PURE__ */ o(((e) => {}switch (t.status) {case "fulfilled": return t.value;- case "rejected": throw e = t.reason, no(e), e;+ case "rejected": throw e = t.reason, to(e), e;}- throw eo = t, qa;+ throw $a = t, Ka;}}- function $a(e) {+ function Qa(e) {try {var t = e._init;return t(e._payload);} catch (e) {- throw typeof e == "object" && e && typeof e.then == "function" ? (eo = e, qa) : e;+ throw typeof e == "object" && e && typeof e.then == "function" ? ($a = e, Ka) : e;}}- var eo = null;- function to() {- if (eo === null) throw Error(i(459));- var e = eo;- return eo = null, e;+ var $a = null;+ function eo() {+ if ($a === null) throw Error(i(459));+ var e = $a;+ return $a = null, e;}- function no(e) {- if (e === qa || e === Ya) throw Error(i(483));+ function to(e) {+ if (e === Ka || e === Ja) throw Error(i(483));}- var ro = null, io = 0;- function ao(e) {- var t = io;- return io += 1, ro === null && (ro = []), Qa(ro, e, t);+ var no = null, ro = 0;+ function io(e) {+ var t = ro;+ return ro += 1, no === null && (no = []), Za(no, e, t);}- function oo(e, t) {+ function ao(e, t) {t = t.props.ref, e.ref = t === void 0 ? null : t;}- function so(e, t) {+ function oo(e, t) {throw t.$$typeof === O ? Error(i(525)) : (e = Object.prototype.toString.call(t), Error(i(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)));}- function co(e) {+ function so(e) {function t(t, n) {if (e) {var r = t.deletions;@@ -2696,7 +2696,7 @@ var _ = /* @__PURE__ */ o(((e) => {return t;}function a(e, t) {- return e = ji(e, t), e.index = 0, e.sibling = null, e;+ return e = Ai(e, t), e.index = 0, e.sibling = null, e;}function o(t, n, r) {return t.index = r, e ? (r = t.alternate, r === null ? (t.flags |= 134217730, n) : (r = r.index, r < n ? (t.flags |= 2, n) : r)) : (t.flags |= 1048576, n);@@ -2705,30 +2705,30 @@ var _ = /* @__PURE__ */ o(((e) => {return e && t.alternate === null && (t.flags |= 134217730), t;}function c(e, t, n, r) {- return t === null || t.tag !== 6 ? (t = Fi(n, e.mode, r), t.return = e, t) : (t = a(t, n), t.return = e, t);+ return t === null || t.tag !== 6 ? (t = Pi(n, e.mode, r), t.return = e, t) : (t = a(t, n), t.return = e, t);}function l(e, t, n, r) {var i = n.type;- return i === j ? (e = d(e, t, n.props.children, r, n.key), oo(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === ie && $a(i) === t.type) ? (t = a(t, n.props), oo(t, n), t.return = e, t) : (t = Ni(n.type, n.key, n.props, null, e.mode, r), oo(t, n), t.return = e, t);+ return i === j ? (e = d(e, t, n.props.children, r, n.key), ao(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === re && Qa(i) === t.type) ? (t = a(t, n.props), ao(t, n), t.return = e, t) : (t = Mi(n.type, n.key, n.props, null, e.mode, r), ao(t, n), t.return = e, t);}function u(e, t, n, r) {- return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Li(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);+ return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Ii(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);}function d(e, t, n, r, i) {- return t === null || t.tag !== 7 ? (t = Pi(n, e.mode, r, i), t.return = e, t) : (t = a(t, n), t.return = e, t);+ return t === null || t.tag !== 7 ? (t = Ni(n, e.mode, r, i), t.return = e, t) : (t = a(t, n), t.return = e, t);}function f(e, t, n) {- if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Fi("" + t, e.mode, n), t.return = e, t;+ if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Pi("" + t, e.mode, n), t.return = e, t;if (typeof t == "object" && t) {switch (t.$$typeof) {- case k: return n = Ni(t.type, t.key, t.props, null, e.mode, n), oo(n, t), n.return = e, n;- case A: return t = Li(t, e.mode, n), t.return = e, t;- case ie: return t = $a(t), f(e, t, n);+ case k: return n = Mi(t.type, t.key, t.props, null, e.mode, n), ao(n, t), n.return = e, n;+ case A: return t = Ii(t, e.mode, n), t.return = e, t;+ case re: return t = Qa(t), f(e, t, n);}- if (me(t) || de(t)) return t = Pi(t, e.mode, n, null), t.return = e, t;- if (typeof t.then == "function") return f(e, ao(t), n);- if (t.$$typeof === te) return f(e, wa(e, t), n);- so(e, t);+ if (pe(t) || ue(t)) return t = Ni(t, e.mode, n, null), t.return = e, t;+ if (typeof t.then == "function") return f(e, io(t), n);+ if (t.$$typeof === ee) return f(e, Ca(e, t), n);+ oo(e, t);}return null;}@@ -2739,12 +2739,12 @@ var _ = /* @__PURE__ */ o(((e) => {switch (n.$$typeof) {case k: return n.key === i ? l(e, t, n, r) : null;case A: return n.key === i ? u(e, t, n, r) : null;- case ie: return n = $a(n), p(e, t, n, r);+ case re: return n = Qa(n), p(e, t, n, r);}- if (me(n) || de(n)) return i === null ? d(e, t, n, r, null) : null;- if (typeof n.then == "function") return p(e, t, ao(n), r);- if (n.$$typeof === te) return p(e, t, wa(e, n), r);- so(e, n);+ if (pe(n) || ue(n)) return i === null ? d(e, t, n, r, null) : null;+ if (typeof n.then == "function") return p(e, t, io(n), r);+ if (n.$$typeof === ee) return p(e, t, Ca(e, n), r);+ oo(e, n);}return null;}@@ -2754,12 +2754,12 @@ var _ = /* @__PURE__ */ o(((e) => {switch (r.$$typeof) {case k: return e = e.get(r.key === null ? n : r.key) || null, l(t, e, r, i);case A: return e = e.get(r.key === null ? n : r.key) || null, u(t, e, r, i);- case ie: return r = $a(r), m(e, t, n, r, i);+ case re: return r = Qa(r), m(e, t, n, r, i);}- if (me(r) || de(r)) return e = e.get(n) || null, d(t, e, r, i, null);- if (typeof r.then == "function") return m(e, t, n, ao(r), i);- if (r.$$typeof === te) return m(e, t, n, wa(t, r), i);- so(t, r);+ if (pe(r) || ue(r)) return e = e.get(n) || null, d(t, e, r, i, null);+ if (typeof r.then == "function") return m(e, t, n, io(r), i);+ if (r.$$typeof === ee) return m(e, t, n, Ca(t, r), i);+ oo(t, r);}return null;}@@ -2773,15 +2773,15 @@ var _ = /* @__PURE__ */ o(((e) => {}e && d && _.alternate === null && t(i, d), a = o(_, a, h), u === null ? l = _ : u.sibling = _, u = _, d = g;}- if (h === s.length) return n(i, d), na && Yi(i, h), l;+ if (h === s.length) return n(i, d), ta && Ji(i, h), l;if (d === null) {for (; h < s.length; h++) d = f(i, s[h], c), d !== null && (a = o(d, a, h), u === null ? l = d : u.sibling = d, u = d);- return na && Yi(i, h), l;+ return ta && Ji(i, h), l;}for (d = r(d); h < s.length; h++) g = m(d, i, h, s[h], c), g !== null && (e && (_ = g.alternate, _ !== null && d.delete(_.key === null ? h : _.key)), a = o(g, a, h), u === null ? l = g : u.sibling = g, u = g);return e && d.forEach(function(e) {return t(i, e);- }), na && Yi(i, h), l;+ }), ta && Ji(i, h), l;}function g(a, s, c, l) {if (c == null) throw Error(i(151));@@ -2794,15 +2794,15 @@ var _ = /* @__PURE__ */ o(((e) => {}e && h && y.alternate === null && t(a, h), s = o(y, s, g), d === null ? u = y : d.sibling = y, d = y, h = _;}- if (v.done) return n(a, h), na && Yi(a, g), u;+ if (v.done) return n(a, h), ta && Ji(a, g), u;if (h === null) {for (; !v.done; g++, v = c.next()) v = f(a, v.value, l), v !== null && (s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);- return na && Yi(a, g), u;+ return ta && Ji(a, g), u;}for (h = r(h); !v.done; g++, v = c.next()) v = m(h, a, g, v.value, l), v !== null && (e && (_ = v.alternate, _ !== null && h.delete(_.key === null ? g : _.key)), s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);return e && h.forEach(function(e) {return t(a, e);- }), na && Yi(a, g), u;+ }), ta && Ji(a, g), u;}function _(e, r, o, c) {if (typeof o == "object" && o && o.type === j && o.key === null && o.props.ref === void 0 && (o = o.props.children), typeof o == "object" && o) {@@ -2813,11 +2813,11 @@ var _ = /* @__PURE__ */ o(((e) => {if (r.key === l) {if (l = o.type, l === j) {if (r.tag === 7) {- n(e, r.sibling), c = a(r, o.props.children), oo(c, o), c.return = e, e = c;+ n(e, r.sibling), c = a(r, o.props.children), ao(c, o), c.return = e, e = c;break a;}- } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === ie && $a(l) === r.type) {- n(e, r.sibling), c = a(r, o.props), oo(c, o), c.return = e, e = c;+ } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === re && Qa(l) === r.type) {+ n(e, r.sibling), c = a(r, o.props), ao(c, o), c.return = e, e = c;break a;}n(e, r);@@ -2825,7 +2825,7 @@ var _ = /* @__PURE__ */ o(((e) => {}t(e, r), r = r.sibling;}- o.type === j ? (c = Pi(o.props.children, e.mode, c, o.key), oo(c, o), c.return = e, e = c) : (c = Ni(o.type, o.key, o.props, null, e.mode, c), oo(c, o), c.return = e, e = c);+ o.type === j ? (c = Ni(o.props.children, e.mode, c, o.key), ao(c, o), c.return = e, e = c) : (c = Mi(o.type, o.key, o.props, null, e.mode, c), ao(c, o), c.return = e, e = c);}return s(e);case A:@@ -2841,36 +2841,36 @@ var _ = /* @__PURE__ */ o(((e) => {}t(e, r), r = r.sibling;}- c = Li(o, e.mode, c), c.return = e, e = c;+ c = Ii(o, e.mode, c), c.return = e, e = c;}return s(e);- case ie: return o = $a(o), _(e, r, o, c);+ case re: return o = Qa(o), _(e, r, o, c);}- if (me(o)) return h(e, r, o, c);- if (de(o)) {- if (l = de(o), typeof l != "function") throw Error(i(150));+ if (pe(o)) return h(e, r, o, c);+ if (ue(o)) {+ if (l = ue(o), typeof l != "function") throw Error(i(150));return o = l.call(o), g(e, r, o, c);}- if (typeof o.then == "function") return _(e, r, ao(o), c);- if (o.$$typeof === te) return _(e, r, wa(e, o), c);- so(e, o);+ if (typeof o.then == "function") return _(e, r, io(o), c);+ if (o.$$typeof === ee) return _(e, r, Ca(e, o), c);+ oo(e, o);}- return typeof o == "string" && o !== "" || typeof o == "number" || typeof o == "bigint" ? (o = "" + o, r !== null && r.tag === 6 ? (n(e, r.sibling), c = a(r, o), c.return = e, e = c) : (n(e, r), c = Fi(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);+ return typeof o == "string" && o !== "" || typeof o == "number" || typeof o == "bigint" ? (o = "" + o, r !== null && r.tag === 6 ? (n(e, r.sibling), c = a(r, o), c.return = e, e = c) : (n(e, r), c = Pi(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);}return function(e, t, n, r) {try {- io = 0;+ ro = 0;var i = _(e, t, n, r);- return ro = null, i;+ return no = null, i;} catch (t) {- if (t === qa || t === Ya) throw t;- var a = ki(29, t, null, e.mode);+ if (t === Ka || t === Ja) throw t;+ var a = Oi(29, t, null, e.mode);return a.lanes = r, a.return = e, a;}};}- var lo = co(!0), uo = co(!1), fo = !1;- function po(e) {+ var co = so(!0), lo = so(!1), uo = !1;+ function fo(e) {e.updateQueue = {baseState: e.memoizedState,firstBaseUpdate: null,@@ -2883,7 +2883,7 @@ var _ = /* @__PURE__ */ o(((e) => {callbacks: null};}- function mo(e, t) {+ function po(e, t) {e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {baseState: e.baseState,firstBaseUpdate: e.firstBaseUpdate,@@ -2892,7 +2892,7 @@ var _ = /* @__PURE__ */ o(((e) => {callbacks: null});}- function ho(e) {+ function mo(e) {return {lane: e,tag: 0,@@ -2901,22 +2901,22 @@ var _ = /* @__PURE__ */ o(((e) => {next: null};}- function go(e, t, n) {+ function ho(e, t, n) {var r = e.updateQueue;if (r === null) return null;- if (r = r.shared, nd & 2) {+ if (r = r.shared, td & 2) {var i = r.pending;- return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Ei(e), Ti(e, null, n), t;+ return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Ti(e), wi(e, null, n), t;}- return Si(e, r, t, n), Ei(e);+ return xi(e, r, t, n), Ti(e);}- function _o(e, t, n) {+ function go(e, t, n) {if (t = t.updateQueue, t !== null && (t = t.shared, n & 4194048)) {var r = t.lanes;- r &= e.pendingLanes, n |= r, t.lanes = n, vt(e, n);+ r &= e.pendingLanes, n |= r, t.lanes = n, _t(e, n);}}- function vo(e, t) {+ function _o(e, t) {var n = e.updateQueue, r = e.alternate;if (r !== null && (r = r.updateQueue, n === r)) {var i = null, a = null;@@ -2942,17 +2942,17 @@ var _ = /* @__PURE__ */ o(((e) => {}, e.updateQueue = n;} else e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;}- var yo = !1;- function bo() {- if (yo) {- var e = Ra;+ var vo = !1;+ function yo() {+ if (vo) {+ var e = La;if (e !== null) throw e;}}- function xo(e, t, n, r) {- yo = !1;+ function bo(e, t, n, r) {+ vo = !1;var i = e.updateQueue;- fo = !1;+ uo = !1;var a = i.firstBaseUpdate, o = i.lastBaseUpdate, s = i.shared.pending;if (s !== null) {i.shared.pending = null;@@ -2966,8 +2966,8 @@ var _ = /* @__PURE__ */ o(((e) => {o = 0, u = l = c = null, s = a;do {var f = s.lane & -536870913, p = f !== s.lane;- if (p ? (ad & f) === f : (r & f) === f) {- f !== 0 && f === La && (yo = !0), u !== null && (u = u.next = {+ if (p ? (id & f) === f : (r & f) === f) {+ f !== 0 && f === Ia && (vo = !0), u !== null && (u = u.next = {lane: 0,tag: s.tag,payload: s.payload,@@ -2991,7 +2991,7 @@ var _ = /* @__PURE__ */ o(((e) => {if (m = h.payload, f = typeof m == "function" ? m.call(g, d, f) : m, f == null) break a;d = D({}, d, f);break a;- case 2: fo = !0;+ case 2: uo = !0;}}f = s.callback, f !== null && (e.flags |= 64, p && (e.flags |= 8192), p = i.callbacks, p === null ? i.callbacks = [f] : p.push(f));@@ -3007,52 +3007,52 @@ var _ = /* @__PURE__ */ o(((e) => {p = s, s = p.next, p.next = null, i.lastBaseUpdate = p, i.shared.pending = null;}} while (1);- u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), W |= o, e.lanes = o, e.memoizedState = d;+ u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), fd |= o, e.lanes = o, e.memoizedState = d;}}- function So(e, t) {+ function xo(e, t) {if (typeof e != "function") throw Error(i(191, e));e.call(t);}- function Co(e, t) {+ function So(e, t) {var n = e.callbacks;- if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) So(n[e], t);+ if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) xo(n[e], t);}- var wo = be(null), To = be(0);- function Eo(e, t) {- e = dd, Se(To, e), Se(wo, t), dd = e | t.baseLanes;+ var Co = ye(null), wo = ye(0);+ function To(e, t) {+ e = ud, xe(wo, e), xe(Co, t), ud = e | t.baseLanes;+ }+ function Eo() {+ xe(wo, ud), xe(Co, Co.current);}function Do() {- Se(To, dd), Se(wo, wo.current);+ ud = wo.current, be(Co), be(wo);}- function Oo() {- dd = To.current, xe(wo), xe(To);+ var Oo = ye(null), ko = null;+ function Ao(e) {+ var t = e.alternate;+ xe(Fo, Fo.current & 1), xe(Oo, e), ko === null && (t === null || Co.current !== null || t.memoizedState !== null) && (ko = e);}- var ko = be(null), Ao = null;function jo(e) {- var t = e.alternate;- Se(Io, Io.current & 1), Se(ko, e), Ao === null && (t === null || wo.current !== null || t.memoizedState !== null) && (Ao = e);+ xe(Fo, Fo.current), xe(Oo, e), ko === null && (ko = e);}function Mo(e) {- Se(Io, Io.current), Se(ko, e), Ao === null && (Ao = e);+ e.tag === 22 ? (xe(Fo, Fo.current), xe(Oo, e), ko === null && (ko = e)) : No();}- function No(e) {- e.tag === 22 ? (Se(Io, Io.current), Se(ko, e), Ao === null && (Ao = e)) : Po();+ function No() {+ xe(Fo, Fo.current), xe(Oo, Oo.current);}- function Po() {- Se(Io, Io.current), Se(ko, ko.current);+ function Po(e) {+ be(Oo), ko === e && (ko = null), be(Fo);}- function Fo(e) {- xe(ko), Ao === e && (Ao = null), xe(Io);+ var Fo = ye(0);+ function Io(e, t) {+ xe(Oo, Oo.current), xe(Fo, t);}- var Io = be(0);- function Lo(e, t) {- Se(ko, ko.current), Se(Io, t);+ function Lo(e) {+ be(Fo), be(Oo), ko === e && (ko = null);}function Ro(e) {- xe(Io), xe(ko), Ao === e && (Ao = null);- }- function zo(e) {for (var t = e; t !== null;) {if (t.tag === 13) {var n = t.memoizedState;@@ -3072,59 +3072,59 @@ var _ = /* @__PURE__ */ o(((e) => {}return null;}- var Bo = 0, Vo = null, Ho = null, Uo = null, Wo = !1, Go = !1, Ko = !1, qo = 0, Jo = 0, Yo = null, Xo = 0;- function Zo() {+ var zo = 0, Bo = null, Vo = null, Ho = null, Uo = !1, Wo = !1, Go = !1, Ko = 0, qo = 0, Jo = null, Yo = 0;+ function Xo() {throw Error(i(321));}- function Qo(e, t) {+ function Zo(e, t) {if (t === null) return !1;- for (var n = 0; n < t.length && n < e.length; n++) if (!Rr(e[n], t[n])) return !1;+ for (var n = 0; n < t.length && n < e.length; n++) if (!Lr(e[n], t[n])) return !1;return !0;}- function $o(e, t, n, r, i, a) {- return Bo = a, Vo = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, he.H = e === null || e.memoizedState === null ? gc : _c, Ko = !1, a = n(r, i), Ko = !1, Go && (a = ts(t, n, r, i)), es(e), a;+ function Qo(e, t, n, r, i, a) {+ return zo = a, Bo = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, me.H = e === null || e.memoizedState === null ? hc : gc, Go = !1, a = n(r, i), Go = !1, Wo && (a = es(t, n, r, i)), $o(e), a;}- function es(e) {- he.H = hc;- var t = Ho !== null && Ho.next !== null;- if (Bo = 0, Uo = Ho = Vo = null, Wo = !1, Jo = 0, Yo = null, t) throw Error(i(300));- e === null || Pc || (e = e.dependencies, e !== null && xa(e) && (Pc = !0));+ function $o(e) {+ me.H = mc;+ var t = Vo !== null && Vo.next !== null;+ if (zo = 0, Ho = Vo = Bo = null, Uo = !1, qo = 0, Jo = null, t) throw Error(i(300));+ e === null || Nc || (e = e.dependencies, e !== null && ba(e) && (Nc = !0));}- function ts(e, t, n, r) {- Vo = e;+ function es(e, t, n, r) {+ Bo = e;var a = 0;do {- if (Go && (Yo = null), Jo = 0, Go = !1, 25 <= a) throw Error(i(301));- if (a += 1, Uo = Ho = null, e.updateQueue != null) {+ if (Wo && (Jo = null), qo = 0, Wo = !1, 25 <= a) throw Error(i(301));+ if (a += 1, Ho = Vo = null, e.updateQueue != null) {var o = e.updateQueue;o.lastEffect = null, o.events = null, o.stores = null, o.memoCache != null && (o.memoCache.index = 0);}- he.H = vc, o = t(n, r);- } while (Go);+ me.H = _c, o = t(n, r);+ } while (Wo);return o;}- function ns() {- var e = he.H, t = e.useState()[0];- return t = typeof t.then == "function" ? ls(t) : t, e = e.useState()[0], (Ho === null ? null : Ho.memoizedState) !== e && (Vo.flags |= 1024), t;+ function ts() {+ var e = me.H, t = e.useState()[0];+ return t = typeof t.then == "function" ? cs(t) : t, e = e.useState()[0], (Vo === null ? null : Vo.memoizedState) !== e && (Bo.flags |= 1024), t;}- function rs() {- var e = qo !== 0;- return qo = 0, e;+ function ns() {+ var e = Ko !== 0;+ return Ko = 0, e;}- function is(e, t, n) {+ function rs(e, t, n) {t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n;}- function as(e) {- if (Wo) {+ function is(e) {+ if (Uo) {for (e = e.memoizedState; e !== null;) {var t = e.queue;t !== null && (t.pending = null), e = e.next;}- Wo = !1;+ Uo = !1;}- Bo = 0, Uo = Ho = Vo = null, Go = !1, Jo = qo = 0, Yo = null;+ zo = 0, Ho = Vo = Bo = null, Wo = !1, qo = Ko = 0, Jo = null;}- function os() {+ function as() {var e = {memoizedState: null,baseState: null,@@ -3132,28 +3132,28 @@ var _ = /* @__PURE__ */ o(((e) => {queue: null,next: null};- return Uo === null ? Vo.memoizedState = Uo = e : Uo = Uo.next = e, Uo;+ return Ho === null ? Bo.memoizedState = Ho = e : Ho = Ho.next = e, Ho;}- function ss() {- if (Ho === null) {- var e = Vo.alternate;+ function os() {+ if (Vo === null) {+ var e = Bo.alternate;e = e === null ? null : e.memoizedState;- } else e = Ho.next;- var t = Uo === null ? Vo.memoizedState : Uo.next;- if (t !== null) Uo = t, Ho = e;+ } else e = Vo.next;+ var t = Ho === null ? Bo.memoizedState : Ho.next;+ if (t !== null) Ho = t, Vo = e;else {- if (e === null) throw Vo.alternate === null ? Error(i(467)) : Error(i(310));- Ho = e, e = {- memoizedState: Ho.memoizedState,- baseState: Ho.baseState,- baseQueue: Ho.baseQueue,- queue: Ho.queue,+ if (e === null) throw Bo.alternate === null ? Error(i(467)) : Error(i(310));+ Vo = e, e = {+ memoizedState: Vo.memoizedState,+ baseState: Vo.baseState,+ baseQueue: Vo.baseQueue,+ queue: Vo.queue,next: null- }, Uo === null ? Vo.memoizedState = Uo = e : Uo = Uo.next = e;+ }, Ho === null ? Bo.memoizedState = Ho = e : Ho = Ho.next = e;}- return Uo;+ return Ho;}- function cs() {+ function ss() {return {lastEffect: null,events: null,@@ -3161,22 +3161,22 @@ var _ = /* @__PURE__ */ o(((e) => {memoCache: null};}- function ls(e) {- var t = Jo;- return Jo += 1, Yo === null && (Yo = []), e = Qa(Yo, e, t), t = Vo, (Uo === null ? t.memoizedState : Uo.next) === null && (t = t.alternate, he.H = t === null || t.memoizedState === null ? gc : _c), e;+ function cs(e) {+ var t = qo;+ return qo += 1, Jo === null && (Jo = []), e = Za(Jo, e, t), t = Bo, (Ho === null ? t.memoizedState : Ho.next) === null && (t = t.alternate, me.H = t === null || t.memoizedState === null ? hc : gc), e;}- function us(e) {+ function ls(e) {if (typeof e == "object" && e) {- if (typeof e.then == "function") return ls(e);- if (e.$$typeof === le) return;- if (e.$$typeof === te) return Ca(e);+ if (typeof e.then == "function") return cs(e);+ if (e.$$typeof === ce) return;+ if (e.$$typeof === ee) return Sa(e);}throw Error(i(438, String(e)));}- function ds(e) {- var t = null, n = Vo.updateQueue;+ function us(e) {+ var t = null, n = Bo.updateQueue;if (n !== null && (t = n.memoCache), t == null) {- var r = Vo.alternate;+ var r = Bo.alternate;r !== null && (r = r.updateQueue, r !== null && (r = r.memoCache, r != null && (t = {data: r.data.map(function(e) {return e.slice();@@ -3187,16 +3187,16 @@ var _ = /* @__PURE__ */ o(((e) => {if (t ??= {data: [],index: 0- }, n === null && (n = cs(), Vo.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = se;+ }, n === null && (n = ss(), Bo.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = oe;return t.index++, n;}- function fs(e, t) {+ function ds(e, t) {return typeof t == "function" ? t(e) : t;}- function ps(e) {- return ms(ss(), Ho, e);+ function fs(e) {+ return ps(os(), Vo, e);}- function ms(e, t, n) {+ function ps(e, t, n) {var r = e.queue;if (r === null) throw Error(i(311));r.lastRenderedReducer = n;@@ -3214,7 +3214,7 @@ var _ = /* @__PURE__ */ o(((e) => {var c = s = null, l = null, u = t, d = !1;do {var f = u.lane & -536870913;- if (f === u.lane ? (Bo & f) === f : (ad & f) === f) {+ if (f === u.lane ? (zo & f) === f : (id & f) === f) {var p = u.revertLane;if (p === 0) l !== null && (l = l.next = {lane: 0,@@ -3224,9 +3224,9 @@ var _ = /* @__PURE__ */ o(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }), f === La && (d = !0);- else if ((Bo & p) === p) {- u = u.next, p === La && (d = !0);+ }), f === Ia && (d = !0);+ else if ((zo & p) === p) {+ u = u.next, p === Ia && (d = !0);continue;} else f = {lane: 0,@@ -3236,8 +3236,8 @@ var _ = /* @__PURE__ */ o(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }, l === null ? (c = l = f, s = o) : l = l.next = f, Vo.lanes |= p, W |= p;- f = u.action, Ko && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);+ }, l === null ? (c = l = f, s = o) : l = l.next = f, Bo.lanes |= p, fd |= p;+ f = u.action, Go && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);} else p = {lane: f,revertLane: u.revertLane,@@ -3246,16 +3246,16 @@ var _ = /* @__PURE__ */ o(((e) => {hasEagerState: u.hasEagerState,eagerState: u.eagerState,next: null- }, l === null ? (c = l = p, s = o) : l = l.next = p, Vo.lanes |= f, W |= f;+ }, l === null ? (c = l = p, s = o) : l = l.next = p, Bo.lanes |= f, fd |= f;u = u.next;} while (u !== null && u !== t);- if (l === null ? s = o : l.next = c, !Rr(o, e.memoizedState) && (Pc = !0, d && (n = Ra, n !== null))) throw n;+ if (l === null ? s = o : l.next = c, !Lr(o, e.memoizedState) && (Nc = !0, d && (n = La, n !== null))) throw n;e.memoizedState = o, e.baseState = s, e.baseQueue = l, r.lastRenderedState = o;}return a === null && (r.lanes = 0), [e.memoizedState, r.dispatch];}- function hs(e) {- var t = ss(), n = t.queue;+ function ms(e) {+ var t = os(), n = t.queue;if (n === null) throw Error(i(311));n.lastRenderedReducer = e;var r = n.dispatch, a = n.pending, o = t.memoizedState;@@ -3265,61 +3265,61 @@ var _ = /* @__PURE__ */ o(((e) => {doo = e(o, s.action), s = s.next;while (s !== a);- Rr(o, t.memoizedState) || (Pc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;+ Lr(o, t.memoizedState) || (Nc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;}return [o, r];}- function gs(e, t, n) {- var r = Vo, a = ss(), o = na;+ function hs(e, t, n) {+ var r = Bo, a = os(), o = ta;if (o) {if (n === void 0) throw Error(i(407));n = n();} else n = t();- var s = !Rr((Ho || a).memoizedState, n);- if (s && (a.memoizedState = n, Pc = !0), a = a.queue, Vs(ys.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Uo !== null && !!(Uo.memoizedState.tag & 1), Is(e ? 9 : 8, { destroy: void 0 }, vs.bind(null, r, a, n, t), null), e) {- if (r.flags |= 2048, rd === null) throw Error(i(349));- o || Bo & 127 || _s(r, t, n);+ var s = !Lr((Vo || a).memoizedState, n);+ if (s && (a.memoizedState = n, Nc = !0), a = a.queue, Bs(vs.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Ho !== null && !!(Ho.memoizedState.tag & 1), Fs(e ? 9 : 8, { destroy: void 0 }, _s.bind(null, r, a, n, t), null), e) {+ if (r.flags |= 2048, nd === null) throw Error(i(349));+ o || zo & 127 || gs(r, t, n);}return n;}- function _s(e, t, n) {+ function gs(e, t, n) {e.flags |= 16384, e = {getSnapshot: t,value: n- }, t = Vo.updateQueue, t === null ? (t = cs(), Vo.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));+ }, t = Bo.updateQueue, t === null ? (t = ss(), Bo.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));}- function vs(e, t, n, r) {- t.value = n, t.getSnapshot = r, bs(t) && xs(e);+ function _s(e, t, n, r) {+ t.value = n, t.getSnapshot = r, ys(t) && bs(e);}- function ys(e, t, n) {+ function vs(e, t, n) {return n(function() {- bs(t) && xs(e);+ ys(t) && bs(e);});}- function bs(e) {+ function ys(e) {var t = e.getSnapshot;e = e.value;try {var n = t();- return !Rr(e, n);+ return !Lr(e, n);} catch {return !0;}}- function xs(e) {- var t = wi(e, 2);+ function bs(e) {+ var t = Ci(e, 2);t !== null && Bd(t, e, 2);}- function Ss(e) {- var t = os();+ function xs(e) {+ var t = as();if (typeof e == "function") {var n = e;- if (e = n(), Ko) {- et(!0);+ if (e = n(), Go) {+ $e(!0);try {n();} finally {- et(!1);+ $e(!1);}}}@@ -3327,15 +3327,15 @@ var _ = /* @__PURE__ */ o(((e) => {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: fs,+ lastRenderedReducer: ds,lastRenderedState: e}, t;}- function Cs(e, t, n, r) {- return e.baseState = n, ms(e, Ho, typeof r == "function" ? r : fs);+ function Ss(e, t, n, r) {+ return e.baseState = n, ps(e, Vo, typeof r == "function" ? r : ds);}- function ws(e, t, n, r, a) {- if (fc(e)) throw Error(i(485));+ function Cs(e, t, n, r, a) {+ if (dc(e)) throw Error(i(485));if (e = t.action, e !== null) {var o = {payload: a,@@ -3350,124 +3350,124 @@ var _ = /* @__PURE__ */ o(((e) => {o.listeners.push(e);}};- he.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, Ts(t, o)) : (o.next = n.next, t.pending = n.next = o);+ me.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, ws(t, o)) : (o.next = n.next, t.pending = n.next = o);}}- function Ts(e, t) {+ function ws(e, t) {var n = t.action, r = t.payload, i = e.state;if (t.isTransition) {- var a = he.T, o = {};- o.types = a === null ? null : a.types, he.T = o;+ var a = me.T, o = {};+ o.types = a === null ? null : a.types, me.T = o;try {- var s = n(i, r), c = he.S;- c !== null && c(o, s), Es(e, t, s);+ var s = n(i, r), c = me.S;+ c !== null && c(o, s), Ts(e, t, s);} catch (n) {- Os(e, t, n);+ Ds(e, t, n);} finally {- a !== null && o.types !== null && (a.types = o.types), he.T = a;+ a !== null && o.types !== null && (a.types = o.types), me.T = a;}} else try {- a = n(i, r), Es(e, t, a);+ a = n(i, r), Ts(e, t, a);} catch (n) {- Os(e, t, n);+ Ds(e, t, n);}}- function Es(e, t, n) {+ function Ts(e, t, n) {typeof n == "object" && n && typeof n.then == "function" ? n.then(function(n) {- Ds(e, t, n);+ Es(e, t, n);}, function(n) {- return Os(e, t, n);- }) : Ds(e, t, n);+ return Ds(e, t, n);+ }) : Es(e, t, n);}- function Ds(e, t, n) {- t.status = "fulfilled", t.value = n, ks(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, Ts(e, n)));+ function Es(e, t, n) {+ t.status = "fulfilled", t.value = n, Os(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, ws(e, n)));}- function Os(e, t, n) {+ function Ds(e, t, n) {var r = e.pending;if (e.pending = null, r !== null) {r = r.next;do- t.status = "rejected", t.reason = n, ks(t), t = t.next;+ t.status = "rejected", t.reason = n, Os(t), t = t.next;while (t !== r);}e.action = null;}- function ks(e) {+ function Os(e) {e = e.listeners;for (var t = 0; t < e.length; t++) (0, e[t])();}- function As(e, t) {+ function ks(e, t) {return t;}- function js(e, t) {- if (na) {- var n = rd.formState;+ function As(e, t) {+ if (ta) {+ var n = nd.formState;if (n !== null) {a: {- var r = Vo;- if (na) {- if (ta) {+ var r = Bo;+ if (ta) {+ if (ea) {b: {- for (var i = ta, a = ia; i.nodeType !== 8;) if (!a || (i = vm(i.nextSibling), i === null)) {+ for (var i = ea, a = ra; i.nodeType !== 8;) if (!a || (i = vm(i.nextSibling), i === null)) {i = null;break b;}a = i.data, i = a === "F!" || a === "F" ? i : null;}if (i) {- ta = vm(i.nextSibling), r = i.data === "F!";+ ea = vm(i.nextSibling), r = i.data === "F!";break a;}}- oa(r);+ aa(r);}r = !1;}r && (t = n[0]);}}- return n = os(), n.memoizedState = n.baseState = t, r = {+ return n = as(), n.memoizedState = n.baseState = t, r = {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: As,+ lastRenderedReducer: ks,lastRenderedState: t- }, n.queue = r, n = lc.bind(null, Vo, r), r.dispatch = n, r = Ss(!1), a = dc.bind(null, Vo, !1, r.queue), r = os(), i = {+ }, n.queue = r, n = cc.bind(null, Bo, r), r.dispatch = n, r = xs(!1), a = uc.bind(null, Bo, !1, r.queue), r = as(), i = {state: t,dispatch: null,action: e,pending: null- }, r.queue = i, n = ws.bind(null, Vo, i, a, n), i.dispatch = n, r.memoizedState = e, [+ }, r.queue = i, n = Cs.bind(null, Bo, i, a, n), i.dispatch = n, r.memoizedState = e, [t,n,!1];}- function Ms(e) {- return Ns(ss(), Ho, e);+ function js(e) {+ return Ms(os(), Vo, e);}- function Ns(e, t, n) {- if (t = ms(e, t, As)[0], e = ps(fs)[0], typeof t == "object" && t && typeof t.then == "function") try {- var r = ls(t);+ function Ms(e, t, n) {+ if (t = ps(e, t, ks)[0], e = fs(ds)[0], typeof t == "object" && t && typeof t.then == "function") try {+ var r = cs(t);} catch (e) {- throw e === qa ? Ya : e;+ throw e === Ka ? Ja : e;}else r = t;- t = ss();+ t = os();var i = t.queue, a = i.dispatch;- return n !== t.memoizedState && (Vo.flags |= 2048, Is(9, { destroy: void 0 }, Ps.bind(null, i, n), null)), [+ return n !== t.memoizedState && (Bo.flags |= 2048, Fs(9, { destroy: void 0 }, Ns.bind(null, i, n), null)), [r,a,e];}- function Ps(e, t) {+ function Ns(e, t) {e.action = t;}- function Fs(e) {- var t = ss(), n = Ho;- if (n !== null) return Ns(t, n, e);- ss(), t = t.memoizedState, n = ss();+ function Ps(e) {+ var t = os(), n = Vo;+ if (n !== null) return Ms(t, n, e);+ os(), t = t.memoizedState, n = os();var r = n.queue.dispatch;return n.memoizedState = e, [t,@@ -3475,60 +3475,60 @@ var _ = /* @__PURE__ */ o(((e) => {!1];}- function Is(e, t, n, r) {+ function Fs(e, t, n, r) {return e = {tag: e,create: n,deps: r,inst: t,next: null- }, t = Vo.updateQueue, t === null && (t = cs(), Vo.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;+ }, t = Bo.updateQueue, t === null && (t = ss(), Bo.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;+ }+ function Is() {+ return os().memoizedState;}- function Ls() {- return ss().memoizedState;+ function Ls(e, t, n, r) {+ var i = as();+ Bo.flags |= e, i.memoizedState = Fs(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);}function Rs(e, t, n, r) {var i = os();- Vo.flags |= e, i.memoizedState = Is(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);- }- function zs(e, t, n, r) {- var i = ss();r = r === void 0 ? null : r;var a = i.memoizedState.inst;- Ho !== null && r !== null && Qo(r, Ho.memoizedState.deps) ? i.memoizedState = Is(t, a, n, r) : (Vo.flags |= e, i.memoizedState = Is(1 | t, a, n, r));+ Vo !== null && r !== null && Zo(r, Vo.memoizedState.deps) ? i.memoizedState = Fs(t, a, n, r) : (Bo.flags |= e, i.memoizedState = Fs(1 | t, a, n, r));}- function Bs(e, t) {- Rs(8390656, 8, e, t);+ function zs(e, t) {+ Ls(8390656, 8, e, t);}- function Vs(e, t) {- zs(2048, 8, e, t);+ function Bs(e, t) {+ Rs(2048, 8, e, t);}- function Hs(e) {- Vo.flags |= 4;- var t = Vo.updateQueue;- if (t === null) t = cs(), Vo.updateQueue = t, t.events = [e];+ function Vs(e) {+ Bo.flags |= 4;+ var t = Bo.updateQueue;+ if (t === null) t = ss(), Bo.updateQueue = t, t.events = [e];else {var n = t.events;n === null ? t.events = [e] : n.push(e);}}- function Us(e) {- var t = ss().memoizedState;- return Hs({+ function Hs(e) {+ var t = os().memoizedState;+ return Vs({ref: t,nextImpl: e}), function() {- if (nd & 2) throw Error(i(440));+ if (td & 2) throw Error(i(440));return t.impl.apply(void 0, arguments);};}+ function Us(e, t) {+ return Rs(4, 2, e, t);+ }function Ws(e, t) {- return zs(4, 2, e, t);+ return Rs(4, 4, e, t);}function Gs(e, t) {- return zs(4, 4, e, t);- }- function Ks(e, t) {if (typeof t == "function") {e = e();var n = t(e);@@ -3540,76 +3540,76 @@ var _ = /* @__PURE__ */ o(((e) => {t.current = null;};}- function qs(e, t, n) {- n = n == null ? null : n.concat([e]), zs(4, 4, Ks.bind(null, t, e), n);+ function Ks(e, t, n) {+ n = n == null ? null : n.concat([e]), Rs(4, 4, Gs.bind(null, t, e), n);}- function Js() {}- function Ys(e, t) {- var n = ss();+ function qs() {}+ function Js(e, t) {+ var n = os();t = t === void 0 ? null : t;var r = n.memoizedState;- return t !== null && Qo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);+ return t !== null && Zo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);}- function Xs(e, t) {- var n = ss();+ function Ys(e, t) {+ var n = os();t = t === void 0 ? null : t;var r = n.memoizedState;- if (t !== null && Qo(t, r[1])) return r[0];- if (r = e(), Ko) {- et(!0);+ if (t !== null && Zo(t, r[1])) return r[0];+ if (r = e(), Go) {+ $e(!0);try {e();} finally {- et(!1);+ $e(!1);}}return n.memoizedState = [r, t], r;}- function Zs(e, t, n) {- return n === void 0 || Bo & 1073741824 && !(ad & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Rd(), Vo.lanes |= e, W |= e, n);+ function Xs(e, t, n) {+ return n === void 0 || zo & 1073741824 && !(id & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Rd(), Bo.lanes |= e, fd |= e, n);}- function Qs(e, t, n, r) {- return Rr(n, t) ? n : wo.current === null ? !(Bo & 106) || Bo & 1073741824 && !(ad & 261930) ? (Pc = !0, e.memoizedState = n) : (e = Rd(), Vo.lanes |= e, W |= e, t) : (e = Zs(e, n, r), Rr(e, t) || (Pc = !0), e);+ function Zs(e, t, n, r) {+ return Lr(n, t) ? n : Co.current === null ? !(zo & 106) || zo & 1073741824 && !(id & 261930) ? (Nc = !0, e.memoizedState = n) : (e = Rd(), Bo.lanes |= e, fd |= e, t) : (e = Xs(e, n, r), Lr(e, t) || (Nc = !0), e);}- function $s(e, t, n, r, i) {- var a = ge.p;- ge.p = a !== 0 && 8 > a ? a : 8;- var o = he.T, s = {};- s.types = o === null ? null : o.types, he.T = s, dc(e, !1, t, n);+ function Qs(e, t, n, r, i) {+ var a = he.p;+ he.p = a !== 0 && 8 > a ? a : 8;+ var o = me.T, s = {};+ s.types = o === null ? null : o.types, me.T = s, uc(e, !1, t, n);try {- var c = i(), l = he.S;- l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? uc(e, t, Va(c, r), Ld(e)) : uc(e, t, r, Ld(e));+ var c = i(), l = me.S;+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? lc(e, t, Ba(c, r), Ld(e)) : lc(e, t, r, Ld(e));} catch (n) {- uc(e, t, {+ lc(e, t, {then: function() {},status: "rejected",reason: n}, Ld());} finally {- ge.p = a, o !== null && s.types !== null && (o.types = s.types), he.T = o;+ he.p = a, o !== null && s.types !== null && (o.types = s.types), me.T = o;}}- function ec() {}- function tc(e, t, n, r) {+ function $s() {}+ function ec(e, t, n, r) {if (e.tag !== 5) throw Error(i(476));- var a = nc(e).queue;- $s(e, a, t, _e, n === null ? ec : function() {- return rc(e), n(r);+ var a = tc(e).queue;+ Qs(e, a, t, ge, n === null ? $s : function() {+ return nc(e), n(r);});}- function nc(e) {+ function tc(e) {var t = e.memoizedState;if (t !== null) return t;t = {- memoizedState: _e,- baseState: _e,+ memoizedState: ge,+ baseState: ge,baseQueue: null,queue: {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: fs,- lastRenderedState: _e+ lastRenderedReducer: ds,+ lastRenderedState: ge},next: null};@@ -3622,40 +3622,40 @@ var _ = /* @__PURE__ */ o(((e) => {pending: null,lanes: 0,dispatch: null,- lastRenderedReducer: fs,+ lastRenderedReducer: ds,lastRenderedState: n},next: null}, e.memoizedState = t, e = e.alternate, e !== null && (e.memoizedState = t), t;}- function rc(e) {- var t = nc(e);- t.next === null && (t = e.alternate.memoizedState), uc(e, t.next.queue, {}, Ld());+ function nc(e) {+ var t = tc(e);+ t.next === null && (t = e.alternate.memoizedState), lc(e, t.next.queue, {}, Ld());+ }+ function rc() {+ return Sa(gh);}function ic() {- return Ca(gh);+ return os().memoizedState;}function ac() {- return ss().memoizedState;+ return os().memoizedState;}- function oc() {- return ss().memoizedState;- }- function sc(e) {+ function oc(e) {for (var t = e.return; t !== null;) {switch (t.tag) {case 24:case 3:var n = Ld();- e = ho(n);- var r = go(t, e, n);- r !== null && (Bd(r, t, n), _o(r, t, n)), t = { cache: Aa() }, e.payload = t;+ e = mo(n);+ var r = ho(t, e, n);+ r !== null && (Bd(r, t, n), go(r, t, n)), t = { cache: ka() }, e.payload = t;return;}t = t.return;}}- function cc(e, t, n) {+ function sc(e, t, n) {var r = Ld();n = {lane: r,@@ -3665,12 +3665,12 @@ var _ = /* @__PURE__ */ o(((e) => {hasEagerState: !1,eagerState: null,next: null- }, fc(e) ? pc(t, n) : (n = Ci(e, t, n, r), n !== null && (Bd(n, e, r), mc(n, t, r)));+ }, dc(e) ? fc(t, n) : (n = Si(e, t, n, r), n !== null && (Bd(n, e, r), pc(n, t, r)));}- function lc(e, t, n) {- uc(e, t, n, Ld());+ function cc(e, t, n) {+ lc(e, t, n, Ld());}- function uc(e, t, n, r) {+ function lc(e, t, n, r) {var i = {lane: r,revertLane: 0,@@ -3680,18 +3680,18 @@ var _ = /* @__PURE__ */ o(((e) => {eagerState: null,next: null};- if (fc(e)) pc(t, i);+ if (dc(e)) fc(t, i);else {var a = e.alternate;if (e.lanes === 0 && (a === null || a.lanes === 0) && (a = t.lastRenderedReducer, a !== null)) try {var o = t.lastRenderedState, s = a(o, n);- if (i.hasEagerState = !0, i.eagerState = s, Rr(s, o)) return Si(e, t, i, 0), rd === null && xi(), !1;+ if (i.hasEagerState = !0, i.eagerState = s, Lr(s, o)) return xi(e, t, i, 0), nd === null && bi(), !1;} catch {}- if (n = Ci(e, t, i, r), n !== null) return Bd(n, e, r), mc(n, t, r), !0;+ if (n = Si(e, t, i, r), n !== null) return Bd(n, e, r), pc(n, t, r), !0;}return !1;}- function dc(e, t, n, r) {+ function uc(e, t, n, r) {if (r = {lane: 2,revertLane: Vf(),@@ -3700,91 +3700,91 @@ var _ = /* @__PURE__ */ o(((e) => {hasEagerState: !1,eagerState: null,next: null- }, fc(e)) {+ }, dc(e)) {if (t) throw Error(i(479));- } else t = Ci(e, n, r, 2), t !== null && Bd(t, e, 2);+ } else t = Si(e, n, r, 2), t !== null && Bd(t, e, 2);}- function fc(e) {+ function dc(e) {var t = e.alternate;- return e === Vo || t !== null && t === Vo;+ return e === Bo || t !== null && t === Bo;}- function pc(e, t) {- Go = Wo = !0;+ function fc(e, t) {+ Wo = Uo = !0;var n = e.pending;n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t;}- function mc(e, t, n) {+ function pc(e, t, n) {if (n & 4194048) {var r = t.lanes;- r &= e.pendingLanes, n |= r, t.lanes = n, vt(e, n);- }- }- var hc = {- readContext: Ca,- use: us,- useCallback: Zo,- useContext: Zo,- useEffect: Zo,- useImperativeHandle: Zo,- useLayoutEffect: Zo,- useInsertionEffect: Zo,- useMemo: Zo,- useReducer: Zo,- useRef: Zo,- useState: Zo,- useDebugValue: Zo,- useDeferredValue: Zo,- useTransition: Zo,- useSyncExternalStore: Zo,- useId: Zo,- useHostTransitionStatus: Zo,- useFormState: Zo,- useActionState: Zo,- useOptimistic: Zo,- useMemoCache: Zo,- useCacheRefresh: Zo,- useEffectEvent: Zo- }, gc = {- readContext: Ca,- use: us,+ r &= e.pendingLanes, n |= r, t.lanes = n, _t(e, n);+ }+ }+ var mc = {+ readContext: Sa,+ use: ls,+ useCallback: Xo,+ useContext: Xo,+ useEffect: Xo,+ useImperativeHandle: Xo,+ useLayoutEffect: Xo,+ useInsertionEffect: Xo,+ useMemo: Xo,+ useReducer: Xo,+ useRef: Xo,+ useState: Xo,+ useDebugValue: Xo,+ useDeferredValue: Xo,+ useTransition: Xo,+ useSyncExternalStore: Xo,+ useId: Xo,+ useHostTransitionStatus: Xo,+ useFormState: Xo,+ useActionState: Xo,+ useOptimistic: Xo,+ useMemoCache: Xo,+ useCacheRefresh: Xo,+ useEffectEvent: Xo+ }, hc = {+ readContext: Sa,+ use: ls,useCallback: function(e, t) {- return os().memoizedState = [e, t === void 0 ? null : t], e;+ return as().memoizedState = [e, t === void 0 ? null : t], e;},- useContext: Ca,- useEffect: Bs,+ useContext: Sa,+ useEffect: zs,useImperativeHandle: function(e, t, n) {- n = n == null ? null : n.concat([e]), Rs(4194308, 4, Ks.bind(null, t, e), n);+ n = n == null ? null : n.concat([e]), Ls(4194308, 4, Gs.bind(null, t, e), n);},useLayoutEffect: function(e, t) {- return Rs(4194308, 4, e, t);+ return Ls(4194308, 4, e, t);},useInsertionEffect: function(e, t) {- Rs(4, 2, e, t);+ Ls(4, 2, e, t);},useMemo: function(e, t) {- var n = os();+ var n = as();t = t === void 0 ? null : t;var r = e();- if (Ko) {- et(!0);+ if (Go) {+ $e(!0);try {e();} finally {- et(!1);+ $e(!1);}}return n.memoizedState = [r, t], r;},useReducer: function(e, t, n) {- var r = os();+ var r = as();if (n !== void 0) {var i = n(t);- if (Ko) {- et(!0);+ if (Go) {+ $e(!0);try {n(t);} finally {- et(!1);+ $e(!1);}}} else i = t;@@ -3794,54 +3794,54 @@ var _ = /* @__PURE__ */ o(((e) => {dispatch: null,lastRenderedReducer: e,lastRenderedState: i- }, r.queue = e, e = e.dispatch = cc.bind(null, Vo, e), [r.memoizedState, e];+ }, r.queue = e, e = e.dispatch = sc.bind(null, Bo, e), [r.memoizedState, e];},useRef: function(e) {- var t = os();+ var t = as();return e = { current: e }, t.memoizedState = e;},useState: function(e) {- e = Ss(e);- var t = e.queue, n = lc.bind(null, Vo, t);+ e = xs(e);+ var t = e.queue, n = cc.bind(null, Bo, t);return t.dispatch = n, [e.memoizedState, n];},- useDebugValue: Js,+ useDebugValue: qs,useDeferredValue: function(e, t) {- return Zs(os(), e, t);+ return Xs(as(), e, t);},useTransition: function() {- var e = Ss(!1);- return e = $s.bind(null, Vo, e.queue, !0, !1), os().memoizedState = e, [!1, e];+ var e = xs(!1);+ return e = Qs.bind(null, Bo, e.queue, !0, !1), as().memoizedState = e, [!1, e];},useSyncExternalStore: function(e, t, n) {- var r = Vo, a = os();- if (na) {+ var r = Bo, a = as();+ if (ta) {if (n === void 0) throw Error(i(407));n = n();} else {- if (n = t(), rd === null) throw Error(i(349));- ad & 127 || _s(r, t, n);+ if (n = t(), nd === null) throw Error(i(349));+ id & 127 || gs(r, t, n);}a.memoizedState = n;var o = {value: n,getSnapshot: t};- return a.queue = o, Bs(ys.bind(null, r, o, e), [e]), r.flags |= 2048, Is(9, { destroy: void 0 }, vs.bind(null, r, o, n, t), null), n;+ return a.queue = o, zs(vs.bind(null, r, o, e), [e]), r.flags |= 2048, Fs(9, { destroy: void 0 }, _s.bind(null, r, o, n, t), null), n;},useId: function() {- var e = os(), t = rd.identifierPrefix;- if (na) {- var n = Ji, r = qi;- n = (r & ~(1 << 32 - tt(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = qo++, 0 < n && (t += "H" + n.toString(32)), t += "_";- } else n = Xo++, t = "_" + t + "r_" + n.toString(32) + "_";+ var e = as(), t = nd.identifierPrefix;+ if (ta) {+ var n = qi, r = Ki;+ n = (r & ~(1 << 32 - et(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Ko++, 0 < n && (t += "H" + n.toString(32)), t += "_";+ } else n = Yo++, t = "_" + t + "r_" + n.toString(32) + "_";return e.memoizedState = t;},- useHostTransitionStatus: ic,- useFormState: js,- useActionState: js,+ useHostTransitionStatus: rc,+ useFormState: As,+ useActionState: As,useOptimistic: function(e) {- var t = os();+ var t = as();t.memoizedState = t.baseState = e;var n = {pending: null,@@ -3850,132 +3850,132 @@ var _ = /* @__PURE__ */ o(((e) => {lastRenderedReducer: null,lastRenderedState: null};- return t.queue = n, t = dc.bind(null, Vo, !0, n), n.dispatch = t, [e, t];+ return t.queue = n, t = uc.bind(null, Bo, !0, n), n.dispatch = t, [e, t];},- useMemoCache: ds,+ useMemoCache: us,useCacheRefresh: function() {- return os().memoizedState = sc.bind(null, Vo);+ return as().memoizedState = oc.bind(null, Bo);},useEffectEvent: function(e) {- var t = os(), n = { impl: e };+ var t = as(), n = { impl: e };return t.memoizedState = n, function() {- if (nd & 2) throw Error(i(440));+ if (td & 2) throw Error(i(440));return n.impl.apply(void 0, arguments);};}- }, _c = {- readContext: Ca,- use: us,- useCallback: Ys,- useContext: Ca,- useEffect: Vs,- useImperativeHandle: qs,- useInsertionEffect: Ws,- useLayoutEffect: Gs,- useMemo: Xs,- useReducer: ps,- useRef: Ls,+ }, gc = {+ readContext: Sa,+ use: ls,+ useCallback: Js,+ useContext: Sa,+ useEffect: Bs,+ useImperativeHandle: Ks,+ useInsertionEffect: Us,+ useLayoutEffect: Ws,+ useMemo: Ys,+ useReducer: fs,+ useRef: Is,useState: function() {- return ps(fs);+ return fs(ds);},- useDebugValue: Js,+ useDebugValue: qs,useDeferredValue: function(e, t) {- return Qs(ss(), Ho.memoizedState, e, t);+ return Zs(os(), Vo.memoizedState, e, t);},useTransition: function() {- var e = ps(fs)[0], t = ss().memoizedState;- return [typeof e == "boolean" ? e : ls(e), t];+ var e = fs(ds)[0], t = os().memoizedState;+ return [typeof e == "boolean" ? e : cs(e), t];},- useSyncExternalStore: gs,- useId: ac,- useHostTransitionStatus: ic,- useFormState: Ms,- useActionState: Ms,+ useSyncExternalStore: hs,+ useId: ic,+ useHostTransitionStatus: rc,+ useFormState: js,+ useActionState: js,useOptimistic: function(e, t) {- return Cs(ss(), Ho, e, t);+ return Ss(os(), Vo, e, t);},- useMemoCache: ds,- useCacheRefresh: oc,- useEffectEvent: Us- }, vc = {- readContext: Ca,- use: us,- useCallback: Ys,- useContext: Ca,- useEffect: Vs,- useImperativeHandle: qs,- useInsertionEffect: Ws,- useLayoutEffect: Gs,- useMemo: Xs,- useReducer: hs,- useRef: Ls,+ useMemoCache: us,+ useCacheRefresh: ac,+ useEffectEvent: Hs+ }, _c = {+ readContext: Sa,+ use: ls,+ useCallback: Js,+ useContext: Sa,+ useEffect: Bs,+ useImperativeHandle: Ks,+ useInsertionEffect: Us,+ useLayoutEffect: Ws,+ useMemo: Ys,+ useReducer: ms,+ useRef: Is,useState: function() {- return hs(fs);+ return ms(ds);},- useDebugValue: Js,+ useDebugValue: qs,useDeferredValue: function(e, t) {- var n = ss();- return Ho === null ? Zs(n, e, t) : Qs(n, Ho.memoizedState, e, t);+ var n = os();+ return Vo === null ? Xs(n, e, t) : Zs(n, Vo.memoizedState, e, t);},useTransition: function() {- var e = hs(fs)[0], t = ss().memoizedState;- return [typeof e == "boolean" ? e : ls(e), t];+ var e = ms(ds)[0], t = os().memoizedState;+ return [typeof e == "boolean" ? e : cs(e), t];},- useSyncExternalStore: gs,- useId: ac,- useHostTransitionStatus: ic,- useFormState: Fs,- useActionState: Fs,+ useSyncExternalStore: hs,+ useId: ic,+ useHostTransitionStatus: rc,+ useFormState: Ps,+ useActionState: Ps,useOptimistic: function(e, t) {- var n = ss();- return Ho === null ? (n.baseState = e, [e, n.queue.dispatch]) : Cs(n, Ho, e, t);+ var n = os();+ return Vo === null ? (n.baseState = e, [e, n.queue.dispatch]) : Ss(n, Vo, e, t);},- useMemoCache: ds,- useCacheRefresh: oc,- useEffectEvent: Us+ useMemoCache: us,+ useCacheRefresh: ac,+ useEffectEvent: Hs};- function yc(e, t, n, r) {+ function vc(e, t, n, r) {t = e.memoizedState, n = n(r, t), n = n == null ? t : D({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n);}- var bc = {+ var yc = {enqueueSetState: function(e, t, n) {e = e._reactInternals;- var r = Ld(), i = ho(r);- i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Bd(t, e, r), _o(t, e, r));+ var r = Ld(), i = mo(r);+ i.payload = t, n != null && (i.callback = n), t = ho(e, i, r), t !== null && (Bd(t, e, r), go(t, e, r));},enqueueReplaceState: function(e, t, n) {e = e._reactInternals;- var r = Ld(), i = ho(r);- i.tag = 1, i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Bd(t, e, r), _o(t, e, r));+ var r = Ld(), i = mo(r);+ i.tag = 1, i.payload = t, n != null && (i.callback = n), t = ho(e, i, r), t !== null && (Bd(t, e, r), go(t, e, r));},enqueueForceUpdate: function(e, t) {e = e._reactInternals;- var n = Ld(), r = ho(n);- r.tag = 2, t != null && (r.callback = t), t = go(e, r, n), t !== null && (Bd(t, e, n), _o(t, e, n));+ var n = Ld(), r = mo(n);+ r.tag = 2, t != null && (r.callback = t), t = ho(e, r, n), t !== null && (Bd(t, e, n), go(t, e, n));}};- function xc(e, t, n, r, i, a, o) {- return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !zr(n, r) || !zr(i, a) : !0;+ function bc(e, t, n, r, i, a, o) {+ return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !Rr(n, r) || !Rr(i, a) : !0;}- function Sc(e, t, n, r) {- e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && bc.enqueueReplaceState(t, t.state, null);+ function xc(e, t, n, r) {+ e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && yc.enqueueReplaceState(t, t.state, null);}- function Cc(e, t) {+ function Sc(e, t) {var n = t;if ("ref" in t) for (var r in n = {}, t) r !== "ref" && (n[r] = t[r]);if (e = e.defaultProps) for (var i in n === t && (n = D({}, n)), e) n[i] === void 0 && (n[i] = e[i]);return n;}- function wc(e) {- _i(e);+ function Cc(e) {+ gi(e);}- function Tc(e) {+ function wc(e) {console.error(e);}- function Ec(e) {- _i(e);+ function Tc(e) {+ gi(e);}- function Dc(e, t) {+ function Ec(e, t) {try {var n = e.onUncaughtError;n(t.value, { componentStack: t.stack });@@ -3985,7 +3985,7 @@ var _ = /* @__PURE__ */ o(((e) => {});}}- function Oc(e, t, n) {+ function Dc(e, t, n) {try {var r = e.onCaughtError;r(n.value, {@@ -3998,39 +3998,39 @@ var _ = /* @__PURE__ */ o(((e) => {});}}- function kc(e, t, n) {- return n = ho(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {- Dc(e, t);+ function Oc(e, t, n) {+ return n = mo(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {+ Ec(e, t);}, n;}- function Ac(e) {- return e = ho(e), e.tag = 3, e;+ function kc(e) {+ return e = mo(e), e.tag = 3, e;}- function jc(e, t, n, r) {+ function Ac(e, t, n, r) {var i = n.type.getDerivedStateFromError;if (typeof i == "function") {var a = r.value;e.payload = function() {return i(a);}, e.callback = function() {- Oc(t, n, r);+ Dc(t, n, r);};}var o = n.stateNode;o !== null && typeof o.componentDidCatch == "function" && (e.callback = function() {- Oc(t, n, r), typeof i != "function" && (wd === null ? wd = /* @__PURE__ */ new Set([this]) : wd.add(this));+ Dc(t, n, r), typeof i != "function" && (wd === null ? wd = /* @__PURE__ */ new Set([this]) : wd.add(this));var e = r.stack;this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });});}- function Mc(e, t, n, r, a) {+ function jc(e, t, n, r, a) {if (n.flags |= 32768, typeof r == "object" && r && typeof r.then == "function") {- if (t = n.alternate, t !== null && ba(t, n, a, !0), n = ko.current, n !== null) {+ if (t = n.alternate, t !== null && ya(t, n, a, !0), n = Oo.current, n !== null) {switch (n.tag) {case 31:case 13:- case 19: return Ao === null ? Qd() : n.alternate === null && fd === 0 && (fd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Xa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), xf(e, r, a)), !1;- case 22: return n.flags |= 65536, r === Xa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {+ case 19: return ko === null ? Qd() : n.alternate === null && dd === 0 && (dd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Ya ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), xf(e, r, a)), !1;+ case 22: return n.flags |= 65536, r === Ya ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {transitions: null,markerInstances: null,retryQueue: /* @__PURE__ */ new Set([r])@@ -4040,15 +4040,15 @@ var _ = /* @__PURE__ */ o(((e) => {}return xf(e, r, a), Qd(), !1;}- if (na) return t = ko.current, t === null ? (r !== aa && (t = Error(i(423), { cause: r }), fa(zi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = zi(r, n), a = kc(e.stateNode, r, a), vo(e, a), fd !== 4 && (fd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== aa && (e = Error(i(422), { cause: r }), fa(zi(e, n)))), !1;+ if (ta) return t = Oo.current, t === null ? (r !== ia && (t = Error(i(423), { cause: r }), da(Ri(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Ri(r, n), a = Oc(e.stateNode, r, a), _o(e, a), dd !== 4 && (dd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== ia && (e = Error(i(422), { cause: r }), da(Ri(e, n)))), !1;var o = Error(i(520), { cause: r });- if (o = zi(o, n), _d === null ? _d = [o] : _d.push(o), fd !== 4 && (fd = 2), t === null) return !0;- r = zi(r, n), n = t;+ if (o = Ri(o, n), _d === null ? _d = [o] : _d.push(o), dd !== 4 && (dd = 2), t === null) return !0;+ r = Ri(r, n), n = t;do {switch (n.tag) {- case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = kc(n.stateNode, r, e), vo(n, e), !1;+ case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Oc(n.stateNode, r, e), _o(n, e), !1;case 1:- if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (wd === null || !wd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Ac(a), jc(a, e, n, r), vo(n, a), !1;+ if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (wd === null || !wd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = kc(a), Ac(a, e, n, r), _o(n, a), !1;break;case 22: if (n.memoizedState !== null) return n.flags |= 65536, !1;}@@ -4056,41 +4056,41 @@ var _ = /* @__PURE__ */ o(((e) => {} while (n !== null);return !1;}- var Nc = Error(i(461)), Pc = !1;- function Fc(e, t, n, r) {- t.child = e === null ? uo(t, null, n, r) : lo(t, e.child, n, r);+ var Mc = Error(i(461)), Nc = !1;+ function Pc(e, t, n, r) {+ t.child = e === null ? lo(t, null, n, r) : co(t, e.child, n, r);}- function Ic(e, t, n, r, i) {+ function Fc(e, t, n, r, i) {n = n.render;var a = t.ref;if ("ref" in r) {var o = {};for (var s in r) s !== "ref" && (o[s] = r[s]);} else o = r;- return Sa(t), r = $o(e, t, n, o, a, i), s = rs(), e !== null && !Pc ? (is(e, t, i), ul(e, t, i)) : (na && s && Zi(t), t.flags |= 1, Fc(e, t, r, i), t.child);+ return xa(t), r = Qo(e, t, n, o, a, i), s = ns(), e !== null && !Nc ? (rs(e, t, i), ll(e, t, i)) : (ta && s && Xi(t), t.flags |= 1, Pc(e, t, r, i), t.child);}- function Lc(e, t, n, r, i) {+ function Ic(e, t, n, r, i) {if (e === null) {var a = n.type;- return typeof a == "function" && !Ai(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Rc(e, t, a, r, i)) : (e = Ni(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);+ return typeof a == "function" && !ki(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Lc(e, t, a, r, i)) : (e = Mi(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);}- if (a = e.child, !dl(e, i)) {+ if (a = e.child, !ul(e, i)) {var o = a.memoizedProps;- if (n = n.compare, n = n === null ? zr : n, n(o, r) && e.ref === t.ref) return ul(e, t, i);+ if (n = n.compare, n = n === null ? Rr : n, n(o, r) && e.ref === t.ref) return ll(e, t, i);}- return t.flags |= 1, e = ji(a, r), e.ref = t.ref, e.return = t, t.child = e;+ return t.flags |= 1, e = Ai(a, r), e.ref = t.ref, e.return = t, t.child = e;}- function Rc(e, t, n, r, i) {+ function Lc(e, t, n, r, i) {if (e !== null) {var a = e.memoizedProps;- if (zr(a, r) && e.ref === t.ref) {- if (Pc = !1, t.pendingProps = r = a, dl(e, i)) e.flags & 131072 && (Pc = !0);- else return t.lanes = e.lanes, ul(e, t, i);+ if (Rr(a, r) && e.ref === t.ref) {+ if (Nc = !1, t.pendingProps = r = a, ul(e, i)) e.flags & 131072 && (Nc = !0);+ else return t.lanes = e.lanes, ll(e, t, i);}}- return Kc(e, t, n, r, i);+ return Gc(e, t, n, r, i);}- function zc(e, t, n, r) {+ function Rc(e, t, n, r) {var i = r.children, a = e === null ? null : e.memoizedState;if (e === null && t.stateNode === null && (t.stateNode = {_visibility: 1,@@ -4103,17 +4103,17 @@ var _ = /* @__PURE__ */ o(((e) => {for (r = t.child = e.child, i = 0; r !== null;) i = i | r.lanes | r.childLanes, r = r.sibling;r = i & ~a;} else r = 0, t.child = null;- return Vc(e, t, a, n, r);+ return Bc(e, t, a, n, r);}if (n & 536870912) t.memoizedState = {baseLanes: 0,cachePool: null- }, e !== null && Ga(t, a === null ? null : a.cachePool), a === null ? Do() : Eo(t, a), No(t);- else return r = t.lanes = 536870912, Vc(e, t, a === null ? n : a.baseLanes | n, n, r);- } else a === null ? (e !== null && Ga(t, null), Do(), Po()) : (Ga(t, a.cachePool), Eo(t, a), Po(), t.memoizedState = null);- return Fc(e, t, i, n), t.child;+ }, e !== null && Wa(t, a === null ? null : a.cachePool), a === null ? Eo() : To(t, a), Mo(t);+ else return r = t.lanes = 536870912, Bc(e, t, a === null ? n : a.baseLanes | n, n, r);+ } else a === null ? (e !== null && Wa(t, null), Eo(), No()) : (Wa(t, a.cachePool), To(t, a), No(), t.memoizedState = null);+ return Pc(e, t, i, n), t.child;}- function Bc(e, t) {+ function zc(e, t) {return e !== null && e.tag === 22 || t.stateNode !== null || (t.stateNode = {_visibility: 1,_pendingMarkers: null,@@ -4121,68 +4121,68 @@ var _ = /* @__PURE__ */ o(((e) => {_transitions: null}), t.sibling;}- function Vc(e, t, n, r, i) {- var a = Wa();+ function Bc(e, t, n, r, i) {+ var a = Ua();return a = a === null ? null : {- parent: ka._currentValue,+ parent: Oa._currentValue,pool: a}, t.memoizedState = {baseLanes: n,cachePool: a- }, e !== null && Ga(t, null), Do(), No(t), e !== null && ba(e, t, r, !0), t.childLanes = i, null;+ }, e !== null && Wa(t, null), Eo(), Mo(t), e !== null && ya(e, t, r, !0), t.childLanes = i, null;}- function Hc(e, t) {- return t = tl({+ function Vc(e, t) {+ return t = el({mode: t.mode,children: t.children}, e.mode), t.ref = e.ref, e.child = t, t.return = e, t;}- function Uc(e, t, n) {- return lo(t, e.child, null, n), e = Hc(t, t.pendingProps), e.flags |= 2, Fo(t), t.memoizedState = null, e;+ function Hc(e, t, n) {+ return co(t, e.child, null, n), e = Vc(t, t.pendingProps), e.flags |= 2, Po(t), t.memoizedState = null, e;}- function Wc(e, t, n) {+ function Uc(e, t, n) {var r = t.pendingProps, a = !!(t.flags & 128);if (t.flags &= -129, e === null) {- if (na) {- if (r.mode === "hidden") return e = Hc(t, r), t.lanes = 536870912, e.memoizedState = {+ if (ta) {+ if (r.mode === "hidden") return e = Vc(t, r), t.lanes = 536870912, e.memoizedState = {baseLanes: 0,cachePool: null- }, Bc(null, e);- if (Mo(t), (e = ta) ? (e = mm(e, ia), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {+ }, zc(null, e);+ if (jo(t), (e = ea) ? (e = mm(e, ra), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,- treeContext: Ki === null ? null : {- id: qi,- overflow: Ji+ treeContext: Gi === null ? null : {+ id: Ki,+ overflow: qi},retryLane: 536870912,hydrationErrors: null- }, n = Ii(e), n.return = t, t.child = n, ea = t, ta = null)) : e = null, e === null) throw oa(t);+ }, n = Fi(e), n.return = t, t.child = n, $i = t, ea = null)) : e = null, e === null) throw aa(t);return t.lanes = 536870912, null;}- return Hc(t, r);+ return Vc(t, r);}var o = e.memoizedState;if (o !== null) {var s = o.dehydrated;- if (Mo(t), a) {- if (t.flags & 256) t.flags &= -257, t = Uc(e, t, n);+ if (jo(t), a) {+ if (t.flags & 256) t.flags &= -257, t = Hc(e, t, n);else if (t.memoizedState !== null) t.child = e.child, t.flags |= 128, t = null;else throw Error(i(558));- } else if (Pc || ba(e, t, n, !1), a = (n & e.childLanes) !== 0, Pc || a) {- if (wo.current === null) {- if (r = rd, r !== null && (s = yt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, wi(e, s), Bd(r, e, s), Nc;+ } else if (Nc || ya(e, t, n, !1), a = (n & e.childLanes) !== 0, Nc || a) {+ if (Co.current === null) {+ if (r = nd, r !== null && (s = vt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ci(e, s), Bd(r, e, s), Mc;Qd();}- t = Uc(e, t, n);- } else e = o.treeContext, ta = vm(s.nextSibling), ea = t, na = !0, ra = null, ia = !1, e !== null && $i(t, e), t = Hc(t, r), t.flags |= 134221824;+ t = Hc(e, t, n);+ } else e = o.treeContext, ea = vm(s.nextSibling), $i = t, ta = !0, na = null, ra = !1, e !== null && Qi(t, e), t = Vc(t, r), t.flags |= 134221824;return t;}- return e = ji(e.child, {+ return e = Ai(e.child, {mode: r.mode,children: r.children}), e.ref = t.ref, t.child = e, e.return = t, e;}- function Gc(e, t) {+ function Wc(e, t) {var n = t.ref;if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816);else {@@ -4190,135 +4190,135 @@ var _ = /* @__PURE__ */ o(((e) => {(e === null || e.ref !== n) && (t.flags |= 4194816);}}- function Kc(e, t, n, r, i) {- return Sa(t), n = $o(e, t, n, r, void 0, i), r = rs(), e !== null && !Pc ? (is(e, t, i), ul(e, t, i)) : (na && r && Zi(t), t.flags |= 1, Fc(e, t, n, i), t.child);+ function Gc(e, t, n, r, i) {+ return xa(t), n = Qo(e, t, n, r, void 0, i), r = ns(), e !== null && !Nc ? (rs(e, t, i), ll(e, t, i)) : (ta && r && Xi(t), t.flags |= 1, Pc(e, t, n, i), t.child);}- function qc(e, t, n, r, i, a) {- return Sa(t), t.updateQueue = null, n = ts(t, r, n, i), es(e), r = rs(), e !== null && !Pc ? (is(e, t, a), ul(e, t, a)) : (na && r && Zi(t), t.flags |= 1, Fc(e, t, n, a), t.child);+ function Kc(e, t, n, r, i, a) {+ return xa(t), t.updateQueue = null, n = es(t, r, n, i), $o(e), r = ns(), e !== null && !Nc ? (rs(e, t, a), ll(e, t, a)) : (ta && r && Xi(t), t.flags |= 1, Pc(e, t, n, a), t.child);}- function Jc(e, t, n, r, i) {- if (Sa(t), t.stateNode === null) {- var a = Di, o = n.contextType;- typeof o == "object" && o && (a = Ca(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = bc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, po(t), o = n.contextType, a.context = typeof o == "object" && o ? Ca(o) : Di, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (yc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && bc.enqueueReplaceState(a, a.state, null), xo(t, r, a, i), bo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;+ function qc(e, t, n, r, i) {+ if (xa(t), t.stateNode === null) {+ var a = Ei, o = n.contextType;+ typeof o == "object" && o && (a = Sa(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = yc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, fo(t), o = n.contextType, a.context = typeof o == "object" && o ? Sa(o) : Ei, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (vc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && yc.enqueueReplaceState(a, a.state, null), bo(t, r, a, i), yo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;} else if (e === null) {a = t.stateNode;- var s = t.memoizedProps, c = Cc(n, s);+ var s = t.memoizedProps, c = Sc(n, s);a.props = c;var l = a.context, u = n.contextType;- o = Di, typeof u == "object" && u && (o = Ca(u));+ o = Ei, typeof u == "object" && u && (o = Sa(u));var d = n.getDerivedStateFromProps;- u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && Sc(t, a, r, o), fo = !1;+ u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && xc(t, a, r, o), uo = !1;var f = t.memoizedState;- a.state = f, xo(t, r, a, i), bo(), l = t.memoizedState, s || f !== l || fo ? (typeof d == "function" && (yc(t, n, d, r), l = t.memoizedState), (c = fo || xc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);+ a.state = f, bo(t, r, a, i), yo(), l = t.memoizedState, s || f !== l || uo ? (typeof d == "function" && (vc(t, n, d, r), l = t.memoizedState), (c = uo || bc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);} else {- a = t.stateNode, mo(e, t), o = t.memoizedProps, u = Cc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Di, typeof l == "object" && l && (c = Ca(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && Sc(t, a, r, c), fo = !1, f = t.memoizedState, a.state = f, xo(t, r, a, i), bo();+ a = t.stateNode, po(e, t), o = t.memoizedProps, u = Sc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Ei, typeof l == "object" && l && (c = Sa(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && xc(t, a, r, c), uo = !1, f = t.memoizedState, a.state = f, bo(t, r, a, i), yo();var p = t.memoizedState;- o !== d || f !== p || fo || e !== null && e.dependencies !== null && xa(e.dependencies) ? (typeof s == "function" && (yc(t, n, s, r), p = t.memoizedState), (u = fo || xc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && xa(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);+ o !== d || f !== p || uo || e !== null && e.dependencies !== null && ba(e.dependencies) ? (typeof s == "function" && (vc(t, n, s, r), p = t.memoizedState), (u = uo || bc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && ba(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);}- return a = r, Gc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = lo(t, e.child, null, i), t.child = lo(t, null, n, i)) : Fc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = ul(e, t, i), e;+ return a = r, Wc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = co(t, e.child, null, i), t.child = co(t, null, n, i)) : Pc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = ll(e, t, i), e;}- function Yc(e, t, n, r) {- return ua(), t.flags |= 256, Fc(e, t, n, r), t.child;+ function Jc(e, t, n, r) {+ return la(), t.flags |= 256, Pc(e, t, n, r), t.child;}- var Xc = {+ var Yc = {dehydrated: null,treeContext: null,retryLane: 0,hydrationErrors: null};- function Zc(e) {+ function Xc(e) {return {baseLanes: e,- cachePool: Ka()+ cachePool: Ga()};}- function Qc(e, t, n) {+ function Zc(e, t, n) {return e = e === null ? 0 : e.childLanes & ~n, t && (e |= hd), e;}- function $c(e, t, n) {+ function Qc(e, t, n) {var r = t.pendingProps, i = !1, a = !!(t.flags & 128), o;- if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Io.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {- if (na) {- if (i ? jo(t) : Po(), (e = ta) ? (e = mm(e, ia), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {+ if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Fo.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {+ if (ta) {+ if (i ? Ao(t) : No(), (e = ea) ? (e = mm(e, ra), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {dehydrated: e,- treeContext: Ki === null ? null : {- id: qi,- overflow: Ji+ treeContext: Gi === null ? null : {+ id: Ki,+ overflow: qi},retryLane: 536870912,hydrationErrors: null- }, n = Ii(e), n.return = t, t.child = n, ea = t, ta = null)) : e = null, e === null) throw oa(t);+ }, n = Fi(e), n.return = t, t.child = n, $i = t, ea = null)) : e = null, e === null) throw aa(t);return t.lanes = gm(e) ? 32 : 536870912, null;}- return a = r.children, r = r.fallback, i ? (Po(), i = t.mode, a = tl({+ return a = r.children, r = r.fallback, i ? (No(), i = t.mode, a = el({mode: "hidden",children: a- }, i), r = Pi(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Zc(n), r.childLanes = Qc(e, o, n), t.memoizedState = Xc, Bc(null, r)) : (jo(t), el(t, a));+ }, i), r = Ni(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Xc(n), r.childLanes = Zc(e, o, n), t.memoizedState = Yc, zc(null, r)) : (Ao(t), $c(t, a));}var s = e.memoizedState;if (s !== null) {var c = s.dehydrated;- if (c !== null) return rl(e, t, a, o, r, c, s, n);+ if (c !== null) return nl(e, t, a, o, r, c, s, n);}- return i ? (Po(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = ji(s, {+ return i ? (No(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Ai(s, {mode: "hidden",children: r.children- }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Pi(i, a, n, null), i.flags |= 2) : i = ji(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Bc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Zc(n) : (a = i.cachePool, a === null ? a = Ka() : (s = ka._currentValue, a = a.parent === s ? a : {+ }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Ni(i, a, n, null), i.flags |= 2) : i = Ai(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, zc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Xc(n) : (a = i.cachePool, a === null ? a = Ga() : (s = Oa._currentValue, a = a.parent === s ? a : {parent: s,pool: s}), i = {baseLanes: i.baseLanes | n,cachePool: a- }), r.memoizedState = i, r.childLanes = Qc(e, o, n), t.memoizedState = Xc, Bc(e.child, r)) : (jo(t), n = e.child, e = n.sibling, n = ji(n, {+ }), r.memoizedState = i, r.childLanes = Zc(e, o, n), t.memoizedState = Yc, zc(e.child, r)) : (Ao(t), n = e.child, e = n.sibling, n = Ai(n, {mode: "visible",children: r.children}), n.return = t, n.sibling = null, e !== null && (o = t.deletions, o === null ? (t.deletions = [e], t.flags |= 16) : o.push(e)), t.child = n, t.memoizedState = null, n);}- function el(e, t) {- return t = tl({+ function $c(e, t) {+ return t = el({mode: "visible",children: t}, e.mode), t.return = e, e.child = t;}- function tl(e, t) {- return e = ki(22, e, null, t), e.lanes = 0, e;+ function el(e, t) {+ return e = Oi(22, e, null, t), e.lanes = 0, e;}- function nl(e, t, n) {- return lo(t, e.child, null, n), e = el(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;+ function tl(e, t, n) {+ return co(t, e.child, null, n), e = $c(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;}- function rl(e, t, n, r, a, o, s, c) {- if (n) return t.flags & 256 ? (jo(t), t.flags &= -257, nl(e, t, c)) : t.memoizedState === null ? (Po(), o = a.fallback, s = t.mode, a = tl({+ function nl(e, t, n, r, a, o, s, c) {+ if (n) return t.flags & 256 ? (Ao(t), t.flags &= -257, tl(e, t, c)) : t.memoizedState === null ? (No(), o = a.fallback, s = t.mode, a = el({mode: "visible",children: a.children- }, s), o = Pi(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, lo(t, e.child, null, c), a = t.child, a.memoizedState = Zc(c), a.childLanes = Qc(e, r, c), t.memoizedState = Xc, Bc(null, a)) : (Po(), t.child = e.child, t.flags |= 128, null);- if (jo(t), gm(o)) {+ }, s), o = Ni(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, co(t, e.child, null, c), a = t.child, a.memoizedState = Xc(c), a.childLanes = Zc(e, r, c), t.memoizedState = Yc, zc(null, a)) : (No(), t.child = e.child, t.flags |= 128, null);+ if (Ao(t), gm(o)) {if (r = o.nextSibling && o.nextSibling.dataset, r) var l = r.dgst;- return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, fa({+ return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, da({value: a,source: null,stack: null- })), nl(e, t, c);+ })), tl(e, t, c);}- if (Pc || ba(e, t, c, !1), r = (c & e.childLanes) !== 0, Pc || r) {- if (wo.current !== null) return nl(e, t, c);- if (r = rd, r !== null && (a = yt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, wi(e, a), Bd(r, e, a), Nc;- return hm(o) || Qd(), nl(e, t, c);+ if (Nc || ya(e, t, c, !1), r = (c & e.childLanes) !== 0, Nc || r) {+ if (Co.current !== null) return tl(e, t, c);+ if (r = nd, r !== null && (a = vt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ci(e, a), Bd(r, e, a), Mc;+ return hm(o) || Qd(), tl(e, t, c);}- return hm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ta = vm(o.nextSibling), ea = t, na = !0, ra = null, ia = !1, e !== null && $i(t, e), t = el(t, a.children), t.flags |= 134221824, t);+ return hm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ea = vm(o.nextSibling), $i = t, ta = !0, na = null, ra = !1, e !== null && Qi(t, e), t = $c(t, a.children), t.flags |= 134221824, t);}- function il(e, t, n) {+ function rl(e, t, n) {e.lanes |= t;var r = e.alternate;- r !== null && (r.lanes |= t), va(e.return, t, n);+ r !== null && (r.lanes |= t), _a(e.return, t, n);}- function al(e) {+ function il(e) {for (var t = null; e !== null;) {var n = e.alternate;- n !== null && zo(n) === null && (t = e), e = e.sibling;+ n !== null && Ro(n) === null && (t = e), e = e.sibling;}return t;}- function ol(e, t, n, r, i, a) {+ function al(e, t, n, r, i, a) {var o = e.memoizedState;o === null ? e.memoizedState = {isBackwards: t,@@ -4330,22 +4330,22 @@ var _ = /* @__PURE__ */ o(((e) => {treeForkCount: a} : (o.isBackwards = t, o.rendering = null, o.renderingStartTime = 0, o.last = r, o.tail = n, o.tailMode = i, o.treeForkCount = a);}- function sl(e) {+ function ol(e) {var t = e.child;for (e.child = null; t !== null;) {var n = t.sibling;t.sibling = e.child, e.child = t, t = n;}}- function cl(e, t, n) {+ function sl(e, t, n) {var r = t.pendingProps, i = r.revealOrder, a = r.tail;r = r.children;- var o = Io.current;- if (t.flags & 128) return Lo(t, o), null;+ var o = Fo.current;+ if (t.flags & 128) return Io(t, o), null;var s = !!(o & 2);- if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Lo(t, o), i === "backwards" && e !== null ? (sl(e), Fc(e, t, r, n), sl(e)) : Fc(e, t, r, n), r = na ? Ui : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {- if (e.tag === 13) e.memoizedState !== null && il(e, n, t);- else if (e.tag === 19) il(e, n, t);+ if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Io(t, o), i === "backwards" && e !== null ? (ol(e), Pc(e, t, r, n), ol(e)) : Pc(e, t, r, n), r = ta ? Hi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {+ if (e.tag === 13) e.memoizedState !== null && rl(e, n, t);+ else if (e.tag === 19) rl(e, n, t);else if (e.child !== null) {e.child.return = e, e = e.child;continue;@@ -4359,142 +4359,142 @@ var _ = /* @__PURE__ */ o(((e) => {}switch (i) {case "backwards":- n = al(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, sl(t)), ol(t, !0, i, null, a, r);+ n = il(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, ol(t)), al(t, !0, i, null, a, r);break;case "unstable_legacy-backwards":for (n = null, i = t.child, t.child = null; i !== null;) {- if (e = i.alternate, e !== null && zo(e) === null) {+ if (e = i.alternate, e !== null && Ro(e) === null) {t.child = i;break;}e = i.sibling, i.sibling = n, n = i, i = e;}- ol(t, !0, n, null, a, r);+ al(t, !0, n, null, a, r);break;case "together":- ol(t, !1, null, null, void 0, r);+ al(t, !1, null, null, void 0, r);break;case "independent":t.memoizedState = null;break;- default: n = al(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), ol(t, !1, i, n, a, r);+ default: n = il(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), al(t, !1, i, n, a, r);}return t.child;}- function ll(e, t, n) {+ function cl(e, t, n) {var r = t.pendingProps;- return ga(t, t.type, r.value), Fc(e, t, r.children, n), t.child;+ return ha(t, t.type, r.value), Pc(e, t, r.children, n), t.child;}- function ul(e, t, n) {- if (e !== null && (t.dependencies = e.dependencies), W |= t.lanes, (n & t.childLanes) === 0) {+ function ll(e, t, n) {+ if (e !== null && (t.dependencies = e.dependencies), fd |= t.lanes, (n & t.childLanes) === 0) {if (e !== null) {- if (ba(e, t, n, !1), (n & t.childLanes) === 0) return null;+ if (ya(e, t, n, !1), (n & t.childLanes) === 0) return null;} else return null;}if (e !== null && t.child !== e.child) throw Error(i(153));if (t.child !== null) {- for (e = t.child, n = ji(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = ji(e, e.pendingProps), n.return = t;+ for (e = t.child, n = Ai(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = Ai(e, e.pendingProps), n.return = t;n.sibling = null;}return t.child;}- function dl(e, t) {- return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && xa(e)));+ function ul(e, t) {+ return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && ba(e)));}- function fl(e, t, n) {+ function dl(e, t, n) {switch (t.tag) {case 3:- De(t, t.stateNode.containerInfo), ga(t, ka, e.memoizedState.cache), ua();+ Ee(t, t.stateNode.containerInfo), ha(t, Oa, e.memoizedState.cache), la();break;case 27:case 5:- ke(t);+ Oe(t);break;case 4:- De(t, t.stateNode.containerInfo);+ Ee(t, t.stateNode.containerInfo);break;case 10:- ga(t, t.type, t.memoizedProps.value);+ ha(t, t.type, t.memoizedProps.value);break;case 31:- if (t.memoizedState !== null) return t.flags |= 128, Mo(t), null;+ if (t.memoizedState !== null) return t.flags |= 128, jo(t), null;break;case 13:var r = t.memoizedState;if (r !== null) {- if (r.dehydrated !== null) return jo(t), t.flags |= 128, null;- r = ba(e, t, n, !1);+ if (r.dehydrated !== null) return Ao(t), t.flags |= 128, null;+ r = ya(e, t, n, !1);var i = t.child.childLanes;- return r || (n & i) !== 0 ? $c(e, t, n) : (jo(t), e = ul(e, t, n), e === null ? null : e.sibling);+ return r || (n & i) !== 0 ? Qc(e, t, n) : (Ao(t), e = ll(e, t, n), e === null ? null : e.sibling);}- jo(t);+ Ao(t);break;case 19:- if (t.flags & 128) return cl(e, t, n);- if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (ba(e, t, n, !1), (n & t.childLanes) !== 0), i) {- if (r) return cl(e, t, n);+ if (t.flags & 128) return sl(e, t, n);+ if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (ya(e, t, n, !1), (n & t.childLanes) !== 0), i) {+ if (r) return sl(e, t, n);t.flags |= 128;}- if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Lo(t, Io.current), r) break;+ if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Io(t, Fo.current), r) break;return null;- case 22: return t.lanes = 0, zc(e, t, n, t.pendingProps);- case 24: ga(t, ka, e.memoizedState.cache);+ case 22: return t.lanes = 0, Rc(e, t, n, t.pendingProps);+ case 24: ha(t, Oa, e.memoizedState.cache);}- return ul(e, t, n);+ return ll(e, t, n);}- function pl(e, t, n) {+ function fl(e, t, n) {if (e !== null) {- if (e.memoizedProps !== t.pendingProps) Pc = !0;+ if (e.memoizedProps !== t.pendingProps) Nc = !0;else {- if (!dl(e, n) && !(t.flags & 128)) return Pc = !1, fl(e, t, n);- Pc = !!(e.flags & 131072);+ if (!ul(e, n) && !(t.flags & 128)) return Nc = !1, dl(e, t, n);+ Nc = !!(e.flags & 131072);}- } else Pc = !1, na && t.flags & 1048576 && Xi(t, Ui, t.index);+ } else Nc = !1, ta && t.flags & 1048576 && Yi(t, Hi, t.index);switch (t.lanes = 0, t.tag) {case 16:a: {var r = t.pendingProps;- if (e = $a(t.elementType), t.type = e, typeof e == "function") Ai(e) ? (r = Cc(e, r), t.tag = 1, t = Jc(null, t, e, r, n)) : (t.tag = 0, t = Kc(null, t, e, r, n));+ if (e = Qa(t.elementType), t.type = e, typeof e == "function") ki(e) ? (r = Sc(e, r), t.tag = 1, t = qc(null, t, e, r, n)) : (t.tag = 0, t = Gc(null, t, e, r, n));else {if (e != null) {var a = e.$$typeof;- if (a === P) {- t.tag = 11, t = Ic(null, t, e, r, n);+ if (a === F) {+ t.tag = 11, t = Fc(null, t, e, r, n);break a;}- if (a === re) {- t.tag = 14, t = Lc(null, t, e, r, n);+ if (a === ne) {+ t.tag = 14, t = Ic(null, t, e, r, n);break a;}- if (a === te) {- t.tag = 10, t.type = e, t = ll(null, t, n);+ if (a === ee) {+ t.tag = 10, t.type = e, t = cl(null, t, n);break a;}}- throw t = pe(e) || e, Error(i(306, t, ""));+ throw t = fe(e) || e, Error(i(306, t, ""));}}return t;- case 0: return Kc(e, t, t.type, t.pendingProps, n);- case 1: return r = t.type, a = Cc(r, t.pendingProps), Jc(e, t, r, a, n);+ case 0: return Gc(e, t, t.type, t.pendingProps, n);+ case 1: return r = t.type, a = Sc(r, t.pendingProps), qc(e, t, r, a, n);case 3:a: {- if (De(t, t.stateNode.containerInfo), e === null) throw Error(i(387));+ if (Ee(t, t.stateNode.containerInfo), e === null) throw Error(i(387));r = t.pendingProps;var o = t.memoizedState;- a = o.element, mo(e, t), xo(t, r, null, n);+ a = o.element, po(e, t), bo(t, r, null, n);var s = t.memoizedState;- if (r = s.cache, ga(t, ka, r), r !== o.cache && ya(t, [ka], n, !0), bo(), r = s.element, o.isDehydrated) {+ if (r = s.cache, ha(t, Oa, r), r !== o.cache && va(t, [Oa], n, !0), yo(), r = s.element, o.isDehydrated) {if (o = {element: r,isDehydrated: !1,cache: s.cache}, t.updateQueue.baseState = o, t.memoizedState = o, t.flags & 256) {- t = Yc(e, t, r, n);+ t = Jc(e, t, r, n);break a;}if (r !== a) {- a = zi(Error(i(424)), t), fa(a), t = Yc(e, t, r, n);+ a = Ri(Error(i(424)), t), da(a), t = Jc(e, t, r, n);break a;}switch (e = t.stateNode.containerInfo, e.nodeType) {@@ -4503,76 +4503,76 @@ var _ = /* @__PURE__ */ o(((e) => {break;default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;}- for (ta = vm(e.firstChild), ea = t, na = !0, ra = null, ia = !0, n = uo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;+ for (ea = vm(e.firstChild), $i = t, ta = !0, na = null, ra = !0, n = lo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;} else {- if (ua(), r === a) {- t = ul(e, t, n);+ if (la(), r === a) {+ t = ll(e, t, n);break a;}- Fc(e, t, r, n);+ Pc(e, t, r, n);}t = t.child;}return t;- case 26: return Gc(e, t), e === null ? (n = Hm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : na || (t.stateNode = xp(t.type, t.pendingProps, Te.current, t)) : t.memoizedState = Hm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;- case 27: return ke(t), e === null && na && (r = t.stateNode = wm(t.type, t.pendingProps, Te.current), ea = t, ia = !0, a = ta, jp(t.type) ? (ym = a, ta = vm(r.firstChild)) : ta = a), Fc(e, t, t.pendingProps.children, n), Gc(e, t), e === null && (t.flags |= 4194304), t.child;- case 5: return e === null && na && ((a = r = ta) && (r = fm(r, t.type, t.pendingProps, ia), r === null ? a = !1 : (t.stateNode = r, ea = t, ta = vm(r.firstChild), ia = !1, a = !0)), a || oa(t)), ke(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, Sp(a, o) ? r = null : s !== null && Sp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = $o(e, t, ns, null, null, n), gh._currentValue = a), Gc(e, t), Fc(e, t, r, n), t.child;- case 6: return e === null && na && ((e = n = ta) && (n = pm(n, t.pendingProps, ia), n === null ? e = !1 : (t.stateNode = n, ea = t, ta = null, e = !0)), e || oa(t)), null;- case 13: return $c(e, t, n);- case 4: return De(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = lo(t, null, r, n) : Fc(e, t, r, n), t.child;- case 11: return Ic(e, t, t.type, t.pendingProps, n);- case 7: return r = t.pendingProps, Gc(e, t), Fc(e, t, r, n), t.child;- case 8: return Fc(e, t, t.pendingProps.children, n), t.child;- case 12: return Fc(e, t, t.pendingProps.children, n), t.child;- case 10: return ll(e, t, n);- case 9: return a = t.type._context, r = t.pendingProps.children, Sa(t), a = Ca(a), r = r(a), t.flags |= 1, Fc(e, t, r, n), t.child;- case 14: return Lc(e, t, t.type, t.pendingProps, n);- case 15: return Rc(e, t, t.type, t.pendingProps, n);- case 19: return cl(e, t, n);- case 31: return Wc(e, t, n);- case 22: return zc(e, t, n, t.pendingProps);- case 24: return Sa(t), r = Ca(ka), e === null ? (a = Wa(), a === null && (a = rd, o = Aa(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {+ case 26: return Wc(e, t), e === null ? (n = Hm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : ta || (t.stateNode = xp(t.type, t.pendingProps, we.current, t)) : t.memoizedState = Hm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;+ case 27: return Oe(t), e === null && ta && (r = t.stateNode = wm(t.type, t.pendingProps, we.current), $i = t, ra = !0, a = ea, jp(t.type) ? (ym = a, ea = vm(r.firstChild)) : ea = a), Pc(e, t, t.pendingProps.children, n), Wc(e, t), e === null && (t.flags |= 4194304), t.child;+ case 5: return e === null && ta && ((a = r = ea) && (r = fm(r, t.type, t.pendingProps, ra), r === null ? a = !1 : (t.stateNode = r, $i = t, ea = vm(r.firstChild), ra = !1, a = !0)), a || aa(t)), Oe(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, Sp(a, o) ? r = null : s !== null && Sp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = Qo(e, t, ts, null, null, n), gh._currentValue = a), Wc(e, t), Pc(e, t, r, n), t.child;+ case 6: return e === null && ta && ((e = n = ea) && (n = pm(n, t.pendingProps, ra), n === null ? e = !1 : (t.stateNode = n, $i = t, ea = null, e = !0)), e || aa(t)), null;+ case 13: return Qc(e, t, n);+ case 4: return Ee(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = co(t, null, r, n) : Pc(e, t, r, n), t.child;+ case 11: return Fc(e, t, t.type, t.pendingProps, n);+ case 7: return r = t.pendingProps, Wc(e, t), Pc(e, t, r, n), t.child;+ case 8: return Pc(e, t, t.pendingProps.children, n), t.child;+ case 12: return Pc(e, t, t.pendingProps.children, n), t.child;+ case 10: return cl(e, t, n);+ case 9: return a = t.type._context, r = t.pendingProps.children, xa(t), a = Sa(a), r = r(a), t.flags |= 1, Pc(e, t, r, n), t.child;+ case 14: return Ic(e, t, t.type, t.pendingProps, n);+ case 15: return Lc(e, t, t.type, t.pendingProps, n);+ case 19: return sl(e, t, n);+ case 31: return Uc(e, t, n);+ case 22: return Rc(e, t, n, t.pendingProps);+ case 24: return xa(t), r = Sa(Oa), e === null ? (a = Ua(), a === null && (a = nd, o = ka(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {parent: r,cache: a- }, po(t), ga(t, ka, a)) : ((e.lanes & n) !== 0 && (mo(e, t), xo(t, null, null, n), bo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, ga(t, ka, r), r !== a.cache && ya(t, [ka], n, !0)) : (a = {+ }, fo(t), ha(t, Oa, a)) : ((e.lanes & n) !== 0 && (po(e, t), bo(t, null, null, n), yo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, ha(t, Oa, r), r !== a.cache && va(t, [Oa], n, !0)) : (a = {parent: r,cache: r- }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), ga(t, ka, r))), Fc(e, t, t.pendingProps.children, n), t.child;+ }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), ha(t, Oa, r))), Pc(e, t, t.pendingProps.children, n), t.child;case 30: return t.stateNode === null && (t.stateNode = {autoName: null,paired: null,clones: null,ref: null- }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : na && Zi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Gc(e, t), Fc(e, t, r.children, n), t.child;+ }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : ta && Xi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Wc(e, t), Pc(e, t, r.children, n), t.child;case 29: throw t.pendingProps;}throw Error(i(156, t.tag));}- function ml(e) {+ function pl(e) {e.flags |= 4;}- function hl(e, t, n, r, i) {+ function ml(e, t, n, r, i) {var a;if ((a = !!(e.mode & 32)) && (a = n === null ? rh(t, r) : rh(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {if (e.flags |= 16777216, (i & 335544128) === i) {if (e.stateNode.complete) e.flags |= 8192;else if (Yd()) e.flags |= 8192;- else throw eo = Xa, Ja;+ else throw $a = Ya, qa;}} else e.flags &= -16777217;}- function gl(e, t) {+ function hl(e, t) {if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;else if (e.flags |= 16777216, !ih(t)) {if (Yd()) e.flags |= 8192;- else throw eo = Xa, Ja;+ else throw $a = Ya, qa;}}- function _l(e, t) {- t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : pt(), e.lanes |= t, gd |= t);+ function gl(e, t) {+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ft(), e.lanes |= t, gd |= t);}- function vl(e, t) {- if (!na) switch (e.tailMode) {+ function _l(e, t) {+ if (!ta) switch (e.tailMode) {case "visible": break;case "collapsed":for (var n = e.tail, r = null; n !== null;) n.alternate !== null && (r = n), n = n.sibling;@@ -4583,15 +4583,15 @@ var _ = /* @__PURE__ */ o(((e) => {n === null ? e.tail = null : n.sibling = null;}}- function yl(e) {+ function vl(e) {var t = e.alternate !== null && e.alternate.child === e.child, n = 0, r = 0;if (t) for (var i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags & 1206910976, r |= i.flags & 1206910976, i.return = e, i = i.sibling;else for (i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags, r |= i.flags, i.return = e, i = i.sibling;return e.subtreeFlags |= r, e.childLanes = n, t;}- function bl(e, t, n) {+ function yl(e, t, n) {var r = t.pendingProps;- switch (Qi(t), t.tag) {+ switch (Zi(t), t.tag) {case 16:case 15:case 0:@@ -4600,32 +4600,32 @@ var _ = /* @__PURE__ */ o(((e) => {case 8:case 12:case 9:- case 14: return yl(t), null;- case 1: return yl(t), null;- case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), _a(ka), Oe(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (la(t) ? ml(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, da())), yl(t), null;+ case 14: return vl(t), null;+ case 1: return vl(t), null;+ case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), ga(Oa), De(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (ca(t) ? pl(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, ua())), vl(t), null;case 26:var a = t.type, o = t.memoizedState;- return e === null ? (ml(t), o === null ? (yl(t), hl(t, a, null, r, n)) : (yl(t), gl(t, o))) : o ? o === e.memoizedState ? (yl(t), t.flags &= -16777217) : (ml(t), yl(t), gl(t, o)) : (e = e.memoizedProps, e !== r && ml(t), yl(t), hl(t, a, e, r, n)), null;+ return e === null ? (pl(t), o === null ? (vl(t), ml(t, a, null, r, n)) : (vl(t), hl(t, o))) : o ? o === e.memoizedState ? (vl(t), t.flags &= -16777217) : (pl(t), vl(t), hl(t, o)) : (e = e.memoizedProps, e !== r && pl(t), vl(t), ml(t, a, e, r, n)), null;case 27:- if (Ae(t), n = Te.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ml(t);+ if (ke(t), n = we.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && pl(t);else {if (!r) {if (t.stateNode === null) throw Error(i(166));- return yl(t), t.subtreeFlags &= -33554433, null;+ return vl(t), t.subtreeFlags &= -33554433, null;}- e = Ce.current, la(t) ? sa(t, e) : (e = wm(a, r, n), t.stateNode = e, ml(t));+ e = Se.current, ca(t) ? oa(t, e) : (e = wm(a, r, n), t.stateNode = e, pl(t));}- return yl(t), t.subtreeFlags &= -33554433, null;+ return vl(t), t.subtreeFlags &= -33554433, null;case 5:- if (Ae(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ml(t);+ if (ke(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && pl(t);else {if (!r) {if (t.stateNode === null) throw Error(i(166));- return yl(t), t.subtreeFlags &= -33554433, null;+ return vl(t), t.subtreeFlags &= -33554433, null;}- if (o = Ce.current, la(t)) sa(t, o);+ if (o = Se.current, ca(t)) oa(t, o);else {- var s = vp(Te.current);+ var s = vp(we.current);switch (o) {case 1:o = s.createElementNS("http://www.w3.org/2000/svg", a);@@ -4649,7 +4649,7 @@ var _ = /* @__PURE__ */ o(((e) => {default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);}}- o[Tt] = t, o[Et] = r;+ o[wt] = t, o[Tt] = r;a: for (s = t.child; s !== null;) {if (s.tag === 5 || s.tag === 6) o.appendChild(s.stateNode);else if (s.tag !== 4 && s.tag !== 27 && s.child !== null) {@@ -4676,71 +4676,71 @@ var _ = /* @__PURE__ */ o(((e) => {break a;default: r = !1;}- r && ml(t);+ r && pl(t);}}- return yl(t), t.subtreeFlags &= -33554433, hl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;+ return vl(t), t.subtreeFlags &= -33554433, ml(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;case 6:- if (e && t.stateNode != null) e.memoizedProps !== r && ml(t);+ if (e && t.stateNode != null) e.memoizedProps !== r && pl(t);else {if (typeof r != "string" && t.stateNode === null) throw Error(i(166));- if (e = Te.current, la(t)) {- if (e = t.stateNode, n = t.memoizedProps, r = null, a = ea, a !== null) switch (a.tag) {+ if (e = we.current, ca(t)) {+ if (e = t.stateNode, n = t.memoizedProps, r = null, a = $i, a !== null) switch (a.tag) {case 27:case 5: r = a.memoizedProps;}- e[Tt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || cp(e.nodeValue, n)), e || oa(t, !0);- } else e = vp(e).createTextNode(r), e[Tt] = t, t.stateNode = e;+ e[wt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || cp(e.nodeValue, n)), e || aa(t, !0);+ } else e = vp(e).createTextNode(r), e[wt] = t, t.stateNode = e;}- return yl(t), null;+ return vl(t), null;case 31:if (n = t.memoizedState, e === null || e.memoizedState !== null) {- if (r = la(t), n !== null) {+ if (r = ca(t), n !== null) {if (e === null) {if (!r) throw Error(i(318));if (e = t.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(557));- e[Tt] = t;- } else ua(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;- yl(t), e = !1;- } else n = da(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;- if (!e) return t.flags & 256 ? (Fo(t), t) : (Fo(t), null);+ e[wt] = t;+ } else la(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ vl(t), e = !1;+ } else n = ua(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;+ if (!e) return t.flags & 256 ? (Po(t), t) : (Po(t), null);if (t.flags & 128) throw Error(i(558));}- return yl(t), null;+ return vl(t), null;case 13:if (r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {- if (a = la(t), r !== null && r.dehydrated !== null) {+ if (a = ca(t), r !== null && r.dehydrated !== null) {if (e === null) {if (!a) throw Error(i(318));if (a = t.memoizedState, a = a === null ? null : a.dehydrated, !a) throw Error(i(317));- a[Tt] = t;- } else ua(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;- yl(t), a = !1;- } else a = da(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;- if (!a) return t.flags & 256 ? (Fo(t), t) : (Fo(t), null);+ a[wt] = t;+ } else la(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ vl(t), a = !1;+ } else a = ua(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;+ if (!a) return t.flags & 256 ? (Po(t), t) : (Po(t), null);}- return Fo(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), _l(t, t.updateQueue), yl(t), null);- case 4: return Oe(), e === null && Qf(t.stateNode.containerInfo), t.flags |= 67108864, yl(t), null;- case 10: return _a(t.type), yl(t), null;+ return Po(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), gl(t, t.updateQueue), vl(t), null);+ case 4: return De(), e === null && Qf(t.stateNode.containerInfo), t.flags |= 67108864, vl(t), null;+ case 10: return ga(t.type), vl(t), null;case 19:- if (Ro(t), r = t.memoizedState, r === null) return yl(t), null;+ if (Lo(t), r = t.memoizedState, r === null) return vl(t), null;if (a = !!(t.flags & 128), o = r.rendering, o === null) {- if (a) vl(r, !1);+ if (a) _l(r, !1);else {- if (fd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {- if (o = zo(e), o !== null) {- for (t.flags |= 128, vl(r, !1), e = o.updateQueue, t.updateQueue = e, _l(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Mi(n, e), n = n.sibling;- return Lo(t, Io.current & 1 | 2), na && Yi(t, r.treeForkCount), t.child;+ if (dd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {+ if (o = Ro(e), o !== null) {+ for (t.flags |= 128, _l(r, !1), e = o.updateQueue, t.updateQueue = e, gl(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) ji(n, e), n = n.sibling;+ return Io(t, Fo.current & 1 | 2), ta && Ji(t, r.treeForkCount), t.child;}e = e.sibling;}- r.tail !== null && Ue() > Sd && (t.flags |= 128, a = !0, vl(r, !1), t.lanes = 4194304);+ r.tail !== null && He() > Sd && (t.flags |= 128, a = !0, _l(r, !1), t.lanes = 4194304);}} else {if (!a) {- if (e = zo(o), e !== null) {- if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, _l(t, e), vl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !na) return yl(t), null;- } else 2 * Ue() - r.renderingStartTime > Sd && n !== 536870912 && (t.flags |= 128, a = !0, vl(r, !1), t.lanes = 4194304);+ if (e = Ro(o), e !== null) {+ if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, gl(t, e), _l(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !ta) return vl(t), null;+ } else 2 * He() - r.renderingStartTime > Sd && n !== 536870912 && (t.flags |= 128, a = !0, _l(r, !1), t.lanes = 4194304);}r.isBackwards ? (o.sibling = t.child, t.child = o) : (e = r.last, e === null ? t.child = o : e.sibling = o, r.last = o);}@@ -4756,79 +4756,79 @@ var _ = /* @__PURE__ */ o(((e) => {}n = !0;}- return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Ue(), e.sibling = null, o = Io.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || na ? Lo(t, o) : (n = o, Se(ko, t), Se(Io, n), Ao === null && (Ao = t)), na && Yi(t, r.treeForkCount), e;+ return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = He(), e.sibling = null, o = Fo.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || ta ? Io(t, o) : (n = o, xe(Oo, t), xe(Fo, n), ko === null && (ko = t)), ta && Ji(t, r.treeForkCount), e;}- return yl(t), null;+ return vl(t), null;case 22:- case 23: return Fo(t), Oo(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (yl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : yl(t), n = t.updateQueue, n !== null && _l(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && xe(Ua), null;- case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), _a(ka), yl(t), null;+ case 23: return Po(t), Do(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (vl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : vl(t), n = t.updateQueue, n !== null && gl(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && be(Ha), null;+ case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), ga(Oa), vl(t), null;case 25: return null;- case 30: return t.flags |= 33554432, yl(t), null;+ case 30: return t.flags |= 33554432, vl(t), null;}throw Error(i(156, t.tag));}- function xl(e, t) {- switch (Qi(t), t.tag) {+ function bl(e, t) {+ switch (Zi(t), t.tag) {case 1: return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 3: return _a(ka), Oe(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;+ case 3: return ga(Oa), De(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;case 26:case 27:- case 5: return Ae(t), null;+ case 5: return ke(t), null;case 31:if (t.memoizedState !== null) {- if (Fo(t), t.alternate === null) throw Error(i(340));- ua();+ if (Po(t), t.alternate === null) throw Error(i(340));+ la();}return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;case 13:- if (Fo(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {+ if (Po(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {if (t.alternate === null) throw Error(i(340));- ua();+ la();}return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 19: return Ro(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;- case 4: return Oe(), null;- case 10: return _a(t.type), null;+ case 19: return Lo(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;+ case 4: return De(), null;+ case 10: return ga(t.type), null;case 22:- case 23: return Fo(t), Oo(), e !== null && xe(Ua), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 24: return _a(ka), null;+ case 23: return Po(t), Do(), e !== null && be(Ha), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;+ case 24: return ga(Oa), null;case 25: return null;default: return null;}}- function Sl(e, t) {- switch (Qi(t), t.tag) {+ function xl(e, t) {+ switch (Zi(t), t.tag) {case 3:- _a(ka), Oe();+ ga(Oa), De();break;case 26:case 27:case 5:- Ae(t);+ ke(t);break;case 4:- Oe();+ De();break;case 31:- t.memoizedState !== null && Fo(t);+ t.memoizedState !== null && Po(t);break;case 13:- Fo(t);+ Po(t);break;case 19:- Ro(t);+ Lo(t);break;case 10:- _a(t.type);+ ga(t.type);break;case 22:case 23:- Fo(t), Oo(), e !== null && xe(Ua);+ Po(t), Do(), e !== null && be(Ha);break;- case 24: _a(ka);+ case 24: ga(Oa);}}- function U(e, t) {+ function Sl(e, t) {try {var n = t.updateQueue, r = n === null ? null : n.lastEffect;if (r !== null) {@@ -4847,7 +4847,7 @@ var _ = /* @__PURE__ */ o(((e) => {bf(t, t.return, e);}}- function Cl(e, t, n) {+ function W(e, t, n) {try {var r = t.updateQueue, i = r === null ? null : r.lastEffect;if (i !== null) {@@ -4873,26 +4873,26 @@ var _ = /* @__PURE__ */ o(((e) => {bf(t, t.return, e);}}- function wl(e) {+ function Cl(e) {var t = e.updateQueue;if (t !== null) {var n = e.stateNode;try {- Co(t, n);+ So(t, n);} catch (t) {bf(e, e.return, t);}}}- function Tl(e, t, n) {- n.props = Cc(e.type, e.memoizedProps), n.state = e.memoizedState;+ function wl(e, t, n) {+ n.props = Sc(e.type, e.memoizedProps), n.state = e.memoizedState;try {n.componentWillUnmount();} catch (n) {bf(e, t, n);}}- function El(e, t) {+ function Tl(e, t) {try {var n = e.ref;if (n !== null) {@@ -4903,7 +4903,7 @@ var _ = /* @__PURE__ */ o(((e) => {var r = e.stateNode;break;case 30:- var i = e.stateNode, a = mi(e.memoizedProps, i);+ var i = e.stateNode, a = pi(e.memoizedProps, i);(i.ref === null || i.ref.name !== a) && (i.ref = Up(a)), r = i.ref;break;case 7:@@ -4921,7 +4921,7 @@ var _ = /* @__PURE__ */ o(((e) => {bf(e, t, n);}}- function Dl(e, t) {+ function El(e, t) {var n = e.ref, r = e.refCleanup;if (n !== null) {if (typeof r == "function") try {@@ -4939,22 +4939,22 @@ var _ = /* @__PURE__ */ o(((e) => {else n.current = null;}}- function Ol(e, t) {+ function Dl(e, t) {if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) lm(e.stateNode, t[n]);}+ function Ol(e) {+ for (var t = e.return; t !== null && (jl(t) && lm(e.stateNode, t.stateNode), !Al(t));) t = t.return;+ }function kl(e) {- for (var t = e.return; t !== null && (Ml(t) && lm(e.stateNode, t.stateNode), !jl(t));) t = t.return;+ for (var t = e.return; t !== null && (jl(t) && um(e.stateNode, t.stateNode), !Al(t));) t = t.return;}function Al(e) {- for (var t = e.return; t !== null && (Ml(t) && um(e.stateNode, t.stateNode), !jl(t));) t = t.return;- }- function jl(e) {return e.tag === 5 || e.tag === 3 || e.tag === 27;}- function Ml(e) {+ function jl(e) {return e && e.tag === 7 && e.stateNode !== null;}- function Nl(e) {+ function Ml(e) {var t = e.type, n = e.memoizedProps, r = e.stateNode;try {a: switch (t) {@@ -4970,21 +4970,21 @@ var _ = /* @__PURE__ */ o(((e) => {bf(e, e.return, t);}}- function Pl(e, t, n) {+ function Nl(e, t, n) {try {var r = e.stateNode;- pp(r, e.type, n, t), r[Et] = t;+ pp(r, e.type, n, t), r[Tt] = t;} catch (t) {bf(e, e.return, t);}}- function Fl(e) {+ function Pl(e) {return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && jp(e.type) || e.tag === 4;}- function Il(e) {+ function Fl(e) {a: for (;;) {for (; e.sibling === null;) {- if (e.return === null || Fl(e.return)) return null;+ if (e.return === null || Pl(e.return)) return null;e = e.return;}for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18;) {@@ -4994,39 +4994,39 @@ var _ = /* @__PURE__ */ o(((e) => {if (!(e.flags & 2)) return e.stateNode;}}- function Ll(e, t, n, r) {+ function Il(e, t, n, r) {var i = e.tag;- if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = vn)), Ol(e, r), R = !0;- else if (i !== 4 && (i === 27 && (Ol(e, r), r = null, jp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Ll(e, t, n, r), e = e.sibling; e !== null;) Ll(e, t, n, r), e = e.sibling;+ if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = _n)), Dl(e, r), z = !0;+ else if (i !== 4 && (i === 27 && (Dl(e, r), r = null, jp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Il(e, t, n, r), e = e.sibling; e !== null;) Il(e, t, n, r), e = e.sibling;}- function Rl(e, t, n, r) {+ function Ll(e, t, n, r) {var i = e.tag;- if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Ol(e, r), R = !0;- else if (i !== 4 && (i === 27 && (Ol(e, r), r = null, jp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Rl(e, t, n, r), e = e.sibling; e !== null;) Rl(e, t, n, r), e = e.sibling;+ if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Dl(e, r), z = !0;+ else if (i !== 4 && (i === 27 && (Dl(e, r), r = null, jp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Ll(e, t, n, r), e = e.sibling; e !== null;) Ll(e, t, n, r), e = e.sibling;}- function zl(e) {+ function Rl(e) {var t = e.stateNode, n = e.memoizedProps;try {for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);- dp(t, r, n), t[Tt] = e, t[Et] = n;+ dp(t, r, n), t[wt] = e, t[Tt] = n;} catch (t) {bf(e, e.return, t);}}- var Bl = !1, Vl = null;- function Hl(e) {- (e.tag === 30 || e.subtreeFlags & 33554432) && (Bl = !0);+ var zl = !1, Bl = null;+ function Vl(e) {+ (e.tag === 30 || e.subtreeFlags & 33554432) && (zl = !0);}- var Ul = null;- function Wl() {- var e = Ul;- return Ul = null, e;+ var Hl = null;+ function Ul() {+ var e = Hl;+ return Hl = null, e;}- var Gl = 0;- function Kl(e, t, n, r, i) {- return Gl = 0, ql(e.child, t, n, r, i);+ var Wl = 0;+ function Gl(e, t, n, r, i) {+ return Wl = 0, Kl(e.child, t, n, r, i);}- function ql(e, t, n, r, i) {+ function Kl(e, t, n, r, i) {for (var a = !1; e !== null;) {if (e.tag === 5) {var o = e.stateNode;@@ -5034,36 +5034,36 @@ var _ = /* @__PURE__ */ o(((e) => {var s = Lp(o);r.push(s), s.view && (a = !0);} else a || Lp(o).view && (a = !0);- Bl = !0, Pp(o, Gl === 0 ? t : t + "_" + Gl, n), Gl++;- } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || ql(e.child, t, n, r, i) && (a = !0));+ zl = !0, Pp(o, Wl === 0 ? t : t + "_" + Wl, n), Wl++;+ } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Kl(e.child, t, n, r, i) && (a = !0));e = e.sibling;}return a;}- function Jl(e, t) {- for (; e !== null;) e.tag === 5 ? Fp(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Jl(e.child, t)), e = e.sibling;+ function ql(e, t) {+ for (; e !== null;) e.tag === 5 ? Fp(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || ql(e.child, t)), e = e.sibling;}- function Yl(e) {+ function Jl(e) {if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {- if ((e.tag !== 22 || e.memoizedState === null) && (Yl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {+ if ((e.tag !== 22 || e.memoizedState === null) && (Jl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {var t = e.memoizedProps;if (t.name == null || t.name === "auto") throw Error(i(544));var n = t.name;- t = gi(t.default, t.share), t !== "none" && (Kl(e, n, t, null, !1) || Jl(e.child, !1));+ t = hi(t.default, t.share), t !== "none" && (Gl(e, n, t, null, !1) || ql(e.child, !1));}e = e.sibling;}}- function Xl(e, t) {+ function Yl(e, t) {if (e.tag === 30) {- var n = e.stateNode, r = e.memoizedProps, i = mi(r, n), a = gi(r.default, n.paired ? r.share : r.enter);- a === "none" ? Yl(e) : Kl(e, i, a, null, !1) ? (Yl(e), n.paired || t || zd(e, r.onEnter)) : Jl(e.child, !1);- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Xl(e, t), e = e.sibling;- else Yl(e);- }- function Zl(e) {- if (Vl !== null && Vl.size !== 0) {- var t = Vl;+ var n = e.stateNode, r = e.memoizedProps, i = pi(r, n), a = hi(r.default, n.paired ? r.share : r.enter);+ a === "none" ? Jl(e) : Gl(e, i, a, null, !1) ? (Jl(e), n.paired || t || zd(e, r.onEnter)) : ql(e.child, !1);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Yl(e, t), e = e.sibling;+ else Jl(e);+ }+ function Xl(e) {+ if (Bl !== null && Bl.size !== 0) {+ var t = Bl;if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {if (e.tag !== 22 || e.memoizedState === null) {if (e.tag === 30 && e.flags & 18874368) {@@ -5071,59 +5071,59 @@ var _ = /* @__PURE__ */ o(((e) => {if (r != null && r !== "auto") {var i = t.get(r);if (i !== void 0) {- var a = gi(n.default, n.share);- if (a !== "none" && (Kl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, zd(e, n.onShare)) : Jl(e.child, !1)), t.delete(r), t.size === 0) break;+ var a = hi(n.default, n.share);+ if (a !== "none" && (Gl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, zd(e, n.onShare)) : ql(e.child, !1)), t.delete(r), t.size === 0) break;}}}- Zl(e);+ Xl(e);}e = e.sibling;}}}- function Ql(e) {+ function Zl(e) {if (e.tag === 30) {- var t = e.memoizedProps, n = mi(t, e.stateNode), r = Vl === null ? void 0 : Vl.get(n), i = gi(t.default, r === void 0 ? t.exit : t.share);- i !== "none" && (Kl(e, n, i, null, !1) ? r === void 0 ? zd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Vl.delete(n), zd(e, t.onShare)) : Jl(e.child, !1)), Vl !== null && Zl(e);- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Ql(e), e = e.sibling;- else Vl !== null && Zl(e);+ var t = e.memoizedProps, n = pi(t, e.stateNode), r = Bl === null ? void 0 : Bl.get(n), i = hi(t.default, r === void 0 ? t.exit : t.share);+ i !== "none" && (Gl(e, n, i, null, !1) ? r === void 0 ? zd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Bl.delete(n), zd(e, t.onShare)) : ql(e.child, !1)), Bl !== null && Xl(e);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Zl(e), e = e.sibling;+ else Bl !== null && Xl(e);}- function $l(e) {+ function Ql(e) {for (e = e.child; e !== null;) {if (e.tag === 30) {- var t = e.memoizedProps, n = mi(t, e.stateNode);- t = gi(t.default, t.update), e.flags &= -5, t !== "none" && Kl(e, n, t, e.memoizedState = [], !1);- } else e.subtreeFlags & 33554432 && $l(e);+ var t = e.memoizedProps, n = pi(t, e.stateNode);+ t = hi(t.default, t.update), e.flags &= -5, t !== "none" && Gl(e, n, t, e.memoizedState = [], !1);+ } else e.subtreeFlags & 33554432 && Ql(e);e = e.sibling;}}- function eu(e) {+ function $l(e) {if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {if (e.tag !== 22 || e.memoizedState === null) {if (e.tag === 30 && e.flags & 18874368) {var t = e.stateNode;- t.paired !== null && (t.paired = null, Jl(e.child, !1));+ t.paired !== null && (t.paired = null, ql(e.child, !1));}- eu(e);+ $l(e);}e = e.sibling;}}- function tu(e) {- if (e.tag === 30) e.stateNode.paired = null, Jl(e.child, !1), eu(e);- else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) tu(e), e = e.sibling;- else eu(e);+ function eu(e) {+ if (e.tag === 30) e.stateNode.paired = null, ql(e.child, !1), $l(e);+ else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) eu(e), e = e.sibling;+ else $l(e);}- function nu(e) {- for (e = e.child; e !== null;) e.tag === 30 ? Jl(e.child, !1) : e.subtreeFlags & 33554432 && nu(e), e = e.sibling;+ function tu(e) {+ for (e = e.child; e !== null;) e.tag === 30 ? ql(e.child, !1) : e.subtreeFlags & 33554432 && tu(e), e = e.sibling;}- function ru(e, t, n, r, i, a, o) {+ function nu(e, t, n, r, i, a, o) {for (var s = !1; t !== null;) {if (t.tag === 5) {var c = t.stateNode;- if (a !== null && Gl < a.length) {- var l = a[Gl], u = Lp(c);+ if (a !== null && Wl < a.length) {+ var l = a[Wl], u = Lp(c);(l.view || u.view) && (s = !0);var d;if (d = !(e.flags & 4)) {@@ -5136,30 +5136,30 @@ var _ = /* @__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++;- } 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));+ e.flags & 4 && Pp(c, Wl === 0 ? n : n + "_" + Wl, i), s && e.flags & 4 || (Hl === null && (Hl = []), Hl.push(c, Wl === 0 ? r : r + "_" + Wl, t.memoizedProps)), Wl++;+ } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : nu(e, t.child, n, r, i, a, o) && (s = !0));t = t.sibling;}return s;}- function iu(e, t) {+ function ru(e, t) {for (e = e.child; e !== null;) {if (e.tag === 30) {- var n = e.memoizedProps, r = e.stateNode, i = mi(n, r), a = gi(n.default, n.update);+ var n = e.memoizedProps, r = e.stateNode, i = pi(n, r), a = hi(n.default, n.update);if (t) {r = r.clones;var o = r === null ? null : r.map(Rp);} else o = e.memoizedState, e.memoizedState = null;r = e;var s = e.child;- Gl = 0, i = ru(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || zd(e, n.onUpdate));- } else e.subtreeFlags & 33554432 && iu(e, t);+ Wl = 0, i = nu(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || zd(e, n.onUpdate));+ } else e.subtreeFlags & 33554432 && ru(e, t);e = e.sibling;}}- var au = !1, ou = !1, su = !1, cu = !1, lu = typeof WeakSet == "function" ? WeakSet : Set, uu = null, du = !1, fu = !1, pu = !1, mu = !1;- function hu(e, t, n) {- if (e = e.containerInfo, gp = Th, e = Wr(e), Gr(e)) {+ var iu = !1, au = !1, ou = !1, su = !1, cu = typeof WeakSet == "function" ? WeakSet : Set, lu = null, uu = !1, du = !1, fu = !1, pu = !1;+ function mu(e, t, n) {+ if (e = e.containerInfo, gp = Th, e = Ur(e), Wr(e)) {if ("selectionStart" in e) var r = {start: e.selectionStart,end: e.selectionEnd@@ -5201,28 +5201,28 @@ var _ = /* @__PURE__ */ o(((e) => {for (_p = {focusedElem: 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 && Hl(e), gu(n);+ }, Th = !1, n = (n & 335544064) === n, lu = t, t = n ? 9270 : 1024; lu !== null;) {+ if (e = lu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Zl(r[a]);+ if (e.alternate === null && e.flags & 2) n && Vl(e), hu(n);else {if (e.tag === 22) {if (r = e.alternate, e.memoizedState !== null) {- r !== null && r.memoizedState === null && n && Ql(r), gu(n);+ r !== null && r.memoizedState === null && n && Zl(r), hu(n);continue;}if (r !== null && r.memoizedState !== null) {- n && Hl(e), gu(n);+ n && Vl(e), hu(n);continue;}}- r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, uu = r) : (n && $l(e), gu(n));+ r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, lu = r) : (n && Ql(e), hu(n));}}- Vl = null;+ Bl = null;}- function gu(e) {- for (; uu !== null;) {- var t = uu, n = e, r = t.alternate, a = t.flags;+ function hu(e) {+ for (; lu !== null;) {+ var t = lu, n = e, r = t.alternate, a = t.flags;switch (t.tag) {case 0:case 11:@@ -5232,7 +5232,7 @@ var _ = /* @__PURE__ */ o(((e) => {n = void 0, a = r.memoizedProps, r = r.memoizedState;var o = t.stateNode;try {- var s = Cc(t.type, a);+ var s = Sc(t.type, a);n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;} catch (e) {bf(t, t.return, e);@@ -5259,34 +5259,34 @@ var _ = /* @__PURE__ */ o(((e) => {case 4:case 17: break;case 30:- n && r !== null && (n = mi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = gi(a.default, a.update), a !== "none" && Kl(r, n, a, r.memoizedState = [], !0));+ n && r !== null && (n = pi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = hi(a.default, a.update), a !== "none" && Gl(r, n, a, r.memoizedState = [], !0));break;default: if (a & 1024) throw Error(i(163));}if (r = t.sibling, r !== null) {- r.return = t.return, uu = r;+ r.return = t.return, lu = r;break;}- uu = t.return;+ lu = t.return;}}- function _u(e, t, n) {+ function gu(e, t, n) {var r = n.flags;switch (n.tag) {case 0:case 11:case 15:- Lu(e, n), r & 4 && U(5, n);+ Iu(e, n), r & 4 && Sl(5, n);break;case 1:- if (Lu(e, n), r & 4) {+ if (Iu(e, n), r & 4) {if (e = n.stateNode, t === null) try {e.componentDidMount();} catch (e) {bf(n, n.return, e);}else {- var i = Cc(n.type, t.memoizedProps);+ var i = Sc(n.type, t.memoizedProps);t = t.memoizedState;try {e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);@@ -5295,10 +5295,10 @@ var _ = /* @__PURE__ */ o(((e) => {}}}- r & 64 && wl(n), r & 512 && El(n, n.return);+ r & 64 && Cl(n), r & 512 && Tl(n, n.return);break;case 3:- if (Lu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {+ if (Iu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {if (t = null, n.child !== null) switch (n.child.tag) {case 27:case 5:@@ -5307,43 +5307,43 @@ var _ = /* @__PURE__ */ o(((e) => {case 1: t = n.child.stateNode;}try {- Co(e, t);+ So(e, t);} catch (e) {bf(n, n.return, e);}}break;- case 27: t === null && r & 4 && zl(n);+ case 27: t === null && r & 4 && Rl(n);case 26:case 5:- Lu(e, n), t === null && r & 4 && Nl(n), r & 512 && El(n, n.return);+ Iu(e, n), t === null && r & 4 && Ml(n), r & 512 && Tl(n, n.return);break;case 12:- Lu(e, n);+ Iu(e, n);break;case 31:- Lu(e, n), r & 4 && Eu(e, n);+ Iu(e, n), r & 4 && Tu(e, n);break;case 13:- Lu(e, n), r & 4 && Du(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = wf.bind(null, n), _m(e, n))));+ Iu(e, n), r & 4 && Eu(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = wf.bind(null, n), _m(e, n))));break;case 22:- if (r = n.memoizedState !== null || au, !r) {- var a = t !== null && t.memoizedState !== null || ou;- t = au, i = ou, au = r, (ou = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), zu(e, n, r)) : Lu(e, n), au = t, ou = i;+ if (r = n.memoizedState !== null || iu, !r) {+ var a = t !== null && t.memoizedState !== null || au;+ t = iu, i = au, iu = r, (au = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Ru(e, n, r)) : Iu(e, n), iu = t, au = i;}break;case 30:- Lu(e, n), r & 512 && El(n, n.return);+ Iu(e, n), r & 512 && Tl(n, n.return);break;- case 7: r & 512 && El(n, n.return);- default: Lu(e, n);+ case 7: r & 512 && Tl(n, n.return);+ default: Iu(e, n);}}- function vu(e, t) {- for (e = e.child; e !== null;) yu(e, t), e = e.sibling;+ function _u(e, t) {+ for (e = e.child; e !== null;) vu(e, t), e = e.sibling;}- function yu(e, t) {+ function vu(e, t) {switch (e.tag) {case 5:case 26:@@ -5359,11 +5359,11 @@ var _ = /* @__PURE__ */ o(((e) => {} catch (t) {bf(e, e.return, t);}- bu(e, t);+ yu(e, t);break;case 6:try {- e.stateNode.nodeValue = t ? "" : e.memoizedProps, R = !0;+ e.stateNode.nodeValue = t ? "" : e.memoizedProps, z = !0;} catch (t) {bf(e, e.return, t);}@@ -5378,95 +5378,95 @@ var _ = /* @__PURE__ */ o(((e) => {break;case 22:case 23:- e.memoizedState === null && vu(e, t);+ e.memoizedState === null && _u(e, t);break;- default: vu(e, t);+ default: _u(e, t);}}- function bu(e, t) {+ function yu(e, t) {if (e.subtreeFlags & 67108864) for (e = e.child; e !== null;) {a: {var n = e, r = t;switch (n.tag) {case 4:- yu(n, r);+ vu(n, r);break a;case 22:- n.memoizedState === null && bu(n, r);+ n.memoizedState === null && yu(n, r);break a;- default: bu(n, r);+ default: yu(n, r);}}e = e.sibling;}}- function xu(e) {+ function bu(e) {var t = e.alternate;- t !== null && (e.alternate = null, xu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && Pt(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;+ t !== null && (e.alternate = null, bu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && Nt(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;}- var Su = null, Cu = !1;- function wu(e, t, n) {- for (n = n.child; n !== null;) Tu(e, t, n), n = n.sibling;+ var xu = null, Su = !1;+ function Cu(e, t, n) {+ for (n = n.child; n !== null;) wu(e, t, n), n = n.sibling;}- function Tu(e, t, n) {- if ($e && typeof $e.onCommitFiberUnmount == "function") try {- $e.onCommitFiberUnmount(Qe, n);+ function wu(e, t, n) {+ if (Qe && typeof Qe.onCommitFiberUnmount == "function") try {+ Qe.onCommitFiberUnmount(Ze, n);} catch {}switch (n.tag) {case 26:- ou || Dl(n, t), wu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !ou && (n = n.stateNode, n.parentNode.removeChild(n));+ au || El(n, t), Cu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !au && (n = n.stateNode, n.parentNode.removeChild(n));break;case 27:- ou || Dl(n, t), Al(n);- var r = Su, i = Cu;- jp(n.type) && (Su = n.stateNode, Cu = !1), wu(e, t, n), Tm(n.stateNode, n.type, n.memoizedProps), Su = r, Cu = i;+ au || El(n, t), kl(n);+ var r = xu, i = Su;+ jp(n.type) && (xu = n.stateNode, Su = !1), Cu(e, t, n), Tm(n.stateNode, n.type, n.memoizedProps), xu = r, Su = i;break;- case 5: ou || Dl(n, t), Al(n);+ case 5: au || El(n, t), kl(n);case 6:- if (n.tag === 6 && Al(n), r = Su, i = Cu, Su = null, wu(e, t, n), Su = r, Cu = i, Su !== null) {- if (Cu) try {- (Su.nodeType === 9 ? Su.body : Su.nodeName === "HTML" ? Su.ownerDocument.body : Su).removeChild(n.stateNode), R = !0;+ if (n.tag === 6 && kl(n), r = xu, i = Su, xu = null, Cu(e, t, n), xu = r, Su = i, xu !== null) {+ if (Su) try {+ (xu.nodeType === 9 ? xu.body : xu.nodeName === "HTML" ? xu.ownerDocument.body : xu).removeChild(n.stateNode), z = !0;} catch (e) {bf(n, t, e);}else try {- Su.removeChild(n.stateNode), R = !0;+ xu.removeChild(n.stateNode), z = !0;} catch (e) {bf(n, t, e);}}break;case 18:- Su !== null && (Cu ? (e = Su, Mp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Zh(e)) : Mp(Su, n.stateNode));+ xu !== null && (Su ? (e = xu, Mp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Zh(e)) : Mp(xu, n.stateNode));break;case 4:- r = Su, i = Cu, Su = n.stateNode.containerInfo, Cu = !0, wu(e, t, n), Su = r, Cu = i;+ r = xu, i = Su, xu = n.stateNode.containerInfo, Su = !0, Cu(e, t, n), xu = r, Su = i;break;case 0:case 11:case 14:case 15:- Cl(2, n, t), ou || Cl(4, n, t), wu(e, t, n);+ W(2, n, t), au || W(4, n, t), Cu(e, t, n);break;case 1:- ou || (Dl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && Tl(n, t, r)), wu(e, t, n);+ au || (El(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && wl(n, t, r)), Cu(e, t, n);break;case 21:- wu(e, t, n);+ Cu(e, t, n);break;case 22:- ou = (r = ou) || n.memoizedState !== null, wu(e, t, n), ou = r;+ au = (r = au) || n.memoizedState !== null, Cu(e, t, n), au = r;break;case 30:- Dl(n, t), wu(e, t, n);+ El(n, t), Cu(e, t, n);break;case 7:- ou || Dl(n, t), wu(e, t, n);+ au || El(n, t), Cu(e, t, n);break;- default: wu(e, t, n);+ default: Cu(e, t, n);}}- function Eu(e, t) {+ function Tu(e, t) {if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {e = e.dehydrated;try {@@ -5476,26 +5476,26 @@ var _ = /* @__PURE__ */ o(((e) => {}}}- function Du(e, t) {+ function Eu(e, t) {if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {Zh(e);} catch (e) {bf(t, t.return, e);}}- function Ou(e) {+ function Du(e) {switch (e.tag) {case 31:case 13:case 19:var t = e.stateNode;- return t === null && (t = e.stateNode = new lu()), t;- case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new lu()), t;+ return t === null && (t = e.stateNode = new cu()), t;+ case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new cu()), t;default: throw Error(i(435, e.tag));}}- function ku(e, t) {- var n = Ou(e);+ function Ou(e, t) {+ var n = Du(e);t.forEach(function(t) {if (!n.has(t)) {n.add(t);@@ -5504,7 +5504,7 @@ var _ = /* @__PURE__ */ o(((e) => {}});}- function Au(e, t, n) {+ function ku(e, t, n) {var r = t.deletions;if (r !== null) for (var a = 0; a < r.length; a++) {var o = r[a], s = e, c = t, l = c;@@ -5512,27 +5512,27 @@ var _ = /* @__PURE__ */ o(((e) => {switch (l.tag) {case 27:if (jp(l.type)) {- Su = l.stateNode, Cu = !1;+ xu = l.stateNode, Su = !1;break a;}break;case 5:- Su = l.stateNode, Cu = !1;+ xu = l.stateNode, Su = !1;break a;case 3:case 4:- Su = l.stateNode.containerInfo, Cu = !0;+ xu = l.stateNode.containerInfo, Su = !0;break a;}l = l.return;}- if (Su === null) throw Error(i(160));- Tu(s, c, o), Su = null, Cu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;+ if (xu === null) throw Error(i(160));+ wu(s, c, o), xu = null, Su = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;}- if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Mu(t, e, n), t = t.sibling;+ if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) ju(t, e, n), t = t.sibling;}- var ju = null;- function Mu(e, t, n) {+ var Au = null;+ function ju(e, t, n) {var r = e.alternate, a = e.flags;switch (e.tag) {case 0:@@ -5543,23 +5543,23 @@ var _ = /* @__PURE__ */ o(((e) => {var s = r[o];s.ref.impl = s.nextImpl;}- Au(t, e, n), Nu(e), a & 4 && (Cl(3, e, e.return), U(3, e), Cl(5, e, e.return));+ ku(t, e, n), Mu(e), a & 4 && (W(3, e, e.return), Sl(3, e), W(5, e, e.return));break;case 1:- Au(t, e, n), Nu(e), a & 512 && (ou || r === null || Dl(r, r.return)), a & 64 && au && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));+ ku(t, e, n), Mu(e), a & 512 && (au || r === null || El(r, r.return)), a & 64 && iu && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));break;case 26:- if (o = ju, Au(t, e, n), Nu(e), a & 512 && (ou || r === null || Dl(r, r.return)), a & 4) {+ if (o = Au, ku(t, e, n), Mu(e), a & 512 && (au || r === null || El(r, r.return)), a & 4) {if (a = r === null ? null : r.memoizedState, n = e.memoizedState, r === null) {if (n === null) {if (e.stateNode === null) {- if (au) e.stateNode = xp(e.type, e.memoizedProps, t.containerInfo, e);+ if (iu) e.stateNode = xp(e.type, e.memoizedProps, t.containerInfo, e);else {a: {t = e.type, n = e.memoizedProps, a = o.ownerDocument || o;b: switch (t) {case "title":- r = a.getElementsByTagName("title")[0], (!r || r[Mt] || r[Tt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), dp(r, t, n), r[Tt] = e, zt(r), t = r;+ r = a.getElementsByTagName("title")[0], (!r || r[jt] || r[wt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), dp(r, t, n), r[wt] = e, Rt(r), t = r;break a;case "link":if (o = eh("link", "href", a).get(t + (n.href || ""))) {@@ -5581,82 +5581,82 @@ var _ = /* @__PURE__ */ o(((e) => {break;default: throw Error(i(468, t));}- r[Tt] = e, zt(r), t = r;+ r[wt] = e, Rt(r), t = r;}e.stateNode = t;}- } else au || th(o, e.type, e.stateNode);+ } else iu || th(o, e.type, e.stateNode);} else e.stateNode = Ym(o, n, e.memoizedProps);- } else a === n ? n === null && e.stateNode !== null && Pl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || ou || t.parentNode.removeChild(t)) : a.count--, n === null ? au || th(o, e.type, e.stateNode) : Ym(o, n, e.memoizedProps));+ } else a === n ? n === null && e.stateNode !== null && Nl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || au || t.parentNode.removeChild(t)) : a.count--, n === null ? iu || th(o, e.type, e.stateNode) : Ym(o, n, e.memoizedProps));}break;case 27:- Au(t, e, n), Nu(e), a & 512 && (ou || r === null || Dl(r, r.return)), r !== null && a & 4 && Pl(e, e.memoizedProps, r.memoizedProps);+ ku(t, e, n), Mu(e), a & 512 && (au || r === null || El(r, r.return)), r !== null && a & 4 && Nl(e, e.memoizedProps, r.memoizedProps);break;case 5:- if (o = su, su = !1, Au(t, e, n), su = o, Nu(e), a & 512 && (ou || r === null || Dl(r, r.return)), e.flags & 32) {+ if (o = ou, ou = !1, ku(t, e, n), ou = o, Mu(e), a & 512 && (au || r === null || El(r, r.return)), e.flags & 32) {t = e.stateNode;try {- un(t, ""), R = !0;+ ln(t, ""), z = !0;} catch (t) {bf(e, e.return, t);}}- a & 4 && e.stateNode != null && (t = e.memoizedProps, Pl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (cu = !0);+ a & 4 && e.stateNode != null && (t = e.memoizedProps, Nl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (su = !0);break;case 6:- if (Au(t, e, n), Nu(e), a & 4) {+ if (ku(t, e, n), Mu(e), a & 4) {if (e.stateNode === null) throw Error(i(162));t = e.memoizedProps, n = e.stateNode;try {- n.nodeValue = t, R = !0;+ n.nodeValue = t, z = !0;} catch (t) {bf(e, e.return, t);}}break;case 3:- if (R = !1, $m = null, o = ju, ju = km(t.containerInfo), Au(t, e, n), ju = o, Nu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {+ if (z = !1, $m = null, o = Au, Au = km(t.containerInfo), ku(t, e, n), Au = o, Mu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {Zh(t.containerInfo);} catch (t) {bf(e, e.return, t);}- cu && (cu = !1, Pu(e)), R = !1;+ su && (su = !1, Nu(e)), z = !1;break;case 4:- a = su, su = au, r = qt(), o = ju, ju = km(e.stateNode.containerInfo), Au(t, e, n), Nu(e), ju = o, R && fu && (pu = !0), R = r, su = a;+ a = ou, ou = iu, r = Kt(), o = Au, Au = km(e.stateNode.containerInfo), ku(t, e, n), Mu(e), Au = o, z && du && (fu = !0), z = r, ou = a;break;case 12:- Au(t, e, n), Nu(e);+ ku(t, e, n), Mu(e);break;case 31:- Au(t, e, n), Nu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));+ ku(t, e, n), Mu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Ou(e, t)));break;case 13:- Au(t, e, n), Nu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (bd = Ue()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));+ ku(t, e, n), Mu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (bd = He()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Ou(e, t)));break;case 22:o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;- var c = au, l = ou, u = su;- au = c || o, su = u || o, ou = l || s, Au(t, e, n), ou = l, su = u, au = c, Nu(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || au || ou || (t = s || ou, n = au, r = ou, au = o || au, ou = t, Ru(e, 2), au = n, ou = r), !o && su || vu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, ku(e, n))));+ var c = iu, l = au, u = ou;+ iu = c || o, ou = u || o, au = l || s, ku(t, e, n), au = l, ou = u, iu = c, Mu(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || iu || au || (t = s || au, n = iu, r = au, iu = o || iu, au = t, Lu(e, 2), iu = n, au = r), !o && ou || _u(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, Ou(e, n))));break;case 19:- Au(t, e, n), Nu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));+ ku(t, e, n), Mu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Ou(e, t)));break;case 30:- a & 512 && (ou || r === null || Dl(r, r.return)), a = qt(), o = fu, s = (n & 335544064) === n, c = e.memoizedProps, fu = s && gi(c.default, c.update) !== "none", Au(t, e, n), Nu(e), s && r !== null && R && (e.flags |= 4), fu = o, R = a;+ a & 512 && (au || r === null || El(r, r.return)), a = Kt(), o = du, s = (n & 335544064) === n, c = e.memoizedProps, du = s && hi(c.default, c.update) !== "none", ku(t, e, n), Mu(e), s && r !== null && z && (e.flags |= 4), du = o, z = a;break;case 21: break;- case 7: a & 512 && (ou || r === null || Dl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);- default: Au(t, e, n), Nu(e);+ case 7: a & 512 && (au || r === null || El(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);+ default: ku(t, e, n), Mu(e);}}- function Nu(e) {+ function Mu(e) {var t = e.flags;if (t & 2) {try {for (var n, r = e.return; r !== null;) {- if (Fl(r)) {+ if (Pl(r)) {n = r;break;}@@ -5664,11 +5664,11 @@ var _ = /* @__PURE__ */ o(((e) => {}r = null;for (var a = e.return; a !== null;) {- if (Ml(a)) {+ if (jl(a)) {var o = a.stateNode;r === null ? r = [o] : r.push(o);}- if (jl(a)) break;+ if (Al(a)) break;a = a.return;}var s = r;@@ -5676,16 +5676,16 @@ var _ = /* @__PURE__ */ o(((e) => {switch (n.tag) {case 27:var c = n.stateNode;- Rl(e, Il(e), c, s);+ Ll(e, Fl(e), c, s);break;case 5:var l = n.stateNode;- n.flags & 32 && (un(l, ""), n.flags &= -33), Rl(e, Il(e), l, s);+ n.flags & 32 && (ln(l, ""), n.flags &= -33), Ll(e, Fl(e), l, s);break;case 3:case 4:var u = n.stateNode.containerInfo;- Ll(e, Il(e), u, s);+ Il(e, Fl(e), u, s);break;default: throw Error(i(161));}@@ -5696,23 +5696,23 @@ var _ = /* @__PURE__ */ o(((e) => {}t & 4096 && (e.flags &= -4097);}- function Pu(e) {+ function Nu(e) {if (e.subtreeFlags & 1024) for (e = e.child; e !== null;) {var t = e;- Pu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, Th = !0, t.reset(), Th = !1), e = e.sibling;+ Nu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, Th = !0, t.reset(), Th = !1), e = e.sibling;}}- function Fu(e, t) {- if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Iu(t, e), t = t.sibling;- else iu(t, !1);+ function Pu(e, t) {+ if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Fu(t, e), t = t.sibling;+ else ru(t, !1);}- function Iu(e, t) {+ function Fu(e, t) {var n = e.alternate;- if (n === null) Xl(e, !1);+ if (n === null) Yl(e, !1);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 (pu = uu = !1, Ul(), Pu(t, e), !uu && !fu) {+ if (e = Hl, 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({@@ -5738,33 +5738,33 @@ var _ = /* @__PURE__ */ o(((e) => {duration: 0,fill: "forwards",pseudoElement: "::view-transition"- })), mu = !0;+ })), pu = !0;}- Ul = null;+ Hl = null;break;case 5:- Fu(t, e);+ Pu(t, e);break;case 4:- r = du, du = !1, Fu(t, e), du && (pu = !0), du = r;+ r = uu, uu = !1, Pu(t, e), uu && (fu = !0), uu = r;break;case 22:- e.memoizedState === null && (n.memoizedState === null ? Fu(t, e) : Xl(e, !1));+ e.memoizedState === null && (n.memoizedState === null ? Pu(t, e) : Yl(e, !1));break;case 30:- r = du, i = Wl(), du = !1, Fu(t, e), du && (e.flags |= 4);+ r = uu, i = Ul(), uu = !1, Pu(t, e), uu && (e.flags |= 4);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;+ t = pi(a, o), o = pi(n.memoizedProps, o);+ var s = hi(a.default, a.update);+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Wl = 0, t = nu(e, n, t, o, s, a, !0), Wl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (zd(e, e.memoizedProps.onUpdate), Hl = i) : i !== null && (i.push.apply(i, Hl), Hl = i), uu = e.flags & 32 ? !0 : r;break;- default: Fu(t, e);+ default: Pu(t, e);}}- function Lu(e, t) {- if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) _u(e, t.alternate, t), t = t.sibling;+ function Iu(e, t) {+ if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) gu(e, t.alternate, t), t = t.sibling;}- function Ru(e, t) {+ function Lu(e, t) {for (e = e.child; e !== null;) {var n = e, r = t;switch (n.tag) {@@ -5772,46 +5772,46 @@ var _ = /* @__PURE__ */ o(((e) => {case 11:case 14:case 15:- Cl(4, n, n.return), Ru(n, r);+ W(4, n, n.return), Lu(n, r);break;case 1:- Dl(n, n.return);+ El(n, n.return);var i = n.stateNode;- typeof i.componentWillUnmount == "function" && Tl(n, n.return, i), Ru(n, r);+ typeof i.componentWillUnmount == "function" && wl(n, n.return, i), Lu(n, r);break;case 27: r & 2 && Tm(n.stateNode, n.type, n.memoizedProps);case 5:- Dl(n, n.return), n.tag !== 5 && n.tag !== 27 || Al(n), Ru(n, r);+ El(n, n.return), n.tag !== 5 && n.tag !== 27 || kl(n), Lu(n, r);break;case 6:- Al(n);+ kl(n);break;case 26:- Dl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || ou || i.parentNode.removeChild(i), Ru(n, r);+ El(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || au || i.parentNode.removeChild(i), Lu(n, r);break;case 22:- n.memoizedState === null && Ru(n, r);+ n.memoizedState === null && Lu(n, r);break;case 30:- Dl(n, n.return), Ru(n, r);+ El(n, n.return), Lu(n, r);break;- case 7: Dl(n, n.return);- default: Ru(n, r);+ case 7: El(n, n.return);+ default: Lu(n, r);}e = e.sibling;}}- function zu(e, t, n) {+ function Ru(e, t, n) {for (n = t.subtreeFlags & 8772 ? n : n & -2, t = t.child; t !== null;) {var r = t.alternate, i = e, a = t, o = a.flags, s = !!(n & 1);switch (a.tag) {case 0:case 11:case 15:- zu(i, a, n), U(4, a);+ Ru(i, a, n), Sl(4, a);break;case 1:- if (zu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {+ if (Ru(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {i.componentDidMount();} catch (e) {bf(r, r.return, e);@@ -5820,170 +5820,170 @@ var _ = /* @__PURE__ */ o(((e) => {var c = r.stateNode;try {var l = i.shared.hiddenCallbacks;- if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) So(l[i], c);+ if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) xo(l[i], c);} catch (e) {bf(r, r.return, e);}}- s && o & 64 && wl(a), El(a, a.return);+ s && o & 64 && Cl(a), Tl(a, a.return);break;- case 27: n & 2 && zl(a);+ case 27: n & 2 && Rl(a);case 5:- a.tag !== 5 && a.tag !== 27 || kl(a), zu(i, a, n), s && r === null && o & 4 && Nl(a), El(a, a.return);+ a.tag !== 5 && a.tag !== 27 || Ol(a), Ru(i, a, n), s && r === null && o & 4 && Ml(a), Tl(a, a.return);break;case 6:- kl(a);+ Ol(a);break;case 26:- c = a.stateNode, a.memoizedState !== null || c === null || au || th(km(c.ownerDocument), a.type, c), zu(i, a, n), s && r === null && o & 4 && Nl(a), El(a, a.return);+ c = a.stateNode, a.memoizedState !== null || c === null || iu || th(km(c.ownerDocument), a.type, c), Ru(i, a, n), s && r === null && o & 4 && Ml(a), Tl(a, a.return);break;case 12:- zu(i, a, n);+ Ru(i, a, n);break;case 31:- zu(i, a, n), s && o & 4 && Eu(i, a);+ Ru(i, a, n), s && o & 4 && Tu(i, a);break;case 13:- zu(i, a, n), s && o & 4 && Du(i, a);+ Ru(i, a, n), s && o & 4 && Eu(i, a);break;case 22:- a.memoizedState === null && zu(i, a, n), El(a, a.return);+ a.memoizedState === null && Ru(i, a, n), Tl(a, a.return);break;case 30:- zu(i, a, n), El(a, a.return);+ Ru(i, a, n), Tl(a, a.return);break;- case 7: El(a, a.return);- default: zu(i, a, n);+ case 7: Tl(a, a.return);+ default: Ru(i, a, n);}t = t.sibling;}}- function Bu(e, t) {+ function zu(e, t) {var n = null;- e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && ja(n));+ e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && Aa(n));}- function Vu(e, t) {- e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && ja(e));+ function Bu(e, t) {+ e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && Aa(e));}- function Hu(e, t, n, r) {+ function Vu(e, t, n, r) {var i = (n & 335544064) === n;- if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Uu(e, t, n, r), t = t.sibling;- else i && nu(t);+ if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Hu(e, t, n, r), t = t.sibling;+ else i && tu(t);}- function Uu(e, t, n, r) {+ function Hu(e, t, n, r) {var i = (n & 335544064) === n;- i && t.alternate === null && t.return !== null && t.return.alternate !== null && tu(t);+ i && t.alternate === null && t.return !== null && t.return.alternate !== null && eu(t);var a = t.flags;switch (t.tag) {case 0:case 11:case 15:- Hu(e, t, n, r), a & 2048 && U(9, t);+ Vu(e, t, n, r), a & 2048 && Sl(9, t);break;case 1:- Hu(e, t, n, r);+ Vu(e, t, n, r);break;case 3:- Hu(e, t, n, r), i && mu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && ja(a)));+ Vu(e, t, n, r), i && pu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && Aa(a)));break;case 12:if (a & 2048) {- Hu(e, t, n, r), a = t.stateNode;+ Vu(e, t, n, r), a = t.stateNode;try {var o = t.memoizedProps, s = o.id, c = o.onPostCommit;typeof c == "function" && c(s, t.alternate === null ? "mount" : "update", a.passiveEffectDuration, -0);} catch (e) {bf(t, t.return, e);}- } else Hu(e, t, n, r);+ } else Vu(e, t, n, r);break;case 31:- Hu(e, t, n, r);+ Vu(e, t, n, r);break;case 13:- Hu(e, t, n, r);+ Vu(e, t, n, r);break;case 23: break;case 22:- o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && tu(t), o._visibility & 2 ? Hu(e, t, n, r) : (o._visibility |= 2, Wu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && tu(s), o._visibility & 2 ? Hu(e, t, n, r) : Gu(e, t)), a & 2048 && Bu(s, t);+ o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && eu(t), o._visibility & 2 ? Vu(e, t, n, r) : (o._visibility |= 2, Uu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && eu(s), o._visibility & 2 ? Vu(e, t, n, r) : Wu(e, t)), a & 2048 && zu(s, t);break;case 24:- Hu(e, t, n, r), a & 2048 && Vu(t.alternate, t);+ Vu(e, t, n, r), a & 2048 && Bu(t.alternate, t);break;case 30:- i && (a = t.alternate, a !== null && (Jl(a.child, !0), Jl(t.child, !0))), Hu(e, t, n, r);+ i && (a = t.alternate, a !== null && (ql(a.child, !0), ql(t.child, !0))), Vu(e, t, n, r);break;- default: Hu(e, t, n, r);+ default: Vu(e, t, n, r);}}- function Wu(e, t, n, r, i) {+ function Uu(e, t, n, r, i) {for (i &&= !!(t.subtreeFlags & 10256) || !1, t = t.child; t !== null;) {var a = e, o = t, s = n, c = r, l = o.flags;switch (o.tag) {case 0:case 11:case 15:- Wu(a, o, s, c, i), U(8, o);+ Uu(a, o, s, c, i), Sl(8, o);break;case 23: break;case 22:var u = o.stateNode;- o.memoizedState === null ? (u._visibility |= 2, Wu(a, o, s, c, i)) : u._visibility & 2 ? Wu(a, o, s, c, i) : Gu(a, o), i && l & 2048 && Bu(o.alternate, o);+ o.memoizedState === null ? (u._visibility |= 2, Uu(a, o, s, c, i)) : u._visibility & 2 ? Uu(a, o, s, c, i) : Wu(a, o), i && l & 2048 && zu(o.alternate, o);break;case 24:- Wu(a, o, s, c, i), i && l & 2048 && Vu(o.alternate, o);+ Uu(a, o, s, c, i), i && l & 2048 && Bu(o.alternate, o);break;- default: Wu(a, o, s, c, i);+ default: Uu(a, o, s, c, i);}t = t.sibling;}}- function Gu(e, t) {+ function Wu(e, t) {if (t.subtreeFlags & 10256) for (t = t.child; t !== null;) {var n = e, r = t, i = r.flags;switch (r.tag) {case 22:- Gu(n, r), i & 2048 && Bu(r.alternate, r);+ Wu(n, r), i & 2048 && zu(r.alternate, r);break;case 24:- Gu(n, r), i & 2048 && Vu(r.alternate, r);+ Wu(n, r), i & 2048 && Bu(r.alternate, r);break;- default: Gu(n, r);+ default: Wu(n, r);}t = t.sibling;}}- var Ku = 8192;- function qu(e, t, n) {- if (e.subtreeFlags & Ku) for (e = e.child; e !== null;) Ju(e, t, n), e = e.sibling;+ var Gu = 8192;+ function Ku(e, t, n) {+ if (e.subtreeFlags & Gu) for (e = e.child; e !== null;) qu(e, t, n), e = e.sibling;}- function Ju(e, t, n) {+ function qu(e, t, n) {switch (e.tag) {case 26:- qu(e, t, n), e.flags & Ku && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && oh(n, e)) : sh(n, ju, e.memoizedState, e.memoizedProps));+ Ku(e, t, n), e.flags & Gu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && oh(n, e)) : sh(n, Au, e.memoizedState, e.memoizedProps));break;case 5:- qu(e, t, n), e.flags & Ku && (e = e.stateNode, (t & 335544128) === t && oh(n, e));+ Ku(e, t, n), e.flags & Gu && (e = e.stateNode, (t & 335544128) === t && oh(n, e));break;case 3:case 4:- var r = ju;- ju = km(e.stateNode.containerInfo), qu(e, t, n), ju = r;+ var r = Au;+ Au = km(e.stateNode.containerInfo), Ku(e, t, n), Au = r;break;case 22:- e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Ku, Ku = 16777216, qu(e, t, n), Ku = r) : qu(e, t, n));+ e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Gu, Gu = 16777216, Ku(e, t, n), Gu = r) : Ku(e, t, n));break;case 30:- if ((e.flags & Ku) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {+ if ((e.flags & Gu) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {var i = e.stateNode;- i.paired = null, Vl === null && (Vl = /* @__PURE__ */ new Map()), Vl.set(r, i);+ i.paired = null, Bl === null && (Bl = /* @__PURE__ */ new Map()), Bl.set(r, i);}- qu(e, t, n);+ Ku(e, t, n);break;- default: qu(e, t, n);+ default: Ku(e, t, n);}}- function Yu(e) {+ function Ju(e) {var t = e.alternate;if (t !== null && (e = t.child, e !== null)) {t.child = null;@@ -5992,69 +5992,69 @@ var _ = /* @__PURE__ */ o(((e) => {while (e !== null);}}- function Xu(e) {+ function Yu(e) {var t = e.deletions;if (e.flags & 16) {if (t !== null) for (var n = 0; n < t.length; n++) {var r = t[n];- uu = r, $u(r, e);+ lu = r, Qu(r, e);}- Yu(e);+ Ju(e);}- if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Zu(e), e = e.sibling;+ if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Xu(e), e = e.sibling;}- function Zu(e) {+ function Xu(e) {switch (e.tag) {case 0:case 11:case 15:- Xu(e), e.flags & 2048 && Cl(9, e, e.return);+ Yu(e), e.flags & 2048 && W(9, e, e.return);break;case 3:- Xu(e);+ Yu(e);break;case 12:- Xu(e);+ Yu(e);break;case 22:var t = e.stateNode;- e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, Qu(e)) : Xu(e);+ e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, Zu(e)) : Yu(e);break;- default: Xu(e);+ default: Yu(e);}}- function Qu(e) {+ function Zu(e) {var t = e.deletions;if (e.flags & 16) {if (t !== null) for (var n = 0; n < t.length; n++) {var r = t[n];- uu = r, $u(r, e);+ lu = r, Qu(r, e);}- Yu(e);+ Ju(e);}for (e = e.child; e !== null;) {switch (t = e, t.tag) {case 0:case 11:case 15:- Cl(8, t, t.return), Qu(t);+ W(8, t, t.return), Zu(t);break;case 22:- n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Qu(t));+ n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Zu(t));break;- default: Qu(t);+ default: Zu(t);}e = e.sibling;}}- function $u(e, t) {- for (; uu !== null;) {- var n = uu;+ function Qu(e, t) {+ for (; lu !== null;) {+ var n = lu;switch (n.tag) {case 0:case 11:case 15:- Cl(8, n, t);+ W(8, n, t);break;case 23:case 22:@@ -6063,60 +6063,60 @@ var _ = /* @__PURE__ */ o(((e) => {r != null && r.refCount++;}break;- case 24: ja(n.memoizedState.cache);+ case 24: Aa(n.memoizedState.cache);}- if (r = n.child, r !== null) r.return = n, uu = r;- else a: for (n = e; uu !== null;) {- r = uu;+ if (r = n.child, r !== null) r.return = n, lu = r;+ else a: for (n = e; lu !== null;) {+ r = lu;var i = r.sibling, a = r.return;- if (xu(r), r === n) {- uu = null;+ if (bu(r), r === n) {+ lu = null;break a;}if (i !== null) {- i.return = a, uu = i;+ i.return = a, lu = i;break a;}- uu = a;+ lu = a;}}}- var ed = {+ var $u = {getCacheForType: function(e) {- var t = Ca(ka), n = t.data.get(e);+ var t = Sa(Oa), n = t.data.get(e);return n === void 0 && (n = e(), t.data.set(e, n)), n;},cacheSignal: function() {- return Ca(ka).controller.signal;+ return Sa(Oa).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, W = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = null, vd = null, yd = !1, bd = 0, xd = 0, Sd = Infinity, Cd = null, wd = null, Td = 0, Ed = null, Dd = null, Od = 0, kd = 0, Ad = null, jd = null, Md = null, Nd = null, Pd = null, Fd = 0, Id = null;+ }, ed = typeof WeakMap == "function" ? WeakMap : Map, td = 0, nd = null, rd = null, id = 0, ad = 0, od = null, sd = !1, cd = !1, ld = !1, ud = 0, dd = 0, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = null, vd = null, yd = !1, bd = 0, xd = 0, Sd = Infinity, Cd = null, wd = null, Td = 0, Ed = null, Dd = null, Od = 0, kd = 0, Ad = null, jd = null, Md = null, Nd = null, Pd = null, Fd = 0, Id = null;function Ld() {- return nd & 2 && ad !== 0 ? ad & -ad : he.T === null ? St() : Vf();+ return td & 2 && id !== 0 ? id & -id : me.T === null ? xt() : Vf();}function Rd() {if (hd === 0) {- if (!(ad & 536870912) || na) {- var e = ot;- ot <<= 1, !(ot & 3932160) && (ot = 262144), hd = e;+ if (!(id & 536870912) || ta) {+ var e = at;+ at <<= 1, !(at & 3932160) && (at = 262144), hd = e;} else hd = 536870912;}- return e = ko.current, e !== null && (e.flags |= 32), hd;+ return e = Oo.current, e !== null && (e.flags |= 32), hd;}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(pi(e.memoizedProps, n))), Nd === null && (Nd = []), Nd.push(t.bind(null, r));}}function Bd(e, t, n) {- (e === rd && (od === 2 || od === 9) || e.cancelPendingCommit !== null) && (qd(e, 0), Wd(e, ad, hd, !1)), ht(e, n), (!(nd & 2) || e !== rd) && (e === rd && (!(nd & 2) && (pd |= n), fd === 4 && Wd(e, ad, hd, !1)), Nf(e));+ (e === nd && (ad === 2 || ad === 9) || e.cancelPendingCommit !== null) && (qd(e, 0), Wd(e, id, hd, !1)), mt(e, n), (!(td & 2) || e !== nd) && (e === nd && (!(td & 2) && (pd |= n), dd === 4 && Wd(e, id, hd, !1)), Nf(e));}function Vd(e, t, n) {- if (nd & 6) throw Error(i(327));- var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || ut(e, t), a = r ? tf(e, t) : $d(e, t, !0), o = r;+ if (td & 6) throw Error(i(327));+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || lt(e, t), a = r ? tf(e, t) : $d(e, t, !0), o = r;do {if (a === 0) {- ld && !r && Wd(e, t, 0, !1);+ cd && !r && Wd(e, t, 0, !1);break;}if (n = e.current.alternate, o && !Ud(n)) a = $d(e, t, !1), o = !1;@@ -6131,7 +6131,7 @@ var _ = /* @__PURE__ */ o(((e) => {a = _d;var l = c.current.memoizedState.isDehydrated;if (l && (qd(c, s).flags |= 256), s = $d(c, s, !1), s !== 2 && s !== 6) {- if (ud && !l) {+ if (ld && !l) {c.errorRecoveryDisabledLanes |= o, pd |= o, a = 4;break a;}@@ -6152,7 +6152,7 @@ var _ = /* @__PURE__ */ o(((e) => {case 1: throw Error(i(345));case 4: if ((t & 4194048) !== t && (t & 62914560) !== t) break;case 6:- Wd(r, t, hd, !cd);+ Wd(r, t, hd, !sd);break a;case 2:vd = null;@@ -6161,12 +6161,12 @@ var _ = /* @__PURE__ */ o(((e) => {case 5: break;default: throw Error(i(329));}- if ((t & 62914560) === t && (a = bd + 300 - Ue(), 10 < a)) {- if (Wd(r, t, hd, !cd), lt(r, 0, !0) !== 0) break a;- Od = t, r.timeoutHandle = Tp(Hd.bind(null, r, n, vd, Cd, yd, t, hd, pd, gd, cd, o, "Throttled", -0, 0), a);+ if ((t & 62914560) === t && (a = bd + 300 - He(), 10 < a)) {+ if (Wd(r, t, hd, !sd), ct(r, 0, !0) !== 0) break a;+ Od = t, r.timeoutHandle = Tp(Hd.bind(null, r, n, vd, Cd, yd, t, hd, pd, gd, sd, o, "Throttled", -0, 0), a);break a;}- Hd(r, n, vd, Cd, yd, t, hd, pd, gd, cd, o, null, -0, 0);+ Hd(r, n, vd, Cd, yd, t, hd, pd, gd, sd, o, null, -0, 0);}break;}@@ -6184,8 +6184,8 @@ var _ = /* @__PURE__ */ o(((e) => {suspenseyImages: [],waitingForImages: !0,waitingForViewTransition: !1,- unsuspend: vn- }, Vl = null, Ju(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = dh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? bd - Ue() : (a & 4194048) === a ? xd - Ue() : 0, m = lh(d, m), m !== null) ? (Od = a, e.cancelPendingCommit = m(lf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Wd(e, a, o, !l)) : lf(e, t, a, n, r, i, o, s, c, l, u, d);+ unsuspend: _n+ }, Bl = null, qu(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = dh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? bd - He() : (a & 4194048) === a ? xd - He() : 0, m = lh(d, m), m !== null) ? (Od = a, e.cancelPendingCommit = m(lf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Wd(e, a, o, !l)) : lf(e, t, a, n, r, i, o, s, c, l, u, d);}function Ud(e) {for (var t = e;;) {@@ -6194,7 +6194,7 @@ var _ = /* @__PURE__ */ o(((e) => {var i = n[r], a = i.getSnapshot;i = i.value;try {- if (!Rr(a(), i)) return !1;+ if (!Lr(a(), i)) return !1;} catch {return !1;}@@ -6212,57 +6212,57 @@ var _ = /* @__PURE__ */ o(((e) => {return !0;}function Wd(e, t, n, r) {- t = dt(e, t), t &= ~md, t &= ~pd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;+ t = ut(e, t), t &= ~md, t &= ~pd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;for (var i = t; 0 < i;) {- var a = 31 - tt(i), o = 1 << a;+ var a = 31 - et(i), o = 1 << a;r[a] = -1, i &= ~o;}- n !== 0 && _t(e, n, t);+ n !== 0 && gt(e, n, t);}function Gd() {- return nd & 6 ? !0 : (Pf(0, !1), !1);+ return td & 6 ? !0 : (Pf(0, !1), !1);}function Kd() {- if (id !== null) {- if (od === 0) var e = id.return;- else e = id, ha = ma = null, as(e), ro = null, io = 0, e = id;- for (; e !== null;) Sl(e.alternate, e), e = e.return;- id = null;+ if (rd !== null) {+ if (ad === 0) var e = rd.return;+ else e = rd, ma = pa = null, is(e), no = null, ro = 0, e = rd;+ for (; e !== null;) xl(e.alternate, e), e = e.return;+ rd = null;}}function qd(e, t) {var n = e.timeoutHandle;- return n !== -1 && (e.timeoutHandle = -1, Ep(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Od = 0, Kd(), rd = e, id = n = ji(e.current, null), ad = t, od = 0, sd = null, cd = !1, ld = ut(e, t), ud = !1, gd = hd = md = pd = W = fd = 0, vd = _d = null, yd = !1, dd = dt(e, t), xi(), n;+ return n !== -1 && (e.timeoutHandle = -1, Ep(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Od = 0, Kd(), nd = e, rd = n = Ai(e.current, null), id = t, ad = 0, od = null, sd = !1, cd = lt(e, t), ld = !1, gd = hd = md = pd = fd = dd = 0, vd = _d = null, yd = !1, ud = ut(e, t), bi(), n;}function Jd(e, t) {- Vo = null, he.H = hc, t === qa || t === Ya ? (t = to(), od = 3) : t === Ja ? (t = to(), od = 4) : od = t === Nc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, sd = t, id === null && (fd = 1, Dc(e, zi(t, e.current)));+ Bo = null, me.H = mc, t === Ka || t === Ja ? (t = eo(), ad = 3) : t === qa ? (t = eo(), ad = 4) : ad = t === Mc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, od = t, rd === null && (dd = 1, Ec(e, Ri(t, e.current)));}function Yd() {- var e = ko.current;- return e === null ? !0 : (ad & 4194048) === ad ? Ao === null : (ad & 62914560) === ad || ad & 536870912 ? e === Ao : !1;+ var e = Oo.current;+ return e === null ? !0 : (id & 4194048) === id ? ko === null : (id & 62914560) === id || id & 536870912 ? e === ko : !1;}function Xd() {- var e = he.H;- return he.H = hc, e === null ? hc : e;+ var e = me.H;+ return me.H = mc, e === null ? mc : e;}function Zd() {- var e = he.A;- return he.A = ed, e;+ var e = me.A;+ return me.A = $u, e;}function Qd() {- fd = 4, cd || (ad & 4194048) !== ad && ko.current !== null || (ld = !0), !(W & 134217727) && !(pd & 134217727) || rd === null || Wd(rd, ad, hd, !1);+ dd = 4, sd || (id & 4194048) !== id && Oo.current !== null || (cd = !0), !(fd & 134217727) && !(pd & 134217727) || nd === null || Wd(nd, id, hd, !1);}function $d(e, t, n) {- var r = nd;- nd |= 2;+ var r = td;+ td |= 2;var i = Xd(), a = Zd();- (rd !== e || ad !== t) && (Cd = null, qd(e, t)), t = !1;- var o = fd;+ (nd !== e || id !== t) && (Cd = null, qd(e, t)), t = !1;+ var o = dd;a: dotry {- if (od !== 0 && id !== null) {- var s = id, c = sd;- switch (od) {+ if (ad !== 0 && rd !== null) {+ var s = rd, c = od;+ switch (ad) {case 8:Kd(), o = 6;break a;@@ -6270,85 +6270,85 @@ var _ = /* @__PURE__ */ o(((e) => {case 2:case 9:case 6:- ko.current === null && (t = !0);- var l = od;- if (od = 0, sd = null, of(e, s, c, l), n && ld) {+ Oo.current === null && (t = !0);+ var l = ad;+ if (ad = 0, od = null, of(e, s, c, l), n && cd) {o = 0;break a;}break;- default: l = od, od = 0, sd = null, of(e, s, c, l);+ default: l = ad, ad = 0, od = null, of(e, s, c, l);}}- ef(), o = fd;+ ef(), o = dd;break;} catch (t) {Jd(e, t);}while (1);- return t && e.shellSuspendCounter++, ha = ma = null, nd = r, he.H = i, he.A = a, id === null && (rd = null, ad = 0, xi()), o;+ return t && e.shellSuspendCounter++, ma = pa = null, td = r, me.H = i, me.A = a, rd === null && (nd = null, id = 0, bi()), o;}function ef() {- for (; id !== null;) rf(id);+ for (; rd !== null;) rf(rd);}function tf(e, t) {- var n = nd;- nd |= 2;+ var n = td;+ td |= 2;var r = Xd(), a = Zd();- rd !== e || ad !== t ? (Cd = null, Sd = Ue() + 500, qd(e, t)) : ld = ut(e, t);+ nd !== e || id !== t ? (Cd = null, Sd = He() + 500, qd(e, t)) : cd = lt(e, t);a: dotry {- if (od !== 0 && id !== null) {- t = id;- var o = sd;- b: switch (od) {+ if (ad !== 0 && rd !== null) {+ t = rd;+ var o = od;+ b: switch (ad) {case 1:- od = 0, sd = null, of(e, t, o, 1);+ ad = 0, od = null, of(e, t, o, 1);break;case 2:case 9:- if (Za(o)) {- od = 0, sd = null, af(t);+ if (Xa(o)) {+ ad = 0, od = null, af(t);break;}t = function() {- od !== 2 && od !== 9 || rd !== e || (od = 7), Nf(e);+ ad !== 2 && ad !== 9 || nd !== e || (ad = 7), Nf(e);}, o.then(t, t);break a;case 3:- od = 7;+ ad = 7;break a;case 4:- od = 5;+ ad = 5;break a;case 7:- Za(o) ? (od = 0, sd = null, af(t)) : (od = 0, sd = null, of(e, t, o, 7));+ Xa(o) ? (ad = 0, od = null, af(t)) : (ad = 0, od = null, of(e, t, o, 7));break;case 5:var s = null;- switch (id.tag) {- case 26: s = id.memoizedState;+ switch (rd.tag) {+ case 26: s = rd.memoizedState;case 5:case 27:- var c = id;+ var c = rd;if (s ? ih(s) : c.stateNode.complete) {- od = 0, sd = null;+ ad = 0, od = null;var l = c.sibling;- if (l !== null) id = l;+ if (l !== null) rd = l;else {var u = c.return;- u === null ? id = null : (id = u, sf(u));+ u === null ? rd = null : (rd = u, sf(u));}break b;}}- od = 0, sd = null, of(e, t, o, 5);+ ad = 0, od = null, of(e, t, o, 5);break;case 6:- od = 0, sd = null, of(e, t, o, 6);+ ad = 0, od = null, of(e, t, o, 6);break;case 8:- Kd(), fd = 6;+ Kd(), dd = 6;break a;default: throw Error(i(462));}@@ -6359,108 +6359,108 @@ var _ = /* @__PURE__ */ o(((e) => {Jd(e, t);}while (1);- return ha = ma = null, he.H = r, he.A = a, nd = n, id === null ? (rd = null, ad = 0, xi(), fd) : 0;+ return ma = pa = null, me.H = r, me.A = a, td = n, rd === null ? (nd = null, id = 0, bi(), dd) : 0;}function nf() {- for (; id !== null && !Ve();) rf(id);+ for (; rd !== null && !Be();) rf(rd);}function rf(e) {- var t = pl(e.alternate, e, dd);- e.memoizedProps = e.pendingProps, t === null ? sf(e) : id = t;+ var t = fl(e.alternate, e, ud);+ e.memoizedProps = e.pendingProps, t === null ? sf(e) : rd = t;}function af(e) {var t = e, n = t.alternate;switch (t.tag) {case 15:case 0:- t = qc(n, t, t.pendingProps, t.type, void 0, ad);+ t = Kc(n, t, t.pendingProps, t.type, void 0, id);break;case 11:- t = qc(n, t, t.pendingProps, t.type.render, t.ref, ad);+ t = Kc(n, t, t.pendingProps, t.type.render, t.ref, id);break;case 5:- as(t);+ is(t);var r = t;- r === ea && (na ? (ca(r), r.tag === 5 && r.stateNode != null && (ta = r.stateNode)) : (ca(r), na = !0));- default: Sl(n, t), t = id = Mi(t, dd), t = pl(n, t, dd);+ r === $i && (ta ? (sa(r), r.tag === 5 && r.stateNode != null && (ea = r.stateNode)) : (sa(r), ta = !0));+ default: xl(n, t), t = rd = ji(t, ud), t = fl(n, t, ud);}- e.memoizedProps = e.pendingProps, t === null ? sf(e) : id = t;+ e.memoizedProps = e.pendingProps, t === null ? sf(e) : rd = t;}function of(e, t, n, r) {- ha = ma = null, as(t), ro = null, io = 0;+ ma = pa = null, is(t), no = null, ro = 0;var i = t.return;try {- if (Mc(e, i, t, n, ad)) {- fd = 1, Dc(e, zi(n, e.current)), id = null;+ if (jc(e, i, t, n, id)) {+ dd = 1, Ec(e, Ri(n, e.current)), rd = null;return;}} catch (t) {- if (i !== null) throw id = i, t;- fd = 1, Dc(e, zi(n, e.current)), id = null;+ if (i !== null) throw rd = i, t;+ dd = 1, Ec(e, Ri(n, e.current)), rd = null;return;}- t.flags & 32768 ? (na || r === 1 ? e = !0 : ld || ad & 536870912 ? e = !1 : (cd = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = ko.current, r !== null && r.tag === 13 && (r.flags |= 16384))), cf(t, e)) : sf(t);+ t.flags & 32768 ? (ta || r === 1 ? e = !0 : cd || id & 536870912 ? e = !1 : (sd = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Oo.current, r !== null && r.tag === 13 && (r.flags |= 16384))), cf(t, e)) : sf(t);}function sf(e) {var t = e;do {if (t.flags & 32768) {- cf(t, cd);+ cf(t, sd);return;}e = t.return;- var n = bl(t.alternate, t, dd);+ var n = yl(t.alternate, t, ud);if (n !== null) {- id = n;+ rd = n;return;}if (t = t.sibling, t !== null) {- id = t;+ rd = t;return;}- id = t = e;+ rd = t = e;} while (t !== null);- fd === 0 && (fd = 5);+ dd === 0 && (dd = 5);}function cf(e, t) {do {- var n = xl(e.alternate, e);+ var n = bl(e.alternate, e);if (n !== null) {- n.flags &= 32767, id = n;+ n.flags &= 32767, rd = n;return;}if (n = e.return, n !== null && (n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null), !t && (e = e.sibling, e !== null)) {- id = e;+ rd = e;return;}- id = e = n;+ rd = e = n;} while (e !== null);- fd = 6, id = null;+ dd = 6, rd = null;}function lf(e, t, n, r, a, o, s, c, l, u, d, f) {e.cancelPendingCommit = null;do_f();while (Td !== 0);- if (nd & 6) throw Error(i(327));+ if (td & 6) throw Error(i(327));if (t !== null) {if (t === e.current) throw Error(i(177));- e === rd && (id = rd = null, ad = 0), Dd = t, Ed = e, Od = n, Ad = a, jd = r, uf(e, t, n, s, c, l, f);+ e === nd && (rd = nd = null, id = 0), Dd = t, Ed = e, Od = n, Ad = a, jd = r, uf(e, t, n, s, c, l, f);}}function uf(e, t, n, r, i, a, o) {var s = t.lanes | t.childLanes;- if (kd = s, s |= bi, gt(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(qe, function() {+ if (kd = s, s |= yi, ht(e, n, s, r, i, a), Nd = null, (n & 335544064) === n ? (Pd = Na(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), Bl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {- r = he.T, he.T = null, i = ge.p, ge.p = 2, a = nd, nd |= 4;+ })) : (e.callbackNode = null, e.callbackPriority = 0), zl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {+ r = me.T, me.T = null, i = he.p, he.p = 2, a = td, td |= 4;try {- hu(e, t, n);+ mu(e, t, n);} finally {- nd = a, ge.p = i, he.T = r;+ td = a, he.p = i, me.T = r;}}- Td = 1, Bl ? Md = Vp(o, e.containerInfo, Pd, pf, mf, ff, hf, vf, df, null, null) : (pf(), mf(), hf());+ Td = 1, zl ? Md = Vp(o, e.containerInfo, Pd, pf, mf, ff, hf, vf, df, null, null) : (pf(), mf(), hf());}function df(e) {if (Td !== 0) {@@ -6469,23 +6469,23 @@ var _ = /* @__PURE__ */ o(((e) => {}}function ff() {- Td === 3 && (Td = 0, Iu(Dd, Ed), Td = 4);+ Td === 3 && (Td = 0, Fu(Dd, Ed), Td = 4);}function pf() {if (Td === 1) {Td = 0;var e = Ed, t = Dd, n = Od, r = !!(t.flags & 13878);if (t.subtreeFlags & 13878 || r) {- r = he.T, he.T = null;- var i = ge.p;- ge.p = 2;- var a = nd;- nd |= 4;+ r = me.T, me.T = null;+ var i = he.p;+ he.p = 2;+ var a = td;+ td |= 4;try {- fu = pu = !1, Mu(t, e, n), n = _p;- var o = Wr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;- if (o !== s && s && s.ownerDocument && Ur(s.ownerDocument.documentElement, s)) {- if (c !== null && Gr(s)) {+ du = fu = !1, ju(t, e, n), n = _p;+ var o = Ur(e.containerInfo), s = n.focusedElem, c = n.selectionRange;+ if (o !== s && s && s.ownerDocument && Hr(s.ownerDocument.documentElement, s)) {+ if (c !== null && Wr(s)) {var l = c.start, u = c.end;if (u === void 0 && (u = l), "selectionStart" in s) s.selectionStart = l, s.selectionEnd = Math.min(u, s.value.length);else {@@ -6493,7 +6493,7 @@ var _ = /* @__PURE__ */ o(((e) => {if (f.getSelection) {var p = f.getSelection(), m = s.textContent.length, h = Math.min(c.start, m), g = c.end === void 0 ? h : Math.min(c.end, m);!p.extend && h > g && (o = g, g = h, h = o);- var _ = Hr(s, h), v = Hr(s, g);+ var _ = Vr(s, h), v = Vr(s, g);if (_ && v && (p.rangeCount !== 1 || p.anchorNode !== _.node || p.anchorOffset !== _.offset || p.focusNode !== v.node || p.focusOffset !== v.offset)) {var y = d.createRange();y.setStart(_.node, _.offset), p.removeAllRanges(), h > g ? (p.addRange(y), p.extend(v.node, v.offset)) : (y.setEnd(v.node, v.offset), p.addRange(y));@@ -6513,7 +6513,7 @@ var _ = /* @__PURE__ */ o(((e) => {}Th = !!gp, _p = gp = null;} finally {- nd = a, ge.p = i, he.T = r;+ td = a, he.p = i, me.T = r;}}e.current = t, Td = 2;@@ -6524,15 +6524,15 @@ var _ = /* @__PURE__ */ o(((e) => {Td = 0;var e = Ed, t = Dd, n = !!(t.flags & 8772);if (t.subtreeFlags & 8772 || n) {- n = he.T, he.T = null;- var r = ge.p;- ge.p = 2;- var i = nd;- nd |= 4;+ n = me.T, me.T = null;+ var r = he.p;+ he.p = 2;+ var i = td;+ td |= 4;try {- _u(e, t.alternate, t);+ gu(e, t.alternate, t);} finally {- nd = i, ge.p = r, he.T = n;+ td = i, he.p = r, me.T = n;}}Td = 3;@@ -6542,20 +6542,20 @@ var _ = /* @__PURE__ */ o(((e) => {if (Td === 4 || Td === 3) {Td = 0;var e = Md;- Md = null, He();+ Md = null, Ve();var t = Ed, n = Dd, r = Od, i = jd, a = (r & 335544064) === r ? 10262 : 10256;- if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Td = 5 : (Td = 0, Dd = Ed = null, gf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (wd = null), xt(r), n = n.stateNode, $e && typeof $e.onCommitFiberRoot == "function") try {- $e.onCommitFiberRoot(Qe, n, void 0, (n.current.flags & 128) == 128);+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Td = 5 : (Td = 0, Dd = Ed = null, gf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (wd = null), bt(r), n = n.stateNode, Qe && typeof Qe.onCommitFiberRoot == "function") try {+ Qe.onCommitFiberRoot(Ze, n, void 0, (n.current.flags & 128) == 128);} catch {}if (i !== null) {- n = he.T, a = ge.p, ge.p = 2, he.T = null;+ n = me.T, a = he.p, he.p = 2, me.T = null;try {for (var o = t.onRecoverableError, s = 0; s < i.length; s++) {var c = i[s];o(c.value, { componentStack: c.stack });}} finally {- he.T = n, ge.p = a;+ me.T = n, he.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);@@ -6563,7 +6563,7 @@ var _ = /* @__PURE__ */ o(((e) => {}}function gf(e, t) {- (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, ja(t)));+ (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Aa(t)));}function _f() {return Md !== null && (Md.skipTransition(), Md = null), pf(), mf(), hf(), vf();@@ -6572,22 +6572,22 @@ var _ = /* @__PURE__ */ o(((e) => {if (Td !== 5) return !1;var e = Ed, t = kd;kd = 0;- var n = xt(Od), r = he.T, a = ge.p;+ var n = bt(Od), r = me.T, a = he.p;try {- ge.p = 32 > n ? 32 : n, he.T = null, n = Ad, Ad = null;+ he.p = 32 > n ? 32 : n, me.T = null, n = Ad, Ad = null;var o = Ed, s = Od;- if (Td = 0, Dd = Ed = null, Od = 0, nd & 6) throw Error(i(331));- var c = nd;- if (nd |= 4, Zu(o.current), Uu(o, o.current, s, n), nd = c, Pf(0, !1), $e && typeof $e.onPostCommitFiberRoot == "function") try {- $e.onPostCommitFiberRoot(Qe, o);+ if (Td = 0, Dd = Ed = null, Od = 0, td & 6) throw Error(i(331));+ var c = td;+ if (td |= 4, Xu(o.current), Hu(o, o.current, s, n), td = c, Pf(0, !1), Qe && typeof Qe.onPostCommitFiberRoot == "function") try {+ Qe.onPostCommitFiberRoot(Ze, o);} catch {}return !0;} finally {- ge.p = a, he.T = r, gf(e, t);+ he.p = a, me.T = r, gf(e, t);}}function yf(e, t, n) {- t = zi(n, t), t = kc(e.stateNode, t, 2), e = go(e, t, 2), e !== null && (ht(e, 2), Nf(e));+ t = Ri(n, t), t = Oc(e.stateNode, t, 2), e = ho(e, t, 2), e !== null && (mt(e, 2), Nf(e));}function bf(e, t, n) {if (e.tag === 3) yf(e, e, n);@@ -6599,7 +6599,7 @@ var _ = /* @__PURE__ */ o(((e) => {if (t.tag === 1) {var r = t.stateNode;if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (wd === null || !wd.has(r))) {- e = zi(n, e), n = Ac(2), r = go(t, n, 2), r !== null && (jc(n, r, t, e), ht(r, 2), Nf(r));+ e = Ri(n, e), n = kc(2), r = ho(t, n, 2), r !== null && (Ac(n, r, t, e), mt(r, 2), Nf(r));break;}}@@ -6609,18 +6609,18 @@ var _ = /* @__PURE__ */ o(((e) => {function xf(e, t, n) {var r = e.pingCache;if (r === null) {- r = e.pingCache = new td();+ r = e.pingCache = new ed();var i = /* @__PURE__ */ new Set();r.set(t, i);} else i = r.get(t), i === void 0 && (i = /* @__PURE__ */ new Set(), r.set(t, i));- i.has(n) || (ud = !0, i.add(n), e = Sf.bind(null, e, t, n), t.then(e, e));+ i.has(n) || (ld = !0, i.add(n), e = Sf.bind(null, e, t, n), t.then(e, e));}function Sf(e, t, n) {var r = e.pingCache;- r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, rd === e && (ad & n) === n && (fd === 4 || fd === 3 && (ad & 62914560) === ad && 300 > Ue() - bd ? nd & 2 ? md |= n : qd(e, 0) : md |= n, gd === ad && (gd = 0)), Nf(e);+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, nd === e && (id & n) === n && (dd === 4 || dd === 3 && (id & 62914560) === id && 300 > He() - bd ? td & 2 ? md |= n : qd(e, 0) : md |= n, gd === id && (gd = 0)), Nf(e);}function Cf(e, t) {- t === 0 && (t = pt()), e = wi(e, t), e !== null && (ht(e, t), Nf(e));+ t === 0 && (t = ft()), e = Ci(e, t), e !== null && (mt(e, t), Nf(e));}function wf(e) {var t = e.memoizedState, n = 0;@@ -6645,7 +6645,7 @@ var _ = /* @__PURE__ */ o(((e) => {r !== null && r.delete(t), Cf(e, n);}function Ef(e, t) {- return ze(e, t);+ return Re(e, t);}var Df = null, Of = null, kf = !1, Af = !1, jf = !1, Mf = 0;function Nf(e) {@@ -6662,10 +6662,10 @@ var _ = /* @__PURE__ */ o(((e) => {if (i === 0) var a = 0;else {var o = r.suspendedLanes, s = r.pingedLanes;- a = (1 << 31 - tt(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;+ a = (1 << 31 - et(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;}a !== 0 && (n = !0, zf(r, a));- } else a = ad, a = lt(r, r === rd ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || ut(r, a) || (n = !0, zf(r, a));+ } else a = id, a = ct(r, r === nd ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || lt(r, a) || (n = !0, zf(r, a));}r = r.next;}@@ -6680,7 +6680,7 @@ var _ = /* @__PURE__ */ o(((e) => {Af = kf = !1;var e = 0;Mf !== 0 && wp() && (e = Mf);- for (var t = Ue(), n = null, r = Df; r !== null;) {+ for (var t = He(), n = null, r = Df; r !== null;) {var i = r.next, a = Lf(r, t);a === 0 ? (r.next = null, n === null ? Df = i : n.next = i, i === null && (Of = n)) : (n = r, (e !== 0 || a & 3) && (Af = !0)), r = i;}@@ -6688,35 +6688,35 @@ var _ = /* @__PURE__ */ o(((e) => {}function Lf(e, t) {for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {- var o = 31 - tt(a), s = 1 << o, c = i[o];- c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = ft(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;+ var o = 31 - et(a), s = 1 << o, c = i[o];+ c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = dt(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;}- if (t = rd, n = ad, n = lt(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (od === 2 || od === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Be(r), e.callbackNode = null, e.callbackPriority = 0;- if (!(n & 3) || ut(e, n)) {+ if (t = nd, n = id, n = ct(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (ad === 2 || ad === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && ze(r), e.callbackNode = null, e.callbackPriority = 0;+ if (!(n & 3) || lt(e, n)) {if (t = n & -n, t === e.callbackPriority) return t;- switch (r !== null && Be(r), xt(n)) {+ switch (r !== null && ze(r), bt(n)) {case 2:case 8:- n = Ke;+ n = Ge;break;case 32:- n = qe;+ n = Ke;break;case 268435456:- n = Ye;+ n = Je;break;- default: n = qe;+ default: n = Ke;}- return r = Rf.bind(null, e), n = ze(n, r), e.callbackPriority = t, e.callbackNode = n, t;+ return r = Rf.bind(null, e), n = Re(n, r), e.callbackPriority = t, e.callbackNode = n, t;}- return r !== null && r !== null && Be(r), e.callbackPriority = 2, e.callbackNode = null, 2;+ return r !== null && r !== null && ze(r), e.callbackPriority = 2, e.callbackNode = null, 2;}function Rf(e, t) {if (Td !== 0 && Td !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;var n = e.callbackNode;if (_f() && e.callbackNode !== n) return null;- var r = ad;- return r = lt(e, e === rd ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Vd(e, r, t), Lf(e, Ue()), e.callbackNode != null && e.callbackNode === n ? Rf.bind(null, e) : null);+ var r = id;+ return r = ct(e, e === nd ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Vd(e, r, t), Lf(e, He()), e.callbackNode != null && e.callbackNode === n ? Rf.bind(null, e) : null);}function zf(e, t) {if (_f()) return null;@@ -6724,24 +6724,24 @@ var _ = /* @__PURE__ */ o(((e) => {}function Bf() {kp(function() {- nd & 6 ? ze(Ge, Ff) : If();+ td & 6 ? Re(We, Ff) : If();});}function Vf() {if (Mf === 0) {- var e = La;- e === 0 && (e = at, at <<= 1, !(at & 261888) && (at = 256)), Mf = e;+ var e = Ia;+ e === 0 && (e = it, it <<= 1, !(it & 261888) && (it = 256)), Mf = e;}return Mf;}function Hf(e) {- return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : _n(e);+ return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : gn(e);}function Uf(e, t, n, r, i) {if (t === "submit" && n && n.stateNode === i) {- var a = Hf((i[Et] || null).action), o = r.submitter;- o && (t = (t = o[Et] || null) ? Hf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));- var s = new Ln("action", "action", null, r, i);+ var a = Hf((i[Tt] || null).action), o = r.submitter;+ o && (t = (t = o[Tt] || null) ? Hf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));+ var s = new In("action", "action", null, r, i);e.push({event: s,listeners: [{@@ -6750,14 +6750,14 @@ var _ = /* @__PURE__ */ o(((e) => {if (r.defaultPrevented) {if (Mf !== 0) {var e = new FormData(i, o);- tc(n, {+ ec(n, {pending: !0,data: e,method: i.method,action: a}, null, e);}- } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), tc(n, {+ } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), ec(n, {pending: !0,data: e,method: i.method,@@ -6769,16 +6769,16 @@ var _ = /* @__PURE__ */ o(((e) => {});}}- for (var Wf = 0; Wf < di.length; Wf++) {- var Gf = di[Wf];- fi(Gf.toLowerCase(), "on" + (Gf[0].toUpperCase() + Gf.slice(1)));+ for (var Wf = 0; Wf < ui.length; Wf++) {+ var Gf = ui[Wf];+ di(Gf.toLowerCase(), "on" + (Gf[0].toUpperCase() + Gf.slice(1)));}- fi(ri, "onAnimationEnd"), fi(ii, "onAnimationIteration"), fi(ai, "onAnimationStart"), fi("dblclick", "onDoubleClick"), fi("focusin", "onFocus"), fi("focusout", "onBlur"), fi(oi, "onTransitionRun"), fi(si, "onTransitionStart"), fi(ci, "onTransitionCancel"), fi(li, "onTransitionEnd"), Wt("onMouseEnter", ["mouseout", "mouseover"]), Wt("onMouseLeave", ["mouseout", "mouseover"]), Wt("onPointerEnter", ["pointerout", "pointerover"]), Wt("onPointerLeave", ["pointerout", "pointerover"]), Ut("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Ut("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Ut("onBeforeInput", [+ di(ni, "onAnimationEnd"), di(ri, "onAnimationIteration"), di(ii, "onAnimationStart"), di("dblclick", "onDoubleClick"), di("focusin", "onFocus"), di("focusout", "onBlur"), di(ai, "onTransitionRun"), di(oi, "onTransitionStart"), di(si, "onTransitionCancel"), di(ci, "onTransitionEnd"), Ut("onMouseEnter", ["mouseout", "mouseover"]), Ut("onMouseLeave", ["mouseout", "mouseover"]), Ut("onPointerEnter", ["pointerout", "pointerover"]), Ut("onPointerLeave", ["pointerout", "pointerover"]), Ht("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Ht("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Ht("onBeforeInput", ["compositionend","keypress","textInput","paste"- ]), Ut("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Ut("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Ut("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));+ ]), Ht("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Ht("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Ht("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Kf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), qf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Kf));function Jf(e, t) {t = !!(t & 4);@@ -6794,7 +6794,7 @@ var _ = /* @__PURE__ */ o(((e) => {try {a(i);} catch (e) {- _i(e);+ gi(e);}i.currentTarget = null, a = c;}@@ -6804,7 +6804,7 @@ var _ = /* @__PURE__ */ o(((e) => {try {a(i);} catch (e) {- _i(e);+ gi(e);}i.currentTarget = null, a = c;}@@ -6812,8 +6812,8 @@ var _ = /* @__PURE__ */ o(((e) => {}}function Yf(e, t) {- var n = t[Ot];- n === void 0 && (n = t[Ot] = /* @__PURE__ */ new Set());+ var n = t[Dt];+ n === void 0 && (n = t[Dt] = /* @__PURE__ */ new Set());var r = e + "__bubble";n.has(r) || ($f(t, e, 2, !1), n.add(r));}@@ -6824,7 +6824,7 @@ var _ = /* @__PURE__ */ o(((e) => {var Zf = "_reactListening" + Math.random().toString(36).slice(2);function Qf(e) {if (!e[Zf]) {- e[Zf] = !0, Vt.forEach(function(t) {+ e[Zf] = !0, Bt.forEach(function(t) {t !== "selectionchange" && (qf.has(t) || Xf(t, !1, e), Xf(t, !0, e));});var t = e.nodeType === 9 ? e : e.ownerDocument;@@ -6841,7 +6841,7 @@ var _ = /* @__PURE__ */ o(((e) => {break;default: i = Oh;}- n = i.bind(null, t, n, e), i = void 0, !On || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {+ n = i.bind(null, t, n, e), i = void 0, !Dn || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {capture: !0,passive: i}) : i === void 0 ? e.addEventListener(t, n, !1) : e.addEventListener(t, n, { passive: i });@@ -6860,7 +6860,7 @@ var _ = /* @__PURE__ */ o(((e) => {s = s.return;}for (; c !== null;) {- if (s = Ft(c), s === null) return;+ if (s = Pt(c), s === null) return;if (l = s.tag, l === 5 || l === 6 || l === 26 || l === 27) {r = a = s;continue a;@@ -6870,27 +6870,27 @@ var _ = /* @__PURE__ */ o(((e) => {}r = r.return;}- Tn(function() {- var r = a, i = bn(n), s = [];+ wn(function() {+ var r = a, i = yn(n), s = [];a: {- var c = ui.get(e);+ var c = li.get(e);if (c !== void 0) {- var l = Ln, u = e;+ var l = In, u = e;switch (e) {- case "keypress": if (Mn(n) === 0) break a;+ case "keypress": if (jn(n) === 0) break a;case "keydown":case "keyup":- l = er;+ l = $n;break;case "focusin":- u = "focus", l = Gn;+ u = "focus", l = Wn;break;case "focusout":- u = "blur", l = Gn;+ u = "blur", l = Wn;break;case "beforeblur":case "afterblur":- l = Gn;+ l = Wn;break;case "click": if (n.button === 2) break a;case "auxclick":@@ -6901,7 +6901,7 @@ var _ = /* @__PURE__ */ o(((e) => {case "mouseout":case "mouseover":case "contextmenu":- l = Un;+ l = Hn;break;case "drag":case "dragend":@@ -6911,33 +6911,33 @@ var _ = /* @__PURE__ */ o(((e) => {case "dragover":case "dragstart":case "drop":- l = Wn;+ l = Un;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":- l = rr;+ l = nr;break;+ case ni:case ri:case ii:- case ai:- l = Kn;+ l = Gn;break;- case li:- l = ir;+ case ci:+ l = rr;break;case "scroll":case "scrollend":- l = zn;+ l = Rn;break;case "wheel":- l = ar;+ l = ir;break;case "copy":case "cut":case "paste":- l = qn;+ l = Kn;break;case "gotpointercapture":case "lostpointercapture":@@ -6947,19 +6947,19 @@ var _ = /* @__PURE__ */ o(((e) => {case "pointerout":case "pointerover":case "pointerup":- l = tr;+ l = er;break;case "submit":- l = nr;+ l = tr;break;case "toggle":- case "beforetoggle": l = or;+ case "beforetoggle": l = ar;}var d = !!(t & 4), f = !d && (e === "scroll" || e === "scrollend"), p = d ? c === null ? null : c + "Capture" : c;d = [];for (var m = r, h; m !== null;) {var g = m;- if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = En(m, p), g != null && d.push(tp(m, g, h))), f) break;+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = Tn(m, p), g != null && d.push(tp(m, g, h))), f) break;m = m.return;}0 < d.length && (c = new l(c, u, null, n, i), s.push({@@ -6970,45 +6970,45 @@ var _ = /* @__PURE__ */ o(((e) => {}if (!(t & 7)) {a: {- if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== yn && (u = n.relatedTarget || n.fromElement) && (Ft(u) || u[Dt])) break a;- (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? Ft(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Un, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = tr, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Lt(c), h = l == null ? u : Lt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Ft(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? E(c, l, rp) : null, c !== null && ip(s, u, c, d, !1), l !== null && f !== null && ip(s, f, l, d, !0)));+ if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== vn && (u = n.relatedTarget || n.fromElement) && (Pt(u) || u[Et])) break a;+ (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? Pt(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Hn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = er, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : It(c), h = l == null ? u : It(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Pt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? E(c, l, rp) : null, c !== null && ip(s, u, c, d, !1), l !== null && f !== null && ip(s, f, l, d, !0)));}a: {- if (c = r ? Lt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Er;- else if (br(c)) {- if (Dr) _ = Ir;+ if (c = r ? It(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Tr;+ else if (yr(c)) {+ if (Er) _ = Fr;else {- _ = Pr;- var v = Nr;+ _ = Nr;+ var v = Mr;}- } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && mn(r.elementType) && (_ = Er) : _ = Fr;+ } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && pn(r.elementType) && (_ = Tr) : _ = Pr;if (_ &&= _(e, r)) {- xr(s, _, n, i);+ br(s, _, n, i);break a;}v && v(e, c, r);}- switch (v = r ? Lt(r) : window, e) {+ switch (v = r ? It(r) : window, e) {case "focusin":- (br(v) || v.contentEditable === "true") && (qr = v, Jr = r, Yr = null);+ (yr(v) || v.contentEditable === "true") && (Kr = v, qr = r, Jr = null);break;case "focusout":- Yr = Jr = qr = null;+ Jr = qr = Kr = null;break;case "mousedown":- Xr = !0;+ Yr = !0;break;case "contextmenu":case "mouseup":case "dragend":- Xr = !1, Zr(s, n, i);+ Yr = !1, Xr(s, n, i);break;- case "selectionchange": if (Kr) break;+ case "selectionchange": if (Gr) break;case "keydown":- case "keyup": Zr(s, n, i);+ case "keyup": Xr(s, n, i);}var y;- if (cr) b: {+ if (sr) b: {switch (e) {case "compositionstart":var b = "onCompositionStart";@@ -7022,11 +7022,11 @@ var _ = /* @__PURE__ */ o(((e) => {}b = void 0;}- else gr ? mr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");- b && (dr && n.locale !== "ko" && (gr || b !== "onCompositionStart" ? b === "onCompositionEnd" && gr && (y = V()) : (An = i, jn = "value" in An ? An.value : An.textContent, gr = !0)), v = np(r, b), 0 < v.length && (b = new Jn(b, e, null, n, i), s.push({+ else hr ? pr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");+ b && (ur && n.locale !== "ko" && (hr || b !== "onCompositionStart" ? b === "onCompositionEnd" && hr && (y = H()) : (kn = i, An = "value" in kn ? kn.value : kn.textContent, hr = !0)), v = np(r, b), 0 < v.length && (b = new qn(b, e, null, n, i), s.push({event: b,listeners: v- }), y ? b.data = y : (y = hr(n), y !== null && (b.data = y)))), (y = ur ? _r(e, n) : vr(e, n)) && (b = np(r, "onBeforeInput"), 0 < b.length && (v = new Jn("onBeforeInput", "beforeinput", null, n, i), s.push({+ }), y ? b.data = y : (y = mr(n), y !== null && (b.data = y)))), (y = lr ? gr(e, n) : _r(e, n)) && (b = np(r, "onBeforeInput"), 0 < b.length && (v = new qn("onBeforeInput", "beforeinput", null, n, i), s.push({event: v,listeners: b}), v.data = y)), Uf(s, e, r, n, i);@@ -7044,7 +7044,7 @@ var _ = /* @__PURE__ */ o(((e) => {function np(e, t) {for (var n = t + "Capture", r = []; e !== null;) {var i = e, a = i.stateNode;- if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = En(e, n), i != null && r.unshift(tp(e, i, a)), i = En(e, t), i != null && r.push(tp(e, i, a))), e.tag === 3) return r;+ if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = Tn(e, n), i != null && r.unshift(tp(e, i, a)), i = Tn(e, t), i != null && r.push(tp(e, i, a))), e.tag === 3) return r;e = e.return;}return [];@@ -7060,7 +7060,7 @@ var _ = /* @__PURE__ */ o(((e) => {for (var a = t._reactName, o = []; n !== null && n !== r;) {var s = n, c = s.alternate, l = s.stateNode;if (s = s.tag, c !== null && c === r) break;- s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = En(n, a), l != null && o.unshift(tp(n, l, c))) : i || (l = En(n, a), l != null && o.push(tp(n, l, c)))), n = n.return;+ s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = Tn(n, a), l != null && o.unshift(tp(n, l, c))) : i || (l = Tn(n, a), l != null && o.push(tp(n, l, c)))), n = n.return;}o.length !== 0 && e.push({event: t,@@ -7077,28 +7077,28 @@ var _ = /* @__PURE__ */ o(((e) => {function lp(e, t, n, r, a, o) {switch (n) {case "children":- if (typeof r == "string") t === "body" || t === "textarea" && r === "" || un(e, r);- else if (typeof r == "number" || typeof r == "bigint") t !== "body" && un(e, "" + r);+ if (typeof r == "string") t === "body" || t === "textarea" && r === "" || ln(e, r);+ else if (typeof r == "number" || typeof r == "bigint") t !== "body" && ln(e, "" + r);else return;break;case "className":- Yt(e, "class", r);+ Jt(e, "class", r);break;case "tabIndex":- Yt(e, "tabindex", r);+ Jt(e, "tabindex", r);break;case "dir":case "role":case "viewBox":case "width":case "height":- Yt(e, n, r);+ Jt(e, n, r);break;case "style":- pn(e, r, o);+ fn(e, r, o);return;case "data": if (t !== "object") {- Yt(e, "data", r);+ Jt(e, "data", r);break;}case "src":@@ -7107,7 +7107,7 @@ var _ = /* @__PURE__ */ o(((e) => {e.removeAttribute(n);break;}- r = _n(r), e.setAttribute(n, r);+ r = gn(r), e.setAttribute(n, r);break;case "action":case "formAction":@@ -7119,10 +7119,10 @@ var _ = /* @__PURE__ */ o(((e) => {e.removeAttribute(n);break;}- r = _n(r), e.setAttribute(n, r);+ r = gn(r), e.setAttribute(n, r);break;case "onClick":- r != null && (e.onclick = vn);+ r != null && (e.onclick = _n);return;case "onScroll":r != null && Yf("scroll", e);@@ -7157,7 +7157,7 @@ var _ = /* @__PURE__ */ o(((e) => {e.removeAttribute("xlink:href");break;}- n = _n(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);+ n = gn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);break;case "contentEditable":case "spellCheck":@@ -7210,49 +7210,49 @@ var _ = /* @__PURE__ */ o(((e) => {r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);break;case "popover":- Yf("beforetoggle", e), Yf("toggle", e), Jt(e, "popover", r);+ Yf("beforetoggle", e), Yf("toggle", e), qt(e, "popover", r);break;case "xlinkActuate":- Xt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);break;case "xlinkArcrole":- Xt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);break;case "xlinkRole":- Xt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);break;case "xlinkShow":- Xt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);break;case "xlinkTitle":- Xt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);break;case "xlinkType":- Xt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);break;case "xmlBase":- Xt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);+ Yt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);break;case "xmlLang":- Xt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);+ Yt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);break;case "xmlSpace":- Xt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);+ Yt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);break;case "is":- Jt(e, "is", r);+ qt(e, "is", r);break;case "innerText":case "textContent": return;- default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = hn.get(n) || n, Jt(e, n, r);+ default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = mn.get(n) || n, qt(e, n, r);else return;}- R = !0;+ z = !0;}function up(e, t, n, r, a, o) {switch (n) {case "style":- pn(e, r, o);+ fn(e, r, o);return;case "dangerouslySetInnerHTML":if (r != null) {@@ -7264,8 +7264,8 @@ var _ = /* @__PURE__ */ o(((e) => {}break;case "children":- if (typeof r == "string") un(e, r);- else if (typeof r == "number" || typeof r == "bigint") un(e, "" + r);+ if (typeof r == "string") ln(e, r);+ else if (typeof r == "number" || typeof r == "bigint") ln(e, "" + r);else return;break;case "onScroll":@@ -7275,7 +7275,7 @@ var _ = /* @__PURE__ */ o(((e) => {r != null && Yf("scrollend", e);return;case "onClick":- r != null && (e.onclick = vn);+ r != null && (e.onclick = _n);return;case "suppressContentEditableWarning":case "suppressHydrationWarning":@@ -7284,16 +7284,16 @@ var _ = /* @__PURE__ */ o(((e) => {case "innerText":case "textContent": return;default:- if (!Ht.hasOwnProperty(n)) a: {- if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[Et] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {+ if (!Vt.hasOwnProperty(n)) a: {+ if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[Tt] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {typeof t != "function" && t !== null && (n in e ? e[n] = null : e.hasAttribute(n) && e.removeAttribute(n)), e.addEventListener(o, r, a);break a;}- R = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Jt(e, n, r);+ z = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : qt(e, n, r);}return;}- R = !0;+ z = !0;}function dp(e, t, n) {switch (t) {@@ -7355,7 +7355,7 @@ var _ = /* @__PURE__ */ o(((e) => {default: lp(e, t, r, d, n, null);}}- an(e, o, c, l, u, s, a, !1);+ rn(e, o, c, l, u, s, a, !1);return;case "select":for (a in Yf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {@@ -7368,7 +7368,7 @@ var _ = /* @__PURE__ */ o(((e) => {case "multiple": r = c;default: lp(e, t, a, c, n, null);}- t = o, n = s, e.multiple = !!r, t == null ? n != null && sn(e, !!r, n, !0) : sn(e, !!r, t, !1);+ t = o, n = s, e.multiple = !!r, t == null ? n != null && on(e, !!r, n, !0) : on(e, !!r, t, !1);return;case "textarea":for (s in Yf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {@@ -7386,7 +7386,7 @@ var _ = /* @__PURE__ */ o(((e) => {break;default: lp(e, t, s, c, n, null);}- ln(e, r, a, o);+ cn(e, r, a, o);return;case "option":for (l in n) if (n.hasOwnProperty(l) && (r = n[l], r != null)) switch (l) {@@ -7433,7 +7433,7 @@ var _ = /* @__PURE__ */ o(((e) => {default: lp(e, t, u, r, n, null);}return;- default: if (mn(t)) {+ default: if (pn(t)) {for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && up(e, t, d, r, n, void 0));return;}@@ -7466,22 +7466,22 @@ var _ = /* @__PURE__ */ o(((e) => {var m = r[p];if (f = n[p], r.hasOwnProperty(p) && (m != null || f != null)) switch (p) {case "type":- m !== f && (R = !0), o = m;+ m !== f && (z = !0), o = m;break;case "name":- m !== f && (R = !0), a = m;+ m !== f && (z = !0), a = m;break;case "checked":- m !== f && (R = !0), u = m;+ m !== f && (z = !0), u = m;break;case "defaultChecked":- m !== f && (R = !0), d = m;+ m !== f && (z = !0), d = m;break;case "value":- m !== f && (R = !0), s = m;+ m !== f && (z = !0), s = m;break;case "defaultValue":- m !== f && (R = !0), c = m;+ m !== f && (z = !0), c = m;break;case "children":case "dangerouslySetInnerHTML":@@ -7490,7 +7490,7 @@ var _ = /* @__PURE__ */ o(((e) => {default: m !== f && lp(e, t, p, m, r, f);}}- rn(e, s, c, l, u, d, o, a);+ nn(e, s, c, l, u, d, o, a);return;case "select":for (o in m = s = c = p = null, n) if (l = n[o], n.hasOwnProperty(o) && l != null) switch (o) {@@ -7500,15 +7500,15 @@ var _ = /* @__PURE__ */ o(((e) => {}for (a in r) if (o = r[a], l = n[a], r.hasOwnProperty(a) && (o != null || l != null)) switch (a) {case "value":- o !== l && (R = !0), p = o;+ o !== l && (z = !0), p = o;break;case "defaultValue":- o !== l && (R = !0), c = o;+ o !== l && (z = !0), c = o;break;- case "multiple": o !== l && (R = !0), s = o;+ case "multiple": o !== l && (z = !0), s = o;default: o !== l && lp(e, t, a, o, r, l);}- t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? sn(e, !!n, n ? [] : "", !1) : sn(e, !!n, t, !0)) : sn(e, !!n, p, !1);+ t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? on(e, !!n, n ? [] : "", !1) : on(e, !!n, t, !0)) : on(e, !!n, p, !1);return;case "textarea":for (c in m = p = null, n) if (a = n[c], n.hasOwnProperty(c) && a != null && !r.hasOwnProperty(c)) switch (c) {@@ -7518,10 +7518,10 @@ var _ = /* @__PURE__ */ o(((e) => {}for (s in r) if (a = r[s], o = n[s], r.hasOwnProperty(s) && (a != null || o != null)) switch (s) {case "value":- a !== o && (R = !0), p = a;+ a !== o && (z = !0), p = a;break;case "defaultValue":- a !== o && (R = !0), m = a;+ a !== o && (z = !0), m = a;break;case "children": break;case "dangerouslySetInnerHTML":@@ -7529,7 +7529,7 @@ var _ = /* @__PURE__ */ o(((e) => {break;default: a !== o && lp(e, t, s, a, r, o);}- cn(e, p, m);+ sn(e, p, m);return;case "option":for (var h in n) if (p = n[h], n.hasOwnProperty(h) && p != null && !r.hasOwnProperty(h)) switch (h) {@@ -7540,7 +7540,7 @@ var _ = /* @__PURE__ */ o(((e) => {}for (l in r) if (p = r[l], m = n[l], r.hasOwnProperty(l) && p !== m && (p != null || m != null)) switch (l) {case "selected":- p !== m && (R = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";+ p !== m && (z = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";break;default: lp(e, t, l, p, r, m);}@@ -7569,7 +7569,7 @@ var _ = /* @__PURE__ */ o(((e) => {default: lp(e, t, u, p, r, m);}return;- default: if (mn(t)) {+ default: if (pn(t)) {for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && up(e, t, _, void 0, r, p);for (d in r) p = r[d], m = n[d], !r.hasOwnProperty(d) || p === m || p === void 0 && m === void 0 || up(e, t, d, p, r, m);return;@@ -7628,7 +7628,7 @@ var _ = /* @__PURE__ */ o(((e) => {return e === 1 && t === "foreignObject" ? 0 : e;}function xp(e, t, n, r) {- return n = vp(n).createElement(e), n[Tt] = r, n[Et] = t, dp(n, e, t), zt(n), n;+ return n = vp(n).createElement(e), n[wt] = r, n[Tt] = t, dp(n, e, t), Rt(n), n;}function Sp(e, t) {return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.children == "bigint" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;@@ -7666,7 +7666,7 @@ var _ = /* @__PURE__ */ o(((e) => {n = e.ownerDocument.head, Em(n);for (var a = n.firstChild; a;) {var o = a.nextSibling, s = a.nodeName;- a[Mt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;+ a[jt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;}} else n === "body" && Em(e.ownerDocument.body);}@@ -7997,7 +7997,7 @@ var _ = /* @__PURE__ */ o(((e) => {return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || am(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;};function am(e, t, n, r, i) {- var a = Ft(i);+ var a = Pt(i);if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {if (n = !!a) a: {for (; a !== null;) {@@ -8094,7 +8094,7 @@ var _ = /* @__PURE__ */ o(((e) => {case "HTML":case "HEAD":case "BODY":- dm(n), Pt(n);+ dm(n), Nt(n);continue;case "SCRIPT":case "STYLE": continue;@@ -8113,7 +8113,7 @@ var _ = /* @__PURE__ */ o(((e) => {var a = i.name == null ? null : "" + i.name;if (i.type === "hidden" && e.getAttribute("name") === a) return e;} else return e;- } else if (!e[Mt]) switch (t) {+ } else if (!e[jt]) switch (t) {case "meta":if (!e.hasAttribute("itemprop")) break;return e;@@ -8237,11 +8237,11 @@ var _ = /* @__PURE__ */ o(((e) => {var i = n[r];n.hasOwnProperty(r) && i != null && lp(e, t, r, null, fp, i);}- n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === vn && (e.onclick = null), Pt(e);+ n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === _n && (e.onclick = null), Nt(e);}function Em(e) {for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);- Pt(e);+ Nt(e);}var Dm = /* @__PURE__ */ new Map(), Om = /* @__PURE__ */ new Set();function km(e) {@@ -8251,8 +8251,8 @@ var _ = /* @__PURE__ */ o(((e) => {}return e.nodeType === 9 ? e : e.ownerDocument;}- var Am = ge.d;- ge.d = {+ var Am = he.d;+ he.d = {f: jm,r: Mm,D: Fm,@@ -8268,19 +8268,19 @@ var _ = /* @__PURE__ */ o(((e) => {return e || t;}function Mm(e) {- var t = It(e);- t !== null && t.tag === 5 && t.type === "form" ? rc(t) : Am.r(e);+ var t = Ft(e);+ t !== null && t.tag === 5 && t.type === "form" ? nc(t) : Am.r(e);}var Nm = typeof document > "u" ? null : document;function Pm(e, t, n) {var r = Nm;if (r && typeof t == "string" && t) {- var i = nn(t);+ var i = tn(t);i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), Om.has(i) || (Om.add(i), e = {rel: e,crossOrigin: n,href: t- }, r.querySelector(i) === null && (t = r.createElement("link"), dp(t, "link", e), zt(t), r.head.appendChild(t)));+ }, r.querySelector(i) === null && (t = r.createElement("link"), dp(t, "link", e), Rt(t), r.head.appendChild(t)));}}function Fm(e) {@@ -8293,8 +8293,8 @@ var _ = /* @__PURE__ */ o(((e) => {Am.L(e, t, n);var r = Nm;if (r && e && t) {- var i = "link[rel=\"preload\"][as=\"" + nn(t) + "\"]";- t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + nn(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + nn(n.imageSizes) + "\"]")) : i += "[href=\"" + nn(e) + "\"]";+ var i = "link[rel=\"preload\"][as=\"" + tn(t) + "\"]";+ t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + tn(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + tn(n.imageSizes) + "\"]")) : i += "[href=\"" + tn(e) + "\"]";var a = i;switch (t) {case "style":@@ -8308,9 +8308,9 @@ var _ = /* @__PURE__ */ o(((e) => {as: t}, n), Dm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Wm(a)) || t === "script" && r.querySelector(Jm(a))))) {var o = r.createElement("link");- dp(o, "link", e), t === "style" && (o[Nt] = !0, o.onload = o.onerror = function() {- Bt(o);- }), zt(o), r.head.appendChild(o);+ dp(o, "link", e), t === "style" && (o[Mt] = !0, o.onload = o.onerror = function() {+ zt(o);+ }), Rt(o), r.head.appendChild(o);}}}@@ -8318,7 +8318,7 @@ var _ = /* @__PURE__ */ o(((e) => {Am.m(e, t);var n = Nm;if (n && e) {- var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + nn(r) + "\"][href=\"" + nn(e) + "\"]", a = i;+ var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + tn(r) + "\"][href=\"" + tn(e) + "\"]", a = i;switch (r) {case "audioworklet":case "paintworklet":@@ -8339,7 +8339,7 @@ var _ = /* @__PURE__ */ o(((e) => {case "worker":case "script": if (n.querySelector(Jm(a))) return;}- r = n.createElement("link"), dp(r, "link", e), zt(r), n.head.appendChild(r);+ r = n.createElement("link"), dp(r, "link", e), Rt(r), n.head.appendChild(r);}}}@@ -8347,7 +8347,7 @@ var _ = /* @__PURE__ */ o(((e) => {Am.S(e, t, n);var r = Nm;if (r && e) {- var i = Rt(r).hoistableStyles, a = Um(e);+ var i = Lt(r).hoistableStyles, a = Um(e);t ||= "default";var o = i.get(a);if (!o) {@@ -8363,7 +8363,7 @@ var _ = /* @__PURE__ */ o(((e) => {"data-precedence": t}, n), (n = Dm.get(a)) && Zm(e, n);var c = o = r.createElement("link");- zt(c), dp(c, "link", e), c._p = new Promise(function(e, t) {+ Rt(c), dp(c, "link", e), c._p = new Promise(function(e, t) {c.onload = e, c.onerror = t;}), c.addEventListener("load", function() {s.loading |= 1;@@ -8384,11 +8384,11 @@ var _ = /* @__PURE__ */ o(((e) => {Am.X(e, t);var n = Nm;if (n && e) {- var r = Rt(n).hoistableScripts, i = qm(e), a = r.get(i);+ var r = Lt(n).hoistableScripts, i = qm(e), a = r.get(i);a || (a = n.querySelector(Jm(i)), a || (e = D({src: e,async: !0- }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), zt(a), dp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), Rt(a), dp(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -8400,12 +8400,12 @@ var _ = /* @__PURE__ */ o(((e) => {Am.M(e, t);var n = Nm;if (n && e) {- var r = Rt(n).hoistableScripts, i = qm(e), a = r.get(i);+ var r = Lt(n).hoistableScripts, i = qm(e), a = r.get(i);a || (a = n.querySelector(Jm(i)), a || (e = D({src: e,async: !0,type: "module"- }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), zt(a), dp(a, "link", e), n.head.appendChild(a)), a = {+ }, t), (t = Dm.get(i)) && Qm(e, t), a = n.createElement("script"), Rt(a), dp(a, "link", e), n.head.appendChild(a)), a = {type: "script",instance: a,count: 1,@@ -8414,12 +8414,12 @@ var _ = /* @__PURE__ */ o(((e) => {}}function Hm(e, t, n, r) {- var a = (a = Te.current) ? km(a) : null;+ var a = (a = we.current) ? km(a) : null;if (!a) throw Error(i(446));switch (e) {case "meta":case "title": return null;- case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Um(n.href), t = Rt(a).hoistableStyles, r = t.get(n), r || (r = {+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Um(n.href), t = Lt(a).hoistableStyles, r = t.get(n), r || (r = {type: "style",instance: null,count: 0,@@ -8433,7 +8433,7 @@ var _ = /* @__PURE__ */ o(((e) => {case "link":if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {e = Um(n.href);- var o = Rt(a).hoistableStyles, s = o.get(e);+ var o = Lt(a).hoistableStyles, s = o.get(e);if (s || (a = a.ownerDocument || a, s = {type: "stylesheet",instance: null,@@ -8456,7 +8456,7 @@ var _ = /* @__PURE__ */ o(((e) => {}if (t && r !== null) throw Error(i(529, ""));return null;- case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = qm(n), t = Rt(a).hoistableScripts, r = t.get(n), r || (r = {+ case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = qm(n), t = Lt(a).hoistableScripts, r = t.get(n), r || (r = {type: "script",instance: null,count: 0,@@ -8471,7 +8471,7 @@ var _ = /* @__PURE__ */ o(((e) => {}}function Um(e) {- return "href=\"" + nn(e) + "\"";+ return "href=\"" + tn(e) + "\"";}function Wm(e) {return "link[rel=\"stylesheet\"][" + e + "]";@@ -8484,11 +8484,11 @@ var _ = /* @__PURE__ */ o(((e) => {}function Km(e, t, n, r) {if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {- if (!0 !== t[Nt]) {+ if (!0 !== t[Mt]) {r.loading = 1;return;}- } else t = e.createElement("link"), t[Nt] = !0, t.onload = t.onerror = Bt.bind(null, t), dp(t, "link", n), zt(t), e.head.appendChild(t);+ } else t = e.createElement("link"), t[Mt] = !0, t.onload = t.onerror = zt.bind(null, t), dp(t, "link", n), Rt(t), e.head.appendChild(t);r.preload = t, t.addEventListener("load", function() {return r.loading |= 1;}), t.addEventListener("error", function() {@@ -8496,7 +8496,7 @@ var _ = /* @__PURE__ */ o(((e) => {});}function qm(e) {- return "[src=\"" + nn(e) + "\"]";+ return "[src=\"" + tn(e) + "\"]";}function Jm(e) {return "script[async]" + e;@@ -8504,25 +8504,25 @@ var _ = /* @__PURE__ */ o(((e) => {function Ym(e, t, n) {if (t.count++, t.instance === null) switch (t.type) {case "style":- var r = e.querySelector("style[data-href~=\"" + nn(n.href) + "\"]");- if (r) return t.instance = r, zt(r), r;+ var r = e.querySelector("style[data-href~=\"" + tn(n.href) + "\"]");+ if (r) return t.instance = r, Rt(r), r;var a = D({}, n, {"data-href": n.href,"data-precedence": n.precedence,href: null,precedence: null});- return r = (e.ownerDocument || e).createElement("style"), zt(r), dp(r, "style", a), Xm(r, n.precedence, e), t.instance = r;+ return r = (e.ownerDocument || e).createElement("style"), Rt(r), dp(r, "style", a), Xm(r, n.precedence, e), t.instance = r;case "stylesheet":a = Um(n.href);var o = e.querySelector(Wm(a));- if (o) return t.state.loading |= 4, t.instance = o, zt(o), o;- r = Gm(n), (a = Dm.get(a)) && Zm(r, a), o = (e.ownerDocument || e).createElement("link"), zt(o);+ if (o) return t.state.loading |= 4, t.instance = o, Rt(o), o;+ r = Gm(n), (a = Dm.get(a)) && Zm(r, a), o = (e.ownerDocument || e).createElement("link"), Rt(o);var s = o;return s._p = new Promise(function(e, t) {s.onload = e, s.onerror = t;}), dp(o, "link", r), t.state.loading |= 4, Xm(o, n.precedence, e), t.instance = o;- case "script": return o = qm(n.src), (a = e.querySelector(Jm(o))) ? (t.instance = a, zt(a), a) : (r = n, (a = Dm.get(o)) && (r = D({}, n), Qm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), zt(a), dp(a, "link", r), e.head.appendChild(a), t.instance = a);+ case "script": return o = qm(n.src), (a = e.querySelector(Jm(o))) ? (t.instance = a, Rt(a), a) : (r = n, (a = Dm.get(o)) && (r = D({}, n), Qm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Rt(a), dp(a, "link", r), e.head.appendChild(a), t.instance = a);case "void": return null;default: throw Error(i(443, t.type));}@@ -8552,7 +8552,7 @@ var _ = /* @__PURE__ */ o(((e) => {if (r.has(e)) return r;for (r.set(e, null), n = n.getElementsByTagName(e), i = 0; i < n.length; i++) {var a = n[i];- if (!(a[Mt] || a[Tt] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {+ if (!(a[jt] || a[wt] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {var o = a.getAttribute(t) || "";o = e + o;var s = r.get(o);@@ -8599,10 +8599,10 @@ var _ = /* @__PURE__ */ o(((e) => {if (n.instance === null) {var i = Um(r.href), a = t.querySelector(Wm(i));if (a) {- t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = dh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, zt(a);+ t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = dh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Rt(a);return;}- a = t.ownerDocument || t, r = Gm(r), (i = Dm.get(i)) && Zm(r, i), a = a.createElement("link"), zt(a);+ a = t.ownerDocument || t, r = Gm(r), (i = Dm.get(i)) && Zm(r, i), a = a.createElement("link"), Rt(a);var o = a;o._p = new Promise(function(e, t) {o.onload = e, o.onerror = t;@@ -8667,28 +8667,28 @@ var _ = /* @__PURE__ */ o(((e) => {}}var gh = {- $$typeof: te,+ $$typeof: ee,Provider: null,Consumer: null,- _currentValue: _e,- _currentValue2: _e,+ _currentValue: ge,+ _currentValue2: ge,_threadCount: 0};function _h(e, t, n, r, i, a, o, s, c) {- this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = mt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = mt(0), this.hiddenUpdates = mt(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();+ this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = pt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = pt(0), this.hiddenUpdates = pt(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();}function vh(e, t, n, r, i, a, o, s, c, l, u, d) {- return e = new _h(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = ki(3, null, null, t), e.current = a, a.stateNode = e, t = Aa(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {+ return e = new _h(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Oi(3, null, null, t), e.current = a, a.stateNode = e, t = ka(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {element: r,isDehydrated: n,cache: t- }, po(a), e;+ }, fo(a), e;}function yh(e) {- return e ? (e = Di, e) : Di;+ return e ? (e = Ei, e) : Ei;}function bh(e, t, n, r, i, a) {- i = yh(i), r.context === null ? r.context = i : r.pendingContext = i, r = ho(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = go(e, r, t), n !== null && (Bd(n, e, t), _o(n, e, t));+ i = yh(i), r.context === null ? r.context = i : r.pendingContext = i, r = mo(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = ho(e, r, t), n !== null && (Bd(n, e, t), go(n, e, t));}function xh(e, t) {if (e = e.memoizedState, e !== null && e.dehydrated !== null) {@@ -8701,37 +8701,37 @@ var _ = /* @__PURE__ */ o(((e) => {}function Ch(e) {if (e.tag === 13 || e.tag === 31) {- var t = wi(e, 67108864);+ var t = Ci(e, 67108864);t !== null && Bd(t, e, 67108864), Sh(e, 67108864);}}function wh(e) {if (e.tag === 13 || e.tag === 31) {var t = Ld();- t = bt(t);- var n = wi(e, t);+ t = yt(t);+ var n = Ci(e, t);n !== null && Bd(n, e, t), Sh(e, t);}}var Th = !0;function Eh(e, t, n, r) {- var i = he.T;- he.T = null;- var a = ge.p;+ var i = me.T;+ me.T = null;+ var a = he.p;try {- ge.p = 2, Oh(e, t, n, r);+ he.p = 2, Oh(e, t, n, r);} finally {- ge.p = a, he.T = i;+ he.p = a, me.T = i;}}function Dh(e, t, n, r) {- var i = he.T;- he.T = null;- var a = ge.p;+ var i = me.T;+ me.T = null;+ var a = he.p;try {- ge.p = 8, Oh(e, t, n, r);+ he.p = 8, Oh(e, t, n, r);} finally {- ge.p = a, he.T = i;+ he.p = a, me.T = i;}}function Oh(e, t, n, r) {@@ -8741,23 +8741,23 @@ var _ = /* @__PURE__ */ o(((e) => {else if (Uh(i, e, t, n, r)) r.stopPropagation();else if (Vh(e, r), t & 4 && -1 < Bh.indexOf(e)) {for (; i !== null;) {- var a = It(i);+ var a = Ft(i);if (a !== null) switch (a.tag) {case 3:if (a = a.stateNode, a.current.memoizedState.isDehydrated) {- var o = ct(a.pendingLanes);+ var o = st(a.pendingLanes);if (o !== 0) {var s = a;for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {- var c = 1 << 31 - tt(o);+ var c = 1 << 31 - et(o);s.entanglements[1] |= c, o &= ~c;}- Nf(a), !(nd & 6) && (Sd = Ue() + 500, Pf(0, !1));+ Nf(a), !(td & 6) && (Sd = He() + 500, Pf(0, !1));}}break;case 31:- case 13: s = wi(a, 2), s !== null && Bd(s, a, 2), Gd(), Sh(a, 2);+ case 13: s = Ci(a, 2), s !== null && Bd(s, a, 2), Gd(), Sh(a, 2);}if (a = kh(r), a === null && ep(e, t, r, Ah, n), a === i) break;i = a;@@ -8767,11 +8767,11 @@ var _ = /* @__PURE__ */ o(((e) => {}}function kh(e) {- return e = bn(e), jh(e);+ return e = yn(e), jh(e);}var Ah = null;function jh(e) {- if (Ah = null, e = Ft(e), e !== null) {+ if (Ah = null, e = Pt(e), e !== null) {var t = o(e);if (t === null) e = null;else {@@ -8864,12 +8864,12 @@ var _ = /* @__PURE__ */ o(((e) => {case "mouseleave":case "pointerenter":case "pointerleave": return 8;- case "message": switch (We()) {- case Ge: return 2;- case Ke: return 8;- case qe:- case Je: return 32;- case Ye: return 268435456;+ case "message": switch (Ue()) {+ case We: return 2;+ case Ge: return 8;+ case Ke:+ case qe: return 32;+ case Je: return 268435456;default: return 32;}default: return 32;@@ -8905,7 +8905,7 @@ var _ = /* @__PURE__ */ o(((e) => {eventSystemFlags: r,nativeEvent: a,targetContainers: [i]- }, t !== null && (t = It(t), t !== null && Ch(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);+ }, t !== null && (t = Ft(t), t !== null && Ch(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);}function Uh(e, t, n, r, i) {switch (t) {@@ -8920,20 +8920,20 @@ var _ = /* @__PURE__ */ o(((e) => {return !1;}function Wh(e) {- var t = Ft(e.target);+ var t = Pt(e.target);if (t !== null) {var n = o(t);if (n !== null) {if (t = n.tag, t === 13) {if (t = s(n), t !== null) {- e.blockedOn = t, Ct(e.priority, function() {+ e.blockedOn = t, St(e.priority, function() {wh(n);});return;}} else if (t === 31) {if (t = c(n), t !== null) {- e.blockedOn = t, Ct(e.priority, function() {+ e.blockedOn = t, St(e.priority, function() {wh(n);});return;@@ -8953,8 +8953,8 @@ var _ = /* @__PURE__ */ o(((e) => {if (n === null) {n = e.nativeEvent;var r = new n.constructor(n.type, n);- yn = r, n.target.dispatchEvent(r), yn = null;- } else return t = It(n), t !== null && Ch(t), e.blockedOn = n, !1;+ vn = r, n.target.dispatchEvent(r), vn = null;+ } else return t = Ft(n), t !== null && Ch(t), e.blockedOn = n, !1;t.shift();}return !0;@@ -8978,8 +8978,8 @@ var _ = /* @__PURE__ */ o(((e) => {if (jh(r || n) === null) continue;break;}- var a = It(n);- a !== null && (e.splice(t, 3), t -= 3, tc(a, {+ var a = Ft(n);+ a !== null && (e.splice(t, 3), t -= 3, ec(a, {pending: !0,data: i,method: n.method,@@ -8999,12 +8999,12 @@ var _ = /* @__PURE__ */ o(((e) => {}for (; 0 < zh.length && (n = zh[0], n.blockedOn === null);) Wh(n), n.blockedOn === null && zh.shift();if (n = (e.ownerDocument || e).$$reactFormReplay, n != null) for (r = 0; r < n.length; r += 3) {- var i = n[r], a = n[r + 1], o = i[Et] || null;+ var i = n[r], a = n[r + 1], o = i[Tt] || null;if (typeof a == "function") o || Xh(n);else if (o) {var s = null;if (a && a.hasAttribute("formAction")) {- if (i = a, o = a[Et] || null) s = o.formAction;+ if (i = a, o = a[Tt] || null) s = o.formAction;else if (jh(i) !== null) continue;} else s = o.action;typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Xh(n);@@ -9056,7 +9056,7 @@ var _ = /* @__PURE__ */ o(((e) => {if (e !== null) {this._internalRoot = null;var t = e.containerInfo;- bh(e.current, 2, null, e, null, null), Gd(), t[Dt] = null;+ bh(e.current, 2, null, e, null, null), Gd(), t[Et] = null;}};function eg(e) {@@ -9064,7 +9064,7 @@ var _ = /* @__PURE__ */ o(((e) => {}eg.prototype.unstable_scheduleHydration = function(e) {if (e) {- var t = St();+ var t = xt();e = {blockedOn: null,target: e,@@ -9076,7 +9076,7 @@ var _ = /* @__PURE__ */ o(((e) => {};var tg = n.version;if (tg !== "19.3.1") throw Error(i(527, tg, "19.3.1"));- ge.findDOMNode = function(e) {+ he.findDOMNode = function(e) {var t = e._reactInternals;if (t === void 0) throw typeof e.render == "function" ? Error(i(188)) : (e = Object.keys(e).join(","), Error(i(268, e)));return e = u(t), e = e === null ? null : d(e), e = e === null ? null : e.stateNode, e;@@ -9085,19 +9085,19 @@ var _ = /* @__PURE__ */ o(((e) => {bundleType: 0,version: "19.3.1",rendererPackageName: "react-dom",- currentDispatcherRef: he,+ currentDispatcherRef: me,reconcilerVersion: "19.3.1"};if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {var rg = __REACT_DEVTOOLS_GLOBAL_HOOK__;if (!rg.isDisabled && rg.supportsFiber) try {- Qe = rg.inject(ng), $e = rg;+ Ze = rg.inject(ng), Qe = rg;} catch {}}e.createRoot = function(e, t) {if (!a(e)) throw Error(i(299));- var n = !1, r = "", o = wc, s = Tc, c = Ec;- return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = vh(e, 1, !1, null, null, n, r, null, o, s, c, Qh), e[Dt] = t.current, Qf(e), new $h(t);+ var n = !1, r = "", o = Cc, s = wc, c = Tc;+ return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = vh(e, 1, !1, null, null, n, r, null, o, s, c, Qh), e[Et] = t.current, Qf(e), new $h(t);};})), w = /* @__PURE__ */ o(((e, t) => {function n() {@@ -9140,7 +9140,7 @@ var _ = /* @__PURE__ */ o(((e) => {clearTimeout: (e) => clearTimeout(e),setInterval: (e, t) => setInterval(e, t),clearInterval: (e) => clearInterval(e)-}, ee = new class {+}, N = new class {#e = M;setTimeoutProvider(e) {this.#e = e;@@ -9158,31 +9158,31 @@ var _ = /* @__PURE__ */ o(((e) => {this.#e.clearInterval(e);}}();-function N(e) {+function P(e) {setTimeout(e, 0);}//#endregion//#region node_modules/@tanstack/query-core/build/modern/utils.js-var te = typeof window > "u" || "Deno" in globalThis;-function P() {}-function ne(e, t) {+var ee = typeof window > "u" || "Deno" in globalThis;+function F() {}+function te(e, t) {return typeof e == "function" ? e(t) : e;}-function F(e) {+function I(e) {return typeof e == "number" && e >= 0 && e !== Infinity;}-function re(e, t) {+function ne(e, t) {return Math.max(e + (t || 0) - Date.now(), 0);}-function ie(e, t) {+function re(e, t) {return typeof e == "function" ? e(t) : e;}-function ae(e, t) {+function ie(e, t) {let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;if (o) {if (r) {- if (t.queryHash !== se(o, t.options)) return !1;- } else if (!le(t.queryKey, o)) return !1;+ if (t.queryHash !== oe(o, t.options)) return !1;+ } else if (!ce(t.queryKey, o)) return !1;}if (n !== "all") {let e = t.isActive();@@ -9190,105 +9190,105 @@ function ae(e, t) {}return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));}-function oe(e, t) {+function ae(e, t) {let { exact: n, status: r, predicate: i, mutationKey: a } = e;if (a) {if (!t.options.mutationKey) return !1;if (n) {- if (ce(t.options.mutationKey) !== ce(a)) return !1;- } else if (!le(t.options.mutationKey, a)) return !1;+ if (se(t.options.mutationKey) !== se(a)) return !1;+ } else if (!ce(t.options.mutationKey, a)) return !1;}return !(r && t.state.status !== r || i && !i(t));}-function se(e, t) {- return (t?.queryKeyHashFn || ce)(e);+function oe(e, t) {+ return (t?.queryKeyHashFn || se)(e);}-function ce(e) {- return JSON.stringify(e, (e, t) => me(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);+function se(e) {+ return JSON.stringify(e, (e, t) => pe(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);}-function le(e, t) {+function ce(e, t) {if (e === t) return !0;if (typeof e != typeof t) return !1;if (e && t && typeof e == "object" && typeof t == "object") {if (Array.isArray(e) && Array.isArray(t)) {if (t.length > e.length) return !1;- for (let n = 0; n < t.length; n++) if (!le(e[n], t[n])) return !1;+ for (let n = 0; n < t.length; n++) if (!ce(e[n], t[n])) return !1;return !0;}let n = Object.keys(t);- for (let r of n) if (!le(e[r], t[r])) return !1;+ for (let r of n) if (!ce(e[r], t[r])) return !1;return !0;}return !1;}-var ue = Object.prototype.hasOwnProperty;-function de(e, t, n = 0) {+var le = Object.prototype.hasOwnProperty;+function ue(e, t, n = 0) {if (e === t) return e;if (n > 500) return t;- let r = pe(e) && pe(t);- if (!r && !(me(e) && me(t))) return t;+ let r = fe(e) && fe(t);+ if (!r && !(pe(e) && pe(t))) return t;let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;for (let l = 0; l < o; l++) {let o = r ? l : a[l], u = e[o], d = t[o];if (u === d) {- s[o] = u, (r ? l < i : ue.call(e, o)) && c++;+ s[o] = u, (r ? l < i : le.call(e, o)) && c++;continue;}if (u === null || d === null || typeof u != "object" || typeof d != "object") {s[o] = d;continue;}- let f = de(u, d, n + 1);+ let f = ue(u, d, n + 1);s[o] = f, f === u && c++;}return i === o && c === i ? e : s;}-function fe(e, t) {+function de(e, t) {if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;for (let n in e) if (e[n] !== t[n]) return !1;return !0;}-function pe(e) {+function fe(e) {return Array.isArray(e) && e.length === Object.keys(e).length;}-function me(e) {- if (!he(e)) return !1;+function pe(e) {+ if (!me(e)) return !1;let t = Object.getPrototypeOf(e), n = t?.constructor;if (n === void 0) return !0;if (typeof n != "function") return !1;let r = n.prototype;- return !(!he(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);+ return !(!me(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);}-function he(e) {+function me(e) {return Object.prototype.toString.call(e) === "[object Object]";}-function ge(e) {+function he(e) {return new Promise((t) => {- ee.setTimeout(t, e);+ N.setTimeout(t, e);});}-function _e(e, t, n) {- return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : de(e, t);+function ge(e, t, n) {+ return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : ue(e, t);}-function ve(e) {+function _e(e) {return e;}-function ye(e, t, n = 0) {+function ve(e, t, n = 0) {let r = [...e, t];return n && r.length > n ? r.slice(1) : r;}-function be(e, t, n = 0) {+function ye(e, t, n = 0) {let r = [t, ...e];return n && r.length > n ? r.slice(0, -1) : r;}-var xe = Symbol();-function Se(e, t) {- return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === xe ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;+var be = Symbol();+function xe(e, t) {+ return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === be ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;}-function Ce(e, t) {+function Se(e, t) {return typeof e == "function" ? e(...t) : !!e;}-function we(e, t, n) {+function Ce(e, t, n) {let r = !1, i;return Object.defineProperty(e, "signal", {enumerable: !0,@@ -9297,7 +9297,7 @@ function we(e, t, n) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js-var Te = () => te, Ee = () => Te(), De = class {+var we = () => ee, Te = () => we(), Ee = class {constructor() {this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);}@@ -9311,7 +9311,7 @@ var Te = () => te, Ee = () => Te(), De = class {}onSubscribe() {}onUnsubscribe() {}-}, Oe = new class extends De {+}, De = new class extends Ee {#e;#t;#n;@@ -9348,13 +9348,13 @@ var Te = () => te, Ee = () => Te(), De = class {isFocused() {return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";}-}(), ke = N;-function Ae() {+}(), Oe = P;+function ke() {let e = [], t = 0, n = (e) => {e();}, r = (e) => {e();- }, i = ke, a = (r) => {+ }, i = Oe, a = (r) => {t ? e.push(r) : i(() => {n(r);});@@ -9396,7 +9396,7 @@ function Ae() {}};}-var je = Ae(), Me = new class extends De {+var Ae = ke(), je = new class extends Ee {#e = !0;#t;#n;@@ -9430,35 +9430,35 @@ var je = Ae(), Me = new class extends De {}();//#endregion//#region node_modules/@tanstack/query-core/build/modern/retryer.js-function Ne(e) {+function Me(e) {return Math.min(1e3 * 2 ** e, 3e4);}-function Pe(e) {- return (e ?? "online") !== "online" || Me.isOnline();+function Ne(e) {+ return (e ?? "online") !== "online" || je.isOnline();}-var Fe = class extends Error {+var Pe = class extends Error {constructor(e) {super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;}};-function Ie(e) {- return e instanceof Fe;+function Fe(e) {+ return e instanceof Pe;}-function Le(e) {+function Ie(e) {let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {a = e, o = t;});- s.catch(P);+ s.catch(F);let c = () => i !== "pending", l = (t) => {if (!c()) {- let n = new Fe(t);+ let n = new Pe(t);h(n), e.onCancel?.(n);}}, u = () => {t = !0;}, d = () => {t = !1;- }, f = () => Oe.isFocused() && (e.networkMode === "always" || Me.isOnline()) && e.canRun(), p = () => Pe(e.networkMode) && e.canRun(), m = (e) => {+ }, f = () => De.isFocused() && (e.networkMode === "always" || je.isOnline()) && e.canRun(), p = () => Ne(e.networkMode) && e.canRun(), m = (e) => {c() || (r?.(), i = "resolved", a(e));}, h = (e) => {c() || (r?.(), i = "rejected", o(e));@@ -9478,8 +9478,8 @@ function Le(e) {}Promise.resolve(r).then(m).catch((r) => {if (c()) return;- let i = e.retry ?? (Ee() ? 0 : 3), a = e.retryDelay ?? Ne, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);- t || !s ? h(r) : (n++, e.onFail?.(n, r), ge(o).then(() => f() ? void 0 : g(f)).then(() => {+ let i = e.retry ?? (Te() ? 0 : 3), a = e.retryDelay ?? Me, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);+ t || !s ? h(r) : (n++, e.onFail?.(n, r), he(o).then(() => f() ? void 0 : g(f)).then(() => {t ? h(r) : _();}));});@@ -9497,34 +9497,34 @@ function Le(e) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/removable.js-var Re = class {+var Le = class {#e;destroy() {this.clearGcTimeout();}scheduleGc() {- this.clearGcTimeout(), F(this.gcTime) && (this.#e = ee.setTimeout(() => {+ this.clearGcTimeout(), I(this.gcTime) && (this.#e = N.setTimeout(() => {this.optionalRemove();}, this.gcTime));}updateGcTime(e) {- this.gcTime = Math.max(this.gcTime || 0, e ?? (Ee() ? Infinity : 3e5));+ this.gcTime = Math.max(this.gcTime || 0, e ?? (Te() ? Infinity : 3e5));}clearGcTimeout() {- this.#e !== void 0 && (ee.clearTimeout(this.#e), this.#e = void 0);+ this.#e !== void 0 && (N.clearTimeout(this.#e), this.#e = void 0);}};//#endregion//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js-function ze(e) {+function Re(e) {return { onFetch: (t, n) => {let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {pages: [],pageParams: []}, c = 0, l = async () => {let n = !1, l = (e) => {- we(e, () => t.signal, () => n = !0);- }, u = Se(t.options, t.fetchOptions), d = async (e, r, i) => {+ Ce(e, () => t.signal, () => n = !0);+ }, u = xe(t.options, t.fetchOptions), d = async (e, r, i) => {if (n) return Promise.reject(t.signal.reason);if (r == null && e.pages.length) return Promise.resolve(e);let a = (() => {@@ -9536,14 +9536,14 @@ function ze(e) {meta: t.options.meta};return l(e), e;- })(), o = await u(a), { maxPages: s } = t.options, c = i ? be : ye;+ })(), o = await u(a), { maxPages: s } = t.options, c = i ? ye : ve;return {pages: c(e.pages, o, s),pageParams: c(e.pageParams, r, s)};};if (i && a.length) {- let e = i === "backward", t = e ? Ve : Be, n = {+ let e = i === "backward", t = e ? Be : ze, n = {pages: a,pageParams: o};@@ -9551,7 +9551,7 @@ function ze(e) {} else {let t = e ?? a.length;do {- let e = c === 0 ? o[0] ?? r.initialPageParam : Be(r, s);+ let e = c === 0 ? o[0] ?? r.initialPageParam : ze(r, s);if (c > 0 && e == null) break;s = await d(s, e), c++;} while (c < t);@@ -9566,22 +9566,22 @@ function ze(e) {}, n) : l;} };}-function Be(e, { pages: t, pageParams: n }) {+function ze(e, { pages: t, pageParams: n }) {let r = t.length - 1;return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;}-function Ve(e, { pages: t, pageParams: n }) {+function Be(e, { pages: t, pageParams: n }) {return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;}-function He(e, t) {- return t ? Be(e, t) != null : !1;+function Ve(e, t) {+ return t ? ze(e, t) != null : !1;}-function Ue(e, t) {- return !t || !e.getPreviousPageParam ? !1 : Ve(e, t) != null;+function He(e, t) {+ return !t || !e.getPreviousPageParam ? !1 : Be(e, t) != null;}//#endregion//#region node_modules/@tanstack/query-core/build/modern/query.js-var We = class extends Re {+var Ue = class extends Le {#e;#t;#n;@@ -9591,7 +9591,7 @@ var We = class extends Re {#o;#s;constructor(e) {- super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = qe(this.options), this.state = e.state ?? this.#t, this.scheduleGc();+ super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = Ke(this.options), this.state = e.state ?? this.#t, this.scheduleGc();}get meta() {return this.options.meta;@@ -9607,15 +9607,15 @@ var We = class extends Re {...this.#o,...e}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {- let e = qe(this.options);- e.data !== void 0 && (this.setState(Ke(e.data, e.dataUpdatedAt)), this.#t = e);+ let e = Ke(this.options);+ e.data !== void 0 && (this.setState(Ge(e.data, e.dataUpdatedAt)), this.#t = e);}}optionalRemove() {!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);}setData(e, t) {- let n = _e(this.state.data, e, this.options);+ let n = ge(this.state.data, e, this.options);return this.#c({data: n,type: "success",@@ -9631,7 +9631,7 @@ var We = class extends Re {}cancel(e) {let t = this.#a?.promise;- return this.#a?.cancel(e), t ? t.then(P).catch(P) : Promise.resolve();+ return this.#a?.cancel(e), t ? t.then(F).catch(F) : Promise.resolve();}destroy() {super.destroy(), this.cancel({ silent: !0 });@@ -9643,22 +9643,22 @@ var We = class extends Re {this.destroy(), this.setState(this.resetState);}isActive() {- return this.observers.some((e) => ie(e.options.enabled, this) !== !1);+ return this.observers.some((e) => re(e.options.enabled, this) !== !1);}isDisabled() {- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === xe || !this.isFetched();+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === be || !this.isFetched();}isFetched() {return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;}isStatic() {- return this.getObserversCount() > 0 && this.observers.some((e) => ie(e.options.staleTime, this) === "static");+ return this.getObserversCount() > 0 && this.observers.some((e) => re(e.options.staleTime, this) === "static");}isStale() {return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;}isStaleByTime(e = 0) {- return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !re(this.state.dataUpdatedAt, e);+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !ne(this.state.dataUpdatedAt, e);}onFocus() {this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();@@ -9702,7 +9702,7 @@ var We = class extends Re {get: () => (this.#s = !0, n.signal)});}, i = () => {- let e = Se(this.options, t), n = (() => {+ let e = xe(this.options, t), n = (() => {let e = {client: this.#i,queryKey: this.queryKey,@@ -9722,15 +9722,15 @@ var We = class extends Re {};return r(e), e;})();- (this.#e === "infinite" ? ze(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({+ (this.#e === "infinite" ? Re(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({type: "fetch",meta: a.fetchOptions?.meta});- let o = this.#a = Le({+ let o = this.#a = Ie({initialPromise: t?.initialPromise,fn: a.fetchFn,onCancel: (e) => {- e instanceof Fe && e.revert && this.setState({+ e instanceof Pe && e.revert && this.setState({...this.#n,fetchStatus: "idle"}), n.abort();@@ -9758,7 +9758,7 @@ var We = class extends Re {if (e === void 0) throw Error(`${this.queryHash} data is undefined`);return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;} catch (e) {- if (e instanceof Fe) {+ if (e instanceof Pe) {if (e.silent) return this.#a.promise;if (e.revert) {if (this.state.data === void 0) throw e;@@ -9791,13 +9791,13 @@ var We = class extends Re {};case "fetch": return {...t,- ...Ge(t.data, this.options),+ ...We(t.data, this.options),fetchMeta: e.meta ?? null};case "success":let n = {...t,- ...Ke(e.data, e.dataUpdatedAt),+ ...Ge(e.data, e.dataUpdatedAt),dataUpdateCount: t.dataUpdateCount + 1,...!e.manual && {fetchStatus: "idle",@@ -9829,7 +9829,7 @@ var We = class extends Re {};}};- this.state = t(this.state), je.batch(() => {+ this.state = t(this.state), Ae.batch(() => {this.observers.slice().forEach((e) => {e.onQueryUpdate();}), this.#r.notify({@@ -9840,18 +9840,18 @@ var We = class extends Re {});}};-function Ge(e, t) {+function We(e, t) {return {fetchFailureCount: 0,fetchFailureReason: null,- fetchStatus: Pe(t.networkMode) ? "fetching" : "paused",+ fetchStatus: Ne(t.networkMode) ? "fetching" : "paused",...e === void 0 && {error: null,status: "pending"}};}-function Ke(e, t) {+function Ge(e, t) {return {data: e,dataUpdatedAt: t ?? Date.now(),@@ -9860,7 +9860,7 @@ function Ke(e, t) {status: "success"};}-function qe(e) {+function Ke(e) {let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;return {data: t,@@ -9879,7 +9879,7 @@ function qe(e) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js-var Je = class extends De {+var qe = class extends Ee {#e;#t = void 0;#n = void 0;@@ -9901,36 +9901,36 @@ var Je = class extends De {this.refetch = this.refetch.bind(this);}onSubscribe() {- this.listeners.size === 1 && (this.#t.addObserver(this), Xe(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());+ this.listeners.size === 1 && (this.#t.addObserver(this), Ye(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());}onUnsubscribe() {this.hasListeners() || this.destroy();}shouldFetchOnReconnect() {- return Ze(this.#t, this.options, this.options.refetchOnReconnect);+ return Xe(this.#t, this.options, this.options.refetchOnReconnect);}shouldFetchOnWindowFocus() {- return Ze(this.#t, this.options, this.options.refetchOnWindowFocus);+ return Xe(this.#t, this.options, this.options.refetchOnWindowFocus);}destroy() {this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);}setOptions(e) {let t = this.options, n = this.#t;- if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof ie(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");- this.#S(), this.#t.setOptions(this.options), t._defaulted && !fe(this.options, t) && this.#e.getQueryCache().notify({+ if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof re(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");+ this.#S(), this.#t.setOptions(this.options), t._defaulted && !de(this.options, t) && this.#e.getQueryCache().notify({type: "observerOptionsUpdated",query: this.#t,observer: this});let r = this.hasListeners();- r && Qe(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || ie(this.options.enabled, this.#t) !== ie(t.enabled, this.#t) || ie(this.options.staleTime, this.#t) !== ie(t.staleTime, this.#t)) && this.#g();+ r && Ze(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || re(this.options.enabled, this.#t) !== re(t.enabled, this.#t) || re(this.options.staleTime, this.#t) !== re(t.staleTime, this.#t)) && this.#g();let i = this.#_();- r && (this.#t !== n || ie(this.options.enabled, this.#t) !== ie(t.enabled, this.#t) || i !== this.#f) && this.#v(i);+ r && (this.#t !== n || re(this.options.enabled, this.#t) !== re(t.enabled, this.#t) || i !== this.#f) && this.#v(i);}getOptimisticResult(e) {let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);- return fe(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;+ return de(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;}getCurrentResult() {return this.#r;@@ -9969,44 +9969,44 @@ var Je = class extends De {#m(e) {this.#S();let t = this.#t.fetch(this.options, e);- return e?.throwOnError || (t = t.catch(P)), t;+ return e?.throwOnError || (t = t.catch(F)), t;}#h(e) {- return !Ee() && ie(this.options.enabled, this.#t) !== !1 && F(e);+ return !Te() && re(this.options.enabled, this.#t) !== !1 && I(e);}#g() {this.#b();- let e = ie(this.options.staleTime, this.#t);+ let e = re(this.options.staleTime, this.#t);if (this.#r.isStale || !this.#h(e)) return;- let t = re(this.#r.dataUpdatedAt, e) + 1;- this.#u = ee.setTimeout(() => {+ let t = ne(this.#r.dataUpdatedAt, e) + 1;+ this.#u = N.setTimeout(() => {this.#r.isStale || this.updateResult();}, t);}#_() {- return ie(this.options.refetchInterval, this.#t) ?? !1;+ return re(this.options.refetchInterval, this.#t) ?? !1;}#v(e) {- this.#x(), this.#f = e, this.#f !== 0 && this.#h(this.#f) && (this.#d = ee.setInterval(() => {- (this.options.refetchIntervalInBackground || Oe.isFocused()) && this.#m();+ this.#x(), this.#f = e, this.#f !== 0 && this.#h(this.#f) && (this.#d = N.setInterval(() => {+ (this.options.refetchIntervalInBackground || De.isFocused()) && this.#m();}, this.#f));}#y() {this.#g(), this.#v(this.#_());}#b() {- this.#u !== void 0 && (ee.clearTimeout(this.#u), this.#u = void 0);+ this.#u !== void 0 && (N.clearTimeout(this.#u), this.#u = void 0);}#x() {- this.#d !== void 0 && (ee.clearInterval(this.#d), this.#d = void 0);+ this.#d !== void 0 && (N.clearInterval(this.#d), this.#d = void 0);}createResult(e, t) {let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;if (t._optimisticResults) {- let i = this.hasListeners(), a = !i && Xe(e, t), o = i && Qe(e, n, t, r);+ let i = this.hasListeners(), a = !i && Ye(e, t), o = i && Ze(e, n, t, r);(a || o) && (l = {...l,- ...Ge(c.data, e.options)+ ...We(c.data, e.options)}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");}let { error: f, errorUpdatedAt: p, status: m } = l;@@ -10014,12 +10014,12 @@ var Je = class extends De {let h = !1;if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {let e;- i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d = _e(i?.data, e, t), u = !0);+ i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d = ge(i?.data, e, t), u = !0);}if (t.select && d !== void 0 && !h) {if (i && d === a?.data && t.select === this.#s) d = this.#c;else try {- this.#s = t.select, d = t.select(d), d = _e(i?.data, d, t), this.#c = d, this.#o = null;+ this.#s = t.select, d = t.select(d), d = ge(i?.data, d, t), this.#c = d, this.#o = null;} catch (e) {this.#o = e;}@@ -10049,14 +10049,14 @@ var Je = class extends De {isPaused: l.fetchStatus === "paused",isPlaceholderData: u,isRefetchError: v && b,- isStale: $e(e, t),+ isStale: Qe(e, t),refetch: this.refetch,- isEnabled: ie(t.enabled, e) !== !1+ isEnabled: re(t.enabled, e) !== !1};}updateResult() {let e = this.#r, t = this.createResult(this.#t, this.options);- if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), fe(t, e)) return;+ if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), de(t, e)) return;this.#r = t;let n = (() => {if (!e) return !0;@@ -10068,7 +10068,7 @@ var Je = class extends De {return this.#r[n] !== e[n] && r.has(n);});})();- je.batch(() => {+ Ae.batch(() => {n && this.listeners.forEach((e) => {e(this.#r);}), this.#e.getQueryCache().notify({@@ -10087,28 +10087,28 @@ var Je = class extends De {this.updateResult(), this.hasListeners() && this.#y();}};-function Ye(e, t) {- return ie(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || ie(t.retryOnMount, e) !== !1);+function Je(e, t) {+ return re(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || re(t.retryOnMount, e) !== !1);}-function Xe(e, t) {- return Ye(e, t) || e.state.data !== void 0 && Ze(e, t, t.refetchOnMount);+function Ye(e, t) {+ return Je(e, t) || e.state.data !== void 0 && Xe(e, t, t.refetchOnMount);}-function Ze(e, t, n) {- if (ie(t.enabled, e) !== !1 && ie(t.staleTime, e) !== "static") {- let r = ie(n, e);- return r === "always" || r !== !1 && $e(e, t);+function Xe(e, t, n) {+ if (re(t.enabled, e) !== !1 && re(t.staleTime, e) !== "static") {+ let r = re(n, e);+ return r === "always" || r !== !1 && Qe(e, t);}return !1;}-function Qe(e, t, n, r) {- return (e !== t || ie(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && $e(e, n);+function Ze(e, t, n, r) {+ return (e !== t || re(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Qe(e, n);}-function $e(e, t) {- return ie(t.enabled, e) !== !1 && e.isStaleByTime(ie(t.staleTime, e));+function Qe(e, t) {+ return re(t.enabled, e) !== !1 && e.isStaleByTime(re(t.staleTime, e));}//#endregion//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js-var et = class extends Je {+var $e = class extends qe {constructor(e, t) {super(e, t);}@@ -10139,8 +10139,8 @@ var et = class extends Je {...r,fetchNextPage: this.fetchNextPage,fetchPreviousPage: this.fetchPreviousPage,- hasNextPage: He(t, n.data),- hasPreviousPage: Ue(t, n.data),+ hasNextPage: Ve(t, n.data),+ hasPreviousPage: He(t, n.data),isFetchNextPageError: l,isFetchingNextPage: u,isFetchPreviousPageError: d,@@ -10149,13 +10149,13 @@ var et = class extends Je {isRefetching: a && !u && !f};}-}, tt = class extends Re {+}, et = class extends Le {#e;#t;#n;#r;constructor(e) {- super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || nt(), this.setOptions(e.options), this.scheduleGc();+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || tt(), this.setOptions(e.options), this.scheduleGc();}setOptions(e) {this.options = e, this.updateGcTime(this.options.gcTime);@@ -10190,7 +10190,7 @@ var et = class extends Je {client: this.#e,meta: this.options.meta,mutationKey: this.options.mutationKey- }, r = this.#r = Le({+ }, r = this.#r = Ie({fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),onFail: (e, t) => {this.#i({@@ -10306,7 +10306,7 @@ var et = class extends Je {};}};- this.state = t(this.state), je.batch(() => {+ this.state = t(this.state), Ae.batch(() => {this.#t.forEach((t) => {t.onMutationUpdate(e);}), this.#n.notify({@@ -10317,7 +10317,7 @@ var et = class extends Je {});}};-function nt() {+function tt() {return {context: void 0,data: void 0,@@ -10332,7 +10332,7 @@ function nt() {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js-var rt = class extends De {+var nt = class extends Ee {#e;#t;#n;@@ -10340,7 +10340,7 @@ var rt = class extends De {super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;}build(e, t, n) {- let r = new tt({+ let r = new et({client: e,mutationCache: this,mutationId: ++this.#n,@@ -10351,7 +10351,7 @@ var rt = class extends De {}add(e) {this.#e.add(e);- let t = it(e);+ let t = rt(e);if (typeof t == "string") {let n = this.#t.get(t);n ? n.push(e) : this.#t.set(t, [e]);@@ -10363,7 +10363,7 @@ var rt = class extends De {}remove(e) {if (this.#e.delete(e)) {- let t = it(e);+ let t = rt(e);if (typeof t == "string") {let n = this.#t.get(t);if (n) {@@ -10380,7 +10380,7 @@ var rt = class extends De {});}canRun(e) {- let t = it(e);+ let t = rt(e);if (typeof t == "string") {let n = this.#t.get(t)?.find((e) => e.state.status === "pending");return !n || n === e;@@ -10388,11 +10388,11 @@ var rt = class extends De {return !0;}runNext(e) {- let t = it(e);+ let t = rt(e);return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();}clear() {- je.batch(() => {+ Ae.batch(() => {this.#e.forEach((e) => {this.notify({type: "removed",@@ -10409,13 +10409,13 @@ var rt = class extends De {exact: !0,...e};- return this.getAll().find((e) => oe(t, e));+ return this.getAll().find((e) => ae(t, e));}findAll(e = {}) {- return this.getAll().filter((t) => oe(e, t));+ return this.getAll().filter((t) => ae(e, t));}notify(e) {- je.batch(() => {+ Ae.batch(() => {this.listeners.forEach((t) => {t(e);});@@ -10423,15 +10423,15 @@ var rt = class extends De {}resumePausedMutations() {let e = this.getAll().filter((e) => e.state.isPaused);- return je.batch(() => Promise.all(e.map((e) => e.continue().catch(P))));+ return Ae.batch(() => Promise.all(e.map((e) => e.continue().catch(F))));}};-function it(e) {+function rt(e) {return e.options.scope?.id;}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutationObserver.js-var at = class extends De {+var it = class extends Ee {#e;#t = void 0;#n;@@ -10444,11 +10444,11 @@ var at = class extends De {}setOptions(e) {let t = this.options;- this.options = this.#e.defaultMutationOptions(e), fe(this.options, t) || this.#e.getMutationCache().notify({+ this.options = this.#e.defaultMutationOptions(e), de(this.options, t) || this.#e.getMutationCache().notify({type: "observerOptionsUpdated",mutation: this.#n,observer: this- }), t?.mutationKey && this.options.mutationKey && ce(t.mutationKey) !== ce(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);+ }), t?.mutationKey && this.options.mutationKey && se(t.mutationKey) !== se(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);}onSubscribe() {this.listeners.size === 1 && this.#n && (this.#n.addObserver(this), this.#i());@@ -10469,7 +10469,7 @@ var at = class extends De {return this.#r = t, this.#n?.removeObserver(this), this.#n = this.#e.getMutationCache().build(this.#e, this.options), this.#n.addObserver(this), this.#n.execute(e);}#i() {- let e = this.#n?.state ?? nt();+ let e = this.#n?.state ?? tt();this.#t = {...e,isPending: e.status === "pending",@@ -10481,7 +10481,7 @@ var at = class extends De {};}#a(e) {- je.batch(() => {+ Ae.batch(() => {let t = this.#r;if (t && this.hasListeners()) {let n = this.#t.variables, r = this.#t.context, i = {@@ -10521,11 +10521,11 @@ var at = class extends De {};//#endregion//#region node_modules/@tanstack/query-core/build/modern/queriesObserver.js-function ot(e, t) {+function at(e, t) {let n = new Set(t);return e.filter((e) => !n.has(e));}-var st = class extends De {+var ot = class extends Ee {#e;#t;#n;@@ -10555,16 +10555,16 @@ var st = class extends De {});}setQueries(e, t) {- this.#n = e, this.#r = t, je.batch(() => {+ this.#n = e, this.#r = t, Ae.batch(() => {let e = this.#i, t = this.#p(this.#n);t.forEach((e) => e.observer.setOptions(e.defaultedQueryOptions));let n = t.map((e) => e.observer), r = n.map((e) => e.getCurrentResult()), i = e.length !== n.length, a = n.some((t, n) => t !== e[n]), o = i || a, s = o ? !0 : r.some((e, t) => {let n = this.#t[t];- return !n || !fe(e, n);+ return !n || !de(e, n);});- (o || s) && (o && (this.#l = t, this.#i = n), this.#t = r, this.hasListeners() && (o && (ot(e, n).forEach((e) => {+ (o || s) && (o && (this.#l = t, this.#i = n), this.#t = r, this.hasListeners() && (o && (at(e, n).forEach((e) => {e.destroy();- }), ot(n, e).forEach((e) => {+ }), at(n, e).forEach((e) => {e.subscribe((t) => {this.#m(e, t);});@@ -10602,7 +10602,7 @@ var st = class extends De {#d(e, t, n) {if (t) {let r = this.#c, i = n !== void 0 && r !== void 0 && (r.length !== n.length || n.some((e, t) => e !== r[t]));- return (this.#t !== this.#s || i || t !== this.#o) && (this.#o = t, this.#s = this.#t, n !== void 0 && (this.#c = n), this.#a = de(this.#a, t(e))), this.#a;+ return (this.#t !== this.#s || i || t !== this.#o) && (this.#o = t, this.#s = this.#t, n !== void 0 && (this.#c = n), this.#a = ue(this.#a, t(e))), this.#a;}return e;}@@ -10619,7 +10619,7 @@ var st = class extends De {});let n = [];return e.forEach((e) => {- let r = this.#e.defaultQueryOptions(e), i = t.get(r.queryHash)?.shift() ?? new Je(this.#e, r);+ let r = this.#e.defaultQueryOptions(e), i = t.get(r.queryHash)?.shift() ?? new qe(this.#e, r);n.push({defaultedQueryOptions: r,observer: i@@ -10633,21 +10633,21 @@ var st = class extends De {#h() {if (this.hasListeners()) {let e = this.#f(), t = this.#a, n = e ? t : this.#d(this.#u(this.#t, this.#l), this.#r?.combine);- (e || t !== n) && je.batch(() => {+ (e || t !== n) && Ae.batch(() => {this.listeners.forEach((e) => {e(this.#t);});});}}-}, ct = class extends De {+}, st = class extends Ee {#e;constructor(e = {}) {super(), this.config = e, this.#e = /* @__PURE__ */ new Map();}build(e, t, n) {- let r = t.queryKey, i = t.queryHash ?? se(r, t), a = this.get(i);- return a || (a = new We({+ let r = t.queryKey, i = t.queryHash ?? oe(r, t), a = this.get(i);+ return a || (a = new Ue({client: e,queryKey: r,queryHash: i,@@ -10669,7 +10669,7 @@ var st = class extends De {}));}clear() {- je.batch(() => {+ Ae.batch(() => {this.getAll().forEach((e) => {this.remove(e);});@@ -10686,34 +10686,34 @@ var st = class extends De {exact: !0,...e};- return this.getAll().find((e) => ae(t, e));+ return this.getAll().find((e) => ie(t, e));}findAll(e = {}) {let t = this.getAll();- return Object.keys(e).length > 0 ? t.filter((t) => ae(e, t)) : t;+ return Object.keys(e).length > 0 ? t.filter((t) => ie(e, t)) : t;}notify(e) {- je.batch(() => {+ Ae.batch(() => {this.listeners.forEach((t) => {t(e);});});}onFocus() {- je.batch(() => {+ Ae.batch(() => {this.getAll().forEach((e) => {e.onFocus();});});}onOnline() {- je.batch(() => {+ Ae.batch(() => {this.getAll().forEach((e) => {e.onOnline();});});}-}, lt = class {+}, ct = class {#e;#t;#n;@@ -10723,12 +10723,12 @@ var st = class extends De {#o;#s;constructor(e = {}) {- this.#e = e.queryCache || new ct(), this.#t = e.mutationCache || new rt(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;+ this.#e = e.queryCache || new st(), this.#t = e.mutationCache || new nt(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;}mount() {- this.#a++, this.#a === 1 && (this.#o = Oe.subscribe(async (e) => {+ this.#a++, this.#a === 1 && (this.#o = De.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onFocus());- }), this.#s = Me.subscribe(async (e) => {+ }), this.#s = je.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onOnline());}));}@@ -10753,20 +10753,20 @@ var st = class extends De {}ensureQueryData(e) {let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;- return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(ie(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(re(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));}getQueriesData(e) {return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);}setQueryData(e, t, n) {- let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = ne(t, i);+ let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = te(t, i);if (a !== void 0) return this.#e.build(this, r).setData(a, {...n,manual: !0});}setQueriesData(e, t, n) {- return je.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));+ return Ae.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));}getQueryState(e) {let t = this.defaultQueryOptions({ queryKey: e });@@ -10774,7 +10774,7 @@ var st = class extends De {}removeQueries(e) {let t = this.#e;- je.batch(() => {+ Ae.batch(() => {t.findAll(e).forEach((e) => {t.remove(e);});@@ -10782,7 +10782,7 @@ var st = class extends De {}resetQueries(e, t) {let n = this.#e;- return je.batch(() => {+ return Ae.batch(() => {let r = n.findAll(e), i = new Set(r);return r.forEach((e) => {e.reset();@@ -10796,11 +10796,11 @@ var st = class extends De {let n = {revert: !0,...t- }, r = je.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));- return Promise.all(r).then(P).catch(P);+ }, r = Ae.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));+ return Promise.all(r).then(F).catch(F);}invalidateQueries(e, t = {}) {- return je.batch(() => (this.#e.findAll(e).forEach((e) => {+ return Ae.batch(() => (this.#e.findAll(e).forEach((e) => {e.invalidate();}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({...e,@@ -10811,26 +10811,26 @@ var st = class extends De {let n = {...t,cancelRefetch: t.cancelRefetch ?? !0- }, r = je.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {+ }, r = Ae.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {let t = e.fetch(void 0, n);- return n.throwOnError || (t = t.catch(P)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;+ return n.throwOnError || (t = t.catch(F)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;}));- return Promise.all(r).then(P);+ return Promise.all(r).then(F);}async query(e) {let t = this.defaultQueryOptions(e);t.retry === void 0 && (t.retry = !1);- let n = this.#e.build(this, t), r = n.isStaleByTime(ie(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;+ let n = this.#e.build(this, t), r = n.isStaleByTime(re(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;return i ? i(r) : r;}fetchQuery(e) {let t = this.defaultQueryOptions(e);t.retry === void 0 && (t.retry = !1);let n = this.#e.build(this, t);- return n.isStaleByTime(ie(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);+ return n.isStaleByTime(re(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);}prefetchQuery(e) {- return this.fetchQuery(e).then(P).catch(P);+ return this.fetchQuery(e).then(F).catch(F);}infiniteQuery(e) {return e._type = "infinite", this.query(e);@@ -10839,13 +10839,13 @@ var st = class extends De {return e._type = "infinite", this.fetchQuery(e);}prefetchInfiniteQuery(e) {- return this.fetchInfiniteQuery(e).then(P).catch(P);+ return this.fetchInfiniteQuery(e).then(F).catch(F);}ensureInfiniteQueryData(e) {return e._type = "infinite", this.ensureQueryData(e);}resumePausedMutations() {- return Me.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();+ return je.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();}getQueryCache() {return this.#e;@@ -10860,7 +10860,7 @@ var st = class extends De {this.#n = e;}setQueryDefaults(e, t) {- this.#r.set(ce(e), {+ this.#r.set(se(e), {queryKey: e,defaultOptions: t});@@ -10868,11 +10868,11 @@ var st = class extends De {getQueryDefaults(e) {let t = [...this.#r.values()], n = {};return t.forEach((t) => {- le(e, t.queryKey) && Object.assign(n, t.defaultOptions);+ ce(e, t.queryKey) && Object.assign(n, t.defaultOptions);}), n;}setMutationDefaults(e, t) {- this.#i.set(ce(e), {+ this.#i.set(se(e), {mutationKey: e,defaultOptions: t});@@ -10880,7 +10880,7 @@ var st = class extends De {getMutationDefaults(e) {let t = [...this.#i.values()], n = {};return t.forEach((t) => {- le(e, t.mutationKey) && Object.assign(n, t.defaultOptions);+ ce(e, t.mutationKey) && Object.assign(n, t.defaultOptions);}), n;}defaultQueryOptions(e) {@@ -10891,7 +10891,7 @@ var st = class extends De {...e,_defaulted: !0};- return t.queryHash ||= se(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === xe && (t.enabled = !1), t;+ return t.queryHash ||= oe(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === be && (t.enabled = !1), t;}defaultMutationOptions(e) {return e?._defaulted ? e : {@@ -10904,11 +10904,11 @@ var st = class extends De {clear() {this.#e.clear(), this.#t.clear();}-}, ut = D.createContext(!1), dt = () => D.useContext(ut);-ut.Provider;+}, lt = D.createContext(!1), ut = () => D.useContext(lt);+lt.Provider;//#endregion//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js-function ft() {+function dt() {let e = !1;return {clearReset: () => {@@ -10920,25 +10920,25 @@ function ft() {isReset: () => e};}-var pt = D.createContext(ft()), mt = () => D.useContext(pt), ht = (e, t, n) => {- let r = n?.state.error && typeof e.throwOnError == "function" ? Ce(e.throwOnError, [n.state.error, n]) : e.throwOnError;+var ft = D.createContext(dt()), pt = () => D.useContext(ft), mt = (e, t, n) => {+ let r = n?.state.error && typeof e.throwOnError == "function" ? Se(e.throwOnError, [n.state.error, n]) : e.throwOnError;(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));-}, gt = (e) => {+}, ht = (e) => {D.useEffect(() => {e.clearReset();}, [e]);-}, _t = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Ce(n, [e.error, r])), vt = (e) => {+}, gt = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Se(n, [e.error, r])), _t = (e) => {if (e.suspense) {let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));}-}, yt = (e, t) => e?.suspense && t.isPending, bt = (e, t, n) => t.fetchOptimistic(e).catch(() => {+}, vt = (e, t) => e?.suspense && t.isPending, yt = (e, t, n) => t.fetchOptimistic(e).catch(() => {n.clearReset();});//#endregion//#region node_modules/@tanstack/react-query/build/modern/useQueries.js-function xt({ queries: e, ...t }, n) {- let r = A(n), i = dt(), a = mt(), o = t.subscribed !== !1, s = D.useMemo(() => e.map((e) => {+function bt({ queries: e, ...t }, n) {+ let r = A(n), i = ut(), a = pt(), o = t.subscribed !== !1, s = D.useMemo(() => e.map((e) => {let t = r.defaultQueryOptions(e);return t._optimisticResults = i ? "isRestoring" : o ? "optimistic" : void 0, t;}), [@@ -10948,26 +10948,26 @@ function xt({ queries: e, ...t }, n) {o]);s.forEach((e) => {- vt(e);+ _t(e);let t = r.getQueryCache().get(e.queryHash);- ht(e, a, t);- }), gt(a);- let [c] = D.useState(() => new st(r, s, t)), [l, u, d] = c.getOptimisticResult(s, t.combine), f = !i && o;- D.useSyncExternalStore(D.useCallback((e) => f ? c.subscribe(je.batchCalls(e)) : P, [c, f]), () => c.getCurrentResult(), () => c.getCurrentResult()), D.useEffect(() => {+ mt(e, a, t);+ }), ht(a);+ let [c] = D.useState(() => new ot(r, s, t)), [l, u, d] = c.getOptimisticResult(s, t.combine), f = !i && o;+ D.useSyncExternalStore(D.useCallback((e) => f ? c.subscribe(Ae.batchCalls(e)) : F, [c, f]), () => c.getCurrentResult(), () => c.getCurrentResult()), D.useEffect(() => {c.setQueries(s, t);}, [s,t,c]);- let p = l.some((e, t) => yt(s[t], e)) ? l.flatMap((e, t) => {+ let p = l.some((e, t) => vt(s[t], e)) ? l.flatMap((e, t) => {let n = s[t];- return n && yt(n, e) ? bt(n, new Je(r, n), a) : [];+ return n && vt(n, e) ? yt(n, new qe(r, n), a) : [];}) : [];if (p.length > 0) throw Promise.all(p);let m = l.find((e, t) => {let n = s[t];- return n && _t({+ return n && gt({result: e,errorResetBoundary: a,throwOnError: n.throwOnError,@@ -10980,17 +10980,17 @@ function xt({ queries: e, ...t }, n) {}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js-function St(e, t, n) {- let r = dt(), i = mt(), a = A(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, vt(o), ht(o, i, s), gt(i);+function xt(e, t, n) {+ let r = ut(), i = pt(), a = A(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, _t(o), mt(o, i, s), ht(i);let [l] = D.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;if (D.useSyncExternalStore(D.useCallback((e) => {- let t = d ? l.subscribe(je.batchCalls(e)) : P;+ let t = d ? l.subscribe(Ae.batchCalls(e)) : F;return l.updateResult(), t;}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), D.useEffect(() => {l.setOptions(o);- }, [o, l]), yt(o, u)) throw bt(o, l, i);- if (_t({+ }, [o, l]), vt(o, u)) throw yt(o, l, i);+ if (gt({result: u,errorResetBoundary: i,throwOnError: o.throwOnError,@@ -11001,20 +11001,20 @@ function St(e, t, n) {}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useQuery.js-function Ct(e, t) {- return St(e, Je, t);+function St(e, t) {+ return xt(e, qe, t);}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useMutation.js-function wt(e, t) {- let n = A(t), [r] = D.useState(() => new at(n, e));+function Ct(e, t) {+ let n = A(t), [r] = D.useState(() => new it(n, e));D.useEffect(() => {r.setOptions(e);}, [r, e]);- let i = D.useSyncExternalStore(D.useCallback((e) => r.subscribe(je.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = D.useCallback((...e) => {- r.mutate(e[0], e[1]).catch(P);+ let i = D.useSyncExternalStore(D.useCallback((e) => r.subscribe(Ae.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = D.useCallback((...e) => {+ r.mutate(e[0], e[1]).catch(F);}, [r]);- if (i.error && Ce(r.options.throwOnError, [i.error])) throw i.error;+ if (i.error && Se(r.options.throwOnError, [i.error])) throw i.error;return {...i,mutate: a,@@ -11023,12 +11023,12 @@ function wt(e, t) {}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js-function Tt(e, t) {- return St(e, et, t);+function wt(e, t) {+ return xt(e, $e, t);}//#endregion//#region src/core/entity-links.ts-var Et = /* @__PURE__ */ l(S(), 1), Dt = w(), Ot = /* @__PURE__ */ new Map(), kt = /* @__PURE__ */ new Map(), At = /* @__PURE__ */ new Map(), jt = {+var Tt = /* @__PURE__ */ l(S(), 1), Et = w(), Dt = /* @__PURE__ */ new Map(), Ot = /* @__PURE__ */ new Map(), kt = /* @__PURE__ */ new Map(), At = {performers: "performer",studios: "studio",creators: "creator",@@ -11036,22 +11036,22 @@ var Et = /* @__PURE__ */ l(S(), 1), Dt = w(), Ot = /* @__PURE__ */ new Map(), kttags: "tag",series: "series"};-function Mt(e, t, n) {- typeof n == "number" && Number.isSafeInteger(n) && n > 0 && t && (Ot.set(`${e}/${t}`, n), At.set(`${e}/${n}`, t));+function jt(e, t, n) {+ typeof n == "number" && Number.isSafeInteger(n) && n > 0 && t && (Dt.set(`${e}/${t}`, n), kt.set(`${e}/${n}`, t));}-var Nt = (e, t) => At.get(`${e}/${t}`);-function Pt(e, t) {- let n = `${e}/${t}`, r = Ot.get(n);+var Mt = (e, t) => kt.get(`${e}/${t}`);+function Nt(e, t) {+ let n = `${e}/${t}`, r = Dt.get(n);if (r) return r;- let i = kt.get(n);+ let i = Ot.get(n);return i?.size === 1 ? [...i][0] : void 0;}-function Ft(e, t, n) {+function Pt(e, t, n) {if (typeof n != "number" || !Number.isSafeInteger(n) || n <= 0 || !t) return;- let r = `${e}/${t}`, i = kt.get(r) || /* @__PURE__ */ new Set();- i.add(n), kt.set(r, i);+ let r = `${e}/${t}`, i = Ot.get(r) || /* @__PURE__ */ new Set();+ i.add(n), Ot.set(r, i);}-function It(e, t) {+function Ft(e, t) {if (!t || typeof t != "object") return;let n = t, r = new URL(e, "https://peach.invalid");if (![@@ -11062,22 +11062,22 @@ function It(e, t) {"/api/facets","/api/suggest"].includes(r.pathname)) return;- let i = r.searchParams.get("kind") || r.pathname.slice(5), a = jt[i] || i;+ let i = r.searchParams.get("kind") || r.pathname.slice(5), a = At[i] || i;if (n.canonical_name && n.id) {- for (let e of Array.isArray(n.aliases) ? n.aliases : []) Ft(n.kind || a, e, n.id);- Mt(n.kind || a, n.canonical_name, n.id);+ for (let e of Array.isArray(n.aliases) ? n.aliases : []) Pt(n.kind || a, e, n.id);+ jt(n.kind || a, n.canonical_name, n.id);}for (let e of Array.isArray(n.entities) ? n.entities : []) {- for (let t of (e.names || []).slice(1)) Ft(e.kind, t, e.id);- Mt(e.kind, e.names?.[0], e.id);+ for (let t of (e.names || []).slice(1)) Pt(e.kind, t, e.id);+ jt(e.kind, e.names?.[0], e.id);}- for (let e of Array.isArray(n.items) ? n.items : []) a && Mt(e.entity_kind || a, e.k || e.name, e.entity_id);- if (["/api/tops", "/api/facets"].includes(r.pathname)) for (let [e, t] of Object.entries(jt)) for (let r of Array.isArray(n[e]) ? n[e] : []) Mt(t, r.k || r.name, r.entity_id || r.id);- if (r.pathname === "/api/suggest") for (let e of Array.isArray(n.groups) ? n.groups : []) for (let t of Array.isArray(e.items) ? e.items : []) Mt(e.kind, t.value, t.entity_id);+ for (let e of Array.isArray(n.items) ? n.items : []) a && jt(e.entity_kind || a, e.k || e.name, e.entity_id);+ if (["/api/tops", "/api/facets"].includes(r.pathname)) for (let [e, t] of Object.entries(At)) for (let r of Array.isArray(n[e]) ? n[e] : []) jt(t, r.k || r.name, r.entity_id || r.id);+ if (r.pathname === "/api/suggest") for (let e of Array.isArray(n.groups) ? n.groups : []) for (let t of Array.isArray(e.items) ? e.items : []) jt(e.kind, t.value, t.entity_id);}//#endregion//#region ../resources/media-sources.json-var Lt = [+var It = [{id: "local",name: "本地磁盘",@@ -11126,10 +11126,10 @@ var Lt = [cloud: !0,icon: "database"}-], Rt = Lt, zt = Lt.map((e) => [e.id, e.label]), Bt = Lt.map((e) => e.id), Vt = Lt.filter((e) => e.cloud).map((e) => e.id), Ht = Object.fromEntries(Lt.map((e) => [e.id, e.name])), Ut = (e) => Lt.find((t) => t.id === e)?.default_cost === "free" ? "free" : "metered";+], Lt = It, Rt = It.map((e) => [e.id, e.label]), zt = It.map((e) => e.id), Bt = It.filter((e) => e.cloud).map((e) => e.id), Vt = Object.fromEntries(It.map((e) => [e.id, e.name])), Ht = (e) => It.find((t) => t.id === e)?.default_cost === "free" ? "free" : "metered";//#endregion//#region src/core/request-error.ts-function Wt(e, t = 0) {+function Ut(e, t = 0) {let n = String(e?.message ?? e ?? ""), r = Number(t || e?.status || n.match(/\b(400|401|403|404|408|409|413|429|500|502|503|504)\b/)?.[1]), i = {400: "提交内容有误,请检查输入后重试。",401: "登录已失效,请刷新页面重新登录。",@@ -11148,12 +11148,12 @@ function Wt(e, t = 0) {}//#endregion//#region src/core/icon-geometry.ts-var Gt = {+var Wt = {"text-aa": 1.435,"mark-javdb": 326 / 111};-function Kt(e) {- let t = Gt[e];+function Gt(e) {+ let t = Wt[e];return {wide: !!t,viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24"@@ -11161,10 +11161,10 @@ function Kt(e) {}//#endregion//#region src/core/index.ts-var I = (e) => document.querySelector(e), L = (e, t = "") => {- let { wide: n, viewBox: r } = Kt(e), i = [n ? "iconwide" : "", t].filter(Boolean).join(" ");+var L = (e) => document.querySelector(e), R = (e, t = "") => {+ let { wide: n, viewBox: r } = Gt(e), i = [n ? "iconwide" : "", t].filter(Boolean).join(" ");return `<svg${i ? ` class="${i}"` : ""} viewBox="${r}" aria-hidden="true"><use href="#i-${e}"/></svg>`;-}, R = async (e, t) => {+}, z = async (e, t) => {if (!t?.method || t.method === "GET") {let t = sessionStorage.getItem("peach.library");t && /^\/api\/(items|facets)(\?|$)/.test(e) && (e += (e.includes("?") ? "&" : "?") + "library=" + encodeURIComponent(t));@@ -11178,7 +11178,7 @@ var I = (e) => document.querySelector(e), L = (e, t = "") => {try {a = await fetch(e, i);} catch (e) {- throw e?.name === "AbortError" ? e : Error(Wt(e), { cause: e });+ throw e?.name === "AbortError" ? e : Error(Ut(e), { cause: e });}let o = null;try {@@ -11186,10 +11186,10 @@ var I = (e) => document.querySelector(e), L = (e, t = "") => {} catch {}if (!a.ok) {let e = o && (o.message || o.detail || o.error);- throw Error(Wt(e, a.status));+ throw Error(Ut(e, a.status));}- return It(e, o), o;-}, qt = (e) => e?.name === "AbortError", Jt = async (e, t, n) => {+ return Ft(e, o), o;+}, Kt = (e) => e?.name === "AbortError", qt = async (e, t, n) => {let r = [...e], i = Array(r.length), a = 0, o = async () => {for (; a < r.length;) {let e = a++;@@ -11207,41 +11207,41 @@ var I = (e) => document.querySelector(e), L = (e, t = "") => {}}, s = Math.min(Math.max(1, t), r.length);return await Promise.all(Array.from({ length: s }, o)), i;-}, Yt = {+}, Jt = {fresh: "/unseen",later: "/watch-later",flagged: "/flagged",ads: "/junk-files"-}, Xt = Object.fromEntries(Object.entries(Yt).map(([e, t]) => [t, e])), Zt = {+}, Yt = Object.fromEntries(Object.entries(Jt).map(([e, t]) => [t, e])), Xt = {fresh: "没看过",later: "稍后看",flagged: "已标记",ads: "垃圾文件"-}, Qt = (e) => e === "/" || e === "/wall" || Object.prototype.hasOwnProperty.call(Xt, e), $t = {+}, Zt = (e) => e === "/" || e === "/wall" || Object.prototype.hasOwnProperty.call(Yt, e), Qt = {performer: "performers",studio: "studios",creator: "creators",series: "series",agency: "agencies",tag: "tags"-}, en = {+}, $t = {performers: "performer",studios: "studio",creators: "creator",series: "series",agencies: "agency",tags: "tag"-}, tn = (e, t, n) => {- n && Mt(e, t, n);- let r = n || Pt(e, t);- return `/${$t[e] || e}/${r || encodeURIComponent(t)}`;-}, z = (e) => String(e ?? "").replace(/[&<>"']/g, (e) => ({+}, en = (e, t, n) => {+ n && jt(e, t, n);+ let r = n || Nt(e, t);+ return `/${Qt[e] || e}/${r || encodeURIComponent(t)}`;+}, B = (e) => String(e ?? "").replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), nn = [+})[e]), tn = [["nax-pro.com", "NAX"],["t-powers.co.jp", "T-POWERS"],["dmm.co.jp", "DMM"],@@ -11279,16 +11279,16 @@ var I = (e) => document.querySelector(e), L = (e, t = "") => {["naturalhigh.co.jp", "Natural High"],["bangbros.com", "BangBros"],["dorcelclub.com", "Dorcel"]-], rn = (e) => String(e).replace(/^www\./, "").toLowerCase(), an = (e) => {+], nn = (e) => String(e).replace(/^www\./, "").toLowerCase(), rn = (e) => {try {- return rn(new URL(e).hostname);+ return nn(new URL(e).hostname);} catch {return "";}-}, on = (e) => {- let t = an(e);- return t && nn.find(([e]) => t === e || t.endsWith("." + e))?.[1] || "";-}, sn = (e) => `/link-mark?id=${encodeURIComponent(e.link_id ?? "")}`, cn = (e) => `/site-mark?${new URLSearchParams(e)}`, ln = [+}, an = (e) => {+ let t = rn(e);+ return t && tn.find(([e]) => t === e || t.endsWith("." + e))?.[1] || "";+}, on = (e) => `/link-mark?id=${encodeURIComponent(e.link_id ?? "")}`, sn = (e) => `/site-mark?${new URLSearchParams(e)}`, cn = [[["x.com", "twitter.com"], "brand-x"],[["instagram.com"], "brand-instagram"],[["threads.com", "threads.net"], "brand-threads"],@@ -11296,65 +11296,65 @@ var I = (e) => document.querySelector(e), L = (e, t = "") => {[["youtube.com", "youtu.be"], "brand-youtube"],[["facebook.com", "fb.com"], "brand-facebook"],[["linktr.ee", "linktree.com"], "brand-linktree"]-], un = (e) => {- let t = an(e);- return t && ln.find(([e]) => e.some((e) => t === e || t.endsWith("." + e)))?.[1] || "";-}, dn = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase(), fn = ["web.archive.org"], pn = (e) => fn.includes(an(e)), mn = (e, t, n = []) => {- let r = on(e.url) || e.label || "";- if (t !== "studio" && t !== "agency" || pn(e.url)) return r;- let i = [r, e.label].map(dn).filter(Boolean);- return !i.length || i.includes("官方网站") || i.some((t) => rn(t) === an(e.url) || n.some((e) => {- let n = dn(e);+], ln = (e) => {+ let t = rn(e);+ return t && cn.find(([e]) => e.some((e) => t === e || t.endsWith("." + e)))?.[1] || "";+}, un = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase(), dn = ["web.archive.org"], fn = (e) => dn.includes(rn(e)), pn = (e, t, n = []) => {+ let r = an(e.url) || e.label || "";+ if (t !== "studio" && t !== "agency" || fn(e.url)) return r;+ let i = [r, e.label].map(un).filter(Boolean);+ return !i.length || i.includes("官方网站") || i.some((t) => nn(t) === rn(e.url) || n.some((e) => {+ let n = un(e);return !!n && (n.includes(t) || t.includes(n));})) ? "官方网站" : r;-}, hn = (e) => {+}, mn = (e) => {let t = Number(e);return Number.isFinite(t) && t > 0 ? t : 0;-}, gn = (e) => {- if (e = hn(e), !e) return "—";+}, hn = (e) => {+ if (e = mn(e), !e) return "—";if (e = Math.round(e), e >= 172800) {let t = Math.floor(e / 86400), n = Math.floor(e % 86400 / 3600);return n ? `${t} 天 ${n} 小时` : `${t} 天`;}let t = Math.floor(e / 3600), n = Math.floor(e % 3600 / 60), r = e % 60;return t ? `${t}:${String(n).padStart(2, "0")}:${String(r).padStart(2, "0")}` : `${n}:${String(r).padStart(2, "0")}`;-}, _n = (e) => {+}, gn = (e) => {e = Math.max(0, Math.floor(Number(e) || 0));let t = e / 3600 | 0, n = e % 3600 / 60 | 0, r = e % 60;return t ? `${t}:${String(n).padStart(2, "0")}:${String(r).padStart(2, "0")}` : `${n}:${String(r).padStart(2, "0")}`;-}, vn = (e) => {+}, _n = (e) => {if (e == null || e === "") return "大小未知";let t = Number(e);return !Number.isFinite(t) || t < 0 ? "大小未知" : t === 0 ? "0 B" : t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : t >= 0x4000000000000 ? (t / 0x4000000000000).toFixed(2) + " PB" : t >= 1099511627776 ? (t / 1099511627776).toFixed(2) + " TB" : t >= 1073741824 ? (t / 1073741824).toFixed(1) + " GB" : Math.floor(t / 1048576) + " MB";-}, yn = typeof Intl < "u" && typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, bn = (e) => yn ? Array.from(yn.segment(e), (e) => e.segment) : Array.from(e), xn = (e, t) => {+}, vn = typeof Intl < "u" && typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, yn = (e) => vn ? Array.from(vn.segment(e), (e) => e.segment) : Array.from(e), bn = (e, t) => {let n = String(e ?? "").trim(), r = [];if (!n || t <= 0) return "";- if (!yn) return Array.from(n).slice(0, t).join("");- for (let e of yn.segment(n)) if (r.push(e.segment), r.length >= t) break;+ if (!vn) return Array.from(n).slice(0, t).join("");+ for (let e of vn.segment(n)) if (r.push(e.segment), r.length >= t) break;return r.join("");-}, Sn = (e, t = "?") => xn(e, 1) || t, Cn = (e, t) => {- let n = bn(String(e ?? ""));+}, xn = (e, t = "?") => bn(e, 1) || t, Sn = (e, t) => {+ let n = yn(String(e ?? ""));return n.length > t ? `${n.slice(0, Math.max(0, t - 1)).join("")}…` : n.join("");-}, wn = {- ...Ht,+}, Cn = {+ ...Vt,local: "本地",online: "在线"-}, Tn = (e, t) => {+}, wn = (e, t) => {let n = 2166136261;for (let r of `${e}\u0000${t}`) n ^= r.codePointAt(0), n = Math.imul(n, 16777619) >>> 0;return n;-}, En = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991), Dn = /* @__PURE__ */ new Set([+}, Tn = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991), En = /* @__PURE__ */ new Set(["短片-2分内","中片-10分内","长片-30分内","超长片-30分上"-]), On = (e) => String(e || "").split(",").filter((e) => e && !Dn.has(e)).join(","), kn = class extends Error {+]), Dn = (e) => String(e || "").split(",").filter((e) => e && !En.has(e)).join(","), On = class extends Error {status;body;constructor(e, t, n = null) {- super(Wt(e, t)), this.name = "ApiError", this.status = t, this.body = n;+ super(Ut(e, t)), this.name = "ApiError", this.status = t, this.body = n;}-}, An = (e) => {+}, kn = (e) => {if (!e || typeof e != "object") return "";let t = e;for (let e of [@@ -11366,8 +11366,8 @@ var I = (e) => document.querySelector(e), L = (e, t = "") => {if (typeof n == "string" && n) return n;}return "";-}, jn = (e) => Wt(e);-async function B(e, t) {+}, An = (e) => Ut(e);+async function V(e, t) {let n = await fetch(e, {headers: { Accept: "application/json" },credentials: "same-origin",@@ -11376,10 +11376,10 @@ async function B(e, t) {try {r = await n.json();} catch {}- if (!n.ok) throw new kn(An(r) || `请求失败(${n.status})`, n.status);- return It(e, r), r;+ if (!n.ok) throw new On(kn(r) || `请求失败(${n.status})`, n.status);+ return Ft(e, r), r;}-async function V(e, t, n = "POST", r) {+async function H(e, t, n = "POST", r) {let i = await fetch(e, {method: n,...r ? { signal: r } : {},@@ -11393,12 +11393,12 @@ async function V(e, t, n = "POST", r) {try {a = await i.json();} catch {}- if (!i.ok) throw new kn(An(a) || `请求失败(${i.status})`, i.status, a);+ if (!i.ok) throw new On(kn(a) || `请求失败(${i.status})`, i.status, a);return a;}//#endregion//#region src/follow-sort.ts-var Mn = [+var jn = [["checked", "检查时间"],["added", "添加时间"],["name", "创作者名称"],@@ -11406,7 +11406,7 @@ var Mn = [["source", "来源名称"],["provider", "站点"],["status", "状态"]-], Nn = "checked", Pn = {+], Mn = "checked", Nn = {checked: "desc",added: "desc",name: "asc",@@ -11414,15 +11414,15 @@ var Mn = [source: "asc",provider: "asc",status: "asc"-}, Fn = (e) => Mn.some(([t]) => t === e);-function In(e, t) {- let n = Fn(e) ? e : Nn;+}, Pn = (e) => jn.some(([t]) => t === e);+function Fn(e, t) {+ let n = Pn(e) ? e : Mn;return {sort: n,- dir: t === "asc" || t === "desc" ? t : Pn[n]+ dir: t === "asc" || t === "desc" ? t : Nn[n]};}-function Ln(e, t, n = 1) {+function In(e, t, n = 1) {let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);if (n * 2 + 5 >= t) return r(1, t);let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;@@ -11442,38 +11442,38 @@ function Ln(e, t, n = 1) {t];}-function Rn(e, t) {+function Ln(e, t) {return Math.max(1, Math.ceil(e / t));}-function zn(e, t) {+function Rn(e, t) {return Math.min(Math.max(1, Math.floor(e) || 1), t);}//#endregion//#region src/query/client.ts-var H = new lt({ defaultOptions: { queries: {+var U = new ct({ defaultOptions: { queries: {networkMode: "always",retry: 0,refetchOnWindowFocus: !1,refetchOnMount: !1,retryOnMount: !1-} } }), Bn = "/api/sources", Vn = ["media-sources"], Hn = (e) => B(Bn, e), Un = (e) => e?.name === "AbortError" || Ie(e);-async function Wn(e) {+} } }), zn = "/api/sources", Bn = ["media-sources"], Vn = (e) => V(zn, e), Hn = (e) => e?.name === "AbortError" || Fe(e);+async function Un(e) {e?.throwIfAborted();- let t = () => H.fetchQuery({- queryKey: Vn,- queryFn: () => Hn(e)+ let t = () => U.fetchQuery({+ queryKey: Bn,+ queryFn: () => Vn(e)});try {let n = await t();return e?.throwIfAborted(), n;} catch (n) {- if (e?.throwIfAborted(), !Un(n)) throw n;+ if (e?.throwIfAborted(), !Hn(n)) throw n;return await t();}}//#endregion//#region src/react/time.ts-function Gn(e) {+function Wn(e) {if (!e) return "";let t = /[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`, n = new Date(t);if (Number.isNaN(n.getTime())) return String(e).replace("T", " ").slice(0, 16);@@ -11482,22 +11482,22 @@ function Gn(e) {}//#endregion//#region src/react/follow-manage/follow-manage.ts-var Kn = "/api/follow", qn = "/api/follow/credentials", Jn = "/api/follow/check", Yn = "/api/follow/source", Xn = "/api/follow/resolve", Zn = "/api/follow/suggest", Qn = "/api/follow/author-alias", $n = "/api/follow/credential", er = "/api/follow/status", tr = "/api/feeds", nr = "/api/feeds/source", rr = "/api/feeds/check", ir = "/api/feeds/lookup", ar = ["follow-manage"], or = ["follow-manage", "credentials"], sr = ["follow-manage", "check"], cr = ["follow-manage", "resolve"], lr = ["follow-manage", "feeds"], ur = (e) => [+var Gn = "/api/follow", Kn = "/api/follow/credentials", qn = "/api/follow/check", Jn = "/api/follow/source", Yn = "/api/follow/resolve", Xn = "/api/follow/suggest", Zn = "/api/follow/author-alias", Qn = "/api/follow/credential", $n = "/api/follow/status", er = "/api/feeds", tr = "/api/feeds/source", nr = "/api/feeds/check", rr = "/api/feeds/lookup", ir = ["follow-manage"], ar = ["follow-manage", "credentials"], or = ["follow-manage", "check"], sr = ["follow-manage", "resolve"], cr = ["follow-manage", "feeds"], lr = (e) => ["follow-manage","suggest",e-], dr = [["default", "默认视图"], ["table", "表格视图"]], fr = [+], ur = [["default", "默认视图"], ["table", "表格视图"]], dr = [10,20,50,100-], pr = Object.fromEntries(Mn), mr = {+], fr = Object.fromEntries(jn), pr = {author: "name",source: "source",provider: "provider",status: "status",checked: "checked"-}, hr = (e) => dr.some(([t]) => t === e), gr = (e) => fr.includes(Number(e)) ? Number(e) : 20, _r = {+}, mr = (e) => ur.some(([t]) => t === e), hr = (e) => dr.includes(Number(e)) ? Number(e) : 20, gr = {checked: ["从近到远", "从远到近"],added: ["从近到远", "从远到近"],name: ["倒序", "正序"],@@ -11505,34 +11505,34 @@ var Kn = "/api/follow", qn = "/api/follow/credentials", Jn = "/api/follow/check"source: ["倒序", "正序"],provider: ["倒序", "正序"],status: ["倒序", "正序"]-}, vr = (e, t) => `按${pr[e]}${_r[e][t === "asc" ? 0 : 1]}排序`;-function yr(e) {+}, _r = (e, t) => `按${fr[e]}${gr[e][t === "asc" ? 0 : 1]}排序`;+function vr(e) {let t = e.last_status;return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;}-function br(e) {+function yr(e) {return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";}-var xr = (e) => e.last_status === "error" || e.last_status === "unauthorized";-function Sr(e) {+var br = (e) => e.last_status === "error" || e.last_status === "unauthorized";+function xr(e) {let t = Number(e) || 0;return t >= 2880 ? `每 ${Math.round(t / 1440).toLocaleString()} 天` : t >= 60 ? `每 ${Math.round(t / 60)} 小时` : `每 ${t} 分钟`;}-function Cr(e) {+function Sr(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] : "";}-var wr = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), Tr = {- source: wr,- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || wr(e, t),- status: (e, t) => yr(e) - yr(t) || wr(e, t)-}, Er = (e) => Date.parse(e || "") || 0, Dr = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();-function Or(e, t = []) {+var Cr = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), wr = {+ source: Cr,+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || Cr(e, t),+ status: (e, t) => vr(e) - vr(t) || Cr(e, t)+}, Tr = (e) => Date.parse(e || "") || 0, Er = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();+function Dr(e, t = []) {if (!e.length) return "";- let n = (e) => String(e.author_name || "").trim() || Dr(e.label), r = e.find((e) => e.entity_name);+ let n = (e) => String(e.author_name || "").trim() || Er(e.label), r = e.find((e) => e.entity_name);if (r) return r.entity_name;let i = t.find((t) => `name:${t.canonical_key}` === e[0]?.author_key);- if (i) return Dr(i.canonical_name);+ if (i) return Er(i.canonical_name);let a = e.find((e) => e.official_avatar_url);if (a && n(a)) return n(a);let o = e.map(n).filter(Boolean);@@ -11540,18 +11540,18 @@ function Or(e, t = []) {let s = (e) => (e.match(/[A-Z]/g) || []).length;return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);}-function kr(e) {+function Or(e) {let t = e.trim().match(/[A-Za-z0-9]/);return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();}-function Ar(e) {+function kr(e) {let t = e.find((e) => e.official_avatar_url), n = e.find((e) => e.avatar_url), r = t?.official_avatar_url || n?.avatar_url || "";return {src: r,fallback: t && n && n.avatar_url !== r && n.avatar_url || ""};}-function jr(e) {+function Ar(e) {let t = [], n = /* @__PURE__ */ new Map();for (let r of e) {let e = r.author_key || `source:${r.id}`;@@ -11559,32 +11559,32 @@ function jr(e) {}return t.map((e) => n.get(e));}-function Mr(e, t, n, r = []) {- let i = jr(e), a = n === Pn[t] ? 1 : -1, o = (e) => Or(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = Tr[t];+function jr(e, t, n, r = []) {+ let i = Ar(e), a = n === Nn[t] ? 1 : -1, o = (e) => Dr(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = wr[t];if (c) {for (let e of i) e.sort((e, t) => a * c(e, t));return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));}- let l = (e) => Math.max(...e.map((e) => Er(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => Er(e.created_at)));+ let l = (e) => Math.max(...e.map((e) => Tr(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => Tr(e.created_at)));return i.sort((e, n) => t === "name" ? a * s(e, n) : t === "sources" ? a * (n.length - e.length) || s(e, n) : t === "added" ? a * (u(n) - u(e)) || s(e, n) : a * (l(n) - l(e)) || s(e, n));}-function Nr(e, t, n, r = []) {+function Mr(e, t, n, r = []) {let i = e.flatMap((e) => {- let t = Or(e, r);+ let t = Dr(e, r);return e.map((n) => ({source: n,group: e,author: t}));- }), a = Tr[t];+ }), a = wr[t];if (a) {- let e = n === Pn[t] ? 1 : -1;+ let e = n === Nn[t] ? 1 : -1;i.sort((t, n) => e * a(t.source, n.source));}return i;}-function Pr(e, t, n) {- let r = Rn(e, t), i = zn(n, r), a = (i - 1) * t;+function Nr(e, t, n) {+ let r = Ln(e, t), i = Rn(n, r), a = (i - 1) * t;return {page: i,pages: r,@@ -11593,95 +11593,95 @@ function Pr(e, t, n) {end: Math.min(a + t, e)};}-function Fr(e, t) {+function Pr(e, t) {let n = new Set(t.map((e) => e.id));return new Set([...e].filter((e) => n.has(e)));}-function Ir(e, t) {+function Fr(e, t) {let n = t.filter((t) => e.has(t)).length;return {all: t.length > 0 && n === t.length,some: n > 0 && n < t.length};}-function Lr(e, t, n) {+function Ir(e, t, n) {let r = new Set(e);for (let e of t) n ? r.add(e) : r.delete(e);return r;}-var Rr = (e) => B(`${Kn}?summary=1`, e), zr = (e) => B(qn, e), Br = (e) => B(Jn, e), Vr = (e) => B(Xn, e), Hr = (e, t) => B(`${Zn}?q=${encodeURIComponent(e)}`, t), Ur = (e) => V(Jn, {+var Lr = (e) => V(`${Gn}?summary=1`, e), Rr = (e) => V(Kn, e), zr = (e) => V(qn, e), Br = (e) => V(Yn, e), Vr = (e, t) => V(`${Xn}?q=${encodeURIComponent(e)}`, t), Hr = (e) => H(qn, {...e?.length ? { sources: e } : {},background: !0-}), Wr = (e) => V(Xn, {+}), Ur = (e) => H(Yn, {lines: e,background: !0-}), Gr = (e, t) => V(Yn, {+}), Wr = (e, t) => H(Jn, {action: "enabled",id: e,enabled: t-}), Kr = (e) => V(Yn, {+}), Gr = (e) => H(Jn, {action: "remove",id: e-}), qr = (e) => V(Yn, {+}), Kr = (e) => H(Jn, {action: "add",url: e.url,label: e.label,author: e.author || "",aliases: e.aliases || [],defer_check: !0-}), Jr = (e, t) => V(Qn, {+}), qr = (e, t) => H(Zn, {action: "add",canonical: e,alias: t-}), Yr = (e) => V(Qn, {+}), Jr = (e) => H(Zn, {action: "remove",alias: e-}), Xr = (e, t, n) => V(Qn, {+}), Yr = (e, t, n) => H(Zn, {action: "rename",canonical_key: e,canonical: t-}, "POST", n), Zr = (e, t) => V($n, {+}, "POST", n), Xr = (e, t) => H(Qn, {provider: e,values: t-}), Qr = (e, t) => V(er, {+}), Zr = (e, t) => H($n, {item: e,to: t-}), $r = () => B(`${Kn}?status=new&limit=1000`);-async function ei(e) {- let t = await B(tr, e);+}), Qr = () => V(`${Gn}?status=new&limit=1000`);+async function $r(e) {+ let t = await V(er, e);if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");return t;}-var ti = (e, t, n) => V(nr, {+var ei = (e, t, n) => H(tr, {action: "enabled",id: e,enabled: t-}, "POST", n), ni = (e, t) => V(nr, {+}, "POST", n), ti = (e, t) => H(tr, {action: "remove",id: e-}, "POST", t), ri = (e, t) => V(rr, t?.length ? { sources: t } : { all: !0 }, "POST", e), ii = (e, t) => B(`${ir}?q=${encodeURIComponent(e)}`, t), ai = (e, t, n) => V(nr, {+}, "POST", t), ni = (e, t) => H(nr, t?.length ? { sources: t } : { all: !0 }, "POST", e), ri = (e, t) => V(`${rr}?q=${encodeURIComponent(e)}`, t), ii = (e, t, n) => H(tr, {action: "follow-name",name: e,ids: t}, "POST", n);-async function oi(e, t = "") {+async function ai(e, t = "") {await Promise.all([- H.fetchQuery({+ U.fetchQuery({+ queryKey: ir,+ queryFn: () => Lr(e)+ }),+ U.fetchQuery({queryKey: ar,queryFn: () => Rr(e)}),- H.fetchQuery({- queryKey: or,- queryFn: () => zr(e)- }),- t === "feeds" ? H.fetchQuery({- queryKey: lr,- queryFn: () => ei(e)+ t === "feeds" ? U.fetchQuery({+ queryKey: cr,+ queryFn: () => $r(e)}) : null]);}-function si(e, t) {- H.setQueryData(ar, (n) => n && {+function oi(e, t) {+ U.setQueryData(ir, (n) => n && {...n,sources: n.sources.map((n) => n.id === e ? {...n,@@ -11689,28 +11689,28 @@ function si(e, t) {} : n)});}-function ci(e) {+function si(e) {let t = new Set(e);- H.setQueryData(ar, (e) => e && {+ U.setQueryData(ir, (e) => e && {...e,sources: e.sources.filter((e) => !t.has(e.id))});}-var li = () => H.invalidateQueries({- queryKey: ar,+var ci = () => U.invalidateQueries({+ queryKey: ir,exact: !0});-function ui(e) {+function li(e) {let t = e.results || [], n = t.reduce((e, t) => e + (t.added || 0), 0), r = t.reduce((e, t) => e + (t.updated || 0), 0), i = t.filter((e) => !e.ok).length, a = [];return n && a.push(`新增 ${n} 条`), r && a.push(`更新 ${r} 条`), !a.length && i < t.length && a.push("没有更新"), i && a.push(`${i} 个失败`), a.length || a.push("没有更新"), `已检查 ${t.length} 个来源:${a.join(" · ")}`;}-function di(e) {+function ui(e) {let t = e.results || [], n = (e) => t.reduce((t, n) => t + (e(n) || 0), 0), r = n((e) => e.added), i = n((e) => e.updated), a = n((e) => e.skipped_compilations), o = n((e) => e.skipped) - a, s = n((e) => e.history_skipped), c = n((e) => e.probed), l = t.filter((e) => e.ok && !e.added && !e.updated).length, u = t.filter((e) => !e.ok).length, d = [];r && d.push(`新增 ${r} 条`), i && d.push(`更新 ${i} 条`), o && d.push(`跳过 ${o} 条无资源`), a && d.push(`排除 ${a} 个超大合集`), s && d.push(`跳过 ${s} 条超出首次采集范围的历史内容`), c && d.push(`回查 ${c} 条`), l && d.push(`${l} 个来源没有更新`), d.length || d.push("没有任何更新");let f = t.filter((e) => e.exhausted).length;return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;}-var fi = (e) => (e?.results || []).filter((e) => !e.ok), pi = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", mi = (e) => e.last_checked_at ? Gn(e.last_checked_at) : "未检查", hi = /* @__PURE__ */ new Set([+var di = (e) => (e?.results || []).filter((e) => !e.ok), fi = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", pi = (e) => e.last_checked_at ? Wn(e.last_checked_at) : "未检查", mi = /* @__PURE__ */ new Set(["fanbox","patreon","subscribestar",@@ -11723,53 +11723,53 @@ var fi = (e) => (e?.results || []).filter((e) => !e.ok), pi = (e) => (e?.results"gofile","f95zone","simpcity"-]), gi = (e) => hi.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", _i = {+]), hi = (e) => mi.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", gi = {required: "需要",optional: "可选",none: "不需要",blocked: "暂时无法连接"-}, vi = (e) => !!e.present && !e.missing.length, yi = [+}, _i = (e) => !!e.present && !e.missing.length, vi = [["", "全部"],["new", "未看"],["saved", "已保存"],["ignored", "已忽略"]-], bi = [+], yi = [["new", "更新时间"],["hot", "热度"],["dur", "时长"]-], xi = {+], bi = {new: ["从新到旧", "从旧到新"],hot: ["从高到低", "从低到高"],dur: ["从长到短", "从短到长"]-}, Si = "rand";-function Ci(e, t) {+}, xi = "rand";+function Si(e, t) {let n = (e) => encodeURIComponent(e.join(","));return `/api/follow?limit=100&offset=${t}` + (e.status ? `&status=${e.status}` : "") + (e.author ? `&author=${n([e.author])}` : "") + (e.provider ? `&provider=${n([e.provider])}` : "") + (e.tags.length ? `&tag=${n(e.tags)}` : "") + (e.work ? `&work=${n([e.work])}` : "") + (e.durMin ? `&dur_min=${e.durMin}` : "") + (e.durMax ? `&dur_max=${e.durMax}` : "") + (e.sort === "new" ? "" : `&sort=${e.sort}`) + (e.sort === "rand" ? `&seed=${e.seed}` : "") + (e.dir === "desc" ? "" : `&dir=${e.dir}`);}-var wi = 18e5;-function Ti(e, t) {+var Ci = 18e5;+function wi(e, t) {return {queryKey: ["follow-feed",- Ci(e, 0),+ Si(e, 0),t],- queryFn: ({ pageParam: t, signal: n }) => B(Ci(e, t), n),+ queryFn: ({ pageParam: t, signal: n }) => V(Si(e, t), n),initialPageParam: 0,getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 100 : void 0,- placeholderData: ve,- gcTime: wi+ placeholderData: _e,+ gcTime: Ci};}-var Ei = ["follow-feed", "credentials"], Di = (e) => B(qn, e).catch(() => ({ providers: [] }));-async function Oi(e, t) {- let n = Ti(e.view, e.revision);- H.removeQueries({- queryKey: Ei,+var Ti = ["follow-feed", "credentials"], Ei = (e) => V(Kn, e).catch(() => ({ providers: [] }));+async function Di(e, t) {+ let n = wi(e.view, e.revision);+ U.removeQueries({+ queryKey: Ti,exact: !0});- let r = H.getQueryData(n.queryKey) !== void 0;- await Promise.all([r ? null : H.fetchInfiniteQuery({+ let r = U.getQueryData(n.queryKey) !== void 0;+ await Promise.all([r ? null : U.fetchInfiniteQuery({queryKey: n.queryKey,queryFn: ({ pageParam: e }) => n.queryFn({pageParam: e,@@ -11777,13 +11777,13 @@ async function Oi(e, t) {}),initialPageParam: 0,getNextPageParam: n.getNextPageParam,- gcTime: wi- }), H.fetchQuery({- queryKey: Ei,- queryFn: () => Di(t)+ gcTime: Ci+ }), U.fetchQuery({+ queryKey: Ti,+ queryFn: () => Ei(t)})]);}-function ki(e) {+function Oi(e) {if (!e?.pages.length) return null;let t = e.pages, n = t[t.length - 1];return {@@ -11792,10 +11792,10 @@ function ki(e) {groups: t.flatMap((e) => e.groups || [])};}-function Ai(e, t, n) {- return [...e].sort((e, r) => Tn(n, t(e)) - Tn(n, t(r)) || String(t(e)).localeCompare(String(t(r))));+function ki(e, t, n) {+ return [...e].sort((e, r) => wn(n, t(e)) - wn(n, t(r)) || String(t(e)).localeCompare(String(t(r))));}-function ji(e) {+function Ai(e) {let t = /* @__PURE__ */ new Set();return [e.primary,@@ -11803,14 +11803,14 @@ function ji(e) {...e.duplicates].filter((e) => !e || t.has(e.id) ? !1 : (t.add(e.id), !0));}-function Mi(e) {- let t = H.getQueryCache().findAll({ queryKey: ["follow-feed"] }).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt);+function ji(e) {+ let t = U.getQueryCache().findAll({ queryKey: ["follow-feed"] }).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt);for (let n of t) {let t = n.state.data;if (!Array.isArray(t?.pages) || !t.pages.length) continue;let r = t.pages[t.pages.length - 1];for (let n of t.pages) for (let t of n.groups || []) {- let n = ji(t).find((t) => t.id === e);+ let n = Ai(t).find((t) => t.id === e);if (n) return {item: n,group: t,@@ -11821,8 +11821,8 @@ function Mi(e) {}return null;}-function Ni(e) {- H.setQueriesData({+function Mi(e) {+ U.setQueriesData({queryKey: ["follow-feed"],predicate: (e) => Array.isArray(e.state.data?.pages)}, (t) => t && {@@ -11831,7 +11831,7 @@ function Ni(e) {...t,groups: (t.groups || []).map((t) => {let n = (t) => t.id === e.id ? e : t;- return ji(t).some((t) => t.id === e.id) ? {+ return Ai(t).some((t) => t.id === e.id) ? {...t,primary: n(t.primary),variants: t.variants.map(n),@@ -11841,30 +11841,30 @@ function Ni(e) {}))});}-function Pi(e, t) {- H.setQueriesData({+function Ni(e, t) {+ U.setQueriesData({queryKey: ["follow-feed"],predicate: (e) => Array.isArray(e.state.data?.pages)- }, (n) => n && Ki(n, null, e, t));+ }, (n) => n && Gi(n, null, e, t));}-function Fi(e) {- return ji(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));+function Pi(e) {+ return Ai(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));}-function Ii(e) {+function Fi(e) {let t = /* @__PURE__ */ new Set(), n = e.media_items || [];return n.length ? n.forEach((e) => {(e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind);}) : (e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind), t;}-function Li(e) {+function Ii(e) {let t = /* @__PURE__ */ new Set();- return ji(e).forEach((e) => Ii(e).forEach((e) => t.add(e))), t;+ return Ai(e).forEach((e) => Fi(e).forEach((e) => t.add(e))), t;}-function Ri(e, t) {+function Li(e, t) {let n = t === "images" ? "image" : "video";- return Fi(e).find((e) => Ii(e).has(n)) || e.primary;+ return Pi(e).find((e) => Fi(e).has(n)) || e.primary;}-function zi(e) {+function Ri(e) {return {status: "",media: "videos",@@ -11879,16 +11879,16 @@ function zi(e) {seed: 0};}-function Bi(e) {- return Fi(e).filter((e) => e.playable && e.media_kind === "video");+function zi(e) {+ return Pi(e).filter((e) => e.playable && e.media_kind === "video");}-var Vi = {+var Bi = {video: "个视频",image: "张图片",mixed: "个媒体"};-function Hi({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {- let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${Vi[s] || Vi.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];+function Vi({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {+ let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${Bi[s] || Bi.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];for (let t of n?.faces || []) r && t.media_kind !== "image" || t.thumb_url && t.thumb_url !== e && !u.has(t.face) && (u.add(t.face), d.push(t.thumb_url));return {isMix: !!c,@@ -11897,14 +11897,14 @@ function Hi({ cover: e = "", coverFace: t = null, stack: n = null, imageView: rfaces: d.length > 1 ? d.slice(0, i) : []};}-function Ui(e) {+function Hi(e) {let t = e.filter((e) => e.can_backfill).map((e) => (e.backfill_page || 0) + 1);if (!t.length) return "";let n = Math.max(...t), r = Math.min(...t);return n <= 1 ? "每个来源都只抓了第 1 页" : r === n ? `每个来源都抓到第 ${n} 页` : `已抓到第 ${r}–${n} 页`;}-function Wi(e, t, n) {- return e === t ? xi[e] ? {+function Ui(e, t, n) {+ return e === t ? bi[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {@@ -11912,13 +11912,13 @@ function Wi(e, t, n) {dir: "desc"};}-function Gi(e, t, n, r) {- let i = Wi(e, n, r);+function Wi(e, t, n, r) {+ let i = Ui(e, n, r);if (!i) return "";- let a = xi[i.sort];+ let a = bi[i.sort];return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;}-function Ki(e, t, n, r) {+function Gi(e, t, n, r) {let i = "", a = e.pages.map((e) => ({...e,groups: (e.groups || []).flatMap((e) => {@@ -11948,7 +11948,7 @@ function Ki(e, t, n, r) {})};}-function qi(e, t) {+function Ki(e, t) {let n = [];return e.author && n.push({kind: "创作者",@@ -11968,7 +11968,7 @@ function qi(e, t) {label: e})), n;}-function Ji(e, t) {+function qi(e, t) {return t.kind === "创作者" ? {...e,author: ""@@ -11983,7 +11983,7 @@ function Ji(e, t) {tags: e.tags.filter((e) => e !== t.key)};}-function Yi(e, t) {+function Ji(e, t) {for (let n of e) {let e = n.primary?.tag_types?.[t];if (e) return e;@@ -11992,13 +11992,13 @@ function Yi(e, t) {}//#endregion//#region src/react/follow-feed/follow-view.ts-function Xi(e, t, n) {+function Yi(e, t, n) {let r = new URLSearchParams(e), i = (e) => [...new Set((r.get(e) || "").split(",").filter(Boolean))], a = (e) => {let t = Number(r.get(e));return t > 0 ? t : 0;}, o = r.get("status"), s = r.get("sort");return {- status: yi.find(([e]) => e && e === o)?.[0] || "",+ status: vi.find(([e]) => e && e === o)?.[0] || "",media: r.get("media") === "images" ? "images" : "videos",author: i("author")[0] || "",provider: i("provider")[0] || "",@@ -12006,16 +12006,16 @@ function Xi(e, t, n) {tags: i("tag"),durMin: a("dur_min"),durMax: a("dur_max"),- sort: s === "rand" ? s : bi.find(([e]) => e === s)?.[0] || "new",+ sort: s === "rand" ? s : yi.find(([e]) => e === s)?.[0] || "new",seed: Number(r.get("seed")) >>> 0 || t || n(),dir: r.get("dir") === "asc" ? "asc" : "desc"};}-function Zi(e) {+function Xi(e) {let t = new URLSearchParams();return e.author && t.set("author", e.author), e.provider && t.set("provider", e.provider), e.tags.length && t.set("tag", e.tags.join(",")), e.work && t.set("work", e.work), e.durMin && t.set("dur_min", String(e.durMin)), e.durMax && t.set("dur_max", String(e.durMax)), e.status && t.set("status", e.status), e.media === "images" && t.set("media", e.media), e.sort !== "new" && t.set("sort", e.sort), e.sort === "rand" && t.set("seed", String(e.seed)), e.dir !== "desc" && t.set("dir", e.dir), "/follow" + (t.size ? `?${t}` : "");}-function Qi(e, t) {+function Zi(e, t) {return {...e,author: t,@@ -12028,7 +12028,7 @@ function Qi(e, t) {status: ""};}-function $i(e, t) {+function Qi(e, t) {return {...e,author: "",@@ -12042,24 +12042,24 @@ function $i(e, t) {}//#endregion//#region src/react/follow-feed/follow-controller.ts-function ea(e, t, n) {+function $i(e, t, n) {let r = () => {- let t = Xi(e.location().search, e.view().seed, e.rollSeed);+ let t = Yi(e.location().search, e.view().seed, e.rollSeed);return e.adoptView(t), t;}, i = (t) => {e.live() && e.push(t);}, a = (t, n = {}) => {- let r = Ci(e.view(), 0);- e.adoptView(t), e.route(Zi(t)), i({+ let r = Si(e.view(), 0);+ e.adoptView(t), e.route(Xi(t)), i({...n,view: e.view()- }), e.syncPhotoWalls(), Ci(e.view(), 0) !== r && e.scrollTop();+ }), e.syncPhotoWalls(), Si(e.view(), 0) !== r && e.scrollTop();}, o = () => {let t = e.rollSeed();e.writeSession({ discoverySeed: t }), a({...e.view(),seed: t,- sort: Si+ sort: xi}, { seed: e.session().discoverySeed });}, s = {...n,@@ -12096,26 +12096,26 @@ function ea(e, t, n) {discoverySeed: e.enterSeed(),scrollY: 0,...e.live() ? {} : { revision: e.session().revision + 1 }- }), e.openPage("/follow")) : e.openPage(Zi(e.view()));+ }), e.openPage("/follow")) : e.openPage(Xi(e.view()));}};}//#endregion//#region src/card-art/face-frame.ts-var ta = .32, na = .6;-function ra(e) {+var ea = .32, ta = .6;+function na(e) {return e ? Number.isFinite(e.cx) && Number.isFinite(e.cy) && Number(e.faceW) > 0 && Number(e.imgW) > 0 && Number(e.imgH) > 0 : !1;}-function ia(e, t, n = 1, r = ta, i = na) {- if (!ra(e) || !(t && t.w > 0 && t.h > 0)) return 1;+function ra(e, t, n = 1, r = ea, i = ta) {+ if (!na(e) || !(t && t.w > 0 && t.h > 0)) return 1;let a = n > 0 ? n : 1, o = Math.max(t.w / e.imgW, t.h / e.imgH), s = e.faceW * o;if (!(s > 0)) return 1;let c = Math.min(t.w, t.h), l = Math.max(r, 13 / c) * c / s, u = Math.max(t.w / (2 * Math.min(e.cx, 1 - e.cx) * e.imgW * o), t.h / (2 * Math.min(e.cy, 1 - e.cy) * e.imgH * o)), d = e.faceW / (s * a);return Math.max(1, Math.min(Math.max(l, Math.min(u, i * c / s)), d));}-function aa(e, t, n = 1, r = ta, i = na) {- let a = ia(e, t, n, r, i);- if (a <= 1 || !ra(e) || !t) return null;+function ia(e, t, n = 1, r = ea, i = ta) {+ let a = ra(e, t, n, r, i);+ if (a <= 1 || !na(e) || !t) return null;let o = Math.max(t.w / e.imgW, t.h / e.imgH) * a, s = e.imgW * o, c = e.imgH * o, l = Math.min(0, Math.max(t.w - s, t.w / 2 - e.cx * s)), u = Math.min(0, Math.max(t.h - c, t.h / 2 - e.cy * c)), d = (e, t) => Math.round(e / t * 1e4) / 100;return {zoom: Math.round(a * 1e3) / 1e3,@@ -12127,49 +12127,49 @@ function aa(e, t, n = 1, r = ta, i = na) {}//#endregion//#region src/card-art/image-fallback.ts-var oa = "|", sa = "closest:";-function ca(e) {- return String(e ?? "").split(oa).map((e) => e.trim()).filter(Boolean);+var aa = "|", oa = "closest:";+function sa(e) {+ return String(e ?? "").split(aa).map((e) => e.trim()).filter(Boolean);}-function la({ drop: e = "self", fallbacks: t = [], initial: n = "", dropClass: r = "", dropStyle: i = !1 } = {}) {+function ca({ drop: e = "self", fallbacks: t = [], initial: n = "", dropClass: r = "", dropStyle: i = !1 } = {}) {let a = (Array.isArray(t) ? t : [t]).filter(Boolean);return [- `data-drop="${z(e)}"`,- a.length ? `data-fallbacks="${z(a.join(oa))}"` : "",- n ? `data-initial="${z(n)}"` : "",- r ? `data-drop-class="${z(r)}"` : "",+ `data-drop="${B(e)}"`,+ a.length ? `data-fallbacks="${B(a.join(aa))}"` : "",+ n ? `data-initial="${B(n)}"` : "",+ r ? `data-drop-class="${B(r)}"` : "",i ? "data-drop-style" : ""].filter(Boolean).join(" ");}-function ua(e) {+function la(e) {if (!e || !e.dataset || !e.dataset.drop) return "";- let t = ca(e.dataset.fallbacks);+ let t = sa(e.dataset.fallbacks);if (t.length) {let [n = "", ...r] = t;- return "dropStyle" in e.dataset && e.removeAttribute("style"), delete e.dataset.facebox, r.length ? e.dataset.fallbacks = r.join(oa) : delete e.dataset.fallbacks, n === e.dataset.fallbackNoteSrc && e.dataset.fallbackNote && (e.title = e.dataset.fallbackNote, e.setAttribute("aria-label", e.dataset.fallbackNote)), e.src = n, "retry";+ return "dropStyle" in e.dataset && e.removeAttribute("style"), delete e.dataset.facebox, r.length ? e.dataset.fallbacks = r.join(aa) : delete e.dataset.fallbacks, n === e.dataset.fallbackNoteSrc && e.dataset.fallbackNote && (e.title = e.dataset.fallbackNote, e.setAttribute("aria-label", e.dataset.fallbackNote)), e.src = n, "retry";}let n = e.dataset.drop;- if (n.startsWith(sa)) return (e.closest(n.slice(8)) || e).remove(), "drop";+ if (n.startsWith(oa)) return (e.closest(n.slice(8)) || e).remove(), "drop";if (n === "initial") {let t = document.createElement("span");return t.className = e.dataset.dropClass || "", t.textContent = e.dataset.initial || "", e.replaceWith(t), "drop";}return e.remove(), "drop";}-var da = /* @__PURE__ */ new WeakSet();-function fa(e) {- da.has(e) || (da.add(e), e.addEventListener("error", (e) => {- e.target instanceof HTMLImageElement && ua(e.target);+var ua = /* @__PURE__ */ new WeakSet();+function da(e) {+ ua.has(e) || (ua.add(e), e.addEventListener("error", (e) => {+ e.target instanceof HTMLImageElement && la(e.target);}, !0));}//#endregion//#region src/card-art/native-image.ts-function pa(e, t, n, r) {+function fa(e, t, n, r) {if (!(e > 0 && t > 0 && n > 0 && r > 0)) return 0;let i = e / n, a = t / r;return i > 1.001 || a > 1.001 || Math.abs(i - a) > Math.max(i, a) * .01 ? 0 : i;}-function ma(e, t, n, r, i = 1) {+function pa(e, t, n, r, i = 1) {let a = Number.isFinite(i) && i > 0 ? i : 1;e /= a, t /= a;let o = [@@ -12184,15 +12184,15 @@ function ma(e, t, n, r, i = 1) {height: t * c};}-var ha = .1;-function ga(e, t, n, r) {+var ma = .1;+function ha(e, t, n, r) {if (![e,t,n,r].every((e) => Number.isFinite(e) && e > 0)) return null;- let i = Math.min(n / e, r / t), a = e * i, o = t * i, s = Math.min(n, r) * ha;+ let i = Math.min(n / e, r / t), a = e * i, o = t * i, s = Math.min(n, r) * ma;return Math.min(a, o) >= s ? null : o < a ? {width: a,height: s@@ -12203,38 +12203,38 @@ function ga(e, t, n, r) {}//#endregion//#region src/card-art/representatives.ts-var _a = /* @__PURE__ */ new Map();-function va(e) {+var ga = /* @__PURE__ */ new Map();+function _a(e) {(e || []).forEach((e) => {- e.rep && e.has_avatar && _a.set(e.k, e.rep);+ e.rep && e.has_avatar && ga.set(e.k, e.rep);});}-function ya(e) {- return _a.get(e);+function va(e) {+ return ga.get(e);}//#endregion//#region src/jav-artwork.ts-function ba(e) {+function ya(e) {return ["small","sleeve","preview"].includes(String(e)) ? "small" : "big";}-function xa(e) {+function ba(e) {return {- javLayout: ba(e.javLayout),- javImage: Sa(e.javLayout === "preview" ? "thumbnail" : e.javImage)+ javLayout: ya(e.javLayout),+ javImage: xa(e.javLayout === "preview" ? "thumbnail" : e.javImage)};}-function Sa(e) {+function xa(e) {return e === "thumbnail" ? "thumbnail" : "cover";}-function Ca(e, t) {- return e.is_jav && e.code && e.has_cover && (Sa(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";+function Sa(e, t) {+ return e.is_jav && e.code && e.has_cover && (xa(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";}-var wa = .704, Ta = .85;-function Ea(e, t, n = !1) {+var Ca = .704, wa = .85;+function Ta(e, t, n = !1) {let r = Number(e?.px?.[0]), i = Number(e?.px?.[1]), a = Number(e?.x0);if (!(r > 0 && i > 0 && t > 0) || !Number.isFinite(a)) return null;let o = (e, t, n) => Math.min(n, Math.max(0, Number.isFinite(Number(e)) ? Number(e) : t)), s = o(a, 0, r), c = Math.max(s, o(e?.x1, r, r)), l = o(e?.y0, 0, i), u = Math.max(l, o(e?.y1, i, i)), d = c - s, f = u - l;@@ -12254,13 +12254,13 @@ function Ea(e, t, n = !1) {height: g(i / f * m)};}-function Da(e, t) {+function Ea(e, t) {e.querySelectorAll("img[data-jav-image]").forEach((e) => {- let n = e.dataset.javCover || "", r = e.dataset.javThumb || "", i = !(!n || Sa(t) !== "cover" && r), a = i ? n : r;+ let n = e.dataset.javCover || "", r = e.dataset.javThumb || "", i = !(!n || xa(t) !== "cover" && r), a = i ? n : r;e.classList.toggle("cover", i), e.classList.toggle("whole", i && e.dataset.javImageLayout !== "big"), e.classList.toggle("front", i && e.dataset.javImageLayout === "big"), e.classList.remove("panel"), e.removeAttribute("style"), e.closest(".pic,[data-media-pic]")?.style.removeProperty("--cover-blur"), a && e.getAttribute("src") !== a && (e.src = a);});}-function Oa(e, t) {+function Da(e, t) {let n = [];return e.querySelectorAll("img[data-jav-image]").forEach((e) => {e.dataset.javImageLayout !== t && (e.dataset.javImageLayout = t, e.classList.contains("cover") && (e.classList.toggle("whole", t !== "big"), e.classList.toggle("front", t === "big"), e.classList.remove("panel"), e.removeAttribute("style"), e.closest(".pic,[data-media-pic]")?.style.removeProperty("--cover-blur"), e.complete && e.naturalWidth && n.push(e)));@@ -12268,25 +12268,25 @@ function Oa(e, t) {}//#endregion//#region src/card-art/markup.ts-var ka = "代表作画面,非本人", Aa = (e, t) => t ? `${e}&v=${encodeURIComponent(t)}` : e, ja = (e, t = !1) => {+var Oa = "代表作画面,非本人", ka = (e, t) => t ? `${e}&v=${encodeURIComponent(t)}` : e, Aa = (e, t = !1) => {let n = t === !0 ? 1 : t || 0;- return Aa(`/cover?code=${encodeURIComponent(e.cover_key || e.code || "")}${n ? `&thumb=${n}` : ""}`, e.cover_version);-}, Ma = (e) => ja(e, (window.devicePixelRatio || 1) <= 1.5 ? 2 : 1), Na = (e) => `/cover-image?code=${encodeURIComponent(e.code || "")}`, Pa = (e, t, n) => Aa(`/logo?studio=${encodeURIComponent(e)}&variant=${t}`, n), Fa = (e) => e && typeof e == "object" ? e : null;-function Ia(e) {+ return ka(`/cover?code=${encodeURIComponent(e.cover_key || e.code || "")}${n ? `&thumb=${n}` : ""}`, e.cover_version);+}, ja = (e) => Aa(e, (window.devicePixelRatio || 1) <= 1.5 ? 2 : 1), Ma = (e) => `/cover-image?code=${encodeURIComponent(e.code || "")}`, Na = (e, t, n) => ka(`/logo?studio=${encodeURIComponent(e)}&variant=${t}`, n), Pa = (e) => e && typeof e == "object" ? e : null;+function Fa(e) {return e && e.is_jav ? "女优" : "艺人";}-function La({ kind: e = "performer", id: t = null, hasImage: n = !1, version: r = "", rep: i = null, mark: a = null, logo: o = "", logoVersion: s = "", logoVariant: c = "logo", alt: l = "", lazy: u = !0, style: d = "", dropStyle: f = !1, focus: p = null, thumb: m = !0, standIn: h = !1 } = {}) {- let g = !!(t && n), _ = g ? Aa(`/entity-image?kind=${e}&id=${t}${m ? "&thumb=1" : ""}`, r) : "", v = i ? `/avatar?id=${i}` : "", y = !!o, b = y ? Pa(o, c, s) : _ || v || (a ? `/link-mark?id=${a}` : "");+function Ia({ kind: e = "performer", id: t = null, hasImage: n = !1, version: r = "", rep: i = null, mark: a = null, logo: o = "", logoVersion: s = "", logoVariant: c = "logo", alt: l = "", lazy: u = !0, style: d = "", dropStyle: f = !1, focus: p = null, thumb: m = !0, standIn: h = !1 } = {}) {+ let g = !!(t && n), _ = g ? ka(`/entity-image?kind=${e}&id=${t}${m ? "&thumb=1" : ""}`, r) : "", v = i ? `/avatar?id=${i}` : "", y = !!o, b = y ? Na(o, c, s) : _ || v || (a ? `/link-mark?id=${a}` : "");if (!b) return "";- let x = y ? [_, v].filter(Boolean) : g && v ? [v] : [], S = g && !y, C = S ? Ha(p) : "", w = d || Va(p);- return `<img src="${b}" width="128" height="128" alt="${l}"${h && b === v ? ` title="${ka}" aria-label="${ka}"` : ""}${h && x.includes(v) ? ` data-fallback-note-src="${z(v)}" data-fallback-note="${ka}"` : ""}${u ? " loading=\"lazy\"" : ""} decoding="async"${S ? w : ""} ${C}${la({+ let x = y ? [_, v].filter(Boolean) : g && v ? [v] : [], S = g && !y, C = S ? Va(p) : "", w = d || Ba(p);+ return `<img src="${b}" width="128" height="128" alt="${l}"${h && b === v ? ` title="${Oa}" aria-label="${Oa}"` : ""}${h && x.includes(v) ? ` data-fallback-note-src="${B(v)}" data-fallback-note="${Oa}"` : ""}${u ? " loading=\"lazy\"" : ""} decoding="async"${S ? w : ""} ${C}${ca({dropStyle: (f || !!C || !!w) && S,fallbacks: x})}>`;}-function Ra(e, t, n, r = "performer", i = null, a = "", o = "icon", s = void 0, c = !0) {- let l = s === void 0 ? t && t.avatar_focus || null : s, u = !t?.has_image && !a && t?.source_avatar_url ? `<img src="${z(t.source_avatar_url)}" width="128" height="128" alt="" loading="lazy" decoding="async" ${la({ fallbacks: t.source_avatar_fallbacks || [] })}>` : "";- return `<span class="ini">${z(Sn(e))}</span>` + (u || La({+function La(e, t, n, r = "performer", i = null, a = "", o = "icon", s = void 0, c = !0) {+ let l = s === void 0 ? t && t.avatar_focus || null : s, u = !t?.has_image && !a && t?.source_avatar_url ? `<img src="${B(t.source_avatar_url)}" width="128" height="128" alt="" loading="lazy" decoding="async" ${ca({ fallbacks: t.source_avatar_fallbacks || [] })}>` : "";+ return `<span class="ini">${B(xn(e))}</span>` + (u || Ia({kind: r,id: t && t.id,hasImage: !!(t && t.has_image),@@ -12301,19 +12301,19 @@ function Ra(e, t, n, r = "performer", i = null, a = "", o = "icon", s = void 0,standIn: !!(t && t.avatar_stand_in)}));}-function za(e, t, n) {- return Ra(e, t, n ? ya(e) : null, n || "performer");+function Ra(e, t, n) {+ return La(e, t, n ? va(e) : null, n || "performer");}-function Ba(e) {- let t = Fa(e);+function za(e) {+ let t = Pa(e);return t && t.axis === "x" ? `${t.pct}% 50%` : t && t.axis === "y" ? `50% ${t.pct}%` : "";}-function Va(e) {- let t = Ba(e);+function Ba(e) {+ let t = za(e);return t ? ` style="object-position:${t}"` : "";}-function Ha(e) {- let t = Fa(e)?.box;+function Va(e) {+ let t = Pa(e)?.box;return t ? ` data-facebox="${[t.cx,t.cy,@@ -12322,8 +12322,8 @@ function Ha(e) {t.imgH].map(Number).join(" ")}"` : "";}-function Ua(e, t, n = !1) {- let r = Ma(e), i = /ブルーレイ|blu[\s-]?ray/i.test(String(e.title || e.display_title || e.name || "")), a = e.cover_frame || {}, o = e.poster_box?.method !== "manual" && (a.layout === "still" || /^(IENEE|IENFE|SDHS)-/i.test(String(e.code || "")) || /(?:【|\[|\(|()\s*(?:[48]K\s*)?VR\s*(?:】|\]|\)|))/i.test(String(e.title || e.display_title || e.name || ""))), s = a.cy == null ? null : o ? Math.min(1, Math.max(0, a.cy)) : Math.min(.6, Math.max(.05, a.cy)), c = [a.cx == null ? "" : ` data-cx="${a.cx}"`, s == null ? "" : ` data-cy="${s}"`].join(""), l = e.poster_box, u = l ? ` data-posterbox="${[+function Ha(e, t, n = !1) {+ let r = ja(e), i = /ブルーレイ|blu[\s-]?ray/i.test(String(e.title || e.display_title || e.name || "")), a = e.cover_frame || {}, o = e.poster_box?.method !== "manual" && (a.layout === "still" || /^(IENEE|IENFE|SDHS)-/i.test(String(e.code || "")) || /(?:【|\[|\(|()\s*(?:[48]K\s*)?VR\s*(?:】|\]|\)|))/i.test(String(e.title || e.display_title || e.name || ""))), s = a.cy == null ? null : o ? Math.min(1, Math.max(0, a.cy)) : Math.min(.6, Math.max(.05, a.cy)), c = [a.cx == null ? "" : ` data-cx="${a.cx}"`, s == null ? "" : ` data-cy="${s}"`].join(""), l = e.poster_box, u = l ? ` data-posterbox="${[l.x0,(l.px || [])[0],(l.px || [])[1],@@ -12332,42 +12332,45 @@ function Ua(e, t, n = !1) {l.y1].map(Number).join(" ")}"` : "";return `<img class="poster cover ${t === "small" ? "whole" : "front"}" src="${r}"- width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async" data-cover-code="${z(e.code || "")}"${i ? " data-wide-sleeve=\"1\"" : ""}${o ? " data-cover-layout=\"still\"" : ""}${c}${u} data-drop="self">`;+ width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async" data-cover-code="${B(e.code || "")}"${i ? " data-wide-sleeve=\"1\"" : ""}${o ? " data-cover-layout=\"still\"" : ""}${c}${u} data-drop="self">`;}-var Wa = {+var Ua = {kind: "",html: ""};-function Ga(e, t, n, r) {- let i = Ca(e, r);- if (!i) return Wa;- let a = e.has_cover && e.code ? Ma(e) : "", o = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", s = Ua(e, t, n), c = (s.match(/ data-(?:c[xy]|posterbox)="[^"]*"/g) || []).join(""), l = i === "cover" ? s : `<img class="poster" src="${o}" width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async"${c}>`;+function Wa(e, t, n, r) {+ let i = Sa(e, r);+ if (!i) return Ua;+ let a = e.has_cover && e.code ? ja(e) : "", o = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", s = Ha(e, t, n), c = (s.match(/ data-(?:c[xy]|posterbox)="[^"]*"/g) || []).join(""), l = i === "cover" ? s : `<img class="poster" src="${o}" width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async"${c}>`;return {kind: i === "cover" ? "cover" : "thumb",- html: l.replace("<img ", `<img data-jav-image="${e.id}" data-jav-cover="${z(a)}" data-jav-thumb="${z(o)}" data-jav-image-layout="${t}" `)+ html: l.replace("<img ", `<img data-jav-image="${e.id}" data-jav-cover="${B(a)}" data-jav-thumb="${B(o)}" data-jav-image-layout="${t}" `)};}-function Ka(e, t, n, r) {- return e.is_jav ? Ga(e, t, n, r) : e.follow_thumb_url ? {+function Ga(e, t, n, r) {+ return e.is_jav ? Wa(e, t, n, r) : e.follow_thumb_url ? {kind: "thumb",- html: `<img class="poster" src="${z(e.follow_thumb_url)}" width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async" referrerpolicy="no-referrer">`- } : qa(e, t, n, r);+ html: `<img class="poster" src="${B(e.follow_thumb_url)}" width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async" referrerpolicy="no-referrer">`+ } : Ka(e, t, n, r);}-function qa(e, t, n, r) {- return e.is_jav ? Ga(e, t, n, r) : e.has_cover && e.cover_key ? {+function Ka(e, t, n, r) {+ return e.is_jav ? Wa(e, t, n, r) : e.has_cover && e.cover_key ? {kind: "cover",- html: Ua(e, t, n)- } : !e.has_thumb && !e.has_local_poster ? Wa : {+ html: Ha(e, t, n)+ } : qa(e, n);+}+function qa(e, t) {+ return !e.has_thumb && !e.has_local_poster ? Ua : {kind: "thumb",- html: `<img class="poster" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}" decoding="async">`+ html: `<img class="poster" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="${t ? "eager" : "lazy"}" decoding="async">`};}function Ja(e, t) {- return qa(e, "small", !1, t).html || "<span class=\"nopic\">无预览</span>";+ return Ka(e, "small", !1, t).html || "<span class=\"nopic\">无预览</span>";}function Ya(e, t) {let n = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "";- return e.is_jav ? Ca(e, t) === "cover" ? ja(e) : n : e.has_cover && e.cover_key ? ja(e) : n;+ return e.is_jav ? Sa(e, t) === "cover" ? Aa(e) : n : e.has_cover && e.cover_key ? Aa(e) : n;}function Xa(e) {let t = e.performers || [], n = e.performer_entities ?? e.entity_refs?.performer ?? [], r = t[0] || "", i = e.is_jav && r ? "" : e.creator || "";@@ -12382,7 +12385,7 @@ function Xa(e) {}function Za(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a } = Xa(e);- return r ? `<div class="mavstack">${i.slice(0, 5).map((e, t) => `<span class="mav">${Ra(e, a[t], ya(e))}</span>`).join("")}</div>` : `<span class="mav">${Ra(n, t === "performer" ? a[0] : e.creator_entity ?? e.entity_refs?.creator?.[0], t ? ya(n) : null, t || "performer")}</span>`;+ return r ? `<div class="mavstack">${i.slice(0, 5).map((e, t) => `<span class="mav">${La(e, a[t], va(e))}</span>`).join("")}</div>` : `<span class="mav">${La(n, t === "performer" ? a[0] : e.creator_entity ?? e.entity_refs?.creator?.[0], t ? va(n) : null, t || "performer")}</span>`;}function Qa(e, t) {let n = (e.performers || [])[0];@@ -12741,19 +12744,19 @@ function Oo(e, t, n, { side: r = !1, align: i = "end" } = {}) {//#endregion//#region src/ui-kit/select-field.tsfunction ko(e) {- return e ? e.startsWith("data:image/png;base64,") ? `<img class="gselectmark" src="${z(e)}" alt="" width="16" height="16">` : L(e, "gselectmark") : "";+ return e ? e.startsWith("data:image/png;base64,") ? `<img class="gselectmark" src="${B(e)}" alt="" width="16" height="16">` : R(e, "gselectmark") : "";}function Ao(e, t, { label: n = "", attr: r = "", className: i = "" } = {}) {- let a = e.find(([e]) => String(e) === String(t)) || e[0] || ["", ""], o = ([, e, t]) => `${ko(t)}${z(e)}`, s = e.map(([e, t, n]) => `<button type="button" role="option" data-select-option="${z(e)}"+ let a = e.find(([e]) => String(e) === String(t)) || e[0] || ["", ""], o = ([, e, t]) => `${ko(t)}${B(e)}`, s = e.map(([e, t, n]) => `<button type="button" role="option" data-select-option="${B(e)}"aria-selected="${String(e) === String(a[0])}" tabindex="-1"><span data-select-content>${o([e,t,n])}</span></button>`).join("");- return `<div class="ui-gselect${i ? ` ${z(i)}` : ""}" ${r}>+ return `<div class="ui-gselect${i ? ` ${B(i)}` : ""}" ${r}><button type="button" class="gselectfield" data-select-trigger aria-haspopup="listbox"- aria-expanded="false" aria-label="${z(n)}"><span data-select-label>${o(a)}</span>${L("chevron-down")}</button>- <div class="popmenu gselectmenu" role="listbox" aria-label="${z(n)}" popover="manual" data-select-menu hidden>${s}</div></div>`;+ aria-expanded="false" aria-label="${B(n)}"><span data-select-label>${o(a)}</span>${R("chevron-down")}</button>+ <div class="popmenu gselectmenu" role="listbox" aria-label="${B(n)}" popover="manual" data-select-menu hidden>${s}</div></div>`;}function jo(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\"]");@@ -12802,7 +12805,7 @@ var Mo = {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"}, No = {- ...Object.fromEntries(Rt.map((e) => [e.id, Mo[e.id] || e.icon])),+ ...Object.fromEntries(Lt.map((e) => [e.id, Mo[e.id] || e.icon])),online: "rss"}, Po = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", Fo = {medium: "h-9 rounded-2lg p-2 text-body-medium",@@ -12825,7 +12828,7 @@ function Ho(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)">${Vo("star", "size-4")}</button></span>`;}function Uo(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">${Vo("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>`;+ 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">${Vo("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${B(n)}" value="${B(t)}" placeholder="${B(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 Wo({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {let o = r ? Fo[t] : Io[t], s = n ? Vo(n, r ? Ro : Lo[t]) : "", c = r ? `<span class="${zo[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";@@ -12860,45 +12863,45 @@ var $o = /* @__PURE__ */ new Set(["success"]);function es({ 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>`;+ return `<details class="geist-note-details"><summary>${B(e)}</summary>+ <ul>${t.map((e) => `<li>${e.href ? `<a href="${B(e.href)}">${B(e.label || "")}</a>` : `<b>${B(e.label || "")}</b>`}<span>${B(e.note || "")}</span>${e.hint ? `<code>${B(e.hint)}</code>` : ""}</li>`).join("")}</ul>${n ? `<p>${B(n)}</p>` : ""}</details>`;}function ts(e, { variant: t = "secondary", label: n = "", className: r = "", size: i = "medium", filled: a = !1, actionLabel: o = "", actionHref: s = "", details: c = null } = {}) {- let l = $o.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}>- ${L(u)}<p>${n ? `<b>${z(n)}</b>` : ""}<span>${z(l === "error" ? Wt(e) : e)}</span></p>${f}${c ? es(c) : ""}</div>`;+ let l = $o.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="${B(s)}" data-note-action>${B(o)}</a>` : `<button type="button" class="geist-button" data-note-action>${B(o)}</button>` : "";+ return `<div class="geist-note geist-note-${l}${r ? ` ${B(r)}` : ""}${i === "small" ? " geist-note-small" : ""}${a ? " geist-note-filled" : ""}"${d}>+ ${R(u)}<p>${n ? `<b>${B(n)}</b>` : ""}<span>${B(l === "error" ? Ut(e) : e)}</span></p>${f}${c ? es(c) : ""}</div>`;}function ns(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>`;+ return `<span class="ui-geist-spinner" role="status" aria-label="${B(e)}">${t}</span>`;}var rs = "载入中";function is(e = "正在处理", { className: t = "" } = {}) {- return `<span class="ui-geist-loading${t ? ` ${z(t)}` : ""}" role="status">+ return `<span class="ui-geist-loading${t ? ` ${B(t)}` : ""}" role="status"><span class="ui-geist-loading-dots" aria-hidden="true"><i></i><i></i><i></i></span>- <span>${z(e)}</span></span>`;+ <span>${B(e)}</span></span>`;}function as(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 ? L(o) : ""}${z(r)}${c}</button>`;+ let s = String(e) === String(t), c = i == null ? "" : `<span class="ui-board-tab-count">${B(Number(i).toLocaleString())}</span>`;+ return `<button type="button" role="tab" ${n}="${B(e)}" aria-selected="${s}"${a ? ` aria-controls="${B(a)}"` : ""}>${o ? R(o) : ""}${B(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>`;+ return `<div class="ui-board-local-nav ui-board-tabs${i ? ` ${B(i)}` : ""}" role="tablist" aria-label="${B(r)}">${o}</div>`;}function os(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">${L(e)}</div>- <div class="ui-es-copy"><h3>${z(t)}</h3><p>${z(n)}</p></div>+ return `<div class="ui-emptystate${r ? ` ${B(r)}` : ""}" data-geist-empty-state role="status">+ <div class="ui-es-icon" aria-hidden="true">${R(e)}</div>+ <div class="ui-es-copy"><h3>${B(t)}</h3><p>${B(n)}</p></div>${i ? `<div class="ui-es-actions">${i}</div>` : ""}</div>`;}function ss(e = "") {- return `<span class="ui-pcheck"><input type="checkbox" ${e}><span aria-hidden="true">${L("check")}</span></span>`;+ return `<span class="ui-pcheck"><input type="checkbox" ${e}><span aria-hidden="true">${R("check")}</span></span>`;}//#endregion//#region src/ui-kit/motion.tsfunction cs(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">${L(e, i)}</span><span data-icon="b">${L(t, i)}</span></span>`;+ return `<span class="iconswap${r ? " " + B(r) : ""}" data-icon-swap data-icon-state="${n === "b" ? "b" : "a"}"${a ? ` aria-label="${B(a)}"` : ""}><span data-icon="a">${R(e, i)}</span><span data-icon="b">${R(t, i)}</span></span>`;}function ls(e, t) {let n = e && (e.matches?.("[data-icon-swap]") ? e : e.querySelector?.("[data-icon-swap]"));@@ -12930,7 +12933,7 @@ function ds(e, t) {if (r === n && e.firstElementChild) return;e.dataset.popCount = n;let i = -1;- if (e.innerHTML = `<span class="digits">${[...n].map((e) => (/\d/.test(e) && (i += 1), `<span style="--digit-at:${Math.max(i, 0)}">${z(e)}</span>`)).join("")}</span>`, r === void 0 || r === n) return;+ if (e.innerHTML = `<span class="digits">${[...n].map((e) => (/\d/.test(e) && (i += 1), `<span style="--digit-at:${Math.max(i, 0)}">${B(e)}</span>`)).join("")}</span>`, r === void 0 || r === n) return;let a = e.firstElementChild;a.getBoundingClientRect(), a.classList.add("popping");}@@ -13013,20 +13016,20 @@ function _s(e = "正在读取内容", { className: t = "", variant: n = "panel",<span class="ui-skeletondashhero"><i></i><b></b></span><span class="ui-skeletondashpanel"><i></i><b></b><em></em></span><span class="ui-skeletondashpanel"><i></i><b></b><em></em></span>` : "<span class=\"skeleton\" style=\"width:38%\"></span>\n <span class=\"skeleton\" style=\"width:100%\"></span>\n <span class=\"skeleton\" style=\"width:100%\"></span>\n <span class=\"skeleton\" style=\"width:72%\"></span>";- return `<div class="skeletonpanel skeleton-${c}${t ? ` ${z(t)}` : ""}"- data-skeleton="${z(c)}${t ? `/${z(t)}` : ""}"${c === "cards" && i ? " data-fill=\"\"" : ""}- 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>`;+ return `<div class="skeletonpanel skeleton-${c}${t ? ` ${B(t)}` : ""}"+ data-skeleton="${B(c)}${t ? `/${B(t)}` : ""}"${c === "cards" && i ? " data-fill=\"\"" : ""}+ role="status" aria-label="${B(e)}"><span class="sr-only">${B(e)}</span>+ <div${a ? ` class="${B(a)}"` : ""}${o ? ` data-size="${B(o)}"` : ""}${c === "cards" && Number(s) > 0 ? ` style="--skeleton-card-ratio:${Number(s)}"` : ""} aria-hidden="true">${l}</div></div>`;}function vs({ kind: e, layout: t = "big", mode: n = "alphabet" } = {}) {- let r = e !== "tags", i = e === "studios" || e === "agencies", a = r ? "<span class=\"icell\"><span class=\"ring skeleton\"></span><span class=\"nm skeleton\"> </span><span class=\"n skeleton\"> </span></span>" : "<span class=\"alphatag\"><span class=\"skeleton\"></span><span class=\"n skeleton\"></span></span>", o = r ? `igrid" data-cells="${i ? "company" : "people"}" data-layout="${z(t)}` : "ui-alphalist", s = !r && n === "cloud" ? `<div class="tagwall index-tags">${Array.from({ length: 60 }, (e, t) => `<span class="tg skeleton" style="width:${[+ let r = e !== "tags", i = e === "studios" || e === "agencies", a = r ? "<span class=\"icell\"><span class=\"ring skeleton\"></span><span class=\"nm skeleton\"> </span><span class=\"n skeleton\"> </span></span>" : "<span class=\"alphatag\"><span class=\"skeleton\"></span><span class=\"n skeleton\"></span></span>", o = r ? `igrid" data-cells="${i ? "company" : "people"}" data-layout="${B(t)}` : "ui-alphalist", s = !r && n === "cloud" ? `<div class="tagwall index-tags">${Array.from({ length: 60 }, (e, t) => `<span class="tg skeleton" style="width:${[92,128,76,108,144][t % 5]}px"> </span>`).join("")}</div>` : r ? `<div class="${o}">${a.repeat(12)}</div>` : `<section class="ui-alphagroup"><span class="indexletterskeleton skeleton"></span><div class="${o}">${a.repeat(10)}</div></section>`.repeat(3), c = "正在读取索引";- return `<div class="skeletonpanel index-skeleton" data-skeleton="index/${z(e)}/${z(t)}/${z(n)}"${r ? " data-fill=\"\"" : ""}+ return `<div class="skeletonpanel index-skeleton" data-skeleton="index/${B(e)}/${B(t)}/${B(n)}"${r ? " data-fill=\"\"" : ""}role="status" aria-label="${c}"><span class="sr-only">${c}</span><section aria-hidden="true">${s}</section></div>`;}var ys = {@@ -13277,7 +13280,7 @@ function Hs(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dracharacterData: !0,subtree: !0}), j();- let ee = {+ let N = {options: s,update() {b = "", S();@@ -13286,12 +13289,12 @@ function Hs(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, drac.abort(), D(), cancelAnimationFrame(C), C = 0, A.disconnect(), M.disconnect(), Ms.delete(e), e.style.cursor = "", Ms.size || (Ns?.disconnect(), Ns = null);}};- return Ms.set(e, ee), Ns || (Ns = new MutationObserver(() => {+ return Ms.set(e, N), Ns || (Ns = new MutationObserver(() => {for (let [e, t] of Ms) e.isConnected || t.destroy();}), Ns.observe(document.body, {childList: !0,subtree: !0- })), ee;+ })), N;}function Us(e) {return Hs(e, {@@ -13440,9 +13443,9 @@ function uc(e = document) {}, !0));}function dc(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 ? L(a) : "") + z(n) : L(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>`;+ let s = n.map(([t, n, a]) => `<label title="${B(n)}"><input type="radio" name="${B(e)}" value="${B(t)}" ${i}+ ${t === r ? "checked" : ""}><span aria-hidden="true">${o ? (a ? R(a) : "") + B(n) : R(a)}</span><span class="sr-only">${B(n)}</span></label>`).join("");+ return `<fieldset class="iconswitch${o ? " iconswitch-text" : ""}${a ? ` ${B(a)}` : ""}"><legend class="sr-only">${B(t)}</legend>${s}</fieldset>`;}function fc(e, t, n) {e?.querySelectorAll(`[${t}]`).forEach((e) => {@@ -13454,14 +13457,14 @@ function fc(e, t, n) {var pc = 9;function mc({ 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)}"+ return `<div class="ui-dial${s ? ` ${B(s)}` : ""}" ${o}>+ <div class="ui-dial-slider" data-dial-slider role="slider" tabindex="0" aria-label="${B(i)}"+ aria-valuemin="${t}" aria-valuemax="${n}" aria-valuenow="${e}" aria-valuetext="${B(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(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>`;+ </div><b class="ui-dial-value mono" data-dial-value>${B(l)}</b></div>`;}function hc(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 = () => {@@ -13715,12 +13718,12 @@ function Bc(e) {n.observe(t);return;}- let [r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.facebox).split(" ").map(Number), c = pa(e.naturalWidth, e.naturalHeight, o, s);+ let [r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.facebox).split(" ").map(Number), c = fa(e.naturalWidth, e.naturalHeight, o, s);if (!c) {e.style.objectPosition = "50% 50%";return;}- let l = aa({+ let l = ia({cx: r,cy: i,faceW: a * c,@@ -13758,8 +13761,8 @@ function Vc(e, t) {function Hc(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 - (Wc(e) ? Ta : wa) * i), a = 0, o = r, s = i), !pa(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 = Ea({+ if (!e.dataset.posterbox && e.dataset.frame === "sleeve" && (r = e.naturalWidth, i = e.naturalHeight, n = Math.round(r - (Wc(e) ? wa : Ca) * i), a = 0, o = r, s = i), !fa(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 = Ta({x0: n,y0: a,x1: o,@@ -13818,12 +13821,12 @@ function Qc(e) {function $c(e) {let t = e.closest("[data-fit-native]");if (!t || !e.naturalWidth) return;- let n = t.dataset.fitNative === "mark" ? ga(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight) : null;+ let n = t.dataset.fitNative === "mark" ? ha(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight) : null;if (t.dataset.nativeClamp = String(!!n), n) {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 } = ma(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, zc());+ let { small: r, width: i, height: a } = pa(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, zc());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");@@ -13834,7 +13837,7 @@ function el(e) {});}function tl(e, t) {- for (let n of Oa(e, t)) Vc(n), Gc(n);+ for (let n of Da(e, t)) Vc(n), Gc(n);}var nl = !1;function rl() {@@ -13961,7 +13964,7 @@ var fl = (e) => e;//#endregion//#region src/react/follow-feed/follow-helpers.tsfunction pl([e, t, , n, r]) {- return n ? `<img src="/work-icon?work=${encodeURIComponent(e)}" width="128" height="128" alt="" loading="lazy"${Va(r)}${Ha(r)}>` : z(xn(t, 2));+ return n ? `<img src="/work-icon?work=${encodeURIComponent(e)}" width="128" height="128" alt="" loading="lazy"${Ba(r)}${Va(r)}>` : B(bn(t, 2));}function ml(e) {return {@@ -14025,17 +14028,17 @@ function Sl(e, t) {...n,tags: [...r]};- e.adoptView(i), e.rememberReturn(Zi(i)), e.close();+ e.adoptView(i), e.rememberReturn(Xi(i)), e.close();},present: (t) => e.drawer({ tags: xl([{ tags: t.tags || [] }]) })};}//#endregion//#region src/shell/index.ts-var U, Cl, wl = null, Tl = /* @__PURE__ */ new Set(), El = /* @__PURE__ */ new Set(), Dl = !1, Ol = null, kl = null, Al = "", jl = "/", Ml = null, Nl = !1, Pl = !1, Fl = null, Il = null, Ll = null, Rl = "/follow", zl = "", Bl = null, Vl = !1, Hl = 0, Ul = 0, Wl = !1, Gl = Math.floor(Math.random() * 4294967295), Kl = 0, ql = 0, Jl = 0, Yl = /* @__PURE__ */ new Set(), Xl = 0;+var W, Cl, wl = null, Tl = /* @__PURE__ */ new Set(), El = /* @__PURE__ */ new Set(), Dl = !1, Ol = null, kl = null, Al = "", jl = "/", Ml = null, Nl = !1, Pl = !1, Fl = null, Il = null, Ll = null, Rl = "/follow", zl = "", Bl = null, Vl = !1, Hl = 0, Ul = 0, Wl = !1, Gl = Math.floor(Math.random() * 4294967295), Kl = 0, ql = 0, Jl = 0, Yl = /* @__PURE__ */ new Set(), Xl = 0;function Zl(e) {let t = (t) => Object.prototype.hasOwnProperty.call(e, t);- t("state") && (U = e.state), t("barsContext") && (Cl = e.barsContext), t("detailReturnBarsContext") && (wl = e.detailReturnBarsContext), t("selectMode") && (Dl = e.selectMode), t("lastSelectedId") && (Ol = e.lastSelectedId), t("followLastSelectedId") && (kl = e.followLastSelectedId), t("selectSurface") && (Al = e.selectSurface), t("detailReturnPath") && (jl = e.detailReturnPath), t("detailOriginAnchor") && (Ml = e.detailOriginAnchor), t("detailOriginAbove") && (Nl = e.detailOriginAbove), t("detailReturnNeedsRestore") && (Pl = e.detailReturnNeedsRestore), t("activeQueue") && (Fl = e.activeQueue), t("pendingQueueRoute") && (Il = e.pendingQueueRoute), t("presentedItem") && (Ll = e.presentedItem), t("followDetailReturnPath") && (Rl = e.followDetailReturnPath), t("configurationRequestedSection") && (zl = e.configurationRequestedSection), t("pageOpens") && (Hl = e.pageOpens), t("queueOpens") && (Ul = e.queueOpens), t("entityJavLayout") && (Wl = e.entityJavLayout), t("followDiscoverySeed") && (Gl = e.followDiscoverySeed), t("followRevision") && (Kl = e.followRevision), t("followScrollY") && (ql = e.followScrollY), t("playlistsRevision") && (Jl = e.playlistsRevision), t("runtimeConfigurable") && (Bl = e.runtimeConfigurable), t("cameFromSetup") && (Vl = e.cameFromSetup), Ql();+ t("state") && (W = e.state), t("barsContext") && (Cl = e.barsContext), t("detailReturnBarsContext") && (wl = e.detailReturnBarsContext), t("selectMode") && (Dl = e.selectMode), t("lastSelectedId") && (Ol = e.lastSelectedId), t("followLastSelectedId") && (kl = e.followLastSelectedId), t("selectSurface") && (Al = e.selectSurface), t("detailReturnPath") && (jl = e.detailReturnPath), t("detailOriginAnchor") && (Ml = e.detailOriginAnchor), t("detailOriginAbove") && (Nl = e.detailOriginAbove), t("detailReturnNeedsRestore") && (Pl = e.detailReturnNeedsRestore), t("activeQueue") && (Fl = e.activeQueue), t("pendingQueueRoute") && (Il = e.pendingQueueRoute), t("presentedItem") && (Ll = e.presentedItem), t("followDetailReturnPath") && (Rl = e.followDetailReturnPath), t("configurationRequestedSection") && (zl = e.configurationRequestedSection), t("pageOpens") && (Hl = e.pageOpens), t("queueOpens") && (Ul = e.queueOpens), t("entityJavLayout") && (Wl = e.entityJavLayout), t("followDiscoverySeed") && (Gl = e.followDiscoverySeed), t("followRevision") && (Kl = e.followRevision), t("followScrollY") && (ql = e.followScrollY), t("playlistsRevision") && (Jl = e.playlistsRevision), t("runtimeConfigurable") && (Bl = e.runtimeConfigurable), t("cameFromSetup") && (Vl = e.cameFromSetup), Ql();}function Ql() {Xl += 1;@@ -14228,32 +14231,32 @@ var ld = {test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,parse: parseFloat,transform: (t) => `${t}${e}`-}), dd = /*@__PURE__*/ ud("deg"), fd = /*@__PURE__*/ ud("%"), W = /*@__PURE__*/ ud("px"), pd = /*@__PURE__*/ ud("vh"), md = /*@__PURE__*/ ud("vw"), hd = {+}), dd = /*@__PURE__*/ ud("deg"), fd = /*@__PURE__*/ ud("%"), pd = /*@__PURE__*/ ud("px"), md = /*@__PURE__*/ ud("vh"), hd = /*@__PURE__*/ ud("vw"), gd = {...fd,parse: (e) => fd.parse(e) / 100,transform: (e) => fd.transform(e * 100)-}, gd = {+}, _d = {test: /*@__PURE__*/ rd("hsl", "hue"),parse: /*@__PURE__*/ id("hue", "saturation", "lightness"),transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + fd.transform(Wu(t)) + ", " + fd.transform(Wu(n)) + ", " + Wu(Qu.transform(r)) + ")"-}, _d = {- test: (e) => sd.test(e) || ld.test(e) || gd.test(e),- parse: (e) => sd.test(e) ? sd.parse(e) : gd.test(e) ? gd.parse(e) : ld.parse(e),- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? sd.transform(e) : gd.transform(e),+}, vd = {+ test: (e) => sd.test(e) || ld.test(e) || _d.test(e),+ parse: (e) => sd.test(e) ? sd.parse(e) : _d.test(e) ? _d.parse(e) : ld.parse(e),+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? sd.transform(e) : _d.transform(e),getAnimatableNone: (e) => {- let t = _d.parse(e);- return t.alpha = 0, _d.transform(t);+ let t = vd.parse(e);+ return t.alpha = 0, vd.transform(t);}-}, vd = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, yd = /*@__PURE__*/ new RegExp(ed.source), bd = /*@__PURE__*/ new RegExp(vd.source, "i");-function xd(e) {- return isNaN(e) && typeof e == "string" && (yd.test(e) || bd.test(e));+}, yd = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, bd = /*@__PURE__*/ new RegExp(ed.source), xd = /*@__PURE__*/ new RegExp(yd.source, "i");+function Sd(e) {+ return isNaN(e) && typeof e == "string" && (bd.test(e) || xd.test(e));}-var Sd = "number", Cd = "color", wd = "var", Td = "var(", Ed = "${}", Dd = /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 Od(e) {+var Cd = "number", wd = "color", Td = "var", Ed = "var(", Dd = "${}", Od = /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 kd(e) {let t = e.toString();- return yd.test(t) || bd.test(t);+ return bd.test(t) || xd.test(t);}-function kd(e) {+function Ad(e) {let t = e.toString(), n = [], r = {color: [],number: [],@@ -14261,51 +14264,51 @@ function kd(e) {}, i = [], a = 0;return {values: n,- split: t.replace(Dd, (e) => (_d.test(e) ? (r.color.push(a), i.push(Cd), n.push(_d.parse(e))) : e.startsWith(Td) ? (r.var.push(a), i.push(wd), n.push(e)) : (r.number.push(a), i.push(Sd), n.push(parseFloat(e))), ++a, Ed)).split(Ed),+ split: t.replace(Od, (e) => (vd.test(e) ? (r.color.push(a), i.push(wd), n.push(vd.parse(e))) : e.startsWith(Ed) ? (r.var.push(a), i.push(Td), n.push(e)) : (r.number.push(a), i.push(Cd), n.push(parseFloat(e))), ++a, Dd)).split(Dd),indexes: r,types: i};}-function Ad(e) {- return kd(e).values;+function jd(e) {+ return Ad(e).values;}-function jd({ split: e, types: t }) {+function Md({ 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 === Sd ? Wu(r[a]) : e === Cd ? _d.transform(r[a]) : r[a];+ i += e === Cd ? Wu(r[a]) : e === wd ? vd.transform(r[a]) : r[a];}return i;};}-function Md(e) {- return jd(kd(e));+function Nd(e) {+ return Md(Ad(e));}-var Nd = (e) => typeof e == "number" ? 0 : _d.test(e) ? _d.getAnimatableNone(e) : e, Pd = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : Nd(e);-function Fd(e) {- let t = kd(e);- return jd(t)(t.values.map((e, n) => Pd(e, t.split[n])));+var Pd = (e) => typeof e == "number" ? 0 : vd.test(e) ? vd.getAnimatableNone(e) : e, Fd = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : Pd(e);+function Id(e) {+ let t = Ad(e);+ return Md(t)(t.values.map((e, n) => Fd(e, t.split[n])));}-var Id = {- test: xd,- parse: Ad,- createTransformer: Md,- getAnimatableNone: Fd+var Ld = {+ test: Sd,+ parse: jd,+ createTransformer: Nd,+ getAnimatableNone: Id};//#endregion//#region node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs-function Ld(e, t, n) {+function Rd(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 Rd({ hue: e, saturation: t, lightness: n, alpha: r }) {+function zd({ 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 = Ld(s, r, e + 1 / 3), a = Ld(s, r, e), o = Ld(s, r, e - 1 / 3);+ i = Rd(s, r, e + 1 / 3), a = Rd(s, r, e), o = Rd(s, r, e - 1 / 3);}return {red: Math.round(i * 255),@@ -14316,61 +14319,61 @@ function Rd({ hue: e, saturation: t, lightness: n, alpha: r }) {}//#endregion//#region node_modules/motion-dom/dist/es/utils/mix/immediate.mjs-function zd(e, t) {+function Bd(e, t) {return (n) => n > 0 ? t : e;}//#endregion//#region node_modules/motion-dom/dist/es/utils/mix/number.mjs-var Bd = (e, t, n) => e + (t - e) * n, Vd = (e, t, n) => {+var Vd = (e, t, n) => e + (t - e) * n, Hd = (e, t, n) => {let r = e * e, i = n * (t * t - r) + r;return i < 0 ? 0 : Math.sqrt(i);-}, Hd = [+}, Ud = [ld,sd,- gd-], Ud = (e) => Hd.find((t) => t.test(e));-function Wd(e) {- let t = Ud(e);+ _d+], Wd = (e) => Ud.find((t) => t.test(e));+function Gd(e) {+ let t = Wd(e);if (!t) return `${e}`, !1;let n = t.parse(e);- return t === gd && (n = Rd(n)), n;+ return t === _d && (n = zd(n)), n;}-var Gd = (e, t) => {- let n = Wd(e), r = Wd(t);- if (!n || !r) return zd(e, t);+var Kd = (e, t) => {+ let n = Gd(e), r = Gd(t);+ if (!n || !r) return Bd(e, t);let i = { ...n };- return (e) => (i.red = Vd(n.red, r.red, e), i.green = Vd(n.green, r.green, e), i.blue = Vd(n.blue, r.blue, e), i.alpha = Bd(n.alpha, r.alpha, e), sd.transform(i));-}, Kd = /* @__PURE__ */ new Set(["none", "hidden"]);-function qd(e, t) {- return Kd.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;+ return (e) => (i.red = Hd(n.red, r.red, e), i.green = Hd(n.green, r.green, e), i.blue = Hd(n.blue, r.blue, e), i.alpha = Vd(n.alpha, r.alpha, e), sd.transform(i));+}, qd = /* @__PURE__ */ new Set(["none", "hidden"]);+function Jd(e, t) {+ return qd.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;}//#endregion//#region node_modules/motion-dom/dist/es/utils/mix/complex.mjs-function Jd(e, t) {- return (n) => Bd(e, t, n);+function Yd(e, t) {+ return (n) => Vd(e, t, n);}-function Yd(e) {- return typeof e == "number" ? Jd : typeof e == "string" ? Ju(e) ? zd : _d.test(e) ? Gd : $d : Array.isArray(e) ? Xd : typeof e == "object" ? _d.test(e) ? Gd : Zd : zd;+function Xd(e) {+ return typeof e == "number" ? Yd : typeof e == "string" ? Ju(e) ? Bd : vd.test(e) ? Kd : ef : Array.isArray(e) ? Zd : typeof e == "object" ? vd.test(e) ? Kd : Qd : Bd;}-function Xd(e, t) {- let n = [...e], r = n.length, i = e.map((e, n) => Yd(e)(e, t[n]));+function Zd(e, t) {+ let n = [...e], r = n.length, i = e.map((e, n) => Xd(e)(e, t[n]));return (e) => {for (let t = 0; t < r; t++) n[t] = i[t](e);return n;};}-function Zd(e, t) {+function Qd(e, t) {let n = {...e,...t}, r = {};- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = Yd(e[i])(e[i], t[i]));+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = Xd(e[i])(e[i], t[i]));return (e) => {for (let t in r) n[t] = r[t](e);return n;};}-function Qd(e, t) {+function $d(e, t) {let n = [], r = {color: 0,var: 0,@@ -14382,29 +14385,29 @@ function Qd(e, t) {}return n;}-var $d = (e, t) => {- let n = Id.createTransformer(t), r = kd(e), i = kd(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 ? Kd.has(e) && !i.values.length || Kd.has(t) && !r.values.length ? qd(e, t) : pu(Xd(Qd(r, i), i.values), n) : (`${e}${t}`, zd(e, t));-}, ef = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;-function tf(e, t) {- let n = ef.exec(e);+var ef = (e, t) => {+ let n = Ld.createTransformer(t), r = Ad(e), i = Ad(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 ? qd.has(e) && !i.values.length || qd.has(t) && !r.values.length ? Jd(e, t) : pu(Zd($d(r, i), i.values), n) : (`${e}${t}`, Bd(e, t));+}, tf = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;+function nf(e, t) {+ let n = tf.exec(e);if (!n) return;- let r = ef.exec(t);+ let r = tf.exec(t);if (!r || n[2] !== r[2]) return;let i = n[2], a = parseFloat(n[1]), o = parseFloat(r[1]);- return (e) => Wu(Bd(a, o, e)) + i;+ return (e) => Wu(Vd(a, o, e)) + i;}-function nf(e, t, n) {- if (typeof e == "number" && typeof t == "number" && typeof n == "number") return Bd(e, t, n);+function rf(e, t, n) {+ if (typeof e == "number" && typeof t == "number" && typeof n == "number") return Vd(e, t, n);if (typeof e == "string" && typeof t == "string") {- let n = tf(e, t);+ let n = nf(e, t);if (n) return n;}- return Yd(e)(e, t);+ return Xd(e)(e, t);}//#endregion//#region node_modules/motion-dom/dist/es/frameloop/order.mjs-var rf = [+var af = ["setup","read","resolveKeyframes",@@ -14416,7 +14419,7 @@ var rf = [];//#endregion//#region node_modules/motion-dom/dist/es/frameloop/render-step.mjs-function af(e) {+function of(e) {let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a = /* @__PURE__ */ new Set(), o = {delta: 0,timestamp: 0,@@ -14447,25 +14450,25 @@ function af(e) {}//#endregion//#region node_modules/motion-dom/dist/es/frameloop/batcher.mjs-var of = 40;-function sf(e, t, n = {+var sf = 40;+function cf(e, t, n = {delta: 0,timestamp: 0,isProcessing: !1}) {- let r = !1, i = !0, a = () => r = !0, o = rf.reduce((e, t) => (e[t] = af(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {+ let r = !1, i = !0, a = () => r = !0, o = af.reduce((e, t) => (e[t] = of(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {let a = su.useManualTiming, o = a ? n.timestamp : performance.now();- r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, of), 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));+ r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, sf), 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: rf.reduce((e, t) => {+ schedule: af.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 < rf.length; t++) o[rf[t]].cancel(e);+ for (let t = 0; t < af.length; t++) o[af[t]].cancel(e);},state: n,steps: o@@ -14473,31 +14476,31 @@ function sf(e, t, n = {}//#endregion//#region node_modules/motion-dom/dist/es/frameloop/frame.mjs-var { schedule: cf, cancel: lf, steps: uf } = /* @__PURE__ */ sf(typeof requestAnimationFrame < "u" ? requestAnimationFrame : fu, !0, Bu), df = (e) => {+var { schedule: lf, cancel: uf, steps: df } = /* @__PURE__ */ cf(typeof requestAnimationFrame < "u" ? requestAnimationFrame : fu, !0, Bu), ff = (e) => {let t = ({ timestamp: t }) => e(t);return {- start: (e = !0) => cf.update(t, e),- stop: () => lf(t),+ start: (e = !0) => lf.update(t, e),+ stop: () => uf(t),now: () => Bu.isProcessing ? Bu.timestamp : Uu.now()};-}, ff = (e, t, n = 10) => {+}, pf = (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)})`;-}, pf = 2e4;-function mf(e, t = 50, n = pf, r) {+}, mf = 2e4;+function hf(e, t = 50, n = mf, 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;}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs-function hf(e, t = 100, n) {+function gf(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(mf(o), pf);+ }), s = Math.min(hf(o), mf);return {type: "keyframes",ease: (e) => o.next(s * e).value / t,@@ -14506,7 +14509,7 @@ function hf(e, t = 100, n) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs-var gf = {+var _f = {stiffness: 100,damping: 10,mass: 1,@@ -14524,63 +14527,63 @@ var gf = {minDuration: .01,maxDuration: 10,minDamping: .05-}, _f = (e) => e < 0 ? 1 / Math.max(1 + e, gf.minDamping) : Math.max(1 - e, gf.minDamping);-function vf(e, t) {+}, vf = (e) => e < 0 ? 1 / Math.max(1 + e, _f.minDamping) : Math.max(1 - e, _f.minDamping);+function yf(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 xf((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;+ return Sf((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;}-function yf(e, t) {+function bf(e, t) {return e * Math.sqrt(1 - t * t);}-var bf = 12;-function xf(e, t, n) {+var xf = 12;+function Sf(e, t, n) {let r = n;- for (let n = 1; n < bf; n++) r -= e(r) / t(r);+ for (let n = 1; n < xf; n++) r -= e(r) / t(r);return r;}-var Sf = .001;-function Cf({ duration: e = gf.duration, bounce: t = gf.bounce }) {+var Cf = .001;+function wf({ duration: e = _f.duration, bounce: t = _f.bounce }) {let n, r;- gf.maxDuration;- let i = _f(t);- e = ou(gf.minDuration, gf.maxDuration, /* @__PURE__ */ _u(e)), i < 1 ? (n = (t) => {- let n = t * i, r = n * e, a = yf(t, i), o = Math.exp(-r);- return Sf - n / a * o;+ _f.maxDuration;+ let i = vf(t);+ e = ou(_f.minDuration, _f.maxDuration, /* @__PURE__ */ _u(e)), i < 1 ? (n = (t) => {+ let n = t * i, r = n * e, a = bf(t, i), o = Math.exp(-r);+ return Cf - n / a * o;}, r = (t) => {- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = yf(t * t, i);- return (-n(t) + Sf > 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) + Cf > 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 = xf(n, r, a), s = o * vf(i, o * e), c = s * s;+ let a = 5 / e, o = Sf(n, r, a), s = o * yf(i, o * e), c = s * s;return {stiffness: c,damping: i * 2 * Math.sqrt(c),duration: /* @__PURE__ */ gu(e)};}-var wf = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;-function Tf(e, t) {- if (wf(e, t)) return e;+var Tf = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;+function Ef(e, t) {+ if (Tf(e, t)) return e;}-function Ef(e) {- let t = Tf(e.stiffness), n = Tf(e.damping, !0), r = Tf(e.mass), i = {+function Df(e) {+ let t = Ef(e.stiffness), n = Ef(e.damping, !0), r = Ef(e.mass), i = {...e,- stiffness: t ?? gf.stiffness,- damping: n ?? gf.damping,- mass: r ?? gf.mass,+ stiffness: t ?? _f.stiffness,+ damping: n ?? _f.damping,+ mass: r ?? _f.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 = _f(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * vf(t, 2 * Math.PI / 1.2);+ let t = vf(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * yf(t, 2 * Math.PI / 1.2);i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);- } else Object.assign(i, Cf(i)), i.isResolvedFromDuration = !0;- (!wf(i.stiffness) || !wf(i.damping, !0)) && (i.stiffness = gf.stiffness, i.damping = gf.damping);+ } else Object.assign(i, wf(i)), i.isResolvedFromDuration = !0;+ (!Tf(i.stiffness) || !Tf(i.damping, !0)) && (i.stiffness = _f.stiffness, i.damping = _f.damping);}return i;}-function Df(e = gf.visualDuration, t = gf.bounce) {+function Of(e = _f.visualDuration, t = _f.bounce) {let n = typeof e == "object" ? e : {visualDuration: e,keyframes: [0, 1],@@ -14588,7 +14591,7 @@ function Df(e = gf.visualDuration, t = gf.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 } = Ef({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ _u(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ _u(Math.sqrt(o / c)), h = p * m, g = {+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = Df({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ _u(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ _u(Math.sqrt(o / c)), h = p * m, g = {target: i,delta: i - r,velocity: f(n.velocity || 0) || 0,@@ -14596,12 +14599,12 @@ function Df(e = gf.visualDuration, t = gf.bounce) {restDelta: 0}, _ = () => {let e = Math.abs(g.delta) < 5;- g.restSpeed = n.restSpeed || (e ? gf.restSpeed.granular : gf.restSpeed.default), g.restDelta = n.restDelta || (e ? gf.restDelta.granular : gf.restDelta.default);+ g.restSpeed = n.restSpeed || (e ? _f.restSpeed.granular : _f.restSpeed.default), g.restDelta = n.restDelta || (e ? _f.restDelta.granular : _f.restDelta.default);};_();let v, y, b;if (p < 1) {- let e = yf(m, p), t = {+ let e = bf(m, p), t = {A: 0,sinC: 0,cosC: 0,@@ -14650,20 +14653,20 @@ function Df(e = gf.visualDuration, t = gf.bounce) {return a.value = a.done ? g.target : t, a;},toString: () => {- let e = Math.min(mf(S), pf), t = ff((t) => S.next(e * t).value, e, 30);+ let e = Math.min(hf(S), mf), t = pf((t) => S.next(e * t).value, e, 30);return e + "ms " + t;},toTransition: () => {}};return S;}-Df.applyToOptions = (e) => {- let t = hf(e, 100, Df);+Of.applyToOptions = (e) => {+ let t = gf(e, 100, Of);return e.ease = t.ease, e.duration = /* @__PURE__ */ gu(t.duration), e.type = "keyframes", e;};//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/inertia.mjs-function Of({ 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 kf({ 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@@ -14673,7 +14676,7 @@ function Of({ 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 = Df({+ p(f.value) && (b = e, x = Of({keyframes: [f.value, m(f.value)],velocity: -v(e) / r * 1e3,damping: i,@@ -14692,21 +14695,21 @@ function Of({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32}//#endregion//#region node_modules/motion-dom/dist/es/utils/interpolate.mjs-function kf(e, t, n) {- let r = [], i = n || su.mix || nf, a = e.length - 1;+function Af(e, t, n) {+ let r = [], i = n || su.mix || rf, a = e.length - 1;for (let n = 0; n < a; n++) {let a = i(e[n], e[n + 1]);t && (a = pu(Array.isArray(t) ? t[n] || fu : t, a)), r.push(a);}return r;}-function Af(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {+function jf(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 = kf(t, r, i), c = s.length, l = (n) => {+ let s = Af(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++);@@ -14717,42 +14720,42 @@ function Af(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs-function jf(e, t) {+function Mf(e, t) {let n = e[e.length - 1];for (let r = 1; r <= t; r++) {let i = /* @__PURE__ */ mu(0, t, r);- e.push(Bd(n, 1, i));+ e.push(Vd(n, 1, i));}}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs-function Mf(e) {+function Nf(e) {let t = [0];- return jf(t, e.length - 1), t;+ return Mf(t, e.length - 1), t;}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs-function Nf(e, t) {+function Pf(e, t) {return e.map((e) => e * t);}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs-function Pf(e, t) {+function Ff(e, t) {return e.map(() => t || Nu).splice(0, e.length - 1);}-function Ff({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {+function If({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {let i = /* @__PURE__ */ Pu(r) ? r.map(zu) : zu(r) || Nu, 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 : (su.mix || nf)(n, r);+ let [n, r] = t, o = n === r ? void 0 : (su.mix || rf)(n, r);return {calculatedDuration: e,next: (t) => (a.value = o ? o(i(e > 0 ? ou(0, 1, t / e) : 1)) : r, a.done = t >= e, a)};}- let o = Af(Nf(n && n.length === t.length ? n : Mf(t), e), t, { ease: Array.isArray(i) ? i : Pf(t, i) });+ let o = jf(Pf(n && n.length === t.length ? n : Nf(t), e), t, { ease: Array.isArray(i) ? i : Ff(t, i) });return {calculatedDuration: e,next: (t) => (a.value = o(t), a.done = t >= e, a)@@ -14760,39 +14763,39 @@ function Ff({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs-var If = 5;-function Lf(e, t, n) {- let r = Math.max(t - If, 0);+var Lf = 5;+function Rf(e, t, n) {+ let r = Math.max(t - Lf, 0);return /* @__PURE__ */ vu(n - e(r), t - r);}-function Rf(e, t, n = 0) {- return t <= 0 ? n : e.velocity ? e.velocity(t) : Lf((t) => e.next(t).value, t, e.next(t).value);+function zf(e, t, n = 0) {+ return t <= 0 ? n : e.velocity ? e.velocity(t) : Rf((t) => e.next(t).value, t, e.next(t).value);}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs-var zf = (e) => e !== null;-function Bf(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {- let a = e.filter(zf), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;+var Bf = (e) => e !== null;+function Vf(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {+ let a = e.filter(Bf), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;return !o || r === void 0 ? a[o] : r;}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs-var Vf = {- decay: Of,- inertia: Of,- tween: Ff,- keyframes: Ff,- spring: Df+var Hf = {+ decay: kf,+ inertia: kf,+ tween: If,+ keyframes: If,+ spring: Of};-function Hf(e) {- typeof e.type == "string" && (e.type = Vf[e.type]);+function Uf(e) {+ typeof e.type == "string" && (e.type = Hf[e.type]);}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/resolve-start-time.mjs-var Uf = 40, Wf = (e, t) => t - e > Uf && !su.useManualTiming ? t : e;+var Wf = 40, Gf = (e, t) => t - e > Wf && !su.useManualTiming ? t : e;//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs-function Gf(e, t) {+function Kf(e, t) {return {kind: e,animation: t,@@ -14801,11 +14804,11 @@ function Gf(e, t) {frameIsProcessing: Bu.isProcessing};}-function Kf(e, t, n) {+function qf(e, t, n) {let r = globalThis.__MOTION_INSPECT__;if (r) try {r({- ...Gf("animation-start", e),+ ...Kf("animation-start", e),options: n ? {...t,...n@@ -14813,18 +14816,18 @@ function Kf(e, t, n) {});} catch {}}-function qf(e, t) {+function Jf(e, t) {let n = globalThis.__MOTION_INSPECT__;if (n) try {n({- ...Gf("layout-animation-start", e),+ ...Kf("layout-animation-start", e),node: t});} catch {}}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs-var Jf = class {+var Yf = class {constructor() {this.isResolved = !1;}@@ -14842,7 +14845,7 @@ var Jf = class {then(e, t) {return this.finished.then(e, t);}-}, Yf = (e) => e / 100, Xf = (e) => Math.round(e * 1e4) / 1e4, Zf = class extends Jf {+}, Xf = (e) => e / 100, Zf = (e) => Math.round(e * 1e4) / 1e4, Qf = class extends Yf {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,@@ -14850,13 +14853,13 @@ var Jf = class {}, this.stop = () => {let { motionValue: e } = this.options;e && e.updatedAt !== Uu.now() && this.tick(Uu.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());- }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Kf(this, this.options);+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), qf(this, this.options);}initAnimation() {let { options: e } = this;- Hf(e);- let { type: t = Ff, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Ff;- s !== Ff && typeof o[0] != "number" && (this.mixKeyframes = pu(Yf, nf(o[0], o[1])), o = [0, 100]);+ Uf(e);+ let { type: t = If, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || If;+ s !== If && typeof o[0] != "number" && (this.mixKeyframes = pu(Xf, rf(o[0], o[1])), o = [0, 100]);let c = s(o === e.keyframes ? e : {...e,keyframes: o@@ -14865,7 +14868,7 @@ var Jf = class {...e,keyframes: [...o].reverse(),velocity: -a- })), c.calculatedDuration === null && (c.calculatedDuration = mf(c));+ })), c.calculatedDuration === null && (c.calculatedDuration = hf(c));let { calculatedDuration: l } = c;this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;}@@ -14877,20 +14880,20 @@ var Jf = 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 = Wf(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 = Gf(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 !== Of && (f.value = Bf(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;+ return m && s !== kf && (f.value = Vf(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;}at(e) {- return this.holdTime ?? Xf((e - this.startTime) * this.playbackSpeed);+ return this.holdTime ?? Zf((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 !== Of ? Bf(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;+ return i >= r && n.type !== kf ? Vf(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;@@ -14918,7 +14921,7 @@ var Jf = class {e = /* @__PURE__ */ gu(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 Rf(this.generator, this.currentTime, this.options.velocity);+ return zf(this.generator, this.currentTime, this.options.velocity);}get speed() {return this.playbackSpeed;@@ -14929,7 +14932,7 @@ var Jf = class {}play() {if (this.isStopped) return;- let { driver: e = df, startTime: t } = this.options;+ let { driver: e = ff, 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();@@ -14958,39 +14961,39 @@ var Jf = class {attachTimeline(e) {return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);}-}, Qf = /* @__PURE__ */ new Set([+}, $f = /* @__PURE__ */ new Set(["brightness","contrast","saturate","opacity"]);-function $f(e) {+function ep(e) {let [t, n] = e.slice(0, -1).split("(");if (t === "drop-shadow") return e;let [r] = n.match(ed) || [];if (!r) return e;- let i = n.replace(r, ""), a = +!!Qf.has(t);+ let i = n.replace(r, ""), a = +!!$f.has(t);return r !== n && (a *= 100), t + "(" + a + i + ")";}-var ep = /\b([a-z-]*)\(.*?\)/gu, tp = {- ...Id,+var tp = /\b([a-z-]*)\(.*?\)/gu, np = {+ ...Ld,getAnimatableNone: (e) => {- let t = e.match(ep);- return t ? t.map($f).join(" ") : e;+ let t = e.match(tp);+ return t ? t.map(ep).join(" ") : e;}-}, np = {- ...Id,+}, rp = {+ ...Ld,getAnimatableNone: (e) => {- let t = Id.parse(e);- return Id.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {+ let t = Ld.parse(e);+ return Ld.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {...e,alpha: 1} : e));}-}, rp = {+}, ip = {...Zu,transform: Math.round-}, ip = {+}, ap = {rotate: dd,pathRotation: dd,rotateX: dd,@@ -15003,104 +15006,104 @@ var ep = /\b([a-z-]*)\(.*?\)/gu, tp = {skew: dd,skewX: dd,skewY: dd,- distance: W,- translateX: W,- translateY: W,- translateZ: W,- x: W,- y: W,- z: W,- perspective: W,- transformPerspective: W,+ distance: pd,+ translateX: pd,+ translateY: pd,+ translateZ: pd,+ x: pd,+ y: pd,+ z: pd,+ perspective: pd,+ transformPerspective: pd,opacity: Qu,- originX: hd,- originY: hd,- originZ: W-}, ap = {- borderWidth: W,- borderTopWidth: W,- borderRightWidth: W,- borderBottomWidth: W,- borderLeftWidth: W,- borderRadius: W,- borderTopLeftRadius: W,- borderTopRightRadius: W,- borderBottomRightRadius: W,- borderBottomLeftRadius: W,- width: W,- maxWidth: W,- height: W,- maxHeight: W,- top: W,- right: W,- bottom: W,- left: W,- inset: W,- insetBlock: W,- insetBlockStart: W,- insetBlockEnd: W,- insetInline: W,- insetInlineStart: W,- insetInlineEnd: W,- padding: W,- paddingTop: W,- paddingRight: W,- paddingBottom: W,- paddingLeft: W,- paddingBlock: W,- paddingBlockStart: W,- paddingBlockEnd: W,- paddingInline: W,- paddingInlineStart: W,- paddingInlineEnd: W,- margin: W,- marginTop: W,- marginRight: W,- marginBottom: W,- marginLeft: W,- marginBlock: W,- marginBlockStart: W,- marginBlockEnd: W,- marginInline: W,- marginInlineStart: W,- marginInlineEnd: W,- fontSize: W,- backgroundPositionX: W,- backgroundPositionY: W,- ...ip,- zIndex: rp,- fillOpacity: Qu,- strokeOpacity: Qu,- numOctaves: rp+ originX: gd,+ originY: gd,+ originZ: pd}, op = {+ borderWidth: pd,+ borderTopWidth: pd,+ borderRightWidth: pd,+ borderBottomWidth: pd,+ borderLeftWidth: pd,+ borderRadius: pd,+ borderTopLeftRadius: pd,+ borderTopRightRadius: pd,+ borderBottomRightRadius: pd,+ borderBottomLeftRadius: pd,+ width: pd,+ maxWidth: pd,+ height: pd,+ maxHeight: pd,+ top: pd,+ right: pd,+ bottom: pd,+ left: pd,+ inset: pd,+ insetBlock: pd,+ insetBlockStart: pd,+ insetBlockEnd: pd,+ insetInline: pd,+ insetInlineStart: pd,+ insetInlineEnd: pd,+ padding: pd,+ paddingTop: pd,+ paddingRight: pd,+ paddingBottom: pd,+ paddingLeft: pd,+ paddingBlock: pd,+ paddingBlockStart: pd,+ paddingBlockEnd: pd,+ paddingInline: pd,+ paddingInlineStart: pd,+ paddingInlineEnd: pd,+ margin: pd,+ marginTop: pd,+ marginRight: pd,+ marginBottom: pd,+ marginLeft: pd,+ marginBlock: pd,+ marginBlockStart: pd,+ marginBlockEnd: pd,+ marginInline: pd,+ marginInlineStart: pd,+ marginInlineEnd: pd,+ fontSize: pd,+ backgroundPositionX: pd,+ backgroundPositionY: pd,...ap,- color: _d,- backgroundColor: _d,- outlineColor: _d,- fill: _d,- stroke: _d,- borderColor: _d,- borderTopColor: _d,- borderRightColor: _d,- borderBottomColor: _d,- borderLeftColor: _d,- filter: tp,- WebkitFilter: tp,- mask: np,- WebkitMask: np-}, sp = (e) => op[e], cp = /*@__PURE__*/ new Set([tp, np]);-function lp(e, t) {- let n = sp(e);- return cp.has(n) || (n = Id), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;+ zIndex: ip,+ fillOpacity: Qu,+ strokeOpacity: Qu,+ numOctaves: ip+}, sp = {+ ...op,+ color: vd,+ backgroundColor: vd,+ outlineColor: vd,+ fill: vd,+ stroke: vd,+ borderColor: vd,+ borderTopColor: vd,+ borderRightColor: vd,+ borderBottomColor: vd,+ borderLeftColor: vd,+ filter: np,+ WebkitFilter: np,+ mask: rp,+ WebkitMask: rp+}, cp = (e) => sp[e], lp = /*@__PURE__*/ new Set([np, rp]);+function up(e, t) {+ let n = cp(e);+ return lp.has(n) || (n = Ld), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs-function up(e) {+function dp(e) {for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);}//#endregion//#region node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs-var dp = (e) => e * 180 / Math.PI, fp = (e) => mp(dp(Math.atan2(e[1], e[0]))), pp = {+var fp = (e) => e * 180 / Math.PI, pp = (e) => hp(fp(Math.atan2(e[1], e[0]))), mp = {x: 4,y: 5,translateX: 4,@@ -15109,55 +15112,55 @@ var dp = (e) => e * 180 / Math.PI, fp = (e) => mp(dp(Math.atan2(e[1], e[0]))), pscaleY: 3,scaleZ: () => 1,scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,- rotate: fp,- rotateZ: fp,- skewX: (e) => dp(Math.atan(e[1])),- skewY: (e) => dp(Math.atan(e[2])),+ rotate: pp,+ rotateZ: pp,+ skewX: (e) => fp(Math.atan(e[1])),+ skewY: (e) => fp(Math.atan(e[2])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2-}, mp = (e) => (e %= 360, e < 0 && (e += 360), e), hp = fp, gp = (e) => Math.hypot(e[0], e[1]), _p = (e) => Math.hypot(e[4], e[5]), vp = {+}, hp = (e) => (e %= 360, e < 0 && (e += 360), e), gp = pp, _p = (e) => Math.hypot(e[0], e[1]), vp = (e) => Math.hypot(e[4], e[5]), yp = {x: 12,y: 13,z: 14,translateX: 12,translateY: 13,translateZ: 14,- scaleX: gp,- scaleY: _p,+ scaleX: _p,+ scaleY: vp,scaleZ: (e) => Math.hypot(e[8], e[9], e[10]),- scale: (e) => (gp(e) + _p(e)) / 2,- rotateX: (e) => mp(dp(Math.atan2(e[6], e[5]))),- rotateY: (e) => mp(dp(Math.atan2(-e[2], e[0]))),- rotateZ: hp,- rotate: hp,- skewX: (e) => dp(Math.atan(e[4])),- skewY: (e) => dp(Math.atan(e[1])),+ scale: (e) => (_p(e) + vp(e)) / 2,+ rotateX: (e) => hp(fp(Math.atan2(e[6], e[5]))),+ rotateY: (e) => hp(fp(Math.atan2(-e[2], e[0]))),+ rotateZ: gp,+ rotate: gp,+ skewX: (e) => fp(Math.atan(e[4])),+ skewY: (e) => fp(Math.atan(e[1])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2};-function yp(e) {+function bp(e) {return +!!e.includes("scale");}-function bp(e, t) {- if (!e || e === "none") return yp(t);+function xp(e, t) {+ if (!e || e === "none") return bp(t);let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;- if (n) r = vp, i = n;+ if (n) r = yp, i = n;else {let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);- r = pp, i = t;+ r = mp, i = t;}- if (!i) return yp(t);- let a = r[t], o = i[1].split(",").map(Sp);+ if (!i) return bp(t);+ let a = r[t], o = i[1].split(",").map(Cp);return typeof a == "function" ? a(o) : o[a];}-var xp = (e, t) => {+var Sp = (e, t) => {let { transform: n = "none" } = getComputedStyle(e);- return bp(n, t);+ return xp(n, t);};-function Sp(e) {+function Cp(e) {return parseFloat(e.trim());}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs-var Cp = [+var wp = ["transformPerspective","x","y",@@ -15176,14 +15179,14 @@ var Cp = ["skew","skewX","skewY"-], wp = /* @__PURE__ */ new Set([...Cp, "pathRotation"]), Tp = (e) => e === Zu || e === W, Ep = /* @__PURE__ */ new Set([+], Tp = /* @__PURE__ */ new Set([...wp, "pathRotation"]), Ep = (e) => e === Zu || e === pd, Dp = /* @__PURE__ */ new Set(["x","y","z"-]), Dp = Cp.filter((e) => !Ep.has(e));-function Op(e) {+]), Op = wp.filter((e) => !Dp.has(e));+function kp(e) {let t = [];- return Dp.forEach((n) => {+ return Op.forEach((n) => {let r = e.getValue(n);if (r !== void 0) {let e = r.get(), i = +!!n.startsWith("scale");@@ -15192,16 +15195,16 @@ function Op(e) {}}), t;}-var kp = /* @__PURE__ */ new Set(["bottom", "right"]);-function Ap(e, t, n, r, i, a) {+var Ap = /* @__PURE__ */ new Set(["bottom", "right"]);+function jp(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 jp = {- width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => Ap(e, i, "x", t, n, r),- height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => Ap(e, i, "y", t, n, r),+var Mp = {+ width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => jp(e, i, "x", t, n, r),+ height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => jp(e, i, "y", t, n, r),top: ({ top: e }) => parseFloat(e),left: ({ left: e }) => parseFloat(e),bottom: ({ top: e }, t) => {@@ -15212,22 +15215,22 @@ var jp = {let { x: n } = t();return parseFloat(e) + (n.max - n.min);},- x: ({ transform: e }) => bp(e, "x"),- y: ({ transform: e }) => bp(e, "y")+ x: ({ transform: e }) => xp(e, "x"),+ y: ({ transform: e }) => xp(e, "y")};-jp.translateX = jp.x, jp.translateY = jp.y;+Mp.translateX = Mp.x, Mp.translateY = Mp.y;//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs-var Mp = /* @__PURE__ */ new Set(), Np = !1, Pp = !1, Fp = !1;-function Ip() {- if (Pp) {+var Np = /* @__PURE__ */ new Set(), Pp = !1, Fp = !1, Ip = !1;+function Lp() {+ if (Fp) {let e = [], t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();- Mp.forEach((r) => {- r.needsMeasurement && (e.push(r), t.add(r.element), kp.has(r.name) && n.add(r.element));+ Np.forEach((r) => {+ r.needsMeasurement && (e.push(r), t.add(r.element), Ap.has(r.name) && n.add(r.element));});let r = /* @__PURE__ */ new Map();n.forEach((e) => {- let t = Op(e);+ let t = kp(e);t.length && (r.set(e, t), e.render());}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {e.render();@@ -15239,29 +15242,29 @@ function Ip() {e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);});}- Pp = !1, Np = !1, Mp.forEach((e) => e.complete(Fp)), Mp.clear();+ Fp = !1, Pp = !1, Np.forEach((e) => e.complete(Ip)), Np.clear();}-function Lp() {- Mp.forEach((e) => {- e.readKeyframes(), e.needsMeasurement && (Pp = !0);+function Rp() {+ Np.forEach((e) => {+ e.readKeyframes(), e.needsMeasurement && (Fp = !0);});}-function Rp() {- Fp = !0, Lp(), Ip(), Fp = !1;+function zp() {+ Ip = !0, Rp(), Lp(), Ip = !1;}-function zp(e, t, n) {+function Bp(e, t, n) {if (typeof e == "string") {if (cu(e) || uu(e)) return parseFloat(e);- if (!Id.test(e) && Id.test(n)) return lp(t, n);+ if (!Ld.test(e) && Ld.test(n)) return up(t, n);}return e ?? void 0;}-var Bp = class {+var Vp = 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 ? (Mp.add(this), Np || (Np = !0, cf.read(Lp), cf.resolveKeyframes(Ip))) : (this.readKeyframes(), this.complete());+ this.state = "scheduled", this.isAsync ? (Np.add(this), Pp || (Pp = !0, lf.read(Rp), lf.resolveKeyframes(Lp))) : (this.readKeyframes(), this.complete());}readKeyframes() {let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;@@ -15269,75 +15272,75 @@ var Bp = class {let i = r?.get(), a = e[e.length - 1];if (i !== void 0) e[0] = i;else if (n && t) {- let r = zp(n.readValue(t, a), t, a);+ let r = Bp(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]);}- up(e);+ dp(e);}setFinalKeyframe() {}measureInitialState() {}renderEndStyles() {}measureEndState() {}complete(e = !1) {- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Mp.delete(this);+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Np.delete(this);}cancel() {- this.state === "scheduled" && (Mp.delete(this), this.state = "pending");+ this.state === "scheduled" && (Np.delete(this), this.state = "pending");}resume() {this.state === "pending" && this.scheduleResolve();}-}, Vp = (e) => e.startsWith("--");+}, Hp = (e) => e.startsWith("--");//#endregion//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs-function Hp(e, t, n) {- Vp(t) ? e.style.setProperty(t, n) : e.style[t] = n;+function Up(e, t, n) {+ Hp(t) ? e.style.setProperty(t, n) : e.style[t] = n;}//#endregion//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs-var Up = {};+var Wp = {};//#endregion//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs-function Wp(e, t) {+function Gp(e, t) {let n = /* @__PURE__ */ du(e);- return () => Up[t] ?? n();+ return () => Wp[t] ?? n();}//#endregion//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs-var Gp = /* @__PURE__ */ Wp(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Kp = /*@__PURE__*/ Wp(() => {+var Kp = /* @__PURE__ */ Gp(() => window.ScrollTimeline !== void 0, "scrollTimeline"), qp = /*@__PURE__*/ Gp(() => {try {document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });} catch {return !1;}return !0;-}, "linearEasing"), qp = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Jp = {+}, "linearEasing"), Jp = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Yp = {linear: "linear",ease: "ease",easeIn: "ease-in",easeOut: "ease-out",easeInOut: "ease-in-out",- circIn: /*@__PURE__*/ qp([+ circIn: /*@__PURE__*/ Jp([0,.65,.55,1]),- circOut: /*@__PURE__*/ qp([+ circOut: /*@__PURE__*/ Jp([.55,0,1,.45]),- backIn: /*@__PURE__*/ qp([+ backIn: /*@__PURE__*/ Jp([.31,.01,.66,-.59]),- backOut: /*@__PURE__*/ qp([+ backOut: /*@__PURE__*/ Jp([.33,1.53,.69,@@ -15346,15 +15349,15 @@ var Gp = /* @__PURE__ */ Wp(() => window.ScrollTimeline !== void 0, "scrollTimel};//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs-function Yp(e, t) {- if (e) return typeof e == "function" ? Kp() ? ff(e, t) : "ease-out" : /* @__PURE__ */ Iu(e) ? qp(e) : Array.isArray(e) ? e.map((e) => Yp(e, t) || Jp.easeOut) : Jp[e];+function Xp(e, t) {+ if (e) return typeof e == "function" ? qp() ? pf(e, t) : "ease-out" : /* @__PURE__ */ Iu(e) ? Jp(e) : Array.isArray(e) ? e.map((e) => Xp(e, t) || Yp.easeOut) : Yp[e];}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs-function Xp(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {+function Zp(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 = Yp(s, i);+ let d = Xp(s, i);Array.isArray(d) && (u.easing = d);let f = {delay: r,@@ -15368,29 +15371,29 @@ function Xp(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyp}//#endregion//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs-function Zp(e) {+function Qp(e) {return typeof e == "function" && "applyToOptions" in e;}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs-function Qp({ type: e, ...t }) {- return Zp(e) && Kp() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);+function $p({ type: e, ...t }) {+ return Qp(e) && qp() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);}//#endregion//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs-var $p = class extends Jf {+var em = class extends Yf {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 = Qp(e);- this.animation = Xp(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {+ let c = $p(e);+ this.animation = Zp(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {if (this.finishedTime = this.time, !i) {- let e = Bf(r, this.options, o, this.speed);- this.updateMotionValue && this.updateMotionValue(e), Hp(t, n, e), this.animation.cancel();+ let e = Vf(r, this.options, o, this.speed);+ this.updateMotionValue && this.updateMotionValue(e), Up(t, n, e), this.animation.cancel();}s?.(), this.notifyFinished();- }, Kf(this, e, c);+ }, qf(this, e, c);}play() {this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());@@ -15447,22 +15450,22 @@ var $p = class extends Jf {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 && Gp() ? (this.animation.timeline = e, t?.(this.animation), fu) : n(this);+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Kp() ? (this.animation.timeline = e, t?.(this.animation), fu) : n(this);}-}, em = {+}, tm = {anticipate: Du,backInOut: Eu,circInOut: Au};-function tm(e) {- return e in em;-}function nm(e) {- typeof e.ease == "string" && tm(e.ease) && (e.ease = em[e.ease]);+ return e in tm;}-var rm = class extends $p {+function rm(e) {+ typeof e.ease == "string" && nm(e.ease) && (e.ease = tm[e.ease]);+}+var im = class extends em {constructor(e) {- nm(e), Hf(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;+ rm(e), Uf(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;}elapsed() {return this.state === "running" ? (Uu.now() - this.startTime) * this.speed : this.time * 1e3;@@ -15470,7 +15473,7 @@ var rm = class extends $p {sample(e) {if (!this.sampler) {let { motionValue: e, onUpdate: t, onComplete: n, onPlay: r, onStop: i, element: a, ...o } = this.options;- this.sampler = new Zf({+ this.sampler = new Qf({...o,autoplay: !1}), this.sampler.stop();@@ -15489,44 +15492,44 @@ var rm = class extends $p {return;}let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? ou(0, 10, a) : 0, s = this.sample(a);- n && r && Hp(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));+ n && r && Up(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));}-}, im = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Id.test(e) || e === "0") && !e.startsWith("url("));+}, am = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Ld.test(e) || e === "0") && !e.startsWith("url("));//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs-function am(e) {+function om(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 om(e, t, n, r) {+function sm(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 = im(i, t), s = im(a, t);- return !o || !s ? (o !== s && `${t}${i}${a}${o ? a : i}`, !1) : am(e) || (n === "spring" || Zp(n)) && r;+ let a = e[e.length - 1], o = am(i, t), s = am(a, t);+ return !o || !s ? (o !== s && `${t}${i}${a}${o ? a : i}`, !1) : om(e) || (n === "spring" || Qp(n)) && r;}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs-function sm(e) {+function cm(e) {e.duration = 0, e.type = "keyframes";}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs-var cm = /* @__PURE__ */ new Set([+var lm = /* @__PURE__ */ new Set(["opacity","clipPath","filter","transform","backgroundColor"-]), lm = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;-function um(e) {- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && lm.test(e[t])) return !0;+]), um = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;+function dm(e) {+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && um.test(e[t])) return !0;return !1;}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs-var dm = /* @__PURE__ */ new Set([+var fm = /* @__PURE__ */ new Set(["color","backgroundColor","outlineColor",@@ -15537,27 +15540,27 @@ var dm = /* @__PURE__ */ new Set(["borderRightColor","borderBottomColor","borderLeftColor"-]), fm = /*@__PURE__*/ du(() => Object.hasOwnProperty.call(Element.prototype, "animate"));-function pm(e) {+]), pm = /*@__PURE__*/ du(() => Object.hasOwnProperty.call(Element.prototype, "animate"));+function mm(e) {let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e;- if (!n || !(cm.has(n) || dm.has(n))) return !1;+ if (!n || !(lm.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() && (cm.has(n) || dm.has(n) && um(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";+ return pm() && (lm.has(n) || fm.has(n) && dm(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";}//#endregion//#region node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs-var mm = (e, t) => t && typeof e == "number" ? t.transform(e) : e, hm = {+var hm = (e, t) => t && typeof e == "number" ? t.transform(e) : e, gm = {x: "translateX",y: "translateY",z: "translateZ",transformPerspective: "perspective"-}, gm = Cp.length;-function _m(e, t, n) {+}, _m = wp.length;+function vm(e, t, n) {let r = "", i = !0;- for (let a = 0; a < gm; a++) {- let o = Cp[a], s = e[o];+ for (let a = 0; a < _m; a++) {+ let o = wp[a], s = e[o];if (s === void 0) continue;let c = !0;if (typeof s == "number") c = s === +!!o.startsWith("scale");@@ -15566,44 +15569,44 @@ function _m(e, t, n) {c = o.startsWith("scale") ? e === 1 : e === 0;}if (!c || n) {- let e = mm(s, ap[o]);+ let e = hm(s, op[o]);if (!c) {i = !1;- let t = hm[o] || o;+ let t = gm[o] || o;r += `${t}(${e}) `;}n && (t[o] = e);}}let a = e.pathRotation;- return a && (i = !1, r += `rotate(${mm(a, ap.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;+ return a && (i = !1, r += `rotate(${hm(a, op.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;}//#endregion//#region node_modules/motion-dom/dist/es/animation/waapi/transforms/groups.mjs-var vm = /* @__PURE__ */ new WeakMap(), ym = 200, bm = .001, xm = .1, Sm = .001, Cm = 100, wm = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Tm = (e, t) => e - t, Em = (e, t, n) => {+var ym = /* @__PURE__ */ new WeakMap(), bm = 200, xm = .001, Sm = .1, Cm = .001, wm = 100, Tm = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Em = (e, t) => e - t, Dm = (e, t, n) => {let r = [];- for (let i = 0; i <= n; i++) r.push(Bd(e, t, i / n));+ for (let i = 0; i <= n; i++) r.push(Vd(e, t, i / n));return r;-}, Dm = (e) => e.motionValue.owner, Om = (e) => vm.get(e), km = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), Am = ({ name: e, motionValue: t }) => e && Cp.includes(e) && t?.owner?.current instanceof HTMLElement && fm() && Kp();-function jm(e) {- let t = Dm(e), { onUpdate: n, transformTemplate: r } = t.getProps();- return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (km(t, "transform") || "none") === "none" && !km(t, "pathRotation") && !t.projection?.isProjecting();+}, Om = (e) => e.motionValue.owner, km = (e) => ym.get(e), Am = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), jm = ({ name: e, motionValue: t }) => e && wp.includes(e) && t?.owner?.current instanceof HTMLElement && pm() && qp();+function Mm(e) {+ let t = Om(e), { onUpdate: n, transformTemplate: r } = t.getProps();+ return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (Am(t, "transform") || "none") === "none" && !Am(t, "pathRotation") && !t.projection?.isProjecting();}-var Mm = class extends Zf {+var Nm = class extends Qf {constructor(e) {- let t = Dm(e).current, { driver: n = df } = e, r = jm(e);+ let t = Om(e).current, { driver: n = ff } = e, r = Mm(e);e.driver = (e) => {let r = n(e);return {js: r,now: r.now,start: (e = !0) => {- let n = Om(t);+ let n = km(t);!n || n.isJS ? r.start(e) : n.schedule(!1, !e);},stop: () => {r.stop();- let e = Om(t);+ let e = km(t);e?.schedule(!e.isFinishing);}};@@ -15614,7 +15617,7 @@ var Mm = class extends Zf {};}get group() {- return Om(Dm(this.options).current);+ return km(Om(this.options).current);}get js() {return this.driver?.js;@@ -15634,8 +15637,8 @@ var Mm = class extends Zf {return this.isAccelerated() ? this.sampleAt(Uu.now()) : void 0;}tween() {- let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Iu(n) ? qp(n) : wm(n) && Jp[n];- if (o && !i && !r && e.length === 2 && t === Ff && this.holdTime === null) {+ let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Iu(n) ? Jp(n) : Tm(n) && Yp[n];+ if (o && !i && !r && e.length === 2 && t === If && this.holdTime === null) {let e = this.startTime + a / this.speed;return [e,@@ -15645,7 +15648,7 @@ var Mm = class extends Zf {}}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 || Ff) === Ff ? u || Mf(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 || If) === If ? u || Nf(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;@@ -15665,7 +15668,7 @@ var Mm = class extends Zf {this.options.motionValue.setWithVelocity(this.sampleAt(e - 10, !0), this.sampleAt(e, !0), 10);}play() {- this.isStopped || ((this.group || Nm(Dm(this.options))).tracks.add(this), super.play());+ this.isStopped || ((this.group || Pm(Om(this.options))).tracks.add(this), super.play());}pause() {super.pause(), this.isAccelerated() && (this.sync(), this.group.schedule(!1));@@ -15685,22 +15688,22 @@ var Mm = class extends Zf {return this.canAccelerate = !1, this.group?.demote(!0), super.attachTimeline(e);}};-function Nm(e) {+function Pm(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 = -Infinity, f = (e) => {for (let t of n) if (t.name === e) return !0;}, p = (t, n) => {let o = {};- for (let s of t === void 0 ? Cp : a) {- let a = r.get(s), c = t === void 0 ? km(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];+ for (let s of t === void 0 ? wp : a) {+ let a = r.get(s), c = t === void 0 ? Am(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];c !== void 0 && (o[s] = c);}return o;}, m = (e, t) => {let n = "", r = p(e, t);- for (let e in r) n += (hm[e] || e) + "(" + mm(r[e], ap[e]) + ") ";+ for (let e in r) n += (gm[e] || e) + "(" + hm(r[e], op[e]) + ") ";return n || "none";}, h = (e = p()) => {- t.style.transform = _m(e, {});+ t.style.transform = vm(e, {});}, g = (e = !0) => {e && h(), s.forEach(({ animation: e }) => e.cancel()), s = [];}, _ = (e, t, n = Infinity) => {@@ -15720,34 +15723,34 @@ function Nm(e) {}return r(t, n) > i / 2 ? [t, n] : [];}, y = (e, t, n, r) => {- let i = Math.min(ym, Math.max(2, Math.ceil((n - t) / 10)));+ let i = Math.min(bm, Math.max(2, Math.ceil((n - t) / 10)));if (r.length * 4 > i) return;- let a = Em(t, n, i).concat(r).sort(Tm), o = (e) => /* @__PURE__ */ mu(t, n, e), s, c;+ let a = Dm(t, n, i).concat(r).sort(Em), o = (e) => /* @__PURE__ */ mu(t, n, e), s, c;for (let t of e) {let e = a.map((e) => t.numberAt(e)), [n] = e, r = e[e.length - 1] - n, i = e.map((e) => r ? (e - n) / r : e - n);if (!r) {- if (i.some((e) => !(Math.abs(e) <= bm))) return;+ if (i.some((e) => !(Math.abs(e) <= xm))) return;} else if (!s) s = i, c = (e) => (t.numberAt(e) - n) / r;- else if (i.some((e, t) => !(Math.abs(e - s[t]) <= bm))) return;+ else if (i.some((e, t) => !(Math.abs(e - s[t]) <= xm))) return;}- if (!s || s.every((e, t) => Math.abs(e - o(a[t])) <= bm)) return "linear";- let l = [], u = (e, t = c(e)) => l.push(Xf(t) + " " + Xf(o(e) * 100) + "%");+ if (!s || s.every((e, t) => Math.abs(e - o(a[t])) <= xm)) return "linear";+ let l = [], u = (e, t = c(e)) => l.push(Zf(t) + " " + Zf(o(e) * 100) + "%");return s.forEach((e, t) => {t && Math.abs(e - s[t - 1]) > .2 && v(c, a[t - 1], a[t]).forEach((e) => u(e)), u(a[t], e);}), "linear(" + l + ")";}, b = (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") ? Sm : xm))), 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") ? Cm : Sm))), 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(...v((e) => r.numberAt(e), t, n));i.push(n);}- }, s = Em(t, n, Math.ceil((n - t) / 100));+ }, s = Dm(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(Tm)) e > c && o(c, e, 0), c = e;- return i.sort(Tm);+ for (let e of s.sort(Em)) e > c && o(c, e, 0), c = e;+ return i.sort(Em);}, x = (e) => {let t;for (let n of e) {@@ -15786,9 +15789,9 @@ function Nm(e) {f.push(e), l = Math.max(l, t);}}- i = {}, a = Cp.filter((t) => {+ i = {}, a = wp.filter((t) => {if (r.has(t)) return !0;- let n = i[t] = km(e, t);+ let n = i[t] = Am(e, t);return n !== void 0 && parseFloat(n) !== +!!t.startsWith("scale");}), g(!1);let h = !u && x(f);@@ -15839,11 +15842,11 @@ function Nm(e) {let r = Uu.now();if (E.isJS || (E.isFinishing = !0, n.forEach((t) => {let [n, a] = t.timing();- t.state === "running" && t.speed > 0 && !a && n <= r + 1 && (t.complete(), i[t.name] = km(e, t.name), o.has(t) || (c = !0));+ t.state === "running" && t.speed > 0 && !a && n <= r + 1 && (t.complete(), i[t.name] = Am(e, t.name), o.has(t) || (c = !0));}), E.isFinishing = !1), l = !1, n.forEach(({ state: e }, t) => {(e === "idle" || e === "finished") && n.delete(t);}), !n.size) {- vm.delete(t), E.isJS || g();+ ym.delete(t), E.isJS || g();return;}for (let e of n) if (!e.canAccelerate) return E.demote(!0);@@ -15851,7 +15854,7 @@ function Nm(e) {let a = c, s = u;if (c = u = !1, a || !w(r)) {if (s) {- if (r - d < Cm) return E.demote();+ if (r - d < wm) return E.demote();d = r;}if (!C(r)) return E.demote();@@ -15861,11 +15864,11 @@ function Nm(e) {isJS: !1,isFinishing: !1,schedule(e, t) {- c ||= e, u ||= !!t, l || (l = !0, Bu.isProcessing ? cf.render(T, !1, !0) : queueMicrotask(T));+ c ||= e, u ||= !!t, l || (l = !0, Bu.isProcessing ? lf.render(T, !1, !0) : queueMicrotask(T));},check() {if (!E.isJS) {- for (let t in i) if (km(e, t) !== i[t] && !f(t)) return E.schedule(!0, !0);+ for (let t in i) if (Am(e, t) !== i[t] && !f(t)) return E.schedule(!0, !0);}},demote(e) {@@ -15874,18 +15877,18 @@ function Nm(e) {}), E.isJS = !0, o = /* @__PURE__ */ new Map(), g(), n.forEach((e) => e.state === "running" && e.js?.start()));}};- return vm.set(t, E), E;+ return ym.set(t, E), E;}//#endregion//#region node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs-var Pm = class extends Jf {+var Fm = class extends Yf {constructor(e) {super(), this.stop = () => {this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();}, this.createdAt = Uu.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 || Bp;+ let o = i?.KeyframeResolver || Vp;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) {@@ -15893,22 +15896,22 @@ var Pm = class extends Jf {let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;this.resolvedAt = Uu.now();let u = !0;- om(e, i, a, o) || (u = !1, (su.instantAnimations || !s) && l?.(Bf(e, n, t)), e[0] = e[e.length - 1], sm(n), n.repeat = 0);+ sm(e, i, a, o) || (u = !1, (su.instantAnimations || !s) && l?.(Vf(e, n, t)), e[0] = e[e.length - 1], cm(n), n.repeat = 0);let { onComplete: d } = n;n.finalKeyframe = t, n.keyframes = e, n.onComplete = () => {d?.(), this.notifyFinished();};- let f = u && !c && pm(n), p = !f && Am(n);- r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Wf(this.createdAt, this.resolvedAt));+ let f = u && !c && mm(n), p = !f && jm(n);+ r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Gf(this.createdAt, this.resolvedAt));let m;if (f) {n.element = n.motionValue?.owner?.current;try {- m = new rm(n);+ m = new im(n);} catch {- m = new Zf(n);+ m = new Qf(n);}- } else m = p ? new Mm(n) : new Zf(n);+ } else m = p ? new Nm(n) : new Qf(n);this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;}get finished() {@@ -15921,7 +15924,7 @@ var Pm = class extends Jf {return this._animation?.liveValue?.();}get animation() {- return this._animation || (this.keyframeResolver?.resume(), Rp()), this._animation;+ return this._animation || (this.keyframeResolver?.resume(), zp()), this._animation;}get duration() {return this.animation.duration;@@ -15962,7 +15965,7 @@ var Pm = class extends Jf {cancel() {this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();}-}, Fm = class {+}, Im = class {constructor(e) {this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);}@@ -16002,10 +16005,10 @@ var Pm = class extends Jf {return this.getAll("startTime");}get duration() {- return Im(this.animations, "duration");+ return Lm(this.animations, "duration");}get iterationDuration() {- return Im(this.animations, "iterationDuration");+ return Lm(this.animations, "iterationDuration");}runAll(e) {this.animations.forEach((t) => t[e]());@@ -16023,7 +16026,7 @@ var Pm = class extends Jf {this.runAll("complete");}};-function Im(e, t) {+function Lm(e, t) {let n = 0;for (let r = 0; r < e.length; r++) {let i = e[r][t];@@ -16033,24 +16036,24 @@ function Im(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs-var Lm = class extends Fm {+var Rm = class extends Im {then(e, t) {return this.finished.finally(e).then(() => {});}-}, Rm = /* @__PURE__ */ new WeakMap(), zm = (e, t = "") => `${e}:${t}`;-function Bm(e) {- let t = Rm.get(e);- return t || (t = /* @__PURE__ */ new Map(), Rm.set(e, t)), t;+}, zm = /* @__PURE__ */ new WeakMap(), Bm = (e, t = "") => `${e}:${t}`;+function Vm(e) {+ let t = zm.get(e);+ return t || (t = /* @__PURE__ */ new Map(), zm.set(e, t)), t;}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs-function Vm(e, t, n, r = 0, i = 1) {+function Hm(e, t, n, r = 0, i = 1) {let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;}//#endregion//#region node_modules/motion-dom/dist/es/value/index.mjs-var Hm = 30, Um = (e) => !isNaN(parseFloat(e)), Wm = { current: void 0 }, Gm = class {+var Um = 30, Wm = (e) => !isNaN(parseFloat(e)), Gm = { current: void 0 }, Km = class {constructor(e, t = {}) {this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {let t = Uu.now();@@ -16058,7 +16061,7 @@ var Hm = 30, Um = (e) => !isNaN(parseFloat(e)), Wm = { current: void 0 }, Gm = c}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;}setCurrent(e) {- this.current = e, this.updatedAt = Uu.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = Um(this.current));+ this.current = e, this.updatedAt = Uu.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = Wm(this.current));}setPrevFrameValue(e = this.current) {this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;@@ -16077,7 +16080,7 @@ var Hm = 30, Um = (e) => !isNaN(parseFloat(e)), Wm = { current: void 0 }, Gm = c};}stopIfUnobserved() {- cf.read(() => {+ lf.read(() => {!this.changeSubscriber && !this.events.change?.getSize() && this.stop();});}@@ -16111,7 +16114,7 @@ var Hm = 30, Um = (e) => !isNaN(parseFloat(e)), Wm = { current: void 0 }, Gm = cthis.dependents && this.dependents.delete(e);}get() {- Wm.current && Wm.current.push(this);+ Gm.current && Gm.current.push(this);let e = this.animation?.liveValue?.();return e === void 0 ? this.current : e;}@@ -16123,8 +16126,8 @@ var Hm = 30, Um = (e) => !isNaN(parseFloat(e)), Wm = { current: void 0 }, Gm = c}getVelocity() {let e = Uu.now();- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Hm) return 0;- let t = Math.min(this.updatedAt - this.prevUpdatedAt, Hm);+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Um) return 0;+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, Um);return /* @__PURE__ */ vu(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);}start(e) {@@ -16149,12 +16152,12 @@ var Hm = 30, Um = (e) => !isNaN(parseFloat(e)), Wm = { current: void 0 }, Gm = cthis.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();}};-function Km(e, t) {- return new Gm(e, t);+function qm(e, t) {+ return new Km(e, t);}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs-function qm(e, t) {+function Jm(e, t) {if (e?.inherit && t) {let { inherit: n, ...r } = e;return {@@ -16166,26 +16169,26 @@ function qm(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs-function Jm(e, t) {+function Ym(e, t) {let n = e?.[t] ?? e?.default ?? e;- return n === e ? n : qm(n, e);+ return n === e ? n : Jm(n, e);}//#endregion//#region node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs-var Ym = {+var Xm = {type: "spring",stiffness: 500,damping: 25,restSpeed: 10-}, Xm = (e) => ({+}, Zm = (e) => ({type: "spring",stiffness: 550,damping: e === 0 ? 2 * Math.sqrt(550) : 30,restSpeed: 10-}), Zm = {+}), Qm = {type: "keyframes",duration: .8-}, Qm = {+}, $m = {type: "keyframes",ease: [.25,@@ -16194,7 +16197,7 @@ var Ym = {1],duration: .3-}, $m = (e, { keyframes: t }) => t.length > 2 ? Zm : wp.has(e) ? e.startsWith("scale") ? Xm(t[1]) : Ym : Qm, eh = /* @__PURE__ */ new Set([+}, eh = (e, { keyframes: t }) => t.length > 2 ? Qm : Tp.has(e) ? e.startsWith("scale") ? Zm(t[1]) : Xm : $m, th = /* @__PURE__ */ new Set(["when","delay","delayChildren",@@ -16206,14 +16209,14 @@ var Ym = {"from","elapsed"]);-function th(e) {- for (let t in e) if (!eh.has(t)) return !0;+function nh(e) {+ for (let t in e) if (!th.has(t)) return !0;return !1;}//#endregion//#region node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs-var nh = (e, t, n, r = {}, i, a) => (o) => {- let s = Jm(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;+var rh = (e, t, n, r = {}, i, a) => (o) => {+ let s = Ym(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;l -= /* @__PURE__ */ gu(c);let u = {keyframes: Array.isArray(n) ? n : [null, n],@@ -16232,91 +16235,91 @@ var nh = (e, t, n, r = {}, i, a) => (o) => {element: a ? void 0 : i,hasOnUpdate: !!s.onUpdate};- th(s) || Object.assign(u, $m(e, u)), u.duration &&= /* @__PURE__ */ gu(u.duration), u.repeatDelay &&= /* @__PURE__ */ gu(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);+ nh(s) || Object.assign(u, eh(e, u)), u.duration &&= /* @__PURE__ */ gu(u.duration), u.repeatDelay &&= /* @__PURE__ */ gu(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);let d = !1;- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (sm(u), u.delay === 0 && (d = !0)), (su.instantAnimations || su.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, sm(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {- let e = Bf(u.keyframes, s);+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (cm(u), u.delay === 0 && (d = !0)), (su.instantAnimations || su.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, cm(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {+ let e = Vf(u.keyframes, s);if (e !== void 0) {- cf.update(() => {+ lf.update(() => {u.onUpdate(e), u.onComplete();});return;}}- return s.isSync ? new Zf(u) : new Pm(u);-}, rh = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;-function ih(e) {- let t = rh.exec(e);+ return s.isSync ? new Qf(u) : new Fm(u);+}, ih = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;+function ah(e) {+ let t = ih.exec(e);if (!t) return [,];let [, n, r, i] = t;return [`--${n ?? r}`, i];}-function ah(e, t, n = 1) {+function oh(e, t, n = 1) {`${e}`;- let [r, i] = ih(e);+ let [r, i] = ah(e);if (!r) return;let a = window.getComputedStyle(t).getPropertyValue(r);if (a) {let e = a.trim();return cu(e) ? parseFloat(e) : e;}- return Ju(i) ? ah(i, t, n + 1) : i;+ return Ju(i) ? oh(i, t, n + 1) : i;}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs-function oh(e) {+function sh(e) {let t = [{}, {}];return e?.values.forEach((e, n) => {t[0][n] = e.get(), t[1][n] = e.getVelocity();}), t;}-function sh(e, t, n, r) {- let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...oh(r)) : t;+function ch(e, t, n, r) {+ let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...sh(r)) : t;return t = i(t), typeof t == "string" && (t = e.variants && e.variants[t]), i(t);}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs-function ch(e, t, n) {- return sh(e.getProps(), t, n, e);+function lh(e, t, n) {+ return ch(e.getProps(), t, n, e);}-var lh = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, uh = /* @__PURE__ */ new Set([+var uh = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, dh = /* @__PURE__ */ new Set(["width","height","top","left","right","bottom",- ...Cp-]), dh = (e) => Array.isArray(e);+ ...wp+]), fh = (e) => Array.isArray(e);//#endregion//#region 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, Km(n));+function ph(e, t, n) {+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, qm(n));}-function ph(e) {- return dh(e) ? e[e.length - 1] || 0 : e;+function mh(e) {+ return fh(e) ? e[e.length - 1] || 0 : e;}-function mh(e, t) {- let { transitionEnd: n = {}, transition: r = {}, ...i } = ch(e, t) || {};+function hh(e, t) {+ let { transitionEnd: n = {}, transition: r = {}, ...i } = lh(e, t) || {};i = {...i,...n};- for (let t in i) fh(e, t, ph(i[t]));+ for (let t in i) ph(e, t, mh(i[t]));}//#endregion//#region node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs-var hh = (e) => !!(e && e.getVelocity);+var gh = (e) => !!(e && e.getVelocity);//#endregion//#region node_modules/motion-dom/dist/es/value/will-change/is.mjs-function gh(e) {- return !!(hh(e) && e.add);+function _h(e) {+ return !!(gh(e) && e.add);}//#endregion//#region node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs-function _h(e, t) {+function vh(e, t) {let n = e.getValue("willChange");- if (gh(n)) return n.add(t);+ if (_h(n)) return n.add(t);if (!n && su.WillChange) {let n = new su.WillChange("auto");e.addValue("willChange", n), n.add(t);@@ -16324,59 +16327,59 @@ function _h(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs-function vh(e) {+function yh(e) {return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);}-var yh = "data-" + vh("framerAppearId");+var bh = "data-" + yh("framerAppearId");//#endregion//#region node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs-function bh(e) {- return e.props[yh];+function xh(e) {+ return e.props[bh];}//#endregion//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs-var xh = typeof window < "u";-function Sh({ protectedKeys: e, needsAnimating: t }, n) {+var Sh = typeof window < "u";+function Ch({ protectedKeys: e, needsAnimating: t }, n) {let r = n in e && !t[n];return t[n] = !1, r;}-function Ch(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {+function wh(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();- a = a ? qm(a, c) : c;+ a = a ? Jm(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.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 && Sh(f, t)) continue;+ if (i === void 0 || f && Ch(f, t)) continue;let o = {delay: n,- ...Jm(a || {}, t)+ ...Ym(a || {}, t)};u && (o.skipAnimations = !0);let c = r.get();if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {- cf.update(() => r.set(i));+ lf.update(() => r.set(i));continue;}let p = !1;- if (xh && window.MotionHandoffAnimation) {- let n = bh(e);+ if (Sh && window.MotionHandoffAnimation) {+ let n = xh(e);if (n) {- let e = window.MotionHandoffAnimation(n, t, cf);+ let e = window.MotionHandoffAnimation(n, t, lf);e !== null && (o.startTime = e, p = !0);}}- _h(e, t);+ vh(e, t);let m = l ?? e.shouldReduceMotion;- r.start(nh(t, r, i, m && uh.has(t) ? { type: !1 } : o, e, p));+ r.start(rh(t, r, i, m && dh.has(t) ? { type: !1 } : o, e, p));let h = r.animation;h && d.push(h);}if (o) {- let t = () => cf.update(() => {- o && mh(e, o);+ let t = () => lf.update(() => {+ o && hh(e, o);});d.length ? Promise.all(d).then(t) : t();}@@ -16384,13 +16387,13 @@ function Ch(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs-function wh(e, t, n = {}) {- let r = ch(e, t, lh(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Ch(e, r, n) : []), o = (r = 0) => {+function Th(e, t, n = {}) {+ let r = lh(e, t, uh(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? wh(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(wh(e, t, {+ e.notify("AnimationStart", t), l.push(Th(e, t, {...n,- delay: r + (typeof o == "function" ? 0 : o) + Vm(a, e, o, s, c)+ delay: r + (typeof o == "function" ? 0 : o) + Hm(a, e, o, s, c)}).then(() => e.notify("AnimationComplete", t)));}), Promise.all(l);}, { when: s } = i;@@ -16398,48 +16401,48 @@ function wh(e, t, n = {}) {}//#endregion//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs-function Th(e, t, n = {}) {- return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => wh(e, t, n))) : typeof t == "string" ? wh(e, t, n) : Promise.all(Ch(e, ch(e, t, n.custom), n))).then(() => {+function Eh(e, t, n = {}) {+ return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Th(e, t, n))) : typeof t == "string" ? Th(e, t, n) : Promise.all(wh(e, lh(e, t, n.custom), n))).then(() => {e.notify("AnimationComplete", t);});}//#endregion//#region node_modules/motion-dom/dist/es/value/types/auto.mjs-var Eh = {+var Dh = {test: (e) => e === "auto",parse: (e) => e-}, Dh = (e) => (t) => t.test(e), Oh = [+}, Oh = (e) => (t) => t.test(e), kh = [Zu,- W,+ pd,fd,dd,+ hd,md,- pd,- Eh-], kh = (e) => Oh.find(Dh(e));+ Dh+], Ah = (e) => kh.find(Oh(e));//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs-function Ah(e) {+function jh(e) {return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || uu(e);}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs-var jh = /* @__PURE__ */ new Set([+var Mh = /* @__PURE__ */ new Set(["auto","none","0"]);-function Mh(e, t, n) {+function Nh(e, t, n) {let r = 0, i;for (; r < e.length && !i;) {let t = e[r];- typeof t == "string" && !jh.has(t) && Od(t) && (i = e[r]), r++;+ typeof t == "string" && !Mh.has(t) && kd(t) && (i = e[r]), r++;}- if (i && n) for (let r of t) e[r] !== i && (e[r] = lp(n, i));+ if (i && n) for (let r of t) e[r] !== i && (e[r] = up(n, i));}//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs-var Nh = class extends Bp {+var Ph = class extends Vp {constructor(e, t, n, r, i) {super(e, t, n, r, i, !0);}@@ -16460,31 +16463,31 @@ var Nh = class extends Bp {for (let n = 0; n < e.length; n++) {let r = e[n];if (typeof r == "string" && (r = r.trim(), Ju(r))) {- let i = ah(r, t.current);+ let i = oh(r, t.current);i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);}}- if (this.resolveNoneKeyframes(), !uh.has(n) || e.length !== 2) return;+ if (this.resolveNoneKeyframes(), !dh.has(n) || e.length !== 2) return;let [r, i] = e;if (typeof r == "number" && typeof i == "number") return;- let a = kh(r), o = kh(i);- if (Xu(r) !== Xu(i) && jp[n]) this.needsMeasurement = !0;+ let a = Ah(r), o = Ah(i);+ if (Xu(r) !== Xu(i) && Mp[n]) this.needsMeasurement = !0;else if (a !== o) {- if (Tp(a) && Tp(o)) for (let t = 0; t < e.length; t++) {+ if (Ep(a) && Ep(o)) for (let t = 0; t < e.length; t++) {let n = e[t];typeof n == "string" && (e[t] = parseFloat(n));}- else jp[n] && (this.needsMeasurement = !0);+ else Mp[n] && (this.needsMeasurement = !0);}}resolveNoneKeyframes() {let { unresolvedKeyframes: e, name: t } = this, n = [];- for (let t = 0; t < e.length; t++) (e[t] === null || Ah(e[t])) && n.push(t);- n.length && Mh(e, n, t);+ for (let t = 0; t < e.length; t++) (e[t] === null || jh(e[t])) && n.push(t);+ n.length && Nh(e, n, t);}measure() {let { element: e, name: t } = this;- return jp[t](window.getComputedStyle(e.current), () => e.measureViewportBox());+ return Mp[t](window.getComputedStyle(e.current), () => e.measureViewportBox());}measureInitialState() {let { element: e, unresolvedKeyframes: t, name: n } = this;@@ -16502,19 +16505,19 @@ var Nh = class extends Bp {e.getValue(t).set(n);}), this.resolveNoneKeyframes();}-}, Ph = [+}, Fh = ["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"-], Fh = /* @__PURE__ */ new Set([+], Ih = /* @__PURE__ */ new Set(["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius",- ...Ph,+ ...Fh,"width","maxWidth","height",@@ -16558,70 +16561,70 @@ var Nh = class extends Bp {]);//#endregion//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs-function Ih(e, t) {- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Fh.has(t) && (e[n] = e[n] + "px");+function Lh(e, t) {+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Ih.has(t) && (e[n] = e[n] + "px");}//#endregion//#region node_modules/motion-dom/dist/es/animation/animate/effects.mjs-var Lh = [];-function Rh(e) {- typeof e.test == "function" && e.read, zh(e), Lh.unshift(e);-}+var Rh = [];function zh(e) {- au(Lh, e);+ typeof e.test == "function" && e.read, Bh(e), Rh.unshift(e);}function Bh(e) {- return Lh.find((t) => t.test(e));+ au(Rh, e);}-function Vh(e, t, n = {}, r) {+function Vh(e) {+ return Rh.find((t) => t.test(e));+}+function Hh(e, t, n = {}, r) {let i = [], { velocity: a } = n, o = n.reduceMotion ?? r?.shouldReduceMotion;for (let s in t) {if (s === "transition" || s === "transitionEnd") continue;let c = t[s];if (c === void 0) continue;let l = e(s), u = l.get();- u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? cf.update(() => l.set(c)) : (l.start(nh(s, l, c, o && uh.has(s) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));+ u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? lf.update(() => l.set(c)) : (l.start(rh(s, l, c, o && dh.has(s) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));}let { transitionEnd: s } = t;if (s) {- let t = () => cf.update(() => {+ let t = () => lf.update(() => {for (let t in s) e(t).set(s[t]);});i.length ? Promise.all(i).then(t) : t();}return i;}-function Hh(e, t, n, r, i) {- return Vh((r) => {+function Uh(e, t, n, r, i) {+ return Hh((r) => {let a = e.get(t, r);if (!a) {let o;if (!i) {let i = n[r];- o = Uh(i) ?? e.read(t, r, i), `${r}`;+ o = Wh(i) ?? e.read(t, r, i), `${r}`;}- a = Km(o, { owner: i }), e(t, { [r]: a });+ a = qm(o, { owner: i }), e(t, { [r]: a });}return a;}, n, r, i);}-function Uh(e) {+function Wh(e) {let t = Array.isArray(e) ? e[0] : void 0;return t === null ? void 0 : t;}//#endregion//#region node_modules/motion-dom/dist/es/utils/is-html-element.mjs-function Wh(e) {+function Gh(e) {return lu(e) && "offsetHeight" in e && !("ownerSVGElement" in e);}//#endregion//#region node_modules/motion-dom/dist/es/utils/is-svg-element.mjs-function Gh(e) {+function Kh(e) {return lu(e) && "ownerSVGElement" in e;}//#endregion//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs-function Kh(e, t, n) {+function qh(e, t, n) {if (e == null) return [];if (e instanceof EventTarget) return [e];if (typeof e == "string") {@@ -16634,8 +16637,8 @@ function Kh(e, t, n) {}//#endregion//#region node_modules/motion-dom/dist/es/effects/MotionValueState.mjs-var qh = class {- constructor(e = cf.render) {+var Jh = class {+ constructor(e = lf.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;@@ -16679,10 +16682,10 @@ var qh = class {};//#endregion//#region node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs-function Jh(e, { step: t, ...n } = {}) {+function Yh(e, { step: t, ...n } = {}) {let r = /* @__PURE__ */ new WeakMap();return Object.assign((n, i) => {- let a = r.get(n) ?? new qh(t);+ let a = r.get(n) ?? new Jh(t);r.set(n, a);let o = [];for (let t in i) {@@ -16700,63 +16703,63 @@ function Jh(e, { step: t, ...n } = {}) {}//#endregion//#region node_modules/motion-dom/dist/es/effects/style/transform.mjs-var Yh = {};-function Xh(e) {+var Xh = {};+function Zh(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 && " ") + (Yh[i] || (Yh[i] = (hm[i] || i) + "(")) + mm(a, ip[i]) + ")");+ a !== void 0 && (typeof a == "number" ? a : parseFloat(a)) !== +!!i.startsWith("scale") && (t += (t && " ") + (Xh[i] || (Xh[i] = (gm[i] || i) + "(")) + hm(a, ap[i]) + ")");}let i = e.get("pathRotation")?.get();- return i && (t += (t && " ") + "rotate(" + mm(i, ip.pathRotation) + ")"), t || "none";+ return i && (t += (t && " ") + "rotate(" + hm(i, ap.pathRotation) + ")"), t || "none";}//#endregion//#region node_modules/motion-dom/dist/es/effects/style/index.mjs-var Zh = /* @__PURE__ */ new Set([+var Qh = /* @__PURE__ */ new Set(["originX","originY","originZ"-]), Qh = (e, t) => mm(e.get(t)?.get(), ap[t]), $h = (e, t, n, r) => {+]), $h = (e, t) => hm(e.get(t)?.get(), op[t]), eg = (e, t, n, r) => {let i, a;- if (wp.has(n)) {+ if (Tp.has(n)) {if (n !== "pathRotation") {let e = t.transformKeys ??= [];- (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => Cp.indexOf(e) - Cp.indexOf(t)));+ (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => wp.indexOf(e) - wp.indexOf(t)));}- t.get("transform") || (!Wh(e) && !t.get("transformBox") && $h(e, t, "transformBox", new Gm("fill-box")), t.set("transform", new Gm("none"), () => {- vm.get(e)?.check(), e.style.transform = Xh(t);+ t.get("transform") || (!Gh(e) && !t.get("transformBox") && eg(e, t, "transformBox", new Km("fill-box")), t.set("transform", new Km("none"), () => {+ ym.get(e)?.check(), e.style.transform = Zh(t);})), a = t.get("transform");- } else Zh.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new Gm(""), () => {- let n = Qh(t, "originX") ?? "50%", r = Qh(t, "originY") ?? "50%", i = Qh(t, "originZ") ?? 0;+ } else Qh.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new Km(""), () => {+ let n = $h(t, "originX") ?? "50%", r = $h(t, "originY") ?? "50%", i = $h(t, "originZ") ?? 0;e.style.transformOrigin = `${n} ${r} ${i}`;- }), a = t.get("transformOrigin")) : i = Vp(n) ? () => {+ }), a = t.get("transformOrigin")) : i = Hp(n) ? () => {e.style.setProperty(n, r.getCurrent());} : () => {- e.style[n] = mm(r.getCurrent(), ap[n]);+ e.style[n] = hm(r.getCurrent(), op[n]);};return t.set(n, r, i, a);-}, eg = (e) => Wh(e) || Gh(e), tg = (e, t) => {- if (wp.has(t)) return xp(e, t);- let n = getComputedStyle(e), r = Vp(t) ? n.getPropertyValue(t) : n[t];+}, tg = (e) => Gh(e) || Kh(e), ng = (e, t) => {+ if (Tp.has(t)) return Sp(e, t);+ let n = getComputedStyle(e), r = Hp(t) ? n.getPropertyValue(t) : n[t];return typeof r == "string" && r.trim() || 0;-}, ng = /*@__PURE__*/ Jh($h, {- test: eg,- read: tg+}, rg = /*@__PURE__*/ Yh(eg, {+ test: tg,+ read: ng});//#endregion//#region node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs-function rg(e, t, n) {+function ig(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 (wp.has(e)) o = !0;+ if (Tp.has(e)) o = !0;else if (Ku(e)) i[e] = n;else {- let t = mm(n, ap[e]);+ let t = hm(n, op[e]);e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;}}- if (t.transform || (o || n ? r.transform = _m(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}`;}@@ -16777,7 +16780,7 @@ function nee(e, t, n = 1, r = 0, i = !0) {}//#endregion//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs-var ig = [+var ag = ["transform","opacity","clipPath",@@ -16787,14 +16790,14 @@ var ig = ["offsetRotate","offsetAnchor"];-function ag(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {- if (rg(e, s, l), c) {+function og(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {+ if (ig(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 ig) d[e] !== void 0 && (f[e] = d[e], delete d[e]);+ for (let e of ag) 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 && nee(d, i, a, o, !1);}//#endregion@@ -16804,13 +16807,13 @@ function ree(e, t) {let n = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), t) || Object.getOwnPropertyDescriptor(e, t);return n && typeof n.set == "function";}-var og = (e, t, n, r, i = n) => {+var sg = (e, t, n, r, i = n) => {let a = ree(e, i);- !a && (i.startsWith("data") || i.startsWith("aria")) && (i = vh(i));- let o = ap[n] || ap[i], s = a ? () => {- e[i] = mm(r.get(), ap[n]);+ !a && (i.startsWith("data") || i.startsWith("aria")) && (i = yh(i));+ let o = op[n] || op[i], s = a ? () => {+ e[i] = hm(r.get(), op[n]);} : () => {- let t = mm(r.get(), o);+ let t = hm(r.get(), o);t == null ? e.removeAttribute(i) : e.setAttribute(i, String(t));};return t.set(n, r, s);@@ -16818,24 +16821,24 @@ var og = (e, t, n, r, i = n) => {//#endregion//#region node_modules/motion-dom/dist/es/effects/svg/index.mjsfunction iee(e, t, n, r) {- return cf.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {+ return lf.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 Gm("1 1"), () => {+ }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new Km("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 aee = /*@__PURE__*/ Jh((e, t, n, r) => n.startsWith("path") ? iee(e, t, n, r) : n.startsWith("attr") ? og(e, t, n, r, sg(n)) : (wp.has(n) || Zh.has(n) || Vp(n) || n in e.style ? $h : og)(e, t, n, r), {- test: Gh,- read: (e, t) => wp.has(t) ? ap[t]?.default || 0 : Vp(t) || ig.includes(t) ? tg(e, t) || e.getAttribute(vh(t)) || 0 : (t = sg(t), e.getAttribute(vh(t)) ?? e.getAttribute(t) ?? void 0)+var aee = /*@__PURE__*/ Yh((e, t, n, r) => n.startsWith("path") ? iee(e, t, n, r) : n.startsWith("attr") ? sg(e, t, n, r, cg(n)) : (Tp.has(n) || Qh.has(n) || Hp(n) || n in e.style ? eg : sg)(e, t, n, r), {+ test: Kh,+ read: (e, t) => Tp.has(t) ? op[t]?.default || 0 : Hp(t) || ag.includes(t) ? ng(e, t) || e.getAttribute(yh(t)) || 0 : (t = cg(t), e.getAttribute(yh(t)) ?? e.getAttribute(t) ?? void 0)});-function sg(e) {+function cg(e) {return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs-function cg({ top: e, left: t, right: n, bottom: r }) {+function lg({ top: e, left: t, right: n, bottom: r }) {return {x: {min: t,@@ -16873,37 +16876,37 @@ function see(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs-function lg(e) {+function ug(e) {return e === void 0 || e === 1;}-function ug({ scale: e, scaleX: t, scaleY: n }) {- return !lg(e) || !lg(t) || !lg(n);-}-function dg(e) {- return ug(e) || fg(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;+function dg({ scale: e, scaleX: t, scaleY: n }) {+ return !ug(e) || !ug(t) || !ug(n);}function fg(e) {- return pg(e.x) || pg(e.y);+ return dg(e) || pg(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;}function pg(e) {+ return mg(e.x) || mg(e.y);+}+function mg(e) {return e && e !== "0%";}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs-function mg(e, t, n) {+function hg(e, t, n) {return n + t * (e - n);}-function hg(e, t, n, r, i) {- return i !== void 0 && (e = mg(e, i, r)), mg(e, n, r) + t;+function gg(e, t, n, r, i) {+ return i !== void 0 && (e = hg(e, i, r)), hg(e, n, r) + t;}-function gg(e, t = 0, n = 1, r, i) {- e.min = hg(e.min, t, n, r, i), e.max = hg(e.max, t, n, r, i);+function _g(e, t = 0, n = 1, r, i) {+ e.min = gg(e.min, t, n, r, i), e.max = gg(e.max, t, n, r, i);}-function _g(e, { x: t, y: n }) {- gg(e.x, t.translate, t.scale, t.originPoint), gg(e.y, n.translate, n.scale, n.originPoint);+function vg(e, { x: t, y: n }) {+ _g(e.x, t.translate, t.scale, t.originPoint), _g(e.y, n.translate, n.scale, n.originPoint);}-var vg = .999999999999, yg = 1.0000000000001;-function bg(e, t, n, r = !1) {+var yg = .999999999999, bg = 1.0000000000001;+function cee(e, t, n, r = !1) {let i = n.length;if (!i) return;t.x = t.y = 1;@@ -16911,15 +16914,15 @@ function bg(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 && (xg(e.x, -a.scroll.offset.x), xg(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, _g(e, o)), r && dg(a.latestValues) && wg(e, a.latestValues, a.layout?.layoutBox));+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (xg(e.x, -a.scroll.offset.x), xg(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, vg(e, o)), r && fg(a.latestValues) && wg(e, a.latestValues, a.layout?.layoutBox));}- t.x < yg && t.x > vg && (t.x = 1), t.y < yg && t.y > vg && (t.y = 1);+ t.x < bg && t.x > yg && (t.x = 1), t.y < bg && t.y > yg && (t.y = 1);}function xg(e, t) {e.min += t, e.max += t;}function Sg(e, t, n, r, i = .5) {- gg(e, t, n, Bd(e.min, e.max, i), r);+ _g(e, t, n, Vd(e.min, e.max, i), r);}function Cg(e, t) {return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;@@ -16931,17 +16934,17 @@ function wg(e, t, n) {//#endregion//#region node_modules/motion-dom/dist/es/projection/utils/measure.mjsfunction Tg(e, t) {- return cg(see(e.getBoundingClientRect(), t));+ return lg(see(e.getBoundingClientRect(), t));}-function Eg(e, t, n) {+function lee(e, t, n) {let r = Tg(e, n), { scroll: i } = t;return i && (xg(r.x, i.offset.x), xg(r.y, i.offset.y)), r;}//#endregion//#region node_modules/motion-dom/dist/es/animation/animate/element.mjs-var Dg = {}, Og = (e) => Gh(e) ? aee : ng, kg = class {+var uee = {}, dee = (e) => Kh(e) ? aee : rg, Eg = class {constructor(e, t) {- this.effect = e, this.current = t, this.KeyframeResolver = Nh;+ this.effect = e, this.current = t, this.KeyframeResolver = Ph;}getValue(e) {return this.effect.get(this.current, e);@@ -16956,17 +16959,17 @@ var Dg = {}, Og = (e) => Gh(e) ? aee : ng, kg = class {return Tg(this.current);}getProps() {- return Dg;+ return uee;}};-function Ag(e, t, n, r) {- if (r) return Vh((e) => r.getValue(e, null), t, n, r);- let i = Og(e);- return Hh(i, e, t, n, new kg(i, e));+function Dg(e, t, n, r) {+ if (r) return Hh((e) => r.getValue(e, null), t, n, r);+ let i = dee(e);+ return Uh(i, e, t, n, new Eg(i, e));}//#endregion//#region node_modules/motion-dom/dist/es/effects/prop/index.mjs-var jg = /*@__PURE__*/ Jh((e, t, n, r) => t.set(n, r, () => {+var Og = /*@__PURE__*/ Yh((e, t, n, r) => t.set(n, r, () => {e[n] = r.get();}), {test: (e) => lu(e),@@ -16974,26 +16977,26 @@ var jg = /*@__PURE__*/ Jh((e, t, n, r) => t.set(n, r, () => {let n = e[t];return typeof n == "string" || typeof n == "number" ? n : void 0;}-}), { schedule: Mg, cancel: cee } = /* @__PURE__ */ sf(queueMicrotask, !1), Ng = {+}), { schedule: kg, cancel: fee } = /* @__PURE__ */ cf(queueMicrotask, !1), Ag = {x: !1,y: !1};-function Pg() {- return Ng.x || Ng.y;+function jg() {+ return Ag.x || Ag.y;}//#endregion//#region node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs-function lee(e) {- return e === "x" || e === "y" ? Ng[e] ? null : (Ng[e] = !0, () => {- Ng[e] = !1;- }) : Ng.x || Ng.y ? null : (Ng.x = Ng.y = !0, () => {- Ng.x = Ng.y = !1;+function pee(e) {+ return e === "x" || e === "y" ? Ag[e] ? null : (Ag[e] = !0, () => {+ Ag[e] = !1;+ }) : Ag.x || Ag.y ? null : (Ag.x = Ag.y = !0, () => {+ Ag.x = Ag.y = !1;});}//#endregion//#region node_modules/motion-dom/dist/es/gestures/utils/setup.mjs-function Fg(e, t) {- let n = Kh(e), r = new AbortController();+function Mg(e, t) {+ let n = qh(e), r = new AbortController();return [n,{@@ -17006,11 +17009,11 @@ function Fg(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/gestures/hover.mjs-function uee(e) {- return !(e.pointerType === "touch" || Pg());+function mee(e) {+ return !(e.pointerType === "touch" || jg());}-function dee(e, t, n = {}) {- let [r, i, a] = Fg(e, n);+function hee(e, t, n = {}) {+ let [r, i, a] = Mg(e, n);return r.forEach((e) => {let n = !1, r = !1, a, o = () => {e.removeEventListener("pointerleave", u);@@ -17024,7 +17027,7 @@ function dee(e, t, n = {}) {e.pointerType !== "touch" && (n ? r = !0 : s(e));};e.addEventListener("pointerenter", (n) => {- if (!uee(n)) return;+ if (!mee(n)) return;r = !1;let o = t(e, n);typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));@@ -17033,125 +17036,125 @@ function dee(e, t, n = {}) {}//#endregion//#region node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs-var Ig = (e, t) => t ? e === t || Ig(e, t.parentElement) : !1, Lg = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, fee = /* @__PURE__ */ new Set([+var Ng = (e, t) => t ? e === t || Ng(e, t.parentElement) : !1, Pg = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, gee = /* @__PURE__ */ new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);-function pee(e) {- return fee.has(e.tagName) || e.isContentEditable === !0;+function _ee(e) {+ return gee.has(e.tagName) || e.isContentEditable === !0;}-var mee = /* @__PURE__ */ new Set([+var vee = /* @__PURE__ */ new Set(["INPUT","SELECT","TEXTAREA"]);-function hee(e) {- return mee.has(e.tagName) || e.isContentEditable === !0;+function yee(e) {+ return vee.has(e.tagName) || e.isContentEditable === !0;}//#endregion//#region node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs-var Rg = /* @__PURE__ */ new WeakSet();+var Fg = /* @__PURE__ */ new WeakSet();//#endregion//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs-function zg(e) {+function Ig(e) {return (t) => {t.key === "Enter" && e(t);};}-function Bg(e, t) {+function Lg(e, t) {e.dispatchEvent(new PointerEvent("pointer" + t, {isPrimary: !0,bubbles: !0}));}-var gee = (e, t) => {+var bee = (e, t) => {let n = e.currentTarget;if (!n) return;- let r = zg(() => {- if (Rg.has(n)) return;- Bg(n, "down");- let e = zg(() => {- Bg(n, "up");+ let r = Ig(() => {+ if (Fg.has(n)) return;+ Lg(n, "down");+ let e = Ig(() => {+ Lg(n, "up");});- n.addEventListener("keyup", e, t), n.addEventListener("blur", () => Bg(n, "cancel"), t);+ n.addEventListener("keyup", e, t), n.addEventListener("blur", () => Lg(n, "cancel"), t);});n.addEventListener("keydown", r, t), n.addEventListener("blur", () => n.removeEventListener("keydown", r), t);};//#endregion//#region node_modules/motion-dom/dist/es/gestures/press/index.mjs-function Vg(e) {- return Lg(e) && !Pg();+function Rg(e) {+ return Pg(e) && !jg();}-var Hg = /* @__PURE__ */ new WeakSet();-function _ee(e, t, n = {}) {- let [r, i, a] = Fg(e, n), o = (e) => {+var zg = /* @__PURE__ */ new WeakSet();+function xee(e, t, n = {}) {+ let [r, i, a] = Mg(e, n), o = (e) => {let r = e.currentTarget;- if (!Vg(e) || Hg.has(e)) return;- Rg.add(r), n.stopPropagation && Hg.add(e);+ if (!Rg(e) || zg.has(e)) return;+ Fg.add(r), n.stopPropagation && zg.add(e);let a = t(r, e), o = {...i,capture: !0}, s = (e, t) => {- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Rg.has(r) && Rg.delete(r), Vg(e) && typeof a == "function" && a(e, { success: t });+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Fg.has(r) && Fg.delete(r), Rg(e) && typeof a == "function" && a(e, { success: t });}, c = (e) => {- s(e, r === window || r === document || n.useGlobalTarget || Ig(r, e.target));+ s(e, r === window || r === document || n.useGlobalTarget || Ng(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), Wh(e) && (e.addEventListener("focus", (e) => gee(e, i)), !pee(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Gh(e) && (e.addEventListener("focus", (e) => bee(e, i)), !_ee(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));}), a;}//#endregion//#region node_modules/motion-dom/dist/es/render/dom/style-computed.mjs-function Ug(e, t) {+function Bg(e, t) {let n = window.getComputedStyle(e);- return Vp(t) ? n.getPropertyValue(t) : n[t];+ return Hp(t) ? n.getPropertyValue(t) : n[t];}//#endregion//#region node_modules/motion-dom/dist/es/resize/handle-element.mjs-var Wg = /* @__PURE__ */ new WeakMap(), Gg, Kg = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Gh(r) && "getBBox" in r ? r.getBBox()[t] : r[n], vee = /*@__PURE__*/ Kg("inline", "width", "offsetWidth"), yee = /*@__PURE__*/ Kg("block", "height", "offsetHeight");-function bee({ target: e, borderBoxSize: t }) {- Wg.get(e)?.forEach((n) => {+var Vg = /* @__PURE__ */ new WeakMap(), Hg, Ug = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Kh(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Wg = /*@__PURE__*/ Ug("inline", "width", "offsetWidth"), See = /*@__PURE__*/ Ug("block", "height", "offsetHeight");+function Cee({ target: e, borderBoxSize: t }) {+ Vg.get(e)?.forEach((n) => {n(e, {get width() {- return vee(e, t);+ return Wg(e, t);},get height() {- return yee(e, t);+ return See(e, t);}});});}-function xee(e) {- e.forEach(bee);+function wee(e) {+ e.forEach(Cee);}-function See() {- typeof ResizeObserver < "u" && (Gg = new ResizeObserver(xee));+function Tee() {+ typeof ResizeObserver < "u" && (Hg = new ResizeObserver(wee));}-function Cee(e, t) {- Gg || See();- let n = Kh(e);+function Eee(e, t) {+ Hg || Tee();+ let n = qh(e);return n.forEach((e) => {- let n = Wg.get(e);- n || (n = /* @__PURE__ */ new Set(), Wg.set(e, n)), n.add(t), Gg?.observe(e);+ let n = Vg.get(e);+ n || (n = /* @__PURE__ */ new Set(), Vg.set(e, n)), n.add(t), Hg?.observe(e);}), () => {n.forEach((e) => {- let n = Wg.get(e);- n?.delete(t), n?.size || Gg?.unobserve(e);+ let n = Vg.get(e);+ n?.delete(t), n?.size || Hg?.unobserve(e);});};}//#endregion//#region node_modules/motion-dom/dist/es/resize/handle-window.mjs-var qg = /* @__PURE__ */ new Set(), Jg;-function wee() {- Jg = () => {+var Gg = /* @__PURE__ */ new Set(), Kg;+function Dee() {+ Kg = () => {let e = {get width() {return window.innerWidth;@@ -17160,60 +17163,60 @@ function wee() {return window.innerHeight;}};- qg.forEach((t) => t(e));- }, window.addEventListener("resize", Jg);+ Gg.forEach((t) => t(e));+ }, window.addEventListener("resize", Kg);}-function Tee(e) {- return qg.add(e), Jg || wee(), () => {- qg.delete(e), !qg.size && typeof Jg == "function" && (window.removeEventListener("resize", Jg), Jg = void 0);+function Oee(e) {+ return Gg.add(e), Kg || Dee(), () => {+ Gg.delete(e), !Gg.size && typeof Kg == "function" && (window.removeEventListener("resize", Kg), Kg = void 0);};}//#endregion//#region node_modules/motion-dom/dist/es/resize/index.mjs-function Yg(e, t) {- return typeof e == "function" ? Tee(e) : Cee(e, t);+function qg(e, t) {+ return typeof e == "function" ? Oee(e) : Eee(e, t);}//#endregion//#region node_modules/motion-dom/dist/es/stats/buffer.mjs-var Xg = {+var Jg = {value: null,addProjectionMetrics: null};//#endregion//#region node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs-function Eee(e) {- return Gh(e) && e.tagName === "svg";+function kee(e) {+ return Kh(e) && e.tagName === "svg";}//#endregion//#region node_modules/motion-dom/dist/es/value/utils/as-number.mjs-var Zg = (e) => typeof e == "number" ? e : parseFloat(e), Qg = () => ({+var Yg = (e) => typeof e == "number" ? e : parseFloat(e), Xg = () => ({translate: 0,scale: 1,origin: 0,originPoint: 0+}), Zg = () => ({+ x: Xg(),+ y: Xg()+}), Qg = () => ({+ min: 0,+ max: 0}), $g = () => ({x: Qg(),y: Qg()-}), e_ = () => ({- min: 0,- max: 0-}), t_ = () => ({- x: e_(),- y: e_()-}), n_ = /* @__PURE__ */ new WeakMap();+}), e_ = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs-function r_(e) {+function t_(e) {return typeof e == "object" && !!e && typeof e.start == "function";}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs-function i_(e) {+function n_(e) {return typeof e == "string" || Array.isArray(e);}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/variant-props.mjs-var a_ = [+var r_ = ["animate","whileInView","whileFocus",@@ -17221,31 +17224,31 @@ var a_ = ["whileTap","whileDrag","exit"-], o_ = ["initial", ...a_];+], i_ = ["initial", ...r_];//#endregion//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs-function s_(e) {- if (r_(e.animate)) return !0;- for (let t = 0; t < o_.length; t++) if (i_(e[o_[t]])) return !0;+function a_(e) {+ if (t_(e.animate)) return !0;+ for (let t = 0; t < i_.length; t++) if (n_(e[i_[t]])) return !0;return !1;}-function c_(e) {- return !!(s_(e) || e.variants);+function o_(e) {+ return !!(a_(e) || e.variants);}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs-function Dee(e, t, n) {+function Aee(e, t, n) {for (let r in t) {let i = t[r], a = n[r];- if (hh(i)) e.addValue(r, i);- else if (hh(a)) e.addValue(r, Km(i, { owner: e }));+ if (gh(i)) e.addValue(r, i);+ else if (gh(a)) e.addValue(r, qm(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, Km(t === void 0 ? i : t, { owner: e }));+ e.addValue(r, qm(t === void 0 ? i : t, { owner: e }));}}}@@ -17254,18 +17257,18 @@ function Dee(e, t, n) {}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs-var l_ = { current: null }, u_ = { current: !1 }, Oee = typeof window < "u";-function d_() {- if (u_.current = !0, Oee) {+var s_ = { current: null }, c_ = { current: !1 }, jee = typeof window < "u";+function l_() {+ if (c_.current = !0, jee) {if (window.matchMedia) {- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => l_.current = e.matches;+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => s_.current = e.matches;e.addEventListener("change", t), t();- } else l_.current = !1;+ } else s_.current = !1;}}//#endregion//#region node_modules/motion-dom/dist/es/render/VisualElement.mjs-var f_ = [+var u_ = ["AnimationStart","AnimationComplete","Update",@@ -17273,35 +17276,35 @@ var f_ = ["LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"-], p_ = {};-function m_(e) {- p_ = e;+], d_ = {};+function f_(e) {+ d_ = e;}-function kee() {- return p_;+function Mee() {+ return d_;}-var Aee = class {+var Nee = 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 = Bp, 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 = Vp, 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 = Uu.now();- this.renderScheduledAt < e && (this.renderScheduledAt = e, cf.render(this.render, !1, !0));+ this.renderScheduledAt < e && (this.renderScheduledAt = e, lf.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 = s_(t), this.isVariantNode = c_(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 = a_(t), this.isVariantNode = o_(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 && hh(t) && t.set(c[e]);+ c[e] !== void 0 && gh(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, n_.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.isVariantNode && !this.isControllingVariants) {+ if (this.current = e, e_.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;@@ -17311,10 +17314,10 @@ var Aee = 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 : (u_.current || d_(), this.shouldReduceMotion = l_.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 : (c_.current || l_(), this.shouldReduceMotion = s_.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(), lf(this.notifyUpdate), lf(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);+ this.projection && this.projection.unmount(), uf(this.notifyUpdate), uf(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];@@ -17329,8 +17332,8 @@ var Aee = 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 && cm.has(e) && this.current instanceof HTMLElement) {- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new $p({+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && lm.has(e) && this.current instanceof HTMLElement) {+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new em({element: this.current,name: e,keyframes: r,@@ -17343,10 +17346,10 @@ var Aee = class {});return;}- let n = wp.has(e);+ let n = Tp.has(e);n && this.onBindTransform && this.onBindTransform();let r = t.on("change", (t) => {- this.latestValues[e] = t, this.props.onUpdate && cf.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), vm.get(this.current)?.check()), this.scheduleRender();+ this.latestValues[e] = t, this.props.onUpdate && lf.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), ym.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();@@ -17357,8 +17360,8 @@ var Aee = class {}updateFeatures() {let e = "animation";- for (e in p_) {- let t = p_[e];+ for (e in d_) {+ let t = d_[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]) {@@ -17371,7 +17374,7 @@ var Aee = class {this.build(this.renderState, this.latestValues, this.props);}measureViewportBox() {- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : t_();+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : $g();}getStaticValue(e) {return this.latestValues[e];@@ -17381,14 +17384,14 @@ var Aee = 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 < f_.length; t++) {- let n = f_[t];+ (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && ym.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;+ for (let t = 0; t < u_.length; t++) {+ let n = u_[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 = Dee(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();+ this.prevMotionValues = Aee(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();}getProps() {return this.props;@@ -17421,11 +17424,11 @@ var Aee = 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 = Km(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n;+ return n === void 0 && t !== void 0 && (n = qm(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" && (cu(n) || uu(n)) ? n = parseFloat(n) : typeof n != "number" && !Id.test(n) && Id.test(t) && (n = lp(e, t)), this.setBaseTarget(e, hh(n) ? n.get() : n)), hh(n) ? n.get() : n;+ return n != null && (typeof n == "string" && (cu(n) || uu(n)) ? n = parseFloat(n) : typeof n != "number" && !Ld.test(n) && Ld.test(t) && (n = up(e, t)), this.setBaseTarget(e, gh(n) ? n.get() : n)), gh(n) ? n.get() : n;}setBaseTarget(e, t) {this.baseTarget[e] = t;@@ -17437,11 +17440,11 @@ var Aee = class {this.events[e] && this.events[e].notify(...t);}scheduleRenderMicrotask() {- Mg.render(this.render);+ kg.render(this.render);}-}, h_ = class extends Aee {+}, p_ = class extends Nee {constructor() {- super(...arguments), this.KeyframeResolver = Nh;+ super(...arguments), this.KeyframeResolver = Ph;}sortInstanceNodePosition(e, t) {return e.compareDocumentPosition(t) & 2 ? 1 : -1;@@ -17456,11 +17459,11 @@ var Aee = class {handleChildMotionValue() {this.childSubscription && (this.childSubscription(), delete this.childSubscription);let { children: e } = this.props;- hh(e) && (this.childSubscription = e.on("change", (e) => {+ gh(e) && (this.childSubscription = e.on("change", (e) => {this.current && (this.current.textContent = `${e}`);}));}-}, g_ = class {+}, m_ = class {constructor(e) {this.isMounted = !1, this.node = e;}@@ -17468,43 +17471,43 @@ var Aee = class {};//#endregion//#region node_modules/motion-dom/dist/es/render/html/utils/render.mjs-function __(e, { style: t, vars: n }, r, i) {+function h_(e, { style: t, vars: n }, r, i) {let a = e.style, o;for (o in t) a[o] = t[o];for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);}//#endregion//#region node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs-var v_ = {};+var g_ = {};//#endregion//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs-function y_(e, { layout: t, layoutId: n }) {- return wp.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!v_[e] || e === "opacity");+function __(e, { layout: t, layoutId: n }) {+ return Tp.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!g_[e] || e === "opacity");}//#endregion//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs-function b_(e, t, n) {+function v_(e, t, n) {let r = e.style, i = t?.style, a = {};if (!r) return a;- for (let t in r) (hh(r[t]) || i && hh(i[t]) || y_(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);+ for (let t in r) (gh(r[t]) || i && gh(i[t]) || __(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);return a;}//#endregion//#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs-function jee(e) {+function Pee(e) {return window.getComputedStyle(e);}-var Mee = class extends h_ {+var Fee = class extends p_ {constructor() {- super(...arguments), this.type = "html", this.renderInstance = __;+ super(...arguments), this.type = "html", this.renderInstance = h_;}mount(e) {e.style, super.mount(e);}readValueFromInstance(e, t) {- if (wp.has(t)) return this.projection?.isProjecting ? yp(t) : xp(e, t);+ if (Tp.has(t)) return this.projection?.isProjecting ? bp(t) : Sp(e, t);{- let n = jee(e), r = (Ku(t) ? n.getPropertyValue(t) : n[t]) || 0;+ let n = Pee(e), r = (Ku(t) ? n.getPropertyValue(t) : n[t]) || 0;return typeof r == "string" ? r.trim() : r;}}@@ -17512,12 +17515,12 @@ var Mee = class extends h_ {return Tg(e, t);}build(e, t, n) {- rg(e, t, n.transformTemplate);+ ig(e, t, n.transformTemplate);}scrapeMotionValuesFromProps(e, t, n) {- return b_(e, t, n);+ return v_(e, t, n);}-}, x_ = /* @__PURE__ */ new Set([+}, y_ = /* @__PURE__ */ new Set(["baseFrequency","diffuseConstant","kernelMatrix",@@ -17541,62 +17544,62 @@ var Mee = class extends h_ {"startOffset","textLength","lengthAdjust"-]), S_ = (e) => typeof e == "string" && e.toLowerCase() === "svg";+]), b_ = (e) => typeof e == "string" && e.toLowerCase() === "svg";//#endregion//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs-function Nee(e, t, n, r) {- __(e, t, void 0, r);- for (let n in t.attrs) e.setAttribute(x_.has(n) ? n : vh(n), t.attrs[n]);+function Iee(e, t, n, r) {+ h_(e, t, void 0, r);+ for (let n in t.attrs) e.setAttribute(y_.has(n) ? n : yh(n), t.attrs[n]);}//#endregion//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs-function C_(e, t, n) {- let r = b_(e, t, n);- for (let n in e) if (n !== "children" && (hh(e[n]) || hh(t[n]))) {- let t = Cp.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);+function x_(e, t, n) {+ let r = v_(e, t, n);+ for (let n in e) if (n !== "children" && (gh(e[n]) || gh(t[n]))) {+ let t = wp.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);r[t] = e[n];}return r;}//#endregion//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs-var Pee = class extends h_ {+var Lee = class extends p_ {constructor() {- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = t_;+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = $g;}getBaseTargetFromProps(e, t) {- return wp.has(t) ? super.getBaseTargetFromProps(e, t) ?? yp(t) : e[t];+ return Tp.has(t) ? super.getBaseTargetFromProps(e, t) ?? bp(t) : e[t];}getDefaultValue(e) {- return wp.has(e) ? this.latestValues[e] ?? yp(e) : void 0;+ return Tp.has(e) ? this.latestValues[e] ?? bp(e) : void 0;}readValueFromInstance(e, t) {- if (wp.has(t)) {- let e = sp(t);+ if (Tp.has(t)) {+ let e = cp(t);return e && e.default || 0;}- if (ig.includes(t)) {+ if (ag.includes(t)) {let n = getComputedStyle(e)[t];if (typeof n == "string" && n) return n.trim();}- return t = x_.has(t) ? t : vh(t), e.getAttribute(t);+ return t = y_.has(t) ? t : yh(t), e.getAttribute(t);}scrapeMotionValuesFromProps(e, t, n) {- return C_(e, t, n);+ return x_(e, t, n);}build(e, t, n) {- ag(e, t, this.isSVGTag, n.transformTemplate, n.style);+ og(e, t, this.isSVGTag, n.transformTemplate, n.style);}renderInstance(e, t, n, r) {- Nee(e, t, n, r);+ Iee(e, t, n, r);}mount(e) {- this.isSVGTag = S_(e.tagName), super.mount(e);+ this.isSVGTag = b_(e.tagName), super.mount(e);}};//#endregion//#region node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs-function w_(e, t) {+function S_(e, t) {if (!Array.isArray(t)) return !1;let n = t.length;if (n !== e.length) return !1;@@ -17605,19 +17608,19 @@ function w_(e, t) {}//#endregion//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs-var Fee = [...a_].reverse();-function Iee(e) {- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Th(e, t, n))), n = T_(), r = !0, i = !1;+var Ree = [...r_].reverse();+function zee(e) {+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Eh(e, t, n))), n = C_(), 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 (Fee.forEach((t, r) => {- let i = n[t], h = o[t], g = m && m.props[t], _ = h === void 0 ? i_(g) || g === !1 ? g : void 0 : h, v = i_(_), y = t === a ? i.isActive : null;+ if (Ree.forEach((t, r) => {+ let i = n[t], h = o[t], g = m && m.props[t], _ = h === void 0 ? n_(g) || g === !1 ? g : void 0 : h, v = n_(_), 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 || r_(_) || typeof _ == "boolean") return;+ if (i.protectedKeys = { ...f }, !i.isActive && y === null || !_ && !i.prevProp || t_(_) || typeof _ == "boolean") return;if (t === "exit" && i.isActive && y !== !0) {f = {...f,@@ -17625,9 +17628,9 @@ function Iee(e) {};return;}- let x = Lee(i.prevProp, _), S = x || v && (y && !b || r > p), C = !1, w = Array.isArray(_) ? _ : [_], T = {};+ let x = Bee(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 } = ch(e, n, lh(e, t)) || {};+ let { transition: r, transitionEnd: i, ...a } = lh(e, n, uh(e, t)) || {};T = {...T,...a,@@ -17640,7 +17643,7 @@ function Iee(e) {...T}) {if (t in f) continue;- let n = T[t], r = E[t], a = Array.isArray(n) && Array.isArray(r) ? !w_(n, r) || x : n !== r;+ let n = T[t], r = E[t], a = Array.isArray(n) && Array.isArray(r) ? !S_(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;@@ -17654,8 +17657,8 @@ function Iee(e) {}), S && (!(b && x) || C)) for (let n of w) {let r = { type: t };if (typeof n == "string" && l && c && s?.enteringChildren) {- let t = ch(s, n)?.transition?.delayChildren;- r.delay = Vm(s.enteringChildren, e, t);+ let t = lh(s, n)?.transition?.delayChildren;+ r.delay = Hm(s.enteringChildren, e, t);}u.push({animation: n,@@ -17663,12 +17666,12 @@ function Iee(e) {});}}), d.size) {- let { initial: t } = o, n = {}, r = typeof t != "boolean" && ch(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom);+ let { initial: t } = o, n = {}, r = typeof t != "boolean" && lh(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 && !hh(c) ? c : e.initialValues[i] === void 0 ? e.baseTarget[i] : void 0 : s) ?? null;+ n[i] = (s === void 0 ? c !== void 0 && !gh(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);@@ -17689,16 +17692,16 @@ function Iee(e) {},getState: () => n,reset: () => {- n = T_(), i = !0;+ n = C_(), i = !0;}};}-function Lee(e, t) {- return typeof t == "string" ? t !== e : Array.isArray(t) ? !w_(t, e) : !1;+function Bee(e, t) {+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !S_(t, e) : !1;}-function T_() {+function C_() {let e = {};- for (let t of a_) e[t] = {+ for (let t of r_) e[t] = {isActive: t === "animate",protectedKeys: {},needsAnimating: {},@@ -17708,122 +17711,122 @@ function T_() {}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/copy.mjs-function E_(e, t) {+function w_(e, t) {e.min = t.min, e.max = t.max;}-function D_(e, t) {- E_(e.x, t.x), E_(e.y, t.y);+function T_(e, t) {+ w_(e.x, t.x), w_(e.y, t.y);}-function O_(e, t) {+function E_(e, t) {e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs-var Ree = .9999, zee = 1.0001, k_ = -.01, A_ = .01;-function j_(e) {+var Vee = .9999, Hee = 1.0001, Uee = -.01, Wee = .01;+function D_(e) {return e.max - e.min;}-function M_(e, t, n) {+function Gee(e, t, n) {return Math.abs(e - t) <= n;}-function N_(e, t, n, r = .5) {- e.origin = r, e.originPoint = Bd(t.min, t.max, e.origin), e.scale = j_(n) / j_(t), e.translate = Bd(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Ree && e.scale <= zee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= k_ && e.translate <= A_ || isNaN(e.translate)) && (e.translate = 0);+function O_(e, t, n, r = .5) {+ e.origin = r, e.originPoint = Vd(t.min, t.max, e.origin), e.scale = D_(n) / D_(t), e.translate = Vd(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Vee && e.scale <= Hee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Uee && e.translate <= Wee || isNaN(e.translate)) && (e.translate = 0);}-function P_(e, t, n, r) {- N_(e.x, t.x, n.x, r ? r.originX : void 0), N_(e.y, t.y, n.y, r ? r.originY : void 0);+function k_(e, t, n, r) {+ O_(e.x, t.x, n.x, r ? r.originX : void 0), O_(e.y, t.y, n.y, r ? r.originY : void 0);}-function F_(e, t, n, r = 0) {- e.min = (r ? Bd(n.min, n.max, r) : n.min) + t.min, e.max = e.min + j_(t);+function A_(e, t, n, r = 0) {+ e.min = (r ? Vd(n.min, n.max, r) : n.min) + t.min, e.max = e.min + D_(t);}-function I_(e, t, n, r) {- F_(e.x, t.x, n.x, r?.x), F_(e.y, t.y, n.y, r?.y);+function Kee(e, t, n, r) {+ A_(e.x, t.x, n.x, r?.x), A_(e.y, t.y, n.y, r?.y);}-function L_(e, t, n, r = 0) {- let i = r ? Bd(n.min, n.max, r) : n.min;- e.min = t.min - i, e.max = e.min + j_(t);+function j_(e, t, n, r = 0) {+ let i = r ? Vd(n.min, n.max, r) : n.min;+ e.min = t.min - i, e.max = e.min + D_(t);}-function R_(e, t, n, r) {- L_(e.x, t.x, n.x, r?.x), L_(e.y, t.y, n.y, r?.y);+function M_(e, t, n, r) {+ j_(e.x, t.x, n.x, r?.x), j_(e.y, t.y, n.y, r?.y);}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs-function z_(e, t, n, r, i) {- return e -= t, e = mg(e, 1 / n, r), i !== void 0 && (e = mg(e, 1 / i, r)), e;+function N_(e, t, n, r, i) {+ return e -= t, e = hg(e, 1 / n, r), i !== void 0 && (e = hg(e, 1 / i, r)), e;}-function B_(e, t = 0, n = 1, r = .5, i, a = e, o = e) {- if (fd.test(t) && (t = parseFloat(t), t = Bd(o.min, o.max, t / 100) - o.min), typeof t != "number") return;- let s = Bd(a.min, a.max, r);- e === a && (s -= t), e.min = z_(e.min, t, n, s, i), e.max = z_(e.max, t, n, s, i);+function qee(e, t = 0, n = 1, r = .5, i, a = e, o = e) {+ if (fd.test(t) && (t = parseFloat(t), t = Vd(o.min, o.max, t / 100) - o.min), typeof t != "number") return;+ let s = Vd(a.min, a.max, r);+ e === a && (s -= t), e.min = N_(e.min, t, n, s, i), e.max = N_(e.max, t, n, s, i);}-function V_(e, t, [n, r, i], a, o) {- B_(e, t[n], t[r], t[i], t.scale, a, o);+function P_(e, t, [n, r, i], a, o) {+ qee(e, t[n], t[r], t[i], t.scale, a, o);}-var H_ = [+var Jee = ["x","scaleX","originX"-], U_ = [+], Yee = ["y","scaleY","originY"];-function W_(e, t, n, r) {- V_(e.x, t, H_, n ? n.x : void 0, r ? r.x : void 0), V_(e.y, t, U_, n ? n.y : void 0, r ? r.y : void 0);+function F_(e, t, n, r) {+ P_(e.x, t, Jee, n ? n.x : void 0, r ? r.x : void 0), P_(e.y, t, Yee, n ? n.y : void 0, r ? r.y : void 0);}//#endregion//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs-function G_(e) {+function I_(e) {return e.translate === 0 && e.scale === 1;}-function K_(e) {- return G_(e.x) && G_(e.y);+function L_(e) {+ return I_(e.x) && I_(e.y);}-function q_(e, t) {+function R_(e, t) {return e.min === t.min && e.max === t.max;}-function J_(e, t) {- return q_(e.x, t.x) && q_(e.y, t.y);+function Xee(e, t) {+ return R_(e.x, t.x) && R_(e.y, t.y);}-function Y_(e, t) {+function z_(e, t) {return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);}-function X_(e, t) {- return Y_(e.x, t.x) && Y_(e.y, t.y);+function B_(e, t) {+ return z_(e.x, t.x) && z_(e.y, t.y);}-function Z_(e) {- return j_(e.x) / j_(e.y);+function V_(e) {+ return D_(e.x) / D_(e.y);}-function Q_(e, t) {+function H_(e, t) {return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;}//#endregion//#region node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs-function $_(e) {+function U_(e) {return [e("x"), e("y")];}//#endregion//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs-function ev(e, t) {+function W_(e, t) {return t.max === t.min ? 0 : e / (t.max - t.min) * 100;}-var tv = { correct: (e, t) => {+var G_ = { correct: (e, t) => {if (!t.target) return e;if (typeof e == "string") {- if (W.test(e)) e = parseFloat(e);+ if (pd.test(e)) e = parseFloat(e);else return e;}- return `${ev(e, t.target.x)}% ${ev(e, t.target.y)}%`;-} }, nv = { correct: (e, { treeScale: t, projectionDelta: n }) => {- let r = e, i = Id.parse(e);+ return `${W_(e, t.target.x)}% ${W_(e, t.target.y)}%`;+} }, Zee = { correct: (e, { treeScale: t, projectionDelta: n }) => {+ let r = e, i = Ld.parse(e);if (i.length > 5) return r;- let a = Id.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;+ let a = Ld.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 = Bd(s, c, .5);+ let l = Vd(s, c, .5);return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);} };//#endregion//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs-function rv(e, t, n) {+function Qee(e, t, n) {let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, skewX: s, skewY: c } = n;@@ -17834,36 +17837,36 @@ function rv(e, t, n) {}//#endregion//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs-var iv = Ph.length, av = (e) => typeof e == "number" || W.test(e);-function ov(e, t, n, r, i, a) {- i ? (e.opacity = Bd(0, n.opacity ?? 1, cv(r)), e.opacityExit = Bd(t.opacity ?? 1, 0, lv(r))) : a && (e.opacity = Bd(t.opacity ?? 1, n.opacity ?? 1, r));- for (let i = 0; i < iv; i++) {- let a = Ph[i], o = sv(t, a), s = sv(n, a);- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || av(o) === av(s) ? (e[a] = Math.max(Bd(Zg(o), Zg(s), r), 0), (fd.test(s) || fd.test(o)) && (e[a] += "%")) : e[a] = s);+var $ee = Fh.length, K_ = (e) => typeof e == "number" || pd.test(e);+function ete(e, t, n, r, i, a) {+ i ? (e.opacity = Vd(0, n.opacity ?? 1, tte(r)), e.opacityExit = Vd(t.opacity ?? 1, 0, nte(r))) : a && (e.opacity = Vd(t.opacity ?? 1, n.opacity ?? 1, r));+ for (let i = 0; i < $ee; i++) {+ let a = Fh[i], o = q_(t, a), s = q_(n, a);+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || K_(o) === K_(s) ? (e[a] = Math.max(Vd(Yg(o), Yg(s), r), 0), (fd.test(s) || fd.test(o)) && (e[a] += "%")) : e[a] = s);}- (t.rotate || n.rotate) && (e.rotate = Bd(t.rotate || 0, n.rotate || 0, r));+ (t.rotate || n.rotate) && (e.rotate = Vd(t.rotate || 0, n.rotate || 0, r));}-function sv(e, t) {+function q_(e, t) {return e[t] === void 0 ? e.borderRadius : e[t];}-var cv = /*@__PURE__*/ uv(0, .5, ku), lv = /*@__PURE__*/ uv(.5, .95, fu);-function uv(e, t, n) {+var tte = /*@__PURE__*/ J_(0, .5, ku), nte = /*@__PURE__*/ J_(.5, .95, fu);+function J_(e, t, n) {return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ mu(e, t, r));}//#endregion//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs-function dv(e, t, n) {- let r = hh(e) ? e : Km(e);- return r.start(nh("", r, t, n)), r.animation;+function Y_(e, t, n) {+ let r = gh(e) ? e : qm(e);+ return r.start(rh("", r, t, n)), r.animation;}//#endregion//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs-function fv(e, t, n, r = { passive: !0 }) {+function X_(e, t, n, r = { passive: !0 }) {return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);}//#endregion//#region node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs-var Bee = (e, t) => e.depth - t.depth, Vee = class {+var rte = (e, t) => e.depth - t.depth, ite = class {constructor() {this.children = [], this.isDirty = !1;}@@ -17874,26 +17877,26 @@ var Bee = (e, t) => e.depth - t.depth, Vee = class {au(this.children, e), this.isDirty = !0;}forEach(e) {- this.isDirty && this.children.sort(Bee), this.isDirty = !1, this.children.forEach(e);+ this.isDirty && this.children.sort(rte), this.isDirty = !1, this.children.forEach(e);}};//#endregion//#region node_modules/motion-dom/dist/es/utils/delay.mjs-function Hee(e, t) {+function ate(e, t) {let n = Uu.now(), r = ({ timestamp: i }) => {let a = i - n;- a >= t && (lf(r), e(a - t));+ a >= t && (uf(r), e(a - t));};- return cf.setup(r, !0), () => lf(r);+ return lf.setup(r, !0), () => uf(r);}//#endregion//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs-function pv(e) {- return hh(e) ? e.get() : e;+function Z_(e) {+ return gh(e) ? e.get() : e;}//#endregion//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs-var Uee = class {+var Q_ = class {constructor() {this.members = [];}@@ -17939,66 +17942,66 @@ var Uee = class {removeLeadSnapshot() {this.lead?.snapshot && (this.lead.snapshot = void 0);}-}, Wee = {+}, $_ = {borderRadius: {- ...tv,- applyTo: [...Ph]+ ...G_,+ applyTo: [...Fh]},- borderTopLeftRadius: tv,- borderTopRightRadius: tv,- borderBottomLeftRadius: tv,- borderBottomRightRadius: tv,- boxShadow: nv-}, mv = {+ borderTopLeftRadius: G_,+ borderTopRightRadius: G_,+ borderBottomLeftRadius: G_,+ borderBottomRightRadius: G_,+ boxShadow: Zee+}, ev = {hasAnimatedSinceResize: !0,hasEverUpdated: !1};//#endregion//#region node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs-Object.assign(v_, {- ...Wee,- ...v_+Object.assign(g_, {+ ...$_,+ ...g_});-var hv = {+var tv = {nodes: 0,calculatedTargetDeltas: 0,calculatedProjections: 0-}, gv = [+}, nv = ["","X","Y","Z"-], Gee = 1e3, Kee = 0;-function _v(e, t, n, r) {+], ote = 1e3, ste = 0;+function rv(e, t, n, r) {let { latestValues: i } = t;i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));}-var vv = ({ instance: e }) => e && vm.get(e)?.demote();-function yv(e) {+var iv = ({ instance: e }) => e && ym.get(e)?.demote();+function av(e) {if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;let { visualElement: t } = e.options;if (!t) return;- let n = bh(t);+ let n = xh(t);if (window.MotionHasOptimisedAnimation(n, "transform")) {let { layout: t, layoutId: r } = e.options;- window.MotionCancelOptimisedAnimation(n, "transform", cf, !(t || r));+ window.MotionCancelOptimisedAnimation(n, "transform", lf, !(t || r));}let { parent: r } = e;- r && !r.hasCheckedOptimisedAppear && yv(r);+ r && !r.hasCheckedOptimisedAppear && av(r);}-function bv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {+function ov({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {return class {constructor(e = {}, n = t?.()) {- this.id = Kee++, 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 = ste++, 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, Xg.value && (hv.nodes = hv.calculatedTargetDeltas = hv.calculatedProjections = 0), this.nodes.forEach(Yee), this.nodes.forEach(rte), this.nodes.forEach(ite), this.nodes.forEach(Xee), Xg.addProjectionMetrics && Xg.addProjectionMetrics(hv);+ this.projectionUpdateScheduled = !1, Jg.value && (tv.nodes = tv.calculatedTargetDeltas = tv.calculatedProjections = 0), this.nodes.forEach(ute), this.nodes.forEach(vte), this.nodes.forEach(yte), this.nodes.forEach(dte), Jg.addProjectionMetrics && Jg.addProjectionMetrics(tv);}, 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 Vee());+ this.root === this && (this.nodes = new ite());}addEventListener(e, t) {return this.eventHandlers.has(e) || this.eventHandlers.set(e, new hu()), this.eventHandlers.get(e).add(t);@@ -18012,15 +18015,15 @@ function bv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}mount(t) {if (this.instance) return;- this.isSVG = Gh(t) && !Eee(t), this.instance = t;+ this.isSVG = Kh(t) && !kee(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;- cf.read(() => {+ lf.read(() => {r = window.innerWidth;}), e(t, () => {let e = window.innerWidth;- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Hee(i, 250), mv.hasAnimatedSinceResize && (mv.hasAnimatedSinceResize = !1, this.nodes.forEach(Cv)));+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = ate(i, 250), ev.hasAnimatedSinceResize && (ev.hasAnimatedSinceResize = !1, this.nodes.forEach(lv)));});}n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {@@ -18028,23 +18031,23 @@ function bv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.target = void 0, this.relativeTarget = void 0;return;}- let a = this.options.transition || i.getDefaultTransition() || lte, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !X_(this.targetLayout, r), l = !t && n;+ let a = this.options.transition || i.getDefaultTransition() || wte, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !B_(this.targetLayout, r), l = !t && n;if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);let t = {- ...Jm(a, "layout"),+ ...Ym(a, "layout"),onPlay: o,onComplete: s};(i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);- } else t || Cv(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();+ } else t || lv(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();this.targetLayout = r;});}unmount() {this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);let e = this.getStack();- e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), lf(this.updateProjection);+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), uf(this.updateProjection);}blockUpdate() {this.updateManuallyBlocked = !0;@@ -18056,7 +18059,7 @@ function bv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn this.updateManuallyBlocked || this.updateBlockedByResize;}startUpdate() {- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(ate), this.animationId++);+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(bte), this.animationId++);}getTransformTemplate() {let { visualElement: e } = this.options;@@ -18067,11 +18070,11 @@ function bv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.options.onExitComplete && this.options.onExitComplete();return;}- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && yv(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;- vv(this), this.isLayoutDirty = !0;+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && av(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;+ iv(this), this.isLayoutDirty = !0;for (let e = 0; e < this.path.length; e++) {let t = this.path[e];- t.shouldResetTransform = !0, vv(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, iv(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;@@ -18081,39 +18084,39 @@ function bv({ 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(Qee), this.nodes.forEach(xv);+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(pte), this.nodes.forEach(sv);return;}if (this.animationId <= this.animationCommitId) {- this.nodes.forEach(Sv);+ this.nodes.forEach(cv);return;}- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(ete), this.nodes.forEach(tte), this.nodes.forEach(nte), this.nodes.forEach(qee), this.nodes.forEach(Jee)) : this.nodes.forEach(Sv), this.clearAllSnapshots();+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(hte), this.nodes.forEach(gte), this.nodes.forEach(_te), this.nodes.forEach(cte), this.nodes.forEach(lte)) : this.nodes.forEach(cv), this.clearAllSnapshots();let e = Uu.now();- Bu.delta = ou(0, 1e3 / 60, e - Bu.timestamp), Bu.timestamp = e, Bu.isProcessing = !0, uf.update.process(Bu), uf.preRender.process(Bu), uf.render.process(Bu), Bu.isProcessing = !1;+ Bu.delta = ou(0, 1e3 / 60, e - Bu.timestamp), Bu.timestamp = e, Bu.isProcessing = !0, df.update.process(Bu), df.preRender.process(Bu), df.render.process(Bu), Bu.isProcessing = !1;}didUpdate() {- this.updateScheduled || (this.updateScheduled = !0, Mg.read(this.scheduleUpdate));+ this.updateScheduled || (this.updateScheduled = !0, kg.read(this.scheduleUpdate));}clearAllSnapshots() {- this.nodes.forEach(Zee), this.sharedNodes.forEach(ote);+ this.nodes.forEach(fte), this.sharedNodes.forEach(xte);}scheduleUpdateProjection() {- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, cf.preRender(this.updateProjection, !1, !0));+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, lf.preRender(this.updateProjection, !1, !0));}scheduleCheckAfterUnmount() {- cf.postRender(() => {+ lf.postRender(() => {this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();});}updateSnapshot() {- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !j_(this.snapshot.measuredBox.x) && !j_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !D_(this.snapshot.measuredBox.x) && !D_(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 ||= t_(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);+ this.layout = this.measure(!1), this.layoutCorrected ||= $g(), 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);}@@ -18133,13 +18136,13 @@ function bv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkresetTransform() {if (!i) return;let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;- e && vv(this);- let t = this.projectionDelta && !K_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;- e && this.instance && (t || dg(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());+ e && iv(this);+ let t = this.projectionDelta && !L_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;+ e && this.instance && (t || fg(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)), ute(n), {+ return e && (n = this.removeTransform(n)), Tte(n), {animationId: this.root.animationId,measuredBox: t,layoutBox: n,@@ -18149,42 +18152,42 @@ function bv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}measurePageBox() {let { visualElement: e } = this.options;- if (!e) return t_();+ if (!e) return $g();let t = e.measureViewportBox();- if (!(this.scroll?.wasRoot || this.path.some(dte))) {+ if (!(this.scroll?.wasRoot || this.path.some(Ete))) {let { scroll: e } = this.root;e && (xg(t.x, e.offset.x), xg(t.y, e.offset.y));}return t;}removeElementScroll(e) {- let t = t_();- if (D_(t, e), this.scroll?.wasRoot) return t;+ let t = $g();+ if (T_(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 && D_(t, e), xg(t.x, i.offset.x), xg(t.y, i.offset.y));+ r !== this.root && i && a.layoutScroll && (i.wasRoot && T_(t, e), xg(t.x, i.offset.x), xg(t.y, i.offset.y));}return t;}applyTransform(e, t = !1, n) {- let r = n || t_();- D_(r, e);+ let r = n || $g();+ T_(r, e);for (let e = 0; e < this.path.length; e++) {let n = this.path[e];- !t && n.options.layoutScroll && n.scroll && n !== n.root && (xg(r.x, -n.scroll.offset.x), xg(r.y, -n.scroll.offset.y)), dg(n.latestValues) && wg(r, n.latestValues, n.layout?.layoutBox);+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (xg(r.x, -n.scroll.offset.x), xg(r.y, -n.scroll.offset.y)), fg(n.latestValues) && wg(r, n.latestValues, n.layout?.layoutBox);}- return dg(this.latestValues) && wg(r, this.latestValues, this.layout?.layoutBox), r;+ return fg(this.latestValues) && wg(r, this.latestValues, this.layout?.layoutBox), r;}removeTransform(e) {- let t = t_();- D_(t, e);+ let t = $g();+ T_(t, e);for (let e = 0; e < this.path.length; e++) {let n = this.path[e];- if (!dg(n.latestValues)) continue;+ if (!fg(n.latestValues)) continue;let r;- n.instance && (ug(n.latestValues) && n.updateSnapshot(), r = t_(), D_(r, n.measurePageBox())), W_(t, n.latestValues, n.snapshot?.layoutBox, r);+ n.instance && (dg(n.latestValues) && n.updateSnapshot(), r = $g(), T_(r, n.measurePageBox())), F_(t, n.latestValues, n.snapshot?.layoutBox, r);}- return dg(this.latestValues) && W_(t, this.latestValues), t;+ return fg(this.latestValues) && F_(t, this.latestValues), t;}setTargetDelta(e) {this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;@@ -18211,16 +18214,16 @@ function bv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!this.layout || !(r || i)) return;this.resolvedRelativeTargetAt = Bu.timestamp;let a = this.getClosestProjectingParent();- !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = t_(), this.targetWithTransforms = t_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), I_(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : D_(this.target, this.layout.layoutBox), _g(this.target, this.targetDelta)) : D_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Xg.value && hv.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 = $g(), this.targetWithTransforms = $g()), 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) : T_(this.target, this.layout.layoutBox), vg(this.target, this.targetDelta)) : T_(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), Jg.value && tv.calculatedTargetDeltas++);}getClosestProjectingParent() {- if (!(!this.parent || ug(this.parent.latestValues) || fg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();+ if (!(!this.parent || dg(this.parent.latestValues) || pg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();}isProjecting() {return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);}createRelativeTarget(e, t, n) {- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = t_(), this.relativeTargetOrigin = t_(), R_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), D_(this.relativeTarget, this.relativeTargetOrigin);+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = $g(), this.relativeTargetOrigin = $g(), M_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), T_(this.relativeTarget, this.relativeTargetOrigin);}removeRelativeTarget() {this.relativeParent = this.relativeTarget = void 0;@@ -18230,11 +18233,11 @@ function bv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === Bu.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;- D_(this.layoutCorrected, this.layout.layoutBox);+ T_(this.layoutCorrected, this.layout.layoutBox);let a = this.treeScale.x, o = this.treeScale.y;- bg(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = t_());+ cee(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());let { target: s } = e;- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (O_(this.prevProjectionDelta.x, this.projectionDelta.x), O_(this.prevProjectionDelta.y, this.projectionDelta.y)), P_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !Q_(this.projectionDelta.x, this.prevProjectionDelta.x) || !Q_(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Xg.value && hv.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (E_(this.prevProjectionDelta.x, this.projectionDelta.x), E_(this.prevProjectionDelta.y, this.projectionDelta.y)), k_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !H_(this.projectionDelta.x, this.prevProjectionDelta.x) || !H_(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Jg.value && tv.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());}hide() {this.isVisible = !1;@@ -18250,22 +18253,22 @@ function bv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);}createProjectionDeltas() {- this.prevProjectionDelta = $g(), this.projectionDelta = $g(), this.projectionDeltaWithTransform = $g();+ this.prevProjectionDelta = Zg(), this.projectionDelta = Zg(), this.projectionDeltaWithTransform = Zg();}setAnimationOrigin(e, t = !1, n) {- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = $g();+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Zg();(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;- let s = t_(), 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(cte));+ 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(Cte));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 = Bd(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = Bd(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (wv(o.x, e.x, n), wv(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (R_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), ste(this.relativeTarget, this.relativeTargetOrigin, s, n), f && J_(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= t_(), D_(f, this.relativeTarget)), c && (this.animationValues = a, ov(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 = Vd(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 = Vd(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (uv(o.x, e.x, n), uv(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (M_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Ste(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Xee(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= $g(), T_(f, this.relativeTarget)), c && (this.animationValues = a, ete(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 &&= (lf(this.pendingAnimation), void 0), this.pendingAnimation = cf.update(() => {- mv.hasAnimatedSinceResize = !0, this.motionValue ||= Km(0), this.motionValue.jump(0, !1), this.currentAnimation = dv(this.motionValue, [0, 1e3], {+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (uf(this.pendingAnimation), void 0), this.pendingAnimation = lf.update(() => {+ ev.hasAnimatedSinceResize = !0, this.motionValue ||= qm(0), this.motionValue.jump(0, !1), this.currentAnimation = Y_(this.motionValue, [0, 1e3], {...e,velocity: 0,isSync: !0,@@ -18275,7 +18278,7 @@ function bv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkonComplete: () => {e.onComplete && e.onComplete(), this.completeAnimation();}- }), qf(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;+ }), Jf(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;});}completeAnimation() {@@ -18284,23 +18287,23 @@ function bv({ 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(Gee), this.currentAnimation.stop()), this.completeAnimation();+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(ote), 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 && kv(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {- i = this.target || t_();- let t = j_(this.layout.layoutBox.x);+ if (this !== e && this.layout && n && hv(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {+ i = this.target || $g();+ let t = D_(this.layout.layoutBox.x);i.x.min = e.target.x.min, i.x.max = i.x.min + t;- let n = j_(this.layout.layoutBox.y);+ let n = D_(this.layout.layoutBox.y);i.y.min = e.target.y.min, i.y.max = i.y.min + n;}- D_(t, i), wg(t, r), P_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);+ T_(t, i), wg(t, r), k_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);}}registerSharedNode(e, t) {- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Uee()), this.sharedNodes.get(e).add(t);+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Q_()), this.sharedNodes.get(e).add(t);let n = t.options.initialPromotionConfig;t.promote({transition: n ? n.transition : void 0,@@ -18337,8 +18340,8 @@ function bv({ 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 && _v("z", e, r, this.animationValues);- for (let t = 0; t < gv.length; t++) _v(`rotate${gv[t]}`, e, r, this.animationValues), _v(`skew${gv[t]}`, e, r, this.animationValues);+ n.z && rv("z", e, r, this.animationValues);+ for (let t = 0; t < nv.length; t++) rv(`rotate${nv[t]}`, e, r, this.animationValues), rv(`skew${nv[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();@@ -18351,71 +18354,71 @@ function bv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}let n = this.getTransformTemplate();if (this.needsReset) {- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = pv(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = Z_(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 = pv(t?.pointerEvents) || ""), this.hasProjected && !dg(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 = Z_(t?.pointerEvents) || ""), this.hasProjected && !fg(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);return;}e.visibility = "";let i = r.animationValues || r.latestValues;this.applyTransformsToTarget();- let a = rv(this.projectionDeltaWithTransform, this.treeScale, i);+ let a = Qee(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 v_) {+ for (let t in g_) {if (i[t] === void 0) continue;- let { correct: n, applyTo: o, isCSSVariable: s } = v_[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 ? pv(t?.pointerEvents) || "" : "none");+ this.options.layoutId && (e.pointerEvents = r === this ? Z_(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(xv), this.root.sharedNodes.clear();+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(sv), this.root.sharedNodes.clear();}};}-function qee(e) {- e.updateLayout(), $ee(e);+function cte(e) {+ e.updateLayout(), mte(e);}-function Jee(e) {+function lte(e) {let t = e.resumeFrom?.snapshot || e.snapshot;if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;- if (i === "size") $_((e) => {- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = j_(r);+ if (i === "size") U_((e) => {+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = D_(r);r.min = n[e].min, r.max = r.min + i;});else if (i === "x" || i === "y") {let e = i === "x" ? "y" : "x";- E_(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);- } else kv(i, t.layoutBox, n) && $_((r) => {- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = j_(n[r]);+ w_(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);+ } else hv(i, t.layoutBox, n) && U_((r) => {+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = D_(n[r]);i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);});- let o = $g();- P_(o, n, t.layoutBox);- let s = $g();- a ? P_(s, e.applyTransform(r, !0), t.measuredBox) : P_(s, n, t.layoutBox);- let c = !K_(o), l = !1;+ let o = Zg();+ k_(o, n, t.layoutBox);+ let s = Zg();+ a ? k_(s, e.applyTransform(r, !0), t.measuredBox) : k_(s, n, t.layoutBox);+ let c = !L_(o), l = !1;if (!e.resumeFrom) {let r = e.getClosestProjectingParent();if (r && !r.resumeFrom) {let { snapshot: i, layout: a } = r;if (i && a) {- let o = e.options.layoutAnchor || void 0, s = t_();- R_(s, t.layoutBox, i.layoutBox, o);- let c = t_();- R_(c, n, a.layoutBox, o), X_(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);+ let o = e.options.layoutAnchor || void 0, s = $g();+ M_(s, t.layoutBox, i.layoutBox, o);+ let c = $g();+ M_(c, n, a.layoutBox, o), B_(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);}}}@@ -18433,68 +18436,68 @@ function Jee(e) {}e.options.transition = void 0;}-function Yee(e) {- Xg.value && hv.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 ute(e) {+ Jg.value && tv.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 Xee(e) {+function dte(e) {e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;}-function Zee(e) {+function fte(e) {e.clearSnapshot();}-function xv(e) {+function sv(e) {e.clearMeasurements();}-function Qee(e) {+function pte(e) {e.isLayoutDirty = !0, e.updateLayout();}-function Sv(e) {+function cv(e) {e.isLayoutDirty = !1;}-function $ee(e) {+function mte(e) {let { snapshot: t, dragAncestor: n } = e, r = n?.layout;if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;let i = n.dragSnapshot;- $_((e) => xg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));+ U_((e) => xg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));}-function ete(e) {+function hte(e) {e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);}-function tte(e) {+function gte(e) {e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));}-function nte(e) {+function _te(e) {let { visualElement: t } = e.options;t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();}-function Cv(e) {+function lv(e) {e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;}-function rte(e) {+function vte(e) {e.resolveTargetDelta();}-function ite(e) {+function yte(e) {e.calcProjection();}-function ate(e) {+function bte(e) {e.resetSkewAndRotation();}-function ote(e) {+function xte(e) {e.removeLeadSnapshot();}-function wv(e, t, n) {- e.translate = Bd(t.translate, 0, n), e.scale = Bd(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;+function uv(e, t, n) {+ e.translate = Vd(t.translate, 0, n), e.scale = Vd(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;}-function Tv(e, t, n, r) {- e.min = Bd(t.min, n.min, r), e.max = Bd(t.max, n.max, r);+function dv(e, t, n, r) {+ e.min = Vd(t.min, n.min, r), e.max = Vd(t.max, n.max, r);}-function ste(e, t, n, r) {- Tv(e.x, t.x, n.x, r), Tv(e.y, t.y, n.y, r);+function Ste(e, t, n, r) {+ dv(e.x, t.x, n.x, r), dv(e.y, t.y, n.y, r);}-function cte(e) {+function Cte(e) {return e.animationValues && e.animationValues.opacityExit !== void 0;}-var lte = {+var wte = {duration: .45,ease: [.4,@@ -18502,79 +18505,79 @@ var lte = {.1,1]-}, Ev = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Dv = Ev("applewebkit/") && !Ev("chrome/") ? Math.round : fu;-function Ov(e) {- e.min = Dv(e.min), e.max = Dv(e.max);+}, fv = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), pv = fv("applewebkit/") && !fv("chrome/") ? Math.round : fu;+function mv(e) {+ e.min = pv(e.min), e.max = pv(e.max);}-function ute(e) {- Ov(e.x), Ov(e.y);+function Tte(e) {+ mv(e.x), mv(e.y);}-function kv(e, t, n) {- return e === "position" || e === "preserve-aspect" && !M_(Z_(t), Z_(n), .2);+function hv(e, t, n) {+ return e === "position" || e === "preserve-aspect" && !Gee(V_(t), V_(n), .2);}-function dte(e) {+function Ete(e) {return e !== e.root && e.scroll?.wasRoot;}//#endregion//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs-var fte = bv({- attachResizeListener: (e, t) => fv(e, "resize", t),+var Dte = ov({+ attachResizeListener: (e, t) => X_(e, "resize", t),measureScroll: () => ({x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,y: document.documentElement.scrollTop || document.body?.scrollTop || 0}),checkIsScrollRoot: () => !0-}), Av = { current: void 0 }, jv = bv({+}), gv = { current: void 0 }, _v = ov({measureScroll: (e) => ({x: e.scrollLeft,y: e.scrollTop}),defaultParent: () => {- if (!Av.current) {- let e = new fte({});- e.mount(window), e.setOptions({ layoutScroll: !0 }), Av.current = e;+ if (!gv.current) {+ let e = new Dte({});+ e.mount(window), e.setOptions({ layoutScroll: !0 }), gv.current = e;}- return Av.current;+ return gv.current;},resetTransform: (e, t) => {e.style.transform = t === void 0 ? "none" : t;},checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"-}), Mv = (0, D.createContext)({+}), vv = (0, D.createContext)({transformPagePoint: (e) => e,isStatic: !1,reducedMotion: "never"});//#endregion//#region node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs-function Nv(e, t) {+function yv(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}-function pte(...e) {+function Ote(...e) {return (t) => {let n = !1, r = e.map((e) => {- let r = Nv(e, t);+ let r = yv(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() : Nv(e[t], null);+ typeof n == "function" ? n() : yv(e[t], null);}};};}-function mte(...e) {- return D.useCallback(pte(...e), e);+function kte(...e) {+ return D.useCallback(Ote(...e), e);}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs-var hte = class extends D.Component {+var Ate = class extends D.Component {getSnapshotBeforeUpdate(e) {let t = this.props.childRef.current;- if (Wh(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {- let e = t.offsetParent, n = Wh(e) && e.offsetWidth || 0, r = Wh(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;+ if (Gh(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {+ let e = t.offsetParent, n = Gh(e) && e.offsetWidth || 0, r = Gh(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction;}return null;@@ -18584,7 +18587,7 @@ var hte = class extends D.Component {return this.props.children;}};-function gte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {+function jte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {let o = (0, D.useId)(), s = (0, D.useRef)(null), c = (0, D.useRef)({width: 0,height: 0,@@ -18593,7 +18596,7 @@ function gte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:right: 0,bottom: 0,direction: "ltr"- }), { nonce: l } = (0, D.useContext)(Mv), u = mte(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);+ }), { nonce: l } = (0, D.useContext)(vv), u = kte(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);return (0, D.useInsertionEffect)(() => {let { width: e, height: u, top: d, left: f, right: p, bottom: m, direction: h } = c.current;if (t || a === !1 || !s.current || !e || !u) return;@@ -18613,7 +18616,7 @@ function gte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:`), () => {s.current?.removeAttribute("data-motion-pop-id"), S.contains(x) && S.removeChild(x);};- }, [t]), (0, O.jsx)(hte, {+ }, [t]), (0, O.jsx)(Ate, {isPresent: t,childRef: s,sizeRef: c,@@ -18623,8 +18626,8 @@ function gte({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs-var _te = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {- let u = tu(vte), d = (0, D.useId)(), f = (0, D.useRef)(n), p = (0, D.useRef)(r);+var Mte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {+ let u = tu(Nte), d = (0, D.useId)(), f = (0, D.useRef)(n), p = (0, D.useRef)(r);nu(() => {f.current = n, p.current = r;});@@ -18650,7 +18653,7 @@ var _te = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: iu.forEach((e, t) => u.set(t, !1));}, [n]), D.useEffect(() => {!n && !u.size && r && r();- }, [n]), e = (0, O.jsx)(gte, {+ }, [n]), e = (0, O.jsx)(jte, {pop: o === "popLayout",isPresent: n,anchorX: s,@@ -18662,12 +18665,12 @@ var _te = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: ichildren: e});};-function vte() {+function Nte() {return /* @__PURE__ */ new Map();}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs-function Pv(e = !0) {+function bv(e = !0) {let t = (0, D.useContext)(ru);if (t === null) return [!0, null];let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, D.useId)();@@ -18681,16 +18684,16 @@ function Pv(e = !0) {]);return !n && r ? [!1, o] : [!0];}-function Fv() {- return yte((0, D.useContext)(ru));+function xv() {+ return Pte((0, D.useContext)(ru));}-function yte(e) {+function Pte(e) {return e === null || e.isPresent;}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs-var Iv = (e) => e.key || "";-function Lv(e) {+var Sv = (e) => e.key || "";+function Cv(e) {let t = [];return D.Children.forEach(e, (e) => {(0, D.isValidElement)(e) && t.push(e);@@ -18698,8 +18701,8 @@ function Lv(e) {}//#endregion//#region node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs-var Rv = ({ 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] = Pv(o), f = (0, D.useMemo)(() => Lv(e), [e]), p = o && !u ? [] : f.map(Iv), m = (0, D.useRef)(!0), h = tu(() => /* @__PURE__ */ new Map()), g = (0, D.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, D.useState)(f), [y, b] = (0, D.useState)(f);+var wv = ({ 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] = bv(o), f = (0, D.useMemo)(() => Cv(e), [e]), p = o && !u ? [] : f.map(Sv), m = (0, D.useRef)(!0), h = tu(() => /* @__PURE__ */ new Map()), g = (0, D.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, D.useState)(f), [y, b] = (0, D.useState)(f);nu(() => {o && !u && !y.length && d?.();}, [@@ -18710,7 +18713,7 @@ var Rv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence]), nu(() => {m.current = !1;for (let e = 0; e < y.length; e++) {- let t = Iv(y[e]);+ let t = Sv(y[e]);p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);}}, [@@ -18722,15 +18725,15 @@ var Rv = ({ 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(Iv(n));+ let r = p.indexOf(Sv(n));r === -1 ? (e.splice(t++, 0, n), x.push(n)) : t = r + x.length + 1;}- return x.every((e) => h.get(Iv(e))) ? e = f : a === "wait" && (e = x), b(Lv(e)), v(f), null;+ return x.every((e) => h.get(Sv(e))) ? e = f : a === "wait" && (e = x), b(Cv(e)), v(f), null;}let { forceRender: S } = (0, D.useContext)(eu);return (0, O.jsx)(O.Fragment, { children: y.map((e) => {- let _ = Iv(e), b = o && !u ? !1 : f === y || p.includes(_);- return (0, O.jsx)(_te, {+ let _ = Sv(e), b = o && !u ? !1 : f === y || p.includes(_);+ return (0, O.jsx)(Mte, {isPresent: b,initial: !m.current || n ? void 0 : !1,custom: t,@@ -18751,7 +18754,7 @@ var Rv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presencechildren: e}, _);}) });-}, zv = (0, D.createContext)({ strict: !1 }), Bv = {+}, Tv = (0, D.createContext)({ strict: !1 }), Ev = {animation: ["animate","variants",@@ -18788,34 +18791,34 @@ var Rv = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence"onViewportLeave"],layout: ["layout", "layoutId"]-}, Vv = !1;-function bte() {- if (Vv) return;+}, Dv = !1;+function Fte() {+ if (Dv) return;let e = {};- for (let t in Bv) e[t] = { isEnabled: (e) => Bv[t].some((t) => !!e[t]) };- m_(e), Vv = !0;+ for (let t in Ev) e[t] = { isEnabled: (e) => Ev[t].some((t) => !!e[t]) };+ f_(e), Dv = !0;}-function Hv() {- return bte(), kee();+function Ov() {+ return Fte(), Mee();}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs-function xte(e) {- let t = Hv();+function Ite(e) {+ let t = Ov();for (let n in e) t[n] = {...t[n],...e[n]};- m_(t);+ f_(t);}//#endregion//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs-function Ste({ children: e, ...t }) {- let n = (0, D.useContext)(Mv);+function Lte({ children: e, ...t }) {+ let n = (0, D.useContext)(vv);t = {...n,...t- }, t.transition = qm(t.transition, n.transition), t.isStatic = tu(() => t.isStatic);+ }, t.transition = Jm(t.transition, n.transition), t.isStatic = tu(() => t.isStatic);let r = (0, D.useMemo)(() => t, [JSON.stringify(t.transition),t.transformPagePoint,@@ -18823,41 +18826,41 @@ function Ste({ children: e, ...t }) {t.skipAnimations,t.isValidProp]);- return (0, O.jsx)(Mv.Provider, {+ return (0, O.jsx)(vv.Provider, {value: r,children: e});}//#endregion//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs-var Uv = /* @__PURE__ */ (0, D.createContext)({});+var kv = /* @__PURE__ */ (0, D.createContext)({});//#endregion//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs-function Cte(e, t) {- if (s_(e)) {+function Rte(e, t) {+ if (a_(e)) {let { initial: t, animate: n } = e;return {- initial: t === !1 || i_(t) ? t : void 0,- animate: i_(n) ? n : void 0+ initial: t === !1 || n_(t) ? t : void 0,+ animate: n_(n) ? n : void 0};}return e.inherit === !1 ? {} : t;}//#endregion//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs-function wte(e) {- let { initial: t, animate: n } = Cte(e, (0, D.useContext)(Uv));+function zte(e) {+ let { initial: t, animate: n } = Rte(e, (0, D.useContext)(kv));return (0, D.useMemo)(() => ({initial: t,animate: n- }), [Wv(t), Wv(n)]);+ }), [Av(t), Av(n)]);}-function Wv(e) {+function Av(e) {return Array.isArray(e) ? e.join(" ") : e;}//#endregion//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs-var Gv = () => ({+var jv = () => ({style: {},transform: {},transformOrigin: {},@@ -18865,42 +18868,42 @@ var Gv = () => ({});//#endregion//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs-function Kv(e, t, n) {- for (let r in t) !hh(t[r]) && !y_(r, n) && (e[r] = t[r]);+function Mv(e, t, n) {+ for (let r in t) !gh(t[r]) && !__(r, n) && (e[r] = t[r]);}-function Tte({ transformTemplate: e }, t) {+function Bte({ transformTemplate: e }, t) {return (0, D.useMemo)(() => {- let n = Gv();- return rg(n, t, e), Object.assign({}, n.vars, n.style);+ let n = jv();+ return ig(n, t, e), Object.assign({}, n.vars, n.style);}, [t]);}-function qv(e, t) {+function Vte(e, t) {let n = e.style || {}, r = {};- return Kv(r, n, e), Object.assign(r, Tte(e, t)), r;+ return Mv(r, n, e), Object.assign(r, Bte(e, t)), r;}-function Ete(e, t) {- let n = {}, r = qv(e, t);+function Hte(e, t) {+ let n = {}, r = Vte(e, t);return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;}//#endregion//#region node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs-var Jv = () => ({- ...Gv(),+var Nv = () => ({+ ...jv(),attrs: {}});//#endregion//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs-function Dte(e, t, n, r) {+function Ute(e, t, n, r) {let i = (0, D.useMemo)(() => {- let n = Jv();- return ag(n, t, S_(r), e.transformTemplate, e.style), {+ let n = Nv();+ return og(n, t, b_(r), e.transformTemplate, e.style), {...n.attrs,style: { ...n.style }};}, [t]);if (e.style) {let t = {};- Kv(t, e.style, e), i.style = {+ Mv(t, e.style, e), i.style = {...t,...i.style};@@ -18909,23 +18912,23 @@ function Dte(e, t, n, r) {}//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs-var Ote = /* @__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 Yv(e) {- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Ote.has(e);+var Wte = /* @__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 Pv(e) {+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Wte.has(e);}//#endregion//#region node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs-function kte(e, t) {- return e.startsWith("on") ? !Yv(e) : t?.(e) ?? !Yv(e);+function Gte(e, t) {+ return e.startsWith("on") ? !Pv(e) : t?.(e) ?? !Pv(e);}-function Ate(e, t, n, r) {+function Kte(e, t, n, r) {let i = {};- for (let a in e) (a !== "values" || typeof e.values != "object") && (hh(e[a]) || (kte(a, r) || n === !0 && Yv(a) || !t && !Yv(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));+ for (let a in e) (a !== "values" || typeof e.values != "object") && (gh(e[a]) || (Gte(a, r) || n === !0 && Pv(a) || !t && !Pv(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]));return i;}//#endregion//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs-var jte = [+var qte = ["animate","circle","defs",@@ -18954,17 +18957,17 @@ var jte = [];//#endregion//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs-function Xv(e) {- return typeof e != "string" || e.includes("-") ? !1 : !!(jte.indexOf(e) > -1 || /[A-Z]/u.test(e));+function Fv(e) {+ return typeof e != "string" || e.includes("-") ? !1 : !!(qte.indexOf(e) > -1 || /[A-Z]/u.test(e));}//#endregion//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs-function Mte(e, t, n, { latestValues: r }, i, a = !1, o, s) {- let c = (o ?? Xv(e) ? Dte : Ete)(t, r, i, e), l = Ate(t, typeof e == "string", a, s), u = e === D.Fragment ? {} : {+function Jte(e, t, n, { latestValues: r }, i, a = !1, o, s) {+ let c = (o ?? Fv(e) ? Ute : Hte)(t, r, i, e), l = Kte(t, typeof e == "string", a, s), u = e === D.Fragment ? {} : {...l,...c,ref: n- }, { children: d } = t, f = (0, D.useMemo)(() => hh(d) ? d.get() : d, [d]);+ }, { children: d } = t, f = (0, D.useMemo)(() => gh(d) ? d.get() : d, [d]);return (0, D.createElement)(e, {...u,children: f@@ -18972,24 +18975,24 @@ function Mte(e, t, n, { latestValues: r }, i, a = !1, o, s) {}//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs-function Nte({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {+function Yte({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {return {- latestValues: Pte(n, r, i, e),+ latestValues: Xte(n, r, i, e),renderState: t()};}-function Pte(e, t, n, r) {+function Xte(e, t, n, r) {let i = {}, a = r(e, {});- for (let e in a) i[e] = pv(a[e]);- let { initial: o, animate: s } = e, c = s_(e), l = c_(e);+ for (let e in a) i[e] = Z_(a[e]);+ let { initial: o, animate: s } = e, c = a_(e), l = o_(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" && !r_(d)) {+ if (d && typeof d != "boolean" && !t_(d)) {let t = Array.isArray(d) ? d : [d];for (let n = 0; n < t.length; n++) {- let r = sh(e, t[n]);+ let r = ch(e, t[n]);if (r) {let { transitionEnd: e, transition: t, ...n } = r;for (let e in n) {@@ -19006,19 +19009,19 @@ function Pte(e, t, n, r) {}return i;}-var Zv = (e) => (t, n) => {- let r = (0, D.useContext)(Uv), i = (0, D.useContext)(ru), a = () => Nte(e, t, r, i);+var Iv = (e) => (t, n) => {+ let r = (0, D.useContext)(kv), i = (0, D.useContext)(ru), a = () => Yte(e, t, r, i);return n ? a() : tu(a);-}, Fte = /*@__PURE__*/ Zv({- scrapeMotionValuesFromProps: b_,- createRenderState: Gv-}), Ite = /*@__PURE__*/ Zv({- scrapeMotionValuesFromProps: C_,- createRenderState: Jv-}), Qv = Symbol.for("motionComponentSymbol");+}, Zte = /*@__PURE__*/ Iv({+ scrapeMotionValuesFromProps: v_,+ createRenderState: jv+}), Qte = /*@__PURE__*/ Iv({+ scrapeMotionValuesFromProps: x_,+ createRenderState: Nv+}), $te = Symbol.for("motionComponentSymbol");//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs-function $v(e, t, n) {+function ene(e, t, n) {let r = (0, D.useRef)(n);(0, D.useInsertionEffect)(() => {r.current = n;@@ -19037,16 +19040,16 @@ function $v(e, t, n) {}//#endregion//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs-var ey = (0, D.createContext)({});+var Lv = (0, D.createContext)({});//#endregion//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs-function ty(e) {+function Rv(e) {return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");}//#endregion//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs-function Lte(e, t, n, r, i, a) {- let { visualElement: o } = (0, D.useContext)(Uv), s = (0, D.useContext)(zv), c = (0, D.useContext)(ru), l = (0, D.useContext)(Mv), u = l.reducedMotion, d = l.skipAnimations, f = (0, D.useRef)(null), p = (0, D.useRef)(!1);+function tne(e, t, n, r, i, a) {+ let { visualElement: o } = (0, D.useContext)(kv), s = (0, D.useContext)(Tv), c = (0, D.useContext)(ru), l = (0, D.useContext)(vv), u = l.reducedMotion, d = l.skipAnimations, f = (0, D.useRef)(null), p = (0, D.useRef)(!1);r ||= s.renderer, !f.current && r && (f.current = r(e, {visualState: t,parent: o,@@ -19057,13 +19060,13 @@ function Lte(e, t, n, r, i, a) {skipAnimations: d,isSVG: a}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));- let m = f.current, h = (0, D.useContext)(ey);- m && !m.projection && i && (m.type === "html" || m.type === "svg") && Rte(f.current, n, i, h);+ let m = f.current, h = (0, D.useContext)(Lv);+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && nne(f.current, n, i, h);let g = (0, D.useRef)(!1);(0, D.useInsertionEffect)(() => {m && g.current && m.update(n, c);});- let _ = n[yh], v = (0, D.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));+ let _ = n[bh], v = (0, D.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));return nu(() => {p.current && m && (m.animationState?.animateChanges(), m.enteringChildren = void 0);}, []), nu(() => {@@ -19074,12 +19077,12 @@ function Lte(e, t, n, r, i, a) {}), !1), m.enteringChildren = void 0);}), m;}-function Rte(e, t, n, r) {+function nne(e, t, n, r) {let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t;- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : ny(e.parent)), e.projection.setOptions({+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : zv(e.parent)), e.projection.setOptions({layoutId: i,layout: a,- alwaysMeasureLayout: !!o || s && ty(s),+ alwaysMeasureLayout: !!o || s && Rv(s),visualElement: e,animationType: typeof a == "string" ? a : "both",initialPromotionConfig: r,@@ -19089,46 +19092,46 @@ function Rte(e, t, n, r) {layoutAnchor: u});}-function ny(e) {- if (e) return e.options.allowProjection === !1 ? ny(e.parent) : e.projection;+function zv(e) {+ if (e) return e.options.allowProjection === !1 ? zv(e.parent) : e.projection;}//#endregion//#region node_modules/framer-motion/dist/es/motion/index.mjs-function ry(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {- r && xte(r);- let a = n ? n === "svg" : Xv(e), o = a ? Ite : Fte;+function Bv(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+ r && Ite(r);+ let a = n ? n === "svg" : Fv(e), o = a ? Qte : Zte;function s(n, s) {let c, l = {- ...(0, D.useContext)(Mv),+ ...(0, D.useContext)(vv),...n,- layoutId: zte(n)- }, { isStatic: u, isValidProp: d } = l, f = wte(n), p = o(n, u);+ layoutId: rne(n)+ }, { isStatic: u, isValidProp: d } = l, f = zte(n), p = o(n, u);if (!u && typeof window < "u") {- Bte(l, r);- let t = Vte(l);- c = t.MeasureLayout, f.visualElement = Lte(e, p, l, i, t.ProjectionNode, a);+ ine(l, r);+ let t = ane(l);+ c = t.MeasureLayout, f.visualElement = tne(e, p, l, i, t.ProjectionNode, a);}- return (0, O.jsxs)(Uv.Provider, {+ return (0, O.jsxs)(kv.Provider, {value: f,children: [c && f.visualElement ? (0, O.jsx)(c, {visualElement: f.visualElement,...l- }) : null, Mte(e, n, $v(p, f.visualElement, s), p, u, t, a, d)]+ }) : null, Jte(e, n, ene(p, f.visualElement, s), p, u, t, a, d)]});}s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;let c = (0, D.forwardRef)(s);- return c[Qv] = e, c;+ return c[$te] = e, c;}-function zte({ layoutId: e }) {+function rne({ layoutId: e }) {let t = (0, D.useContext)(eu).id;return t && e !== void 0 ? t + "-" + e : e;}-function Bte(e, t) {- (0, D.useContext)(zv).strict;+function ine(e, t) {+ (0, D.useContext)(Tv).strict;}-function Vte(e) {- let { drag: t, layout: n } = Hv();+function ane(e) {+ let { drag: t, layout: n } = Ov();if (!t && !n) return {};let r = {...t,@@ -19141,20 +19144,20 @@ function Vte(e) {}//#endregion//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs-function Hte(e, t) {- if (typeof Proxy > "u") return ry;- let n = /* @__PURE__ */ new Map(), r = (n, r) => ry(n, r, e, t);- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, ry(a, void 0, e, t)), n.get(a)) });+function one(e, t) {+ if (typeof Proxy > "u") return Bv;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Bv(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Bv(a, void 0, e, t)), n.get(a)) });}//#endregion//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs-var Ute = (e, t) => t.isSVG ?? Xv(e) ? new Pee(t) : new Mee(t, { allowProjection: e !== D.Fragment }), Wte = class extends g_ {+var sne = (e, t) => t.isSVG ?? Fv(e) ? new Lee(t) : new Fee(t, { allowProjection: e !== D.Fragment }), cne = class extends m_ {constructor(e) {- super(e), e.animationState ||= Iee(e);+ super(e), e.animationState ||= zee(e);}updateAnimationControlsSubscription() {let { animate: e } = this.node.getProps();- r_(e) && (this.unmountControls = e.subscribe(this.node));+ t_(e) && (this.unmountControls = e.subscribe(this.node));}mount() {this.updateAnimationControlsSubscription();@@ -19166,11 +19169,11 @@ var Ute = (e, t) => t.isSVG ?? Xv(e) ? new Pee(t) : new Mee(t, { allowProjectionunmount() {this.node.animationState.reset(), this.unmountControls?.();}-}, Gte = 0, Kte = {- animation: { Feature: Wte },- exit: { Feature: class extends g_ {+}, lne = 0, une = {+ animation: { Feature: cne },+ exit: { Feature: class extends m_ {constructor() {- super(...arguments), this.id = Gte++;+ super(...arguments), this.id = lne++;}update() {let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;@@ -19181,7 +19184,7 @@ var Ute = (e, t) => t.isSVG ?? Xv(e) ? new Pee(t) : new Mee(t, { allowProjectionif (this.exit === !0) {let { initial: e } = this.node.getProps();if (e && !Array.isArray(e)) {- let { transition: t, transitionEnd: n, ...r } = ch(this.node, e) || {};+ let { transition: t, transitionEnd: n, ...r } = lh(this.node, e) || {};for (let e in r) this.node.getValue(e)?.jump(r[e]);}this.node.blockInitialAnimation = !1, n.reset(), n.animateChanges();@@ -19203,28 +19206,28 @@ var Ute = (e, t) => t.isSVG ?? Xv(e) ? new Pee(t) : new Mee(t, { allowProjection};//#endregion//#region node_modules/framer-motion/dist/es/events/event-info.mjs-function iy(e) {+function Vv(e) {return { point: {x: e.pageX,y: e.pageY} };}-var qte = (e) => (t) => Lg(t) && e(t, iy(t));+var dne = (e) => (t) => Pg(t) && e(t, Vv(t));//#endregion//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs-function ay(e, t, n, r) {- return fv(e, t, qte(n), r);+function Hv(e, t, n, r) {+ return X_(e, t, dne(n), r);}//#endregion//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs-var oy = ({ current: e }) => e ? e.ownerDocument.defaultView : null, sy = (e, t) => Math.abs(e - t);-function Jte(e, t) {- let n = sy(e.x, t.x), r = sy(e.y, t.y);+var Uv = ({ current: e }) => e ? e.ownerDocument.defaultView : null, Wv = (e, t) => Math.abs(e - t);+function fne(e, t) {+ let n = Wv(e.x, t.x), r = Wv(e.y, t.y);return Math.sqrt(n ** 2 + r ** 2);}//#endregion//#region node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs-var cy = /*#__PURE__*/ new Set(["auto", "scroll"]), ly = class {+var Gv = /*#__PURE__*/ new Set(["auto", "scroll"]), Kv = 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);@@ -19232,8 +19235,8 @@ var cy = /*#__PURE__*/ new Set(["auto", "scroll"]), ly = class {this.handleScroll(window);}, this.updatePoint = () => {if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = uy(this.lastRawMoveEventInfo, this.transformPagePoint));- let e = fy(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Jte(e.offset, {+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = qv(this.lastRawMoveEventInfo, this.transformPagePoint));+ let e = Yv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = fne(e.offset, {x: 0,y: 0}) >= this.distanceThreshold;@@ -19246,33 +19249,33 @@ var cy = /*#__PURE__*/ new Set(["auto", "scroll"]), ly = class {let { onStart: i, onMove: a } = this.handlers;t || (i && i(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a && a(this.lastMoveEvent, e);}, this.handlePointerMove = (e, t) => {- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = uy(t, this.transformPagePoint), this.hasPendingMove = !0, cf.update(this.updatePoint, !0);+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = qv(t, this.transformPagePoint), this.hasPendingMove = !0, lf.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 = fy(e.type === "pointercancel" ? this.lastMoveEventInfo : uy(t, this.transformPagePoint), this.history);+ let a = Yv(e.type === "pointercancel" ? this.lastMoveEventInfo : qv(t, this.transformPagePoint), this.history);this.startEvent && n && n(e, a), r && r(e, a);- }, !Lg(e)) return;+ }, !Pg(e)) return;this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;- let s = uy(iy(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = Bu;+ let s = qv(Vv(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = Bu;this.history = [{...c,timestamp: l}];let { onSessionStart: u } = t;- u && u(e, fy(s, this.history));+ u && u(e, Yv(s, this.history));let d = {passive: !0,capture: !0};- this.removeListeners = pu(ay(this.contextWindow, "pointermove", this.handlePointerMove, d), ay(this.contextWindow, "pointerup", this.handlePointerUp, d), ay(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);+ this.removeListeners = pu(Hv(this.contextWindow, "pointermove", this.handlePointerMove, d), Hv(this.contextWindow, "pointerup", this.handlePointerUp, d), Hv(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);}startScrollTracking(e) {let t = e.parentElement;for (; t;) {let e = getComputedStyle(t);- (cy.has(e.overflowX) || cy.has(e.overflowY)) && this.scrollPositions.set(t, {+ (Gv.has(e.overflowX) || Gv.has(e.overflowY)) && this.scrollPositions.set(t, {x: t.scrollLeft,y: t.scrollTop}), t = t.parentElement;@@ -19297,44 +19300,44 @@ var cy = /*#__PURE__*/ new Set(["auto", "scroll"]), ly = 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), cf.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), lf.update(this.updatePoint, !0));}updateHandlers(e) {this.handlers = e;}end() {- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), lf(this.updatePoint);+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), uf(this.updatePoint);}};-function uy(e, t) {+function qv(e, t) {return t ? { point: t(e.point) } : e;}-function dy(e, t) {+function Jv(e, t) {return {x: e.x - t.x,y: e.y - t.y};}-function fy({ point: e }, t) {+function Yv({ point: e }, t) {return {point: e,- delta: dy(e, py(t)),- offset: dy(e, Yte(t)),- velocity: Xte(t, .1)+ delta: Jv(e, Xv(t)),+ offset: Jv(e, pne(t)),+ velocity: mne(t, .1)};}-function Yte(e) {+function pne(e) {return e[0];}-function py(e) {+function Xv(e) {return e[e.length - 1];}-function Xte(e, t) {+function mne(e, t) {if (e.length < 2) return {x: 0,y: 0};- let n = e.length - 1, r = null, i = py(e);+ let n = e.length - 1, r = null, i = Xv(e);for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ gu(t)));) n--;if (!r) return {x: 0,@@ -19354,66 +19357,66 @@ function Xte(e, t) {}//#endregion//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs-function Zte(e, { min: t, max: n }, r) {- return t !== void 0 && e < t ? e = r ? Bd(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Bd(n, e, r.max) : Math.min(e, n)), e;+function hne(e, { min: t, max: n }, r) {+ return t !== void 0 && e < t ? e = r ? Vd(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Vd(n, e, r.max) : Math.min(e, n)), e;}-function my(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 Qte(e, { top: t, left: n, bottom: r, right: i }) {+function gne(e, { top: t, left: n, bottom: r, right: i }) {return {- x: my(e.x, n, i),- y: my(e.y, t, r)+ x: Zv(e.x, n, i),+ y: Zv(e.y, t, r)};}-function hy(e, t) {+function Qv(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 $te(e, t) {+function _ne(e, t) {return {- x: hy(e.x, t.x),- y: hy(e.y, t.y)+ x: Qv(e.x, t.x),+ y: Qv(e.y, t.y)};}-function gy(e, t) {- let n = .5, r = j_(e), i = j_(t);+function vne(e, t) {+ let n = .5, r = D_(e), i = D_(t);return i > r ? n = /* @__PURE__ */ mu(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ mu(e.min, e.max - i, t.min)), ou(0, 1, n);}-function _y(e, t) {+function yne(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 vy = .35;-function yy(e = vy) {- return e === !1 ? e = 0 : e === !0 && (e = vy), {- x: by(e, "left", "right"),- y: by(e, "top", "bottom")+var $v = .35;+function bne(e = $v) {+ return e === !1 ? e = 0 : e === !0 && (e = $v), {+ x: ey(e, "left", "right"),+ y: ey(e, "top", "bottom")};}-function by(e, t, n) {+function ey(e, t, n) {return {- min: xy(e, t),- max: xy(e, n)+ min: ty(e, t),+ max: ty(e, n)};}-function xy(e, t) {+function ty(e, t) {return typeof e == "number" ? e : e[t] || 0;}//#endregion//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs-var Sy = /* @__PURE__ */ new WeakMap(), Cy = class {+var xne = /* @__PURE__ */ new WeakMap(), Sne = class {constructor(e) {this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {x: 0,y: 0- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = t_(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = $g(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;}start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {let { presenceContext: r } = this.visualElement;@@ -19422,18 +19425,18 @@ var Sy = /* @__PURE__ */ new WeakMap(), Cy = 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 = lee(n), !this.openDragLock)) return;- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), $_((e) => {+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = pee(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), U_((e) => {let t = this.getAxisMotionValue(e).get() || 0;if (fd.test(t)) {let { projection: n } = this.visualElement;if (n && n.layout) {let r = n.layout.layoutBox[e];- r && (t = j_(r) * (parseFloat(t) / 100));+ r && (t = D_(r) * (parseFloat(t) / 100));}}this.originPoint[e] = t;- }), i && cf.update(() => i(e, t), !1, !0), _h(this.visualElement, "transform");+ }), i && lf.update(() => i(e, t), !1, !0), vh(this.visualElement, "transform");let { animationState: a } = this.visualElement;a && a.setActive("whileDrag", !0);}, o = (e, t) => {@@ -19441,7 +19444,7 @@ var Sy = /* @__PURE__ */ new WeakMap(), Cy = class {let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();if (!n && !this.openDragLock) return;let { offset: o } = t;- r && this.currentDirection === null ? (this.currentDirection = ene(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && cf.update(() => a(e, t), !1, !0));+ r && this.currentDirection === null ? (this.currentDirection = wne(o), this.currentDirection !== null && i && i(this.currentDirection)) : (this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && lf.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 = () => {@@ -19451,7 +19454,7 @@ var Sy = /* @__PURE__ */ new WeakMap(), Cy = class {y: 0});}, { dragSnapToOrigin: l } = this.getProps();- this.panSession = new ly(e, {+ this.panSession = new Kv(e, {onSessionStart: i,onStart: a,onMove: o,@@ -19461,7 +19464,7 @@ var Sy = /* @__PURE__ */ new WeakMap(), Cy = class {transformPagePoint: this.visualElement.getTransformPagePoint(),dragSnapToOrigin: l,distanceThreshold: n,- contextWindow: oy(this.visualElement),+ contextWindow: Uv(this.visualElement),element: this.visualElement.current});}@@ -19471,7 +19474,7 @@ var Sy = /* @__PURE__ */ new WeakMap(), Cy = class {let { velocity: a } = r;this.startAnimation(a);let { onDragEnd: o } = this.getProps();- o && cf.postRender(() => o(n, r));+ o && lf.postRender(() => o(n, r));}cancel() {this.isDragging = !1;@@ -19485,32 +19488,32 @@ var Sy = /* @__PURE__ */ new WeakMap(), Cy = class {}updateAxis(e, t, n) {let { drag: r } = this.getProps();- if (!n || !Ey(e, r, this.currentDirection)) return;+ if (!n || !ry(e, r, this.currentDirection)) return;let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];- this.constraints && this.constraints[e] && (a = Zte(a, this.constraints[e], this.elastic[e])), i.set(a);+ this.constraints && this.constraints[e] && (a = hne(a, this.constraints[e], this.elastic[e])), i.set(a);}resolveConstraints() {let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;- e && ty(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Qte(n.layoutBox, e) : !1, this.elastic = yy(t), r !== this.constraints && !ty(e) && n && this.constraints && !this.hasMutatedConstraints && $_((e) => {- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = _y(n.layoutBox[e], this.constraints[e]));+ e && Rv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? gne(n.layoutBox, e) : !1, this.elastic = bne(t), r !== this.constraints && !Rv(e) && n && this.constraints && !this.hasMutatedConstraints && U_((e) => {+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = yne(n.layoutBox[e], this.constraints[e]));});}resolveRefConstraints() {let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();- if (!e || !ty(e)) return !1;+ if (!e || !Rv(e)) return !1;let n = e.current, { projection: r } = this.visualElement;if (!r || !r.layout) return !1;r.root && (r.root.scroll = void 0, r.root.updateScroll());- let i = Eg(n, r.root, this.visualElement.getTransformPagePoint()), a = $te(r.layout.layoutBox, i);+ let i = lee(n, r.root, this.visualElement.getTransformPagePoint()), a = _ne(r.layout.layoutBox, i);if (t) {let e = t(oee(a));- this.hasMutatedConstraints = !!e, e && (a = cg(e));+ this.hasMutatedConstraints = !!e, e && (a = lg(e));}return a;}startAnimation(e) {- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = $_((o) => {- if (!Ey(o, t, this.currentDirection)) return;+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = U_((o) => {+ if (!ry(o, t, this.currentDirection)) return;let c = s && s[o] || {};(a === !0 || a === o) && (c = {min: 0,@@ -19533,10 +19536,10 @@ var Sy = /* @__PURE__ */ new WeakMap(), Cy = class {}startAxisValueAnimation(e, t) {let n = this.getAxisMotionValue(e);- return _h(this.visualElement, e), n.start(nh(e, n, 0, t, this.visualElement, !1));+ return vh(this.visualElement, e), n.start(rh(e, n, 0, t, this.visualElement, !1));}stopAnimation() {- $_((e) => this.getAxisMotionValue(e).stop());+ U_((e) => this.getAxisMotionValue(e).stop());}getAxisMotionValue(e) {let t = `_drag${e.toUpperCase()}`;@@ -19547,49 +19550,49 @@ var Sy = /* @__PURE__ */ new WeakMap(), Cy = class {x: e,y: t}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();- $_((e) => {- if (!Ey(e, n, this.currentDirection)) return;+ U_((e) => {+ if (!ry(e, n, this.currentDirection)) return;let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];- t.set((t.get() || 0) + i[e] - Bd(r, o, .5));+ t.set((t.get() || 0) + i[e] - Vd(r, o, .5));});}scalePositionWithinConstraints() {if (!this.visualElement.current) return;let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;- if (!ty(t) || !n || !this.constraints) return;+ if (!Rv(t) || !n || !this.constraints) return;this.stopAnimation();let r = this.constraints, i = {x: 0,y: 0};- $_((e) => {+ U_((e) => {let t = this.getAxisMotionValue(e).get();- i[e] = gy({+ i[e] = vne({min: t,max: t}, r[e]);});let { transformTemplate: a } = this.visualElement.getProps();- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), $_((t) => {+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), U_((t) => {let n = this.getAxisMotionValue(t);- if (!Ey(t, e, null) || !n.get()) return;+ if (!ry(t, e, null) || !n.get()) return;let { min: r, max: a } = this.constraints[t];- n.set(Bd(r, a, i[t]));+ n.set(Vd(r, a, i[t]));}), this.visualElement.render();}addListeners() {if (!this.visualElement.current) return;- Sy.set(this.visualElement, this);- let e = this.visualElement.current, t = ay(e, "pointerdown", (t) => {- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && hee(i);+ xne.set(this.visualElement, this);+ let e = this.visualElement.current, t = Hv(e, "pointerdown", (t) => {+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && yee(i);n && r && !a && this.start(t);}), n, r = () => {let { dragConstraints: t } = this.getProps();- ty(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Ty(e, t.current, () => this.scalePositionWithinConstraints()));+ Rv(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Cne(e, t.current, () => this.scalePositionWithinConstraints()));}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), cf.read(r);- let o = fv(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {- this.isDragging && t && ($_((t) => {+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), lf.read(r);+ let o = X_(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {+ this.isDragging && t && (U_((t) => {let n = this.getAxisMotionValue(t);n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));}), this.visualElement.render());@@ -19599,7 +19602,7 @@ var Sy = /* @__PURE__ */ new WeakMap(), Cy = class {};}getProps() {- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = vy, dragMomentum: o = !0 } = e;+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = $v, dragMomentum: o = !0 } = e;return {...e,drag: t,@@ -19611,30 +19614,30 @@ var Sy = /* @__PURE__ */ new WeakMap(), Cy = class {};}};-function wy(e) {+function ny(e) {let t = !0;return () => {t ? t = !1 : e();};}-function Ty(e, t, n) {- let r = Yg(e, wy(n)), i = Yg(t, wy(n));+function Cne(e, t, n) {+ let r = qg(e, ny(n)), i = qg(t, ny(n));return () => {r(), i();};}-function Ey(e, t, n) {+function ry(e, t, n) {return (t === !0 || t === e) && (n === null || n === e);}-function ene(e, t = 10) {+function wne(e, t = 10) {let n = null;return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;}//#endregion//#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs-var tne = class extends g_ {+var Tne = class extends m_ {constructor(e) {- super(e), this.removeGroupControls = fu, this.removeListeners = fu, this.controls = new Cy(e);+ super(e), this.removeGroupControls = fu, this.removeListeners = fu, this.controls = new Sne(e);}mount() {let { dragControls: e } = this.node.getProps();@@ -19647,31 +19650,31 @@ var tne = class extends g_ {unmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, Dy = (e) => (t, n) => {- e && cf.update(() => e(t, n), !1, !0);-}, nne = class extends g_ {+}, iy = (e) => (t, n) => {+ e && lf.update(() => e(t, n), !1, !0);+}, Ene = class extends m_ {constructor() {super(...arguments), this.removePointerDownListener = fu;}onPointerDown(e) {- this.session = new ly(e, this.createPanHandlers(), {+ this.session = new Kv(e, this.createPanHandlers(), {transformPagePoint: this.node.getTransformPagePoint(),- contextWindow: oy(this.node)+ contextWindow: Uv(this.node)});}createPanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: Dy(e),- onStart: Dy(t),- onMove: Dy(n),+ onSessionStart: iy(e),+ onStart: iy(t),+ onMove: iy(n),onEnd: (e, t) => {- delete this.session, r && cf.postRender(() => r(e, t));+ delete this.session, r && lf.postRender(() => r(e, t));}};}mount() {- this.removePointerDownListener = ay(this.node.current, "pointerdown", (e) => this.onPointerDown(e));+ this.removePointerDownListener = Hv(this.node.current, "pointerdown", (e) => this.onPointerDown(e));}update() {this.session && this.session.updateHandlers(this.createPanHandlers());@@ -19679,36 +19682,36 @@ var tne = class extends g_ {unmount() {this.removePointerDownListener(), this.session && this.session.end();}-}, Oy = !1, rne = class extends D.Component {+}, ay = !1, Dne = class extends D.Component {componentDidMount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), Oy && i.root.didUpdate(), i.addEventListener("animationComplete", () => {+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), ay && i.root.didUpdate(), i.addEventListener("animationComplete", () => {this.safeToRemove();}), i.setOptions({...i.options,layoutDependency: this.props.layoutDependency,onExitComplete: () => this.safeToRemove()- })), mv.hasEverUpdated = !0;+ })), ev.hasEverUpdated = !0;}getSnapshotBeforeUpdate(e) {let { layoutDependency: t, visualElement: n, drag: r, isPresent: i } = this.props, { projection: a } = n;return a && (a.isPresent = i, e.layoutDependency !== t && a.setOptions({...a.options,layoutDependency: t- }), Oy = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || cf.postRender(() => {+ }), ay = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || lf.postRender(() => {let e = a.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(), Mg.postRender(() => {+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), kg.postRender(() => {!n.currentAnimation && n.isLead() && this.safeToRemove();}));}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- Oy = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));+ ay = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));}safeToRemove() {let { safeToRemove: e } = this.props;@@ -19718,41 +19721,41 @@ var tne = class extends g_ {return null;}};-function ky(e) {- let [t, n] = Pv(), r = (0, D.useContext)(eu);- return (0, O.jsx)(rne, {+function oy(e) {+ let [t, n] = bv(), r = (0, D.useContext)(eu);+ return (0, O.jsx)(Dne, {...e,layoutGroup: r,- switchLayoutGroup: (0, D.useContext)(ey),+ switchLayoutGroup: (0, D.useContext)(Lv),isPresent: t,safeToRemove: n});}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs-var ine = {- pan: { Feature: nne },+var One = {+ pan: { Feature: Ene },drag: {- Feature: tne,- ProjectionNode: jv,- MeasureLayout: ky+ Feature: Tne,+ ProjectionNode: _v,+ MeasureLayout: oy}};//#endregion//#region node_modules/framer-motion/dist/es/gestures/hover.mjs-function Ay(e, t, n) {+function sy(e, t, n) {let { props: r } = e;e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");let i = r["onHover" + n];- i && cf.postRender(() => i(t, iy(t)));+ i && lf.postRender(() => i(t, Vv(t)));}-var ane = class extends g_ {+var kne = class extends m_ {mount() {let { current: e } = this.node;- e && (this.unmount = dee(e, (e, t) => (Ay(this.node, t, "Start"), (e) => Ay(this.node, e, "End"))));+ e && (this.unmount = hee(e, (e, t) => (sy(this.node, t, "Start"), (e) => sy(this.node, e, "End"))));}unmount() {}-}, one = class extends g_ {+}, Ane = class extends m_ {constructor() {super(...arguments), this.isActive = !1;}@@ -19769,57 +19772,57 @@ var ane = class extends g_ {this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);}mount() {- this.unmount = pu(fv(this.node.current, "focus", () => this.onFocus()), fv(this.node.current, "blur", () => this.onBlur()));+ this.unmount = pu(X_(this.node.current, "focus", () => this.onFocus()), X_(this.node.current, "blur", () => this.onBlur()));}unmount() {}};//#endregion//#region node_modules/framer-motion/dist/es/gestures/press.mjs-function jy(e, t, n) {+function cy(e, t, n) {let { props: r } = e;if (e.current instanceof HTMLButtonElement && e.current.disabled) return;e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");let i = r["onTap" + (n === "End" ? "" : n)];- i && cf.postRender(() => i(t, iy(t)));+ i && lf.postRender(() => i(t, Vv(t)));}-var sne = class extends g_ {+var jne = class extends m_ {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = _ee(e, (e, t) => (jy(this.node, t, "Start"), (e, { success: t }) => jy(this.node, e, t ? "End" : "Cancel")), {+ this.unmount = xee(e, (e, t) => (cy(this.node, t, "Start"), (e, { success: t }) => cy(this.node, e, t ? "End" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, My = /* @__PURE__ */ new WeakMap(), Ny = /* @__PURE__ */ new WeakMap(), cne = (e) => {- let t = My.get(e.target);+}, ly = /* @__PURE__ */ new WeakMap(), uy = /* @__PURE__ */ new WeakMap(), dy = (e) => {+ let t = ly.get(e.target);t && t(e);-}, lne = (e) => {- e.forEach(cne);+}, fy = (e) => {+ e.forEach(dy);};-function une({ root: e, ...t }) {+function py({ root: e, ...t }) {let n = e || document;- Ny.has(n) || Ny.set(n, {});- let r = Ny.get(n), i = JSON.stringify(t);- return r[i] || (r[i] = new IntersectionObserver(lne, {+ uy.has(n) || uy.set(n, {});+ let r = uy.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(fy, {root: e,...t})), r[i];}-function dne(e, t, n) {- let r = une(t);- return My.set(e, n), r.observe(e), () => {- My.delete(e), r.unobserve(e);+function my(e, t, n) {+ let r = py(t);+ return ly.set(e, n), r.observe(e), () => {+ ly.delete(e), r.unobserve(e);};}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs-var fne = {+var hy = {some: 0,all: 1-}, pne = class extends g_ {+}, gy = class extends m_ {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -19828,7 +19831,7 @@ var fne = {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 : fne[r]+ threshold: typeof r == "number" ? r : hy[r]}, o = (e) => {let { isIntersecting: t } = e;if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;@@ -19836,7 +19839,7 @@ var fne = {let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;a && a(e);};- this.stopObserver = dne(this.node.current, a, o);+ this.stopObserver = my(this.node.current, a, o);}mount() {this.startObserver();@@ -19848,89 +19851,89 @@ var fne = {"amount","margin","root"- ].some(mne(e, t)) && this.startObserver();+ ].some(_y(e, t)) && this.startObserver();}unmount() {this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;}};-function mne({ viewport: e = {} }, { viewport: t = {} } = {}) {+function _y({ viewport: e = {} }, { viewport: t = {} } = {}) {return (n) => e[n] !== t[n];}//#endregion//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs-var hne = {- inView: { Feature: pne },- tap: { Feature: sne },- focus: { Feature: one },- hover: { Feature: ane }-}, gne = { layout: {- ProjectionNode: jv,- MeasureLayout: ky-} }, _ne = /*@__PURE__*/ Hte({- ...Kte,- ...hne,- ...ine,- ...gne-}, Ute);+var vy = {+ inView: { Feature: gy },+ tap: { Feature: jne },+ focus: { Feature: Ane },+ hover: { Feature: kne }+}, yy = { layout: {+ ProjectionNode: _v,+ MeasureLayout: oy+} }, by = /*@__PURE__*/ one({+ ...une,+ ...vy,+ ...One,+ ...yy+}, sne);//#endregion//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function Py() {- !u_.current && d_();- let [e] = (0, D.useState)(l_.current);+function xy() {+ !c_.current && l_();+ let [e] = (0, D.useState)(s_.current);return e;}//#endregion//#region node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function Fy(e) {+function Sy(e) {return typeof e == "object" && !Array.isArray(e);}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function Iy(e, t, n, r) {- return e == null ? [] : typeof e == "string" && Fy(t) ? Kh(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function Cy(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && Sy(t) ? qh(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs-function vne(e, t, n) {+function wy(e, t, n) {return e * (t + 1) + n * t;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function Ly(e, t, n, r) {+function Ty(e, t, n, r) {return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs-function yne(e, t, n) {+function Ey(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];i.at > t && i.at < n && (au(e, i), r--);}}-function bne(e, t, n, r, i, a) {- yne(e, i, a);+function Dy(e, t, n, r, i, a) {+ Ey(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],- at: Bd(i, a, r[o]),+ at: Vd(i, a, r[o]),easing: /* @__PURE__ */ Fu(n, o)});}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs-function xne(e, t, n = 0) {+function Oy(e, t, n = 0) {let r = t + 1 + t * n;for (let t = 0; t < e.length; t++) e[t] = e[t] / r;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs-function Sne(e, t) {+function ky(e, t) {return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;}//#endregion//#region node_modules/framer-motion/dist/es/animation/sequence/create.mjs-var Cne = "easeInOut", Ry = 20;-function wne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {+var Mne = "easeInOut", Ay = 20;+function Nne(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];@@ -19939,16 +19942,16 @@ function wne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {continue;}if (!Array.isArray(o)) {- l.set(o.name, Ly(d, o.at, u, l));+ l.set(o.name, Ty(d, o.at, u, l));continue;}let [p, m, h = {}] = o;- h.at !== void 0 && (d = Ly(d, h.at, u, l));+ h.at !== void 0 && (d = Ty(d, h.at, u, l));let g = 0, _ = (e, n, r, o = 0, s = 0) => {- let c = Tne(e), { delay: l = 0, times: u = Mf(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = Zp(p) ? p : i?.[p || "keyframes"];+ let c = Pne(e), { delay: l = 0, times: u = Nf(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 = Qp(p) ? p : i?.[p || "keyframes"];if (S <= 2 && C) {let e = 100;- if (S === 2 && One(c)) {+ if (S === 2 && Lne(c)) {let t = c[1] - c[0];e = Math.abs(t);}@@ -19957,16 +19960,16 @@ function wne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {...v};b !== void 0 && (n.duration = /* @__PURE__ */ gu(b));- let r = hf(n, e, C);+ let r = gf(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 && jf(u, T), c.length === 1 && c.unshift(null), m && `${m}${Ry}`, m && m < Ry) {+ if (T > 0 && Mf(u, T), c.length === 1 && c.unshift(null), m && `${m}${Ay}`, m && m < Ay) {let e = b > 0 ? _ / b : 0;- b = vne(b, m, _);+ b = wy(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;@@ -19976,20 +19979,20 @@ function wne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {e > 0 && (c.push(c[c.length - 1]), u.push(p), y.push("linear")), c.push(...d);for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ Fu(f, e - 1));}- xne(u, m, e);+ Oy(u, m, e);}let E = w + b;- bne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);+ Dy(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);};- if (hh(p)) {- let e = zy(p, s);- _(m, h, By("default", e));+ if (gh(p)) {+ let e = jy(p, s);+ _(m, h, My("default", e));} else {- let e = Iy(p, m, r, c), t = e.length;+ let e = Cy(p, m, r, c), t = e.length;for (let n = 0; n < t; n++) {m = m, h = h;- let r = e[n], i = zy(r, s);- for (let e in m) _(m[e], Ene(h, e), By(e, i), n, t);+ let r = e[n], i = jy(r, s);+ for (let e in m) _(m[e], Fne(h, e), My(e, i), n, t);}}u = d, d += g;@@ -19997,13 +20000,13 @@ function wne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {return s.forEach((e, r) => {for (let i in e) {let a = e[i];- a.sort(Sne);+ a.sort(ky);let s = [], c = [], l = [];for (let e = 0; e < a.length; e++) {let { at: t, value: n, easing: r } = a[e];s.push(n), c.push(/* @__PURE__ */ mu(0, f, t)), l.push(r || "easeOut");}- c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Cne)), 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(Mne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {keyframes: {},transition: {}});@@ -20020,47 +20023,47 @@ function wne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {}}), o;}-function zy(e, t) {+function jy(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function By(e, t) {+function My(e, t) {return t[e] || (t[e] = []), t[e];}-function Tne(e) {+function Pne(e) {return Array.isArray(e) ? e : [e];}-function Ene(e, t) {+function Fne(e, t) {return e && e[t] ? {...e,...e[t]} : { ...e };}-var Dne = (e) => typeof e == "number", One = (e) => e.every(Dne);+var Ine = (e) => typeof e == "number", Lne = (e) => e.every(Ine);//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/subject.mjs-function kne(e, t) {- return hh(e) || typeof e == "number" || typeof e == "string" && !Fy(t);+function Rne(e, t) {+ return gh(e) || typeof e == "number" || typeof e == "string" && !Sy(t);}-function Vy(e, t, n, r) {+function Ny(e, t, n, r) {let i = [];- if (kne(e, t)) i.push(dv(e, Fy(t) && t.default || t, n && (n.default || n)));+ if (Rne(e, t)) i.push(Y_(e, Sy(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = Iy(e, t, r), o = a.length;+ let a = Cy(e, t, r), o = a.length;for (let e = 0; e < o; e++) {let r = a[e], s = { ...n };- "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...Ag(r, t, s, n_.get(r))) : i.push(...Hh(Bh(r) ?? jg, r, t, s));+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...Dg(r, t, s, e_.get(r))) : i.push(...Uh(Vh(r) ?? Og, r, t, s));}}return i;}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/sequence.mjs-function Ane(e, t, n) {+function zne(e, t, n) {let r = [];- return wne(e.map((e) => {+ return Nne(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {- let t = e[0], n = Km(0);+ let t = e[0], n = qm(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [n,[0, 1],@@ -20072,57 +20075,57 @@ function Ane(e, t, n) {];}return e;- }), t, n, { spring: Df }).forEach(({ keyframes: e, transition: t }, n) => {- r.push(...Vy(n, e, t));+ }), t, n, { spring: Of }).forEach(({ keyframes: e, transition: t }, n) => {+ r.push(...Ny(n, e, t));}), r;}//#endregion//#region node_modules/framer-motion/dist/es/animation/animate/index.mjs-function jne(e) {+function Bne(e) {return Array.isArray(e) && e.some(Array.isArray);}-function Mne(e = {}) {+function Vne(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {let o = [], s, c = {};- if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), jne(e)) {+ if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), Bne(e)) {let { onComplete: n, ...r } = i || {};- typeof n == "function" && (s = n), o = Ane(e, {+ typeof n == "function" && (s = n), o = zne(e, {...c,...r}, t);} else {let { onComplete: n, ...r } = a || {};- typeof n == "function" && (s = n), o = Vy(e, i, {+ typeof n == "function" && (s = n), o = Ny(e, i, {...c,...r}, t);}- let l = new Lm(o);+ let l = new Rm(o);return s && l.finished.then(s), t && (t.animations.push(l), l.finished.then(() => {au(t.animations, l);})), l;}return i;}-var Nne = Object.assign(Mne(), {- addEffect: Rh,- removeEffect: zh+var Hne = Object.assign(Vne(), {+ addEffect: zh,+ removeEffect: Bh});//#endregion//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function Pne(e, t, n, r) {+function Une(e, t, n, r) {if (e == null) return [];- let i = Kh(e, r), a = i.length, o = [];+ let i = qh(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {let r = i[e], s = { ...n };typeof s.delay == "function" && (s.delay = s.delay(e, a));for (let e in t) {let n = t[e];Array.isArray(n) || (n = [n]);- let i = { ...Jm(s, e) };+ let i = { ...Ym(s, e) };i.duration &&= /* @__PURE__ */ gu(i.duration), i.delay &&= /* @__PURE__ */ gu(i.delay);- let a = Bm(r), c = zm(e, i.pseudoElement || ""), l = a.get(c);+ let a = Vm(r), c = Bm(e, i.pseudoElement || ""), l = a.get(c);l && l.stop(), o.push({map: a,key: c,@@ -20138,21 +20141,21 @@ function Pne(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] = Ug(r, i)), up(t), Ih(t, i), !a && t.length < 2 && t.unshift(Ug(r, i)), n.keyframes = t;+ !a && t[0] === null && (t[0] = Bg(r, i)), dp(t), Lh(t, i), !a && t.length < 2 && t.unshift(Bg(r, i)), n.keyframes = t;}let s = [];for (let e = 0; e < o.length; e++) {- let { map: t, key: n, options: r } = o[e], i = new $p(r);+ let { map: t, key: n, options: r } = o[e], i = new em(r);t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);}return s;}-var Fne = /*@__PURE__*/ ((e) => {+var Wne = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new Lm(Pne(t, n, r, e));+ return new Rm(Une(t, n, r, e));}return t;-})(), Hy = _ne, Uy = class {+})(), Py = by, Fy = 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;}@@ -20167,22 +20170,22 @@ var Fne = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, Wy = class extends Uy {+}, Iy = class extends Fy {filter(e, t, n) {- let [r, i] = Jy(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = By(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends Uy {+(class extends Fy {static {this.type = "header";}});-var Gy = class extends Uy {+var Ly = class extends Fy {static {this.type = "loader";}-}, Ky = class extends Wy {+}, Ry = class extends Iy {static {this.type = "item";}@@ -20193,7 +20196,7 @@ var Gy = class extends Uy {}return null;}-}, Ine = class extends Wy {+}, Gne = class extends Iy {static {this.type = "section";}@@ -20205,7 +20208,7 @@ var Gy = class extends Uy {}return null;}-}, qy = class {+}, zy = class {get size() {return this.itemCount;}@@ -20280,14 +20283,14 @@ var Gy = class extends Uy {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = Jy(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = By(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 Jy(e, t, n, r) {+function By(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -20302,7 +20305,7 @@ function Jy(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/collections/Document.mjs-var Yy = class {+var Vy = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -20383,7 +20386,7 @@ var Yy = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, Xy = class e extends Yy {+}, Hy = class e extends Vy {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -20434,7 +20437,7 @@ var Yy = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, Lne = class extends Yy {+}, Kne = class extends Vy {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;}@@ -20442,7 +20445,7 @@ var Yy = class {return !0;}createElement(e) {- return new Xy(e, this);+ return new Hy(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -20464,8 +20467,8 @@ var Yy = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof Xy && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof Xy ? (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 Hy && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof Hy ? (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() {@@ -20484,13 +20487,13 @@ var Yy = class {};//#endregion//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function Zy(e) {+function Uy(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, D.useMemo)(() => void 0, [t]), s = (0, D.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, D.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = Rne(a) ? a : null, o = n ? s.get(n) : null;+ let n = qne(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -20515,7 +20518,7 @@ function Zy(e) {i]);}-function Rne(e) {+function qne(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -20525,25 +20528,25 @@ function Rne(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function Qy(e) {+function Wy(e) {e.focus({ preventScroll: !0 });}//#endregion//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs-var $y = (e) => zne(e) ? e.document : Bne(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), eb = (e) => $y(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function tb(e) {+var Gy = (e) => Jne(e) ? e.document : Yne(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Ky = (e) => Gy(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function qy(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function zne(e) {+function Jne(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function Bne(e) {- return tb(e) && e.nodeType === 9;+function Yne(e) {+ return qy(e) && e.nodeType === 9;}-function nb(e) {- return tb(e) && e.nodeType === 11 && "host" in e;+function Jy(e) {+ return qy(e) && e.nodeType === 11 && "host" in e;}-function rb(e, t, n, r) {+function Yy(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);@@ -20551,7 +20554,7 @@ function rb(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function ib(e, t, n, r) {+function Xy(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -20566,73 +20569,73 @@ function ib(e, t, n, r) {}//#endregion//#region node_modules/react-stately/dist/private/flags/flags.mjs-var Vne = !1;-function ab() {- return Vne;+var Xne = !1;+function Zy() {+ return Xne;}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function ob(e, t) {- if (!ab()) return t && e ? e.contains(t) : !1;+function Qy(e, t) {+ if (!Zy()) 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 : nb(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Jy(n) ? n.host : n.parentNode;}return !1;}-var sb = (e = document) => {- if (!ab()) return e.activeElement;+var $y = (e = document) => {+ if (!Zy()) 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 (ab() && e.target instanceof Element && e.target.shadowRoot) {+ if (Zy() && 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 cb(e, t) {+function eb(e, t) {if (t === null) return [];- t ??= eb(e);+ t ??= Ky(e);let n = [t];- if (!ab() || !e || e === t) return n;+ if (!Zy() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; nb(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; Jy(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function lb(e) {+function tb(e) {if (!e) return !1;- let t = e.getRootNode(), n = eb(e);+ let t = e.getRootNode(), n = Ky(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);}//#endregion//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var ub = typeof Element < "u" && "checkVisibility" in Element.prototype;-function db(e) {- let t = eb(e);+var Zne = typeof Element < "u" && "checkVisibility" in Element.prototype;+function Qne(e) {+ let t = Ky(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 } = eb(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = Ky(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function fb(e, t) {+function $ne(e, t) {return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);}-function pb(e, t) {- return ub ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && db(e) && fb(e, t) && (!e.parentElement || pb(e.parentElement, e));+function nb(e, t) {+ return Zne ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Qne(e) && $ne(e, t) && (!e.parentElement || nb(e.parentElement, e));}//#endregion//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs-var mb = [+var rb = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -20647,41 +20650,41 @@ var mb = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], hb = mb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-mb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var gb = mb.join(":not([hidden]):not([tabindex=\"-1\"]),");-function _b(e, t) {- return e.matches(hb) && !yb(e) && (t?.skipVisibilityCheck || pb(e));+], ere = rb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+rb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var tre = rb.join(":not([hidden]):not([tabindex=\"-1\"]),");+function ib(e, t) {+ return e.matches(ere) && !ob(e) && (t?.skipVisibilityCheck || nb(e));}-function vb(e) {- return e.matches(gb) && pb(e) && !yb(e);+function ab(e) {+ return e.matches(tre) && nb(e) && !ob(e);}-function yb(e) {+function ob(e) {let t = e;for (; t != null;) {- if (t instanceof eb(t).HTMLElement && t.inert) return !0;+ if (t instanceof Ky(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}//#endregion//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var bb = typeof document < "u" ? D.useLayoutEffect : () => {};+var sb = typeof document < "u" ? D.useLayoutEffect : () => {};//#endregion//#region node_modules/react-aria/dist/private/interactions/utils.mjs-function xb(e) {+function cb(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function Sb(e, t) {+function lb(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function Cb(e) {+function ub(e) {let t = (0, D.useRef)({isFocused: !1,observer: null});- return bb(() => {+ return sb(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);@@ -20693,14 +20696,14 @@ function Cb(e) {let n = r;n.addEventListener("focusout", (r) => {if (t.current.isFocused = !1, n.disabled) {- let t = xb(r);+ let t = cb(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 === sb() ? null : sb();+ let e = n === $y() ? null : $y();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -20713,83 +20716,83 @@ function Cb(e) {}}, [e]);}-var wb = !1;-function Tb(e) {- for (; e && !_b(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = sb(eb(e).document);+var db = !1;+function nre(e) {+ for (; e && !ib(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = $y(Ky(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && nb(n) ? n : eb(e), i = (t) => t === e || tb(t) && ob(e, t), a = (e) => e === t || t != null && tb(e) && ob(t, e);- wb = !0;+ let n = e?.getRootNode(), r = n != null && Jy(n) ? n : Ky(e), i = (t) => t === e || qy(t) && Qy(e, t), a = (e) => e === t || t != null && qy(e) && Qy(t, e);+ db = !0;let o = !1, s = (e) => {(a(G(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Qy(t), d()));+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Wy(t), d()));}, l = (e) => {(i(G(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Qy(t), d()));+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Wy(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), wb = !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), db = !1, o = !1;}, f = requestAnimationFrame(d);return d;}//#endregion//#region node_modules/react-aria/dist/private/utils/platform.mjs-function Eb(e) {+function fb(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 Db(e) {+function pb(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function Ob(e) {+function mb(e) {let t = null;return () => (t ??= e(), t);}-var kb = Ob(function() {- return Db(/^Mac/i);-}), Ab = Ob(function() {- return Db(/^iPhone/i);-}), jb = Ob(function() {- return Db(/^iPad/i) || kb() && navigator.maxTouchPoints > 1;-}), Mb = Ob(function() {- return Ab() || jb();-}), Nb = Ob(function() {- return kb() || Mb();-}), Pb = Ob(function() {- return Eb(/AppleWebKit/i) && (Mb() || !Fb());-}), Fb = Ob(function() {- return Eb(/Chrome|CriOS|CrMo/i);-}), Ib = Ob(function() {- return Eb(/Android/i);+var hb = mb(function() {+ return pb(/^Mac/i);+}), rre = mb(function() {+ return pb(/^iPhone/i);+}), gb = mb(function() {+ return pb(/^iPad/i) || hb() && navigator.maxTouchPoints > 1;+}), _b = mb(function() {+ return rre() || gb();+}), ire = mb(function() {+ return hb() || _b();+}), vb = mb(function() {+ return fb(/AppleWebKit/i) && (_b() || !yb());+}), yb = mb(function() {+ return fb(/Chrome|CriOS|CrMo/i);+}), bb = mb(function() {+ return fb(/Android/i);});//#endregion//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function Lb(e) {- return e.pointerType === "" && e.isTrusted ? !0 : Ib() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function xb(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : bb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function Rb(e) {- return !Ib() && e.width === 0 && e.height === 0 || Ib() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function are(e) {+ return !bb() && e.width === 0 && e.height === 0 || bb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";}//#endregion//#region node_modules/react-aria/dist/private/utils/openLink.mjs-var zb = /*#__PURE__*/ (0, D.createContext)({+var ore = /*#__PURE__*/ (0, D.createContext)({isNative: !0,- open: Hne,+ open: lre,useHref: (e) => e});-function Bb() {- return (0, D.useContext)(zb);+function Sb() {+ return (0, D.useContext)(ore);}-function Vb(e, t) {+function sre(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 Hb(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = Pb() && kb() && !jb() ? new KeyboardEvent("keydown", {+function Cb(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = vb() && hb() && !gb() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -20804,21 +20807,21 @@ function Hb(e, t, n = !0) {bubbles: !0,cancelable: !0});- Hb.isOpening = n, Qy(e), e.dispatchEvent(s), Hb.isOpening = !1;+ Cb.isOpening = n, Wy(e), e.dispatchEvent(s), Cb.isOpening = !1;}-Hb.isOpening = !1;-function Ub(e, t) {+Cb.isOpening = !1;+function cre(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 Hne(e, t) {- Ub(e, (e) => Hb(e, t));+function lre(e, t) {+ cre(e, (e) => Cb(e, t));}-function Wb(e) {- let t = Bb().useHref(e.href ?? "");+function wb(e) {+ let t = Sb().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -20828,8 +20831,8 @@ function Wb(e) {"data-referrer-policy": e.referrerPolicy};}-function Gb(e) {- let t = Bb().useHref(e?.href ?? ""), n = {};+function Tb(e) {+ let t = Sb().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -20840,140 +20843,140 @@ function Gb(e) {]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);return n;}-function Une(e, t, n, r) {- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Vb(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));+function ure(e, t, n, r) {+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && sre(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}//#endregion//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var Kb = {+var Eb = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, qb = /*#__PURE__*/ D.createContext(Kb), Wne = /*#__PURE__*/ D.createContext(!1);+}, Db = /*#__PURE__*/ D.createContext(Eb), dre = /*#__PURE__*/ D.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var Jb = /* @__PURE__ */ new WeakMap();-function Gne(e = !1) {- let t = (0, D.useContext)(qb), n = (0, D.useRef)(null);+var Ob = /* @__PURE__ */ new WeakMap();+function fre(e = !1) {+ let t = (0, D.useContext)(Db), n = (0, D.useRef)(null);if (n.current === null && !e) {let e = D.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = Jb.get(e);- n == null ? Jb.set(e, {+ let n = Ob.get(e);+ n == null ? Ob.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, Jb.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, Ob.delete(e));}n.current = ++t.current;}return n.current;}-function Kne(e) {- let t = (0, D.useContext)(qb), n = Gne(!!e), r = `react-aria${t.prefix}`;+function pre(e) {+ let t = (0, D.useContext)(Db), n = fre(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function qne(e) {- let t = D.useId(), [n] = (0, D.useState)(Yb()), r = n ? "react-aria" : `react-aria${Kb.prefix}`;+function mre(e) {+ let t = D.useId(), [n] = (0, D.useState)(kb()), r = n ? "react-aria" : `react-aria${Eb.prefix}`;return e || `${r}-${t}`;}-var Jne = typeof D.useId == "function" ? qne : Kne;-function Yne() {+var hre = typeof D.useId == "function" ? mre : pre;+function gre() {return !1;}-function Xne() {+function _re() {return !0;}-function Zne(e) {+function vre(e) {return () => {};}-function Yb() {- return typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore(Zne, Yne, Xne) : (0, D.useContext)(Wne);+function kb() {+ return typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore(vre, gre, _re) : (0, D.useContext)(dre);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var Xb = null, Zb = /* @__PURE__ */ new Set(), Qb = /* @__PURE__ */ new Map(), $b = !1, ex = !1, Qne = {+var Ab = null, jb = /* @__PURE__ */ new Set(), Mb = /* @__PURE__ */ new Map(), Nb = !1, Pb = !1, yre = {Tab: !0,Escape: !0};-function tx(e, t) {- for (let n of Zb) n(e, t);+function Fb(e, t) {+ for (let n of jb) n(e, t);}-function $ne(e) {- return !(e.metaKey || !kb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");+function bre(e) {+ return !(e.metaKey || !hb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");}-function nx(e) {- $b = !0, !Hb.isOpening && $ne(e) && (Xb = "keyboard", tx("keyboard", e));+function Ib(e) {+ Nb = !0, !Cb.isOpening && bre(e) && (Ab = "keyboard", Fb("keyboard", e));}-function rx(e) {- Xb = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && ($b = !0, tx("pointer", e));+function Lb(e) {+ Ab = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Nb = !0, Fb("pointer", e));}-function ix(e) {- !Hb.isOpening && Lb(e) && ($b = !0, Xb = "virtual");+function Rb(e) {+ !Cb.isOpening && xb(e) && (Nb = !0, Ab = "virtual");}-function ax(e) {- if (wb) return;- let t = G(e), n = eb(t), r = $y(t);- t === n ? ex = !0 : t !== r && e.isTrusted && (!$b && !ex && (Xb = "virtual", tx("virtual", e)), $b = !1, ex = !1);+function zb(e) {+ if (db) return;+ let t = G(e), n = Ky(t), r = Gy(t);+ t === n ? Pb = !0 : t !== r && e.isTrusted && (!Nb && !Pb && (Ab = "virtual", Fb("virtual", e)), Nb = !1, Pb = !1);}-function ox() {- wb || ($b = !1, ex = !0);+function Bb() {+ db || (Nb = !1, Pb = !0);}-function sx(e) {- let t = sb($y(G(e)));+function Vb(e) {+ let t = $y(Gy(G(e)));queueMicrotask(() => {- sb($y(G(e))) !== t && fx("keyboard");+ $y(Gy(G(e))) !== t && Kb("keyboard");});}-function cx(e) {+function Hb(e) {if (typeof window > "u" || typeof document > "u") return;- let t = eb(e), n = $y(e);- if (Qb.get(t)) return;+ let t = Ky(e), n = Gy(e);+ if (Mb.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- $b = !0, r.apply(this, arguments);+ Nb = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", nx, !0), n.addEventListener("keyup", nx, !0), n.addEventListener("click", ix, !0), n.addEventListener("invalid", sx, !0), t.addEventListener("focus", ax, !0), t.addEventListener("blur", ox, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", rx, !0), n.addEventListener("pointermove", rx, !0), n.addEventListener("pointerup", rx, !0)), t.addEventListener("beforeunload", () => {- lx(e);- }, { once: !0 }), Qb.set(t, { focus: r });+ }), n.addEventListener("keydown", Ib, !0), n.addEventListener("keyup", Ib, !0), n.addEventListener("click", Rb, !0), n.addEventListener("invalid", Vb, !0), t.addEventListener("focus", zb, !0), t.addEventListener("blur", Bb, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Lb, !0), n.addEventListener("pointermove", Lb, !0), n.addEventListener("pointerup", Lb, !0)), t.addEventListener("beforeunload", () => {+ Ub(e);+ }, { once: !0 }), Mb.set(t, { focus: r });}-var lx = (e, t) => {- let n = eb(e), r = $y(e);- t && r.removeEventListener("DOMContentLoaded", t), Qb.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var Ub = (e, t) => {+ let n = Ky(e), r = Gy(e);+ t && r.removeEventListener("DOMContentLoaded", t), Mb.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: Qb.get(n).focus- }), r.removeEventListener("keydown", nx, !0), r.removeEventListener("keyup", nx, !0), r.removeEventListener("click", ix, !0), r.removeEventListener("invalid", sx, !0), n.removeEventListener("focus", ax, !0), n.removeEventListener("blur", ox, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", rx, !0), r.removeEventListener("pointermove", rx, !0), r.removeEventListener("pointerup", rx, !0)), Qb.delete(n));+ value: Mb.get(n).focus+ }), r.removeEventListener("keydown", Ib, !0), r.removeEventListener("keyup", Ib, !0), r.removeEventListener("click", Rb, !0), r.removeEventListener("invalid", Vb, !0), n.removeEventListener("focus", zb, !0), n.removeEventListener("blur", Bb, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Lb, !0), r.removeEventListener("pointermove", Lb, !0), r.removeEventListener("pointerup", Lb, !0)), Mb.delete(n));};-function ere(e) {- let t = $y(e), n;+function xre(e) {+ let t = Gy(e), n;return t.readyState === "loading" ? (n = () => {- cx(e);- }, t.addEventListener("DOMContentLoaded", n)) : cx(e), () => lx(e, n);+ Hb(e);+ }, t.addEventListener("DOMContentLoaded", n)) : Hb(e), () => Ub(e, n);}-typeof document < "u" && ere();-function ux() {- return Xb !== "pointer";+typeof document < "u" && xre();+function Wb() {+ return Ab !== "pointer";}-function dx() {- return Xb;+function Gb() {+ return Ab;}-function fx(e) {- Xb = e, tx(e, null);+function Kb(e) {+ Ab = e, Fb(e, null);}-function px() {- cx();- let [e, t] = (0, D.useState)(Xb);+function qb() {+ Hb();+ let [e, t] = (0, D.useState)(Ab);return (0, D.useEffect)(() => {let e = () => {- t(Xb);+ t(Ab);};- return Zb.add(e), () => {- Zb.delete(e);+ return jb.add(e), () => {+ jb.delete(e);};- }, []), Yb() ? null : e;+ }, []), kb() ? null : e;}-var tre = /* @__PURE__ */ new Set([+var Sre = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -20984,90 +20987,90 @@ var tre = /* @__PURE__ */ new Set(["submit","reset"]);-function nre(e, t, n) {- let r = n ? G(n) : void 0, i = $y(r), a = eb(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 = sb(i);- return e = e || u instanceof o && !tre.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Qne[n.key]);+function Cre(e, t, n) {+ let r = n ? G(n) : void 0, i = Gy(r), a = Ky(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 = $y(i);+ return e = e || u instanceof o && !Sre.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !yre[n.key]);}-function mx(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, D.useState)(n || ux());- return hx((e) => {+function Jb(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, D.useState)(n || Wb());+ return Yb((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function hx(e, t, n) {- cx(), (0, D.useEffect)(() => {+function Yb(e, t, n) {+ Hb(), (0, D.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- nre(!!n?.isTextInput, t, r) && e(ux());+ Cre(!!n?.isTextInput, t, r) && e(Wb());};- return Zb.add(t), () => {- Zb.delete(t);+ return jb.add(t), () => {+ jb.delete(t);};}, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var gx = /* @__PURE__ */ new Map(), _x = /* @__PURE__ */ new Set();-function vx(e) {+var Xb = /* @__PURE__ */ new Map(), Zb = /* @__PURE__ */ new Set();+function Qb(e) {return "propertyName" in e;}-function rre(e) {+function wre(e) {let t = G(e);- if (!vx(e) || !t) return;- let n = gx.get(t);- n || (n = /* @__PURE__ */ new Set(), gx.set(t, n), t.addEventListener("transitioncancel", yx, { once: !0 })), n.add(e.propertyName);+ if (!Qb(e) || !t) return;+ let n = Xb.get(t);+ n || (n = /* @__PURE__ */ new Set(), Xb.set(t, n), t.addEventListener("transitioncancel", $b, { once: !0 })), n.add(e.propertyName);}-function yx(e) {+function $b(e) {let t = G(e);- if (!vx(e) || !t) return;- let n = gx.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", yx), gx.delete(t)), gx.size === 0)) for (let e of _x) e(!0), _x.delete(e);+ if (!Qb(e) || !t) return;+ let n = Xb.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", $b), Xb.delete(t)), Xb.size === 0)) for (let e of Zb) e(!0), Zb.delete(e);}-function bx() {- rb(document, "transitionrun", rre), rb(document, "transitionend", yx);+function ex() {+ Yy(document, "transitionrun", wre), Yy(document, "transitionend", $b);}-function ire() {- for (let [e] of gx) "isConnected" in e && !e.isConnected && gx.delete(e);+function Tre() {+ for (let [e] of Xb) "isConnected" in e && !e.isConnected && Xb.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? rb(document, "DOMContentLoaded", bx) : bx());-function xx(e) {+typeof document < "u" && (document.readyState === "loading" ? Yy(document, "DOMContentLoaded", ex) : ex());+function tx(e) {let t = window.requestAnimationFrame(() => {- if (ire(), gx.size === 0) return e(!1);- _x.add(e);+ if (Tre(), Xb.size === 0) return e(!1);+ Zb.add(e);});return () => {- window.cancelAnimationFrame(t), _x.delete(e);+ window.cancelAnimationFrame(t), Zb.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function Sx(e) {+function nx(e) {if (!e.isConnected) return;- let t = $y(e);- if (dx() === "virtual") {- let n = sb(t);- xx(() => {- let r = sb(t);- (r === n || r === t.body) && e.isConnected && Qy(e);+ let t = Gy(e);+ if (Gb() === "virtual") {+ let n = $y(t);+ tx(() => {+ let r = $y(t);+ (r === n || r === t.body) && e.isConnected && Wy(e);});- } else Qy(e);+ } else Wy(e);}//#endregion//#region node_modules/react-aria/dist/private/utils/chain.mjs-function Cx(...e) {+function rx(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}//#endregion//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function are(e) {+function Ere(e) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(t), i = (0, D.useRef)(null), a = (0, D.useRef)(() => {if (!i.current) return;let e = i.current.next();e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);});- return bb(() => {+ return sb(() => {r.current = t, i.current && a.current();}), [t, (0, D.useCallback)((e) => {i.current = e(r.current), a.current();@@ -21075,21 +21078,21 @@ function are(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useId.mjs-var ore = !!(typeof window < "u" && window.document && window.document.createElement), wx = /* @__PURE__ */ new Map(), Tx;-typeof FinalizationRegistry < "u" && (Tx = new FinalizationRegistry((e) => {- wx.delete(e);+var Dre = !!(typeof window < "u" && window.document && window.document.createElement), ix = /* @__PURE__ */ new Map(), ax;+typeof FinalizationRegistry < "u" && (ax = new FinalizationRegistry((e) => {+ ix.delete(e);}));-var Ex = /* @__PURE__ */ new WeakMap();-function Dx(e) {- let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(null), i = Jne(t), a = (0, D.useRef)(null), o = Ex.get(a);- if (Tx && o !== i && (o != null && Tx.unregister(a), Tx.register(a, i, a), Ex.set(a, i)), ore) {- let e = wx.get(i);- e && !e.includes(r) ? e.push(r) : wx.set(i, [r]);- }- return bb(() => {+var ox = /* @__PURE__ */ new WeakMap();+function sx(e) {+ let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(null), i = hre(t), a = (0, D.useRef)(null), o = ox.get(a);+ if (ax && o !== i && (o != null && ax.unregister(a), ax.register(a, i, a), ox.set(a, i)), Dre) {+ let e = ix.get(i);+ e && !e.includes(r) ? e.push(r) : ix.set(i, [r]);+ }+ return sb(() => {let e = i;return () => {- Tx && (Tx.unregister(a), Ex.delete(a)), wx.delete(e);+ ax && (ax.unregister(a), ox.delete(a)), ix.delete(e);};}, [i]), (0, D.useEffect)(() => {let e = r.current;@@ -21098,20 +21101,20 @@ function Dx(e) {};}), i;}-function sre(e, t) {+function Ore(e, t) {if (e === t) return e;- let n = wx.get(e);+ let n = ix.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = wx.get(t);+ let r = ix.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function Ox(e = []) {- let t = Dx(), [n, r] = are(t), i = (0, D.useCallback)(() => {+function cx(e = []) {+ let t = sx(), [n, r] = Ere(t), i = (0, D.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return bb(i, [+ return sb(i, [t,i,...e@@ -21119,38 +21122,38 @@ function Ox(e = []) {}//#endregion//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function kx(...e) {+function lx(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = Ax(e, t);+ let r = ux(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : Ax(e[n], null);+ typeof t == "function" ? t() : ux(e[n], null);});};};}-function Ax(e, t) {+function ux(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}//#endregion//#region node_modules/clsx/dist/clsx.mjs-function jx(e) {+function dx(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 = jx(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = dx(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function Mx() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = jx(e)) && (r && (r += " "), r += t);+function fx() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = dx(e)) && (r && (r += " "), r += t);return r;}//#endregion@@ -21161,18 +21164,18 @@ 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] = Cx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Mx(n, i) : e === "id" && n && i ? t.id = sre(n, i) : e === "ref" && n && i ? t.ref = kx(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] = rx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = fx(n, i) : e === "id" && n && i ? t.id = Ore(n, i) : e === "ref" && n && i ? t.ref = lx(n, i) : t[e] = i === void 0 ? n : i;}}return t;}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs-function Nx(e) {+function px(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, D.useCallback)((e) => {if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = Cb(a), s = (0, D.useCallback)((e) => {- let t = G(e), r = $y(t), a = r ? sb(r) : sb();+ }, [r, i]), o = ub(a), s = (0, D.useCallback)((e) => {+ let t = G(e), r = Gy(t), a = r ? $y(r) : $y();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -21186,7 +21189,7 @@ function Nx(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function Px(e) {+function mx(e) {if (e) return (t) => {let n = !0;e({@@ -21211,33 +21214,33 @@ function Px(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var cre = /* @__PURE__ */ new Set([+var kre = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), lre = [+]), Are = ["Alt","Control","Meta","Shift"];-function ure(e) {+function jre(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(kb() ? "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(hb() ? "Meta" : "Control"), t;}-function dre(e) {+function Mre(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 Fx(e) {- return lre.filter((t) => e.has(t));+function hx(e) {+ return Are.filter((t) => e.has(t));}-function fre(e) {+function Nre(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return cre.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 kre.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,@@ -21249,10 +21252,10 @@ function fre(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 Ix(e) {+function gx(e) {return e.toLowerCase();}-var pre = {+var Pre = {space: " ",esc: "escape",del: "delete",@@ -21264,26 +21267,26 @@ var pre = {pageup: "pageup",pagedown: "pagedown"};-function mre(e) {- let t = Ix(e);- return pre[t] ?? t;+function Fre(e) {+ let t = gx(e);+ return Pre[t] ?? t;}-function hre(e) {- let t = Fx(ure(e)), n = mre(e.key);+function Ire(e) {+ let t = hx(jre(e)), n = Fre(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function gre(e) {- let t = Fx(dre(e)), n = Ix(e.key);+function Lre(e) {+ let t = hx(Mre(e)), n = gx(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function _re(e) {+function Rre(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = fre(n);- t.set(hre(e), r);+ let e = Nre(n);+ t.set(Ire(e), r);}return (e) => {- let n = gre(e), r = t.get(n), i = r?.(e);+ let n = Lre(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -21295,16 +21298,16 @@ function _re(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function Lx(e) {+function _x(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = _re(t), s = Px((e) => {- ob(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = Px((e) => {- ob(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = Rre(t), s = mx((e) => {+ Qy(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = mx((e) => {+ Qy(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? Cx(e.onKeyDown, s) : s, a = e.onKeyUp ? Cx(e.onKeyUp, c) : c;- } else i = Px(e.onKeyDown), a = Px(e.onKeyUp);+ i = e.onKeyDown ? rx(e.onKeyDown, s) : s, a = e.onKeyUp ? rx(e.onKeyUp, c) : c;+ } else i = mx(e.onKeyDown), a = mx(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a@@ -21312,7 +21315,7 @@ function Lx(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function Rx(e) {+function vx(e) {let t = (0, D.useRef)(null), n = (0, D.useRef)(void 0), r = (0, D.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -21335,8 +21338,8 @@ function Rx(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function zx(e, t) {- bb(() => {+function yx(e, t) {+ sb(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};@@ -21344,17 +21347,17 @@ function zx(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var Bx = /*#__PURE__*/ D.createContext(null);-function vre(e) {- let t = (0, D.useContext)(Bx) || {};- zx(t, e);+var bx = /*#__PURE__*/ D.createContext(null);+function zre(e) {+ let t = (0, D.useContext)(bx) || {};+ yx(t, e);let { ref: n, ...r } = t;return r;}-function Vx(e, t) {- let { focusProps: n } = Nx(e), { keyboardProps: r } = Lx(e), i = K(n, r), a = vre(t), o = e.isDisabled ? {} : a, s = (0, D.useRef)(e.autoFocus);+function xx(e, t) {+ let { focusProps: n } = px(e), { keyboardProps: r } = _x(e), i = K(n, r), a = zre(t), o = e.isDisabled ? {} : a, s = (0, D.useRef)(e.autoFocus);(0, D.useEffect)(() => {- s.current && t.current && Sx(t.current), s.current = !1;+ s.current && t.current && nx(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;return e.isDisabled && (c = void 0), { focusableProps: K({@@ -21389,22 +21392,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var Hx = /*#__PURE__*/ (0, D.createContext)(!1);-function yre(e) {- if ((0, D.useContext)(Hx)) return /*#__PURE__*/ D.createElement(D.Fragment, null, e.children);- let t = /*#__PURE__*/ D.createElement(Hx.Provider, { value: !0 }, e.children);+var Sx = /*#__PURE__*/ (0, D.createContext)(!1);+function Bre(e) {+ if ((0, D.useContext)(Sx)) return /*#__PURE__*/ D.createElement(D.Fragment, null, e.children);+ let t = /*#__PURE__*/ D.createElement(Sx.Provider, { value: !0 }, e.children);return /*#__PURE__*/ D.createElement("template", null, t);}-function Ux(e) {- let t = (t, n) => (0, D.useContext)(Hx) ? null : e(t, n);+function Cx(e) {+ let t = (t, n) => (0, D.useContext)(Sx) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, D.forwardRef)(t);}-function Wx() {- return (0, D.useContext)(Hx);+function wx() {+ return (0, D.useContext)(Sx);}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js-var bre = /* @__PURE__ */ o(((e) => {+var Vre = /* @__PURE__ */ o(((e) => {var t = v();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -21442,47 +21445,47 @@ var bre = /* @__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;-})), Gx = /* @__PURE__ */ o(((e, t) => {- t.exports = bre();-})), xre = Gx(), Kx = /*#__PURE__*/ (0, D.createContext)(!1), qx = /*#__PURE__*/ (0, D.createContext)(null);-function Jx(e) {- if ((0, D.useContext)(qx)) return e.content;- let { collection: t, document: n } = Tre(e.createCollection);- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(yre, null, /*#__PURE__*/ D.createElement(qx.Provider, { value: n }, e.content)), /*#__PURE__*/ D.createElement(Sre, {+})), Tx = /* @__PURE__ */ o(((e, t) => {+ t.exports = Vre();+})), Hre = Tx(), Ex = /*#__PURE__*/ (0, D.createContext)(!1), Dx = /*#__PURE__*/ (0, D.createContext)(null);+function Ox(e) {+ if ((0, D.useContext)(Dx)) return e.content;+ let { collection: t, document: n } = Kre(e.createCollection);+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(Bre, null, /*#__PURE__*/ D.createElement(Dx.Provider, { value: n }, e.content)), /*#__PURE__*/ D.createElement(Ure, {render: e.children,collection: t}));}-function Sre({ collection: e, render: t }) {+function Ure({ collection: e, render: t }) {return t(e);}-function Cre(e, t, n) {- let r = Yb(), i = (0, D.useRef)(r);+function Wre(e, t, n) {+ let r = kb(), i = (0, D.useRef)(r);i.current = r;let a = (0, D.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, xre.useSyncExternalStore)(e, a);+ return (0, Hre.useSyncExternalStore)(e, a);}-var wre = typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore : Cre;-function Tre(e) {- let [t] = (0, D.useState)(() => new Lne(e?.() || new qy()));+var Gre = typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore : Wre;+function Kre(e) {+ let [t] = (0, D.useState)(() => new Kne(e?.() || new zy()));return {- collection: wre((0, D.useCallback)((e) => t.subscribe(e), [t]), (0, D.useCallback)(() => {+ collection: Gre((0, D.useCallback)((e) => t.subscribe(e), [t]), (0, D.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, D.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var Yx = /*#__PURE__*/ (0, D.createContext)(null);-function Ere(e) {- return class extends Uy {+var kx = /*#__PURE__*/ (0, D.createContext)(null);+function qre(e) {+ return class extends Fy {static {this.type = e;}};}-function Xx(e, t, n, r, i, a) {- typeof e == "string" && (e = Ere(e));+function Ax(e, t, n, r, i, a) {+ typeof e == "string" && (e = qre(e));let o = (0, D.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -21491,86 +21494,86 @@ function Xx(e, t, n, r, i, a) {r,a,e- ]), s = (0, D.useContext)(Yx);+ ]), s = (0, D.useContext)(kx);if (s) {let o = s.ownerDocument.nodesByProps.get(t);- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ D.createElement(Yx.Provider, { value: o }, i) : null;+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ D.createElement(kx.Provider, { value: o }, i) : null;}return /*#__PURE__*/ D.createElement(e.type, { ref: o }, i);}-function Zx(e, t) {+function jx(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, D.forwardRef)((r, i) => {- let a = (0, D.useContext)(Bx);- if (!(0, D.useContext)(Kx)) {+ let a = (0, D.useContext)(bx);+ if (!(0, D.useContext)(Ex)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return Xx(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ D.createElement(Bx.Provider, { value: a }, /*#__PURE__*/ D.createElement(n, { node: e })));+ return Ax(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ D.createElement(bx.Provider, { value: a }, /*#__PURE__*/ D.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function Qx(e, t, n = $x) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, D.forwardRef)((t, i) => Xx(e, t, i, null, n(t), (e) => /*#__PURE__*/ D.createElement(r, { node: e })) ?? /*#__PURE__*/ D.createElement(D.Fragment, null));+function Mx(e, t, n = Nx) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, D.forwardRef)((t, i) => Ax(e, t, i, null, n(t), (e) => /*#__PURE__*/ D.createElement(r, { node: e })) ?? /*#__PURE__*/ D.createElement(D.Fragment, null));return i.displayName = t.name, i;}-function $x(e) {- return Zy({+function Nx(e) {+ return Uy({...e,addIdAndValue: !0});}-var eS = /*#__PURE__*/ (0, D.createContext)(null);-function tS(e) {- let t = (0, D.useContext)(eS), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = $x({+var Px = /*#__PURE__*/ (0, D.createContext)(null);+function Fx(e) {+ let t = (0, D.useContext)(Px), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Nx({...e,idScope: r,dependencies: n});- return (0, D.useContext)(qx) && (i = /*#__PURE__*/ D.createElement(Dre, null, i)), t = (0, D.useMemo)(() => ({+ return (0, D.useContext)(Dx) && (i = /*#__PURE__*/ D.createElement(Jre, null, i)), t = (0, D.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ D.createElement(eS.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ D.createElement(Px.Provider, { value: t }, i);}-function Dre({ children: e }) {- let t = (0, D.useContext)(qx), n = (0, D.useMemo)(() => /*#__PURE__*/ D.createElement(qx.Provider, { value: null }, /*#__PURE__*/ D.createElement(Kx.Provider, { value: !0 }, e)), [e]);- return Yb() ? /*#__PURE__*/ D.createElement(Yx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Et.createPortal)(n, t);+function Jre({ children: e }) {+ let t = (0, D.useContext)(Dx), n = (0, D.useMemo)(() => /*#__PURE__*/ D.createElement(Dx.Provider, { value: null }, /*#__PURE__*/ D.createElement(Ex.Provider, { value: !0 }, e)), [e]);+ return kb() ? /*#__PURE__*/ D.createElement(kx.Provider, { value: t }, n) : /*#__PURE__*/ (0, Tt.createPortal)(n, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/constants.mjs-var Ore = "react-aria-clear-focus", kre = "react-aria-focus";+var Yre = "react-aria-clear-focus", Xre = "react-aria-focus";//#endregion//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function nS(e) {- let t = jre($y(e));- t !== e && (t && Are(t, e), e && rS(e, t));+function Ix(e) {+ let t = Qre(Gy(e));+ t !== e && (t && Zre(t, e), e && Lx(e, t));}-function Are(e, t) {+function Zre(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function rS(e, t) {+function Lx(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function jre(e) {- let t = sb(e), n = t?.getAttribute("aria-activedescendant");+function Qre(e) {+ let t = $y(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}//#endregion//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function iS(e, t) {- let n = eb(t), r = $y(t);+function Rx(e, t) {+ let n = Ky(t), r = Gy(t);if (r == null || n == null) return;let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;}//#endregion//#region node_modules/react-aria/dist/private/utils/keyboard.mjs-var aS = 100, oS = 600, sS = {+var zx = 100, Bx = 600, Vx = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -21580,7 +21583,7 @@ var aS = 100, oS = 600, sS = {endTimeStamp: 0,resizeTimeStamp: 0,resizeTimeout: 0-}, Mre = /* @__PURE__ */ new Set([+}, $re = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -21591,7 +21594,7 @@ var aS = 100, oS = 600, sS = {"submit","reset"]);-function cS() {+function Hx() {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,@@ -21599,59 +21602,59 @@ function cS() {angle: window.screen.orientation?.angle ?? 0};}-function Nre(e) {- sS.resizeTimeStamp <= e.timeStamp + 50 && (sS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(sS.resizeTimeout), sS.resizeTimeout = window.setTimeout(lS, 150));+function eie(e) {+ Vx.resizeTimeStamp <= e.timeStamp + 50 && (Vx.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Vx.resizeTimeout), Vx.resizeTimeout = window.setTimeout(Ux, 150));}-function lS() {- let e = iS("viewport");- if (Ib() && e?.includes("overlays-content")) return;- let t = performance.now(), n = cS(), r = t - sS.startTimeStamp, i = sS.screenHeight - n.height, a = sS.screenAngle - n.angle;- Math.abs(a) % 180 && sS.screenWidth - n.height < aS && (sS.screenWidth = n.width, sS.screenHeight = n.height, sS.screenAngle = n.angle, i = 0), r > oS && (window.clearTimeout(sS.screenTimeout), sS.screenTimeout = window.setTimeout(() => {- let e = fS(document.hasFocus() ? sb() : null), t = cS();- Math.abs(sS.screenAngle - t.angle) % 180 || sS.isOpen && e || (sS.screenWidth = t.width, sS.screenHeight = t.height, sS.screenAngle = t.angle, sS.isOpen = !1);- }, oS)), r <= oS && i >= aS && (sS.endTimeStamp = t), sS.isOpen = i >= aS;+function Ux() {+ let e = Rx("viewport");+ if (bb() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = Hx(), r = t - Vx.startTimeStamp, i = Vx.screenHeight - n.height, a = Vx.screenAngle - n.angle;+ Math.abs(a) % 180 && Vx.screenWidth - n.height < zx && (Vx.screenWidth = n.width, Vx.screenHeight = n.height, Vx.screenAngle = n.angle, i = 0), r > Bx && (window.clearTimeout(Vx.screenTimeout), Vx.screenTimeout = window.setTimeout(() => {+ let e = Kx(document.hasFocus() ? $y() : null), t = Hx();+ Math.abs(Vx.screenAngle - t.angle) % 180 || Vx.isOpen && e || (Vx.screenWidth = t.width, Vx.screenHeight = t.height, Vx.screenAngle = t.angle, Vx.isOpen = !1);+ }, Bx)), r <= Bx && i >= zx && (Vx.endTimeStamp = t), Vx.isOpen = i >= zx;}-function Pre() {- let e = cS(), t = sS.screenAngle - e.angle;- if (Math.abs(t) % 180 && !sS.isOpen) {- let e = sS.screenWidth;- sS.screenWidth = sS.screenHeight, sS.screenHeight = e;+function tie() {+ let e = Hx(), t = Vx.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !Vx.isOpen) {+ let e = Vx.screenWidth;+ Vx.screenWidth = Vx.screenHeight, Vx.screenHeight = e;}- sS.isOpen || (sS.screenAngle = e.angle);+ Vx.isOpen || (Vx.screenAngle = e.angle);}-function Fre(e) {- let t = fS(G(e)), n = performance.now(), r = cS(), i = sS.screenHeight - r.height;- i < aS && t && (sS.screenWidth = r.width, sS.screenHeight = r.height, sS.screenAngle = r.angle, sS.startTimeStamp = n), t && window.clearTimeout(sS.screenTimeout), i >= aS && t && (sS.endTimeStamp = n);+function nie(e) {+ let t = Kx(G(e)), n = performance.now(), r = Hx(), i = Vx.screenHeight - r.height;+ i < zx && t && (Vx.screenWidth = r.width, Vx.screenHeight = r.height, Vx.screenAngle = r.angle, Vx.startTimeStamp = n), t && window.clearTimeout(Vx.screenTimeout), i >= zx && t && (Vx.endTimeStamp = n);}-function uS() {- let e = cS();- rb(window.visualViewport, "resize", Pb() ? lS : Nre), rb(window.screen.orientation, "change", Pre), rb(window, "focus", Fre, {+function Wx() {+ let e = Hx();+ Yy(window.visualViewport, "resize", vb() ? Ux : eie), Yy(window.screen.orientation, "change", tie), Yy(window, "focus", nie, {capture: !0,passive: !0- }), sS.screenWidth = e.width, sS.screenHeight = e.height, sS.screenAngle = e.angle;+ }), Vx.screenWidth = e.width, Vx.screenHeight = e.height, Vx.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? rb(document, "DOMContentLoaded", uS) : uS());-function dS() {- let e = iS("viewport");- return Ib() && e?.includes("overlays-content") ? !1 : sS.isOpen ? !0 : sS.startTimeStamp ? sS.endTimeStamp >= sS.startTimeStamp ? !0 : performance.now() - sS.startTimeStamp <= oS ? sS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? Yy(document, "DOMContentLoaded", Wx) : Wx());+function Gx() {+ let e = Rx("viewport");+ return bb() && e?.includes("overlays-content") ? !1 : Vx.isOpen ? !0 : Vx.startTimeStamp ? Vx.endTimeStamp >= Vx.startTimeStamp ? !0 : performance.now() - Vx.startTimeStamp <= Bx ? Vx.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function fS(e) {- if (!(e instanceof Element) || !_b(e)) return !1;- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Mre.has(e.type);+function Kx(e) {+ if (!(e instanceof Element) || !ib(e)) return !1;+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !$re.has(e.type);return t || n || r;}-function pS(e) {- return kb() ? e.metaKey : e.ctrlKey;+function qx(e) {+ return hb() ? e.metaKey : e.ctrlKey;}-function mS() {- return sS.isOpen;+function Jx() {+ return Vx.isOpen;}//#endregion//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var Ire = D.useInsertionEffect ?? bb;-function hS(e) {+var rie = D.useInsertionEffect ?? sb;+function Yx(e) {let t = (0, D.useRef)(null);- return Ire(() => {+ return rie(() => {t.current = e;}, [e]), (0, D.useCallback)((...e) => {let n = t.current;@@ -21660,10 +21663,10 @@ function hS(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useEvent.mjs-function gS(e, t, n, r) {- let i = hS(n), a = n == null;+function Xx(e, t, n, r) {+ let i = Yx(n), a = n == null;(0, D.useEffect)(() => {- if (!(a || e.current == null)) return rb(e.current, t, i, r);+ if (!(a || e.current == null)) return Yy(e.current, t, i, r);}, [e,t,@@ -21673,9 +21676,9 @@ function gS(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLabels.mjs-function _S(e, t) {+function Zx(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = Dx(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 = sx(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {id: n,"aria-label": r,"aria-labelledby": i@@ -21683,7 +21686,7 @@ function _S(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/utils.mjs-var Lre = /* @__PURE__ */ new Set([+var iie = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -21694,7 +21697,7 @@ var Lre = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), Rre = /* @__PURE__ */ new Set([+]), aie = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -21715,20 +21718,20 @@ var Lre = /* @__PURE__ */ new Set(["ur","yi"]);-function zre(e) {+function oie(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 Lre.has(t.script);+ if (t.script) return iie.has(t.script);}let t = e.split("-")[0];- return Rre.has(t);+ return aie.has(t);}//#endregion//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var vS = Symbol.for("react-aria.i18n.locale");-function yS() {- let e = typeof window < "u" && window[vS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var Qx = Symbol.for("react-aria.i18n.locale");+function $x() {+ let e = typeof window < "u" && window[Qx] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -21736,33 +21739,33 @@ function yS() {}return {locale: e,- direction: zre(e) ? "rtl" : "ltr"+ direction: oie(e) ? "rtl" : "ltr"};}-var bS = yS(), xS = /* @__PURE__ */ new Set();-function SS() {- bS = yS();- for (let e of xS) e(bS);+var eS = $x(), tS = /* @__PURE__ */ new Set();+function nS() {+ eS = $x();+ for (let e of tS) e(eS);}-function Bre() {- let e = Yb(), [t, n] = (0, D.useState)(bS);- return (0, D.useEffect)(() => (xS.size === 0 && window.addEventListener("languagechange", SS), xS.add(n), () => {- xS.delete(n), xS.size === 0 && window.removeEventListener("languagechange", SS);+function sie() {+ let e = kb(), [t, n] = (0, D.useState)(eS);+ return (0, D.useEffect)(() => (tS.size === 0 && window.addEventListener("languagechange", nS), tS.add(n), () => {+ tS.delete(n), tS.size === 0 && window.removeEventListener("languagechange", nS);}), []), e ? {- locale: typeof window < "u" && window[vS] || "en-US",+ locale: typeof window < "u" && window[Qx] || "en-US",direction: "ltr"} : t;}//#endregion//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var Vre = /*#__PURE__*/ D.createContext(null);-function CS() {- let e = Bre();- return (0, D.useContext)(Vre) || e;+var cie = /*#__PURE__*/ D.createContext(null);+function rS() {+ let e = sie();+ return (0, D.useContext)(cie) || e;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var Hre = Symbol.for("react-aria.i18n.locale"), Ure = Symbol.for("react-aria.i18n.strings"), wS = void 0, TS = class e {+var lie = Symbol.for("react-aria.i18n.locale"), uie = Symbol.for("react-aria.i18n.strings"), iS = void 0, aS = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -21773,39 +21776,39 @@ var Hre = Symbol.for("react-aria.i18n.locale"), Ure = Symbol.for("react-aria.i18}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = Wre(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = die(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[Hre];- if (wS === void 0) {- let t = window[Ure];+ let n = window[lie];+ if (iS === void 0) {+ let t = window[uie];if (!t) return null;- wS = {};- for (let r in t) wS[r] = new e({ [n]: t[r] }, n);+ iS = {};+ for (let r in t) iS[r] = new e({ [n]: t[r] }, n);}- let r = wS?.[t];+ let r = iS?.[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 Wre(e, t, n = "en-US") {+function die(e, t, n = "en-US") {if (t[e]) return t[e];- let r = Gre(e), i = Kre(e);+ let r = fie(e), i = pie(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 Gre(e) {+function fie(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function Kre(e) {+function pie(e) {if (Intl.Locale) return new Intl.Locale(e).script;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var ES = /* @__PURE__ */ new Map(), DS = /* @__PURE__ */ new Map(), qre = class {+var oS = /* @__PURE__ */ new Map(), sS = /* @__PURE__ */ new Map(), cS = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -21816,37 +21819,37 @@ var ES = /* @__PURE__ */ new Map(), DS = /* @__PURE__ */ new Map(), qre = classplural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = ES.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), ES.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = oS.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), oS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = DS.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), DS.set(this.locale, t)), t.format(e);+ let t = sS.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), sS.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, OS = /* @__PURE__ */ new WeakMap();-function Jre(e) {- let t = OS.get(e);- return t || (t = new TS(e), OS.set(e, t)), t;+}, lS = /* @__PURE__ */ new WeakMap();+function uS(e) {+ let t = lS.get(e);+ return t || (t = new aS(e), lS.set(e, t)), t;}-function Yre(e, t) {- return t && TS.getGlobalDictionaryForPackage(t) || Jre(e);+function dS(e, t) {+ return t && aS.getGlobalDictionaryForPackage(t) || uS(e);}-function kS(e, t) {- let { locale: n } = CS(), r = Yre(e, t);- return (0, D.useMemo)(() => new qre(n, r), [n, r]);+function fS(e, t) {+ let { locale: n } = rS(), r = dS(e, t);+ return (0, D.useMemo)(() => new cS(n, r), [n, r]);}//#endregion//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var Xre = /* @__PURE__ */ new Set(["id"]), Zre = /* @__PURE__ */ new Set([+var pS = /* @__PURE__ */ new Set(["id"]), mS = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), Qre = /* @__PURE__ */ new Set([+]), hS = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -21854,64 +21857,64 @@ var Xre = /* @__PURE__ */ new Set(["id"]), Zre = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), $re = /* @__PURE__ */ new Set([+]), gS = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"-]), AS = /* @__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(".")), eie = /^(data-.*)$/;-function jS(e, t = {}) {+]), _S = /* @__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(".")), vS = /^(data-.*)$/;+function yS(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) && (Xre.has(t) || n && Zre.has(t) || r && Qre.has(t) || i && $re.has(t) || a && (AS.has(t) || t.endsWith("Capture") && AS.has(t.slice(0, -7))) || o?.has(t) || eie.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (pS.has(t) || n && mS.has(t) || r && hS.has(t) || i && gS.has(t) || a && (_S.has(t) || t.endsWith("Capture") && _S.has(t.slice(0, -7))) || o?.has(t) || vS.test(t)) && (s[t] = e[t]);return s;}//#endregion//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs-var MS = "default", NS = "", PS = /* @__PURE__ */ new WeakMap();-function FS(e) {- if (Mb() && Pb()) {- if (MS === "default") {- let t = $y(e);- NS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- MS = "disabled";+var bS = "default", xS = "", SS = /* @__PURE__ */ new WeakMap();+function CS(e) {+ if (_b() && vb()) {+ if (bS === "default") {+ let t = Gy(e);+ xS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ bS = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- PS.set(e, e.style[t]), e.style[t] = "none";+ SS.set(e, e.style[t]), e.style[t] = "none";}}-function IS(e) {- if (Mb() && Pb()) {- if (MS !== "disabled") return;- MS = "restoring", setTimeout(() => {- xx(() => {- if (MS === "restoring") {- let t = $y(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = NS || ""), NS = "", MS = "default";+function wS(e) {+ if (_b() && vb()) {+ if (bS !== "disabled") return;+ bS = "restoring", setTimeout(() => {+ tx(() => {+ if (bS === "restoring") {+ let t = Gy(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = xS || ""), xS = "", bS = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && PS.has(e)) {- let t = PS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), PS.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && SS.has(e)) {+ let t = SS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), SS.delete(e);}}//#endregion//#region node_modules/react-aria/dist/private/utils/getNonce.mjs-var LS = /* @__PURE__ */ new WeakMap();-function RS(e) {- let t = $y(e), n = LS.get(t);- return n ??= iS("csp-nonce", t), n !== void 0 && LS.set(t, n), n;+var TS = /* @__PURE__ */ new WeakMap();+function ES(e) {+ let t = Gy(e), n = TS.get(t);+ return n ??= Rx("csp-nonce", t), n !== void 0 && TS.set(t, n), n;}//#endregion//#region node_modules/react-aria/dist/private/interactions/context.mjs-var zS = D.createContext({ register: () => {} });-zS.displayName = "PressResponderContext";+var DS = D.createContext({ register: () => {} });+DS.displayName = "PressResponderContext";//#endregion//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function BS() {+function OS() {let e = (0, D.useRef)(/* @__PURE__ */ new Map()), t = (0, D.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -21938,15 +21941,15 @@ function BS() {}//#endregion//#region node_modules/react-aria/dist/private/interactions/usePress.mjs-function tie(e) {- let t = (0, D.useContext)(zS);+function kS(e) {+ let t = (0, D.useContext)(DS);if (t) {let { register: n, ref: r, ...i } = t;e = K(i, e), n();}- return zx(t, e.ref), e;+ return yx(t, e.ref), e;}-var VS = class {+var AS = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -21959,9 +21962,9 @@ var VS = class {get shouldStopPropagation() {return this.#e;}-}, HS = Symbol("linkClicked"), US = "react-aria-pressable-style", WS = "data-react-aria-pressable";-function GS(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 } = tie(e), [m, h] = (0, D.useState)(!1), g = (0, D.useRef)({+}, jS = Symbol("linkClicked"), MS = "react-aria-pressable-style", NS = "data-react-aria-pressable";+function PS(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 } = kS(e), [m, h] = (0, D.useState)(!1), g = (0, D.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -21971,12 +21974,12 @@ function GS(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = BS(), y = (0, D.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = OS(), y = (0, D.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new VS("pressstart", t, e);+ let n = new AS("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -21990,11 +21993,11 @@ function GS(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new VS("pressend", r, e);+ let t = new AS("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new VS("press", r, e);+ let n = new AS("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -22003,19 +22006,19 @@ function GS(e) {i,n,t- ]), x = hS(b), S = hS((0, D.useCallback)((e, t) => {+ ]), x = Yx(b), S = Yx((0, D.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new VS("pressup", t, e);+ let r = new AS("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), C = (0, D.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(JS(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || IS(t.target);+ t.didFirePressStart && t.pointerType != null && b(LS(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || wS(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -22023,7 +22026,7 @@ function GS(e) {d,v,b- ]), w = hS(C);+ ]), w = Yx(C);(0, D.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -22040,39 +22043,39 @@ function GS(e) {}, [s, o]), O = (0, D.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- Sb(n, t), o(xb(n));+ lb(n, t), o(cb(n));}}, [s, o]), k = (0, D.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (qS(t.nativeEvent, t.currentTarget) && ob(t.currentTarget, G(t))) {- YS(G(t), t.key) && t.preventDefault();+ if (IS(t.nativeEvent, t.currentTarget) && Qy(t.currentTarget, G(t))) {+ RS(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;- _($y(t.currentTarget), "keyup", Cx((t) => {- qS(t, i) && !t.repeat && ob(i, G(t)) && e.target && S(JS(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && kb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(Gy(t.currentTarget), "keyup", rx((t) => {+ IS(t, i) && !t.repeat && Qy(i, G(t)) && e.target && S(LS(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && hb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || ob(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Hb.isOpening) {+ if ((!t || Qy(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Cb.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Lb(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || xb(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(JS(t.currentTarget, t), r), a = x(JS(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(LS(t.currentTarget, t), r), a = x(LS(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 && qS(t, e.target)) {- YS(G(t), t.key) && t.preventDefault();- let n = G(t), r = ob(e.target, n);- x(JS(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && KS(e.target) && ob(e.target, n) && !t[HS] && (t[HS] = !0, Hb(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && IS(t, e.target)) {+ RS(G(t), t.key) && t.preventDefault();+ let n = G(t), r = Qy(e.target, n);+ x(LS(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && FS(e.target) && Qy(e.target, n) && !t[jS] && (t[jS] = !0, Cb(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;@@ -22081,39 +22084,39 @@ function GS(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !ob(t.currentTarget, G(t))) return;- if (Rb(t.nativeEvent)) {+ if (t.button !== 0 || !Qy(t.currentTarget, G(t))) return;+ if (are(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 || FS(e.target), i = y(t, e.pointerType);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || CS(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)), _($y(t.currentTarget), "pointerup", n, !1), _($y(t.currentTarget), "pointercancel", r, !1);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Gy(t.currentTarget), "pointerup", n, !1), _(Gy(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (ob(t.currentTarget, G(t)) && t.button === 0) {+ if (Qy(t.currentTarget, G(t)) && t.button === 0) {if (l) {- let n = Tb(t.target);+ let n = nre(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- ob(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ Qy(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(JS(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(LS(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(JS(e.target, t), e.pointerType, !1), T(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(LS(e.target, t), e.pointerType, !1), T(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (ob(e.target, G(t)) && e.pointerType != null) {+ if (Qy(e.target, G(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Qy(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Wy(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -22123,7 +22126,7 @@ function GS(e) {w(e);};t.onDragStart = (e) => {- ob(e.currentTarget, G(e)) && w(e);+ Qy(e.currentTarget, G(e)) && w(e);};}return t;@@ -22140,14 +22143,14 @@ function GS(e) {]);return (0, D.useEffect)(() => {if (!f) return;- let e = $y(f.current);- if (!e || !e.head || e.getElementById(US)) return;+ let e = Gy(f.current);+ if (!e || !e.head || e.getElementById(MS)) return;let t = e.createElement("style");- t.id = US;- let n = RS(e);+ t.id = MS;+ let n = ES(e);n && (t.nonce = n), t.textContent = `@layer {- [${WS}] {+ [${NS}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -22155,23 +22158,23 @@ function GS(e) {}, [f]), (0, D.useEffect)(() => {let e = g.current;return () => {- d || IS(e.target ?? void 0);+ d || wS(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: K(p, k, { [WS]: !0 })+ pressProps: K(p, k, { [NS]: !0 })};}-function KS(e) {+function FS(e) {return e.tagName === "A" && e.hasAttribute("href");}-function qS(e, t) {+function IS(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof eb(i).HTMLInputElement && !XS(i, n) || i instanceof eb(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && KS(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Ky(i).HTMLInputElement && !zS(i, n) || i instanceof Ky(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && FS(i)) && n !== "Enter");}-function JS(e, t) {+function LS(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -22184,13 +22187,13 @@ function JS(e, t) {key: t.key};}-function nie(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !KS(e);+function mie(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !FS(e);}-function YS(e, t) {- return kb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !XS(e, t) : nie(e);+function RS(e, t) {+ return hb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !zS(e, t) : mie(e);}-var rie = /* @__PURE__ */ new Set([+var hie = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -22201,12 +22204,12 @@ var rie = /* @__PURE__ */ new Set(["submit","reset"]);-function XS(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : rie.has(e.type);+function zS(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : hie.has(e.type);}//#endregion//#region node_modules/react-aria/dist/private/button/useButton.mjs-function iie(e, t) {+function gie(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,@@ -22228,7 +22231,7 @@ function iie(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = GS({+ let { pressProps: _, isPressed: v } = PS({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -22238,9 +22241,9 @@ function iie(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = Vx(e, t);+ }), { focusableProps: y } = xx(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = K(y, _, jS(e, { labelable: !0 }));+ let b = K(y, _, yS(e, { labelable: !0 }));return {isPressed: v,buttonProps: K(g, b, {@@ -22255,7 +22258,7 @@ function iie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var aie = class {+var _ie = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -22280,7 +22283,7 @@ var aie = class {return this._currentNode;}set currentNode(e) {- if (!ob(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!Qy(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 });@@ -22294,7 +22297,7 @@ var aie = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return ob(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return Qy(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -22358,45 +22361,45 @@ var aie = class {return null;}};-function ZS(e, t, n, r) {- return ab() ? new aie(e, t, n, r) : e.createTreeWalker(t, n, r);+function BS(e, t, n, r) {+ return Zy() ? new _ie(e, t, n, r) : e.createTreeWalker(t, n, r);}//#endregion//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs-var QS = /*#__PURE__*/ D.createContext(null), $S = "react-aria-focus-scope-restore", eC = null;-function tC(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)([]), { parentNode: c } = (0, D.useContext)(QS) || {}, l = (0, D.useMemo)(() => new vC({ scopeRef: s }), [s]);- bb(() => {- let e = c || yC.root;- if (yC.getTreeNode(e.scopeRef) && eC && !sC(eC, e.scopeRef)) {- let t = yC.getTreeNode(eC);+var VS = /*#__PURE__*/ D.createContext(null), HS = "react-aria-focus-scope-restore", US = null;+function WS(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)([]), { parentNode: c } = (0, D.useContext)(VS) || {}, l = (0, D.useMemo)(() => new rC({ scopeRef: s }), [s]);+ sb(() => {+ let e = c || iC.root;+ if (iC.getTreeNode(e.scopeRef) && US && !XS(US, e.scopeRef)) {+ let t = iC.getTreeNode(US);t && (e = t);}- e.addChild(l), yC.addNode(l);- }, [l, c]), bb(() => {- let e = yC.getTreeNode(s);+ e.addChild(l), iC.addNode(l);+ }, [l, c]), sb(() => {+ let e = iC.getTreeNode(s);e && (e.contain = !!n);- }, [n]), bb(() => {+ }, [n]), sb(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener($S, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(HS, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener($S, n);+ for (let e of t) e.removeEventListener(HS, n);};- }, [t]), fC(s, r, n), lie(s, n), mC(s, r, n), dC(s, i), (0, D.useEffect)(() => {- let e = sb($y(s.current ? s.current[0] : void 0)), t = null;- if (aC(e, s.current)) {- for (let n of yC.traverse()) n.scopeRef && aC(e, n.scopeRef.current) && (t = n);- t === yC.getTreeNode(s) && (eC = t.scopeRef);- }- }, [s]), bb(() => () => {- let e = yC.getTreeNode(s)?.parent?.scopeRef ?? null;- (s === eC || sC(s, eC)) && (!e || yC.getTreeNode(e)) && (eC = e), yC.removeTreeNode(s);+ }, [t]), wie(s, r, n), xie(s, n), Tie(s, r, n), Cie(s, i), (0, D.useEffect)(() => {+ let e = $y(Gy(s.current ? s.current[0] : void 0)), t = null;+ if (JS(e, s.current)) {+ for (let n of iC.traverse()) n.scopeRef && JS(e, n.scopeRef.current) && (t = n);+ t === iC.getTreeNode(s) && (US = t.scopeRef);+ }+ }, [s]), sb(() => () => {+ let e = iC.getTreeNode(s)?.parent?.scopeRef ?? null;+ (s === US || XS(s, US)) && (!e || iC.getTreeNode(e)) && (US = e), iC.removeTreeNode(s);}, [s]);- let u = (0, D.useMemo)(() => oie(s), []), d = (0, D.useMemo)(() => ({+ let u = (0, D.useMemo)(() => vie(s), []), d = (0, D.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ D.createElement(QS.Provider, { value: d }, /*#__PURE__*/ D.createElement("span", {+ return /*#__PURE__*/ D.createElement(VS.Provider, { value: d }, /*#__PURE__*/ D.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -22406,154 +22409,154 @@ function tC(e) {ref: o}));}-function oie(e) {+function vie(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || sb($y(n[0] ?? void 0)), c = n[0].previousElementSibling, l = gC(nC(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || $y(Gy(n[0] ?? void 0)), c = n[0].previousElementSibling, l = nC(GS(n), {tabbable: i,accept: o}, n);- l.currentNode = aC(s, n) ? s : c;+ l.currentNode = JS(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && cC(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && ZS(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || sb($y(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = gC(nC(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || $y(Gy(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = nC(GS(n), {tabbable: i,accept: o}, n);- l.currentNode = aC(s, n) ? s : c;+ l.currentNode = JS(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && cC(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && ZS(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = gC(nC(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = nC(GS(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && cC(o, !0), o;+ return o && ZS(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = gC(nC(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = nC(GS(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && cC(o, !0), o;+ return o && ZS(o, !0), o;}};}-function nC(e) {+function GS(e) {return e[0].parentElement;}-function rC(e) {- let t = yC.getTreeNode(eC);+function KS(e) {+ let t = iC.getTreeNode(US);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function sie(e) {- if (!e.form) return Array.from($y(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = eb(e);+function yie(e) {+ if (!e.form) return Array.from(Gy(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = Ky(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function cie(e) {+function bie(e) {if (e.checked) return !0;- let t = sie(e);+ let t = yie(e);return t.length > 0 && !t.some((e) => e.checked);}-function lie(e, t) {+function xie(e, t) {let n = (0, D.useRef)(void 0), r = (0, D.useRef)(void 0);- bb(() => {+ sb(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = $y(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !rC(e) || t.isComposing) return;- let n = sb(a), r = e.current;- if (!r || !aC(n, r)) return;- let i = gC(nC(r), { tabbable: !0 }, r);+ let a = Gy(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !KS(e) || t.isComposing) return;+ let n = $y(a), r = e.current;+ if (!r || !JS(n, r)) return;+ let i = nC(GS(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 && (cC(o, !0), o instanceof eb(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 && (ZS(o, !0), o instanceof Ky(o).HTMLInputElement && o.select());}, s = (t) => {- (!eC || sC(eC, e)) && aC(G(t), e.current) ? (eC = e, n.current = G(t)) : rC(e) && !oC(G(t), e) ? n.current ? cC(n.current) : eC && eC.current && uC(eC.current) : rC(e) && (n.current = G(t));+ (!US || XS(US, e)) && JS(G(t), e.current) ? (US = e, n.current = G(t)) : KS(e) && !YS(G(t), e) ? n.current ? ZS(n.current) : US && US.current && $S(US.current) : KS(e) && (n.current = G(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = dx(), i = (r === "virtual" || r === null) && Ib() && Fb(), o = sb(a);- if (!i && o && rC(e) && !oC(o, e)) {- eC = e;+ let r = Gb(), i = (r === "virtual" || r === null) && bb() && yb(), o = $y(a);+ if (!i && o && KS(e) && !YS(o, e)) {+ US = e;let r = G(t);- r && r.isConnected ? (n.current = r, cC(n.current)) : eC.current && uC(eC.current);+ r && r.isConnected ? (n.current = r, ZS(n.current)) : US.current && $S(US.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]), bb(() => () => {+ }, [e, t]), sb(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function iC(e) {- return oC(e);+function qS(e) {+ return YS(e);}-function aC(e, t) {- return !e || !t ? !1 : t.some((t) => ob(t, e));+function JS(e, t) {+ return !e || !t ? !1 : t.some((t) => Qy(t, e));}-function oC(e, t = null) {+function YS(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of yC.traverse(yC.getTreeNode(t))) if (n && aC(e, n.current)) return !0;+ for (let { scopeRef: n } of iC.traverse(iC.getTreeNode(t))) if (n && JS(e, n.current)) return !0;return !1;}-function uie(e) {- return oC(e, eC);+function Sie(e) {+ return YS(e, US);}-function sC(e, t) {- let n = yC.getTreeNode(t)?.parent;+function XS(e, t) {+ let n = iC.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function cC(e, t = !1) {+function ZS(e, t = !1) {if (e != null && !t) try {- Sx(e);+ nx(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function lC(e, t = !0) {- let n = e[0].previousElementSibling, r = nC(e), i = gC(r, { tabbable: t }, e);+function QS(e, t = !0) {+ let n = e[0].previousElementSibling, r = GS(e), i = nC(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = nC(e), i = gC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = GS(e), i = nC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function uC(e, t = !0) {- cC(lC(e, t));+function $S(e, t = !0) {+ ZS(QS(e, t));}-function dC(e, t) {+function Cie(e, t) {let n = D.useRef(t);(0, D.useEffect)(() => {- n.current && (eC = e, !aC(sb($y(e.current ? e.current[0] : void 0)), eC.current) && e.current && uC(e.current)), n.current = !1;+ n.current && (US = e, !JS($y(Gy(e.current ? e.current[0] : void 0)), US.current) && e.current && $S(e.current)), n.current = !1;}, [e]);}-function fC(e, t, n) {- bb(() => {+function wie(e, t, n) {+ sb(() => {if (t || n) return;- let r = e.current, i = $y(r ? r[0] : void 0), a = (t) => {+ let r = e.current, i = Gy(r ? r[0] : void 0), a = (t) => {let n = G(t);- aC(n, e.current) ? eC = e : iC(n) || (eC = null);+ JS(n, e.current) ? US = e : qS(n) || (US = 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));@@ -22564,43 +22567,43 @@ function fC(e, t, n) {n]);}-function pC(e) {- let t = yC.getTreeNode(eC);+function eC(e) {+ let t = iC.getTreeNode(US);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function mC(e, t, n) {- let r = (0, D.useRef)(typeof document < "u" ? sb($y(e.current ? e.current[0] : void 0)) : null);- bb(() => {- let r = e.current, i = $y(r ? r[0] : void 0);+function Tie(e, t, n) {+ let r = (0, D.useRef)(typeof document < "u" ? $y(Gy(e.current ? e.current[0] : void 0)) : null);+ sb(() => {+ let r = e.current, i = Gy(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!eC || sC(eC, e)) && aC(sb(i), e.current) && (eC = e);+ (!US || XS(US, e)) && JS($y(i), e.current) && (US = 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]), bb(() => {- let r = $y(e.current ? e.current[0] : void 0);+ }, [e, n]), sb(() => {+ let r = Gy(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !rC(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !KS(e) || t.isComposing) return;let n = r.activeElement;- if (!oC(n, e) || !pC(e)) return;- let i = yC.getTreeNode(e);+ if (!YS(n, e) || !eC(e)) return;+ let i = iC.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = gC(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = nC(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 || !oC(s, e)) && a) {+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !YS(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (oC(s, e));- t.preventDefault(), t.stopPropagation(), s ? cC(s, !0) : iC(a) ? cC(a, !0) : n.blur();+ while (YS(s, e));+ t.preventDefault(), t.stopPropagation(), s ? ZS(s, !0) : qS(a) ? ZS(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -22610,31 +22613,31 @@ function mC(e, t, n) {e,t,n- ]), bb(() => {- let n = $y(e.current ? e.current[0] : void 0);+ ]), sb(() => {+ let n = Gy(e.current ? e.current[0] : void 0);if (!t) return;- let i = yC.getTreeNode(e);+ let i = iC.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = yC.getTreeNode(e);+ let r = iC.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = sb(n);- if (t && i && (a && oC(a, e) || a === n.body && pC(e))) {- let t = yC.clone();+ let i = r.nodeToRestore, a = $y(n);+ if (t && i && (a && YS(a, e) || a === n.body && eC(e))) {+ let t = iC.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- hC(n.nodeToRestore);+ tC(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && yC.getTreeNode(n.scopeRef)) {- let e = lC(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && iC.getTreeNode(n.scopeRef)) {+ let e = QS(n.scopeRef.current, !0);if (e) {- hC(e);+ tC(e);return;}}@@ -22646,21 +22649,21 @@ function mC(e, t, n) {};}, [e, t]);}-function hC(e) {- e.dispatchEvent(new CustomEvent($S, {+function tC(e) {+ e.dispatchEvent(new CustomEvent(HS, {bubbles: !0,cancelable: !0- })) && cC(e);+ })) && ZS(e);}-function gC(e, t, n) {- let r = t?.tabbable ? vb : _b, i = $y(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = ZS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return ob(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!cie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || aC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function nC(e, t, n) {+ let r = t?.tabbable ? ab : ib, i = Gy(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = BS(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return Qy(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!bie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || JS(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var _C = class e {+var Eie = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new vC({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new rC({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -22671,7 +22674,7 @@ var _C = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new vC({ scopeRef: e });+ let i = new rC({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -22682,7 +22685,7 @@ var _C = 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 && aC(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 && JS(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);}@@ -22694,7 +22697,7 @@ var _C = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, vC = class {+}, rC = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -22704,13 +22707,13 @@ var _C = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, yC = new _C(), bC = 7e3, xC = null;-function SC(e, t = "assertive", n = bC) {- xC ? xC.announce(e, t, n) : (xC = new CC(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? xC.announce(e, t, n) : setTimeout(() => {- xC?.isAttached() && xC?.announce(e, t, n);+}, iC = new Eie(), aC = 7e3, oC = null;+function sC(e, t = "assertive", n = aC) {+ oC ? oC.announce(e, t, n) : (oC = new Die(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? oC.announce(e, t, n) : setTimeout(() => {+ oC?.isAttached() && oC?.announce(e, t, n);}, 100));}-var CC = class {+var Die = 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,@@ -22735,7 +22738,7 @@ var CC = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = bC) {+ announce(e, t = "assertive", n = aC) {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(() => {@@ -22748,8 +22751,8 @@ var CC = class {};//#endregion//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function wC(e, t) {- let n = (0, D.useRef)(!0), r = (0, D.useRef)(null), i = hS(e);+function cC(e, t) {+ let n = (0, D.useRef)(!0), r = (0, D.useRef)(null), i = Yx(e);(0, D.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, D.useEffect)(() => {@@ -22759,46 +22762,46 @@ function wC(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs-function TC(e, t) {+function lC(e, t) {if (!e) return !1;let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs-function EC(e, t) {+function uC(e, t) {let n = e;- for (TC(n, t) && (n = n.parentElement); n && !TC(n, t);) n = n.parentElement;+ for (lC(n, t) && (n = n.parentElement); n && !lC(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function DC(e, t) {+function dC(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (TC(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (lC(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}//#endregion//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function OC(e, t, n = {}) {- e !== t && kC(e, t, t.getBoundingClientRect(), n);-}-function kC(e, t, n, r = {}) {- let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, N = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, P = e === d ? 0 : e.offsetHeight - e.clientHeight - N, ne = p + (f ? 0 : T) + x, F = m - (f ? 0 : E) - S - P, re = h + (f ? 0 : D) + C, ie = g - (f ? 0 : O) - w;- Mb() && Pb() || u.direction === "ltr" ? ie -= te : u.direction === "rtl" && (re += te);- let ae = k < ne || A > F, oe = j < re || M > ie;- if (ae && i === "start") o += k - ne;- else if (ae && i === "center") o += (k + A) / 2 - (ne + F) / 2;- else if (ae && i === "end") o += A - F;- else if (ae && i === "nearest") {- let e = k - ne, t = A - F;+function fC(e, t, n = {}) {+ e !== t && Oie(e, t, t.getBoundingClientRect(), n);+}+function Oie(e, t, n, r = {}) {+ let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, ee = e === d ? 0 : e.offsetWidth - e.clientWidth - N, F = e === d ? 0 : e.offsetHeight - e.clientHeight - P, te = p + (f ? 0 : T) + x, I = m - (f ? 0 : E) - S - F, ne = h + (f ? 0 : D) + C, re = g - (f ? 0 : O) - w;+ _b() && vb() || u.direction === "ltr" ? re -= ee : u.direction === "rtl" && (ne += ee);+ let ie = k < te || A > I, ae = j < ne || M > re;+ if (ie && i === "start") o += k - te;+ else if (ie && i === "center") o += (k + A) / 2 - (te + I) / 2;+ else if (ie && i === "end") o += A - I;+ else if (ie && i === "nearest") {+ let e = k - te, t = A - I;o += Math.abs(e) <= Math.abs(t) ? e : t;}- if (oe && a === "start") s += j - re;- else if (oe && a === "center") s += (j + M) / 2 - (re + ie) / 2;- else if (oe && a === "end") s += M - ie;- else if (oe && a === "nearest") {- let e = j - re, t = M - ie;+ if (ae && a === "start") s += j - ne;+ else if (ae && a === "center") s += (j + M) / 2 - (ne + re) / 2;+ else if (ae && a === "end") s += M - re;+ else if (ae && a === "nearest") {+ let e = j - ne, t = M - re;s += Math.abs(e) <= Math.abs(t) ? e : t;}e.scrollTo({@@ -22806,7 +22809,7 @@ function kC(e, t, n, r = {}) {top: o});}-function AC(e, t = {}) {+function pC(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -22819,47 +22822,47 @@ function AC(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = DC(e, !0);- for (let t of i) OC(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = dC(e, !0);+ for (let t of i) fC(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? DC(n, !0) : [];- for (let e of i) OC(e, n, {+ i = n ? dC(n, !0) : [];+ for (let e of i) fC(e, n, {block: "center",inline: "center"});- for (let t of DC(e, !0)) OC(t, e);+ for (let t of dC(e, !0)) fC(t, e);}}}}//#endregion//#region node_modules/react-aria/dist/private/utils/useDescription.mjs-var jC = 0, MC = /* @__PURE__ */ new Map();-function NC(e) {+var kie = 0, mC = /* @__PURE__ */ new Map();+function hC(e) {let [t, n] = (0, D.useState)();- return bb(() => {+ return sb(() => {if (!e) return;- let t = MC.get(e);+ let t = mC.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${jC++}`;+ let r = `react-aria-description-${kie++}`;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- }, MC.set(e, t);+ }, mC.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), MC.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), mC.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}//#endregion//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs-function PC(e, t, n) {- let r = hS((e) => {+function gC(e, t, n) {+ let r = Yx((e) => {n && !e.defaultPrevented && n(t);});(0, D.useEffect)(() => {@@ -22871,21 +22874,21 @@ function PC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs-function FC(e, t, n) {+function _C(e, t, n) {let { validationBehavior: r, focus: i } = e;- bb(() => {+ sb(() => {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(LC(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(jie(n.current));}});- let a = (0, D.useRef)(!1), o = hS(() => {+ let a = (0, D.useRef)(!1), o = Yx(() => {a.current || t.resetValidation();- }), s = hS((e) => {+ }), s = Yx((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && RC(r) === n.current && (i ? i() : n.current?.focus(), fx("keyboard")), e.preventDefault();- }), c = hS(() => {+ !e.defaultPrevented && n && r && Mie(r) === n.current && (i ? i() : n.current?.focus(), Kb("keyboard")), e.preventDefault();+ }), c = Yx(() => {t.commitValidation();});(0, D.useEffect)(() => {@@ -22899,7 +22902,7 @@ function FC(e, t, n) {};}, [n, r]);}-function IC(e) {+function Aie(e) {let t = e.validity;return {badInput: t.badInput,@@ -22915,14 +22918,14 @@ function IC(e) {valid: t.valid};}-function LC(e) {+function jie(e) {return {isInvalid: !e.validity.valid,- validationDetails: IC(e),+ validationDetails: Aie(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function RC(e) {+function Mie(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -22931,16 +22934,16 @@ function RC(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSlot.mjs-function zC(e = !0) {+function Nie(e = !0) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return bb(() => {+ return sb(() => {r.current || n(!1);}, []), [i, t];}-function BC(e = !0) {- let t = Dx(), [n, r] = zC(e);+function vC(e = !0) {+ let t = sx(), [n, r] = Nie(e);return {id: r ? t : void 0,ref: n@@ -22948,7 +22951,7 @@ function BC(e = !0) {}//#endregion//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var VC = {+var yC = {badInput: !1,customError: !1,patternMismatch: !1,@@ -22960,18 +22963,18 @@ var VC = {typeMismatch: !1,valueMissing: !1,valid: !0-}, HC = {- ...VC,+}, bC = {+ ...yC,customError: !0,valid: !1-}, UC = {+}, xC = {isInvalid: !1,- validationDetails: VC,+ validationDetails: yC,validationErrors: []-}, WC = (0, D.createContext)({}), GC = "__reactAriaFormValidationState";-function KC(e) {+}, Pie = (0, D.createContext)({}), SC = "__reactAriaFormValidationState";+function CC(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[GC];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[SC];return {realtimeValidation: t,displayValidation: n,@@ -22980,71 +22983,71 @@ function KC(e) {commitValidation: a};}- return qC(e);+ return Fie(e);}-function qC(e) {+function Fie(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: HC- }, l = (0, D.useMemo)(() => !o || i == null ? null : XC(YC(o, i)), [o, i]);+ validationDetails: bC+ }, l = (0, D.useMemo)(() => !o || i == null ? null : TC(Iie(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, D.useContext)(WC), d = (0, D.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => JC(u[e])) : JC(u[r]) : [], [u, r]), [f, p] = (0, D.useState)(u), [m, h] = (0, D.useState)(!1);+ let u = (0, D.useContext)(Pie), d = (0, D.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => wC(u[e])) : wC(u[r]) : [], [u, r]), [f, p] = (0, D.useState)(u), [m, h] = (0, D.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, D.useMemo)(() => XC(m ? [] : d), [m, d]), _ = (0, D.useRef)(UC), [v, y] = (0, D.useState)(UC), b = (0, D.useRef)(UC), x = () => {+ let g = (0, D.useMemo)(() => TC(m ? [] : d), [m, d]), _ = (0, D.useRef)(xC), [v, y] = (0, D.useState)(xC), b = (0, D.useRef)(xC), x = () => {if (!S) return;C(!1);let e = l || a || _.current;- ZC(e, b.current) || (b.current = e, y(e));+ EC(e, b.current) || (b.current = e, y(e));}, [S, C] = (0, D.useState)(!1);return (0, D.useEffect)(x), {- realtimeValidation: c || g || l || a || UC,+ realtimeValidation: c || g || l || a || xC,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !ZC(v, e) ? y(e) : _.current = e;+ s === "aria" && !EC(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = UC;- ZC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);+ let e = xC;+ EC(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},commitValidation() {s === "native" && C(!0), h(!0);}};}-function JC(e) {+function wC(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function YC(e, t) {+function Iie(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return JC(n);+ if (n && typeof n != "boolean") return wC(n);}return [];}-function XC(e) {+function TC(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: HC+ validationDetails: bC} : null;}-function ZC(e, t) {+function EC(e, t) {return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);}//#endregion//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs-function QC(e, t, n) {- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = KC({+function DC(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 = CC({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- FC(e, b, n);+ _C(e, b, n);let w = (e) => {e.stopPropagation(), t.setSelected(G(e).checked);- }, { pressProps: T, isPressed: E } = GS({+ }, { pressProps: T, isPressed: E } = PS({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -23052,7 +23055,7 @@ function QC(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [O, k] = (0, D.useState)(!1), { pressProps: A } = GS({+ }), [O, k] = (0, D.useState)(!1), { pressProps: A } = PS({onPressStart(e) {e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), k(!0));},@@ -23069,16 +23072,16 @@ function QC(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [GC]: i } = e, { commitValidation: a } = i || b;+ let { [SC]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: j } = Vx(e, n), M = K(T, j), ee = jS(e, { labelable: !0 });- PC(n, t.defaultSelected, t.setSelected);- let N = BC(), te = BC();+ }), { focusableProps: j } = xx(e, n), M = K(T, j), N = yS(e, { labelable: !0 });+ gC(n, t.defaultSelected, t.setSelected);+ let P = vC(), ee = vC();return {labelProps: K(A, { onClick: (e) => e.preventDefault() }),- inputProps: K(ee, {+ inputProps: K(N, {checked: t.isSelected,"aria-required": l && u === "aria" || void 0,required: l && u === "native",@@ -23087,8 +23090,8 @@ function QC(e, t, n) {"aria-controls": e["aria-controls"],"aria-readonly": i || void 0,"aria-describedby": [- N.id,- te.id,+ P.id,+ ee.id,p].filter(Boolean).join(" ") || void 0,onChange: w,@@ -23099,8 +23102,8 @@ function QC(e, t, n) {type: "checkbox",...M}),- descriptionProps: N,- errorMessageProps: te,+ descriptionProps: P,+ errorMessageProps: ee,isSelected: t.isSelected,isPressed: E || O,isDisabled: r,@@ -23112,8 +23115,8 @@ function QC(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function $C(e, t, n) {- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = QC(e, t, n), { isIndeterminate: m } = e;+function OC(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 } = DC(e, t, n), { isIndeterminate: m } = e;return (0, D.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {@@ -23132,18 +23135,18 @@ function $C(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/utils.mjs-var ew = /* @__PURE__ */ new WeakMap();+var Lie = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/label/useLabel.mjs-function tw(e) {+function kC(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = Dx(t);- let o = Dx(), s = {};+ t = sx(t);+ let o = sx(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = _S({+ let c = Zx({id: t,"aria-label": i,"aria-labelledby": r@@ -23155,13 +23158,13 @@ function tw(e) {}//#endregion//#region node_modules/react-aria/dist/private/label/useField.mjs-function nw(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = tw(e), s = Ox([+function AC(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = kC(e), s = cx([!!t,!!n,r,i- ]), c = Ox([+ ]), c = cx([!!t,!!n,r,@@ -23180,26 +23183,26 @@ function nw(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function rw(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, D.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = BS(), c = (0, D.useCallback)((e) => {- ob(e.currentTarget, G(e)) && a.current.isFocusWithin && !ob(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+function jC(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, D.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = OS(), c = (0, D.useCallback)((e) => {+ Qy(e.currentTarget, G(e)) && a.current.isFocusWithin && !Qy(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = Cb(c), u = (0, D.useCallback)((e) => {- if (!ob(e.currentTarget, G(e))) return;- let t = G(e), n = $y(t), s = sb(n);+ ]), l = ub(c), u = (0, D.useCallback)((e) => {+ if (!Qy(e.currentTarget, G(e))) return;+ let t = G(e), n = Gy(t), s = $y(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 && !ob(t, r)) {+ if (a.current.isFocusWithin && !Qy(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- Sb(e, t);- let i = xb(e);+ lb(e, t);+ let i = cb(e);c(i);}}, { capture: !0 });@@ -23221,14 +23224,14 @@ function rw(e) {}//#endregion//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs-var iw = D.useInsertionEffect ?? D.useLayoutEffect;-function aw(e, t, n) {+var Rie = D.useInsertionEffect ?? D.useLayoutEffect;+function MC(e, t, n) {let [r, i] = (0, D.useState)(e || t), a = (0, D.useRef)(r), o = (0, D.useRef)(e !== void 0), s = e !== void 0;(0, D.useEffect)(() => {o.current, o.current = s;}, [s]);let c = s ? e : r;- iw(() => {+ Rie(() => {a.current = c;});let [, l] = (0, D.useReducer)(() => ({}), {});@@ -23239,8 +23242,8 @@ function aw(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs-function ow(e = {}) {- let { isReadOnly: t } = e, [n, r] = aw(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, D.useState)(n);+function NC(e = {}) {+ let { isReadOnly: t } = e, [n, r] = MC(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, D.useState)(n);function a(e) {t || r(e);}@@ -23256,26 +23259,26 @@ function ow(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function sw(e, t, n) {- let r = ow({+function zie(e, t, n) {+ let r = NC({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 } = ew.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Lie.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = KC({+ let { realtimeValidation: l } = CC({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, D.useRef)(UC), d = () => {+ }), u = (0, D.useRef)(xC), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, D.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = $C({+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = OC({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -23283,7 +23286,7 @@ function sw(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [GC]: {+ [SC]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -23307,10 +23310,10 @@ function sw(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/utils/number.mjs-function cw(e, t = -Infinity, n = Infinity) {+function PC(e, t = -Infinity, n = Infinity) {return Math.min(Math.max(e, t), n);}-function lw(e, t) {+function FC(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 {@@ -23323,24 +23326,24 @@ function lw(e, t) {}return n;}-function uw(e, t, n, r) {+function IC(e, t, n, r) {t = Number(t), n = Number(n);- let i = (e - (isNaN(t) ? 0 : t)) % r, a = lw(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(lw(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(lw((n - t) / r, r)) * r), a = lw(a, r), a;+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = FC(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(FC(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(FC((n - t) / r, r)) * r), a = FC(a, r), a;}//#endregion//#region node_modules/@internationalized/number/dist/private/NumberFormatter.mjs-var dw = /* @__PURE__ */ new Map(), fw = !1;+var LC = /* @__PURE__ */ new Map(), RC = !1;try {- fw = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";+ RC = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";} catch {}-var pw = class {+var Bie = class {constructor(e, t = {}) {- this.numberFormatter = mw(e, t), this.options = t;+ this.numberFormatter = Vie(e, t), this.options = t;}format(e) {let t = "";- return t = !fw && this.options.signDisplay != null ? hw(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;+ return t = !RC && this.options.signDisplay != null ? Hie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;}formatToParts(e) {return this.numberFormatter.formatToParts(e);@@ -23372,21 +23375,21 @@ var pw = class {}resolvedOptions() {let e = this.numberFormatter.resolvedOptions();- return !fw && this.options.signDisplay != null && (e = {+ return !RC && this.options.signDisplay != null && (e = {...e,signDisplay: this.options.signDisplay}), e;}};-function mw(e, t = {}) {+function Vie(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 (dw.has(r)) return dw.get(r);+ if (LC.has(r)) return LC.get(r);let i = new Intl.NumberFormat(e, t);- return dw.set(r, i), i;+ return LC.set(r, i), i;}-function hw(e, t, n) {+function Hie(e, t, n) {if (t === "auto") return e.format(n);if (t === "never") return e.format(Math.abs(n));{@@ -23400,12 +23403,12 @@ function hw(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useMove.mjs-function gw(e) {+function zC(e) {let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, D.useRef)({didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = BS(), s = hS((0, D.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = OS(), s = Yx((0, D.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -23427,8 +23430,8 @@ function gw(e) {t,n,i- ])), c = hS((0, D.useCallback)((e, t) => {- IS(), i.current.didMove && r?.({+ ])), c = Yx((0, D.useCallback)((e, t) => {+ wS(), i.current.didMove && r?.({type: "moveend",pointerType: t,shiftKey: e.shiftKey,@@ -23439,7 +23442,7 @@ function gw(e) {}, [r, i]));return { moveProps: (0, D.useMemo)(() => {let e = {}, t = () => {- FS(), i.current.didMove = !1;+ CS(), i.current.didMove = !1;};{let n = (e) => {@@ -23454,7 +23457,7 @@ function gw(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = eb(G(e));+ let a = Ky(G(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -23464,7 +23467,7 @@ function gw(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = eb(G(e));+ let o = Ky(G(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -23498,7 +23501,7 @@ function gw(e) {}//#endregion//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs-var _w = {+var BC = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -23510,38 +23513,38 @@ var _w = {width: "1px",whiteSpace: "nowrap"};-function vw(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, D.useState)(!1), { focusWithinProps: a } = rw({+function VC(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, D.useState)(!1), { focusWithinProps: a } = jC({isDisabled: !n,onFocusWithinChange: (e) => i(e)}), o = (0, D.useMemo)(() => r ? t : t ? {- ..._w,+ ...BC,...t- } : _w, [r]);+ } : BC, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function yw(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = vw(e);+function HC(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = VC(e);return /*#__PURE__*/ D.createElement(n, K(a, o), t);}//#endregion//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs-function die(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = aw(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Vx(e, t), d = KC({+function Uie(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = MC(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = xx(e, t), d = CC({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = nw({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = AC({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = jS(e, { labelable: !0 }), b = {+ }), y = yS(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, D.useState)(c);- return PC(t, e.defaultValue ?? x, l), FC(e, d, t), {+ return gC(t, e.defaultValue ?? x, l), _C(e, d, t), {labelProps: h,inputProps: K(y, n === "input" ? b : void 0, {disabled: r,@@ -23588,28 +23591,28 @@ function die(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs-function fie(e = {}) {- let { locale: t } = CS();- return (0, D.useMemo)(() => new pw(t, e), [t, e]);+function Wie(e = {}) {+ let { locale: t } = rS();+ return (0, D.useMemo)(() => new Bie(t, e), [t, e]);}//#endregion//#region node_modules/react-aria/dist/private/slider/utils.mjs-var bw = /* @__PURE__ */ new WeakMap();-function xw(e, t) {- let n = bw.get(e);+var UC = /* @__PURE__ */ new WeakMap();+function WC(e, t) {+ let n = UC.get(e);if (!n) throw Error("Unknown slider state");return `${n.id}-${t}`;}//#endregion//#region node_modules/react-aria/dist/private/slider/useSlider.mjs-function pie(e, t, n) {- let { labelProps: r, fieldProps: i } = tw(e), a = e.orientation === "vertical";- bw.set(t, {+function Gie(e, t, n) {+ let { labelProps: r, fieldProps: i } = kC(e), a = e.orientation === "vertical";+ UC.set(t, {id: r.id ?? i.id,"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = CS(), { addGlobalListener: s, removeGlobalListener: c } = BS(), l = (0, D.useRef)(null), u = o === "rtl", d = (0, D.useRef)(null), { moveProps: f } = gw({+ let { direction: o } = rS(), { addGlobalListener: s, removeGlobalListener: c } = OS(), l = (0, D.useRef)(null), u = o === "rtl", d = (0, D.useRef)(null), { moveProps: f } = zC({onMoveStart() {d.current = null;},@@ -23619,7 +23622,7 @@ function pie(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 = cw(d.current / s, 0, 1);+ let e = PC(d.current / s, 0, 1);t.setThumbPercent(l.current, e);}},@@ -23643,7 +23646,7 @@ function pie(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(xw(t, 0))?.focus(), fx("keyboard");+ document.getElementById(WC(t, 0))?.focus(), Kb("keyboard");}), {labelProps: r,groupProps: {@@ -23666,27 +23669,27 @@ function pie(e, t, n) {}}, f),outputProps: {- htmlFor: t.values.map((e, n) => xw(t, n)).join(" "),+ htmlFor: t.values.map((e, n) => WC(t, n)).join(" "),"aria-live": "off"}};}//#endregion//#region node_modules/react-aria/dist/private/slider/useSliderThumb.mjs-function mie(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 } = CS(), { addGlobalListener: m, removeGlobalListener: h } = BS(), g = bw.get(t), { labelProps: _, fieldProps: v } = tw({+function Kie(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 } = rS(), { addGlobalListener: m, removeGlobalListener: h } = OS(), g = UC.get(t), { labelProps: _, fieldProps: v } = kC({...e,- id: xw(t, n),+ id: WC(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, D.useCallback)(() => {- s.current && Qy(s.current);+ s.current && Wy(s.current);}, [s]), x = t.focusedThumb === n;(0, D.useEffect)(() => {x && b();}, [x, b]);let S = p === "rtl", C = (0, D.useRef)(null), w = (e) => {t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);- }, { keyboardProps: T } = Lx({+ }, { keyboardProps: T } = _x({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -23702,7 +23705,7 @@ function mie(e, t) {})},allowRepeats: !0- }), { moveProps: E } = gw({+ }), { moveProps: E } = zC({onMoveStart() {C.current = null, t.setThumbDragging(n, !0);},@@ -23713,7 +23716,7 @@ function mie(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, cw(C.current / g, 0, 1));+ (f || S) && (t = -t), C.current += t, c(n, PC(C.current / g, 0, 1));}},onMoveEnd() {@@ -23721,7 +23724,7 @@ function mie(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: O } = Vx(K(e, {+ let { focusableProps: O } = xx(K(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), k = (0, D.useRef)(void 0), A = (e) => {@@ -23730,7 +23733,7 @@ function mie(e, t) {(e.pointerId ?? e.changedTouches?.[0].identifier) === k.current && (b(), t.setThumbDragging(n, !1), h(window, "mouseup", j, !1), h(window, "touchend", j, !1), h(window, "pointerup", j, !1));}, M = t.getThumbPercent(n);(f || p === "rtl") && (M = 1 - M);- let ee = d ? {} : K(T, E, {+ let N = d ? {} : K(T, E, {onMouseDown: (e) => {e.button !== 0 || e.altKey || e.ctrlKey || e.metaKey || A();},@@ -23741,7 +23744,7 @@ function mie(e, t) {A(e.changedTouches[0].identifier);}});- return PC(s, t.defaultValues[n], (e) => {+ return gC(s, t.defaultValues[n], (e) => {t.setThumbValue(n, e);}), {inputProps: K(O, v, {@@ -23766,7 +23769,7 @@ function mie(e, t) {}}),thumbProps: {- ...ee,+ ...N,style: {position: "absolute",[f ? "top" : "left"]: `${M * 100}%`,@@ -23782,42 +23785,42 @@ function mie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var hie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function Sw(e) {+var qie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function GC(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var Cw = /* @__PURE__ */ new WeakMap(), ww = [];-function Tw(e, t) {- let n = eb(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && hie, 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 KC = /* @__PURE__ */ new WeakMap(), qC = [];+function JC(e, t) {+ let n = Ky(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && qie, 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 (ab()) {+ if (Zy()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; nb(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; Jy(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 (ob(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (Qy(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = ZS($y(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = BS(Gy(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 = Cw.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Cw.set(e, t + 1));+ let t = KC.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), KC.set(e, t + 1));};- ww.length && ww[ww.length - 1].disconnect(), d(i);+ qC.length && qC[qC.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) => ob(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Sw(e) ? o.add(e) : e instanceof Element && d(e);- if (ab()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => Qy(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && GC(e) ? o.add(e) : e instanceof Element && d(e);+ if (Zy()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23830,11 +23833,11 @@ function Tw(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (ab()) for (let e of u) {+ if (Zy()) 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) => ob(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Sw(e) ? o.add(e) : e instanceof Element && d(e);- if (ab()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => Qy(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && GC(e) ? o.add(e) : e instanceof Element && d(e);+ if (Zy()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23860,59 +23863,59 @@ function Tw(e, t) {p.disconnect();}};- return ww.push(h), () => {- if (p.disconnect(), ab()) for (let e of m) e.disconnect();+ return qC.push(h), () => {+ if (p.disconnect(), Zy()) for (let e of m) e.disconnect();for (let e of s) {- let t = Cw.get(e);- t != null && (t === 1 ? (l(e, !1), Cw.delete(e)) : Cw.set(e, t - 1));+ let t = KC.get(e);+ t != null && (t === 1 ? (l(e, !1), KC.delete(e)) : KC.set(e, t - 1));}- h === ww[ww.length - 1] ? (ww.pop(), ww.length && ww[ww.length - 1].observe()) : ww.splice(ww.indexOf(h), 1);+ h === qC[qC.length - 1] ? (qC.pop(), qC.length && qC[qC.length - 1].observe()) : qC.splice(qC.indexOf(h), 1);};}-function Ew(e) {- let t = ww[ww.length - 1];+function YC(e) {+ let t = qC[qC.length - 1];if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {t.visibleNodes.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/listbox/utils.mjs-var Dw = /* @__PURE__ */ new WeakMap();-function gie(e) {+var XC = /* @__PURE__ */ new WeakMap();+function Jie(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function _ie(e, t) {- let n = Dw.get(e);+function Yie(e, t) {+ let n = XC.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${gie(t)}`;+ return `${n.id}-option-${Jie(t)}`;}//#endregion//#region node_modules/react-aria/dist/private/selection/utils.mjs-function Ow(e) {- return Nb() ? e.altKey : e.ctrlKey;+function ZC(e) {+ return ire() ? e.altKey : e.ctrlKey;}-function kw(e, t) {+function QC(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 Aw = /* @__PURE__ */ new WeakMap();-function vie(e) {- let t = Dx();- return Aw.set(e, t), t;+var $C = /* @__PURE__ */ new WeakMap();+function Xie(e) {+ let t = sx();+ return $C.set(e, t), t;}-function yie(e) {- return Aw.get(e);+function Zie(e) {+ return $C.get(e);}//#endregion//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var jw = class {+var ew = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : kw(this.ref, e);+ let n = e == null ? null : QC(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -23938,12 +23941,12 @@ var jw = class {height: e?.clientHeight ?? 0};}-}, Mw = class {+}, tw = 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 jw(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 jw(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 ew(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 ew(this.ref);this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -23983,14 +23986,14 @@ var jw = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = kw(this.ref, e);+ let t = this.getNextKey(e), n = QC(this.ref, e);if (t != null) {- let e = kw(this.ref, t);+ let e = QC(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = kw(this.ref, r);+ let e = QC(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -24024,7 +24027,7 @@ var jw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !TC(t)) return this.getFirstKey();+ if (t && !lC(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -24039,7 +24042,7 @@ var jw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !TC(t)) return this.getLastKey();+ if (t && !lC(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);@@ -24062,184 +24065,184 @@ var jw = class {}return null;}-}, Nw = {};-Nw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, nw = {};+nw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var Pw = {};-Pw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+var rw = {};+rw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };//#endregion//#region 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 iw = {};+iw = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs-var Iw = {};-Iw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+var aw = {};+aw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs-var Lw = {};-Lw = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };+var ow = {};+ow = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs-var Rw = {};-Rw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+var sw = {};+sw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var zw = {};-zw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+var cw = {};+cw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var Bw = {};-Bw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+var lw = {};+lw = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs-var 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" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs-var Hw = {};-Hw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+var dw = {};+dw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs-var Uw = {};-Uw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };+var fw = {};+fw = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs-var Ww = {};-Ww = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+var pw = {};+pw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var Gw = {};-Gw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+var mw = {};+mw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs-var Kw = {};-Kw = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+var hw = {};+hw = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs-var qw = {};-qw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+var gw = {};+gw = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs-var Jw = {};-Jw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+var _w = {};+_w = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var Yw = {};-Yw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+var vw = {};+vw = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var Xw = {};-Xw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+var yw = {};+yw = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs-var Zw = {};-Zw = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };+var bw = {};+bw = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs-var Qw = {};-Qw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+var xw = {};+xw = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var $w = {};-$w = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };+var Sw = {};+Sw = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs-var eT = {};-eT = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };+var Cw = {};+Cw = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs-var tT = {};-tT = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+var ww = {};+ww = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs-var nT = {};-nT = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+var Tw = {};+Tw = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs-var rT = {};-rT = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };+var Ew = {};+Ew = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs-var iT = {};-iT = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+var Dw = {};+Dw = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var aT = {};-aT = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };+var Ow = {};+Ow = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs-var oT = {};-oT = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };+var kw = {};+kw = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs-var sT = {};-sT = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+var Aw = {};+Aw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs-var cT = {};-cT = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };+var jw = {};+jw = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs-var lT = {};-lT = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };+var Mw = {};+Mw = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs-var uT = {};-uT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+var Nw = {};+Nw = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var dT = {};-dT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+var Pw = {};+Pw = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var fT = {};-fT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+var Fw = {};+Fw = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };//#endregion//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs-var pT = {};-pT = {- "ar-AE": Nw,- "bg-BG": Pw,- "cs-CZ": Fw,- "da-DK": Iw,- "de-DE": Lw,- "el-GR": Rw,- "en-US": zw,- "es-ES": Bw,- "et-EE": Vw,- "fi-FI": Hw,- "fr-FR": Uw,- "he-IL": Ww,- "hr-HR": Gw,- "hu-HU": Kw,- "it-IT": qw,- "ja-JP": Jw,- "ko-KR": Yw,- "lt-LT": Xw,- "lv-LV": Zw,- "nb-NO": Qw,- "nl-NL": $w,- "pl-PL": eT,- "pt-BR": tT,- "pt-PT": nT,- "ro-RO": rT,- "ru-RU": iT,- "sk-SK": aT,- "sl-SI": oT,- "sr-SP": sT,- "sv-SE": cT,- "tr-TR": lT,- "uk-UA": uT,- "zh-CN": dT,- "zh-TW": fT+var Iw = {};+Iw = {+ "ar-AE": nw,+ "bg-BG": rw,+ "cs-CZ": iw,+ "da-DK": aw,+ "de-DE": ow,+ "el-GR": sw,+ "en-US": cw,+ "es-ES": lw,+ "et-EE": uw,+ "fi-FI": dw,+ "fr-FR": fw,+ "he-IL": pw,+ "hr-HR": mw,+ "hu-HU": hw,+ "it-IT": gw,+ "ja-JP": _w,+ "ko-KR": vw,+ "lt-LT": yw,+ "lv-LV": bw,+ "nb-NO": xw,+ "nl-NL": Sw,+ "pl-PL": Cw,+ "pt-BR": ww,+ "pt-PT": Tw,+ "ro-RO": Ew,+ "ru-RU": Dw,+ "sk-SK": Ow,+ "sl-SI": kw,+ "sr-SP": Aw,+ "sv-SE": jw,+ "tr-TR": Mw,+ "uk-UA": Nw,+ "zh-CN": Pw,+ "zh-TW": Fw};//#endregion//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var bie = 500;-function mT(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = bie, accessibilityDescription: s } = e, c = (0, D.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = BS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = GS({+var Qie = 500;+function Lw(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Qie, accessibilityDescription: s } = e, c = (0, D.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = OS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = PS({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -24247,12 +24250,12 @@ function mT(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), $y(e.target).activeElement !== e.target && Qy(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Gy(e.target).activeElement !== e.target && Wy(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 = eb(e.target);+ let t = Ky(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -24267,12 +24270,12 @@ function mT(e) {});}});- return { longPressProps: K(f, NC(a && !t ? s : void 0)) };+ return { longPressProps: K(f, hC(a && !t ? s : void 0)) };}//#endregion//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function xie(e) {- let { onContextMenu: t } = e, n = (0, D.useRef)(!1), { longPressProps: r } = mT({+function $ie(e) {+ let { onContextMenu: t } = e, n = (0, D.useRef)(!1), { longPressProps: r } = Lw({onLongPressStart() {n.current = !1;},@@ -24284,7 +24287,7 @@ function xie(e) {});}});- return t ? { contextMenuProps: K(Mb() ? r : {}, {+ return t ? { contextMenuProps: K(_b() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -24295,7 +24298,7 @@ function xie(e) {});},onKeyDown(e) {- if (kb() && e.ctrlKey && e.key === "Enter") {+ if (hb() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -24315,13 +24318,13 @@ function xie(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var hT = /* @__PURE__ */ new WeakMap();-function Sie(e) {+var Rw = /* @__PURE__ */ new WeakMap();+function eae(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, D.useEffect)(() => !n || r === null ? void 0 : rb(cb(t.current), "scroll", (e) => {+ (0, D.useEffect)(() => !n || r === null ? void 0 : Yy(eb(t.current), "scroll", (e) => {let n = G(e);- if (!t.current || n instanceof Node && !ob(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || hT.get(t.current);+ if (!t.current || n instanceof Node && !Qy(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || Rw.get(t.current);i && i();}, !0), [n,@@ -24331,14 +24334,14 @@ function Sie(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function Cie(e, t, n) {+function tae(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, D.useEffect)(() => {- n && n.current && hT.set(n.current, t.close);+ n && n.current && Rw.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = Dx();+ let o = sx();return {triggerProps: {"aria-haspopup": a,@@ -24351,14 +24354,14 @@ function Cie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function wie(e) {+function nae(e) {return e && e.__esModule ? e.default : e;}-function gT(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Dx(), { triggerProps: s, overlayProps: c } = Cie({ type: r }, t, n), l = (e, n, r = "first") => {+function zw(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = sx(), { triggerProps: s, overlayProps: c } = tae({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = Lx({+ }, { keyboardProps: u } = _x({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -24370,7 +24373,7 @@ function gT(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = kS(wie(pT), "@react-aria/menu"), { longPressProps: f } = mT({+ }), d = fS(nae(Iw), "@react-aria/menu"), { longPressProps: f } = Lw({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -24382,14 +24385,14 @@ function gT(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Qy(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Wy(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (Qy(e.target), t.toggle());+ e.pointerType === "touch" && !i && (Wy(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = xie({ onContextMenu(e) {+ let { contextMenuProps: m } = $ie({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,@@ -24434,8 +24437,8 @@ function gT(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var _T = 1e3;-function vT(e) {+var Bw = 1e3;+function Vw(e) {let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, D.useRef)({search: "",timeout: void 0@@ -24454,12 +24457,12 @@ function vT(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, _T);+ }, Bw);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = Tie(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !ob(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {+ let a = rae(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Qy(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();@@ -24470,34 +24473,34 @@ function vT(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, _T);+ }, Bw);}} : void 0} };}-function Tie(e) {+function rae(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}//#endregion//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function yT(e, t) {+function Hw(e, t) {let n = (0, D.useRef)(!0), r = (0, D.useRef)(null);- bb(() => (n.current = !0, () => {+ sb(() => (n.current = !0, () => {n.current = !1;- }), []), bb(() => {+ }), []), sb(() => {n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;}, t);}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs-function bT(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 } = CS(), _ = Bb(), v = (e, n, i) => {+function Uw(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 } = rS(), _ = Sb(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !Ow(e)) {- (0, Et.flushSync)(() => {+ if (t.isLink(n) && m === "selection" && l && !ZC(e)) {+ (0, Tt.flushSync)(() => {t.setFocusedKey(n, i);});- let a = kw(r, n), o = t.getItemProps(n);+ let a = QC(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -24509,7 +24512,7 @@ function bT(e) {t.extendSelection(n);return;}- if (l && !Ow(e)) {+ if (l && !ZC(e)) {t.replaceSelection(n);return;}@@ -24536,9 +24539,9 @@ function bT(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, pS(e));+ let r = n.getFirstKey(t.focusedKey, qx(e));if (t.setFocusedKey(r), r != null) {- if (pS(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (qx(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24570,9 +24573,9 @@ function bT(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, pS(e));+ let r = n.getLastKey(t.focusedKey, qx(e));if (t.setFocusedKey(r), r != null) {- if (pS(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (qx(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24603,12 +24606,12 @@ function bT(e) {else return !1;}, A = () => {if (!f && r.current) {- let e = gC(r.current, { tabbable: !0 }), t, n;+ let e = nC(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = sb();- t && (!lb(t) || i && !vb(i)) && Qy(t);+ let i = $y();+ t && (!tb(t) || i && !ab(i)) && Wy(t);}return {shouldContinuePropagation: !0,@@ -24618,11 +24621,11 @@ function bT(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), M = (e, t) => ({- [kb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [hb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [kb() ? e + "+Alt" : e + "+Control"]: t,+ [hb() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: ee } = Lx({+ }), { keyboardProps: N } = _x({shortcuts: {...M("ArrowDown", y),...M("ArrowUp", b),@@ -24632,30 +24635,30 @@ function bT(e) {...M("PageUp", E)},allowRepeats: !0- }), { keyboardProps: N } = Lx({ shortcuts: {+ }), { keyboardProps: P } = _x({ shortcuts: {...M("Home", x),...M("End", w),"Mod+A": O,Escape: k,Tab: A,"Tab+Shift": j- } }), te = (0, D.useRef)({+ } }), ee = (0, D.useRef)({top: 0,left: 0});- gS(p, "scroll", () => {- te.current = {+ Xx(p, "scroll", () => {+ ee.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0};});- let P = (e) => {+ let F = (e) => {if (t.isFocused) {- ob(e.currentTarget, G(e)) || t.setFocused(!1);+ Qy(e.currentTarget, G(e)) || t.setFocused(!1);return;}- if (!ob(e.currentTarget, G(e))) return;- let i = dx();+ if (!Qy(e.currentTarget, G(e))) return;+ let i = Gb();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -24664,34 +24667,34 @@ function bT(e) {else if (t.focusedKey == null) {let r = e.relatedTarget;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);+ } else p.current && (p.current.scrollTop = ee.current.top, p.current.scrollLeft = ee.current.left);if (t.focusedKey != null && p.current) {- let e = kw(r, t.focusedKey);- e instanceof HTMLElement && (!lb(e) && !d && Qy(e), (i === "keyboard" || h && i === "virtual") && AC(e, { containingElement: r.current }));+ let e = QC(r, t.focusedKey);+ e instanceof HTMLElement && (!tb(e) && !d && Wy(e), (i === "keyboard" || h && i === "virtual") && pC(e, { containingElement: r.current }));}- }, ne = (e) => {- ob(e.currentTarget, e.relatedTarget) || t.setFocused(!1);- }, F = (0, D.useRef)(!1);- gS(r, kre, d ? (e) => {+ }, te = (e) => {+ Qy(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ }, I = (0, D.useRef)(!1);+ Xx(r, Xre, d ? (e) => {let { detail: n } = e;- e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (F.current = !0);+ e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (I.current = !0);} : void 0);- let re = n.getFirstKey?.() ?? null;- yT(() => {- if (F.current) {- if (re == null) {- let e = sb();- nS(r.current), rS(e, null), t.collection.size > 0 && (F.current = !1);- } else t.setFocusedKey(re), F.current = !1;- }- }, [re, t.collection.size]), yT(() => {- t.collection.size > 0 && (F.current = !1);- }, [t.focusedKey]), gS(r, Ore, d ? (e) => {+ let ne = n.getFirstKey?.() ?? null;+ Hw(() => {+ if (I.current) {+ if (ne == null) {+ let e = $y();+ Ix(r.current), Lx(e, null), t.collection.size > 0 && (I.current = !1);+ } else t.setFocusedKey(ne), I.current = !1;+ }+ }, [ne, t.collection.size]), Hw(() => {+ t.collection.size > 0 && (I.current = !1);+ }, [t.focusedKey]), Xx(r, Yre, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);- let ie = (0, D.useRef)(i), ae = (0, D.useRef)(!1);+ let re = (0, D.useRef)(i), ie = (0, D.useRef)(!1);(0, D.useEffect)(() => {- if (ie.current) {+ if (re.current) {let e = null;i === "first" && (e = n.getFirstKey?.() ?? null), i === "last" && (e = n.getLastKey?.() ?? null);let a = t.selectedKeys;@@ -24701,53 +24704,53 @@ function bT(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Sx(r.current), t.collection.size > 0 && (ie.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 && nx(r.current), t.collection.size > 0 && (re.current = !1, ie.current = !0);}});- let oe = (0, D.useRef)(t.focusedKey), se = (0, D.useRef)(null);+ let ae = (0, D.useRef)(t.focusedKey), oe = (0, D.useRef)(null);(0, D.useEffect)(() => {- if (t.isFocused && t.focusedKey != null && (t.focusedKey !== oe.current || ae.current) && p.current && r.current) {- let e = dx(), n = kw(r, t.focusedKey);+ if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {+ let e = Gb(), n = QC(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;- (e === "keyboard" || ae.current) && (se.current && cancelAnimationFrame(se.current), se.current = requestAnimationFrame(() => {- p.current && (OC(p.current, n), e !== "virtual" && AC(n, { containingElement: r.current }));+ (e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {+ p.current && (fC(p.current, n), e !== "virtual" && pC(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && Sx(r.current), oe.current = t.focusedKey, ae.current = !1;+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && nx(r.current), ae.current = t.focusedKey, ie.current = !1;}), (0, D.useEffect)(() => () => {- se.current && cancelAnimationFrame(se.current);- }, []), gS(r, "react-aria-focus-scope-restore", (e) => {+ oe.current && cancelAnimationFrame(oe.current);+ }, []), Xx(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});- let ce = {- ...K(N, ee),- onFocus: P,- onBlur: ne,+ let se = {+ ...K(P, N),+ onFocus: F,+ onBlur: te,onMouseDown(e) {p.current === G(e) && e.preventDefault();}- }, { typeSelectProps: le } = vT({+ }, { typeSelectProps: ce } = Vw({keyboardDelegate: n,selectionManager: t});- u || (ce = K(le, ce));- let ue;- d || (ue = t.focusedKey == null ? 0 : -1);- let de = vie(t.collection);- return { collectionProps: K(ce, {- tabIndex: ue,- "data-collection": de+ u || (se = K(ce, se));+ let le;+ d || (le = t.focusedKey == null ? 0 : -1);+ let ue = Xie(t.collection);+ return { collectionProps: K(se, {+ tabIndex: le,+ "data-collection": ue}) };}//#endregion//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function xT(e, t) {+function Ww(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function ST(e) {- return CT(e, 0);+function Gw(e) {+ return Kw(e, 0);}-function CT(e, t) {+function Kw(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -24755,112 +24758,112 @@ function CT(e, t) {n++;}}-function wT(e) {+function qw(e) {let t;for (let n of e) t = n;return t;}-function TT(e, t, n) {+function Jw(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [...ET(e, t), t], i = [...ET(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [...Yw(e, t), t], i = [...Yw(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 ET(e, t) {+function Yw(e, t) {let n = [], r = t;for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);return n;}//#endregion//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs-var DT = /* @__PURE__ */ new WeakMap();-function OT(e) {- let t = DT.get(e);+var Xw = /* @__PURE__ */ new WeakMap();+function Zw(e) {+ let t = Xw.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(xT(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(Ww(i, e)) : i.type === "item" && n++;};- return r(e), DT.set(e, n), n;+ return r(e), Xw.set(e, n), n;}//#endregion//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs-var kT = /* @__PURE__ */ new Map();-function AT(e) {- let { locale: t } = CS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (kT.has(n)) return kT.get(n);+var Qw = /* @__PURE__ */ new Map();+function $w(e) {+ let { locale: t } = rS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (Qw.has(n)) return Qw.get(n);let r = new Intl.Collator(t, e);- return kT.set(n, r), r;+ return Qw.set(n, r), r;}//#endregion//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs-var Eie = /*#__PURE__*/ D.forwardRef(({ children: e, ...t }, n) => {- let r = (0, D.useRef)(!1), i = (0, D.useContext)(zS), a = K(i || {}, {+var iae = /*#__PURE__*/ D.forwardRef(({ children: e, ...t }, n) => {+ let r = (0, D.useRef)(!1), i = (0, D.useContext)(DS), a = K(i || {}, {...t,register() {r.current = !0, i && i.register();}});- return a.ref = Rx(n || i?.ref), zx(i, a.ref), (0, D.useEffect)(() => {+ return a.ref = vx(n || i?.ref), yx(i, a.ref), (0, D.useEffect)(() => {r.current ||= !0;- }, []), /*#__PURE__*/ D.createElement(zS.Provider, { value: a }, e);+ }, []), /*#__PURE__*/ D.createElement(DS.Provider, { value: a }, e);});-function Die({ children: e }) {+function aae({ children: e }) {let t = (0, D.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ D.createElement(zS.Provider, { value: t }, e);+ return /*#__PURE__*/ D.createElement(DS.Provider, { value: t }, e);}//#endregion//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var jT = /*#__PURE__*/ (0, D.createContext)({});-function MT(e) {- let { getContainer: t } = e, { getContainer: n } = NT();- return /*#__PURE__*/ D.createElement(jT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+var eT = /*#__PURE__*/ (0, D.createContext)({});+function tT(e) {+ let { getContainer: t } = e, { getContainer: n } = nT();+ return /*#__PURE__*/ D.createElement(eT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);}-function NT() {- return (0, D.useContext)(jT) ?? {};+function nT() {+ return (0, D.useContext)(eT) ?? {};}//#endregion//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs-var PT = /*#__PURE__*/ D.createContext(null);-function FT(e) {- let t = Yb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => ({+var rT = /*#__PURE__*/ D.createContext(null);+function iT(e) {+ let t = kb(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => ({contain: i,setContain: a- }), [i, a]), { getContainer: s } = NT();+ }), [i, a]), { getContainer: s } = nT();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ D.createElement(tC, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ D.createElement(WS, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ D.createElement(PT.Provider, { value: o }, /*#__PURE__*/ D.createElement(Die, null, /*#__PURE__*/ D.createElement(Bx.Provider, { value: null }, c))), /*#__PURE__*/ Et.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ D.createElement(rT.Provider, { value: o }, /*#__PURE__*/ D.createElement(aae, null, /*#__PURE__*/ D.createElement(bx.Provider, { value: null }, c))), /*#__PURE__*/ Tt.createPortal(c, n);}-function IT() {- let e = (0, D.useContext)(PT)?.setContain;- bb(() => {+function aT() {+ let e = (0, D.useContext)(rT)?.setContain;+ sb(() => {e?.(!0);}, [e]);}//#endregion//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs-function Oie(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = Ox();+function oae(e, t) {+ let { role: n = "dialog", isEntering: r } = e, i = cx();i = e["aria-label"] ? void 0 : i;- let a = Ox();+ let a = cx();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, D.useRef)(!1);(0, D.useEffect)(() => {- if (!r && t.current && !lb(t.current)) {- Sx(t.current);+ if (!r && t.current && !tb(t.current)) {+ nx(t.current);let e = setTimeout(() => {- (sb() === t.current || sb() === document.body) && (o.current = !0, t.current && (t.current.blur(), Sx(t.current)), o.current = !1);+ ($y() === t.current || $y() === document.body) && (o.current = !0, t.current && (t.current.blur(), nx(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t, r]), IT(), (0, D.useRef)(!1), (0, D.useEffect)(() => {});+ }, [t, r]), aT(), (0, D.useRef)(!1), (0, D.useEffect)(() => {});let s = e["aria-describedby"] ?? a;return {dialogProps: {- ...jS(e, { labelable: !0 }),+ ...yS(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? i,@@ -24875,23 +24878,23 @@ function Oie(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function LT(e = {}) {+function oT(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, D.useRef)({isFocused: !1,- isFocusVisible: t || ux()+ isFocusVisible: t || Wb()}), [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, D.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, D.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = ux(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = Wb(), o(e), l();}, [l]);- hx((e) => {+ Yb((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = Nx({+ let { focusProps: d } = px({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = rw({+ }), { focusWithinProps: f } = jC({isDisabled: !r,onFocusWithinChange: u});@@ -24903,42 +24906,42 @@ function LT(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function kie(e = {}) {- let { locale: t } = CS();+function sae(e = {}) {+ let { locale: t } = rS();return (0, D.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useHover.mjs-var RT = !1, zT = 0;-function Aie() {- RT = !0, setTimeout(() => {- RT = !1;+var sT = !1, cT = 0;+function cae() {+ sT = !0, setTimeout(() => {+ sT = !1;}, 500);}-function BT(e) {- e.pointerType === "touch" && Aie();+function lT(e) {+ e.pointerType === "touch" && cae();}-function jie() {- let e = $y(null);- if (e !== void 0) return zT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", BT), zT++, () => {- zT--, !(zT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", BT);+function lae() {+ let e = Gy(null);+ if (e !== void 0) return cT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", lT), cT++, () => {+ cT--, !(cT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", lT);};}-function VT(e) {+function uT(e) {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, D.useState)(!1), s = (0, D.useRef)({isHovered: !1,ignoreEmulatedMouseEvents: !1,pointerType: "",target: null}).current;- (0, D.useEffect)(jie, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = BS(), { hoverProps: u, triggerHoverEnd: d } = (0, D.useMemo)(() => {+ (0, D.useEffect)(lae, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = OS(), { hoverProps: u, triggerHoverEnd: d } = (0, D.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !ob(e.currentTarget, G(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !Qy(e.currentTarget, G(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c($y(G(e)), "pointerover", (e) => {- s.isHovered && s.target && !ob(s.target, G(e)) && a(e, e.pointerType);+ s.target = l, c(Gy(G(e)), "pointerover", (e) => {+ s.isHovered && s.target && !Qy(s.target, G(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -24953,9 +24956,9 @@ function VT(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- RT && t.pointerType === "mouse" || e(t, t.pointerType);+ sT && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && ob(e.currentTarget, G(e)) && a(e, e.pointerType);+ !i && Qy(e.currentTarget, G(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -24978,22 +24981,22 @@ function VT(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function Mie(e) {+function uae(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, D.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = hS((e) => {- n && HT(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = hS((e) => {+ }), o = Yx((e) => {+ n && dT(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = Yx((e) => {n && n(e);});(0, D.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = $y(n);+ let n = t.current, i = Gy(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && HT(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && dT(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);@@ -25001,30 +25004,30 @@ function Mie(e) {}}, [t, r]);}-function HT(e, t) {+function dT(e, t) {if (e.button > 0) return !1;let n = G(e);if (n) {let e = n.ownerDocument;- if (!e || !ob(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !Qy(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}//#endregion//#region node_modules/react-aria/dist/private/gridlist/utils.mjs-var UT = /* @__PURE__ */ new WeakMap();-function WT(e, t) {- let { id: n } = UT.get(e) ?? {};+var fT = /* @__PURE__ */ new WeakMap();+function pT(e, t) {+ let { id: n } = fT.get(e) ?? {};if (!n) throw Error("Unknown list");- return `${n}-${Nie(t)}`;+ return `${n}-${dae(t)}`;}-function Nie(e) {+function dae(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs-var GT = {};-GT = {+var mT = {};+mT = {deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",select: "تحديد",@@ -25038,8 +25041,8 @@ GT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs-var KT = {};-KT = {+var hT = {};+hT = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",select: "Изберете",@@ -25053,8 +25056,8 @@ KT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs-var qT = {};-qT = {+var gT = {};+gT = {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",@@ -25068,8 +25071,8 @@ qT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs-var JT = {};-JT = {+var _T = {};+_T = {deselectedItem: (e) => `${e.item} ikke valgt.`,longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",select: "Vælg",@@ -25083,8 +25086,8 @@ JT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs-var YT = {};-YT = {+var vT = {};+vT = {deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",select: "Auswählen",@@ -25098,8 +25101,8 @@ YT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs-var XT = {};-XT = {+var yT = {};+yT = {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: "Επιλογή",@@ -25113,8 +25116,8 @@ XT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs-var ZT = {};-ZT = {+var bT = {};+bT = {deselectedItem: (e) => `${e.item} not selected.`,select: "Select",selectedCount: (e, t) => `${t.plural(e.count, {@@ -25128,8 +25131,8 @@ ZT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs-var QT = {};-QT = {+var xT = {};+xT = {deselectedItem: (e) => `${e.item} no seleccionado.`,longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",select: "Seleccionar",@@ -25143,8 +25146,8 @@ QT = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs-var $T = {};-$T = {+var ST = {};+ST = {deselectedItem: (e) => `${e.item} pole valitud.`,longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",select: "Vali",@@ -25158,8 +25161,8 @@ $T = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs-var eE = {};-eE = {+var CT = {};+CT = {deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,longPressToSelect: "Siirry valintatilaan painamalla pitkään.",select: "Valitse",@@ -25173,8 +25176,8 @@ eE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs-var tE = {};-tE = {+var wT = {};+wT = {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",@@ -25188,8 +25191,8 @@ tE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs-var nE = {};-nE = {+var TT = {};+TT = {deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",select: "בחר",@@ -25203,8 +25206,8 @@ nE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs-var rE = {};-rE = {+var ET = {};+ET = {deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",select: "Odaberite",@@ -25218,8 +25221,8 @@ rE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs-var iE = {};-iE = {+var DT = {};+DT = {deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,longPressToSelect: "Nyomja hosszan a kijelöléshez.",select: "Kijelölés",@@ -25233,8 +25236,8 @@ iE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs-var aE = {};-aE = {+var OT = {};+OT = {deselectedItem: (e) => `${e.item} non selezionato.`,longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",select: "Seleziona",@@ -25248,8 +25251,8 @@ aE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs-var oE = {};-oE = {+var kT = {};+kT = {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: "選択",@@ -25263,8 +25266,8 @@ oE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs-var sE = {};-sE = {+var AT = {};+AT = {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: "선택",@@ -25278,8 +25281,8 @@ sE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs-var cE = {};-cE = {+var jT = {};+jT = {deselectedItem: (e) => `${e.item} nepasirinkta.`,longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select: "Pasirinkti",@@ -25293,8 +25296,8 @@ cE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs-var lE = {};-lE = {+var MT = {};+MT = {deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select: "Atlasīt",@@ -25308,8 +25311,8 @@ lE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs-var uE = {};-uE = {+var NT = {};+NT = {deselectedItem: (e) => `${e.item} er ikke valgt.`,longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",select: "Velg",@@ -25323,8 +25326,8 @@ uE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs-var dE = {};-dE = {+var PT = {};+PT = {deselectedItem: (e) => `${e.item} niet geselecteerd.`,longPressToSelect: "Druk lang om de selectiemodus te openen.",select: "Selecteren",@@ -25338,8 +25341,8 @@ dE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs-var fE = {};-fE = {+var FT = {};+FT = {deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select: "Zaznacz",@@ -25353,8 +25356,8 @@ fE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs-var pE = {};-pE = {+var IT = {};+IT = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",select: "Selecionar",@@ -25368,8 +25371,8 @@ pE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs-var mE = {};-mE = {+var LT = {};+LT = {deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,longPressToSelect: "Prima continuamente para entrar no modo de seleção.",select: "Selecionar",@@ -25383,8 +25386,8 @@ mE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs-var hE = {};-hE = {+var RT = {};+RT = {deselectedItem: (e) => `${e.item} neselectat.`,longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",select: "Selectare",@@ -25398,8 +25401,8 @@ hE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs-var gE = {};-gE = {+var zT = {};+zT = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",select: "Выбрать",@@ -25413,8 +25416,8 @@ gE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs-var _E = {};-_E = {+var BT = {};+BT = {deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",select: "Vybrať",@@ -25428,8 +25431,8 @@ _E = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs-var vE = {};-vE = {+var VT = {};+VT = {deselectedItem: (e) => `Element ${e.item} ni izbran.`,longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",select: "Izberite",@@ -25443,8 +25446,8 @@ vE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs-var yE = {};-yE = {+var HT = {};+HT = {deselectedItem: (e) => `${e.item} nije izabrano.`,longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",select: "Izaberite",@@ -25458,8 +25461,8 @@ yE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs-var bE = {};-bE = {+var UT = {};+UT = {deselectedItem: (e) => `${e.item} ej markerat.`,longPressToSelect: "Tryck länge när du vill öppna väljarläge.",select: "Markera",@@ -25473,8 +25476,8 @@ bE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs-var xE = {};-xE = {+var WT = {};+WT = {deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,longPressToSelect: "Seçim moduna girmek için uzun basın.",select: "Seç",@@ -25488,8 +25491,8 @@ xE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs-var SE = {};-SE = {+var GT = {};+GT = {deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",select: "Вибрати",@@ -25503,8 +25506,8 @@ SE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs-var CE = {};-CE = {+var KT = {};+KT = {deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,longPressToSelect: "长按以进入选择模式。",select: "选择",@@ -25518,8 +25521,8 @@ CE = {};//#endregion//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs-var wE = {};-wE = {+var qT = {};+qT = {deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,longPressToSelect: "長按以進入選擇模式。",select: "選取",@@ -25533,55 +25536,55 @@ wE = {};//#endregion//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs-var TE = {};-TE = {- "ar-AE": GT,- "bg-BG": KT,- "cs-CZ": qT,- "da-DK": JT,- "de-DE": YT,- "el-GR": XT,- "en-US": ZT,- "es-ES": QT,- "et-EE": $T,- "fi-FI": eE,- "fr-FR": tE,- "he-IL": nE,- "hr-HR": rE,- "hu-HU": iE,- "it-IT": aE,- "ja-JP": oE,- "ko-KR": sE,- "lt-LT": cE,- "lv-LV": lE,- "nb-NO": uE,- "nl-NL": dE,- "pl-PL": fE,- "pt-BR": pE,- "pt-PT": mE,- "ro-RO": hE,- "ru-RU": gE,- "sk-SK": _E,- "sl-SI": vE,- "sr-SP": yE,- "sv-SE": bE,- "tr-TR": xE,- "uk-UA": SE,- "zh-CN": CE,- "zh-TW": wE+var JT = {};+JT = {+ "ar-AE": mT,+ "bg-BG": hT,+ "cs-CZ": gT,+ "da-DK": _T,+ "de-DE": vT,+ "el-GR": yT,+ "en-US": bT,+ "es-ES": xT,+ "et-EE": ST,+ "fi-FI": CT,+ "fr-FR": wT,+ "he-IL": TT,+ "hr-HR": ET,+ "hu-HU": DT,+ "it-IT": OT,+ "ja-JP": kT,+ "ko-KR": AT,+ "lt-LT": jT,+ "lv-LV": MT,+ "nb-NO": NT,+ "nl-NL": PT,+ "pl-PL": FT,+ "pt-BR": IT,+ "pt-PT": LT,+ "ro-RO": RT,+ "ru-RU": zT,+ "sk-SK": BT,+ "sl-SI": VT,+ "sr-SP": HT,+ "sv-SE": UT,+ "tr-TR": WT,+ "uk-UA": GT,+ "zh-CN": KT,+ "zh-TW": qT};//#endregion//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs-function Pie(e) {+function fae(e) {return e && e.__esModule ? e.default : e;}-function EE(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = kS(Pie(TE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, D.useRef)(i), o = (0, D.useCallback)(() => {+function YT(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = fS(fae(JT), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, D.useRef)(i), o = (0, D.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;}- let e = DE(i, a.current), o = DE(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];+ let e = XT(i, a.current), o = XT(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)) {@@ -25601,7 +25604,7 @@ function EE(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 && SC(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 && sC(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -25612,7 +25615,7 @@ function EE(e, t) {n,r]);- wC(() => {+ cC(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -25620,7 +25623,7 @@ function EE(e, t) {}}, [i, t.selectionManager.isFocused]);}-function DE(e, t) {+function XT(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);@@ -25628,13 +25631,13 @@ function DE(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs-function OE(e, t) {+function ZT(e, t) {let n = t?.isDisabled, [r, i] = (0, D.useState)(!1);- return bb(() => {+ return sb(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = gC(e.current, { tabbable: !0 });+ let t = nC(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -25653,12 +25656,12 @@ function OE(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs-function Fie(e) {+function pae(e) {return e && e.__esModule ? e.default : e;}-function kE(e) {- let t = kS(Fie(TE), "@react-aria/grid"), n = px(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return NC((0, D.useMemo)(() => {+function QT(e) {+ let t = fS(pae(JT), "@react-aria/grid"), n = qb(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return hC((0, D.useMemo)(() => {let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;}, [@@ -25671,11 +25674,11 @@ function kE(e) {}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function AE(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = AT({+function $T(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = $w({usage: "search",sensitivity: "base"- }), l = t.disabledBehavior, u = (0, D.useMemo)(() => a || new Mw({+ }), l = t.disabledBehavior, u = (0, D.useMemo)(() => a || new tw({collection: n,disabledKeys: r,disabledBehavior: l,@@ -25692,7 +25695,7 @@ function AE(e) {c,l,s- ]), { collectionProps: d } = bT({+ ]), { collectionProps: d } = Uw({...e,ref: i,selectionManager: t,@@ -25702,10 +25705,10 @@ function AE(e) {}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridList.mjs-function Iie(e, t, n) {+function mae(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 } = AE({+ let { listProps: f } = $T({selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,@@ -25720,31 +25723,31 @@ function Iie(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = Dx(e.id);- UT.set(t, {+ }), p = sx(e.id);+ fT.set(t, {id: p,onAction: o,linkBehavior: c,keyboardNavigationBehavior: l,shouldSelectOnPressUp: d});- let m = kE({+ let m = QT({selectionManager: t.selectionManager,hasItemActions: !!o- }), h = OE(n, { isDisabled: t.collection.size !== 0 }), g = K(jS(e, { labelable: !0 }), {+ }), h = ZT(n, { isDisabled: t.collection.size !== 0 }), g = K(yS(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), EE({}, t), { gridProps: g };+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), YT({}, t), { gridProps: g };}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function jE(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 = Bb();- t = Dx(t);+function eE(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 = Sb();+ t = sx(t);let p = (e) => {- if (e.pointerType === "keyboard" && Ow(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && ZC(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -25755,11 +25758,11 @@ function jE(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 && (pS(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 && (qx(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, D.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? nS(i.current) : s ? s() : sb() !== i.current && i.current && Sx(i.current));+ r === n.focusedKey && n.isFocused && (o ? Ix(i.current) : s ? s() : $y() !== i.current && i.current && nx(i.current));}, [i,r,@@ -25787,22 +25790,22 @@ function jE(e) {l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);}, A = { ref: i };a ? (A.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || NE(e.key)) && p(e);+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || nE(e.key)) && p(e);}, u ? (A.onPressUp = b ? void 0 : (e) => {e.pointerType === "mouse" && v && p(e);}, A.onPress = b ? k : (e) => {e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);}) : A.onPress = (e) => {if (b || x && e.pointerType !== "mouse") {- if (e.pointerType === "keyboard" && !ME(e.key)) return;+ if (e.pointerType === "keyboard" && !tE(e.key)) return;k(e);} else e.pointerType !== "keyboard" && v && p(e);}) : (A.onPressStart = (e) => {- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || NE(e.key))) && p(e);+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || nE(e.key))) && p(e);}, A.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && ME(e.key) || e.pointerType === "mouse" && E.current) && (S ? k(e) : v && p(e));+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && tE(e.key) || e.pointerType === "mouse" && E.current) && (S ? k(e) : v && p(e));});- let j = yie(n.collection);+ let j = Zie(n.collection);if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = K(A, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));@@ -25817,43 +25820,43 @@ function jE(e) {"onPress","onPressUp","onClick"- ]) O[e] && (A[e] = Cx(A[e], O[e]));- let { pressProps: M, isPressed: ee } = GS(A), N = x ? (e) => {+ ]) O[e] && (A[e] = rx(A[e], O[e]));+ let { pressProps: M, isPressed: N } = PS(A), P = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));- } : void 0, { longPressProps: te } = mT({+ } : void 0, { longPressProps: ee } = Lw({isDisabled: !w,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));}- }), P = (e) => {+ }), F = (e) => {C.current === "touch" && T.current && e.preventDefault();- }, ne = d !== "none" && n.isLink(r) ? (e) => {- Hb.isOpening || e.preventDefault();- } : void 0, F = K(m, v || b || o && !c ? M : {}, w ? te : {}, {- onDoubleClick: N,- onDragStartCapture: P,- onClick: ne,+ }, te = d !== "none" && n.isLink(r) ? (e) => {+ Cb.isOpening || e.preventDefault();+ } : void 0, I = K(m, v || b || o && !c ? M : {}, w ? ee : {}, {+ onDoubleClick: P,+ onDragStartCapture: F,+ onClick: te,id: t- }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), re = (e) => {+ }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), ne = (e) => {let t = e;for (; t && t !== i.current;) {let e = t.getAttribute("data-collection");if (e != null) return e !== j;t = t.parentElement;}- return vb(e);- }, ie = F.onPointerDown;- F.onPointerDown = (e) => {+ return ab(e);+ }, re = I.onPointerDown;+ I.onPointerDown = (e) => {let t = G(e);- t && t !== i.current && re(t) ? e.stopPropagation() : ie?.(e);+ t && t !== i.current && ne(t) ? e.stopPropagation() : re?.(e);};- let ae = F.onMouseDown;- return F.onMouseDown = (e) => {+ let ie = I.onMouseDown;+ return I.onMouseDown = (e) => {let t = G(e);- t && t !== i.current && re(t) ? e.stopPropagation() : ae?.(e);+ t && t !== i.current && ne(t) ? e.stopPropagation() : ie?.(e);}, {- itemProps: F,- isPressed: ee,+ itemProps: I,+ isPressed: N,isSelected: n.isSelected(r),isFocused: n.isFocused && n.focusedKey === r,isDisabled: c,@@ -25861,15 +25864,15 @@ function jE(e) {hasAction: S};}-function ME(e) {+function tE(e) {return e === "Enter";}-function NE(e) {+function nE(e) {return e === " ";}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs-var PE = {+var rE = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -25879,18 +25882,18 @@ var PE = {rtl: "ArrowRight"}};-function Lie(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = CS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = UT.get(t), f = Ox(), p = (0, D.useRef)(null), m = () => {+function hae(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = rS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = fT.get(t), f = cx(), p = (0, D.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (lb(n.current) && n.current !== sb($y(n.current))) return;- let e = gC(n.current, { tabbable: !0 }).firstChild();+ if (tb(n.current) && n.current !== $y(Gy(n.current))) return;+ let e = nC(n.current, { tabbable: !0 }).firstChild();if (e) {- Sx(e), AC(e, { containingElement: EC(e) });+ nx(e), pC(e, { containingElement: uC(e) });return;}}- (p.current != null && r.key !== p.current || !lb(n.current)) && Sx(n.current);+ (p.current != null && r.key !== p.current || !tb(n.current)) && nx(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -25900,7 +25903,7 @@ function Lie(e, t, n) {if (r.level >= 0 && r?.parentKey != null) {let e = t.collection.getItem(r.parentKey);if (e) {- let n = Rie(e, t.collection);+ let n = gae(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;@@ -25911,75 +25914,75 @@ function Lie(e, t, n) {"aria-setsize": i};}- let { itemProps: v, ...y } = jE({+ let { itemProps: v, ...y } = eE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? Cx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? rx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = sb($y(n.current));- if (!ob(e.currentTarget, G(e)) || !n.current || !i) return;- let a = gC(n.current);- if (a.currentNode = i, !FE(e, t, r, g, s, i, n.current, o)) switch (e.key) {+ let i = $y(Gy(n.current));+ if (!Qy(e.currentTarget, G(e)) || !n.current || !i) return;+ let a = nC(n.current);+ if (a.currentNode = i, !iE(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(), Sx(t), AC(t, { containingElement: EC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Sx(n.current), AC(n.current, { containingElement: EC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), nx(t), pC(t, { containingElement: uC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") nx(n.current), pC(n.current, { containingElement: uC(n.current) });else {a.currentNode = n.current;- let e = IE(a);- e && (Sx(e), AC(e, { containingElement: EC(n.current) }));+ let e = aE(a);+ e && (nx(e), pC(e, { containingElement: uC(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), Sx(t), AC(t, { containingElement: EC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Sx(n.current), AC(n.current, { containingElement: EC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), nx(t), pC(t, { containingElement: uC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") nx(n.current), pC(n.current, { containingElement: uC(n.current) });else {a.currentNode = n.current;- let e = IE(a);- e && (Sx(e), AC(e, { containingElement: EC(n.current) }));+ let e = aE(a);+ e && (nx(e), pC(e, { containingElement: uC(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && ob(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && Qy(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 && ob(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && sb($y(n.current)) === n.current && m();- }) : ux() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && Qy(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && $y(Gy(n.current)) === n.current && m();+ }) : Wb() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = sb($y(n.current));- if (ob(e.currentTarget, G(e)) && n.current && i) {+ let i = $y(Gy(n.current));+ if (Qy(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 (iE(e, t, r, g, s, i, n.current, o)) return;}if (e.key === "Tab" && u === "tab") {- let t = gC(n.current, { tabbable: !0 });+ let t = nC(n.current, { tabbable: !0 });t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = Wb(r.props), w = K(v, y.hasAction ? C : {}, {+ }, C = wb(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) ? `${WT(t, r.key)} ${f}` : void 0,- id: WT(t, r.key)+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${pT(t, r.key)} ${f}` : void 0,+ id: pT(t, r.key)});a === "child" && o && u === "tab" && (w.tabIndex = -1);let T = w.onKeyDown;@@ -26000,37 +26003,37 @@ function Lie(e, t, n) {...y};}-function FE(e, t, n, r, i, a, o, s) {+function iE(e, t, n, r, i, a, o, s) {if (!("expandedKeys" in t) || !s && a !== o) return !1;- if (e.key === PE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;- if (e.key === PE.collapse[i] && t.selectionManager.focusedKey === n.key) {+ if (e.key === rE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;+ if (e.key === rE.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 IE(e) {+function aE(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);while (n);return t;}-function Rie(e, t) {+function gae(e, t) {let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);return a;}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs-function zie(e) {+function _ae(e) {return e && e.__esModule ? e.default : e;}-function LE(e, t) {- let { key: n } = e, r = t.selectionManager, i = Dx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+function oE(e, t) {+ let { key: n } = e, r = t.selectionManager, i = sx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": kS(zie(TE), "@react-aria/grid").format("select"),+ "aria-label": fS(_ae(JT), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)@@ -26038,31 +26041,31 @@ function LE(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs-function Bie(e, t) {- let { key: n } = e, { checkboxProps: r } = LE(e, t);+function vae(e, t) {+ let { key: n } = e, { checkboxProps: r } = oE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${WT(t, n)}`+ "aria-labelledby": `${r.id} ${pT(t, n)}`} };}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs-function Vie(e, t, n) {- let r = jS(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function yae(e, t, n) {+ let r = yS(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 } = AE({+ let { listProps: s } = $T({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = rw({+ }), { focusWithinProps: c } = jC({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = Dx(e.id);- Dw.set(t, {+ }), l = sx(e.id);+ XC.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -26072,7 +26075,7 @@ function Vie(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = tw({+ let { labelProps: u, fieldProps: d } = kC({...e,id: l,labelElementType: "span"@@ -26088,8 +26091,8 @@ function Vie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function Hie(e) {- let { heading: t, "aria-label": n } = e, r = Dx();+function bae(e) {+ let { heading: t, "aria-label": n } = e, r = sx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26108,8 +26111,8 @@ function Hie(e) {}//#endregion//#region node_modules/react-aria/dist/private/listbox/useOption.mjs-function Uie(e, t, n) {- let { key: r } = e, i = Dw.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 = Ox(), f = Ox(), p = {+function xae(e, t, n) {+ let { key: r } = e, i = XC.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = cx(), f = cx(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -26119,9 +26122,9 @@ function Uie(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"] = OT(t.collection);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Zw(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = _ie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = jE({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Yie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = eE({selectionManager: t.selectionManager,key: r,ref: n,@@ -26130,18 +26133,18 @@ function Uie(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? Cx(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? rx(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() {- ux() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ Wb() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = jS(m?.props);+ }), C = yS(m?.props);delete C.id;- let w = Gb(m?.props);+ let w = Tb(m?.props);return {optionProps: {...p,@@ -26151,7 +26154,7 @@ function Uie(e, t, n) {labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && ux(),+ isFocusVisible: y && t.selectionManager.isFocused && Wb(),isSelected: o,isDisabled: a,isPressed: v,@@ -26161,13 +26164,13 @@ function Uie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/utils.mjs-var RE = /* @__PURE__ */ new WeakMap();+var sE = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/menu/useMenu.mjs-function Wie(e, t, n) {+function Sae(e, t, n) {let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;!e["aria-label"] && e["aria-labelledby"];- let s = jS(e, { labelable: !0 }), { listProps: c } = AE({+ let s = yS(e, { labelable: !0 }), { listProps: c } = $T({...o,ref: n,selectionManager: t.selectionManager,@@ -26176,7 +26179,7 @@ function Wie(e, t, n) {shouldFocusWrap: r,linkBehavior: "override"});- return RE.set(t, {+ return sE.set(t, {onClose: e.onClose,onAction: e.onAction,shouldUseVirtualFocus: e.shouldUseVirtualFocus@@ -26193,42 +26196,42 @@ function Wie(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs-function Gie(e, t, n) {- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), O = e.isSelected ?? C.isSelected(i), k = RE.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = Bb(), ee = () => {+function Cae(e, t, n) {+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), O = e.isSelected ?? C.isSelected(i), k = sE.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = Sb(), N = () => {if (!w && (A?.props?.onAction ? A.props.onAction() : e.onAction && e.onAction(i), k.onAction)) {let e = k.onAction;e(i, A?.value);}- }, N = "menuitem";- w || (C.selectionMode === "single" ? N = "menuitemradio" : C.selectionMode === "multiple" && (N = "menuitemcheckbox"));- let te = Ox(), P = Ox(), ne = Ox(), F = {+ }, P = "menuitem";+ w || (C.selectionMode === "single" ? P = "menuitemradio" : C.selectionMode === "multiple" && (P = "menuitemcheckbox"));+ let ee = cx(), F = cx(), te = cx(), I = {id: r,"aria-disabled": E || void 0,- role: N,+ role: P,"aria-label": e["aria-label"],- "aria-labelledby": te,+ "aria-labelledby": ee,"aria-describedby": [e["aria-describedby"],- P,- ne+ F,+ te].filter(Boolean).join(" ") || void 0,"aria-controls": e["aria-controls"],"aria-haspopup": c,"aria-expanded": e["aria-expanded"]};- if (C.selectionMode !== "none" && !w && (F["aria-checked"] = O), s) {+ if (C.selectionMode !== "none" && !w && (I["aria-checked"] = O), s) {let e = Number(A?.index);- F["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, F["aria-setsize"] = OT(t.collection);- }- let re = (0, D.useRef)(!1), ie = (e) => {- f?.(e), re.current = e;- }, ae = (0, D.useRef)(null), oe = (e) => {- e.pointerType !== "keyboard" && (ae.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (re.current || e.target.click()), u?.(e);- }, se = (e) => {- m?.(e), ee(), Une(e, M, A.props.href, A?.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, j && !w && t && j(), ae.current = null;- }, { itemProps: ce, isFocused: le } = jE({+ I["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, I["aria-setsize"] = Zw(t.collection);+ }+ let ne = (0, D.useRef)(!1), re = (e) => {+ f?.(e), ne.current = e;+ }, ie = (0, D.useRef)(null), ae = (e) => {+ e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (ne.current || e.target.click()), u?.(e);+ }, oe = (e) => {+ m?.(e), N(), ure(e, M, A.props.href, A?.props.routerOptions);+ let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);+ t = o ?? a ?? t, j && !w && t && j(), ie.current = null;+ }, { itemProps: se, isFocused: ce } = eE({id: r,selectionManager: C,key: i,@@ -26237,36 +26240,36 @@ function Gie(e, t, n) {allowsDifferentPressOrigin: !0,linkBehavior: "none",shouldUseVirtualFocus: k.shouldUseVirtualFocus- }), { pressProps: ue, isPressed: de } = GS({+ }), { pressProps: le, isPressed: ue } = PS({onPressStart: l,onPress: d,- onPressUp: oe,- onPressChange: ie,+ onPressUp: ae,+ onPressChange: re,onPressEnd: p,isDisabled: E- }), { hoverProps: fe } = VT({+ }), { hoverProps: de } = uT({isDisabled: E,onHoverStart(e) {- !ux() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !Wb() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: pe } = Lx({+ }), { keyboardProps: fe } = _x({shortcuts: {" ": (e) => {- ae.current = {+ ie.current = {pointerType: "keyboard",key: " "- }, G(e).click(), fx("keyboard");+ }, G(e).click(), Kb("keyboard");},Enter: (e) => {- ae.current = {+ ie.current = {pointerType: "keyboard",key: "Enter"};let t = G(e);- if (t.tagName !== "A") t.click(), fx("keyboard");- else return fx("keyboard"), {+ if (t.tagName !== "A") t.click(), Kb("keyboard");+ else return Kb("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -26274,37 +26277,37 @@ function Gie(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: me } = Vx({+ }), { focusableProps: pe } = xx({onBlur: S,onFocus: b,onFocusChange: x- }, n), he = jS(A?.props);- delete he.id;- let ge = Gb(A?.props);+ }, n), me = yS(A?.props);+ delete me.id;+ let he = Tb(A?.props);return {menuItemProps: {- ...F,- ...K(he, ge, w ? {- onFocus: ce.onFocus,- "data-collection": ce["data-collection"],- "data-key": ce["data-key"]- } : ce, ue, fe, pe, me, k.shouldUseVirtualFocus || w ? { onMouseDown: (e) => e.preventDefault() } : void 0, E ? void 0 : { onClick: se }),- tabIndex: ce.tabIndex != null && T && !k.shouldUseVirtualFocus ? -1 : ce.tabIndex+ ...I,+ ...K(me, he, w ? {+ onFocus: se.onFocus,+ "data-collection": se["data-collection"],+ "data-key": se["data-key"]+ } : se, le, de, fe, pe, k.shouldUseVirtualFocus || w ? { onMouseDown: (e) => e.preventDefault() } : void 0, E ? void 0 : { onClick: oe }),+ tabIndex: se.tabIndex != null && T && !k.shouldUseVirtualFocus ? -1 : se.tabIndex},- labelProps: { id: te },- descriptionProps: { id: P },- keyboardShortcutProps: { id: ne },- isFocused: le,- isFocusVisible: le && C.isFocused && ux() && !T,+ labelProps: { id: ee },+ descriptionProps: { id: F },+ keyboardShortcutProps: { id: te },+ isFocused: ce,+ isFocusVisible: ce && C.isFocused && Wb() && !T,isSelected: O,- isPressed: de,+ isPressed: ue,isDisabled: E};}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs-function Kie(e) {- let { heading: t, "aria-label": n } = e, r = Dx();+function wae(e) {+ let { heading: t, "aria-label": n } = e, r = sx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26320,15 +26323,15 @@ function Kie(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function qie() {+function Tae() {return window.ResizeObserver !== void 0;}-function zE(e) {- let { ref: t, box: n, onResize: r } = e, i = hS(r);+function cE(e) {+ let { ref: t, box: n, onResize: r } = e, i = Yx(r);(0, D.useEffect)(() => {let e = t?.current;if (e) {- if (qie()) {+ if (Tae()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -26344,189 +26347,189 @@ function zE(e) {}//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var BE = {};-BE = { dismiss: "تجاهل" };+var lE = {};+lE = { dismiss: "تجاهل" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var VE = {};-VE = { dismiss: "Отхвърляне" };+var uE = {};+uE = { dismiss: "Отхвърляне" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var HE = {};-HE = { dismiss: "Odstranit" };+var dE = {};+dE = { dismiss: "Odstranit" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var UE = {};-UE = { dismiss: "Luk" };+var fE = {};+fE = { dismiss: "Luk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var WE = {};-WE = { dismiss: "Schließen" };+var pE = {};+pE = { dismiss: "Schließen" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var GE = {};-GE = { dismiss: "Απόρριψη" };+var mE = {};+mE = { dismiss: "Απόρριψη" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var KE = {};-KE = { dismiss: "Dismiss" };+var hE = {};+hE = { dismiss: "Dismiss" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var qE = {};-qE = { dismiss: "Descartar" };+var gE = {};+gE = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var JE = {};-JE = { dismiss: "Lõpeta" };+var _E = {};+_E = { dismiss: "Lõpeta" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var YE = {};-YE = { dismiss: "Hylkää" };+var vE = {};+vE = { dismiss: "Hylkää" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var XE = {};-XE = { dismiss: "Rejeter" };+var yE = {};+yE = { dismiss: "Rejeter" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var ZE = {};-ZE = { dismiss: "התעלם" };+var bE = {};+bE = { dismiss: "התעלם" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var QE = {};-QE = { dismiss: "Odbaci" };+var xE = {};+xE = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var $E = {};-$E = { dismiss: "Elutasítás" };+var SE = {};+SE = { dismiss: "Elutasítás" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var eD = {};-eD = { dismiss: "Ignora" };+var CE = {};+CE = { dismiss: "Ignora" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var tD = {};-tD = { dismiss: "閉じる" };+var wE = {};+wE = { dismiss: "閉じる" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var nD = {};-nD = { dismiss: "무시" };+var TE = {};+TE = { dismiss: "무시" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var rD = {};-rD = { dismiss: "Atmesti" };+var EE = {};+EE = { dismiss: "Atmesti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var iD = {};-iD = { dismiss: "Nerādīt" };+var DE = {};+DE = { dismiss: "Nerādīt" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var aD = {};-aD = { dismiss: "Lukk" };+var OE = {};+OE = { dismiss: "Lukk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var oD = {};-oD = { dismiss: "Negeren" };+var kE = {};+kE = { dismiss: "Negeren" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var sD = {};-sD = { dismiss: "Zignoruj" };+var AE = {};+AE = { dismiss: "Zignoruj" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var cD = {};-cD = { dismiss: "Descartar" };+var jE = {};+jE = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var lD = {};-lD = { dismiss: "Dispensar" };+var ME = {};+ME = { dismiss: "Dispensar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var uD = {};-uD = { dismiss: "Revocare" };+var NE = {};+NE = { dismiss: "Revocare" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var dD = {};-dD = { dismiss: "Пропустить" };+var PE = {};+PE = { dismiss: "Пропустить" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var fD = {};-fD = { dismiss: "Zrušiť" };+var FE = {};+FE = { dismiss: "Zrušiť" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var pD = {};-pD = { dismiss: "Opusti" };+var IE = {};+IE = { dismiss: "Opusti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var mD = {};-mD = { dismiss: "Odbaci" };+var LE = {};+LE = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var hD = {};-hD = { dismiss: "Avvisa" };+var RE = {};+RE = { dismiss: "Avvisa" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var gD = {};-gD = { dismiss: "Kapat" };+var zE = {};+zE = { dismiss: "Kapat" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var _D = {};-_D = { dismiss: "Скасувати" };+var BE = {};+BE = { dismiss: "Скасувати" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var vD = {};-vD = { dismiss: "取消" };+var VE = {};+VE = { dismiss: "取消" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var yD = {};-yD = { dismiss: "關閉" };+var HE = {};+HE = { dismiss: "關閉" };//#endregion//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var bD = {};-bD = {- "ar-AE": BE,- "bg-BG": VE,- "cs-CZ": HE,- "da-DK": UE,- "de-DE": WE,- "el-GR": GE,- "en-US": KE,- "es-ES": qE,- "et-EE": JE,- "fi-FI": YE,- "fr-FR": XE,- "he-IL": ZE,- "hr-HR": QE,- "hu-HU": $E,- "it-IT": eD,- "ja-JP": tD,- "ko-KR": nD,- "lt-LT": rD,- "lv-LV": iD,- "nb-NO": aD,- "nl-NL": oD,- "pl-PL": sD,- "pt-BR": cD,- "pt-PT": lD,- "ro-RO": uD,- "ru-RU": dD,- "sk-SK": fD,- "sl-SI": pD,- "sr-SP": mD,- "sv-SE": hD,- "tr-TR": gD,- "uk-UA": _D,- "zh-CN": vD,- "zh-TW": yD+var UE = {};+UE = {+ "ar-AE": lE,+ "bg-BG": uE,+ "cs-CZ": dE,+ "da-DK": fE,+ "de-DE": pE,+ "el-GR": mE,+ "en-US": hE,+ "es-ES": gE,+ "et-EE": _E,+ "fi-FI": vE,+ "fr-FR": yE,+ "he-IL": bE,+ "hr-HR": xE,+ "hu-HU": SE,+ "it-IT": CE,+ "ja-JP": wE,+ "ko-KR": TE,+ "lt-LT": EE,+ "lv-LV": DE,+ "nb-NO": OE,+ "nl-NL": kE,+ "pl-PL": AE,+ "pt-BR": jE,+ "pt-PT": ME,+ "ro-RO": NE,+ "ru-RU": PE,+ "sk-SK": FE,+ "sl-SI": IE,+ "sr-SP": LE,+ "sv-SE": RE,+ "tr-TR": zE,+ "uk-UA": BE,+ "zh-CN": VE,+ "zh-TW": HE};//#endregion//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function Jie(e) {+function Eae(e) {return e && e.__esModule ? e.default : e;}-function xD(e) {- let { onDismiss: t, ...n } = e, r = _S(n, kS(Jie(bD), "@react-aria/overlays").format("dismiss")), i = () => {+function WE(e) {+ let { onDismiss: t, ...n } = e, r = Zx(n, fS(Eae(UE), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ D.createElement(yw, null, /*#__PURE__*/ D.createElement("button", {+ return /*#__PURE__*/ D.createElement(HC, null, /*#__PURE__*/ D.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -26538,35 +26541,35 @@ function xD(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var SD = [];-function CD(e, t) {+var GE = [];+function KE(e, t) {let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, D.useRef)(void 0);(0, D.useEffect)(() => {- if (i && !SD.includes(t)) return SD.push(t), () => {- let e = SD.indexOf(t);- e >= 0 && SD.splice(e, 1);+ if (i && !GE.includes(t)) return GE.push(t), () => {+ let e = GE.indexOf(t);+ e >= 0 && GE.splice(e, 1);};}, [i, t]);let l = () => {- SD[SD.length - 1] === t && n && n();+ GE[GE.length - 1] === t && n && n();}, u = (e) => {- let n = SD[SD.length - 1];+ let n = GE[GE.length - 1];c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(G(e))) && (SD[SD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = Lx({ shortcuts: { Escape: () => {+ (!s || s(G(e))) && (GE[GE.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = _x({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });- Mie({+ uae({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = rw({+ let { focusWithinProps: p } = jC({isDisabled: !r,onBlurWithin: (e) => {- e.relatedTarget && !uie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();+ e.relatedTarget && !Sie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();}});return {@@ -26579,88 +26582,88 @@ function CD(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var Yie = 200, Xie = 50, Zie = 600, wD = /* @__PURE__ */ new WeakMap(), TD = /* @__PURE__ */ new Set(), ED = /* @__PURE__ */ new Set();-function Qie(e, t) {- let n = mS();- if (e !== n || t.aborted) for (let e of ED) e(n), ED.delete(e);- if (!e && n && Pb() && !t.aborted) window.clearInterval(wD.get(window)), wD.set(window, DD(Yie));+var Dae = 200, Oae = 50, kae = 600, qE = /* @__PURE__ */ new WeakMap(), JE = /* @__PURE__ */ new Set(), YE = /* @__PURE__ */ new Set();+function Aae(e, t) {+ let n = Jx();+ if (e !== n || t.aborted) for (let e of YE) e(n), YE.delete(e);+ if (!e && n && vb() && !t.aborted) window.clearInterval(qE.get(window)), qE.set(window, XE(Dae));else {- if (e !== n || t.aborted) for (let e of TD) e(n), TD.delete(e);- (ED.size + TD.size <= 0 || t.aborted) && (window.clearInterval(wD.get(window)), wD.delete(window));+ if (e !== n || t.aborted) for (let e of JE) e(n), JE.delete(e);+ (YE.size + JE.size <= 0 || t.aborted) && (window.clearInterval(qE.get(window)), qE.delete(window));}}-function DD(e = Zie) {- return window.setInterval(Qie, Xie, mS(), AbortSignal.timeout(e));+function XE(e = kae) {+ return window.setInterval(Aae, Oae, Jx(), AbortSignal.timeout(e));}-function OD(e) {- if (!dS()) return e(!1), () => {};+function ZE(e) {+ if (!Gx()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = fS(document.hasFocus() ? sb() : null);- if (mS() === t || mS() && !t) return e(t);- ED.add(e), wD.has(window) || wD.set(window, DD());+ let t = Kx(document.hasFocus() ? $y() : null);+ if (Jx() === t || Jx() && !t) return e(t);+ YE.add(e), qE.has(window) || qE.set(window, XE());});});return () => {- window.cancelAnimationFrame(t), ED.delete(e);+ window.cancelAnimationFrame(t), YE.delete(e);};}-function $ie(e) {- if (!dS()) return e(!1), () => {};+function QE(e) {+ if (!Gx()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = fS(document.hasFocus() ? sb() : null);- if (mS() === t) return e(t);- TD.add(e), wD.has(window) || wD.set(window, DD());+ let t = Kx(document.hasFocus() ? $y() : null);+ if (Jx() === t) return e(t);+ JE.add(e), qE.has(window) || qE.set(window, XE());});});return () => {- window.cancelAnimationFrame(t), TD.delete(e);+ window.cancelAnimationFrame(t), JE.delete(e);};}//#endregion//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var kD = typeof document < "u" && window.visualViewport, AD = 0, jD;-function MD(e = {}) {+var $E = typeof document < "u" && window.visualViewport, eD = 0, tD;+function nD(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- bb(() => {- if (!t) return AD++, AD === 1 && (jD = Mb() && Pb() ? tae() : eae(n)), () => {- AD--, AD === 0 && jD();+ sb(() => {+ if (!t) return eD++, eD === 1 && (tD = _b() && vb() ? iD() : rD(n)), () => {+ eD--, eD === 0 && tD();};}, [t, n]);}-function eae(e) {+function rD(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return Cx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? ib(document.documentElement, "scrollbar-gutter", "stable") : ib(document.documentElement, "padding-right", `${t}px`)), ib(document.documentElement, "overflow", "hidden"), e && PD(), e && dS() && ND());+ return rx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? Xy(document.documentElement, "scrollbar-gutter", "stable") : Xy(document.documentElement, "padding-right", `${t}px`)), Xy(document.documentElement, "overflow", "hidden"), e && oD(), e && Gx() && aD());}-function tae() {- let e = ib(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+function iD() {+ let e = Xy(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {let r = G(e);- t = TC(r, !0) ? r : EC(r, !0), n = !1;+ t = lC(r, !0) ? r : uC(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 = RS();+ }, i = document.createElement("style"), a = ES();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 = Cx(rb(document, "touchstart", r, {+ }, s = oD(), c = rx(Yy(document, "touchstart", r, {passive: !1,capture: !0- }), rb(document, "touchmove", o, {+ }), Yy(document, "touchmove", o, {passive: !1,capture: !0- }), ND());+ }), aD());return () => {e(), c(), i.remove(), s();};}-function ND() {- return rb(document, "blur", (e) => {+function aD() {+ return Yy(document, "blur", (e) => {let t = G(e), n = e.relatedTarget;- n && fS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ n && Kx(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}-function PD() {+function oD() {let e = HTMLElement.prototype.focus;return Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -26671,9 +26674,9 @@ function PD() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- sb() === this && nae(this);+ $y() === this && sD(this);};- OD((t) => t ? e() : $ie(() => e()));+ ZE((t) => t ? e() : QE(() => e()));}}}), () => {@@ -26684,15 +26687,15 @@ function PD() {});};}-function nae(e) {+function sD(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {- let e = EC(n);+ let e = uC(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;- kD && (n = Math.min(n, kD.offsetTop + kD.height));+ $E && (n = Math.min(n, $E.offsetTop + $E.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)),@@ -26705,19 +26708,19 @@ function nae(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function rae(e, t, n) {- let { overlayProps: r, underlayProps: i } = CD({+function cD(e, t, n) {+ let { overlayProps: r, underlayProps: i } = KE({...e,isOpen: t.isOpen,onClose: t.close}, n);- MD({+ nD({isDisabled: !t.isOpen,UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus- }), IT();+ }), aT();let { isEntering: a } = e;return (0, D.useEffect)(() => {- if (t.isOpen && n.current) return a ? Ew(n.current) : Tw([n.current], { shouldUseInert: !0 });+ if (t.isOpen && n.current) return a ? YC(n.current) : JC([n.current], { shouldUseInert: !0 });}, [t.isOpen,a,@@ -26729,33 +26732,33 @@ function rae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var FD = {+var lD = {top: "top",bottom: "top",left: "left",right: "left"-}, ID = {+}, uD = {top: "bottom",bottom: "top",left: "right",right: "left"-}, iae = {+}, dD = {top: "left",left: "top"-}, LD = {+}, fD = {top: "height",left: "width"-}, RD = {+}, pD = {width: "totalWidth",height: "totalHeight"-}, zD = {}, aae = () => typeof document < "u" ? window.visualViewport : null;-function BD(e, t) {+}, mD = {}, hD = () => typeof document < "u" ? window.visualViewport : null;+function gD(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} = KD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return Pb() && (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} = DD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return vb() && (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,@@ -26765,7 +26768,7 @@ function BD(e, t) {left: s};}-function oae(e) {+function _D(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -26773,11 +26776,11 @@ function oae(e) {height: e.scrollHeight};}-function VD(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[LD[e]], l = o[e] + r.scroll[FD[e]] + a, u = o[e] + r.scroll[FD[e]] + c - a, d = t - s + r.scroll[FD[e]] + o[e] - r[FD[e]], f = t - s + n + r.scroll[FD[e]] + o[e] - r[FD[e]];+function vD(e, t, n, r, i, a, o) {+ let s = i.scroll[e] ?? 0, c = r[fD[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 sae(e) {+function yD(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -26786,58 +26789,58 @@ function sae(e) {right: parseInt(t.marginRight, 10) || 0};}-function HD(e) {- if (zD[e]) return zD[e];- let [t, n] = e.split(" "), r = FD[t] || "right", i = iae[r];- FD[n] || (n = "center");- let a = LD[r], o = LD[i];- return zD[e] = {+function bD(e) {+ if (mD[e]) return mD[e];+ let [t, n] = e.split(" "), r = lD[t] || "right", i = dD[r];+ lD[n] || (n = "center");+ let a = fD[r], o = fD[i];+ return mD[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, zD[e];+ }, mD[e];}-function UD(e, t, n, r, i, a, o, s, c, l, u) {+function xD(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] = cw(_[m], v, y), d === p) {- let t = s ? u[h] : u[RD[h]];- _[ID[p]] = Math.floor(t - e[p] + i);+ if (_[m] = PC(_[m], v, y), d === p) {+ let t = s ? u[h] : u[pD[h]];+ _[uD[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function cae(e, t, n, r, i, a, o, s, c, l, u) {- let d = (e.top == null ? c[RD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {+function SD(e, t, n, r, i, a, o, s, c, l, u) {+ let d = (e.top == null ? c[pD.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 WD(e, t, n, r, i, a, o, s) {+function CD(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[ID[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[ID[l]] - i);+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[uD[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[uD[l]] - i);}-function lae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = HD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = UD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = WD(s, l, t, i, a + u, v, c, g);+function wD(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+ let v = bD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = xD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = CD(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {- let e = HD(`${ID[S]} ${C}`), r = UD(t, s, n, e, u, d, l, f, m, h, c);- WD(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+ let e = bD(`${uD[S]} ${C}`), r = xD(t, s, n, e, u, d, l, f, m, h, c);+ CD(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 = VD(b, w[b], n[x], s, c, a, l);+ let O = vD(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = cae(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = UD(t, s, n, v, T, d, l, f, m, h, c), O = VD(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, j = t[b] - w[b] - i[FD[b]], M = j + .5 * t[x], ee = m / 2 + h, N = FD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;- A[b] = cw(cw(M, t[b] + m / 2 - (w[b] + i[FD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[FD[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);- let P = S === "left" || S === "top" ? n[y] : 0, ne = {- x: S === "top" || S === "bottom" ? j : P,- y: S === "left" || S === "right" ? j : P+ let k = SD(w, s, l, f, i, a, n.height, D, c, g, _);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = xD(t, s, n, v, T, d, l, f, m, h, c), O = vD(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], N = m / 2 + h, P = lD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;+ A[b] = PC(PC(M, t[b] + m / 2 - (w[b] + i[lD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[lD[b]])), N, ee), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ let F = S === "left" || S === "top" ? n[y] : 0, te = {+ x: S === "top" || S === "bottom" ? j : F,+ y: S === "left" || S === "right" ? j : F};return {position: w,@@ -26845,20 +26848,20 @@ function lae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {arrowOffsetLeft: A.left,arrowOffsetTop: A.top,placement: S,- triggerAnchorPoint: ne+ triggerAnchorPoint: te};}-function uae(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 = aae(), h = r instanceof HTMLElement ? dae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? KD(n, !1, p) : qD(n, h, !1, p);+function TD(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 = hD(), h = r instanceof HTMLElement ? kD(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? DD(n, !1, p) : OD(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 = KD(r, !0), x = sae(r);+ let b = DD(r, !0), x = yD(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = oae(i), C = BD(s, m), w = BD(h, m), T;+ let S = _D(i), C = gD(s, m), w = gD(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = GD(h, !1);+ let e = ED(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -26870,11 +26873,11 @@ function uae(e) {left: 0,width: 0,height: 0- } : qD(s, h, !1);- let E = ob(s, h);- return lae(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ } : OD(s, h, !1);+ let E = Qy(s, h);+ return wD(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function GD(e, t) {+function ED(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,@@ -26883,8 +26886,8 @@ function GD(e, t) {height: a};}-function KD(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || GD(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function DD(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || ED(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -26892,30 +26895,30 @@ function KD(e, t, n) {height: o};}-function qD(e, t, n, r) {+function OD(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || GD(e, n);+ if (i.position === "fixed") a = r || ED(e, n);else {- a = KD(e, n, r);- let i = KD(t, n), o = window.getComputedStyle(t);+ a = DD(e, n, r);+ let i = DD(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 dae(e) {+function kD(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !JD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !JD(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !AD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !AD(t);) t = t.parentElement;return t || document.documentElement;}-function JD(e) {+function AD(e) {let t = window.getComputedStyle(e);return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs-var YD = typeof document < "u" ? window.visualViewport : null;-function fae(e) {- let { direction: t } = CS(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, D.useState)(null), x = [+var jD = typeof document < "u" ? window.visualViewport : null;+function MD(e) {+ let { direction: t } = rS(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, D.useState)(null), x = [p,s,i.current,@@ -26932,15 +26935,15 @@ function fae(e) {g,_,n- ], S = (0, D.useRef)(YD?.scale);+ ], S = (0, D.useRef)(jD?.scale);(0, D.useEffect)(() => {- m && (S.current = YD?.scale);+ m && (S.current = jD?.scale);}, [m]);let C = (0, D.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || YD?.scale !== S.current) return;+ if (p === !1 || !m || !i.current || !r.current || !u || jD?.scale !== S.current) return;let e = null;- if (o.current && lb(o.current)) {- let t = sb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && tb(o.current)) {+ let t = $y()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -26948,8 +26951,8 @@ function fae(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 = uae({- placement: mae(s, t),+ let y = TD({+ placement: PD(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -26959,28 +26962,28 @@ function fae(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? GD(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? ED(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 = sb();+ let x = $y();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);- bb(C, x), pae(C), zE({+ sb(C, x), ND(C), cE({ref: i,onResize: C- }), zE({+ }), cE({ref: r,onResize: C});let w = (0, D.useRef)(!1);- bb(() => {+ sb(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -26988,16 +26991,16 @@ function fae(e) {}, n = () => {w.current && t();};- YD?.addEventListener("resize", t), YD?.addEventListener("scroll", n);- let r = rb(cb(window), "scroll", n);+ jD?.addEventListener("resize", t), jD?.addEventListener("scroll", n);+ let r = Yy(eb(window), "scroll", n);return () => {- YD?.removeEventListener("resize", t), YD?.removeEventListener("scroll", n), r();+ jD?.removeEventListener("resize", t), jD?.removeEventListener("scroll", n), r();};}, [C]);let T = (0, D.useCallback)(() => {w.current || h?.();}, [h, w]);- return Sie({+ return eae({triggerRef: r,isOpen: m,onClose: h && T@@ -27023,25 +27026,25 @@ function fae(e) {updatePosition: C};}-function pae(e) {- bb(() => (window.addEventListener("resize", e, !1), () => {+function ND(e) {+ sb(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function mae(e, t) {+function PD(e, t) {return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");}//#endregion//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs-function hae(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 } = CD({+function FD(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 } = KE({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 } = fae({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = MD({...c,targetRef: n,overlayRef: r,@@ -27049,15 +27052,15 @@ function hae(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)});- MD({ isDisabled: a || !t.isOpen }), (0, D.useEffect)(() => {- if (t.isOpen && r.current) return a ? Ew(i?.current ?? r.current) : Tw([i?.current ?? r.current], { shouldUseInert: !0 });+ nD({ isDisabled: a || !t.isOpen }), (0, D.useEffect)(() => {+ if (t.isOpen && r.current) return a ? YC(i?.current ?? r.current) : JC([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = rw(e);+ let { focusWithinProps: g } = jC(e);return {popoverProps: K(u, f, g),arrowProps: p,@@ -27068,13 +27071,13 @@ function hae(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/radio/utils.mjs-var XD = /* @__PURE__ */ new WeakMap();+var ID = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/radio/useRadio.mjs-function gae(e, t, n) {+function LD(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: _ } = GS({+ }, { pressProps: g, isPressed: _ } = PS({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -27082,7 +27085,7 @@ function gae(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = GS({+ }), { pressProps: v, isPressed: y } = PS({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -27092,11 +27095,11 @@ function gae(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = Vx(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = jS(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = xx(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = yS(e, { labelable: !0 }), C = -1;t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);- let { name: w, form: T, descriptionId: E, errorMessageId: O, validationBehavior: k } = XD.get(t);- PC(n, t.defaultSelectedValue, t.setSelectedValue), FC({ validationBehavior: k }, t, n);- let A = BC();+ let { name: w, form: T, descriptionId: E, errorMessageId: O, validationBehavior: k } = ID.get(t);+ gC(n, t.defaultSelectedValue, t.setSelectedValue), _C({ validationBehavior: k }, t, n);+ let A = vC();return {labelProps: K(v, (0, D.useMemo)(() => ({onClick: (e) => e.preventDefault(),@@ -27128,13 +27131,13 @@ function gae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function _ae(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = CS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = nw({+function RD(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = rS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = AC({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = jS(e, { labelable: !0 }), { focusWithinProps: v } = rw({+ }), _ = yS(e, { labelable: !0 }), { focusWithinProps: v } = jC({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -27142,13 +27145,13 @@ function _ae(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = gC(n.currentTarget, {+ let r = nC(n.currentTarget, {from: G(n),- accept: (e) => e instanceof eb(e).HTMLInputElement && e.type === "radio"+ accept: (e) => e instanceof Ky(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 } = Lx({+ let { keyboardProps: b } = _x({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -27156,8 +27159,8 @@ function _ae(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = Dx(n);- return XD.set(t, {+ }), x = sx(n);+ return ID.set(t, {name: x,form: r,descriptionId: h.id,@@ -27186,21 +27189,21 @@ function _ae(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/select/useSelect.mjs-var ZD = /* @__PURE__ */ new WeakMap();-function vae(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = AT({+var zD = /* @__PURE__ */ new WeakMap();+function BD(e, t, n) {+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = $w({usage: "search",sensitivity: "base"- }), u = (0, D.useMemo)(() => r || new Mw(t.collection, t.disabledKeys, n, l), [+ }), u = (0, D.useMemo)(() => r || new tw(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = gT({+ ]), { menuTriggerProps: d, menuProps: f } = zw({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = Lx({+ }, t, n), { keyboardProps: p } = _x({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -27216,21 +27219,21 @@ function vae(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = vT({+ }), { typeSelectProps: m } = Vw({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 } = nw({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = AC({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = jS(e, { labelable: !0 }), C = K(m, d, y), w = Dx();- return ZD.set(t, {+ let S = yS(e, { labelable: !0 }), C = K(m, d, y), w = sx();+ return zD.set(t, {isDisabled: i,isRequired: a,name: o,@@ -27240,13 +27243,13 @@ function vae(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), fx("keyboard"));+ e.isDisabled || (n.current?.focus(), Kb("keyboard"));}},triggerProps: K(S, {...C,isDisabled: i,- onKeyDown: Cx(C.onKeyDown, p.onKeyDown),+ onKeyDown: rx(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -27270,7 +27273,7 @@ function vae(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- ob(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ Qy(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(" ")},@@ -27291,13 +27294,13 @@ function vae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function yae(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 } = vw({ style: {+function VD(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 } = VC({ style: {position: "fixed",top: 0,left: 0} });- PC(e.selectRef, t.defaultValue, t.setValue), FC({+ gC(e.selectRef, t.defaultValue, t.setValue), _C({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);@@ -27327,8 +27330,8 @@ function yae(e, t, n) {}};}-function bae(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, D.useRef)(null), c = (0, D.useRef)(null), { containerProps: l, selectProps: u } = yae({+function HD(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, D.useRef)(null), c = (0, D.useRef)(null), { containerProps: l, selectProps: u } = VD({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -27352,7 +27355,7 @@ function bae(e) {value: e ?? ""})))));if (i) {- let { validationBehavior: e } = ZD.get(t) || {};+ let { validationBehavior: e } = zD.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -27383,8 +27386,8 @@ function bae(e) {}//#endregion//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs-function xae(e) {- let t = jS(e, { labelable: !0 }), n;+function UD(e) {+ let t = yS(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,role: "separator",@@ -27393,8 +27396,8 @@ function xae(e) {}//#endregion//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs-function Sae(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = QC(e, t, n);+function WD(e, t, n) {+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = DC(e, t, n);return {labelProps: r,inputProps: {@@ -27408,10 +27411,10 @@ function Sae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var QD = class {+var GD = 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 Cae(e.layout) : new jw(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new KD(e.layout) : new ew(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -27447,7 +27450,7 @@ var QD = class {let n = this.collection.getItem(e);if (!n) return null;let r = 0;- for (let e of xT(n, this.collection)) {+ for (let e of Ww(n, this.collection)) {if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;r++;}@@ -27481,13 +27484,13 @@ var QD = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = xT(t, this.collection);- return (this.direction === "rtl" ? wT(e)?.key : ST(e)?.key) ?? null;+ let e = Ww(t, this.collection);+ return (this.direction === "rtl" ? qw(e)?.key : Gw(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = xT(n, this.collection), i = (this.direction === "rtl" ? CT(r, t.index - 1) : CT(r, t.index + 1)) ?? null;+ let r = Ww(n, this.collection), i = (this.direction === "rtl" ? Kw(r, t.index - 1) : Kw(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;@@ -27496,13 +27499,13 @@ var QD = class {let t = this.collection.getItem(e);if (!t) return null;if (this.isRow(t)) {- let e = xT(t, this.collection);- return (this.direction === "rtl" ? ST(e)?.key : wT(e)?.key) ?? null;+ let e = Ww(t, this.collection);+ return (this.direction === "rtl" ? Gw(e)?.key : qw(e)?.key) ?? null;}if (this.isCell(t) && t.parentKey != null) {let n = this.collection.getItem(t.parentKey);if (!n) return null;- let r = xT(n, this.collection), i = (this.direction === "rtl" ? CT(r, t.index + 1) : CT(r, t.index - 1)) ?? null;+ let r = Ww(n, this.collection), i = (this.direction === "rtl" ? Kw(r, t.index + 1) : Kw(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;@@ -27513,13 +27516,13 @@ var QD = 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 ? ST(xT(e, this.collection))?.key ?? null : null;+ return e ? Gw(Ww(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 = ST(xT(e, this.collection))?.key ?? null;+ n = Gw(Ww(e, this.collection))?.key ?? null;}return n;}@@ -27529,13 +27532,13 @@ var QD = class {if (r = this.collection.getItem(n), !r) return null;if (this.isCell(r) && !t && r.parentKey != null) {let e = this.collection.getItem(r.parentKey);- return e ? wT(xT(e, this.collection))?.key ?? null : null;+ return e ? qw(Ww(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 = wT(xT(e, this.collection))?.key ?? null;+ n = qw(Ww(e, this.collection))?.key ?? null;}return n;}@@ -27571,13 +27574,13 @@ var QD = 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" ? ST(xT(t, this.collection))?.key ?? null : t.key;+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Gw(Ww(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;}-}, Cae = class {+}, KD = class {constructor(e) {this.layout = e;}@@ -27590,16 +27593,16 @@ var QD = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, $D = /* @__PURE__ */ new WeakMap();+}, qD = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/grid/useGrid.mjs-function wae(e, t, n) {+function JD(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 = AT({+ let h = $w({usage: "search",sensitivity: "base"- }), { direction: g } = CS(), _ = t.selectionManager.disabledBehavior, v = (0, D.useMemo)(() => a || new QD({+ }), { direction: g } = rS(), _ = t.selectionManager.disabledBehavior, v = (0, D.useMemo)(() => a || new GD({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -27616,7 +27619,7 @@ function wae(e, t, n) {g,h,o- ]), { collectionProps: y } = bT({+ ]), { collectionProps: y } = Uw({ref: n,selectionManager: m,keyboardDelegate: v,@@ -27624,8 +27627,8 @@ function wae(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = Dx(e.id);- $D.set(t, {+ }), b = sx(e.id);+ qD.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -27634,44 +27637,44 @@ function wae(e, t, n) {shouldSelectOnPressUp: f,keyboardNavigationBehavior: p});- let x = kE({+ let x = QT({selectionManager: m,hasItemActions: !!(l || u)- }), S = jS(e, { labelable: !0 }), C = (0, D.useCallback)((e) => {- m.isFocused ? ob(e.currentTarget, G(e)) || m.setFocused(!1) : ob(e.currentTarget, G(e)) && m.setFocused(!0);+ }), S = yS(e, { labelable: !0 }), C = (0, D.useCallback)((e) => {+ m.isFocused ? Qy(e.currentTarget, G(e)) || m.setFocused(!1) : Qy(e.currentTarget, G(e)) && m.setFocused(!0);}, [m]), w = (0, D.useMemo)(() => ({onBlur: y.onBlur,onFocus: C- }), [C, y.onBlur]), T = OE(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {+ }), [C, y.onBlur]), T = ZT(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), EE({ getRowText: c }, t), { gridProps: E };+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), YT({ getRowText: c }, t), { gridProps: E };}//#endregion//#region node_modules/react-aria/dist/private/table/utils.mjs-var eO = /* @__PURE__ */ new WeakMap();-function tO(e) {+var YD = /* @__PURE__ */ new WeakMap();+function XD(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function nO(e, t) {- let n = eO.get(e);+function ZD(e, t) {+ let n = YD.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${tO(t)}`;+ return `${n}-${XD(t)}`;}-function rO(e, t, n) {- let r = eO.get(e);+function QD(e, t, n) {+ let r = YD.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${tO(t)}-${tO(n)}`;+ return `${r}-${XD(t)}-${XD(n)}`;}-function iO(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => rO(e, t, n)).join(" ");+function $D(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => QD(e, t, n)).join(" ");}//#endregion//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var aO = {};-aO = {+var eO = {};+eO = {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: "طي",@@ -27686,8 +27689,8 @@ aO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var oO = {};-oO = {+var tO = {};+tO = {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: "Свиване",@@ -27702,8 +27705,8 @@ oO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var sO = {};-sO = {+var nO = {};+nO = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -27718,8 +27721,8 @@ sO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var cO = {};-cO = {+var rO = {};+rO = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -27734,8 +27737,8 @@ cO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var lO = {};-lO = {+var iO = {};+iO = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -27750,8 +27753,8 @@ lO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var uO = {};-uO = {+var aO = {};+aO = {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: "Σύμπτυξη",@@ -27766,8 +27769,8 @@ uO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs-var dO = {};-dO = {+var oO = {};+oO = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -27782,8 +27785,8 @@ dO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var fO = {};-fO = {+var sO = {};+sO = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -27798,8 +27801,8 @@ fO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var pO = {};-pO = {+var cO = {};+cO = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -27814,8 +27817,8 @@ pO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var mO = {};-mO = {+var lO = {};+lO = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -27830,8 +27833,8 @@ mO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var hO = {};-hO = {+var uO = {};+uO = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -27846,8 +27849,8 @@ hO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var gO = {};-gO = {+var dO = {};+dO = {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: "כווץ",@@ -27862,8 +27865,8 @@ gO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var _O = {};-_O = {+var fO = {};+fO = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -27878,8 +27881,8 @@ _O = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var vO = {};-vO = {+var pO = {};+pO = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -27894,8 +27897,8 @@ vO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var yO = {};-yO = {+var mO = {};+mO = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -27910,8 +27913,8 @@ yO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var bO = {};-bO = {+var hO = {};+hO = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -27926,8 +27929,8 @@ bO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var xO = {};-xO = {+var gO = {};+gO = {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: "접기",@@ -27942,8 +27945,8 @@ xO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var SO = {};-SO = {+var _O = {};+_O = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -27958,8 +27961,8 @@ SO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var CO = {};-CO = {+var vO = {};+vO = {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",@@ -27974,8 +27977,8 @@ CO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var wO = {};-wO = {+var yO = {};+yO = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -27990,8 +27993,8 @@ wO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var TO = {};-TO = {+var bO = {};+bO = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -28006,8 +28009,8 @@ TO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var EO = {};-EO = {+var xO = {};+xO = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -28022,8 +28025,8 @@ EO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var DO = {};-DO = {+var SO = {};+SO = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -28038,8 +28041,8 @@ DO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var OO = {};-OO = {+var CO = {};+CO = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -28054,8 +28057,8 @@ OO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var kO = {};-kO = {+var wO = {};+wO = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -28070,8 +28073,8 @@ kO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var AO = {};-AO = {+var TO = {};+TO = {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: "Свернуть",@@ -28086,8 +28089,8 @@ AO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var jO = {};-jO = {+var EO = {};+EO = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -28102,8 +28105,8 @@ jO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var MO = {};-MO = {+var DO = {};+DO = {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",@@ -28118,8 +28121,8 @@ MO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var NO = {};-NO = {+var OO = {};+OO = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -28134,8 +28137,8 @@ NO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var PO = {};-PO = {+var kO = {};+kO = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -28150,8 +28153,8 @@ PO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var FO = {};-FO = {+var AO = {};+AO = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -28166,8 +28169,8 @@ FO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var IO = {};-IO = {+var jO = {};+jO = {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: "Згорнути",@@ -28182,8 +28185,8 @@ IO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var LO = {};-LO = {+var MO = {};+MO = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -28198,8 +28201,8 @@ LO = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var RO = {};-RO = {+var NO = {};+NO = {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: "收合",@@ -28214,46 +28217,46 @@ RO = {};//#endregion//#region node_modules/react-aria/dist/private/table/intlStrings.mjs-var zO = {};-zO = {- "ar-AE": aO,- "bg-BG": oO,- "cs-CZ": sO,- "da-DK": cO,- "de-DE": lO,- "el-GR": uO,- "en-US": dO,- "es-ES": fO,- "et-EE": pO,- "fi-FI": mO,- "fr-FR": hO,- "he-IL": gO,- "hr-HR": _O,- "hu-HU": vO,- "it-IT": yO,- "ja-JP": bO,- "ko-KR": xO,- "lt-LT": SO,- "lv-LV": CO,- "nb-NO": wO,- "nl-NL": TO,- "pl-PL": EO,- "pt-BR": DO,- "pt-PT": OO,- "ro-RO": kO,- "ru-RU": AO,- "sk-SK": jO,- "sl-SI": MO,- "sr-SP": NO,- "sv-SE": PO,- "tr-TR": FO,- "uk-UA": IO,- "zh-CN": LO,- "zh-TW": RO+var PO = {};+PO = {+ "ar-AE": eO,+ "bg-BG": tO,+ "cs-CZ": nO,+ "da-DK": rO,+ "de-DE": iO,+ "el-GR": aO,+ "en-US": oO,+ "es-ES": sO,+ "et-EE": cO,+ "fi-FI": lO,+ "fr-FR": uO,+ "he-IL": dO,+ "hr-HR": fO,+ "hu-HU": pO,+ "it-IT": mO,+ "ja-JP": hO,+ "ko-KR": gO,+ "lt-LT": _O,+ "lv-LV": vO,+ "nb-NO": yO,+ "nl-NL": bO,+ "pl-PL": xO,+ "pt-BR": SO,+ "pt-PT": CO,+ "ro-RO": wO,+ "ru-RU": TO,+ "sk-SK": EO,+ "sl-SI": DO,+ "sr-SP": OO,+ "sv-SE": kO,+ "tr-TR": AO,+ "uk-UA": jO,+ "zh-CN": MO,+ "zh-TW": NO};//#endregion//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var Tae = class extends QD {+var jae = class extends GD {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -28261,7 +28264,7 @@ var Tae = class extends QD {let n = this.collection.getItem(e);if (!n) return null;if (n.type === "column") {- let e = ST(xT(n, this.collection));+ let e = Gw(Ww(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);@@ -28282,13 +28285,13 @@ var Tae = class extends QD {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 xT(n, this.collection)) if (e.type === "column") return e.key;+ for (let e of Ww(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 = [...xT(n, this.collection)];+ let n = this.collection.headerRows[e.level], r = [...Ww(n, this.collection)];for (let e = r.length - 1; e >= 0; e--) {let t = r[e];if (t.type === "column") return t.key;@@ -28317,7 +28320,7 @@ var Tae = class extends QD {let t = o.textValue.slice(0, e.length);if (this.collator.compare(t, e) === 0) return o.key;}- for (let r of xT(o, this.collection)) {+ for (let r of Ww(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);@@ -28331,14 +28334,14 @@ var Tae = class extends QD {};//#endregion//#region node_modules/react-aria/dist/private/table/useTable.mjs-function Eae(e) {+function Mae(e) {return e && e.__esModule ? e.default : e;}-function Dae(e, t, n) {- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = AT({+function Nae(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = $w({usage: "search",sensitivity: "base"- }), { direction: c } = CS(), l = t.selectionManager.disabledBehavior, u = (0, D.useMemo)(() => r || new Tae({+ }), { direction: c } = rS(), l = t.selectionManager.disabledBehavior, u = (0, D.useMemo)(() => r || new jae({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -28357,52 +28360,52 @@ function Dae(e, t, n) {s,a,o- ]), d = Dx(e.id);- eO.set(t, d);- let { gridProps: f } = wae({+ ]), d = sx(e.id);+ YD.set(t, d);+ let { gridProps: f } = JD({...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 = kS(Eae(zO), "@react-aria/table"), g = (0, D.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = fS(Mae(PO), "@react-aria/table"), g = (0, D.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [m,p,t.collection.columns- ]), _ = NC(g);- return wC(() => {- g && SC(g, "assertive", 500);+ ]), _ = hC(g);+ return cC(() => {+ g && sC(g, "assertive", 500);}, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs-function BO(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = CS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = $D.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = () => {+function FO(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = rS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = qD.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = () => {if (n.current) {- let e = gC(n.current);+ let e = nC(n.current);if (p === "child") {- let i = sb($y(n.current));- if (lb(n.current) && n.current !== i) return;- let a = $y(n.current);+ let i = $y(Gy(n.current));+ if (tb(n.current) && n.current !== i) return;+ let a = Gy(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && ob(n.current, e)) {- Sx(e);+ if (e && m.current === r.key && Qy(n.current, e)) {+ nx(e);return;}}- let o = t.selectionManager.childFocusStrategy === "last" ? VO(e) : e.firstChild();+ let o = t.selectionManager.childFocusStrategy === "last" ? IO(e) : e.firstChild();if (o) {- Sx(o);+ nx(o);return;}}- (m.current != null && r.key !== m.current || !lb(n.current)) && Sx(n.current);+ (m.current != null && r.key !== m.current || !tb(n.current)) && nx(n.current);}- }, { itemProps: _, isPressed: v } = jE({+ }, { itemProps: _, isPressed: v } = eE({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -28414,44 +28417,44 @@ function BO(e, t, n) {}), y = K(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = sb($y(n.current));- if (!ob(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = gC(n.current);+ let i = $y(Gy(n.current));+ if (!Qy(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = nC(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) Sx(t), AC(t, { containingElement: EC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) nx(t), pC(t, { containingElement: uC(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" ? (Sx(n.current), AC(n.current, { containingElement: EC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : VO(a), t && (Sx(t), AC(t, { containingElement: EC(n.current) })));+ p === "cell" && l === "rtl" ? (nx(n.current), pC(n.current, { containingElement: uC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : IO(a), t && (nx(t), pC(t, { containingElement: uC(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) Sx(t), AC(t, { containingElement: EC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) nx(t), pC(t, { containingElement: uC(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" ? (Sx(n.current), AC(n.current, { containingElement: EC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? VO(a) : a.firstChild(), t && (Sx(t), AC(t, { containingElement: EC(n.current) })));+ p === "cell" && l === "ltr" ? (nx(n.current), pC(n.current, { containingElement: uC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? IO(a) : a.firstChild(), t && (nx(t), pC(t, { containingElement: uC(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && ob(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && Qy(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 = sb($y(n.current));- if (ob(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {+ let r = $y(Gy(n.current));+ if (Qy(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 = gC(n.current, { tabbable: !0 });+ let t = nC(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -28462,9 +28465,9 @@ function BO(e, t, n) {onFocus: (e) => {if (m.current = r.key, G(e) !== n.current) {let i = G(e);- n.current && ob(n.current, i) && (h.current = i), ux() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && ob(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && sb($y(n.current)) === n.current && g();+ n.current && Qy(n.current, i) && (h.current = i), Wb() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && Qy(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && $y(Gy(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -28479,7 +28482,7 @@ function BO(e, t, n) {isPressed: v};}-function VO(e) {+function IO(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -28488,33 +28491,33 @@ function VO(e) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableCell.mjs-function Oae(e, t, n) {- let { gridCellProps: r, isPressed: i } = BO(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = rO(t, e.node.parentKey, a)), {+function Pae(e, t, n) {+ let { gridCellProps: r, isPressed: i } = FO(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = QD(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i};}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function kae(e) {+function Fae(e) {return e && e.__esModule ? e.default : e;}-function Aae(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = BO({+function Iae(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = FO({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = GS({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = PS({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = Vx({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !Ib() && (u = d ? f : "none");- let p = kS(kae(zO), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && Ib() && (m = `${m}, ${p.format(f)}`));- let h = NC(m), g = t.collection.size === 0;+ }), { focusableProps: l } = xx({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !bb() && (u = d ? f : "none");+ let p = fS(Fae(PO), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && bb() && (m = `${m}, ${p.format(f)}`));+ let h = hC(m), g = t.collection.size === 0;return (0, D.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -28525,7 +28528,7 @@ function Aae(e, t, n) {columnHeaderProps: {...K(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: nO(t, r.key),+ id: ZD(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -28534,17 +28537,17 @@ function Aae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function jae(e) {+function Lae(e) {return e && e.__esModule ? e.default : e;}-function Mae(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = kS(jae(zO), "@react-aria/table"), d = Dx(), f = t.resizingColumn === r.key, p = (0, D.useRef)(f), m = (0, D.useRef)(null), h = (0, D.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, D.useState)(!1), { direction: y } = CS(), b = (0, D.useCallback)((e) => {+function Rae(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = fS(Lae(PO), "@react-aria/table"), d = sx(), f = t.resizingColumn === r.key, p = (0, D.useRef)(f), m = (0, D.useRef)(null), h = (0, D.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, D.useState)(!1), { direction: y } = rS(), b = (0, D.useCallback)((e) => {p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;}, [t, o]), x = (0, D.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);s?.(r), m.current = r;}, [t, s]), S = (0, D.useCallback)((e) => {- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && Sx(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 && nx(i.current)), m.current = null;}, [t,i,@@ -28552,14 +28555,14 @@ function Mae(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = Lx({ shortcuts: {+ }, { keyboardProps: w } = _x({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);}," ": () => C(),Tab: () => C()- } }), T = (0, D.useRef)(0), { moveProps: E } = gw({+ } }), T = (0, D.useRef)(0), { moveProps: E } = zC({onMoveStart(e) {T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);},@@ -28575,81 +28578,81 @@ function Mae(e, t, n) {g && E.onKeyDown?.(e);}, [g, E]), k = Math.floor(t.getColumnMinWidth(r.key)), A = Math.floor(t.getColumnMaxWidth(r.key));A === Infinity && (A = 2 ** 53 - 1);- let j = Math.floor(t.getColumnWidth(r.key)), M = px();+ let j = Math.floor(t.getColumnWidth(r.key)), M = qb();M === "virtual" && typeof window < "u" && "ontouchstart" in window && (M = "touch");- let ee = NC(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), N = {+ let N = hC(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), P = {"aria-label": l,"aria-orientation": "horizontal",- "aria-labelledby": `${d} ${nO(t.tableState, r.key)}`,+ "aria-labelledby": `${d} ${ZD(t.tableState, r.key)}`,"aria-valuetext": u.format("columnSize", { value: j }),type: "range",min: k,max: A,value: j,- ...ee- }, te = (0, D.useCallback)(() => {- n.current && Sx(n.current);- }, [n]), P = t.resizingColumn, ne = (0, D.useRef)(null), F = hS(b);+ ...N+ }, ee = (0, D.useCallback)(() => {+ n.current && nx(n.current);+ }, [n]), F = t.resizingColumn, te = (0, D.useRef)(null), I = Yx(b);(0, D.useEffect)(() => {- if (ne.current !== P && P != null && P === r.key) {- h.current = sb() === n.current, F(r);- let e = setTimeout(() => te(), 0), t = setTimeout(te, 400);+ if (te.current !== F && F != null && F === r.key) {+ h.current = $y() === n.current, I(r);+ let e = setTimeout(() => ee(), 0), t = setTimeout(ee, 400);return () => {clearTimeout(e), clearTimeout(t);};}- ne.current = P;+ te.current = F;}, [- P,+ F,r,- te,+ ee,n]);- let re = (e) => {+ let ne = (e) => {let n = t.getColumnWidth(r.key), i = parseFloat(G(e).value);i = i > n ? n + 10 : n - 10, x(r, i);- }, { pressProps: ie } = GS({+ }, { pressProps: re } = PS({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)));+ e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (ee(), e.pointerType !== "virtual" && b(r)));},onPress: (e) => {(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);}- }), { visuallyHiddenProps: ae } = vw();+ }), { visuallyHiddenProps: ie } = VC();return {resizerProps: K(w, {...E,onKeyDown: O- }, ie, { style: { touchAction: "none" } }),- inputProps: K(ae, {+ }, re, { style: { touchAction: "none" } }),+ inputProps: K(ie, {id: d,onBlur: () => {S(r);},- onChange: re,+ onChange: ne,disabled: a- }, N),+ }, P),isResizing: f,isMouseResizing: _};}//#endregion//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function Nae(e, t, n) {+function zae(e, t, n) {let { node: r, isVirtualized: i } = e, a = { role: "row" };return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs-function Pae(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = $D.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = jE({+function Bae(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = qD.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = eE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? Cx(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? rx(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -28664,10 +28667,10 @@ function Pae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRow.mjs-function Fae(e) {+function Vae(e) {return e && e.__esModule ? e.default : e;}-var HO = {+var LO = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -28677,21 +28680,21 @@ var HO = {rtl: "ArrowRight"}};-function Iae(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Pae(e, t, n), { direction: s } = CS();+function Hae(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Bae(e, t, n), { direction: s } = rS();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 = kS(Fae(zO), "@react-aria/table"), u = _S({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = fS(Vae(PO), "@react-aria/table"), u = Zx({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": iO(t, r.key)+ "aria-labelledby": $D(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = UO(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 = UO(t.collection, a);+ let n = RO(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 = RO(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === HO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === HO.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 === LO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === LO.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,@@ -28709,45 +28712,45 @@ function Iae(e, t, n) {};}}- let p = Wb(r.props), m = o.hasAction ? p : {};+ let p = wb(r.props), m = o.hasAction ? p : {};return {rowProps: {...K(a, d, m),- "aria-labelledby": iO(t, r.key)+ "aria-labelledby": $D(t, r.key)},expandButtonProps: f,...o};}-function UO(e, t) {+function RO(e, t) {return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs-function Lae() {+function Uae() {return { rowGroupProps: { role: "rowgroup" } };}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function WO() {- return Lae();+function zO() {+ return Uae();}//#endregion//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function Rae(e) {+function Wae(e) {return e && e.__esModule ? e.default : e;}-function zae(e, t) {- let { key: n } = e, { checkboxProps: r } = LE(e, t);+function Gae(e, t) {+ let { key: n } = e, { checkboxProps: r } = oE(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${iO(t, n)}`+ "aria-labelledby": `${r.id} ${$D(t, n)}`} };}-function Bae(e) {+function Kae(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": kS(Rae(zO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": fS(Wae(PO), "@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,@@ -28756,23 +28759,23 @@ function Bae(e) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/utils.mjs-var GO = /* @__PURE__ */ new WeakMap();-function KO(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${GO.get(e)}-${n}-${t}`) : "";+var BO = /* @__PURE__ */ new WeakMap();+function VO(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${BO.get(e)}-${n}-${t}`) : "";}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTab.mjs-function Vae(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 } = jE({+function qae(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 } = eE({selectionManager: o,key: r,ref: n,isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = KO(t, r, "tab"), m = KO(t, r, "tabpanel"), { tabIndex: h } = d, g = jS(u?.props, { labelable: !0 });+ }), p = VO(t, r, "tab"), m = VO(t, r, "tabpanel"), { tabIndex: h } = d, g = yS(u?.props, { labelable: !0 });delete g.id;- let _ = Gb(u?.props), { focusableProps: v } = Vx({+ let _ = Tb(u?.props), { focusableProps: v } = xx({...u?.props,isDisabled: l}, n);@@ -28792,7 +28795,7 @@ function Vae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var Hae = class {+var Jae = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -28836,11 +28839,11 @@ var Hae = class {};//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs-function Uae(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = CS(), { collectionProps: l } = bT({+function Yae(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = rS(), { collectionProps: l } = Uw({ref: n,selectionManager: o,- keyboardDelegate: (0, D.useMemo)(() => new Hae(a, c, r, s), [+ keyboardDelegate: (0, D.useMemo)(() => new Jae(a, c, r, s), [a,s,r,@@ -28850,9 +28853,9 @@ function Uae(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = Dx();- return GO.set(t, u), { tabListProps: {- ...K(l, _S({+ }), u = sx();+ return BO.set(t, u), { tabListProps: {+ ...K(l, Zx({...e,id: u})),@@ -28863,12 +28866,12 @@ function Uae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function Wae(e, t, n) {- let r = OE(n) ? void 0 : 0, i = KO(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: K(_S({+function Xae(e, t, n) {+ let r = ZT(n) ? void 0 : 0, i = VO(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: K(Zx({...e,id: i,- "aria-labelledby": KO(t, t?.selectedKey, "tab")+ "aria-labelledby": VO(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -28878,301 +28881,301 @@ function Wae(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tree/useTree.mjs-function Gae(e, t, n) {- let { gridProps: r } = Iie(e, t, n);+function Zae(e, t, n) {+ let { gridProps: r } = mae(e, t, n);return r.role = "treegrid", { gridProps: r };}//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs-var qO = {};-qO = {+var HO = {};+HO = {collapse: "طي",expand: "تمديد"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs-var JO = {};-JO = {+var UO = {};+UO = {collapse: "Свиване",expand: "Разширяване"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs-var YO = {};-YO = {+var WO = {};+WO = {collapse: "Sbalit",expand: "Roztáhnout"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/da-DK.mjs-var XO = {};-XO = {+var GO = {};+GO = {collapse: "Skjul",expand: "Udvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/de-DE.mjs-var ZO = {};-ZO = {+var KO = {};+KO = {collapse: "Reduzieren",expand: "Erweitern"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/el-GR.mjs-var QO = {};-QO = {+var qO = {};+qO = {collapse: "Σύμπτυξη",expand: "Ανάπτυξη"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/en-US.mjs-var $O = {};-$O = {+var JO = {};+JO = {expand: "Expand",collapse: "Collapse"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/es-ES.mjs-var ek = {};-ek = {+var YO = {};+YO = {collapse: "Contraer",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/et-EE.mjs-var tk = {};-tk = {+var XO = {};+XO = {collapse: "Ahenda",expand: "Laienda"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs-var nk = {};-nk = {+var ZO = {};+ZO = {collapse: "Pienennä",expand: "Laajenna"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs-var rk = {};-rk = {+var QO = {};+QO = {collapse: "Réduire",expand: "Développer"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/he-IL.mjs-var ik = {};-ik = {+var $O = {};+$O = {collapse: "כווץ",expand: "הרחב"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs-var ak = {};-ak = {+var ek = {};+ek = {collapse: "Sažmi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs-var ok = {};-ok = {+var tk = {};+tk = {collapse: "Összecsukás",expand: "Kibontás"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/it-IT.mjs-var sk = {};-sk = {+var nk = {};+nk = {collapse: "Comprimi",expand: "Espandi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs-var ck = {};-ck = {+var rk = {};+rk = {collapse: "折りたたむ",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs-var lk = {};-lk = {+var ik = {};+ik = {collapse: "접기",expand: "펼치기"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs-var uk = {};-uk = {+var ak = {};+ak = {collapse: "Sutraukti",expand: "Išskleisti"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs-var dk = {};-dk = {+var ok = {};+ok = {collapse: "Sakļaut",expand: "Izvērst"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs-var fk = {};-fk = {+var sk = {};+sk = {collapse: "Skjul",expand: "Utvid"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs-var pk = {};-pk = {+var ck = {};+ck = {collapse: "Samenvouwen",expand: "Uitvouwen"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs-var mk = {};-mk = {+var lk = {};+lk = {collapse: "Zwiń",expand: "Rozwiń"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs-var hk = {};-hk = {+var uk = {};+uk = {collapse: "Recolher",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs-var gk = {};-gk = {+var dk = {};+dk = {collapse: "Colapsar",expand: "Expandir"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs-var _k = {};-_k = {+var fk = {};+fk = {collapse: "Restrângeți",expand: "Extindeți"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs-var vk = {};-vk = {+var pk = {};+pk = {collapse: "Свернуть",expand: "Развернуть"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs-var yk = {};-yk = {+var mk = {};+mk = {collapse: "Zbaliť",expand: "Rozbaliť"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs-var bk = {};-bk = {+var hk = {};+hk = {collapse: "Strni",expand: "Razširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs-var xk = {};-xk = {+var gk = {};+gk = {collapse: " Skupi",expand: "Proširi"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs-var Sk = {};-Sk = {+var _k = {};+_k = {collapse: "Dölj",expand: "Expandera"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs-var Ck = {};-Ck = {+var vk = {};+vk = {collapse: "Daralt",expand: "Genişlet"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs-var wk = {};-wk = {+var yk = {};+yk = {collapse: "Згорнути",expand: "Розгорнути"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs-var Tk = {};-Tk = {+var bk = {};+bk = {collapse: "折叠",expand: "扩展"};//#endregion//#region node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs-var Ek = {};-Ek = {+var xk = {};+xk = {collapse: "收合",expand: "展開"};//#endregion//#region node_modules/react-aria/dist/private/tree/intlStrings.mjs-var Dk = {};-Dk = {- "ar-AE": qO,- "bg-BG": JO,- "cs-CZ": YO,- "da-DK": XO,- "de-DE": ZO,- "el-GR": QO,- "en-US": $O,- "es-ES": ek,- "et-EE": tk,- "fi-FI": nk,- "fr-FR": rk,- "he-IL": ik,- "hr-HR": ak,- "hu-HU": ok,- "it-IT": sk,- "ja-JP": ck,- "ko-KR": lk,- "lt-LT": uk,- "lv-LV": dk,- "nb-NO": fk,- "nl-NL": pk,- "pl-PL": mk,- "pt-BR": hk,- "pt-PT": gk,- "ro-RO": _k,- "ru-RU": vk,- "sk-SK": yk,- "sl-SI": bk,- "sr-SP": xk,- "sv-SE": Sk,- "tr-TR": Ck,- "uk-UA": wk,- "zh-CN": Tk,- "zh-TW": Ek+var Sk = {};+Sk = {+ "ar-AE": HO,+ "bg-BG": UO,+ "cs-CZ": WO,+ "da-DK": GO,+ "de-DE": KO,+ "el-GR": qO,+ "en-US": JO,+ "es-ES": YO,+ "et-EE": XO,+ "fi-FI": ZO,+ "fr-FR": QO,+ "he-IL": $O,+ "hr-HR": ek,+ "hu-HU": tk,+ "it-IT": nk,+ "ja-JP": rk,+ "ko-KR": ik,+ "lt-LT": ak,+ "lv-LV": ok,+ "nb-NO": sk,+ "nl-NL": ck,+ "pl-PL": lk,+ "pt-BR": uk,+ "pt-PT": dk,+ "ro-RO": fk,+ "ru-RU": pk,+ "sk-SK": mk,+ "sl-SI": hk,+ "sr-SP": gk,+ "sv-SE": _k,+ "tr-TR": vk,+ "uk-UA": yk,+ "zh-CN": bk,+ "zh-TW": xk};//#endregion//#region node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function Kae(e) {+function Qae(e) {return e && e.__esModule ? e.default : e;}-function Ok(e, t, n) {- let { node: r } = e, i = Lie(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = kS(Kae(Dk), "@react-aria/tree"), s = {+function Ck(e, t, n) {+ let { node: r } = e, i = hae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = fS(Qae(Sk), "@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,- ..._S({+ ...Zx({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -29184,15 +29187,15 @@ function Ok(e, t, n) {}//#endregion//#region src/react/components/selection-dock.tsx-var kk = "(prefers-reduced-motion: reduce)", qae = () => matchMedia(kk).matches, Jae = (e) => {- let t = matchMedia(kk);+var wk = "(prefers-reduced-motion: reduce)", $ae = () => matchMedia(wk).matches, eoe = (e) => {+ let t = matchMedia(wk);return t.addEventListener("change", e), () => t.removeEventListener("change", e);-}, Ak = /* @__PURE__ */ new Map(), jk = () => {+}, Tk = /* @__PURE__ */ new Map(), Ek = () => {let e = document.documentElement;- Ak.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Ak.values())}px`) : e.style.removeProperty("--selection-dock-space");+ Tk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Tk.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function Yae({ children: e, count: t, label: n }) {- let r = (0, D.useRef)(null), i = Fv(), a = (0, D.useSyncExternalStore)(Jae, qae, () => !1), { isFocusVisible: o } = mx(), s = a || o, c = {+function toe({ children: e, count: t, label: n }) {+ let r = (0, D.useRef)(null), i = xv(), a = (0, D.useSyncExternalStore)(eoe, $ae, () => !1), { isFocusVisible: o } = Jb(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -29200,12 +29203,12 @@ function Yae({ children: e, count: t, label: n }) {let e = r.current;if (!e || !i) return;let t = () => {- Ak.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), jk();+ Tk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Ek();}, n = new ResizeObserver(t);return n.observe(e), window.addEventListener("resize", t), t(), () => {- n.disconnect(), window.removeEventListener("resize", t), Ak.delete(e), jk();+ n.disconnect(), window.removeEventListener("resize", t), Tk.delete(e), Ek();};- }, [i]), /* @__PURE__ */ (0, O.jsxs)(Hy.div, {+ }, [i]), /* @__PURE__ */ (0, O.jsxs)(Py.div, {ref: r,role: "group","aria-label": n,@@ -29238,18 +29241,18 @@ function Yae({ children: e, count: t, label: n }) {}), e]});}-function Mk({ visible: e, ...t }) {- return /* @__PURE__ */ (0, O.jsx)(Rv, { children: e ? /* @__PURE__ */ (0, O.jsx)(Yae, { ...t }, "selection") : null });+function Dk({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, O.jsx)(wv, { children: e ? /* @__PURE__ */ (0, O.jsx)(toe, { ...t }, "selection") : null });}//#endregion//#region src/react/batch-dock/batch-dock-api.ts-var Nk = {+var Ok = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function Xae(e, t = !1) {+function noe(e, t = !1) {switch (e) {case "trash": return [{@@ -29265,7 +29268,7 @@ function Xae(e, t = !1) {glyph: "trash",danger: !0},- Nk+ Ok];case "junk": return [t ? {@@ -29286,7 +29289,7 @@ function Xae(e, t = !1) {glyph: "trash",danger: !0},- Nk+ Ok];case "follow": return [{@@ -29307,7 +29310,7 @@ function Xae(e, t = !1) {label: "忽略",glyph: "eye-off"},- Nk+ Ok];default: return [{@@ -29341,39 +29344,39 @@ function Xae(e, t = !1) {glyph: "trash",danger: !0},- Nk+ Ok];}}//#endregion//#region src/react/batch-dock/batch-dock-island.tsx-var Pk = null, Fk = {+var kk = null, Ak = {count: 0,context: "catalog",junkDismissed: !1-}, Ik = /* @__PURE__ */ new Set();-function Zae(e) {- return Ik.add(e), () => {- Ik.delete(e);+}, jk = /* @__PURE__ */ new Set();+function roe(e) {+ return jk.add(e), () => {+ jk.delete(e);};}-function Qae() {- for (let e of [...Ik]) e();+function ioe() {+ for (let e of [...jk]) e();}-var $ae = { render(e) {- Fk = e, (0, Et.flushSync)(Qae);+var aoe = { render(e) {+ Ak = e, (0, Tt.flushSync)(ioe);} };-function eoe(e) {- return Pk = e, $ae;+function ooe(e) {+ return kk = e, aoe;}-function toe() {- let e = (0, D.useSyncExternalStore)(Zae, () => Fk);- return Pk ? /* @__PURE__ */ (0, O.jsx)(noe, {- host: Pk,+function soe() {+ let e = (0, D.useSyncExternalStore)(roe, () => Ak);+ return kk ? /* @__PURE__ */ (0, O.jsx)(coe, {+ host: kk,props: e}) : null;}-function noe({ host: e, props: t }) {+function coe({ host: e, props: t }) {let n = t.count > 0;return (0, D.useLayoutEffect)(() => {document.body.toggleAttribute("data-batch-dock-open", n);@@ -29383,11 +29386,11 @@ function noe({ host: e, props: t }) {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, O.jsx)(Mk, {+ children: /* @__PURE__ */ (0, O.jsx)(Dk, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: Xae(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: noe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -29404,12 +29407,12 @@ function noe({ host: e, props: t }) {}//#endregion//#region src/number-setting.ts-function Lk(e, t, n, r) {+function Mk(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}//#endregion//#region src/settings-store.ts-function roe(e, t) {+function loe(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -29429,7 +29432,7 @@ function roe(e, t) {}//#endregion//#region src/sort-preferences.ts-var Rk = [+var Nk = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -29438,7 +29441,7 @@ var Rk = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], zk = ["release", "发行时间"], Bk = [...Rk, zk].map(([e]) => e), Vk = {+], Pk = ["release", "发行时间"], Fk = [...Nk, Pk].map(([e]) => e), Ik = {rating: ["从高到低", "从低到高"],o: ["从多到少", "从少到多"],plays: ["从多到少", "从少到多"],@@ -29447,28 +29450,28 @@ var Rk = [new: ["从新到旧", "从旧到新"],played: ["从近到远", "从远到近"],release: ["从新到旧", "从旧到新"]-}, Hk = {+}, Lk = {big: ["size", "desc"],short: ["dur", "asc"],long: ["dur", "desc"]-}, Uk = (e, t, n = Vk) => (n[e] || [])[+(t === "asc")] || "", Wk = (e, t = Vk) => t[e] ? "desc" : "";-function Gk(e, t, n, r = Vk) {+}, Rk = (e, t, n = Ik) => (n[e] || [])[+(t === "asc")] || "", zk = (e, t = Ik) => t[e] ? "desc" : "";+function Bk(e, t, n, r = Ik) {return e === t ? r[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {sort: e,- dir: Wk(e, r)+ dir: zk(e, r)};}-function Kk(e, t, n) {+function Vk(e, t, n) {return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";}-function qk(e, t, n, r, i = n) {- let a = e ? Hk[e] : void 0, o = a ? a[0] : e, s = o && Bk.includes(o) ? o : i;- return Vk[s] ? {+function Hk(e, t, n, r, i = n) {+ let a = e ? Lk[e] : void 0, o = a ? a[0] : e, s = o && Fk.includes(o) ? o : i;+ return Ik[s] ? {sort: s,- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Kk(s, n, r)+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Vk(s, n, r)} : {sort: s,dir: ""@@ -29476,15 +29479,15 @@ function qk(e, t, n, r, i = n) {}//#endregion//#region src/appearance/home-glow.ts-var Jk = [+var Uk = ["spot1","spot2","spot3"-], ioe = [+], uoe = ["光晕一","光晕二","光晕三"-], Yk = "native", Xk = [+], Wk = "native", Gk = [["ash","灰雾",@@ -29790,7 +29793,7 @@ var Jk = ["rose"],[- Yk,+ Wk,"玻璃原色",{spot1: {@@ -29808,7 +29811,7 @@ var Jk = [},"blue"]-], Zk = (e) => e === Yk, Qk = [...Xk.map(([e, t]) => [e, t]), ["custom", "自定义"]], $k = (e) => (Qk.find(([t]) => t === e) || Qk[0])[1], eA = (e) => structuredClone((Xk.find(([t]) => t === e) || Xk[0])[2]), tA = [+], Kk = (e) => e === Wk, qk = [...Gk.map(([e, t]) => [e, t]), ["custom", "自定义"]], doe = (e) => (qk.find(([t]) => t === e) || qk[0])[1], Jk = (e) => structuredClone((Gk.find(([t]) => t === e) || Gk[0])[2]), Yk = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -29821,7 +29824,7 @@ var Jk = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], nA = "blue", rA = (e) => tA.some(([t]) => t === e) ? e : nA, aoe = (e) => (Xk.find(([t]) => t === e) || [])[3] || "blue", ooe = [+], Xk = "blue", Zk = (e) => Yk.some(([t]) => t === e) ? e : Xk, foe = (e) => (Gk.find(([t]) => t === e) || [])[3] || "blue", poe = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -29831,7 +29834,7 @@ var Jk = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], soe = [+], moe = [["gray","云灰",@@ -30227,11 +30230,11 @@ var Jk = ["霁蓝","#6686b8"]-], iA = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, aA = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, coe = (e, t) => `rgba(${[+], Qk = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, $k = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, hoe = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, loe = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, goe = {strength: [0,100,@@ -30257,7 +30260,7 @@ var Jk = [100,50]-}, oA = {+}, eA = {on: !0,preset: "ash",strength: 100,@@ -30265,57 +30268,57 @@ var Jk = [speed: 100,soften: 50,size: 50,- ...eA("ash")+ ...Jk("ash")};-function sA(e) {- let t = e && typeof e == "object" ? e : {}, n = Qk.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = eA(r === "custom" ? "ash" : r), a = {+function tA(e) {+ let t = e && typeof e == "object" ? e : {}, n = qk.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Jk(r === "custom" ? "ash" : r), a = {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(loe)) a[e] = iA(+t[e], n, r, i);- for (let e of Jk) {+ for (let [e, [n, r, i]] of Object.entries(goe)) a[e] = Qk(+t[e], n, r, i);+ for (let e of Uk) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {- color: aA(r.color, o.color),- alpha: iA(+r.alpha, 0, 100, o.alpha)+ color: $k(r.color, o.color),+ alpha: Qk(+r.alpha, 0, 100, o.alpha)};}return a;}-var uoe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, cA = /* @__PURE__ */ new WeakMap();-function doe(e, t) {+var _oe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, nA = /* @__PURE__ */ new WeakMap();+function voe(e, t) {if (!e) return;- let n = cA.get(e);- n || (n = /* @__PURE__ */ new Map(), cA.set(e, n));- let r = t.on && !Zk(t.preset), i = (t, r) => {+ let n = nA.get(e);+ n || (n = /* @__PURE__ */ new Map(), nA.set(e, n));+ let r = t.on && !Kk(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"), Jk.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"), Uk.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, coe(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, hoe(r.color, r.alpha));});}-function foe(e, t) {+function yoe(e, t) {if (!e) return;- let n = !t.on || Zk(t.preset);+ let n = !t.on || Kk(t.preset);e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));}//#endregion//#region src/appearance/settings.ts-var poe = "peach.settings.v1", moe = [+var boe = "peach.settings.v1", xoe = ["system","light","dark"-], lA = [+], rA = [0,7,30,90-], hoe = [+], Soe = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], uA = {+], iA = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -30336,54 +30339,54 @@ var poe = "peach.settings.v1", moe = [theme: "system",groupCollapse: !0,sidebarOrder: [...hl],- homeGlow: oA,- accent: nA-}, dA = (e, t, n) => t.includes(e) ? e : n;-function goe(e) {+ homeGlow: eA,+ accent: Xk+}, aA = (e, t, n) => t.includes(e) ? e : n;+function Coe(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...uA,+ ...iA,...t};- n.followInitialDays = lA.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = rA.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 = Hk[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Lk(+n.batchSize, 1, 200, 60), n.defaultSort = dA(n.defaultSort, Bk, "seed"), n.hoverDelaySeconds = Lk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Lk(+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 = Lk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Lk(+n.relatedLimit, 0, 60, 20), n.feedLimit = Lk(+n.feedLimit, 1, 100, 12), Object.assign(n, xa(n)), n.theme = dA(n.theme, moe, "system"), n.homeGlow = sA(n.homeGlow), n.accent = rA(n.accent), n.sidebarOrder = yl(n.sidebarOrder), {+ let a = Lk[n.defaultSort];+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Mk(+n.batchSize, 1, 200, 60), n.defaultSort = aA(n.defaultSort, Fk, "seed"), n.hoverDelaySeconds = Mk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Mk(+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 = Mk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Mk(+n.relatedLimit, 0, 60, 20), n.feedLimit = Mk(+n.feedLimit, 1, 100, 12), Object.assign(n, ba(n)), n.theme = aA(n.theme, xoe, "system"), n.homeGlow = tA(n.homeGlow), n.accent = Zk(n.accent), n.sidebarOrder = yl(n.sidebarOrder), {settings: n,migrated: r};}-function _oe(e) {+function woe(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return goe(t);+ return Coe(t);}-var fA = null;-function pA() {- if (fA) return fA;- let { settings: e, migrated: t } = _oe(localStorage);- return fA = roe(poe, e), t && fA.save(), fA;+var oA = null;+function sA() {+ if (oA) return oA;+ let { settings: e, migrated: t } = woe(localStorage);+ return oA = loe(boe, e), t && oA.save(), oA;}-function mA(e, t, n = pA()) {+function cA(e, t, n = sA()) {let r = n.value, i = e && e.followInitialDays;- lA.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());+ rA.includes(i) && (r.followInitialDays = i, n.save());+ for (let t of Soe) 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 = Lk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== uA.searchHistoryLimit && voe(n);+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = Mk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== iA.searchHistoryLimit && Toe(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 voe(e = pA()) {- return R("/api/settings", {+function Toe(e = sA()) {+ return z("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })}).catch(() => {});}//#endregion//#region src/appearance/theme.ts-var yoe = [+var Eoe = [["system","跟随系统",@@ -30399,32 +30402,32 @@ var yoe = ["深色","moon"]-], hA = null, gA = () => hA ??= matchMedia("(prefers-color-scheme: dark)"), _A = null;-function boe() {- return _A || (_A = document.createElement("style"), _A.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), _A.isConnected || document.head.append(_A), () => {+], Doe = null, lA = () => Doe ??= matchMedia("(prefers-color-scheme: dark)"), uA = null;+function Ooe() {+ return uA || (uA = document.createElement("style"), uA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), uA.isConnected || document.head.append(uA), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), _A?.remove();+ cancelAnimationFrame(t), clearTimeout(n), uA?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function vA(e = pA().value.theme) {- let t = boe(), n = document.documentElement;+function dA(e = sA().value.theme) {+ let t = Ooe(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && gA().matches;+ let r = e === "dark" || e === "system" && lA().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 yA = !1;-function xoe() {- yA || (yA = !0, gA().addEventListener("change", () => {- pA().value.theme === "system" && vA();+var fA = !1;+function koe() {+ fA || (fA = !0, lA().addEventListener("change", () => {+ sA().value.theme === "system" && dA();}));}//#endregion//#region src/appearance/layout.ts-var bA = [[+var pA = [["big","大图","maximize"@@ -30432,7 +30435,7 @@ var bA = [["small","小图","layout-grid"-]], xA = [[+]], mA = [["big","大图","maximize"@@ -30440,7 +30443,7 @@ var bA = [["small","小图","layout-grid"-]], SA = [[+]], hA = [["fixed","固定比例","layout-grid"@@ -30448,130 +30451,130 @@ var bA = [["masonry","瀑布流","columns-2"-]], CA = .75, wA = () => pA().value, TA = (e = wA()) => ba(e.javLayout), Soe = (e = wA()) => ba(e.homeLayout), EA = (e, t = wA()) => e ? Soe(t) : TA(t), DA = xA.map(([e]) => e), OA = SA.map(([e]) => e), kA = (e = wA()) => dA(e.photoSize, DA, "small"), AA = (e = wA()) => dA(e.photoLayout, OA, "masonry"), jA = null;-function MA(e, t = wA()) {+]], gA = .75, _A = () => sA().value, vA = (e = _A()) => ya(e.javLayout), Aoe = (e = _A()) => ya(e.homeLayout), yA = (e, t = _A()) => e ? Aoe(t) : vA(t), bA = mA.map(([e]) => e), xA = hA.map(([e]) => e), SA = (e = _A()) => aA(e.photoSize, bA, "small"), CA = (e = _A()) => aA(e.photoLayout, xA, "masonry"), wA = null;+function TA(e, t = _A()) {let n = {active: e.active,- size: EA(e.home, t),+ size: yA(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = jA;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (jA = n), jA;+ }, r = wA;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (wA = n), wA;}-function NA(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? CA : 16 / 9;+function EA(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? gA : 16 / 9;}-function Coe(e, t = pA()) {- t.value.homeLayout = ba(e), t.save();+function joe(e, t = sA()) {+ t.value.homeLayout = ya(e), t.save();}-function PA(e, t = pA()) {- t.value.javLayout = ba(e), t.save();+function DA(e, t = sA()) {+ t.value.javLayout = ya(e), t.save();}-function woe(e, t = pA()) {- t.value.homeLayout = t.value.javLayout = ba(e), t.save();+function Moe(e, t = sA()) {+ t.value.homeLayout = t.value.javLayout = ya(e), t.save();}-function Toe(e, t = pA()) {- t.value.photoSize = dA(e, DA, "small"), t.save();+function Noe(e, t = sA()) {+ t.value.photoSize = aA(e, bA, "small"), t.save();}-function FA(e, t = pA()) {- t.value.photoLayout = dA(e, OA, "masonry"), t.save();+function OA(e, t = sA()) {+ t.value.photoLayout = aA(e, xA, "masonry"), t.save();}//#endregion//#region src/appearance/density.ts-var IA = "density", LA = {+var kA = "density", AA = {big: "336px",dense: "168px"-}, RA = () => localStorage.getItem(IA) === "dense" ? "dense" : "big";-function zA(e, t) {- let [n, r] = xA;+}, jA = () => localStorage.getItem(kA) === "dense" ? "dense" : "big";+function MA(e, t) {+ let [n, r] = mA;if (e.querySelector("[data-icon-swap]")) ls(e, t === r[0] ? "b" : "a");else {let i = e.querySelector(":scope > [data-glass-drift]");e.innerHTML = cs(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);}- BA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");+ NA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");}-function BA(e, t, n) {+function NA(e, t, n) {e.getAttribute(t) !== n && e.setAttribute(t, n);}-var VA = () => document.querySelector("#density");-function HA(e = RA()) {+var PA = () => document.querySelector("#density");+function FA(e = jA()) {let t = document.documentElement;- 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"));+ t.style.getPropertyValue("--tile") !== AA[e] && t.style.setProperty("--tile", AA[e]), NA(document.body, "data-density", e);+ let n = PA();+ n && (NA(n, "aria-pressed", String(e === "dense")), NA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), MA(n, e === "big" ? "big" : "small"));}-function Eoe() {- let e = RA() === "big" ? "dense" : "big";- localStorage.setItem(IA, e), HA(e);+function Poe() {+ let e = jA() === "big" ? "dense" : "big";+ localStorage.setItem(kA, e), FA(e);}-function Doe(e) {- let t = VA();- t && (BA(t, "aria-pressed", String(e === "small")), BA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), zA(t, e));+function Foe(e) {+ let t = PA();+ t && (NA(t, "aria-pressed", String(e === "small")), NA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), MA(t, e));}//#endregion//#region src/appearance/glow.ts-function UA(e = pA()) {- doe(document.querySelector(".glowlayer"), e.value.homeGlow);+function IA(e = sA()) {+ voe(document.querySelector(".glowlayer"), e.value.homeGlow);}-var WA = 0;-function GA(e = pA()) {- WA ||= requestAnimationFrame(() => {- WA = 0, UA(e);+var LA = 0;+function RA(e = sA()) {+ LA ||= requestAnimationFrame(() => {+ LA = 0, IA(e);});}-function KA(e = pA()) {- foe(document.documentElement, e.value.homeGlow);+function zA(e = sA()) {+ yoe(document.documentElement, e.value.homeGlow);}-function qA(e = pA()) {+function BA(e = sA()) {document.documentElement.dataset.accent = e.value.accent;}-var JA = (e, t, n) => ({+var VA = (e, t, n) => ({key: e,label: t,- native: Zk(e),- fill: Zk(e) ? "" : uoe(n)+ native: Kk(e),+ fill: Kk(e) ? "" : _oe(n)});-function Ooe(e) {- let t = Xk.map(([e, t, n]) => JA(e, t, Jk.map((e) => n[e].color)));- return e.preset === "custom" && t.push(JA("custom", "自定义", Jk.map((t) => e[t].color))), t;+function Ioe(e) {+ let t = Gk.map(([e, t, n]) => VA(e, t, Uk.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(VA("custom", "自定义", Uk.map((t) => e[t].color))), t;}-var YA = tA;-function koe(e, t = pA()) {+var HA = Yk;+function Loe(e, t = sA()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, eA(e)), t.value.accent = aoe(e), t.save(), GA(t), KA(t), qA(t);+ n.preset = e, Object.assign(n, Jk(e)), t.value.accent = foe(e), t.save(), RA(t), zA(t), BA(t);}-function Aoe(e, t = pA()) {- t.value.accent = rA(e), t.save(), qA(t);+function Roe(e, t = sA()) {+ t.value.accent = Zk(e), t.save(), BA(t);}-function joe(e = pA()) {+function zoe(e = sA()) {let t = e.value.homeGlow;- t.preset = oA.preset, Object.assign(t, eA(t.preset)), e.value.accent = nA, e.save(), GA(e), KA(e), qA(e);+ t.preset = eA.preset, Object.assign(t, Jk(t.preset)), e.value.accent = Xk, e.save(), RA(e), zA(e), BA(e);}-function XA(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 UA(e, t) {+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Kk(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function ZA(e, t = pA()) {- return XA(e, t.value.homeGlow), t.subscribe(() => XA(e, t.value.homeGlow));+function Boe(e, t = sA()) {+ return UA(e, t.value.homeGlow), t.subscribe(() => UA(e, t.value.homeGlow));}//#endregion//#region src/react/components/glow-preset-grid.tsx-function QA({ store: e, label: t, hidden: n }) {+function WA({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, O.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: Ooe(r).map((t) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: Ioe(r).map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-chip": "","data-glow-preset": t.key,"aria-pressed": t.key === r.preset,title: t.label,"aria-label": t.label,- onClick: () => koe(t.key, e),+ onClick: () => Loe(t.key, e),children: /* @__PURE__ */ (0, O.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30583,14 +30586,14 @@ function QA({ store: e, label: t, hidden: n }) {}//#endregion//#region src/react/glow-picker/glow-picker-island.tsx-var $A = null;-function ej(e) {- $A = e;+var GA = null;+function Voe(e) {+ GA = e;}-function tj() {- return $A ? /* @__PURE__ */ (0, O.jsx)(nj, { host: $A }) : null;+function Hoe() {+ return GA ? /* @__PURE__ */ (0, O.jsx)(Uoe, { host: GA }) : null;}-function nj({ host: e }) {+function Uoe({ host: e }) {let { store: t } = e;(0, D.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -30602,11 +30605,11 @@ function nj({ host: e }) {children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => joe(t),+ onClick: () => zoe(t),children: "重置"})]}),- /* @__PURE__ */ (0, O.jsx)(QA, {+ /* @__PURE__ */ (0, O.jsx)(WA, {store: t,label: "光晕",hidden: !n.on@@ -30620,14 +30623,14 @@ function nj({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: YA.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: HA.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => Aoe(e, t),+ onClick: () => Roe(e, t),children: /* @__PURE__ */ (0, O.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30646,32 +30649,32 @@ function nj({ host: e }) {}//#endregion//#region src/player/host.ts-var rj = null;-function ij(e) {- rj = e;+var KA = null;+function Woe(e) {+ KA = e;}-function aj() {- if (!rj) throw Error("播放器还没有接上宿主(configurePlayer)");- return rj;+function qA() {+ if (!KA) throw Error("播放器还没有接上宿主(configurePlayer)");+ return KA;}//#endregion//#region src/player/menu.ts-var oj = null;-function Moe(e) {- oj = e;+var JA = null;+function Goe(e) {+ JA = e;}-function Noe() {+function Koe() {let e = document.getElementById("playerMenu");return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;}-var sj = null, cj = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function lj() {+var YA = null, XA = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function ZA() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && To(e, () => {e.innerHTML = "";- }), sj &&= (sj(), null);+ }), YA &&= (YA(), null);}-async function Poe(e) {+async function qoe(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -30684,8 +30687,8 @@ async function Poe(e) {return t.remove(), n;}}-function Foe(e) {- let t = !!oj?.inMiniplayer(e), n = e.peachItem, r = oj?.kind(e) ?? "item", i = (t) => {+function Joe(e) {+ let t = !!JA?.inMiniplayer(e), n = e.peachItem, r = JA?.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);@@ -30701,7 +30704,7 @@ function Foe(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- Poe(i(e)).then((e) => aj().toast(e ? t : "复制失败,请手动复制地址栏", {+ qoe(i(e)).then((e) => qA().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -30713,11 +30716,11 @@ function Foe(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => oj?.expand()+ run: () => JA?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => oj?.toMiniplayer()+ run: () => JA?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -30740,29 +30743,29 @@ function Foe(e) {run: () => s.click()}), o;}-function Ioe(e, t, n) {- let r = Noe();- lj();- let i = aj().stage();+function Yoe(e, t, n) {+ let r = Koe();+ ZA();+ let i = qA().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = Foe(e);+ let a = Joe(e);r.innerHTML = a.map((e, t) => {let n = e.checked !== void 0;- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${cj(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? cj(L("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${XA(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${B(e.label)}</span>${n ? XA(R("check"), "data-player-menu-check") : ""}</button>`;}).join(""), wo(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;let o = [...r.querySelectorAll("[data-player-menu]")];o.forEach((e) => {e.onclick = (t) => {t.stopPropagation();let n = a[Number(e.dataset.playerMenu)];- lj(), n?.run();+ ZA(), n?.run();};});let s = (e) => {- r.contains(e.target) || lj();+ r.contains(e.target) || ZA();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), lj();+ e.preventDefault(), e.stopPropagation(), ZA();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -30770,51 +30773,51 @@ function Ioe(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- Do(t, e.el()) && lj();+ Do(t, e.el()) && ZA();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), sj = () => {+ }, 0), YA = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function Loe(e) {+function Xoe(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Ioe(e, t.clientX, t.clientY));- }), e.on("dispose", lj);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Yoe(e, t.clientX, t.clientY));+ }), e.on("dispose", ZA);}//#endregion//#region src/player/registry.ts-var uj = null, dj = () => uj;-function fj(e) {- uj = e;+var QA = null, $A = () => QA;+function ej(e) {+ QA = e;}-function pj(e) {+function tj(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}//#endregion//#region src/player/stats.ts-function mj(e) {+function nj(e) {let t = e.currentTime || 0;for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);return 0;}-function Roe(e) {+function Zoe(e) {let t = e.currentTime || 0;for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;}-var hj = 3e3;-function gj(e, t) {- let n = Number(e) || 0, r = hn(t) || 0;+var rj = 3e3;+function ij(e, t) {+ let n = Number(e) || 0, r = mn(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function zoe(e) {+function Qoe(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -30829,10 +30832,10 @@ function zoe(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = Roe(e), s = e.currentTime || 0;+ let a = performance.now(), o = Zoe(e), s = e.currentTime || 0;if (n) {let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;- !i && c > 0 && (r += c), e * 1e3 > hj * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > rj * 2 && (t.length = 0);}for (n = {at: a,@@ -30841,56 +30844,56 @@ function zoe(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > hj;) t.shift();+ }); t.length > 2 && a - t[0].at > rj;) t.shift();let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;}};}-var _j = 24;-function vj(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > _j && e.splice(0, e.length - _j);+var aj = 24;+function oj(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > aj && e.splice(0, e.length - aj);}-var yj = "peach-player-panel";-function bj(e, t, n, r) {- let i = [...Array(Math.max(0, _j - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var sj = "peach-player-panel";+function cj(e, t, n, r) {+ let i = [...Array(Math.max(0, aj - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {if (e === null) return "<i aria-hidden=\"true\"></i>";let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;}).join("");- return `<span data-player-stats-plot="${t}" role="img" aria-label="${z(r)}">${o}</span>`;+ return `<span data-player-stats-plot="${t}" role="img" aria-label="${B(r)}">${o}</span>`;}-function Boe() {- return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${L("chart")}</button>+function $oe() {+ return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${R("chart")}</button><div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div><div data-player-stats="" id="playerStats" role="status" hidden></div>`;}-function xj(e, t = "") {+function lj(e, t = "") {let n = t ? encodeURIComponent(t) : "";return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));}-function Sj(e, t = "") {- let n = xj(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;+function uj(e, t = "") {+ let n = lj(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;return r > 0 && i > 0 ? r * 8 / i : 0;}-function Cj(e, t, n = "", r = null) {+function dj(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : Sj(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : uj(t, n);}-function wj(e) {+function fj(e) {if (!Number.isFinite(e) || e <= 0) return "加载中…";let t = e / 8;return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;}-function Voe(e, t) {- return e > 0 ? wj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : wj(0);+function ese(e, t) {+ return e > 0 ? fj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : fj(0);}//#endregion//#region src/player/subtitle-style.ts-var Tj = {+var pj = {font: {label: "字体",values: [@@ -30993,7 +30996,7 @@ var Tj = {["shadow", "阴影"]]}-}, Ej = {+}, mj = {font: "sans",size: "100",color: "white",@@ -31003,7 +31006,7 @@ var Tj = {window: "black",windowOpacity: "0",edge: "shadow"-}, Dj = "peach.caption-style.v1", Hoe = {+}, hj = "peach.caption-style.v1", tse = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -31012,7 +31015,7 @@ var Tj = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, Uoe = {+}, nse = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -31020,28 +31023,28 @@ var Tj = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, Woe = {+}, rse = {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 Goe() {+function ise() {let e = {};try {- e = JSON.parse(localStorage.getItem(Dj) || "{}") || {};+ e = JSON.parse(localStorage.getItem(hj) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(Ej).map(([t, n]) => [t, Tj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries(mj).map(([t, n]) => [t, pj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function Oj(e, t, n) {- let r = Goe(), i = document.createElement("div");+function gj(e, t, n) {+ let r = ise(), i = document.createElement("div");i.className = "vjs-peach-captions", i.setAttribute("aria-hidden", "true");let a = document.createElement("div");a.className = "vjs-peach-caption-window", i.append(a), e.querySelector("media-container").append(i), e.dataset.peachCaptions = "";let o = () => {- let t = (e, t) => `rgba(${Hoe[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", Uoe[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", Woe[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${tse[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", nse[r.font]), e.style.setProperty("--peach-caption-scale", String(Number(r.size) / 100)), e.style.setProperty("--peach-caption-color", t(r.color, r.opacity)), e.style.setProperty("--peach-caption-background", t(r.background, r.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(r.window, r.windowOpacity)), e.style.setProperty("--peach-caption-edge", rse[r.edge]), e.style.setProperty("--peach-caption-variant", r.font === "small-caps" ? "small-caps" : "normal");}, s = () => {a.replaceChildren();for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {@@ -31056,27 +31059,27 @@ function Oj(e, t, n) {return t.textTracks.addEventListener("addtrack", l, { signal: n }), t.textTracks.addEventListener("removetrack", l, { signal: n }), t.textTracks.addEventListener("change", s, { signal: n }), o(), l(), {current: () => r,set(e, t) {- if (Tj[e].values.some(([e]) => e === t)) {+ if (pj[e].values.some(([e]) => e === t)) {r = {...r,[e]: t}, o();try {- localStorage.setItem(Dj, JSON.stringify(r));+ localStorage.setItem(hj, JSON.stringify(r));} catch {}}},reset() {- r = { ...Ej }, o();+ r = { ...mj }, o();try {- localStorage.removeItem(Dj);+ localStorage.removeItem(hj);} catch {}}};}//#endregion//#region src/player/subtitle-memory.ts-var kj = /* @__PURE__ */ new Map(), Aj = class {+var _j = /* @__PURE__ */ new Map(), vj = class {player;video;changed;@@ -31125,7 +31128,7 @@ var kj = /* @__PURE__ */ new Map(), Aj = class {}save(e) {if (!this.url) return Promise.resolve();- let t = (kj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (_j.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = await fetch(this.url, {method: "PUT",headers: { "Content-Type": "application/json" },@@ -31139,16 +31142,16 @@ var kj = /* @__PURE__ */ new Map(), Aj = class {let n = !!this.error;this.error = "", n && !this.cleanup.signal.aborted && this.changed();});- return kj.set(this.url, t), t.finally(() => {- kj.get(this.url) === t && kj.delete(this.url);+ return _j.set(this.url, t), t.finally(() => {+ _j.get(this.url) === t && _j.delete(this.url);}).catch(() => {}), t;}async restore() {if (!this.url) return;let e = this.cleanup.signal;try {- if (await kj.get(this.url)?.catch(() => {}), e.aborted) return;- let t = await R(this.url, { signal: e });+ if (await _j.get(this.url)?.catch(() => {}), e.aborted) return;+ let t = await z(this.url, { signal: e });if (e.aborted) return;this.selected === void 0 && (this.selected = t.selected), this.apply();let n;@@ -31202,7 +31205,7 @@ var kj = /* @__PURE__ */ new Map(), Aj = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, jj = () => "<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>", Koe = class {+}, yj = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", ase = class {player;video;panels;@@ -31221,7 +31224,7 @@ var kj = /* @__PURE__ */ new Map(), Aj = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = Oj(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = jj(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = gj(e.el(), t, this.cleanup.signal), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = yj(), this.cc.onclick = () => {let e = this.tracks().find((e) => e.mode === "showing");e ? (this.last = e, this.select(null)) : this.tracks().length ? this.select(this.last && this.tracks().includes(this.last) ? this.last : this.tracks()[0]) : this.show();}, this.input.type = "file", this.input.accept = ".srt,.ass,.ssa,.vtt", this.input.hidden = !0, this.input.setAttribute("aria-label", "加载字幕文件"), e.el().append(this.input), this.input.addEventListener("change", () => {@@ -31231,7 +31234,7 @@ var kj = /* @__PURE__ */ new Map(), Aj = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new Aj(e, t, () => {+ }), this.session = new vj(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -31252,7 +31255,7 @@ var kj = /* @__PURE__ */ new Map(), Aj = class {this.request?.abort(), this.session.select(e), this.sync();}header(e, t = "") {- return `<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-subtitle-back aria-label="返回上一个菜单">${L("player-menu-back")}</button><strong>${z(e)}</strong>${t}</div>`;+ return `<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-subtitle-back aria-label="返回上一个菜单">${R("player-menu-back")}</button><strong>${B(e)}</strong>${t}</div>`;}panel(e, t, n = 1) {this.generation++, this.panels.open();@@ -31261,9 +31264,9 @@ var kj = /* @__PURE__ */ new Map(), Aj = class {}show(e = 1) {this.page = "tracks";- let t = this.tracks(), n = [null, ...t], r = this.panel(this.header("字幕", `<button type="button" class="vjs-peach-caption-options" data-subtitle-options aria-label="字幕选项">${L("settings")}</button>`) + `<div class="vjs-peach-panel-menu">${n.map((e, n) => {+ let t = this.tracks(), n = [null, ...t], r = this.panel(this.header("字幕", `<button type="button" class="vjs-peach-caption-options" data-subtitle-options aria-label="字幕选项">${R("settings")}</button>`) + `<div class="vjs-peach-panel-menu">${n.map((e, n) => {let r = e ? e.mode === "showing" : t.every((e) => e.mode !== "showing");- return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-track="${n}"><span class="vjs-peach-option-check">${r ? L("check") : ""}</span><span class="vjs-peach-option-label">${z(e?.label || e?.language || (e ? "字幕" : "关闭"))}</span></button>`;+ return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-track="${n}"><span class="vjs-peach-option-check">${r ? R("check") : ""}</span><span class="vjs-peach-option-label">${B(e?.label || e?.language || (e ? "字幕" : "关闭"))}</span></button>`;}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-file>加载字幕文件</button><button type="button" class="vjs-peach-caption-action" data-subtitle-search>在线搜索字幕</button></div><p class="vjs-peach-subtitle-status" data-subtitle-status role="status" hidden></p>`, () => {this.page = "", this.panels.back();}, e);@@ -31279,9 +31282,9 @@ var kj = /* @__PURE__ */ new Map(), Aj = class {}options(e = 1) {this.page = "options";- let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(Tj).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(pj).map(([e, n]) => {let r = n.values.find(([n]) => n === t[e])?.[1] || "";- return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${z(n.label)}</span><b>${z(r)}</b>${L("player-menu-next")}</button>`;+ return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${B(n.label)}</span><b>${B(r)}</b>${R("player-menu-next")}</button>`;}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);n.querySelectorAll("[data-subtitle-style]").forEach((e) => {e.onclick = () => this.styleOptions(e.dataset.subtitleStyle);@@ -31291,10 +31294,10 @@ var kj = /* @__PURE__ */ new Map(), Aj = class {}styleOptions(e) {this.page = "style";- let t = Tj[e];+ let t = pj[e];this.panel(this.header(t.label) + `<div class="vjs-peach-panel-menu">${t.values.map(([t, n]) => {let r = this.styles.current()[e] === t;- return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${z(t)}"><span class="vjs-peach-option-check">${r ? L("check") : ""}</span><span class="vjs-peach-option-label">${z(n)}</span></button>`;+ return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${B(t)}"><span class="vjs-peach-option-check">${r ? R("check") : ""}</span><span class="vjs-peach-option-label">${B(n)}</span></button>`;}).join("")}</div>`, () => this.options(-1)).querySelectorAll("[data-subtitle-value]").forEach((t) => {t.onclick = () => {this.styles.set(e, t.dataset.subtitleValue), this.options(-1);@@ -31303,7 +31306,7 @@ var kj = /* @__PURE__ */ new Map(), Aj = 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 ? ns("") : ""}<span>${z(e)}</span>`, r.toggleAttribute("data-error", t));+ r && (r.hidden = !1, r.innerHTML = `${n ? ns("") : ""}<span>${B(e)}</span>`, r.toggleAttribute("data-error", t));}busy() {return this.request?.abort(), this.request = new AbortController(), this.request.signal;@@ -31338,14 +31341,14 @@ var kj = /* @__PURE__ */ new Map(), Aj = class {this.request?.abort(), this.page = "search";let e = this.player.peachItem, t = String(e?.code || e?.title || String(e?.name || "").replace(/\.(mp4|mkv|avi|mov|webm|m4v|ts|wmv)$/i, "")).trim().slice(0, 200);t !== this.query && (this.query = t, this.offset = 0, this.results = [], this.searched = !1);- let n = this.panel(this.header("搜索中文字幕") + "<div class=\"vjs-peach-subtitle-search\"><p class=\"vjs-peach-subtitle-status\" data-subtitle-status role=\"status\" hidden></p><div data-subtitle-results></div><a href=\"https://www.subtitlecat.com\" target=\"_blank\" rel=\"noopener noreferrer\">中文字幕由 SubtitleCat 提供,可能包含机翻" + L("external-link", "ui-externalmark") + "</a></div>", () => {+ let n = this.panel(this.header("搜索中文字幕") + "<div class=\"vjs-peach-subtitle-search\"><p class=\"vjs-peach-subtitle-status\" data-subtitle-status role=\"status\" hidden></p><div data-subtitle-results></div><a href=\"https://www.subtitlecat.com\" target=\"_blank\" rel=\"noopener noreferrer\">中文字幕由 SubtitleCat 提供,可能包含机翻" + R("external-link", "ui-externalmark") + "</a></div>", () => {this.request?.abort(), this.show(-1);});t.length < 3 ? this.status("当前作品没有可用于搜索的番号或片名") : this.searched ? this.searchResults(n) : this.runSearch(n, 0);}searchResults(e) {let t = e.querySelector("[data-subtitle-results]");- t.innerHTML = this.results.map((e, t) => `<button type="button" class="vjs-peach-subtitle-result" data-subtitle-result="${t}"><span>${z(e.title)}</span><small>${z([e.language, e.format].filter(Boolean).join(" · "))}</small></button>`).join("") + (this.more ? "<button type=\"button\" class=\"vjs-peach-caption-action\" data-subtitle-more>更多字幕</button>" : ""), t.querySelectorAll("[data-subtitle-result]").forEach((e) => {+ t.innerHTML = this.results.map((e, t) => `<button type="button" class="vjs-peach-subtitle-result" data-subtitle-result="${t}"><span>${B(e.title)}</span><small>${B([e.language, e.format].filter(Boolean).join(" · "))}</small></button>`).join("") + (this.more ? "<button type=\"button\" class=\"vjs-peach-caption-action\" data-subtitle-more>更多字幕</button>" : ""), t.querySelectorAll("[data-subtitle-result]").forEach((e) => {e.onclick = () => {this.showFiles(this.results[Number(e.dataset.subtitleResult)]);};@@ -31358,7 +31361,7 @@ var kj = /* @__PURE__ */ new Map(), Aj = class {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 && cc(i), a.inert = !0, this.status("正在搜索字幕", !1, !0);try {- let i = await R(`/api/subtitles/search?q=${encodeURIComponent(this.query)}&offset=${t}`, { signal: n });+ let i = await z(`/api/subtitles/search?q=${encodeURIComponent(this.query)}&offset=${t}`, { signal: n });if (n.aborted || r !== this.generation) return;this.offset = t, this.results.push(...i.results), this.more = i.more, this.searched = !0, this.searchResults(e);} catch (i) {@@ -31376,10 +31379,10 @@ var kj = /* @__PURE__ */ new Map(), Aj = class {}), n = this.busy(), r = this.generation;this.status("正在读取字幕文件", !1, !0);try {- let i = await R(`/api/subtitles/subtitlecat/${e.id}`, { signal: n });+ let i = await z(`/api/subtitles/subtitlecat/${e.id}`, { signal: n });if (n.aborted || r !== this.generation) return;let a = i.files.filter((e) => e.playable);- t.querySelector("[data-subtitle-files]").innerHTML = a.map((e) => `<button type="button" class="vjs-peach-subtitle-result" data-subtitle-online="${e.index}"><span>${z(e.name)}</span><small>${z(e.language)}</small></button>`).join(""), this.status(a.length ? "选择要加载的字幕" : "这条结果没有可加载的文本字幕"), t.querySelectorAll("[data-subtitle-online]").forEach((t) => {+ t.querySelector("[data-subtitle-files]").innerHTML = a.map((e) => `<button type="button" class="vjs-peach-subtitle-result" data-subtitle-online="${e.index}"><span>${B(e.name)}</span><small>${B(e.language)}</small></button>`).join(""), this.status(a.length ? "选择要加载的字幕" : "这条结果没有可加载的文本字幕"), t.querySelectorAll("[data-subtitle-online]").forEach((t) => {t.onclick = () => {let n = a.find((e) => e.index === Number(t.dataset.subtitleOnline));this.loadOnline(e.id, n);@@ -31408,7 +31411,7 @@ var kj = /* @__PURE__ */ new Map(), Aj = class {};//#endregion//#region src/player/controls.ts-function Mj(e, t, n = "") {+function bj(e, t, n = "") {if (!e) return () => {};let r = e.querySelector(":scope>.vjs-peach-tooltip");r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));@@ -31419,27 +31422,27 @@ function Mj(e, t, n = "") {};return o(), o;}-function Nj(e, t) {+function xj(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function qoe(e, t = !0) {- let n = aj(), r = n.settings();+function ose(e, t = !0) {+ let n = qA(), 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 Pj = /* @__PURE__ */ new WeakMap();-function Fj(e) {+var Sj = /* @__PURE__ */ new WeakMap();+function Cj(e) {if (!e) return;- let t = aj().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Pj.get(e)?.(t ? "默认视图" : "影院模式");+ let t = qA().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Sj.get(e)?.(t ? "默认视图" : "影院模式");}-function Ij(e, t = !0) {- let n = aj(), r = n.settings();+function wj(e, t = !0) {+ let n = qA(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), Fj(i?.querySelector("[data-player-theater]")), pj(dj());+ i?.toggleAttribute("data-theater", r.theaterMode), Cj(i?.querySelector("[data-player-theater]")), tj($A());}-function Joe(e) {- let t = aj().stage(), n = t?.querySelector("[data-ambient-canvas]");+function sse(e) {+ let t = qA().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -31462,9 +31465,9 @@ function Joe(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || (aj().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || (qA().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && aj().settings().ambientMode && (l(), e.paused || u(++o));+ !i && qA().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -31473,17 +31476,17 @@ function Joe(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function Lj(e, t, n = 0, r = null) {+function Tj(e, t, n = 0, r = null) {let i = e.el().querySelector(".vjs-control-bar");if (!i || i.querySelector("[data-player-quality]")) return;let a = document.createElement("div");a.className = "vjs-peach-settings vjs-control", a.dataset.playerQuality = "", a.innerHTML = `<button type="button" class="vjs-peach-settings-toggle" aria-label="播放器设置" aria-expanded="false">- ${L("settings")}<span data-player-quality-badge hidden></span></button>+ ${R("settings")}<span data-player-quality-badge hidden></span></button><div class="vjs-peach-settings-menu" role="menu" aria-label="播放器设置" aria-hidden="true"></div>`;let o = i.querySelector(".vjs-fullscreen-control");i.insertBefore(a, o || null);let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");- Mj(s, "设置");+ bj(s, "设置");let l = a.querySelector(".vjs-peach-settings-menu"), u, d = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, f = r, p = "auto", m = (e, t) => {let n = [Number(e), Number(t)].filter((e) => e > 0);return n.length ? Math.min(...n) : 0;@@ -31523,11 +31526,11 @@ function Lj(e, t, n = 0, r = null) {active: n};}, _ = () => l.getAttribute("aria-hidden") !== "true", v = (e) => {- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(yj, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || u?.hide(), e && document.dispatchEvent(new CustomEvent(sj, { detail: "settings" }));}, y = () => v(!1), b = (e) => {e.detail !== "settings" && y();};- document.addEventListener(yj, b);+ document.addEventListener(sj, b);let x = null, S = 0, C = (e, t) => {let n = ++S;x && (clearTimeout(x), x = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;@@ -31543,13 +31546,13 @@ function Lj(e, t, n = 0, r = null) {}), i;}, w = (e, t) => e.querySelector(t), T = "main", E = (t = 0) => {T = "main";- let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${aj().settings().ambientMode}">- ${L("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${L("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${L("player-menu-next")}</button>- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${jj()}</span><span>字幕</span><b>${z(u?.label() || "关闭")}</b>${L("player-menu-next")}</button>- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${L("player-quality")}<span>清晰度</span><b>${z(n.label)}</b>${L("player-menu-next")}</button></div>`, t);+ let { active: n } = g(), r = Number(e.playbackRate()) || 1, i = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${qA().settings().ambientMode}">+ ${R("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${R("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${R("player-menu-next")}</button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${yj()}</span><span>字幕</span><b>${B(u?.label() || "关闭")}</b>${R("player-menu-next")}</button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${R("player-quality")}<span>清晰度</span><b>${B(n.label)}</b>${R("player-menu-next")}</button></div>`, t);w(i, "[data-player-ambient]").onclick = () => {- qoe(!aj().settings().ambientMode), E();+ ose(!qA().settings().ambientMode), E();}, w(i, "[data-player-speed]").onclick = () => A(), w(i, "[data-player-subtitles]").onclick = () => u?.show(), w(i, "[data-player-quality-view]").onclick = () => M();}, D = .05, O = [1,@@ -31559,11 +31562,11 @@ function Lj(e, t, n = 0, r = null) {3], k = (e) => Number.isInteger(e) ? e.toFixed(1) : String(e), A = (t = 1) => {T = "speed";- let n = .25, r = (e) => Math.min(3, Math.max(n, Number(e.toFixed(2)))), i = C(`<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-player-menu-back aria-label="返回上一个菜单">${L("player-menu-back")}</button><strong>播放速度</strong></div>+ let n = .25, r = (e) => Math.min(3, Math.max(n, Number(e.toFixed(2)))), i = C(`<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-player-menu-back aria-label="返回上一个菜单">${R("player-menu-back")}</button><strong>播放速度</strong></div><div class="vjs-peach-speed-panel"><div class="vjs-peach-speed-display"><output data-player-speed-display></output></div>- <div class="vjs-peach-speed-slider"><button type="button" class="vjs-peach-speed-button" data-player-speed-step="-1" aria-label="播放速度减 0.05">${L("minus")}</button>+ <div class="vjs-peach-speed-slider"><button type="button" class="vjs-peach-speed-button" data-player-speed-step="-1" aria-label="播放速度减 0.05">${R("minus")}</button><input type="range" class="vjs-peach-speed-range" data-player-speed-range min="${n}" max="3" step="${D}" aria-label="播放速度">- <button type="button" class="vjs-peach-speed-button" data-player-speed-step="1" aria-label="播放速度加 0.05">${L("plus")}</button></div>+ <button type="button" class="vjs-peach-speed-button" data-player-speed-step="1" aria-label="播放速度加 0.05">${R("plus")}</button></div><div class="vjs-peach-speed-chips">${O.map((e) => `<span class="vjs-peach-speed-preset"><button type="button" class="vjs-peach-speed-button" data-player-speed-option="${e}" aria-pressed="false">${k(e)}</button>${e === 1 ? "<span class=\"vjs-peach-speed-preset-label\">正常</span>" : ""}</span>`).join("")}</div></div>`, t), a = i.querySelector("[data-player-speed-display]"), o = i.querySelector("[data-player-speed-range]"), s = r(Number(e.playbackRate()) || 1), c = () => {a.textContent = `${s.toFixed(2)}x`, o.value = String(s), o.style.setProperty("--peach-speed-percent", `${(s - n) / 2.75 * 100}%`), i.querySelectorAll("[data-player-speed-option]").forEach((e) => e.setAttribute("aria-pressed", String(Number(e.dataset.playerSpeedOption) === s)));}, l = (t) => {@@ -31576,7 +31579,7 @@ function Lj(e, t, n = 0, r = null) {}), c();}, j = (n) => {let { options: r, active: i } = g(), a = n.contains(document.activeElement) ? document.activeElement.dataset.playerQualityOption : void 0;- n.innerHTML = r.map((e) => `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" data-player-quality-option="${z(e.key)}" aria-checked="${e.key === i.key}"><span class="vjs-peach-option-check">${e.key === i.key ? L("player-option-check") : ""}</span><span class="vjs-peach-option-label">${z(e.label)}</span></button>`).join("");+ n.innerHTML = r.map((e) => `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" data-player-quality-option="${B(e.key)}" aria-checked="${e.key === i.key}"><span class="vjs-peach-option-check">${e.key === i.key ? R("player-option-check") : ""}</span><span class="vjs-peach-option-label">${B(e.label)}</span></button>`).join("");let o = [...n.querySelectorAll("[data-player-quality-option]")];o.find((e) => a !== void 0 && e.dataset.playerQualityOption === a)?.focus(), o.forEach((n) => {n.onclick = () => {@@ -31595,9 +31598,9 @@ function Lj(e, t, n = 0, r = null) {});}, M = (e = 1) => {T = "quality";- let t = C(`<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-player-menu-back aria-label="返回上一个菜单">${L("player-menu-back")}</button><strong>清晰度</strong></div><div class="vjs-peach-panel-menu"></div>`, e);+ let t = C(`<div class="vjs-peach-panel-header"><button type="button" class="vjs-peach-menu-back" data-player-menu-back aria-label="返回上一个菜单">${R("player-menu-back")}</button><strong>清晰度</strong></div><div class="vjs-peach-panel-menu"></div>`, e);w(t, "[data-player-menu-back]").onclick = () => E(-1), j(w(t, ".vjs-peach-panel-menu"));- }, ee = () => {+ }, N = () => {if (!_()) {g();return;@@ -31615,22 +31618,22 @@ function Lj(e, t, n = 0, r = null) {let t = !_();t && E(), v(t);};- let N = (e) => {+ let P = (e) => {a.contains(e.target) || y();};- return document.addEventListener("pointerdown", N), a.addEventListener("keydown", (e) => {+ return document.addEventListener("pointerdown", P), a.addEventListener("keydown", (e) => {if (e.key === "Escape" && _() && (e.preventDefault(), e.stopPropagation(), y(), s.focus()), ["ArrowDown", "ArrowUp"].includes(e.key) && _() && !(e.target instanceof HTMLInputElement)) {e.preventDefault();let t = [...l.querySelectorAll("button:not([disabled]),input,a[href]")].filter((e) => e.offsetParent !== null && !e.closest("[inert]"));t[(t.indexOf(document.activeElement) + (e.key === "ArrowDown" ? 1 : t.length - 1)) % t.length]?.focus();}- }), t.addEventListener("loadedmetadata", ee), t.addEventListener("resize", ee), d?.on?.([+ }), t.addEventListener("loadedmetadata", N), t.addEventListener("resize", N), d?.on?.(["addqualitylevel","removequalitylevel","change"- ], ee), e.on("dispose", () => {- S++, document.removeEventListener("pointerdown", N), document.removeEventListener(yj, b), x && clearTimeout(x);- }), u = new Koe(e, t, {+ ], N), e.on("dispose", () => {+ S++, document.removeEventListener("pointerdown", P), document.removeEventListener(sj, b), x && clearTimeout(x);+ }), u = new ase(e, t, {render: C,open: () => {T = "subtitles", v(!0);@@ -31639,33 +31642,33 @@ function Lj(e, t, n = 0, r = null) {back: () => {u?.hide(), E(-1);}- }), g(), Yoe(e, a), Xoe(e), (e) => {- f = e?.length ? e : null, ee();+ }), g(), cse(e, a), lse(e), (e) => {+ f = e?.length ? e : null, N();};}-function Yoe(e, t) {+function cse(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;- let r = aj().settings().theaterMode, i = document.createElement("div");- i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${L(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);+ let r = qA().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");- Pj.set(a, Mj(a, "影院模式", "T")), Fj(a), a.onclick = (e) => {- e.stopPropagation(), Ij(!aj().settings().theaterMode);+ Sj.set(a, bj(a, "影院模式", "T")), Cj(a), a.onclick = (e) => {+ e.stopPropagation(), wj(!qA().settings().theaterMode);};}-function Xoe(e) {+function lse(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");n && !n.querySelector(":scope>.vjs-peach-hover") && n.insertAdjacentHTML("beforeend", "<span class=\"vjs-peach-hover\" aria-hidden=\"true\"></span>");- let r = (e, t) => e ? (e.dataset.peachExplicitIcon = "", e.insertAdjacentHTML("beforeend", L(t, "vjs-peach-control-icon")), e.querySelector(":scope>.vjs-peach-control-icon use")) : null, i = (e, t) => {+ let r = (e, t) => e ? (e.dataset.peachExplicitIcon = "", e.insertAdjacentHTML("beforeend", R(t, "vjs-peach-control-icon")), e.querySelector(":scope>.vjs-peach-control-icon use")) : null, i = (e, t) => {if (!e) return null;let n = document.getElementById(`i-${t}`);if (!n) return null;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 = Mj(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = bj(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {let t = e.paused() || e.ended(), n = t ? s : c;o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");};@@ -31676,13 +31679,13 @@ function Xoe(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 = Mj(p, "静音", "M"), g = () => {+ let h = bj(p, "静音", "M"), g = () => {let t = e.muted() || e.volume() === 0;m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");};e.on("volumechange", g), g();let _ = document.createElement("div");- _.className = "vjs-peach-bezel", _.setAttribute("role", "status"), _.hidden = !0, _.innerHTML = `<span class="vjs-peach-bezel-icon">${L("player-play")}</span>`;+ _.className = "vjs-peach-bezel", _.setAttribute("role", "status"), _.hidden = !0, _.innerHTML = `<span class="vjs-peach-bezel-icon">${R("player-play")}</span>`;let v = _.querySelector("use"), y = null, b = (e, t) => {v?.setAttribute("href", `#i-${e}`), _.setAttribute("aria-label", t), _.hidden = !1, _.classList.remove("vjs-peach-bezel-run"), _.offsetWidth, _.classList.add("vjs-peach-bezel-run"), y && clearTimeout(y), y = setTimeout(() => {_.hidden = !0, _.classList.remove("vjs-peach-bezel-run");@@ -31702,9 +31705,9 @@ function Xoe(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 = Mj(x, "显示剩余时间"), T = () => {- let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = _n(Math.max(0, n - t));- C.textContent = `${S ? `-${r}` : _n(t)} / ${_n(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${_n(n)};点击显示已播放时间` : `已播放 ${_n(t)},总时长 ${_n(n)};点击显示剩余时间`);+ let C = x.querySelector(".vjs-peach-time-text"), w = bj(x, "显示剩余时间"), T = () => {+ let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = gn(Math.max(0, n - t));+ C.textContent = `${S ? `-${r}` : gn(t)} / ${gn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${gn(n)};点击显示已播放时间` : `已播放 ${gn(t)},总时长 ${gn(n)};点击显示剩余时间`);};x.onclick = (e) => {e.stopPropagation(), S = !S, T();@@ -31714,12 +31717,12 @@ function Xoe(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- Mj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");- let D = Mj(E, "画中画");+ bj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip");+ let D = bj(E, "画中画");e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = Mj(O, "全屏", "F"), j = () => {+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = bj(O, "全屏", "F"), j = () => {let t = !!e.isFullscreen();- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), pj(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), tj(e);};e.on(["fullscreenchange",@@ -31734,31 +31737,31 @@ function Xoe(e) {O].filter((e) => !!e);if (!M.length) return;- let ee = document.createElement("div");- ee.className = "vjs-peach-right-controls", ee.setAttribute("aria-label", "播放器视图控制"), t.insertBefore(ee, M[0]), M.forEach((e) => {- e.insertAdjacentHTML("beforeend", "<span class=\"vjs-peach-hover\" aria-hidden=\"true\"></span>"), ee.append(e);- });let N = document.createElement("div");- N.className = "vjs-peach-expand vjs-control", N.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${L("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, ee.prepend(N);- let te = N.querySelector("button"), P = Mj(te, "展开控件"), ne = (t) => {- e.el().classList.toggle("vjs-peach-right-expanded", t), te.setAttribute("aria-expanded", String(t)), P(t ? "收起控件" : "展开控件");+ N.className = "vjs-peach-right-controls", N.setAttribute("aria-label", "播放器视图控制"), t.insertBefore(N, M[0]), M.forEach((e) => {+ e.insertAdjacentHTML("beforeend", "<span class=\"vjs-peach-hover\" aria-hidden=\"true\"></span>"), N.append(e);+ });+ let P = document.createElement("div");+ P.className = "vjs-peach-expand vjs-control", P.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(P);+ let ee = P.querySelector("button"), F = bj(ee, "展开控件"), te = (t) => {+ e.el().classList.toggle("vjs-peach-right-expanded", t), ee.setAttribute("aria-expanded", String(t)), F(t ? "收起控件" : "展开控件");};- te.onclick = (t) => {- t.stopPropagation(), ne(!e.el().classList.contains("vjs-peach-right-expanded"));+ ee.onclick = (t) => {+ t.stopPropagation(), te(!e.el().classList.contains("vjs-peach-right-expanded"));};- let F = () => {+ let I = () => {let t = e.el(), n = t.clientWidth < 528;- t.style.setProperty("--peach-player-h", `${t.clientHeight}px`), t.classList.toggle("vjs-peach-xsmall", n), n || ne(!1);- }, re = new ResizeObserver(F);- re.observe(e.el()), e.on("dispose", () => re.disconnect()), ne(!1), F();+ t.style.setProperty("--peach-player-h", `${t.clientHeight}px`), t.classList.toggle("vjs-peach-xsmall", n), n || te(!1);+ }, ne = new ResizeObserver(I);+ ne.observe(e.el()), e.on("dispose", () => ne.disconnect()), te(!1), I();}-function Rj(e, t, n = {}) {+function Ej(e, t, n = {}) {let r = e.el().querySelector(".vjs-control-bar .vjs-progress-control");if (!r || r.querySelector("[data-player-seek-preview]")) return;let i = !!t && n.thumbnail !== !1, a = document.createElement("div");a.className = "vjs-peach-seek-preview", a.dataset.playerSeekPreview = "", a.hidden = !0, a.innerHTML = `${i ? "<i class=\"vjs-peach-seek-frame\" hidden><img alt=\"\"></i>" : ""}<span class="mono">0:00</span>`, r.append(a);let o = a.querySelector(".vjs-peach-seek-frame"), s = a.querySelector("img"), c = a.querySelector("span"), l = null, u = "";- o && t?.id && R(`/api/timeline?id=${encodeURIComponent(t.id)}`).then((e) => {+ o && t?.id && z(`/api/timeline?id=${encodeURIComponent(t.id)}`).then((e) => {e && e.frames > 0 && e.interval > 0 && (l = e);}).catch(() => {});let d = (e, n, r, i) => {@@ -31767,10 +31770,10 @@ function Rj(e, t, n = {}) {f !== u && (u = f, i.src = f), r.hidden = !1, t.width && t.height && (r.style.aspectRatio = `${t.width} / ${t.height}`), i.style.objectFit = "fill", i.style.width = `${a * 100}%`, i.style.height = `${d * 100}%`, i.style.left = `${-(l % a) * 100}%`, i.style.top = `${-Math.floor(l / a) * 100}%`;}, f = -1, p = (n) => {if (n.pointerType === "touch") return;- let i = hn(e.duration()) || hn(t?.duration);+ let i = mn(e.duration()) || mn(t?.duration);if (!i) return;let u = r.getBoundingClientRect(), p = Math.min(1, Math.max(0, (n.clientX - u.left) / u.width)), m = o ? Math.min(240, Math.max(160, u.width * .28)) : 76, h = Math.min(u.width - m / 2, Math.max(m / 2, n.clientX - u.left));- if (a.style.left = `${h}px`, a.hidden = !1, c.textContent = _n(i * p), !o || !s || !t) return;+ if (a.style.left = `${h}px`, a.hidden = !1, c.textContent = gn(i * p), !o || !s || !t) return;if (l) {d(i * p, l, o, s);return;@@ -31786,13 +31789,13 @@ function Rj(e, t, n = {}) {r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);});}-function Zoe(e, t) {+function use(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;- let r = () => hn(e.duration()) || hn(t.duration) || 0, i = (t) => {+ let r = () => mn(e.duration()) || mn(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number(aj().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(qA().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -31833,12 +31836,12 @@ function Zoe(e, t) {} catch {}});}-function zj(e) {+function Dj(e) {let t = e.el().querySelector(".vjs-loading-spinner");t && !t.querySelector(".vjs-peach-spinner-container") && (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");}-function Bj(e, t) {- R(`/api/assets/${t}/subtitles`).then((t) => {+function Oj(e, t) {+ z(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({id: t.id,@@ -31853,35 +31856,35 @@ function Bj(e, t) {}//#endregion//#region src/player/progress.ts-var Vj = "peach.playback-position.v1", Hj = /* @__PURE__ */ new WeakMap();-function Uj(e) {- Hj.get(e)?.(), Hj.delete(e);+var kj = "peach.playback-position.v1", Aj = /* @__PURE__ */ new WeakMap();+function jj(e) {+ Aj.get(e)?.(), Aj.delete(e);}-function Wj(e, t, n = null) {+function Mj(e, t, n = null) {let r = e === "follow" ? t.id : t.location === "online" ? t.follow_item_id : null;return r ? `follow:${r}:${n ?? "main"}` : `item:${t.id}`;}-function Qoe(e) {+function dse(e) {try {- let t = localStorage.getItem(`${Vj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${kj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function $oe(e, t) {- let n = Qoe(e);+function fse(e, t) {+ let n = dse(e);if (n !== null) return n;let r = Number(t.leave_ratio);- return r > 0 && r < 1 ? r * hn(t.duration) : 0;+ return r > 0 && r < 1 ? r * mn(t.duration) : 0;}-function ese(e, t) {- Uj(t);+function pse(e, t) {+ jj(t);let n = t.readyState >= 1, r = () => {if (!n || !Number.isFinite(t.currentTime)) return;let r = t.ended ? 0 : Math.max(0, t.currentTime);try {- localStorage.setItem(`${Vj}:${e}`, String(r));+ localStorage.setItem(`${kj}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -31895,7 +31898,7 @@ function ese(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Hj.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Aj.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -31908,28 +31911,28 @@ function ese(e, t) {}//#endregion//#region src/player/telemetry.ts-var Gj = /* @__PURE__ */ new WeakMap();-function Kj(e) {- Gj.get(e)?.(), Gj.delete(e);+var Nj = /* @__PURE__ */ new WeakMap();+function Pj(e) {+ Nj.get(e)?.(), Nj.delete(e);}-function qj(e, t, n, r) {+function Fj(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Gj.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Nj.set(e, () => {n(), t(!1), e.onplay = null, e.ontimeupdate = null, e.onpause = null, e.onended = null, e.removeEventListener("seeking", r), e.removeEventListener("emptied", a), window.removeEventListener("pagehide", i);});}-function Jj(e, t, n = {}) {+function Ij(e, t, n = {}) {if (!t) return;let r = 0, i = 0, a = 0, o = null, s = (e) => e ? document.querySelector(e) : null, c = () => {- let r = hn(e.duration) || hn(t.duration);+ let r = mn(e.duration) || mn(t.duration);if (!r) return;let i = Math.min(t.currentTime / r, 1), a = s(n.watched), o = s(n.mark), c = s(n.ratio);a && (a.style.width = `${(i * 100).toFixed(1)}%`), o && (o.style.left = `${(i * 100).toFixed(1)}%`), c && (c.textContent = `${(i * 100).toFixed(0)}%`);}, l = (n) => {- let r = hn(e.duration) || hn(t.duration);- (i || n || a) && (R("/api/activity", {+ let r = mn(e.duration) || mn(t.duration);+ (i || n || a) && (z("/api/activity", {method: "POST",keepalive: !0,body: JSON.stringify({@@ -31961,14 +31964,14 @@ function Jj(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, qj(t, l, u, () => {+ }, Fj(t, l, u, () => {a++;}), c();}-function tse(e, t) {+function mse(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {- let i = hn(e.duration) || hn(t.duration);- (r || n) && (R("/api/follow/activity", {+ let i = mn(e.duration) || mn(t.duration);+ (r || n) && (z("/api/follow/activity", {method: "POST",keepalive: !0,body: JSON.stringify({@@ -31983,7 +31986,7 @@ function tse(e, t) {a && clearInterval(a), a = null;};t.onplay = () => {- i || (i = !0, R("/api/follow/play", {+ i || (i = !0, z("/api/follow/play", {method: "POST",body: JSON.stringify({ item: e.id })}).then((t) => {@@ -31996,24 +31999,24 @@ function tse(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, qj(t, o, s, () => {});+ }, Fj(t, o, s, () => {});}//#endregion//#region src/player/dispose.ts-function Yj(e) {+function Lj(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (Uj(t), Kj(t));+ t && (jj(t), Pj(t));try {e.dispose();} catch {}}//#endregion//#region src/core/random-id.ts-function Xj() {+function Rj() {if (typeof crypto.randomUUID == "function") return crypto.randomUUID();let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;@@ -32022,34 +32025,34 @@ function Xj() {}//#endregion//#region src/player/stream.ts-function Zj() {- return Xj();+function zj() {+ return Rj();}-function Qj(e, t) {+function Bj(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function nse(e) {+function hse(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function $j(e, t) {- let n = nse(e);+async function Vj(e, t) {+ let n = hse(e);if (n) return n;try {- let n = await R(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);+ let n = await z(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);if (n?.src) return {src: n.src,type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return Qj(e, t);+ return Bj(e, t);}-function eM(e) {+function Hj(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -32058,23 +32061,23 @@ function eM(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var tM = "";-function nM() {- return tM;+var Uj = "";+function Wj() {+ return Uj;}-function rM() {- return tM ||= Zj(), tM;+function Gj() {+ return Uj ||= zj(), Uj;}-var rse = (e) => Qj(e, rM()), ise = (e) => $j(e, rM());-function iM() {- let e = tM;- e && (tM = "", eM(e));+var gse = (e) => Bj(e, Gj()), _se = (e) => Vj(e, Gj());+function Kj() {+ let e = Uj;+ e && (Uj = "", Hj(e));}//#endregion//#region src/player/v10-player.ts-var aM = (e) => typeof e == "string" ? [e] : e, ase = (e, t) => {+var qj = (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-${Xj()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${Rj()}`, n.setAttribute("lang", "zh-CN");let i = document.createElement("media-container"), a = document.createElement("hlsjs-video");e.parentNode?.replaceChild(n, e), e.removeAttribute("id"), e.className = "vjs-tech", e.slot = "media", e.controls = !1, e.preload = t.preload === "auto" ? "auto" : t.preload === "none" ? "none" : "metadata", t.poster && (e.poster = String(t.poster)), a.append(e), i.append(a), r.append(i), n.append(r), t.controls !== !1 && i.insertAdjacentHTML("beforeend", "<div class=\"vjs-loading-spinner\" aria-label=\"正在缓冲\"></div>\n <div class=\"vjs-error-display\"><div class=\"vjs-modal-dialog-content\" role=\"alert\"></div></div>\n <div class=\"vjs-control-bar\">\n <media-play-button class=\"vjs-play-control vjs-control vjs-button\" label=\"播放\"></media-play-button>\n <div class=\"vjs-volume-panel vjs-control vjs-volume-panel-horizontal\">\n <media-mute-button class=\"vjs-mute-control vjs-control vjs-button\" label=\"静音\"></media-mute-button>\n <div class=\"vjs-volume-control vjs-volume-horizontal\"><media-volume-slider class=\"vjs-volume-bar vjs-slider vjs-slider-horizontal\" label=\"音量\">\n <media-slider-track><media-slider-fill class=\"vjs-volume-level\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-volume-thumb\"></media-slider-thumb>\n <media-slider-value class=\"vjs-volume-tooltip\"></media-slider-value>\n </media-volume-slider></div>\n </div>\n <div class=\"vjs-progress-control vjs-control\"><media-time-slider class=\"vjs-progress-holder vjs-slider vjs-slider-horizontal\" label=\"播放进度\">\n <media-slider-track><media-slider-buffer class=\"vjs-load-progress\"></media-slider-buffer><media-slider-fill class=\"vjs-play-progress\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-progress-thumb\"></media-slider-thumb>\n </media-time-slider></div>\n <div class=\"vjs-subtitles-control vjs-control\"><button type=\"button\" class=\"vjs-button\" aria-label=\"开启字幕\" aria-pressed=\"false\">CC</button></div>\n <media-pip-button class=\"vjs-picture-in-picture-control vjs-control vjs-button\" label=\"画中画\"></media-pip-button>\n <media-fullscreen-button class=\"vjs-fullscreen-control vjs-control vjs-button\" label=\"全屏\"></media-fullscreen-button>\n </div>");let o = new EventTarget(), s = new AbortController(), c = s.signal, l = !1, u = 0, d = 0, f = 0, p = {@@ -32169,9 +32172,9 @@ var aM = (e) => typeof e == "string" ? [e] : e, ase = (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) => aM(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => aM(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => aM(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => qj(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => qj(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => qj(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -32226,7 +32229,7 @@ var aM = (e) => typeof e == "string" ? [e] : e, ase = (e, t) => {n.id = String(t.id || ""), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);}};-}, ose = "/vendor/videojs/10.1.0/", sse = [+}, yse = "/vendor/videojs/10.1.0/", bse = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -32244,18 +32247,18 @@ var aM = (e) => typeof e == "string" ? [e] : e, ase = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], oM = null;-function sM() {- return oM ??= Promise.all(sse.map((e) => import(+], Jj = null;+function Yj() {+ return Jj ??= Promise.all(bse.map((e) => import(/* @vite-ignore */- `${ose}${e}`-))).then(() => ase).catch((e) => {- throw oM = null, e;- }), oM;+ `${yse}${e}`+))).then(() => vse).catch((e) => {+ throw Jj = null, e;+ }), Jj;}//#endregion//#region src/player/immerse-player.ts-var cse = {+var xse = {controls: !1,preload: "auto",posterImage: !1,@@ -32267,43 +32270,43 @@ var cse = {errorDisplay: !1,textTrackSettings: !1};-function lse(e, t) {+function Sse(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([$j(n, r), sM().catch(() => null)]).then(([o, s]) => {+ return Promise.all([Vj(n, r), Yj().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = Qj(n, r), l = String(o.type || "").includes("mpegurl");+ let c = Bj(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, cse);- i = t, t.peachItem = n, t.peachPlaybackKey = Wj("item", n);+ let t = s(e, xse);+ i = t, t.peachItem = n, t.peachPlaybackKey = Mj("item", n);let r = new AbortController();- Oj(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new Aj(t, e), Bj(t, n.id), l && t.one("error", () => {+ gj(t.el(), e, r.signal), t.on("dispose", () => r.abort()), new vj(t, e), Oj(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- Jj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ Ij(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, eM(r), i ? Yj(i) : (e.pause(), Kj(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, Hj(r), i ? Lj(i) : (e.pause(), Pj(e), e.removeAttribute("src"), e.load()));};}//#endregion//#region src/player/detail-player.ts-var cM = /* @__PURE__ */ new WeakMap(), lM = null, uM = null, dM = null;-function fM() {- lM &&= (clearInterval(lM), null), uM &&= (clearInterval(uM), null), dM &&= (clearTimeout(dM), null);+var Xj = /* @__PURE__ */ new WeakMap(), Zj = null, Qj = null, $j = null;+function eM() {+ Zj &&= (clearInterval(Zj), null), Qj &&= (clearInterval(Qj), null), $j &&= (clearTimeout($j), null);}-async function pM(e, t, n, r = {}) {- let i = dj();+async function Cse(e, t, n, r = {}) {+ let i = $A();if (i && !i.isDisposed()) return i;- let a = aj(), o = r.resume ?? null;+ let a = qA(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : ise(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : _se(e), c;try {- c = await sM();+ c = await Yj();} catch {return t.controls = !0, s().then((e) => {t.addEventListener("loadedmetadata", () => {- o && o.time > 0 && (t.currentTime = Math.min(o.time, hn(t.duration) || o.time));+ o && o.time > 0 && (t.currentTime = Math.min(o.time, mn(t.duration) || o.time));}, { once: !0 }), t.src = e.src, n && t.play().catch(() => {});}).catch(() => {}), null;}@@ -32325,15 +32328,15 @@ async function pM(e, t, n, r = {}) {} }}});- fj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Wj("item", e), Loe(l), l.on("loadedmetadata", () => {+ ej(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Mj("item", e), Xoe(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}`);});- let u = hn(e.duration), d = {+ let u = mn(e.duration), d = {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = zoe(gj(f, e.duration)), m = 0, h = !1, g = () => dj() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = Qoe(ij(f, e.duration)), m = 0, h = !1, g = () => $A() === l && !l.isDisposed(), _ = () => {if (!u || h || !g()) return;let e = Number(l.duration());(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {@@ -32344,23 +32347,23 @@ async function pM(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- cM.set(l, y), y.updateStats = () => {+ Xj.set(l, y), y.updateStats = () => {let n = y.chrome?.statsPanel;if (!n || n.hidden || !g()) return;- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = nM(), h = s ? xj(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = Wj(), h = s ? lj(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;p.sample(t);- let x = Cj(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);+ let x = dj(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);m = S;- let w = mj(t);- vj(d.speed, x), vj(d.activity, C), vj(d.buffer, w);+ let w = nj(t);+ oj(d.speed, x), oj(d.activity, C), oj(d.buffer, w);let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? ["网络活动",- `${_ ? vn(_) : "—"} · ${h.length} 请求`,- `最近一秒网络活动 ${C ? vn(C) : "0 B"}`+ `${_ ? _n(_) : "—"} · ${h.length} 请求`,+ `最近一秒网络活动 ${C ? _n(C) : "0 B"}`] : ["已下载",- O ? `${vn(S)}${f > 0 ? ` / ${vn(f)}` : ""}` : `${S.toFixed(0)} 秒`,- O ? `最近一秒下载 ${C ? vn(C) : "0 B"}` : `最近一秒下载 ${C.toFixed(1)} 秒`+ O ? `${_n(S)}${f > 0 ? ` / ${_n(f)}` : ""}` : `${S.toFixed(0)} 秒`,+ O ? `最近一秒下载 ${C ? _n(C) : "0 B"}` : `最近一秒下载 ${C.toFixed(1)} 秒`];n.innerHTML = `<dl>${[["视频 ID / 会话", c && !r.source ? `${e.id} / ${c.slice(0, 8)}` : `${e.id}`],@@ -32370,21 +32373,21 @@ async function pM(e, t, n, r = {}) {["连接速度",D,- bj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ cj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- bj(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ cj(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- bj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ cj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],- ["播放时间", `${_n(t.currentTime)} / ${_n(u || l.duration())}`],+ ["播放时间", `${gn(t.currentTime)} / ${gn(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]- ].map(([e, t, n]) => `<dt>${z(e)}</dt><dd${n ? " data-player-stats-metric=\"\"" : ""}>${n || ""}<span>${z(t)}</span></dd>`).join("")}</dl>`;+ ].map(([e, t, n]) => `<dt>${B(e)}</dt><dd${n ? " data-player-stats-metric=\"\"" : ""}>${n || ""}<span>${B(t)}</span></dd>`).join("")}</dl>`;}, l.on(["loadstart","loadedmetadata",@@ -32396,15 +32399,15 @@ async function pM(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = Cj(l, e.id, nM(), r ? null : p), a = r ? wj(i) : Voe(i, mj(t));- n.innerHTML = `${L("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;+ let i = dj(l, e.id, Wj(), r ? null : p), a = r ? fj(i) : ese(i, nj(t));+ n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${B(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;- e && e.isConnected && (e.hidden = !1, S(), uM && clearInterval(uM), uM = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), Qj && clearInterval(Qj), Qj = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (dM && clearTimeout(dM), dM = setTimeout(() => {- e.hidden = !0, uM &&= (clearInterval(uM), null);+ e && ($j && clearTimeout($j), $j = setTimeout(() => {+ e.hidden = !0, Qj &&= (clearInterval(Qj), null);}, 1400));};return l.on([@@ -32415,7 +32418,7 @@ async function pM(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(rse(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(gse(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))}`@@ -32423,29 +32426,29 @@ async function pM(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = Lj(l, t, e.height, r.qualities ?? null);+ let n = Tj(l, t, e.height, r.qualities ?? null);r.mediaPromise?.then((t) => {if (!g()) return;n?.(t?.qualities?.length ? t.qualities : null);let r = Number(t?.size) || 0;- r > 0 && !f && (f = r, p.bitrate = gj(r, e.duration));- }).catch(() => {}), Rj(l, e, { thumbnail: !r.source }), Zoe(l, e), zj(l), r.source || Bj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = ij(r, e.duration));+ }).catch(() => {}), Ej(l, e, { thumbnail: !r.source }), use(l, e), Dj(l), r.source || Oj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;- let e = hn(l.el().querySelector("video")?.duration) || hn(l.duration());+ let e = mn(l.el().querySelector("video")?.duration) || mn(l.duration());l.currentTime(Math.min(o.time, e || o.time));}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var mM = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function hM(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", mM), e.querySelector(":scope > #playerStatsBtn")) return;+var wse = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function tM(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", wse), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = Boe(), e.insertBefore(n.content, t);+ n.innerHTML = $oe(), e.insertBefore(n.content, t);}-function gM(e, t) {- let n = cM.get(e);+function nM(e, t) {+ let n = Xj.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -32457,29 +32460,29 @@ function gM(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), lM &&= (clearInterval(lM), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), Zj &&= (clearInterval(Zj), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(yj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), lM && clearInterval(lM), lM = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(sj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), Zj && clearInterval(Zj), Zj = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(yj, t), s = () => document.removeEventListener(yj, t);+ document.addEventListener(sj, t), s = () => document.removeEventListener(sj, t);}- let c = e.el().querySelector("video"), l = c ? Joe(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, fM()));+ let c = e.el().querySelector("video"), l = c ? sse(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, eM()));};return e.one("dispose", d), d;}-function _M(e, t) {- if (t.kind === "immerse") return lse(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = aj(), c = t.chrome === !1 ? null : e.parentElement;- c && hM(c, e);- let l = Wj(n, r, i?.index ?? null), u = {+function rM(e, t) {+ if (t.kind === "immerse") return Sse(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = qA(), c = t.chrome === !1 ? null : e.parentElement;+ c && tM(c, e);+ let l = Mj(n, r, i?.index ?? null), u = {playbackKey: l,resume: t.resume ?? {- time: $oe(l, r),+ time: fse(l, r),autoplay: !1}};@@ -32492,45 +32495,45 @@ function _M(e, t) {checkSourceStatus: !1,size: i?.size,poster: r.thumb_url,- mediaPromise: R(`/follow-qualities?id=${encodeURIComponent(r.id)}`).catch(() => null)+ mediaPromise: z(`/follow-qualities?id=${encodeURIComponent(r.id)}`).catch(() => null)};else {let t = Ya(r, s.settings().javImage);t && (e.poster = t);}let d = null, f = !1, p = () => {}, m = e, h = () => {- p(), !(d && a?.(d)) && (Uj(m), d ? (dj() === d && (fj(null), fM()), Yj(d)) : Kj(m));+ p(), !(d && a?.(d)) && (jj(m), d ? ($A() === d && (ej(null), eM()), Lj(d)) : Pj(m));};- return pM(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, ese(l, m), n === "follow" ? tse(r, m) : (m.addEventListener("play", () => {- R("/api/play", {+ return Cse(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, pse(l, m), n === "follow" ? mse(r, m) : (m.addEventListener("play", () => {+ z("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), Jj(r, m, {+ }, { once: !0 }), Ij(r, m, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (c && (p = gM(t, c)), o?.(t)) : o?.(null));+ })), t ? (c && (p = nM(t, c)), o?.(t)) : o?.(null));}), () => {f = !0, h();};}//#endregion//#region src/player/playback.ts-function vM(e) {+function iM(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function yM(e, t) {+function aM(e, t) {let n = e.duration, r = (e.currentTime || 0) + t;e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);}//#endregion//#region src/player/preview-player.ts-function bM(e, t, n) {+function Tse(e, t, n) {e.controls = !1;let r = !1, i = null;- return sM().then((a) => {+ return Yj().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -32555,82 +32558,82 @@ function bM(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (Lj(o, e), Rj(o, null, { thumbnail: !1 }), zj(o));+ r || o.isDisposed() || (Tj(o, e), Ej(o, null, { thumbnail: !1 }), Dj(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, Yj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, Lj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}//#endregion//#region src/react/catalog-grid/catalog-view.ts-var xM = "peach.catalog-view.v1", SM = /* @__PURE__ */ new Set(), CM = "cards";-function wM() {+var oM = "peach.catalog-view.v1", sM = /* @__PURE__ */ new Set(), cM = "cards";+function lM() {try {- return localStorage.getItem(xM) === "list" ? "list" : "cards";+ return localStorage.getItem(oM) === "list" ? "list" : "cards";} catch {- return CM;+ return cM;}}-function TM(e) {- CM = e === "list" ? "list" : "cards";+function Ese(e) {+ cM = e === "list" ? "list" : "cards";try {- localStorage.setItem(xM, CM);+ localStorage.setItem(oM, cM);} catch {}- SM.forEach((e) => e());+ sM.forEach((e) => e());}-function EM(e) {- SM.add(e);+function Dse(e) {+ sM.add(e);let t = (t) => {- (t.key === xM || t.key === null) && e();+ (t.key === oM || t.key === null) && e();};return addEventListener("storage", t), () => {- SM.delete(e), removeEventListener("storage", t);+ sM.delete(e), removeEventListener("storage", t);};}-var DM = () => (0, D.useSyncExternalStore)(EM, wM, () => "cards");-function OM(e, t) {+var uM = () => (0, D.useSyncExternalStore)(Dse, lM, () => "cards");+function dM(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var kM = (e, t) => [+var Ose = (e, t) => ["catalog-grid","catalog",e,t-], AM = (e, t) => [+], kse = (e, t) => ["catalog-grid","entity",e,t];-async function jM(e, t, n, r, i) {+async function Ase(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 = {+ let o = await V(`/api/items?${a}`, i), s = {...o,items: o.items || [],offset: t};- return !t && !s.items.length && !r && (s.libraryEmpty = (await B("/api/items?limit=1&thumb=0", i)).total === 0), s;+ return !t && !s.items.length && !r && (s.libraryEmpty = (await V("/api/items?limit=1&thumb=0", i)).total === 0), s;}-var MM = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, NM = (e, t) => {+var jse = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Mse = (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 PM(e) {- let t = OM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function fM(e) {+ let t = dM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: kM(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => jM(t, e, n, r, i),+ queryKey: Ose(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => Ase(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: MM(n)+ getNextPageParam: jse(n)};}-function FM(e) {+function Nse(e) {return {- queryKey: AM(e.entityKey || "", e.revision || 0),+ queryKey: kse(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -32645,13 +32648,13 @@ function FM(e) {};},initialPageParam: 0,- getNextPageParam: NM+ getNextPageParam: Mse};}-async function IM(e, t) {- if (e.mode !== "catalog" || e.wall || wM() === "list") return;- let n = PM(e);- await H.fetchInfiniteQuery({+async function Pse(e, t) {+ if (e.mode !== "catalog" || e.wall || lM() === "list") return;+ let n = fM(e);+ await U.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({pageParam: e,@@ -32659,11 +32662,11 @@ async function IM(e, t) {})});}-function LM(e) {+function Fse(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;+ return U.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}-function RM(e, t, n) {+function pM(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -32678,24 +32681,24 @@ function RM(e, t, n) {return !0;}) : [...e];}-var zM = (e, t) => !!e && !!Ca(e, t);-function BM(e, t) {- let n = (e) => zM(e, t) && !!(e.creator || (e.performers || []).length || e.studio);- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => zM(e, t)) || e[e.length - 1];+var mM = (e, t) => !!e && !!Sa(e, t);+function Ise(e, t) {+ let n = (e) => mM(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) => mM(e, t)) || e[e.length - 1];}-function VM(e, { collapse: t, mix: n, javImage: r }) {+function Lse(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 = RM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = pM(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 = BM(e, r);+ let t = Ise(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -32708,16 +32711,16 @@ function VM(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function HM(e, t, n) {+function Rse(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 UM(e, t) {+function zse(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 WM(e, t) {+function Bse(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -32730,17 +32733,17 @@ function WM(e, t) {strip: null}), r;}-function GM(e, t) {- KM((t) => t.id === e, t);+function hM(e, t) {+ gM((t) => t.id === e, t);}-function KM(e, t) {- H.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {+function gM(e, t) {+ U.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {...n,items: n.items.map((n) => e(n) ? {...n,...t} : n)- } : n), H.setQueriesData({+ } : n), U.setQueriesData({queryKey: ["catalog-grid"],predicate: (e) => Array.isArray(e.state.data?.pages)}, (n) => !n || !n.pages.some((t) => t.items.some(e)) ? n : {@@ -32754,35 +32757,35 @@ function KM(e, t) {} : n)});}-var qM = (e) => Math.min(Math.max(e || 0, 0), 100), JM = (e) => Math.round(qM(e) / 20), use = (e) => {- let t = JM(e);+var _M = (e) => Math.min(Math.max(e || 0, 0), 100), vM = (e) => Math.round(_M(e) / 20), Vse = (e) => {+ let t = vM(e);return t ? `${t} 星` : "未评分";-}, YM = (e, t) => t === JM(e) ? 0 : t * 20, XM = (e) => ["item", e], ZM = (e) => [+}, yM = (e, t) => t === vM(e) ? 0 : t * 20, bM = (e) => ["item", e], xM = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], dse = (e, t) => [+], Hse = (e, t) => ["item-related",e,t-], fse = (e) => `/api/item?id=${e}`, pse = (e, t) => `/api/related?id=${e}&limit=${t}`, QM = "/api/playlist", $M = "/api/feedback", eN = "/api/item-tag", tN = "/api/watch-later", nN = "/api/quality-goal", rN = "/api/preference", iN = class extends Error {};-async function aN(e, t) {- let n = await B(fse(e), t);- if (n.error) throw new iN(n.error);+], Use = (e) => `/api/item?id=${e}`, Wse = (e, t) => `/api/related?id=${e}&limit=${t}`, SM = "/api/playlist", CM = "/api/feedback", wM = "/api/item-tag", TM = "/api/watch-later", EM = "/api/quality-goal", DM = "/api/preference", OM = class extends Error {};+async function kM(e, t) {+ let n = await V(Use(e), t);+ if (n.error) throw new OM(n.error);return n;}-async function oN(e, t, n) {+async function AM(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([aN(r, n), t.mixRelated(r)]);- return H.setQueryData(XM(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([kM(r, n), t.mixRelated(r)]);+ return U.setQueryData(bM(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${Qa(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return sN(await B(`${QM}?id=${e.playlistId}`, n));- let r = await B(`/api/${e.kind}?id=${e.seedId}`, n);+ if (e.kind === "playlist") return jM(await V(`${SM}?id=${e.playlistId}`, n));+ let r = await V(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {kind: e.kind,@@ -32792,19 +32795,19 @@ async function oN(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var sN = (e) => ({+var jM = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), cN = (e) => e.disposal === "vanished";-function lN(e, t) {+}), MM = (e) => e.disposal === "vanished";+function NM(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !cN(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !MM(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 mse(e, t) {+function Gse(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 : {@@ -32812,20 +32815,20 @@ function mse(e, t) {part_label: n};}-function uN(e, t) {+function PM(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 dN(e, t) {+async function FM(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = ZM(n);+ let o = xM(n);try {- let r = n.fresh ? void 0 : H.getQueryData(o);- a = !r && n.kind === "mix", i = r || await H.fetchQuery({+ let r = n.fresh ? void 0 : U.getQueryData(o);+ a = !r && n.kind === "mix", i = r || await U.fetchQuery({queryKey: o,- queryFn: () => oN(n, e.helpers, t),+ queryFn: () => AM(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -32837,21 +32840,21 @@ async function dN(e, t) {return;}}- let o = i ? lN(i, e.id) : e.id;+ let o = i ? NM(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(XM(o)) : void 0;+ let s, c = a && o === i?.seedId ? U.getQueryData(bM(o)) : void 0;try {- s = c || await H.fetchQuery({- queryKey: XM(o),- queryFn: () => aN(o, t),+ s = c || await U.fetchQuery({+ queryKey: bM(o),+ queryFn: () => kM(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof iN) {+ if (e instanceof OM) {r.redirect({ kind: "gone" });return;}@@ -32862,9 +32865,9 @@ async function dN(e, t) {id: Number(s.follow_item_id)});}-function hse(e) {+function Kse(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {- let t = dn(e.name);+ let t = un(e.name);return !e.name || n.has(t) ? !1 : (n.add(t), !0);}, i = (t.performer?.length ? t.performer : (e.performers || []).map((e) => ({id: null,@@ -32884,112 +32887,112 @@ function hse(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function gse(e, t) {+function qse(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {- let r = dn(t.tagLabel(e.k)), i = n.get(r);- (!i || dn(e.k) === r && dn(i.k) !== r) && n.set(r, e);+ let r = un(t.tagLabel(e.k)), i = n.get(r);+ (!i || un(e.k) === r && un(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var fN = (e, t) => (e.tags || []).some((e) => dn(e.k) === dn(t)), pN = (e, t) => ({+var IM = (e, t) => (e.tags || []).some((e) => un(e.k) === un(t)), LM = (e, t) => ({...e,- tags: (e.tags || []).filter((e) => dn(e.k) !== dn(t))-}), mN = (e, t) => fN(e, t.k) ? e : {+ tags: (e.tags || []).filter((e) => un(e.k) !== un(t))+}), RM = (e, t) => IM(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, hN = "peach.recentTags";-function gN() {+}, zM = "peach.recentTags";+function BM() {try {- let e = JSON.parse(localStorage.getItem(hN) || "[]");+ let e = JSON.parse(localStorage.getItem(zM) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function _se(e) {+function Jse(e) {try {- let t = gN().filter((t) => dn(t) !== dn(e));- localStorage.setItem(hN, JSON.stringify([e, ...t].slice(0, 12)));+ let t = BM().filter((t) => un(t) !== un(e));+ localStorage.setItem(zM, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function vse(e, t, n) {- let r = dn(e), i = new Map(t.map((e) => [dn(e.k), e])), a = t.filter((e) => !r || dn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(dn(e)) || {+function Yse(e, t, n) {+ let r = un(e), i = new Map(t.map((e) => [un(e.k), e])), a = t.filter((e) => !r || un(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(un(e)) || {k: e,n: 0- }).filter((e, t, n) => n.findIndex((t) => dn(t.k) === dn(e.k)) === t).slice(0, 12), s = a.some((e) => dn(e.k) === r);+ }).filter((e, t, n) => n.findIndex((t) => un(t.k) === un(e.k)) === t).slice(0, 12), s = a.some((e) => un(e.k) === r);return {recent: o,results: a,create: r && !s ? e.trim() : ""};}-var yse = {+var Xse = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, bse = {+}, Zse = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function xse(e) {+function Qse(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: bse[e.kind],+ title: Zse[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var _N = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Sse = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(_N(e.part_label))}</small>` : "";-function Cse(e, t, n, r) {+var VM = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, $se = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${B(VM(e.part_label))}</small>` : "";+function ece(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var wse = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function Tse(e, t) {+var tce = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function nce(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 Ese(e) {+function rce(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 vN(e, t) {+function HM(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}//#endregion//#region src/react/immerse/immerse.ts-var Dse = (e, t, n) => [+var ice = (e, t, n) => ["immerse-list",e,t,n];-function Ose(e) {+function ace(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 kse = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function Ase(e, t = Math.random) {+var oce = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function sce(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 jse(e, t) {- return Ase(((await B(`/api/items?${e}`)).items || []).filter((e) => kse(e, t)));+async function cce(e, t) {+ return sce(((await V(`/api/items?${e}`)).items || []).filter((e) => oce(e, t)));}-var yN = (e) => H.ensureQueryData({- queryKey: XM(e),- queryFn: ({ signal: t }) => aN(e, t)+var UM = (e) => U.ensureQueryData({+ queryKey: bM(e),+ queryFn: ({ signal: t }) => kM(e, t)});-function Mse(e, t) {+function lce(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function Nse(e) {+function uce(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,@@ -32998,306 +33001,306 @@ function Nse(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function Pse(e, t, n) {+function dce(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 Fse(e, t) {+function fce(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 Ise = 15e3, bN = {+var pce = 15e3, WM = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, xN = null, SN = null, CN = bN, wN = /* @__PURE__ */ new Set(), TN = 0, EN = 0, DN = 0, ON = "", kN = [], AN = 0, jN = !1, MN = !1, NN = null, PN = /* @__PURE__ */ new Set(), FN = "", IN = null, LN = 0, RN = null, zN = !1;-function BN() {- if (!xN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return xN;+}, GM = null, KM = null, qM = WM, JM = /* @__PURE__ */ new Set(), YM = 0, XM = 0, ZM = 0, QM = "", $M = [], eN = 0, tN = !1, nN = !1, rN = null, iN = /* @__PURE__ */ new Set(), aN = "", oN = null, sN = 0, cN = null, lN = !1;+function uN() {+ if (!GM) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return GM;}-function Lse(e) {- return wN.add(e), () => {- wN.delete(e);+function mce(e) {+ return JM.add(e), () => {+ JM.delete(e);};}-function Rse() {- for (let e of [...wN]) e();+function hce() {+ for (let e of [...JM]) e();}-function VN() {- (0, Et.flushSync)(Rse);+function dN() {+ (0, Tt.flushSync)(hce);}-function HN() {- let e = IN ? Sj(IN.id) : 0;- return e ? `${FN} · ${wj(e)}` : FN;+function fN() {+ let e = oN ? uj(oN.id) : 0;+ return e ? `${aN} · ${fj(e)}` : aN;}-function UN(e, t = null) {- clearInterval(LN), LN = 0, e === null ? (CN = {- ...CN,+function pN(e, t = null) {+ clearInterval(sN), sN = 0, e === null ? (qM = {+ ...qM,loading: null- }, VN()) : (FN = e, IN = t, CN = {- ...CN,- loading: HN()- }, VN(), LN = window.setInterval(() => {- IN = kN[AN] ?? null, CN = {- ...CN,- loading: HN()- }, VN();+ }, dN()) : (aN = e, oN = t, qM = {+ ...qM,+ loading: fN()+ }, dN(), sN = window.setInterval(() => {+ oN = $M[eN] ?? null, qM = {+ ...qM,+ loading: fN()+ }, dN();}, 500));}-function zse(e) {+function gce(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), SN.track.append(t);- let r = Zj(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), KM.track.append(t);+ let r = zj(), i = () => {}, a = {el: t,video: n,session: r,- release: () => eM(r),+ release: () => Hj(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return PN.add(a), a;+ return iN.add(a), a;}-function Bse(e, t) {+function _ce(e, t) {return new Promise((n) => {- e.release = _M(e.video, {+ e.release = rM(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- CN.open && XN(1);+ qM.open && bN(1);}}), e.gone.then(n);});}-function WN(e) {- e && !e.disposed && (e.disposed = !0, PN.delete(e), e.leave(), e.release(), e.el.remove(), NN === e && (NN = null));+function mN(e) {+ e && !e.disposed && (e.disposed = !0, iN.delete(e), e.leave(), e.release(), e.el.remove(), rN === e && (rN = null));}-var GN = [+var hN = ["loadeddata","canplay","error"];-function Vse(e) {+function vce(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), GN.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), hN.forEach((e) => t.removeEventListener(e, i)), n());};- GN.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, Ise);+ hN.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, pce);e.gone.then(i);});}-function KN(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Pse(e.videoWidth, e.videoHeight, n);+function gN(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = dce(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var qN = () => SN?.track.querySelectorAll("video").forEach(KN);-function Hse(e) {- delete e.dataset.fit, e.readyState >= 1 ? KN(e) : e.addEventListener("loadedmetadata", () => KN(e), { once: !0 });+var _N = () => KM?.track.querySelectorAll("video").forEach(gN);+function yce(e) {+ delete e.dataset.fit, e.readyState >= 1 ? gN(e) : e.addEventListener("loadedmetadata", () => gN(e), { once: !0 });}-function Use(e) {- CN = {- ...CN,+function bce(e) {+ qM = {+ ...qM,wide: e- }, VN(), qN();+ }, dN(), _N();}-var JN = () => {- let e = ON;- return H.fetchQuery({- queryKey: Dse(e, EN, DN),- queryFn: () => jse(e, BN().sourceOffline),+var vN = () => {+ let e = QM;+ return U.fetchQuery({+ queryKey: ice(e, XM, ZM),+ queryFn: () => cce(e, uN().sourceOffline),staleTime: Infinity});};-function Wse(e, t) {- let n = () => hn(e.duration) || hn(t.duration);+function xce(e, t) {+ let n = () => mn(e.duration) || mn(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && SN && (SN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), RN = {+ t && KM && (KM.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), cN = {video: e,duration: n};}-async function YN(e = 0) {- let t = kN[AN];- if (!t || jN) return;- let n = TN;- BN().route(t.id), jN = !0, UN(e ? "切换中" : "加载中", t);+async function yN(e = 0) {+ let t = $M[eN];+ if (!t || tN) return;+ let n = YM;+ uN().route(t.id), tN = !0, pN(e ? "切换中" : "加载中", t);let r = null;try {- if (await yN(t.id).catch((e) => {- if (!(e instanceof iN)) throw e;- }), n !== TN) return;- let i = NN, a = !!(e && i);- a || WN(i);- let o = zse(a ? e > 0 ? 100 : -100 : 0);- if (r = o, Hse(o.video), await Bse(o, t), await Vse(o), o.disposed || (Use(Fse(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await UM(t.id).catch((e) => {+ if (!(e instanceof OM)) throw e;+ }), n !== YM) return;+ let i = rN, a = !!(e && i);+ a || mN(i);+ let o = gce(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, yce(o.video), await _ce(o, t), await vce(o), o.disposed || (bce(fce(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)), WN(i), o.el.style.transform = ""), o.disposed)) return;- NN = o, r = null, o.video.play()?.catch(() => {}), CN = {- ...CN,+ })), await new Promise((e) => setTimeout(e, 210)), mN(i), o.el.style.transform = ""), o.disposed)) return;+ rN = o, r = null, o.video.play()?.catch(() => {}), qM = {+ ...qM,idle: !1,shown: {item: t,- index: AN,- length: kN.length+ index: eN,+ length: $M.length}- }, Wse(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), UN(null);+ }, xce(o.video, t), H("/api/play", { id: t.id }).catch(() => {}), pN(null);} catch {- WN(r), n === TN && UN(null);+ mN(r), n === YM && pN(null);} finally {- n === TN && (jN = !1);+ n === YM && (tN = !1);}}-async function XN(e) {- if (jN || !CN.open) return;- let t = TN;- if (AN += e, UN("切换中", kN[AN] ?? null), AN >= kN.length - 3 && !MN) {- MN = !0;+async function bN(e) {+ if (tN || !qM.open) return;+ let t = YM;+ if (eN += e, pN("切换中", $M[eN] ?? null), eN >= $M.length - 3 && !nN) {+ nN = !0;try {- DN += 1;- let e = await JN();- t === TN && (kN = Mse(kN, e));+ ZM += 1;+ let e = await vN();+ t === YM && ($M = lce($M, e));} catch {} finally {- MN = !1;+ nN = !1;}}- t === TN && (AN >= kN.length && (AN = 0), AN < 0 && (AN = kN.length - 1), await YN(e));+ t === YM && (eN >= $M.length && (eN = 0), eN < 0 && (eN = $M.length - 1), await yN(e));}-async function Gse(e) {- let t = ++TN;- ZN(), EN += 1, DN = 0, ON = Ose(BN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), CN = {- ...CN,+async function Sce(e) {+ let t = ++YM;+ xN(), XM += 1, ZM = 0, QM = ace(uN().filters()), U.removeQueries({ queryKey: ["immerse-list"] }), qM = {+ ...qM,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), UN("加载内容");+ }, document.body.setAttribute("data-immerse-open", ""), pN("加载内容");try {- let n = await JN();+ let n = await vN();if (e && !n.some((t) => t.id === e)) {- let t = await yN(e).catch((e) => {- if (e instanceof iN) return null;+ let t = await UM(e).catch((e) => {+ if (e instanceof OM) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== TN) return;- if (kN = n, !kN.length) {- QN(), BN().warn("当前筛选下没有可直接播放的内容");+ if (t !== YM) return;+ if ($M = n, !$M.length) {+ SN(), uN().warn("当前筛选下没有可直接播放的内容");return;}- AN = Math.max(0, kN.findIndex((t) => t.id === e)), await YN();+ eN = Math.max(0, $M.findIndex((t) => t.id === e)), await yN();} catch {- if (t !== TN) return;- UN(null), QN();+ if (t !== YM) return;+ pN(null), SN();}}-function ZN() {- clearInterval(LN), LN = 0, iP(), nP = null, RN = null, zN = !1, [...PN].forEach(WN), jN = !1;+function xN() {+ clearInterval(sN), sN = 0, ON(), EN = null, cN = null, lN = !1, [...iN].forEach(mN), tN = !1;}-function QN() {- CN.open && (TN++, ZN(), CN = bN, document.body.removeAttribute("data-immerse-open"), VN(), BN().closed());+function SN() {+ qM.open && (YM++, xN(), qM = WM, document.body.removeAttribute("data-immerse-open"), dN(), uN().closed());}-var $N = 0, eP = null, tP = 0, nP = null, rP = 0;-function iP() {- clearTimeout($N), $N = 0, eP = null;+var CN = 0, wN = null, TN = 0, EN = null, DN = 0;+function ON() {+ clearTimeout(CN), CN = 0, wN = null;}-function Kse(e) {- let t = NN?.video;+function kN(e) {+ let t = rN?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- eP && eP.side === n && r - eP.at <= 280 ? (iP(), yM(t, BN().seekSeconds() * n)) : ($N && (clearTimeout($N), $N = 0, vM(t)), eP = {+ wN && wN.side === n && r - wN.at <= 280 ? (ON(), aM(t, uN().seekSeconds() * n)) : (CN && (clearTimeout(CN), CN = 0, iM(t)), wN = {side: n,at: r- }, $N = window.setTimeout(() => {- $N = 0, eP = null, CN.open && vM(NN?.video);+ }, CN = window.setTimeout(() => {+ CN = 0, wN = null, qM.open && iM(rN?.video);}, 280));}-function qse() {- Date.now() < tP || vM(NN?.video);+function AN() {+ Date.now() < TN || iM(rN?.video);}-var aP = (e) => SN?.bar.toggleAttribute("data-scrubbing", e);-function oP(e) {- SN && (SN.progress.style.width = `${(e * 100).toFixed(2)}%`);+var jN = (e) => KM?.bar.toggleAttribute("data-scrubbing", e);+function MN(e) {+ KM && (KM.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function sP(e) {+function NN(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- nP = null;+ EN = null;return;}- let n = NN?.video;- nP = {+ let n = rN?.video;+ EN = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function cP(e) {- if (!nP || e.touches.length !== 1) return;- let t = e.touches[0].clientX - nP.x, n = e.touches[0].clientY - nP.y;- if (!nP.axis) {+function PN(e) {+ if (!EN || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - EN.x, n = e.touches[0].clientY - EN.y;+ if (!EN.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- nP.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", nP.axis === "x" && aP(!0);+ EN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", EN.axis === "x" && jN(!0);}- if (nP.axis !== "x") return;- let r = NN?.video, i = r && r.duration || 0;- i && (e.preventDefault(), nP.to = Math.min(i, Math.max(0, nP.from + t / window.innerWidth * i)), oP(nP.to / i));+ if (EN.axis !== "x") return;+ let r = rN?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), EN.to = Math.min(i, Math.max(0, EN.from + t / window.innerWidth * i)), MN(EN.to / i));}-function lP(e) {- if (!nP) return;- let t = nP;- if (nP = null, tP = Date.now() + 700, aP(!1), t.axis === "x") {- let e = NN?.video;+function FN(e) {+ if (!EN) return;+ let t = EN;+ if (EN = null, TN = Date.now() + 700, jN(!1), t.axis === "x") {+ let e = rN?.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 ? (iP(), XN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Kse(n.clientX));+ Math.abs(i) > 60 ? (ON(), bN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), kN(n.clientX));}-function uP() {- nP = null, aP(!1);+function IN() {+ EN = null, jN(!1);}-function dP(e) {+function LN(e) {let t = Date.now();- t - rP < 260 || (rP = t, XN(e.deltaY > 0 ? 1 : -1));+ t - DN < 260 || (DN = t, bN(e.deltaY > 0 ? 1 : -1));}-function fP(e) {- let t = SN.bar.getBoundingClientRect();+function RN(e) {+ let t = KM.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}-function Jse(e) {- RN?.duration() && (zN = !0, aP(!0), e.currentTarget.setPointerCapture(e.pointerId), oP(fP(e)), e.preventDefault());+function zN(e) {+ cN?.duration() && (lN = !0, jN(!0), e.currentTarget.setPointerCapture(e.pointerId), MN(RN(e)), e.preventDefault());}-function Yse(e) {- zN && oP(fP(e));+function BN(e) {+ lN && MN(RN(e));}-function Xse(e) {- if (!zN) return;- zN = !1, aP(!1);- let t = RN?.duration();- RN && t && (RN.video.currentTime = t * fP(e));+function VN(e) {+ if (!lN) return;+ lN = !1, jN(!1);+ let t = cN?.duration();+ cN && t && (cN.video.currentTime = t * RN(e));}-function Zse() {- zN = !1, aP(!1);+function HN() {+ lN = !1, jN(!1);}-async function pP(e, t) {- let n = await V($M, {+async function UN(e, t) {+ let n = await H(CM, {id: e,kind: t- }), r = H.getQueryData(XM(e));- if (!r) return GM(e, {+ }), r = U.getQueryData(bM(e));+ if (!r) return hM(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -33306,7 +33309,7 @@ async function pP(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return H.setQueryData(XM(e), i), GM(e, {+ return U.setQueryData(bM(e), i), hM(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -33314,7 +33317,7 @@ async function pP(e, t) {o_count: i.o_count}), n;}-var Qse = [+var WN = [{kind: "dislike",glyph: "thumbs-down",@@ -33331,31 +33334,31 @@ var Qse = [label: "记一次高潮"}];-function mP(e) {- return Ct({- queryKey: XM(e ?? 0),- queryFn: ({ signal: t }) => aN(e, t),+function GN(e) {+ return St({+ queryKey: bM(e ?? 0),+ queryFn: ({ signal: t }) => kM(e, t),enabled: e != null,staleTime: Infinity}).data;}-function $se({ kind: e, glyph: t, label: n, id: r }) {- let i = mP(r), a = wt({+function KN({ kind: e, glyph: t, label: n, id: r }) {+ let i = GN(r), a = Ct({mutationFn: async (t) => {- let n = H.getQueryData(XM(t))?.feedback || null;+ let n = U.getQueryData(bM(t))?.feedback || null;return {- result: await pP(t, e),+ result: await UN(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- BN().toast(vN(e, t), { undo: async () => {- e === "o" ? await pP(r, "o-undo") : (t.feedback && await pP(r, t.feedback), n && await pP(r, n));+ uN().toast(HM(e, t), { undo: async () => {+ e === "o" ? await UN(r, "o-undo") : (t.feedback && await UN(r, t.feedback), n && await UN(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- XN(1);+ bN(1);}, 260);},- onError: (e) => BN().failure("更新反馈", e)+ onError: (e) => uN().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-immerse-action": "",@@ -33386,12 +33389,12 @@ function $se({ kind: e, glyph: t, label: n, id: r }) {})]});}-function ece({ shown: e }) {- let t = e?.item ?? null, n = mP(t?.id ?? null), r = n ? Nse(n) : null, i = BN(), a = (e) => {- e.preventDefault(), n && (QN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function qN({ shown: e }) {+ let t = e?.item ?? null, n = GN(t?.id ?? null), r = n ? uce(n) : null, i = uN(), a = (e) => {+ e.preventDefault(), n && (SN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (QN(), i.openItem(t.id));- }, s = r ? Ra(r.name, r.ref, ya(r.name), r.kind || "performer") : "";+ t && (SN(), i.openItem(t.id));+ }, s = r ? La(r.name, r.ref, va(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, O.jsxs)("div", {"data-immerse-ui": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -33409,7 +33412,7 @@ function ece({ shown: e }) {onClick: a,children: r?.who ?? ""}),- /* @__PURE__ */ (0, O.jsx)("span", { children: e && t ? `· ${gn(t.duration)} · ${t.ctx_orient || ""} · ${e.index + 1}/${e.length}` : "" })+ /* @__PURE__ */ (0, O.jsx)("span", { children: e && t ? `· ${hn(t.duration)} · ${t.ctx_orient || ""} · ${e.index + 1}/${e.length}` : "" })]}), /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -33419,18 +33422,18 @@ function ece({ shown: e }) {})]});}-var tce = { __html: ns("媒体加载中") };-function nce({ view: e }) {+var JN = { __html: ns("媒体加载中") };+function YN({ view: e }) {let t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = (0, D.useRef)(null), i = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {let e = t.current;- return SN = {+ return KM = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", sP, { passive: !0 }), e.addEventListener("touchmove", cP, { passive: !1 }), e.addEventListener("touchend", lP, { passive: !1 }), e.addEventListener("touchcancel", uP, { passive: !0 }), e.addEventListener("wheel", dP, { passive: !0 }), () => {- e.removeEventListener("touchstart", sP), e.removeEventListener("touchmove", cP), e.removeEventListener("touchend", lP), e.removeEventListener("touchcancel", uP), e.removeEventListener("wheel", dP), SN = null;+ }, e.addEventListener("touchstart", NN, { passive: !0 }), e.addEventListener("touchmove", PN, { passive: !1 }), e.addEventListener("touchend", FN, { passive: !1 }), e.addEventListener("touchcancel", IN, { passive: !0 }), e.addEventListener("wheel", LN, { passive: !0 }), () => {+ e.removeEventListener("touchstart", NN), e.removeEventListener("touchmove", PN), e.removeEventListener("touchend", FN), e.removeEventListener("touchcancel", IN), e.removeEventListener("wheel", LN), KM = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -33447,10 +33450,10 @@ function nce({ view: e }) {children: [/* @__PURE__ */ (0, O.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: qse+ onClick: AN}), /* @__PURE__ */ (0, O.jsx)("div", {"data-immerse-actions": "",- children: Qse.map((e) => /* @__PURE__ */ (0, O.jsx)($se, {+ children: WN.map((e) => /* @__PURE__ */ (0, O.jsx)(KN, {...e,id: a}, e.kind))@@ -33463,7 +33466,7 @@ function nce({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: tce+ dangerouslySetInnerHTML: JN}), /* @__PURE__ */ (0, O.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -33471,7 +33474,7 @@ function nce({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: QN,+ onClick: SN,children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-x" })@@ -33480,91 +33483,91 @@ function nce({ view: e }) {/* @__PURE__ */ (0, O.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: Jse,- onPointerMove: Yse,- onPointerUp: Xse,- onPointerCancel: Zse,+ onPointerDown: zN,+ onPointerMove: BN,+ onPointerUp: VN,+ onPointerCancel: HN,children: /* @__PURE__ */ (0, O.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, O.jsx)(ece, { shown: e.shown })+ /* @__PURE__ */ (0, O.jsx)(qN, { shown: e.shown })]});}-var rce = {- open: Gse,- close: QN,- isOpen: () => CN.open,- activeVideo: () => CN.open ? NN?.video ?? null : null+var XN = {+ open: Sce,+ close: SN,+ isOpen: () => qM.open,+ activeVideo: () => qM.open ? rN?.video ?? null : null};-function ice(e) {- if (!CN.open) return;+function ZN(e) {+ if (!qM.open) return;let t = e.target;- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && XN(1), e.key === "ArrowUp" && XN(-1)));+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && bN(1), e.key === "ArrowUp" && bN(-1)));}-function ace(e) {- let t = !xN;- return xN = e, t && (document.addEventListener("keydown", ice), addEventListener("resize", () => {- CN.open && qN();+function QN(e) {+ let t = !GM;+ return GM = e, t && (document.addEventListener("keydown", ZN), addEventListener("resize", () => {+ qM.open && _N();}), addEventListener("pagehide", () => {- PN.forEach((e) => eM(e.session));- })), rce;+ iN.forEach((e) => Hj(e.session));+ })), XN;}-function oce() {- let e = (0, D.useSyncExternalStore)(Lse, () => CN);- return xN ? /* @__PURE__ */ (0, O.jsx)(nce, { view: e }) : null;+function $N() {+ let e = (0, D.useSyncExternalStore)(mce, () => qM);+ return GM ? /* @__PURE__ */ (0, O.jsx)(YN, { view: e }) : null;}//#endregion//#region src/manage-header.ts-var hP = {+var eP = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, sce = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function cce(e) {- let t = hP[e.path] ? "cleanup" : e.section;+}, tP = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function nP(e) {+ let t = eP[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var lce = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function gP(e) {+var rP = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function iP(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = hP[e.path] ?? "";+ let n = eP[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: cce(e),+ pressed: nP(e),crumb: n,- compact: sce.has(e.path) || e.section === "configuration",+ compact: tP.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: lce(e.trash),+ text: rP(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var _P = (e) => e.replace(/[&<>"']/g, (e) => ({+var aP = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), vP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${_P(e)}"/></svg>`, yP = "<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 uce(e) {- let t = gP(e);+})[e]), oP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${aP(e)}"/></svg>`, sP = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";+function cP(e) {+ let t = iP(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${_P(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${vP(r)}<span>${_P(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${vP("chevron-right")}</li><li aria-current="true"><span>${_P(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? yP : `<span data-lede-text="">${_P(t.lede.text)}</span>${t.lede.total ? dce : ""}`}</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=\"\"" : ""}>${_P(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${aP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${oP(r)}<span>${aP(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${oP("chevron-right")}</li><li aria-current="true"><span>${aP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? sP : `<span data-lede-text="">${aP(t.lede.text)}</span>${t.lede.total ? lP : ""}`}</p>`;+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${aP(t.title)}</h2>` + i;}-var dce = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var lP = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";//#endregion//#region src/react/settings-panel/icon.tsx-function bP({ name: e }) {- let { wide: t, viewBox: n } = Kt(e);+function uP({ name: e }) {+ let { wide: t, viewBox: n } = Gt(e);return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: n,className: t ? "iconwide" : void 0,@@ -33572,7 +33575,7 @@ function bP({ name: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function fce({ name: e }) {+function dP({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -33581,88 +33584,88 @@ function fce({ name: e }) {}//#endregion//#region node_modules/tailwind-merge/dist/bundle-mjs.mjs-var pce = (e, t) => {+var fP = (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;-}, mce = (e, t) => ({+}, pP = (e, t) => ({classGroupId: e,validator: t-}), xP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), mP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), SP = "-", CP = [], hce = "arbitrary..", gce = (e) => {- let t = vce(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), hP = "-", gP = [], _P = "arbitrary..", vP = (e) => {+ let t = xP(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return _ce(e);- let n = e.split(SP);- return wP(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return bP(e);+ let n = e.split(hP);+ return yP(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? pce(i, t) : t : i || CP;+ return t ? i ? fP(i, t) : t : i || gP;}- return n[e] || CP;+ return n[e] || gP;}};-}, wP = (e, t, n) => {+}, yP = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = wP(e, t + 1, i);+ let n = yP(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(SP) : e.slice(t).join(SP), s = a.length;+ let o = t === 0 ? e.join(hP) : e.slice(t).join(hP), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, _ce = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, bP = (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 ? hce + r : void 0;-})(), vce = (e) => {+ return r ? _P + r : void 0;+})(), xP = (e) => {let { theme: t, classGroups: n } = e;- return yce(n, t);-}, yce = (e, t) => {- let n = xP();+ return SP(n, t);+}, SP = (e, t) => {+ let n = mP();for (let r in e) {let i = e[r];- TP(i, n, r, t);+ CP(i, n, r, t);}return n;-}, TP = (e, t, n, r) => {+}, CP = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- bce(i, t, n, r);+ wP(i, t, n, r);}-}, bce = (e, t, n, r) => {- typeof e == "string" ? xce(e, t, n) : typeof e == "function" ? Sce(e, t, n, r) : Cce(e, t, n, r);-}, xce = (e, t, n) => {- let r = e === "" ? t : EP(t, e);+}, wP = (e, t, n, r) => {+ typeof e == "string" ? TP(e, t, n) : typeof e == "function" ? EP(e, t, n, r) : DP(e, t, n, r);+}, TP = (e, t, n) => {+ let r = e === "" ? t : OP(t, e);r.classGroupId = n;-}, Sce = (e, t, n, r) => {- wce(e) ? TP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(mce(n, e)));-}, Cce = (e, t, n, r) => {+}, EP = (e, t, n, r) => {+ kP(e) ? CP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(pP(n, e)));+}, DP = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- TP(o, EP(t, a), n, r);+ CP(o, OP(t, a), n, r);}-}, EP = (e, t) => {- let n = e, r = t.split(SP), i = r.length;+}, OP = (e, t) => {+ let n = e, r = t.split(hP), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = xP(), n.nextPart.set(t, i)), n = i;+ i || (i = mP(), n.nextPart.set(t, i)), n = i;}return n;-}, wce = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Tce = (e) => {+}, kP = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, AP = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -33680,19 +33683,19 @@ var pce = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, DP = "!", OP = ":", Ece = [], kP = (e, t, n, r, i) => ({+}, jP = "!", MP = ":", NP = [], PP = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), Dce = (e) => {+}), FP = (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 === OP) {+ if (o === MP) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -33704,13 +33707,13 @@ var pce = (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(DP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(DP) && (c = s.slice(1), l = !0);+ s.endsWith(jP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(jP) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return kP(t, l, c, u);+ return PP(t, l, c, u);};if (t) {- let e = t + OP, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : kP(Ece, !1, t, void 0, !0);+ let e = t + MP, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : PP(NP, !1, t, void 0, !0);}if (n) {let e = r;@@ -33720,7 +33723,7 @@ var pce = (e, t) => {});}return r;-}, Oce = (e) => {+}, IP = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -33732,18 +33735,18 @@ var pce = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, kce = (e) => ({- cache: Tce(e.cacheSize),- parseClassName: Dce(e),- sortModifiers: Oce(e),- postfixLookupClassGroupIds: Ace(e),- ...gce(e)-}), Ace = (e) => {+}, LP = (e) => ({+ cache: AP(e.cacheSize),+ parseClassName: FP(e),+ sortModifiers: IP(e),+ postfixLookupClassGroupIds: RP(e),+ ...vP(e)+}), RP = (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;-}, jce = /\s+/, Mce = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(jce), l = "";+}, zP = /\s+/, BP = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(zP), 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) {@@ -33763,7 +33766,7 @@ var pce = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + DP : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + jP : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -33774,34 +33777,34 @@ var pce = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, Nce = (...e) => {+}, VP = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = AP(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = HP(n)) && (i && (i += " "), i += r);return i;-}, AP = (e) => {+}, HP = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = AP(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = HP(e[r])) && (n && (n += " "), n += t);return n;-}, jP = (e, ...t) => {- let n, r, i, a, o = (o) => (n = kce(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, UP = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = LP(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 = Mce(e, n);+ let a = BP(e, n);return i(e, a), a;};- return a = o, (...e) => a(Nce(...e));-}, Pce = [], MP = (e) => {- let t = (t) => t[e] || Pce;+ return a = o, (...e) => a(VP(...e));+}, WP = [], GP = (e) => {+ let t = (t) => t[e] || WP;return t.isThemeGetter = !0, t.themeKey = e, t;-}, NP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, PP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Fce = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ice = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Lce = /\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$/, Rce = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, zce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Bce = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, FP = (e) => Fce.test(e), IP = (e) => !!e && !Number.isNaN(Number(e)), LP = (e) => !!e && Number.isInteger(Number(e)), RP = (e) => e.endsWith("%") && IP(e.slice(0, -1)), zP = (e) => Ice.test(e), BP = () => !0, Vce = (e) => Lce.test(e) && !Rce.test(e), VP = () => !1, Hce = (e) => zce.test(e), Uce = (e) => Bce.test(e), Wce = (e) => !HP(e) && !qP(e), Gce = (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)), Kce = (e) => ZP(e, tF, VP), HP = (e) => NP.test(e), UP = (e) => ZP(e, nF, Vce), WP = (e) => ZP(e, ele, IP), qce = (e) => ZP(e, iF, BP), Jce = (e) => ZP(e, rF, VP), GP = (e) => ZP(e, $P, VP), Yce = (e) => ZP(e, eF, Uce), KP = (e) => ZP(e, aF, Hce), qP = (e) => PP.test(e), JP = (e) => QP(e, nF), Xce = (e) => QP(e, rF), YP = (e) => QP(e, $P), Zce = (e) => QP(e, tF), Qce = (e) => QP(e, eF), XP = (e) => QP(e, aF, !0), $ce = (e) => QP(e, iF, !0), ZP = (e, t, n) => {- let r = NP.exec(e);+}, KP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, qP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, JP = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, YP = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, XP = /\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$/, ZP = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, QP = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, $P = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, eF = (e) => JP.test(e), tF = (e) => !!e && !Number.isNaN(Number(e)), nF = (e) => !!e && Number.isInteger(Number(e)), rF = (e) => e.endsWith("%") && tF(e.slice(0, -1)), iF = (e) => YP.test(e), aF = () => !0, oF = (e) => XP.test(e) && !ZP.test(e), sF = () => !1, cF = (e) => QP.test(e), lF = (e) => $P.test(e), uF = (e) => !pF(e) && !xF(e), dF = (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)), fF = (e) => kF(e, NF, sF), pF = (e) => KP.test(e), mF = (e) => kF(e, PF, oF), hF = (e) => kF(e, FF, tF), gF = (e) => kF(e, LF, aF), _F = (e) => kF(e, IF, sF), vF = (e) => kF(e, jF, sF), yF = (e) => kF(e, MF, lF), bF = (e) => kF(e, RF, cF), xF = (e) => qP.test(e), SF = (e) => AF(e, PF), CF = (e) => AF(e, IF), wF = (e) => AF(e, jF), TF = (e) => AF(e, NF), EF = (e) => AF(e, MF), DF = (e) => AF(e, RF, !0), OF = (e) => AF(e, LF, !0), kF = (e, t, n) => {+ let r = KP.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, QP = (e, t, n = !1) => {- let r = PP.exec(e);+}, AF = (e, t, n = !1) => {+ let r = qP.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, $P = (e) => e === "position" || e === "percentage", eF = (e) => e === "image" || e === "url", tF = (e) => e === "length" || e === "size" || e === "bg-size", nF = (e) => e === "length", ele = (e) => e === "number", rF = (e) => e === "family-name", iF = (e) => e === "number" || e === "weight", aF = (e) => e === "shadow", oF = () => {- let e = MP("color"), t = MP("font"), n = MP("text"), r = MP("font-weight"), i = MP("tracking"), a = MP("leading"), o = MP("breakpoint"), s = MP("container"), c = MP("spacing"), l = MP("radius"), u = MP("shadow"), d = MP("inset-shadow"), f = MP("text-shadow"), p = MP("drop-shadow"), m = MP("blur"), h = MP("perspective"), g = MP("aspect"), _ = MP("ease"), v = MP("animate"), y = () => [+}, jF = (e) => e === "position" || e === "percentage", MF = (e) => e === "image" || e === "url", NF = (e) => e === "length" || e === "size" || e === "bg-size", PF = (e) => e === "length", FF = (e) => e === "number", IF = (e) => e === "family-name", LF = (e) => e === "number" || e === "weight", RF = (e) => e === "shadow", zF = () => {+ let e = GP("color"), t = GP("font"), n = GP("text"), r = GP("font-weight"), i = GP("tracking"), a = GP("leading"), o = GP("breakpoint"), s = GP("container"), c = GP("spacing"), l = GP("radius"), u = GP("shadow"), d = GP("inset-shadow"), f = GP("text-shadow"), p = GP("drop-shadow"), m = GP("blur"), h = GP("perspective"), g = GP("aspect"), _ = GP("ease"), v = GP("animate"), y = () => ["auto","avoid","all",@@ -33826,8 +33829,8 @@ var pce = (e, t) => {"left-bottom"], x = () => [...b(),- qP,- HP+ xF,+ pF], S = () => ["auto","hidden",@@ -33839,43 +33842,43 @@ var pce = (e, t) => {"contain","none"], w = () => [- qP,- HP,+ xF,+ pF,c], T = () => [- FP,+ eF,"full","auto",...w()], E = () => [- LP,+ nF,"none","subgrid",- qP,- HP+ xF,+ pF], D = () => ["auto",{ span: ["full",- LP,- qP,- HP+ nF,+ xF,+ pF] },- LP,- qP,- HP+ nF,+ xF,+ pF], O = () => [- LP,+ nF,"auto",- qP,- HP+ xF,+ pF], k = () => ["auto","min","max","fr",- qP,- HP+ xF,+ pF], A = () => ["start","end",@@ -33894,8 +33897,8 @@ var pce = (e, t) => {"stretch","center-safe","end-safe"- ], M = () => ["auto", ...w()], ee = () => [- FP,+ ], M = () => ["auto", ...w()], N = () => [+ eF,"auto","full","dvw",@@ -33908,9 +33911,9 @@ var pce = (e, t) => {"max","fit",...w()- ], N = () => [+ ], P = () => [s,- FP,+ eF,"screen","full","dvw",@@ -33920,8 +33923,8 @@ var pce = (e, t) => {"max","fit",...w()- ], te = () => [- FP,+ ], ee = () => [+ eF,"screen","full","lh",@@ -33932,50 +33935,50 @@ var pce = (e, t) => {"max","fit",...w()- ], P = () => [+ ], F = () => [e,- qP,- HP- ], ne = () => [+ xF,+ pF+ ], te = () => [...b(),- YP,- GP,- { position: [qP, HP] }- ], F = () => ["no-repeat", { repeat: [+ wF,+ vF,+ { position: [xF, pF] }+ ], I = () => ["no-repeat", { repeat: ["","x","y","space","round"- ] }], re = () => [+ ] }], ne = () => ["auto","cover","contain",- Zce,- Kce,- { size: [qP, HP] }+ TF,+ fF,+ { size: [xF, pF] }+ ], re = () => [+ rF,+ SF,+ mF], ie = () => [- RP,- JP,- UP- ], ae = () => ["","none","full",l,- qP,- HP- ], oe = () => [+ xF,+ pF+ ], ae = () => ["",- IP,- JP,- UP- ], se = () => [+ tF,+ SF,+ mF+ ], oe = () => ["solid","dashed","dotted","double"- ], ce = () => [+ ], se = () => ["normal","multiply","screen",@@ -33992,33 +33995,33 @@ var pce = (e, t) => {"saturation","color","luminosity"+ ], ce = () => [+ tF,+ rF,+ wF,+ vF], le = () => [- IP,- RP,- YP,- GP- ], ue = () => ["","none",m,- qP,- HP+ xF,+ pF+ ], ue = () => [+ "none",+ tF,+ xF,+ pF], de = () => ["none",- IP,- qP,- HP+ tF,+ xF,+ pF], fe = () => [- "none",- IP,- qP,- HP+ tF,+ xF,+ pF], pe = () => [- IP,- qP,- HP- ], me = () => [- FP,+ eF,"full",...w()];@@ -34032,17 +34035,17 @@ var pce = (e, t) => {"bounce"],aspect: ["video"],- blur: [zP],- breakpoint: [zP],- color: [BP],- container: [zP],- "drop-shadow": [zP],+ blur: [iF],+ breakpoint: [iF],+ color: [aF],+ container: [iF],+ "drop-shadow": [iF],ease: ["in","out","in-out"],- font: [Wce],+ font: [uF],"font-weight": ["thin","extralight",@@ -34054,7 +34057,7 @@ var pce = (e, t) => {"extrabold","black"],- "inset-shadow": [zP],+ "inset-shadow": [iF],leading: ["none","tight",@@ -34071,11 +34074,11 @@ var pce = (e, t) => {"distant","none"],- radius: [zP],- shadow: [zP],- spacing: ["px", IP],- text: [zP],- "text-shadow": [zP],+ radius: [iF],+ shadow: [iF],+ spacing: ["px", tF],+ text: [iF],+ "text-shadow": [iF],tracking: ["tighter","tight",@@ -34089,9 +34092,9 @@ var pce = (e, t) => {aspect: [{ aspect: ["auto","square",- FP,- HP,- qP,+ eF,+ pF,+ xF,g] }],container: ["container"],@@ -34099,15 +34102,15 @@ var pce = (e, t) => {"","normal","size",- qP,- HP+ xF,+ pF] }],- "container-named": [Gce],+ "container-named": [dF],columns: [{ columns: [- IP,+ tF,"auto",- HP,- qP,+ pF,+ xF,s] }],"break-after": [{ "break-after": y() }],@@ -34204,13 +34207,13 @@ var pce = (e, t) => {"collapse"],z: [{ z: [- LP,+ nF,"auto",- qP,- HP+ xF,+ pF] }],basis: [{ basis: [- FP,+ eF,"full","auto",s,@@ -34228,32 +34231,32 @@ var pce = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [- IP,- FP,+ tF,+ eF,"auto","initial","none",- HP+ pF] }],grow: [{ grow: ["",- IP,- qP,- HP+ tF,+ xF,+ pF] }],shrink: [{ shrink: ["",- IP,- qP,- HP+ tF,+ xF,+ pF] }],order: [{ order: [- LP,+ nF,"first","last","none",- qP,- HP+ xF,+ pF] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -34314,23 +34317,23 @@ var pce = (e, t) => {"space-x-reverse": ["space-x-reverse"],"space-y": [{ "space-y": w() }],"space-y-reverse": ["space-y-reverse"],- size: [{ size: ee() }],- "inline-size": [{ inline: ["auto", ...N()] }],- "min-inline-size": [{ "min-inline": ["auto", ...N()] }],- "max-inline-size": [{ "max-inline": ["none", ...N()] }],- "block-size": [{ block: ["auto", ...te()] }],- "min-block-size": [{ "min-block": ["auto", ...te()] }],- "max-block-size": [{ "max-block": ["none", ...te()] }],+ size: [{ size: N() }],+ "inline-size": [{ inline: ["auto", ...P()] }],+ "min-inline-size": [{ "min-inline": ["auto", ...P()] }],+ "max-inline-size": [{ "max-inline": ["none", ...P()] }],+ "block-size": [{ block: ["auto", ...ee()] }],+ "min-block-size": [{ "min-block": ["auto", ...ee()] }],+ "max-block-size": [{ "max-block": ["none", ...ee()] }],w: [{ w: [s,"screen",- ...ee()+ ...N()] }],"min-w": [{ "min-w": [s,"screen","none",- ...ee()+ ...N()] }],"max-w": [{ "max-w": [s,@@ -34338,37 +34341,37 @@ var pce = (e, t) => {"none","prose",{ screen: [o] },- ...ee()+ ...N()] }],h: [{ h: ["screen","lh",- ...ee()+ ...N()] }],"min-h": [{ "min-h": ["screen","lh","none",- ...ee()+ ...N()] }],"max-h": [{ "max-h": ["screen","lh","none",- ...ee()+ ...N()] }],"font-size": [{ text: ["base",n,- JP,- UP+ SF,+ mF] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- $ce,- qce+ OF,+ gF] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -34380,15 +34383,15 @@ var pce = (e, t) => {"expanded","extra-expanded","ultra-expanded",- RP,- HP+ rF,+ pF] }],"font-family": [{ font: [- Xce,- Jce,+ CF,+ _F,t] }],- "font-features": [{ "font-features": [HP] }],+ "font-features": [{ "font-features": [pF] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -34397,14 +34400,14 @@ var pce = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- qP,- HP+ xF,+ pF] }],"line-clamp": [{ "line-clamp": [- IP,+ tF,"none",- qP,- WP+ xF,+ hF] }],leading: [{ leading: ["none",@@ -34413,16 +34416,16 @@ var pce = (e, t) => {] }],"list-image": [{ "list-image": ["none",- qP,- HP+ xF,+ pF] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- qP,- HP+ xF,+ pF] }],"text-alignment": [{ text: ["left",@@ -34432,28 +34435,28 @@ var pce = (e, t) => {"start","end"] }],- "placeholder-color": [{ placeholder: P() }],- "text-color": [{ text: P() }],+ "placeholder-color": [{ placeholder: F() }],+ "text-color": [{ text: F() }],"text-decoration": ["underline","overline","line-through","no-underline"],- "text-decoration-style": [{ decoration: [...se(), "wavy"] }],+ "text-decoration-style": [{ decoration: [...oe(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- IP,+ tF,"from-font","auto",- qP,- UP+ xF,+ mF] }],- "text-decoration-color": [{ decoration: P() }],+ "text-decoration-color": [{ decoration: F() }],"underline-offset": [{ "underline-offset": [- IP,+ tF,"auto",- qP,- HP+ xF,+ pF] }],"text-transform": ["uppercase",@@ -34474,9 +34477,9 @@ var pce = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- LP,- qP,- HP+ nF,+ xF,+ pF] }],"vertical-align": [{ align: ["baseline",@@ -34487,8 +34490,8 @@ var pce = (e, t) => {"text-bottom","sub","super",- qP,- HP+ xF,+ pF] }],whitespace: [{ whitespace: ["normal",@@ -34516,8 +34519,8 @@ var pce = (e, t) => {] }],content: [{ content: ["none",- qP,- HP+ xF,+ pF] }],"bg-attachment": [{ bg: ["fixed",@@ -34535,9 +34538,9 @@ var pce = (e, t) => {"padding","content"] }],- "bg-position": [{ bg: ne() }],- "bg-repeat": [{ bg: F() }],- "bg-size": [{ bg: re() }],+ "bg-position": [{ bg: te() }],+ "bg-repeat": [{ bg: I() }],+ "bg-size": [{ bg: ne() }],"bg-image": [{ bg: ["none",{@@ -34552,142 +34555,142 @@ var pce = (e, t) => {"l","tl"] },- LP,- qP,- HP+ nF,+ xF,+ pF],radial: ["",- qP,- HP+ xF,+ pF],conic: ["",- LP,- qP,- HP+ nF,+ xF,+ pF]},- Qce,- Yce+ EF,+ yF] }],- "bg-color": [{ bg: P() }],- "gradient-from-pos": [{ from: ie() }],- "gradient-via-pos": [{ via: ie() }],- "gradient-to-pos": [{ to: ie() }],- "gradient-from": [{ from: P() }],- "gradient-via": [{ via: P() }],- "gradient-to": [{ to: P() }],- rounded: [{ rounded: ae() }],- "rounded-s": [{ "rounded-s": ae() }],- "rounded-e": [{ "rounded-e": ae() }],- "rounded-t": [{ "rounded-t": ae() }],- "rounded-r": [{ "rounded-r": ae() }],- "rounded-b": [{ "rounded-b": ae() }],- "rounded-l": [{ "rounded-l": ae() }],- "rounded-ss": [{ "rounded-ss": ae() }],- "rounded-se": [{ "rounded-se": ae() }],- "rounded-ee": [{ "rounded-ee": ae() }],- "rounded-es": [{ "rounded-es": ae() }],- "rounded-tl": [{ "rounded-tl": ae() }],- "rounded-tr": [{ "rounded-tr": ae() }],- "rounded-br": [{ "rounded-br": ae() }],- "rounded-bl": [{ "rounded-bl": ae() }],- "border-w": [{ border: oe() }],- "border-w-x": [{ "border-x": oe() }],- "border-w-y": [{ "border-y": oe() }],- "border-w-s": [{ "border-s": oe() }],- "border-w-e": [{ "border-e": oe() }],- "border-w-bs": [{ "border-bs": oe() }],- "border-w-be": [{ "border-be": oe() }],- "border-w-t": [{ "border-t": oe() }],- "border-w-r": [{ "border-r": oe() }],- "border-w-b": [{ "border-b": oe() }],- "border-w-l": [{ "border-l": oe() }],- "divide-x": [{ "divide-x": oe() }],+ "bg-color": [{ bg: F() }],+ "gradient-from-pos": [{ from: re() }],+ "gradient-via-pos": [{ via: re() }],+ "gradient-to-pos": [{ to: re() }],+ "gradient-from": [{ from: F() }],+ "gradient-via": [{ via: F() }],+ "gradient-to": [{ to: F() }],+ rounded: [{ rounded: ie() }],+ "rounded-s": [{ "rounded-s": ie() }],+ "rounded-e": [{ "rounded-e": ie() }],+ "rounded-t": [{ "rounded-t": ie() }],+ "rounded-r": [{ "rounded-r": ie() }],+ "rounded-b": [{ "rounded-b": ie() }],+ "rounded-l": [{ "rounded-l": ie() }],+ "rounded-ss": [{ "rounded-ss": ie() }],+ "rounded-se": [{ "rounded-se": ie() }],+ "rounded-ee": [{ "rounded-ee": ie() }],+ "rounded-es": [{ "rounded-es": ie() }],+ "rounded-tl": [{ "rounded-tl": ie() }],+ "rounded-tr": [{ "rounded-tr": ie() }],+ "rounded-br": [{ "rounded-br": ie() }],+ "rounded-bl": [{ "rounded-bl": ie() }],+ "border-w": [{ border: ae() }],+ "border-w-x": [{ "border-x": ae() }],+ "border-w-y": [{ "border-y": ae() }],+ "border-w-s": [{ "border-s": ae() }],+ "border-w-e": [{ "border-e": ae() }],+ "border-w-bs": [{ "border-bs": ae() }],+ "border-w-be": [{ "border-be": ae() }],+ "border-w-t": [{ "border-t": ae() }],+ "border-w-r": [{ "border-r": ae() }],+ "border-w-b": [{ "border-b": ae() }],+ "border-w-l": [{ "border-l": ae() }],+ "divide-x": [{ "divide-x": ae() }],"divide-x-reverse": ["divide-x-reverse"],- "divide-y": [{ "divide-y": oe() }],+ "divide-y": [{ "divide-y": ae() }],"divide-y-reverse": ["divide-y-reverse"],"border-style": [{ border: [- ...se(),+ ...oe(),"hidden","none"] }],"divide-style": [{ divide: [- ...se(),+ ...oe(),"hidden","none"] }],- "border-color": [{ border: P() }],- "border-color-x": [{ "border-x": P() }],- "border-color-y": [{ "border-y": P() }],- "border-color-s": [{ "border-s": P() }],- "border-color-e": [{ "border-e": P() }],- "border-color-bs": [{ "border-bs": P() }],- "border-color-be": [{ "border-be": P() }],- "border-color-t": [{ "border-t": P() }],- "border-color-r": [{ "border-r": P() }],- "border-color-b": [{ "border-b": P() }],- "border-color-l": [{ "border-l": P() }],- "divide-color": [{ divide: P() }],+ "border-color": [{ border: F() }],+ "border-color-x": [{ "border-x": F() }],+ "border-color-y": [{ "border-y": F() }],+ "border-color-s": [{ "border-s": F() }],+ "border-color-e": [{ "border-e": F() }],+ "border-color-bs": [{ "border-bs": F() }],+ "border-color-be": [{ "border-be": F() }],+ "border-color-t": [{ "border-t": F() }],+ "border-color-r": [{ "border-r": F() }],+ "border-color-b": [{ "border-b": F() }],+ "border-color-l": [{ "border-l": F() }],+ "divide-color": [{ divide: F() }],"outline-style": [{ outline: [- ...se(),+ ...oe(),"none","hidden"] }],"outline-offset": [{ "outline-offset": [- IP,- qP,- HP+ tF,+ xF,+ pF] }],"outline-w": [{ outline: ["",- IP,- JP,- UP+ tF,+ SF,+ mF] }],- "outline-color": [{ outline: P() }],+ "outline-color": [{ outline: F() }],shadow: [{ shadow: ["","inner","none",u,- XP,- KP+ DF,+ bF] }],- "shadow-color": [{ shadow: P() }],+ "shadow-color": [{ shadow: F() }],"inset-shadow": [{ "inset-shadow": ["none",d,- XP,- KP+ DF,+ bF] }],- "inset-shadow-color": [{ "inset-shadow": P() }],- "ring-w": [{ ring: oe() }],+ "inset-shadow-color": [{ "inset-shadow": F() }],+ "ring-w": [{ ring: ae() }],"ring-w-inset": ["ring-inset"],- "ring-color": [{ ring: P() }],- "ring-offset-w": [{ "ring-offset": [IP, UP] }],- "ring-offset-color": [{ "ring-offset": P() }],- "inset-ring-w": [{ "inset-ring": oe() }],- "inset-ring-color": [{ "inset-ring": P() }],+ "ring-color": [{ ring: F() }],+ "ring-offset-w": [{ "ring-offset": [tF, mF] }],+ "ring-offset-color": [{ "ring-offset": F() }],+ "inset-ring-w": [{ "inset-ring": ae() }],+ "inset-ring-color": [{ "inset-ring": F() }],"text-shadow": [{ "text-shadow": ["none",f,- XP,- KP+ DF,+ bF] }],- "text-shadow-color": [{ "text-shadow": P() }],+ "text-shadow-color": [{ "text-shadow": F() }],opacity: [{ opacity: [- IP,- qP,- HP+ tF,+ xF,+ pF] }],"mix-blend": [{ "mix-blend": [- ...ce(),+ ...se(),"plus-darker","plus-lighter"] }],- "bg-blend": [{ "bg-blend": ce() }],+ "bg-blend": [{ "bg-blend": se() }],"mask-clip": [{ "mask-clip": ["border","padding",@@ -34702,51 +34705,51 @@ var pce = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [IP] }],- "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": P() }],- "mask-image-linear-to-color": [{ "mask-linear-to": P() }],- "mask-image-t-from-pos": [{ "mask-t-from": le() }],- "mask-image-t-to-pos": [{ "mask-t-to": le() }],- "mask-image-t-from-color": [{ "mask-t-from": P() }],- "mask-image-t-to-color": [{ "mask-t-to": P() }],- "mask-image-r-from-pos": [{ "mask-r-from": le() }],- "mask-image-r-to-pos": [{ "mask-r-to": le() }],- "mask-image-r-from-color": [{ "mask-r-from": P() }],- "mask-image-r-to-color": [{ "mask-r-to": P() }],- "mask-image-b-from-pos": [{ "mask-b-from": le() }],- "mask-image-b-to-pos": [{ "mask-b-to": le() }],- "mask-image-b-from-color": [{ "mask-b-from": P() }],- "mask-image-b-to-color": [{ "mask-b-to": P() }],- "mask-image-l-from-pos": [{ "mask-l-from": le() }],- "mask-image-l-to-pos": [{ "mask-l-to": le() }],- "mask-image-l-from-color": [{ "mask-l-from": P() }],- "mask-image-l-to-color": [{ "mask-l-to": P() }],- "mask-image-x-from-pos": [{ "mask-x-from": le() }],- "mask-image-x-to-pos": [{ "mask-x-to": le() }],- "mask-image-x-from-color": [{ "mask-x-from": P() }],- "mask-image-x-to-color": [{ "mask-x-to": P() }],- "mask-image-y-from-pos": [{ "mask-y-from": le() }],- "mask-image-y-to-pos": [{ "mask-y-to": le() }],- "mask-image-y-from-color": [{ "mask-y-from": P() }],- "mask-image-y-to-color": [{ "mask-y-to": P() }],- "mask-image-radial": [{ "mask-radial": [qP, HP] }],- "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": P() }],- "mask-image-radial-to-color": [{ "mask-radial-to": P() }],+ "mask-image-linear-pos": [{ "mask-linear": [tF] }],+ "mask-image-linear-from-pos": [{ "mask-linear-from": ce() }],+ "mask-image-linear-to-pos": [{ "mask-linear-to": ce() }],+ "mask-image-linear-from-color": [{ "mask-linear-from": F() }],+ "mask-image-linear-to-color": [{ "mask-linear-to": F() }],+ "mask-image-t-from-pos": [{ "mask-t-from": ce() }],+ "mask-image-t-to-pos": [{ "mask-t-to": ce() }],+ "mask-image-t-from-color": [{ "mask-t-from": F() }],+ "mask-image-t-to-color": [{ "mask-t-to": F() }],+ "mask-image-r-from-pos": [{ "mask-r-from": ce() }],+ "mask-image-r-to-pos": [{ "mask-r-to": ce() }],+ "mask-image-r-from-color": [{ "mask-r-from": F() }],+ "mask-image-r-to-color": [{ "mask-r-to": F() }],+ "mask-image-b-from-pos": [{ "mask-b-from": ce() }],+ "mask-image-b-to-pos": [{ "mask-b-to": ce() }],+ "mask-image-b-from-color": [{ "mask-b-from": F() }],+ "mask-image-b-to-color": [{ "mask-b-to": F() }],+ "mask-image-l-from-pos": [{ "mask-l-from": ce() }],+ "mask-image-l-to-pos": [{ "mask-l-to": ce() }],+ "mask-image-l-from-color": [{ "mask-l-from": F() }],+ "mask-image-l-to-color": [{ "mask-l-to": F() }],+ "mask-image-x-from-pos": [{ "mask-x-from": ce() }],+ "mask-image-x-to-pos": [{ "mask-x-to": ce() }],+ "mask-image-x-from-color": [{ "mask-x-from": F() }],+ "mask-image-x-to-color": [{ "mask-x-to": F() }],+ "mask-image-y-from-pos": [{ "mask-y-from": ce() }],+ "mask-image-y-to-pos": [{ "mask-y-to": ce() }],+ "mask-image-y-from-color": [{ "mask-y-from": F() }],+ "mask-image-y-to-color": [{ "mask-y-to": F() }],+ "mask-image-radial": [{ "mask-radial": [xF, pF] }],+ "mask-image-radial-from-pos": [{ "mask-radial-from": ce() }],+ "mask-image-radial-to-pos": [{ "mask-radial-to": ce() }],+ "mask-image-radial-from-color": [{ "mask-radial-from": F() }],+ "mask-image-radial-to-color": [{ "mask-radial-to": F() }],"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],"mask-image-radial-size": [{ "mask-radial": [{closest: ["side", "corner"],farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [IP] }],- "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": P() }],- "mask-image-conic-to-color": [{ "mask-conic-to": P() }],+ "mask-image-conic-pos": [{ "mask-conic": [tF] }],+ "mask-image-conic-from-pos": [{ "mask-conic-from": ce() }],+ "mask-image-conic-to-pos": [{ "mask-conic-to": ce() }],+ "mask-image-conic-from-color": [{ "mask-conic-from": F() }],+ "mask-image-conic-to-color": [{ "mask-conic-to": F() }],"mask-mode": [{ mask: ["alpha","luminance",@@ -34760,117 +34763,117 @@ var pce = (e, t) => {"stroke","view"] }],- "mask-position": [{ mask: ne() }],- "mask-repeat": [{ mask: F() }],- "mask-size": [{ mask: re() }],+ "mask-position": [{ mask: te() }],+ "mask-repeat": [{ mask: I() }],+ "mask-size": [{ mask: ne() }],"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- qP,- HP+ xF,+ pF] }],filter: [{ filter: ["","none",- qP,- HP+ xF,+ pF] }],- blur: [{ blur: ue() }],+ blur: [{ blur: le() }],brightness: [{ brightness: [- IP,- qP,- HP+ tF,+ xF,+ pF] }],contrast: [{ contrast: [- IP,- qP,- HP+ tF,+ xF,+ pF] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- XP,- KP+ DF,+ bF] }],- "drop-shadow-color": [{ "drop-shadow": P() }],+ "drop-shadow-color": [{ "drop-shadow": F() }],grayscale: [{ grayscale: ["",- IP,- qP,- HP+ tF,+ xF,+ pF] }],"hue-rotate": [{ "hue-rotate": [- IP,- qP,- HP+ tF,+ xF,+ pF] }],invert: [{ invert: ["",- IP,- qP,- HP+ tF,+ xF,+ pF] }],saturate: [{ saturate: [- IP,- qP,- HP+ tF,+ xF,+ pF] }],sepia: [{ sepia: ["",- IP,- qP,- HP+ tF,+ xF,+ pF] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- qP,- HP+ xF,+ pF] }],- "backdrop-blur": [{ "backdrop-blur": ue() }],+ "backdrop-blur": [{ "backdrop-blur": le() }],"backdrop-brightness": [{ "backdrop-brightness": [- IP,- qP,- HP+ tF,+ xF,+ pF] }],"backdrop-contrast": [{ "backdrop-contrast": [- IP,- qP,- HP+ tF,+ xF,+ pF] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- IP,- qP,- HP+ tF,+ xF,+ pF] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- IP,- qP,- HP+ tF,+ xF,+ pF] }],"backdrop-invert": [{ "backdrop-invert": ["",- IP,- qP,- HP+ tF,+ xF,+ pF] }],"backdrop-opacity": [{ "backdrop-opacity": [- IP,- qP,- HP+ tF,+ xF,+ pF] }],"backdrop-saturate": [{ "backdrop-saturate": [- IP,- qP,- HP+ tF,+ xF,+ pF] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- IP,- qP,- HP+ tF,+ xF,+ pF] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -34886,56 +34889,56 @@ var pce = (e, t) => {"shadow","transform","none",- qP,- HP+ xF,+ pF] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- IP,+ tF,"initial",- qP,- HP+ xF,+ pF] }],ease: [{ ease: ["linear","initial",_,- qP,- HP+ xF,+ pF] }],delay: [{ delay: [- IP,- qP,- HP+ tF,+ xF,+ pF] }],animate: [{ animate: ["none",v,- qP,- HP+ xF,+ pF] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- qP,- HP+ xF,+ pF] }],"perspective-origin": [{ "perspective-origin": x() }],- rotate: [{ rotate: de() }],- "rotate-x": [{ "rotate-x": de() }],- "rotate-y": [{ "rotate-y": de() }],- "rotate-z": [{ "rotate-z": de() }],- scale: [{ scale: fe() }],- "scale-x": [{ "scale-x": fe() }],- "scale-y": [{ "scale-y": fe() }],- "scale-z": [{ "scale-z": fe() }],+ rotate: [{ rotate: ue() }],+ "rotate-x": [{ "rotate-x": ue() }],+ "rotate-y": [{ "rotate-y": ue() }],+ "rotate-z": [{ "rotate-z": ue() }],+ scale: [{ scale: de() }],+ "scale-x": [{ "scale-x": de() }],+ "scale-y": [{ "scale-y": de() }],+ "scale-z": [{ "scale-z": de() }],"scale-3d": ["scale-3d"],- skew: [{ skew: pe() }],- "skew-x": [{ "skew-x": pe() }],- "skew-y": [{ "skew-y": pe() }],+ skew: [{ skew: fe() }],+ "skew-x": [{ "skew-x": fe() }],+ "skew-y": [{ "skew-y": fe() }],transform: [{ transform: [- qP,- HP,+ xF,+ pF,"","none","gpu",@@ -34943,19 +34946,19 @@ var pce = (e, t) => {] }],"transform-origin": [{ origin: x() }],"transform-style": [{ transform: ["3d", "flat"] }],- translate: [{ translate: me() }],- "translate-x": [{ "translate-x": me() }],- "translate-y": [{ "translate-y": me() }],- "translate-z": [{ "translate-z": me() }],+ translate: [{ translate: pe() }],+ "translate-x": [{ "translate-x": pe() }],+ "translate-y": [{ "translate-y": pe() }],+ "translate-z": [{ "translate-z": pe() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- LP,- qP,- HP+ nF,+ xF,+ pF] }],- accent: [{ accent: P() }],+ accent: [{ accent: F() }],appearance: [{ appearance: ["none", "auto"] }],- "caret-color": [{ caret: P() }],+ "caret-color": [{ caret: F() }],"color-scheme": [{ scheme: ["normal","dark",@@ -35001,8 +35004,8 @@ var pce = (e, t) => {"nwse-resize","zoom-in","zoom-out",- qP,- HP+ xF,+ pF] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -35013,8 +35016,8 @@ var pce = (e, t) => {"x"] }],"scroll-behavior": [{ scroll: ["auto", "smooth"] }],- "scrollbar-thumb-color": [{ "scrollbar-thumb": P() }],- "scrollbar-track-color": [{ "scrollbar-track": P() }],+ "scrollbar-thumb-color": [{ "scrollbar-thumb": F() }],+ "scrollbar-track-color": [{ "scrollbar-track": F() }],"scrollbar-gutter": [{ "scrollbar-gutter": ["auto","stable",@@ -35088,17 +35091,17 @@ var pce = (e, t) => {"scroll","contents","transform",- qP,- HP+ xF,+ pF] }],- fill: [{ fill: ["none", ...P()] }],+ fill: [{ fill: ["none", ...F()] }],"stroke-w": [{ stroke: [- IP,- JP,- UP,- WP+ tF,+ SF,+ mF,+ hF] }],- stroke: [{ stroke: ["none", ...P()] }],+ stroke: [{ stroke: ["none", ...F()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]},conflictingClassGroups: {@@ -35354,16 +35357,16 @@ var pce = (e, t) => {"selection"]};-}, tle = (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), lF(e.theme, i.theme), lF(e.classGroups, i.classGroups), lF(e.conflictingClassGroups, i.conflictingClassGroups), lF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), uF(e, i, "postfixLookupClassGroups"), uF(e, i, "orderSensitiveModifiers"), e), sF = (e, t, n) => {+}, BF = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (VF(e, "cacheSize", t), VF(e, "prefix", n), VF(e, "experimentalParseClassName", r), HF(e.theme, a.theme), HF(e.classGroups, a.classGroups), HF(e.conflictingClassGroups, a.conflictingClassGroups), HF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), VF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), VF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), UF(e.theme, i.theme), UF(e.classGroups, i.classGroups), UF(e.conflictingClassGroups, i.conflictingClassGroups), UF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), WF(e, i, "postfixLookupClassGroups"), WF(e, i, "orderSensitiveModifiers"), e), VF = (e, t, n) => {n !== void 0 && (e[t] = n);-}, cF = (e, t) => {- if (t) for (let n in t) sF(e, n, t[n]);-}, lF = (e, t) => {- if (t) for (let n in t) uF(e, t, n);-}, uF = (e, t, n) => {+}, HF = (e, t) => {+ if (t) for (let n in t) VF(e, n, t[n]);+}, UF = (e, t) => {+ if (t) for (let n in t) WF(e, t, n);+}, WF = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, nle = (e, ...t) => typeof e == "function" ? jP(oF, e, ...t) : jP(() => tle(oF(), e), ...t), rle = [+}, Cce = (e, ...t) => typeof e == "function" ? UP(zF, e, ...t) : UP(() => BF(zF(), e), ...t), wce = ["large-title","display-1","display-2",@@ -35377,18 +35380,18 @@ var pce = (e, t) => {"body-2","caption-1","caption-2"-], ile = [+], Tce = ["regular","medium","semibold","bold"-], dF = nle({ extend: { classGroups: { "font-size": [{ text: rle.flatMap((e) => ile.map((t) => `${e}-${t}`)) }] } } });-function fF(e) {+], GF = Cce({ extend: { classGroups: { "font-size": [{ text: wce.flatMap((e) => Tce.map((t) => `${e}-${t}`)) }] } } });+function KF(e) {return e;}//#endregion//#region src/react/components/pill-tab.tsx-var ale = typeof window < "u" ? D.useLayoutEffect : D.useEffect, pF = fF({+var Ece = typeof window < "u" ? D.useLayoutEffect : D.useEffect, qF = KF({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -35410,9 +35413,9 @@ var ale = typeof window < "u" ? D.useLayoutEffect : D.useEffect, pF = fF({gray: "text-text-primary"}});-function mF({ children: e, className: t, ref: n, container: r, ...i }) {+function JF({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, D.useRef)(null), [o, s] = (0, D.useState)(null);- ale(() => {+ Ece(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -35448,7 +35451,7 @@ function mF({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: dF("pointer-events-none absolute left-0 top-0", pF.radius[o.variant], pF.thumb[o.variant]),+ className: GF("pointer-events-none absolute left-0 top-0", qF.radius[o.variant], qF.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -35459,44 +35462,44 @@ function mF({ children: e, className: t, ref: n, container: r, ...i }) {return r === void 0 ? /* @__PURE__ */ (0, O.jsxs)("div", {ref: c,role: "group",- className: dF("relative inline-flex items-center gap-1", t),+ className: GF("relative inline-flex items-center gap-1", t),...i,children: [l, e]- }) : r ? (0, Et.createPortal)(l, r) : null;+ }) : r ? (0, Tt.createPortal)(l, r) : null;}//#endregion//#region src/react/manage-header/manage-header-island.tsx-var hF = null, gF = null, _F = /* @__PURE__ */ new Set();-function ole(e) {- return _F.add(e), () => {- _F.delete(e);+var YF = null, XF = null, ZF = /* @__PURE__ */ new Set();+function Dce(e) {+ return ZF.add(e), () => {+ ZF.delete(e);};}-function sle() {- for (let e of [..._F]) e();+function Oce() {+ for (let e of [...ZF]) e();}-var cle = { render(e) {- gF = e, (0, Et.flushSync)(sle);+var kce = { render(e) {+ XF = e, (0, Tt.flushSync)(Oce);} };-function lle(e) {- return hF = e, gF = null, cle;+function Ace(e) {+ return YF = e, XF = null, kce;}-function ule() {- let e = (0, D.useSyncExternalStore)(ole, () => gF);- return hF && e ? /* @__PURE__ */ (0, O.jsx)(dle, {- host: hF,+function jce() {+ let e = (0, D.useSyncExternalStore)(Dce, () => XF);+ return YF && e ? /* @__PURE__ */ (0, O.jsx)(Mce, {+ host: YF,props: e}) : null;}-function dle({ host: e, props: t }) {- let n = gP(t);+function Mce({ host: e, props: t }) {+ let n = iP(t);return n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(fle, {+ /* @__PURE__ */ (0, O.jsx)(Nce, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, O.jsx)(ple, {+ n.crumb ? /* @__PURE__ */ (0, O.jsx)(Pce, {host: e,label: n.crumb}) : null,@@ -35505,13 +35508,13 @@ function dle({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, O.jsx)(mle, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, O.jsx)(Fce, {host: e,lede: n.lede})] }) : null;}-function fle({ host: e, pressed: t, menu: n }) {+function Nce({ host: e, pressed: t, menu: n }) {let r = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -35521,7 +35524,7 @@ function fle({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, O.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, O.jsx)(mF, {+ children: /* @__PURE__ */ (0, O.jsx)(JF, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -35535,13 +35538,13 @@ function fle({ host: e, pressed: t, menu: n }) {"data-pill-selected": a ? "" : void 0,"data-pill-variant": "gray",onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, O.jsx)(bP, { name: i }), /* @__PURE__ */ (0, O.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, O.jsx)(uP, { name: i }), /* @__PURE__ */ (0, O.jsx)("span", { children: r })]}, n);})})});}-function ple({ host: e, label: t }) {+function Pce({ host: e, label: t }) {return /* @__PURE__ */ (0, O.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -35551,20 +35554,20 @@ function ple({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, O.jsx)("li", {+ }), /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, O.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, O.jsx)("span", { children: t })})] })});}-function mle({ host: e, lede: t }) {+function Fce({ host: e, lede: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: yP }- }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(hle, { text: t.text }), t.total ? /* @__PURE__ */ (0, O.jsx)("button", {+ dangerouslySetInnerHTML: { __html: sP }+ }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Ice, { text: t.text }), t.total ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -35574,7 +35577,7 @@ function mle({ host: e, lede: t }) {}) : null] })});}-function hle({ text: e }) {+function Ice({ text: e }) {let t = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {us(t.current, e);@@ -35585,20 +35588,20 @@ function hle({ text: e }) {}//#endregion//#region src/core/jav-title.ts-var gle = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, _le = (e, t = e?.name) => {+var Lce = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Rce = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(gle, "") : n;-}, vle = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), yle = (e) => {+ return e?.is_jav ? n.replace(Lce, "") : n;+}, zce = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Bce = (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(zce) || t[0] || "";};-function vF(e, t = e?.name) {- let n = _le(e, t), r = String(e?.code || "").trim().toUpperCase();+function QF(e, t = e?.name) {+ let n = Rce(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 = yle(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 = Bce(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) => ["中字","无码","无码破解"@@ -35609,27 +35612,27 @@ function vF(e, t = e?.name) {badges: f};}-var yF = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = vF(e, t);+var $F = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = QF(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function bF(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = vF(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">${z(r)}</span>` : ""}`;+function eI(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = QF(e, t);+ if (!n) return B(r);+ let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${B(e)}</small>`).join("");+ return `<span class="ui-javidentity"><strong class="ui-javcode">${B(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${B(r)}</span>` : ""}`;}//#endregion//#region src/react/activity/tasks.ts-var xF = "/api/tasks", SF = ["tasks"], ble = (e, t) => B(`${xF}?${new URLSearchParams({+var tI = "/api/tasks", nI = ["tasks"], Vce = (e, t) => V(`${tI}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function xle(...e) {+function Hce(...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) => {@@ -35637,26 +35640,26 @@ function xle(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var Sle = 2e3, Cle = 1e4, CF = (e) => e?.running?.length ? Sle : Cle, wF = (e) => B(xF, e);-async function wle(e) {- await H.fetchQuery({- queryKey: SF,- queryFn: () => wF(e)+var Uce = 2e3, Wce = 1e4, rI = (e) => e?.running?.length ? Uce : Wce, iI = (e) => V(tI, e);+async function Gce(e) {+ await U.fetchQuery({+ queryKey: nI,+ queryFn: () => iI(e)});}-var Tle = {+var Kce = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, Ele = {+}, qce = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, Dle = (e) => Ele[e] || e, TF = {+}, Jce = (e) => qce[e] || e, aI = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -35733,7 +35736,7 @@ var Tle = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, Ole = [+}, Yce = ["gone_count","unclear_count","source_failed",@@ -35755,14 +35758,14 @@ var Tle = {"paused_count","miss","incomplete"-], kle = ["face_match_unavailable"], EF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || kle.some((t) => e.result_summary?.[t] === !0) || Ole.some((t) => Number(e.result_summary?.[t]) > 0);-function Ale(e) {+], Xce = ["face_match_unavailable"], oI = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Xce.some((t) => e.result_summary?.[t] === !0) || Yce.some((t) => Number(e.result_summary?.[t]) > 0);+function Zce(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 DF = /* @__PURE__ */ new Set(["library-processing"]);-function OF(e, t = !0) {- if (!EF(e) && e.status !== "failed" || DF.has(e.task_key) && !t) return null;+var sI = /* @__PURE__ */ new Set(["library-processing"]);+function Qce(e, t = !0) {+ if (!oI(e) && e.status !== "failed" || sI.has(e.task_key) && !t) return null;let n = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],@@ -35780,12 +35783,12 @@ function OF(e, t = !0) {label: n[1]} : null;}-function kF(e) {+function $ce(e) {let t = /* @__PURE__ */ new Map();- for (let n of e) DF.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) sI.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 AF(e) {+function ele(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -35794,7 +35797,7 @@ function AF(e) {}return t;}-function jF(e, t) {+function tle(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -35816,12 +35819,12 @@ function jF(e, t) {}return n;}-var MF = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !EF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), NF = (e) => e.status === "pending" || e.status === "running";-function PF(e) {+var nle = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !oI(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), cI = (e) => e.status === "pending" || e.status === "running";+function rle(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, RF(e.error) || qF(o) || (NF(e) && i > 0 ? `${IF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, dI(e.error) || ule(o) || (cI(e) && i > 0 ? `${uI(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function FF(e) {+function lI(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -35830,19 +35833,19 @@ function FF(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function IF(e, t) {+function uI(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function LF(e) {+function ile(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 RF(e) {- let t = LF(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);- return n ? Wt(n[1]) : t;+function dI(e) {+ let t = ile(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+ return n ? Ut(n[1]) : t;}-var zF = {+var ale = {没有新写法: "未发现新别名",已装上: "已保存资料图片",已装着认得准的小图: "已保留身份核对通过的小尺寸图片",@@ -35856,11 +35859,11 @@ var zF = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, BF = {+}, fI = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, VF = {+}, ole = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -35871,8 +35874,8 @@ var zF = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, HF = (e) => zF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${BF[t.toLowerCase()]} 资料页` : `已保存来自 ${BF[t.toLowerCase()]} 的资料`);-function UF(e) {+}, sle = (e) => ale[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${fI[t.toLowerCase()]} 资料页` : `已保存来自 ${fI[t.toLowerCase()]} 的资料`);+function pI(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -35882,7 +35885,7 @@ function UF(e) {minute: "2-digit"});}-var WF = /* @__PURE__ */ new Set([+var cle = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -35891,14 +35894,14 @@ var WF = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function GF(e) {- let t = KF(e);+function mI(e) {+ let t = lle(e);return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;}-function KF(e) {- return Object.entries(e || {}).filter(([e, t]) => !WF.has(e) && (e in TF || 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" ? RF(String(t)) : e === "outcome" || e === "result" ? HF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${TF[e]} ${vn(Number(t))}` : e === "operation" ? `操作:${VF[String(t)] || "批量操作"}` : `${TF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function lle(e) {+ return Object.entries(e || {}).filter(([e, t]) => !cle.has(e) && (e in aI || 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" ? dI(String(t)) : e === "outcome" || e === "result" ? sle(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${aI[e]} ${_n(Number(t))}` : e === "operation" ? `操作:${ole[String(t)] || "批量操作"}` : `${aI[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var qF = (e) => GF(e).join(" · "), JF = fF({+var ule = (e) => mI(e).join(" · "), hI = KF({base: ["relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg","bg-background-primary-default text-foreground-icon-primary",@@ -35919,21 +35922,21 @@ var qF = (e) => GF(e).join(" · "), JF = fF({small: "size-4 shrink-0"}});-function YF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function gI({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, O.jsx)("button", {ref: i,type: r,- className: dF(JF.base, JF.size[t], n),+ className: GF(hI.base, hI.size[t], n),...a,children: /* @__PURE__ */ (0, O.jsx)(e, {- className: JF.icon[t],+ className: hI.icon[t],"aria-hidden": !0})});}//#endregion//#region src/react/components/glass-drift.tsx-function XF() {+function _I() {return /* @__PURE__ */ (0, O.jsxs)("span", {"data-glass-drift": "","aria-hidden": "true",@@ -35948,7 +35951,7 @@ function XF() {}//#endregion//#region src/react/components/use-stuck.ts-function ZF(e) {+function vI(e) {(0, D.useEffect)(() => {let t = e.current;if (!t) return;@@ -35966,7 +35969,7 @@ function ZF(e) {}//#endregion//#region src/react/components/use-horizontal-scroller.ts-function QF(e, t = !0) {+function yI(e, t = !0) {let [n, r] = (0, D.useState)(null), i = (0, D.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);@@ -35981,17 +35984,17 @@ function QF(e, t = !0) {}//#endregion//#region src/react/components/filter-glass.tsx-var $F = ({ className: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var dle = ({ className: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,className: e,dangerouslySetInnerHTML: { __html: ns("正在处理") }});-function eI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(YF, {+function bI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsx)(gI, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? $F : t,+ icon: n && r === "spinner" ? dle : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -36001,9 +36004,9 @@ function eI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function tI({ title: e, children: t }) {+function fle({ title: e, children: t }) {let n = (0, D.useRef)(null);- return ZF(n), /* @__PURE__ */ (0, O.jsxs)("div", {+ return vI(n), /* @__PURE__ */ (0, O.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -36016,20 +36019,20 @@ function tI({ title: e, children: t }) {children: e}),t,- /* @__PURE__ */ (0, O.jsx)(XF, {})+ /* @__PURE__ */ (0, O.jsx)(_I, {})]});}-function nI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {- let d = (0, D.useRef)(null), f = QF(), p = QF(u);- return ZF(d), /* @__PURE__ */ (0, O.jsxs)("div", {+function xI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {+ let d = (0, D.useRef)(null), f = yI(), p = yI(u);+ return vI(d), /* @__PURE__ */ (0, O.jsxs)("div", {ref: d,role: "group","aria-label": e,"data-filter-glass": !0,"data-glass-pane": "",...c,- className: dF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: GF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, O.jsx)("div", {@@ -36037,37 +36040,37 @@ function nI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNarole: "group","aria-label": t,"data-filter-row": "top",- className: dF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: GF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),children: n}),/* @__PURE__ */ (0, O.jsx)("div", {ref: p,"data-filter-row": "bottom","aria-busy": l || void 0,- className: dF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: GF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r}),- /* @__PURE__ */ (0, O.jsx)(XF, {})+ /* @__PURE__ */ (0, O.jsx)(_I, {})]});}-var rI = "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 ple = "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 SI({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: dF(rI, r),+ className: GF(ple, r),onClick: n,children: e});}-var aI = "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 oI({ children: e, onPress: t, busy: n = !1 }) {+var mle = "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 CI({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glass-pill": "",- className: aI,+ className: mle,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -36078,13 +36081,13 @@ function oI({ children: e, onPress: t, busy: n = !1 }) {}//#endregion//#region src/react/components/use-view-glide.ts-var sI = (e, t) => [+var wI = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function cI(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;@@ -36108,17 +36111,17 @@ function cI(e, t, n) {h: e.offsetHeight};}-function lI(e, t, n, r, { axis: i = "x" } = {}) {+function EI(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, D.useRef)(null), o = (0, D.useCallback)((r, o) => {let s = e.current, c = t.current, l = s?.parentElement;if (!s) return;- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? cI(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) {ic(s), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && sI(f, d)) && nc(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && wI(f, d)) && nc(s, o ? f : null, d, i);}, [e,t,@@ -36139,8 +36142,8 @@ function lI(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 ? cI(o, r, i) : null, l = a.current;- (!s || !l || !sI(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 || !wI(s, l)) && c();}), u = t.current;if (u && r) {l.observe(u);@@ -36172,7 +36175,7 @@ function lI(e, t, n, r, { axis: i = "x" } = {}) {}//#endregion//#region src/react/boardui/components/base/buttons/button.tsx-var uI = fF({+var DI = KF({base: ["inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden","font-sans select-none cursor-pointer",@@ -36231,40 +36234,40 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, O.jsxs)("button", {ref: c,type: s,- className: dF(uI.base, uI.size[t], uI.variant[e], n && uI.iconOnlySize[t], o),+ className: GF(DI.base, DI.size[t], DI.variant[e], n && DI.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: uI.icon[t],+ className: DI.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: uI.label[t],+ className: DI.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, O.jsx)(i, {- className: uI.icon[t],+ className: DI.icon[t],"aria-hidden": !0}) : null]});}-function dI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function OI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, O.jsxs)("a", {ref: s,- className: dF(uI.base, uI.size[t], uI.variant[e], n && uI.iconOnlySize[t], o),+ className: GF(DI.base, DI.size[t], DI.variant[e], n && DI.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: uI.icon[t],+ className: DI.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: uI.label[t],+ className: DI.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, O.jsx)(i, {- className: uI.icon[t],+ className: DI.icon[t],"aria-hidden": !0}) : null]@@ -36272,12 +36275,12 @@ function dI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead}//#endregion//#region node_modules/react-aria-components/dist/private/utils.mjs-var fI = Symbol("default");-function pI({ values: e, children: t }) {+var kI = Symbol("default");+function AI({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ D.createElement(n.Provider, { value: r }, t);return t;}-function mI(e) {+function jI(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, D.useMemo)(() => {let e, l, u;@@ -36311,11 +36314,11 @@ function mI(e) {c]);}-function hI(e, t) {+function MI(e, t) {let n = (0, D.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || fI;+ let e = t || kI;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}.`);@@ -36324,8 +36327,8 @@ function hI(e, t) {}return n;}-function gI(e, t, n) {- let { ref: r, ...i } = hI(n, e.slot) || {}, a = Rx((0, D.useMemo)(() => kx(t, r), [t, r])), o = K(i, e);+function NI(e, t, n) {+ let { ref: r, ...i } = MI(n, e.slot) || {}, a = vx((0, D.useMemo)(() => lx(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,@@ -36343,42 +36346,42 @@ function gI(e, t, n) {...e.style}), [o, a];}-function _I(e = !0) {+function PI(e = !0) {let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return bb(() => {+ return sb(() => {r.current || n(!1);}, []), [i, t];}-function vI(e) {+function FI(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function yI(e, t, n) {- let { render: r, ...i } = t, a = (0, D.useRef)(null), o = (0, D.useMemo)(() => kx(n, a), [n, a]);- bb(() => {}, [e, r]);+function hle(e, t, n) {+ let { render: r, ...i } = t, a = (0, D.useRef)(null), o = (0, D.useMemo)(() => lx(n, a), [n, a]);+ sb(() => {}, [e, r]);let s = {...i,ref: o};return r ? r(s, void 0) : /*#__PURE__*/ D.createElement(e, s);}-var bI = {}, xI = new Proxy({}, { get(e, t) {+var II = {}, LI = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = bI[t];- return n || (n = /*#__PURE__*/ (0, D.forwardRef)(yI.bind(null, t)), bI[t] = n), n;-} }), SI = /*#__PURE__*/ (0, D.createContext)(null), CI = /*#__PURE__*/ (0, D.createContext)(null), wI = /*#__PURE__*/ (0, D.createContext)(null), TI = {+ let n = II[t];+ return n || (n = /*#__PURE__*/ (0, D.forwardRef)(hle.bind(null, t)), II[t] = n), n;+} }), RI = /*#__PURE__*/ (0, D.createContext)(null), zI = /*#__PURE__*/ (0, D.createContext)(null), BI = /*#__PURE__*/ (0, D.createContext)(null), VI = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return EI(e, null, t);+ return HI(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return EI(e, t, n);+ return HI(e, t, n);}};-function EI(e, t, n) {- return Zy({+function HI(e, t, n) {+ return Uy({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -36388,11 +36391,11 @@ function EI(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, DI(e, t, n));+ }), r, gle(e, t, n));}});}-function DI(e, t, n) {+function gle(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);@@ -36411,25 +36414,25 @@ function DI(e, t, n) {}return s;}-var OI = /*#__PURE__*/ (0, D.createContext)(TI);-function kI(e) {+var UI = /*#__PURE__*/ (0, D.createContext)(VI);+function WI(e) {return (0, D.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}//#endregion//#region node_modules/react-aria-components/dist/private/Label.mjs-var AI = /*#__PURE__*/ (0, D.createContext)({}), jI = /*#__PURE__*/ Ux(function(e, t) {- [e, t] = gI(e, t, AI);- let { elementType: n = "label", ...r } = e, i = xI[n];+var GI = /*#__PURE__*/ (0, D.createContext)({}), KI = /*#__PURE__*/ Cx(function(e, t) {+ [e, t] = NI(e, t, GI);+ let { elementType: n = "label", ...r } = e, i = LI[n];return /*#__PURE__*/ D.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), MI = /*#__PURE__*/ (0, D.createContext)(null), NI = /*#__PURE__*/ (0, D.createContext)({}), PI = /*#__PURE__*/ Ux(function(e, t) {- [e, t] = gI(e, t, NI);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = iie(e, t);- i = II(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = LT(e), { hoverProps: l, isHovered: u } = VT({+}), _le = /*#__PURE__*/ (0, D.createContext)(null), qI = /*#__PURE__*/ (0, D.createContext)({}), JI = /*#__PURE__*/ Cx(function(e, t) {+ [e, t] = NI(e, t, qI);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = gie(e, t);+ i = yle(i, r);+ let { focusProps: o, isFocused: s, isFocusVisible: c } = oT(e), { hoverProps: l, isHovered: u } = uT({...e,isDisabled: e.isDisabled || r}), d = {@@ -36439,24 +36442,24 @@ var AI = /*#__PURE__*/ (0, D.createContext)({}), jI = /*#__PURE__*/ Ux(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = mI({+ }, f = jI({...e,values: d,defaultClassName: "react-aria-Button"- }), p = Dx(i.id), m = Dx(), h = i["aria-labelledby"];+ }), p = sx(i.id), m = sx(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, D.useRef)(r);(0, D.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && SC(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && sC(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = jS(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ D.createElement(xI.button, {+ let _ = yS(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ D.createElement(LI.button, {...K(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -36470,62 +36473,62 @@ var AI = /*#__PURE__*/ (0, D.createContext)({}), jI = /*#__PURE__*/ Ux(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ D.createElement(MI.Provider, { value: { id: m } }, f.children));-}), FI = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function II(e, t) {+ }, /*#__PURE__*/ D.createElement(_le.Provider, { value: { id: m } }, f.children));+}), vle = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function yle(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !FI.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !vle.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}//#endregion//#region node_modules/react-aria-components/dist/private/Heading.mjs-var LI = /*#__PURE__*/ (0, D.createContext)({}), RI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = gI(e, t, LI);- let { children: n, level: r = 3, className: i, ...a } = e, o = xI[`h${r}`];+var YI = /*#__PURE__*/ (0, D.createContext)({}), XI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = NI(e, t, YI);+ let { children: n, level: r = 3, className: i, ...a } = e, o = LI[`h${r}`];return /*#__PURE__*/ D.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), zI = /*#__PURE__*/ (0, D.createContext)({}), BI = /*#__PURE__*/ Ux(function(e, t) {- [e, t] = gI(e, t, zI);- let { elementType: n = "span", ...r } = e, i = xI[n];+}), ZI = /*#__PURE__*/ (0, D.createContext)({}), ble = /*#__PURE__*/ Cx(function(e, t) {+ [e, t] = NI(e, t, ZI);+ let { elementType: n = "span", ...r } = e, i = LI[n];return /*#__PURE__*/ D.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), VI = /*#__PURE__*/ (0, D.createContext)(null), HI = /*#__PURE__*/ (0, D.createContext)(null), UI = /*#__PURE__*/ (0, D.createContext)(null), WI = /*#__PURE__*/ (0, D.createContext)(null), GI = /*#__PURE__*/ (0, D.createContext)(null), KI = /*#__PURE__*/ (0, D.createContext)(null);-function qI(e, t) {- let { validationBehavior: n } = hI(HI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useContext)(GI), a = Rx((0, D.useMemo)(() => kx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...vI(e),+}), QI = /*#__PURE__*/ (0, D.createContext)(null), $I = /*#__PURE__*/ (0, D.createContext)(null), eL = /*#__PURE__*/ (0, D.createContext)(null), tL = /*#__PURE__*/ (0, D.createContext)(null), xle = /*#__PURE__*/ (0, D.createContext)(null), nL = /*#__PURE__*/ (0, D.createContext)(null);+function Sle(e, t) {+ let { validationBehavior: n } = MI($I) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useContext)(xle), a = vx((0, D.useMemo)(() => lx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...FI(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? sw(o, i, a) : $C(o, ow(e), a), a];+ return [i ? zie(o, i, a) : OC(o, NC(e), a), a];}-var JI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+var Cle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = gI(r, t, UI);- let [i, a] = qI(e, n);- return /*#__PURE__*/ D.createElement(KI.Provider, { value: {+ [e, t] = NI(r, t, eL);+ let [i, a] = Sle(e, n);+ return /*#__PURE__*/ D.createElement(nL.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ D.createElement(YI, {+ } }, /*#__PURE__*/ D.createElement(wle, {...e,ref: t}));-}), YI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, D.useContext)(KI), { isFocused: p, isFocusVisible: m, focusProps: h } = LT(), g = a || o, { hoverProps: _, isHovered: v } = VT({+}), wle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, D.useContext)(nL), { isFocused: p, isFocusVisible: m, focusProps: h } = oT(), g = a || o, { hoverProps: _, isHovered: v } = uT({...e,isDisabled: g- }), y = mI({+ }), y = jI({...e,defaultClassName: u,values: {@@ -36540,8 +36543,8 @@ var JI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = jS(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(xI.label, {+ }), b = yS(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(LI.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -36555,20 +36558,20 @@ var JI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": f || void 0- }, /*#__PURE__*/ D.createElement(yw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(HC, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {...K(r, h),ref: l})), y.children);-}), XI = /*#__PURE__*/ (0, D.createContext)({}), ZI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = gI(e, t, XI);+}), rL = /*#__PURE__*/ (0, D.createContext)({}), iL = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = NI(e, t, rL);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 } = LT({ within: !0 }), m = mI({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = oT({ within: !0 }), m = jI({...e,values: {isHovered: u,@@ -36579,7 +36582,7 @@ var JI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ D.createElement(xI.div, {+ return /*#__PURE__*/ D.createElement(LI.div, {...K(c, p, l),...m,ref: t,@@ -36592,18 +36595,18 @@ var JI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), QI = /*#__PURE__*/ (0, D.createContext)({}), $I = (e) => {+}), aL = /*#__PURE__*/ (0, D.createContext)({}), Tle = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, eL = /*#__PURE__*/ Ux(function(e, t) {- [e, t] = gI(e, t, QI);- let { hoverProps: n, isHovered: r } = VT({+}, Ele = /*#__PURE__*/ Cx(function(e, t) {+ [e, t] = NI(e, t, aL);+ let { hoverProps: n, isHovered: r } = uT({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = LT({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = oT({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = mI({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = jI({...e,values: {isHovered: r,@@ -36614,8 +36617,8 @@ var JI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ D.createElement(xI.input, {- ...K($I(e), o, n),+ return /*#__PURE__*/ D.createElement(LI.input, {+ ...K(Tle(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -36624,24 +36627,24 @@ var JI = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), tL = 0, nL = 100, rL = 1;-function iL(e) {- let { isDisabled: t = !1, minValue: n = tL, maxValue: r = nL, numberFormatter: i, step: a = rL, orientation: o = "horizontal" } = e, s = (0, D.useMemo)(() => {+}), Dle = 0, Ole = 100, kle = 1;+function Ale(e) {+ let { isDisabled: t = !1, minValue: n = Dle, maxValue: r = Ole, numberFormatter: i, step: a = kle, orientation: o = "horizontal" } = e, s = (0, D.useMemo)(() => {let e = (r - n) / 10;- return e = uw(e, 0, e + a, a), Math.max(e, a);+ return e = IC(e, 0, e + a, a), Math.max(e, a);}, [a,r,n- ]), c = (0, D.useCallback)((e) => e?.map((t, i) => uw(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [+ ]), c = (0, D.useCallback)((e) => e?.map((t, i) => IC(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [n,r,a- ]), l = (0, D.useMemo)(() => c(oL(e.value)), [e.value, c]), u = (0, D.useMemo)(() => c(oL(e.defaultValue) ?? [n]), [+ ]), l = (0, D.useMemo)(() => c(sL(e.value)), [e.value, c]), u = (0, D.useMemo)(() => c(sL(e.defaultValue) ?? [n]), [e.defaultValue,n,c- ]), d = sL(e.value, e.defaultValue, e.onChange), f = sL(e.value, e.defaultValue, e.onChangeEnd), [p, m] = aw(l, u, d), [h] = (0, D.useState)(p), [g, _] = (0, D.useState)(Array(p.length).fill(!1)), v = (0, D.useRef)(Array(p.length).fill(!0)), [y, b] = (0, D.useState)(void 0), x = (0, D.useRef)(p), S = (0, D.useRef)(g), C = (e) => {+ ]), d = cL(e.value, e.defaultValue, e.onChange), f = cL(e.value, e.defaultValue, e.onChangeEnd), [p, m] = MC(l, u, d), [h] = (0, D.useState)(p), [g, _] = (0, D.useState)(Array(p.length).fill(!1)), v = (0, D.useRef)(Array(p.length).fill(!0)), [y, b] = (0, D.useState)(void 0), x = (0, D.useRef)(p), S = (0, D.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -36664,98 +36667,98 @@ function iL(e) {function j(e, n) {if (t || !k(e)) return;let r = E(e), i = O(e);- n = uw(n, r, i, a);- let o = aL(x.current, e, n);+ n = IC(n, r, i, a);+ let o = oL(x.current, e, n);C(o);}function M(e, n) {if (t || !k(e)) return;n && (x.current = p);let r = S.current[e];- S.current = aL(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);+ S.current = oL(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);}- let ee = (0, D.useRef)(null);- function N(e = p) {+ let N = (0, D.useRef)(null);+ function P(e = p) {switch (typeof e == "number" && (e = [e]), e.length) {case 0: return "";case 1: return i.format(e[0]);case 2: return i.formatRange(e[0], e[1]);default: {- let t = e.map((e) => i.format(e)), n = ee.current;- return (!n || n.resolvedOptions().locale !== i.resolvedOptions().locale) && (n = ee.current = new Intl.ListFormat(i.resolvedOptions().locale, { type: "unit" })), n.format(t);+ let t = e.map((e) => i.format(e)), n = N.current;+ return (!n || n.resolvedOptions().locale !== i.resolvedOptions().locale) && (n = N.current = new Intl.ListFormat(i.resolvedOptions().locale, { type: "unit" })), n.format(t);}}}- function te(e, t) {- j(e, ne(t));+ function ee(e, t) {+ j(e, te(t));}- function P(e) {+ function F(e) {return Math.round((e - n) / a) * a + n;}- function ne(e) {- return cw(P(e * (r - n) + n), n, r);+ function te(e) {+ return PC(F(e * (r - n) + n), n, r);}- function F(e, t = 1) {+ function I(e, t = 1) {let i = Math.max(t, a);- j(e, uw(p[e] + i, n, r, a));+ j(e, IC(p[e] + i, n, r, a));}- function re(e, t = 1) {+ function ne(e, t = 1) {let i = Math.max(t, a);- j(e, uw(p[e] - i, n, r, a));+ j(e, IC(p[e] - i, n, r, a));}return {values: p,defaultValues: e.defaultValue === void 0 ? h : u,getThumbValue: (e) => p[e],setThumbValue: j,- setThumbPercent: te,+ setThumbPercent: ee,isThumbDragging: (e) => g[e],setThumbDragging: M,focusedThumb: y,setFocusedThumb: b,getThumbPercent: (e) => T(p[e]),getValuePercent: T,- getThumbValueLabel: (e) => N(p[e]),- getFormattedValue: N,+ getThumbValueLabel: (e) => P(p[e]),+ getFormattedValue: P,getThumbMinValue: E,getThumbMaxValue: O,- getPercentValue: ne,+ getPercentValue: te,isThumbEditable: k,setThumbEditable: A,- incrementThumb: F,- decrementThumb: re,+ incrementThumb: I,+ decrementThumb: ne,step: a,pageSize: s,orientation: o,isDisabled: t};}-function aL(e, t, n) {+function oL(e, t, n) {return e[t] === n ? e : [...e.slice(0, t),n,...e.slice(t + 1)];}-function oL(e) {+function sL(e) {if (e != null) return Array.isArray(e) ? e : [e];}-function sL(e, t, n) {+function cL(e, t, n) {return (r) => {typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);};}//#endregion//#region node_modules/react-aria-components/dist/private/Slider.mjs-var jle = /*#__PURE__*/ (0, D.createContext)(null), cL = /*#__PURE__*/ (0, D.createContext)(null), lL = /*#__PURE__*/ (0, D.createContext)(null), Mle = /*#__PURE__*/ (0, D.createContext)(null), Nle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = gI(e, t, jle);- let n = (0, D.useRef)(null), r = fie(e.formatOptions), i = iL({+var jle = /*#__PURE__*/ (0, D.createContext)(null), lL = /*#__PURE__*/ (0, D.createContext)(null), uL = /*#__PURE__*/ (0, D.createContext)(null), Mle = /*#__PURE__*/ (0, D.createContext)(null), Nle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = NI(e, t, jle);+ let n = (0, D.useRef)(null), r = Wie(e.formatOptions), i = Ale({...e,numberFormatter: r- }), [a, o] = _I(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = pie({+ }), [a, o] = PI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = Gie({...e,label: o- }, i, n), d = mI({+ }, i, n), d = jI({...e,values: {orientation: i.orientation,@@ -36763,19 +36766,19 @@ var jle = /*#__PURE__*/ (0, D.createContext)(null), cL = /*#__PURE__*/ (0, D.crestate: i},defaultClassName: "react-aria-Slider"- }), f = jS(e, { global: !0 });- return delete f.id, /*#__PURE__*/ D.createElement(pI, { values: [- [cL, i],- [lL, {+ }), f = yS(e, { global: !0 });+ return delete f.id, /*#__PURE__*/ D.createElement(AI, { values: [+ [lL, i],+ [uL, {...c,ref: n}],[Mle, u],- [AI, {+ [GI, {...l,ref: a}]- ] }, /*#__PURE__*/ D.createElement(xI.div, {+ ] }, /*#__PURE__*/ D.createElement(LI.div, {...K(f, d, s),ref: t,slot: e.slot || void 0,@@ -36783,12 +36786,12 @@ var jle = /*#__PURE__*/ (0, D.createContext)(null), cL = /*#__PURE__*/ (0, D.cre"data-disabled": i.isDisabled || void 0}));}), Ple = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = gI(e, t, lL);- let n = (0, D.useContext)(cL), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = VT({+ [e, t] = NI(e, t, uL);+ let n = (0, D.useContext)(lL), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = uT({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = mI({+ }), l = jI({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -36798,7 +36801,7 @@ var jle = /*#__PURE__*/ (0, D.createContext)(null), cL = /*#__PURE__*/ (0, D.crestate: n}});- return /*#__PURE__*/ D.createElement(xI.div, {+ return /*#__PURE__*/ D.createElement(LI.div, {...K(o, s),...l,ref: t,@@ -36807,13 +36810,13 @@ var jle = /*#__PURE__*/ (0, D.createContext)(null), cL = /*#__PURE__*/ (0, D.cre"data-disabled": n.isDisabled || void 0});}), Fle = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, D.useContext)(cL), { ref: i } = hI(lL), { index: a = 0 } = e, o = (0, D.useRef)(null), s = n || o, [c, l] = _I(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = mie({+ let { inputRef: n = null } = e, r = (0, D.useContext)(lL), { ref: i } = MI(uL), { index: a = 0 } = e, o = (0, D.useRef)(null), s = n || o, [c, l] = PI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Kie({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = LT(), { hoverProps: v, isHovered: y } = VT(e), b = mI({+ }, r), { focusProps: g, isFocusVisible: _ } = oT(), { hoverProps: v, isHovered: y } = uT(e), b = jI({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -36824,8 +36827,8 @@ var jle = /*#__PURE__*/ (0, D.createContext)(null), cL = /*#__PURE__*/ (0, D.creisFocusVisible: _,isDisabled: h}- }), x = jS(e, { global: !0 });- return delete x.id, /*#__PURE__*/ D.createElement(xI.div, {+ }), x = yS(e, { global: !0 });+ return delete x.id, /*#__PURE__*/ D.createElement(LI.div, {...K(x, u, v),...b,ref: t,@@ -36838,15 +36841,15 @@ var jle = /*#__PURE__*/ (0, D.createContext)(null), cL = /*#__PURE__*/ (0, D.cre"data-focused": m || void 0,"data-focus-visible": _ || void 0,"data-disabled": h || void 0- }, /*#__PURE__*/ D.createElement(yw, null, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(HC, null, /*#__PURE__*/ D.createElement("input", {ref: s,...K(d, g)- })), /*#__PURE__*/ D.createElement(pI, { values: [[AI, {+ })), /*#__PURE__*/ D.createElement(AI, { values: [[GI, {...f,ref: c}]] }, b.children));-}), uL = {};-uL = {+}), dL = {};+dL = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",@@ -36854,8 +36857,8 @@ uL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var dL = {};-dL = {+var fL = {};+fL = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",@@ -36863,8 +36866,8 @@ dL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var fL = {};-fL = {+var pL = {};+pL = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",@@ -36872,8 +36875,8 @@ fL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var pL = {};-pL = {+var mL = {};+mL = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",@@ -36881,8 +36884,8 @@ pL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var mL = {};-mL = {+var hL = {};+hL = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",@@ -36890,8 +36893,8 @@ mL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var hL = {};-hL = {+var gL = {};+gL = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",@@ -36899,8 +36902,8 @@ hL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs-var gL = {};-gL = {+var _L = {};+_L = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",@@ -36908,8 +36911,8 @@ gL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var _L = {};-_L = {+var vL = {};+vL = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",@@ -36917,8 +36920,8 @@ _L = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var vL = {};-vL = {+var yL = {};+yL = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",@@ -36926,8 +36929,8 @@ vL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var yL = {};-yL = {+var bL = {};+bL = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",@@ -36935,8 +36938,8 @@ yL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var bL = {};-bL = {+var xL = {};+xL = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",@@ -36944,8 +36947,8 @@ bL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var xL = {};-xL = {+var SL = {};+SL = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",@@ -36953,8 +36956,8 @@ xL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var SL = {};-SL = {+var CL = {};+CL = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",@@ -36962,8 +36965,8 @@ SL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var CL = {};-CL = {+var wL = {};+wL = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",@@ -36971,8 +36974,8 @@ CL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var wL = {};-wL = {+var TL = {};+TL = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",@@ -36980,8 +36983,8 @@ wL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var TL = {};-TL = {+var EL = {};+EL = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",@@ -36989,8 +36992,8 @@ TL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var EL = {};-EL = {+var DL = {};+DL = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",@@ -36998,8 +37001,8 @@ EL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var DL = {};-DL = {+var OL = {};+OL = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",@@ -37007,8 +37010,8 @@ DL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var OL = {};-OL = {+var kL = {};+kL = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",@@ -37016,8 +37019,8 @@ OL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var kL = {};-kL = {+var AL = {};+AL = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",@@ -37025,8 +37028,8 @@ kL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var AL = {};-AL = {+var jL = {};+jL = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",@@ -37034,8 +37037,8 @@ AL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var jL = {};-jL = {+var ML = {};+ML = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",@@ -37043,8 +37046,8 @@ jL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var ML = {};-ML = {+var NL = {};+NL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -37052,8 +37055,8 @@ ML = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var NL = {};-NL = {+var PL = {};+PL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -37061,8 +37064,8 @@ NL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var PL = {};-PL = {+var FL = {};+FL = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",@@ -37070,8 +37073,8 @@ PL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var FL = {};-FL = {+var IL = {};+IL = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",@@ -37079,8 +37082,8 @@ FL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var IL = {};-IL = {+var LL = {};+LL = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",@@ -37088,8 +37091,8 @@ IL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var LL = {};-LL = {+var RL = {};+RL = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",@@ -37097,8 +37100,8 @@ LL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var RL = {};-RL = {+var zL = {};+zL = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",@@ -37106,8 +37109,8 @@ RL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var zL = {};-zL = {+var BL = {};+BL = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",@@ -37115,8 +37118,8 @@ zL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var BL = {};-BL = {+var VL = {};+VL = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",@@ -37124,8 +37127,8 @@ BL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var VL = {};-VL = {+var HL = {};+HL = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",@@ -37133,8 +37136,8 @@ VL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var HL = {};-HL = {+var UL = {};+UL = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",@@ -37142,8 +37145,8 @@ HL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var UL = {};-UL = {+var WL = {};+WL = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",@@ -37151,50 +37154,50 @@ UL = {};//#endregion//#region node_modules/react-aria-components/dist/private/intlStrings.mjs-var WL = {};-WL = {- "ar-AE": uL,- "bg-BG": dL,- "cs-CZ": fL,- "da-DK": pL,- "de-DE": mL,- "el-GR": hL,- "en-US": gL,- "es-ES": _L,- "et-EE": vL,- "fi-FI": yL,- "fr-FR": bL,- "he-IL": xL,- "hr-HR": SL,- "hu-HU": CL,- "it-IT": wL,- "ja-JP": TL,- "ko-KR": EL,- "lt-LT": DL,- "lv-LV": OL,- "nb-NO": kL,- "nl-NL": AL,- "pl-PL": jL,- "pt-BR": ML,- "pt-PT": NL,- "ro-RO": PL,- "ru-RU": FL,- "sk-SK": IL,- "sl-SI": LL,- "sr-SP": RL,- "sv-SE": zL,- "tr-TR": BL,- "uk-UA": VL,- "zh-CN": HL,- "zh-TW": UL+var GL = {};+GL = {+ "ar-AE": dL,+ "bg-BG": fL,+ "cs-CZ": pL,+ "da-DK": mL,+ "de-DE": hL,+ "el-GR": gL,+ "en-US": _L,+ "es-ES": vL,+ "et-EE": yL,+ "fi-FI": bL,+ "fr-FR": xL,+ "he-IL": SL,+ "hr-HR": CL,+ "hu-HU": wL,+ "it-IT": TL,+ "ja-JP": EL,+ "ko-KR": DL,+ "lt-LT": OL,+ "lv-LV": kL,+ "nb-NO": AL,+ "nl-NL": jL,+ "pl-PL": ML,+ "pt-BR": NL,+ "pt-PT": PL,+ "ro-RO": FL,+ "ru-RU": IL,+ "sk-SK": LL,+ "sl-SI": RL,+ "sr-SP": zL,+ "sv-SE": BL,+ "tr-TR": VL,+ "uk-UA": HL,+ "zh-CN": UL,+ "zh-TW": WL};//#endregion//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var GL = /*#__PURE__*/ (0, D.createContext)({}), KL = /*#__PURE__*/ (0, D.createContext)(null), Ile = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { render: n } = (0, D.useContext)(KL);+var KL = /*#__PURE__*/ (0, D.createContext)({}), qL = /*#__PURE__*/ (0, D.createContext)(null), Ile = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { render: n } = (0, D.useContext)(qL);return /*#__PURE__*/ D.createElement(D.Fragment, null, n(e, t));});-function qL(e, t) {+function JL(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, D.useCallback)((e) => {if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ D.createElement(Ile, { target: e });}, [@@ -37204,7 +37207,7 @@ function qL(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function JL(e, t, n) {+function YL(e, t, n) {let r = e.focusedKey, i = null;if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {let e = n.collection.getKeyAfter(i), t = null;@@ -37226,14 +37229,14 @@ function JL(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Header.mjs-var YL = /*#__PURE__*/ (0, D.createContext)({}), Lle = /*#__PURE__*/ (0, D.createContext)(null);-function XL(e) {+var XL = /*#__PURE__*/ (0, D.createContext)({}), Lle = /*#__PURE__*/ (0, D.createContext)(null);+function ZL(e) {let t = (0, D.useRef)({});return /*#__PURE__*/ D.createElement(Lle.Provider, { value: t }, e.children);}//#endregion//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var ZL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), QL = /*#__PURE__*/ (0, D.createContext)({}), Rle = /*#__PURE__*/ Zx(class extends Uy {+var QL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), $L = /*#__PURE__*/ (0, D.createContext)({}), Rle = /*#__PURE__*/ jx(class extends Fy {static {this.type = "separator";}@@ -37246,14 +37249,14 @@ var ZL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), QL = /*#__PURE_return null;}}, function(e, t) {- [e, t] = gI(e, t, QL);+ [e, t] = NI(e, t, $L);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = xI[c], { separatorProps: u } = xae({+ let l = LI[c], { separatorProps: u } = UD({...s,elementType: n,orientation: r- }), d = jS(e, { global: !0 });+ }), d = yS(e, { global: !0 });return /*#__PURE__*/ D.createElement(l, {render: e.render,...K(d, u),@@ -37265,13 +37268,13 @@ var ZL = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), QL = /*#__PURE_});//#endregion//#region node_modules/react-aria/dist/private/utils/inertValue.mjs-function $L(e) {+function eR(e) {let t = D.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}//#endregion//#region node_modules/react-stately/dist/private/list/ListCollection.mjs-var eR = class {+var tR = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -37315,7 +37318,7 @@ var eR = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, tR = class e extends Set {+}, nR = class e extends Set {constructor(t, n, r) {super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);}@@ -37327,8 +37330,8 @@ function zle(e, t) {for (let n of e) if (!t.has(n)) return !1;return !0;}-function nR(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, D.useRef)(!1), [, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = (0, D.useRef)(null), [, u] = (0, D.useState)(null), [d, f] = aw((0, D.useMemo)(() => rR(e.selectedKeys), [e.selectedKeys]), (0, D.useMemo)(() => rR(e.defaultSelectedKeys, new tR()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, D.useState)(i);+function rR(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, D.useRef)(!1), [, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = (0, D.useRef)(null), [, u] = (0, D.useState)(null), [d, f] = MC((0, D.useMemo)(() => iR(e.selectedKeys), [e.selectedKeys]), (0, D.useMemo)(() => iR(e.defaultSelectedKeys, new nR()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, D.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, D.useRef)(i);return (0, D.useEffect)(() => {@@ -37361,12 +37364,12 @@ function nR(e) {disabledBehavior: a};}-function rR(e, t) {- return e ? e === "all" ? "all" : new tR(e) : t;+function iR(e, t) {+ return e ? e === "all" ? "all" : new nR(e) : t;}//#endregion//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var iR = class e {+var aR = class e {constructor(e, t, n) {this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;}@@ -37422,7 +37425,7 @@ var iR = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && TT(this.collection, n, e) < 0) && (e = n);+ (!e || n && Jw(this.collection, n, e) < 0) && (e = n);}return e?.key ?? null;}@@ -37430,7 +37433,7 @@ var iR = class e {let e = null;for (let t of this.state.selectedKeys) {let n = this.collection.getItem(t);- (!e || n && TT(this.collection, n, e) > 0) && (e = n);+ (!e || n && Jw(this.collection, n, e) > 0) && (e = n);}return e?.key ?? null;}@@ -37449,10 +37452,10 @@ var iR = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new tR([t], t, t);+ if (this.state.selectedKeys === "all") n = new nR([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new tR(e, r, t);+ n = new nR(e, r, t);for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);}@@ -37460,7 +37463,7 @@ var iR = class e {}getKeyRange(e, t) {let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? TT(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ return n && r ? Jw(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);@@ -37486,19 +37489,19 @@ var iR = class e {}let t = this.getKey(e);if (t == null) return;- let n = new tR(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new nR(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);}replaceSelection(e) {if (this.selectionMode === "none") return;let t = this.getKey(e);if (t == null) return;- let n = this.canSelectItem(t) ? new tR([t], t, t) : new tR();+ let n = this.canSelectItem(t) ? new nR([t], t, t) : new nR();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new tR();+ let t = new nR();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -37510,7 +37513,7 @@ var iR = 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(ST(xT(i, e))?.key ?? null);+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Gw(Ww(i, e))?.key ?? null);}r = e.getKeyAfter(r);}@@ -37521,7 +37524,7 @@ var iR = class e {!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");}clearSelection() {- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new tR());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new nR());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -37564,7 +37567,7 @@ var iR = class e {}}, Ble = class {build(e, t) {- return this.context = t, aR(() => this.iterateCollection(e));+ return this.context = t, oR(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -37649,7 +37652,7 @@ var iR = class e {wrapper: Vle(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 <${oR(t.type)}> in <${oR(r?.type ?? "unknown parent type")}>. Only <${oR(e.type)}> is supported.`);+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${sR(t.type)}> in <${sR(r?.type ?? "unknown parent type")}>. Only <${sR(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -37671,7 +37674,7 @@ var iR = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: aR(function* () {+ childNodes: oR(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -37690,7 +37693,7 @@ var iR = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function aR(e) {+function oR(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -37703,12 +37706,12 @@ function Vle(e, t) {if (e) return e;if (t) return t;}-function oR(e) {+function sR(e) {return e[0].toUpperCase() + e.slice(1);}//#endregion//#region node_modules/react-stately/dist/private/collections/useCollection.mjs-function sR(e, t, n) {+function cR(e, t, n) {let r = (0, D.useMemo)(() => new Ble(), []), { children: i, items: a, collection: o } = e;return (0, D.useMemo)(() => o || t(r.build({children: i,@@ -37724,13 +37727,13 @@ function sR(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/list/useListState.mjs-function cR(e) {- let { filter: t, layoutDelegate: n } = e, r = nR(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = sR(e, (0, D.useCallback)((e) => t ? new eR(t(e)) : new eR(e), [t]), (0, D.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, D.useMemo)(() => new iR(a, r, { layoutDelegate: n }), [+function lR(e) {+ let { filter: t, layoutDelegate: n } = e, r = rR(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = cR(e, (0, D.useCallback)((e) => t ? new tR(t(e)) : new tR(e), [t]), (0, D.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, D.useMemo)(() => new aR(a, r, { layoutDelegate: n }), [a,r,n]);- return lR(a, o), {+ return uR(a, o), {collection: a,disabledKeys: i,selectionManager: o@@ -37738,13 +37741,13 @@ function cR(e) {}function Hle(e, t) {let n = (0, D.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return lR(n, r), {+ return uR(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function lR(e, t) {+function uR(e, t) {let n = (0, D.useRef)(null);(0, D.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -37772,15 +37775,15 @@ function lR(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function uR(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, D.useRef)(null), s = hS((e) => {+function dR(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, D.useRef)(null), s = Yx((e) => {for (let t of e) t.isIntersecting && r && r();});- bb(() => {+ sb(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: EC(t?.current),+ root: uC(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -37796,14 +37799,14 @@ function uR(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/ListBox.mjs-var dR = /*#__PURE__*/ (0, D.createContext)(null), fR = /*#__PURE__*/ (0, D.createContext)(null), Ule = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = gI(e, t, dR);- let n = (0, D.useContext)(fR);- return n ? /*#__PURE__*/ D.createElement(pR, {+var fR = /*#__PURE__*/ (0, D.createContext)(null), pR = /*#__PURE__*/ (0, D.createContext)(null), Ule = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = NI(e, t, fR);+ let n = (0, D.useContext)(pR);+ return n ? /*#__PURE__*/ D.createElement(mR, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ D.createElement(Jx, { content: /*#__PURE__*/ D.createElement(tS, e) }, (n) => /*#__PURE__*/ D.createElement(Wle, {+ }) : /*#__PURE__*/ D.createElement(Ox, { content: /*#__PURE__*/ D.createElement(Fx, e) }, (n) => /*#__PURE__*/ D.createElement(Wle, {props: e,listBoxRef: t,collection: n@@ -37816,22 +37819,22 @@ function Wle({ props: e, listBoxRef: t, collection: n }) {children: null,items: null};- let { layoutDelegate: r } = (0, D.useContext)(OI), i = cR({+ let { layoutDelegate: r } = (0, D.useContext)(UI), i = lR({...e,layoutDelegate: r});- return /*#__PURE__*/ D.createElement(pR, {+ return /*#__PURE__*/ D.createElement(mR, {state: i,props: e,listBoxRef: t});}-function pR({ state: e, props: t, listBoxRef: n }) {- [t, n] = gI(t, n, SI);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Hle(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = CS(), { disabledBehavior: p, disabledKeys: m } = l, h = AT({+function mR({ state: e, props: t, listBoxRef: n }) {+ [t, n] = NI(t, n, RI);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Hle(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = rS(), { disabledBehavior: p, disabledKeys: m } = l, h = $w({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, D.useContext)(OI), b = (0, D.useMemo)(() => t.keyboardDelegate || new Mw({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, D.useContext)(UI), b = (0, D.useMemo)(() => t.keyboardDelegate || new tw({collection: c,collator: h,ref: n,@@ -37852,7 +37855,7 @@ function pR({ state: e, props: t, listBoxRef: n }) {t.keyboardDelegate,i,_- ]), { listBoxProps: x } = Vie({+ ]), { listBoxProps: x } = yae({...t,shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,keyboardDelegate: b,@@ -37884,7 +37887,7 @@ function pR({ state: e, props: t, listBoxRef: n }) {dropTargetDelegate: e}, C, n), T = C.isDropTarget({ type: "root" });}- let { focusProps: k, isFocused: A, isFocusVisible: j } = LT(), M = s.collection.size === 0, ee = {+ let { focusProps: k, isFocused: A, isFocusVisible: j } = oT(), M = s.collection.size === 0, N = {isDropTarget: T,isEmpty: M,isFocused: A,@@ -37892,19 +37895,19 @@ function pR({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, N = mI({+ }, P = jI({...t,children: void 0,defaultClassName: "react-aria-ListBox",- values: ee- }), te = null;- M && t.renderEmptyState && (te = /*#__PURE__*/ D.createElement("div", {+ values: N+ }), ee = null;+ M && t.renderEmptyState && (ee = /*#__PURE__*/ D.createElement("div", {role: "option",style: { display: "contents" }- }, t.renderEmptyState(ee)));- let P = jS(t, { global: !0 });- return /*#__PURE__*/ D.createElement(tC, null, /*#__PURE__*/ D.createElement(xI.div, {- ...K(P, N, x, k, w?.collectionProps),+ }, t.renderEmptyState(N)));+ let F = yS(t, { global: !0 });+ return /*#__PURE__*/ D.createElement(WS, null, /*#__PURE__*/ D.createElement(LI.div, {+ ...K(F, P, x, k, w?.collectionProps),ref: n,slot: t.slot || void 0,onScroll: t.onScroll,@@ -37914,60 +37917,60 @@ function pR({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": j || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ D.createElement(pI, { values: [- [dR, t],- [fR, s],- [GL, {+ }, /*#__PURE__*/ D.createElement(AI, { values: [+ [fR, t],+ [pR, s],+ [KL, {dragAndDropHooks: r,dragState: S,dropState: C}],- [QL, { elementType: "div" }],- [KL, { render: qle }],- [wI, {+ [$L, { elementType: "div" }],+ [qL, { render: qle }],+ [BI, {name: "ListBoxSection",render: Gle}]- ] }, /*#__PURE__*/ D.createElement(XL, null, /*#__PURE__*/ D.createElement(y, {+ ] }, /*#__PURE__*/ D.createElement(ZL, null, /*#__PURE__*/ D.createElement(y, {collection: c,scrollRef: n,- persistedKeys: JL(l, r, C),- renderDropIndicator: qL(r, C)- }))), te, E));+ persistedKeys: YL(l, r, C),+ renderDropIndicator: JL(r, C)+ }))), ee, E));}function Gle(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, D.useContext)(fR), { dragAndDropHooks: a, dropState: o } = (0, D.useContext)(GL), { CollectionBranch: s } = (0, D.useContext)(OI), [c, l] = _I(), { headingProps: u, groupProps: d } = Hie({+ let i = (0, D.useContext)(pR), { dragAndDropHooks: a, dropState: o } = (0, D.useContext)(KL), { CollectionBranch: s } = (0, D.useContext)(UI), [c, l] = PI(), { headingProps: u, groupProps: d } = bae({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = mI({+ }), f = jI({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0- }), p = jS(e, { global: !0 });- return delete p.id, /*#__PURE__*/ D.createElement(xI.section, {+ }), p = yS(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ D.createElement(LI.section, {...K(p, f, d),ref: t- }, /*#__PURE__*/ D.createElement(YL.Provider, { value: {+ }, /*#__PURE__*/ D.createElement(XL.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ D.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: qL(a, o)+ renderDropIndicator: JL(a, o)})));}-var Kle = /*#__PURE__*/ Zx(Ky, function(e, t, n) {- let r = Rx(t), i = (0, D.useContext)(fR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(GL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Uie({+var Kle = /*#__PURE__*/ jx(Ry, function(e, t, n) {+ let r = vx(t), i = (0, D.useContext)(pR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(KL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = xae({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 } = Lx(e), { focusProps: g } = Nx(e), _ = null;+ }), { keyboardProps: h } = _x(e), { focusProps: g } = px(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -37978,7 +37981,7 @@ var Kle = /*#__PURE__*/ Zx(Ky, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = mI({+ let y = o && o.isDragging(n.key), b = jI({...e,id: void 0,children: e.children,@@ -37996,7 +37999,7 @@ var Kle = /*#__PURE__*/ Zx(Ky, function(e, t, n) {(0, D.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? xI.a : xI.div, S = jS(e, { global: !0 });+ let x = e.href ? LI.a : LI.div, S = yS(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ D.createElement(x, {...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -38010,15 +38013,15 @@ var Kle = /*#__PURE__*/ Zx(Ky, function(e, t, n) {"data-dragging": y || void 0,"data-drop-target": v?.isDropTarget || void 0,"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode- }, /*#__PURE__*/ D.createElement(pI, { values: [[zI, { slots: {- [fI]: u,+ }, /*#__PURE__*/ D.createElement(AI, { values: [[ZI, { slots: {+ [kI]: u,label: u,description: d- } }], [ZL, { isSelected: f.isSelected }]] }, b.children));+ } }], [QL, { isSelected: f.isSelected }]] }, b.children));});function qle(e, t) {- t = Rx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(GL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ t = vx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(KL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);return a ? null : /*#__PURE__*/ D.createElement(Yle, {...e,dropIndicatorProps: i,@@ -38027,12 +38030,12 @@ function qle(e, t) {});}function Jle(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = mI({+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = jI({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(xI.div, {+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(LI.div, {...n,...a,role: "option",@@ -38041,9 +38044,9 @@ function Jle(e, t) {}));}var Yle = /*#__PURE__*/ (0, D.forwardRef)(Jle);-Zx(Gy, function(e, t, n) {- let r = (0, D.useContext)(fR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);- uR((0, D.useMemo)(() => ({+jx(Ly, function(e, t, n) {+ let r = (0, D.useContext)(pR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);+ dR((0, D.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -38053,7 +38056,7 @@ Zx(Gy, function(e, t, n) {o,r?.collection]), c);- let l = mI({+ let l = jI({...s,id: void 0,children: n.rendered,@@ -38066,7 +38069,7 @@ Zx(Gy, function(e, t, n) {width: 0,height: 0},- inert: $L(!0)+ inert: eR(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -38075,8 +38078,8 @@ Zx(Gy, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(xI.div, {- ...K(jS(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(LI.div, {+ ...K(yS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t@@ -38087,8 +38090,8 @@ Zx(Gy, function(e, t, n) {var Xle = /*#__PURE__*/ (0, D.createContext)({ placement: "bottom" });//#endregion//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function mR(e) {- let [t, n] = aw(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, D.useState)(null);+function hR(e) {+ let [t, n] = MC(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, D.useState)(null);return {isOpen: t,setOpen: n,@@ -38107,15 +38110,15 @@ function mR(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/animation.mjs-function hR(e, t = !0, n) {+function gR(e, t = !0, n) {let [r, i] = (0, D.useState)(!0), a = r && t;- return bb(() => {- if (!t && e.current) return Cx(ib(e.current, "opacity", "0"), ib(e.current, "clip", "rect(0 0 0 0)"), ib(e.current, "clip-path", "inset(50%)"), ib(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), bb(() => {+ return sb(() => {+ if (!t && e.current) return rx(Xy(e.current, "opacity", "0"), Xy(e.current, "clip", "rect(0 0 0 0)"), Xy(e.current, "clip-path", "inset(50%)"), Xy(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), sb(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), _R(e, a, n, (0, D.useCallback)(() => i(!1), [])), a;+ }, [e, a]), vR(e, a, n, (0, D.useCallback)(() => i(!1), [])), a;}-function gR(e, t, n) {+function _R(e, t, n) {let [r, i] = (0, D.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -38125,13 +38128,13 @@ function gR(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return _R(e, a, n, (0, D.useCallback)(() => {+ return vR(e, a, n, (0, D.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function _R(e, t, n, r) {- let i = (0, D.useRef)(null), a = hS(n);- bb(() => {+function vR(e, t, n, r) {+ let i = (0, D.useRef)(null), a = Yx(n);+ sb(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -38143,7 +38146,7 @@ function _R(e, t, n, r) {return;}Promise.all([n, ...o.map((e) => e.finished)]).then(() => {- (0, Et.flushSync)(() => {+ (0, Tt.flushSync)(() => {r();});}).catch(() => {});@@ -38157,9 +38160,9 @@ function _R(e, t, n, r) {}//#endregion//#region node_modules/react-aria-components/dist/private/Popover.mjs-var vR = /*#__PURE__*/ (0, D.createContext)(null), yR = /*#__PURE__*/ (0, D.createContext)(null), bR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = gI(e, t, vR);- let n = (0, D.useContext)(MR), r = mR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = gR(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Wx(), { direction: c } = CS();+var yR = /*#__PURE__*/ (0, D.createContext)(null), bR = /*#__PURE__*/ (0, D.createContext)(null), xR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = NI(e, t, yR);+ let n = (0, D.useContext)(NR), r = hR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = _R(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = wx(), { direction: c } = rS();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -38180,12 +38183,12 @@ var vR = /*#__PURE__*/ (0, D.createContext)(null), yR = /*#__PURE__*/ (0, D.crea});});function Zle({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useContext)(yR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, D.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = hae({+ let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useContext)(bR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, D.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = FD({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = hR(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = mI({+ }, e), g = i.popoverRef, _ = gR(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = jI({...i,defaultClassName: "react-aria-Popover",values: {@@ -38195,10 +38198,10 @@ function Zle({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextisExiting: t}}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, D.useState)(i.trigger === "PreviewTrigger");- bb(() => {+ sb(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, D.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || dx() !== "pointer") && g.current && !lb(g.current) && Sx(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Gb() !== "pointer") && g.current && !tb(g.current) && nx(g.current);}, [x,g,@@ -38206,12 +38209,12 @@ function Zle({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let C = (0, D.useMemo)(() => {let e = y.children;- for (let t of [vR, ...r ?? []]) e = /*#__PURE__*/ D.createElement(t.Provider, { value: null }, e);+ for (let t of [yR, ...r ?? []]) e = /*#__PURE__*/ D.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [w, T] = (0, D.useState)(null), E = (0, D.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- bb(E, [E]), zE({+ sb(E, [E]), cE({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -38221,9 +38224,9 @@ function Zle({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- bb(() => OD(() => u(!0)), []);- let k = /*#__PURE__*/ D.createElement(xI.div, {- ...K(jS(i, { global: !0 }), d),+ sb(() => ZE(() => u(!0)), []);+ let k = /*#__PURE__*/ D.createElement(LI.div, {+ ...K(yS(i, { global: !0 }), d),...y,id: x ? i.id : void 0,role: x ? "dialog" : void 0,@@ -38238,17 +38241,17 @@ function Zle({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ D.createElement(xD, { onDismiss: e.close }), /*#__PURE__*/ D.createElement(Xle.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ D.createElement(WE, { onDismiss: e.close }), /*#__PURE__*/ D.createElement(Xle.Provider, { value: {...p,placement: m,ref: a- } }, C), /*#__PURE__*/ D.createElement(xD, { onDismiss: e.close }));- return c ? /*#__PURE__*/ D.createElement(FT, {+ } }, C), /*#__PURE__*/ D.createElement(WE, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ D.createElement(iT, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,portalContainer: n ?? s?.current ?? void 0- }, k) : /*#__PURE__*/ D.createElement(FT, {+ }, k) : /*#__PURE__*/ D.createElement(iT, {...i,shouldContainFocus: x && i.trigger !== "PreviewTrigger",isExiting: t,@@ -38263,15 +38266,15 @@ function Zle({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ D.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ D.createElement(yR.Provider, { value: o }, k)));+ }, /*#__PURE__*/ D.createElement(bR.Provider, { value: o }, k)));}//#endregion//#region node_modules/react-aria-components/dist/private/Keyboard.mjsvar Qle = /*#__PURE__*/ (0, D.createContext)({});//#endregion//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function xR(e) {- let t = mR(e), [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)([]), o = () => {+function SR(e) {+ let t = hR(e), [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -38341,8 +38344,8 @@ var $le = class {};//#endregion//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs-function SR(e) {- let { onExpandedChange: t } = e, [n, r] = aw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = nR(e), a = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = sR(e, (0, D.useCallback)((e) => new $le(e, { expandedKeys: n }), [n]), null);+function CR(e) {+ let { onExpandedChange: t } = e, [n, r] = MC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = rR(e), a = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = cR(e, (0, D.useCallback)((e) => new $le(e, { expandedKeys: n }), [n]), null);return (0, D.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -38353,7 +38356,7 @@ function SR(e) {r(eue(n, e));},setExpandedKeys: r,- selectionManager: new iR(o, i)+ selectionManager: new aR(o, i)};}function eue(e, t) {@@ -38362,20 +38365,20 @@ function eue(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Menu.mjs-var CR = /*#__PURE__*/ (0, D.createContext)(null), wR = /*#__PURE__*/ (0, D.createContext)(null), TR = /*#__PURE__*/ (0, D.createContext)(null), ER = /*#__PURE__*/ (0, D.createContext)(null);+var wR = /*#__PURE__*/ (0, D.createContext)(null), TR = /*#__PURE__*/ (0, D.createContext)(null), ER = /*#__PURE__*/ (0, D.createContext)(null), DR = /*#__PURE__*/ (0, D.createContext)(null);function tue(e) {- let t = xR(e), n = (0, D.useRef)(null), { menuTriggerProps: r, menuProps: i } = gT({+ let t = SR(e), n = (0, D.useRef)(null), { menuTriggerProps: r, menuProps: i } = zw({...e,type: "menu"}, t, n), a = (0, D.useRef)(null);- return Wx() ? null : /*#__PURE__*/ D.createElement(pI, { values: [- [CR, {+ return wx() ? null : /*#__PURE__*/ D.createElement(AI, { values: [+ [wR, {...i,ref: a}],- [MR, t],- [TR, t],- [vR, {+ [NR, t],+ [ER, t],+ [yR, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -38383,14 +38386,14 @@ function tue(e) {"aria-labelledby": i["aria-labelledby"],offset: e.trigger === "contextMenu" ? 0 : void 0}]- ] }, /*#__PURE__*/ D.createElement(Eie, {+ ] }, /*#__PURE__*/ D.createElement(iae, {...r,ref: n,isPressed: t.isOpen}, e.children));}var nue = /*#__PURE__*/ (0, D.createContext)(null);-(class extends Uy {+(class extends Fy {static {this.type = "submenutrigger";}@@ -38404,23 +38407,23 @@ var nue = /*#__PURE__*/ (0, D.createContext)(null);}});var rue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return [e, t] = gI(e, t, CR), /*#__PURE__*/ D.createElement(Jx, { content: /*#__PURE__*/ D.createElement(tS, e) }, (n) => /*#__PURE__*/ D.createElement(iue, {+ return [e, t] = NI(e, t, wR), /*#__PURE__*/ D.createElement(Ox, { content: /*#__PURE__*/ D.createElement(Fx, e) }, (n) => /*#__PURE__*/ D.createElement(iue, {props: e,collection: n,menuRef: t}));});function iue({ props: e, collection: t, menuRef: n }) {- [e, n] = gI(e, n, SI);- let { filter: r, ...i } = e, a = (0, D.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = SR({+ [e, n] = NI(e, n, RI);+ let { filter: r, ...i } = e, a = (0, D.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = CR({...e,collection: a,children: void 0- }), s = (0, D.useContext)(TR), { isVirtualized: c, CollectionRoot: l } = (0, D.useContext)(OI), { menuProps: u } = Wie({+ }), s = (0, D.useContext)(ER), { isVirtualized: c, CollectionRoot: l } = (0, D.useContext)(UI), { menuProps: u } = Sae({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = mI({+ }, o, n), d = jI({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -38430,36 +38433,36 @@ function iue({ props: e, collection: t, menuRef: n }) {role: "menuitem",style: { display: "contents" }}, e.renderEmptyState()));- let p = jS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(tC, null, /*#__PURE__*/ D.createElement(xI.div, {+ let p = yS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(WS, null, /*#__PURE__*/ D.createElement(LI.div, {...K(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ D.createElement(pI, { values: [- [wR, o],- [QL, { elementType: "div" }],- [wI, {+ }, /*#__PURE__*/ D.createElement(AI, { values: [+ [TR, o],+ [$L, { elementType: "div" }],+ [BI, {name: "MenuSection",- render: DR+ render: OR}],[nue, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [kR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],- [SI, null],- [CI, null],- [ER, o.selectionManager],- [TR, s ?? xR({})]- ] }, /*#__PURE__*/ D.createElement(XL, null, /*#__PURE__*/ D.createElement(l, {+ [AR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [RI, null],+ [zI, null],+ [DR, o.selectionManager],+ [ER, s ?? SR({})]+ ] }, /*#__PURE__*/ D.createElement(ZL, null, /*#__PURE__*/ D.createElement(l, {collection: o.collection,- persistedKeys: kI(o.selectionManager.focusedKey),+ persistedKeys: WI(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var aue = class extends iR {+var aue = class extends aR {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -38479,11 +38482,11 @@ var aue = class extends iR {return this.parent.childFocusStrategy;}};-function DR(e, t, n, r = "react-aria-MenuSection") {- let i = (0, D.useContext)(wR), { CollectionBranch: a } = (0, D.useContext)(OI), [o, s] = _I(), { headingProps: c, groupProps: l } = Kie({+function OR(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, D.useContext)(TR), { CollectionBranch: a } = (0, D.useContext)(UI), [o, s] = PI(), { headingProps: c, groupProps: l } = wae({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = mI({+ }), u = jI({...e,id: void 0,children: void 0,@@ -38491,31 +38494,31 @@ function DR(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, D.useContext)(ER), f = nR(e), p = e.selectionMode == null ? d : new aue(d, f), m = hI(kR)?.shouldCloseOnSelect, h = jS(e, { global: !0 });- return delete h.id, /*#__PURE__*/ D.createElement(xI.section, {+ }), d = (0, D.useContext)(DR), f = rR(e), p = e.selectionMode == null ? d : new aue(d, f), m = MI(AR)?.shouldCloseOnSelect, h = yS(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ D.createElement(LI.section, {...K(h, u, l),ref: t- }, /*#__PURE__*/ D.createElement(pI, { values: [- [YL, {+ }, /*#__PURE__*/ D.createElement(AI, { values: [+ [XL, {...c,ref: o}],- [ER, p],- [kR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [DR, p],+ [AR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ D.createElement(a, {collection: i.collection,parent: n})));}-var OR = /*#__PURE__*/ Qx(Ine, DR), kR = /*#__PURE__*/ (0, D.createContext)(null), AR = /*#__PURE__*/ Zx(Ky, function(e, t, n) {- [e, t] = gI(e, t, kR);- let r = hI(kR)?.id, i = (0, D.useContext)(wR), a = Rx(t), o = (0, D.useContext)(ER), { isVirtualized: s } = (0, D.useContext)(OI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Gie({+var kR = /*#__PURE__*/ Mx(Gne, OR), AR = /*#__PURE__*/ (0, D.createContext)(null), jR = /*#__PURE__*/ jx(Ry, function(e, t, n) {+ [e, t] = NI(e, t, AR);+ let r = MI(AR)?.id, i = (0, D.useContext)(TR), a = vx(t), o = (0, D.useContext)(DR), { isVirtualized: s } = (0, D.useContext)(UI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Cae({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = VT({ isDisabled: f.isDisabled }), h = mI({+ }, i, a), { hoverProps: p, isHovered: m } = uT({ isDisabled: f.isDisabled }), h = jI({...e,id: void 0,children: n.rendered,@@ -38529,7 +38532,7 @@ var OR = /*#__PURE__*/ Qx(Ine, DR), kR = /*#__PURE__*/ (0, D.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? xI.a : xI.div, _ = jS(e, { global: !0 });+ }), g = e.href ? LI.a : LI.div, _ = yS(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(g, {...K(_, h, c, p),ref: a,@@ -38542,19 +38545,19 @@ var OR = /*#__PURE__*/ Qx(Ine, DR), kR = /*#__PURE__*/ (0, D.createContext)(null"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,"data-has-submenu": !!e["aria-haspopup"] || void 0,"data-open": e["aria-expanded"] === "true" || void 0- }, /*#__PURE__*/ D.createElement(pI, { values: [- [zI, { slots: {- [fI]: l,+ }, /*#__PURE__*/ D.createElement(AI, { values: [+ [ZI, { slots: {+ [kI]: l,label: l,description: u} }],[Qle, d],- [ZL, { isSelected: f.isSelected }]+ [QL, { isSelected: f.isSelected }]] }, h.children));});-Zx(Gy, function(e, t, n) {- let r = (0, D.useContext)(wR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);- uR((0, D.useMemo)(() => ({+jx(Ly, function(e, t, n) {+ let r = (0, D.useContext)(TR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);+ dR((0, D.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -38564,7 +38567,7 @@ Zx(Gy, function(e, t, n) {o,r?.collection]), c);- let l = mI({+ let l = jI({...s,id: void 0,children: n.rendered,@@ -38577,7 +38580,7 @@ Zx(Gy, function(e, t, n) {width: 0,height: 0},- inert: $L(!0)+ inert: eR(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -38586,8 +38589,8 @@ Zx(Gy, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(xI.div, {- ...K(jS(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(LI.div, {+ ...K(yS(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",ref: t@@ -38595,82 +38598,82 @@ Zx(Gy, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/Dialog.mjs-var jR = /*#__PURE__*/ (0, D.createContext)(null), MR = /*#__PURE__*/ (0, D.createContext)(null), NR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+var MR = /*#__PURE__*/ (0, D.createContext)(null), NR = /*#__PURE__*/ (0, D.createContext)(null), PR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = gI(e, t, jR);- let { dialogProps: r, titleProps: i, contentProps: a } = Oie({+ [e, t] = NI(e, t, MR);+ let { dialogProps: r, titleProps: i, contentProps: a } = oae({...e,"aria-labelledby": n- }, t), o = (0, D.useContext)(MR);+ }, t), o = (0, D.useContext)(NR);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = mI({+ let s = jI({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = jS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(xI.section, {+ }), c = yS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(LI.section, {...K(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ D.createElement(pI, { values: [- [LI, { slots: {- [fI]: {},+ }, /*#__PURE__*/ D.createElement(AI, { values: [+ [YI, { slots: {+ [kI]: {},title: {...i,level: 2}} }],- [zI, { slots: {- [fI]: {},+ [ZI, { slots: {+ [kI]: {},description: a} }],- [NI, { slots: {- [fI]: {},+ [qI, { slots: {+ [kI]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), PR = typeof document < "u" && window.visualViewport;+}), FR = typeof document < "u" && window.visualViewport;function oue() {- let e = Yb(), t = (0, D.useRef)(null), [n, r] = (0, D.useState)(() => e ? {+ let e = kb(), t = (0, D.useRef)(null), [n, r] = (0, D.useState)(() => e ? {width: 0,height: 0- } : FR());+ } : IR());return (0, D.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- PR && PR.scale > 1 || e(FR());+ FR && FR.scale > 1 || e(IR());}, i = (n) => {- PR && PR.scale > 1 || fS(G(n)) && (t.current = OD((t) => {+ FR && FR.scale > 1 || Kx(G(n)) && (t.current = ZE((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(FR()), Mb() && Pb() && window.addEventListener("blur", i, !0), PR ? PR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), Mb() && Pb() && window.removeEventListener("blur", i, !0), PR ? PR.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(IR()), _b() && vb() && window.addEventListener("blur", i, !0), FR ? FR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), _b() && vb() && window.removeEventListener("blur", i, !0), FR ? FR.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function FR() {+function IR() {return {- width: PR ? Math.min(PR.width * PR.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: PR ? PR.height * PR.scale : document.documentElement.clientHeight+ width: FR ? Math.min(FR.width * FR.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: FR ? FR.height * FR.scale : document.documentElement.clientHeight};}//#endregion//#region node_modules/react-aria-components/dist/private/Modal.mjs-var sue = /*#__PURE__*/ (0, D.createContext)(null), IR = /*#__PURE__*/ (0, D.createContext)(null), cue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- if ((0, D.useContext)(IR)) return /*#__PURE__*/ D.createElement(RR, {+var sue = /*#__PURE__*/ (0, D.createContext)(null), LR = /*#__PURE__*/ (0, D.createContext)(null), cue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ if ((0, D.useContext)(LR)) return /*#__PURE__*/ D.createElement(zR, {...e,modalRef: t}, e.children);let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;- return /*#__PURE__*/ D.createElement(LR, {+ return /*#__PURE__*/ D.createElement(RR, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -38680,14 +38683,14 @@ var sue = /*#__PURE__*/ (0, D.createContext)(null), IR = /*#__PURE__*/ (0, D.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ D.createElement(RR, {+ }, /*#__PURE__*/ D.createElement(zR, {...f,modalRef: t}, s));});function lue(e, t) {- [e, t] = gI(e, t, sue);- let n = (0, D.useContext)(MR), r = mR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Rx(t), o = (0, D.useRef)(null), s = gR(a, i.isOpen, e.onExit), c = (0, D.useRef)(null), l = gR(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Yb();+ [e, t] = NI(e, t, sue);+ let n = (0, D.useContext)(NR), r = hR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = vx(t), o = (0, D.useRef)(null), s = _R(a, i.isOpen, e.onExit), c = (0, D.useRef)(null), l = _R(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = kb();return !i.isOpen && !u || d ? null : /*#__PURE__*/ D.createElement(uue, {...e,state: i,@@ -38697,12 +38700,12 @@ function lue(e, t) {onExitRef: c});}-var LR = /*#__PURE__*/ (0, D.forwardRef)(lue);+var RR = /*#__PURE__*/ (0, D.forwardRef)(lue);function uue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, D.useState)(!1), s = hR(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = rae({+ let r = n.modalRef, { state: i } = n, [a, o] = (0, D.useState)(!1), s = gR(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = cD({...n,isEntering: c- }, i, r), d = (0, D.useContext)(jR), f = t ? due(d, { isEntering: c }) : d, p = mI({+ }, i, r), d = (0, D.useContext)(MR), f = t ? due(d, { isEntering: c }) : d, p = jI({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -38712,7 +38715,7 @@ function uue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n}}), m = oue(), h, g;if (typeof document < "u") {- let e = TC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = lC(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 _ = {@@ -38722,18 +38725,18 @@ function uue({ 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 bb(() => OD(() => o(!0)), []), /*#__PURE__*/ D.createElement(FT, {+ return sb(() => ZE(() => o(!0)), []), /*#__PURE__*/ D.createElement(iT, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ D.createElement(xI.div, {- ...K(jS(n, { global: !0 }), u),+ }, /*#__PURE__*/ D.createElement(LI.div, {+ ...K(yS(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ D.createElement(pI, { values: [- [IR, {+ }, /*#__PURE__*/ D.createElement(AI, { values: [+ [LR, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -38741,8 +38744,8 @@ function uue({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [MR, i],- [jR, f]+ [NR, i],+ [MR, f]] }, p.children)));}function due(e, t) {@@ -38762,8 +38765,8 @@ function due(e, t) {...t};}-function RR(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, D.useContext)(IR), s = (0, D.useContext)(MR), c = Rx((0, D.useMemo)(() => kx(e.modalRef, n), [e.modalRef, n])), l = hR(c, o, e.onEnter), u = mI({+function zR(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, D.useContext)(LR), s = (0, D.useContext)(NR), c = vx((0, D.useMemo)(() => lx(e.modalRef, n), [e.modalRef, n])), l = gR(c, o, e.onEnter), u = jI({...e,defaultClassName: "react-aria-Modal",values: {@@ -38772,21 +38775,21 @@ function RR(e) {state: s}});- return bb(() => {+ return sb(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ D.createElement(xI.div, {- ...K(jS(e, { global: !0 }), t),+ }), /*#__PURE__*/ D.createElement(LI.div, {+ ...K(yS(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,"data-exiting": r || void 0- }, a && /*#__PURE__*/ D.createElement(xD, { onDismiss: s.close }), u.children);+ }, a && /*#__PURE__*/ D.createElement(WE, { onDismiss: s.close }), u.children);}//#endregion//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjsvar fue = Math.round(Math.random() * 1e10), pue = 0;function mue(e) {- let t = (0, D.useMemo)(() => e.name || `radio-group-${fue}-${++pue}`, [e.name]), [n, r] = aw(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, D.useState)(n), [a, o] = (0, D.useState)(null), s = KC({+ let t = (0, D.useMemo)(() => e.name || `radio-group-${fue}-${++pue}`, [e.name]), [n, r] = MC(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, D.useState)(n), [a, o] = (0, D.useState)(null), s = CC({...e,value: n}), c = (t) => {@@ -38809,16 +38812,16 @@ function mue(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs-var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.createContext)(null), zR = /*#__PURE__*/ (0, D.createContext)(null), BR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = gI(e, t, hue);- let { validationBehavior: n } = hI(HI) || {}, r = e.validationBehavior ?? n ?? "native", i = mue({+var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.createContext)(null), BR = /*#__PURE__*/ (0, D.createContext)(null), VR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = NI(e, t, hue);+ let { validationBehavior: n } = MI($I) || {}, r = e.validationBehavior ?? n ?? "native", i = mue({...e,validationBehavior: r- }), [a, o] = _I(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = _ae({+ }), [a, o] = PI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = RD({...e,label: o,validationBehavior: r- }, i), f = mI({+ }, i), f = jI({...e,values: {orientation: e.orientation || "vertical",@@ -38829,8 +38832,8 @@ var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.crstate: i},defaultClassName: "react-aria-RadioGroup"- }), p = jS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(xI.div, {+ }), p = yS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(LI.div, {...K(p, f, s),ref: t,slot: e.slot || void 0,@@ -38839,27 +38842,27 @@ var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ D.createElement(pI, { values: [- [zR, i],- [AI, {+ }, /*#__PURE__*/ D.createElement(AI, { values: [+ [BR, i],+ [GI, {...c,ref: a,elementType: "span"}],- [zI, { slots: {+ [ZI, { slots: {description: l,errorMessage: u} }],- [VI, d]- ] }, /*#__PURE__*/ D.createElement(XL, null, f.children)));-}), VR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [QI, d]+ ] }, /*#__PURE__*/ D.createElement(ZL, null, f.children)));+}), HR = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = gI(r, t, gue);- let i = D.useContext(zR), a = Rx((0, D.useMemo)(() => kx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = gae({- ...vI(e),+ [e, t] = NI(r, t, gue);+ let i = D.useContext(BR), a = vx((0, D.useMemo)(() => lx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = LD({+ ...FI(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ D.createElement(HR.Provider, { value: {+ return /*#__PURE__*/ D.createElement(UR.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"@@ -38867,11 +38870,11 @@ var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.cr...e,ref: t}));-}), HR = /*#__PURE__*/ (0, D.createContext)(null), _ue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, D.useContext)(HR), l = D.useContext(zR), { isFocused: u, isFocusVisible: d, focusProps: f } = LT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = VT({+}), UR = /*#__PURE__*/ (0, D.createContext)(null), _ue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, D.useContext)(UR), l = D.useContext(BR), { isFocused: u, isFocusVisible: d, focusProps: f } = oT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = uT({...e,isDisabled: p- }), g = mI({+ }), g = jI({...e,defaultClassName: s,values: {@@ -38885,8 +38888,8 @@ var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.crisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = jS(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(xI.label, {+ }), _ = yS(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(LI.label, {...K(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -38898,7 +38901,7 @@ var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.cr"data-readonly": l.isReadOnly || void 0,"data-invalid": l.isInvalid || void 0,"data-required": l.isRequired || void 0- }, /*#__PURE__*/ D.createElement(yw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(HC, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {...K(r, f),ref: c})), g.children);@@ -38906,11 +38909,11 @@ var hue = /*#__PURE__*/ (0, D.createContext)(null), gue = /*#__PURE__*/ (0, D.cr//#endregion//#region node_modules/react-stately/dist/private/select/useSelectState.mjsfunction vue(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = mR(e), [i, a] = (0, D.useState)(null), o = (0, D.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = hR(e), [i, a] = (0, D.useState)(null), o = (0, D.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t- ]), [s, c] = aw((0, D.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ ]), [s, c] = MC((0, D.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [e.value,e.selectedKey,t@@ -38922,7 +38925,7 @@ function vue(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = cR({+ }, d = lR({...e,selectionMode: t,disallowEmptySelection: t === "single",@@ -38937,7 +38940,7 @@ function vue(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, D.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = KC({+ }), f = d.selectionManager.firstSelectedKey, p = (0, D.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = CC({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, D.useState)(!1), [_] = (0, D.useState)(l);@@ -38972,8 +38975,8 @@ function yue(e) {function bue(e) {return e && e.__esModule ? e.default : e;}-var UR = /*#__PURE__*/ (0, D.createContext)(null), WR = /*#__PURE__*/ (0, D.createContext)(null), xue = /*#__PURE__*/ Ux(function(e, t) {- [e, t] = gI(e, t, UR);+var WR = /*#__PURE__*/ (0, D.createContext)(null), GR = /*#__PURE__*/ (0, D.createContext)(null), xue = /*#__PURE__*/ Cx(function(e, t) {+ [e, t] = NI(e, t, WR);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, D.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -38988,24 +38991,24 @@ var UR = /*#__PURE__*/ (0, D.createContext)(null), WR = /*#__PURE__*/ (0, D.creai,a]);- return /*#__PURE__*/ D.createElement(Jx, { content: o }, (n) => /*#__PURE__*/ D.createElement(Cue, {+ return /*#__PURE__*/ D.createElement(Ox, { content: o }, (n) => /*#__PURE__*/ D.createElement(Cue, {props: e,collection: n,selectRef: t}));}), Sue = [- AI,- NI,- zI+ GI,+ qI,+ ZI];function Cue({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = hI(HI) || {}, i = e.validationBehavior ?? r ?? "native", a = vue({+ let { validationBehavior: r } = MI($I) || {}, i = e.validationBehavior ?? r ?? "native", a = vue({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = LT({ within: !0 }), c = (0, D.useRef)(null), [l, u] = _I(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = vae({- ...vI(e),+ }), { isFocusVisible: o, focusProps: s } = oT({ within: !0 }), c = (0, D.useRef)(null), [l, u] = PI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = BD({+ ...FI(e),label: u,validationBehavior: i}, a, c), y = (0, D.useMemo)(() => ({@@ -39022,30 +39025,30 @@ function Cue({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = mI({+ ]), b = jI({...e,values: y,defaultClassName: "react-aria-Select"- }), x = jS(e, { global: !0 });+ }), x = yS(e, { global: !0 });delete x.id;let S = (0, D.useRef)(null);- return /*#__PURE__*/ D.createElement(pI, { values: [- [UR, e],- [WR, a],- [GR, p],- [AI, {+ return /*#__PURE__*/ D.createElement(AI, { values: [+ [WR, e],+ [GR, a],+ [KR, p],+ [GI, {...d,ref: l,elementType: "span"}],- [NI, {+ [qI, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [MR, a],- [vR, {+ [NR, a],+ [yR, {trigger: "Select",triggerRef: c,scrollRef: S,@@ -39053,17 +39056,17 @@ function Cue({ props: e, selectRef: t, collection: n }) {"aria-labelledby": m["aria-labelledby"],clearContexts: Sue}],- [dR, {+ [fR, {...m,ref: S}],- [fR, a],- [zI, { slots: {+ [pR, a],+ [ZI, { slots: {description: h,errorMessage: g} }],- [VI, v]- ] }, /*#__PURE__*/ D.createElement(xI.div, {+ [QI, v]+ ] }, /*#__PURE__*/ D.createElement(LI.div, {...K(x, b, s),ref: t,slot: e.slot || void 0,@@ -39073,14 +39076,14 @@ function Cue({ props: e, selectRef: t, collection: n }) {"data-disabled": e.isDisabled || void 0,"data-invalid": v.isInvalid || void 0,"data-required": e.isRequired || void 0- }, b.children, /*#__PURE__*/ D.createElement(bae, {+ }, b.children, /*#__PURE__*/ D.createElement(HD, {..._,autoComplete: e.autoComplete})));}-for (var GR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Ux(function(e, t) {- [e, t] = gI(e, t, GR);- let n = (0, D.useContext)(WR), { placeholder: r } = hI(UR), i = n.selectedItems.map((e) => {+for (var KR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Cx(function(e, t) {+ [e, t] = NI(e, t, KR);+ let n = (0, D.useContext)(GR), { placeholder: r } = MI(WR), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -39092,7 +39095,7 @@ for (var GR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Ux(fselectionMode: "single",selectionBehavior: "toggle"})), t;- }), a = kie(), o = (0, D.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, D.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ }), a = sae(), o = (0, D.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, D.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [s,a,o@@ -39107,7 +39110,7 @@ for (var GR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Ux(fa,o,i- ]), u = kS(bue(WL), "react-aria-components"), d = mI({+ ]), u = fS(bue(GL), "react-aria-components"), d = jI({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -39118,21 +39121,21 @@ for (var GR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Ux(fisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = jS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(xI.span, {+ }), f = yS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(LI.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ D.createElement(zI.Provider, { value: void 0 }, d.children));-}), Tue = /*#__PURE__*/ (0, D.createContext)(null), KR = /*#__PURE__*/ (0, D.createContext)(null), Eue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ D.createElement(ZI.Provider, { value: void 0 }, d.children));+}), Tue = /*#__PURE__*/ (0, D.createContext)(null), qR = /*#__PURE__*/ (0, D.createContext)(null), Eue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = gI(r, t, Tue);- let i = Rx((0, D.useMemo)(() => kx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = ow(e), o = Sae({- ...vI(e),+ [e, t] = NI(r, t, Tue);+ let i = vx((0, D.useMemo)(() => lx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = NC(e), o = WD({+ ...FI(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ D.createElement(pI, { values: [[KR, a], [qR, {+ return /*#__PURE__*/ D.createElement(AI, { values: [[qR, a], [JR, {...o,inputRef: i,defaultClassName: "react-aria-Switch"@@ -39140,11 +39143,11 @@ for (var GR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Ux(f...e,ref: t}));-}), qR = /*#__PURE__*/ (0, D.createContext)(null), Due = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, D.useContext)(qR), { isFocused: f, isFocusVisible: p, focusProps: m } = LT(), h = a || o, g = (0, D.useContext)(KR), { hoverProps: _, isHovered: v } = VT({+}), JR = /*#__PURE__*/ (0, D.createContext)(null), Due = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, D.useContext)(JR), { isFocused: f, isFocusVisible: p, focusProps: m } = oT(), h = a || o, g = (0, D.useContext)(qR), { hoverProps: _, isHovered: v } = uT({...e,isDisabled: h- }), y = mI({+ }), y = jI({...e,defaultClassName: u,values: {@@ -39159,8 +39162,8 @@ for (var GR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Ux(fisRequired: d || !1,state: g}- }), b = jS(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(xI.label, {+ }), b = yS(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(LI.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -39173,11 +39176,11 @@ for (var GR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Ux(f"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": d || void 0- }, /*#__PURE__*/ D.createElement(yw, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {+ }, /*#__PURE__*/ D.createElement(HC, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {...K(r, m),ref: l})), y.children);-}), JR = 10, YR = 5, XR = class {+}), YR = 10, XR = 5, ZR = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -39187,7 +39190,7 @@ for (var GR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Ux(f}resolveDropTarget(e, t, n, r) {let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;- if (Math.abs(a) > YR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > JR && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > XR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > YR && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {let t = this.state.collection.getKeyBefore(e.key);for (; t != null;) {let e = this.state.collection.getItem(t);@@ -39266,11 +39269,11 @@ for (var GR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Ux(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > YR && i) {+ if (Math.abs(r - c.lastSwitchY) > XR && i) {let t = c.preferredTargetIndex || 0;i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;}- if (l > JR && a) {+ if (l > YR && a) {let t = c.preferredTargetIndex || 0;a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;}@@ -39355,8 +39358,8 @@ for (var GR = /*#__PURE__*/ (0, D.createContext)(null), wue = /*#__PURE__*/ Ux(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, ZR = "row-header-column-" + Math.random().toString(36).slice(2), QR = "row-header-column-" + Math.random().toString(36).slice(2); ZR === QR;) QR = "row-header-column-" + Math.random().toString(36).slice(2);-function $R(e, t) {+}, QR = "row-header-column-" + Math.random().toString(36).slice(2), $R = "row-header-column-" + Math.random().toString(36).slice(2); QR === $R;) $R = "row-header-column-" + Math.random().toString(36).slice(2);+function ez(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -39446,7 +39449,7 @@ var kue = class extends Oue {if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: ZR,+ key: QR,value: null,textValue: "",level: 0,@@ -39461,7 +39464,7 @@ var kue = class extends Oue {if (n?.showDragButtons) {let e = {type: "column",- key: QR,+ key: $R,value: null,textValue: "",level: 0,@@ -39488,7 +39491,7 @@ var kue = class extends Oue {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = $R(s, a);+ let l = ez(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -39514,10 +39517,10 @@ var kue = class extends Oue {return this.keyMap.get(e)?.nextKey ?? null;}getFirstKey() {- return ST(this.body.childNodes)?.key ?? null;+ return Gw(this.body.childNodes)?.key ?? null;}getLastKey() {- return wT(this.body.childNodes)?.key ?? null;+ return qw(this.body.childNodes)?.key ?? null;}getItem(e) {return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;@@ -39557,7 +39560,7 @@ function jue(e) {let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;}-function ez(e, t) {+function tz(e, t) {if (typeof e == "string") {let n = e.match(/^(\d+)(?=%$)/);if (!n) throw Error("Only percentages or numbers are supported for static column widths");@@ -39565,19 +39568,19 @@ function ez(e, t) {}return e;}-function tz(e, t) {- return e == null ? 2 ** 53 - 1 : ez(e, t);-}function nz(e, t) {- return e == null ? 0 : ez(e, t);+ return e == null ? 2 ** 53 - 1 : tz(e, t);+}+function rz(e, t) {+ return e == null ? 0 : tz(e, t);}function Mue(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;- Aue(o) ? (l = ez(o, e), s = !0) : (u = jue(o), u <= 0 && (s = !0));- let f = nz(t.minWidth ?? i?.(a) ?? 0, e), p = tz(t.maxWidth, e), m = Math.max(f, Math.min(l, p));+ Aue(o) ? (l = tz(o, e), s = !0) : (u = jue(o), u <= 0 && (s = !0));+ let f = rz(t.minWidth ?? i?.(a) ?? 0, e), p = nz(t.maxWidth, e), m = Math.max(f, Math.min(l, p));return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {frozen: s,baseSize: l,@@ -39661,7 +39664,7 @@ var Pue = class {key: e.key})), n, (e) => this.getDefaultWidth(t.columns[e]), (e) => this.getDefaultMinWidth(t.columns[e])).forEach((n, r) => {let i = t.columns[r].key, a = t.columns[r];- this.columnWidths.set(i, n), this.columnMinWidths.set(i, nz(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, tz(a.props.maxWidth, e));+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, rz(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, nz(a.props.maxWidth, e));}), this.columnWidths;}};@@ -39721,18 +39724,18 @@ function Fue(e, t) {//#endregion//#region node_modules/react-stately/dist/private/grid/useGridState.mjsfunction Iue(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || nR(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || rR(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;r.setFocusedKey = (e, r) => {if (n === "cell" && e != null) {let n = t.getItem(e);if (n?.type === "item") {- let i = xT(n, t);- e = r === "last" ? wT(i)?.key ?? null : ST(i)?.key ?? null;+ let i = Ww(n, t);+ e = r === "last" ? qw(i)?.key ?? null : Gw(i)?.key ?? null;}}a(e, r);};- let o = (0, D.useMemo)(() => new iR(t, r), [t, r]), s = (0, D.useRef)(null);+ let o = (0, D.useMemo)(() => new aR(t, r), [t, r]), s = (0, D.useRef)(null);return (0, D.useEffect)(() => {if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;@@ -39752,7 +39755,7 @@ function Iue(e) {}}if (u) {- let i = u.hasChildNodes ? [...xT(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ let i = u.hasChildNodes ? [...Ww(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);}@@ -39786,11 +39789,11 @@ function Rue(e) {i,r,a- ]), c = sR(e, (0, D.useCallback)((e) => new kue(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Iue({+ ]), c = cR(e, (0, D.useCallback)((e) => new kue(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Iue({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"- }), [d, f] = aw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ }), [d, f] = MC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);return {collection: c,disabledKeys: l,@@ -39828,7 +39831,7 @@ function zue(e, t) {function Bue(e) {return e && e.__esModule ? e.default : e;}-var Vue = class extends qy {+var Vue = class extends zy {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -39843,7 +39846,7 @@ var Vue = class extends qy {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new dz(-2);+ return new fz(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -39869,7 +39872,7 @@ var Vue = class extends qy {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = $R(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");+ if (this.headerRows = ez(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");}get columnCount() {return this.columns.length;@@ -39950,21 +39953,21 @@ var Vue = class extends qy {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new sz(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new cz(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, rz = /*#__PURE__*/ (0, D.createContext)(null), Hue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let n = Rx(t), r = (0, D.useRef)(null), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(0);- bb(() => {+}, iz = /*#__PURE__*/ (0, D.createContext)(null), Hue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let n = vx(t), r = (0, D.useRef)(null), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(0);+ sb(() => {let e = r.current;- for (; e && e !== n.current && !TC(e);) e = e.parentElement;+ for (; e && e !== n.current && !lC(e);) e = e.parentElement;i.current = e;- }, [n]), zE({+ }, [n]), cE({ref: i,box: "border-box",onResize() {o(i.current?.clientWidth ?? 0);}- }), bb(() => {+ }), sb(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, D.useMemo)(() => ({@@ -39982,17 +39985,17 @@ var Vue = class extends qy {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ D.createElement(xI.div, {+ return /*#__PURE__*/ D.createElement(LI.div, {render: e.render,- ...jS(e, { global: !0 }),+ ...yS(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll- }, /*#__PURE__*/ D.createElement(rz.Provider, { value: s }, e.children));-}), Uue = /*#__PURE__*/ (0, D.createContext)(null), iz = /*#__PURE__*/ (0, D.createContext)(null), az = /*#__PURE__*/ (0, D.createContext)(null), Wue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = gI(e, t, Uue);- let n = nR(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, D.useMemo)(() => ({+ }, /*#__PURE__*/ D.createElement(iz.Provider, { value: s }, e.children));+}), Uue = /*#__PURE__*/ (0, D.createContext)(null), az = /*#__PURE__*/ (0, D.createContext)(null), oz = /*#__PURE__*/ (0, D.createContext)(null), Wue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = NI(e, t, Uue);+ let n = rR(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, D.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -40002,8 +40005,8 @@ var Vue = class extends qy {i,a,o- ]), c = /*#__PURE__*/ D.createElement(que.Provider, { value: s }, /*#__PURE__*/ D.createElement(tS, e));- return /*#__PURE__*/ D.createElement(Jx, {+ ]), c = /*#__PURE__*/ D.createElement(que.Provider, { value: s }, /*#__PURE__*/ D.createElement(Fx, e));+ return /*#__PURE__*/ D.createElement(Ox, {content: c,createCollection: () => new Vue()}, (r) => /*#__PURE__*/ D.createElement(Kue, {@@ -40013,15 +40016,15 @@ var Vue = class extends qy {collection: r}));}), Gue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(OI);- return n ? /*#__PURE__*/ D.createElement(xI.div, {+ let { isVirtualized: n } = (0, D.useContext)(UI);+ return n ? /*#__PURE__*/ D.createElement(LI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(xI.table, {+ }) : /*#__PURE__*/ D.createElement(LI.table, {...e,ref: t});-}), oz = {+}), sz = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -40032,10 +40035,10 @@ var Vue = class extends qy {}};function Kue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = gI(e, t, SI);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, D.useContext)(rz);- t = Rx((0, D.useMemo)(() => kx(t, c?.tableRef), [t, c?.tableRef]));- let [l, u] = aw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ [e, t] = NI(e, t, RI);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, D.useContext)(iz);+ t = vx((0, D.useMemo)(() => lx(t, c?.tableRef), [t, c?.tableRef]));+ let [l, u] = MC(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, D.useMemo)(() => r.withExpandedKeys(l), [r, l]);let d = Rue({...s,@@ -40044,13 +40047,13 @@ function Kue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = zue(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, D.useContext)(OI), { dragAndDropHooks: _ } = e, { gridProps: v } = Dae({+ }), f = zue(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, D.useContext)(UI), { dragAndDropHooks: _ } = e, { gridProps: v } = Nae({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, D.useRef)(b), (0, D.useRef)(x), (0, D.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, O = (0, D.useRef)(null), { direction: k } = CS(), [A] = (0, D.useState)(() => new XR());+ let S, C, w, T = !1, E = null, O = (0, D.useRef)(null), { direction: k } = rS(), [A] = (0, D.useState)(() => new ZR());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -40065,7 +40068,7 @@ function Kue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {collection: f.collection,selectionManager: y});- let e = new Mw({+ let e = new tw({collection: f.collection,disabledKeys: y.disabledKeys,disabledBehavior: y.disabledBehavior,@@ -40085,70 +40088,70 @@ function Kue({ props: e, forwardedRef: t, selectionState: n, collection: r }) {let t = C?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = d.collection.getItem(t.key);- (e.key === oz.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === oz.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === sz.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === sz.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);}}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: j, isFocused: M, isFocusVisible: ee } = LT(), N = mI({+ let { focusProps: j, isFocused: M, isFocusVisible: N } = oT(), P = jI({...e,children: void 0,defaultClassName: "react-aria-Table",values: {isDropTarget: T,isFocused: M,- isFocusVisible: ee,+ isFocusVisible: N,state: f}- }), te = !(!b || S?.isDisabled), P = N.style, ne = null;- c && (ne = c.useTableColumnResizeState({ tableWidth: c.tableWidth }, f), p || (P = {- ...P,+ }), ee = !(!b || S?.isDisabled), F = P.style, te = null;+ c && (te = c.useTableColumnResizeState({ tableWidth: c.tableWidth }, f), p || (F = {+ ...F,tableLayout: "fixed",width: "min-content"}));- let F = jS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(pI, { values: [- [iz, f],- [az, ne],- [GL, {+ let I = yS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(AI, { values: [+ [az, f],+ [oz, te],+ [KL, {dragAndDropHooks: _,dragState: S,dropState: C}],- [KL, { render: rde }],- [SI, null],- [CI, null]- ] }, /*#__PURE__*/ D.createElement(tC, null, /*#__PURE__*/ D.createElement(Gue, {- ...K(F, N, v, j, w?.collectionProps),- style: P,+ [qL, { render: rde }],+ [RI, null],+ [zI, null]+ ] }, /*#__PURE__*/ D.createElement(WS, null, /*#__PURE__*/ D.createElement(Gue, {+ ...K(I, P, v, j, w?.collectionProps),+ style: F,ref: t,slot: e.slot || void 0,onScroll: e.onScroll,- "data-allows-dragging": te || void 0,+ "data-allows-dragging": ee || void 0,"data-drop-target": T || void 0,"data-focused": M || void 0,- "data-focus-visible": ee || void 0- }, /*#__PURE__*/ D.createElement(XL, null, /*#__PURE__*/ D.createElement(g, {+ "data-focus-visible": N || void 0+ }, /*#__PURE__*/ D.createElement(ZL, null, /*#__PURE__*/ D.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: JL(y, _, C)+ persistedKeys: YL(y, _, C)})))), E);}-var que = /*#__PURE__*/ (0, D.createContext)(null), sz = class extends Uy {+var que = /*#__PURE__*/ (0, D.createContext)(null), cz = class extends Fy {static {this.type = "tableheader";}}, Jue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(OI);- return n ? /*#__PURE__*/ D.createElement(xI.div, {+ let { isVirtualized: n } = (0, D.useContext)(UI);+ return n ? /*#__PURE__*/ D.createElement(LI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(xI.thead, {+ }) : /*#__PURE__*/ D.createElement(LI.thead, {...e,ref: t});-}), cz = /*#__PURE__*/ Qx(sz, (e, t) => {- let n = (0, D.useContext)(iz).collection, r = Zy({+}), lz = /*#__PURE__*/ Mx(cz, (e, t) => {+ let n = (0, D.useContext)(az).collection, r = Uy({items: n.headerRows,children: (0, D.useCallback)((e) => {switch (e.type) {@@ -40156,27 +40159,27 @@ var que = /*#__PURE__*/ (0, D.createContext)(null), sz = class extends Uy {default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = WO(), { hoverProps: a, isHovered: o } = VT({+ }), { rowGroupProps: i } = zO(), { hoverProps: a, isHovered: o } = uT({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = mI({+ }), s = jI({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});return /*#__PURE__*/ D.createElement(Jue, {- ...K(jS(e, { global: !0 }), i, a),+ ...K(yS(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ D.createElement(tS, {+}, (e) => /*#__PURE__*/ D.createElement(Fx, {dependencies: e.dependencies,items: e.columns}, e.children)), Yue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(OI);+ let { isVirtualized: n } = (0, D.useContext)(UI);return n ? /*#__PURE__*/ D.createElement("div", {...e,ref: t@@ -40186,40 +40189,40 @@ var que = /*#__PURE__*/ (0, D.createContext)(null), sz = class extends Uy {});});function Xue({ item: e }) {- let t = (0, D.useRef)(null), n = (0, D.useContext)(iz), { isVirtualized: r, CollectionBranch: i } = (0, D.useContext)(OI), { rowProps: a } = Nae({+ let t = (0, D.useRef)(null), n = (0, D.useContext)(az), { isVirtualized: r, CollectionBranch: i } = (0, D.useContext)(UI), { rowProps: a } = zae({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = Bae(n);+ }, n, t), { checkboxProps: o } = Kae(n);return /*#__PURE__*/ D.createElement(Yue, {...a,ref: t- }, /*#__PURE__*/ D.createElement(pI, { values: [[UI, { slots: { selection: o } }], [WI, { slots: { selection: o } }]] }, /*#__PURE__*/ D.createElement(i, {+ }, /*#__PURE__*/ D.createElement(AI, { values: [[eL, { slots: { selection: o } }], [tL, { slots: { selection: o } }]] }, /*#__PURE__*/ D.createElement(i, {collection: n.collection,parent: e})));}-var Zue = class extends Uy {+var Zue = class extends Fy {static {this.type = "column";}}, Que = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(OI);- return n ? /*#__PURE__*/ D.createElement(xI.div, {+ let { isVirtualized: n } = (0, D.useContext)(UI);+ return n ? /*#__PURE__*/ D.createElement(LI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(xI.th, {+ }) : /*#__PURE__*/ D.createElement(LI.th, {...e,ref: t});-}), lz = /*#__PURE__*/ Zx(Zue, (e, t, n) => {- let r = Rx(t), i = (0, D.useContext)(iz), { isVirtualized: a } = (0, D.useContext)(OI), { columnHeaderProps: o, isPressed: s } = Aae({+}), uz = /*#__PURE__*/ jx(Zue, (e, t, n) => {+ let r = vx(t), i = (0, D.useContext)(az), { isVirtualized: a } = (0, D.useContext)(UI), { columnHeaderProps: o, isPressed: s } = Iae({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = LT(), d = (0, D.useContext)(az), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = oT(), d = (0, D.useContext)(oz), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = VT({ isDisabled: !e.allowsSorting }), h = mI({+ let { hoverProps: p, isHovered: m } = uT({ isDisabled: !e.allowsSorting }), h = jI({...e,id: void 0,children: n.rendered,@@ -40245,7 +40248,7 @@ var Zue = class extends Uy {...g,width: d.getColumnWidth(n.key)});- let _ = jS(e, { global: !0 });+ let _ = yS(e, { global: !0 });return delete _.id, /*#__PURE__*/ D.createElement(Que, {...K(_, o, u, p),...h,@@ -40258,29 +40261,29 @@ var Zue = class extends Uy {"data-resizing": f || void 0,"data-allows-sorting": n.props.allowsSorting || void 0,"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0- }, /*#__PURE__*/ D.createElement(pI, { values: [[uz, {+ }, /*#__PURE__*/ D.createElement(AI, { values: [[dz, {column: n,triggerRef: r- }], [OI, TI]] }, h.children));-}), uz = /*#__PURE__*/ (0, D.createContext)(null), $ue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let n = (0, D.useContext)(az);+ }], [UI, VI]] }, h.children));+}), dz = /*#__PURE__*/ (0, D.createContext)(null), $ue = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let n = (0, D.useContext)(oz);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = kS(Bue(WL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, D.useContext)(rz), { column: s, triggerRef: c } = (0, D.useContext)(uz), l = (0, D.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Mae({+ let r = fS(Bue(GL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, D.useContext)(iz), { column: s, triggerRef: c } = (0, D.useContext)(dz), l = (0, D.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Rae({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 } = LT(), { 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 } = CS(), S = "both";+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = oT(), { 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 } = rS(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = Rx(t), [w, T] = (0, D.useState)("");+ let C = vx(t), [w, T] = (0, D.useState)("");(0, D.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let E = mI({+ let E = jI({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -40290,8 +40293,8 @@ var Zue = class extends Uy {isHovered: v,resizableDirection: S}- }), O = jS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(xI.div, {+ }), O = yS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(LI.div, {ref: C,role: "presentation",...K(O, E, u, _),@@ -40303,7 +40306,7 @@ var Zue = class extends Uy {}, E.children, /*#__PURE__*/ D.createElement("input", {ref: l,...K(d, m)- }), f && p && /*#__PURE__*/ Et.createPortal(/*#__PURE__*/ D.createElement("div", {+ }), f && p && /*#__PURE__*/ Tt.createPortal(/*#__PURE__*/ D.createElement("div", {style: {position: "fixed",top: 0,@@ -40314,24 +40317,24 @@ var Zue = class extends Uy {},"data-testid": "cursor-overlay"}), document.body));-}), dz = class extends Wy {+}), fz = class extends Iy {static {this.type = "tablebody";}}, ede = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(OI);- return n ? /*#__PURE__*/ D.createElement(xI.div, {+ let { isVirtualized: n } = (0, D.useContext)(UI);+ return n ? /*#__PURE__*/ D.createElement(LI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(xI.tbody, {+ }) : /*#__PURE__*/ D.createElement(LI.tbody, {...e,ref: t});-}), fz = /*#__PURE__*/ Qx(dz, (e, t, n) => {- let r = (0, D.useContext)(iz), { isVirtualized: i } = (0, D.useContext)(OI), a = r.collection, { CollectionBranch: o } = (0, D.useContext)(OI), { dragAndDropHooks: s, dropState: c } = (0, D.useContext)(GL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), pz = /*#__PURE__*/ Mx(fz, (e, t, n) => {+ let r = (0, D.useContext)(az), { isVirtualized: i } = (0, D.useContext)(UI), a = r.collection, { CollectionBranch: o } = (0, D.useContext)(UI), { dragAndDropHooks: s, dropState: c } = (0, D.useContext)(KL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = mI({+ }, p = jI({...e,id: void 0,children: void 0,@@ -40340,17 +40343,17 @@ var Zue = class extends Uy {}), m, h = a.columnCount;if (d && e.renderEmptyState && r) {let t = {}, n = {}, r = {};- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ D.createElement(mz, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ D.createElement(hz, {role: "row",...t,style: r- }, /*#__PURE__*/ D.createElement(gz, {+ }, /*#__PURE__*/ D.createElement(_z, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = WO(), _ = jS(e, { global: !0 });+ let { rowGroupProps: g } = zO(), _ = yS(e, { global: !0 });return /*#__PURE__*/ D.createElement(ede, {...K(_, p, g),ref: t,@@ -40358,15 +40361,15 @@ var Zue = class extends Uy {}, l && /*#__PURE__*/ D.createElement(cde, null), /*#__PURE__*/ D.createElement(o, {collection: a,parent: n,- renderDropIndicator: qL(s, c)+ renderDropIndicator: JL(s, c)}), m);});-(class extends Wy {+(class extends Iy {static {this.type = "tablefooter";}});-var pz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), tde = class extends Uy {+var mz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), tde = class extends Fy {static {this.type = "item";}@@ -40378,31 +40381,31 @@ var pz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), td}return null;}-}, mz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(OI);- return n ? /*#__PURE__*/ D.createElement(xI.div, {+}, hz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(UI);+ return n ? /*#__PURE__*/ D.createElement(LI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(xI.tr, {+ }) : /*#__PURE__*/ D.createElement(LI.tr, {...e,ref: t});-}), hz = /*#__PURE__*/ Qx(tde, (e, t, n) => {- let r = Rx(t), i = (0, D.useContext)(iz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(GL), { isVirtualized: c, CollectionBranch: l } = (0, D.useContext)(OI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Iae({+}), gz = /*#__PURE__*/ Mx(tde, (e, t, n) => {+ let r = vx(t), i = (0, D.useContext)(az), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(KL), { isVirtualized: c, CollectionBranch: l } = (0, D.useContext)(UI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Hae({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = LT(), { isFocusVisible: _, focusProps: v } = LT({ within: !0 }), { hoverProps: y, isHovered: b } = VT({+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = oT(), { isFocusVisible: _, focusProps: v } = oT({ within: !0 }), { hoverProps: y, isHovered: b } = uT({isDisabled: !p.allowsSelection && !p.hasAction && !u,onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = zae({ key: n.key }, i), S;+ }), { checkboxProps: x } = Gae({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0}, o));- let C, w = (0, D.useRef)(null), { visuallyHiddenProps: T } = vw();+ let C, w = (0, D.useRef)(null), { visuallyHiddenProps: T } = VC();s && a && (C = a.useDropIndicator({ target: {type: "item",key: n.key,@@ -40412,7 +40415,7 @@ var pz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), td(0, D.useEffect)(() => {o && E.current;}, []);- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), ee = mI({+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = jI({...A,id: void 0,defaultClassName: "react-aria-Row",@@ -40433,11 +40436,11 @@ var pz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), tdisExpanded: M,level: n.level + 1}- }), N = jS(e, { global: !0 });- return delete N.id, delete N.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, C && !C.isHidden && /*#__PURE__*/ D.createElement(mz, {+ }), P = yS(e, { global: !0 });+ return delete P.id, delete P.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, C && !C.isHidden && /*#__PURE__*/ D.createElement(hz, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ D.createElement(gz, {+ }, /*#__PURE__*/ D.createElement(_z, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -40446,8 +40449,8 @@ var pz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), td...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ D.createElement(mz, {- ...K(N, ee, d, g, y, S?.dragProps, v),+ }))), /*#__PURE__*/ D.createElement(hz, {+ ...K(P, N, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,"data-selected": p.isSelected || void 0,@@ -40462,17 +40465,17 @@ var pz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), td"data-expanded": M || void 0,"data-has-child-items": j || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ D.createElement(pI, { values: [- [UI, { slots: {- [fI]: {},+ }, /*#__PURE__*/ D.createElement(AI, { values: [+ [eL, { slots: {+ [kI]: {},selection: x} }],- [WI, { slots: {- [fI]: {},+ [tL, { slots: {+ [kI]: {},selection: x} }],- [NI, { slots: {- [fI]: {},+ [qI, { slots: {+ [kI]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -40480,8 +40483,8 @@ var pz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), tdstyle: { pointerEvents: "none" }}} }],- [ZL, { isSelected: p.isSelected }],- [pz, { isFocusVisibleWithinRow: _ }]+ [QL, { isSelected: p.isSelected }],+ [mz, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ D.createElement(l, {collection: i.collection,parent: n@@ -40489,34 +40492,34 @@ var pz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), td}, (e) => {if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t = [e.value].concat(e.dependencies);- return /*#__PURE__*/ D.createElement(tS, {+ return /*#__PURE__*/ D.createElement(Fx, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), nde = class extends Uy {+}), nde = class extends Fy {static {this.type = "cell";}-}, gz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(OI);- return n ? /*#__PURE__*/ D.createElement(xI.div, {+}, _z = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, D.useContext)(UI);+ return n ? /*#__PURE__*/ D.createElement(LI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(xI.td, {+ }) : /*#__PURE__*/ D.createElement(LI.td, {...e,ref: t});-}), _z = /*#__PURE__*/ Zx(nde, (e, t, n) => {- let r = Rx(t), i = (0, D.useContext)(iz), { dragState: a } = (0, D.useContext)(GL), { isVirtualized: o } = (0, D.useContext)(OI);+}), vz = /*#__PURE__*/ jx(nde, (e, t, n) => {+ let r = vx(t), i = (0, D.useContext)(az), { dragState: a } = (0, D.useContext)(KL), { isVirtualized: o } = (0, D.useContext)(UI);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = Oae({+ let { gridCellProps: s, isPressed: c } = Pae({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = LT(), { hoverProps: f, isHovered: p } = VT({}), { isFocusVisibleWithinRow: m } = (0, D.useContext)(pz), 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 = mI({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = oT(), { hoverProps: f, isHovered: p } = uT({}), { isFocusVisibleWithinRow: m } = (0, D.useContext)(mz), 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 = jI({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -40535,8 +40538,8 @@ var pz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), tdlevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = jS(e, { global: !0 });- return delete S.id, /*#__PURE__*/ D.createElement(gz, {+ }), S = yS(e, { global: !0 });+ return delete S.id, /*#__PURE__*/ D.createElement(_z, {...K(S, x, s, d, f),ref: r,"data-focused": l || void 0,@@ -40550,11 +40553,11 @@ var pz = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), td"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ D.createElement(OI.Provider, { value: TI }, x.children));+ }, /*#__PURE__*/ D.createElement(UI.Provider, { value: VI }, x.children));});function rde(e, t) {- t = Rx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(GL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+ t = vx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(KL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;return /*#__PURE__*/ D.createElement(sde, {@@ -40567,33 +40570,33 @@ function rde(e, t) {});}var ide = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(OI);- return n ? /*#__PURE__*/ D.createElement(xI.div, {+ let { isVirtualized: n } = (0, D.useContext)(UI);+ return n ? /*#__PURE__*/ D.createElement(LI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(xI.tr, {+ }) : /*#__PURE__*/ D.createElement(LI.tr, {...e,ref: t});}), ade = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, D.useContext)(OI);- return n ? /*#__PURE__*/ D.createElement(xI.div, {+ let { isVirtualized: n } = (0, D.useContext)(UI);+ return n ? /*#__PURE__*/ D.createElement(LI.div, {...e,ref: t- }) : /*#__PURE__*/ D.createElement(xI.td, {+ }) : /*#__PURE__*/ D.createElement(LI.td, {...e,ref: t});});function ode(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, D.useContext)(iz), { visuallyHiddenProps: c } = vw(), l = mI({+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, D.useContext)(az), { visuallyHiddenProps: c } = VC(), l = jI({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});return /*#__PURE__*/ D.createElement(ide, {- ...jS(e, { global: !0 }),+ ...yS(e, { global: !0 }),...l,role: "row",ref: t,@@ -40612,12 +40615,12 @@ function ode(e, t) {}var sde = /*#__PURE__*/ (0, D.forwardRef)(ode);function cde() {- let e = (0, D.useContext)(iz), { dragAndDropHooks: t, dropState: n } = (0, D.useContext)(GL), r = (0, D.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = vw();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ D.createElement(mz, {+ let e = (0, D.useContext)(az), { dragAndDropHooks: t, dropState: n } = (0, D.useContext)(KL), r = (0, D.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = VC();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ D.createElement(hz, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ D.createElement(gz, {+ }, /*#__PURE__*/ D.createElement(_z, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -40628,9 +40631,9 @@ function cde() {ref: r})));}-Zx(Gy, function(e, t, n) {- let r = (0, D.useContext)(iz), { isVirtualized: i } = (0, D.useContext)(OI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, D.useRef)(null);- uR((0, D.useMemo)(() => ({+jx(Ly, function(e, t, n) {+ let r = (0, D.useContext)(az), { isVirtualized: i } = (0, D.useContext)(UI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, D.useRef)(null);+ dR((0, D.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -40640,7 +40643,7 @@ Zx(Gy, function(e, t, n) {s,r?.collection]), u);- let d = mI({+ let d = jI({...c,id: void 0,children: n.rendered,@@ -40648,10 +40651,10 @@ Zx(Gy, function(e, t, n) {defaultStyle: { "--table-row-level": n.level + 1 },values: void 0}), f = {}, p = {}, m = {};- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(mz, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(hz, {style: { height: 0 },- inert: $L(!0)- }, /*#__PURE__*/ D.createElement(gz, { style: {+ inert: eR(!0)+ }, /*#__PURE__*/ D.createElement(_z, { style: {padding: 0,border: 0} }, /*#__PURE__*/ D.createElement("div", {@@ -40662,14 +40665,14 @@ Zx(Gy, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ D.createElement(mz, {- ...K(jS(e, { global: !0 }), f),+ }))), a && d.children && /*#__PURE__*/ D.createElement(hz, {+ ...K(yS(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ D.createElement(gz, {+ }, /*#__PURE__*/ D.createElement(_z, {role: "rowheader",...p,style: m@@ -40678,7 +40681,7 @@ Zx(Gy, function(e, t, n) {//#endregion//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjsfunction lde(e) {- let [t, n] = aw(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, D.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = cR({+ let [t, n] = MC(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, D.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = lR({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -40708,17 +40711,17 @@ function ude(e) {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? vz(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? yz(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, D.useRef)(i);return (0, D.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = vz(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = yz(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;}), {...t,isDisabled: e.isDisabled || !1};}-function vz(e, t) {+function yz(e, t) {let n = null;if (e) {for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);@@ -40728,13 +40731,13 @@ function vz(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Tabs.mjs-var yz = /*#__PURE__*/ (0, D.createContext)(null), bz = /*#__PURE__*/ (0, D.createContext)(null), dde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = gI(e, t, yz);+var bz = /*#__PURE__*/ (0, D.createContext)(null), xz = /*#__PURE__*/ (0, D.createContext)(null), dde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ [e, t] = NI(e, t, bz);let { children: n, orientation: r = "horizontal" } = e;return n = (0, D.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ D.createElement(Jx, { content: n }, (n) => /*#__PURE__*/ D.createElement(fde, {+ }) : n, [n, r]), /*#__PURE__*/ D.createElement(Ox, { content: n }, (n) => /*#__PURE__*/ D.createElement(fde, {props: e,collection: n,tabsRef: t@@ -40745,7 +40748,7 @@ function fde({ props: e, tabsRef: t, collection: n }) {...e,collection: n,children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = LT({ within: !0 }), c = (0, D.useMemo)(() => ({+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = oT({ within: !0 }), c = (0, D.useMemo)(() => ({orientation: r,isFocusWithin: o,isFocusVisible: s@@ -40753,12 +40756,12 @@ function fde({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = mI({+ ]), l = jI({...e,defaultClassName: "react-aria-Tabs",values: c- }), u = jS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(xI.div, {+ }), u = yS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(LI.div, {...K(u, l, a),ref: t,slot: e.slot || void 0,@@ -40766,20 +40769,20 @@ function fde({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ D.createElement(pI, { values: [[yz, e], [bz, i]] }, l.children));+ }, /*#__PURE__*/ D.createElement(AI, { values: [[bz, e], [xz, i]] }, l.children));}-var xz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return (0, D.useContext)(bz) ? /*#__PURE__*/ D.createElement(pde, {+var Sz = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return (0, D.useContext)(xz) ? /*#__PURE__*/ D.createElement(pde, {props: e,forwardedRef: t- }) : /*#__PURE__*/ D.createElement(tS, e);+ }) : /*#__PURE__*/ D.createElement(Fx, e);});function pde({ props: e, forwardedRef: t }) {- let n = (0, D.useContext)(bz), { CollectionRoot: r } = (0, D.useContext)(OI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = hI(yz), o = Rx(t), { tabListProps: s } = Uae({+ let n = (0, D.useContext)(xz), { CollectionRoot: r } = (0, D.useContext)(UI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = MI(bz), o = vx(t), { tabListProps: s } = Yae({...e,orientation: i,keyboardActivation: a- }, n, o), c = mI({+ }, n, o), c = jI({...e,children: null,defaultClassName: "react-aria-TabList",@@ -40787,30 +40790,30 @@ function pde({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = jS(e, { global: !0 });- return delete l.id, /*#__PURE__*/ D.createElement(xI.div, {+ }), l = yS(e, { global: !0 });+ return delete l.id, /*#__PURE__*/ D.createElement(LI.div, {...K(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ D.createElement(XL, null, /*#__PURE__*/ D.createElement(r, {+ }, /*#__PURE__*/ D.createElement(ZL, null, /*#__PURE__*/ D.createElement(r, {collection: n.collection,- persistedKeys: kI(n.selectionManager.focusedKey)+ persistedKeys: WI(n.selectionManager.focusedKey)})));}-var mde = /*#__PURE__*/ Zx(class extends Uy {+var mde = /*#__PURE__*/ jx(class extends Fy {static {this.type = "item";}}, (e, t, n) => {- let r = (0, D.useContext)(bz), i = Rx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Vae({+ let r = (0, D.useContext)(xz), i = vx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = qae({key: n.key,...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = LT(), { hoverProps: f, isHovered: p } = VT({+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = oT(), { hoverProps: f, isHovered: p } = uT({isDisabled: s,onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = mI({+ }), m = jI({...e,id: void 0,children: n.rendered,@@ -40823,7 +40826,7 @@ var mde = /*#__PURE__*/ Zx(class extends Uy {isPressed: c,isHovered: p}- }), h = n.props.href ? xI.a : xI.div, g = jS(e, { global: !0 });+ }), h = n.props.href ? LI.a : LI.div, g = yS(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ D.createElement(h, {...K(g, m, a, l, f),ref: i,@@ -40833,11 +40836,11 @@ var mde = /*#__PURE__*/ Zx(class extends Uy {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ D.createElement(ZL.Provider, { value: { isSelected: o } }, m.children));-}), hde = /*#__PURE__*/ Ux(function(e, t) {- let n = (0, D.useContext)(bz), r = Rx(t), i = n.selectedKey === e.id, [a, o] = (0, D.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ D.createElement(QL.Provider, { value: { isSelected: o } }, m.children));+}), hde = /*#__PURE__*/ Cx(function(e, t) {+ let n = (0, D.useContext)(xz), r = vx(t), i = n.selectedKey === e.id, [a, o] = (0, D.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = gR(r, i);+ let s = _R(r, i);return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ D.createElement(gde, {...e,tabPanelRef: r,@@ -40846,42 +40849,42 @@ var mde = /*#__PURE__*/ Zx(class extends Uy {});});function gde(e) {- let t = (0, D.useContext)(bz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Wae(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = LT(), d = t.selectedKey === e.id, f = hR(r) && !i, p = mI({+ let t = (0, D.useContext)(xz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Xae(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = oT(), d = t.selectedKey === e.id, f = gR(r) && !i, p = jI({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: $L(!d),+ isInert: eR(!d),isEntering: f,isExiting: a,state: t}- }), m = jS(o, { global: !0 });+ }), m = yS(o, { global: !0 });delete m.id;let h = d ? K(m, s, c, p) : K(m, p);- return /*#__PURE__*/ D.createElement(xI.div, {+ return /*#__PURE__*/ D.createElement(LI.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: $L(!d || e.inert),+ inert: eR(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ D.createElement(pI, { values: [[yz, null], [bz, null]] }, /*#__PURE__*/ D.createElement(OI.Provider, { value: TI }, p.children)));+ }, /*#__PURE__*/ D.createElement(AI, { values: [[bz, null], [xz, null]] }, /*#__PURE__*/ D.createElement(UI.Provider, { value: VI }, p.children)));}//#endregion//#region node_modules/react-aria-components/dist/private/TextArea.mjs-var Sz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {+var Cz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;}, vde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- [e, t] = gI(e, t, Sz);- let { hoverProps: n, isHovered: r } = VT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = LT({+ [e, t] = NI(e, t, Cz);+ let { hoverProps: n, isHovered: r } = uT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = oT({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = mI({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = jI({...e,values: {isHovered: r,@@ -40892,7 +40895,7 @@ var Sz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {},defaultClassName: "react-aria-TextArea"});- return /*#__PURE__*/ D.createElement(xI.textarea, {+ return /*#__PURE__*/ D.createElement(LI.textarea, {...K(_de(e), o, n),...c,ref: t,@@ -40902,18 +40905,18 @@ var Sz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), yde = /*#__PURE__*/ (0, D.createContext)(null), bde = /*#__PURE__*/ Ux(function(e, t) {- [e, t] = gI(e, t, yde);- let { validationBehavior: n } = hI(HI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useRef)(null);- [e, i] = gI(e, i, CI);- let [a, o] = _I(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, D.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = die({- ...vI(e),+}), yde = /*#__PURE__*/ (0, D.createContext)(null), bde = /*#__PURE__*/ Cx(function(e, t) {+ [e, t] = NI(e, t, yde);+ let { validationBehavior: n } = MI($I) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useRef)(null);+ [e, i] = NI(e, i, zI);+ let [a, o] = PI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, D.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Uie({+ ...FI(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, D.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = mI({+ }, [i]), h = jI({...e,values: {isDisabled: e.isDisabled || !1,@@ -40922,8 +40925,8 @@ var Sz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {isRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = jS(e, { global: !0 });- return delete g.id, /*#__PURE__*/ D.createElement(xI.div, {+ }), g = yS(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ D.createElement(LI.div, {...g,...h,ref: t,@@ -40932,31 +40935,31 @@ var Sz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ D.createElement(pI, { values: [- [AI, {+ }, /*#__PURE__*/ D.createElement(AI, { values: [+ [GI, {...l,ref: a}],- [QI, {+ [aL, {...u,ref: m}],- [Sz, {+ [Cz, {...u,ref: m}],- [XI, {+ [rL, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [zI, { slots: {+ [ZI, { slots: {description: d,errorMessage: f} }],- [VI, p]+ [QI, p]] }, h.children));-}), xde = class e extends qy {+}), xde = class e extends zy {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;@@ -41028,16 +41031,16 @@ var Sz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, Sde = /*#__PURE__*/ (0, D.createContext)(null), Cz = /*#__PURE__*/ (0, D.createContext)(null), Cde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {- return [e, t] = gI(e, t, Sde), /*#__PURE__*/ D.createElement(Jx, {- content: /*#__PURE__*/ D.createElement(tS, e),+}, Sde = /*#__PURE__*/ (0, D.createContext)(null), wz = /*#__PURE__*/ (0, D.createContext)(null), Cde = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {+ return [e, t] = NI(e, t, Sde), /*#__PURE__*/ D.createElement(Ox, {+ content: /*#__PURE__*/ D.createElement(Fx, e),createCollection: () => new xde()}, (n) => /*#__PURE__*/ D.createElement(wde, {props: e,collection: n,treeRef: t}));-}), wz = {+}), Tz = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -41048,16 +41051,16 @@ var Sz = /*#__PURE__*/ (0, D.createContext)({}), _de = (e) => {}};function wde({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = CS(), a = AT({+ let { dragAndDropHooks: r } = e, { direction: i } = rS(), a = $w({usage: "search",sensitivity: "base"}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, D.useRef)(o), l = (0, D.useRef)(s);(0, D.useEffect)(() => {c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");}, [o, s]);- let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, D.useContext)(OI), [y, b] = aw(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, D.useState)(t), [C, w] = (0, D.useState)(y), [T, E] = (0, D.useState)(() => t.withExpandedKeys(C, y));+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, D.useContext)(UI), [y, b] = MC(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, D.useState)(t), [C, w] = (0, D.useState)(y), [T, E] = (0, D.useState)(() => t.withExpandedKeys(C, y));(!jde(C, y) || t !== x) && (E(t.withExpandedKeys(C, y)), S(t), w(y));- let O = SR({+ let O = CR({...e,selectionMode: u,expandedKeys: y,@@ -41065,29 +41068,29 @@ function wde({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: k } = Gae({+ }), { gridProps: k } = Zae({...e,isVirtualized: g,layoutDelegate: _- }, O, n), A, j, M, ee = !1, N = null, te = (0, D.useRef)(null);+ }, O, n), A, j, M, N = !1, P = null, ee = (0, D.useRef)(null);if (o && r) {A = r.useDraggableCollectionState({collection: O.collection,selectionManager: O.selectionManager,- preview: r.renderDragPreview ? te : void 0+ preview: r.renderDragPreview ? ee : void 0}), r.useDraggableCollection({}, A, n);let e = r.DragPreview;- N = r.renderDragPreview ? /*#__PURE__*/ D.createElement(e, { ref: te }, r.renderDragPreview) : null;+ P = r.renderDragPreview ? /*#__PURE__*/ D.createElement(e, { ref: ee }, r.renderDragPreview) : null;}- let [P] = (0, D.useState)(() => new XR());+ let [F] = (0, D.useState)(() => new ZR());if (s && r) {j = r.useDroppableCollectionState({collection: O.collection,selectionManager: O.selectionManager});let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(O.collection, n, { direction: i });- P.setup(e, O, i);- let t = new Mw({+ F.setup(e, O, i);+ let t = new tw({collection: O.collection,collator: a,ref: n,@@ -41098,7 +41101,7 @@ function wde({ props: e, collection: t, treeRef: n }) {});M = r.useDroppableCollection({keyboardDelegate: t,- dropTargetDelegate: P,+ dropTargetDelegate: F,onDropActivate: (e) => {if (e.target.type === "item") {let t = e.target.key, n = O.collection.getItem(t), i = y.has(t);@@ -41109,28 +41112,28 @@ function wde({ props: e, collection: t, treeRef: n }) {let t = j?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = O.collection.getItem(t.key);- (e.key === wz.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === wz.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);+ (e.key === Tz.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === Tz.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);}}- }, j, n), ee = j.isDropTarget({ type: "root" });+ }, j, n), N = j.isDropTarget({ type: "root" });}- let ne = !(!o || A?.isDisabled), { focusProps: F, isFocused: re, isFocusVisible: ie } = LT(), ae = {+ let te = !(!o || A?.isDisabled), { focusProps: I, isFocused: ne, isFocusVisible: re } = oT(), ie = {isEmpty: O.collection.size === 0,- isFocused: re,- isFocusVisible: ie,- isDropTarget: ee,+ isFocused: ne,+ isFocusVisible: re,+ isDropTarget: N,selectionMode: O.selectionManager.selectionMode,- allowsDragging: !!ne,+ allowsDragging: !!te,state: O- }, oe = mI({+ }, ae = jI({...e,children: void 0,defaultClassName: "react-aria-Tree",- values: ae- }), se = null;+ values: ie+ }), oe = null;if (O.collection.size === 0 && e.renderEmptyState) {- let { isEmpty: t, ...n } = ae, r = e.renderEmptyState({ ...n });- se = /*#__PURE__*/ D.createElement("div", {+ let { isEmpty: t, ...n } = ie, r = e.renderEmptyState({ ...n });+ oe = /*#__PURE__*/ D.createElement("div", {role: "row",style: { display: "contents" },"aria-level": 1@@ -41139,65 +41142,65 @@ function wde({ props: e, collection: t, treeRef: n }) {style: { display: "contents" }}, r));}- let ce = jS(e, { global: !0 });- return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(tC, null, /*#__PURE__*/ D.createElement(xI.div, {- ...K(ce, oe, k, F, M?.collectionProps),+ let se = yS(e, { global: !0 });+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(WS, null, /*#__PURE__*/ D.createElement(LI.div, {+ ...K(se, ae, k, I, M?.collectionProps),ref: n,slot: e.slot || void 0,"data-empty": O.collection.size === 0 || void 0,- "data-focused": re || void 0,- "data-drop-target": ee || void 0,- "data-focus-visible": ie || void 0,+ "data-focused": ne || void 0,+ "data-drop-target": N || void 0,+ "data-focus-visible": re || void 0,"data-selection-mode": O.selectionManager.selectionMode === "none" ? void 0 : O.selectionManager.selectionMode,- "data-allows-dragging": !!ne || void 0- }, /*#__PURE__*/ D.createElement(pI, { values: [- [Cz, O],- [GL, {+ "data-allows-dragging": !!te || void 0+ }, /*#__PURE__*/ D.createElement(AI, { values: [+ [wz, O],+ [KL, {dragAndDropHooks: r,dragState: A,dropState: j}],- [KL, { render: Dde }]- ] }, s && /*#__PURE__*/ D.createElement(Ade, null), /*#__PURE__*/ D.createElement(XL, null, /*#__PURE__*/ D.createElement(h, {+ [qL, { render: Dde }]+ ] }, s && /*#__PURE__*/ D.createElement(Ade, null), /*#__PURE__*/ D.createElement(ZL, null, /*#__PURE__*/ D.createElement(h, {collection: O.collection,- persistedKeys: JL(O.selectionManager, r, j),+ persistedKeys: YL(O.selectionManager, r, j),scrollRef: n,- renderDropIndicator: qL(r, j)- }))), se)), N);+ renderDropIndicator: JL(r, j)+ }))), oe)), P);}-var Tde = /*#__PURE__*/ Zx(class extends Uy {+var Tde = /*#__PURE__*/ jx(class extends Fy {static {this.type = "content";}}, function(e) {- let t = (0, D.useContext)(Tz), n = mI({+ let t = (0, D.useContext)(Ez), n = jI({children: e.children,values: t});- return /*#__PURE__*/ D.createElement(OI.Provider, { value: TI }, n.children);-}), Tz = /*#__PURE__*/ (0, D.createContext)(null), Ede = /*#__PURE__*/ Qx(class extends Uy {+ return /*#__PURE__*/ D.createElement(UI.Provider, { value: VI }, n.children);+}), Ez = /*#__PURE__*/ (0, D.createContext)(null), Ede = /*#__PURE__*/ Mx(class extends Fy {static {this.type = "item";}}, (e, t, n) => {- let r = (0, D.useContext)(Cz);- t = Rx(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, D.useContext)(GL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Ok({+ let r = (0, D.useContext)(wz);+ t = vx(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, D.useContext)(KL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Ck({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 } = LT(), { isFocusVisible: b, focusProps: x } = LT({ within: !0 }), { checkboxProps: S } = Bie({ key: n.key }, r), C = null;+ }), { isFocusVisible: v, focusProps: y } = oT(), { isFocusVisible: b, focusProps: x } = oT({ within: !0 }), { checkboxProps: S } = vae({ key: n.key }, r), C = null;a && i && (C = i.useDraggableItem({key: n.key,hasDragButton: !0}, a));- let w = null, T = (0, D.useRef)(null), E = (0, D.useRef)(null), O = (0, D.useRef)(null), { visuallyHiddenProps: k } = vw();+ let w = null, T = (0, D.useRef)(null), E = (0, D.useRef)(null), O = (0, D.useRef)(null), { visuallyHiddenProps: k } = VC();o && i && (w = i.useDropIndicator({target: {type: "item",@@ -41206,7 +41209,7 @@ var Tde = /*#__PURE__*/ Zx(class extends Uy {},activateButtonRef: O}, o, E));- let A = a && a.isDragging(n.key), j = w?.isDropTarget, M = r.selectionManager.selectionMode, ee = r.selectionManager.selectionBehavior, N = D.useMemo(() => ({+ let A = a && a.isDragging(n.key), j = w?.isDropTarget, M = r.selectionManager.selectionMode, N = r.selectionManager.selectionBehavior, P = D.useMemo(() => ({...f,isHovered: _,isFocusVisible: v,@@ -41214,7 +41217,7 @@ var Tde = /*#__PURE__*/ Zx(class extends Uy {hasChildItems: m,level: h,selectionMode: M,- selectionBehavior: ee,+ selectionBehavior: N,isFocusVisibleWithin: b,state: r,id: n.key,@@ -41234,26 +41237,26 @@ var Tde = /*#__PURE__*/ Zx(class extends Uy {a,A,j,- ee,+ N,M- ]), te = mI({+ ]), ee = jI({...e,id: void 0,children: n.rendered,defaultClassName: "react-aria-TreeItem",defaultStyle: { "--tree-item-level": h },- values: N+ values: P});(0, D.useEffect)(() => {n.textValue;}, [n.textValue]), (0, D.useEffect)(() => {m && T.current;}, []);- let P = (0, D.useRef)(null);+ let F = (0, D.useRef)(null);(0, D.useEffect)(() => {- a && P.current;+ a && F.current;}, []);- let ne = Zy({+ let te = Uy({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -41263,8 +41266,8 @@ var Tde = /*#__PURE__*/ Zx(class extends Uy {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), F = Dx(), re = jS(e, { global: !0 });- return delete re.id, delete re.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, w && !w.isHidden && /*#__PURE__*/ D.createElement("div", {+ }), I = sx(), ne = yS(e, { global: !0 });+ return delete ne.id, delete ne.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, w && !w.isHidden && /*#__PURE__*/ D.createElement("div", {role: "row","aria-level": c["aria-level"],"aria-expanded": c["aria-expanded"],@@ -41281,14 +41284,14 @@ var Tde = /*#__PURE__*/ Zx(class extends Uy {}), c["aria-expanded"] == null ? null : /*#__PURE__*/ D.createElement("div", {role: "button",...k,- id: F,+ id: I,"aria-label": u["aria-label"],- "aria-labelledby": `${F} ${c.id}`,+ "aria-labelledby": `${I} ${c.id}`,tabIndex: -1,ref: O- }))), /*#__PURE__*/ D.createElement(xI.div, {- ...K(re, c, y, g, x, C?.dragProps),- ...te,+ }))), /*#__PURE__*/ D.createElement(LI.div, {+ ...K(ne, c, y, g, x, C?.dragProps),+ ...ee,ref: t,"data-expanded": m && p || void 0,"data-has-child-items": m || void 0,@@ -41306,34 +41309,34 @@ var Tde = /*#__PURE__*/ Zx(class extends Uy {}, /*#__PURE__*/ D.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ D.createElement(pI, { values: [- [UI, { slots: {- [fI]: {},+ }, /*#__PURE__*/ D.createElement(AI, { values: [+ [eL, { slots: {+ [kI]: {},selection: S} }],- [WI, { slots: {- [fI]: {},+ [tL, { slots: {+ [kI]: {},selection: S} }],- [NI, { slots: {- [fI]: {},+ [qI, { slots: {+ [kI]: {},chevron: {...u,ref: T},drag: {...C?.dragButtonProps,- ref: P,+ ref: F,style: { pointerEvents: "none" }}} }],- [Tz, { ...N }],- [ZL, { isSelected: f.isSelected }]- ] }, ne))));+ [Ez, { ...P }],+ [QL, { isSelected: f.isSelected }]+ ] }, te))));});-Zx(Gy, function(e, t, n) {- let { isVirtualized: r } = (0, D.useContext)(OI), i = (0, D.useContext)(Cz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, D.useRef)(null);- uR((0, D.useMemo)(() => ({+jx(Ly, function(e, t, n) {+ let { isVirtualized: r } = (0, D.useContext)(UI), i = (0, D.useContext)(wz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, D.useRef)(null);+ dR((0, D.useMemo)(() => ({onLoadMore: o,collection: i?.collection,sentinelRef: l,@@ -41342,11 +41345,11 @@ Zx(Gy, function(e, t, n) {o,s,i?.collection- ]), l), t = Rx(t);- let { rowProps: u, gridCellProps: d } = Ok({ node: n }, i, t), f = u["aria-level"] || 1, p = {+ ]), l), t = vx(t);+ let { rowProps: u, gridCellProps: d } = Ck({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = mI({+ }, m = jI({...c,id: void 0,children: n.rendered,@@ -41359,7 +41362,7 @@ Zx(Gy, function(e, t, n) {width: 0,height: 0},- inert: $L(!0)+ inert: eR(!0)}, /*#__PURE__*/ D.createElement("div", {"data-testid": "loadMoreSentinel",ref: l,@@ -41368,9 +41371,9 @@ Zx(Gy, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ D.createElement(xI.div, {+ })), a && m.children && /*#__PURE__*/ D.createElement(LI.div, {ref: t,- ...K(jS(e), p),+ ...K(yS(e), p),...m,"data-level": f}, /*#__PURE__*/ D.createElement("div", {@@ -41379,8 +41382,8 @@ Zx(Gy, function(e, t, n) {}, m.children)));});function Dde(e, t) {- t = Rx(t);- let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(GL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+ t = vx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(KL), i = (0, D.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;return /*#__PURE__*/ D.createElement(kde, {@@ -41393,7 +41396,7 @@ function Dde(e, t) {});}function Ode(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = vw(), c = mI({+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = VC(), c = jI({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -41402,7 +41405,7 @@ function Ode(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ D.createElement(xI.div, {+ return /*#__PURE__*/ D.createElement(LI.div, {...c,role: "row","aria-level": a,@@ -41417,7 +41420,7 @@ function Ode(e, t) {}var kde = /*#__PURE__*/ (0, D.forwardRef)(Ode);function Ade() {- let { dragAndDropHooks: e, dropState: t } = (0, D.useContext)(GL), n = (0, D.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = vw();+ let { dragAndDropHooks: e, dropState: t } = (0, D.useContext)(KL), n = (0, D.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = VC();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ D.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -41452,7 +41455,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), Ez = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), Dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41460,7 +41463,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), Dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), Oz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41468,7 +41471,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), Oz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), kz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41556,7 +41559,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), kz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), Az = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41604,7 +41607,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), Az = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), jz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41660,7 +41663,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), jz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41668,7 +41671,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), Mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), Nz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41684,7 +41687,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), Nz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), Pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41692,7 +41695,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), Pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), Fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41740,7 +41743,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), Fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), Iz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41764,7 +41767,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), Iz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), Lz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41772,7 +41775,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), Lz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), Rz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41780,7 +41783,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), Rz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), zz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41788,7 +41791,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), zz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), Bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41804,7 +41807,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), Bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), Vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41860,7 +41863,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41868,7 +41871,7 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Dfill: e,...r,className: "remixicon " + (n || "")-}, D.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), Hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {+}, D.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), Uz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41895,11 +41898,11 @@ var Mde = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D}, D.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" }));//#endregion//#region src/react/boardui/components/base/input/label.tsx-function Uz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, O.jsxs)(jI, {+function Wz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsxs)(KI, {"data-label": "true",...a,- className: dF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: GF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, O.jsx)("span", {@@ -41916,18 +41919,18 @@ function Uz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr}//#endregion//#region src/react/boardui/components/base/input/hint-text.tsx-function Wz({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, O.jsx)(BI, {+function Gz({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, O.jsx)(ble, {slot: e ? "errorMessage" : "description",...n,- className: dF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: GF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}//#endregion//#region src/react/boardui/components/base/input/input.tsx-var Gz = (0, D.createContext)({});-function Kz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, O.jsx)(Gz.Provider, {+var Kz = (0, D.createContext)({});+function qz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, O.jsx)(Kz.Provider, {value: {size: e,fieldClassName: t,@@ -41936,13 +41939,13 @@ function Kz({ size: e = "medium", fieldClassName: t, inputClassName: n, classNamchildren: /* @__PURE__ */ (0, O.jsx)(bde, {...a,"data-input-size": e,- className: dF("group flex h-max w-full flex-col items-start gap-1", r),+ className: GF("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}-Kz.displayName = "TextField";-var qz = fF({+qz.displayName = "TextField";+var Jz = KF({field: ["relative flex w-full items-center","rounded-2lg",@@ -41971,44 +41974,44 @@ var qz = fF({].join(" "),icon: "size-5 shrink-0"});-function Jz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, D.useContext)(Gz), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, O.jsx)(ZI, {+function Yz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, D.useContext)(Kz), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, O.jsx)(iL, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => dF(qz.field, d ? qz.fieldWithAddonSize[u] : qz.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 }) => GF(Jz.field, d ? Jz.fieldWithAddonSize[u] : Jz.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),children: /* @__PURE__ */ (0, O.jsxs)("div", {- className: qz.content,+ className: Jz.content,children: [/* @__PURE__ */ (0, O.jsxs)("div", {- className: qz.leftSection,+ className: Jz.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, O.jsx)(t, {- className: qz.icon,+ className: Jz.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, O.jsx)(eL, {+ }) : null, /* @__PURE__ */ (0, O.jsx)(Ele, {ref: o,...c,- className: dF(qz.input, l.inputClassName, a)+ className: GF(Jz.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, O.jsx)(n, {- className: qz.icon,+ className: Jz.icon,"aria-hidden": !0}) : null]})});}-Jz.displayName = "InputBase";-function Yz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {- return /* @__PURE__ */ (0, O.jsx)(Kz, {+Yz.displayName = "InputBase";+function Xz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {+ return /* @__PURE__ */ (0, O.jsx)(qz, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- e && /* @__PURE__ */ (0, O.jsx)(Uz, {+ e && /* @__PURE__ */ (0, O.jsx)(Wz, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, O.jsx)(Jz, {+ /* @__PURE__ */ (0, O.jsx)(Yz, {ref: c,groupRef: l,placeholder: r,@@ -42017,14 +42020,14 @@ function Yz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, O.jsx)(Wz, {+ t && /* @__PURE__ */ (0, O.jsx)(Gz, {isInvalid: d,children: t})] })});}-Yz.displayName = "Input";+Xz.displayName = "Input";//#endregion//#region src/react/components/modal-frame.tsxvar vfe = {@@ -42033,9 +42036,9 @@ var vfe = {form: "max-w-form-modal",collections: "max-w-4xl"};-function Xz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {- let { isFocusVisible: a } = mx();- return /* @__PURE__ */ (0, O.jsx)(LR, {+function Zz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {+ let { isFocusVisible: a } = Jb();+ return /* @__PURE__ */ (0, O.jsx)(RR, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -42047,7 +42050,7 @@ function Xz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {"data-modal-surface": "","data-modal-width": n,className: `flex max-h-full w-full ${vfe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,- children: /* @__PURE__ */ (0, O.jsx)(NR, {+ children: /* @__PURE__ */ (0, O.jsx)(PR, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -42055,7 +42058,7 @@ function Xz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {})});}-function Zz({ children: e }) {+function Qz({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",@@ -42064,12 +42067,12 @@ function Zz({ children: e }) {}//#endregion//#region src/react/components/note.tsx-function Qz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {+function $z({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-note-layout": "",- className: dF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),+ className: GF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),children: [/* @__PURE__ */ (0, O.jsxs)("div", {- className: dF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),+ className: GF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),children: [t ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-medium wrap-anywhere",children: t@@ -42086,27 +42089,27 @@ function Qz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:switch (e) {case "info": return /* @__PURE__ */ (0, O.jsx)("div", {role: "status",- className: dF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),+ className: GF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),children: s});case "success": return /* @__PURE__ */ (0, O.jsx)("div", {role: "status",- className: dF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),+ className: GF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),children: s});case "warning": return /* @__PURE__ */ (0, O.jsx)("div", {role: "note",- className: dF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),+ className: GF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),children: s});case "error": return /* @__PURE__ */ (0, O.jsx)("div", {role: "alert",- className: dF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),+ className: GF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),children: s});default: return /* @__PURE__ */ (0, O.jsx)("div", {role: "note",- className: dF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),+ className: GF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),children: s});}@@ -42125,7 +42128,7 @@ function bfe({ target: e, children: t }) {children: t});}-function $z({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {+function eB({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-empty-state": "","data-empty-size": i,@@ -42156,11 +42159,11 @@ function $z({ icon: e, title: t, actions: n, children: r, size: i = "standard" }}//#endregion//#region src/react/components/sprite-glyph.tsx-var eB = /* @__PURE__ */ new Map();-function tB(e) {- let t = eB.get(e);+var tB = /* @__PURE__ */ new Map();+function nB(e) {+ let t = tB.get(e);if (t) return t;- let { wide: n, viewBox: r } = Kt(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, O.jsx)("svg", {+ let { wide: n, viewBox: r } = Gt(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,viewBox: r,className: `iconwide shrink-0 fill-current ${t ?? "h-4 w-auto"}`,@@ -42174,11 +42177,11 @@ function tB(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});- return i.displayName = `SpriteGlyph(${e})`, eB.set(e, i), i;+ return i.displayName = `SpriteGlyph(${e})`, tB.set(e, i), i;}//#endregion//#region src/react/components/settings-dialog-close.tsx-function nB({ label: e, id: t, onPress: n }) {+function rB({ label: e, id: t, onPress: n }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",id: t,@@ -42194,7 +42197,7 @@ function nB({ label: e, id: t, onPress: n }) {}//#endregion//#region src/react/settings/busy-props.ts-function rB(e) {+function iB(e) {return e ? {"aria-busy": !0,"aria-disabled": !0@@ -42202,54 +42205,54 @@ function rB(e) {}//#endregion//#region src/react/library-shortcuts/library-shortcuts.ts-var iB = ["library-shortcuts"], aB = "/api/library-shortcuts";-function oB(e = !0) {- return Ct({- queryKey: iB,- queryFn: ({ signal: e }) => B(aB, e),+var aB = ["library-shortcuts"], oB = "/api/library-shortcuts";+function sB(e = !0) {+ return St({+ queryKey: aB,+ queryFn: ({ signal: e }) => V(oB, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function sB() {- return wt({- mutationKey: iB,- mutationFn: (e) => V(aB, e),+function cB() {+ return Ct({+ mutationKey: aB,+ mutationFn: (e) => H(oB, e),onSuccess: (e, t) => {- H.setQueryData(iB, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));+ U.setQueryData(aB, e), t.action === "favorite" && t.scope === "online" && (U.invalidateQueries({ queryKey: ["follow", "tags"] }), U.invalidateQueries({ queryKey: ["tag-management"] }));}});}-function cB(e, t) {+function lB(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 xfe(e) {- return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : tn(e.kind, e.name, e.entity_id);+ return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : en(e.kind, e.name, e.entity_id);}//#endregion//#region src/react/library-shortcuts/shortcut-controls.tsx-var lB = tB("star"), Sfe = tB("bookmark-plus"), uB = tB("chevron-right"), dB = {+var uB = nB("star"), Sfe = nB("bookmark-plus"), dB = nB("chevron-right"), fB = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, fB = {- all: tB("star"),- performer: tB("user-round"),- creator: tB("user-round"),- studio: tB("clapperboard"),- series: tB("film"),- agency: tB("briefcase"),- tag: tB("tags"),- filters: tB("list-filter")-}, pB = [+}, pB = {+ all: nB("star"),+ performer: nB("user-round"),+ creator: nB("user-round"),+ studio: nB("clapperboard"),+ series: nB("film"),+ agency: nB("briefcase"),+ tag: nB("tags"),+ filters: nB("list-filter")+}, mB = [["all", "全部"],- ...Object.entries(dB),+ ...Object.entries(fB),["filters", "保存的筛选"]];-function mB({ label: e, children: t, ...n }) {+function hB({ label: e, children: t, ...n }) {return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",...n,@@ -42259,19 +42262,19 @@ function mB({ label: e, children: t, ...n }) {children: t});}-function hB({ item: e }) {+function gB({ item: e }) {return /* @__PURE__ */ (0, O.jsx)(Cfe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}function Cfe({ item: e }) {- let t = oB(!1), n = (0, D.useRef)(t.data), r = sB(), i = t.data && t.data !== n.current ? cB(t.data.favorites || [], e) : e.favorite ?? (t.data ? cB(t.data.favorites || [], e) : !1);+ let t = sB(!1), n = (0, D.useRef)(t.data), r = cB(), i = t.data && t.data !== n.current ? lB(t.data.favorites || [], e) : e.favorite ?? (t.data ? lB(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [- /* @__PURE__ */ (0, O.jsx)(mB, {+ /* @__PURE__ */ (0, O.jsx)(hB, {"data-favorite": "","aria-pressed": !!i,label: `${i ? "取消收藏" : "收藏"}${e.name}`,- ...rB(r.isPending),+ ...iB(r.isPending),onClick: () => {r.isPending || r.mutate({action: "favorite",@@ -42282,11 +42285,11 @@ function Cfe({ item: e }) {children: r.isPending ? /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,dangerouslySetInnerHTML: { __html: ns("") }- }) : /* @__PURE__ */ (0, O.jsx)(lB, {})+ }) : /* @__PURE__ */ (0, O.jsx)(uB, {})}),- r.isError ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ r.isError ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",- children: jn(r.error)+ children: An(r.error)}) : null,t.isError ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -42298,19 +42301,19 @@ function Cfe({ item: e }) {]});}-function gB({ currentHref: e, kind: t }) {+function _B({ currentHref: e, kind: t }) {let [n, r] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, O.jsx)(eI, {+ children: /* @__PURE__ */ (0, O.jsx)(bI, {"data-shortcuts-trigger": "",label: "我的收藏",- icon: lB,+ icon: uB,"aria-haspopup": "dialog","aria-expanded": n,onPress: () => r(!0)})- }), /* @__PURE__ */ (0, O.jsx)(Xz, {+ }), /* @__PURE__ */ (0, O.jsx)(Zz, {isOpen: n,onOpenChange: r,width: "collections",@@ -42323,12 +42326,12 @@ function gB({ currentHref: e, kind: t }) {})] });}function wfe({ currentHref: e, kind: t, close: n }) {- let r = oB(), i = sB(), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(t || "all"), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), p = (0, D.useId)(), [m, h] = (0, D.useState)(() => matchMedia("(max-width: 760px)").matches);+ let r = sB(), i = cB(), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(t || "all"), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), p = (0, D.useId)(), [m, h] = (0, D.useState)(() => matchMedia("(max-width: 760px)").matches);(0, D.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(s), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = lI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(s), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = EI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, D.useLayoutEffect)(() => {b.current && (x.current = $a(b.current) || null);}, []), (0, D.useLayoutEffect)(() => {@@ -42341,7 +42344,7 @@ function wfe({ currentHref: e, kind: t, close: n }) {}, [s]), (0, D.useLayoutEffect)(() => {x.current?.();});- let C = pB.find(([e]) => e === s)?.[1] || "全部", w = (e) => {+ let C = mB.find(([e]) => e === s)?.[1] || "全部", w = (e) => {let t = [...e.currentTarget.querySelectorAll("[role=\"tab\"]")], n = t.indexOf(e.target);if (n < 0) return;let r = e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : ["ArrowDown", "ArrowRight"].includes(e.key) ? (n + 1) % t.length : ["ArrowUp", "ArrowLeft"].includes(e.key) ? (n + t.length - 1) % t.length : -1;@@ -42364,7 +42367,7 @@ function wfe({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, O.jsx)("h2", {className: "text-title-2-semibold text-text-primary",children: C- }), /* @__PURE__ */ (0, O.jsx)(nB, {+ }), /* @__PURE__ */ (0, O.jsx)(rB, {label: "关闭我的收藏",onPress: n})]@@ -42394,8 +42397,8 @@ function wfe({ currentHref: e, kind: t, close: n }) {role: "presentation",children: "我的收藏"}),- pB.map(([e, t]) => {- let n = fB[e] || lB, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ mB.map(([e, t]) => {+ let n = pB[e] || uB, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",@@ -42427,9 +42430,9 @@ function wfe({ currentHref: e, kind: t, close: n }) {href: "/flagged",onClick: n,children: [- /* @__PURE__ */ (0, O.jsx)(lB, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, O.jsx)(uB, { "aria-hidden": !0 }),"已标记",- /* @__PURE__ */ (0, O.jsx)(uB, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, O.jsx)(dB, { "aria-hidden": !0 })]}), /* @__PURE__ */ (0, O.jsxs)("a", {href: "/watch-later",@@ -42437,7 +42440,7 @@ function wfe({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, O.jsx)(Sfe, { "aria-hidden": !0 }),"稍后看",- /* @__PURE__ */ (0, O.jsx)(uB, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, O.jsx)(dB, { "aria-hidden": !0 })]})]})]@@ -42456,25 +42459,25 @@ function wfe({ currentHref: e, kind: t, close: n }) {"data-skeleton": "",className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"}) : null,- r.isError ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ r.isError ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",onClick: () => void r.refetch(),children: "立即重试"}),- children: jn(r.error)+ children: An(r.error)}) : null,- i.isError ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ i.isError ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",- children: jn(i.error)+ children: An(i.error)}) : null,E ? s === "filters" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- E.filters.length ? null : /* @__PURE__ */ (0, O.jsx)($z, {+ E.filters.length ? null : /* @__PURE__ */ (0, O.jsx)(eB, {size: "compact",- icon: tB("list-filter"),+ icon: nB("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, O.jsx)(dI, {+ actions: /* @__PURE__ */ (0, O.jsx)(OI, {size: "small",href: "/",onClick: n,@@ -42493,7 +42496,7 @@ function wfe({ currentHref: e, kind: t, close: n }) {variant: "secondary",size: "small","aria-label": `删除筛选${e.name}`,- ...rB(i.isPending),+ ...iB(i.isPending),onClick: () => {i.isPending || i.mutate({action: "delete_filter",@@ -42508,7 +42511,7 @@ function wfe({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, O.jsx)(Yz, {+ /* @__PURE__ */ (0, O.jsx)(Xz, {label: "筛选名称",value: a,onChange: o,@@ -42517,7 +42520,7 @@ function wfe({ currentHref: e, kind: t, close: n }) {/* @__PURE__ */ (0, O.jsx)(q, {type: "submit",disabled: !a.trim(),- ...rB(i.isPending),+ ...iB(i.isPending),children: "保存当前筛选"}),d ? /* @__PURE__ */ (0, O.jsx)("span", {@@ -42528,16 +42531,16 @@ function wfe({ currentHref: e, kind: t, close: n }) {]}) : null] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(Yz, {+ /* @__PURE__ */ (0, O.jsx)(Xz, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: tB("search"),+ leadingIcon: nB("search"),value: l,onChange: u}),- k.length ? null : /* @__PURE__ */ (0, O.jsx)($z, {+ k.length ? null : /* @__PURE__ */ (0, O.jsx)(eB, {size: "compact",- icon: lB,+ icon: uB,title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",actions: l ? /* @__PURE__ */ (0, O.jsx)(q, {size: "small",@@ -42547,7 +42550,7 @@ function wfe({ currentHref: e, kind: t, close: n }) {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, O.jsx)(dI, {+ }) : /* @__PURE__ */ (0, O.jsx)(OI, {size: "small",href: "/",onClick: n,@@ -42572,14 +42575,14 @@ function wfe({ currentHref: e, kind: t, close: n }) {children: e.name}), /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: e.scope === "online" ? "在线标签" : dB[e.kind]+ children: e.scope === "online" ? "在线标签" : fB[e.kind]})]})]}), /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small","aria-label": `取消收藏${e.name}`,- ...rB(i.isPending),+ ...iB(i.isPending),onClick: () => {i.isPending || i.mutate({action: "favorite",@@ -42598,7 +42601,7 @@ function wfe({ currentHref: e, kind: t, close: n }) {});}function Tfe({ item: e }) {- let t = fB[e.kind] || lB;+ let t = pB[e.kind] || uB;return /* @__PURE__ */ (0, O.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -42617,20 +42620,20 @@ function Tfe({ item: e }) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/url.js-var Efe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, _B = /^[\\/]{2}/;+var Efe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, vB = /^[\\/]{2}/;function Dfe(e, t) {return t + e.replace(/\\/g, "/");}//#endregion//#region node_modules/react-router/dist/production/lib/router/history.js-var vB = "popstate";-function yB(e) {+var yB = "popstate";+function bB(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}function Ofe(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;- return CB("", {+ return wB("", {pathname: r,search: i,hash: a@@ -42641,14 +42644,14 @@ function Ofe(e = {}) {} : void 0);}function n(e, t) {- return typeof t == "string" ? t : wB(t);+ return typeof t == "string" ? t : TB(t);}return Afe(t, n, null, e);}-function bB(e, t) {+function xB(e, t) {if (e === !1 || e == null) throw Error(t);}-function xB(e, t) {+function SB(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -42659,7 +42662,7 @@ function xB(e, t) {function kfe() {return Math.random().toString(36).substring(2, 10);}-function SB(e, t) {+function CB(e, t) {return {usr: e.state,key: e.key,@@ -42671,21 +42674,21 @@ function SB(e, t) {} : void 0};}-function CB(e, t, n = null, r, i) {+function wB(e, t, n = null, r, i) {return {pathname: typeof e == "string" ? e : e.pathname,search: "",hash: "",- ...typeof t == "string" ? TB(t) : t,+ ...typeof t == "string" ? EB(t) : t,state: n,key: t && t.key || r || kfe(),mask: i};}-function wB({ pathname: e = "/", search: t = "", hash: n = "" }) {+function TB({ pathname: e = "/", search: t = "", hash: n = "" }) {return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;}-function TB(e) {+function EB(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -42715,9 +42718,9 @@ function Afe(e, t, n, r = {}) {}function f(e, t) {s = "PUSH";- let r = yB(e) ? e : CB(h.location, e, t);+ let r = bB(e) ? e : wB(h.location, e, t);n && n(r, e), l = u() + 1;- let d = SB(r, l), f = h.createHref(r.mask || r);+ let d = CB(r, l), f = h.createHref(r.mask || r);try {o.pushState(d, "", f);} catch (e) {@@ -42732,9 +42735,9 @@ function Afe(e, t, n, r = {}) {}function p(e, t) {s = "REPLACE";- let r = yB(e) ? e : CB(h.location, e, t);+ let r = bB(e) ? e : wB(h.location, e, t);n && n(r, e), l = u();- let i = SB(r, l), d = h.createHref(r.mask || r);+ let i = CB(r, l), d = h.createHref(r.mask || r);o.replaceState(i, "", d), a && c && c({action: s,location: h.location,@@ -42753,8 +42756,8 @@ function Afe(e, t, n, r = {}) {},listen(e) {if (c) throw Error("A history only accepts one active listener");- return i.addEventListener(vB, d), c = e, () => {- i.removeEventListener(vB, d), c = null;+ return i.addEventListener(yB, d), c = e, () => {+ i.removeEventListener(yB, d), c = null;};},createHref(e) {@@ -42779,9 +42782,9 @@ function Afe(e, t, n, r = {}) {}function jfe(e, t, n = !1) {let r = "http://localhost";- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), bB(r, "No window.location.(origin|href) available to create URL");- let i = typeof t == "string" ? t : wB(t);- return i = i.replace(/ $/, "%20"), !n && _B.test(i) && (i = r + i), new URL(i, r);+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), xB(r, "No window.location.(origin|href) available to create URL");+ let i = typeof t == "string" ? t : TB(t);+ return i = i.replace(/ $/, "%20"), !n && vB.test(i) && (i = r + i), new URL(i, r);}//#endregion//#region node_modules/react-router/dist/production/lib/router/utils.js@@ -42789,17 +42792,17 @@ function Mfe(e, t, n = "/") {return Nfe(e, t, n, !1);}function Nfe(e, t, n, r, i) {- let a = MB((typeof t == "string" ? TB(t) : t).pathname || "/", n);+ let a = NB((typeof t == "string" ? EB(t) : t).pathname || "/", n);if (a == null) return null;let o = i ?? Pfe(e), s = null, c = qfe(a);for (let e = 0; s == null && e < o.length; ++e) s = Kfe(o[e], c, r);return s;}function Pfe(e) {- let t = EB(e);+ let t = DB(e);return Ffe(t), t;}-function EB(e, t = [], n = [], r = "", i = !1) {+function DB(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {let c = {relativePath: s === void 0 ? e.path || "" : s,@@ -42809,14 +42812,14 @@ function EB(e, t = [], n = [], r = "", i = !1) {};if (c.relativePath.startsWith("/")) {if (!c.relativePath.startsWith(r) && o) return;- bB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);+ xB(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);}- let l = IB([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && (bB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), EB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({+ let l = LB([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (xB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), DB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({path: l,score: Wfe(l, e.index),routesMeta: u.map((e, t) => {- let [n, r] = jB(e.relativePath, e.caseSensitive, t === u.length - 1);+ let [n, r] = MB(e.relativePath, e.caseSensitive, t === u.length - 1);return {...e,matcher: n,@@ -42827,24 +42830,24 @@ function EB(e, t = [], n = [], r = "", i = !1) {};return e.forEach((e, t) => {if (e.path === "" || !e.path?.includes("?")) a(e, t);- else for (let n of DB(e.path)) a(e, t, !0, n);+ else for (let n of OB(e.path)) a(e, t, !0, n);}), t;}-function DB(e) {+function OB(e) {let t = e.split("/");if (t.length === 0) return [];let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");if (r.length === 0) return i ? [a, ""] : [a];- let o = DB(r.join("/")), s = [];+ let o = OB(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 Ffe(e) {e.sort((e, t) => e.score === t.score ? Gfe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var Ife = /^:[\w-]+$/, Lfe = /^:[\w-]+/, Rfe = 3.5, zfe = 3, Bfe = 2, Vfe = 1, Hfe = 10, Ufe = -2, OB = (e) => e === "*";+var Ife = /^:[\w-]+$/, Lfe = /^:[\w-]+/, Rfe = 3.5, zfe = 3, Bfe = 2, Vfe = 1, Hfe = 10, Ufe = -2, kB = (e) => e === "*";function Wfe(e, t) {let n = e.split("/"), r = n.length;- return n.some(OB) && (r += Ufe), t && (r += Bfe), n.filter((e) => !OB(e)).reduce((e, t) => e + (Ife.test(t) ? zfe : Lfe.test(t) ? Rfe : t === "" ? Vfe : Hfe), r);+ return n.some(kB) && (r += Ufe), t && (r += Bfe), n.filter((e) => !kB(e)).reduce((e, t) => e + (Ife.test(t) ? zfe : Lfe.test(t) ? Rfe : t === "" ? Vfe : Hfe), r);}function Gfe(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;@@ -42856,39 +42859,39 @@ function Kfe(e, t, n = !1) {path: s.relativePath,caseSensitive: s.caseSensitive,end: c- }, d = s.matcher && s.compiledParams ? AB(u, l, s.matcher, s.compiledParams) : kB(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = kB({+ }, d = s.matcher && s.compiledParams ? jB(u, l, s.matcher, s.compiledParams) : AB(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = AB({path: s.relativePath,caseSensitive: s.caseSensitive,end: !1}, l)), !d) return null;Object.assign(i, d.params), o.push({params: i,- pathname: IB([a, d.pathname]),- pathnameBase: Qfe(IB([a, d.pathnameBase])),+ pathname: LB([a, d.pathname]),+ pathnameBase: Qfe(LB([a, d.pathnameBase])),route: f- }), d.pathnameBase !== "/" && (a = IB([a, d.pathnameBase]));+ }), d.pathnameBase !== "/" && (a = LB([a, d.pathnameBase]));}return o;}-function kB(e, t) {+function AB(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = jB(e.path, e.caseSensitive, e.end);- return AB(e, t, n, r);+ let [n, r] = MB(e.path, e.caseSensitive, e.end);+ return jB(e, t, n, r);}-function AB(e, t, n, r) {+function jB(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = LB(a, 1), s = i.slice(1);+ let a = i[0], o = RB(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = LB(a.slice(0, a.length - e.length), 1);+ o = RB(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -42898,8 +42901,8 @@ function AB(e, t, n, r) {pattern: e};}-function jB(e, t = !1, n = !0) {- xB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);+function MB(e, t = !1, n = !0) {+ SB(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {if (r.push({paramName: t,@@ -42916,30 +42919,30 @@ function qfe(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {- return xB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;+ return SB(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;}}-function MB(e, t) {+function NB(e, t) {if (t === "/") return e;if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);return r && r !== "/" ? null : e.slice(n) || "/";}function Jfe(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? TB(e) : e, a;- return n ? (n = FB(n), a = n.startsWith("/") || n.startsWith("\\") ? NB(n.substring(1), "/") : NB(n, t)) : a = t, {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? EB(e) : e, a;+ return n ? (n = IB(n), a = n.startsWith("/") || n.startsWith("\\") ? PB(n.substring(1), "/") : PB(n, t)) : a = t, {pathname: a,search: $fe(r),hash: epe(i)};}-function NB(e, t) {- let n = LB(t).split("/");+function PB(e, t) {+ let n = RB(t).split("/");return e.split("/").forEach((e) => {e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);}), n.length > 1 ? n.join("/") : "/";}-function PB(e, t, n, r) {+function FB(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 Yfe(e) {@@ -42951,7 +42954,7 @@ function Xfe(e) {}function Zfe(e, t, n, r = !1) {let i;- typeof e == "string" ? i = TB(e) : (i = { ...e }, bB(!i.pathname || !i.pathname.includes("?"), PB("?", "pathname", "search", i)), bB(!i.pathname || !i.pathname.includes("#"), PB("#", "pathname", "hash", i)), bB(!i.search || !i.search.includes("#"), PB("#", "search", "hash", i)));+ typeof e == "string" ? i = EB(e) : (i = { ...e }, xB(!i.pathname || !i.pathname.includes("?"), FB("?", "pathname", "search", i)), xB(!i.pathname || !i.pathname.includes("#"), FB("#", "pathname", "hash", i)), xB(!i.search || !i.search.includes("#"), FB("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;if (o == null) s = n;else {@@ -42966,13 +42969,13 @@ function Zfe(e, t, n, r = !1) {let c = Jfe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var FB = (e) => e.replace(/[\\/]{2,}/g, "/"), IB = (e) => FB(e.join("/"));-function LB(e, t = 0) {+var IB = (e) => e.replace(/[\\/]{2,}/g, "/"), LB = (e) => IB(e.join("/"));+function RB(e, t = 0) {let n = e.length;for (; n > t && e.charCodeAt(n - 1) === 47;) n--;return n === e.length ? e : e.slice(0, n);}-var Qfe = (e) => LB(e).replace(/^\/*/, "/"), $fe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, epe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, tpe = class {+var Qfe = (e) => RB(e).replace(/^\/*/, "/"), $fe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, epe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, tpe = class {status;statusText;data;@@ -42986,9 +42989,9 @@ function npe(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}function rpe(e) {- return IB(e.map((e) => e.route.path).filter(Boolean)) || "/";+ return LB(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var RB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+var zB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;function ipe(e, t) {let n = e;if (typeof n != "string" || !Efe.test(n)) return {@@ -42997,11 +43000,11 @@ function ipe(e, t) {to: n};let r = n, i = !1;- if (RB) try {- let e = new URL(window.location.href), r = _B.test(n) ? new URL(Dfe(n, e.protocol)) : new URL(n), a = MB(r.pathname, t);+ if (zB) try {+ let e = new URL(window.location.href), r = vB.test(n) ? new URL(Dfe(n, e.protocol)) : new URL(n), a = NB(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {- xB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ SB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);}return {absoluteURL: r,@@ -43011,16 +43014,16 @@ function ipe(e, t) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/navigation.js-var zB = new URL("http://localhost");-function BB(e) {+var BB = new URL("http://localhost");+function VB(e) {if (e.createURL) return e.createURL("/");try {- return new URL(e.createHref("/"), zB);+ return new URL(e.createHref("/"), BB);} catch {- return zB;+ return BB;}}-function VB(e, t) {+function HB(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}function ape(e, t) {@@ -43028,26 +43031,26 @@ function ape(e, t) {let n = t.protocol.toLowerCase();return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;}-function HB(e, t, n, r) {+function UB(e, t, n, r) {let i = null;try {i = e == null ? null : new URL(e, n);} catch {}- let a = new URL(t, n), o = i != null && !VB(i, n), s = !VB(a, n);+ let a = new URL(t, n), o = i != null && !HB(i, n), s = !HB(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !ape(e, i) || !VB(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !ape(e, i) || !HB(i, a))) throw Error("External navigation is not allowed");}//#endregion//#region node_modules/react-router/dist/production/lib/router/router.js-var UB = [+var WB = ["POST","PUT","PATCH","DELETE"];-new Set(UB);-var ope = ["GET", ...UB];+new Set(WB);+var ope = ["GET", ...WB];new Set(ope);var spe = ["about:",@@ -43070,12 +43073,12 @@ function cpe(e) {}//#endregion//#region node_modules/react-router/dist/production/lib/context.js-var WB = D.createContext(null);-WB.displayName = "DataRouter";+var GB = D.createContext(null);+GB.displayName = "DataRouter";var lpe = D.createContext(null);lpe.displayName = "DataRouterState";-var GB = D.createContext(null);-GB.displayName = "DataRouterData";+var KB = D.createContext(null);+KB.displayName = "DataRouterData";var upe = D.createContext(null);upe.displayName = "DataRouterNavigation";var dpe = D.createContext(!1), fpe = D.createContext({ isTransitioning: !1 });@@ -43084,62 +43087,62 @@ var ppe = D.createContext(null);ppe.displayName = "Fetchers";var mpe = D.createContext(null);mpe.displayName = "Await";-var KB = D.createContext(null);-KB.displayName = "Navigation";var qB = D.createContext(null);-qB.displayName = "Location";-var JB = D.createContext({+qB.displayName = "Navigation";+var JB = D.createContext(null);+JB.displayName = "Location";+var YB = D.createContext({outlet: null,matches: [],isDataRoute: !1});-JB.displayName = "Route";-var YB = D.createContext(!1);-YB.displayName = "IsDataRoute";-var XB = D.createContext(void 0);-XB.displayName = "RouteId";-var ZB = D.createContext(null);-ZB.displayName = "RouteError";+YB.displayName = "Route";+var XB = D.createContext(!1);+XB.displayName = "IsDataRoute";+var ZB = D.createContext(void 0);+ZB.displayName = "RouteId";+var QB = D.createContext(null);+QB.displayName = "RouteError";//#endregion//#region node_modules/react-router/dist/production/lib/errors.js-var QB = "REACT_ROUTER_ERROR", hpe = "REDIRECT", gpe = "ROUTE_ERROR_RESPONSE";+var $B = "REACT_ROUTER_ERROR", hpe = "REDIRECT", gpe = "ROUTE_ERROR_RESPONSE";function _pe(e) {- if (e.startsWith(`${QB}:${hpe}:{`)) try {+ if (e.startsWith(`${$B}:${hpe}:{`)) 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 vpe(e) {- if (e.startsWith(`${QB}:${gpe}:{`)) try {+ if (e.startsWith(`${$B}:${gpe}:{`)) try {let t = JSON.parse(e.slice(40));if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new tpe(t.status, t.statusText, t.data);} catch {}}//#endregion//#region node_modules/react-router/dist/production/lib/hooks.js-function $B() {- return D.useContext(qB) != null;-}function eV() {- return bB($B(), "useLocation() may be used only in the context of a <Router> component."), D.useContext(qB).location;+ return D.useContext(JB) != null;+}+function tV() {+ return xB(eV(), "useLocation() may be used only in the context of a <Router> component."), D.useContext(JB).location;}-var tV = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";+var nV = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ype() {- return D.useContext(YB) ? jpe() : bpe();+ return D.useContext(XB) ? jpe() : bpe();}function bpe() {- bB($B(), "useNavigate() may be used only in the context of a <Router> component.");- let e = D.useContext(WB), { basename: t, navigator: n } = D.useContext(KB), { matches: r } = D.useContext(JB), { pathname: i } = eV(), a = JSON.stringify(Xfe(r)), o = D.useRef(!1);+ xB(eV(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = D.useContext(GB), { basename: t, navigator: n } = D.useContext(qB), { matches: r } = D.useContext(YB), { pathname: i } = tV(), a = JSON.stringify(Xfe(r)), o = D.useRef(!1);return D.useLayoutEffect(() => {o.current = !0;}), D.useCallback((r, s = {}) => {- if (xB(o.current, tV), !o.current) return;+ if (SB(o.current, nV), !o.current) return;if (typeof r == "number") {n.go(r);return;}let c = Zfe(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : IB([t, c.pathname])), HB(typeof r == "string" ? r : wB(r), n.createHref(c), BB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : LB([t, c.pathname])), UB(typeof r == "string" ? r : TB(r), n.createHref(c), VB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,n,@@ -43150,18 +43153,18 @@ function bpe() {}D.createContext(null);function xpe(e, t) {- return nV(e, t);+ return rV(e, t);}-function nV(e, t, n) {- bB($B(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = D.useContext(KB), { matches: i } = D.useContext(JB), a = i[i.length - 1], o = a ? a.params : {};+function rV(e, t, n) {+ xB(eV(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = D.useContext(qB), { matches: i } = D.useContext(YB), a = i[i.length - 1], o = a ? a.params : {};a && a.pathname;let s = a ? a.pathnameBase : "/";a && a.route;- let c = eV(), l;+ let c = tV(), l;if (t) {- let e = typeof t == "string" ? TB(t) : t;- bB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;+ let e = typeof t == "string" ? EB(t) : t;+ xB(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;} else l = c;let u = l.pathname || "/", d = u;if (s !== "/") {@@ -43172,10 +43175,10 @@ function nV(e, t, n) {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) : Mfe(e, { pathname: d });let p = Dpe(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),- pathname: IB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : IB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])+ pathname: LB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : LB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])})), i, n);- return t && p ? /* @__PURE__ */ D.createElement(qB.Provider, { value: {+ return t && p ? /* @__PURE__ */ D.createElement(JB.Provider, { value: {location: {pathname: "/",search: "",@@ -43227,27 +43230,27 @@ var Cpe = /* @__PURE__ */ D.createElement(Spe, null), wpe = class extends D.Complet t = vpe(e.digest);t && (e = t);}- let t = e === void 0 ? this.props.children : /* @__PURE__ */ D.createElement(JB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ D.createElement(YB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ D.createElement(XB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ D.createElement(ZB.Provider, {+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ D.createElement(YB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ D.createElement(XB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ D.createElement(ZB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ D.createElement(QB.Provider, {value: e,children: this.props.component}))));return this.context ? /* @__PURE__ */ D.createElement(Tpe, { error: e }, t) : t;}-}, rV = /* @__PURE__ */ new WeakMap();+}, iV = /* @__PURE__ */ new WeakMap();function Tpe({ children: e, error: t }) {- let { basename: n, navigator: r } = D.useContext(KB);+ let { basename: n, navigator: r } = D.useContext(qB);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {let e = _pe(t.digest);if (e) {- let i = rV.get(t);+ let i = iV.get(t);if (i) throw i;let a = ipe(e.location, n), o = a.absoluteURL || a.to;- if (HB(e.location, o, BB(r), "allow-explicit"), cpe(o)) throw Error("Invalid redirect location");- if (RB && !rV.get(t)) {+ if (UB(e.location, o, VB(r), "allow-explicit"), cpe(o)) throw Error("Invalid redirect location");+ if (zB && !iV.get(t)) {if (a.isExternal || e.reloadDocument) window.location.href = o;else {let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));- throw rV.set(t, n), n;+ throw iV.set(t, n), n;}}return /* @__PURE__ */ D.createElement("meta", {@@ -43259,8 +43262,8 @@ function Tpe({ children: e, error: t }) {return e;}function Epe({ routeContext: e, match: t, children: n }) {- let r = D.useContext(WB);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ D.createElement(JB.Provider, { value: e }, /* @__PURE__ */ D.createElement(YB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ D.createElement(XB.Provider, { value: t.route.id }, n)));+ let r = D.useContext(GB);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ D.createElement(YB.Provider, { value: e }, /* @__PURE__ */ D.createElement(XB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ D.createElement(ZB.Provider, { value: t.route.id }, n)));}function Dpe(e, t = [], n) {let r = n?.state;@@ -43273,7 +43276,7 @@ function Dpe(e, t = [], n) {let i = e, a = r?.errors;if (a != null) {let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);- bB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));+ xB(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));}let o = !1, s = -1;if (n && r) {@@ -43327,44 +43330,44 @@ function Dpe(e, t = [], n) {}) : h();}, null);}-function iV(e) {+function aV(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}function Ope(e) {- let t = D.useContext(WB);- return bB(t, iV(e)), t;+ let t = D.useContext(GB);+ return xB(t, aV(e)), t;}function kpe(e) {- let t = D.useContext(GB);- return bB(t, iV(e)), t;+ let t = D.useContext(KB);+ return xB(t, aV(e)), t;}-function aV(e) {- let t = D.useContext(XB);- return bB(t, `${e} can only be used on routes that contain a unique "id"`), t;+function oV(e) {+ let t = D.useContext(ZB);+ return xB(t, `${e} can only be used on routes that contain a unique "id"`), t;}function Ape() {- let e = D.useContext(ZB), t = kpe("useRouteError"), n = aV("useRouteError");+ let e = D.useContext(QB), t = kpe("useRouteError"), n = oV("useRouteError");return e === void 0 ? t.errors?.[n] : e;}function jpe() {- let { router: e } = Ope("useNavigate"), t = aV("useNavigate"), n = D.useRef(!1);+ let { router: e } = Ope("useNavigate"), t = oV("useNavigate"), n = D.useRef(!1);return D.useLayoutEffect(() => {n.current = !0;}), D.useCallback(async (r, i = {}) => {- xB(n.current, tV), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ SB(n.current, nV), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {fromRouteId: t,...i}));}, [e, t]);}-var oV = {};+var sV = {};function Mpe(e, t, n) {- !t && !oV[e] && (oV[e] = !0, xB(!1, n));+ !t && !sV[e] && (sV[e] = !0, SB(!1, n));}D.memo(Npe);function Npe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = D.useContext(WB);- return bB(a, "You must render this element inside a <DataRouterContext.Provider> element"), nV(e, void 0, {+ let a = D.useContext(GB);+ return xB(a, "You must render this element inside a <DataRouterContext.Provider> element"), rV(e, void 0, {router: a.router,manifest: t,state: n,@@ -43372,11 +43375,11 @@ function Npe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {onError: i});}-function sV(e) {- bB(!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 cV(e) {+ xB(!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 Ppe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- bB(!$B(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");+ xB(!eV(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = D.useMemo(() => ({basename: s,navigator: i,@@ -43389,9 +43392,9 @@ function Ppe({ basename: e = "/", children: t = null, location: n, navigationTypa,o]);- typeof n == "string" && (n = TB(n));+ typeof n == "string" && (n = EB(n));let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = D.useMemo(() => {- let e = MB(l, s);+ let e = NB(l, s);return e == null ? null : {location: {pathname: e,@@ -43413,27 +43416,27 @@ function Ppe({ basename: e = "/", children: t = null, location: n, navigationTypr,m]);- return xB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ D.createElement(KB.Provider, { value: c }, /* @__PURE__ */ D.createElement(qB.Provider, {+ return SB(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ D.createElement(qB.Provider, { value: c }, /* @__PURE__ */ D.createElement(JB.Provider, {children: t,value: h}));}-function cV({ children: e, location: t }) {- return xpe(lV(e), t);+function lV({ children: e, location: t }) {+ return xpe(uV(e), t);}D.Component;-function lV(e, t = []) {+function uV(e, t = []) {let n = [];return D.Children.forEach(e, (e, r) => {if (!D.isValidElement(e)) return;let i = [...t, r];if (e.type === D.Fragment) {- n.push.apply(n, lV(e.props.children, i));+ n.push.apply(n, uV(e.props.children, i));return;}- bB(e.type === sV, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);+ xB(e.type === cV, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let a = e.props;- bB(!a.index || !a.children, "An index route cannot have child routes.");+ xB(!a.index || !a.children, "An index route cannot have child routes.");let o = {id: a.id || i.join("-"),caseSensitive: a.caseSensitive,@@ -43452,7 +43455,7 @@ function lV(e, t = []) {handle: a.handle,lazy: a.lazy};- a.children && (o.children = lV(a.children, i)), n.push(o);+ a.children && (o.children = uV(a.children, i)), n.push(o);}), n;}//#endregion@@ -43490,7 +43493,7 @@ function Lpe(e) {})});}-function uV(e) {+function dV(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -43509,7 +43512,7 @@ function Rpe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: rreturn /* @__PURE__ */ (0, O.jsx)("nav", {ref: r,"aria-label": t,- className: dF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),+ className: GF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, O.jsx)("ol", {className: "flex items-center gap-2.5 px-1",children: i.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, O.jsx)(Lpe, {@@ -43519,17 +43522,17 @@ function Rpe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r})});}-function dV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {+function fV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {let o = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t && /* @__PURE__ */ (0, O.jsx)(t, {className: "size-4 shrink-0","aria-hidden": !0}), e] });if (i) return /* @__PURE__ */ (0, O.jsx)("li", {"aria-current": "page",- className: dF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),+ className: GF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),children: o});- let s = dF("-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 = GF("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);return /* @__PURE__ */ (0, O.jsx)("li", {className: "flex items-center",children: n ? /* @__PURE__ */ (0, O.jsx)(Fpe, {@@ -43539,19 +43542,19 @@ function dV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN}) : /* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: r,- className: dF("cursor-pointer", s),+ className: GF("cursor-pointer", s),children: o})});}//#endregion//#region src/react/boardui/components/foundations/direction/direction.tsx-function fV() {- return CS().direction;+function pV() {+ return rS().direction;}//#endregion//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var pV = [+var mV = ["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",@@ -43559,11 +43562,11 @@ var pV = ["data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]","data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left","data-[placement=left]:origin-right data-[placement=right]:origin-left"-].join(" "), zpe = "w-[266px]", Bpe = "flex w-full flex-col gap-1 outline-none", mV = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), hV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+].join(" "), zpe = "w-[266px]", Bpe = "flex w-full flex-col gap-1 outline-none", hV = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), gV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";//#endregion//#region src/react/boardui/components/base/tree-view/tree-view.tsxfunction Vpe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = fV(), l = (0, D.useContext)(OI), u = l === TI && !s.dragAndDropHooks ? _V : l;+ let c = pV(), l = (0, D.useContext)(UI), u = l === VI && !s.dragAndDropHooks ? vV : l;return /* @__PURE__ */ (0, O.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -43580,7 +43583,7 @@ function Vpe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, O.jsx)(OI.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(UI.Provider, {value: u,children: /* @__PURE__ */ (0, O.jsx)(Cde, {...s,@@ -43589,13 +43592,13 @@ function Vpe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single","data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => dF("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 === _V ? "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) => GF("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 === vV ? "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 gV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {- let d = fV();+function _V({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {+ let d = pV();return /* @__PURE__ */ (0, O.jsxs)(Ede, {...u,ref: l,@@ -43604,9 +43607,9 @@ function gV({ 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) => dF("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),+ className: (e) => GF("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),children: [/* @__PURE__ */ (0, O.jsx)(Tde, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? Mz : jz : Zde);+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? Nz : Mz : Zde);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Upe, {state: l,@@ -43618,20 +43621,20 @@ function gV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, O.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, O.jsx)(PI, {+ children: [t ? /* @__PURE__ */ (0, O.jsx)(JI, {slot: "chevron",isDisabled: s,className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",- children: /* @__PURE__ */ (0, O.jsx)(Oz, {+ children: /* @__PURE__ */ (0, O.jsx)(kz, {"aria-hidden": !0,- className: dF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")+ className: GF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})}) : /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: dF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")+ className: GF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")}), f && /* @__PURE__ */ (0, O.jsx)(f, {"aria-hidden": !0,- className: dF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)+ className: GF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)})]}),/* @__PURE__ */ (0, O.jsx)("span", {@@ -43646,19 +43649,19 @@ function gV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam} }), o]});}-var _V = {- ...TI,+var vV = {+ ...VI,CollectionRoot: Hpe};function Hpe({ collection: e, ...t }) {- let n = (0, D.useContext)(Cz);- return n ? /* @__PURE__ */ (0, O.jsx)(Rv, {+ let n = (0, D.useContext)(wz);+ return n ? /* @__PURE__ */ (0, O.jsx)(wv, {initial: !1,children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, O.jsx)(Wpe, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, O.jsx)(TI.CollectionRoot, {+ }) : /* @__PURE__ */ (0, O.jsx)(VI.CollectionRoot, {collection: e,...t});@@ -43696,7 +43699,7 @@ function Upe({ state: e, id: t, level: n, expanded: r, branchWidth: i, directionheight: "7",viewBox: `0 0 ${i} 7`,fill: "none",- className: dF("absolute start-0", a === "rtl" && "-scale-x-100"),+ className: GF("absolute start-0", a === "rtl" && "-scale-x-100"),style: { top: "calc(50% - 6px)" },children: /* @__PURE__ */ (0, O.jsx)("path", {d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,@@ -43723,8 +43726,8 @@ function Upe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction});}function Wpe({ state: e, children: t }) {- let n = Fv(), r = Py(), [i, a] = (0, D.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, O.jsx)(Hy.div, {+ let n = xv(), r = xy(), [i, a] = (0, D.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, O.jsx)(Py.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -43763,7 +43766,7 @@ function Wpe({ state: e, children: t }) {1]},- children: /* @__PURE__ */ (0, O.jsx)(Cz.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(wz.Provider, {value: n ? e : i,children: t})@@ -43771,7 +43774,7 @@ function Wpe({ state: e, children: t }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var vV = {+var yV = {md: {box: "size-4",glyph: "size-4",@@ -43785,11 +43788,11 @@ var vV = {gap: "gap-1.5"}};-function yV({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = vV[t], c = n || r, l = o && !a;+function bV({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = yV[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: dF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? dF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : dF("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: GF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? GF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : GF("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43813,24 +43816,24 @@ function yV({ state: e, size: t = "md" }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox.tsx-function bV({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = vV[n];- return /* @__PURE__ */ (0, O.jsx)(JI, {+function xV({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = yV[n];+ return /* @__PURE__ */ (0, O.jsx)(Cle, {ref: r,...i,- className: (t) => dF("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(yV, {+ className: (t) => GF("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(bV, {state: e,size: n}), t != null && /* @__PURE__ */ (0, O.jsx)("span", {- className: dF(a.label, "text-text-primary"),+ className: GF(a.label, "text-text-primary"),children: t})] })});}//#endregion//#region src/react/components/overlay-scrollbar.ts-function xV() {+function SV() {let e = (0, D.useRef)(null);return (0, D.useEffect)(() => {$a(e.current);@@ -43838,13 +43841,13 @@ function xV() {}//#endregion//#region src/history/settings-route.ts-var SV = {+var CV = {appearance: "外观与导航",playback: "浏览与播放",jav: "JAV 与新作",search: "搜索与推荐",content: "内容显示"-}, CV = {+}, wV = {library: "媒体库与入库",subscriptions: "来源与订阅",downloads: "下载渠道",@@ -43852,23 +43855,23 @@ var SV = {maintenance: "应用与维护",diagnostics: "系统诊断"};-function wV(e) {- return CV[e.split("/")[2]] || CV.library;-}-var TV = ["/settings", ...Object.keys(SV).map((e) => `/settings/${e}`)], EV = (e) => TV.includes(e);-function DV(e) {- return SV[e.split("/")[2]] || SV.appearance;+function TV(e) {+ return wV[e.split("/")[2]] || wV.library;}+var EV = ["/settings", ...Object.keys(CV).map((e) => `/settings/${e}`)], DV = (e) => EV.includes(e);function OV(e) {+ return CV[e.split("/")[2]] || CV.appearance;+}+function kV(e) {return `/settings/${Object.entries({- ...SV,- ...CV+ ...CV,+ ...wV}).find(([, t]) => t === e)?.[0] || "appearance"}`;}-var kV = (e) => {+var AV = (e) => {let t = e?.settingsBackground;return t && typeof t.pathname == "string" ? t : null;-}, AV = [+}, jV = ["/assets/:id","/posts/:id","/works/:code"@@ -43878,11 +43881,11 @@ var kV = (e) => {"editions","playlist"];-function jV(e, t = "") {+function MV(e, t = "") {let n = new URL(e, "https://peach.invalid");e = n.pathname, t ||= n.search;- for (let n of AV) {- let r = kB(n, e);+ for (let n of jV) {+ let r = AB(n, e);if (!r) continue;if (n === "/works/:code") {let e = r.params.code || "";@@ -43923,8 +43926,8 @@ function jV(e, t = "") {}return null;}-var MV = (e, t = "") => jV(e, t)?.target ?? null, NV = (e) => EV(e.split(/[?#]/)[0]) || AV.some((t) => kB(t, e.split(/[?#]/)[0]) !== null);-function PV(e) {+var NV = (e, t = "") => MV(e, t)?.target ?? null, PV = (e) => DV(e.split(/[?#]/)[0]) || jV.some((t) => AB(t, e.split(/[?#]/)[0]) !== null);+function FV(e) {let t = e?.backgroundLocation;return typeof t?.pathname == "string" ? {pathname: t.pathname,@@ -43932,35 +43935,35 @@ function PV(e) {...typeof t.hash == "string" && t.hash ? { hash: t.hash } : {}} : null;}-var FV = null, IV = null;-function LV() {+var IV = null, LV = null;+function RV() {let { pathname: e, search: t, hash: n } = window.location;- NV(e) || (FV = {+ PV(e) || (IV = {pathname: e,search: t,...n ? { hash: n } : {}});}-function RV() {- FV = null, IV = null;+function zV() {+ IV = null, LV = null;}function Kpe(e) {- let t = PV(e);- t && (FV = t, IV = t.pathname + t.search + (t.hash || ""));+ let t = FV(e);+ t && (IV = t, LV = t.pathname + t.search + (t.hash || ""));}-function zV() {- let e = IV;- return IV = null, e;+function BV() {+ let e = LV;+ return LV = null, e;}-function BV(e) {- return FV ? {- backgroundLocation: { ...FV },+function VV(e) {+ return IV ? {+ backgroundLocation: { ...IV },overlay: e} : void 0;}//#endregion//#region src/history/canonical-path.ts-function VV(e) {+function HV(e) {let t = new URL(e, "https://peach.invalid");for (let [e, n] of [[/^\/item\/(\d+)$/, "/assets/"],@@ -43984,16 +43987,16 @@ function VV(e) {}//#endregion//#region src/history/route-meta.ts-var HV = {+var UV = {"/settings": {title: "设置",refresh: "skip"},- ...Object.fromEntries(Object.entries(SV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(CV).map(([e, t]) => [`/settings/${e}`, {title: t,refresh: "skip"}])),- ...Object.fromEntries(Object.entries(CV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(wV).map(([e, t]) => [`/settings/${e}`, {title: t,section: "configuration",refresh: "reopen"@@ -44124,14 +44127,14 @@ var HV = {title: "播放墙"}};-function UV(e) {- if (Object.hasOwn(HV, e)) return HV[e];- let t = jV(e);- if (t) return HV[t.path];+function WV(e) {+ if (Object.hasOwn(UV, e)) return UV[e];+ let t = MV(e);+ if (t) return UV[t.path];let [n, ...r] = e.split("/").filter(Boolean);if (!n) return null;- if (!r.length) return Object.hasOwn(HV, `/${n}`) ? HV[`/${n}`] : null;- let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? Nt({+ if (!r.length) return Object.hasOwn(UV, `/${n}`) ? UV[`/${n}`] : null;+ let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? Mt({performers: "performer",studios: "studio",creators: "creator",@@ -44139,126 +44142,126 @@ function UV(e) {series: "series",tags: "tag"}[n] || "", Number(r[0])) : r.join("/");- return Object.hasOwn(HV, i) ? {- ...HV[i],+ return Object.hasOwn(UV, i) ? {+ ...UV[i],title: a || "资料"} : null;}//#endregion//#region src/history/managed.ts-var WV = () => {}, GV = new Promise((e) => {- WV = e;+var GV = () => {}, KV = new Promise((e) => {+ GV = e;});-GV.catch(() => {});-var KV = null, qV = /* @__PURE__ */ new Map(), JV = /* @__PURE__ */ new Map(), YV = 0, XV = /* @__PURE__ */ new Set();+KV.catch(() => {});+var qV = null, JV = /* @__PURE__ */ new Map(), YV = /* @__PURE__ */ new Map(), XV = 0, ZV = /* @__PURE__ */ new Set();function qpe(e) {- WV(e);-}-function ZV(e) {- return qV.get(e) ?? null;+ GV(e);}function QV(e) {- return !!e && (qV.has(e) || JV.has(e));+ return JV.get(e) ?? null;+}+function $V(e) {+ return !!e && (JV.has(e) || YV.has(e));}-var $V = () => [...qV.values()];+var eH = () => [...JV.values()];function Jpe(e) {- return XV.add(e), () => {- XV.delete(e);+ return ZV.add(e), () => {+ ZV.delete(e);};}-function eH(e) {- let t = $V();- for (let n of [...XV]) n(t, e);+function tH(e) {+ let t = eH();+ for (let n of [...ZV]) n(t, e);}-async function tH(e, t, n) {+async function nH(e, t, n) {let { container: r } = n;- if (rH(r), !n.isCurrent()) return !1;- YV += 1;+ if (iH(r), !n.isCurrent()) return !1;+ XV += 1;let i = {- revision: YV,+ revision: XV,controller: new AbortController()};- JV.set(r, i);- let a = KV;- KV = null, a?.();- let o = await GV;- if (JV.get(r) !== i) return !1;+ YV.set(r, i);+ let a = qV;+ qV = null, a?.();+ let o = await KV;+ if (YV.get(r) !== i) return !1;try {await o(e, t, i.controller.signal);} catch {if (i.controller.signal.aborted) return !1;}- if (JV.get(r) !== i || (JV.delete(r), !n.isCurrent())) return !1;+ if (YV.get(r) !== i || (YV.delete(r), !n.isCurrent())) return !1;let s = n.place ? n.place(r) : Ype(r);- return qV.set(r, {+ return JV.set(r, {path: e,props: t,revision: i.revision,container: r,host: s,resident: !!n.resident- }), eH(!0), !0;+ }), tH(!0), !0;}function Ype(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.textContent = "", e.append(t), t;}-function nH(e, t) {- let n = e ? qV.get(e) : void 0;- n && (qV.set(n.container, {+function rH(e, t) {+ let n = e ? JV.get(e) : void 0;+ n && (JV.set(n.container, {...n,props: {...n.props,...t}- }), eH(!1));+ }), tH(!1));}-function rH(e, ...t) {+function iH(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {- let e = JV.get(r);- e && (e.controller.abort(), JV.delete(r));- let t = qV.get(r);- t && (qV.delete(r), n.push(t));+ let e = YV.get(r);+ e && (e.controller.abort(), YV.delete(r));+ let t = JV.get(r);+ t && (JV.delete(r), n.push(t));}if (n.length) {- eH(!0);+ tH(!0);for (let e of n) e.resident || e.host.remove();}}function Xpe() {- let [e, ...t] = /* @__PURE__ */ new Set([...qV.keys(), ...JV.keys()]);- e && rH(e, ...t);+ let [e, ...t] = /* @__PURE__ */ new Set([...JV.keys(), ...YV.keys()]);+ e && iH(e, ...t);}function Zpe(e, t) {- let n = qV.get(e);- n?.revision === t && (qV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- eH(!1);+ let n = JV.get(e);+ n?.revision === t && (JV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {+ tH(!1);}));}//#endregion//#region src/history/index.ts-var iH = Ofe({ v5Compat: !0 }), aH = 0, oH = 0, sH = {- action: iH.action,- location: iH.location,- seq: aH,- openEpoch: oH,+var aH = Ofe({ v5Compat: !0 }), oH = 0, sH = 0, cH = {+ action: aH.action,+ location: aH.location,+ seq: oH,+ openEpoch: sH,claimed: !0-}, cH = /* @__PURE__ */ new Set(), lH = !1, uH = !0;-iH.listen(({ action: e, location: t }) => {- let n = t.pathname + t.search + t.hash, r = VV(n);- r !== n && (window.history.replaceState(window.history.state, "", r), t = iH.location), aH += 1, lH || (oH += 1), e !== "REPLACE" && (uH = !1), sH = {+}, lH = /* @__PURE__ */ new Set(), uH = !1, dH = !0;+aH.listen(({ action: e, location: t }) => {+ let n = t.pathname + t.search + t.hash, r = HV(n);+ r !== n && (window.history.replaceState(window.history.state, "", r), t = aH.location), oH += 1, uH || (sH += 1), e !== "REPLACE" && (dH = !1), cH = {action: e,location: t,- seq: aH,- openEpoch: oH,- claimed: lH+ seq: oH,+ openEpoch: sH,+ claimed: uH};- for (let e of [...cH]) e(sH);+ for (let e of [...lH]) e(cH);});-function dH(e) {- if (typeof e == "string") return VV(new URL(e, window.location.href).href);- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = VV(t.href);+function fH(e) {+ if (typeof e == "string") return HV(new URL(e, window.location.href).href);+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = HV(t.href);if (n === t.pathname + t.search + t.hash) return e;let r = new URL(n, window.location.origin);return {@@ -44268,51 +44271,51 @@ function dH(e) {hash: r.hash};}-var fH = {+var pH = {get navigation() {- return sH;+ return cH;},listen(e) {- return cH.add(e), () => {- cH.delete(e);+ return lH.add(e), () => {+ lH.delete(e);};},- createHref: (e) => iH.createHref(e),- createURL: (e) => iH.createURL(e),- encodeLocation: (e) => iH.encodeLocation(e),- go: (e) => iH.go(e),- push: (e, t) => iH.push(dH(e), t),- replace: (e, t) => iH.replace(dH(e), t)+ createHref: (e) => aH.createHref(e),+ createURL: (e) => aH.createURL(e),+ encodeLocation: (e) => aH.encodeLocation(e),+ go: (e) => aH.go(e),+ push: (e, t) => aH.push(fH(e), t),+ replace: (e, t) => aH.replace(fH(e), t)};-function pH(e, { replace: t = !1, state: n } = {}) {- let r = new URL(e, window.location.href), i = VV(`${r.pathname}${r.search}${r.hash}`);- lH = !0;+function mH(e, { replace: t = !1, state: n } = {}) {+ let r = new URL(e, window.location.href), i = HV(`${r.pathname}${r.search}${r.hash}`);+ uH = !0;try {- t ? iH.replace(i, n) : iH.push(i, n);+ t ? aH.replace(i, n) : aH.push(i, n);} finally {- lH = !1;+ uH = !1;}}-var mH = () => uH;-function hH() {- if (EV(sH.location.pathname)) {- let e = uH ? null : kV(sH.location.state);- return e ? PV(e.state) || e : null;+var hH = () => dH;+function gH() {+ if (DV(cH.location.pathname)) {+ let e = dH ? null : AV(cH.location.state);+ return e ? FV(e.state) || e : null;}- return uH ? null : PV(sH.location.state);+ return dH ? null : FV(cH.location.state);}//#endregion//#region src/react/providers.tsx-var gH = null;+var _H = null;function Qpe() {- return gH?.isConnected || (gH = document.createElement("div"), gH.className = "peach-react", gH.dataset.reactOverlays = "", document.body.append(gH)), gH;+ return _H?.isConnected || (_H = document.createElement("div"), _H.className = "peach-react", _H.dataset.reactOverlays = "", document.body.append(_H)), _H;}-function _H({ children: e }) {+function vH({ children: e }) {return /* @__PURE__ */ (0, O.jsx)(j, {- client: H,- children: /* @__PURE__ */ (0, O.jsx)(Ste, {+ client: U,+ children: /* @__PURE__ */ (0, O.jsx)(Lte, {reducedMotion: "user",- children: /* @__PURE__ */ (0, O.jsx)(MT, {+ children: /* @__PURE__ */ (0, O.jsx)(tT, {getContainer: Qpe,children: e})@@ -44413,7 +44416,7 @@ var eme = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, lme = 1, ume = 100, vH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : lme++, yH = new class {+}, lme = 1, ume = 100, yH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : lme++, bH = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -44426,7 +44429,7 @@ var eme = (e) => {let e = this.toasts.length - ume;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 = vH(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = yH(e), i = this.pendingDismissals.get(r);i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({@@ -44545,7 +44548,7 @@ var eme = (e) => {}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });}, this.custom = (e, t) => {- let n = vH(t);+ let n = yH(t);return this.create({...t,jsx: e(n),@@ -44554,26 +44557,26 @@ var eme = (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();}-}(), dme = (e, t) => yH.message(e, t), fme = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", bH = Object.assign(dme, {- success: yH.success,- info: yH.info,- warning: yH.warning,- error: yH.error,- custom: yH.custom,- message: yH.message,- promise: yH.promise,- dismiss: yH.dismiss,- loading: yH.loading+}(), dme = (e, t) => bH.message(e, t), fme = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", xH = Object.assign(dme, {+ success: bH.success,+ info: bH.info,+ warning: bH.warning,+ error: bH.error,+ custom: bH.custom,+ message: bH.message,+ promise: bH.promise,+ dismiss: bH.dismiss,+ loading: bH.loading}, {- getHistory: () => yH.toasts,- getToasts: () => yH.getActiveToasts()+ getHistory: () => bH.toasts,+ getToasts: () => bH.getActiveToasts()});$pe("[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 xH(e) {+function SH(e) {return e.label !== void 0;}-var pme = 3, mme = "24px", hme = "16px", SH = 4e3, gme = 356, _me = 14, vme = 45, yme = 200;-function CH(...e) {+var pme = 3, mme = "24px", hme = "16px", CH = 4e3, gme = 356, _me = 14, vme = 45, yme = 200;+function wH(...e) {return e.filter(Boolean).join(" ");}function bme(e) {@@ -44581,16 +44584,16 @@ function bme(e) {return t && r.push(t), n && r.push(n), r;}var xme = (e) => {- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [ee, N] = D.useState(!1), [te, P] = D.useState(!1), [ne, F] = D.useState(!1), [re, ie] = D.useState(!1), [ae, oe] = D.useState(0), [se, ce] = D.useState(0), le = D.useRef(n.duration || y || SH), ue = D.useRef(null), de = D.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", ge = n.dismissible !== !1, _e = n.className || "", ve = n.descriptionClassName || "", ye = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), be = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), xe = D.useMemo(() => n.duration || y || SH, [n.duration, y]), Se = D.useRef(0), Ce = D.useRef(0), we = D.useRef(0), Te = D.useRef(null), [Ee, De] = b.split("-"), Oe = D.useMemo(() => s.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [s, ye]), ke = cme(), Ae = D.useMemo(() => e.swipeDirections ?? bme(b), [e.swipeDirections, b]), je = n.invert || t, Me = me === "loading";- Ce.current = D.useMemo(() => ye * x + Oe, [ye, Oe]), D.useEffect(() => {- le.current = xe;- }, [xe]), D.useEffect(() => {+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [N, P] = D.useState(!1), [ee, F] = D.useState(!1), [te, I] = D.useState(!1), [ne, re] = D.useState(!1), [ie, ae] = D.useState(0), [oe, se] = D.useState(0), ce = D.useRef(n.duration || y || CH), le = D.useRef(null), ue = D.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = D.useMemo(() => n.duration || y || CH, [n.duration, y]), xe = D.useRef(0), Se = D.useRef(0), Ce = D.useRef(0), we = D.useRef(null), [Te, Ee] = b.split("-"), De = D.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = cme(), ke = D.useMemo(() => e.swipeDirections ?? bme(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";+ Se.current = D.useMemo(() => ve * x + De, [ve, De]), D.useEffect(() => {+ ce.current = be;+ }, [be]), D.useEffect(() => {M(!0);}, []), D.useEffect(() => {- let e = de.current;+ let e = ue.current;if (e) {let t = e.getBoundingClientRect().height;- return ce(t), a((e) => [{+ return se(t), a((e) => [{toastId: n.id,height: t,position: n.position@@ -44598,10 +44601,10 @@ var xme = (e) => {}}, [a, n.id]), D.useLayoutEffect(() => {if (!j) return;- let e = de.current, t = e.style.height;+ let e = ue.current, t = e.style.height;e.style.height = "auto";let r = e.getBoundingClientRect().height;- e.style.height = t, ce(r), a((e) => e.find((e) => e.toastId === n.id) ? e.map((e) => e.toastId === n.id ? {+ e.style.height = t, se(r), a((e) => e.find((e) => e.toastId === n.id) ? e.map((e) => e.toastId === n.id ? {...e,height: r} : e) : [{@@ -44619,69 +44622,69 @@ var xme = (e) => {n.action,n.cancel]);- let Ne = D.useCallback(() => {- N(!0), oe(Ce.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {+ let Me = D.useCallback(() => {+ P(!0), ae(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);}, yme);}, [n,d,a,- Ce+ Se]);D.useEffect(() => {- if (n.promise && me === "loading" || n.duration === Infinity || n.type === "loading") return;+ if (n.promise && pe === "loading" || n.duration === Infinity || n.type === "loading") return;let e;- return u || i || ke ? (() => {- if (we.current < Se.current) {- let e = (/* @__PURE__ */ new Date()).getTime() - Se.current;- le.current -= e;- }- we.current = (/* @__PURE__ */ new Date()).getTime();- })() : le.current !== Infinity && (Se.current = (/* @__PURE__ */ new Date()).getTime(), e = setTimeout(() => {- n.onAutoClose == null || n.onAutoClose.call(n, n), Ne();- }, le.current)), () => clearTimeout(e);+ return u || i || Oe ? (() => {+ if (Ce.current < xe.current) {+ let e = (/* @__PURE__ */ new Date()).getTime() - xe.current;+ ce.current -= e;+ }+ Ce.current = (/* @__PURE__ */ new Date()).getTime();+ })() : ce.current !== Infinity && (xe.current = (/* @__PURE__ */ new Date()).getTime(), e = setTimeout(() => {+ n.onAutoClose == null || n.onAutoClose.call(n, n), Me();+ }, ce.current)), () => clearTimeout(e);}, [u,i,n,- me,- ke,- Ne+ pe,+ Oe,+ Me]), D.useEffect(() => {- n.delete && (Ne(), n.onDismiss == null || n.onDismiss.call(n, n));- }, [Ne, n.delete]);- function Pe() {+ n.delete && (Me(), n.onDismiss == null || n.onDismiss.call(n, n));+ }, [Me, n.delete]);+ function Ne() {return w?.loading ? /*#__PURE__*/ D.createElement("div", {- className: CH(C?.loader, n?.classNames?.loader, "sonner-loader"),- "data-visible": me === "loading"+ className: wH(C?.loader, n?.classNames?.loader, "sonner-loader"),+ "data-visible": pe === "loading"}, w.loading) : /*#__PURE__*/ D.createElement(nme, {- className: CH(C?.loader, n?.classNames?.loader),- visible: me === "loading"+ className: wH(C?.loader, n?.classNames?.loader),+ visible: pe === "loading"});}- let Fe = n.icon || w?.[me] || eme(me);+ let Pe = n.icon || w?.[pe] || eme(pe);return /*#__PURE__*/ D.createElement("li", {tabIndex: 0,- ref: de,- className: CH(_, _e, C?.toast, n?.classNames?.toast, C?.[he], n?.classNames?.[he]),+ ref: ue,+ className: wH(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),"data-sonner-toast": "","data-rich-colors": n.richColors ?? f,"data-styled": !(n.jsx || n.unstyled || r),"data-mounted": j,"data-promise": !!n.promise,- "data-swiped": re,- "data-removed": ee,- "data-visible": pe,- "data-y-position": Ee,- "data-x-position": De,+ "data-swiped": ne,+ "data-removed": N,+ "data-visible": fe,+ "data-y-position": Te,+ "data-x-position": Ee,"data-index": c,- "data-front": fe,- "data-swiping": te,- "data-dismissible": ge,- "data-type": me,- "data-invert": je,- "data-swipe-out": ne,+ "data-front": de,+ "data-swiping": ee,+ "data-dismissible": he,+ "data-type": pe,+ "data-invert": Ae,+ "data-swipe-out": te,"data-swipe-direction": k,"data-expanded": !!(u || S && j),"data-testid": n.testId,@@ -44689,95 +44692,95 @@ var xme = (e) => {"--index": c,"--toasts-before": c,"--z-index": l.length - c,- "--offset": `${ee ? ae : Ce.current}px`,- "--initial-height": S ? "auto" : `${se}px`,+ "--offset": `${N ? ie : Se.current}px`,+ "--initial-height": S ? "auto" : `${oe}px`,...m,...n.style},onDragEnd: () => {- P(!1), O(null), Te.current = null;+ F(!1), O(null), we.current = null;},onPointerDown: (e) => {- e.button !== 2 && !Me && ge && (ue.current = /* @__PURE__ */ new Date(), oe(Ce.current), e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (P(!0), Te.current = {+ e.button !== 2 && !je && he && (le.current = /* @__PURE__ */ new Date(), ae(Se.current), e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (F(!0), we.current = {x: e.clientX,y: e.clientY}));},onPointerUp: () => {- if (ne || !ge) return;- Te.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" ? Ae.includes(e > 0 ? "right" : "left") : Ae.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= vme || a > .11)) oe(Ce.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ne(), F(!0);+ if (te || !he) return;+ we.current = null;+ let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;+ if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= vme || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), I(!0);else {var o, s;- (o = de.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = de.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), ie(!1), P(!1), O(null);+ (o = ue.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = ue.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), re(!1), F(!1), O(null);}},onPointerMove: (e) => {var t, n;- if (!Te.current || !ge || window.getSelection()?.toString().length > 0) return;- let r = e.clientY - Te.current.y, i = e.clientX - Te.current.x;+ if (!we.current || !he || window.getSelection()?.toString().length > 0) return;+ let r = e.clientY - we.current.y, i = e.clientX - we.current.x;!E && (Math.abs(i) > 1 || Math.abs(r) > 1) && O(Math.abs(i) > Math.abs(r) ? "x" : "y");let a = {x: 0,y: 0}, o = (e) => 1 / (1.5 + Math.abs(e) / 20);if (E === "y") {- if (Ae.includes("top") || Ae.includes("bottom")) {- if (Ae.includes("top") && r < 0 || Ae.includes("bottom") && r > 0) a.y = r;+ if (ke.includes("top") || ke.includes("bottom")) {+ if (ke.includes("top") && r < 0 || ke.includes("bottom") && r > 0) a.y = r;else {let e = r * o(r);a.y = Math.abs(e) < Math.abs(r) ? e : r;}}- } else if (E === "x" && (Ae.includes("left") || Ae.includes("right"))) {- if (Ae.includes("left") && i < 0 || Ae.includes("right") && i > 0) a.x = i;+ } else if (E === "x" && (ke.includes("left") || ke.includes("right"))) {+ if (ke.includes("left") && i < 0 || ke.includes("right") && i > 0) a.x = i;else {let e = i * o(i);a.x = Math.abs(e) < Math.abs(i) ? e : i;}}- (Math.abs(a.x) > 0 || Math.abs(a.y) > 0) && ie(!0), (t = de.current) == null || t.style.setProperty("--swipe-amount-x", `${a.x}px`), (n = de.current) == null || n.style.setProperty("--swipe-amount-y", `${a.y}px`);+ (Math.abs(a.x) > 0 || Math.abs(a.y) > 0) && re(!0), (t = ue.current) == null || t.style.setProperty("--swipe-amount-x", `${a.x}px`), (n = ue.current) == null || n.style.setProperty("--swipe-amount-y", `${a.y}px`);}- }, be && !n.jsx && me !== "loading" ? /*#__PURE__*/ D.createElement("button", {+ }, ye && !n.jsx && pe !== "loading" ? /*#__PURE__*/ D.createElement("button", {"aria-label": T,- "data-disabled": Me,+ "data-disabled": je,"data-close-button": !0,- onClick: Me || !ge ? () => {} : () => {- Ne(), n.onDismiss == null || n.onDismiss.call(n, n);+ onClick: je || !he ? () => {} : () => {+ Me(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: CH(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? sme) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ D.createElement("div", {+ className: wH(C?.closeButton, n?.classNames?.closeButton)+ }, w?.close ?? sme) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ D.createElement("div", {"data-icon": "",- className: CH(C?.icon, n?.classNames?.icon)- }, me === "loading" ? n.icon || Pe() : n.promise ? Pe() : null, me === "loading" ? null : Fe) : null, /*#__PURE__*/ D.createElement("div", {+ className: wH(C?.icon, n?.classNames?.icon)+ }, pe === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, pe === "loading" ? null : Pe) : null, /*#__PURE__*/ D.createElement("div", {"data-content": "",- className: CH(C?.content, n?.classNames?.content)+ className: wH(C?.content, n?.classNames?.content)}, /*#__PURE__*/ D.createElement("div", {"data-title": "",- className: CH(C?.title, n?.classNames?.title)+ className: wH(C?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ D.createElement("div", {"data-description": "",- className: CH(v, ve, C?.description, n?.classNames?.description)- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ D.isValidElement(n.cancel) ? n.cancel : n.cancel && xH(n.cancel) ? /*#__PURE__*/ D.createElement("button", {+ className: wH(v, _e, C?.description, n?.classNames?.description)+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ D.isValidElement(n.cancel) ? n.cancel : n.cancel && SH(n.cancel) ? /*#__PURE__*/ D.createElement("button", {"data-button": !0,"data-cancel": !0,style: n.cancelButtonStyle || h,onClick: (e) => {- xH(n.cancel) && ge && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Ne());+ SH(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());},- className: CH(C?.cancelButton, n?.classNames?.cancelButton)- }, n.cancel.label) : null, /*#__PURE__*/ D.isValidElement(n.action) ? n.action : n.action && xH(n.action) ? /*#__PURE__*/ D.createElement("button", {+ className: wH(C?.cancelButton, n?.classNames?.cancelButton)+ }, n.cancel.label) : null, /*#__PURE__*/ D.isValidElement(n.action) ? n.action : n.action && SH(n.action) ? /*#__PURE__*/ D.createElement("button", {"data-button": !0,"data-action": !0,style: n.actionButtonStyle || g,onClick: (e) => {- xH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Ne());+ SH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());},- className: CH(C?.actionButton, n?.classNames?.actionButton)+ className: wH(C?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function wH() {+function TH() {if (typeof window > "u" || typeof document > "u") return "ltr";let e = document.documentElement.getAttribute("dir");return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;@@ -44806,18 +44809,18 @@ function Sme(e, t) {}) : o(a);}), n;}-var TH = /*#__PURE__*/ D.forwardRef(function(e, t) {- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = pme, toastOptions: g, dir: _ = wH(), gap: v = _me, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [ee, N] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), te = D.useRef(null), P = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ne = D.useRef(null), F = D.useRef(!1), re = D.useCallback((e) => {- C((t) => (t.find((t) => t.id === e.id)?.delete || yH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));+var EH = /*#__PURE__*/ D.forwardRef(function(e, t) {+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = pme, toastOptions: g, dir: _ = TH(), gap: v = _me, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [N, P] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = D.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = D.useRef(null), I = D.useRef(!1), ne = D.useCallback((e) => {+ C((t) => (t.find((t) => t.id === e.id)?.delete || bH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);- return D.useEffect(() => yH.subscribe((e) => {+ return D.useEffect(() => bH.subscribe((e) => {e.dismiss ? requestAnimationFrame(() => {C((t) => t.map((t) => t.id === e.id ? {...t,delete: !0} : t));}) : setTimeout(() => {- Et.flushSync(() => {+ Tt.flushSync(() => {C((t) => {let n = t.findIndex((t) => t.id === e.id);return n === -1 ? [e, ...t] : [@@ -44833,19 +44836,19 @@ var TH = /*#__PURE__*/ D.forwardRef(function(e, t) {});}), []), D.useEffect(() => {if (d !== "system") {- N(d);+ P(d);return;}- if (d === "system" && (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? N("dark") : N("light")), typeof window > "u") return;+ if (d === "system" && (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? P("dark") : P("light")), typeof window > "u") return;let e = window.matchMedia("(prefers-color-scheme: dark)");try {e.addEventListener("change", ({ matches: e }) => {- N(e ? "dark" : "light");+ P(e ? "dark" : "light");});} catch {e.addListener(({ matches: e }) => {try {- N(e ? "dark" : "light");+ P(e ? "dark" : "light");} catch (e) {console.error(e);}@@ -44857,18 +44860,18 @@ var TH = /*#__PURE__*/ D.forwardRef(function(e, t) {let e = (e) => {if (a.length > 0 && a.every((t) => e[t] || e.code === t)) {var t;- A(!0), (t = te.current) == null || t.focus();+ A(!0), (t = ee.current) == null || t.focus();}- e.code === "Escape" && (document.activeElement === te.current || te.current?.contains(document.activeElement)) && A(!1);+ e.code === "Escape" && (document.activeElement === ee.current || ee.current?.contains(document.activeElement)) && A(!1);};return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);}, [a]), D.useEffect(() => {- if (te.current) return () => {- ne.current && (ne.current.focus({ preventScroll: !0 }), ne.current = null, F.current = !1);+ if (ee.current) return () => {+ te.current && (te.current.focus({ preventScroll: !0 }), te.current = null, I.current = !1);};- }, [te.current]), /*#__PURE__*/ D.createElement("section", {+ }, [ee.current]), /*#__PURE__*/ D.createElement("section", {ref: t,- "aria-label": b ?? `${x} ${P}`,+ "aria-label": b ?? `${x} ${F}`,tabIndex: -1,"aria-live": "polite","aria-relevant": "additions text",@@ -44879,12 +44882,12 @@ var TH = /*#__PURE__*/ D.forwardRef(function(e, t) {let [i, a] = t.split("-");return w.length ? /*#__PURE__*/ D.createElement("ol", {key: t,- dir: _ === "auto" ? wH() : _,+ dir: _ === "auto" ? TH() : _,tabIndex: -1,- ref: te,+ ref: ee,className: c,"data-sonner-toaster": !0,- "data-sonner-theme": ee,+ "data-sonner-theme": N,"data-y-position": i,"data-x-position": a,style: {@@ -44895,10 +44898,10 @@ var TH = /*#__PURE__*/ D.forwardRef(function(e, t) {...Sme(l, u)},onBlur: (e) => {- F.current && !e.currentTarget.contains(e.relatedTarget) && (F.current = !1, ne.current &&= (ne.current.focus({ preventScroll: !0 }), null));+ I.current && !e.currentTarget.contains(e.relatedTarget) && (I.current = !1, te.current &&= (te.current.focus({ preventScroll: !0 }), null));},onFocus: (e) => {- e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || F.current || (F.current = !0, ne.current = e.relatedTarget);+ e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || I.current || (I.current = !0, te.current = e.relatedTarget);},onMouseEnter: () => A(!0),onMouseMove: () => A(!0),@@ -44930,7 +44933,7 @@ var TH = /*#__PURE__*/ D.forwardRef(function(e, t) {cancelButtonStyle: g?.cancelButtonStyle,actionButtonStyle: g?.actionButtonStyle,closeButtonAriaLabel: g?.closeButtonAriaLabel,- removeToast: re,+ removeToast: ne,toasts: w.filter((e) => e.position == n.position),heights: E.filter((e) => e.position == n.position),setHeights: O,@@ -44940,19 +44943,19 @@ var TH = /*#__PURE__*/ D.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), EH = "/api/library-processing", DH = ["library-processing"], Cme = (e, t, n) => {+}), DH = "/api/library-processing", OH = ["library-processing"], Cme = (e, t, n) => {let r = new URLSearchParams({estimate: "1",stage: e.stage || "all"});- return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), B(`${EH}?${r}`, t);-}, OH = (e) => !!e && [+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), n && r.set("inventory", n), V(`${DH}?${r}`, t);+}, kH = (e) => !!e && ["running","pausing","paused"].includes(e.status);-function kH(e) {- if (!OH(e)) return "";+function AH(e) {+ if (!kH(e)) return "";if (e.status === "paused") return "已暂停,继续后更新预估";if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";if (e.stalled) return "等待当前文件响应,剩余时间待更新";@@ -44962,16 +44965,16 @@ function kH(e) {let r = n >= 86400 ? 86400 : n >= 3600 ? 3600 : 60, i = r === 86400 ? "天" : r === 3600 ? "小时" : "分钟", a = r === 60 ? 1 : 10, o = Math.max(1 / a, Math.floor(t / r * a) / a), s = Math.max(o, Math.ceil(n / r * a) / a);return `预计剩余约 ${o === s ? `${s}` : `${o}–${s}`} ${i}${e.eta_initial || e.eta_kind !== "measured" ? "(粗估)" : ""}${e.eta_scope ? ` · ${e.eta_scope}` : ""}`;}-var AH = (e) => B(EH, e);-async function jH(e) {- await H.fetchQuery({- queryKey: DH,- queryFn: () => AH(e)+var jH = (e) => V(DH, e);+async function MH(e) {+ await U.fetchQuery({+ queryKey: OH,+ queryFn: () => jH(e)});}-var wme = 2e3, Tme = 1e4, MH = "连接中断,正在重新读取处理进度";-function NH(e, t) {- return OH(e) ? wme : t ? Tme : !1;+var wme = 2e3, Tme = 1e4, NH = "连接中断,正在重新读取处理进度";+function PH(e, t) {+ return kH(e) ? wme : t ? Tme : !1;}var Eme = {scanning_files: "扫描文件",@@ -44981,22 +44984,22 @@ var Eme = {fetching_cover: "采集缺失封面",generating_preview: "生成视频预览",writing_candidates: "保存待确认资料"-}, PH = {+}, FH = {querying_metadata: "没有资料",fetching_cover: "没有封面"};function Dme(e) {- let t = Object.entries(e).filter(([e, t]) => PH[e] && t > 0).map(([e, t]) => `${PH[e]} ${t.toLocaleString()} 部`);+ let t = Object.entries(e).filter(([e, t]) => FH[e] && t > 0).map(([e, t]) => `${FH[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}function Ome(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = Eme[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${FF(e.waited_seconds)}` : "";+ let t = Eme[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${lI(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}function kme(e) {- let t = e.total ? `${IF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ let t = e.total ? `${uI(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";return Ome(e) + (t ? ` · ${t}` : "");}function Ame(e) {@@ -45013,23 +45016,23 @@ function Ame(e) {log: e.issues_log || ""} : null;}-var FH = "peach.library-processing.announced", jme = 120;-function IH(e) {+var IH = "peach.library-processing.announced", jme = 120;+function LH(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;return !!e.job_id && t >= 0 && t < jme;}function Mme(e, t, n) {- if (e.status === "complete" && (n || IH(e))) {+ if (e.status === "complete" && (n || LH(e))) {try {- if (e.job_id && localStorage.getItem(FH) === e.job_id) return;- e.job_id && localStorage.setItem(FH, e.job_id);+ if (e.job_id && localStorage.getItem(IH) === e.job_id) return;+ e.job_id && localStorage.setItem(IH, e.job_id);} catch {}e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));}}//#endregion//#region src/react/boardui/components/base/buttons/link-button.tsx-var LH = fF({+var RH = KF({base: ["inline-flex items-center justify-center gap-1 whitespace-nowrap","font-sans select-none cursor-pointer rounded-sm",@@ -45053,15 +45056,15 @@ var LH = fF({secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")}});-function RH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = dF(LH.base, LH.size[t], LH.variant[e], a), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [+function zH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = GF(RH.base, RH.size[t], RH.variant[e], a), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n ? /* @__PURE__ */ (0, O.jsx)(n, {- className: LH.icon[t],+ className: RH.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, O.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, O.jsx)(r, {- className: LH.icon[t],+ className: RH.icon[t],"aria-hidden": !0}) : null] });@@ -45090,17 +45093,17 @@ function RH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili//#region src/react/components/use-moving-surface.tsvar Nme = {selection: {- type: Df,+ type: Of,duration: .16,bounce: 0},hover: {- type: Df,+ type: Of,duration: .08,bounce: 0}};-function zH(e) {+function BH(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!t) return;@@ -45121,7 +45124,7 @@ function zH(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 = Fne(n, { transform: [r, E] }, Nme[e]);+ l = Wne(n, { transform: [r, E] }, Nme[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -45158,25 +45161,25 @@ function zH(e) {}//#endregion//#region src/react/components/menu-dialog.tsx-function BH(e) {- let t = zH("hover");- return /* @__PURE__ */ (0, O.jsx)(NR, {+function VH(e) {+ let t = BH("hover");+ return /* @__PURE__ */ (0, O.jsx)(PR, {...e,ref: t});}//#endregion//#region src/react/library-processing/processing-effort.tsx-var VH = [+var HH = ["low","standard","high"-], HH = [+], UH = ["低占用","标准","全速"-], UH = tB("snail"), WH = tB("zap");-function GH({ className: e }) {+], WH = nB("snail"), GH = nB("zap");+function KH({ className: e }) {return /* @__PURE__ */ (0, O.jsxs)("svg", {className: `processing-effort-double ${e ?? ""}`,"aria-hidden": "true",@@ -45208,9 +45211,9 @@ function GH({ className: e }) {});}var Pme = [- UH,WH,- GH+ GH,+ KH];function Fme({ animate: e }) {let [t, n] = (0, D.useState)(document.hidden);@@ -45244,8 +45247,8 @@ function Fme({ animate: e }) {} }, t))]});}-function KH({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = Math.max(0, VH.indexOf(e)), [a, o] = (0, D.useState)(i);+function qH({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = Math.max(0, HH.indexOf(e)), [a, o] = (0, D.useState)(i);return (0, D.useEffect)(() => {t || o(i);}, [i, t]), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45256,7 +45259,7 @@ function KH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "text-text-tertiary",children: "处理强度 "- }), HH[a]]+ }), UH[a]]}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "processing-effort-scale text-caption-1-regular text-text-tertiary",@@ -45264,15 +45267,15 @@ function KH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 0 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(UH, {}), "最慢"]+ children: [/* @__PURE__ */ (0, O.jsx)(WH, {}), "最慢"]}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 1 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(WH, {}), "标准"]+ children: [/* @__PURE__ */ (0, O.jsx)(GH, {}), "标准"]}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-selected": a === 2 || void 0,- children: [/* @__PURE__ */ (0, O.jsx)(GH, {}), "最快"]+ children: [/* @__PURE__ */ (0, O.jsx)(KH, {}), "最快"]})]}),@@ -45285,10 +45288,10 @@ function KH({ value: e, busy: t, onChange: n, animate: r = !0 }) {isDisabled: t,onChange: o,onChangeEnd: (e) => {- e !== i && n(VH[e]);+ e !== i && n(HH[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, O.jsx)(jI, {+ children: [/* @__PURE__ */ (0, O.jsx)(KI, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45312,7 +45315,7 @@ function KH({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, O.jsx)(Ple, {className: "processing-effort-hit",children: /* @__PURE__ */ (0, O.jsx)(Fle, {- "aria-label": HH[a],+ "aria-label": UH[a],className: "processing-effort-thumb"})})@@ -45327,7 +45330,7 @@ function KH({ value: e, busy: t, onChange: n, animate: r = !0 }) {});}function Ime({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), s = Math.max(0, VH.indexOf(e));+ let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), s = Math.max(0, HH.indexOf(e));return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "processing-effort-trigger","data-speed": e,@@ -45335,28 +45338,28 @@ function Ime({ value: e, busy: t, onChange: n, animate: r = !0 }) {ref: i,size: "small",variant: "secondary",- "aria-label": `处理速度:${HH[s]}`,+ "aria-label": `处理速度:${UH[s]}`,"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,leadingIcon: Pme[s],- trailingIcon: Ez,+ trailingIcon: Dz,onClick: () => {t || o(!a);},- children: HH[s]+ children: UH[s]})- }), /* @__PURE__ */ (0, O.jsx)(bR, {+ }), /* @__PURE__ */ (0, O.jsx)(xR, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "top start",offset: 8,- className: pV,- children: /* @__PURE__ */ (0, O.jsx)(BH, {+ className: mV,+ children: /* @__PURE__ */ (0, O.jsx)(VH, {"aria-label": "处理速度",className: "outline-none",- children: /* @__PURE__ */ (0, O.jsx)(KH, {+ children: /* @__PURE__ */ (0, O.jsx)(qH, {value: e,busy: t,onChange: n,@@ -45367,7 +45370,7 @@ function Ime({ value: e, busy: t, onChange: n, animate: r = !0 }) {}//#endregion//#region src/react/settings/use-action.ts-function qH(e = "") {+function JH(e = "") {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(""), [i, a] = (0, D.useState)(e);(0, D.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -45379,7 +45382,7 @@ function qH(e = "") {s.signal.aborted || i(e);} catch (e) {if (s.signal.aborted) return;- o ? o(e) : a(jn(e));+ o ? o(e) : a(An(e));} finally {t.current === s && (t.current = null), s.signal.aborted || r("");}@@ -45394,9 +45397,9 @@ function qH(e = "") {//#endregion//#region src/react/library-processing/processing-controls.tsxfunction Lme({ state: e, disabled: t = !1 }) {- let n = qH(), r = OH(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {- t || n.busy || n.run(e.action, (t) => V(EH, e, "POST", t), (e) => {- H.setQueryData(DH, e), H.invalidateQueries({ queryKey: DH });+ let n = JH(), r = kH(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {+ t || n.busy || n.run(e.action, (t) => H(DH, e, "POST", t), (e) => {+ U.setQueryData(OH, e), U.invalidateQueries({ queryKey: OH });});};return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -45417,11 +45420,11 @@ function Lme({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: e.status === "paused" ? Lz : Iz,+ leadingIcon: e.status === "paused" ? Rz : Lz,"aria-label": i,title: i,disabled: t || !e.job_id || e.status === "pausing",- ...rB(n.busy === "pause" || n.busy === "resume"),+ ...iB(n.busy === "pause" || n.busy === "resume"),onClick: () => {e.job_id && a({action: e.status === "paused" ? "resume" : "pause",@@ -45438,11 +45441,11 @@ function Lme({ state: e, disabled: t = !1 }) {}//#endregion//#region src/react/library-processing/use-library-processing.ts-function JH({ toast: e, mode: t, monitor: n }) {- let r = t === "notice" || !!n, i = Ct({- queryKey: DH,- queryFn: ({ signal: e }) => AH(e),- refetchInterval: (e) => NH(e.state.data, r)+function YH({ toast: e, mode: t, monitor: n }) {+ let r = t === "notice" || !!n, i = St({+ queryKey: OH,+ queryFn: ({ signal: e }) => jH(e),+ refetchInterval: (e) => PH(e.state.data, r)}), [a, o] = (0, D.useState)(null), s = (0, D.useRef)(void 0), c = i.data;return (0, D.useEffect)(() => {if (!c) return;@@ -45452,7 +45455,7 @@ function JH({ toast: e, mode: t, monitor: n }) {"running","pausing","paused"- ].includes(n) && !OH(c);+ ].includes(n) && !kH(c);r && o(c), (r || t === "notice") && Mme(c, e, r);}, [c,@@ -45482,7 +45485,7 @@ var Rme = "min-w-0", zme = {none: "",default: "p-5"}, Ume = "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", Wme = "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 YH(e = {}) {+function XH(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 [Rme,@@ -45497,7 +45500,7 @@ function YH(e = {}) {}//#endregion//#region src/react/components/loading-dots.tsx-function XH({ label: e }) {+function ZH({ label: e }) {return /* @__PURE__ */ (0, O.jsxs)("p", {role: "status",className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",@@ -45517,21 +45520,21 @@ function XH({ label: e }) {}//#endregion//#region src/react/components/progress.tsx-var ZH = 100, Gme = .4;-function QH({ 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 * ZH;+var QH = 100, Gme = .4;+function $H({ 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 * QH;return /* @__PURE__ */ (0, O.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": i,"aria-valuenow": a(t),- viewBox: `0 0 ${ZH} 1`,+ viewBox: `0 0 ${QH} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, O.jsx)("rect", {- width: ZH,+ width: QH,height: 1,className: "fill-background-tertiary-default"}),@@ -45551,27 +45554,27 @@ function QH({ label: e, value: t, max: n = 100, stops: r = [] }) {}//#endregion//#region src/react/components/task-progress.tsx-function $H({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function eU({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-task-progress": !0,- className: r ? "flex flex-col gap-1.5" : YH({+ className: r ? "flex flex-col gap-1.5" : XH({variant: "outlined",padding: "none",className: "flex flex-col gap-1.5 px-4 py-3.5"}),- children: n && n > 0 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(QH, {+ children: n && n > 0 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)($H, {label: e,value: t,max: n}), /* @__PURE__ */ (0, O.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, O.jsx)(XH, { label: e })+ })] }) : /* @__PURE__ */ (0, O.jsx)(ZH, { label: e })});}//#endregion//#region src/react/library-processing/processing-line.tsx-function eU(e) {+function tU(e) {let [t, n] = (0, D.useState)({snapshot: e,seconds: 0@@ -45593,11 +45596,11 @@ function eU(e) {} : e);}function Kme({ state: e }) {- return eU(e);+ return tU(e);}function qme({ state: e }) {- let t = eU(e);- return /* @__PURE__ */ (0, O.jsx)($H, {+ let t = tU(e);+ return /* @__PURE__ */ (0, O.jsx)(eU, {embedded: !0,label: t,value: Math.min(e.checked || 0, e.total || 0),@@ -45606,7 +45609,7 @@ function qme({ state: e }) {}//#endregion//#region src/react/components/collapse-region.tsx-function tU({ open: e, children: t, ...n }) {+function nU({ open: e, children: t, ...n }) {let r = (0, D.useRef)(null), i = (0, D.useRef)(!1);return (0, D.useLayoutEffect)(() => {let t = r.current;@@ -45617,7 +45620,7 @@ function tU({ open: e, children: t, ...n }) {children: t});}-function nU(e) {+function rU(e) {return /* @__PURE__ */ (0, O.jsx)("svg", {...e,"aria-hidden": !0,@@ -45633,7 +45636,7 @@ function nU(e) {}//#endregion//#region src/diagnostics-skeleton.ts-function rU() {+function iU() {let e = (e) => Wo({label: e,variant: "secondary",@@ -45648,7 +45651,7 @@ function rU() {}//#endregion//#region src/react/settings/library-policy-copy.ts-var iU = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", Jme = [+var aU = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", Jme = ["自动补全","仅使用本地资料","自定义"@@ -45683,35 +45686,35 @@ var iU = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], Xme = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", aU = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", oU = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", sU = "只填域名,留空用默认地址", cU = "disabled data-skeleton-action", lU = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, uU = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, dU = (e, t = "primary") => Wo({+], Xme = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", oU = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", sU = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", cU = "只填域名,留空用默认地址", lU = "disabled data-skeleton-action", uU = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, dU = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, fU = (e, t = "primary") => Wo({label: e,variant: t,- attrs: cU-}), Zme = (e) => `<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">${e}</div>`, fU = (e) => `<div class="flex flex-col gap-4 py-4 pr-3">${e}</div>`, pU = (e, t, n = "") => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? Zme(n) : ""}</div></section>`, mU = (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>`, hU = (e, t = "", n = "ui-configuration-skeleton-toggle") => mU(e, t, `<span class="skeleton ${n}"></span>`), gU = (e, t = "4em") => mU(e, "", lU(t)), _U = (e) => `<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:${e}px"></span>`, vU = (e, t) => `<div class="flex w-full flex-col items-start gap-1"><span class="text-body-medium text-text-primary">${e}</span>${uU()}<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span></div>`, yU = "peach.configuration.media-shape.v1", bU = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。";+ attrs: lU+}), Zme = (e) => `<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">${e}</div>`, pU = (e) => `<div class="flex flex-col gap-4 py-4 pr-3">${e}</div>`, mU = (e, t, n = "") => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? Zme(n) : ""}</div></section>`, hU = (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>`, gU = (e, t = "", n = "ui-configuration-skeleton-toggle") => hU(e, t, `<span class="skeleton ${n}"></span>`), _U = (e, t = "4em") => hU(e, "", uU(t)), vU = (e) => `<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:${e}px"></span>`, yU = (e, t) => `<div class="flex w-full flex-col items-start gap-1"><span class="text-body-medium text-text-primary">${e}</span>${dU()}<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span></div>`, bU = "peach.configuration.media-shape.v1", xU = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。";function Qme(e) {try {- localStorage.setItem(yU, JSON.stringify(e));+ localStorage.setItem(bU, JSON.stringify(e));} catch {}}-var xU = "peach.configuration.section-heights.v1";-function SU(e, t) {+var SU = "peach.configuration.section-heights.v1";+function CU(e, t) {try {- let n = JSON.parse(localStorage.getItem(xU) || "{}");- localStorage.setItem(xU, JSON.stringify({+ let n = JSON.parse(localStorage.getItem(SU) || "{}");+ localStorage.setItem(SU, JSON.stringify({...n,[e]: Math.round(t)}));} catch {}}-function CU(e, t) {+function wU(e, t) {try {- let n = JSON.parse(localStorage.getItem(xU) || "{}")[e];+ let n = JSON.parse(localStorage.getItem(SU) || "{}")[e];return typeof n == "number" && n > 0 && n < 4e3 ? n : t;} catch {return t;}}-var wU = {+var TU = {credentials: {key: "source-credentials",fallback: 1498@@ -45724,10 +45727,10 @@ var wU = {key: "jav-browser",fallback: 100}-}, TU = (e) => CU(wU[e].key, wU[e].fallback);+}, EU = (e) => wU(TU[e].key, TU[e].fallback);function $me() {try {- let e = JSON.parse(localStorage.getItem(yU) || "null"), t = Array.isArray(e?.folders) ? e.folders.filter((e) => Number.isInteger(e) && e > 0).slice(0, 12) : [];+ let e = JSON.parse(localStorage.getItem(bU) || "null"), t = Array.isArray(e?.folders) ? e.folders.filter((e) => Number.isInteger(e) && e > 0).slice(0, 12) : [];if (t.length) return {folders: t,cloud: e?.cloud === !0,@@ -45740,61 +45743,61 @@ function $me() {discovery: !1};}-var EU = (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>`, ehe = (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">${uU()}</span>${Wo({+var DU = (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>`, ehe = (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">${dU()}</span>${Wo({glyph: "folder-search",variant: "secondary",- attrs: cU+ attrs: lU})}</div>- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${EU("来源", Ko(lU("6em")), "w-full @lg:w-60")}${EU("读取策略", Ko(lU("4em")), "w-full @lg:w-32")}${e > 1 ? EU("移到媒体库", Ko(lU("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">${DU("来源", Ko(uU("6em")), "w-full @lg:w-60")}${DU("读取策略", Ko(uU("4em")), "w-full @lg:w-32")}${e > 1 ? DU("移到媒体库", Ko(uU("4em")), "w-full @lg:w-48") : ""}</div></div></div>`, the = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2"><div data-library-head>${Wo({label: "自动识别",variant: "secondary",- attrs: cU-})}${uU()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Ko(lU("4em"), { prefix: "处理方式" })}</div>+ attrs: lU+})}${dU()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${Ko(uU("4em"), { prefix: "处理方式" })}</div><div data-library-folders>${ehe(t).repeat(e)}<div class="flex">${Wo({label: "添加文件夹",variant: "secondary",- attrs: cU-})}</div></div></div>`, nhe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${iU}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, rhe = "<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>", DU = () => {+ attrs: lU+})}</div></div></div>`, nhe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${aU}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, rhe = "<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>", OU = () => {let e = $me();- return pU("媒体库与目录", fU(`${nhe}<div class="flex flex-col gap-4">${e.folders.map((t) => the(t, e.folders.length)).join("")}</div>- <div class="self-start">${dU("添加媒体库", "secondary")}</div>- <p class="text-body-2-regular text-text-secondary">${aU}</p>- ${e.cloud ? rhe : ""}<span class="text-body-medium text-text-primary">${lU("15em")}</span>`), `<span class="mr-auto min-w-0 text-body-2-regular text-text-secondary">保存后 Peach 会重新启动。</span>${dU("保存配置")}`) + (e.cloud ? pU("CloudDrive 代理", fU(`<p class="text-body-2-regular text-text-secondary">${bU}</p><span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:${CU("cloud-proxy", 96)}px"></span>`), dU("重新读取", "secondary")) : "") + (e.discovery ? `<div class="overflow-hidden" style="height:${CU("push-discovery", 323)}px">${pU("自动发现新文件", fU(`<span class="flex min-h-6 items-center text-body-regular text-text-secondary">${lU("8em")}</span>`) + hU("发现新文件后自动入库") + hU("监视本机文件夹") + hU("接收 CloudDrive2 通知"), dU("保存配置"))}</div>` : "") + pU("番号识别规则", fU(`${lU("90%")}${lU("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), dU("保存配置")) + pU("视频预览", hU("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + hU("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + hU("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+ return mU("媒体库与目录", pU(`${nhe}<div class="flex flex-col gap-4">${e.folders.map((t) => the(t, e.folders.length)).join("")}</div>+ <div class="self-start">${fU("添加媒体库", "secondary")}</div>+ <p class="text-body-2-regular text-text-secondary">${oU}</p>+ ${e.cloud ? rhe : ""}<span class="text-body-medium text-text-primary">${uU("15em")}</span>`), `<span class="mr-auto min-w-0 text-body-2-regular text-text-secondary">保存后 Peach 会重新启动。</span>${fU("保存配置")}`) + (e.cloud ? mU("CloudDrive 代理", pU(`<p class="text-body-2-regular text-text-secondary">${xU}</p><span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:${wU("cloud-proxy", 96)}px"></span>`), fU("重新读取", "secondary")) : "") + (e.discovery ? `<div class="overflow-hidden" style="height:${wU("push-discovery", 323)}px">${mU("自动发现新文件", pU(`<span class="flex min-h-6 items-center text-body-regular text-text-secondary">${uU("8em")}</span>`) + gU("发现新文件后自动入库") + gU("监视本机文件夹") + gU("接收 CloudDrive2 通知"), fU("保存配置"))}</div>` : "") + mU("番号识别规则", pU(`${uU("90%")}${uU("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), fU("保存配置")) + mU("视频预览", gU("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + gU("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + gU("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));};function ihe(e) {switch (e) {- case "系统诊断": return rU();- case "媒体库与入库": return DU();- case "来源与订阅": return `<div>${dU("采集来源与登录状态", "secondary")}</div>` + pU("来源凭据", fU(_U(TU("credentials")))) + pU("关注采集", mU("自动检查更新", "", "<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>") + gU("订阅源拉取") + hU("首次采集范围", "", "ui-configuration-skeleton-select") + gU("头像刷新") + gU("favicon 刷新")) + pU("资源搜索", fU(_U(TU("indexers"))), dU("添加索引器", "secondary") + dU("保存配置")) + pU("作品资料站点", fU(`<p class="text-body-2-regular text-text-secondary">${oU}</p>${vU("JavDB 地址", sU)}${vU("MISSAV 地址", sU)}`), dU("保存配置"));- case "下载渠道": return pU("云下载", fU(`${lU("35%")}${uU()}${uU()}${uU()}${uU()}`), dU("保存配置")) + pU("PikPak 账号", fU(`${uU()}${uU()}`), dU("登录账号"));- case "网络与访问": return pU("本机访问端口", fU(uU("128px")), dU("保存配置")) + pU("Peach 代理", hU("连接方式", "", "ui-configuration-skeleton-select"), dU("保存配置")) + pU("访问密码", fU(uU()), dU("保存配置")) + pU("公网访问", fU(`${lU("60%")}${uU()}`));- case "应用与维护": return pU("检查更新", fU(`${lU("40%")}${lU("40%")}${lU("40%")}${lU("40%")}`), dU("检查更新")) + pU("自动更新", hU("自动检查新版本") + hU("自动下载更新") + hU("检查频率", "", "ui-configuration-skeleton-select"), dU("保存配置")) + pU("开机自启", hU("开机后启动 Peach") + hU("只启动托盘,不打开网页") + hU("在桌面创建快捷方式"), dU("保存配置")) + pU("视频播放", hU("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + pU("数据上传", hU("发送版本统计与错误诊断(推荐)") + hU("馆藏与口味明细上传")) + pU("运行信息", fU(`${lU("80%")}${lU("60%")}${lU("40%")}`));- default: return DU();+ case "系统诊断": return iU();+ case "媒体库与入库": return OU();+ case "来源与订阅": return `<div>${fU("采集来源与登录状态", "secondary")}</div>` + mU("来源凭据", pU(vU(EU("credentials")))) + mU("关注采集", hU("自动检查更新", "", "<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>") + _U("订阅源拉取") + gU("首次采集范围", "", "ui-configuration-skeleton-select") + _U("头像刷新") + _U("favicon 刷新")) + mU("资源搜索", pU(vU(EU("indexers"))), fU("添加索引器", "secondary") + fU("保存配置")) + mU("作品资料站点", pU(`<p class="text-body-2-regular text-text-secondary">${sU}</p>${yU("JavDB 地址", cU)}${yU("MISSAV 地址", cU)}`), fU("保存配置"));+ case "下载渠道": return mU("云下载", pU(`${uU("35%")}${dU()}${dU()}${dU()}${dU()}`), fU("保存配置")) + mU("PikPak 账号", pU(`${dU()}${dU()}`), fU("登录账号"));+ case "网络与访问": return mU("本机访问端口", pU(dU("128px")), fU("保存配置")) + mU("Peach 代理", gU("连接方式", "", "ui-configuration-skeleton-select"), fU("保存配置")) + mU("访问密码", pU(dU()), fU("保存配置")) + mU("公网访问", pU(`${uU("60%")}${dU()}`));+ case "应用与维护": return mU("检查更新", pU(`${uU("40%")}${uU("40%")}${uU("40%")}${uU("40%")}`), fU("检查更新")) + mU("自动更新", gU("自动检查新版本") + gU("自动下载更新") + gU("检查频率", "", "ui-configuration-skeleton-select"), fU("保存配置")) + mU("开机自启", gU("开机后启动 Peach") + gU("只启动托盘,不打开网页") + gU("在桌面创建快捷方式"), fU("保存配置")) + mU("视频播放", gU("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + mU("数据上传", gU("发送版本统计与错误诊断(推荐)") + gU("馆藏与口味明细上传")) + mU("运行信息", pU(`${uU("80%")}${uU("60%")}${uU("40%")}`));+ default: return OU();}}function ahe(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(CV).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">${ihe(e)}</div></div></div>`;+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(wV).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">${ihe(e)}</div></div></div>`;}//#endregion//#region src/react/boardui/components/application/settings/settings-rows.tsx-function OU({ className: e, children: t }) {+function kU({ className: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {- className: dF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: GF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function kU({ className: e, children: t }) {+function AU({ className: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {- className: dF("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: GF("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}function ohe({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {- className: dF("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: GF("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, O.jsx)("p", {@@ -45809,7 +45812,7 @@ function ohe({ label: e, description: t, children: n }) {}//#endregion//#region src/react/settings/section.tsx-function AU({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {+function jU({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {let o = t ? /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [t, e]@@ -45817,12 +45820,12 @@ function AU({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {className: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(kU, { children: o })+ children: /* @__PURE__ */ (0, O.jsx)(AU, { children: o })}), /* @__PURE__ */ (0, O.jsx)("div", {className: "flex min-w-0 max-w-full",children: r})]- }) : /* @__PURE__ */ (0, O.jsx)(kU, { children: o }), /* @__PURE__ */ (0, O.jsx)(OU, { children: a })] });+ }) : /* @__PURE__ */ (0, O.jsx)(AU, { children: o }), /* @__PURE__ */ (0, O.jsx)(kU, { children: a })] });return i ? /* @__PURE__ */ (0, O.jsx)("form", {id: n,"aria-label": e,@@ -45843,7 +45846,7 @@ function she({ children: e }) {children: e});}-function jU({ divided: e = !1, children: t }) {+function MU({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, O.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden",children: t@@ -45853,26 +45856,26 @@ function jU({ divided: e = !1, children: t }) {});}function che({ title: e, label: t, body: n, actions: r }) {- return /* @__PURE__ */ (0, O.jsxs)(AU, {+ return /* @__PURE__ */ (0, O.jsxs)(jU, {title: e,- children: [/* @__PURE__ */ (0, O.jsx)(jU, { children: /* @__PURE__ */ (0, O.jsx)("div", {+ children: [/* @__PURE__ */ (0, O.jsx)(MU, { children: /* @__PURE__ */ (0, O.jsx)("div", {"data-skeleton": !0,"aria-busy": "true","aria-label": t,children: /* @__PURE__ */ (0, O.jsx)("div", {className: "h-(--skeleton-h) w-full rounded-2lg bg-background-tertiary-default",- style: { "--skeleton-h": `${TU(n)}px` }+ style: { "--skeleton-h": `${EU(n)}px` }})- }) }), r ? /* @__PURE__ */ (0, O.jsx)(MU, { children: r }) : null]+ }) }), r ? /* @__PURE__ */ (0, O.jsx)(NU, { children: r }) : null]});}function lhe(e, t) {let n = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {- n.current && SU(wU[e].key, n.current.offsetHeight);+ n.current && CU(TU[e].key, n.current.offsetHeight);}, t), n;}-function MU({ status: e, children: t }) {+function NU({ status: e, children: t }) {return /* @__PURE__ */ (0, O.jsxs)("div", {className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3 empty:hidden",children: [e ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -45881,34 +45884,34 @@ function MU({ status: e, children: t }) {}) : null, t]});}-function NU({ role: e, children: t }) {+function PU({ role: e, children: t }) {return /* @__PURE__ */ (0, O.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function PU({ children: e }) {+function FU({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function FU({ children: e }) {+function IU({ children: e }) {return /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}function uhe({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, O.jsx)(RH, {+ return /* @__PURE__ */ (0, O.jsx)(zH, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: Az,+ trailingIcon: jz,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -45934,7 +45937,7 @@ function fhe({ term: e, children: t }) {})]});}-function IU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {+function LU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {let s = (0, D.useId)(), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(!1), [d, f] = (0, D.useState)(n ?? t);return (0, D.useLayoutEffect)(() => {n !== void 0 && n !== d && c.current && l.current && (to(c.current, l.current, n), f(n));@@ -45950,12 +45953,12 @@ function IU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:},className: `${i ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [- i ? null : /* @__PURE__ */ (0, O.jsx)(Oz, {+ i ? null : /* @__PURE__ */ (0, O.jsx)(kz, {"aria-hidden": !0,className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"}),e,- i ? /* @__PURE__ */ (0, O.jsx)(Oz, {+ i ? /* @__PURE__ */ (0, O.jsx)(kz, {"aria-hidden": !0,className: d ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"}) : null@@ -45965,7 +45968,7 @@ function IU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:id: s,inert: !d,children: /* @__PURE__ */ (0, O.jsx)("div", {- className: dF("flex flex-col gap-2 pt-3", o),+ className: GF("flex flex-col gap-2 pt-3", o),children: r})})]@@ -45981,7 +45984,7 @@ function phe({ name: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function LU({ mark: e }) {+function RU({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, O.jsx)("img", {src: e,alt: "",@@ -45992,24 +45995,24 @@ function LU({ mark: e }) {}//#endregion//#region src/react/components/source-label.tsx-var RU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, mhe = Object.fromEntries(Object.entries(No).map(([e, t]) => [e, function({ className: e }) {+var zU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, mhe = Object.fromEntries(Object.entries(No).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, O.jsx)(LU, { mark: t })+ children: /* @__PURE__ */ (0, O.jsx)(RU, { mark: t })});}]));function hhe({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, O.jsx)(LU, { mark: "database" })+ children: /* @__PURE__ */ (0, O.jsx)(RU, { mark: "database" })});}-var zU = (e) => mhe[RU(e)] ?? hhe;+var BU = (e) => mhe[zU(e)] ?? hhe;function ghe({ site: e, label: t }) {let [n, r] = (0, D.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [n || !i ? /* @__PURE__ */ (0, O.jsx)(LU, { mark: "globe" }) : /* @__PURE__ */ (0, O.jsx)("img", {+ children: [n || !i ? /* @__PURE__ */ (0, O.jsx)(RU, { mark: "globe" }) : /* @__PURE__ */ (0, O.jsx)("img", {src: i,alt: "",className: "size-(--icon-inline) shrink-0 object-contain",@@ -46017,11 +46020,11 @@ function ghe({ site: e, label: t }) {}), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]});}-function BU({ source: e, label: t }) {- let n = RU(e);+function VU({ source: e, label: t }) {+ let n = zU(e);return /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(LU, { mark: No[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(RU, { mark: No[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 truncate",children: t})]@@ -46029,13 +46032,13 @@ function BU({ source: e, label: t }) {}//#endregion//#region src/react/library-processing/processing-traffic.tsx-var VU = (e) => vn(e).replace(/\s/g, ""), HU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : VU(e), _he = (e, t) => {- if (e === t) return VU(t);- let [n, r] = vn(e).split(" "), [i, a] = vn(t).split(" ");- return r === a ? `${n}-${i}${a}` : `${VU(e)}-${VU(t)}`;-}, UU = (e, t, n) => e === void 0 ? _he(t, n) : `${e > 0 ? "约 " : ""}${VU(e)}`;-function WU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {- let i = xV(), [a, o] = (0, D.useState)(!1), s = (0, D.useId)(), c = n ?? a;+var HU = (e) => _n(e).replace(/\s/g, ""), UU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : HU(e), _he = (e, t) => {+ if (e === t) return HU(t);+ let [n, r] = _n(e).split(" "), [i, a] = _n(t).split(" ");+ return r === a ? `${n}-${i}${a}` : `${HU(e)}-${HU(t)}`;+}, WU = (e, t, n) => e === void 0 ? _he(t, n) : `${e > 0 ? "约 " : ""}${HU(e)}`;+function GU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {+ let i = SV(), [a, o] = (0, D.useState)(!1), s = (0, D.useId)(), c = n ?? a;if (!e) return null;let l = (e) => e.toLocaleString("zh-CN");return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -46072,25 +46075,25 @@ function WU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(Nz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Pz, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]}),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-title-3-semibold text-text-primary",- children: UU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)+ children: WU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)}),/* @__PURE__ */ (0, O.jsxs)("p", { children: [e.unknown_route_estimated_bytes ? "已确认代理" : "代理"," ",- UU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)+ WU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)] }),t ? null : /* @__PURE__ */ (0, O.jsxs)("p", { children: ["已用 ",- /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.partial ? "约 " : "", VU(e.used_bytes)] }),+ /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.partial ? "约 " : "", HU(e.used_bytes)] })," · 代理 ",- VU(e.metered_used_bytes)+ HU(e.metered_used_bytes)] })]}), e.disk ? /* @__PURE__ */ (0, O.jsxs)("section", {@@ -46106,18 +46109,18 @@ function WU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })}),/* @__PURE__ */ (0, O.jsxs)("p", {className: "text-title-3-semibold text-text-primary",- children: ["约 ", VU(e.disk.estimated_bytes)]+ children: ["约 ", HU(e.disk.estimated_bytes)]}),- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, O.jsxs)("p", { children: ["抽帧临时文件约 ", HU(e.disk.temporary_bytes)] }) : null,+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, O.jsxs)("p", { children: ["抽帧临时文件约 ", UU(e.disk.temporary_bytes)] }) : null,e.disk.volumes.map((e) => /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, O.jsxs)("p", { children: [e.path," 剩余 ",- e.free_bytes == null ? "未取得" : VU(e.free_bytes)+ e.free_bytes == null ? "未取得" : HU(e.free_bytes)] }), e.can_fit === !1 ? /* @__PURE__ */ (0, O.jsxs)("p", {role: "status",- children: ["空间不足,还差 ", VU(e.shortfall_bytes || 0)]+ children: ["空间不足,还差 ", HU(e.shortfall_bytes || 0)]}) : null]}, e.path)),e.disk.cache_unknown ? /* @__PURE__ */ (0, O.jsx)("p", {@@ -46133,7 +46136,7 @@ function WU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })className: "self-start","aria-expanded": c,"aria-controls": s,- trailingIcon: c ? Fde : Ez,+ trailingIcon: c ? Fde : Dz,onClick: () => {o(!c), r?.(!c);},@@ -46152,12 +46155,12 @@ function WU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-start justify-between gap-2",- children: [e.root ? /* @__PURE__ */ (0, O.jsx)(BU, {+ children: [e.root ? /* @__PURE__ */ (0, O.jsx)(VU, {source: e.location,label: e.label}) : /* @__PURE__ */ (0, O.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, O.jsx)(LU, { mark: "globe" }), e.label]+ children: [/* @__PURE__ */ (0, O.jsx)(RU, { mark: "globe" }), e.label]}), /* @__PURE__ */ (0, O.jsx)("span", {className: "shrink-0",children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"@@ -46179,7 +46182,7 @@ function WU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"待补资料 ",l(e.workload.pending_jav_titles)," 部 · 平均约 ",- HU(e.workload.metadata_average_bytes || 0),+ UU(e.workload.metadata_average_bytes || 0),"/部"]}) : null,@@ -46189,8 +46192,8 @@ function WU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"已用",e.unobserved.length ? "约" : ""," ",- VU(e.used_bytes)- ] }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["预计 ", UU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]+ HU(e.used_bytes)+ ] }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["预计 ", WU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]})]}, e.key))@@ -46202,10 +46205,10 @@ function WU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var GU = "peach.library-processing.collapsed";-function KU(e) {+var KU = "peach.library-processing.collapsed";+function qU(e) {try {- return !e || sessionStorage.getItem(GU) !== e;+ return !e || sessionStorage.getItem(KU) !== e;} catch {return !0;}@@ -46240,14 +46243,14 @@ function vhe({ value: e, max: t }) {})]});}-function qU({ state: e, problem: t = "", measure: n = !1 }) {- let [r, i] = (0, D.useState)(() => KU(e?.job_id)), a = (0, D.useId)(), [o, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = e?.status === "failed", u = OH(e);+function JU({ state: e, problem: t = "", measure: n = !1 }) {+ let [r, i] = (0, D.useState)(() => qU(e?.job_id)), a = (0, D.useId)(), [o, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = e?.status === "failed", u = kH(e);(0, D.useEffect)(() => {- i(KU(e?.job_id)), s(!1);+ i(qU(e?.job_id)), s(!1);}, [e?.job_id]);let d = () => {try {- r && e?.job_id ? sessionStorage.setItem(GU, e.job_id) : sessionStorage.removeItem(GU);+ r && e?.job_id ? sessionStorage.setItem(KU, e.job_id) : sessionStorage.removeItem(KU);} catch {}r && s(!1), i(!r);};@@ -46269,7 +46272,7 @@ function qU({ state: e, problem: t = "", measure: n = !1 }) {"data-processing-tone": l ? "error" : f ? "warning" : "neutral","aria-label": "扫描任务",role: l ? "alert" : "status",- className: dF("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),+ className: GF("flex min-w-0 flex-col border bg-background-primary-default p-4", l ? "border-current/35 text-text-error-primary" : f ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col gap-3",@@ -46294,14 +46297,14 @@ function qU({ state: e, problem: t = "", measure: n = !1 }) {}), u ? /* @__PURE__ */ (0, O.jsx)("p", {"data-processing-eta": "",className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",- children: kH(e)+ children: AH(e)}) : null]}),/* @__PURE__ */ (0, O.jsx)(q, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: nU,+ leadingIcon: rU,"data-processing-toggle": "","data-collapse-upward": "","aria-label": r ? "收起任务详情" : "展开任务详情",@@ -46310,20 +46313,20 @@ function qU({ state: e, problem: t = "", measure: n = !1 }) {onClick: d})]- }), /* @__PURE__ */ (0, O.jsx)(WU, {+ }), /* @__PURE__ */ (0, O.jsx)(GU, {traffic: e?.traffic,detailsOpen: o,onDetailsChange: s})]}),- /* @__PURE__ */ (0, O.jsx)(tU, {+ /* @__PURE__ */ (0, O.jsx)(nU, {id: a,open: r,"data-processing-body": "",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "pt-3",children: /* @__PURE__ */ (0, O.jsxs)("div", {- className: dF("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),+ className: GF("flex min-w-0 flex-col gap-2 border-t pt-3", l ? "border-border-error-default/20" : f ? "border-current/20" : "border-separator-border"),children: [e?.steps?.length ? /* @__PURE__ */ (0, O.jsx)("ol", {"aria-label": "处理步骤",@@ -46331,16 +46334,16 @@ function qU({ state: e, problem: t = "", measure: n = !1 }) {children: e.steps.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {"data-processing-step": e.status,"aria-current": e.status === "current" ? "step" : void 0,- className: dF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),+ className: GF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),children: [e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(Vde, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}) : /* @__PURE__ */ (0, O.jsx)(Hde, {"aria-hidden": !0,- className: dF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")+ className: GF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),- /* @__PURE__ */ (0, O.jsx)(yw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),+ /* @__PURE__ */ (0, O.jsx)(HC, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, O.jsx)("s", {className: "wrap-anywhere",children: e.label@@ -46369,11 +46372,11 @@ function qU({ state: e, problem: t = "", measure: n = !1 }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2 pt-3",- children: [/* @__PURE__ */ (0, O.jsx)(RH, {+ children: [/* @__PURE__ */ (0, O.jsx)(zH, {href: "/data-cleanup#libraryProcessing",variant: "secondary",size: "small",- trailingIcon: Dz,+ trailingIcon: Oz,children: t || l ? "打开扫描与采集" : "任务详情"}), u ? /* @__PURE__ */ (0, O.jsx)(Lme, {state: e,@@ -46384,31 +46387,31 @@ function qU({ state: e, problem: t = "", measure: n = !1 }) {});}function yhe(e) {- let { job: t } = JH(e);- return /* @__PURE__ */ (0, O.jsx)(qU, {+ let { job: t } = YH(e);+ return /* @__PURE__ */ (0, O.jsx)(JU, {state: t.data,- problem: t.isError ? t.data ? MH : jn(t.error) : ""+ problem: t.isError ? t.data ? NH : An(t.error) : ""});}//#endregion//#region src/react/library-processing/library-processing-dock.tsx-var JU = "peach-library-processing";+var YU = "peach-library-processing";function bhe({ toast: e }) {- let { job: t, settled: n } = JH({+ let { job: t, settled: n } = YH({toast: e,mode: "notice"- }), r = (0, D.useRef)(""), i = t.data, a = t.isError ? i ? MH : jn(t.error) : "";+ }), r = (0, D.useRef)(""), i = t.data, a = t.isError ? i ? NH : An(t.error) : "";return (0, D.useEffect)(() => {- let e = OH(i), t = i?.job_id || "unavailable", o = i?.status === "failed" && (n?.job_id === i.job_id || IH(i));- !e && (!a && !o || r.current === t) ? bH.dismiss(JU) : bH.custom(() => /* @__PURE__ */ (0, O.jsx)("div", {+ let e = kH(i), t = i?.job_id || "unavailable", o = i?.status === "failed" && (n?.job_id === i.job_id || LH(i));+ !e && (!a && !o || r.current === t) ? xH.dismiss(YU) : xH.custom(() => /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(qU, {+ children: /* @__PURE__ */ (0, O.jsx)(JU, {state: i,problem: a,measure: !0})}), {- id: JU,+ id: YU,toasterId: "processing",duration: Infinity,dismissible: !e,@@ -46423,7 +46426,7 @@ function bhe({ toast: e }) {a,n]), (0, D.useEffect)(() => () => {- bH.dismiss(JU);+ xH.dismiss(YU);}, []), null;}//#endregion@@ -46433,13 +46436,13 @@ function Che(e) {return e?.state === "online" ? 12e4 : 3e4;}function whe() {- let e = Ct({+ let e = St({queryKey: xhe,- queryFn: ({ signal: e }) => B("/api/network-status", e),+ queryFn: ({ signal: e }) => V("/api/network-status", e),refetchInterval: (e) => Che(e.state.data),retry: !1}), t = document.querySelector("[data-network-banner]");- return e.data?.state !== "offline" || !t ? null : (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsxs)("aside", {+ return e.data?.state !== "offline" || !t ? null : (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsxs)("aside", {className: "ui-project-banner ui-project-banner-warning",role: "status","data-network-offline": "",@@ -46456,20 +46459,20 @@ function whe() {//#endregion//#region src/react/router/pages/settings.tsxfunction The() {- let e = (0, D.useContext)($U), { pathname: t } = eV();+ let e = (0, D.useContext)(eW), { pathname: t } = tV();return (0, D.useEffect)(() => {- e?.openSettings?.(DV(t));+ e?.openSettings?.(OV(t));}, [e, t]), (0, D.useEffect)(() => () => {queueMicrotask(() => {- EV(fH.navigation.location.pathname) || e?.closeSettings?.();+ DV(pH.navigation.location.pathname) || e?.closeSettings?.();});}, [e]), null;}//#endregion//#region src/react/router/pages/overlay.tsx-var YU = () => Hl, Ehe = () => Ul;+var XU = () => Hl, Ehe = () => Ul;function Dhe() {- let e = (0, D.useContext)($U), t = (0, D.useSyncExternalStore)($l, Ehe), n = (0, D.useSyncExternalStore)($l, YU);+ let e = (0, D.useContext)(eW), t = (0, D.useSyncExternalStore)($l, Ehe), n = (0, D.useSyncExternalStore)($l, XU);return (0, D.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -46484,11 +46487,11 @@ function Dhe() {e]), null;}-function XU(e, t = !1) {- let n = (0, D.useSyncExternalStore)($l, YU), r = (0, D.useRef)(void 0);+function ZU(e, t = !1) {+ let n = (0, D.useSyncExternalStore)($l, XU), r = (0, D.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = fH.navigation;- r.current = Hl === 0 || mH() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = pH.navigation;+ r.current = Hl === 0 || hH() ? "boot" : e && !t ? null : "history";}let i = (0, D.useRef)(e);(0, D.useEffect)(() => {@@ -46505,21 +46508,21 @@ function XU(e, t = !1) {}, [n]);}function Ohe() {- let e = (0, D.useContext)($U), t = (0, D.useRef)(e);+ let e = (0, D.useContext)(eW), t = (0, D.useRef)(e);return (0, D.useLayoutEffect)(() => {t.current = e;- }, [e]), XU((t) => {- let n = fH.navigation.location, { pathname: r, search: i } = EV(n.pathname) && kV(n.state) || n, a = MV(r, i);- e && a && (RV(), t || Kpe(fH.navigation.location.state), e.openOverlay(a));+ }, [e]), ZU((t) => {+ let n = pH.navigation.location, { pathname: r, search: i } = DV(n.pathname) && AV(n.state) || n, a = NV(r, i);+ e && a && (zV(), t || Kpe(pH.navigation.location.state), e.openOverlay(a));}, !0), (0, D.useEffect)(() => () => {queueMicrotask(() => {- NV(fH.navigation.location.pathname) || t.current?.closeStage();+ PV(pH.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}function khe({ path: e }) {- QU();- let { location: t, seq: n, action: r } = fH.navigation, i = EV(t.pathname) ? kV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, D.useRef)({+ $U();+ let { location: t, seq: n, action: r } = pH.navigation, i = DV(t.pathname) ? AV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, D.useRef)({identity: a,seq: i?.seq ?? n,navigationSeq: n,@@ -46533,27 +46536,27 @@ function khe({ path: e }) {}), /* @__PURE__ */ (0, O.jsx)(Ohe, {}, `${e} ${o.current.seq}`);}function Ahe() {- let e = (0, D.useContext)($U);- return XU(() => {+ let e = (0, D.useContext)(eW);+ return ZU(() => {e?.follow?.ground();}), null;}function jhe() {- return /* @__PURE__ */ (0, O.jsx)(Ahe, {}, QU());+ return /* @__PURE__ */ (0, O.jsx)(Ahe, {}, $U());}//#endregion//#region src/react/router/router.tsx-var ZU = (0, D.createContext)(0), QU = () => (0, D.useContext)(ZU), $U = (0, D.createContext)(null);+var QU = (0, D.createContext)(0), $U = () => (0, D.useContext)(QU), eW = (0, D.createContext)(null);function Mhe({ children: e }) {- let [t, n] = (0, D.useState)(() => fH.navigation);- return (0, D.useLayoutEffect)(() => (n(fH.navigation), fH.listen((e) => {- (0, Et.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, O.jsx)(ZU.Provider, {+ let [t, n] = (0, D.useState)(() => pH.navigation);+ return (0, D.useLayoutEffect)(() => (n(pH.navigation), pH.listen((e) => {+ (0, Tt.flushSync)(() => n(e));+ })), []), /* @__PURE__ */ (0, O.jsx)(QU.Provider, {value: t.openEpoch,children: /* @__PURE__ */ (0, O.jsx)(Ppe, {location: t.location,navigationType: t.action,- navigator: fH,+ navigator: pH,children: e})});@@ -46566,12 +46569,12 @@ function Nhe({ target: e }) {}function Phe(e, t, n) {let r = new URL(e, window.location.href);- P6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);+ N6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}function Fhe() {- let e = (0, D.useContext)($U), [t, n] = (0, D.useState)($V), r = (0, D.useRef)(null);- (0, D.useLayoutEffect)(() => (n($V()), Jpe((e, t) => {- t ? (0, Et.flushSync)(() => n(e)) : n(e);+ let e = (0, D.useContext)(eW), [t, n] = (0, D.useState)(eH), r = (0, D.useRef)(null);+ (0, D.useLayoutEffect)(() => (n(eH()), Jpe((e, t) => {+ t ? (0, Tt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, D.useMemo)(() => (t) => {e && r.current && Phe(t, e, r.current);@@ -46597,79 +46600,79 @@ var Ihe = class extends D.Component {return this.state.failed ? null : this.props.children;}}, Lhe = (0, D.memo)(function({ entry: e, actions: t, go: n }) {- return J6(e.path) ? (0, Et.createPortal)(qke(e.path, e.props, t, n), e.host, String(e.revision)) : null;+ return q6(e.path) ? (0, Tt.createPortal)(Yke(e.path, e.props, t, n), e.host, String(e.revision)) : null;});function Rhe({ children: e }) {- let t = eV();- QU();- let n = hH(), r = EV(t.pathname) && !mH() ? kV(t.state) : null;+ let t = tV();+ $U();+ let n = gH(), r = DV(t.pathname) && !hH() ? AV(t.state) : null;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsxs)(cV, {+ /* @__PURE__ */ (0, O.jsxs)(lV, {location: n ?? t,children: [- Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sV, {+ Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(cV, {path: e,element: t.element}, e)),- Object.entries(Uke).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sV, {+ Object.entries(Gke).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(cV, {path: e,element: t.element}, e)),- Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sV, {+ Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(cV, {path: e,element: t.element}, e)),- Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sV, {+ Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(cV, {path: e,element: t.element}, e)),- Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sV, {+ Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(cV, {path: e,element: t.element}, e)),- q6.map((e) => /* @__PURE__ */ (0, O.jsx)(sV, {+ K6.map((e) => /* @__PURE__ */ (0, O.jsx)(cV, {path: e,- element: V6["/"].element+ element: B6["/"].element}, e)),- Object.entries(Wke).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(sV, {+ Object.entries(Kke).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(cV, {path: e,element: t.element}, e)),- AV.map((e) => /* @__PURE__ */ (0, O.jsx)(sV, {+ jV.map((e) => /* @__PURE__ */ (0, O.jsx)(cV, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, O.jsx)(jhe, {}) : V6["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, O.jsx)(jhe, {}) : B6["/"].element}, e)),- TV.map((e) => /* @__PURE__ */ (0, O.jsx)(sV, {+ EV.map((e) => /* @__PURE__ */ (0, O.jsx)(cV, {path: e,element: null}, e)),- /* @__PURE__ */ (0, O.jsx)(sV, {+ /* @__PURE__ */ (0, O.jsx)(cV, {path: "*",element: e})]}),- /* @__PURE__ */ (0, O.jsxs)(cV, {+ /* @__PURE__ */ (0, O.jsxs)(lV, {location: r ?? t,- children: [AV.map((e) => /* @__PURE__ */ (0, O.jsx)(sV, {+ children: [jV.map((e) => /* @__PURE__ */ (0, O.jsx)(cV, {path: e,element: /* @__PURE__ */ (0, O.jsx)(khe, { path: e })- }, e)), /* @__PURE__ */ (0, O.jsx)(sV, {+ }, e)), /* @__PURE__ */ (0, O.jsx)(cV, {path: "*",element: null})]}),- /* @__PURE__ */ (0, O.jsxs)(cV, { children: [TV.map((e) => /* @__PURE__ */ (0, O.jsx)(sV, {+ /* @__PURE__ */ (0, O.jsxs)(lV, { children: [EV.map((e) => /* @__PURE__ */ (0, O.jsx)(cV, {path: e,element: /* @__PURE__ */ (0, O.jsx)(The, {})- }, e)), /* @__PURE__ */ (0, O.jsx)(sV, {+ }, e)), /* @__PURE__ */ (0, O.jsx)(cV, {path: "*",element: null})] })] });}function zhe({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, O.jsxs)(_H, { children: [n, /* @__PURE__ */ (0, O.jsx)($U.Provider, {+ return /* @__PURE__ */ (0, O.jsxs)(vH, { children: [n, /* @__PURE__ */ (0, O.jsx)(eW.Provider, {value: t,children: /* @__PURE__ */ (0, O.jsxs)(Mhe, { children: [/* @__PURE__ */ (0, O.jsx)(Fhe, {}),@@ -46713,8 +46716,8 @@ function Hhe(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var eW = (0, D.createContext)("md");-function tW({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var tW = (0, D.createContext)("md");+function nW({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, D.useRef)(null), u = (0, D.useRef)(null), [d, f] = (0, D.useState)(!1);Vhe(d, () => f(!1), [l, u]);let p = Hhe(d, l);@@ -46723,23 +46726,23 @@ function tW({ className: e, triggerClassName: t, popoverClassName: n, size: r =...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: dF("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)(PI, {+ className: GF("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)(JI, {ref: l,- className: dF("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),+ className: GF("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),children: [/* @__PURE__ */ (0, O.jsx)(wue, {- className: dF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: GF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, O.jsx)(Ipe, { className: dF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, O.jsx)(bR, {+ }), /* @__PURE__ */ (0, O.jsx)(Ipe, { className: GF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, O.jsx)(xR, {ref: u,isNonModal: !0,offset: 4,- className: dF(zpe, pV, "p-2", n),+ className: GF(zpe, mV, "p-2", n),children: /* @__PURE__ */ (0, O.jsx)(Ule, {items: a,- className: dF(Bpe, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, O.jsx)(eW.Provider, {+ className: GF(Bpe, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, O.jsx)(tW.Provider, {value: r,children: i})@@ -46747,24 +46750,24 @@ function tW({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function nW({ className: e, children: t, ...n }) {- let r = (0, D.useContext)(eW);+function rW({ className: e, children: t, ...n }) {+ let r = (0, D.useContext)(tW);return /* @__PURE__ */ (0, O.jsx)(Kle, {...n,- className: (t) => dF(mV, 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) => GF(hV, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}//#endregion//#region src/react/catalog-folders/catalog-folders.ts-var rW = {+var iW = {category: "个人分类",creator: "创作者/账号",performer: "人物",seller: "卖家",studio: "厂牌"};-function iW(e, t = "", n = "") {+function aW(e, t = "", n = "") {let r = new URLSearchParams({...e,folder: t,@@ -46773,10 +46776,10 @@ function iW(e, t = "", n = "") {return {queryKey: ["catalog-folders", r.toString()],staleTime: 3e4,- queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)+ queryFn: ({ signal: e }) => V(`/api/folders?${r}`, e)};}-function aW(e, t) {+function oW(e, t) {let n = new URLSearchParams(e.search);for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);return e.pathname + (n.size ? `?${n}` : "");@@ -46784,7 +46787,7 @@ function aW(e, t) {//#endregion//#region src/react/catalog-folders/folder-rule-dialog.tsxfunction Uhe({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, D.useContext)($U), a = qH(), [o, s] = (0, D.useState)(t?.purpose || "category"), [c, l] = (0, D.useState)(t?.name || ""), [u, d] = (0, D.useState)(t?.recursive ?? !0), [f, p] = (0, D.useState)(t?.future ?? !1), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(!1), v = {+ let i = (0, D.useContext)(eW), a = JH(), [o, s] = (0, D.useState)(t?.purpose || "category"), [c, l] = (0, D.useState)(t?.name || ""), [u, d] = (0, D.useState)(t?.recursive ?? !0), [f, p] = (0, D.useState)(t?.future ?? !1), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -46793,27 +46796,27 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {}, y = () => {h(null), a.setError("");}, b = (e) => {- H.invalidateQueries({ queryKey: ["catalog-folders"] }), i?.receipt(e), r(), Zl({ pageOpens: Hl + 1 });- }, x = () => a.run("preview", (e) => V("/api/folders/preview", v, "POST", e), h), S = () => {- m && a.run("save", (e) => V("/api/folders/rule", {+ U.invalidateQueries({ queryKey: ["catalog-folders"] }), i?.receipt(e), r(), Zl({ pageOpens: Hl + 1 });+ }, x = () => a.run("preview", (e) => H("/api/folders/preview", v, "POST", e), h), S = () => {+ m && a.run("save", (e) => H("/api/folders/rule", {...v,action: "save",plan_version: m.plan_version,expected_revision: n}, "POST", e), (e) => b(`已保存目录用途${e.applied ? `,关联 ${e.applied} 项` : ""}`));}, C = async () => {- (0, Et.flushSync)(() => _(!0)), (await xc({+ (0, Tt.flushSync)(() => _(!0)), (await xc({title: "移除目录规则",body: `「${e.name}」的目录规则将被移除,并撤回这条规则建立的关联。`,confirmLabel: "移除目录规则",- onConfirm: () => V("/api/folders/rule", {+ onConfirm: () => H("/api/folders/rule", {folder: e.id,action: "remove",expected_revision: n})})).confirmed ? b("已移除目录规则") : _(!1);}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns(t) } }), t] }) : null;- return g ? null : /* @__PURE__ */ (0, O.jsx)(Xz, {+ return g ? null : /* @__PURE__ */ (0, O.jsx)(Zz, {isOpen: !0,onOpenChange: (e) => {!e && !w && r();@@ -46827,7 +46830,7 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, O.jsx)(RI, {+ children: [/* @__PURE__ */ (0, O.jsx)(XI, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -46835,7 +46838,7 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {className: "mt-1 text-body-2-regular text-text-secondary wrap-anywhere",children: e.path})]- }), /* @__PURE__ */ (0, O.jsx)(nB, {+ }), /* @__PURE__ */ (0, O.jsx)(rB, {label: "关闭目录用途",onPress: () => {w || r();@@ -46847,20 +46850,20 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, O.jsx)(Uz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, O.jsx)(tW, {+ children: [/* @__PURE__ */ (0, O.jsx)(Wz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, O.jsx)(nW, {"aria-label": "这个文件夹用于",selectedKey: o,isDisabled: w,onSelectionChange: (e) => {s(e), y();},- children: Object.entries(rW).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(nW, {+ children: Object.entries(iW).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(rW, {id: e,children: t}, e))})]}),- o === "category" ? null : /* @__PURE__ */ (0, O.jsx)(Yz, {+ o === "category" ? null : /* @__PURE__ */ (0, O.jsx)(Xz, {label: "关联名称",value: c,onChange: (e) => {@@ -46871,7 +46874,7 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {isDisabled: w,isRequired: !0}),- /* @__PURE__ */ (0, O.jsx)(bV, {+ /* @__PURE__ */ (0, O.jsx)(xV, {isSelected: u,isDisabled: w,onChange: (e) => {@@ -46879,7 +46882,7 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {},children: "应用到子文件夹"}),- /* @__PURE__ */ (0, O.jsx)(bV, {+ /* @__PURE__ */ (0, O.jsx)(xV, {isSelected: f,isDisabled: w,onChange: (e) => {@@ -46916,9 +46919,9 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {children: e.name}, e.id))}) : null,- m.conflicts.length ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ m.conflicts.length ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "warning",- extra: /* @__PURE__ */ (0, O.jsx)(IU, {+ extra: /* @__PURE__ */ (0, O.jsx)(LU, {summary: "查看归属冲突",children: /* @__PURE__ */ (0, O.jsx)("ul", {className: "mt-2 flex flex-col gap-2",@@ -46936,7 +46939,7 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {}) : null]}) : null,- a.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ a.error ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",children: a.error}) : null@@ -46951,7 +46954,7 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {onClick: () => {w || C();},- ...rB(a.busy === "remove"),+ ...iB(a.busy === "remove"),children: "移除规则"}) : null,/* @__PURE__ */ (0, O.jsx)(q, {@@ -46963,13 +46966,13 @@ function Uhe({ folder: e, rule: t, revision: n, close: r }) {}),m ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "primary",- ...rB(a.busy === "save"),+ ...iB(a.busy === "save"),onClick: S,children: T("save", "正在保存") || "保存目录用途"}) : /* @__PURE__ */ (0, O.jsx)(q, {variant: "primary",disabled: o !== "category" && !c.trim(),- ...rB(a.busy === "preview"),+ ...iB(a.busy === "preview"),onClick: () => {x();},@@ -47007,21 +47010,21 @@ function Whe(e, t) {}//#endregion//#region src/react/catalog-folders/catalog-folders-page.tsx-function oW() {- return $B() ? /* @__PURE__ */ (0, O.jsx)(Ghe, {}) : null;+function sW() {+ return eV() ? /* @__PURE__ */ (0, O.jsx)(Ghe, {}) : null;}function Ghe() {- let e = eV(), t = (0, D.useContext)($U);- if (!Qt(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;+ let e = tV(), t = (0, D.useContext)(eW);+ if (!Zt(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");- return /* @__PURE__ */ (0, O.jsx)(YF, {+ return /* @__PURE__ */ (0, O.jsx)(gI, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,- icon: jz,- onClick: () => t?.navigate(aW(e, r ? {+ icon: Mz,+ onClick: () => t?.navigate(oW(e, r ? {browse: null,folder: null,folder_recursive: null@@ -47029,13 +47032,13 @@ function Ghe() {});}function Khe({ children: e, enabled: t }) {- return $B() ? /* @__PURE__ */ (0, O.jsx)(qhe, {+ return eV() ? /* @__PURE__ */ (0, O.jsx)(qhe, {enabled: t,children: e}) : /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: e });}function qhe({ children: e, enabled: t }) {- let [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)(null), o = eV(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));+ let [n, r] = (0, D.useState)(null), [i, a] = (0, D.useState)(null), o = tV(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, O.jsxs)("div", {className: "entity-folder-workspace","data-folder-workspace": "",@@ -47054,7 +47057,7 @@ function qhe({ children: e, enabled: t }) {hidden: !c}), e]}),- n && i ? /* @__PURE__ */ (0, O.jsx)(sW, {+ n && i ? /* @__PURE__ */ (0, O.jsx)(cW, {treeTarget: n,headerTarget: i,enabled: t@@ -47062,14 +47065,14 @@ function qhe({ children: e, enabled: t }) {]});}-function sW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {- let r = eV(), i = (0, D.useContext)($U), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {+function cW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {+ let r = tV(), i = (0, D.useContext)(eW), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};Whe(o, e);- let c = a.get("folder") || "", l = Ct({- ...iW(s, c),+ let c = a.get("folder") || "", l = St({+ ...aW(s, c),enabled: o}), [u, d] = (0, D.useState)(!1), [f, p] = (0, D.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");if ((0, D.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {@@ -47083,11 +47086,11 @@ function sW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {d(!1), p(!1);}, [c, o]), !o || !m || !h || !i) return null;let g = (e) => {- d(!1), i.navigate(aW(r, {+ d(!1), i.navigate(oW(r, {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, O.jsx)(lW, {+ }, _ = l.data, v = /* @__PURE__ */ (0, O.jsx)(uW, {scope: s,selected: c,current: _,@@ -47095,8 +47098,8 @@ function sW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {reportedError: u ? null : l.error});return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- (0, Et.createPortal)(v, m),- (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsxs)("div", {+ (0, Tt.createPortal)(v, m),+ (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsxs)("div", {className: "catalog-folder-heading",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -47104,7 +47107,7 @@ function sW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, O.jsx)(YF, {+ children: /* @__PURE__ */ (0, O.jsx)(gI, {"aria-label": "打开文件夹目录",icon: ufe,size: "small",@@ -47113,12 +47116,12 @@ function sW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}),/* @__PURE__ */ (0, O.jsxs)(Rpe, {"aria-label": "文件夹路径",- children: [/* @__PURE__ */ (0, O.jsx)(dV, {+ children: [/* @__PURE__ */ (0, O.jsx)(fV, {current: !c,onClick: () => g(""),- icon: jz,+ icon: Mz,children: "全部文件夹"- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, O.jsx)(dV, {+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, O.jsx)(fV, {current: t === _.ancestors.length - 1,onClick: () => g(e.id),children: /* @__PURE__ */ (0, O.jsx)("span", {@@ -47128,7 +47131,7 @@ function sW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, O.jsx)(YF, {+ _?.selected ? /* @__PURE__ */ (0, O.jsx)(gI, {"aria-label": "设置目录用途",icon: tfe,size: "small",@@ -47136,7 +47139,7 @@ function sW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null]}),- l.error && !u ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ l.error && !u ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -47146,9 +47149,9 @@ function sW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {},children: "立即重试"}),- children: jn(l.error)+ children: An(l.error)}) : null,- _?.conflicts?.length ? /* @__PURE__ */ (0, O.jsxs)(Qz, {+ _?.conflicts?.length ? /* @__PURE__ */ (0, O.jsxs)($z, {tone: "warning",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -47160,14 +47163,14 @@ function sW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null,_?.selected ? /* @__PURE__ */ (0, O.jsxs)("div", {className: "folder-scope-row",- children: [/* @__PURE__ */ (0, O.jsx)(bV, {+ children: [/* @__PURE__ */ (0, O.jsx)(xV, {size: "sm",isSelected: a.get("folder_recursive") !== "0",- onChange: (e) => i.navigate(aW(r, { folder_recursive: e ? null : "0" })),+ onChange: (e) => i.navigate(oW(r, { folder_recursive: e ? null : "0" })),children: "包含子文件夹"}), /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",- children: _.rule ? `${rW[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"+ children: _.rule ? `${iW[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"})]}) : null,l.isPending ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -47177,13 +47180,13 @@ function sW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, O.jsx)(cW, {+ _?.children.length ? /* @__PURE__ */ (0, O.jsx)(lW, {nodes: _.children,go: g}, c) : null]}), h),- /* @__PURE__ */ (0, O.jsxs)(Xz, {+ /* @__PURE__ */ (0, O.jsxs)(Zz, {isOpen: u,onOpenChange: d,width: "form",@@ -47193,7 +47196,7 @@ function sW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, O.jsx)("h2", {className: "text-title-2-medium",children: "文件夹"- }), /* @__PURE__ */ (0, O.jsx)(nB, {+ }), /* @__PURE__ */ (0, O.jsx)(rB, {label: "关闭文件夹目录",onPress: () => d(!1)})]@@ -47210,7 +47213,7 @@ function sW({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function cW({ nodes: e, go: t }) {+function lW({ nodes: e, go: t }) {let [n, r] = (0, D.useState)(!1), i = (0, D.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -47221,7 +47224,7 @@ function cW({ nodes: e, go: t }) {children: a.map((e) => /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: jz,+ leadingIcon: Mz,onClick: () => t(e.id),children: /* @__PURE__ */ (0, O.jsx)("span", {className: "truncate",@@ -47238,28 +47241,28 @@ function cW({ nodes: e, go: t }) {}) : null]});}-function lW({ scope: e, selected: t, current: n, go: r, reportedError: i }) {- let a = Ct(iW(e)), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, D.useState)(""), u = (0, D.useDeferredValue)(c), d = Ct({- ...iW(e, "", u),+function uW({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+ let a = St(aW(e)), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, D.useState)(""), u = (0, D.useDeferredValue)(c), d = St({+ ...aW(e, "", u),enabled: !!u.trim()- }), f = xV();+ }), f = SV();(0, D.useEffect)(() => {n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));}, [n?.ancestors]);- let p = [...o].map(String), m = xt({ queries: p.map((t) => iW(e, t)) }), h = /* @__PURE__ */ new Map();+ let p = [...o].map(String), m = bt({ queries: p.map((t) => aW(e, t)) }), h = /* @__PURE__ */ new Map();m.forEach((e, t) => {e.data && h.set(p[t], e.data.children);}), n?.selected && h.set(n.selected.id, n.children);let g = (e) => {let t = h.get(e.id);- return /* @__PURE__ */ (0, O.jsx)(gV, {+ return /* @__PURE__ */ (0, O.jsx)(_V, {id: e.id,label: e.name,- icon: jz,- expandedIcon: Mz,+ icon: Mz,+ expandedIcon: Nz,iconClassName: "size-(--icon-inline)",trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, O.jsx)(gV, {+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, O.jsx)(_V, {id: `${e.id}:loading`,label: "正在读取文件夹",isDisabled: !0@@ -47275,15 +47278,15 @@ function lW({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-label": "文件夹导航",className: "catalog-folder-navigation flex min-h-0 min-w-0 flex-col gap-3",children: [- /* @__PURE__ */ (0, O.jsx)(Yz, {+ /* @__PURE__ */ (0, O.jsx)(Xz, {"aria-label": "查找文件夹",placeholder: "查找文件夹",- leadingIcon: Bz,+ leadingIcon: Vz,value: c,onChange: l,size: "small"}),- v ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ v ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -47295,7 +47298,7 @@ function lW({ scope: e, selected: t, current: n, go: r, reportedError: i }) {},children: "立即重试"}),- children: jn(v)+ children: An(v)}) : null,/* @__PURE__ */ (0, O.jsx)("div", {className: "folder-tree-frame relative flex min-h-0 flex-col overflow-hidden rounded-3xl",@@ -47318,20 +47321,20 @@ function lW({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-busy": "true",className: "h-8 skeleton-sheen","aria-label": "正在查找文件夹"- }) : d.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ }) : d.error ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",- children: jn(d.error)+ children: An(d.error)}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: jz,+ leadingIcon: Mz,onClick: () => {l(""), r(e.id);},children: e.name- }, e.id)) : /* @__PURE__ */ (0, O.jsx)($z, {+ }, e.id)) : /* @__PURE__ */ (0, O.jsx)(eB, {size: "compact",- icon: Bz,+ icon: Vz,title: "没有匹配的文件夹",actions: /* @__PURE__ */ (0, O.jsx)(q, {size: "small",@@ -47348,11 +47351,11 @@ function lW({ scope: e, selected: t, current: n, go: r, reportedError: i }) {selectedKeys: new Set(t ? [t] : []),onSelectionChange: _,children: a.data?.roots.map(g)- }) : /* @__PURE__ */ (0, O.jsx)($z, {+ }) : /* @__PURE__ */ (0, O.jsx)(eB, {size: "compact",- icon: jz,+ icon: Mz,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, O.jsx)(dI, {+ actions: /* @__PURE__ */ (0, O.jsx)(OI, {size: "small",href: "/settings/library",children: "添加媒体"@@ -47366,49 +47369,49 @@ function lW({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}//#endregion//#region src/react/components/segmented.tsx-function uW(e) {- let t = QF(zH("selection"));- return /* @__PURE__ */ (0, O.jsx)(xz, {+function dW(e) {+ let t = yI(BH("selection"));+ return /* @__PURE__ */ (0, O.jsx)(Sz, {...e,ref: t});}-function dW(e) {- let t = QF(zH("selection"));- return /* @__PURE__ */ (0, O.jsx)(BR, {+function fW(e) {+ let t = yI(BH("selection"));+ return /* @__PURE__ */ (0, O.jsx)(VR, {...e,ref: t});}-var fW = "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", pW = "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", mW = "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", hW = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", gW = "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 pW = "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", mW = "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", hW = "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", gW = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", _W = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";//#endregion//#region src/react/catalog-grid/catalog-view-toggle.tsx-function _W() {- let e = DM();- return /* @__PURE__ */ (0, O.jsxs)(BR, {+function vW() {+ let e = uM();+ return /* @__PURE__ */ (0, O.jsxs)(VR, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: TM,+ onChange: Ese,"data-entity-layout": "",- className: hW,- children: [/* @__PURE__ */ (0, O.jsx)(VR, {+ className: gW,+ children: [/* @__PURE__ */ (0, O.jsx)(HR, {value: "cards","aria-label": "卡片",- className: gW,+ className: _W,"data-glass-segment": "",children: /* @__PURE__ */ (0, O.jsx)("span", {title: "卡片",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, O.jsx)(Fz, {+ children: /* @__PURE__ */ (0, O.jsx)(Iz, {"aria-hidden": "true",className: "size-4"})})- }), /* @__PURE__ */ (0, O.jsx)(VR, {+ }), /* @__PURE__ */ (0, O.jsx)(HR, {value: "list","aria-label": "列表",- className: gW,+ className: _W,"data-glass-segment": "",children: /* @__PURE__ */ (0, O.jsx)("span", {title: "列表",@@ -47423,8 +47426,8 @@ function _W() {}//#endregion//#region src/react/components/icon-swap.tsx-function vW({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = mx();+function yW({ a: e, b: t, state: n, className: r }) {+ let { isFocusVisible: i } = Jb();return /* @__PURE__ */ (0, O.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -47440,8 +47443,8 @@ function vW({ a: e, b: t, state: n, className: r }) {})]});}-function yW({ className: e }) {- return /* @__PURE__ */ (0, O.jsx)(vW, {+function bW({ className: e }) {+ return /* @__PURE__ */ (0, O.jsx)(yW, {a: Pde,b: Nde,className: e@@ -47449,106 +47452,106 @@ function yW({ className: e }) {}//#endregion//#region src/react/follow-feed/follow-marks.ts-var bW = (e) => typeof e == "string" ? e : "", xW = (e) => e.aliases;-function SW(e, t = "") {- let n = gi(e);- return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";-}+var xW = (e) => typeof e == "string" ? e : "", SW = (e) => e.aliases;function CW(e, t = "") {- let n = z(kr(t || e)), r = gi(e);+ let n = hi(e);+ return n ? `<img data-follow-site-icon="" src="${n}" alt="${B(t)}"${t ? ` title="${B(t)}"` : ""} loading="lazy" data-drop="self">` : "";+}+function wW(e, t = "") {+ let n = B(Or(t || e)), r = hi(e);return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;}-var wW = (e) => bW(e.title).trim() || "未命名内容", TW = (e, t) => Or(e, xW(t));-function EW(e) {+var TW = (e) => xW(e.title).trim() || "未命名内容", EW = (e, t) => Dr(e, SW(t));+function DW(e) {let t = e.filter((e) => e.entity_id && e.entity_name);if (new Set(t.map((e) => e.entity_id)).size !== 1) return "";- let n = t[0], r = bW(n.entity_name);- return Mt("creator", r, n.entity_id), r;+ let n = t[0], r = xW(n.entity_name);+ return jt("creator", r, n.entity_id), r;}-function DW(e, t) {- let { src: n, fallback: r } = Ar(e), i = kr(t);- if (!n) return `<span class="favatar none" title="没有可用头像">${z(i)}</span>`;- let a = r ? ` data-fallbacks="${z(r)}"` : "";- return `<img class="favatar" src="${z(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${z(i)}" data-drop-class="favatar none">`;+function OW(e, t) {+ let { src: n, fallback: r } = kr(e), i = Or(t);+ if (!n) return `<span class="favatar none" title="没有可用头像">${B(i)}</span>`;+ let a = r ? ` data-fallbacks="${B(r)}"` : "";+ return `<img class="favatar" src="${B(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${B(i)}" data-drop-class="favatar none">`;}-function OW(e, t, n) {- let r = xW(n), i = e.credit, a = i?.poster;+function kW(e, t, n) {+ let r = SW(n), i = e.credit, a = i?.poster;if (!a) {- let n = Or(t, r);+ let n = Dr(t, r);return {- author: n || bW(e.author) || bW(e.source_label) || "创作者未取得",- avatar: DW(t, n),+ author: n || xW(e.author) || xW(e.source_label) || "创作者未取得",+ avatar: OW(t, n),credited: "",- entityName: EW(t)+ entityName: DW(t)};}- let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && Or(c, r) || a;+ let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && Dr(c, r) || a;return {author: l,- avatar: DW(c, l),+ avatar: OW(c, l),credited: i.credited || "",- entityName: EW(c)+ entityName: DW(c)};}-function kW(e, t = e.primary) {+function AW(e, t = e.primary) {let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));- let i = bW(e.primary.version);- i && n.push(r("version", z(i)));- let a = bW(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let i = xW(e.primary.version);+ i && n.push(r("version", B(i)));+ let a = xW(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function AW(e, t = e.primary) {+function jW(e, t = e.primary) {let n = new Map([e.primary,...e.variants,...e.duplicates].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));if (!n.size) return "";- let r = [...n].map(([e, t]) => SW(e, t) || `<span>${z(t)}</span>`).join("");- return `<span data-follow-seealso="" title="另见 ${z([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;+ let r = [...n].map(([e, t]) => CW(e, t) || `<span>${B(t)}</span>`).join("");+ return `<span data-follow-seealso="" title="另见 ${B([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;}-function jW(e, t) {- let n = bW(e.media_error);+function MW(e, t) {+ let n = xW(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var MW = 864e5, NW = (e, t) => {+var NW = 864e5, PW = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > MW;+ return Number.isFinite(n) && n - t > NW;};-function PW(e, t) {- let n = bW(e.published_at);+function FW(e, t) {+ let n = xW(e.published_at);if (!n) return null;- let r = e.published_precision === "approximate", i = Gn(n);+ let r = e.published_precision === "approximate", i = Wn(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: NW(n, t) ? " · 晚于现在" : ""+ suffix: PW(n, t) ? " · 晚于现在" : ""};}-function FW(e, t = Date.now()) {- let n = PW(e, t);+function IW(e, t = Date.now()) {+ let n = FW(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function IW(e, t = Date.now()) {- let n = PW(e, t);+function LW(e, t = Date.now()) {+ let n = FW(e, t);if (!n) return "时间未取得";if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);return `${n.prefix}${r}${n.suffix}`;}-var LW = /* @__PURE__ */ new Set(), RW = [], zW = null;-function BW() {- if (zW = null, !RW.length) return;- let e = RW.splice(0, 200);- R("/api/follow/image-dims", {+var RW = /* @__PURE__ */ new Set(), zW = [], BW = null;+function VW() {+ if (BW = null, !zW.length) return;+ let e = zW.splice(0, 200);+ z("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), RW.length && (zW = setTimeout(BW, 800));+ }).catch(() => {}), zW.length && (BW = setTimeout(VW, 800));}-function VW(e, t, n, r) {+function HW(e, t, n, r) {let i = `${e}:${t ?? ""}`;- LW.has(i) || (LW.add(i), RW.push(t === null ? {+ RW.has(i) || (RW.add(i), zW.push(t === null ? {item: e,width: n,height: r@@ -47557,26 +47560,26 @@ function VW(e, t, n, r) {width: n,height: r,media: t- }), zW ||= setTimeout(BW, 800));+ }), BW ||= setTimeout(VW, 800));}//#endregion//#region src/react/entity-filter/entity-filter.ts-var HW = (e) => e === "videos", UW = () => /* @__PURE__ */ (0, O.jsx)("span", {+var UW = (e) => e === "videos", WW = () => /* @__PURE__ */ (0, O.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), WW = tB("shuffle"), GW = tB("arrow-up"), KW = tB("arrow-down");-function qW(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = HW(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), GW = nB("shuffle"), KW = nB("arrow-up"), qW = nB("arrow-down");+function JW(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = UW(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({k: e,label: t- })) : i, m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = lI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = lI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, D.useRef)(null), w = (0, D.useRef)(null), T = u?.mediaCounts ? u : null, E = lI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);+ })) : i, m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = (0, D.useRef)(null), v = (0, D.useRef)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = EI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = EI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, D.useRef)(null), w = (0, D.useRef)(null), T = u?.mediaCounts ? u : null, E = EI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, D.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(QW, {+ }, [c]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)($W, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, O.jsx)(nI, {+ }), /* @__PURE__ */ (0, O.jsx)(xI, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -47605,19 +47608,19 @@ function qW(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(ZW, {+ n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(QW, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, O.jsx)(UW, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(YW, {+ }), d ? /* @__PURE__ */ (0, O.jsx)(WW, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(XW, {head: T,row: w,glide: E,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, O.jsx)(UW, {})] }) : null,+ }), /* @__PURE__ */ (0, O.jsx)(WW, {})] }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -47638,11 +47641,11 @@ function qW(e) {f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));},children: e.label- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, O.jsx)(UW, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, O.jsx)(WW, {}) : null]}), /* @__PURE__ */ (0, O.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, O.jsxs)(iI, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, O.jsxs)(SI, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47651,17 +47654,17 @@ function qW(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, O.jsx)(XW, {+ }, e.k)) : u ? /* @__PURE__ */ (0, O.jsx)(ZW, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, O.jsx)($W, { ...e })+ bottom: /* @__PURE__ */ (0, O.jsx)(eG, { ...e })})] });}-var JW = [[+var YW = [["videos","视频","play",@@ -47672,7 +47675,7 @@ var JW = [["pics","image"]];-function YW({ head: e, row: t, glide: n, onMedia: r }) {+function XW({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {ref: t,role: "group",@@ -47680,7 +47683,7 @@ function YW({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: JW.map(([t, i, a, o]) => {+ children: YW.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -47693,12 +47696,12 @@ function YW({ head: e, row: t, glide: n, onMedia: r }) {onClick: () => {e.media !== t && r(t);},- dangerouslySetInnerHTML: { __html: L(a) }+ dangerouslySetInnerHTML: { __html: R(a) }}, t);})});}-function XW({ head: e, actions: t }) {+function ZW({ head: e, actions: t }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -47708,10 +47711,10 @@ function XW({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: SW(n) }+ dangerouslySetInnerHTML: { __html: CW(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, O.jsx)(UW, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, O.jsxs)(iI, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, O.jsx)(WW, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, O.jsxs)(SI, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -47724,7 +47727,7 @@ function XW({ head: e, actions: t }) {}, e.k))] });}-function ZW({ keys: e, view: t, row: n, glide: r, onView: i }) {+function QW({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -47767,12 +47770,12 @@ function ZW({ keys: e, view: t, row: n, glide: r, onView: i }) {title: c,onPointerEnter: r.hover,onClick: () => i(e),- dangerouslySetInnerHTML: { __html: L(o) }+ dangerouslySetInnerHTML: { __html: R(o) }}, e);})});}-function QW({ items: e, hidden: t, actions: n }) {+function $W({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -47792,7 +47795,7 @@ function QW({ items: e, hidden: t, actions: n }) {})] }) : null});}-function $W(e) {+function eG(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, O.jsxs)("button", {@@ -47801,30 +47804,30 @@ function $W(e) {onClick: o.photoBack,children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: L("chevron-left") }+ dangerouslySetInnerHTML: { __html: R("chevron-left") }}), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, O.jsx)(eG, {+ /* @__PURE__ */ (0, O.jsx)(tG, {text: n,busy: r}),- /* @__PURE__ */ (0, O.jsx)(gB, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, O.jsx)(rG, {+ /* @__PURE__ */ (0, O.jsx)(_B, { currentHref: () => location.pathname + location.search }),+ t === "videos" && i ? /* @__PURE__ */ (0, O.jsx)(iG, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, O.jsx)(oG, {+ t === "photos" && a ? /* @__PURE__ */ (0, O.jsx)(sG, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, O.jsx)(aG, {+ t === "online" && e.online ? /* @__PURE__ */ (0, O.jsx)(oG, {head: e.online,actions: o}) : null] });}-function eG({ text: e, busy: t }) {+function tG({ text: e, busy: t }) {return /* @__PURE__ */ (0, O.jsx)("h3", {"data-entity-readout": "",children: t ? /* @__PURE__ */ (0, O.jsx)("span", {@@ -47834,22 +47837,22 @@ function eG({ text: e, busy: t }) {}) : e});}-function tG({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, O.jsx)(BR, {+function nG({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, O.jsx)(VR, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: hW,+ className: gW,children: r.map(([e, t, n]) => {- let r = tB(n);- return /* @__PURE__ */ (0, O.jsx)(VR, {+ let r = nB(n);+ return /* @__PURE__ */ (0, O.jsx)(HR, {value: e,"aria-label": t,"data-glass-segment": "",- className: gW,+ className: _W,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -47859,38 +47862,38 @@ function tG({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function nG({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, O.jsx)(eI, {+function rG({ onPress: e, busy: t = !1 }) {+ return /* @__PURE__ */ (0, O.jsx)(bI, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: WW,+ icon: GW,onPress: e});}-function rG({ head: e, actions: t }) {- let n = DM();+function iG({ head: e, actions: t }) {+ let n = uM();return /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(nG, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, O.jsx)(tG, {+ /* @__PURE__ */ (0, O.jsx)(rG, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, O.jsx)(nG, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, O.jsx)(_W, {}),- /* @__PURE__ */ (0, O.jsx)(oW, {}),- /* @__PURE__ */ (0, O.jsx)(iG, {+ /* @__PURE__ */ (0, O.jsx)(vW, {}),+ /* @__PURE__ */ (0, O.jsx)(sW, {}),+ /* @__PURE__ */ (0, O.jsx)(aG, {sorts: e.sorts,onSort: t.setSort})]});}-function iG({ sorts: e, onSort: t }) {+function aG({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -47898,20 +47901,20 @@ function iG({ sorts: e, onSort: t }) {"aria-pressed": e.pressed,"aria-label": e.ariaLabel || void 0,onClick: () => t(e.key),- children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, O.jsx)(vW, {- a: GW,- b: KW,+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, O.jsx)(yW, {+ a: KW,+ b: qW,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function aG({ head: e, actions: t }) {+function oG({ head: e, actions: t }) {return /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(nG, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(tG, {+ /* @__PURE__ */ (0, O.jsx)(rG, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(nG, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -47928,30 +47931,30 @@ function aG({ head: e, actions: t }) {"aria-hidden": "true"}) : null, /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: L("captions-off") }+ dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, O.jsx)(iG, {+ /* @__PURE__ */ (0, O.jsx)(aG, {sorts: e.sorts,onSort: t.onlineSort})]});}-function oG({ head: e, actions: t, helpers: n }) {+function sG({ head: e, actions: t, helpers: n }) {let [r, i] = (0, D.useState)(!1), a = (0, D.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, D.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, O.jsx)(nG, {+ e.shuffle ? /* @__PURE__ */ (0, O.jsx)(rG, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, O.jsx)(tG, {+ /* @__PURE__ */ (0, O.jsx)(nG, {label: "图片布局",value: e.layout,options: e.layouts,@@ -47967,31 +47970,31 @@ function oG({ head: e, actions: t, helpers: n }) {}//#endregion//#region src/react/catalog-filter/catalog-filter-page.tsx-var sG = "";-function cG(e) {- let t = !e.tiers, n = gG(e.comboHost);+var cG = "";+function lG(e) {+ let t = !e.tiers, n = _G(e.comboHost);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(QW, {+ n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)($W, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, O.jsx)(dG, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, O.jsx)(lG, { ...e })+ /* @__PURE__ */ (0, O.jsx)(fG, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, O.jsx)(uG, { ...e })]});}-function lG(e) {- let { actions: t, helpers: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = lI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function uG(e) {+ let { actions: t, helpers: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = EI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, D.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = _G(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = vG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, D.useLayoutEffect)(() => {let e = a.current?.closest("[data-catalog-frame]");if (!e) return;@@ -48008,7 +48011,7 @@ function lG(e) {e.sorts]), (0, D.useLayoutEffect)(() => {ms(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, O.jsx)(nI, {+ }, [f]), /* @__PURE__ */ (0, O.jsx)(xI, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -48052,17 +48055,17 @@ function lG(e) {}), /* @__PURE__ */ (0, O.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, O.jsx)(pG, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, O.jsx)(uG, {+ children: [e.empty || d ? /* @__PURE__ */ (0, O.jsx)(mG, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, O.jsx)(dG, {tag: e,onPress: t.toggleTag}, e.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, O.jsx)(mG, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, O.jsx)(hG, { ...e })});}-function uG({ tag: e, onPress: t }) {- return /* @__PURE__ */ (0, O.jsxs)(iI, {+function dG({ tag: e, onPress: t }) {+ return /* @__PURE__ */ (0, O.jsxs)(SI, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -48073,12 +48076,12 @@ function uG({ tag: e, onPress: t }) {})]});}-function dG(e) {+function fG(e) {let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = e.empty || !e.tiers, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useCallback)((e) => () => t.moreTops(e), [t]), c = _G(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = _G(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;+ }, i = e.empty || !e.tiers, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useCallback)((e) => () => t.moreTops(e), [t]), c = vG(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = vG(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;return (0, D.useEffect)(() => {n.wireDrag(a.current), n.wireDrag(o.current);}, [@@ -48091,7 +48094,7 @@ function dG(e) {children: [u ? /* @__PURE__ */ (0, O.jsx)("div", {ref: a,"data-catalog-tier": "performers",- children: i ? /* @__PURE__ */ (0, O.jsx)(pG, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, O.jsx)(mG, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -48108,18 +48111,18 @@ function dG(e) {}) : null, d ? /* @__PURE__ */ (0, O.jsx)("div", {ref: o,"data-catalog-tier": "studios",- children: i ? /* @__PURE__ */ (0, O.jsx)(pG, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, O.jsx)(mG, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": e.name,onClick: () => t.openEntity("studio", e.name),- children: [/* @__PURE__ */ (0, O.jsx)(fG, { studio: e }), e.name]+ children: [/* @__PURE__ */ (0, O.jsx)(pG, { studio: e }), e.name]}, e.name))}) : null]});}-function fG({ studio: e }) {+function pG({ studio: e }) {let [t, n] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("span", {"data-tier-mark": "",@@ -48137,7 +48140,7 @@ function fG({ studio: e }) {}) : e.fallback});}-function pG({ kind: e }) {+function mG({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-catalog-placeholder": "tag",@@ -48153,37 +48156,37 @@ function pG({ kind: e }) {children: [/* @__PURE__ */ (0, O.jsx)("span", {}), /* @__PURE__ */ (0, O.jsx)("span", { children: "\xA0" })]}, t)) });}-function mG({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = DM(), [o, s] = (0, D.useState)(!1);+function hG({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = uM(), [o, s] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, O.jsx)(hG, { count: e }), /* @__PURE__ */ (0, O.jsx)(gB, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, O.jsx)(gG, { count: e }), /* @__PURE__ */ (0, O.jsx)(_B, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(nG, {+ /* @__PURE__ */ (0, O.jsx)(rG, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, O.jsx)(tG, {+ n && a === "cards" ? /* @__PURE__ */ (0, O.jsx)(nG, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, O.jsx)(_W, {}),- /* @__PURE__ */ (0, O.jsx)(oW, {}),- /* @__PURE__ */ (0, O.jsx)(iG, {+ /* @__PURE__ */ (0, O.jsx)(vW, {}),+ /* @__PURE__ */ (0, O.jsx)(sW, {}),+ /* @__PURE__ */ (0, O.jsx)(aG, {sorts: r,onSort: i.setSort})]})] });}-function hG({ count: e }) {+function gG({ count: e }) {let t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";return (0, D.useLayoutEffect)(() => {if (e === !1) return;@@ -48192,7 +48195,7 @@ function hG({ count: e }) {return;}let i = t.current;- i && (sG && i.dataset.popCount === void 0 && (i.dataset.popCount = sG), sG = r, ds(i, r));+ i && (cG && i.dataset.popCount === void 0 && (i.dataset.popCount = cG), cG = r, ds(i, r));}, [e, r]), e === !1 ? /* @__PURE__ */ (0, O.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, O.jsx)("span", {ref: t,"data-catalog-readout": "",@@ -48208,7 +48211,7 @@ function hG({ count: e }) {})}, "skeleton");}-function gG(e) {+function _G(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!e) return;@@ -48218,7 +48221,7 @@ function gG(e) {};}, [e]), t;}-function _G(e, t, n, r, i) {+function vG(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -48262,8 +48265,8 @@ function _G(e, t, n, r, i) {}//#endregion//#region src/react/components/grid-reveal.tsx-var vG = "100% 0px";-function yG(e, t) {+var yG = "100% 0px";+function bG(e, t) {let [n, r] = (0, D.useState)(e ? "skeleton" : "none"), [i] = (0, D.useState)(() => e ? t() : ""), a = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {a.current && Ts(a.current);@@ -48289,7 +48292,7 @@ function yG(e, t) {fading: n === "fade"};}-function bG({ message: e, onRetry: t }) {+function xG({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -48303,7 +48306,7 @@ function bG({ message: e, onRetry: t }) {}//#endregion//#region src/react/components/art-slot.tsx-function xG({ artwork: e, identity: t = e.html, relayout: n }) {+function SG({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, D.useState)({identity: t,artwork: e@@ -48323,64 +48326,64 @@ function xG({ artwork: e, identity: t = e.html, relayout: n }) {}//#endregion//#region src/library-catalog.ts-var SG = "peach.library-colors.v1", CG = null, wG = /* @__PURE__ */ new Set();-function TG() {+var CG = "peach.library-colors.v1", wG = null, TG = /* @__PURE__ */ new Set();+function EG() {try {- let e = JSON.parse(localStorage.getItem(SG) || "{}");+ let e = JSON.parse(localStorage.getItem(CG) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function EG(e) {- CG = e;+function DG(e) {+ wG = e;try {- localStorage.setItem(SG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(CG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- wG.forEach((t) => t(e));+ TG.forEach((t) => t(e));}-function DG() {- return CG;+function OG() {+ return wG;}-function OG(e) {- return wG.add(e), () => {- wG.delete(e);+function kG(e) {+ return TG.add(e), () => {+ TG.delete(e);};}//#endregion//#region src/react/components/library-tint.ts-var kG = /* @__PURE__ */ new Map(), AG = !1, jG = /* @__PURE__ */ new Set();-function MG(e) {+var AG = /* @__PURE__ */ new Map(), jG = !1, MG = /* @__PURE__ */ new Set();+function NG(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 NG(e) {- kG = e;+function PG(e) {+ AG = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...kG.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${MG(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...AG.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${NG(e.color)}}`).join("\n");}-function PG(e) {- NG(e), jG.forEach((e) => e());+function FG(e) {+ PG(e), MG.forEach((e) => e());}-var FG = (e) => new Map(e.map((e) => [e.id, {+var IG = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,icon: No[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), IG = !1;-function LG() {- if (IG) return;- IG = !0, OG((e) => PG(FG(e)));- let e = DG();+}])), LG = !1;+function RG() {+ if (LG) return;+ LG = !0, kG((e) => FG(IG(e)));+ let e = OG();if (e) {- NG(FG(e));+ PG(IG(e));return;}- let t = Object.entries(TG()).filter(([, e]) => e);- t.length && NG(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(EG()).filter(([, e]) => e);+ t.length && PG(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -48388,35 +48391,35 @@ function LG() {color: t}])));}-function RG() {- AG || DG() || (AG = !0, B("/api/libraries").then((e) => EG(e.libraries || [])).catch(() => {- AG = !1;+function zG() {+ jG || OG() || (jG = !0, V("/api/libraries").then((e) => DG(e.libraries || [])).catch(() => {+ jG = !1;}));}-function zG(e, t) {- let n = kG.get(e) ?? {+function BG(e, t) {+ let n = AG.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- PG(new Map([...kG, [e, {+ FG(new Map([...AG, [e, {...n,color: t}]]));}-function BG(e) {- return jG.add(e), () => {- jG.delete(e);+function VG(e) {+ return MG.add(e), () => {+ MG.delete(e);};}-function VG({ names: e = !1 } = {}) {- return LG(), e && RG(), (0, D.useSyncExternalStore)(BG, () => kG, () => kG);+function HG({ names: e = !1 } = {}) {+ return RG(), e && zG(), (0, D.useSyncExternalStore)(VG, () => AG, () => AG);}//#endregion//#region src/react/components/row-click.ts-var HG = [+var UG = ["a","button","input",@@ -48429,46 +48432,46 @@ var HG = ["[role=\"link\"]","[role=\"menu\"]"].join(",");-function UG(e, t) {+function WG(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(HG);+ let r = n.closest(UG);return !r || !t.contains(r) || r === t;}-function WG(e) {+function GG(e) {e.shiftKey && e.preventDefault();}//#endregion//#region src/react/components/media-card.tsx-var GG = 9 / 16, KG = "未命名视频";-function qG({ name: e }) {+var KG = 9 / 16, qG = "未命名视频";+function JG({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-var JG = {+var YG = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, YG = {+}, XG = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function XG({ item: e }) {+function ZG({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && YG[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && XG[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, O.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function ZG({ item: e, actions: t }) {+function QG({ item: e, actions: t }) {let [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48487,11 +48490,11 @@ function ZG({ item: e, actions: t }) {children: i}) : null] });}-function QG(e, t, n) {- return t === "short" ? GG : NA(n);+function $G(e, t, n) {+ return t === "short" ? KG : EA(n);}-function $G(e) {- let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Xa(e), s = i[0] || "", c = Ia(e);+function eK(e) {+ let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Xa(e), s = i[0] || "", c = Fa(e);return {avatar: r ? /* @__PURE__ */ (0, O.jsx)("div", {"data-media-avatars": "",@@ -48503,7 +48506,7 @@ function $G(e) {"data-entity-name": e,title: `打开${c}页:${e}`,style: { "--media-avatar-index": t },- dangerouslySetInnerHTML: { __html: za(e, a[t] ?? null, "performer") }+ dangerouslySetInnerHTML: { __html: Ra(e, a[t] ?? null, "performer") }}, `${e}:${t}`))}) : t ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -48511,10 +48514,10 @@ function $G(e) {"data-entity-kind": t,"data-entity-name": n,title: `打开${t === "performer" ? c : "资料"}页`,- dangerouslySetInnerHTML: { __html: za(n, t === "performer" ? a[0] ?? null : e.creator_entity ?? null, t) }+ dangerouslySetInnerHTML: { __html: Ra(n, t === "performer" ? a[0] ?? null : e.creator_entity ?? null, t) }}) : /* @__PURE__ */ (0, O.jsx)("span", {"data-media-avatar": "",- dangerouslySetInnerHTML: { __html: za(n, null, "") }+ dangerouslySetInnerHTML: { __html: Ra(n, null, "") }}),who: r ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("button", {type: "button",@@ -48522,7 +48525,7 @@ function $G(e) {"data-entity-kind": "performer","data-entity-name": s,title: s,- children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: s })]+ children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, O.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -48532,16 +48535,16 @@ function $G(e) {"data-entity-kind": t,"data-entity-name": n,title: n,- children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]}) : /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]})};}-function eK() {+function tK() {return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-media-preview": "",@@ -48560,7 +48563,7 @@ function eK() {})]});}-function tK({ item: e, actions: t, on: n, onChange: r }) {+function nK({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("div", {"data-media-later": "",@@ -48575,11 +48578,11 @@ function tK({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, O.jsx)(qG, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, O.jsx)(JG, { name: n ? "check" : "bookmark-plus" })})});}-function nK({ reason: e }) {+function rK({ reason: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {ref: t,@@ -48593,15 +48596,15 @@ function nK({ reason: e }) {e.stopPropagation(), r(!0);},children: e- }), /* @__PURE__ */ (0, O.jsx)(bR, {+ }), /* @__PURE__ */ (0, O.jsx)(xR, {triggerRef: t,isOpen: n,onOpenChange: r,placement: "top",offset: 8,containerPadding: 12,- className: pV,- children: /* @__PURE__ */ (0, O.jsx)(NR, {+ className: mV,+ children: /* @__PURE__ */ (0, O.jsx)(PR, {"data-media-reason-dialog": "","aria-label": "推荐理由",className: "w-64 max-w-full p-2 text-body-regular whitespace-normal break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",@@ -48609,17 +48612,17 @@ function nK({ reason: e }) {})})] });}-function rK(e, t) {+function iK(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 iK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {- let u = (0, D.useRef)(null), [d, f] = (0, D.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = VG(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, D.useRef)(e);+function aK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {+ let u = (0, D.useRef)(null), [d, f] = (0, D.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = HG(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, D.useRef)(e);_.current = e;let v = (0, D.useCallback)((e) => {let t = _.current;u.current && u.current !== e && ll(u.current), u.current = e, e && (!t.medium || t.medium === "video") && dl(e, t);- }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = QG(e, t, n), w = e.is_jav && C === GG ? "big" : S ? n.size : "small", T = Ka(e, w, !1, n.javImage), E = w === "small" ? T.html : Ka(e, "small", !1, n.javImage).html, k = y?.title || e.name || "", A = o.displayName(e, k).trim() || KG, j = o.titleHtml(e, k).trim() || z(KG), M = y?.total_size ?? e.size, ee = y?.total_duration ?? e.duration, N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = $G(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), F = (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 = $G(e, t, n), w = S ? n.size : "small", T = C === KG && !!e.is_jav, E = T ? qa(e, !1) : Ga(e, w, !1, n.javImage), k = T || w === "small" ? E.html : Ga(e, "small", !1, n.javImage).html, A = y?.title || e.name || "", j = o.displayName(e, A).trim() || qG, M = o.titleHtml(e, A).trim() || B(qG), N = y?.total_size ?? e.size, P = y?.total_duration ?? e.duration, ee = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: F, who: te } = eK(e), I = (e.follow_tags || e.tags || []).slice(0, 3), ne = (t) => {let n = t.target;if (n.closest("[data-media-reason-dialog]")) return;let r = u.current;@@ -48646,12 +48649,12 @@ function iK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSel && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);}, re = /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",- "data-pic-portrait": C === GG ? "" : void 0,+ "data-pic-portrait": C === KG ? "" : void 0,style: { "--card-ratio": String(C) },children: [- T.html ? /* @__PURE__ */ (0, O.jsx)(xG, {- artwork: T,- identity: E,+ E.html ? /* @__PURE__ */ (0, O.jsx)(SG, {+ artwork: E,+ identity: k,relayout: (e) => tl(e, w)}) : /* @__PURE__ */ (0, O.jsx)("span", {"data-media-nopic": "",@@ -48663,11 +48666,11 @@ function iK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "check" })}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]}),y && !b ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-group": "",@@ -48680,40 +48683,40 @@ function iK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe}) : null,/* @__PURE__ */ (0, O.jsx)("span", {"data-media-duration": "",- children: gn(ee)+ children: hn(P)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)(ZG, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)(QG, {item: e,actions: s}) : null,- N > 0 ? /* @__PURE__ */ (0, O.jsx)("div", {+ ee > 0 ? /* @__PURE__ */ (0, O.jsx)("div", {"data-media-progress": "",role: "progressbar","aria-label": "观看进度","aria-valuemin": 0,"aria-valuemax": 100,- "aria-valuenow": Math.round(N * 100),- children: /* @__PURE__ */ (0, O.jsx)("i", { style: { "--media-fill": `${(N * 100).toFixed(1)}%` } })+ "aria-valuenow": Math.round(ee * 100),+ children: /* @__PURE__ */ (0, O.jsx)("i", { style: { "--media-fill": `${(ee * 100).toFixed(1)}%` } })}) : e.leave_ratio == null ? null : /* @__PURE__ */ (0, O.jsx)("div", {"data-media-scrub": "",children: /* @__PURE__ */ (0, O.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, O.jsx)(eK, {}),+ /* @__PURE__ */ (0, O.jsx)(tK, {}),p || g.length ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-status": "",children: [p ? /* @__PURE__ */ (0, O.jsx)("span", {"data-status": "later",title: "稍后看","aria-label": "稍后看",- children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "bookmark" })+ children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "bookmark" })}) : null, g.length ? /* @__PURE__ */ (0, O.jsx)("span", {"data-status": "flagged",title: `已标记:${g.join("、")}`,"aria-label": `已标记:${g.join("、")}`,- children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "heart" })+ children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, O.jsx)(tK, {+ i ? null : /* @__PURE__ */ (0, O.jsx)(nK, {item: e,actions: s,on: p,@@ -48728,27 +48731,27 @@ function iK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe/* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), rK(u.current, -a);+ e.stopPropagation(), iK(u.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), rK(u.current, a);+ e.stopPropagation(), iK(u.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "rotate-cw" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "expand" })+ children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "expand" })})]})@@ -48766,14 +48769,14 @@ function iK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-stacked": x ? "" : void 0,"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,- onClick: F,- onMouseDown: WG,+ onClick: ne,+ onMouseDown: GG,children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-media-open": "","data-open": "",- "aria-label": `打开 ${A}${b ? "版本" : y ? "分卷" : "详情"}`+ "aria-label": `打开 ${j}${b ? "版本" : y ? "分卷" : "详情"}`}),x ? /* @__PURE__ */ (0, O.jsx)("div", {"data-media-stack": "",@@ -48781,23 +48784,23 @@ function iK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe}) : re,/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-meta": "",- children: [te, /* @__PURE__ */ (0, O.jsxs)("div", {+ children: [F, /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-text": "",children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-media-title": "","data-open": "",- dangerouslySetInnerHTML: e.disposal === "trash" ? void 0 : { __html: j },+ dangerouslySetInnerHTML: e.disposal === "trash" ? void 0 : { __html: M },children: e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-title-text": "",- dangerouslySetInnerHTML: { __html: j }+ dangerouslySetInnerHTML: { __html: M }}) : null}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-byline": "",children: [- P,+ te,e.why && t !== "next" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-why": "",title: e.why,@@ -48807,17 +48810,17 @@ function iK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-release": "",dateTime: e.release_date,title: e.release_date,- children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "calendar" }), e.release_date]}) : null,/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "hard-drive" }), Number(M) > 0 ? vn(Number(M)) : "大小未知"]+ children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "hard-drive" }), Number(N) > 0 ? _n(Number(N)) : "大小未知"]})]}),- t === "next" ? e.why ? /* @__PURE__ */ (0, O.jsx)(nK, { reason: e.why }) : null : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", {+ t === "next" ? e.why ? /* @__PURE__ */ (0, O.jsx)(rK, { reason: e.why }) : null : I.length || e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", {"data-media-tags": "",- children: ne.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: I.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-media-tag": "",disabled: !!e.follow_item_id,@@ -48825,15 +48828,15 @@ function iK({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSechildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, O.jsx)(XG, { item: e })+ /* @__PURE__ */ (0, O.jsx)(ZG, { item: e })]})]})]});}-function aK({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, D.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : JG[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function oK({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, D.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : YG[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, O.jsxs)("article", {ref: o,"data-media-card": "",@@ -48845,14 +48848,14 @@ function aK({ 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: WG,+ onMouseDown: GG,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: u }), /* @__PURE__ */ (0, O.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: u }), /* @__PURE__ */ (0, O.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-art": "thumb",@@ -48864,13 +48867,13 @@ function aK({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(qG, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(JG, { name: "check" })}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, O.jsx)(qG, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, O.jsx)(JG, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, O.jsx)(ZG, {+ n ? null : /* @__PURE__ */ (0, O.jsx)(QG, {item: e,actions: i})@@ -48881,7 +48884,7 @@ function aK({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(qG, { name: u })+ children: /* @__PURE__ */ (0, O.jsx)(JG, { name: u })}), /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-text": "",children: [@@ -48889,7 +48892,7 @@ function aK({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe"data-media-title": "","data-middle-truncate": "",title: c,- dangerouslySetInnerHTML: { __html: z(c || "未命名资源") }+ dangerouslySetInnerHTML: { __html: B(c || "未命名资源") }}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-byline": "",@@ -48904,34 +48907,34 @@ function aK({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe}) : null,/* @__PURE__ */ (0, O.jsx)("span", {"data-media-size": "",- children: Number(e.size) > 0 ? vn(Number(e.size)) : "大小未知"+ children: Number(e.size) > 0 ? _n(Number(e.size)) : "大小未知"})]}),e.disposal === "trash" ? /* @__PURE__ */ (0, O.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, O.jsx)(XG, { item: e })+ /* @__PURE__ */ (0, O.jsx)(ZG, { item: e })]})]})]});}-function oK(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, O.jsx)(aK, { ...e }) : /* @__PURE__ */ (0, O.jsx)(iK, { ...e });+function sK(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, O.jsx)(oK, { ...e }) : /* @__PURE__ */ (0, O.jsx)(aK, { ...e });}-var sK = (0, D.memo)(oK), cK = 1100, lK = 340, uK = 5e3;-function dK(e, t, n) {+var cK = (0, D.memo)(sK), lK = 1100, uK = 340, dK = 5e3;+function fK(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, uK);+ }, s = () => o(!1), c = setTimeout(s, dK);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 fK({ load: e, canFlip: t, referrerPolicy: n }) {+function pK({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, D.useState)([]), [a, o] = (0, D.useState)(0), [s, c] = (0, D.useState)(null), l = (0, D.useRef)({live: !1,generation: 0,@@ -48973,11 +48976,11 @@ function fK({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => dK(t, e, n)));+ let s = await Promise.all(a.map((t) => fK(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, cK);+ p(), e.cycle = setInterval(p, lK);}));};return (0, D.useEffect)(() => d, [d]), {@@ -48986,7 +48989,7 @@ function fK({ 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(lK, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(uK, () => {e.armed = null, m();});},@@ -48997,8 +49000,8 @@ function fK({ load: e, canFlip: t, referrerPolicy: n }) {}//#endregion//#region src/react/components/mix-card.tsx-var pK = tB("play");-function mK({ src: e }) {+var mK = nB("play");+function hK({ src: e }) {let [t, n] = (0, D.useState)(!1);return t ? null : /* @__PURE__ */ (0, O.jsx)("img", {"data-mix-poster": "",@@ -49011,8 +49014,8 @@ function mK({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var hK = "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 gK({ faces: e, fallback: t, onOpenEntity: n }) {+var gK = "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 _K({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, O.jsx)("button", {@@ -49020,18 +49023,18 @@ function gK({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${hK} cursor-pointer outline-none`,- dangerouslySetInnerHTML: { __html: Ra(e.name, e, ya(e.name), e.kind) }+ className: `${gK} cursor-pointer outline-none`,+ dangerouslySetInnerHTML: { __html: La(e.name, e, va(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${hK} mt-0.5`,+ className: `${gK} mt-0.5`,children: t});}-function _K({ 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 = fK({+function vK({ 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 = pK({load: i,canFlip: a}), x = (0, D.useRef)(b.onPointerLeave);@@ -49058,11 +49061,11 @@ function _K({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:style: d === void 0 ? void 0 : { "--card-ratio": String(d) },className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",children: [- f?.html ? /* @__PURE__ */ (0, O.jsx)(xG, {+ f?.html ? /* @__PURE__ */ (0, O.jsx)(SG, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, O.jsx)(mK, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, O.jsx)(hK, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -49092,7 +49095,7 @@ function _K({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, O.jsxs)("span", {"data-mix-badge": "",className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",- children: [/* @__PURE__ */ (0, O.jsx)(pK, {+ children: [/* @__PURE__ */ (0, O.jsx)(mK, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -49105,10 +49108,10 @@ function _K({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, O.jsx)(pK, {})- }) : /* @__PURE__ */ (0, O.jsx)(gK, {+ children: /* @__PURE__ */ (0, O.jsx)(mK, {})+ }) : /* @__PURE__ */ (0, O.jsx)(_K, {faces: o,- fallback: Sn(e),+ fallback: xn(e),onOpenEntity: s}),/* @__PURE__ */ (0, O.jsxs)("div", {@@ -49130,7 +49133,7 @@ function _K({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:}//#endregion//#region src/react/video-wall/folia/blockReflows.ts-var vK = [+var yK = [[[{@@ -52691,7 +52694,7 @@ var vK = [}]]-], yK = [+], bK = [[{x: 0,@@ -52988,89 +52991,89 @@ var vK = [rows: 2}]-], bK = (e) => e.map((e) => ({+], xK = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), xK = (e) => e.map((e) => ({+})), SK = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), SK = [+})), CK = [(e) => e,- bK,xK,- (e) => bK(xK(e))-], CK = yK.flatMap((e) => SK.map((t) => t(e))), wK = vK.flatMap((e) => SK.map((t) => e.map(t)));-CK.length;-var TK = (e, t) => {+ SK,+ (e) => xK(SK(e))+], wK = bK.flatMap((e) => CK.map((t) => t(e))), TK = yK.flatMap((e) => CK.map((t) => e.map(t)));+wK.length;+var EK = (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;-}, EK = (e, t) => {- let n = yK.length;- return ((e + t * 2) % n + n) % n * SK.length + TK(e, t) % SK.length;-}, DK = (e, t) => CK[EK(e, t)], OK = (e, t, n) => n < 0 || n >= 12 ? null : wK[EK(e, t)][n], kK = 103.36, AK = 6.08, jK = 12 * kK, MK = 8 * kK, NK = 12, PK = (e, t) => (e % t + t) % t, FK = (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 IK(e, t) {- let n = Math.max(1, Math.ceil(e / NK)), r = t ? 3 : Math.min(3, n);+}, DK = (e, t) => {+ let n = bK.length;+ return ((e + t * 2) % n + n) % n * CK.length + EK(e, t) % CK.length;+}, OK = (e, t) => wK[DK(e, t)], kK = (e, t, n) => n < 0 || n >= 12 ? null : TK[DK(e, t)][n], AK = 103.36, jK = 6.08, MK = 12 * AK, NK = 8 * AK, PK = 12, FK = (e, t) => (e % t + t) % t, IK = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;+function LK(e, t) {+ let n = Math.max(1, Math.ceil(e / PK)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * jK,- height: Math.ceil(n / r) * MK+ width: r * MK,+ height: Math.ceil(n / r) * NK};}-function LK(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = DK(e, t)[n];+function RK(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = OK(e, t)[n];return {- x: e * jK + r * kK,- y: t * MK + i * kK,- width: a * kK - AK,- height: o * kK - AK+ x: e * MK + r * AK,+ y: t * NK + i * AK,+ width: a * AK - jK,+ height: o * AK - jK};}-function RK(e) {+function zK(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function zK(e, t, n) {+function BK(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 >= NK) return null;- let o = IK(e, t), s = o.height / MK;+ ].every(Number.isInteger) || a < 0 || a >= PK) return null;+ let o = LK(e, t), s = o.height / NK;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : PK(r, o.columns), l = ((t ? i : PK(i, s)) * o.columns + c) * NK + a;+ let c = t ? r : FK(r, o.columns), l = ((t ? i : FK(i, s)) * o.columns + c) * PK + a;return t && l >= e ? null : {- ...LK(r, i, a),+ ...RK(r, i, a),index: l % e,key: n};}-function BK(e, t) {+function VK(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / NK);- return zK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % NK}`);+ let n = Math.floor(t / PK);+ return BK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % PK}`);}-function VK(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = OK(r, i, a);+function HK(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = kK(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * jK + e.x * kK,- y: i * MK + e.y * kK,- width: e.cols * kK - AK,- height: e.rows * kK - AK+ x: r * MK + e.x * AK,+ y: i * NK + e.y * AK,+ width: e.cols * AK - jK,+ height: e.rows * AK - jK}]));}-function HK(e) {+function UK(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / NK), i = LK(e % 3, Math.floor(e / 3), r % NK);+ let e = Math.floor(r / PK), i = RK(e % 3, Math.floor(e / 3), r % PK);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * jK - AK : t,+ width: e >= 36 ? 3 * MK - jK : t,height: n};}-function UK(e, t, n, r) {+function WK(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 {@@ -53079,22 +53082,22 @@ function UK(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function WK(e, t, n, r) {+function GK(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 = IK(e, t), s = o.height / MK, c = [];- for (let n = Math.floor(a.y / MK); n <= Math.floor((a.y + a.height) / MK); n += 1) for (let r = Math.floor(a.x / jK); r <= Math.floor((a.x + a.width) / jK); r += 1) {+ }, o = LK(e, t), s = o.height / NK, c = [];+ for (let n = Math.floor(a.y / NK); n <= Math.floor((a.y + a.height) / NK); n += 1) for (let r = Math.floor(a.x / MK); r <= Math.floor((a.x + a.width) / MK); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : PK(r, o.columns), l = t ? n : PK(n, s);- for (let s = 0; s < NK; s += 1) {- let u = (l * o.columns + i) * NK + s;+ let i = t ? r : FK(r, o.columns), l = t ? n : FK(n, s);+ for (let s = 0; s < PK; s += 1) {+ let u = (l * o.columns + i) * PK + s;if (t && u >= e) continue;- let d = LK(r, n, s);- FK(d, a) && c.push({+ let d = RK(r, n, s);+ IK(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -53103,7 +53106,7 @@ function WK(e, t, n, r) {}return c;}-var GK = class {+var KK = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -53115,7 +53118,7 @@ var GK = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : zK(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : BK(t, !1, e);return r ? {...r,index: n@@ -53145,7 +53148,7 @@ var GK = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * jK,+ x: (e + 2) * MK,y: 0};}@@ -53158,10 +53161,10 @@ var GK = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / jK)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / MK)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, KK = [+}, qK = ["q","performer","series",@@ -53176,17 +53179,17 @@ var GK = class {"dur_max","region"];-function qK(e = {}) {- return KK.some((t) => !!e[t]);+function JK(e = {}) {+ return qK.some((t) => !!e[t]);}//#endregion//#region src/react/video-wall/use-wall-camera.ts-var JK = {+var YK = {x: 16,y: 16,scale: 1};-function YK(e, t, n = JK, r = !1) {+function XK(e, t, n = YK, r = !1) {let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)({width: 0,height: 0@@ -53206,7 +53209,7 @@ function YK(e, t, n = JK, r = !1) {let f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(!1), h = (0, D.useRef)(null), g = (0, D.useCallback)(() => {p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;}, []), _ = (0, D.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = UK(e, o.current, HK(r), c && !f && !n);+ let { count: r, finite: c, focused: f } = d.current, p = WK(e, o.current, UK(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));@@ -53277,7 +53280,7 @@ function YK(e, t, n = JK, 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 = Nne(0, 1, {+ !t || v() ? _(a, !0, n) : p.current = Hne(0, 1, {duration: .42,ease: [.22,@@ -53306,7 +53309,7 @@ function YK(e, t, n = JK, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...JK }, !0);+ g(), _({ ...YK }, !0);},pan: (e, t) => {g(), _({@@ -53368,17 +53371,17 @@ function YK(e, t, n = JK, r = !1) {}//#endregion//#region src/react/video-wall/wall-motion.ts-var XK = {+var ZK = {type: "spring",stiffness: 300,damping: 34-}, ZK = {+}, QK = {delay: .14,duration: .24};//#endregion//#region src/react/video-wall/use-wall-playback.ts-function QK(e, t, n) {+function $K(e, t, n) {let [r, i] = (0, D.useState)({paused: !0,time: 0,@@ -53420,15 +53423,15 @@ function QK(e, t, n) {}//#endregion//#region src/react/video-wall/wall-controls.tsx-function $K({ 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 = Py(), x = QK(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function eq({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {+ let b = xy(), x = $K(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(Wt(e));+ y(Ut(e));}};- return /* @__PURE__ */ (0, O.jsxs)(Hy.div, {+ return /* @__PURE__ */ (0, O.jsxs)(Py.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -53438,7 +53441,7 @@ function $K({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, groupopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : ZK,+ transition: b ? { duration: 0 } : QK,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-control-row": "",children: [@@ -53446,7 +53449,7 @@ function $K({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouptype: "button","data-wall-play": "","data-wall-pause": w ? void 0 : "",- ...rB(C),+ ...iB(C),"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",title: w ? "播放" : "暂停",onClick: () => void T(),@@ -53496,7 +53499,7 @@ function $K({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",- ...rB(d),+ ...iB(d),"aria-label": u ? "移出稍后看" : "稍后看",title: "稍后看","aria-pressed": u,@@ -53510,9 +53513,9 @@ function $K({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group/* @__PURE__ */ (0, O.jsxs)("span", {"data-wall-time": "",children: [- x.time > 0 ? gn(x.time) : "00:00",+ x.time > 0 ? hn(x.time) : "00:00"," / ",- S > 0 ? gn(S) : "00:00"+ S > 0 ? hn(S) : "00:00"]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -53543,7 +53546,7 @@ function $K({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group}//#endregion//#region src/react/components/mix-queue.tsx-function eq({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function tq({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, D.useRef)(null), l = (0, D.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -53569,7 +53572,7 @@ function eq({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,title: "关闭","aria-label": "关闭",onClick: r,- dangerouslySetInnerHTML: { __html: L("x") }+ dangerouslySetInnerHTML: { __html: R("x") }})]})]}), /* @__PURE__ */ (0, O.jsx)("div", {@@ -53579,7 +53582,7 @@ function eq({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function tq({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function nq({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, O.jsx)("span", {"data-mix-item-text": "",children: a@@ -53602,7 +53605,7 @@ function tq({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var nq = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {+var rq = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -53612,29 +53615,29 @@ var nq = ({ label: e, count: t }) => /* @__PURE__ */ (0, O.jsxs)("h3", {});//#endregion//#region src/react/video-wall/wall-queue.tsx-function rq({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function iq({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, O.jsx)(eq, {+ children: /* @__PURE__ */ (0, O.jsx)(tq, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(tq, {+ children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(nq, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? _N(e.part_label) : "",+ e.part_label ? VM(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, O.jsx)(xG, { artwork: Ka(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, O.jsx)(SG, { artwork: Ga(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, O.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, O.jsx)("span", { children: [e.edition_label,- e.part_label ? _N(e.part_label) : "",- gn(e.duration)+ e.part_label ? VM(e.part_label) : "",+ hn(e.duration)].filter(Boolean).join(" · ") })]}, e.id))})@@ -53642,34 +53645,34 @@ function rq({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {}//#endregion//#region src/react/video-wall/wall-route.ts-function iq(e = `${location.pathname}${location.search}`, t = {}) {+function aq(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",studios: "studio",series: "series",tags: "tag"- }[r || ""], o = Qt(n.pathname) && n.pathname !== "/junk-files" || n.pathname === "/jav" || !!(a && i.length), s = new URLSearchParams(o ? n.search : "");+ }[r || ""], o = Zt(n.pathname) && n.pathname !== "/junk-files" || n.pathname === "/jav" || !!(a && i.length), s = new URLSearchParams(o ? n.search : "");for (let [e, n] of Object.entries(t)) n && (o || ["jav", "loc"].includes(e)) && s.set(e, n);- if (o && Xt[n.pathname] && s.set("state", Xt[n.pathname]), a && i.length) {- let e = decodeURIComponent(i.join("/")), t = /^[0-9]+$/.test(e) ? Nt(a, Number(e)) : e;+ if (o && Yt[n.pathname] && s.set("state", Yt[n.pathname]), a && i.length) {+ let e = decodeURIComponent(i.join("/")), t = /^[0-9]+$/.test(e) ? Mt(a, Number(e)) : e;t && a === "tag" ? (s.set("tag", [.../* @__PURE__ */ new Set([t, ...(s.get("tag") || "").split(",").filter(Boolean)])].join(",")), s.set("tag_match", "all")) : t && !s.has(a) && s.set(a, t);}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function aq(e = `${location.pathname}${location.search}`) {+function oq(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of KK) t.delete(e);+ for (let e of qK) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function oq() {- let e = new URLSearchParams(fH.navigation.location.search).get("returnTo") || "/";- fH.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");+function sq() {+ let e = new URLSearchParams(pH.navigation.location.search).get("returnTo") || "/";+ pH.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}//#endregion//#region src/react/video-wall/video-wall.tsx-var sq = /* @__PURE__ */ new Map(), cq = (0, D.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {- let i = Ka(!e.is_jav && t === "thumbnail" && e.has_thumb ? {+var cq = /* @__PURE__ */ new Map(), lq = (0, D.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+ let i = Ga(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1} : e, n || r >= 1 ? "small" : "big", !0, t), a = (0, D.useRef)(null);@@ -53681,7 +53684,7 @@ var sq = /* @__PURE__ */ new Map(), cq = (0, D.memo)(function({ item: e, image:ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, O.jsx)(xG, {+ children: /* @__PURE__ */ (0, O.jsx)(SG, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {e.complete && e.naturalWidth && Vc(e, r);@@ -53689,119 +53692,119 @@ var sq = /* @__PURE__ */ new Map(), cq = (0, D.memo)(function({ item: e, image:})});});-function lq({ 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 uq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {let p = String(e[0]?.id), [m] = (0, D.useState)(() => {- let e = sq.get(f);+ let e = cq.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, D.useState)(() => m?.exploration || new GK()), g = (0, D.useRef)(!1), [_, v] = (0, D.useState)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = (0, D.useRef)(null), C = (0, D.useRef)(null), [w, T] = (0, D.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, k] = (0, D.useState)(m?.selectedKey || ""), [A, j] = (0, D.useState)(m?.sourceId || null), [M, ee] = (0, D.useState)(!1), N = w?.edition_group ? {+ }), [h] = (0, D.useState)(() => m?.exploration || new KK()), g = (0, D.useRef)(!1), [_, v] = (0, D.useState)(null), y = (0, D.useRef)(null), b = (0, D.useRef)(null), x = (0, D.useRef)(null), S = (0, D.useRef)(null), C = (0, D.useRef)(null), [w, T] = (0, D.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, k] = (0, D.useState)(m?.selectedKey || ""), [A, j] = (0, D.useState)(m?.sourceId || null), [M, N] = (0, D.useState)(!1), P = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {kind: "parts",seedId: w.part_group.seed_id- } : null, te = Ct({- queryKey: ZM(N || {+ } : null, ee = St({+ queryKey: xM(P || {kind: "parts",seedId: 0}),- enabled: !!N,- queryFn: ({ signal: e }) => oN(N, {+ enabled: !!P,+ queryFn: ({ signal: e }) => AM(P, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), P = N ? te.data : void 0, ne = P?.items.find((e) => e.id === lN(P, A || w?.id || null)) || w, F = YK(e.length, t && !!e.length, m?.camera || {+ }), F = P ? ee.data : void 0, te = F?.items.find((e) => e.id === NM(F, A || w?.id || null)) || w, I = XK(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), re = Py(), [ie, ae] = (0, D.useState)(!!m);+ }, !!w), ne = xy(), [re, ie] = (0, D.useState)(!!m);(0, D.useEffect)(() => {- if (!e.length || ie || re) return;- let t = setTimeout(() => ae(!0), 1100);+ if (!e.length || re || ne) return;+ let t = setTimeout(() => ie(!0), 1100);return () => clearTimeout(t);}, [p,- ie,- re+ re,+ ne]);- let oe = matchMedia("(hover:hover) and (pointer:fine)").matches, [se, ce] = (0, D.useState)(null), [le, ue] = (0, D.useState)(null), [de, fe] = (0, D.useState)(!1), [pe, me] = (0, D.useState)(""), [he, ge] = (0, D.useState)(""), [_e, ve] = (0, D.useState)(!1), [ye, be] = (0, D.useState)(null), [xe, Se] = (0, D.useState)(!1), [Ce] = (0, D.useState)(() => {+ let ae = matchMedia("(hover:hover) and (pointer:fine)").matches, [oe, se] = (0, D.useState)(null), [ce, le] = (0, D.useState)(null), [ue, de] = (0, D.useState)(!1), [fe, pe] = (0, D.useState)(""), [me, he] = (0, D.useState)(""), [ge, _e] = (0, D.useState)(!1), [ve, ye] = (0, D.useState)(null), [be, xe] = (0, D.useState)(!1), [Se] = (0, D.useState)(() => {let e = document.createElement("div");return e.className = "peach-react", e;});(0, D.useLayoutEffect)(() => {- document.body.append(Ce), F.viewport.current?.focus({ preventScroll: !0 });- }, [Ce]), (0, D.useEffect)(() => () => Ce.remove(), [Ce]);- let [we, Te] = (0, D.useState)(() => NV(fH.navigation.location.pathname)), [Ee, De] = (0, D.useState)(m?.image || d), Oe = (0, D.useRef)(null), ke = (0, D.useRef)(p), Ae = (0, D.useRef)(!!e.length);- Ae.current = !!e.length;- let je = (0, D.useRef)({+ document.body.append(Se), I.viewport.current?.focus({ preventScroll: !0 });+ }, [Se]), (0, D.useEffect)(() => () => Se.remove(), [Se]);+ let [Ce, we] = (0, D.useState)(() => PV(pH.navigation.location.pathname)), [Te, Ee] = (0, D.useState)(m?.image || d), De = (0, D.useRef)(null), Oe = (0, D.useRef)(p), ke = (0, D.useRef)(!!e.length);+ ke.current = !!e.length;+ let Ae = (0, D.useRef)({selectedId: w?.id || null,selectedKey: E,sourceId: A,- image: Ee,+ image: Te,pool: p});- je.current = {+ Ae.current = {selectedId: w?.id || null,selectedKey: E,sourceId: A,- image: Ee,+ image: Te,pool: p};- let Me = () => {- Ae.current && (sq.delete(f), sq.set(f, {- ...je.current,- camera: F.snapshot(),+ let je = () => {+ ke.current && (cq.delete(f), cq.set(f, {+ ...Ae.current,+ camera: I.snapshot(),exploration: h- }), sq.size > 8 && sq.delete(sq.keys().next().value));+ }), cq.size > 8 && cq.delete(cq.keys().next().value));};- (0, D.useLayoutEffect)(Me);- let Ne = WK(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, F.view.camera, F.view.size), Pe = i ? Ne.map((e) => ({+ (0, D.useLayoutEffect)(je);+ let Me = GK(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, I.view.camera, I.view.size), Ne = i ? Me.map((e) => ({...e,index: -1- })) : t ? Ne : h.assign(Ne, e.length, n), Fe = w && (t ? zK(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? VK(e.length, t, Fe) : /* @__PURE__ */ new Map();- Fe && !Pe.some((e) => e.key === Fe.key) && Pe.push(Fe);- let Le = (e = !1) => {- C.current?.abort(), C.current = null, S.current?.(e), S.current = null, ce(null), fe(!1);+ })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? BK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? HK(e.length, t, Pe) : /* @__PURE__ */ new Map();+ Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);+ let Ie = (e = !1) => {+ C.current?.abort(), C.current = null, S.current?.(e), S.current = null, se(null), de(!1);};(0, D.useLayoutEffect)(() => {if (!i) {- if (e.length) ke.current === "undefined" ? (ke.current = p, m && (t || m.pool === p) ? T(e.find((e) => e.id === m.selectedId) || null) : m && F.reset()) : t || ke.current === p || (ke.current = p, C.current?.abort(), S.current?.(!0), S.current = null, ce(null), fe(!1), T(null), k(""), me(""), F.reset());+ if (e.length) Oe.current === "undefined" ? (Oe.current = p, m && (t || m.pool === p) ? T(e.find((e) => e.id === m.selectedId) || null) : m && I.reset()) : t || Oe.current === p || (Oe.current = p, C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1), T(null), k(""), pe(""), I.reset());else {- if (ke.current === p) return;- ke.current = p, C.current?.abort(), S.current?.(!0), S.current = null, ce(null), fe(!1), T(null), k(""), me("");+ if (Oe.current === p) return;+ Oe.current = p, C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1), T(null), k(""), pe("");}}}, [t,p,i- ]), (0, D.useEffect)(() => fH.listen((e) => {- let t = NV(e.location.pathname);- t && (C.current?.abort(), S.current?.(!0), S.current = null, ce(null), fe(!1)), Te(t);+ ]), (0, D.useEffect)(() => pH.listen((e) => {+ let t = PV(e.location.pathname);+ t && (C.current?.abort(), S.current?.(!0), S.current = null, se(null), de(!1)), we(t);}), []), (0, D.useEffect)(() => () => {- C.current?.abort(), S.current?.(!0), Me();+ C.current?.abort(), S.current?.(!0), je();}, []), (0, D.useEffect)(() => {- if (we) return;+ if (Ce) return;let e = document.body.style.overflow;return document.body.style.overflow = "hidden", () => {document.body.style.overflow = e;};- }, [we]);- let Re = (e = !0) => {- Le(e), ue(null), T(null), k(""), j(null), ee(!1), me("");- let t = Oe.current;+ }, [Ce]);+ let Le = (e = !0) => {+ Ie(e), le(null), T(null), k(""), j(null), N(!1), pe("");+ let t = De.current;t && requestAnimationFrame(() => {(y.current?.querySelector(`[data-wall-tile="${t.key}"]`))?.focus({ preventScroll: !0 });});- }, ze = (n, r, i = !0) => {- w?.id !== n.id && Le(!1), Oe.current = {+ }, Re = (n, r, i = !0) => {+ w?.id !== n.id && Ie(!1), De.current = {key: r.key,id: n.id- }, me(""), ue(null), T(n), k(r.key), j(null), ee(!1), Se(!1), F.reveal(VK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));- }, Be = () => {- ne && y.current && (Me(), Le(!0), l.wallDetails?.(ne, y.current.querySelector("[data-wall-focus]") || y.current));- }, Ve = async (e = ne) => {+ }, pe(""), le(null), T(n), k(r.key), j(null), N(!1), xe(!1), I.reveal(HK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, ze = () => {+ te && y.current && (je(), Ie(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));+ }, Be = async (e = te) => {if (!e || !b.current || !l.wallPlayer) return;- Le(!1), me(""), fe(!0);+ Ie(!1), pe(""), de(!0);let t = new AbortController();C.current = t;let n = e.id;@@ -53811,97 +53814,97 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:r(!1);return;}- S.current = r, ce(n);+ S.current = r, se(n);} catch (e) {- t.signal.aborted || me(Wt(e));+ t.signal.aborted || pe(Ut(e));} finally {- C.current === t && fe(!1);+ C.current === t && de(!1);}- }, He = () => {- let e = uN(P || null, se || 0);- e && (j(e.id), Ve(e));+ }, Ve = () => {+ let e = PM(F || null, oe || 0);+ e && (j(e.id), Be(e));};(0, D.useEffect)(() => {- le == null || w?.id !== le || we || (ue(null), Ve(w));+ ce == null || w?.id !== ce || Ce || (le(null), Be(w));}, [- le,+ ce,w?.id,- we+ Ce]);- let Ue = P?.items || e, We = Ue.findIndex((e) => e.id === ne?.id), Ge = (n) => {- if (ee(!1), n.id === ne?.id) {- se ? b.current?.querySelector("video")?.play().catch((e) => me(Wt(e))) : Ve(n);+ let He = F?.items || e, Ue = He.findIndex((e) => e.id === te?.id), We = (n) => {+ if (N(!1), n.id === te?.id) {+ oe ? b.current?.querySelector("video")?.play().catch((e) => pe(Ut(e))) : Be(n);return;}- if (P) {- j(n.id), Ve(n);+ if (F) {+ j(n.id), Be(n);return;}- let r = F.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {- x: (F.view.size.width / 2 - r.x) / r.scale,- y: (F.view.size.height / 2 - r.y) / r.scale- }, o = t ? BK(e.length, i) : h.nearest(e.length, i, a);- o && (ze(n, o), ue(n.id));- }, Ke = async () => {+ let r = I.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {+ x: (I.view.size.width / 2 - r.x) / r.scale,+ y: (I.view.size.height / 2 - r.y) / r.scale+ }, o = t ? VK(e.length, i) : h.nearest(e.length, i, a);+ o && (Re(n, o), le(n.id));+ }, Ge = async () => {if (!(r || g.current)) {- g.current = !0, ge("");+ g.current = !0, he("");try {await c();} catch (e) {- ge(Wt(e)), v(null);+ he(Ut(e)), v(null);} finally {g.current = !1;}}- }, qe = Pe.some((e) => e.index < 0);+ }, Ke = Ne.some((e) => e.index < 0);(0, D.useEffect)(() => {- i || t || we || w || r || he || _ !== null || !n || (qe || e.length - h.size < 24) && Ke();+ i || t || Ce || w || r || me || _ !== null || !n || (Ke || e.length - h.size < 24) && Ge();}, [i,t,- we,+ Ce,w,r,- he,+ me,n,- qe,+ Ke,e.length,h.size,_]), (0, D.useEffect)(() => {- if (_ === null || r || he) return;+ if (_ === null || r || me) return;if (e.length <= _ && n) {- Ke();+ Ge();return;}h.prefer(_);- let t = h.fresh(), i = F.snapshot();- Re(), F.pan(-t.x * i.scale - i.x, -t.y * i.scale - i.y), v(null);+ let t = h.fresh(), i = I.snapshot();+ Le(), I.pan(-t.x * i.scale - i.x, -t.y * i.scale - i.y), v(null);}, [_,e.length,r,n,- he+ me]);- let Je = async () => {- r || g.current || (v(e.length), n && await Ke());- }, Ye = async () => {- if (ne && !_e) {- ve(!0);+ let qe = async () => {+ r || g.current || (v(e.length), n && await Ge());+ }, Je = async () => {+ if (te && !ge) {+ _e(!0);try {- await l.watchLater(ne, (e) => be({- id: ne.id,+ await l.watchLater(te, (e) => ye({+ id: te.id,on: e}));} finally {- ve(!1);+ _e(!1);}}- }, Xe = (e) => u.displayName(e, String(e.name || e.code || "未命名视频")), Ze = ne || w;+ }, Ye = (e) => u.displayName(e, String(e.name || e.code || "未命名视频")), Xe = te || w;(0, D.useLayoutEffect)(() => {let e = x.current;- if (!e || !Ze?.code) return;+ if (!e || !Xe?.code) return;let t = !0, n = e.clientWidth, r = () => {if (!t) return;e.style.removeProperty("--wall-code-fit");@@ -53922,34 +53925,34 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:t = !1, i.disconnect(), document.fonts.removeEventListener("loadingdone", r);};}, [- Ze?.code,+ Xe?.code,E,- se,- de,- we+ oe,+ ue,+ Ce]);- let Qe = w && Ze ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [+ let Ze = w && Xe ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(cq, {+ children: /* @__PURE__ */ (0, O.jsx)(lq, {item: w,- image: Ee,+ image: Te,big: !0})}),/* @__PURE__ */ (0, O.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, O.jsx)(cq, {+ children: /* @__PURE__ */ (0, O.jsx)(lq, {item: w,- image: Ee,+ image: Te,big: !0})}),/* @__PURE__ */ (0, O.jsx)("div", {ref: b,"data-wall-player": "",- hidden: !se && !de+ hidden: !oe && !ue}),/* @__PURE__ */ (0, O.jsx)("div", {"data-wall-expanded-shade": "",@@ -53957,19 +53960,19 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-wall-number": "",- children: [se ? "正在播放 · " : "", String((Fe?.index || 0) + 1).padStart(2, "0")]+ children: [oe ? "正在播放 · " : "", String((Pe?.index || 0) + 1).padStart(2, "0")]}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-focus-head": "",children: [/* @__PURE__ */ (0, O.jsx)("b", {ref: x,- "data-wall-code": Ze.code ? "" : void 0,- children: Ze.code || Xe(Ze)+ "data-wall-code": Xe.code ? "" : void 0,+ children: Xe.code || Ye(Xe)}),- Ze.code ? /* @__PURE__ */ (0, O.jsx)("strong", { children: Xe(Ze).startsWith(Ze.code) ? Xe(Ze).slice(Ze.code.length).trim() : Xe(Ze) }) : null,- /* @__PURE__ */ (0, O.jsx)("span", { children: Ze.performers?.join(" · ") || Ze.creator || "未归属" }),- P ? /* @__PURE__ */ (0, O.jsx)("small", { children: [Ze.edition_label, Ze.part_label ? _N(Ze.part_label) : ""].filter(Boolean).join(" · ") }) : null+ Xe.code ? /* @__PURE__ */ (0, O.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,+ /* @__PURE__ */ (0, O.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),+ F ? /* @__PURE__ */ (0, O.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? VM(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, O.jsx)("button", {@@ -53977,64 +53980,64 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-focus-close": "","aria-label": "收起作品",title: "收起",- onClick: () => Re(),+ onClick: () => Le(),children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-x" })})}),- pe || N && te.error && !P ? /* @__PURE__ */ (0, O.jsxs)("div", {+ fe || P && ee.error && !F ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-play-error": "",- children: [/* @__PURE__ */ (0, O.jsx)(Qz, {+ children: [/* @__PURE__ */ (0, O.jsx)($z, {tone: "error",- children: pe || Wt(te.error)- }), te.error && !P ? /* @__PURE__ */ (0, O.jsx)(q, {+ children: fe || Ut(ee.error)+ }), ee.error && !F ? /* @__PURE__ */ (0, O.jsx)(q, {size: "small",variant: "ghost",- onClick: () => void te.refetch(),+ onClick: () => void ee.refetch(),children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, O.jsx)($K, {- item: Ze,- playing: se,+ /* @__PURE__ */ (0, O.jsx)(eq, {+ item: Xe,+ playing: oe,frame: b,- starting: de,- pendingGroup: !!N && te.isPending,- grouped: !!N,+ starting: ue,+ pendingGroup: !!P && ee.isPending,+ grouped: !!P,queueOpen: M,- queueReady: !!Ue.length && (!N || !!P),- hasPrevious: We > 0,- hasNext: We >= 0 && We < Ue.length - 1,- later: ye?.id === Ze.id ? ye.on : !!Ze.watch_later,- laterBusy: _e,- play: () => Ve(),- previous: () => Ge(Ue[We - 1]),- next: () => Ge(Ue[We + 1]),- queue: () => ee(!M),- watchLater: () => void Ye(),- details: Be,- ended: He,- error: me+ queueReady: !!He.length && (!P || !!F),+ hasPrevious: Ue > 0,+ hasNext: Ue >= 0 && Ue < He.length - 1,+ later: ve?.id === Xe.id ? ve.on : !!Xe.watch_later,+ laterBusy: ge,+ play: () => Be(),+ previous: () => We(He[Ue - 1]),+ next: () => We(He[Ue + 1]),+ queue: () => N(!M),+ watchLater: () => void Je(),+ details: ze,+ ended: Ve,+ error: pe}),- M ? /* @__PURE__ */ (0, O.jsx)(rq, {- items: Ue,- activeId: Ze.id,- kind: P?.kind || "wall",- label: Xe,- choose: Ge,- close: () => ee(!1)+ M ? /* @__PURE__ */ (0, O.jsx)(iq, {+ items: He,+ activeId: Xe.id,+ kind: F?.kind || "wall",+ label: Ye,+ choose: We,+ close: () => N(!1)}) : null- ] }) : null, $e = /* @__PURE__ */ (0, O.jsxs)("div", {+ ] }) : null, Qe = /* @__PURE__ */ (0, O.jsxs)("div", {ref: y,"data-video-wall": "","data-fullscreen": "","data-focused": !!w || void 0,"data-refreshing": _ !== null || void 0,- hidden: we,+ hidden: Ce,onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? ee(!1) : w ? Re() : xe ? Se(!1) : oq());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : w ? Le() : be ? xe(!1) : sq());},children: [/* @__PURE__ */ (0, O.jsx)("button", {@@ -54042,7 +54045,7 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: oq,+ onClick: sq,children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -54060,11 +54063,11 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}), /* @__PURE__ */ (0, O.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, O.jsx)(q, {size: "small",variant: "ghost",- onClick: () => fH.push(aq()),+ onClick: () => pH.push(oq()),children: "清除筛选"})]}) : null,- xe ? /* @__PURE__ */ (0, O.jsxs)("div", {+ be ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-toolbar": "","aria-label": "播放墙工具",children: [@@ -54072,7 +54075,7 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:onSubmit: (e) => {e.preventDefault();let t = new URLSearchParams(location.search), n = String(new FormData(e.currentTarget).get("q") || "").trim();- n ? t.set("q", n) : t.delete("q"), Me(), fH.push(`/wall?${t}`), Se(!1);+ n ? t.set("q", n) : t.delete("q"), je(), pH.push(`/wall?${t}`), xe(!1);},children: [/* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24",@@ -54086,18 +54089,18 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:defaultValue: new URLSearchParams(location.search).get("q") || ""})]}),- /* @__PURE__ */ (0, O.jsxs)(dW, {+ /* @__PURE__ */ (0, O.jsxs)(fW, {"aria-label": "播放墙图片",- value: Ee,- onChange: De,- className: fW,- children: [/* @__PURE__ */ (0, O.jsx)(VR, {+ value: Te,+ onChange: Ee,+ className: pW,+ children: [/* @__PURE__ */ (0, O.jsx)(HR, {value: "cover",- className: pW,+ className: mW,children: "封面"- }), /* @__PURE__ */ (0, O.jsx)(VR, {+ }), /* @__PURE__ */ (0, O.jsx)(HR, {value: "thumbnail",- className: pW,+ className: mW,children: "缩略图"})]}),@@ -54108,20 +54111,20 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:size: "small",variant: "ghost","aria-label": "缩小播放墙",- onClick: () => F.zoom(1 / 1.2),+ onClick: () => I.zoom(1 / 1.2),children: "缩小"}),/* @__PURE__ */ (0, O.jsx)(q, {size: "small",variant: "ghost","aria-label": "放大播放墙",- onClick: () => F.zoom(1.2),+ onClick: () => I.zoom(1.2),children: "放大"}),/* @__PURE__ */ (0, O.jsx)(q, {size: "small",variant: "ghost",- onClick: F.reset,+ onClick: I.reset,children: "回到起点"})]@@ -54133,16 +54136,16 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:]}) : null,/* @__PURE__ */ (0, O.jsx)("div", {- ref: F.viewport,+ ref: I.viewport,"data-wall-viewport": "",tabIndex: 0,role: "region","aria-label": "播放墙,拖动或方向键浏览",- "aria-busy": i || _ !== null || r && qe || void 0,+ "aria-busy": i || _ !== null || r && Ke || void 0,"data-skeleton": i ? "wall" : void 0,- ...i || _ !== null ? {} : F.handlers,+ ...i || _ !== null ? {} : I.handlers,onClick: (e) => {- w && e.target instanceof Element && !e.target.closest("[data-wall-tile]") && (M ? ee(!1) : Re());+ w && e.target instanceof Element && !e.target.closest("[data-wall-tile]") && (M ? N(!1) : Le());},onKeyDown: (e) => {if (_ !== null || e.target instanceof Element && e.target.closest("button,input,[role=\"slider\"],[data-wall-player],[data-wall-queue]")) return;@@ -54152,12 +54155,12 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ArrowUp: [0, 200],ArrowDown: [0, -200]}[e.key];- !t || e.ctrlKey || e.metaKey || e.altKey || (e.preventDefault(), F.pan(...t));+ !t || e.ctrlKey || e.metaKey || e.altKey || (e.preventDefault(), I.pan(...t));},children: /* @__PURE__ */ (0, O.jsx)("div", {- ref: F.world,+ ref: I.world,"data-wall-world": "",- children: Pe.map((t) => {+ children: Ne.map((t) => {if (t.index < 0) return /* @__PURE__ */ (0, O.jsx)("span", {"data-wall-skeleton": "","aria-hidden": "true",@@ -54168,19 +54171,19 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"--wall-height": `${t.height}px`}}, t.key);- let n = e[t.index], r = !!w && t.key === E, i = Ie.get(t.key) || t, a = !ie && !r, o = a ? Math.min(.34, (Math.max(0, t.x + F.view.camera.x / F.view.camera.scale) + Math.max(0, t.y + F.view.camera.y / F.view.camera.scale)) / 103.36 * .03) : 0;- return /* @__PURE__ */ (0, O.jsx)(Hy.article, {+ let n = e[t.index], r = !!w && t.key === E, i = Fe.get(t.key) || t, a = !re && !r, o = a ? Math.min(.34, (Math.max(0, t.x + I.view.camera.x / I.view.camera.scale) + Math.max(0, t.y + I.view.camera.y / I.view.camera.scale)) / 103.36 * .03) : 0;+ return /* @__PURE__ */ (0, O.jsx)(Py.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,"data-wall-id": n.id,"data-wall-focus": r ? "" : void 0,- "data-playing": r && (se || de) ? "" : void 0,+ "data-playing": r && (oe || ue) ? "" : void 0,role: r ? "group" : "button",tabIndex: r ? -1 : 0,- "aria-label": r ? Xe(n) : `展开 ${Xe(n)}`,+ "aria-label": r ? Ye(n) : `展开 ${Ye(n)}`,"aria-expanded": r ? void 0 : !1,- initial: re || m ? !1 : {+ initial: ne || m ? !1 : {opacity: 0,transform: a ? "translateY(-68.4px) scale(.88)" : "scale(.94)"},@@ -54188,9 +54191,9 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:opacity: 1,transform: "translateY(0px) scale(1)"},- 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: XK,+ whileHover: ae && !ne && !r && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,+ transition: ne ? { duration: 0 } : {+ layout: ZK,transform: a ? {type: "spring",stiffness: 360,@@ -54213,19 +54216,19 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},onFocus: (e) => {if (r || e.target !== e.currentTarget) return;- let n = e.currentTarget.getBoundingClientRect(), i = F.viewport.current?.getBoundingClientRect();- i && (n.left < i.left || n.right > i.right || n.top < i.top || n.bottom > i.bottom) && F.reveal(t);+ let n = e.currentTarget.getBoundingClientRect(), i = I.viewport.current?.getBoundingClientRect();+ i && (n.left < i.left || n.right > i.right || n.top < i.top || n.bottom > i.bottom) && I.reveal(t);},onClick: (e) => {- r || ze(n, t, e.detail !== 0);+ r || Re(n, t, e.detail !== 0);},onKeyDown: (e) => {- !r && ["Enter", " "].includes(e.key) && (e.preventDefault(), ze(n, t, !1));+ !r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Re(n, t, !1));},- children: r ? Qe : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(cq, {+ children: r ? Ze : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [+ /* @__PURE__ */ (0, O.jsx)(lq, {item: n,- image: Ee,+ image: Te,ratio: i.width / i.height}),/* @__PURE__ */ (0, O.jsx)("span", {@@ -54238,21 +54241,21 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-wall-copy": "",- children: [/* @__PURE__ */ (0, O.jsx)("b", { children: n.code || Xe(n) }), /* @__PURE__ */ (0, O.jsx)("span", { children: n.performers?.join(" · ") || n.creator || n.studio || "未归属" })]+ children: [/* @__PURE__ */ (0, O.jsx)("b", { children: n.code || Ye(n) }), /* @__PURE__ */ (0, O.jsx)("span", { children: n.performers?.join(" · ") || n.creator || n.studio || "未归属" })]}),n.duration ? /* @__PURE__ */ (0, O.jsx)("span", {"data-wall-duration": "",- children: gn(n.duration)+ children: hn(n.duration)}) : null,Number(n.leave_ratio) > 0 ? /* @__PURE__ */ (0, O.jsx)("span", {"data-wall-progress": "",style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },"aria-label": "观看进度"}) : null,- /* @__PURE__ */ (0, O.jsx)(Hy.span, {+ /* @__PURE__ */ (0, O.jsx)(Py.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },- transition: { duration: re ? 0 : .24 }+ transition: { duration: ne ? 0 : .24 }})] })}, t.key);@@ -54261,7 +54264,7 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),!i && a ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, O.jsx)(Qz, {+ children: [/* @__PURE__ */ (0, O.jsx)($z, {tone: "error",children: a}), /* @__PURE__ */ (0, O.jsx)(q, {@@ -54278,7 +54281,7 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:if (!(!t || r || g.current)) {cc(t);try {- await Ke();+ await Ge();} finally {cc(t, !1);}@@ -54288,9 +54291,9 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,!t && (n || e.length > 0) ? /* @__PURE__ */ (0, O.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, O.jsx)(nG, {+ children: /* @__PURE__ */ (0, O.jsx)(rG, {busy: r,- onPress: () => void Je()+ onPress: () => void qe()})}) : null,n && t && e.length > 0 ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -54298,21 +54301,21 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: /* @__PURE__ */ (0, O.jsxs)(q, {size: "small",variant: "secondary",- ...rB(r),- onClick: () => void Ke(),+ ...iB(r),+ onClick: () => void Ge(),children: [r ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: ns() } }) : null, "载入更多"]})}) : null,- he ? /* @__PURE__ */ (0, O.jsxs)("div", {+ me ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, O.jsx)(Qz, {+ children: [/* @__PURE__ */ (0, O.jsx)($z, {tone: "error",- children: he+ children: me}), /* @__PURE__ */ (0, O.jsx)(q, {size: "small",variant: "ghost",- ...rB(r),- onClick: () => void Ke(),+ ...iB(r),+ onClick: () => void Ge(),children: "立即重试"})]}) : null,@@ -54321,8 +54324,8 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-tools-button": "","aria-label": "播放墙工具",title: "播放墙工具",- "aria-expanded": xe,- onClick: () => Se(!xe),+ "aria-expanded": be,+ onClick: () => xe(!be),children: /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -54331,11 +54334,11 @@ function lq({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:})]});- return (0, Et.createPortal)($e, Ce);+ return (0, Tt.createPortal)(Qe, Se);}//#endregion//#region src/catalog-onboarding.ts-var uq = [+var dq = ["loc","creator","performer",@@ -54353,19 +54356,19 @@ var uq = ["jav","thumb"];-function dq(e = typeof location > "u" ? "/" : location.href) {+function fq(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...uq,+ ...dq,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function fq(e, t) {+async function pq(e, t) {let n = new URLSearchParams();- for (let t of uq) e[t] && n.set(t, e[t]);+ for (let t of dq) 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 || [],@@ -54376,9 +54379,9 @@ async function fq(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function pq({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function mq({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";- if (t || n) return os("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? z(dq()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return os("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: `<a class="geist-button primary" href="${t ? B(fq()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -54397,12 +54400,12 @@ function pq({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:}//#endregion//#region src/react/video-wall/wall-empty.ts-function mq({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || pq() : t ? os("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : os("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${aq()}">清除筛选</a>` });+function hq({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || mq() : t ? os("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : os("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${oq()}">清除筛选</a>` });}//#endregion//#region src/react/library-processing/processing-actions.tsx-function hq({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function gq({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, D.useState)(t), [s, c] = (0, D.useState)(), [l, u] = (0, D.useState)("");return (0, D.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {@@ -54414,7 +54417,7 @@ function hq({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {i(o.traffic.inventory?.token);}, 250));} catch (e) {- t.signal.aborted || (u(jn(e)), n.confirmButton.disabled = !1);+ t.signal.aborted || (u(An(e)), n.confirmButton.disabled = !1);}};return i(), () => {@@ -54425,7 +54428,7 @@ function hq({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, O.jsx)(KH, {+ children: /* @__PURE__ */ (0, O.jsx)(qH, {value: a,busy: i,onChange: (e) => {@@ -54433,7 +54436,7 @@ function hq({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}})}),- s ? /* @__PURE__ */ (0, O.jsx)(WU, {+ s ? /* @__PURE__ */ (0, O.jsx)(GU, {traffic: s,initial: !0}) : null,@@ -54445,7 +54448,7 @@ function hq({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function gq({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {+function _q({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {let a = (0, D.useRef)(null), o = (0, D.useRef)(null), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(r);(0, D.useEffect)(() => () => o.current?.close(), []);let [u, d] = (0, D.useState)(!1), f = {@@ -54503,7 +54506,7 @@ function gq({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand});};return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(hq, {+ s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(gq, {command: s.command,dialog: s.dialog,speed: r,@@ -54512,11 +54515,11 @@ function gq({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standl.current = e;}}), s.host) : null,- s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(RH, {+ s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(zH, {href: "/settings/library",size: "small",variant: "primary",- trailingIcon: Dz,+ trailingIcon: Oz,disabled: e,onClick: (e) => {s.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : s.dialog.close();@@ -54528,30 +54531,30 @@ function gq({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand"data-split-button": !0,"data-variant": "primary",children: [/* @__PURE__ */ (0, O.jsx)(q, {- ...rB(e),+ ...iB(e),onClick: () => m(f.command),children: f.label}), /* @__PURE__ */ (0, O.jsx)(q, {ref: a,iconOnly: !0,- leadingIcon: Ez,+ leadingIcon: Dz,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": u,- ...rB(e),+ ...iB(e),onClick: () => {e || d(!u);}})]}),- /* @__PURE__ */ (0, O.jsx)(bR, {+ /* @__PURE__ */ (0, O.jsx)(xR, {triggerRef: a,isOpen: u,onOpenChange: d,placement: "bottom end",offset: 4,- className: pV,- children: /* @__PURE__ */ (0, O.jsx)(BH, {+ className: mV,+ children: /* @__PURE__ */ (0, O.jsx)(VH, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",children: p.map(({ label: e, description: t, command: r }) => {@@ -54560,7 +54563,7 @@ function gq({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standtype: "button",disabled: i,title: i ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: dF(mV, hV, "text-body-2-medium"),+ className: GF(hV, gV, "text-body-2-medium"),onClick: () => m(r),children: /* @__PURE__ */ (0, O.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -54577,48 +54580,48 @@ function gq({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand}//#endregion//#region src/react/library-processing/library-completion.tsx-function _q(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) && !Ka(e, "small", !1, t).html).map((e) => e.id))];+function vq(e, t) {+ return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && (!/\.(strm|iso)$/i.test(e.name || "") || !!e.code) && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !Ga(e, "small", !1, t).html).map((e) => e.id))];}-function vq({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, O.jsx)(yq, {+function yq({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, O.jsx)(bq, {assetIds: e,onComplete: t,className: n}) : null;}-function yq({ assetIds: e, onComplete: t, className: n }) {- let r = Ct({- queryKey: DH,- queryFn: ({ signal: e }) => AH(e),- refetchInterval: (e) => NH(e.state.data, !0)- }), [i, a] = (0, D.useState)(null), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(null), l = wt({- mutationFn: (t) => V(EH, {+function bq({ assetIds: e, onComplete: t, className: n }) {+ let r = St({+ queryKey: OH,+ queryFn: ({ signal: e }) => jH(e),+ refetchInterval: (e) => PH(e.state.data, !0)+ }), [i, a] = (0, D.useState)(null), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(null), l = Ct({+ mutationFn: (t) => H(DH, {...t,asset_ids: e}),onSuccess: (e) => {- a(e.job_id || null), H.setQueryData(DH, e), H.invalidateQueries({ queryKey: DH });+ a(e.job_id || null), U.setQueryData(OH, e), U.invalidateQueries({ queryKey: OH });}}), u = r.data;if ((0, D.useEffect)(() => {- u && i && u.job_id === i && !OH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());+ u && i && u.job_id === i && !kH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), U.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());}, [u,i,t- ]), OH(u)) return null;- let d = l.isPending || OH(u), f = l.error ? jn(l.error) : r.error ? MH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);+ ]), kH(u)) return null;+ let d = l.isPending || kH(u), f = l.error ? An(l.error) : r.error ? NH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);return /* @__PURE__ */ (0, O.jsx)("section", {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",- className: dF("@container", n),- children: /* @__PURE__ */ (0, O.jsxs)(Qz, {+ className: GF("@container", n),+ children: /* @__PURE__ */ (0, O.jsxs)($z, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, O.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, O.jsx)(gq, {+ children: /* @__PURE__ */ (0, O.jsx)(_q, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -54629,10 +54632,10 @@ function yq({ assetIds: e, onComplete: t, className: n }) {children: [p," ",- /* @__PURE__ */ (0, O.jsx)(RH, {+ /* @__PURE__ */ (0, O.jsx)(zH, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: Dz,+ trailingIcon: Oz,children: f ? "打开扫描与采集" : "查看处理详情"})]@@ -54641,32 +54644,32 @@ function yq({ assetIds: e, onComplete: t, className: n }) {}//#endregion//#region node_modules/@tanstack/react-table/dist/FlexRender.js-function bq(e) {- return xq(e) || typeof e == "function" || Sq(e);-}function xq(e) {+ return Sq(e) || typeof e == "function" || Cq(e);+}+function Sq(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function Sq(e) {+function Cq(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function Cq(e, t) {- return e == null ? null : bq(e) ? /* @__PURE__ */ D.createElement(e, t) : e;+function wq(e, t) {+ return e == null ? null : xq(e) ? /* @__PURE__ */ D.createElement(e, t) : e;}-function wq(e) {+function Tq(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? Cq(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : Cq(n.cell, t.getContext());+ return r.getIsAggregated?.() ? wq(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : wq(n.cell, t.getContext());}- return "header" in e && e.header ? Cq(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? Cq(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? wq(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? wq(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}//#endregion//#region node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function Tq({ update: e, notify: t, unwatched: n }) {+function Eq({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -54784,7 +54787,7 @@ function Tq({ update: e, notify: t, unwatched: n }) {}//#endregion//#region node_modules/@tanstack/store/dist/atom.js-function Eq(e, t, n) {+function Dq(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -54792,38 +54795,38 @@ function Eq(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var Dq = [], Oq = 0, { link: kq, unlink: Aq, propagate: jq, checkDirty: Mq, shallowPropagate: Nq } = /* @__PURE__ */ Tq({+var Oq = [], kq = 0, { link: Aq, unlink: jq, propagate: Mq, checkDirty: Nq, shallowPropagate: Pq } = /* @__PURE__ */ Eq({update(e) {return e._update();},notify(e) {- Dq[Fq++] = e, e.flags &= -3;+ Oq[Iq++] = e, e.flags &= -3;},unwatched(e) {- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, zq(e));+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, Bq(e));}-}), Pq = 0, Fq = 0, Iq, Lq = 0;-function Rq(e) {+}), Fq = 0, Iq = 0, Lq, Rq = 0;+function zq(e) {try {- ++Lq, e();+ ++Rq, e();} finally {- --Lq || Bq();+ --Rq || Vq();}}-function zq(e) {+function Bq(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = Aq(n, e);+ for (; n !== void 0;) n = jq(n, e);}-function Bq() {- if (!(Lq > 0)) {- for (; Pq < Fq;) {- let e = Dq[Pq];- Dq[Pq++] = void 0, e.notify();+function Vq() {+ if (!(Rq > 0)) {+ for (; Fq < Iq;) {+ let e = Oq[Fq];+ Oq[Fq++] = void 0, e.notify();}- Pq = 0, Fq = 0;+ Fq = 0, Iq = 0;}}-function Vq(e, t) {+function Hq(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -54832,53 +54835,53 @@ function Vq(e, t) {depsTail: void 0,flags: +!n,get() {- return Iq !== void 0 && kq(i, Iq, Oq), i._snapshot;+ return Lq !== void 0 && Aq(i, Lq, kq), i._snapshot;},subscribe(e) {- let t = Eq(e), n = { current: !1 }, r = Hq(() => {- i.get(), n.current ? (Iq = void 0, t.next?.(i._snapshot)) : n.current = !0;+ let t = Dq(e), n = { current: !1 }, r = Uq(() => {+ i.get(), n.current ? (Lq = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {r.stop();} };},_update(e) {- let a = Iq, o = t?.compare ?? Object.is;- if (n) Iq = i, ++Oq, i.depsTail = void 0;+ let a = Lq, o = t?.compare ?? Object.is;+ if (n) Lq = i, ++kq, 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 {- Iq = a, n && (i.flags &= -5), zq(i);+ Lq = a, n && (i.flags &= -5), Bq(i);}}};return n ? (i.flags = 17, i.get = function() {let e = i.flags;- if (e & 16 || e & 32 && Mq(i.deps, i)) {+ if (e & 16 || e & 32 && Nq(i.deps, i)) {if (i._update()) {let e = i.subs;- e !== void 0 && Nq(e);+ e !== void 0 && Pq(e);}} else e & 32 && (i.flags = e & -33);- return Iq !== void 0 && kq(i, Iq, Oq), i._snapshot;+ return Lq !== void 0 && Aq(i, Lq, kq), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (jq(e), Nq(e), Bq());+ e !== void 0 && (Mq(e), Pq(e), Vq());}}, i;}-function Hq(e) {+function Uq(e) {let t = () => {- let t = Iq;- Iq = n, ++Oq, n.depsTail = void 0, n.flags = 6;+ let t = Lq;+ Lq = n, ++kq, n.depsTail = void 0, n.flags = 6;try {return e();} finally {- Iq = t, n.flags &= -5, zq(n);+ Lq = t, n.flags &= -5, Bq(n);}}, n = {deps: void 0,@@ -54888,17 +54891,17 @@ function Hq(e) {flags: 6,notify() {let e = this.flags;- e & 16 || e & 32 && Mq(this.deps, this) ? t() : this.flags = 2;+ e & 16 || e & 32 && Nq(this.deps, this) ? t() : this.flags = 2;},stop() {- this.flags = 0, this.depsTail = void 0, zq(this);+ this.flags = 0, this.depsTail = void 0, Bq(this);}};return t(), n;}//#endregion//#region node_modules/@tanstack/store/dist/shallow.js-function Uq(e, t) {+function Wq(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) {@@ -54912,18 +54915,18 @@ function Uq(e, t) {return !0;}if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();- let n = Wq(e);- if (n.length !== Wq(t).length) return !1;+ let n = Gq(e);+ if (n.length !== Gq(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 Wq(e) {+function Gq(e) {return Object.keys(e).concat(Object.getOwnPropertySymbols(e));}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var Gq = /* @__PURE__ */ o(((e) => {- var t = v(), n = Gx();+var Kq = /* @__PURE__ */ o(((e) => {+ var t = v(), n = Tx();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -54967,28 +54970,28 @@ var Gq = /* @__PURE__ */ o(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), Kq = /* @__PURE__ */ o(((e, t) => {- t.exports = Gq();-})), qq = Kq();-function Jq(e, t) {+})), qq = /* @__PURE__ */ o(((e, t) => {+ t.exports = Kq();+})), Jq = qq();+function Yq(e, t) {return e === t;}-function Yq(e, t = (e) => e, n) {- let r = n?.compare ?? Jq, i = (0, D.useCallback)((t) => {+function Xq(e, t = (e) => e, n) {+ let r = n?.compare ?? Yq, i = (0, D.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, D.useCallback)(() => e.get(), [e]);- return (0, qq.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, Jq.useSyncExternalStoreWithSelector)(i, a, a, t, r);}//#endregion//#region node_modules/@tanstack/react-table/dist/Subscribe.js-function Xq(e) {- let t = Yq(e.source, e.selector, { compare: Uq });+function Zq(e) {+ let t = Xq(e.source, e.selector, { compare: Wq });return typeof e.children == "function" ? e.children(t) : e.children;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function Zq(e) {+function Qq(e) {let t = e;return Object.defineProperty(e, "state", { get() {return e.get();@@ -54996,7 +54999,7 @@ function Zq(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js-function Qq(e) {+function $q(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -55026,7 +55029,7 @@ function Qq(e) {}};}-function $q(e, t = Object.is) {+function eJ(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -55040,29 +55043,29 @@ function $q(e, t = Object.is) {}//#endregion//#region node_modules/@tanstack/react-table/dist/reactivity.js-function eJ() {- return Qq({- createAtom: Vq,- batch: Rq+function tJ() {+ return $q({+ createAtom: Hq,+ batch: zq});}//#endregion//#region node_modules/@tanstack/table-core/dist/utils.js-function tJ(e, t) {+function nJ(e, t) {return typeof e == "function" ? e(t) : e;}-function nJ(e) {- if (Array.isArray(e)) return e.map(nJ);+function rJ(e) {+ if (Array.isArray(e)) return e.map(rJ);if (e && typeof e == "object") {let t = Object.getPrototypeOf(e);if (t !== Object.prototype && t !== null) return e;- let n = t === null ? iJ() : {}, r = Object.keys(e);+ let n = t === null ? aJ() : {}, 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: nJ(e[i]),+ value: rJ(e[i]),writable: !0});}@@ -55070,7 +55073,7 @@ function nJ(e) {}return e;}-function rJ(e, t) {+function iJ(e, t) {let n = Object.keys(t), r = e;for (let e = 0; e < n.length; e++) {let i = n[e];@@ -55078,53 +55081,53 @@ function rJ(e, t) {}return e;}-function iJ() {+function aJ() {return Object.create(null);}-function aJ(e, t) {+function oJ(e, t) {return Object.prototype.hasOwnProperty.call(e, t);}-function oJ(e, t) {+function sJ(e, t) {return (n) => {- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => tJ(n, e));+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => nJ(n, e));};}-function sJ(e) {+function cJ(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 cJ(e) {+function lJ(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var lJ = 3;-function uJ(e, t) {- return dJ(e, t, lJ);+var uJ = 3;+function dJ(e, t) {+ return fJ(e, t, uJ);}-function dJ(e, t, n) {+function fJ(e, t, n) {if (Object.is(e, t)) return !0;- if (n <= 0 || !sJ(e) || !sJ(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;- let r = cJ(e), i = cJ(t);+ if (n <= 0 || !cJ(e) || !cJ(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;+ let r = lJ(e), i = lJ(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) || !dJ(a[i], o[i], n - 1)) return !1;+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !fJ(a[i], o[i], n - 1)) return !1;}return !0;}-function fJ(e, t, n, r = uJ) {+function pJ(e, t, n, r = dJ) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {- let t = tJ(n, e);+ let t = nJ(n, e);return r(e, t) ? e : t;});}-function pJ(e) {+function Jhe(e) {return e instanceof Function;}-function Jhe(e, t) {+function Yhe(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -55134,7 +55137,7 @@ function Jhe(e, t) {};return r(e), n;}-var Yhe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var Xhe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -55159,7 +55162,7 @@ function hJ({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ..let { schedule: e, untrack: t } = i._reactivity;e(() => t(() => r()));} : void 0 };- return Yhe({+ return Xhe({...a,...o});@@ -55213,13 +55216,13 @@ function yJ(e, t, n, ...r) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function Xhe(e) {+function Zhe(e) {return e.row.getValue(e.column.id);}-function Zhe(e) {+function Qhe(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function Qhe(e) {+function $he(e) {return {table: e.table,column: e.column,@@ -55231,19 +55234,19 @@ function Qhe(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var $he = { assignCellPrototype: (e, t) => {+var ege = { assignCellPrototype: (e, t) => {vJ("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => Xhe(e) },- cell_renderValue: { fn: (e) => Zhe(e) },+ cell_getValue: { fn: (e) => Zhe(e) },+ cell_renderValue: { fn: (e) => Qhe(e) },cell_getContext: {- fn: (e) => Qhe(e),+ fn: (e) => $he(e),memoDeps: (e) => [e]}});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function ege(e) {+function tge(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -55251,7 +55254,7 @@ function ege(e) {}return e._columnPrototype;}-function tge(e, t, n, r) {+function nge(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -55271,7 +55274,7 @@ function tge(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = ege(e), u = Object.create(l);+ let l = tge(e), u = Object.create(l);u.accessorFn = c, u.columnDef = i, u.columns = [], u.depth = n, u.id = `${String(s)}`, u.parent = r;let d = e._columnInstanceInitFns;for (let e = 0; e < d.length; e++) d[e](u);@@ -55282,7 +55285,7 @@ function tge(e, t, n, r) {function bJ(e) {return e.getIsVisible?.() ?? !0;}-function nge(e) {+function rge(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}function xJ(e, t) {@@ -55295,31 +55298,31 @@ function SJ(e, t, n, r) {function CJ(e, t) {return e._expandRows?.(t) ?? t;}-function rge(e) {+function ige(e) {e.autoResetExpanded?.();}function wJ(e) {e.autoResetPageIndex?.();}-function ige(e) {+function age(e) {e.autoResetSorting?.();}-function age(e) {+function oge(e) {e.autoResetCellSelection?.();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function oge(e) {+function sge(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function sge(e) {+function cge(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());return xJ(e.table, t);}return [e];}-function cge(e) {+function lge(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -55334,50 +55337,50 @@ function TJ(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 = tge(e, o, r, n), c = o;+ let o = t[a], s = nge(e, o, r, n), c = o;s.columns = c.columns ? TJ(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function lge(e) {+function uge(e) {return TJ(e, e.options.columns);}-function uge(e) {+function dge(e) {return e.getAllColumns().flatMap((e) => e.getFlatColumns());}-function dge(e) {- let t = iJ(), n = e.getAllFlatColumns();+function fge(e) {+ let t = aJ(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function fge(e) {+function pge(e) {return xJ(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));}-function pge(e) {- let t = iJ(), n = e.getAllLeafColumns();+function mge(e) {+ let t = aJ(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.id] = r;}return t;}-function mge(e, t) {+function hge(e, t) {return e.getAllFlatColumnsById()[t];}//#endregion//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var hge = {+var gge = {assignColumnPrototype: (e, t) => {vJ("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => oge(e),+ fn: (e) => sge(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => sge(e),+ fn: (e) => cge(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -55390,23 +55393,23 @@ var hge = {constructTableAPIs: (e) => {_J("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => cge(e),+ fn: () => lge(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => lge(e),+ fn: () => uge(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => uge(e),+ fn: () => dge(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => dge(e),+ fn: () => fge(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => fge(e),+ fn: () => pge(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -55415,16 +55418,16 @@ var hge = {]},table_getAllLeafColumnsById: {- fn: () => pge(e),+ fn: () => mge(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => mge(e, t) }+ table_getColumn: { fn: (t) => hge(e, t) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function gge(e) {+function _ge(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -55433,7 +55436,7 @@ function gge(e) {return e._headerPrototype;}function EJ(e, t, n) {- let r = gge(e), i = Object.create(r);+ let r = _ge(e), i = Object.create(r);i.colSpan = 0, i.column = t, i.depth = n.depth, i.headerGroup = null, i.id = n.id ?? t.id, i.index = n.index, i.isPlaceholder = !!n.isPlaceholder, i.placeholderId = n.placeholderId, i.rowSpan = 0, i.subHeaders = [];let a = e._headerInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);@@ -55449,14 +55452,14 @@ function DJ(e, t = 1) {}return n;}-function _ge(e, t) {+function vge(e, t) {return e ? `${e}_${t}` : String(t);}-function vge(e, t, n, r) {+function yge(e, t, n, r) {let i = e ?? "";return t && (i = i ? `${i}_${t}` : String(t)), n && (i = i ? `${i}_${n}` : n), r && (i = i ? `${i}_${r}` : r), i;}-function yge(e, t) {+function bge(e, t) {let n = 0;for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;@@ -55464,7 +55467,7 @@ function yge(e, t) {function OJ(e, t, n, r, i, a) {let o = {depth: t,- id: _ge(r, t),+ id: vge(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -55473,9 +55476,9 @@ function OJ(e, t, n, r, i, a) {if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);else {let e = EJ(n, u, {- id: vge(r, t, u.id, a.id),+ id: yge(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(yge(s, u)) : void 0,+ placeholderId: d ? String(bge(s, u)) : void 0,depth: t,index: s.length});@@ -55505,7 +55508,7 @@ function kJ(e) {} else n.rowSpan = 1;}}-function bge(e, t, n, r) {+function xge(e, t, n, r) {let i = DJ(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);for (let e = 0; e < t.length; e++) e in t && (s[e] = EJ(n, t[e], {depth: i,@@ -55519,24 +55522,24 @@ function AJ(e, t) {for (let n = 0; n < e.subHeaders.length; n++) AJ(e.subHeaders[n], t);t.push(e);}-function xge(e) {+function Sge(e) {let t = [];return AJ(e, t), t;}-function Sge(e) {+function Cge(e) {return {column: e.column,header: e,table: e.column.table};}-function Cge(e) {- return bge(e.getAllColumns(), SJ(e, nge(e), (e) => e.id), e);-}function wge(e) {- return [...e.getHeaderGroups()].reverse();+ return xge(e.getAllColumns(), SJ(e, rge(e), (e) => e.id), e);}function Tge(e) {+ return [...e.getHeaderGroups()].reverse();+}+function Ege(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -55544,7 +55547,7 @@ function Tge(e) {}return n;}-function Ege(e) {+function Dge(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -55554,15 +55557,15 @@ function Ege(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var Dge = {+var Oge = {assignHeaderPrototype: (e, t) => {vJ("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => xge(e),+ fn: (e) => Sge(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => Sge(e),+ fn: (e) => Cge(e),memoDeps: (e) => [e.column.table.options.columns]}});@@ -55570,7 +55573,7 @@ var Dge = {constructTableAPIs: (e) => {_J("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => Cge(e),+ fn: () => wge(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -55581,15 +55584,15 @@ var Dge = {]},table_getFooterGroups: {- fn: () => wge(e),+ fn: () => Tge(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => Tge(e),+ fn: () => Ege(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => Ege(e),+ fn: () => Dge(e),memoDeps: () => [e.getHeaderGroups()]}});@@ -55597,7 +55600,7 @@ var Dge = {};//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function Oge(e) {+function kge(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -55605,102 +55608,102 @@ function Oge(e) {}return e._rowPrototype;}-var kge = (e, t, n, r, i, a, o) => {- let s = Oge(e), c = Object.create(s);- c._displayIndexCache = -1, c._uniqueValuesCache = iJ(), c._valuesCache = iJ(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];+var Age = (e, t, n, r, i, a, o) => {+ let s = kge(e), c = Object.create(s);+ c._displayIndexCache = -1, c._uniqueValuesCache = aJ(), c._valuesCache = aJ(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];let l = e._rowInstanceInitFns;for (let e = 0; e < l.length; e++) l[e](c);return c;};//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js-function Age() {+function jge() {return (e) => hJ({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => jge(e, e.options.data),+ fn: () => Mge(e, e.options.data),onAfterUpdate: mJ(() => {- rge(e), wJ(e), ige(e), age(e);+ ige(e), wJ(e), age(e), oge(e);})});}function jJ(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = kge(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);+ let s = n[o], c = Age(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 = jJ(e, t, c.originalSubRows, r + 1, c)));}return a;}-function jge(e, t) {+function Mge(e, t) {let n = {rows: [],flatRows: [],- rowsById: iJ()+ rowsById: aJ()};return n.rows = jJ(e, n, t), n;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function Mge(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Age()(e)), e._rowModels.coreRowModel();-}function Nge(e) {- return e.getCoreRowModel();+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? jge()(e)), e._rowModels.coreRowModel();}function Pge(e) {- return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();+ return e.getCoreRowModel();}function Fge(e) {- return e.getFilteredRowModel();+ return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();}function Ige(e) {- return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();+ return e.getFilteredRowModel();}function Lge(e) {- return e.getGroupedRowModel();+ return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();}function Rge(e) {- return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();+ return e.getGroupedRowModel();}function zge(e) {- return e.getSortedRowModel();+ return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();}function Bge(e) {- return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();+ return e.getSortedRowModel();}function Vge(e) {- return e.getExpandedRowModel();+ return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();}function Hge(e) {- return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();+ return e.getExpandedRowModel();}function Uge(e) {+ return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();+}+function Wge(e) {return e.getPaginatedRowModel();}//#endregion//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var Wge = { constructTableAPIs: (e) => {+var Gge = { constructTableAPIs: (e) => {_J("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => Mge(e) },- table_getPreFilteredRowModel: { fn: () => Nge(e) },- table_getFilteredRowModel: { fn: () => Pge(e) },- table_getPreGroupedRowModel: { fn: () => Fge(e) },- table_getGroupedRowModel: { fn: () => Ige(e) },- table_getPreSortedRowModel: { fn: () => Lge(e) },- table_getSortedRowModel: { fn: () => Rge(e) },- table_getPreExpandedRowModel: { fn: () => zge(e) },- table_getExpandedRowModel: { fn: () => Bge(e) },- table_getPrePaginatedRowModel: { fn: () => Vge(e) },- table_getPaginatedRowModel: { fn: () => Hge(e) },- table_getRowModel: { fn: () => Uge(e) }+ table_getCoreRowModel: { fn: () => Nge(e) },+ table_getPreFilteredRowModel: { fn: () => Pge(e) },+ table_getFilteredRowModel: { fn: () => Fge(e) },+ table_getPreGroupedRowModel: { fn: () => Ige(e) },+ table_getGroupedRowModel: { fn: () => Lge(e) },+ table_getPreSortedRowModel: { fn: () => Rge(e) },+ table_getSortedRowModel: { fn: () => zge(e) },+ table_getPreExpandedRowModel: { fn: () => Bge(e) },+ table_getExpandedRowModel: { fn: () => Vge(e) },+ table_getPrePaginatedRowModel: { fn: () => Hge(e) },+ table_getPaginatedRowModel: { fn: () => Uge(e) },+ table_getRowModel: { fn: () => Wge(e) }});} };//#endregion//#region node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function Gge(e) {+function Kge(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -55708,8 +55711,8 @@ function Gge(e) {}return e._cellPrototype;}-function Kge(e, t, n) {- let r = Gge(n), i = Object.create(r);+function qge(e, t, n) {+ let r = Kge(n), i = Object.create(r);i.column = e, i.id = `${t.id}_${e.id}`, i.row = t;let a = n._cellInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);@@ -55717,40 +55720,40 @@ function Kge(e, t, n) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js-function qge(e) {+function Jge(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function Jge(e) {+function Yge(e) {let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? CJ(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function Yge(e, t) {- if (aJ(e._valuesCache, t)) return e._valuesCache[t];+function Xge(e, t) {+ if (oJ(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 Xge(e, t) {- if (aJ(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];+function Zge(e, t) {+ if (oJ(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return n.columnDef.getUniqueValues ? (e._uniqueValuesCache[t] = n.columnDef.getUniqueValues(e.original, e.index), e._uniqueValuesCache[t]) : (e._uniqueValuesCache[t] = [e.getValue(t)], e._uniqueValuesCache[t]);}-function Zge(e, t) {+function Qge(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function Qge(e) {- return Jhe(e.subRows, (e) => e.subRows);-}function $ge(e) {+ return Yhe(e.subRows, (e) => e.subRows);+}+function e_e(e) {let t = e.getCoreRowModel().flatRows, n = 0;for (let e = 0; e < t.length; e++) n = Math.max(n, t[e].depth);return n;}-function e_e(e) {+function t_e(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function t_e(e) {+function n_e(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -55759,71 +55762,71 @@ function t_e(e) {}return t.reverse();}-function n_e(e) {+function r_e(e) {let t = e.table.getAllLeafColumns(), n = e._cellsCache;n ||= e._cellsCache = /* @__PURE__ */ new WeakMap();let r = Array(t.length);for (let i = 0; i < t.length; i++) {let a = t[i], o = n.get(a);- o || (o = Kge(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = qge(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function r_e(e) {- let t = iJ(), n = e.getAllCells();+function i_e(e) {+ let t = aJ(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];t[r.column.id] = r;}return t;}-function i_e(e, t, n, r) {+function a_e(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function a_e(e, t, n) {+function o_e(e, t, n) {let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();return r;}//#endregion//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js-var o_e = {+var s_e = {assignRowPrototype: (e, t) => {vJ("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => qge(e) },+ row_getDisplayIndex: { fn: (e) => Jge(e) },row_getAllCellsByColumnId: {- fn: (e) => r_e(e),+ fn: (e) => i_e(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => n_e(e),+ fn: (e) => r_e(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => Qge(e),+ fn: (e) => $ge(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => e_e(e) },- row_getParentRows: { fn: (e) => t_e(e) },- row_getUniqueValues: { fn: (e, t) => Xge(e, t) },- row_getValue: { fn: (e, t) => Yge(e, t) },- row_renderValue: { fn: (e, t) => Zge(e, t) }+ row_getParentRow: { fn: (e) => t_e(e) },+ row_getParentRows: { fn: (e) => n_e(e) },+ row_getUniqueValues: { fn: (e, t) => Zge(e, t) },+ row_getValue: { fn: (e, t) => Xge(e, t) },+ row_renderValue: { fn: (e, t) => Qge(e, t) }});},constructTableAPIs: (e) => {_J("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => Jge(e),+ fn: () => Yge(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => i_e(t, e, n, r) },- table_getRow: { fn: (t, n) => a_e(e, t, n) },+ table_getRowId: { fn: (t, n, r) => a_e(t, e, n, r) },+ table_getRow: { fn: (t, n) => o_e(e, t, n) },table_getMaxSubRowDepth: {- fn: () => $ge(e),+ fn: () => e_e(e),memoDeps: () => [e.getCoreRowModel()]}});@@ -55847,8 +55850,8 @@ function NJ(e, t, n = (e, t) => e === t) {MJ(e, t, n), e._reactivity.commit?.();});}-function s_e(e) {- let t = nJ(e.initialState);+function c_e(e) {+ let t = rJ(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);for (let r = 0; r < n.length; r++) {@@ -55859,7 +55862,7 @@ function s_e(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function c_e(e, t) {+function l_e(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -55892,20 +55895,20 @@ function c_e(e, t) {});}function PJ(e, t, n) {- let r = c_e(e, tJ(t, e.options));+ let r = l_e(e, nJ(t, e.options));e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && NJ(e, r.state ?? null);}//#endregion//#region node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var l_e = {- coreCellsFeature: $he,- coreColumnsFeature: hge,- coreHeadersFeature: Dge,- coreRowModelsFeature: Wge,- coreRowsFeature: o_e,+var u_e = {+ coreCellsFeature: ege,+ coreColumnsFeature: gge,+ coreHeadersFeature: Oge,+ coreRowModelsFeature: Gge,+ coreRowsFeature: s_e,coreTablesFeature: { constructTableAPIs: (e) => {_J("coreTablesFeature", e, {- table_reset: { fn: () => s_e(e) },+ table_reset: { fn: () => c_e(e) },table_setOptions: { fn: (t) => PJ(e, t) }});} }@@ -55933,17 +55936,17 @@ function IJ(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function u_e(e, t = {}) {+function d_e(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;- }), nJ(t);+ }), rJ(t);}-function d_e(e) {+function f_e(e) {let t = e.features.coreReactivityFeature, { aggregationFns: n, columnMeta: r, coreRowModel: i, expandedRowModel: a, facetedMinMaxValues: o, facetedRowModel: s, facetedUniqueValues: c, filterFns: l, filterMeta: u, filteredRowModel: d, groupedRowModel: f, paginatedRowModel: p, sortFns: m, sortedRowModel: h, tableMeta: g, ..._ } = e.features, v = {_cellInstanceInitFns: [],_columnInstanceInitFns: [],_features: {- ...l_e,+ ...u_e,..._},_headerGroupInstanceInitFns: [],@@ -55981,7 +55984,7 @@ function d_e(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = u_e(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = d_e(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -55989,14 +55992,14 @@ function d_e(e) {let e = v.options, t = e.atoms?.[n], r = t ? t.get() : v.baseAtoms[n].get();if (t) return r;let i = e.state;- if (i && aJ(i, n)) {+ if (i && oJ(i, n)) {let e = i[n];return e === void 0 ? v.initialState[n] : e;}return r;}, { debugName: `table/atoms/${n}` });}- MJ(v), v.store = Zq(t.createReadonlyAtom(() => {+ MJ(v), v.store = Qq(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -56004,7 +56007,7 @@ function d_e(e) {}return e;}, {- compare: Uq,+ compare: Wq,debugName: "table/store"}));for (let e = 0; e < y.length; e++) {@@ -56015,12 +56018,12 @@ function d_e(e) {}//#endregion//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function f_e() {- return iJ();+function p_e() {+ return aJ();}function LJ(e, t) {zJ(e) && VJ(e.table, (n) => {- let r = Object.assign(iJ(), n), i = t ?? !yJ(e, "getIsVisible", RJ), a = e.getLeafColumns();+ let r = Object.assign(aJ(), n), i = t ?? !yJ(e, "getIsVisible", RJ), a = e.getLeafColumns();for (let e = 0; e < a.length; e++) {let t = a[e];zJ(t) && (r[t.id] = i);@@ -56032,17 +56035,17 @@ function RJ(e) {let t = e.table.atoms.columnVisibility?.get();if (!t) return !0;let n = e.columns;- return n.length ? n.some((e) => yJ(e, "getIsVisible", RJ)) : (aJ(t, e.id) ? t[e.id] : void 0) ?? !0;+ return n.length ? n.some((e) => yJ(e, "getIsVisible", RJ)) : (oJ(t, e.id) ? t[e.id] : void 0) ?? !0;}function zJ(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function p_e(e) {+function m_e(e) {return (t) => {LJ(e, t.target.checked);};}-function m_e(e) {+function h_e(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];@@ -56051,28 +56054,28 @@ function m_e(e) {return SJ(e.table, n, (e) => e.column.id, () => yJ(e, "getVisibleCellsByColumnId", BJ));}function BJ(e) {- let t = iJ(), n = e.getAllCells();+ let t = aJ(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];yJ(r.column, "getIsVisible", RJ) && (t[r.column.id] = r);}return t;}-function h_e(e) {+function g_e(e) {return e.getAllFlatColumns().filter((e) => yJ(e, "getIsVisible", RJ));}-function g_e(e) {+function __e(e) {return e.getAllLeafColumns().filter((e) => yJ(e, "getIsVisible", RJ));}function VJ(e, t) {- fJ(e, "columnVisibility", t);+ pJ(e, "columnVisibility", t);}-function __e(e, t) {- VJ(e, t ? iJ() : Object.assign(iJ(), nJ(e.initialState.columnVisibility ?? {})));+function v_e(e, t) {+ VJ(e, t ? aJ() : Object.assign(aJ(), rJ(e.initialState.columnVisibility ?? {})));}function HJ(e, t) {t ??= !UJ(e);- let n = iJ(), r = e.getAllLeafColumns();+ let n = aJ(), r = e.getAllLeafColumns();for (let e = 0; e < r.length; e++) {let i = r[e];n[i.id] = t || !zJ(i);@@ -56082,10 +56085,10 @@ function HJ(e, t) {function UJ(e) {return !e.getAllLeafColumns().some((e) => !yJ(e, "getIsVisible", RJ));}-function v_e(e) {+function y_e(e) {return e.getAllLeafColumns().some((e) => yJ(e, "getIsVisible", RJ));}-function y_e(e) {+function b_e(e) {return (t) => {HJ(e, t.target.checked);};@@ -56094,10 +56097,10 @@ function y_e(e) {//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.jsvar WJ = {getInitialState: (e) => ({- columnVisibility: f_e(),+ columnVisibility: p_e(),...e}),- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: oJ("columnVisibility", e) }),+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: sJ("columnVisibility", e) }),assignColumnPrototype: (e, t) => {vJ("columnVisibilityFeature", e, t, {column_getIsVisible: {@@ -56109,14 +56112,14 @@ var WJ = {]},column_getCanHide: { fn: (e) => zJ(e) },- column_getToggleVisibilityHandler: { fn: (e) => p_e(e) },+ column_getToggleVisibilityHandler: { fn: (e) => m_e(e) },column_toggleVisibility: { fn: (e, t) => LJ(e, t) }});},assignRowPrototype: (e, t) => {vJ("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => m_e(e),+ fn: (e) => h_e(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -56132,7 +56135,7 @@ var WJ = {constructTableAPIs: (e) => {_J("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => h_e(e),+ fn: () => g_e(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -56142,7 +56145,7 @@ var WJ = {]},table_getVisibleLeafColumns: {- fn: () => g_e(e),+ fn: () => __e(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -56152,11 +56155,11 @@ var WJ = {]},table_setColumnVisibility: { fn: (t) => VJ(e, t) },- table_resetColumnVisibility: { fn: (t) => __e(e, t) },+ table_resetColumnVisibility: { fn: (t) => v_e(e, t) },table_toggleAllColumnsVisible: { fn: (t) => HJ(e, t) },table_getIsAllColumnsVisible: { fn: () => UJ(e) },- table_getIsSomeColumnsVisible: { fn: () => v_e(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => y_e(e) }+ table_getIsSomeColumnsVisible: { fn: () => y_e(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => b_e(e) }});}}, GJ = 0, KJ = 10;@@ -56166,21 +56169,21 @@ function qJ() {pageSize: KJ};}-function b_e(e) {+function x_e(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {if ((e.atoms.pagination?.get()?.pageIndex ?? GJ) === GJ) return;XJ(e, !0);}}function JJ(e, t) {- fJ(e, "pagination", t);+ pJ(e, "pagination", t);}-function x_e(e, t) {- JJ(e, t ? qJ() : nJ(e.initialState.pagination ?? qJ()));+function S_e(e, t) {+ JJ(e, t ? qJ() : rJ(e.initialState.pagination ?? qJ()));}function YJ(e, t) {JJ(e, (n) => {- let r = tJ(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+ let r = nJ(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@@ -56190,12 +56193,12 @@ function YJ(e, t) {function XJ(e, t) {YJ(e, t ? GJ : e.initialState.pagination?.pageIndex ?? GJ);}-function S_e(e, t) {+function C_e(e, t) {ZJ(e, t ? KJ : e.initialState.pagination?.pageSize ?? KJ);}function ZJ(e, t) {JJ(e, (e) => {- let n = Math.max(1, tJ(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);+ let n = Math.max(1, nJ(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);return {...e,pageIndex: i,@@ -56203,31 +56206,31 @@ function ZJ(e, t) {};});}-function C_e(e) {+function w_e(e) {let t = QJ(e), n = [];return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}-function w_e(e) {+function T_e(e) {return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}-function T_e(e) {+function E_e(e) {let t = e.atoms.pagination?.get()?.pageIndex ?? GJ, n = QJ(e);return n === -1 || n !== 0 && t < n - 1;}-function E_e(e) {+function D_e(e) {let t = e.atoms.pagination?.get()?.pageIndex ?? GJ, n = QJ(e);return Number.isFinite(n) && n > 0 && t < n - 1;}-function D_e(e) {+function O_e(e) {return YJ(e, (e) => e - 1);}-function O_e(e) {+function k_e(e) {return YJ(e, (e) => e + 1);}-function k_e(e) {+function A_e(e) {return YJ(e, 0);}-function A_e(e) {+function j_e(e) {let t = QJ(e);if (!(!Number.isFinite(t) || t <= 0)) return YJ(e, t - 1);}@@ -56250,44 +56253,44 @@ var eY = {...e.pagination}}),- getDefaultTableOptions: (e) => ({ onPaginationChange: oJ("pagination", e) }),+ getDefaultTableOptions: (e) => ({ onPaginationChange: sJ("pagination", e) }),constructTableAPIs: (e) => {_J("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => b_e(e) },+ table_autoResetPageIndex: { fn: () => x_e(e) },table_setPagination: { fn: (t) => JJ(e, t) },- table_resetPagination: { fn: (t) => x_e(e, t) },+ table_resetPagination: { fn: (t) => S_e(e, t) },table_setPageIndex: { fn: (t) => YJ(e, t) },table_resetPageIndex: { fn: (t) => XJ(e, t) },table_setPageSize: { fn: (t) => ZJ(e, t) },table_getPageCount: { fn: () => QJ(e) },- table_resetPageSize: { fn: (t) => S_e(e, t) },- table_getPageOptions: { fn: () => C_e(e) },- table_getCanPreviousPage: { fn: () => w_e(e) },- table_getCanNextPage: { fn: () => T_e(e) },- table_getCanLastPage: { fn: () => E_e(e) },- table_previousPage: { fn: () => D_e(e) },- table_nextPage: { fn: () => O_e(e) },- table_firstPage: { fn: () => k_e(e) },- table_lastPage: { fn: () => A_e(e) },+ table_resetPageSize: { fn: (t) => C_e(e, t) },+ table_getPageOptions: { fn: () => w_e(e) },+ table_getCanPreviousPage: { fn: () => T_e(e) },+ table_getCanNextPage: { fn: () => E_e(e) },+ table_getCanLastPage: { fn: () => D_e(e) },+ table_previousPage: { fn: () => O_e(e) },+ table_nextPage: { fn: () => k_e(e) },+ table_firstPage: { fn: () => A_e(e) },+ table_lastPage: { fn: () => j_e(e) },table_getRowCount: { fn: () => $J(e) }});}};//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function j_e() {- return iJ();+function M_e() {+ return aJ();}function tY(e, t) {e.options.onRowSelectionChange?.(t);}-function M_e(e, t) {- e._lastSelectedRowId = null, tY(e, t ? iJ() : Object.assign(iJ(), nJ(e.initialState.rowSelection ?? {})));+function N_e(e, t) {+ e._lastSelectedRowId = null, tY(e, t ? aJ() : Object.assign(aJ(), rJ(e.initialState.rowSelection ?? {})));}function nY(e, t, n) {e._lastSelectedRowId = null, tY(e, (r) => {- if (t = t === void 0 ? !yJ(e, "getIsAllRowsSelected", aY) : t, n?.deselectAll && !t) return iJ();- let i = Object.assign(iJ(), r), a = e.getPreGroupedRowModel().flatRows;+ if (t = t === void 0 ? !yJ(e, "getIsAllRowsSelected", aY) : t, n?.deselectAll && !t) return aJ();+ let i = Object.assign(aJ(), r), a = e.getPreGroupedRowModel().flatRows;if (t) {let e = /* @__PURE__ */ new Map();a.forEach((t) => {@@ -56302,38 +56305,38 @@ function nY(e, t, n) {function rY(e, t, n) {e._lastSelectedRowId = null, tY(e, (r) => {let i = t === void 0 ? !yJ(e, "getIsAllPageRowsSelected", oY) : t;- if (n?.deselectAll && !i) return iJ();- let a = Object.assign(iJ(), r);+ if (n?.deselectAll && !i) return aJ();+ let a = Object.assign(aJ(), r);return e.getRowModel().rows.forEach((t) => {mY(a, t.id, i, !0, e, !0);}), a;});}-function N_e(e) {+function P_e(e) {return e.getCoreRowModel();}-function P_e(e) {+function F_e(e) {let t = e.getCoreRowModel();return yJ(e, "getIsSomeRowsSelected", sY) ? vY(t, e) : {rows: [],flatRows: [],- rowsById: iJ()+ rowsById: aJ()};}-function F_e(e) {+function I_e(e) {let t = e.getFilteredRowModel();return yJ(e, "getIsSomeRowsSelected", sY) ? vY(t, e) : {rows: [],flatRows: [],- rowsById: iJ()+ rowsById: aJ()};}-function I_e(e) {+function L_e(e) {let t = e.getSortedRowModel();return yJ(e, "getIsSomeRowsSelected", sY) ? vY(t, e) : {rows: [],flatRows: [],- rowsById: iJ()+ rowsById: aJ()};}function iY(e) {@@ -56359,15 +56362,15 @@ function oY(e) {function sY(e) {return yJ(e, "getSelectedRowIds", iY).length > 0;}-function L_e(e) {+function R_e(e) {return e.getPaginatedRowModel().flatRows.filter((e) => dY(e)).some((e) => lY(e) || yJ(e, "getIsSomeSelected", uY));}-function R_e(e) {+function z_e(e) {return (t) => {nY(e, t.target.checked);};}-function z_e(e) {+function B_e(e) {return (t) => {rY(e, t.target.checked);};@@ -56376,7 +56379,7 @@ function cY(e, t, n) {let r = lY(e);tY(e.table, (i) => {t = t === void 0 ? !r : t;- let a = Object.assign(iJ(), i);+ let a = Object.assign(aJ(), i);return mY(a, e.id, t, (n?.selectChildren ?? !0) && pY(e), e.table), !t && n?.deselectParents && gY(a, e), a;});}@@ -56386,7 +56389,7 @@ function lY(e) {function uY(e) {return bY(e) === "some";}-function B_e(e) {+function V_e(e) {return bY(e) === "all";}function dY(e) {@@ -56401,22 +56404,22 @@ function pY(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function V_e(e, t) {+function H_e(e, t) {let n = dY(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 && pY(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !H_e(e, s, o, t)) && cY(e, o, t), a._lastSelectedRowId = e.id;+ (!(a.options.enableRowRangeSelection !== !1 && s !== null && pY(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !U_e(e, s, o, t)) && cY(e, o, t), a._lastSelectedRowId = e.id;};}-function H_e(e, t, n, r) {+function U_e(e, t, n, r) {let i = r?.selectChildren ?? !0, a = e.table, o = a.getRowsInDisplayOrder(), s = a.getPrePaginatedRowModel().rowsById[t] ?? a.getCoreRowModel().rowsById[t];if (!s) return !1;let c = s.getDisplayIndex(), l = e.getDisplayIndex(), u = o[c], d = o[l];if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !pY(s) || !pY(e)) return !1;let f = Math.min(c, l), p = Math.max(c, l);return tY(a, (e) => {- let t = Object.assign(iJ(), e);+ let t = Object.assign(aJ(), e);for (let e = f; e <= p; e++) {let s = o[e];dY(s) && pY(s) && (mY(t, s.id, n, i, a), !n && r?.deselectParents && gY(t, s));@@ -56465,14 +56468,14 @@ function _Y(e, t, n, r) {let e = _Y(o.subRows, t, n, r);if (s) {let t = Object.create(Object.getPrototypeOf(o));- rJ(t, o), t.subRows = e, i.push(t);+ iJ(t, o), t.subRows = e, i.push(t);}} else s && i.push(o);}return i;}function vY(e, t) {- let n = [], r = iJ(), i = t.atoms.rowSelection?.get() ?? {};+ let n = [], r = aJ(), i = t.atoms.rowSelection?.get() ?? {};return {rows: _Y(e.rows, i, n, r),flatRows: n,@@ -56480,7 +56483,7 @@ function vY(e, t) {};}function yY(e, t) {- return !!(aJ(t, e.id) && t[e.id]);+ return !!(oJ(t, e.id) && t[e.id]);}function bY(e) {if (!e.subRows.length) return !1;@@ -56505,11 +56508,11 @@ var xY = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: j_e(),+ rowSelection: M_e(),...e}),getDefaultTableOptions: (e) => ({- onRowSelectionChange: oJ("rowSelection", e),+ onRowSelectionChange: sJ("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableRowRangeSelection: !0,@@ -56532,7 +56535,7 @@ var xY = {]},row_getIsAllSubRowsSelected: {- fn: (e) => B_e(e),+ fn: (e) => V_e(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -56542,26 +56545,26 @@ var xY = {row_getCanSelect: { fn: (e) => dY(e) },row_getCanSelectSubRows: { fn: (e) => fY(e) },row_getCanMultiSelect: { fn: (e) => pY(e) },- row_getToggleSelectedHandler: { fn: (e, t) => V_e(e, t) }+ row_getToggleSelectedHandler: { fn: (e, t) => H_e(e, t) }});},constructTableAPIs: (e) => {_J("rowSelectionFeature", e, {table_setRowSelection: { fn: (t) => tY(e, t) },- table_resetRowSelection: { fn: (t) => M_e(e, t) },+ table_resetRowSelection: { fn: (t) => N_e(e, t) },table_toggleAllRowsSelected: { fn: (t, n) => nY(e, t, n) },table_toggleAllPageRowsSelected: { fn: (t, n) => rY(e, t, n) },- table_getPreSelectedRowModel: { fn: () => N_e(e) },+ table_getPreSelectedRowModel: { fn: () => P_e(e) },table_getSelectedRowModel: {- fn: () => P_e(e),+ fn: () => F_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => F_e(e),+ fn: () => I_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => I_e(e),+ fn: () => L_e(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {@@ -56591,42 +56594,42 @@ var xY = {memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => L_e(e),+ fn: () => R_e(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => R_e(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => z_e(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => z_e(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => B_e(e) }});}-}, U_e = /([0-9]+)/gm;+}, W_e = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function W_e(e) {+function G_e(e) {let t = Object.assign((e, n, r) => {let i = e.getValue(r), a = n.getValue(r), o = t.resolveDataValue;return o && (i = o(i), a = o(a)), t.sort(i, a, e, n, r);}, e);return t;}-var SY = /* @__PURE__ */ W_e({ sort: (e, t) => G_e(e, t) });-function G_e(e, t) {+var SY = /* @__PURE__ */ G_e({ sort: (e, t) => K_e(e, t) });+function K_e(e, t) {return e === t ? 0 : e > t ? 1 : -1;}//#endregion//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function K_e() {+function q_e() {return [];}function CY(e, t) {- fJ(e, "sorting", t);+ pJ(e, "sorting", t);}function wY(e, t) {- CY(e, t ? [] : nJ(e.initialState.sorting ?? []));+ CY(e, t ? [] : rJ(e.initialState.sorting ?? []));}-function q_e(e) {+function J_e(e) {e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && wY(e);}function TY(e) {@@ -56637,7 +56640,7 @@ function TY(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(U_e).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split(W_e).length > 1)) {r = "alphanumeric";break;}@@ -56658,7 +56661,7 @@ function EY(e) {}function DY(e) {let t = e.table._rowModelFns.sortFns;- return pJ(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? TY(e) : t?.[e.columnDef.sortFn] ?? SY;+ return Jhe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? TY(e) : t?.[e.columnDef.sortFn] ?? SY;}function OY(e, t, n) {let r = AY(e, n && MY(e)), i = t !== void 0;@@ -56696,13 +56699,13 @@ function NY(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function J_e(e) {+function Y_e(e) {return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}-function Y_e(e) {+function X_e(e) {CY(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);}-function X_e(e) {+function Z_e(e) {let t = jY(e);return (n) => {t && OY(e, void 0, MY(e) ? e.table.options.isMultiSortEvent?.(n) : !1);@@ -56713,7 +56716,7 @@ function X_e(e) {var PY = {getInitialState(e) {return {- sorting: K_e(),+ sorting: q_e(),...e};},@@ -56726,7 +56729,7 @@ var PY = {getDefaultTableOptions(e) {return {autoResetSorting: !1,- onSortingChange: oJ("sorting", e),+ onSortingChange: sJ("sorting", e),isMultiSortEvent: (e) => e.shiftKey};},@@ -56741,43 +56744,43 @@ var PY = {column_getCanSort: { fn: (e) => jY(e) },column_getCanMultiSort: { fn: (e) => MY(e) },column_getIsSorted: { fn: (e) => NY(e) },- column_getSortIndex: { fn: (e) => J_e(e) },- column_clearSorting: { fn: (e) => Y_e(e) },- column_getToggleSortingHandler: { fn: (e) => X_e(e) }+ column_getSortIndex: { fn: (e) => Y_e(e) },+ column_clearSorting: { fn: (e) => X_e(e) },+ column_getToggleSortingHandler: { fn: (e) => Z_e(e) }});},constructTableAPIs(e) {_J("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => q_e(e) },+ table_autoResetSorting: { fn: () => J_e(e) },table_setSorting: { fn: (t) => CY(e, t) },table_resetSorting: { fn: (t) => wY(e, t) }});}-}, Z_e = typeof window > "u" ? D.useEffect : D.useLayoutEffect;+}, Q_e = typeof window > "u" ? D.useEffect : D.useLayoutEffect;function FY(e, t) {let [{ table: n, rootSource: r }] = (0, D.useState)(() => {- let t = d_e({+ let t = f_e({...e,features: {- coreReactivityFeature: eJ(),+ coreReactivityFeature: tJ(),...e.features}});- return t.Subscribe = ((e) => Xq({+ return t.Subscribe = ((e) => Zq({...e,source: e.source ?? t.store- })), t.FlexRender = wq, {+ })), t.FlexRender = Tq, {table: t,- rootSource: $q(t.store, Uq)+ rootSource: eJ(t.store, Wq)};}), i = n;PJ(i, (t) => ({...t,...e}), { syncExternalState: !1 });- let a = i.options.state, o = r.get(), s = Yq(r, t, { compare: Uq });- return Z_e(() => {- r.markCommitted(o), NJ(i, a ?? null, Uq);+ let a = i.options.state, o = r.get(), s = Xq(r, t, { compare: Wq });+ return Q_e(() => {+ r.markCommitted(o), NJ(i, a ?? null, Wq);}), (0, D.useMemo)(() => ({...n,options: e,@@ -56792,17 +56795,17 @@ function FY(e, t) {//#region src/react/boardui/components/base/table/table.tsxfunction IY({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("div", {- className: dF("w-full overflow-x-auto", n),+ className: GF("w-full overflow-x-auto", n),children: /* @__PURE__ */ (0, O.jsx)(Wue, {ref: r,...i,- className: dF("bui-table", e === "sm" && "bui-table-sm", t)+ className: GF("bui-table", e === "sm" && "bui-table-sm", t)})});}//#endregion//#region src/react/catalog-grid/catalog-table-columns.ts-var LY = "peach.catalog-column-widths.v1", RY = "peach.catalog-column-visibility.v1", Q_e = {+var LY = "peach.catalog-column-widths.v1", RY = "peach.catalog-column-visibility.v1", $_e = {select: {width: 48,min: 48,@@ -56868,13 +56871,13 @@ var LY = "peach.catalog-column-widths.v1", RY = "peach.catalog-column-visibilitymin: 144,max: 560}-}, $_e = {+}, eve = {code: !1,o: !1,new: !1,played: !1,release: !1-}, eve = {+}, tve = {select: "选择",name: "作品",dur: "时长",@@ -56904,11 +56907,11 @@ var LY = "peach.catalog-column-widths.v1", RY = "peach.catalog-column-visibility"release"].map((e) => ({id: e,- label: eve[e],- ...Q_e[e],+ label: tve[e],+ ...$_e[e],flex: e === "name",required: e === "select" || e === "name",- visible: $_e[e] !== !1+ visible: eve[e] !== !1}));function BY(e) {try {@@ -56918,7 +56921,7 @@ function BY(e) {return {};}}-function tve() {+function nve() {let e = BY(LY), t = BY(RY);return zY.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);@@ -56940,23 +56943,23 @@ function HY() {return !1;}}-function nve(e) {+function rve(e) {try {e ? localStorage.setItem(VY, "1") : localStorage.removeItem(VY);} catch {}}-var rve = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var ive = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";//#endregion//#region src/catalog-content-skeleton.tsfunction UY(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 ive(e) {- let t = tve(), 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>${UY(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>` + (HY() ? rve : "") + `<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 ave(e) {+ let t = nve(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${B(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${UY(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${B(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (HY() ? ive : "") + `<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 WY(e, t) {- return wM() === "list" ? ive(e) : _s(e, {+ return lM() === "list" ? ave(e) : _s(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t@@ -56978,7 +56981,7 @@ function GY({ 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 && UG(e, r) && n(r.dataset.key);+ r && WG(e, r) && n(r.dataset.key);} : void 0,children: r ? /* @__PURE__ */ (0, O.jsx)(Hue, {className: "relative min-w-0",@@ -56991,7 +56994,7 @@ function GY({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {//#endregion//#region src/react/components/select.tsxfunction KY({ prefix: e, renderValue: t, size: n, ...r }) {- if (e == null) return /* @__PURE__ */ (0, O.jsx)(tW, {+ if (e == null) return /* @__PURE__ */ (0, O.jsx)(nW, {...r,size: n,renderValue: t@@ -57001,7 +57004,7 @@ function KY({ prefix: e, renderValue: t, size: n, ...r }) {className: `shrink-0 text-text-tertiary ${i}`,children: e}), typeof t == "function" ? t(n) : t ?? n.defaultChildren] });- return /* @__PURE__ */ (0, O.jsx)(tW, {+ return /* @__PURE__ */ (0, O.jsx)(nW, {...r,size: n,renderValue: a@@ -57024,7 +57027,7 @@ function qY({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {}),/* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-wrap items-center justify-center gap-1",- children: Ln(e, t).map((t, r) => /* @__PURE__ */ (0, O.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, O.jsx)("span", {+ children: In(e, t).map((t, r) => /* @__PURE__ */ (0, O.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,className: "px-1 text-body-2-regular text-text-tertiary",children: "…"@@ -57063,10 +57066,10 @@ function JY({ label: e, options: t, sorting: n, onChange: r }) {desc: i?.desc ?? !1}]);},- children: [/* @__PURE__ */ (0, O.jsx)(nW, {+ children: [/* @__PURE__ */ (0, O.jsx)(rW, {id: "default",children: "默认顺序"- }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(nW, {+ }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(rW, {id: e.id,children: e.label}, e.id))]@@ -57074,7 +57077,7 @@ function JY({ label: e, options: t, sorting: n, onChange: r }) {variant: "secondary",iconOnly: !0,disabled: !i,- leadingIcon: yW,+ leadingIcon: bW,"data-icon-state": i?.desc ? "b" : "a","aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,onClick: () => {@@ -57111,7 +57114,7 @@ function YY({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记20,50,100- ].map((e) => /* @__PURE__ */ (0, O.jsx)(nW, {+ ].map((e) => /* @__PURE__ */ (0, O.jsx)(rW, {id: String(e),children: `每页 ${e} ${a}`}, e))@@ -57142,7 +57145,7 @@ function ZY(e, t) {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function ave(e, t) {+function ove(e, t) {let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {let r = e[t];return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];@@ -57174,7 +57177,7 @@ function ave(e, t) {}};}-function ove(e, t, n, r = {}) {+function sve(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]))@@ -57193,7 +57196,7 @@ function QY(e, t, n) {min: e.min ?? 96,max: e.max ?? (e.flex ? 2e3 : 800),flex: e.flex- }])), [t]), i = ave(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = ove(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");+ }])), [t]), i = ove(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = sve(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");return {...i,...a,@@ -57213,7 +57216,7 @@ function QY(e, t, n) {}//#endregion//#region src/react/catalog-grid/catalog-column-widths.ts-function sve() {+function cve() {return QY("catalog", zY, {widths: LY,visibility: RY@@ -57221,7 +57224,7 @@ function sve() {}//#endregion//#region src/react/components/rating-stars.tsx-var $Y = tB("star");+var $Y = nB("star");function eX({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, O.jsx)("span", {@@ -57262,9 +57265,9 @@ function eX({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {}//#endregion//#region src/react/catalog-grid/catalog-table-controls.tsx-function cve({ item: e, actions: t }) {- let { rating: n } = e, r = qH(), i = (0, D.useRef)(0), a = JM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- GM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {+function lve({ item: e, actions: t }) {+ let { rating: n } = e, r = JH(), i = (0, D.useRef)(0), a = vM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ hM(e.id, { rating: t }), U.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -57280,7 +57283,7 @@ function cve({ item: e, actions: t }) {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0- }), r.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ }), r.error ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -57325,18 +57328,18 @@ function nX({ preferences: e, label: t = "表格" }) {onClick: () => i(!0),children: "显示列"}),- /* @__PURE__ */ (0, O.jsx)(bR, {+ /* @__PURE__ */ (0, O.jsx)(xR, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "bottom end",offset: 4,- className: `${pV} overscroll-contain`,- children: /* @__PURE__ */ (0, O.jsxs)(BH, {+ className: `${mV} overscroll-contain`,+ children: /* @__PURE__ */ (0, O.jsxs)(VH, {"aria-label": `${t}显示列`,className: "flex w-48 flex-col gap-2 outline-none",children: [- a.map((t) => /* @__PURE__ */ (0, O.jsx)(bV, {+ a.map((t) => /* @__PURE__ */ (0, O.jsx)(xV, {isSelected: e.visibility[t.id] !== !1,onChange: (n) => e.change((e) => ({...e,@@ -57383,7 +57386,7 @@ function iX(e, t) {}function aX({ table: e, label: t, page: n = !1, disabled: r = !1 }) {let { all: i, some: a } = iX(e, n);- return /* @__PURE__ */ (0, O.jsx)(bV, {+ return /* @__PURE__ */ (0, O.jsx)(xV, {slot: null,"aria-label": t,isDisabled: r,@@ -57397,12 +57400,12 @@ function aX({ table: e, label: t, page: n = !1, disabled: r = !1 }) {}//#endregion//#region src/react/catalog-grid/catalog-list-page.tsx-var lve = IJ({+var uve = IJ({rowSortingFeature: PY,rowSelectionFeature: xY,rowPaginationFeature: eY,columnVisibilityFeature: WJ-}), uve = [+}), dve = [{id: "name",label: "名称"@@ -57440,8 +57443,8 @@ var lve = IJ({label: "观看时间"}], oX = /* @__PURE__ */ new Map();-function dve(e) {- let t = sve(), n = VG(), r = OM(e.filters || {}, !1), [i] = (0, D.useState)(() => {+function fve(e) {+ let t = cve(), n = HG(), r = dM(e.filters || {}, !1), [i] = (0, D.useState)(() => {let t = new URLSearchParams(r);return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;}), [a, o] = (0, D.useState)(() => oX.get(i) || {@@ -57454,7 +57457,7 @@ function dve(e) {(0, D.useEffect)(() => {oX.set(i, a);}, [i, a]);- let l = c.pageIndex * c.pageSize, u = s[0], d = Ct({+ let l = c.pageIndex * c.pageSize, u = s[0], d = St({queryKey: ["catalog-grid","table",@@ -57464,7 +57467,7 @@ function dve(e) {c,s],- placeholderData: ve,+ placeholderData: _e,queryFn: async ({ signal: t }) => {let n = {limit: c.pageSize,@@ -57476,11 +57479,11 @@ function dve(e) {total: 0};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);+ return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), V(`/api/items?${i}`, t);}- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : _q(f, e.layout.javImage), [h] = (0, D.useState)(HY);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : vq(f, e.layout.javImage), [h] = (0, D.useState)(HY);(0, D.useEffect)(() => {- d.data && !d.isPlaceholderData && nve(m.length > 0);+ d.data && !d.isPlaceholderData && rve(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -57513,7 +57516,7 @@ function dve(e) {c.pageIndex]);let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = FY({- features: lve,+ features: uve,columns: (0, D.useMemo)(() => {let t = FJ();return t.columns([@@ -57524,7 +57527,7 @@ function dve(e) {label: "全选本页作品",disabled: d.isPlaceholderData}),- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(bV, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(xV, {slot: null,"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,isDisabled: d.isPlaceholderData,@@ -57536,7 +57539,7 @@ function dve(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(fve, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(pve, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -57573,7 +57576,7 @@ function dve(e) {id: "dur",header: "时长",enableSorting: !0,- cell: ({ row: e }) => gn(e.original.duration) || "—"+ cell: ({ row: e }) => hn(e.original.duration) || "—"}),t.display({id: "resolution",@@ -57587,13 +57590,13 @@ function dve(e) {id: "size",header: "体积",enableSorting: !0,- cell: ({ row: e }) => e.original.size == null ? "—" : vn(e.original.size)+ cell: ({ row: e }) => e.original.size == null ? "—" : _n(e.original.size)}),t.accessor((e) => e.rating, {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(cve, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, O.jsx)(lve, {item: t.original,actions: e.actions})@@ -57682,7 +57685,7 @@ function dve(e) {"data-toolbar-actions": "",children: [/* @__PURE__ */ (0, O.jsx)(nX, { preferences: t }), /* @__PURE__ */ (0, O.jsx)(JY, {label: "作品列表",- options: uve,+ options: dve,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -57692,12 +57695,12 @@ function dve(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, O.jsx)(vq, {+ }) : null : /* @__PURE__ */ (0, O.jsx)(yq, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, O.jsx)(bG, {- message: Wt(d.error),+ d.isError ? /* @__PURE__ */ (0, O.jsx)(xG, {+ message: Ut(d.error),onRetry: () => void d.refetch()}) : null,/* @__PURE__ */ (0, O.jsx)(GY, {@@ -57717,42 +57720,42 @@ function dve(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, O.jsxs)(cz, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(lz, {+ children: [/* @__PURE__ */ (0, O.jsxs)(lz, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(uz, {id: e.id,isRowHeader: e.id === "name",allowsSorting: e.column.getCanSort(),...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {className: "flex items-center gap-0.5",- children: [Cq(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, O.jsx)("span", {+ children: [wq(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, O.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, O.jsx)(uV, {})+ children: /* @__PURE__ */ (0, O.jsx)(dV, {})}) : null]}), /* @__PURE__ */ (0, O.jsx)(rX, {preferences: t,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, O.jsx)(lz, {+ }, e.id)), /* @__PURE__ */ (0, O.jsx)(uz, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: t.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, O.jsx)(fz, {+ })] }), /* @__PURE__ */ (0, O.jsx)(pz, {renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsxs)(hz, {+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, O.jsxs)(gz, {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(_z, { children: /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: UY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, O.jsx)(_z, { "data-table-space": "" })]- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, O.jsxs)(hz, {+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, O.jsx)(vz, { children: /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: UY(e.id) } }) }, e.id)), /* @__PURE__ */ (0, O.jsx)(vz, { "data-table-space": "" })]+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, O.jsxs)(gz, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)(_z, { children: Cq(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, O.jsx)(_z, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)(vz, { children: wq(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, O.jsx)(vz, { "data-table-space": "" })]}, e.id))})]})@@ -57768,8 +57771,8 @@ function dve(e) {]});}-function fve({ item: e, props: t, disabled: n }) {- let r = Ka(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 } = $G(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = VG({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, O.jsx)("svg", {+function pve({ item: e, props: t, disabled: n }) {+ let r = Ga(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = eK(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = HG({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })@@ -57794,7 +57797,7 @@ function fve({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, O.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, O.jsx)(xG, {+ r.html ? /* @__PURE__ */ (0, O.jsx)(SG, {artwork: r,relayout: (e) => tl(e, "small")}) : /* @__PURE__ */ (0, O.jsx)("span", { children: "无预览" }),@@ -57849,7 +57852,7 @@ function fve({ item: e, props: t, disabled: n }) {children: [p?.name ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-list-library": "",title: `媒体库:${p.name}`,- children: [/* @__PURE__ */ (0, O.jsx)(LU, { mark: p.icon }), p.name]+ children: [/* @__PURE__ */ (0, O.jsx)(RU, { mark: p.icon }), p.name]}) : null, u]})]})@@ -57859,12 +57862,12 @@ function fve({ item: e, props: t, disabled: n }) {//#endregion//#region src/react/catalog-grid/catalog-grid-page.tsxfunction sX(e) {- let t = DM();- if (e.mode === "items") return /* @__PURE__ */ (0, O.jsx)(mve, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${OM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- return t === "list" && !e.wall ? /* @__PURE__ */ (0, O.jsx)(dve, { ...e }, n) : /* @__PURE__ */ (0, O.jsx)(hve, { ...e }, n);+ let t = uM();+ if (e.mode === "items") return /* @__PURE__ */ (0, O.jsx)(hve, { ...e });+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${dM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, O.jsx)(fve, { ...e }, n) : /* @__PURE__ */ (0, O.jsx)(gve, { ...e }, n);}-function pve({ name: e }) {+function mve({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -57887,8 +57890,8 @@ function cX({ children: e, selectMode: t }) {children: e});}-function mve(e) {- let { actions: t } = e, n = (0, D.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, O.jsx)(sK, {+function hve(e) {+ let { actions: t } = e, n = (0, D.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, O.jsx)(cK, {item: i,variant: r,layout: e.layout,@@ -57907,15 +57910,15 @@ function mve(e) {children: i});}-function hve(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? FM(e) : PM(e), [s] = (0, D.useState)(() => e.wall ? LM(o.queryKey) : void 0), c = s || (i && e.initial ? {+function gve(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Nse(e) : fM(e), [s] = (0, D.useState)(() => e.wall ? Fse(o.queryKey) : void 0), c = s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],offset: 0}],pageParams: [0]- } : void 0), l = Tt({+ } : void 0), l = wt({queryKey: o.queryKey,queryFn: ({ pageParam: e, signal: t }) => o.queryFn({pageParam: e,@@ -57929,7 +57932,7 @@ function hve(e) {(0, D.useEffect)(() => {l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));}, [l.isPending]);- let { tiles: d, pageStarts: f } = (0, D.useMemo)(() => VM(l.data?.pages || [], {+ let { tiles: d, pageStarts: f } = (0, D.useMemo)(() => Lse(l.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -57939,7 +57942,7 @@ function hve(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 || qK(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && RK(e.item) ? [e.item] : []), v = a ? [] : _q(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = yG(l.isPending, e.skeletonHtml), b = (0, D.useRef)(null), x = gve(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 || JK(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && zK(e.item) ? [e.item] : []), v = a ? [] : vq(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = bG(l.isPending, e.skeletonHtml), b = (0, D.useRef)(null), x = _ve(e, l.data, d, f, b);(0, D.useLayoutEffect)(() => {if (!l.data) return;let t = !0;@@ -57966,12 +57969,12 @@ function hve(e) {let C = (0, D.useCallback)((e, t) => n.open(e, t), [n]), w = (0, D.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, D.useCallback)((e) => n.openShort(e), [n]), E = (0, D.useCallback)(async () => {let e = await l.fetchNextPage();if (e.isFetchNextPageError) throw e.error;- }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)(vve, {+ }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)(yve, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, O.jsx)(sK, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, O.jsx)(cK, {item: i.item,grouped: e.groupCollapse !== !1,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",@@ -57989,18 +57992,18 @@ function hve(e) {"data-grid-reveal": y.fading ? "" : void 0,children: [!e.wall && y.layer,- /* @__PURE__ */ (0, O.jsx)(vq, { assetIds: v }),+ /* @__PURE__ */ (0, O.jsx)(yq, { assetIds: v }),(() => {- if (g && e.wall) return /* @__PURE__ */ (0, O.jsx)(lq, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${OM(e.filters || {}, !!e.excludeVertical)}`,+ if (g && e.wall) return /* @__PURE__ */ (0, O.jsx)(uq, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${dM(e.filters || {}, !!e.excludeVertical)}`,items: _,finite: h,hasMore: !!l.hasNextPage,busy: l.isFetchingNextPage,loading: l.isPending || !l.data && l.isFetching,- error: !l.data && !l.isPending ? Wt(l.error) : "",+ error: !l.data && !l.isPending ? Ut(l.error) : "",retry: () => void l.refetch(),- emptyHtml: l.data && !_.length ? mq({+ emptyHtml: l.data && !_.length ? hq({libraryEmpty: !!l.data.pages[0]?.libraryEmpty,matches: m,hasMore: !!l.hasNextPage,@@ -58015,8 +58018,8 @@ function hve(e) {javImage: r.javImage}, h ? "finite" : "explore");if (l.isPending) return null;- if (!l.data) return /* @__PURE__ */ (0, O.jsx)(bG, {- message: Wt(l.error),+ if (!l.data) return /* @__PURE__ */ (0, O.jsx)(xG, {+ message: Ut(l.error),onRetry: () => void l.refetch()});if (!d.length) {@@ -58032,7 +58035,7 @@ function hve(e) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: WM(d, x).map((t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(cX, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, O.jsx)(_ve, {+ children: Bse(d, x).map((t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(cX, { children: t.tiles.map(k) }), t.strip ? /* @__PURE__ */ (0, O.jsx)(vve, {cut: t.strip,props: e,onOpen: T@@ -58073,7 +58076,7 @@ function lX({ entity: e, load: t, enabled: n, children: r }) {} catch (e) {s.current = !0, i.current && l({busy: !1,- error: Wt(e)+ error: Ut(e)});} finally {o.current = !1;@@ -58088,7 +58091,7 @@ function lX({ entity: e, load: t, enabled: n, children: r }) {if (!e) return;let t = new IntersectionObserver((e) => {e.some((e) => e.isIntersecting) && d(!1);- }, { rootMargin: vG });+ }, { rootMargin: yG });return a.current = t, t.observe(e), () => {t.disconnect(), a.current = null;};@@ -58111,12 +58114,12 @@ function lX({ entity: e, load: t, enabled: n, children: r }) {hidden: !!c.error,onClick: () => void d(!0),dangerouslySetInnerHTML: { __html: is(rs) }- }), c.error ? /* @__PURE__ */ (0, O.jsx)(bG, {+ }), c.error ? /* @__PURE__ */ (0, O.jsx)(xG, {message: c.error,onRetry: () => void d(!0)}) : null] });}-function gve(e, t, n, r, i) {+function _ve(e, t, n, r, i) {let [a, o] = (0, D.useState)([]), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(0), u = (0, D.useRef)(0), d = (0, D.useRef)({parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()@@ -58128,7 +58131,7 @@ function gve(e, t, n, r, i) {let r = new AbortController();f.current.push(r);let i = n - 1;- B(`/api/items?${UM(e.filters || {}, l.current)}`, r.signal).then((e) => {+ V(`/api/items?${zse(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];t.length ? c({page: i,@@ -58140,9 +58143,9 @@ function gve(e, t, n, r, i) {}, [t]), (0, D.useLayoutEffect)(() => {if (!s) return;c(null);- let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = HM(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 = Rse(n.length - t, m, p);if (!h.length) return;- let g = RM(s.items, d.current, e.groupCollapse !== !1);+ let g = pM(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, {@@ -58152,7 +58155,7 @@ function gve(e, t, n, r, i) {}]);}, [s]), a;}-function _ve({ cut: e, props: t, onOpen: n }) {+function vve({ cut: e, props: t, onOpen: n }) {let r = (0, D.useRef)(null), { wireDrag: i } = t;return (0, D.useEffect)(() => {r.current && i(r.current);@@ -58168,12 +58171,12 @@ function _ve({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, O.jsx)(pve, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, O.jsx)(mve, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, O.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, O.jsx)(sK, {+ children: e.items.map((e) => /* @__PURE__ */ (0, O.jsx)(cK, {item: e,variant: "short",layout: t.layout,@@ -58189,16 +58192,16 @@ function _ve({ cut: e, props: t, onOpen: n }) {});}function uX(e, t, n) {- return qa(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);+ return Ka(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function vve({ seed: e, layout: t, helpers: n, actions: r }) {+function yve({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, D.useRef)(/* @__PURE__ */ new Map()), a = (0, D.useRef)(t);a.current = t;let o = Qa(e, n.tagLabel), s = (0, D.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => zM(e, t.javImage)).slice(0, 9);+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => mM(e, t.javImage)).slice(0, 9);return i.current = new Map(n.map((e) => [String(e.id), uX(e, t, !0).html])), n.map((e) => String(e.id));}, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = uX(e, t, !1);- return /* @__PURE__ */ (0, O.jsx)(_K, {+ return /* @__PURE__ */ (0, O.jsx)(vK, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -58213,7 +58216,7 @@ function vve({ seed: e, layout: t, helpers: n, actions: r }) {size: "small"}, !1).html,relayoutArt: (e) => tl(e, c),- ratio: QG(e, "grid", t),+ ratio: $G(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -58226,36 +58229,36 @@ function vve({ seed: e, layout: t, helpers: n, actions: r }) {//#endregion//#region src/react/media-sources.tsasync function dX(e) {- await H.fetchQuery({- queryKey: Vn,- queryFn: () => Hn(e)+ await U.fetchQuery({+ queryKey: Bn,+ queryFn: () => Vn(e)});}-var yve = (e) => (e?.sources ?? []).filter((e) => Vt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), bve = "/api/duplicates?limit=120", fX = ["duplicates"], pX = "/api/batch", mX = (e) => B(bve, e), xve = /[\s\-_.()[\]【】/\\]/;-function Sve(e) {+var bve = (e) => (e?.sources ?? []).filter((e) => Bt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), xve = "/api/duplicates?limit=120", fX = ["duplicates"], pX = "/api/batch", mX = (e) => V(xve, e), Sve = /[\s\-_.()[\]【】/\\]/;+function Cve(e) {if (e.length < 2) return "";let t = 0, n = e[0];for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));let r = t;- for (; r > 0 && !xve.test(n[r - 1]);) --r;+ for (; r > 0 && !Sve.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var Cve = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function wve(e) {- await Promise.all([H.fetchQuery({+var wve = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function Tve(e) {+ await Promise.all([U.fetchQuery({queryKey: fX,queryFn: () => mX(e)}), dX(e)]);}-var Tve = {+var Eve = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, Eve = (e, t) => t.filter((t) => e.some((e) => e.location === t)), hX = (e, t) => Eve(e, t).filter((t) => e.some((e) => e.location !== t)), Dve = (e, t) => t.filter((t) => e.some((e) => hX(e.files, [t]).length));-function Ove(e, t) {+}, Dve = (e, t) => t.filter((t) => e.some((e) => e.location === t)), hX = (e, t) => Dve(e, t).filter((t) => e.some((e) => e.location !== t)), Ove = (e, t) => t.filter((t) => e.some((e) => hX(e.files, [t]).length));+function kve(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -58274,12 +58277,12 @@ function Ove(e, t) {}return n;}-function kve(e, t) {+function Ave(e, t) {let n = new Set(t);return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);}-async function Ave(e, t) {- for (let n = 0; n < e.length; n += 200) await V(pX, {+async function jve(e, t) {+ for (let n = 0; n < e.length; n += 200) await H(pX, {ids: e.slice(n, n + 200),operation: t,...t === "dispose" ? { disposal_reason: "duplicate" } : {}@@ -58287,7 +58290,7 @@ async function Ave(e, t) {}//#endregion//#region src/react/media-repair/media-repair.ts-var gX = "/api/media-repair", _X = ["media-repair"], vX = ["media-repair", "libraries"], jve = {+var gX = "/api/media-repair", _X = ["media-repair"], vX = ["media-repair", "libraries"], Mve = {status: "idle",library: "",stage: "",@@ -58299,32 +58302,32 @@ var gX = "/api/media-repair", _X = ["media-repair"], vX = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, yX = (e) => B(gX, e), bX = async (e) => (await B("/api/libraries", e)).libraries || [];-async function Mve(e) {- await Promise.all([H.fetchQuery({+}, yX = (e) => V(gX, e), bX = async (e) => (await V("/api/libraries", e)).libraries || [];+async function Nve(e) {+ await Promise.all([U.fetchQuery({queryKey: _X,queryFn: () => yX(e)- }), H.fetchQuery({+ }), U.fetchQuery({queryKey: vX,queryFn: () => bX(e)})]);}var xX = (e) => Number(e).toLocaleString();-function Nve(e) {+function Pve(e) {if (e.status === "running") {let t = e.total ? `${xX(Math.min(e.checked || 0, e.total))} / ${xX(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${xX(e.repaired)} 部,${xX(e.failed)} 部修不了` : `修好 ${xX(e.repaired)} 部` : "";}-var Pve = (e) => `${xX(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Fve = "/api/quality-goals?limit=200", SX = ["quality-goals"], CX = (e) => B(Fve, e);-async function Ive(e) {- await H.fetchQuery({+var Fve = (e) => `${xX(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Ive = "/api/quality-goals?limit=200", SX = ["quality-goals"], CX = (e) => V(Ive, e);+async function Lve(e) {+ await U.fetchQuery({queryKey: SX,queryFn: () => CX(e)});}-var Lve = (e) => e.has_cover ? ja(e) : `/poster?id=${e.id}&c=4`;+var Rve = (e) => e.has_cover ? Aa(e) : `/poster?id=${e.id}&c=4`;//#endregion//#region src/selection.tsfunction wX(e, t, n, r, i, a = i || !e.has(r)) {@@ -58333,7 +58336,7 @@ function wX(e, t, n, r, i, a = i || !e.has(r)) {}//#endregion//#region src/react/review/review.ts-var Rve = "/api/review", zve = "/api/review/decision", Bve = "/api/review/genre", TX = ["review"], EX = {+var zve = "/api/review", Bve = "/api/review/decision", Vve = "/api/review/genre", TX = ["review"], EX = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -58343,11 +58346,11 @@ var Rve = "/api/review", zve = "/api/review/decision", Bve = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, Vve = Object.keys(EX), Hve = "metadata_fields", DX = (e) => typeof e == "string" && Object.hasOwn(EX, e), Uve = {+}, Hve = Object.keys(EX), Uve = "metadata_fields", DX = (e) => typeof e == "string" && Object.hasOwn(EX, e), Wve = {creator_tags: "creator",western_identity: "creator"};-function Wve(e, t) {+function Gve(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;}@@ -58368,43 +58371,43 @@ function OX(e, t) {}return [...n.values()];}-function Gve(e, t, n) {+function Kve(e, t, n) {return n && OX(e, t).find((e) => e.key === n)?.rows || e;}-function Kve(e, t) {- let n = Rn(e.length, 20), r = zn(t, n);+function qve(e, t) {+ let n = Ln(e.length, 20), r = Rn(t, n);return {page: r,pages: n,rows: e.slice((r - 1) * 20, r * 20)};}-function qve(e) {+function Jve(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 Jve(e, t, n, r, i, a) {+function Yve(e, t, n, r, i, a) {return wX(e, t, n, r, i, a);}-function Yve(e, t) {+function Xve(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}function kX(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}var AX = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function Xve(e, t) {+function Zve(e, t) {let n = kX(e, t), r = AX(e, t);return r ? `${n} · ${r}` : n;}-var Zve = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Qve = (e) => String(e.tags || "").split("|").filter(Boolean), $ve = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function eye(e) {+var Qve = (e) => e.reason || e.evidence || e.note || e.decision_note || "", $ve = (e) => String(e.tags || "").split("|").filter(Boolean), eye = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function tye(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function tye(e, t, n, r) {+function nye(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -58420,12 +58423,12 @@ function tye(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var nye = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", jX = (e) => B(Rve, e);-async function rye(e) {- let t = await V(zve, e);+var rye = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", jX = (e) => V(zve, e);+async function iye(e) {+ let t = await H(Bve, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- H.setQueryData(TX, (t) => t && {+ U.setQueryData(TX, (t) => t && {...t,sections: {...t.sections,@@ -58441,22 +58444,22 @@ async function rye(e) {}return t;}-function iye(e, t) {- return H.getQueryData(TX)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;+function aye(e, t) {+ return U.getQueryData(TX)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;}-var aye = (e, t) => V(Bve, {+var oye = (e, t) => H(Vve, {genre: e,tag: t});-async function oye(e) {- await H.fetchQuery({+async function sye(e) {+ await U.fetchQuery({queryKey: TX,queryFn: () => jX(e)});}-function sye(e, t) {+function cye(e, t) {let n = new Set(t);- n.size && H.setQueryData(TX, (t) => {+ n.size && U.setQueryData(TX, (t) => {if (!t) return t;let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));return i.length === r.length ? t : {@@ -58472,16 +58475,16 @@ function sye(e, t) {};});}-var cye = () => H.invalidateQueries({+var lye = () => U.invalidateQueries({queryKey: TX,exact: !0});-function lye(e, t) {- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Gn(e.fetched_at)} 的缓存` : e?.error || t;+function uye(e, t) {+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Wn(e.fetched_at)} 的缓存` : e?.error || t;}//#endregion//#region src/react/data-cleanup/links.ts-var uye = "/api/links", MX = "/api/links/check", NX = "/api/links/prune", PX = ["links"], FX = ["links", "check"], IX = ["links", "prune"], dye = {+var dye = "/api/links", MX = "/api/links/check", NX = "/api/links/prune", PX = ["links"], FX = ["links", "check"], IX = ["links", "prune"], fye = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",@@ -58492,23 +58495,23 @@ async function LX(e) {if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var RX = (e) => B(uye, e), zX = (e) => V(MX, { status_only: !0 }, "POST", e), fye = ({ retry: e, checkId: t }) => LX(V(MX, e ? {+var RX = (e) => V(dye, e), zX = (e) => H(MX, { status_only: !0 }, "POST", e), pye = ({ retry: e, checkId: t }) => LX(H(MX, e ? {retry: e,check_id: t-} : { restart: !0 })), BX = (e) => B(NX, e), pye = ({ checkId: e, ids: t }) => LX(V(NX, {+} : { restart: !0 })), BX = (e) => V(NX, e), mye = ({ checkId: e, ids: t }) => LX(H(NX, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), VX = (e) => Number(e || 0).toLocaleString(), mye = (e) => `已删除 ${VX(e.removed)} 条;${e.marked ? `已隐退女优的 ${VX(e.marked)} 条留作不可点的记录;` : ""}保留 ${VX(e.recovered)} 条未确认失效的链接。`;-function hye(e) {+})), VX = (e) => Number(e || 0).toLocaleString(), hye = (e) => `已删除 ${VX(e.removed)} 条;${e.marked ? `已隐退女优的 ${VX(e.marked)} 条留作不可点的记录;` : ""}保留 ${VX(e.recovered)} 条未确认失效的链接。`;+function gye(e) {let t = e.scope === "retry";return e.total ? `${t ? "已重验" : "已检查"} ${VX(e.checked)} / ${VX(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}//#endregion//#region src/configuration-endpoints.ts-var HX = "/api/configuration", UX = "/api/pick-folder", WX = "/api/settings", GX = "/api/follow/schedule", KX = "/api/feeds/schedule", qX = "/api/thumbnail-jobs", JX = ["settings"], YX = ["follow-schedule"], XX = ["feed-schedule"], ZX = ["thumbnail-jobs"], QX = "/api/media-processing", gye = ["media-processing"], _ye = (e) => B(QX, e), $X = (e) => B(WX, e), vye = (e) => B(GX, e), yye = (e) => B(KX, e), bye = (e) => B(qX, e);-function xye(e = H) {+var HX = "/api/configuration", UX = "/api/pick-folder", WX = "/api/settings", GX = "/api/follow/schedule", KX = "/api/feeds/schedule", qX = "/api/thumbnail-jobs", JX = ["settings"], YX = ["follow-schedule"], XX = ["feed-schedule"], ZX = ["thumbnail-jobs"], QX = "/api/media-processing", _ye = ["media-processing"], vye = (e) => V(QX, e), $X = (e) => V(WX, e), yye = (e) => V(GX, e), bye = (e) => V(KX, e), xye = (e) => V(qX, e);+function Sye(e = U) {return e.fetchQuery({queryKey: JX,queryFn: ({ signal: e }) => $X(e),@@ -58516,21 +58519,21 @@ function xye(e = H) {}).catch(() => null);}function eZ() {- return wt({- mutationFn: (e) => V(WX, e),- onSuccess: (e) => H.setQueryData(JX, e)+ return Ct({+ mutationFn: (e) => H(WX, e),+ onSuccess: (e) => U.setQueryData(JX, e)});}-function Sye() {- return wt({- mutationFn: (e) => V(GX, {+function Cye() {+ return Ct({+ mutationFn: (e) => H(GX, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => H.setQueryData(YX, e)+ onSuccess: (e) => U.setQueryData(YX, e)});}-var Cye = {+var wye = {follow: {url: `${GX}/run`,key: YX@@ -58540,59 +58543,59 @@ var Cye = {key: XX}};-function wye(e) {- let { url: t, key: n } = Cye[e];- return wt({- mutationFn: () => V(t, {}),- onSuccess: (e) => H.setQueryData(n, e)+function Tye(e) {+ let { url: t, key: n } = wye[e];+ return Ct({+ mutationFn: () => H(t, {}),+ onSuccess: (e) => U.setQueryData(n, e)});}-var Tye = (e) => e?.running ? 3e3 : !1;-function Eye() {- return wt({- mutationFn: (e) => V(qX, { mode: e }),- onSuccess: (e) => H.setQueryData(ZX, e)+var Eye = (e) => e?.running ? 3e3 : !1;+function Dye() {+ return Ct({+ mutationFn: (e) => H(qX, { mode: e }),+ onSuccess: (e) => U.setQueryData(ZX, e)});}//#endregion//#region src/react/data-cleanup/organize.ts-var Dye = "/api/organize", Oye = "/api/organize/preview", kye = "/api/organize/apply", Aye = "/api/organize/rollback", tZ = ["organize"], jye = "/api/organize/example", Mye = (e, t, n) => B(`${jye}?${new URLSearchParams({+var Oye = "/api/organize", kye = "/api/organize/preview", Aye = "/api/organize/apply", jye = "/api/organize/rollback", tZ = ["organize"], Mye = "/api/organize/example", Nye = (e, t, n) => V(`${Mye}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), nZ = (e) => B(Dye, e);-async function Nye(e) {- await H.fetchQuery({+})}`, n), nZ = (e) => V(Oye, e);+async function Pye(e) {+ await U.fetchQuery({queryKey: tZ,queryFn: () => nZ(e)});}-var Pye = (e) => V(Oye, e), Fye = (e) => V(UX, { initial: e }), Iye = (e) => e.kind === "apply" ? V(kye, {+var Fye = (e) => H(kye, e), Iye = (e) => H(UX, { initial: e }), Lye = (e) => e.kind === "apply" ? H(Aye, {...e.request,confirm: !0-}) : V(Aye, { confirm: !0 });-async function Lye(e) {- H.setQueryData(tZ, (t) => t && {+}) : H(jye, { confirm: !0 });+async function Rye(e) {+ U.setQueryData(tZ, (t) => t && {...t,templates: e});try {- await V(WX, { organizeTemplates: e });+ await H(WX, { organizeTemplates: e });} catch {}}-var Rye = (e, t) => e && {+var zye = (e, t) => e && {...e,...t-}, zye = /目录模板|分隔符|盘符|`\.`/;-function Bye(e) {+}, Bye = /目录模板|分隔符|盘符|`\.`/;+function Vye(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}var rZ = (e) => Number(e || 0).toLocaleString();-function Vye(e) {+function Hye(e) {let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${rZ(t)}`).join(" · ");return Number(e.counts?.change || 0) ? `${rZ(e.counts.change)} 个文件会改名或移动,${rZ(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function Hye(e) {+function Uye(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {text: t ? `已退回 ${rZ(r)} 个文件${n ? `,${rZ(n)} 行未能退回` : ""}。` : `已整理 ${rZ(r)} 个文件${n ? `,${rZ(n)} 行未能处理` : ""}。`,@@ -58602,127 +58605,127 @@ function Hye(e) {}//#endregion//#region src/react/data-cleanup/orphan-records.ts-var Uye = "/api/orphan-records", Wye = "/api/orphan-records/attach", iZ = ["orphan-records"], Gye = [+var Wye = "/api/orphan-records", Gye = "/api/orphan-records/attach", iZ = ["orphan-records"], Kye = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], aZ = (e) => B(Uye, e), Kye = (e, t) => V(Wye, {+], aZ = (e) => V(Wye, e), qye = (e, t) => H(Gye, {id: e,target: t-}), qye = (e) => V(pX, {+}), Jye = (e) => H(pX, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), Jye = (e) => [+}), Yye = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], Yye = (e) => [...Gye.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Jye(e)].filter(Boolean).join(" · "), oZ = (e) => e ? `${Math.round(e / 60)} 分钟` : "", Xye = (e) => [e.name, oZ(e.duration)].filter(Boolean).join(" · "), sZ = "/api/resource-sync/scan", cZ = "/api/resource-sync/apply", lZ = ["resource-sync", "scan"], uZ = ["resource-sync", "apply"], dZ = (e) => V(sZ, {+], Xye = (e) => [...Kye.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Yye(e)].filter(Boolean).join(" · "), Zye = (e) => e ? `${Math.round(e / 60)} 分钟` : "", Qye = (e) => [e.name, Zye(e.duration)].filter(Boolean).join(" · "), oZ = "/api/resource-sync/scan", sZ = "/api/resource-sync/apply", cZ = ["resource-sync", "scan"], lZ = ["resource-sync", "apply"], uZ = (e) => H(oZ, {background: !0,status_only: !0-}, "POST", e), Zye = () => V(sZ, {+}, "POST", e), $ye = () => H(oZ, {background: !0,restart: !0-}), fZ = (e) => B(cZ, e), Qye = (e) => V(cZ, {+}), dZ = (e) => V(sZ, e), ebe = (e) => H(sZ, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), pZ = (e) => (e?.sources ?? []).some((e) => Bt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function $ye(e) {- pZ(H.getQueryData(Vn)) && await Promise.all([H.fetchQuery({+}), fZ = (e) => (e?.sources ?? []).some((e) => zt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+async function tbe(e) {+ fZ(U.getQueryData(Bn)) && await Promise.all([U.fetchQuery({+ queryKey: cZ,+ queryFn: () => uZ(e)+ }), U.fetchQuery({queryKey: lZ,queryFn: () => dZ(e)- }), H.fetchQuery({- queryKey: uZ,- queryFn: () => fZ(e)})]);}-var ebe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), mZ = (e) => Number(e || 0).toLocaleString(), tbe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", hZ = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), gZ = (e) => e.vanish ? `${mZ(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", _Z = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", nbe = (e) => `将永久删除文件已不在盘上的 ${mZ(hZ(e))} 条记录和 ${mZ(e.empty)} 个空文件夹,并清理 ${mZ(e.cache?.files)} 个闲置缓存。${_Z(e)}${gZ(e)}`, rbe = (e) => `将永久删除文件已不在盘上的 ${mZ(hZ(e))} 条记录(含回收站里的)、${mZ(e.empty)} 个空文件夹,并清理 ${mZ(e.cache?.files)} 个闲置缓存。来源根目录保留。${_Z(e)}${gZ(e)}`, ibe = (e) => e.online ? [- `找不到文件 · 共 ${mZ(e.total)} 项`,- e.vanish ? `${mZ(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${mZ(e.empty)} 个` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${mZ(e.total)} 项`;-function vZ(e) {+var nbe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), pZ = (e) => Number(e || 0).toLocaleString(), rbe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", mZ = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), hZ = (e) => e.vanish ? `${pZ(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", gZ = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", ibe = (e) => `将永久删除文件已不在盘上的 ${pZ(mZ(e))} 条记录和 ${pZ(e.empty)} 个空文件夹,并清理 ${pZ(e.cache?.files)} 个闲置缓存。${gZ(e)}${hZ(e)}`, abe = (e) => `将永久删除文件已不在盘上的 ${pZ(mZ(e))} 条记录(含回收站里的)、${pZ(e.empty)} 个空文件夹,并清理 ${pZ(e.cache?.files)} 个闲置缓存。来源根目录保留。${gZ(e)}${hZ(e)}`, obe = (e) => e.online ? [+ `找不到文件 · 共 ${pZ(e.total)} 项`,+ e.vanish ? `${pZ(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${pZ(e.empty)} 个` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${pZ(e.total)} 项`;+function _Z(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 ? `${mZ(t.length)} 条记录没有删除(${o})` : "",- n ? `${mZ(n)} 个文件夹没有删除` : "",- r.length ? `${mZ(r.length)} 个缓存没有清理` : ""+ t.length ? `${pZ(t.length)} 条记录没有删除(${o})` : "",+ n ? `${pZ(n)} 个文件夹没有删除` : "",+ r.length ? `${pZ(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}-var abe = (e, t) => {- let { rest: n } = vZ(e), r = `已永久删除 ${mZ(e.purged)} 条失效记录和 ${mZ(e.dirs_removed)} 个空文件夹,清理 ${mZ(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${mZ(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${mZ(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+var sbe = (e, t) => {+ let { rest: n } = _Z(e), r = `已永久删除 ${pZ(e.purged)} 条失效记录和 ${pZ(e.dirs_removed)} 个空文件夹,清理 ${pZ(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${pZ(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${pZ(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, obe = "/api/review?counts=1", yZ = ["review", "counts"], sbe = "/api/ads?limit=1", bZ = ["junk-summary"], xZ = "/api/items?state=trash&limit=1", SZ = ["trash-summary"], cbe = [+}, cbe = "/api/review?counts=1", vZ = ["review", "counts"], lbe = "/api/ads?limit=1", yZ = ["junk-summary"], bZ = "/api/items?state=trash&limit=1", xZ = ["trash-summary"], ube = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], CZ = (e) => B(obe, e), wZ = (e) => B(sbe, e), TZ = (e) => {+], SZ = (e) => V(cbe, e), CZ = (e) => V(lbe, e), wZ = (e) => {let t = sessionStorage.getItem("peach.library");- return B(t ? `${xZ}&library=${encodeURIComponent(t)}` : xZ, e);-}, EZ = (e) => Number(e || 0).toLocaleString();-function lbe(e) {+ return V(t ? `${bZ}&library=${encodeURIComponent(t)}` : bZ, e);+}, TZ = (e) => Number(e || 0).toLocaleString();+function dbe(e) {let t = EX, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);return a && i.push(`其余 ${a.toLocaleString()}`), {figure: `${r.toLocaleString()} 条待复核`,meta: i.join(" · ")};}-function ube(e) {+function fbe(e) {if (!e) return "";- let t = cbe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${EZ(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${EZ(e.dismissed_total)}`), t.join(" · ");+ let t = ube.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${TZ(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${TZ(e.dismissed_total)}`), t.join(" · ");}-var dbe = [- [yZ, ({ signal: e }) => CZ(e)],+var pbe = [+ [vZ, ({ signal: e }) => SZ(e)],[SX, ({ signal: e }) => CX(e)],- [SZ, ({ signal: e }) => TZ(e)],+ [xZ, ({ signal: e }) => wZ(e)],[PX, ({ signal: e }) => RX(e)],[FX, ({ signal: e }) => zX(e)],[IX, ({ signal: e }) => BX(e)],[iZ, ({ signal: e }) => aZ(e)]];-async function fbe(e) {- let t = !!location.hash, n = dbe.map(([n, r]) => {- if (t) return H.fetchQuery({+async function mbe(e) {+ let t = !!location.hash, n = pbe.map(([n, r]) => {+ if (t) return U.fetchQuery({queryKey: n,queryFn: () => r({ signal: e })}).catch(() => void 0);- H.getQueryState(n) && H.prefetchQuery({+ U.getQueryState(n) && U.prefetchQuery({queryKey: n,queryFn: r});});await Promise.all([...n,- H.fetchQuery({- queryKey: bZ,- queryFn: () => wZ(e)+ U.fetchQuery({+ queryKey: yZ,+ queryFn: () => CZ(e)}),- H.fetchQuery({+ U.fetchQuery({queryKey: fX,queryFn: () => mX(e)}),- dX(e).then(() => $ye(e)),- jH(e),- Mve(e),- Nye(e)+ dX(e).then(() => tbe(e)),+ MH(e),+ Nve(e),+ Pye(e)]);}//#endregion//#region src/react/feed-new/feed-new.ts-var DZ = (e) => ["feed-new", e ?? "home"], pbe = 8, mbe = 1500;-function hbe(e, t, n) {+var EZ = (e) => ["feed-new", e ?? "home"], hbe = 8, gbe = 1500;+function _be(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -58733,34 +58736,34 @@ function hbe(e, t, n) {setTimeout(e, n);})]);}-async function gbe(e, t, n) {- let r = new URLSearchParams({ limit: String(pA().value.feedLimit) });+async function vbe(e, t, n) {+ let r = new URLSearchParams({ limit: String(sA().value.feedLimit) });e && r.set("entity", String(e));- let i = await R(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await hbe(s, pbe, mbe), {+ let i = await z(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);+ return n && o.length && await _be(s, hbe, gbe), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)};}-var OZ = (e, t, n = !1) => ({- queryKey: DZ(e),- queryFn: () => gbe(e, t, n),+var DZ = (e, t, n = !1) => ({+ queryKey: EZ(e),+ queryFn: () => vbe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1-}), kZ = (e, t) => R("/api/feeds/discovery", {+}), OZ = (e, t) => z("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,ids: [e]})}).then(() => void 0, () => void 0);-async function _be(e) {- H.removeQueries({ queryKey: DZ(null) }), await H.fetchQuery(OZ(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+async function ybe(e) {+ U.removeQueries({ queryKey: EZ(null) }), await U.fetchQuery(DZ(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}//#endregion//#region src/react/entity-page/entity-page.ts-var AZ = [+var kZ = ["loc","creator","tag",@@ -58773,52 +58776,52 @@ var AZ = ["browse","folder","folder_recursive"-], jZ = {+], AZ = {media: "videos",set: 0-}, MZ = (e, t) => [+}, jZ = (e, t) => ["entity",e,t-], vbe = (e, t, n, r) => [+], bbe = (e, t, n, r) => ["entity-items",e,t,n,r-], NZ = (e, t, n, r) => [+], MZ = (e, t, n, r) => ["entity-photos",e,t,n,r-], PZ = (e) => String(e || "").split(",").filter(Boolean), ybe = (e, t) => PZ(e).includes(t);-function FZ(e, t, n, r, i = 0) {+], NZ = (e) => String(e || "").split(",").filter(Boolean), xbe = (e, t) => NZ(e).includes(t);+function PZ(e, t, n, r, i = 0) {let a = new URLSearchParams();- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...PZ(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 AZ) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...NZ(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 kZ) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function IZ(e, t, n, r, i, a, o) {- let s = FZ(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 R(`/api/items?${s}`, a ? { signal: a } : {});+async function FZ(e, t, n, r, i, a, o) {+ let s = PZ(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 z(`/api/items?${s}`, a ? { signal: a } : {});}-var LZ = (e) => {+var IZ = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = FZ(e.kind, e.name, e.filters, t).toString();+ }, n = PZ(e.kind, e.name, e.filters, t).toString();return {- queryKey: vbe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => IZ(e.kind, e.name, e.filters, t, 0, n),+ queryKey: bbe(e.kind, e.name, n, e.revision),+ queryFn: ({ signal: n }) => FZ(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, RZ = (e, t) => ({- queryKey: MZ(e, t),- queryFn: ({ signal: n }) => R(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),+}, LZ = (e, t) => ({+ queryKey: jZ(e, t),+ queryFn: ({ signal: n }) => z(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function bbe(e, t, n, r, i, a) {+function Sbe(e, t, n, r, i, a) {let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;if (i) {let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;@@ -58827,10 +58830,10 @@ function bbe(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 zZ = (e, t, n, r) => ({- queryKey: NZ(e, t, n, r),+var RZ = (e, t, n, r) => ({+ queryKey: MZ(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await R(bbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await z(Sbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -58843,38 +58846,38 @@ var zZ = (e, t, n, r) => ({seed: t[0]?.seed || ""} : void 0,staleTime: Infinity-}), BZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function xbe(e) {+}), zZ = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];+async function Cbe(e) {let { kind: t, name: n } = e;for (let e of ["entity","entity-items","entity-photos"- ]) H.removeQueries({ queryKey: [+ ]) U.removeQueries({ queryKey: [e,t,n] });- e.resolvedEntity?.id && H.setQueryData(MZ(t, n), e.resolvedEntity), await Promise.all([- H.fetchQuery(RZ(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: DZ(Number(t.id)) }), H.fetchQuery(OZ(Number(t.id), e.helpers.feedRowHtml, !0)))),- H.fetchQuery(LZ(e)),- H.fetchInfiniteQuery(zZ(t, n, 0, "")),- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(zZ(t, n, e.media.set, "")) : null+ e.resolvedEntity?.id && U.setQueryData(jZ(t, n), e.resolvedEntity), await Promise.all([+ U.fetchQuery(LZ(t, n)).then((t) => !t || t.error || !t.id ? null : (U.removeQueries({ queryKey: EZ(Number(t.id)) }), U.fetchQuery(DZ(Number(t.id), e.helpers.feedRowHtml, !0)))),+ U.fetchQuery(IZ(e)),+ U.fetchInfiniteQuery(RZ(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? U.fetchInfiniteQuery(RZ(t, n, e.media.set, "")) : null]);}//#endregion//#region src/identity-filter.ts-var VZ = [+var BZ = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], HZ = "mb-4 flex flex-wrap gap-2";-function Sbe(e) {- let t = VZ.some(([t]) => t === e) ? e : "all";- return `<div class="peach-react"><div aria-label="身份分类" class="${HZ}">${VZ.map(([e, n]) => Wo({+], VZ = "mb-4 flex flex-wrap gap-2";+function wbe(e) {+ let t = BZ.some(([t]) => t === e) ? e : "all";+ return `<div class="peach-react"><div aria-label="身份分类" class="${VZ}">${BZ.map(([e, n]) => Wo({variant: e === t ? "primary" : "secondary",size: "small",label: n,@@ -58883,43 +58886,43 @@ function Sbe(e) {}//#endregion//#region src/react/follow/online-vocab.ts-var Cbe = "/api/follow/authors", wbe = "/api/follow/tags", Tbe = (e) => [+var Tbe = "/api/follow/authors", Ebe = "/api/follow/tags", Dbe = (e) => ["follow","authors",e-], Ebe = (e, t) => [+], Obe = (e, t) => ["follow","tags",e,t];-function Dbe(e, t, n) {+function kbe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${Cbe}?${r}`;+ return e && r.set("q", e), `${Tbe}?${r}`;}-function Obe(e, t, n, r) {+function Abe(e, t, n, r) {let i = new URLSearchParams({types: "all",limit: String(n),offset: String(r)});- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${wbe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Ebe}?${i}`;}-var kbe = (e, t, n, r) => B(Dbe(e, t, n), r), Abe = (e, t, n, r, i) => B(Obe(e, t, n, r), i), jbe = "/api/index", UZ = {+var jbe = (e, t, n, r) => V(kbe(e, t, n), r), Mbe = (e, t, n, r, i) => V(Abe(e, t, n, r), i), Nbe = "/api/index", HZ = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, Mbe = {+}, Pbe = {performers: "performer",creators: "creator",studios: "studio",agencies: "agency"-}, WZ = [+}, UZ = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -58929,31 +58932,31 @@ var kbe = (e, t, n, r) => B(Dbe(e, t, n), r), Abe = (e, t, n, r, i) => B(Obe(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], GZ = [+], WZ = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], KZ = {+], GZ = {people: 120,tags: 180-}, qZ = (e) => e !== "tags", JZ = (e) => e === "studios" || e === "agencies";-function YZ(e) {- if (e.kind === "creators" && e.category === "animation") return YZ({+}, KZ = (e) => e !== "tags", qZ = (e) => e === "studios" || e === "agencies";+function JZ(e) {+ if (e.kind === "creators" && e.category === "animation") return JZ({...e,kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? GZ : WZ : e.kind === "performers" && t === "local" ? VZ : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? WZ : UZ : e.kind === "performers" && t === "local" ? BZ : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function XZ(e) {+function YZ(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -58973,54 +58976,54 @@ function XZ(e) {...i && i !== "all" ? { category: i } : {}};}-var ZZ = (e, t, n = "all") => [+var XZ = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function QZ(e, t, n, r, i) {+function ZZ(e, t, n, r, i) {let a = new URLSearchParams({kind: e,limit: String(r),offset: String(i)});- return t && a.set("q", t), n !== "all" && a.set("category", n), `${jbe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${Nbe}?${a}`;}-function $Z(e) {- let t = e.what === "people" || e.what === "online-authors" ? KZ.people : KZ.tags, n = {+function QZ(e) {+ let t = e.what === "people" || e.what === "online-authors" ? GZ.people : GZ.tags, n = {initialPageParam: 0,getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0};switch (e.what) {case "people": return {...n,- queryKey: ZZ(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: n, signal: r }) => B(QZ(e.kind, e.q, e.category || "all", t, n), r)+ queryKey: XZ(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: n, signal: r }) => V(ZZ(e.kind, e.q, e.category || "all", t, n), r)};case "tags": return {...n,- queryKey: ZZ("tags", e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => B(QZ("tags", e.q, e.category, t, n), r)+ queryKey: XZ("tags", e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => V(ZZ("tags", e.q, e.category, t, n), r)};case "online-authors": return {...n,- queryKey: Tbe(e.q),- queryFn: ({ pageParam: n, signal: r }) => kbe(e.q, t, n, r)+ queryKey: Dbe(e.q),+ queryFn: ({ pageParam: n, signal: r }) => jbe(e.q, t, n, r)};case "online-tags": return {...n,- queryKey: Ebe(e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => Abe(e.q, e.category, t, n, r)+ queryKey: Obe(e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => Mbe(e.q, e.category, t, n, r)};}}-async function Nbe(e, t) {- let n = $Z(XZ(YZ(e)));- H.removeQueries({+async function Fbe(e, t) {+ let n = QZ(YZ(JZ(e)));+ U.removeQueries({queryKey: n.queryKey,exact: !0- }), await H.fetchInfiniteQuery({+ }), await U.fetchInfiniteQuery({queryKey: n.queryKey,queryFn: ({ pageParam: e }) => n.queryFn({pageParam: e,@@ -59030,21 +59033,21 @@ async function Nbe(e, t) {getNextPageParam: n.getNextPageParam});}-var Pbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Fbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, eQ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Ibe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Lbe = {+var Ibe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Lbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, $Z = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Rbe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, zbe = {numeric: !0,sensitivity: "base"};-function tQ(e, t) {+function eQ(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Lbe))) {- let e = Sn(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", zbe))) {+ let e = xn(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);a ? a.push(r) : n.set(i, [r]);}return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));}//#endregion//#region src/react/boardui/components/base/badges/chip.tsx-var nQ = fF({+var tQ = KF({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",@@ -59063,16 +59066,16 @@ var nQ = fF({soft: "bg-background-secondary-default text-text-secondary"}});-function rQ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function nQ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, O.jsx)("span", {ref: r,- className: dF(nQ.base, nQ.variant[e], nQ.color[t], n),+ className: GF(tQ.base, tQ.variant[e], tQ.color[t], n),...i});}//#endregion//#region src/react/index/index-people.tsx-function iQ({ html: e, face: t, company: n, big: r }) {+function rQ({ html: e, face: t, company: n, big: r }) {let i = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -59084,18 +59087,18 @@ function iQ({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var Rbe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", zbe = tB("rss");-function aQ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {+var Bbe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Vbe = nB("rss");+function iQ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: YH({+ className: XH({radius: "plain",padding: "none",interactive: !0,- className: `${Rbe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${Bbe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -59104,10 +59107,10 @@ function aQ({ 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, O.jsx)(rQ, {+ children: /* @__PURE__ */ (0, O.jsx)(nQ, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, O.jsx)(zbe, {})+ children: /* @__PURE__ */ (0, O.jsx)(Vbe, {})})}) : null,/* @__PURE__ */ (0, O.jsx)("span", {@@ -59123,24 +59126,24 @@ function aQ({ name: e, readout: t, big: n, children: r, following: i, onPress: a]});}-function oQ({ kind: e, items: t, layout: n, props: r }) {- let i = JZ(e), a = n === "big";+function aQ({ kind: e, items: t, layout: n, props: r }) {+ let i = qZ(e), a = n === "big";return /* @__PURE__ */ (0, O.jsx)("div", {"data-index-grid": "","data-layout": n,"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || Mbe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, O.jsx)(aQ, {+ let n = t.entity_kind || Pbe[e], o = r.personAvatar(t, n, a);+ return /* @__PURE__ */ (0, O.jsx)(iQ, {"data-k": t.k,"data-kind": n,name: t.k,- readout: `${Ibe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${Rbe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, O.jsx)(iQ, {+ children: /* @__PURE__ */ (0, O.jsx)(rQ, {html: o.html,face: o.face,company: i,@@ -59150,14 +59153,14 @@ function oQ({ kind: e, items: t, layout: n, props: r }) {})});}-function Bbe({ items: e, layout: t, props: n }) {+function Hbe({ items: e, layout: t, props: n }) {let r = t === "big";return /* @__PURE__ */ (0, O.jsx)("div", {"data-index-grid": "","data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(aQ, {+ children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(iQ, {"data-follow-author": e.key,"data-kind": "performer",name: e.k,@@ -59166,7 +59169,7 @@ function Bbe({ 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, O.jsx)(iQ, {+ children: /* @__PURE__ */ (0, O.jsx)(rQ, {html: n.authorAvatar(e),company: !1,big: r@@ -59176,8 +59179,8 @@ function Bbe({ items: e, layout: t, props: n }) {}//#endregion//#region src/board-tooltip.ts-var sQ = (e) => e.replace(/\s+/g, " ").trim();-function cQ(e) {+var oQ = (e) => e.replace(/\s+/g, " ").trim();+function sQ(e) {let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;for (; r = t.nextNode();) {let e = r.parentElement;@@ -59185,12 +59188,12 @@ function cQ(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 sQ(n);+ return oQ(n);}-function lQ(e) {+function cQ(e) {let t = e.getBoundingClientRect();if (t.width && t.height) {- if (e.matches("a") && cQ(e) && !uQ(e)) {+ if (e.matches("a") && sQ(e) && !lQ(e)) {let t = document.createRange();t.selectNodeContents(e);let n = t.getBoundingClientRect();@@ -59203,7 +59206,7 @@ function lQ(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 uQ(e) {+function lQ(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);@@ -59214,19 +59217,19 @@ function uQ(e) {}return !1;}-function Vbe() {+function Ube() {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 = lQ(t), r = e.getBoundingClientRect();+ let n = cQ(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"), (cQ(l) !== sQ(n) || uQ(l)) && (i = setTimeout(() => {- t === l && l.isConnected && lQ(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"), (sQ(l) !== oQ(n) || lQ(l)) && (i = setTimeout(() => {+ t === l && l.isConnected && cQ(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) => {@@ -59235,33 +59238,33 @@ function Vbe() {e.key === "Escape" && o();}), document.addEventListener("scroll", (n) => {if (!t || !Do(n, t)) return;- let r = lQ(t);+ let r = cQ(t);t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && a(t) : o();}, !0), window.addEventListener("resize", o);}//#endregion//#region src/board-controls.ts-function dQ(e) {+function uQ(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 fQ = /* @__PURE__ */ new WeakSet();-function Hbe() {- if (fQ.has(document)) return;- fQ.add(document);+var dQ = /* @__PURE__ */ new WeakSet();+function Wbe() {+ if (dQ.has(document)) return;+ dQ.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(dQ), Wbe(e), Ube(e);+ e.querySelectorAll("input[type=range]").forEach(uQ), Kbe(e), Gbe(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]") && dQ(t), e(t));+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && uQ(t), e(t));}).observe(document.body, {subtree: !0,childList: !0}), document.addEventListener("input", (e) => {- e.target instanceof HTMLInputElement && e.target.type === "range" && dQ(e.target);- }), Vbe();+ e.target instanceof HTMLInputElement && e.target.type === "range" && uQ(e.target);+ }), Ube();}-function Ube(e) {+function Gbe(e) {let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-tabs")) return;@@ -59285,15 +59288,15 @@ function Ube(e) {r.observe(e);});}-var pQ = /* @__PURE__ */ new Map();-function Wbe(e) {+var fQ = /* @__PURE__ */ new Map();+function Kbe(e) {let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;e.dataset.boardSegments = "true";let t = document.createElement("span");t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = pQ.get(n) ?? null, i = () => {+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = fQ.get(n) ?? null, i = () => {let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");if (!i || !i.offsetWidth) return;let a = {@@ -59302,7 +59305,7 @@ function Wbe(e) {w: i.offsetWidth,h: i.offsetHeight};- nc(t, r, a, "x"), r = a, pQ.set(n, a);+ nc(t, r, a, "x"), r = a, fQ.set(n, a);};e.addEventListener("change", i);let a = new MutationObserver(i);@@ -59319,8 +59322,8 @@ function Wbe(e) {}//#endregion//#region src/react/photo-lightbox/photo-lightbox.ts-var mQ = "/vendor/swiper/14.3.0/", hQ = null, Gbe = () => hQ ??= Promise.all([new Promise((e, t) => {- let n = `${mQ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var pQ = "/vendor/swiper/14.3.0/", mQ = null, qbe = () => mQ ??= Promise.all([new Promise((e, t) => {+ let n = `${pQ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -59334,11 +59337,11 @@ var mQ = "/vendor/swiper/14.3.0/", hQ = null, Gbe = () => hQ ??= Promise.all([nereturn;}let r = document.createElement("script");- r.src = `${mQ}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${pQ}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 hQ = null, e;+ throw mQ = null, e;});-function Kbe(e, t, n) {+function Jbe(e, t, n) {let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {let e = i();return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);@@ -59359,47 +59362,47 @@ function Kbe(e, t, n) {}};}-var gQ = (e) => {+var hQ = (e) => {let t = Number(e) || 0;- return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : vn(t)).replace(" ", "\xA0") : "大小未知";-}, qbe = (e) => e.asset?.name || e.name || "未命名图片";-function Jbe(e, t) {+ return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : _n(t)).replace(" ", "\xA0") : "大小未知";+}, Ybe = (e) => e.asset?.name || e.name || "未命名图片";+function Xbe(e, t) {let n = e.asset;- if (n) return [wn[n.location ?? ""] || n.location || "来源未知", gQ(n.size)].join(" · ");+ if (n) return [Cn[n.location ?? ""] || n.location || "来源未知", hQ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,- e.size ? gQ(e.size) : ""+ e.size ? hQ(e.size) : ""].filter(Boolean).join(" · ");}//#endregion//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx-var _Q = null, vQ = null, Ybe = 0;-function Xbe() {- return (!vQ || !_Q?.isConnected) && (vQ?.unmount(), _Q = document.createElement("div"), _Q.className = "peach-react", _Q.dataset.photoLightboxHost = "", document.body.append(_Q), vQ = (0, Dt.createRoot)(_Q)), vQ;+var gQ = null, _Q = null, Zbe = 0;+function Qbe() {+ return (!_Q || !gQ?.isConnected) && (_Q?.unmount(), gQ = document.createElement("div"), gQ.className = "peach-react", gQ.dataset.photoLightboxHost = "", document.body.append(gQ), _Q = (0, Et.createRoot)(gQ)), _Q;}-async function yQ(e, t, n) {+async function vQ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await Gbe();+ r = await qbe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = Xbe();- (0, Et.flushSync)(() => i.render(/* @__PURE__ */ (0, O.jsx)(Zbe, {+ let i = Qbe();+ (0, Tt.flushSync)(() => i.render(/* @__PURE__ */ (0, O.jsx)($be, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++Ybe)));+ }, ++Zbe)));}-function bQ() {- vQ && (0, Et.flushSync)(() => vQ.render(null));+function yQ() {+ _Q && (0, Tt.flushSync)(() => _Q.render(null));}-function Zbe({ slides: e, index: t, Swiper: n, host: r }) {+function $be({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, D.useId)(), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (0, D.useRef)(null), [_, v] = (0, D.useState)(t), [y, b] = (0, D.useState)(100), [x, S] = (0, D.useState)({}), [C, w] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, D.useState)(!1), [j, M] = (0, D.useState)({at: t,text: ""@@ -59442,7 +59445,7 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = Kbe(e, a, b);+ i(t, 0), h.current = Jbe(e, a, b);let m = gc(e, f.current, p.current), _ = (e = !1) => {m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();};@@ -59459,16 +59462,16 @@ function Zbe({ 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) : bQ());+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : yQ());};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, D.useLayoutEffect)(() => {- m.current && dQ(m.current);+ m.current && uQ(m.current);}, [y]);- let ee = e[_], N = ee.asset ?? null, te = async (e) => {- if (!N || !r || e.getAttribute("aria-busy") === "true") return;+ let N = e[_], P = N.asset ?? null, ee = async (e) => {+ if (!P || !r || e.getAttribute("aria-busy") === "true") return;let t = _;cc(e), A(!0), M({at: t,@@ -59477,38 +59480,38 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {try {M({at: t,- text: await r.revealSource(N.id)+ text: await r.revealSource(P.id)});} finally {cc(e, !1), A(!1);}- }, P = (e, t) => {+ }, F = (e, t) => {t.naturalWidth && t.naturalHeight && !x[e] && S((n) => ({...n,[e]: [t.naturalWidth, t.naturalHeight]})), h.current?.loaded(t);- }, ne = (t) => {+ }, te = (t) => {C.has(t) || !e[t].thumb || e[t].thumb === e[t].src ? E((e) => new Set(e).add(t)) : w((e) => new Set(e).add(t));- }, F = (e) => h.current?.apply(e);+ }, I = (e) => h.current?.apply(e);return /* @__PURE__ */ (0, O.jsxs)("dialog", {ref: o,"aria-label": "图片浏览","data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), bQ();+ e.preventDefault(), yQ();},onClick: (e) => {let t = e.target;- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && bQ();+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && yQ();},children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: bQ,- dangerouslySetInnerHTML: { __html: L("x") }+ onClick: yQ,+ dangerouslySetInnerHTML: { __html: R("x") }}),/* @__PURE__ */ (0, O.jsxs)("div", {ref: s,@@ -59532,8 +59535,8 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {alt: e.name ?? "",loading: "lazy",referrerPolicy: "no-referrer",- onLoad: (e) => P(t, e.currentTarget),- onError: () => ne(t)+ onLoad: (e) => F(t, e.currentTarget),+ onError: () => te(t)})})}, t))@@ -59543,14 +59546,14 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {type: "button","data-photo-nav": "back","aria-label": "上一张",- dangerouslySetInnerHTML: { __html: L("chevron-left") }+ dangerouslySetInnerHTML: { __html: R("chevron-left") }}),/* @__PURE__ */ (0, O.jsx)("button", {ref: d,type: "button","data-photo-nav": "fwd","aria-label": "下一张",- dangerouslySetInnerHTML: { __html: L("chevron-left") }+ dangerouslySetInnerHTML: { __html: R("chevron-left") }})]}),@@ -59566,7 +59569,7 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {"aria-haspopup": "dialog","aria-label": "图片详情",title: "图片详情",- dangerouslySetInnerHTML: { __html: L("info") }+ dangerouslySetInnerHTML: { __html: R("info") }}),/* @__PURE__ */ (0, O.jsxs)("div", { children: [/* @__PURE__ */ (0, O.jsx)("div", {"data-photo-count": "",@@ -59584,8 +59587,8 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {type: "button","data-zoom-step": "-1","aria-label": "缩小",- onClick: () => F(y - 10),- dangerouslySetInnerHTML: { __html: L("zoom-out") }+ onClick: () => I(y - 10),+ dangerouslySetInnerHTML: { __html: R("zoom-out") }}),/* @__PURE__ */ (0, O.jsx)("input", {ref: m,@@ -59595,14 +59598,14 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {step: "1",value: y,"aria-label": "缩放",- onChange: (e) => F(Number(e.currentTarget.value))+ onChange: (e) => I(Number(e.currentTarget.value))}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-zoom-step": "1","aria-label": "放大",- onClick: () => F(y + 10),- dangerouslySetInnerHTML: { __html: L("zoom-in") }+ onClick: () => I(y + 10),+ dangerouslySetInnerHTML: { __html: R("zoom-in") }}),/* @__PURE__ */ (0, O.jsx)("b", {"data-photo-zoom-readout": "",@@ -59613,15 +59616,15 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-scale": "fit","aria-label": "适应窗口",title: "适应窗口",- onClick: () => F("fit"),- dangerouslySetInnerHTML: { __html: L("maximize") }+ onClick: () => I("fit"),+ dangerouslySetInnerHTML: { __html: R("maximize") }}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-photo-scale": "original","aria-label": "原大小",title: "原大小",- onClick: () => F(100),+ onClick: () => I(100),children: "1:1"})]@@ -59643,18 +59646,18 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: qbe(ee)+ children: Ybe(N)}, _), /* @__PURE__ */ (0, O.jsx)("span", {"data-photo-detail-meta": "",- children: Jbe(ee, x[_])+ children: Xbe(N, x[_])})]}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-photo-reveal": "",- hidden: !N || !r,- onClick: (e) => void te(e.currentTarget),- dangerouslySetInnerHTML: { __html: (k ? ns("正在定位") : L("folder-open")) + "<span>在资源管理器中显示</span>" }+ hidden: !P || !r,+ onClick: (e) => void ee(e.currentTarget),+ dangerouslySetInnerHTML: { __html: (k ? ns("正在定位") : R("folder-open")) + "<span>在资源管理器中显示</span>" }}),/* @__PURE__ */ (0, O.jsx)("span", {"data-photo-status": "",@@ -59685,24 +59688,24 @@ function Zbe({ slides: e, index: t, Swiper: n, host: r }) {}//#endregion//#region src/react/entity-body/entity-body-page.tsx-function Qbe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, O.jsx)($be, {+function exe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, O.jsx)(txe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, O.jsx)(exe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, O.jsx)(rxe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, O.jsx)(nxe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, O.jsx)(axe, {photos: e.photos,props: e}, e.photos.revision) : null;}-var xQ = KZ.people;-function $be({ roster: e, props: t }) {+var bQ = GZ.people;+function txe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, D.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity- }), [n, r]), [a, o] = (0, D.useState)(xQ), s = (0, D.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, D.useCallback)(async () => {- o((e) => e + xQ);+ }), [n, r]), [a, o] = (0, D.useState)(bQ), s = (0, D.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, D.useCallback)(async () => {+ o((e) => e + bQ);}, []);- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(oQ, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(aQ, {kind: e.kind,items: s,layout: e.layout,@@ -59713,8 +59716,8 @@ function $be({ roster: e, props: t }) {enabled: () => !0}, a) : null] });}-function exe(e) {- let t = yG(!e.items, e.skeletonHtml);+function nxe(e) {+ let t = bG(!e.items, e.skeletonHtml);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-grid": "","data-grid-reveal": t.fading ? "" : void 0,@@ -59738,33 +59741,33 @@ function exe(e) {}) : null]});}-var txe = (e) => Array.from({ length: e.n }, (t, n) => ({+var rxe = (e) => Array.from({ length: e.n }, (t, n) => ({sample: !0,code: e.code,position: n + 1,total: e.n,name: `${e.code} 样张 ${n + 1}`,source: e.site_label || "官方样张"-})), SQ = (e) => e.sample === !0, CQ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, wQ = (e) => SQ(e) ? `/sample-thumb?${CQ(e)}` : `/photo-thumb?id=${e.id}`, nxe = (e) => SQ(e) ? {- src: `/sample-image?${CQ(e)}`,- thumb: wQ(e),+})), xQ = (e) => e.sample === !0, SQ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, CQ = (e) => xQ(e) ? `/sample-thumb?${SQ(e)}` : `/photo-thumb?id=${e.id}`, ixe = (e) => xQ(e) ? {+ src: `/sample-image?${SQ(e)}`,+ thumb: CQ(e),name: e.name,asset: null,source: e.source} : {src: `/photo?id=${e.id}`,- thumb: wQ(e),+ thumb: CQ(e),name: e.name || "",asset: e};-function rxe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, D.useMemo)(() => [...e.codeSets.flatMap(txe), ...e.items], [e]), [s, c] = (0, D.useState)(() => /* @__PURE__ */ new Set()), l = (0, D.useCallback)((e) => c((t) => {+function axe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, D.useMemo)(() => [...e.codeSets.flatMap(rxe), ...e.items], [e]), [s, c] = (0, D.useState)(() => /* @__PURE__ */ new Set()), l = (0, D.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, D.useCallback)((e) => {- yQ(e, o.map(nxe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, O.jsx)(ixe, {+ vQ(e, o.map(ixe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, O.jsx)(oxe, {item: e,index: t,lost: s.has(t),@@ -59782,7 +59785,7 @@ function rxe({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(TQ, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(wQ, {label: e.code,title: e.name,meta: [@@ -59794,7 +59797,7 @@ function rxe({ 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, O.jsx)(TQ, {+ m.length && e.total ? /* @__PURE__ */ (0, O.jsx)(wQ, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -59810,7 +59813,7 @@ function rxe({ photos: e, props: t }) {}, e.items.length) : null] });}-function TQ({ label: e, title: t, meta: n }) {+function wQ({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-photo-group": "",children: [@@ -59827,7 +59830,7 @@ function TQ({ label: e, title: t, meta: n }) {]});}-function ixe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function oxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -59836,7 +59839,7 @@ function ixe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {title: a,onClick: () => i(t),children: n ? null : /* @__PURE__ */ (0, O.jsx)("img", {- src: wQ(e),+ src: CQ(e),alt: a,loading: "lazy",decoding: "async",@@ -59847,23 +59850,23 @@ function ixe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {}//#endregion//#region src/react/background-job.ts-var axe = 2e3, oxe = (e) => e, sxe = (e, t) => t;-function EQ(e) {- let { queryKey: t, jobOf: n = oxe, withJob: r = sxe, idlePollMs: i } = e, [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(e);+var sxe = 2e3, cxe = (e) => e, lxe = (e, t) => t;+function TQ(e) {+ let { queryKey: t, jobOf: n = cxe, withJob: r = lxe, idlePollMs: i } = e, [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(e);(0, D.useEffect)(() => {l.current = e;});- let u = Ct({+ let u = St({queryKey: t,queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? axe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? sxe : i ?? !1;}- }), d = wt({+ }), d = Ct({mutationFn: (e) => l.current.start(e),onSuccess: (e) => {- o(!0), c(null), l.current.onStarted?.(e), H.setQueryData(t, (t) => r(t, e)), H.invalidateQueries({+ o(!0), c(null), l.current.onStarted?.(e), U.setQueryData(t, (t) => r(t, e)), U.invalidateQueries({queryKey: t,exact: !0});@@ -59883,20 +59886,20 @@ function EQ(e) {}//#endregion//#region src/react/follow-feed/follow-check.ts-var DQ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function cxe(e, t) {- return t ? DQ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];+var EQ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);+function uxe(e, t) {+ return t ? EQ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}//#endregion//#region src/react/follow-feed/follow-check-button.tsx-function lxe({ sources: e, report: t }) {- let n = DQ(e), [r, i] = (0, D.useState)(""), { running: a, start: o } = EQ({- queryKey: sr,- queryFn: ({ signal: e }) => Br(e),- start: (e) => Ur(e),- onError: (e) => i(jn(e)),+function dxe({ sources: e, report: t }) {+ let n = EQ(e), [r, i] = (0, D.useState)(""), { running: a, start: o } = TQ({+ queryKey: or,+ queryFn: ({ signal: e }) => zr(e),+ start: (e) => Hr(e),+ onError: (e) => i(An(e)),onFinish: (e) => {- e.status === "failed" && i(e.error || "检查失败"), li(), H.invalidateQueries({ queryKey: ["follow-feed"] }), t(e);+ e.status === "failed" && i(e.error || "检查失败"), ci(), U.invalidateQueries({ queryKey: ["follow-feed"] }), t(e);}}), s = a || o.isPending;return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -59904,12 +59907,12 @@ function lxe({ sources: e, report: t }) {children: [/* @__PURE__ */ (0, O.jsx)(q, {size: "small",disabled: !n.length,- ...rB(s),+ ...iB(s),onClick: () => {n.length && !s && (i(""), o.mutate(n));},children: "检查更新"- }), r ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ }), r ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",children: r}) : null]@@ -59917,26 +59920,26 @@ function lxe({ sources: e, report: t }) {}//#endregion//#region src/react/follow-feed/follow-card.tsx-var uxe = (e) => Number(e) > 0;-function OQ({ name: e, actions: t, children: n, ...r }) {+var fxe = (e) => Number(e) > 0;+function DQ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, O.jsx)("a", {...r,- href: tn("creator", e),+ href: en("creator", e),onClick: (n) => {n.stopPropagation(), !(n.button || n.ctrlKey || n.metaKey || n.shiftKey || n.altKey) && (n.preventDefault(), t.openAuthor(e));},children: n});}-var kQ = ({ provider: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var OQ = ({ provider: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: CW(e) }+ dangerouslySetInnerHTML: { __html: wW(e) }});-function dxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function pxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, D.useState)(!1), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(null);return (0, D.useEffect)(() => {c(!1);- }, [o]), s ? /* @__PURE__ */ (0, O.jsx)(kQ, { provider: i }) : /* @__PURE__ */ (0, O.jsx)("img", {+ }, [o]), s ? /* @__PURE__ */ (0, O.jsx)(OQ, { provider: i }) : /* @__PURE__ */ (0, O.jsx)("img", {src: l ? t : e,alt: "",loading: "lazy",@@ -59955,8 +59958,8 @@ function dxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function fxe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Ri(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) => VW(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? Bi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Hi({+function mxe(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Li(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => HW(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? zi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = Vi({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -59964,7 +59967,7 @@ function fxe(e) {limit: 9}), S = (0, D.useRef)(x.faces);S.current = x.faces;- let C = fK({+ let C = pK({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -59972,9 +59975,9 @@ function fxe(e) {w.current = C.onPointerLeave;let T = (0, D.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), E = OW(u, n, i), k = wW(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = jW(u, i), ee = AW(t, u), N = u.status === "saved", te = (e) => {+ }, []), E = kW(u, n, i), k = TW(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = MW(u, i), N = jW(t, u), P = u.status === "saved", ee = (e) => {e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));- }, P = (e, t) => {+ }, F = (e, t) => {e.stopPropagation(), t();};return /* @__PURE__ */ (0, O.jsxs)("article", {@@ -59986,8 +59989,8 @@ function fxe(e) {"data-follow-image": d ? "" : void 0,"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,- onClick: te,- onMouseDown: WG,+ onClick: ee,+ onMouseDown: GG,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -60001,7 +60004,7 @@ function fxe(e) {}), /* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, O.jsx)(dxe, {+ p ? /* @__PURE__ */ (0, O.jsx)(pxe, {src: p,fallback: m,width: _?.width,@@ -60009,7 +60012,7 @@ function fxe(e) {provider: A,onLearn: v,retryKey: e.retryKey- }, p) : /* @__PURE__ */ (0, O.jsx)(kQ, { provider: A }),+ }, p) : /* @__PURE__ */ (0, O.jsx)(OQ, { provider: A }),x.faces.length > 1 ? /* @__PURE__ */ (0, O.jsx)("div", {"data-mix-faces": "",hidden: !C.faces.length,@@ -60029,10 +60032,10 @@ function fxe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: CW(u.provider, u.provider_label) }- }), ee ? /* @__PURE__ */ (0, O.jsx)("span", {+ dangerouslySetInnerHTML: { __html: wW(u.provider, u.provider_label) }+ }), N ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-badges": "",- dangerouslySetInnerHTML: { __html: ee }+ dangerouslySetInnerHTML: { __html: N }}) : null]}),l.toggleSelection ? /* @__PURE__ */ (0, O.jsx)("span", {@@ -60040,21 +60043,21 @@ function fxe(e) {onClick: (e) => {e.preventDefault(), e.stopPropagation(), l.toggleSelection?.(u.id, e.shiftKey);},- dangerouslySetInnerHTML: { __html: L("check") }+ dangerouslySetInnerHTML: { __html: R("check") }}) : null,- uxe(u.duration) ? /* @__PURE__ */ (0, O.jsx)("span", {+ fxe(u.duration) ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-duration": "",- children: gn(u.duration)+ children: hn(u.duration)}) : null,o ? null : /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-corner": "",children: [x.isMix ? /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-follow-collection": b,- onClick: (e) => P(e, () => l.openDetail(b)),+ onClick: (e) => F(e, () => l.openDetail(b)),children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: L(x.glyph) }+ dangerouslySetInnerHTML: { __html: R(x.glyph) }}), x.label]}) : null, e.variant === "next" ? null : /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-actions": "",@@ -60062,13 +60065,13 @@ function fxe(e) {/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-follow-save": u.id,- title: N ? "已保存" : "保存到数据库",- "aria-label": N ? "已保存" : "保存到数据库",- disabled: N,+ title: P ? "已保存" : "保存到数据库",+ "aria-label": P ? "已保存" : "保存到数据库",+ disabled: P,"aria-busy": s === "save" || void 0,"aria-disabled": s === "save" || void 0,- onClick: (t) => P(t, () => e.onSave?.(u.id)),- dangerouslySetInnerHTML: { __html: L(N ? "check" : "bookmark-plus") }+ onClick: (t) => F(t, () => e.onSave?.(u.id)),+ dangerouslySetInnerHTML: { __html: R(P ? "check" : "bookmark-plus") }}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -60079,8 +60082,8 @@ function fxe(e) {disabled: u.status === "seen","aria-busy": s === "seen" || void 0,"aria-disabled": s === "seen" || void 0,- onClick: (t) => P(t, () => e.onStatus?.(u.id, "seen")),- dangerouslySetInnerHTML: { __html: L("eye") }+ onClick: (t) => F(t, () => e.onStatus?.(u.id, "seen")),+ dangerouslySetInnerHTML: { __html: R("eye") }}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -60091,8 +60094,8 @@ function fxe(e) {disabled: u.status === "ignored","aria-busy": s === "ignored" || void 0,"aria-disabled": s === "ignored" || void 0,- onClick: (t) => P(t, () => e.onStatus?.(u.id, "ignored")),- dangerouslySetInnerHTML: { __html: L("eye-off") }+ onClick: (t) => F(t, () => e.onStatus?.(u.id, "ignored")),+ dangerouslySetInnerHTML: { __html: R("eye-off") }}),u.status === "seen" || u.status === "ignored" ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -60102,8 +60105,8 @@ function fxe(e) {"aria-label": "恢复未看","aria-busy": s === "new" || void 0,"aria-disabled": s === "new" || void 0,- onClick: (t) => P(t, () => e.onStatus?.(u.id, "new")),- dangerouslySetInnerHTML: { __html: L("rotate-ccw") }+ onClick: (t) => F(t, () => e.onStatus?.(u.id, "new")),+ dangerouslySetInnerHTML: { __html: R("rotate-ccw") }}) : null]})]@@ -60114,7 +60117,7 @@ function fxe(e) {/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-meta": "",children: [- E.entityName ? /* @__PURE__ */ (0, O.jsx)(OQ, {+ E.entityName ? /* @__PURE__ */ (0, O.jsx)(DQ, {name: E.entityName,actions: l,"data-media-avatar": "",@@ -60133,12 +60136,12 @@ function fxe(e) {/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: kW(t, u) + z(k) }+ dangerouslySetInnerHTML: { __html: AW(t, u) + B(k) }}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-byline": "",children: [- E.entityName ? /* @__PURE__ */ (0, O.jsx)(OQ, {+ E.entityName ? /* @__PURE__ */ (0, O.jsx)(DQ, {name: E.entityName,actions: l,"data-follow-author": "",@@ -60151,8 +60154,8 @@ function fxe(e) {}),/* @__PURE__ */ (0, O.jsx)("time", {dateTime: u.published_at || "",- title: FW(u),- children: IW(u)+ title: IW(u),+ children: LW(u)}),E.credited ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-credit": "",@@ -60187,10 +60190,10 @@ function fxe(e) {]});}-var AQ = (0, D.memo)(fxe);+var kQ = (0, D.memo)(mxe);//#endregion//#region src/react/components/use-masonry-grid.ts-function pxe(e, t) {+function hxe(e, t) {let n = (0, D.useRef)(null);return (0, D.useLayoutEffect)(() => {let t = n.current;@@ -60226,27 +60229,27 @@ function pxe(e, t) {}//#endregion//#region src/react/follow-manage/manage-route.ts-var mxe = [+var gxe = ["list","add","feeds"];-function jQ(e) {+function AQ(e) {let t = new URLSearchParams(e), n = t.get("tab");return {- tab: mxe.find((e) => e === n) || "list",+ tab: gxe.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 MQ(e) {+function jQ(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 NQ(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" : MQ({- tab: t || jQ(e).tab,+function MQ(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" : jQ({+ tab: t || AQ(e).tab,page: 1,sort: "",dir: ""@@ -60254,10 +60257,10 @@ function NQ(e, t) {}//#endregion//#region src/react/follow-feed/follow-feed-page.tsx-var PQ = () => /* @__PURE__ */ (0, O.jsx)("span", {+var NQ = () => /* @__PURE__ */ (0, O.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), hxe = tB("settings"), FQ = tB("chevron-down"), gxe = tB("history"), _xe = tB("arrow-up"), vxe = tB("arrow-down"), yxe = [[+}), _xe = nB("settings"), PQ = nB("chevron-down"), vxe = nB("history"), yxe = nB("arrow-up"), bxe = nB("arrow-down"), xxe = [["fixed","固定比例","layout-grid"@@ -60266,19 +60269,19 @@ var PQ = () => /* @__PURE__ */ (0, O.jsx)("span", {"瀑布流","columns-2"]];-function bxe(e, t, n) {+function Sxe(e, t, n) {return (0, D.useMemo)(() => {let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();a.forEach((e) => {e.author_key && (d.has(e.author_key) || d.set(e.author_key, []), d.get(e.author_key).push(e));});- let f = Ai([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = Ai(o.works || [], (e) => e[0], n).slice(0, 24);+ let f = ki([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = ki(o.works || [], (e) => e[0], n).slice(0, 24);t.work && !p.some((e) => e[0] === t.work) && p.push([t.work,t.work,0]);- let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = Ai([...u], (e) => e[0], n).slice(0, 20);+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = ki([...u], (e) => e[0], n).slice(0, 20);t.tags.forEach((e) => {h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);});@@ -60286,7 +60289,7 @@ function bxe(e, t, n) {videos: 0,images: 0};- r.forEach((e) => Li(e).forEach((e) => {+ r.forEach((e) => Ii(e).forEach((e) => {g[e === "image" ? "images" : "videos"] += 1;}));let _ = t.media === "images" ? "image" : "video";@@ -60301,7 +60304,7 @@ function bxe(e, t, n) {workRows: p,allCount: m,mediaCounts: g,- visible: r.filter((e) => Li(e).has(_)),+ visible: r.filter((e) => Ii(e).has(_)),author: d.has(t.author) && s.has(t.author) ? t.author : "",provider: l.has(t.provider) ? t.provider : "",workNames: new Map((o.works || []).map((e) => [e[0], e[1]])),@@ -60314,20 +60317,20 @@ function bxe(e, t, n) {n]);}-function xxe(e) {- let { view: t, seed: n, revision: r, actions: i } = e, a = Ti(t, r), o = Tt(a), s = Ct({- queryKey: Ei,- queryFn: ({ signal: e }) => Di(e)- }), c = (0, D.useMemo)(() => ki(o.data), [o.data]), l = (0, D.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, D.useMemo)(() => ({+function Cxe(e) {+ let { view: t, seed: n, revision: r, actions: i } = e, a = wi(t, r), o = wt(a), s = St({+ queryKey: Ti,+ queryFn: ({ signal: e }) => Ei(e)+ }), c = (0, D.useMemo)(() => Oi(o.data), [o.data]), l = (0, D.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, D.useMemo)(() => ({sources: c?.sources || [],aliases: c?.author_aliases || [],credentials: l- }), [c, l]), d = bxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, D.useMemo)(() => ({- tags: xl(d.visible.flatMap(ji).map((e) => ({ tags: e.tags || [] }))),+ }), [c, l]), d = Sxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, D.useMemo)(() => ({+ tags: xl(d.visible.flatMap(Ai).map((e) => ({ tags: e.tags || [] }))),providers: [...d.providers].map(([e, t]) => [e,t,- gi(e)+ hi(e)]),duration: !!c?.facets?.duration}), [@@ -60348,23 +60351,23 @@ function xxe(e) {m,i]);- let h = Cxe(e, !!c);+ let h = Txe(e, !!c);if (!c) return o.isError ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, O.jsx)(IQ, {}), /* @__PURE__ */ (0, O.jsx)(bG, {- message: Wt(o.error),+ children: [/* @__PURE__ */ (0, O.jsx)(FQ, {}), /* @__PURE__ */ (0, O.jsx)(xG, {+ message: Ut(o.error),onRetry: () => void o.refetch()})]}) : null;let g = (e) => i.route({...t,...e- }), _ = qi({+ }), _ = Ki({...t,author: d.author,provider: d.provider}, {- authors: new Map([...d.authorSources].map(([e, t]) => [e, TW(t, u)])),+ authors: new Map([...d.authorSources].map(([e, t]) => [e, EW(t, u)])),providers: d.providers,works: d.workNames}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);@@ -60373,7 +60376,7 @@ function xxe(e) {ref: h.host,"data-follow-progress": ""}, h.generation),- !h.busy && h.report ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ !h.busy && h.report ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",title: "检查结果",children: h.report@@ -60382,7 +60385,7 @@ function xxe(e) {"data-follow-feed": "","data-select-mode": e.selectMode ? "" : void 0,children: [- /* @__PURE__ */ (0, O.jsx)(IQ, { children: d.sources.length ? /* @__PURE__ */ (0, O.jsx)(q, {+ /* @__PURE__ */ (0, O.jsx)(FQ, { children: d.sources.length ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "primary","data-follow-recheck": "","aria-label": "检查每个来源的更新",@@ -60393,20 +60396,20 @@ function xxe(e) {dangerouslySetInnerHTML: { __html: ns("检查中") }}) : "检查更新"}) : null }),- /* @__PURE__ */ (0, O.jsx)(wxe, {+ /* @__PURE__ */ (0, O.jsx)(Exe, {facets: d,pressed: d.author,context: u,props: e,onPick: (e) => g({ author: d.author === e ? "" : e })}),- /* @__PURE__ */ (0, O.jsx)(Txe, {+ /* @__PURE__ */ (0, O.jsx)(Dxe, {rows: d.workRows,pressed: t.work,props: e,onPick: (e) => g({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, O.jsx)(Exe, {+ /* @__PURE__ */ (0, O.jsx)(Oxe, {facets: d,view: t,total: v,@@ -60414,9 +60417,9 @@ function xxe(e) {props: e,route: g}),- /* @__PURE__ */ (0, O.jsx)(Dxe, {+ /* @__PURE__ */ (0, O.jsx)(kxe, {conditions: _,- onDrop: (e) => i.route(Ji(t, e)),+ onDrop: (e) => i.route(qi(t, e)),onClear: () => g({author: "",provider: "",@@ -60426,8 +60429,8 @@ function xxe(e) {durMax: 0})}),- d.broken.length ? /* @__PURE__ */ (0, O.jsx)(Oxe, { count: d.broken.length }) : null,- /* @__PURE__ */ (0, O.jsx)(kxe, {+ d.broken.length ? /* @__PURE__ */ (0, O.jsx)(Axe, { count: d.broken.length }) : null,+ /* @__PURE__ */ (0, O.jsx)(jxe, {retryKey: o.dataUpdatedAt,pending: f,facets: d,@@ -60456,10 +60459,10 @@ function xxe(e) {load: async () => {await o.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, O.jsx)(FQ, { className: "size-(--icon-inline)" }), "加载更多"]- }, o.data?.pages.length) : /* @__PURE__ */ (0, O.jsx)(Sxe, {+ children: [/* @__PURE__ */ (0, O.jsx)(PQ, { className: "size-(--icon-inline)" }), "加载更多"]+ }, o.data?.pages.length) : /* @__PURE__ */ (0, O.jsx)(wxe, {busy: o.isFetchingNextPage,- error: o.isFetchNextPageError ? Wt(o.error) : "",+ error: o.isFetchNextPageError ? Ut(o.error) : "",load: () => {!h.busyRef.current && !o.isFetchingNextPage && o.fetchNextPage();}@@ -60468,7 +60471,7 @@ function xxe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- leadingIcon: h.olderBusy ? void 0 : gxe,+ leadingIcon: h.olderBusy ? void 0 : vxe,"data-follow-older": "","aria-busy": h.busy || void 0,onClick: () => void h.start(!0),@@ -60478,7 +60481,7 @@ function xxe(e) {}), /* @__PURE__ */ (0, O.jsx)("span", { children: "抓取中" })] }) : "抓更早的一页"}), /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-backfill": "",- children: Ui(d.sources)+ children: Hi(d.sources)})]}) : null]}) : null@@ -60486,7 +60489,7 @@ function xxe(e) {})] });}-function IQ({ children: e }) {+function FQ({ children: e }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-head": "",children: [/* @__PURE__ */ (0, O.jsx)("h2", {@@ -60494,30 +60497,30 @@ function IQ({ children: e }) {children: "关注"}), /* @__PURE__ */ (0, O.jsxs)("span", {"data-follow-head-actions": "",- children: [/* @__PURE__ */ (0, O.jsx)(dI, {+ children: [/* @__PURE__ */ (0, O.jsx)(OI, {variant: "secondary",- leadingIcon: hxe,+ leadingIcon: _xe,"data-follow-manage": "",- href: LQ(),+ href: IQ(),children: "管理关注"}), e]})]});}-function Sxe({ busy: e, error: t, load: n }) {+function wxe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-entity-more": "","aria-busy": e || void 0,"aria-disabled": e || void 0,onClick: n,- children: [/* @__PURE__ */ (0, O.jsx)(FQ, { className: "size-(--icon-inline)" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, O.jsx)(bG, {+ children: [/* @__PURE__ */ (0, O.jsx)(PQ, { className: "size-(--icon-inline)" }), "加载更多"]+ }), t ? /* @__PURE__ */ (0, O.jsx)(xG, {message: t,onRetry: n}) : null] });}-function Cxe(e, t) {+function Txe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, D.useState)(0), [o, s] = (0, D.useState)(!1), [c, l] = (0, D.useState)(""), [u, d] = (0, D.useState)(""), [f, p] = (0, D.useState)(!1), m = (0, D.useRef)(!1), h = (0, D.useRef)(null), g = (0, D.useRef)({helpers: n,actions: r@@ -60532,7 +60535,7 @@ function Cxe(e, t) {return g.current.helpers.jobProgress({host: e,active: () => t,- read: (e) => B(Jn, e),+ read: (e) => V(qn, e),busy: (e) => {t && (m.current = e, s(e));},@@ -60542,10 +60545,10 @@ function Cxe(e, t) {ok: !1,error: e.error}] } : e;- g.current.actions.checkReport(n), d(di({+ g.current.actions.checkReport(n), d(ui({...n,status: e.status || "done"- })), m.current = !1, s(!1), p(!1), H.invalidateQueries({ queryKey: ["follow-feed"] }), a((e) => e + 1);+ })), m.current = !1, s(!1), p(!1), U.invalidateQueries({ queryKey: ["follow-feed"] }), a((e) => e + 1);}}), () => {t = !1;@@ -60560,7 +60563,7 @@ function Cxe(e, t) {m.current = !0, l(e ? "older" : "check"), d("");let t = !1;try {- let n = await V(Jn, e ? {+ let n = await H(qn, e ? {older: !0,background: !0} : { background: !0 });@@ -60568,8 +60571,8 @@ function Cxe(e, t) {} catch (t) {g.current.actions.checkReport({ results: [{ok: !1,- error: Wt(t)- }] }), e && H.invalidateQueries({ queryKey: ["follow-feed"] });+ error: Ut(t)+ }] }), e && U.invalidateQueries({ queryKey: ["follow-feed"] });} finally {m.current = t, l("");}@@ -60579,12 +60582,12 @@ function Cxe(e, t) {olderBusy: c === "older" || f && o};}-function wxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function Exe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, D.useRef)(null);(0, D.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => TW(e.authorSources.get(t) || [], n);+ let o = (t) => EW(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, O.jsx)("div", {@@ -60592,14 +60595,14 @@ function wxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {"data-follow-authors": "","aria-label": "创作者",children: e.authorOrder.map((n) => {- let a = e.authorSources.get(n) || [], s = EW(a), c = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = DW(a), c = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: DW(a, o(n)) }+ dangerouslySetInnerHTML: { __html: OW(a, o(n)) }}), /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-name": "",children: o(n)})] });- return s ? /* @__PURE__ */ (0, O.jsx)(OQ, {+ return s ? /* @__PURE__ */ (0, O.jsx)(DQ, {name: s,actions: r.actions,"data-follow-author": n,@@ -60616,7 +60619,7 @@ function wxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function Txe({ rows: e, pressed: t, props: n, onPick: r }) {+function Dxe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, D.useRef)(null);return (0, D.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -60631,19 +60634,19 @@ function Txe({ rows: e, pressed: t, props: n, onPick: r }) {onClick: () => r(e[0]),children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-follow-mark": "",- "data-fallback": xn(e[1], 2),+ "data-fallback": bn(e[1], 2),dangerouslySetInnerHTML: { __html: n.helpers.workMark(e) }}), e[1]]}, e[0]))}) : null;}-function Exe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = lI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = lI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function Oxe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = EI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = EI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, D.useEffect)(() => {o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);}, [o]);let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";- return /* @__PURE__ */ (0, O.jsx)(nI, {+ return /* @__PURE__ */ (0, O.jsx)(xI, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -60692,10 +60695,10 @@ function Exe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {onClick: () => {t.media !== e && a({ media: e });},- dangerouslySetInnerHTML: { __html: L(i) }+ dangerouslySetInnerHTML: { __html: R(i) }}, e);})- }), /* @__PURE__ */ (0, O.jsx)(PQ, {})] }) : null, /* @__PURE__ */ (0, O.jsxs)("div", {+ }), /* @__PURE__ */ (0, O.jsx)(NQ, {})] }) : null, /* @__PURE__ */ (0, O.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -60704,7 +60707,7 @@ function Exe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"aria-label": "状态","data-entity-states": "",onPointerLeave: h.leave,- children: [yi.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: [vi.map(([e, n]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-entity-state": e,"data-follow-filter": e,@@ -60715,7 +60718,7 @@ function Exe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {t.status !== e && a({ status: e });},children: n- }, e)), v ? /* @__PURE__ */ (0, O.jsx)(PQ, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, O.jsx)(NQ, {}) : null]}), /* @__PURE__ */ (0, O.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -60728,13 +60731,13 @@ function Exe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {title: n,"aria-label": `来源:${n}`,onClick: () => a({ provider: e.provider === t ? "" : t }),- dangerouslySetInnerHTML: { __html: CW(t, n) }+ dangerouslySetInnerHTML: { __html: wW(t, n) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, O.jsx)(PQ, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, O.jsxs)(iI, {+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, O.jsx)(NQ, {}) : null,+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, O.jsxs)(SI, {"data-follow-tag": n,"data-entity-press": "",- "data-tag-cat": `r34-${Yi(e.groups, n)}`,+ "data-tag-cat": `r34-${Ji(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: [fl(n), r ? /* @__PURE__ */ (0, O.jsx)("span", {@@ -60751,18 +60754,18 @@ function Exe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"data-follow-readout": "",children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`}),- /* @__PURE__ */ (0, O.jsx)(gB, {+ /* @__PURE__ */ (0, O.jsx)(_B, {currentHref: () => location.pathname + location.search,kind: "creator"}),/* @__PURE__ */ (0, O.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, O.jsx)(nG, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(tG, {+ /* @__PURE__ */ (0, O.jsx)(rG, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(nG, {label: "图片布局",value: i.photoLayout,- options: yxe,+ options: xxe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",@@ -60776,10 +60779,10 @@ function Exe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"aria-hidden": "true"}) : null, /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: L("captions-off") }+ dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- bi.map(([e, n]) => {+ yi.map(([e, n]) => {let r = t.sort === e;return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",@@ -60787,14 +60790,14 @@ function Exe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"data-follow-sort": e,"data-entity-press": "","aria-pressed": r,- "aria-label": Gi(e, n, t.sort, t.dir) || void 0,+ "aria-label": Wi(e, n, t.sort, t.dir) || void 0,onClick: () => {- let n = Wi(e, t.sort, t.dir);+ let n = Ui(e, t.sort, t.dir);n && a(n);},- children: [n, r ? /* @__PURE__ */ (0, O.jsx)(vW, {- a: _xe,- b: vxe,+ children: [n, r ? /* @__PURE__ */ (0, O.jsx)(yW, {+ a: yxe,+ b: bxe,state: t.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]@@ -60805,7 +60808,7 @@ function Exe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function Dxe({ conditions: e, onDrop: t, onClear: n }) {+function kxe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -60830,19 +60833,19 @@ function Dxe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function Oxe({ count: e }) {+function Axe({ count: e }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-broken": "",- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${L("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(LQ())}" 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="${B(IQ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}-var LQ = () => NQ(window.location.search);-function kxe({ 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 = yG(e, () => c.listSkeletonHtml(s.media));+var IQ = () => MQ(window.location.search);+function jxe({ 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 = bG(e, () => c.listSkeletonHtml(s.media));return /* @__PURE__ */ (0, O.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": u.fading ? "" : void 0,- children: [u.layer, e ? null : /* @__PURE__ */ (0, O.jsx)(Axe, {+ children: [u.layer, e ? null : /* @__PURE__ */ (0, O.jsx)(Mxe, {facets: t,data: n,context: r,@@ -60853,29 +60856,29 @@ function kxe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})]});}-function Axe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {- let { view: s, actions: c } = r, l = zQ(r), u = i ? {+function Mxe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+ let { view: s, actions: c } = r, l = RQ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = pxe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = hxe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;return f = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;- return /* @__PURE__ */ (0, O.jsx)(AQ, {+ return /* @__PURE__ */ (0, O.jsx)(kQ, {group: t,authorSources: o,media: s.media,retryKey: a,context: n,- selected: r.selected.has(RQ(t, s)),+ selected: r.selected.has(LQ(t, s)),selectMode: r.selectMode,- busy: l.busy.get(RQ(t, s)) || "",- failure: l.failures.get(RQ(t, s)) || "",+ busy: l.busy.get(LQ(t, s)) || "",+ failure: l.failures.get(LQ(t, s)) || "",actions: c,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, O.jsx)(jxe, {+ }) : /* @__PURE__ */ (0, O.jsx)(Nxe, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -60888,7 +60891,7 @@ function Axe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,tags: [],durMin: 0,durMax: 0,- media: t.groups.length ? t.groups.some((e) => Li(e).has("video")) ? "videos" : "images" : s.media+ media: t.groups.length ? t.groups.some((e) => Ii(e).has("video")) ? "videos" : "images" : s.media})}), /* @__PURE__ */ (0, O.jsx)("div", {ref: d,@@ -60898,22 +60901,22 @@ function Axe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,children: f});}-function RQ(e, t) {- return Ri(e, t.media).id;+function LQ(e, t) {+ return Li(e, t.media).id;}-function jxe({ data: e, filtered: t, clear: n, checkAction: r }) {+function Nxe({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, O.jsx)($z, {- icon: tB(i ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, O.jsx)(eB, {+ icon: nB(i ? "search-x" : "rss"),title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",actions: i ? /* @__PURE__ */ (0, O.jsx)(q, {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, O.jsx)(dI, {+ }) : a ? r : /* @__PURE__ */ (0, O.jsx)(OI, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -60922,52 +60925,52 @@ function jxe({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var Mxe = {+var Pxe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"};-function zQ(e) {- let { view: t, revision: n, actions: r } = e, [i, a] = (0, D.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, D.useState)(() => /* @__PURE__ */ new Map()), c = Ti(t, n).queryKey, l = (e, t, n) => n((n) => {+function RQ(e) {+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, D.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, D.useState)(() => /* @__PURE__ */ new Map()), c = wi(t, n).queryKey, l = (e, t, n) => n((n) => {let r = new Map(n);return t ? r.set(e, t) : r.delete(e), r;}), u = (e, n) => {- H.setQueryData(c, (r) => r && Ki(r, t, e, n));- }, d = () => void H.invalidateQueries({+ U.setQueryData(c, (r) => r && Gi(r, t, e, n));+ }, d = () => void U.invalidateQueries({queryKey: c,exact: !0}), f = (e) => {- let t = ki(H.getQueryData(c));+ let t = Oi(U.getQueryData(c));for (let n of t?.groups || []) for (let t of [n.primary,...n.variants,...n.duplicates]) if (t.id === e) return t.status;return "new";- }, p = wt({- mutationFn: ({ id: e, to: t }) => V(er, {+ }, p = Ct({+ mutationFn: ({ id: e, to: t }) => H($n, {item: e,to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(Mxe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {- await V(er, {+ u(t, n), d(), r.toast(Pxe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ await H($n, {item: t,to: i}), u(t, i), d();} });},onError: (e, { id: t }) => {- l(t, Wt(e), s), r.failure("更新关注状态", e);+ l(t, Ut(e), s), r.failure("更新关注状态", e);},onSettled: (e, t, { id: n }) => l(n, "", a)- }), m = wt({- mutationFn: (e) => V("/api/follow/save", { item: e }),+ }), m = Ct({+ mutationFn: (e) => H("/api/follow/save", { item: e }),onSuccess: (e, t) => {u(t, "saved"), d(), r.toast("已保存到数据库");},onError: (e, t) => {- l(t, Wt(e), s), r.failure("保存到数据库", e);+ l(t, Ut(e), s), r.failure("保存到数据库", e);},onSettled: (e, t, n) => l(n, "", a)}), h = (0, D.useRef)({@@ -60996,10 +60999,10 @@ function zQ(e) {}//#endregion//#region src/react/entity-body/entity-online.tsx-function Nxe(e) {- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = yG(a, () => i.listSkeletonHtml(r));- return !n && t.isError ? /* @__PURE__ */ (0, O.jsx)(bG, {- message: Wt(t.error),+function Fxe(e) {+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = bG(a, () => i.listSkeletonHtml(r));+ return !n && t.isError ? /* @__PURE__ */ (0, O.jsx)(xG, {+ message: Ut(t.error),onRetry: () => {t.refetch();}@@ -61009,7 +61012,7 @@ function Nxe(e) {"data-grid-reveal": o.fading ? "" : void 0,children: [o.layer,- a || !n ? null : /* @__PURE__ */ (0, O.jsx)(Pxe, {+ a || !n ? null : /* @__PURE__ */ (0, O.jsx)(Ixe, {...e,data: n}),@@ -61023,8 +61026,8 @@ function Nxe(e) {]});}-function Pxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {- let u = zQ({+function Ixe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+ let u = RQ({view: e,revision: 0,actions: c@@ -61041,8 +61044,8 @@ function Pxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,"data-layout": o,"data-images-only": String(s)} : {}, m = r.length ? r.map((e) => {- let n = Ri(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;- return /* @__PURE__ */ (0, O.jsx)(AQ, {+ let n = Li(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;+ return /* @__PURE__ */ (0, O.jsx)(kQ, {group: e,authorSources: r && d.byAuthor.get(r) || [],media: t,@@ -61055,11 +61058,11 @@ function Pxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, O.jsx)(Fxe, {+ }) : /* @__PURE__ */ (0, O.jsx)(Lxe, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: cxe(n.sources || [], e.author)+ sources: uxe(n.sources || [], e.author)});return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-list": "",@@ -61068,21 +61071,21 @@ function Pxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function Fxe({ searched: e, clear: t, actions: n, sources: r }) {+function Lxe({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, O.jsx)($z, {- icon: tB(e ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, O.jsx)(eB, {+ icon: nB(e ? "search-x" : "rss"),title: e ? "当前筛选下没有更新" : "还没有抓到更新",actions: e ? /* @__PURE__ */ (0, O.jsx)(q, {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, O.jsx)(lxe, {+ }) : r.length ? /* @__PURE__ */ (0, O.jsx)(dxe, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, O.jsx)(dI, {+ }) : /* @__PURE__ */ (0, O.jsx)(OI, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -61091,7 +61094,7 @@ function Fxe({ searched: e, clear: t, actions: n, sources: r }) {})});}-function BQ(e) {+function zQ(e) {return {x0: 0,y0: 0,@@ -61099,7 +61102,7 @@ function BQ(e) {y1: e.height};}-function VQ(e) {+function BQ(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -61107,40 +61110,40 @@ function VQ(e) {y1: Math.round(e.y1)};}-function HQ(e) {+function VQ(e) {return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;}-function UQ(e, t) {- if (!HQ(e)) return {+function HQ(e, t) {+ if (!VQ(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return BQ(e);+ if (t == null || !(t > 0)) return zQ(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 VQ({+ return BQ({x0: i,y0: a,x1: i + n,y1: a + r});}-function Ixe(e, t) {- if (!HQ(e) || !(t > 0)) return BQ(e);+function Rxe(e, t) {+ if (!VQ(e) || !(t > 0)) return zQ(e);let n = Math.min(e.width, e.height * t);- return VQ({+ return BQ({x0: e.width - n,y0: 0,x1: e.width,y1: e.height});}-function Lxe(e, t, n) {- if (!HQ(t) || !(n > 0)) return BQ(t);- let r = WQ(e, t), i = UQ({+function zxe(e, t, n) {+ if (!VQ(t) || !(n > 0)) return zQ(t);+ let r = UQ(e, t), i = HQ({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -61151,8 +61154,8 @@ function Lxe(e, t, n) {y1: r.y0 + i.y1};}-function WQ(e, t, n = null, r = "width") {- if (!HQ(t)) return {+function UQ(e, t, n = null, r = "width") {+ if (!VQ(t)) return {x0: 0,y0: 0,x1: 0,@@ -61161,43 +61164,43 @@ function WQ(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 VQ({+ return BQ({x0: s,y0: c,x1: s + a,y1: c + o});}-function GQ(e, t, n, r) {+function WQ(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 VQ({+ return BQ({x0: o,y0: s,x1: o + i,y1: s + a});}-function KQ(e, t, n, r = null) {- if (!HQ(n) || !(t > 0)) return e;+function GQ(e, t, n, r = null) {+ if (!VQ(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 WQ({+ return UQ({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,y1: a + s / 2}, n, r);}-function Rxe(e, t, n, r, i = null) {+function Bxe(e, t, n, r, i = null) {let a = {x0: e.x0,y0: e.y0,x1: Math.max(e.x0 + 1, t),y1: Math.max(e.y0 + 1, n)};- return WQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return UQ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function zxe(e, t) {- return HQ(t) ? {+function Vxe(e, t) {+ return VQ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -61209,8 +61212,8 @@ function zxe(e, t) {height: 0};}-function Bxe(e, t) {- if (!HQ(t)) return {+function Hxe(e, t) {+ if (!VQ(t)) return {size: "cover",position: "50% 50%"};@@ -61220,7 +61223,7 @@ function Bxe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function Vxe(e, t) {+function Uxe(e, t) {let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);return {left: `${-e.x0 / n * 100}%`,@@ -61229,16 +61232,16 @@ function Vxe(e, t) {height: `${t.height / r * 100}%`};}-function qQ(e, t, n) {+function KQ(e, t, n) {return t > 0 ? e * n / t : 0;}-function Hxe(e, t) {+function Wxe(e, t) {return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;}//#endregion//#region src/react/crop/crop-frame.tsx-var Uxe = .02, JQ = 1.08;-function YQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var Gxe = .02, qQ = 1.08;+function JQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, D.useRef)(null), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(null);(0, D.useEffect)(() => {u(!1);@@ -61257,8 +61260,8 @@ function YQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: qQ(e, n.clientWidth, r.width),- dy: qQ(t, n.clientHeight, r.height)+ dx: KQ(e, n.clientWidth, r.width),+ dy: KQ(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -61275,22 +61278,22 @@ function YQ({ 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(GQ(n.box, o.dx, o.dy, r)) : i(Rxe(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(WQ(n.box, o.dx, o.dy, r)) : i(Bxe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));}function g(e) {c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));}function _(e) {if (!n || !r) return;- let a = Math.max(1, (n.x1 - n.x0) * Uxe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * Gxe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};- o[e.key] ? (e.preventDefault(), i(GQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(KQ(n, e.key === "-" ? 1 / JQ : JQ, r, t)));+ o[e.key] ? (e.preventDefault(), i(WQ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(GQ(n, e.key === "-" ? 1 / qQ : qQ, r, t)));}- let v = n && r ? zxe(WQ(n, r, t), r) : null, y = v ? Hxe(v, d) : !1, b = v ? {+ let v = n && r ? Vxe(UQ(n, r, t), r) : null, y = v ? Wxe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -61309,7 +61312,7 @@ function YQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odraggable: !1,onLoad: (e) => {let t = e.currentTarget;- HQ({+ VQ({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -61348,7 +61351,7 @@ function YQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i(KQ(n, e.deltaY > 0 ? JQ : 1 / JQ, r, t));+ n && r && i(GQ(n, e.deltaY > 0 ? qQ : 1 / qQ, 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, O.jsx)("span", {@@ -61371,13 +61374,13 @@ function YQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o}//#endregion//#region src/react/avatar-picker/avatar-picker.ts-var Wxe = "/api/avatar-choices", XQ = "/api/avatar-pick", Gxe = "/api/avatar-code-cover", ZQ = "/api/avatar-frame", Kxe = "/avatar-choice", QQ = (e, t) => [+var Kxe = "/api/avatar-choices", YQ = "/api/avatar-pick", qxe = "/api/avatar-code-cover", XQ = "/api/avatar-frame", Jxe = "/avatar-choice", ZQ = (e, t) => ["avatar-choices",e,t-], $Q = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, e$ = (e, t, n, r = "") => `${Kxe}${$Q(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), t$ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", qxe = (e, t, n) => B(Wxe + $Q(e, t), n), Jxe = (e) => V(Gxe, { code: e });-async function Yxe(e, t, n) {- let r = await V(ZQ, {+], QQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, $Q = (e, t, n, r = "") => `${Jxe}${QQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), e$ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Yxe = (e, t, n) => V(Kxe + QQ(e, t), n), Xxe = (e) => H(qxe, { code: e });+async function Zxe(e, t, n) {+ let r = await H(XQ, {kind: e,id: t,ref: n.ref@@ -61390,31 +61393,31 @@ async function Yxe(e, t, n) {bases: r.bases};}-var Xxe = (e, t, n) => V(ZQ, {+var Qxe = (e, t, n) => H(XQ, {kind: e,id: t,url: n-}), Zxe = (e, t, n) => n$(`${ZQ}${$Q(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function n$(e, t) {+}), $xe = (e, t, n) => t$(`${XQ}${QQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function t$(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",body: t}), r = await n.json().catch(() => null);if (n.ok) return r;- throw new kn(r?.error || `请求失败(${n.status})`, n.status, r);+ throw new On(r?.error || `请求失败(${n.status})`, n.status, r);}-function r$(e, t, n) {+function n$(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? Lxe(e.focus, t, n) : UQ(t, n);+ return e.focus && r ? zxe(e.focus, t, n) : HQ(t, n);}-var Qxe = (e) => e.crop && HQ({+var eSe = (e) => e.crop && VQ({width: e.width,height: e.height});-async function $xe(e, t, n) {+async function tSe(e, t, n) {if (!("file" in n)) {- await V(XQ, {+ await H(YQ, {kind: e,id: t,...n@@ -61427,19 +61430,19 @@ async function $xe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await n$(`${XQ}${$Q(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await t$(`${YQ}${QQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var i$ = 2;-function eSe(e, t) {+var r$ = 2;+function nSe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, i$).join("」「")}」`}${n.length > i$ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, r$).join("」「")}」`}${n.length > r$ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var tSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function nSe(e) {- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${tSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var rSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function iSe(e) {+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${rSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var a$ = (e) => e.cast > 1, rSe = (e) => a$(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, iSe = {+var i$ = (e) => e.cast > 1, aSe = (e) => i$(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, oSe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -61449,7 +61452,7 @@ var a$ = (e) => e.cast > 1, rSe = (e) => a$(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function aSe(e) {+function sSe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -61460,19 +61463,19 @@ function aSe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var oSe = (e) => `${iSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (a$(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), sSe = 8, cSe = 3 / 4;-async function lSe(e, t, n) {+var cSe = (e) => `${oSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (i$(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), lSe = 8, uSe = 3 / 4;+async function dSe(e, t, n) {switch (n.via) {- case "choice": return { choice: await Yxe(e, t, n.choice) };- case "code": return { choice: await Jxe(n.code) };- case "url": return { choice: await Xxe(e, t, n.url) };+ case "choice": return { choice: await Zxe(e, t, n.choice) };+ case "code": return { choice: await Xxe(n.code) };+ case "url": return { choice: await Qxe(e, t, n.url) };case "file": return {- choice: await Zxe(e, t, n.file),+ choice: await $xe(e, t, n.file),file: n.file};}}-function uSe({ kind: e, entityId: t, name: n, onPicked: r }) {+function fSe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -61487,12 +61490,12 @@ function uSe({ kind: e, entityId: t, name: n, onPicked: r }) {className: "size-4"})})- }), /* @__PURE__ */ (0, O.jsx)(Xz, {+ }), /* @__PURE__ */ (0, O.jsx)(Zz, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, O.jsx)(dSe, {+ children: /* @__PURE__ */ (0, O.jsx)(pSe, {kind: e,entityId: t,name: n,@@ -61501,22 +61504,22 @@ function uSe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, D.useRef)(null), o = xV(), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(null), p = QQ(e, t), m = (0, D.useRef)(!1), h = Ct({+function pSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, D.useRef)(null), o = SV(), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(null), p = ZQ(e, t), m = (0, D.useRef)(!1), h = St({queryKey: p,- queryFn: ({ signal: n }) => qxe(e, t, n),+ queryFn: ({ signal: n }) => Yxe(e, t, n),retryOnMount: !0});(0, D.useEffect)(() => () => {- m.current && H.removeQueries({ queryKey: QQ(e, t) });+ m.current && U.removeQueries({ queryKey: ZQ(e, t) });}, [e, t]);- let g = wt({- mutationFn: (n) => $xe(e, t, n),+ let g = Ct({+ mutationFn: (n) => tSe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}- }), _ = wt({- mutationFn: (n) => lSe(e, t, n),+ }), _ = Ct({+ mutationFn: (n) => dSe(e, t, n),onMutate: () => {g.reset();},@@ -61537,39 +61540,39 @@ function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {crop: e.crop} : { file: n }) : g.mutate(e ?? { ref: t.ref });}- let x = h.data, S = x?.choices ?? [], C = (g.error ? jn(g.error) : "") || (!d && _.error ? jn(_.error) : "") || (h.error ? jn(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : nSe(x), E = !!C && !!h.error && C === jn(h.error), k = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? An(g.error) : "") || (!d && _.error ? An(_.error) : "") || (h.error ? An(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : iSe(x), E = !!C && !!h.error && C === An(h.error), k = h.isPending || S.length > 0;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, O.jsx)(Zz, { children: /* @__PURE__ */ (0, O.jsx)(Vz, { className: "size-6" }) }),+ /* @__PURE__ */ (0, O.jsx)(Qz, { children: /* @__PURE__ */ (0, O.jsx)(Hz, { className: "size-6" }) }),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(RI, {+ children: [/* @__PURE__ */ (0, O.jsx)(XI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"- }), !d && S.length ? /* @__PURE__ */ (0, O.jsxs)(rQ, {+ }), !d && S.length ? /* @__PURE__ */ (0, O.jsxs)(nQ, {color: "soft",children: [S.length.toLocaleString(), " 张可选"]}) : null]}),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? rSe(d.choice) : eSe(n, x)+ children: d ? aSe(d.choice) : nSe(n, x)}),- T ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ T ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",children: T}) : null,- C ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ C ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",action: E ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- ...rB(h.isFetching),+ ...iB(h.isFetching),onClick: () => {h.isFetching || h.refetch();},@@ -61579,14 +61582,14 @@ function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, O.jsx)(YF, {- icon: kz,+ /* @__PURE__ */ (0, O.jsx)(gI, {+ icon: Az,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, O.jsx)(pSe, {+ }), d ? /* @__PURE__ */ (0, O.jsx)(hSe, {kind: e,entityId: t,choice: d.choice,@@ -61606,7 +61609,7 @@ function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {"aria-busy": h.isPending || void 0,"data-skeleton": h.isPending ? "avatar-choices" : void 0,className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",- children: h.isPending ? Array.from({ length: sSe }, (e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {+ children: h.isPending ? Array.from({ length: lSe }, (e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {"aria-hidden": !0,"data-avatar-skeleton": !0,className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",@@ -61619,8 +61622,8 @@ function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: oSe(n),- ...rB(w),+ title: cSe(n),+ ...iB(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({via: "choice",@@ -61629,8 +61632,8 @@ function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",children: [- /* @__PURE__ */ (0, O.jsx)(fSe, {- src: e$(e, t, n.ref, t$(n, n.ref)),+ /* @__PURE__ */ (0, O.jsx)(mSe, {+ src: $Q(e, t, n.ref, e$(n, n.ref)),choice: n}),/* @__PURE__ */ (0, O.jsx)("span", {@@ -61639,15 +61642,15 @@ function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, O.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, O.jsx)(rQ, {+ children: /* @__PURE__ */ (0, O.jsx)(nQ, {variant: "caption",color: "gray",children: "在用"})}) : null,- a$(n) ? /* @__PURE__ */ (0, O.jsx)("span", {+ i$(n) ? /* @__PURE__ */ (0, O.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, O.jsxs)(rQ, {+ children: /* @__PURE__ */ (0, O.jsxs)(nQ, {variant: "caption",color: "gray",children: [n.cast.toLocaleString(), " 人"]@@ -61669,7 +61672,7 @@ function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(Yz, {+ children: /* @__PURE__ */ (0, O.jsx)(Xz, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -61679,7 +61682,7 @@ function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {type: "submit",variant: "secondary",disabled: !l.trim(),- ...rB(v("code")),+ ...iB(v("code")),children: "取封面来框"})]}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -61688,7 +61691,7 @@ function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {/* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",onClick: () => a.current?.click(),- ...rB(v("file")),+ ...iB(v("file")),children: "从本机选图片"}),/* @__PURE__ */ (0, O.jsx)("input", {@@ -61708,7 +61711,7 @@ function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "flex min-w-0 flex-1 basis-56 items-center gap-2",children: [/* @__PURE__ */ (0, O.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, O.jsx)(Yz, {+ children: /* @__PURE__ */ (0, O.jsx)(Xz, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -61718,7 +61721,7 @@ function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}), /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",disabled: !s.trim(),- ...rB(v("url")),+ ...iB(v("url")),onClick: () => {w || _.mutate({via: "url",@@ -61732,7 +61735,7 @@ function dSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function fSe({ src: e, choice: t }) {+function mSe({ src: e, choice: t }) {let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1), [a, o] = (0, D.useState)(!1);(0, D.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -61740,7 +61743,7 @@ function fSe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = Qxe(t) ? Vxe(r$(t, s, cSe), s) : null, l = r || a ? !0 : void 0;+ }, c = eSe(t) ? Uxe(n$(t, s, uSe), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, O.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -61766,23 +61769,23 @@ function fSe({ src: e, choice: t }) {})]});}-function pSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, D.useState)(o[0]), [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(null), p = t$(n, s), m = e$(e, t, s, p), h = xV();+function hSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, D.useState)(o[0]), [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(null), p = e$(n, s), m = $Q(e, t, s, p), h = SV();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? Bxe(d, l) : null;+ let _ = d && l ? Hxe(d, l) : null;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {ref: h,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: [m ? /* @__PURE__ */ (0, O.jsx)(YQ, {+ children: [m ? /* @__PURE__ */ (0, O.jsx)(JQ, {src: m,aspect: 1,box: d,size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), HQ(e) && f(s === n.ref ? r$(n, e, 1) : UQ(e, 1));+ u(e), VQ(e) && f(s === n.ref ? n$(n, e, 1) : HQ(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, O.jsx)("div", {@@ -61796,7 +61799,7 @@ function pSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })"data-crop-base": !0,onClick: () => g(e),className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",- children: aSe(e)+ children: sSe(e)}, e))}) : null]}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -61816,12 +61819,12 @@ function pSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })/* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",onClick: i,- ...rB(r),+ ...iB(r),children: "返回备选图片"}),n.crop ? null : /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...rB(r),+ ...iB(r),onClick: () => {r || a(null);},@@ -61829,7 +61832,7 @@ function pSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}),/* @__PURE__ */ (0, O.jsx)(q, {disabled: !d || !l,- ...rB(r),+ ...iB(r),onClick: () => {d && !r && a({ref: s,@@ -61845,11 +61848,11 @@ function pSe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}//#endregion//#region src/react/components/source-picture.tsx-var o$ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;-function s$({ item: e, image: t, thumbnail: n = !1 }) {+var a$ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;+function o$({ item: e, image: t, thumbnail: n = !1 }) {let [r, i] = (0, D.useState)(0), [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(""), l = t === "cover" && e.has_cover, u = !l && (t !== "cover" || e.source_image), d = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`;if (!u) {- let r = l ? ja(e, !0) : t === "cover" && !e.source_image ? e.cover_url : "";+ let r = l ? Aa(e, !0) : t === "cover" && !e.source_image ? e.cover_url : "";return r ? /* @__PURE__ */ (0, O.jsx)("img", {"data-jav-picture": n ? void 0 : "",src: r,@@ -61857,16 +61860,16 @@ function s$({ item: e, image: t, thumbnail: n = !1 }) {referrerPolicy: "no-referrer"}) : n ? /* @__PURE__ */ (0, O.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, O.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, O.jsx)(Qz, {+ children: /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",children: "封面未取得"})});}- let f = o$(e.code, t, r);+ let f = a$(e.code, t, r);if (s === f) return n ? /* @__PURE__ */ (0, O.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, O.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, O.jsx)(Qz, {+ children: /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -61899,7 +61902,7 @@ function s$({ item: e, image: t, thumbnail: n = !1 }) {}//#endregion//#region src/react/components/source-avatar.tsx-function c$({ code: e, person: t, detail: n = !1 }) {+function s$({ code: e, person: t, detail: n = !1 }) {let r = (0, D.useRef)(null), [i, a] = (0, D.useState)(n || typeof IntersectionObserver > "u");(0, D.useEffect)(() => {if (!r.current || i) return;@@ -61911,9 +61914,9 @@ function c$({ code: e, person: t, detail: n = !1 }) {let o = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {ref: r,"data-source-initial": "",- children: Sn(t.name)+ children: xn(t.name)}), i && t.source_actor_id ? /* @__PURE__ */ (0, O.jsx)("img", {- src: o$(e, `actor:${t.source_actor_id}`),+ src: a$(e, `actor:${t.source_actor_id}`),alt: "","data-drop": "self"}) : null] });@@ -61924,8 +61927,8 @@ function c$({ code: e, person: t, detail: n = !1 }) {}//#endregion//#region src/react/feed-new/feed-new-row.tsx-function l$({ feedNew: e, host: t, wire: n, act: r, settled: i }) {- let a = (0, D.useContext)($U), o = (0, D.useRef)(null), [s, c] = (0, D.useState)([]), l = e?.items.length ? e.html : "";+function c$({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+ let a = (0, D.useContext)(eW), o = (0, D.useRef)(null), [s, c] = (0, D.useState)([]), l = e?.items.length ? e.html : "";(0, D.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);}, [@@ -61957,7 +61960,7 @@ function l$({ feedNew: e, host: t, wire: n, act: r, settled: i }) {u(e);},dangerouslySetInnerHTML: { __html: l }- }), s.map((e, t) => (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(c$, {+ }), s.map((e, t) => (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(s$, {code: e.dataset.code,person: {name: e.dataset.name,@@ -61967,8 +61970,8 @@ function l$({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}//#endregion//#region src/react/entity-hero/glyph.tsx-function u$({ name: e }) {- let { wide: t, viewBox: n } = Kt(e);+function l$({ name: e }) {+ let { wide: t, viewBox: n } = Gt(e);return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: n,"aria-hidden": "true",@@ -61978,20 +61981,20 @@ function u$({ name: e }) {}//#endregion//#region src/react/entity-hero/hero-pop.tsx-function d$(e, t) {+function u$(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 f$ = (e) => !!e?.isConnected && e.matches(":popover-open");-function p$(e, t, n, r) {+var d$ = (e) => !!e?.isConnected && e.matches(":popover-open");+function f$(e, t, n, r) {let i = (0, D.useRef)(r);i.current = r, (0, D.useEffect)(() => {if (!e) return;let r = () => {- t.current && f$(n.current) ? d$(t.current, n.current) : i.current();+ t.current && d$(n.current) ? u$(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -62005,17 +62008,17 @@ function p$(e, t, n, r) {n]);}-function m$({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function p$({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(!1), u = (0, D.useRef)(!1), d = (0, D.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, f$(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, d$(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !f$(s.current) && (s.current.showPopover(), d$(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !d$(s.current) && (s.current.showPopover(), u$(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 p$(c, o, s, f), (0, D.useEffect)(() => {+ return f$(c, o, s, f), (0, D.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -62041,7 +62044,7 @@ function m$({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && f$(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && d$(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, O.jsxs)("div", {@@ -62059,16 +62062,16 @@ function m$({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function mSe({ following: e, busy: t, onToggle: n, tip: r }) {+function gSe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), [s, c] = (0, D.useState)(!1), l = (0, D.useRef)(!1), u = () => {- f$(o.current) && o.current.hidePopover(), c(!1);+ d$(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !f$(o.current) && (o.current.showPopover(), d$(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !d$(o.current) && (o.current.showPopover(), u$(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return p$(s, i, o, () => c(!1)), (0, D.useEffect)(() => {- i.current && f$(o.current) && d$(i.current, o.current);+ return f$(s, i, o, () => c(!1)), (0, D.useEffect)(() => {+ i.current && d$(o.current) && u$(i.current, o.current);}, [r]), /* @__PURE__ */ (0, O.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -62077,7 +62080,7 @@ function mSe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, O.jsx)(u$, { name: "rss" }),+ /* @__PURE__ */ (0, O.jsx)(l$, { name: "rss" }),/* @__PURE__ */ (0, O.jsx)("input", {ref: a,type: "checkbox",@@ -62112,29 +62115,29 @@ function mSe({ following: e, busy: t, onToggle: n, tip: r }) {}//#endregion//#region src/react/entity-hero/name-picker.tsx-function hSe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function _Se({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, D.useState)(!1), o = (0, D.useRef)(null);return (0, D.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");}, []), /* @__PURE__ */ (0, O.jsxs)(tue, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, O.jsx)(PI, {+ children: [/* @__PURE__ */ (0, O.jsx)(JI, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, O.jsx)(u$, { name: "chevron-down" })- }), /* @__PURE__ */ (0, O.jsx)(bR, {+ children: /* @__PURE__ */ (0, O.jsx)(l$, { name: "chevron-down" })+ }), /* @__PURE__ */ (0, O.jsx)(xR, {placement: "bottom start",offset: 8,containerPadding: 8,- className: pV,+ className: mV,"data-namepick-menu": "",children: /* @__PURE__ */ (0, O.jsxs)(rue, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, O.jsx)(OR, {+ /* @__PURE__ */ (0, O.jsx)(kR, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -62142,31 +62145,31 @@ function hSe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, O.jsxs)(AR, {+ children: t.map((e) => /* @__PURE__ */ (0, O.jsxs)(jR, {id: e,textValue: e,"data-namepick-name": e,- children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]}, e))}),/* @__PURE__ */ (0, O.jsx)(Rle, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, O.jsx)(OR, { children: /* @__PURE__ */ (0, O.jsxs)(AR, {+ /* @__PURE__ */ (0, O.jsx)(kR, { children: /* @__PURE__ */ (0, O.jsxs)(jR, {id: "alias",textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "plus" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "plus" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var gSe = (e) => e === "studio" || e === "agency", h$ = (e) => e === "performer" || e === "creator", _Se = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function vSe(e) {+var vSe = (e) => e === "studio" || e === "agency", m$ = (e) => e === "performer" || e === "creator", ySe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function bSe(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}-function g$(e) {+function h$(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -62178,13 +62181,13 @@ function g$(e) {linked: !1} : null;}-function _$(e, t) {- let n = mn(e, "performer"), r = dn(t);- return r && [e.label, n].map(dn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";+function g$(e, t) {+ let n = pn(e, "performer"), r = un(t);+ return r && [e.label, n].map(un).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var v$ = (e) => ({ site: sn(e) });-function ySe(e, t) {- let n = g$(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var _$ = (e) => ({ site: on(e) });+function xSe(e, t) {+ let n = h$(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -62194,7 +62197,7 @@ function ySe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${_$(e, n)} · ${t}`+ title: `${g$(e, n)} · ${t}`};}let r = e.url || "";@@ -62202,32 +62205,32 @@ function ySe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (h$(t) && e.link_kind !== "social") return {+ if (m$(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: _$(e, n),- mark: v$(e)+ title: g$(e, n),+ mark: _$(e)};if (e.link_kind === "social") {- let t = un(r);+ let t = ln(r);return {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : v$(e)+ mark: t ? { brand: t } : _$(e)};}return {type: "url",url: r,title: e.label || "",- text: mn(e, t, i),- mark: v$(e)+ text: pn(e, t, i),+ mark: _$(e)};});- return [...r, ...bSe(a)];+ return [...r, ...SSe(a)];}-function bSe(e) {+function SSe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -62235,8 +62238,8 @@ function bSe(e) {sources: t.map((e) => e.label)}];}-var y$ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function xSe(e) {+var v$ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function CSe(e) {return [["legal_name",@@ -62292,7 +62295,7 @@ function xSe(e) {}]}] : []);}-function SSe(e) {+function wSe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -62349,14 +62352,14 @@ function SSe(e) {tags: e.tags}), t;}-function b$(e, t = 4) {+function y$(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function CSe(e) {+function TSe(e) {if (!e) return null;let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;return n.length || r > 0 ? {@@ -62367,19 +62370,19 @@ function CSe(e) {}//#endregion//#region src/react/entity-hero/entity-hero-page.tsx-function wSe(e) {- return La({+function ESe(e) {+ return Ia({id: e.id,hasImage: e.has_image,version: e.image_version,rep: e.has_avatar ? e.rep : null,- style: Va(e.avatar_focus),+ style: Ba(e.avatar_focus),focus: e.avatar_focus,standIn: e.avatar_stand_in});}-function TSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = h$(e), c = gSe(e), l = s ? SSe(n.profile) : c ? xSe(n.company_profile) : [], u = ySe(n, e), d = y$(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, D.useRef)(null), m = (0, D.useRef)(null);+function DSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ let s = m$(e), c = vSe(e), l = s ? wSe(n.profile) : c ? CSe(n.company_profile) : [], u = xSe(n, e), d = v$(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, D.useRef)(null), m = (0, D.useRef)(null);return (0, D.useEffect)(() => {o.wireScroller(p.current);}, [o, u.length]), (0, D.useEffect)(() => {@@ -62392,7 +62395,7 @@ function TSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, O.jsx)(ESe, {+ children: [/* @__PURE__ */ (0, O.jsx)(OSe, {kind: e,name: t,helpers: o,@@ -62400,7 +62403,7 @@ function TSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: c}), s && n.id ? /* @__PURE__ */ (0, O.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, O.jsx)(uSe, {+ children: /* @__PURE__ */ (0, O.jsx)(fSe, {kind: e,entityId: Number(n.id),name: n.canonical_name || t,@@ -62415,13 +62418,13 @@ function TSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, O.jsx)("h2", { children: n.canonical_name }),- e === "tag" ? null : /* @__PURE__ */ (0, O.jsx)(hSe, {+ e === "tag" ? null : /* @__PURE__ */ (0, O.jsx)(_Se, {current: n.canonical_name,- choices: vSe(n),+ choices: bSe(n),onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, O.jsx)(hB, { item: {+ n.id ? /* @__PURE__ */ (0, O.jsx)(gB, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -62429,7 +62432,7 @@ function TSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,} }) : null]}),- /* @__PURE__ */ (0, O.jsx)(DSe, {+ /* @__PURE__ */ (0, O.jsx)(kSe, {kind: e,entity: n,actions: a@@ -62450,14 +62453,14 @@ function TSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,u.length ? /* @__PURE__ */ (0, O.jsx)("div", {ref: p,"data-entity-links": "",- children: u.map((e, t) => /* @__PURE__ */ (0, O.jsx)(NSe, { link: e }, t))+ children: u.map((e, t) => /* @__PURE__ */ (0, O.jsx)(FSe, { link: e }, t))}) : null,- d.length || n.feed ? /* @__PURE__ */ (0, O.jsx)(PSe, {+ d.length || n.feed ? /* @__PURE__ */ (0, O.jsx)(ISe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, O.jsx)(ASe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, O.jsx)(MSe, {follow: n.follow,entity: n,actions: a@@ -62466,11 +62469,11 @@ function TSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),l.length ? /* @__PURE__ */ (0, O.jsx)("dl", {"data-entity-facts": "",- children: l.map((e) => /* @__PURE__ */ (0, O.jsx)(jSe, {+ children: l.map((e) => /* @__PURE__ */ (0, O.jsx)(NSe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, O.jsx)(MSe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, O.jsx)(PSe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -62489,7 +62492,7 @@ function TSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${z(Sn(e.k))}</span>${wSe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${B(xn(e.k))}</span>${ESe(e)}` }}), /* @__PURE__ */ (0, O.jsx)("span", {"data-hero-costar-name": "",children: e.k@@ -62497,15 +62500,15 @@ function TSe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(l$, {+ }), i ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(c$, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function ESe({ kind: e, name: t, helpers: n, people: r, company: i }) {- let [a] = (0, D.useState)(() => `${n.portraitImg()}<span>${z(Sn(t))}</span>`);+function OSe({ kind: e, name: t, helpers: n, people: r, company: i }) {+ let [a] = (0, D.useState)(() => `${n.portraitImg()}<span>${B(xn(t))}</span>`);return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-portrait": r ? "round" : "square","data-fit-native": i ? "mark" : "portrait",@@ -62513,51 +62516,51 @@ function ESe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: a }});}-function DSe({ kind: e, entity: t, actions: n }) {- let r = g$(t), i = (e, t) => (r) => {+function kSe({ kind: e, entity: t, actions: n }) {+ let r = h$(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, O.jsx)("a", {- href: tn("agency", r.name, r.id),+ href: en("agency", r.name, r.id),"data-agency": r.name,onClick: i("agency", r.name),children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = CSe(t.name_groups);+ let e = TSe(t.name_groups);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, O.jsx)(x$, { entity: t }),+ /* @__PURE__ */ (0, O.jsx)(b$, { entity: t }),/* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "film" }), /* @__PURE__ */ (0, O.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "film" }), /* @__PURE__ */ (0, O.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, O.jsx)(kSe, {+ t.follow?.key ? /* @__PURE__ */ (0, O.jsx)(jSe, {follow: t.follow,actions: n}) : null,a ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]}) : null,e ? /* @__PURE__ */ (0, O.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, O.jsx)(u$, { name: "id-card" }),+ /* @__PURE__ */ (0, O.jsx)(l$, { name: "id-card" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-alias-names": "",title: "别名",children: e.names.map((e, t) => /* @__PURE__ */ (0, O.jsx)("span", { children: e }, t))}),- e.rest > 0 ? /* @__PURE__ */ (0, O.jsx)(m$, {+ e.rest > 0 ? /* @__PURE__ */ (0, O.jsx)(p$, {id: "entityAliasPop",hook: "alias",rest: e.rest,label: `另外 ${e.rest.toLocaleString()} 个别名`,heading: `${e.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, O.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, O.jsx)(S$, {+ children: /* @__PURE__ */ (0, O.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, O.jsx)(x$, {label: e.label,names: e.names}, t)) })@@ -62579,61 +62582,61 @@ function DSe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, O.jsx)(x$, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, O.jsx)(b$, { entity: t }) : null,/* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "film" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "film" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "briefcase" }), /* @__PURE__ */ (0, O.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "clapperboard" }), /* @__PURE__ */ (0, O.jsx)("a", {- href: tn("studio", l.name, l.id),+ children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "clapperboard" }), /* @__PURE__ */ (0, O.jsx)("a", {+ href: en("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, O.jsx)(OSe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, O.jsx)(ASe, { aliases: s }) : null]});}-function OSe({ aliases: e }) {- let { shown: t, rest: n } = b$(e, 3);+function ASe({ aliases: e }) {+ let { shown: t, rest: n } = y$(e, 3);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-meta-item": "names","data-company-names": "",children: [- /* @__PURE__ */ (0, O.jsx)(u$, { name: "id-card" }),+ /* @__PURE__ */ (0, O.jsx)(l$, { name: "id-card" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-alias-names": "",title: "别名",children: t.map((e, t) => /* @__PURE__ */ (0, O.jsx)("span", { children: e }, t))}),- n ? /* @__PURE__ */ (0, O.jsx)(m$, {+ n ? /* @__PURE__ */ (0, O.jsx)(p$, {id: "entityAliasPop",hook: "alias",rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, O.jsx)("dl", { children: /* @__PURE__ */ (0, O.jsx)(S$, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, O.jsx)("dl", { children: /* @__PURE__ */ (0, O.jsx)(x$, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function kSe({ follow: e, actions: t }) {+function jSe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "rss" }), /* @__PURE__ */ (0, O.jsxs)("a", {+ children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "rss" }), /* @__PURE__ */ (0, O.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -62642,7 +62645,7 @@ function kSe({ follow: e, actions: t }) {})]});}-function ASe({ follow: e, entity: t, actions: n }) {+function MSe({ follow: e, entity: t, actions: n }) {let [r, i] = (0, D.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -62656,12 +62659,12 @@ function ASe({ follow: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-entity-held": "",className: "flex flex-col gap-2",- children: e.held.map((e) => /* @__PURE__ */ (0, O.jsxs)(Qz, {+ children: e.held.map((e) => /* @__PURE__ */ (0, O.jsxs)($z, {tone: "info",title: `关注里有同名作者 ${e.name}`,action: /* @__PURE__ */ (0, O.jsx)(q, {size: "small",- ...rB(r === e.key),+ ...iB(r === e.key),onClick: () => {a(e.key, e.name);},@@ -62676,14 +62679,14 @@ function ASe({ follow: e, entity: t, actions: n }) {}, e.key))});}-function x$({ entity: e }) {+function b$({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: "user-round" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function S$({ label: e, names: t }) {+function x$({ label: e, names: t }) {return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, O.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("span", {@@ -62692,20 +62695,20 @@ function S$({ label: e, names: t }) {}, t))})] });}-function jSe({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("dt", { children: [/* @__PURE__ */ (0, O.jsx)(u$, { name: e }), t] }), /* @__PURE__ */ (0, O.jsx)("dd", {+function NSe({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("dt", { children: [/* @__PURE__ */ (0, O.jsx)(l$, { name: e }), t] }), /* @__PURE__ */ (0, O.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function MSe({ tags: e }) {- let { shown: t, rest: n } = b$(e);+function PSe({ tags: e }) {+ let { shown: t, rest: n } = y$(e);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, O.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, O.jsx)(m$, {+ }, e)), n ? /* @__PURE__ */ (0, O.jsx)(p$, {id: "entityTagPop",hook: "fact",rest: n,@@ -62721,18 +62724,18 @@ function MSe({ tags: e }) {})}) : null] });}-function C$({ mark: e }) {+function S$({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, O.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, O.jsx)(u$, { name: e.brand })+ children: /* @__PURE__ */ (0, O.jsx)(l$, { name: e.brand })});- let t = L("globe") + ("site" in e ? `<img src="${z(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");+ let t = R("globe") + ("site" in e ? `<img src="${B(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, O.jsx)("span", {"data-link-icon": "",dangerouslySetInnerHTML: { __html: t }});}-function NSe({ link: e }) {+function FSe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, O.jsx)("a", {"data-link": "icon",@@ -62741,19 +62744,19 @@ function NSe({ link: e }) {rel: "noopener noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, O.jsx)(C$, { mark: e.mark })+ children: /* @__PURE__ */ (0, O.jsx)(S$, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, O.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, O.jsx)(C$, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, O.jsx)(S$, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, O.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, O.jsx)(C$, { mark: { globe: !0 } }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(S$, { mark: { globe: !0 } }), /* @__PURE__ */ (0, O.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -62765,7 +62768,7 @@ function NSe({ link: e }) {rel: "noopener noreferrer",title: e.title,children: [- /* @__PURE__ */ (0, O.jsx)(C$, { mark: e.mark }),+ /* @__PURE__ */ (0, O.jsx)(S$, { mark: e.mark }),/* @__PURE__ */ (0, O.jsx)("span", {"data-link-label": "",children: e.text@@ -62780,7 +62783,7 @@ function NSe({ link: e }) {});}}-function PSe({ entity: e, actions: t, helpers: n }) {+function ISe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, D.useState)(!!e.feed?.following), [a, o] = (0, D.useState)(!1), s = (0, D.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -62798,36 +62801,36 @@ function PSe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, O.jsxs)("div", {"data-entry-marks": "",- children: [y$(e).map((e, t) => /* @__PURE__ */ (0, O.jsxs)("a", {+ children: [v$(e).map((e, t) => /* @__PURE__ */ (0, O.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noopener noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, O.jsx)(u$, { name: e.mark }) : /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, O.jsx)(l$, { name: e.mark }) : /* @__PURE__ */ (0, O.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, O.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, O.jsx)(mSe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, O.jsx)(gSe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: _Se(r)+ tip: ySe(r)}) : null]});}//#endregion//#region src/react/entity-page/use-entity-online.ts-var FSe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function ISe(e, t, n) {- let [r, i] = (0, D.useState)(() => zi(e));- r.author !== e && i(zi(e));+var LSe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function RSe(e, t, n) {+ let [r, i] = (0, D.useState)(() => Ri(e));+ r.author !== e && i(Ri(e));let [a, o] = (0, D.useState)({author: e,media: ""@@ -62839,24 +62842,24 @@ function ISe(e, t, n) {let s = a.author === e ? a.media : "", c = (t) => o({author: e,media: t- }), l = Ti(r, 0), u = Tt({+ }), l = wi(r, 0), u = wt({...l,enabled: t && !!e- }), d = Ct({- queryKey: Ei,- queryFn: ({ signal: e }) => Di(e),+ }), d = St({+ queryKey: Ti,+ queryFn: ({ signal: e }) => Ei(e),enabled: t- }), f = (0, D.useMemo)(() => ki(u.data), [u.data]), p = u.isPending || u.isPlaceholderData, m = (0, D.useMemo)(() => {+ }), f = (0, D.useMemo)(() => Oi(u.data), [u.data]), p = u.isPending || u.isPlaceholderData, m = (0, D.useMemo)(() => {let e = {videos: 0,images: 0};- return (f?.groups || []).forEach((t) => Li(t).forEach((t) => {+ return (f?.groups || []).forEach((t) => Ii(t).forEach((t) => {e[t === "image" ? "images" : "videos"] += 1;})), e;}, [f]), h = m.images > m.videos ? "images" : "videos";!s && f && !p && c(h);- let g = s || h, _ = (0, D.useMemo)(() => (f?.groups || []).filter((e) => Li(e).has(g === "images" ? "image" : "video")), [f, g]), v = (0, D.useMemo)(() => ({+ let g = s || h, _ = (0, D.useMemo)(() => (f?.groups || []).filter((e) => Ii(e).has(g === "images" ? "image" : "video")), [f, g]), v = (0, D.useMemo)(() => ({sources: f?.sources || [],aliases: f?.author_aliases || [],credentials: new Set((d.data?.providers || []).filter((e) => e.present).map((e) => e.provider))@@ -62871,7 +62874,7 @@ function ISe(e, t, n) {photoLayouts: n.photoLayouts,imagesOnly: n.imagesOnly,status: r.status,- statuses: yi,+ statuses: vi,provider: r.provider,providers: (y.providers || []).map((e) => [e, b.get(e) || e]),tags: x.map(([e, t]) => ({@@ -62879,14 +62882,14 @@ function ISe(e, t, n) {label: fl(e),n: t,selected: r.tags.includes(e),- cat: Yi(f?.groups || [], e)+ cat: Ji(f?.groups || [], e)})),- sorts: bi.map(([e, t]) => ({+ sorts: yi.map(([e, t]) => ({key: e,label: t,pressed: r.sort === e,dir: r.sort === e ? r.dir : "",- ariaLabel: Gi(e, t, r.sort, r.dir)+ ariaLabel: Wi(e, t, r.sort, r.dir)}))}, C = f?.counts || {}, w = r.status ? C[r.status] || 0 : Object.values(C).reduce((e, t) => e + (Number(t) || 0), 0), T = (e) => i((t) => ({...t,@@ -62903,15 +62906,15 @@ function ISe(e, t, n) {actions: {onlineMedia: (e) => c(e),onlineShuffle: () => T({- sort: Si,- seed: FSe()+ sort: xi,+ seed: LSe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => T({ status: e }),onlineProvider: (e) => T({ provider: r.provider === e ? "" : e }),onlineTag: (e) => T({ tags: r.tags.includes(e) ? r.tags.filter((t) => t !== e) : [...r.tags, e] }),onlineSort: (e) => {- let t = Wi(e, r.sort, r.dir);+ let t = Ui(e, r.sort, r.dir);t && T(t);}},@@ -62935,8 +62938,8 @@ function ISe(e, t, n) {}//#endregion//#region src/react/entity-page/entity-page-view.tsx-function LSe(e) {- let { kind: t, name: n } = e, r = Ct(RZ(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {+function zSe(e) {+ let { kind: t, name: n } = e, r = St(LZ(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;@@ -62954,17 +62957,17 @@ function LSe(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, O.jsx)(bG, {- message: jn(r.error),+ ]), r.isError ? /* @__PURE__ */ (0, O.jsx)(xG, {+ message: An(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, O.jsx)(BSe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, O.jsx)(HSe, {...e,entity: r.data});}-function w$(e) {+function C$(e) {let [t, n] = (0, D.useState)({key: e,n: 1@@ -62976,76 +62979,76 @@ function w$(e) {};return n(r), r.n;}-var RSe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function zSe(e, t) {+var BSe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function VSe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function BSe(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 = Tt(zZ(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 || BZ(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {+function HSe(e) {+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = wt(RZ(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 || zZ(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- } : jZ, [y, b] = (0, D.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, D.useState)(x);+ } : AZ, [y, b] = (0, D.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, D.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = ISe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = RSe(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), E = w === "photos" || w === "online" && T.media === "images", [k, A] = (0, D.useState)(0), j = LZ(e), M = Ct(j), ee = w$(JSON.stringify([j.queryKey, k])), [N] = (0, D.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));+ }), E = w === "photos" || w === "online" && T.media === "images", [k, A] = (0, D.useState)(0), j = IZ(e), M = St(j), N = C$(JSON.stringify([j.queryKey, k])), [P] = (0, D.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));(0, D.useLayoutEffect)(() => {- s.javContext(N);- }, [s, N]);- let te = (0, D.useMemo)(() => e.layout.active === N ? e.layout : {+ s.javContext(P);+ }, [s, P]);+ let ee = (0, D.useMemo)(() => e.layout.active === P ? e.layout : {...e.layout,- active: N- }, [e.layout, N]), P = {+ active: P+ }, [e.layout, P]), F = {jav: e.jav,seed: e.seed- }, ne = (0, D.useCallback)((e, r, a) => IZ(t, n, i, P, e, r, a), [ee]), [F, re] = (0, D.useState)({}), ie = v.set, ae = F[ie] || "", oe = Tt({- ...zZ(t, n, ie, ae),+ }, te = (0, D.useCallback)((e, r, a) => FZ(t, n, i, F, e, r, a), [N]), [I, ne] = (0, D.useState)({}), re = v.set, ie = I[re] || "", ae = wt({+ ...RZ(t, n, re, ie),enabled: w === "photos"- }), se = oe.data?.pages[0], ce = w$(JSON.stringify(NZ(t, n, ie, ae))), le = (0, D.useMemo)(() => {- let e = oe.data?.pages;+ }), oe = ae.data?.pages[0], se = C$(JSON.stringify(MZ(t, n, re, ie))), ce = (0, D.useMemo)(() => {+ let e = ae.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];return {- revision: ce,- codeSets: t.id ? [] : BZ(t),+ revision: se,+ codeSets: t.id ? [] : zZ(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 = Ct({- ...OZ(d, o.feedRowHtml),+ }, [ae.data, se]), le = ae.refetch, ue = ae.fetchNextPage, de = St({+ ...DZ(d, o.feedRowHtml),enabled: !!d- }), pe = (0, D.useRef)(e.feedRevision);+ }), fe = (0, D.useRef)(e.feedRevision);(0, D.useEffect)(() => {- pe.current !== e.feedRevision && (pe.current = e.feedRevision, H.invalidateQueries({ queryKey: DZ(d) }));+ fe.current !== e.feedRevision && (fe.current = e.feedRevision, U.invalidateQueries({ queryKey: EZ(d) }));}, [d, e.feedRevision]);- let me = !!M.data;+ let pe = !!M.data;(0, D.useEffect)(() => {s.painted(w, E);}, [s,w,E,- ee,- le?.revision,- me,+ N,+ ce?.revision,+ pe,T.key]);- let he = (0, D.useRef)(!0);+ let me = (0, D.useRef)(!0);(0, D.useEffect)(() => () => {- he.current = !1;+ me.current = !1;}, []);- let ge = (0, D.useCallback)(async () => {- await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: MZ(t, n) }), await H.invalidateQueries({ queryKey: [+ let he = (0, D.useCallback)(async () => {+ await U.invalidateQueries({ queryKey: ["entity-route"] }), await U.invalidateQueries({ queryKey: jZ(t, n) }), await U.invalidateQueries({ queryKey: ["entity-items",t,n] });- }, [t, n]), _e = wt({- mutationFn: (e) => R("/api/entity-alias", {+ }, [t, n]), ge = Ct({+ mutationFn: (e) => z("/api/entity-alias", {method: "POST",body: JSON.stringify({kind: t,@@ -63053,9 +63056,9 @@ function BSe(e) {...e})}),- onSuccess: () => ge()- }), ve = wt({- mutationFn: ({ from: e, to: n }) => R("/api/entity-name", {+ onSuccess: () => he()+ }), _e = Ct({+ mutationFn: ({ from: e, to: n }) => z("/api/entity-name", {method: "POST",body: JSON.stringify({kind: t,@@ -63063,9 +63066,9 @@ function BSe(e) {canonical: n})}),- onSuccess: () => ge()- }), ye = wt({- mutationFn: (e) => R("/api/feeds/source", {+ onSuccess: () => he()+ }), ve = Ct({+ mutationFn: (e) => z("/api/feeds/source", {method: "POST",body: JSON.stringify({action: "follow",@@ -63073,20 +63076,20 @@ function BSe(e) {enabled: e})}),- onSuccess: (e, r) => H.setQueryData(MZ(t, n), (e) => e && {+ onSuccess: (e, r) => U.setQueryData(jZ(t, n), (e) => e && {...e,feed: {...e.feed,following: r}})- }), be = wt({ mutationFn: (e) => R("/api/follow/creator", {+ }), ye = Ct({ mutationFn: (e) => z("/api/follow/creator", {method: "POST",body: JSON.stringify({entity_id: d,key: e})- }) }), xe = (0, D.useMemo)(() => ({+ }) }), be = (0, D.useMemo)(() => ({openEntity: s.openEntity,chooseName: (e) => {let n = r.canonical_name;@@ -63094,14 +63097,14 @@ function BSe(e) {title: "更改统一名称",body: `「${e}」将成为这份档案显示的名称,「${n}」留作别名。作品上的署名、搜索和标签都会跟着改写。`,confirmLabel: "更改统一名称",- onConfirm: () => ve.mutateAsync({+ onConfirm: () => _e.mutateAsync({from: n,to: e})}).then(({ confirmed: e, result: n }) => {let r = n;e && r?.changed && (o.receipt(`已把统一名称更改为 ${r.canonical_name}`, { undo: async () => {- await ve.mutateAsync({+ await _e.mutateAsync({from: r.canonical_name || "",to: r.previous_name || ""}), s.openEntity(t, r.previous_name || "");@@ -63109,31 +63112,31 @@ function BSe(e) {});},addAlias: () => {- o.aliasForm(r.user_aliases || [], (e) => _e.mutateAsync(e));+ o.aliasForm(r.user_aliases || [], (e) => ge.mutateAsync(e));},follow: async (e) => {try {- await ye.mutateAsync(e);+ await ve.mutateAsync(e);} catch (t) {throw o.failure(e ? "订阅新作" : "取消订阅新作", t), t;}},refreshFeedAfterCheck: () => {(async () => {- for (let e = 0; e < 40 && he.current; e += 1) {+ for (let e = 0; e < 40 && me.current; e += 1) {await new Promise((e) => {setTimeout(e, 3e3);});- let e = await R("/api/feeds/check").catch(() => null);+ let e = await z("/api/feeds/check").catch(() => null);if (!e || e.status !== "running") break;}- he.current && await H.invalidateQueries({ queryKey: DZ(d) });+ me.current && await U.invalidateQueries({ queryKey: EZ(d) });})();},- feedAction: kZ,+ feedAction: OZ,avatarPicked: () => {- s.avatarChanged(), ge().then(() => {- he.current && A((e) => e + 1);+ s.avatarChanged(), he().then(() => {+ me.current && A((e) => e + 1);});},openFollowAuthor: (e) => {@@ -63144,27 +63147,27 @@ function BSe(e) {},confirmFollowAuthor: async (e, t) => {try {- await be.mutateAsync(e);+ await ye.mutateAsync(e);} catch (e) {throw o.failure("关联关注中的创作者", e), e;}- o.receipt(`已把关注里的 ${t} 记到 ${r.canonical_name} 名下`), await ge();+ o.receipt(`已把关注里的 ${t} 记到 ${r.canonical_name} 名下`), await he();}}), [s,- _e,- be,+ ge,+ ye,r,d,i,- ye,+ ve,g,o,t,n,- ge,- ve- ]), Se = (0, D.useMemo)(() => ({+ he,+ _e+ ]), xe = (0, D.useMemo)(() => ({portraitImg: () => o.portraitImg(t, r),wireScroller: o.wireDrag,wireFeedRow: o.wireFeedRow,@@ -63173,24 +63176,24 @@ function BSe(e) {r,o,t- ]), Ce = (0, D.useMemo)(() => ({+ ]), Se = (0, D.useMemo)(() => ({setView: (e) => {(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {media: e,set: 0- } : jZ));+ } : AZ));},setState: (e) => s.route({...i,state: e- }, jZ),+ }, AZ),toggleTag: s.toggleTag,clearFilter: s.clearFilter,clearAll: s.clearAll,setSort: s.setSort,reshuffle: async () => {if (w !== "photos") {- let r = s.reshuffleVideos(), a = LZ({+ let r = s.reshuffleVideos(), a = IZ({kind: t,name: n,filters: {@@ -63201,13 +63204,13 @@ function BSe(e) {seed: r,revision: e.revision});- await H.fetchQuery(a).catch(() => null);+ await U.fetchQuery(a).catch(() => null);return;}- let r = RSe(), a = await H.fetchInfiniteQuery(zZ(t, n, ie, r)).catch(() => null);- he.current && a?.pages[0] && !a.pages[0].error && re((e) => ({+ let r = BSe(), a = await U.fetchInfiniteQuery(RZ(t, n, re, r)).catch(() => null);+ me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({...e,- [ie]: r+ [re]: r}));},setJavLayout: s.setJavLayout,@@ -63227,20 +63230,20 @@ function BSe(e) {e.jav,e.revision,w,- ie- ]), we = (0, D.useMemo)(() => ({+ re+ ]), Ce = (0, D.useMemo)(() => ({wireDrag: o.wireDrag,wireScroller: o.wireScroller,sourceToolsHtml: o.sourceToolsHtml,wireSourceTools: (e) => o.wireSourceTools(e, () => {- ue();+ le();})- }), [o, ue]), Te = (r.tags || []).map((e) => ({+ }), [o, le]), we = (r.tags || []).map((e) => ({k: e.k,label: fl(e.k),n: e.n,- selected: ybe(i.tag, e.k)- })), Ee = [+ selected: xbe(i.tag, e.k)+ })), Te = [u.length,!_,m,@@ -63255,40 +63258,40 @@ function BSe(e) {videos: _ ? null : { count: r.asset_count || 0 },photos: m ? { count: m } : null,online: g ? { count: r.follow?.n || 0 } : null- } : null, De = {- sorts: o.sortKeys(i.sort || "new", i.dir || "", N),- jav: N ? {+ } : null, Ee = {+ sorts: o.sortKeys(i.sort || "new", i.dir || "", P),+ jav: P ? {layout: e.javLayout,options: e.javLayouts} : null- }, Oe = !!se?.id && !se.error, ke = se && !se.error ? {- back: Oe,- shuffle: !!se.total,+ }, De = !!oe?.id && !oe.error, Oe = oe && !oe.error ? {+ back: De,+ shuffle: !!oe.total,layout: e.photoLayout,layouts: e.photoLayouts,- setId: Oe ? Number(se.id) : 0- } : null, Ae = o.comboItems(i), je = Ae.length > 0 || !!i.state, Me = w === "videos" && !!M.data && !(M.data.items || []).length, Ne = () => s.route({+ setId: De ? Number(oe.id) : 0+ } : null, ke = o.comboItems(i), Ae = ke.length > 0 || !!i.state, je = w === "videos" && !!M.data && !(M.data.items || []).length, Me = () => s.route({...i,state: "",tag: "",creator: "",studio: "",owner: ""- }, jZ), Pe = "", Fe = !1;- if (w === "people") Pe = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;- else if (w === "online") Fe = T.busy, Pe = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;+ }, AZ), 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") {- Fe = !M.data;- let e = PZ(i.tag).length;- Pe = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : zSe(se, BZ(se).length) : Fe = oe.isPending;- let Ie = (0, D.useMemo)(() => ({+ Pe = !M.data;+ let e = NZ(i.tag).length;+ Ne = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : VSe(oe, zZ(oe).length) : Pe = ae.isPending;+ let Fe = (0, D.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {- let e = await de();+ let e = await ue();if (e.isError) throw e.error;}- }), [de, e.card.actions]), Le = (0, D.useMemo)(() => u.length ? {+ }), [ue, e.card.actions]), Ie = (0, D.useMemo)(() => u.length ? {kind: t === "studio" ? "studios" : "performers",people: u,layout: e.peopleLayout@@ -63298,36 +63301,36 @@ function BSe(e) {u]);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(TSe, {+ /* @__PURE__ */ (0, O.jsx)(DSe, {kind: t,name: n,entity: r,- feedNew: fe.data ?? null,+ feedNew: de.data ?? null,feedHost: d ? c.feed : null,- jav: N,- actions: xe,- helpers: Se+ jav: P,+ actions: be,+ helpers: xe}, k),- (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(qW, {+ (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(JW, {kind: t,name: n,view: w,- views: Ee,+ views: Te,state: i.state || "",states: e.states,- tags: Te,- combo: Ae,- readout: Pe,- busy: Fe,- video: Me ? null : De,- photo: ke,+ tags: we,+ combo: ke,+ readout: Ne,+ busy: Pe,+ video: je ? null : Ee,+ photo: Oe,online: w === "online" ? T.head : null,- actions: Ce,- helpers: we+ actions: Se,+ helpers: Ce}), c.filter),- (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(Khe, {+ (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(Khe, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, O.jsx)(Nxe, {+ children: w === "online" ? /* @__PURE__ */ (0, O.jsx)(Fxe, {view: T.view,media: T.media,result: T.result,@@ -63341,23 +63344,23 @@ function BSe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, O.jsx)(bG, {- message: jn(M.error),+ }, T.key) : w === "videos" && M.isError ? /* @__PURE__ */ (0, O.jsx)(xG, {+ message: An(M.error),onRetry: () => {M.refetch();}- }) : Me ? /* @__PURE__ */ (0, O.jsx)(VSe, {- filtered: je,- onShowAll: Ne,- onOnline: g ? () => Ce.setView("online") : void 0- }) : /* @__PURE__ */ (0, O.jsx)(Qbe, {+ }) : je ? /* @__PURE__ */ (0, O.jsx)(USe, {+ filtered: Ae,+ onShowAll: Me,+ onOnline: g ? () => Se.setView("online") : void 0+ }) : /* @__PURE__ */ (0, O.jsx)(exe, {kind: t,name: n,view: w,- roster: Le,+ roster: Ie,items: M.data ?? null,- revision: ee,- fetchPage: ne,+ revision: N,+ fetchPage: te,listScope: JSON.stringify([t,n,@@ -63365,12 +63368,12 @@ function BSe(e) {e.jav,i.sort === "seed" ? e.seed : ""]),- photos: le,+ photos: ce,photoSize: e.photoSize,photoLayout: e.photoLayout,helpers: e.card.helpers,- actions: Ie,- layout: te,+ actions: Fe,+ layout: ee,selectMode: e.selectMode,selected: e.selected,seekSeconds: e.seekSeconds,@@ -63382,9 +63385,9 @@ function BSe(e) {}), c.body)] });}-function VSe({ filtered: e, onShowAll: t, onOnline: n }) {- return e ? /* @__PURE__ */ (0, O.jsx)($z, {- icon: tB("search"),+function USe({ filtered: e, onShowAll: t, onOnline: n }) {+ return e ? /* @__PURE__ */ (0, O.jsx)(eB, {+ icon: nB("search"),title: "没有符合条件的视频",actions: /* @__PURE__ */ (0, O.jsx)(q, {size: "small",@@ -63392,14 +63395,14 @@ function VSe({ filtered: e, onShowAll: t, onOnline: n }) {children: "清除筛选"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, O.jsx)($z, {- icon: tB("film"),+ }) : /* @__PURE__ */ (0, O.jsx)(eB, {+ icon: nB("film"),title: "还没有视频",actions: n ? /* @__PURE__ */ (0, O.jsx)(q, {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, O.jsx)(dI, {+ }) : /* @__PURE__ */ (0, O.jsx)(OI, {size: "small",href: "/",children: "浏览馆藏"@@ -63409,40 +63412,40 @@ function VSe({ filtered: e, onShowAll: t, onOnline: n }) {}//#endregion//#region src/react/diagnostics/diagnostics.ts-var T$ = ["diagnostics"], E$ = (e) => B("/api/diagnostics", e);-async function HSe(e) {- await H.fetchQuery({- queryKey: T$,- queryFn: () => E$(e),+var w$ = ["diagnostics"], T$ = (e) => V("/api/diagnostics", e);+async function WSe(e) {+ await U.fetchQuery({+ queryKey: w$,+ queryFn: () => T$(e),staleTime: 1e4});}//#endregion//#region src/react/feed-new/feed-new-page.tsx-function USe({ host: e, revision: t, helpers: n, actions: r }) {- let i = Ct(OZ(null, n.feedRowHtml)), a = (0, D.useRef)(t);+function GSe({ host: e, revision: t, helpers: n, actions: r }) {+ let i = St(DZ(null, n.feedRowHtml)), a = (0, D.useRef)(t);return (0, D.useEffect)(() => {- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: DZ(null) }));- }, [t]), (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(l$, {+ a.current !== t && (a.current = t, U.invalidateQueries({ queryKey: EZ(null) }));+ }, [t]), (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(c$, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: kZ,+ act: OZ,settled: r.settled}), e);}//#endregion//#region src/react/components/board-tabs.tsx-function D$({ value: e }) {+function E$({ value: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {"data-tab-count": "",className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",children: e.toLocaleString()});}-var WSe = "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 O$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {- let a = (0, D.useRef)(null), o = QF(a);+var KSe = "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 D$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+ let a = (0, D.useRef)(null), o = yI(a);return (0, D.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -63451,7 +63454,7 @@ function O$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"let n = t.offsetLeft, r = n + t.offsetWidth;n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);})();- }, [t]), /* @__PURE__ */ (0, O.jsx)(mF, {+ }, [t]), /* @__PURE__ */ (0, O.jsx)(JF, {ref: o,role: "tablist","aria-label": n,@@ -63466,7 +63469,7 @@ function O$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"},className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,children: e.map((e) => {- let n = e.symbol ? tB(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? nB(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",@@ -63475,7 +63478,7 @@ function O$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5""data-pill-selected": i ? "" : void 0,"data-pill-variant": "gray",tabIndex: i ? 0 : -1,- className: WSe,+ className: KSe,onClick: () => {i || r(e.value);},@@ -63486,11 +63489,11 @@ function O$({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"}//#endregion//#region src/react/index/index-tags.tsx-var k$ = () => /* @__PURE__ */ (0, O.jsx)("span", {+var O$ = () => /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), A$ = tB("pencil"), j$ = (e, t) => ({+}), k$ = nB("pencil"), A$ = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -63499,7 +63502,7 @@ var k$ = () => /* @__PURE__ */ (0, O.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function GSe({ tag: e, actions: t }) {+function qSe({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -63508,13 +63511,13 @@ function GSe({ tag: e, actions: t }) {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": eQ(t.online, e.cat),+ "data-tag-cat": $Z(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, O.jsx)(k$, {}),+ /* @__PURE__ */ (0, O.jsx)(O$, {}),/* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -63525,32 +63528,32 @@ function GSe({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(hB, { item: j$(e, t.online) }),- t.edit ? /* @__PURE__ */ (0, O.jsx)(mB, {+ t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(gB, { item: A$(e, t.online) }),+ t.edit ? /* @__PURE__ */ (0, O.jsx)(hB, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, O.jsx)(A$, {})+ children: /* @__PURE__ */ (0, O.jsx)(k$, {})}) : null]});}-function M$({ groups: e, actions: t }) {+function j$({ groups: e, actions: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, O.jsxs)("section", {"data-alpha-group": r,- className: YH({+ className: XH({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, O.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, O.jsx)(D$, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, O.jsx)(E$, { value: n.length })]}), /* @__PURE__ */ (0, O.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(GSe, {+ children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(qSe, {tag: e,actions: t}, e.k))@@ -63558,26 +63561,26 @@ function M$({ groups: e, actions: t }) {}, e))});}-var KSe = "\xA0";-function N$({ tags: e, actions: t }) {+var JSe = "\xA0";+function M$({ tags: e, actions: t }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("span", {"data-tag-token": "",- "data-tag-cat": eQ(t.online, e.cat),+ "data-tag-cat": $Z(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, O.jsxs)("button", {type: "button","data-tag-chip": "","data-k": e.k,- "data-tag-cat": eQ(t.online, e.cat),+ "data-tag-cat": $Z(t.online, e.cat),"aria-pressed": t.picked.has(e.k),onClick: () => t.press(e.k),className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "min-w-0 truncate",- children: e.label + KSe+ children: e.label + JSe}), /* @__PURE__ */ (0, O.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -63586,16 +63589,16 @@ function N$({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(hB, { item: j$(e, t.online) }), t.edit ? /* @__PURE__ */ (0, O.jsx)(mB, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, O.jsx)(gB, { item: A$(e, t.online) }), t.edit ? /* @__PURE__ */ (0, O.jsx)(hB, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, O.jsx)(A$, {})+ children: /* @__PURE__ */ (0, O.jsx)(k$, {})}) : null]}) : null]}, e.k))});}-var qSe = [[+var YSe = [["cloud","标签云","tags"@@ -63604,28 +63607,28 @@ var qSe = [["字母表","text-aa"]];-function P$({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {- let d = QF();- return /* @__PURE__ */ (0, O.jsx)(nI, {+function N$({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {+ let d = yI();+ return /* @__PURE__ */ (0, O.jsx)(xI, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [l ? /* @__PURE__ */ (0, O.jsx)("div", {role: "group","aria-label": "标签状态",className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",- children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(iI, {+ children: [[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(SI, {"data-tag-pill": "","data-tag-cat": "all",pressed: l.hidden === e,onPress: () => l.onChange(!!e),children: t}, String(e)))- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(iI, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(SI, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : eQ(n, e),+ "data-tag-cat": e === "all" ? "all" : $Z(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, O.jsx)(k$, {}), r]+ children: [/* @__PURE__ */ (0, O.jsx)(O$, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {@@ -63646,19 +63649,19 @@ function P$({ categories: e, category: t, online: n, readout: r, letters: i, viechildren: e}, e))}) : null,- /* @__PURE__ */ (0, O.jsx)(BR, {+ /* @__PURE__ */ (0, O.jsx)(VR, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${hW}`,- children: qSe.map(([e, t, n]) => {- let r = tB(n);- return /* @__PURE__ */ (0, O.jsx)(VR, {+ className: `ml-auto ${gW}`,+ children: YSe.map(([e, t, n]) => {+ let r = nB(n);+ return /* @__PURE__ */ (0, O.jsx)(HR, {value: e,"aria-label": t,"data-glass-segment": "",- className: gW,+ className: _W,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -63670,13 +63673,13 @@ function P$({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function JSe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, O.jsxs)(Mk, {+function XSe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, O.jsxs)(Dk, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, O.jsx)(bV, {+ /* @__PURE__ */ (0, O.jsx)(xV, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, O.jsxs)("span", {@@ -63708,29 +63711,29 @@ function JSe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {}//#endregion//#region src/react/toaster.tsx-var F$ = (e, t) => /* @__PURE__ */ (0, O.jsx)("span", {+var P$ = (e, t) => /* @__PURE__ */ (0, O.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), I$ = null, L$ = { "--floating-radius": "var(--radius-2xl)" };-function R$() {- let e = I$;- I$ = null, e?.root.unmount();-}-var z$ = (e, t) => {- if (I$?.host === e) return;- R$();- let n = (0, Dt.createRoot)(e);- I$ = {+}), F$ = null, I$ = { "--floating-radius": "var(--radius-2xl)" };+function L$() {+ let e = F$;+ F$ = null, e?.root.unmount();+}+var R$ = (e, t) => {+ if (F$?.host === e) return;+ L$();+ let n = (0, Et.createRoot)(e);+ F$ = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, O.jsxs)(_H, { children: [/* @__PURE__ */ (0, O.jsx)(TH, {+ }, n.render(/* @__PURE__ */ (0, O.jsxs)(vH, { children: [/* @__PURE__ */ (0, O.jsx)(EH, {id: "receipts",position: "bottom-right",closeButton: !0,gap: 8,style: {- ...L$,+ ...I$,"--width": "min(560px, calc(100vw - 48px))"},offset: {@@ -63745,16 +63748,16 @@ var z$ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: F$(t.success, !0),- error: F$(t.error, !1)+ success: P$(t.success, !0),+ error: P$(t.error, !1)}- }), /* @__PURE__ */ (0, O.jsx)(TH, {+ }), /* @__PURE__ */ (0, O.jsx)(EH, {id: "processing",position: "bottom-right",gap: 8,expand: !0,style: {- ...L$,+ ...I$,"--width": "min(400px, calc(100vw - 32px))"},offset: {@@ -63769,13 +63772,13 @@ var z$ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, YSe = 6e3, B$ = (e, t) => {+}, ZSe = 6e3, z$ = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? bH.error : bH.success, r = t.action;+ let n = t.alert ? xH.error : xH.success, r = t.action;n(/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : YSe,+ duration: t.timeout > 0 ? t.timeout : ZSe,action: r ? {label: r.label,onClick: (e) => {@@ -63783,32 +63786,32 @@ var z$ = (e, t) => {}} : void 0});-}, V$ = (e) => e.id ?? e.entity_id, H$ = {+}, B$ = (e) => e.id ?? e.entity_id, V$ = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",restore: "恢复标签",repair: "整理重复标签"-}, U$ = (e, t) => V("/api/tag-management/preview", e, "POST", t);-async function W$(e, t, n) {+}, H$ = (e, t) => H("/api/tag-management/preview", e, "POST", t);+async function U$(e, t, n) {if (n?.aborted) return !1;let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;return !(await xc({- title: H$[e.operation],+ title: V$[e.operation],body: i,- confirmLabel: H$[e.operation],- onConfirm: () => V("/api/tag-management", {+ confirmLabel: V$[e.operation],+ onConfirm: () => H("/api/tag-management", {...e,token: t.token}, "POST", n)- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), B$(`tag-management-${Date.now()}`, {- html: `已${H$[e.operation]}`,+ })).confirmed || n?.aborted ? !1 : (await U.invalidateQueries(), z$(`tag-management-${Date.now()}`, {+ html: `已${V$[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function XSe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function QSe({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, D.useRef)({operation: e,selected: t,@@ -63817,24 +63820,24 @@ function XSe({ operation: e, selected: t, close: n, done: r, scope: i = "local"scope: i}), o = (0, D.useRef)({name: t[0]?.k || "",- target_id: t[0] ? V$(t[0]) : 0+ target_id: t[0] ? B$(t[0]) : 0}), [s, c] = (0, D.useState)(null);return (0, D.useEffect)(() => {let e = new AbortController(), t = a.current, n = yc({- title: H$[t.operation],+ title: V$[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(V$),+ ids: t.selected.map(B$),...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 U$(n, e.signal)+ plan: await H$(n, e.signal)};}});@@ -63845,14 +63848,14 @@ function XSe({ operation: e, selected: t, close: n, done: r, scope: i = "local"if (!e.signal.aborted) {if (n.confirmed) {let r = n.result;- await W$(r.command, r.plan, e.signal) && t.done();+ await U$(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}}), () => {e.abort(), n.close();};- }, []), s ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(ZSe, {+ }, []), s ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)($Se, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -63861,8 +63864,8 @@ function XSe({ operation: e, selected: t, close: n, done: r, scope: i = "local"}}), s.host) : null;}-function ZSe({ operation: e, selected: t, dialog: n, update: r }) {- let [i, a] = (0, D.useState)(t[0]?.k || ""), [o, s] = (0, D.useState)(t[0] ? V$(t[0]) : 0);+function $Se({ operation: e, selected: t, dialog: n, update: r }) {+ let [i, a] = (0, D.useState)(t[0]?.k || ""), [o, s] = (0, D.useState)(t[0] ? B$(t[0]) : 0);return (0, D.useEffect)(() => {r({name: i,@@ -63875,7 +63878,7 @@ function ZSe({ operation: e, selected: t, dialog: n, update: r }) {e,t,r- ]), e === "rename" ? /* @__PURE__ */ (0, O.jsx)(Yz, {+ ]), e === "rename" ? /* @__PURE__ */ (0, O.jsx)(Xz, {autoFocus: !0,"aria-label": "标签名称",value: i,@@ -63886,35 +63889,35 @@ function ZSe({ operation: e, selected: t, dialog: n, update: r }) {prefix: "保留",selectedKey: String(o),onSelectionChange: (e) => {- let n = t.find((t) => String(V$(t)) === String(e));- n && s(V$(n));+ let n = t.find((t) => String(B$(t)) === String(e));+ n && s(B$(n));},- children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(nW, {- id: String(V$(e)),+ children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(rW, {+ id: String(B$(e)),children: e.k- }, V$(e)))+ }, B$(e)))});}//#endregion//#region src/react/index/tag-manager.tsx-function QSe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {- let s = o === "online", c = Ct({+function eCe({ search: e = "", category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+ let s = o === "online", c = St({queryKey: ["tag-management", o],- queryFn: ({ signal: e }) => B(`/api/tag-management${s ? "?scope=online" : ""}`, e)- }), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, D.useState)(null), h = qH(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? GZ : WZ).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({+ queryFn: ({ signal: e }) => V(`/api/tag-management${s ? "?scope=online" : ""}`, e)+ }), [l, u] = (0, D.useState)(!1), [d, f] = (0, D.useState)(/* @__PURE__ */ new Set()), [p, m] = (0, D.useState)(null), h = JH(), g = c.data?.items || [], _ = g.filter((t) => t.hidden === l && [t.k, ...t.aliases].some((t) => t.toLocaleLowerCase().includes(e.trim().toLocaleLowerCase()))), v = _.filter((e) => t === "all" || (e.cat || "general") === t), y = (s ? WZ : UZ).filter(([e]) => e === "all" || e === t || c.isPending || _.some((t) => (t.cat || "general") === e)), b = v.map((e) => ({...e,label: e.k- })), x = n === "alphabet" ? tQ(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {+ })), x = n === "alphabet" ? eQ(b, (e) => e) : [], S = g.filter((e) => d.has(e.k)), C = (e) => {h.run(e.operation, async (t) => {let n = s ? {...e,scope: o} : e;- return W$(n, await U$(n, t), t);+ return U$(n, await H$(n, t), t);}, (e) => {e && f(/* @__PURE__ */ new Set());});- }, w = S.map(V$), T = {+ }, w = S.map(B$), T = {online: s,favorites: s,picked: d,@@ -63931,7 +63934,7 @@ function QSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor"data-tag-manager": "",className: "flex min-w-0 flex-col",children: [- /* @__PURE__ */ (0, O.jsx)(P$, {+ /* @__PURE__ */ (0, O.jsx)(N$, {categories: y,category: t,online: s,@@ -63950,7 +63953,7 @@ function QSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}},actions: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, O.jsx)(oI, {+ c.data?.duplicate_groups.length ? /* @__PURE__ */ (0, O.jsx)(CI, {busy: h.busy === "repair",onPress: () => C({operation: "repair",@@ -63958,11 +63961,11 @@ function QSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}),children: "整理重复标签"}) : null,- v.length ? /* @__PURE__ */ (0, O.jsx)(oI, {+ v.length ? /* @__PURE__ */ (0, O.jsx)(CI, {onPress: () => f(new Set(v.map((e) => e.k))),children: "选择当前结果"}) : null,- d.size ? /* @__PURE__ */ (0, O.jsx)(oI, {+ d.size ? /* @__PURE__ */ (0, O.jsx)(CI, {onPress: () => f(/* @__PURE__ */ new Set()),children: "清空选择"}) : null@@ -63972,8 +63975,8 @@ function QSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor"aria-busy": "true","data-skeleton": "",className: "h-24 rounded-lg bg-background-tertiary-default",- children: /* @__PURE__ */ (0, O.jsx)(yw, { children: "正在读取标签" })- }) : c.isError ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ children: /* @__PURE__ */ (0, O.jsx)(HC, { children: "正在读取标签" })+ }) : c.isError ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -63981,21 +63984,21 @@ function QSe({ search: e = "", category: t = "all", view: n = "cloud", onCategorchildren: "立即重试"}),children: "无法读取标签"- }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(M$, {+ }) : v.length ? n === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(j$, {groups: x,actions: T- }) : /* @__PURE__ */ (0, O.jsx)(N$, {+ }) : /* @__PURE__ */ (0, O.jsx)(M$, {tags: b,actions: T- }) : /* @__PURE__ */ (0, O.jsx)(Qz, {+ }) : /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",children: "没有符合条件的标签。"}),- h.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ h.error ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",children: h.error}) : null,- /* @__PURE__ */ (0, O.jsxs)(Mk, {+ /* @__PURE__ */ (0, O.jsxs)(Dk, {label: "标签管理操作",count: `已选 ${d.size} 个标签`,visible: d.size > 0,@@ -64017,7 +64020,7 @@ function QSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor/* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- ...rB(!!h.busy),+ ...iB(!!h.busy),onClick: () => C({operation: l ? "restore" : "hide",ids: w@@ -64026,7 +64029,7 @@ function QSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor})]}),- p ? /* @__PURE__ */ (0, O.jsx)(XSe, {+ p ? /* @__PURE__ */ (0, O.jsx)(QSe, {operation: p,selected: S,scope: o,@@ -64038,7 +64041,7 @@ function QSe({ search: e = "", category: t = "all", view: n = "cloud", onCategor}//#endregion//#region src/react/index/index-page.tsx-var $Se = [{+var tCe = [{value: "studios",label: "厂牌",symbol: "clapperboard"@@ -64046,7 +64049,7 @@ var $Se = [{value: "agencies",label: "事务所",symbol: "briefcase"-}], eCe = [{+}], nCe = [{value: "local",label: "本地",symbol: "hard-drive"@@ -64054,7 +64057,7 @@ var $Se = [{value: "online",label: "在线",symbol: "rss"-}], tCe = [+}], rCe = [{value: "performers",label: "艺人",@@ -64070,7 +64073,7 @@ var $Se = [{label: "在线",symbol: "rss"}-], nCe = {+], iCe = {people: [["big","大图 · 竖幅头像",@@ -64090,20 +64093,20 @@ var $Se = [{"layout-grid"]]};-function rCe({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, O.jsx)(dW, {- "aria-label": `${UZ[e]}索引版式`,+function aCe({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, O.jsx)(fW, {+ "aria-label": `${HZ[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none ${fW}`,- children: nCe[JZ(e) ? "company" : "people"].map(([e, t, n]) => {- let r = tB(n);- return /* @__PURE__ */ (0, O.jsx)(VR, {+ className: `flex-none ${pW}`,+ children: iCe[qZ(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = nB(n);+ return /* @__PURE__ */ (0, O.jsx)(HR, {value: e,"aria-label": t,- className: mW,+ className: hW,children: /* @__PURE__ */ (0, O.jsx)("span", {title: t,className: "contents",@@ -64113,8 +64116,8 @@ function rCe({ kind: e, layout: t, onChange: n }) {})});}-var iCe = tB("search");-function aCe({ label: e, value: t, onQuery: n }) {+var oCe = nB("search");+function sCe({ label: e, value: t, onQuery: n }) {let [r, i] = (0, D.useState)(t), a = (0, D.useRef)(!1), o = (0, D.useRef)(void 0);(0, D.useEffect)(() => {clearTimeout(o.current), i(t);@@ -64131,15 +64134,15 @@ function aCe({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, O.jsx)(Kz, {+ children: /* @__PURE__ */ (0, O.jsx)(qz, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, O.jsx)(Jz, {+ children: /* @__PURE__ */ (0, O.jsx)(Yz, {type: "search",- leadingIcon: iCe,+ leadingIcon: oCe,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -64150,14 +64153,14 @@ function aCe({ label: e, value: t, onQuery: n }) {})});}-function oCe(e) {- let [t, n] = (0, D.useState)(!1), [r, i] = (0, D.useState)(() => YZ({+function cCe(e) {+ let [t, n] = (0, D.useState)(!1), [r, i] = (0, D.useState)(() => JZ({kind: e.kind,q: e.q,scope: e.scope,view: e.view,category: e.category- })), [a, o] = (0, D.useState)(e.layout), [s, c] = (0, D.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, D.useState)("any"), d = (0, D.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = UZ[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";+ })), [a, o] = (0, D.useState)(e.layout), [s, c] = (0, D.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, D.useState)("any"), d = (0, D.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = r, _ = HZ[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";(0, D.useEffect)(() => {if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;let t = !0;@@ -64176,7 +64179,7 @@ function oCe(e) {...t};x(Object.keys(t).every((e) => e === "q")), i(o), e.route(o, { replace: a });- }, C = $Z(XZ(r)), w = Tt({+ }, C = QZ(YZ(r)), w = wt({queryKey: C.queryKey,queryFn: ({ pageParam: e, signal: t }) => C.queryFn({pageParam: e,@@ -64184,32 +64187,32 @@ function oCe(e) {}),initialPageParam: 0,getNextPageParam: C.getNextPageParam,- placeholderData: b ? ve : void 0- }), T = Pbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = Fbe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, D.useRef)(null), M = w.data?.pages[0]?.categories;+ placeholderData: b ? _e : void 0+ }), T = Ibe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = Lbe(T.length, !!w.hasNextPage), A = `${f}:${m}:${p}`, j = (0, D.useRef)(null), M = w.data?.pages[0]?.categories;M && !w.isPlaceholderData && (j.current = {key: A,counts: M});- let ee = M ?? (j.current?.key === A ? j.current.counts : void 0), N = w.isPending && !ee, te = ([e]) => e === "all" || N || Number(ee?.[e] || 0) > 0;+ let N = M ?? (j.current?.key === A ? j.current.counts : void 0), P = w.isPending && !N, ee = ([e]) => e === "all" || P || Number(N?.[e] || 0) > 0;(0, D.useLayoutEffect)(() => {d.current && el(d.current);}, [a]);- let P = (0, D.useMemo)(() => f === "tags" ? T.map((t) => ({+ let F = (0, D.useMemo)(() => f === "tags" ? T.map((t) => ({...t,label: v ? t.k : e.tagLabel(t.k)})) : [], [T,f,v- ]), ne = (0, D.useMemo)(() => f === "tags" && h === "alphabet" ? tQ(P, (t) => v ? t : e.tagLabel(t)) : [], [- P,+ ]), te = (0, D.useMemo)(() => f === "tags" && h === "alphabet" ? eQ(F, (t) => v ? t : e.tagLabel(t)) : [], [+ F,h,f,v- ]), F = (t) => {+ ]), I = (t) => {o(t), e.savePreference({ layout: t });- }, re = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(O$, {- tabs: eCe,+ }, ne = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(D$, {+ tabs: nCe,value: m,label: "词表",onChange: (e) => {@@ -64219,17 +64222,17 @@ function oCe(e) {view: e === "online" ? "alphabet" : h});}- }) : JZ(f) ? /* @__PURE__ */ (0, O.jsx)(O$, {- tabs: $Se,+ }) : qZ(f) ? /* @__PURE__ */ (0, O.jsx)(D$, {+ tabs: tCe,value: f,label: "公司类型",onChange: (e) => S({ kind: e })- }) : null, ie = (t) => {+ }) : null, re = (t) => {v ? e.openFollowTag(t) : e.selectMode ? c((e) => {let n = new Set(e);return n.delete(t) || n.add(t), n;- }) : P.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");- }, ae = (v ? GZ : WZ).filter(te);+ }) : F.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");+ }, ie = (v ? WZ : UZ).filter(ee);return /* @__PURE__ */ (0, O.jsxs)("div", {ref: d,"data-index-page": f,@@ -64244,23 +64247,23 @@ function oCe(e) {className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",children: _}),- qZ(f) ? /* @__PURE__ */ (0, O.jsx)("span", {+ KZ(f) ? /* @__PURE__ */ (0, O.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: w.isPending || w.isError ? "" : k}) : null,- qZ(f) ? /* @__PURE__ */ (0, O.jsx)(rCe, {+ KZ(f) ? /* @__PURE__ */ (0, O.jsx)(aCe, {kind: f,layout: a,- onChange: F+ onChange: I}) : null,- /* @__PURE__ */ (0, O.jsx)(gB, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),+ /* @__PURE__ */ (0, O.jsx)(_B, { kind: f === "tags" ? "tag" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),f === "tags" ? /* @__PURE__ */ (0, O.jsx)(q, {variant: t ? "primary" : "ghost",iconOnly: !0,className: "flex-none","data-tag-mode": "",- leadingIcon: tB("pencil"),+ leadingIcon: nB("pencil"),"aria-label": t ? "返回标签浏览" : "管理标签",title: t ? "返回标签浏览" : "管理标签","aria-pressed": t,@@ -64268,7 +64271,7 @@ function oCe(e) {e.exitSelectMode(), c(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, O.jsx)(aCe, {+ /* @__PURE__ */ (0, O.jsx)(sCe, {label: `过滤${_}`,value: p,onQuery: (e) => {@@ -64277,8 +64280,8 @@ function oCe(e) {})]}),- f === "performers" || f === "creators" ? /* @__PURE__ */ (0, O.jsx)(O$, {- tabs: tCe,+ f === "performers" || f === "creators" ? /* @__PURE__ */ (0, O.jsx)(D$, {+ tabs: rCe,value: y ? "online" : f,label: "人物名册",onChange: (t) => {@@ -64289,8 +64292,8 @@ function oCe(e) {});}}) : null,- re,- t && f === "tags" ? /* @__PURE__ */ (0, O.jsx)(QSe, {+ ne,+ t && f === "tags" ? /* @__PURE__ */ (0, O.jsx)(eCe, {scope: m,search: p,category: g,@@ -64304,8 +64307,8 @@ function oCe(e) {}, m) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [f === "performers" && m === "local" ? /* @__PURE__ */ (0, O.jsx)("div", {"aria-label": "身份分类",- className: HZ,- children: VZ.filter((e) => e[0] === g || te(e)).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(q, {+ className: VZ,+ children: BZ.filter((e) => e[0] === g || ee(e)).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(q, {variant: g === e ? "primary" : "secondary",size: "small","aria-pressed": g === e,@@ -64313,12 +64316,12 @@ function oCe(e) {children: t}, e))}) : null,- f === "tags" ? /* @__PURE__ */ (0, O.jsx)(P$, {- categories: ae,+ f === "tags" ? /* @__PURE__ */ (0, O.jsx)(N$, {+ categories: ie,category: g,online: v,readout: k,- letters: ne.map(([e]) => e),+ letters: te.map(([e]) => e),view: h,onCategory: (e) => S({ category: e }),onView: (e) => S({ view: e }),@@ -64338,17 +64341,17 @@ function oCe(e) {mode: h}) }});- if (w.isError) return /* @__PURE__ */ (0, O.jsx)($z, {- icon: tB("alert"),+ if (w.isError) return /* @__PURE__ */ (0, O.jsx)(eB, {+ icon: nB("alert"),title: `没能读取${_}`,actions: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",onClick: () => void w.refetch(),children: "立即重试"}),- children: Wt(w.error)+ children: Ut(w.error)});- if (!T.length) return /* @__PURE__ */ (0, O.jsx)(cCe, {+ if (!T.length) return /* @__PURE__ */ (0, O.jsx)(uCe, {kind: f,filtered: !!p || g !== "all",online: v || y,@@ -64357,12 +64360,12 @@ function oCe(e) {category: "all"})});- if (y) return /* @__PURE__ */ (0, O.jsx)(Bbe, {+ if (y) return /* @__PURE__ */ (0, O.jsx)(Hbe, {items: T,layout: a,props: e});- if (qZ(f)) return /* @__PURE__ */ (0, O.jsx)(oQ, {+ if (KZ(f)) return /* @__PURE__ */ (0, O.jsx)(aQ, {kind: f,items: T,layout: a,@@ -64371,13 +64374,13 @@ function oCe(e) {let t = {online: v,picked: s,- press: ie+ press: re};- return h === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(M$, {- groups: ne,+ return h === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(j$, {+ groups: te,actions: t- }) : /* @__PURE__ */ (0, O.jsx)(N$, {- tags: P,+ }) : /* @__PURE__ */ (0, O.jsx)(M$, {+ tags: F,actions: t});})()@@ -64397,7 +64400,7 @@ function oCe(e) {}) : null, "载入更多"]})}) : null,- f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, O.jsx)(JSe, {+ f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, O.jsx)(XSe, {count: s.size,match: l,onMatch: u,@@ -64411,16 +64414,16 @@ function oCe(e) {]});}-var sCe = {+var lCe = {tags: "标签",performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所"};-function cCe({ kind: e, filtered: t, online: n, onClear: r }) {- if (t) return /* @__PURE__ */ (0, O.jsx)($z, {- icon: tB("search"),+function uCe({ kind: e, filtered: t, online: n, onClear: r }) {+ if (t) return /* @__PURE__ */ (0, O.jsx)(eB, {+ icon: nB("search"),title: "没有符合条件的内容",actions: /* @__PURE__ */ (0, O.jsx)(q, {size: "small",@@ -64429,16 +64432,16 @@ function cCe({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : sCe[e], a = /* @__PURE__ */ (0, O.jsx)(dI, {+ let i = n && e === "performers" ? "创作者" : lCe[e], a = /* @__PURE__ */ (0, O.jsx)(OI, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, O.jsx)($z, {- icon: tB(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, O.jsx)(eB, {+ icon: nB(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(dI, {+ actions: n ? a : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(OI, {size: "small",href: "/settings/library",children: "添加媒体"@@ -64446,15 +64449,15 @@ function cCe({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var G$ = {+var W$ = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, lCe = (e) => G$[e.junk_kind || "other"] || G$.other;-function uCe(e) {+}, dCe = (e) => W$[e.junk_kind || "other"] || W$.other;+function fCe(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -64465,21 +64468,21 @@ function uCe(e) {glyph: "check"};}-var K$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), dCe = (e, t) => [+var G$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), pCe = (e, t) => ["junk-queue",e.view,e.kind,t];-function fCe({ kind: e, view: t }) {+function mCe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function pCe(e, t) {- let n = await B(`/api/ads?${fCe(e)}`, t);+async function hCe(e, t) {+ let n = await V(`/api/ads?${mCe(e)}`, t);return {...n,items: n.items || []@@ -64487,19 +64490,19 @@ async function pCe(e, t) {}//#endregion//#region src/react/junk-queue/junk-card.tsx-function q$({ name: e }) {+function K$({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-var J$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function mCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, D.useRef)(null), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = e.junk_kind || "other", [f, p] = lCe(e), m = String(e.name || ""), h = uCe(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]") || J$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var q$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function gCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, D.useRef)(null), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = e.junk_kind || "other", [f, p] = dCe(e), m = String(e.name || ""), h = fCe(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]") || q$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), J$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), q$(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) => {@@ -64514,12 +64517,12 @@ function mCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-middle-truncate": "",title: m,onClick: y,- dangerouslySetInnerHTML: { __html: z(m || "未命名资源") }+ dangerouslySetInnerHTML: { __html: B(m || "未命名资源") }}) : /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-title": "","data-middle-truncate": "",title: m,- dangerouslySetInnerHTML: { __html: z(m || "未命名资源") }+ dangerouslySetInnerHTML: { __html: B(m || "未命名资源") }});return /* @__PURE__ */ (0, O.jsxs)("article", {ref: o,@@ -64530,7 +64533,7 @@ function mCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: WG,+ onMouseDown: GG,children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-media-pic": "",@@ -64538,7 +64541,7 @@ function mCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, O.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, O.jsx)(q$, { name: p }), /* @__PURE__ */ (0, O.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, O.jsx)(K$, { name: p }), /* @__PURE__ */ (0, O.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-art": "thumb",@@ -64550,7 +64553,7 @@ function mCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, O.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, O.jsx)(q$, { name: "check" })+ children: /* @__PURE__ */ (0, O.jsx)(K$, { name: "check" })})]}),@@ -64569,7 +64572,7 @@ function mCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}) : null,/* @__PURE__ */ (0, O.jsx)("span", {"data-junk-size": "",- children: Number(e.size) > 0 ? vn(Number(e.size)) : "大小未知"+ children: Number(e.size) > 0 ? _n(Number(e.size)) : "大小未知"})]})]@@ -64587,7 +64590,7 @@ function mCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [s === "reveal" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-spinner": "",dangerouslySetInnerHTML: { __html: ns("正在定位") }- }) : /* @__PURE__ */ (0, O.jsx)(q$, { name: "folder-open" }), /* @__PURE__ */ (0, O.jsx)("span", {+ }) : /* @__PURE__ */ (0, O.jsx)(K$, { name: "folder-open" }), /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -64599,7 +64602,7 @@ function mCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": h.label,...S(h.operation),onClick: x(h.operation),- children: [/* @__PURE__ */ (0, O.jsx)(q$, { name: h.glyph }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(K$, { name: h.glyph }), /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -64611,7 +64614,7 @@ function mCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, O.jsx)(q$, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(K$, { name: "trash" }), /* @__PURE__ */ (0, O.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -64626,7 +64629,7 @@ function mCe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var hCe = (0, D.memo)(mCe), Y$ = [+var _Ce = (0, D.memo)(gCe), J$ = [["","全部",@@ -64662,41 +64665,41 @@ var hCe = (0, D.memo)(mCe), Y$ = ["其它","hard-drive"]-], gCe = (e) => Y$.find(([t]) => t === e)?.[0] ?? "";-function X$(e) {+], vCe = (e) => J$.find(([t]) => t === e)?.[0] ?? "";+function Y$(e) {let t = new URLSearchParams(e);return {- kind: gCe(t.get("type")),+ kind: vCe(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function Z$(e = "", t = "pending") {+function X$(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 Q$(e) {+function Z$(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: Z$("", "pending")+ href: X$("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: Z$("", "dismissed")+ href: X$("", "dismissed")};}-var $$ = (e) => e === "dismissed" ? "已排除" : "待判断", e1 = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function _Ce({ kind: e, view: t }) {- let n = Y$.map(([n, r, i]) => `<a href="${Z$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${e1(i)}${z(r)}</a>`).join(""), r = Q$(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Qo($$(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\"" : ""}>${e1(r.glyph)}${r.label}</a></nav></div></div></div>`;+var Q$ = (e) => e === "dismissed" ? "已排除" : "待判断", $$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function yCe({ kind: e, view: t }) {+ let n = J$.map(([n, r, i]) => `<a href="${X$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${$$(i)}${B(r)}</a>`).join(""), r = Z$(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Qo(Q$(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\"" : ""}>${$$(r.glyph)}${r.label}</a></nav></div></div></div>`;}//#endregion//#region src/react/components/collection-summary.tsx-function t1({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function e1({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-collection-summary": "",className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5@@ -64723,31 +64726,31 @@ function t1({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !}//#endregion//#region src/react/junk-queue/junk-count.tsx-function n1({ name: e }) {+function t1({ name: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});}-function r1({ scope: e, count: t }) {+function n1({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [" ", /* @__PURE__ */ (0, O.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function vCe({ route: e, page: t, failed: n, onNavigate: r }) {- let i = xV(), a = (0, D.useRef)(null), { kind: o, view: s } = e, c = lI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? Y$.map(([e]) => K$(t, e)).join(",") : ""}`), l = Q$(s), u = (e) => {+function bCe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = SV(), a = (0, D.useRef)(null), { kind: o, view: s } = e, c = EI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? J$.map(([e]) => G$(t, e)).join(",") : ""}`), l = Z$(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") || Z$()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || X$()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, O.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, O.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, O.jsx)(t1, {- label: $$(s),+ children: /* @__PURE__ */ (0, O.jsx)(e1, {+ label: Q$(s),figure: d,pending: !t && !n,flush: !0@@ -64767,17 +64770,17 @@ function vCe({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- Y$.map(([e, n, r]) => /* @__PURE__ */ (0, O.jsxs)("a", {- href: Z$(e, s),+ J$.map(([e, n, r]) => /* @__PURE__ */ (0, O.jsxs)("a", {+ href: X$(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, O.jsx)(n1, { name: r }),+ /* @__PURE__ */ (0, O.jsx)(t1, { name: r }),n,- /* @__PURE__ */ (0, O.jsx)(r1, {+ /* @__PURE__ */ (0, O.jsx)(n1, {scope: e,- count: t ? K$(t, e) : 0+ count: t ? G$(t, e) : 0})]}, e || "all")),@@ -64791,9 +64794,9 @@ function vCe({ route: e, page: t, failed: n, onNavigate: r }) {"aria-current": s === "dismissed" ? "page" : void 0,onPointerEnter: s === "dismissed" ? void 0 : c.hover,children: [- /* @__PURE__ */ (0, O.jsx)(n1, { name: l.glyph }),+ /* @__PURE__ */ (0, O.jsx)(t1, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, O.jsx)(r1, {+ /* @__PURE__ */ (0, O.jsx)(n1, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -64806,33 +64809,33 @@ function vCe({ route: e, page: t, failed: n, onNavigate: r }) {}//#endregion//#region src/react/junk-queue/junk-queue-page.tsx-var yCe = tB("check"), bCe = (e, t) => e[1] === t.view && e[2] === t.kind;-function xCe(e) {+var xCe = nB("check"), SCe = (e, t) => e[1] === t.view && e[2] === t.kind;+function CCe(e) {let t = {kind: e.kind,view: e.view- }, n = Ct({- queryKey: dCe(t, e.revision),- queryFn: ({ signal: e }) => pCe(t, e),- placeholderData: (e, n) => n && bCe(n.queryKey, t) ? e : void 0+ }, n = St({+ queryKey: pCe(t, e.revision),+ queryFn: ({ signal: e }) => hCe(t, e),+ placeholderData: (e, n) => n && SCe(n.queryKey, t) ? e : void 0});(0, D.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = SCe(e.countRow), i = n.isPending;+ let r = wCe(e.countRow), i = n.isPending;(0, D.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, D.useLayoutEffect)(() => {r && n.data && ms(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(vCe, {+ let { navigate: a } = e.actions, o = r ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(bCe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [o, /* @__PURE__ */ (0, O.jsx)(CCe, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [o, /* @__PURE__ */ (0, O.jsx)(TCe, {props: e,data: n.data,pending: i,@@ -64840,7 +64843,7 @@ function xCe(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function SCe(e) {+function wCe(e) {let [t, n] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {if (!e) return;@@ -64850,8 +64853,8 @@ function SCe(e) {};}, [e]), t;}-function CCe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = yG(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, D.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, D.useCallback)(() => {+function TCe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = bG(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, D.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, D.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, O.jsxs)("div", {@@ -64859,16 +64862,16 @@ function CCe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-grid-reveal": a.fading ? "" : void 0,children: [a.layer, (() => {if (n) return null;- if (!t) return /* @__PURE__ */ (0, O.jsx)(bG, {- message: Wt(r),+ if (!t) return /* @__PURE__ */ (0, O.jsx)(xG, {+ message: Ut(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, O.jsx)($z, {- icon: yCe,+ return /* @__PURE__ */ (0, O.jsx)(eB, {+ icon: xCe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, O.jsx)(dI, {+ actions: t ? /* @__PURE__ */ (0, O.jsx)(OI, {size: "small",href: "/junk-files",children: "查看待判断"@@ -64881,7 +64884,7 @@ function CCe({ props: e, data: t, pending: n, error: r, retry: i }) {"data-media-grid": "","data-junk-grid": "","data-select-mode": e.selectMode ? "" : void 0,- children: u.map((t) => /* @__PURE__ */ (0, O.jsx)(hCe, {+ children: u.map((t) => /* @__PURE__ */ (0, O.jsx)(_Ce, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -64890,7 +64893,7 @@ function CCe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, O.jsx)(wCe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, O.jsx)(ECe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, O.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -64900,14 +64903,14 @@ function CCe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function wCe({ onMore: e }) {+function ECe({ onMore: e }) {let t = (0, D.useRef)(null);return (0, D.useEffect)(() => {let n = t.current;if (!n || typeof IntersectionObserver > "u") return;let r = new IntersectionObserver((t) => {t.some((e) => e.isIntersecting) && e();- }, { rootMargin: vG });+ }, { rootMargin: yG });return r.observe(n), () => r.disconnect();}, [e]), /* @__PURE__ */ (0, O.jsx)("div", {ref: t,@@ -64918,18 +64921,18 @@ function wCe({ onMore: e }) {}//#endregion//#region src/react/wants/wants.ts-var i1 = "/api/wants", a1 = ["wants"], TCe = (e) => [+var r1 = "/api/wants", i1 = ["wants"], DCe = (e) => ["wants","follow",e-], ECe = [+], OCe = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], o1 = (e) => B(i1, e);-function DCe(e, t) {- H.setQueryData(a1, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+], a1 = (e) => V(r1, e);+function kCe(e, t) {+ U.setQueryData(i1, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -64937,134 +64940,134 @@ function DCe(e, t) {} : n)} : n);}-var OCe = (e, t) => B(`${i1}?follow=${encodeURIComponent(e)}`, t), s1 = (e, t) => V(i1, {+var ACe = (e, t) => V(`${r1}?follow=${encodeURIComponent(e)}`, t), o1 = (e, t) => H(r1, {action: "add",...e-}, "POST", t), c1 = (e, t) => V(i1, {+}, "POST", t), s1 = (e, t) => H(r1, {action: "remove",ids: e-}, "POST", t), kCe = (e, t) => V(i1, {+}, "POST", t), jCe = (e, t) => H(r1, {action: "reset",ids: e-}, "POST", t), l1 = () => H.invalidateQueries({ queryKey: a1 }), ACe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function jCe(e) {+}, "POST", t), c1 = () => U.invalidateQueries({ queryKey: i1 }), MCe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function NCe(e) {return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";}//#endregion//#region src/react/jav/jav-navigation.ts-var u1 = [+var l1 = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], d1 = (e) => u1.some(([t]) => t === e) ? e : "library", MCe = (e) => d1(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function NCe(e) {+], u1 = (e) => l1.some(([t]) => t === e) ? e : "library", PCe = (e) => u1(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function FCe(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}//#endregion//#region src/react/jav/jav.ts-var f1 = (e, t = "taste", n = "desc") => [+var d1 = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function p1(e, t, n = {}) {+function f1(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",sort: n.sort || "taste",direction: n.direction || "desc"});- return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), B(`/api/jav/discoveries?${r}`, t);+ return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), V(`/api/jav/discoveries?${r}`, t);}-function PCe(e, t, n) {- let r = Ga({+function ICe(e, t, n) {+ let r = Wa({...e,is_jav: !0}, t, !1, n);if (r.html || !e.cover_url || !e.code) return r.html;- let i = z(Na(e));- return Ua(e, t).replace(/ src="[^"]*"/, ` src="${i}" data-jav-image="${e.id}" data-jav-cover="${i}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"media-nopic\"");+ let i = B(Ma(e));+ return Ha(e, t).replace(/ src="[^"]*"/, ` src="${i}" data-jav-image="${e.id}" data-jav-cover="${i}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"media-nopic\"");}-async function FCe(e, t) {- e === "wants" ? await H.ensureQueryData({- queryKey: a1,- queryFn: () => o1(t),+async function LCe(e, t) {+ e === "wants" ? await U.ensureQueryData({+ queryKey: i1,+ queryFn: () => a1(t),staleTime: 3e4,revalidateIfStale: !0- }) : e === "discover" && await H.ensureQueryData({- queryKey: f1("external"),- queryFn: () => p1("external", t),+ }) : e === "discover" && await U.ensureQueryData({+ queryKey: d1("external"),+ queryFn: () => f1("external", t),staleTime: 3e4,revalidateIfStale: !0});}//#endregion//#region src/react/components/fieldset-layout.ts-var m1 = YH({+var p1 = XH({padding: "none",bordered: "line",className: "overflow-hidden"-}), h1 = {+}), m1 = {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"-}, g1 = {+}, h1 = {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 _1(e) {- return `${m1} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;+function g1(e) {+ return `${p1} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}//#endregion//#region src/management.ts-var v1 = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", y1 = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", b1 = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", x1 = "disabled data-skeleton-action", ICe = "aria-disabled=\"true\"", S1 = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, C1 = (e, t, n) => `<div class="${h1[n]}"><div class="flex flex-col gap-2">+var _1 = "扫描文件并更新馆藏,读取本地资料、补齐缺失资料和封面,按设置生成视频预览。", v1 = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", y1 = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", b1 = "disabled data-skeleton-action", RCe = "aria-disabled=\"true\"", x1 = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, S1 = (e, t, n) => `<div class="${m1[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 LCe() {- return S1(`<section aria-label="扫描与采集" class="${_1("stack")}" data-cleanup-task data-cleanup-processing>- ${C1("扫描与采集", v1, "stack")}- <footer class="${g1.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Vo("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Wo({+function zCe() {+ return x1(`<section aria-label="扫描与采集" class="${g1("stack")}" data-cleanup-task data-cleanup-processing>+ ${S1("扫描与采集", _1, "stack")}+ <footer class="${h1.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Vo("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Wo({label: "同步媒体库",- attrs: x1+ attrs: b1})}${Wo({glyph: "chevron-down",- attrs: `${x1} aria-label="更多同步方式"`+ attrs: `${b1} aria-label="更多同步方式"`})}</span></footer></section>`);}-function RCe() {- return S1(`<section aria-label="媒体修复" class="${_1("split")}" data-cleanup-task data-cleanup-processing>- ${C1("媒体修复", y1, "split")}- <footer class="${g1.split}">${Ko(b1, {+function BCe() {+ return x1(`<section aria-label="媒体修复" class="${g1("split")}" data-cleanup-task data-cleanup-processing>+ ${S1("媒体修复", v1, "split")}+ <footer class="${h1.split}">${Ko(y1, {className: "w-48",- attrs: ICe+ attrs: RCe})}${Wo({label: "开始修复",- attrs: x1+ attrs: b1})}</footer></section>`);}-function w1() {+function C1() {let e = [["人工复核", "square-check-big"],["高清版", "sparkles"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["回收站", "trash"]- ], t = m1, n = h1.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${g1.stack}">${Wo({+ ], t = p1, n = m1.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${h1.stack}">${Wo({label: e,- attrs: x1+ attrs: b1})}</footer>`, a = (e) => `<div class="flex flex-col gap-1.5"><span class="text-body-medium text-text-primary">${e}</span><span class="skeleton ui-configuration-skeleton-input"></span></div>`;return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">- <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Vo(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${b1}</strong><span class="text-caption-1-regular">${b1}</span></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${Vo(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${y1}</strong><span class="text-caption-1-regular">${y1}</span></div>`).join("")}</div><div class="flex flex-col gap-4 max-cleanup-tight:gap-3">- <div id="libraryProcessing">${LCe()}</div><div id="mediaRepair">${RCe()}</div>+ <div id="libraryProcessing">${zCe()}</div><div id="mediaRepair">${BCe()}</div><section id="organize" class="${t} flex flex-col" data-cleanup-organize><div class="${n}">${r("整理", "mb-3")}<p class="text-body-regular text-text-secondary">清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>- <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${Ko(b1)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => Wo({+ <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${Ko(y1)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => Wo({variant: "secondary",- label: b1,- attrs: x1+ label: y1,+ attrs: b1})).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">${[@@ -65072,60 +65075,60 @@ function w1() {"官网/事务所","社交账号","作品资料站"- ].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">${b1}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${b1}</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">${y1}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${y1}</div></div>${i("检查死链")}</div></section></div></div>`;}//#endregion//#region src/react/components/fieldset.tsx-var zCe = YH({+var VCe = XH({padding: "none",radius: "surface",bordered: "line",className: "overflow-hidden"-}), BCe = "border-t border-border-button-default p-4 first:border-t-0";-function T1({ id: e, gap: t = "none", children: n }) {+}), HCe = "border-t border-border-button-default p-4 first:border-t-0";+function w1({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, O.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function E1({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function T1({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, O.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: _1(e),+ className: g1(e),children: [/* @__PURE__ */ (0, O.jsx)("div", {- className: h1[e],+ className: m1[e],children: a}), i ? /* @__PURE__ */ (0, O.jsx)("footer", {- className: g1[e],+ className: h1[e],children: i}) : null]});}//#endregion//#region src/react/components/status-label.tsx-var VCe = {+var UCe = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function D1({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, O.jsx)(rQ, {+function E1({ tone: e = "neutral", ...t }) {+ return /* @__PURE__ */ (0, O.jsx)(nQ, {"data-status-tone": e,variant: "caption",- color: VCe[e],+ color: UCe[e],...t});}//#endregion//#region src/react/components/path-line.tsx-function HCe({ className: e }) {+function WCe({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -65138,8 +65141,8 @@ function HCe({ className: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-folder-open" })});}-var UCe = "打开文件管理器失败,请重试";-function O1({ path: e, prefix: t, className: n, onRevealed: r }) {+var GCe = "打开文件管理器失败,请重试";+function D1({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(!0);(0, D.useEffect)(() => () => {c.current = !1;@@ -65148,9 +65151,9 @@ function O1({ path: e, prefix: t, className: n, onRevealed: r }) {if (!i) {a(!0), s("");try {- await V("/api/reveal", { path: e }), r?.("已在资源管理器中显示");+ await H("/api/reveal", { path: e }), r?.("已在资源管理器中显示");} catch (e) {- c.current && s(e instanceof kn ? e.message : UCe);+ c.current && s(e instanceof On ? e.message : GCe);} finally {c.current && a(!1);}@@ -65161,15 +65164,15 @@ function O1({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, O.jsxs)("p", {- className: dF("min-w-0 break-all", n),+ className: GF("min-w-0 break-all", n),children: [t, e]- }), /* @__PURE__ */ (0, O.jsx)(YF, {- icon: HCe,+ }), /* @__PURE__ */ (0, O.jsx)(gI, {+ icon: WCe,size: "small",className: "shrink-0","aria-label": "在资源管理器中显示",onClick: () => void l(),- ...rB(i)+ ...iB(i)})]}), o ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-caption-1-regular text-text-error-primary",@@ -65179,24 +65182,24 @@ function O1({ path: e, prefix: t, className: n, onRevealed: r }) {}//#endregion//#region src/react/library-processing/library-processing-card.tsx-var WCe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", GCe = (e) => {+var KCe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", qCe = (e) => {let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;if (!t && !n && !r && !i) return "";let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];return r && a.push(`${r} 项同名人物资料需要确认是否为同一人`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;-}, KCe = (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} 部视频预览。` : "") + GCe(e);-function qCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = Ame(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Dme(e.notes || {}), c = !!t || e.status === "failed", l = c && !!a?.log, u = xV();+}, JCe = (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} 部视频预览。` : "") + qCe(e);+function YCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = Ame(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Dme(e.notes || {}), c = !!t || e.status === "failed", l = c && !!a?.log, u = SV();return /* @__PURE__ */ (0, O.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- e.status === "running" && e.stalled ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ e.status === "running" && e.stalled ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "warning",title: "处理较慢",- children: WCe+ children: KCe}) : null,- c ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ c ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",className: "gap-0 p-3",action: o ? /* @__PURE__ */ (0, O.jsx)(q, {@@ -65208,7 +65211,7 @@ function qCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,extra: a ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3",- children: /* @__PURE__ */ (0, O.jsxs)(IU, {+ children: /* @__PURE__ */ (0, O.jsxs)(LU, {summary: a.label,contentClassName: "gap-0",children: [/* @__PURE__ */ (0, O.jsx)("div", {@@ -65240,7 +65243,7 @@ function qCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}), a.log ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-border-error-default/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, O.jsx)(O1, {+ children: /* @__PURE__ */ (0, O.jsx)(D1, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65251,17 +65254,17 @@ function qCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,children: t || e.error || "处理未完成,请重试"}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ n?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "success",title: "处理完成",- children: KCe(n)+ children: JCe(n)}) : null,- !OH(e) && s ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ !kH(e) && s ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",className: "gap-0 p-3",extra: e.issues_log && !l ? /* @__PURE__ */ (0, O.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, O.jsx)(O1, {+ children: /* @__PURE__ */ (0, O.jsx)(D1, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65273,38 +65276,38 @@ function qCe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function k1(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = JH(e), o = wt({- mutationFn: (e) => V(EH, e),+function O1(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = YH(e), o = Ct({+ mutationFn: (e) => H(DH, e),onSuccess: (e) => {- a(), H.setQueryData(DH, e), H.invalidateQueries({ queryKey: DH });+ a(), U.setQueryData(OH, e), U.invalidateQueries({ queryKey: OH });}});(0, D.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? jn(o.error) : r.isError ? r.data ? MH : jn(r.error) : "", l = o.isPending || OH(s), u = async (e) => {+ let s = r.data ?? { status: "idle" }, c = o.error ? An(o.error) : r.isError ? r.data ? NH : An(r.error) : "", l = o.isPending || kH(s), u = async (e) => {l || (o.reset(), await o.mutateAsync(e));};return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, O.jsx)(E1, {+ children: [/* @__PURE__ */ (0, O.jsx)(T1, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(RH, {+ /* @__PURE__ */ (0, O.jsx)(zH, {href: "/sources",size: "small",- trailingIcon: Dz,+ trailingIcon: Oz,children: "来源和凭证"}),- s.candidates ? /* @__PURE__ */ (0, O.jsx)(RH, {+ s.candidates ? /* @__PURE__ */ (0, O.jsx)(zH, {href: "/review",size: "small",- trailingIcon: Dz,+ trailingIcon: Oz,children: "复核资料"}) : null,- /* @__PURE__ */ (0, O.jsx)(gq, {+ /* @__PURE__ */ (0, O.jsx)(_q, {scan: !0,busy: l,metadataOnly: s?.metadata_only,@@ -65315,24 +65318,24 @@ function k1(e) {children: /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(T1, { children: "扫描与采集" }),+ /* @__PURE__ */ (0, O.jsx)(w1, { children: "扫描与采集" }),/* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: v1+ children: _1}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, O.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, O.jsx)(D1, { children: "已暂停" })- }) : OH(s) ? /* @__PURE__ */ (0, O.jsx)(qme, { state: s }) : null,- OH(s) ? /* @__PURE__ */ (0, O.jsx)("p", {+ children: /* @__PURE__ */ (0, O.jsx)(E1, { children: "已暂停" })+ }) : kH(s) ? /* @__PURE__ */ (0, O.jsx)(qme, { state: s }) : null,+ kH(s) ? /* @__PURE__ */ (0, O.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",- children: kH(s)+ children: AH(s)}) : null,- OH(s) ? /* @__PURE__ */ (0, O.jsx)(WU, { traffic: s.traffic }) : null+ kH(s) ? /* @__PURE__ */ (0, O.jsx)(GU, { traffic: s.traffic }) : null]})- }), /* @__PURE__ */ (0, O.jsx)(qCe, {+ }), /* @__PURE__ */ (0, O.jsx)(YCe, {state: s,problem: c,settled: i,@@ -65348,32 +65351,32 @@ function k1(e) {}//#endregion//#region src/react/playlists/playlists.ts-var JCe = "/api/playlists", A1 = "/api/playlist", j1 = ["playlists"], M1 = (e) => B(JCe, e);-async function YCe(e) {- await H.fetchQuery({- queryKey: j1,- queryFn: () => M1(e),+var XCe = "/api/playlists", k1 = "/api/playlist", A1 = ["playlists"], j1 = (e) => V(XCe, e);+async function ZCe(e) {+ await U.fetchQuery({+ queryKey: A1,+ queryFn: () => j1(e),staleTime: 0});}-var XCe = () => H.invalidateQueries({- queryKey: j1,+var QCe = () => U.invalidateQueries({+ queryKey: A1,exact: !0-}), ZCe = (e) => e.current_asset_id || e.preview_asset_id || null, QCe = (e) => `/poster?id=${e}&c=4`, $Ce = (e) => V(A1, {+}), $Ce = (e) => e.current_asset_id || e.preview_asset_id || null, ewe = (e) => `/poster?id=${e}&c=4`, twe = (e) => H(k1, {action: "create",name: e,asset_ids: []-}), ewe = (e, t) => V(A1, {+}), nwe = (e, t) => H(k1, {action: "rename",id: e,name: t-}), twe = (e) => V(A1, {+}), rwe = (e) => H(k1, {action: "delete",id: e-}), nwe = (e) => B(`${A1}?id=${e}`).catch(() => null);-function rwe(e) {+}), iwe = (e) => V(`${k1}?id=${e}`).catch(() => null);+function awe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return V(A1, {+ return H(k1, {action: "create",name: e.name,asset_ids: t,@@ -65383,53 +65386,53 @@ function rwe(e) {}//#endregion//#region src/react/scraping/custom-source-data.ts-var N1 = "/api/custom-metadata", P1 = ["custom-metadata"], F1 = (e) => B(N1, e), iwe = "/api/scraping", awe = "/api/scraping/settings", owe = "/api/scraping/check", I1 = "/api/scraping/cover", swe = "/api/scraping/amane-bridge", cwe = "/api/scraping/amane-bridge/check", lwe = "/api/scraping/amane-bridge/rebuild", L1 = ["scraping"], R1 = ["scraping", "cover"], z1 = ["scraping", "amane-bridge"], uwe = 262144, B1 = (e) => B(iwe, e), V1 = (e) => B(I1, e), H1 = (e) => B(swe, e);-async function dwe(e) {+var M1 = "/api/custom-metadata", N1 = ["custom-metadata"], P1 = (e) => V(M1, e), owe = "/api/scraping", swe = "/api/scraping/settings", cwe = "/api/scraping/check", F1 = "/api/scraping/cover", lwe = "/api/scraping/amane-bridge", uwe = "/api/scraping/amane-bridge/check", dwe = "/api/scraping/amane-bridge/rebuild", I1 = ["scraping"], L1 = ["scraping", "cover"], R1 = ["scraping", "amane-bridge"], fwe = 262144, z1 = (e) => V(owe, e), B1 = (e) => V(F1, e), V1 = (e) => V(lwe, e);+async function pwe(e) {await Promise.all([- H.fetchQuery({+ U.fetchQuery({+ queryKey: I1,+ queryFn: () => z1(e)+ }),+ U.fetchQuery({queryKey: L1,queryFn: () => B1(e)}),- H.fetchQuery({+ U.fetchQuery({queryKey: R1,queryFn: () => V1(e)}),- H.fetchQuery({- queryKey: z1,- queryFn: () => H1(e)- }),- H.fetchQuery({- queryKey: P1,- queryFn: () => F1(e)+ U.fetchQuery({+ queryKey: N1,+ queryFn: () => P1(e)})]);}-function fwe(e, t) {+function mwe(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");}//#endregion//#region src/react/search/search.ts-var U1 = /* @__PURE__ */ new Set([+var H1 = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), W1 = /* @__PURE__ */ new Set([+]), U1 = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"-]), G1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function pwe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+]), W1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function hwe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {let c = 0, l = [], u = (e) => {let t = {...e,index: c++};return l.push(t), t;- }, d = t.filter((t) => !e || G1(t).includes(G1(e)));+ }, d = t.filter((t) => !e || W1(t).includes(W1(e)));if (!e) {if (s.length) {let e = s.map((e) => ({@@ -65450,8 +65453,8 @@ function pwe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: avalue: e}))} : null,- left: e.filter((e) => !W1.has(e.kind)),- right: e.filter((e) => W1.has(e.kind)),+ left: e.filter((e) => !U1.has(e.kind)),+ right: e.filter((e) => U1.has(e.kind)),empty: !1,options: l};@@ -65501,7 +65504,7 @@ function pwe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, g = m.filter((e) => !W1.has(e.kind)).map(h), _ = m.filter((e) => W1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);+ }, g = m.filter((e) => !U1.has(e.kind)).map(h), _ = m.filter((e) => U1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -65511,17 +65514,17 @@ function pwe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function mwe(e, t, n = Math.random) {+function gwe(e, t, n = Math.random) {let r = [...e];for (let e = r.length - 1; e > 0; --e) {let t = Math.floor(n() * (e + 1));[r[e], r[t]] = [r[t], r[e]];}- return r.filter((e) => !t.some((t) => G1(t) === G1(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => W1(t) === W1(e))).slice(0, 5);}//#endregion//#region src/react/search/search-page.tsx-var hwe = () => ({+var _we = () => ({history: [],pool: [],poolRequest: 0,@@ -65539,7 +65542,7 @@ var hwe = () => ({active: -1,reveal: !1,rewind: !1-}), K1 = (e) => pwe({+}), G1 = (e) => hwe({query: e.query,history: e.history,picks: e.picks,@@ -65548,18 +65551,18 @@ var hwe = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), gwe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), q1 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {+}), vwe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), K1 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })});-function _we(e) {+function ywe(e) {let t = (0, D.useRef)(e);t.current = e;let n = (0, D.useRef)(null);- n.current ??= hwe();+ n.current ??= _we();let r = n.current, i = (0, D.useRef)(null), [, a] = (0, D.useReducer)((e) => e + 1, 0), o = (0, D.useRef)(null);- o.current ??= vwe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= bwe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, D.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();@@ -65572,7 +65575,7 @@ function _we(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 = K1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, O.jsx)(bwe, {+ let c = G1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, O.jsx)(Swe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -65585,7 +65588,7 @@ function _we(e) {children: [/* @__PURE__ */ (0, O.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, O.jsx)("a", {href: e.href,- onMouseDown: J1,+ onMouseDown: q1,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},@@ -65604,7 +65607,7 @@ function _we(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, O.jsx)(ywe, {+ c.tabs ? /* @__PURE__ */ (0, O.jsx)(xwe, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -65631,18 +65634,18 @@ function _we(e) {]});}-function vwe(e, t, n, r) {+function bwe(e, t, n, r) {let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {t.history = n.slice(0, e().historyLimit);}, c = async () => {let n = e().historyLimit;if (!n) t.history = [];else try {- let e = await B(`/api/search-history?limit=${n}`);+ let e = await V(`/api/search-history?limit=${n}`);t.history = Array.isArray(e.items) ? e.items.map(String) : [];} catch {}}, l = (t) => {- t && e().historyLimit && (s([t, ...o().filter((e) => G1(e) !== G1(t))]), V("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => W1(e) !== W1(t))]), H("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -65667,7 +65670,7 @@ function vwe(e, t, n, r) {let r = ++t.suggestRequest;n || (t.asked = e);try {- let i = await B(`/api/suggest?q=${encodeURIComponent(e)}` + (n ? `&kind=${n}` : "") + "&limit=20");+ let i = await V(`/api/suggest?q=${encodeURIComponent(e)}` + (n ? `&kind=${n}` : "") + "&limit=20");if (r !== t.suggestRequest) return;t.suggestFor = i.q || "", t.groups = i.groups || [], !n && t.groups.length > 1 && (t.groups = t.groups.map((e) => ({...e,@@ -65688,9 +65691,9 @@ function vwe(e, t, n, r) {let i = n();i && e().helpers.dismiss(i), t.active = -1, r();}, h = () => {- t.query = i().value.trim(), t.picks = t.query ? [] : mwe(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : gwe(t.pool, o()), t.active = -1;let a = n();- a && (gwe(K1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (vwe(G1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, g = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -65702,7 +65705,7 @@ function vwe(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() ? K1(t).options : [], y = (e) => {+ }, v = () => p() ? G1(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) => {@@ -65711,7 +65714,7 @@ function vwe(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" && U1.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" && H1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));}, C = (t) => {m(), i().blur(), e().actions.openPath?.(t);};@@ -65754,16 +65757,16 @@ function vwe(e, t, n, r) {m(), i().blur(), e().actions.openItem(t.id);},remove: async (e) => {- await V("/api/search-history", {+ await H("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => G1(t) !== G1(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => W1(t) !== W1(e))), t.active = -1, r();},pickKind: _,openPath: C};}-function ywe({ tabs: e, kind: t, onPick: n, wire: r }) {+function xwe({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {r(i.current);@@ -65777,9 +65780,9 @@ function ywe({ tabs: e, kind: t, onPick: n, wire: r }) {"data-pill-variant": "gray",onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, O.jsx)(D$, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, O.jsx)(E$, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, O.jsxs)(mF, {+ return /* @__PURE__ */ (0, O.jsxs)(JF, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -65788,8 +65791,8 @@ function ywe({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var J1 = (e) => e.preventDefault();-function bwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+var q1 = (e) => e.preventDefault();+function Swe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -65801,33 +65804,33 @@ function bwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: J1,+ onMouseDown: q1,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, O.jsx)(q1, { name: "chevron-right" })+ /* @__PURE__ */ (0, O.jsx)(K1, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, O.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, O.jsx)(q1, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, O.jsx)(K1, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, O.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: J1,+ onMouseDown: q1,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, O.jsx)(q1, { name: "x" })+ children: /* @__PURE__ */ (0, O.jsx)(K1, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = U1.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = H1.has(c) ? c : void 0;if (["asset","jav",@@ -65841,8 +65844,8 @@ function bwe({ 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: J1,- children: [/* @__PURE__ */ (0, O.jsx)(Y1, {+ onMouseDown: q1,+ children: [/* @__PURE__ */ (0, O.jsx)(J1, {card: s.card,helpers: n}), /* @__PURE__ */ (0, O.jsxs)("span", {@@ -65867,9 +65870,9 @@ function bwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: J1,+ onMouseDown: q1,children: [- /* @__PURE__ */ (0, O.jsx)(X1, {+ /* @__PURE__ */ (0, O.jsx)(Y1, {item: s,kind: c}),@@ -65892,11 +65895,11 @@ function bwe({ 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: J1,+ onMouseDown: q1,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, O.jsx)(Y1, {+ children: /* @__PURE__ */ (0, O.jsx)(J1, {card: e,helpers: n})@@ -65910,7 +65913,7 @@ function bwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, O.jsx)(X1, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, O.jsx)(Y1, {item: s,kind: c}) : null,@@ -65923,13 +65926,13 @@ function bwe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function Y1({ card: e, helpers: t }) {+function J1({ card: e, helpers: t }) {return /* @__PURE__ */ (0, O.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function X1({ item: e, kind: t }) {+function Y1({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, O.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -65940,7 +65943,7 @@ function X1({ item: e, kind: t }) {image_version: e.image_version,avatar_focus: e.avatar_focus,avatar_stand_in: e.avatar_stand_in- }, r = Ra(e.value, n, e.rep || null, t, e.mark || null, e.has_logo ? e.value : "", "icon", void 0, !0);+ }, r = La(e.value, n, e.rep || null, t, e.mark || null, e.has_logo ? e.value : "", "icon", void 0, !0);return /* @__PURE__ */ (0, O.jsx)("span", {"data-search-face": "","data-kind": t,@@ -65949,25 +65952,25 @@ function X1({ item: e, kind: t }) {}//#endregion//#region src/react/settings/configuration.ts-var Z1 = ["configuration"], Q1 = (e) => B(HX, e);-async function xwe(e) {- await H.fetchQuery({- queryKey: Z1,- queryFn: () => Q1(e)+var X1 = ["configuration"], Z1 = (e) => V(HX, e);+async function Cwe(e) {+ await U.fetchQuery({+ queryKey: X1,+ queryFn: () => Z1(e)});}//#endregion//#region src/react/settings-panel/legacy-controls.tsx-var $1 = (e) => e.map(([e, t, n]) => n ? [+var Q1 = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function e0({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function $1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, D.useRef)(null), d = (0, D.useRef)(null), f = (0, D.useRef)(l);return f.current = l, (0, D.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = dc(t, n, $1(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = dc(t, n, Q1(r), i, {attr: a,className: o,text: s@@ -65985,13 +65988,13 @@ function e0({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function t0({ 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 e0({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {let d = (0, D.useRef)(null), f = (0, D.useRef)(null), p = (0, D.useRef)(-1), m = (0, D.useRef)(l);return m.current = l, (0, D.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = Ao($1(n), r, { label: t });+ e.innerHTML = Ao(Q1(n), r, { label: t });let i = jo(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -66004,7 +66007,7 @@ function t0({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function Swe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function wwe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)({onStep: a,onSettle: o@@ -66039,7 +66042,7 @@ function Swe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet}//#endregion//#region src/react/settings-panel/glow-settings.tsx-var Cwe = [+var Twe = [["strength","强度",@@ -66066,8 +66069,8 @@ var Cwe = [100]];-function wwe({ host: e, spot: t, index: n, glow: r }) {- let i = ioe[n], a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = xV(), [l, u] = (0, D.useState)("all");+function Ewe({ host: e, spot: t, index: n, glow: r }) {+ let i = uoe[n], a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = SV(), [l, u] = (0, D.useState)("all");(0, D.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -66080,7 +66083,7 @@ function wwe({ host: e, spot: t, index: n, glow: r }) {}, []);let d = r[t].color, f = (n) => {let r = e.store.value.homeGlow;- r[t].color = aA(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), So(), o.current?.focus();+ r[t].color = $k(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), So(), o.current?.focus();};return /* @__PURE__ */ (0, O.jsxs)("div", {"data-glow-stop": t,@@ -66105,7 +66108,7 @@ function wwe({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-down" })+ /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-down" })]}), /* @__PURE__ */ (0, O.jsxs)("div", {className: "popmenu",@@ -66117,7 +66120,7 @@ function wwe({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: ooe.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: poe.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -66131,7 +66134,7 @@ function wwe({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: soe.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsx)("button", {+ children: moe.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -66148,8 +66151,8 @@ function wwe({ host: e, spot: t, index: n, glow: r }) {})]});}-function Twe({ host: e }) {- let t = e.store.value.homeGlow, n = Zk(t.preset);+function Dwe({ host: e }) {+ let t = e.store.value.homeGlow, n = Kk(t.preset);return /* @__PURE__ */ (0, O.jsxs)("section", {"data-glow-setting": "",id: "homeGlowControls",@@ -66168,10 +66171,10 @@ function Twe({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, O.jsx)("b", {"data-glow-preset-name": "",- children: $k(t.preset)+ children: doe(t.preset)})]}),- /* @__PURE__ */ (0, O.jsx)(QA, {+ /* @__PURE__ */ (0, O.jsx)(WA, {store: e.store,label: "光晕配色"}),@@ -66182,7 +66185,7 @@ function Twe({ host: e }) {}),/* @__PURE__ */ (0, O.jsx)("div", {"data-glow-fields": "",- children: Cwe.map(([r, i, a]) => /* @__PURE__ */ (0, O.jsx)(Swe, {+ children: Twe.map(([r, i, a]) => /* @__PURE__ */ (0, O.jsx)(wwe, {field: r,label: i,max: a,@@ -66203,7 +66206,7 @@ function Twe({ host: e }) {className: "geist-button","data-glow-reset": "",onClick: () => {- e.store.value.homeGlow = sA(null), e.store.save(), e.changed("glow");+ e.store.value.homeGlow = tA(null), e.store.save(), e.changed("glow");},children: "恢复默认"})@@ -66222,7 +66225,7 @@ function Twe({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, O.jsx)("div", {"data-glow-stops": "",- children: Jk.map((n, r) => /* @__PURE__ */ (0, O.jsx)(wwe, {+ children: Uk.map((n, r) => /* @__PURE__ */ (0, O.jsx)(Ewe, {host: e,spot: n,index: r,@@ -66235,7 +66238,7 @@ function Twe({ host: e }) {}//#endregion//#region src/react/settings-panel/number-setting.tsx-var Ewe = {+var Owe = {batchSizeSetting: {min: 1,max: 200,@@ -66282,22 +66285,22 @@ var Ewe = {optional: !0,fallback: 60}-}, n0 = (e) => `peach.number.${e}`;-function r0(e, t) {+}, t0 = (e) => `peach.number.${e}`;+function n0(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function i0({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = Ewe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, D.useRef)(0);- d.current ||= Lk(Number(localStorage.getItem(n0(e))), o, s, n && n > 0 ? n : l);+function r0({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = Owe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, D.useRef)(0);+ d.current ||= Mk(Number(localStorage.getItem(t0(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, D.useState)(n ?? 0), [m, h] = (0, D.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, D.useState)(""), v = (0, D.useRef)(null), y = (0, D.useRef)(i);y.current = i, (0, D.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));}, [n]);let b = () => {let t = v.current;- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(n0(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(t0(e), String(d.current)), y.current(d.current)));}, x = (0, D.useRef)(b);x.current = b, (0, D.useEffect)(() => {let e = v.current;@@ -66307,7 +66310,7 @@ function i0({ 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(n0(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(t0(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));}, w = r || n === null;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-number-setting": "",@@ -66344,7 +66347,7 @@ function i0({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, O.jsxs)("span", {"aria-hidden": "true",- children: [c, r0(Number(m), c) ? ` · ${r0(Number(m), c)}` : ""]+ children: [c, n0(Number(m), c) ? ` · ${n0(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, O.jsx)("small", {id: `${e}-error`,@@ -66358,13 +66361,13 @@ function i0({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}//#endregion//#region src/react/sidebar/sidebar-order.ts-function a0(e) {+function i0(e) {let { mutate: t } = eZ();return (0, D.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function o0(e, t, n, r) {+function a0(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -66374,17 +66377,17 @@ function o0(e, t, n, r) {}//#endregion//#region src/react/settings-panel/sidebar-order.tsx-var Dwe = "__home__", s0 = (e) => e === "" ? Dwe : e;-function Owe({ host: e }) {- let t = a0(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, D.useState)(null), [c, l] = (0, D.useState)(!1), [u, d] = (0, D.useState)(null), [f, p] = (0, D.useState)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (e, r, i) => {- let a = o0(n, e, r, i);+var kwe = "__home__", o0 = (e) => e === "" ? kwe : e;+function Awe({ host: e }) {+ let t = i0(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, D.useState)(null), [c, l] = (0, D.useState)(!1), [u, d] = (0, D.useState)(null), [f, p] = (0, D.useState)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(null), g = (e, r, i) => {+ let a = a0(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]) => s0(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => o0(e) === o) ?? a[0], y = () => {h.current && To(h.current), l(!1);}, b = () => {let e = h.current;@@ -66405,7 +66408,7 @@ function Owe({ host: e }) {}, C = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", s0(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", o0(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -66437,9 +66440,9 @@ function Owe({ host: e }) {/* @__PURE__ */ (0, O.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(bP, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, O.jsx)(uP, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, O.jsx)(bP, { name: a ?? "" }),+ /* @__PURE__ */ (0, O.jsx)(uP, { name: a ?? "" }),/* @__PURE__ */ (0, O.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, O.jsxs)("span", {@@ -66453,7 +66456,7 @@ function Owe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-up" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66463,7 +66466,7 @@ function Owe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-down" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66475,11 +66478,11 @@ function Owe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, O.jsx)(bP, { name: "eye-off" })+ children: /* @__PURE__ */ (0, O.jsx)(uP, { name: "eye-off" })})]})]- }, s0(e))), /* @__PURE__ */ (0, O.jsxs)("div", {+ }, o0(e))), /* @__PURE__ */ (0, O.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-sidebar-add-picker": "",@@ -66495,13 +66498,13 @@ function Owe({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(bP, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, O.jsx)(uP, { name: v[2] ?? "" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(bP, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(uP, { name: "check" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, O.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -66512,15 +66515,15 @@ function Owe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": s0(e),+ "data-sidebar-add-option": o0(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(s0(e)), y(), m.current?.focus();+ s(o0(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, O.jsx)(bP, { name: n ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]- }, s0(e)))+ children: [/* @__PURE__ */ (0, O.jsx)(uP, { name: n ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: t })]+ }, o0(e)))}) : null]}), /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -66537,13 +66540,13 @@ function Owe({ host: e }) {}//#endregion//#region src/react/settings-panel/settings-panel.tsx-var c0 = [+var s0 = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], kwe = [+], jwe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -66552,7 +66555,7 @@ var c0 = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Awe = [["desc", "降序"], ["asc", "升序"]], jwe = [[+], Mwe = [["desc", "降序"], ["asc", "升序"]], Nwe = [["cover","官方封面",""@@ -66560,7 +66563,7 @@ var c0 = ["thumbnail","预览图",""-]], Mwe = [+]], Pwe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -66579,88 +66582,88 @@ var c0 = ["切片","隐藏切片"]-], Nwe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", l0 = null, u0 = {+], Fwe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", c0 = null, l0 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, d0 = 0, f0 = null, p0 = /* @__PURE__ */ new Set();-function Pwe(e) {- return p0.add(e), () => {- p0.delete(e);+}, u0 = 0, d0 = null, f0 = /* @__PURE__ */ new Set();+function Iwe(e) {+ return f0.add(e), () => {+ f0.delete(e);};}-function Fwe() {- for (let e of [...p0]) e();+function Lwe() {+ for (let e of [...f0]) e();}-function m0(e) {- u0 = {- ...u0,+function p0(e) {+ l0 = {+ ...l0,...e- }, (0, Et.flushSync)(Fwe);+ }, (0, Tt.flushSync)(Lwe);}-async function Iwe(e) {- let t = u0.epoch, n = await e.configurable();- u0.open && u0.epoch === t && m0({ configurable: n });+async function Rwe(e) {+ let t = l0.epoch, n = await e.configurable();+ l0.open && l0.epoch === t && p0({ configurable: n });}-function Lwe(e = "") {- let t = l0;+function zwe(e = "") {+ let t = c0;if (!t) return;- let n = c0.findIndex(([t]) => t === e);- if (u0.open && !u0.closing) {- n >= 0 && n !== u0.tab && m0({ tab: n });+ let n = s0.findIndex(([t]) => t === e);+ if (l0.open && !l0.closing) {+ n >= 0 && n !== l0.tab && p0({ tab: n });return;}- So(), d0 += 1, f0 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = xye();- m0({+ So(), u0 += 1, d0 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let r = Sye();+ p0({open: !0,closing: !1,configurable: null,- epoch: u0.epoch + 1,- tab: n >= 0 ? n : u0.tab+ epoch: l0.epoch + 1,+ tab: n >= 0 ? n : l0.tab}), r.then((e) => {e && t.syncRemote(e);- }), Iwe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), Rwe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function h0(e = !0) {- if (!u0.open || u0.closing) return;- let t = ++d0;- e && l0?.closed?.(), m0({ closing: !0 });+function m0(e = !0) {+ if (!l0.open || l0.closing) return;+ let t = ++u0;+ e && c0?.closed?.(), p0({ closing: !0 });let n = () => {- t === d0 && u0.closing && (m0({+ t === u0 && l0.closing && (p0({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), f0 instanceof HTMLElement && document.contains(f0) && f0.focus(), f0 = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), d0 instanceof HTMLElement && document.contains(d0) && d0.focus(), d0 = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var Rwe = {- open: Lwe,- close: h0,- isOpen: () => u0.open,+var Bwe = {+ open: zwe,+ close: m0,+ isOpen: () => l0.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function zwe(e) {- return l0 = e, Rwe;+function Vwe(e) {+ return c0 = e, Bwe;}-function Bwe() {- let e = (0, D.useSyncExternalStore)(Pwe, () => u0);- return l0 ? /* @__PURE__ */ (0, O.jsx)(Uwe, {- host: l0,+function Hwe() {+ let e = (0, D.useSyncExternalStore)(Iwe, () => l0);+ return c0 ? /* @__PURE__ */ (0, O.jsx)(Gwe, {+ host: c0,view: e}) : null;}-function Vwe(e) {+function Uwe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(Nwe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(Fwe)].filter((e) => e.getClientRects().length > 0);if (!t.length) return;let n = t[0], r = t[t.length - 1];e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());}-var g0 = (e) => `settings-tab-${e}`, _0 = (e) => `settings-group-${e}`;-function Hwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+var h0 = (e) => `settings-tab-${e}`, g0 = (e) => `settings-group-${e}`;+function Wwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(e), l = (0, D.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -66688,7 +66691,7 @@ function Hwe({ 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 = c0.length, r = t;+ let n = s0.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;@@ -66717,11 +66720,11 @@ function Hwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- c0.map(([t, n], r) => /* @__PURE__ */ (0, O.jsxs)("button", {+ s0.map(([t, n], r) => /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",role: "tab",- id: g0(r),- "aria-controls": _0(r),+ id: h0(r),+ "aria-controls": g0(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -66732,7 +66735,7 @@ function Hwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, O.jsx)(bP, { name: n }) : /* @__PURE__ */ (0, O.jsx)(fce, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, O.jsx)(uP, { name: n }) : /* @__PURE__ */ (0, O.jsx)(dP, { name: n }), t]}, t)),/* @__PURE__ */ (0, O.jsx)("div", {"data-settings-service": "",@@ -66743,27 +66746,27 @@ function Hwe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, O.jsx)(bP, { name: "folder-cog" }),+ /* @__PURE__ */ (0, O.jsx)(uP, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-right" })+ /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-right" })]})})]});}-function v0({ index: e, tab: t, children: n, cards: r = !1 }) {+function _0({ index: e, tab: t, children: n, cards: r = !1 }) {return /* @__PURE__ */ (0, O.jsxs)("section", {"data-setting-group": "","data-setting-layout": r ? "cards" : void 0,- id: _0(e),+ id: g0(e),role: "tabpanel",- "aria-labelledby": g0(e),+ "aria-labelledby": h0(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, O.jsx)("h3", { children: c0[e][0] }), n]+ children: [/* @__PURE__ */ (0, O.jsx)("h3", { children: s0[e][0] }), n]});}-function y0({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function v0({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, O.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, O.jsxs)("span", { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, O.jsx)("small", {@@ -66780,7 +66783,7 @@ function y0({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function b0({ title: e, description: t, kind: n, children: r }) {+function y0({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -66788,7 +66791,7 @@ function b0({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, O.jsxs)("span", { children: [/* @__PURE__ */ (0, O.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, O.jsx)("small", { children: t }) : t] }), r]});}-function Uwe({ host: e, view: t }) {+function Gwe({ host: e, view: t }) {(0, D.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -66809,7 +66812,7 @@ function Uwe({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (t) => {- t !== u0.tab && (m0({ tab: t }), e.selectSection?.(c0[t][0]));+ t !== l0.tab && (p0({ tab: t }), e.selectSection?.(s0[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, O.jsx)("section", {"data-settings-panel": "",@@ -66820,9 +66823,9 @@ function Uwe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: Vwe,+ onKeyDown: Uwe,onClick: (e) => {- e.target === e.currentTarget && h0();+ e.target === e.currentTarget && m0();},children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-settings-card": "",@@ -66833,27 +66836,27 @@ function Uwe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, O.jsx)("h2", {id: "settingsTitle",- children: c0[t.tab][0]- }), /* @__PURE__ */ (0, O.jsx)(nB, {+ children: s0[t.tab][0]+ }), /* @__PURE__ */ (0, O.jsx)(rB, {id: "settingsClose",label: "关闭设置",- onPress: () => h0()+ onPress: () => m0()})]}),- /* @__PURE__ */ (0, O.jsx)(Hwe, {+ /* @__PURE__ */ (0, O.jsx)(Wwe, {tab: t.tab,epoch: d,configurable: t.configurable,onSelect: f,openConfiguration: () => {- h0(!1), e.openConfiguration();+ m0(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, O.jsxs)(v0, {+ /* @__PURE__ */ (0, O.jsxs)(_0, {index: 0,tab: t.tab,cards: !0,@@ -66861,9 +66864,9 @@ function Uwe({ host: e, view: t }) {/* @__PURE__ */ (0, O.jsxs)("div", {"data-setting-card": "",children: [- /* @__PURE__ */ (0, O.jsx)(b0, {+ /* @__PURE__ */ (0, O.jsx)(y0, {title: "主题",- children: /* @__PURE__ */ (0, O.jsx)(e0, {+ children: /* @__PURE__ */ (0, O.jsx)($1, {id: "themeSetting",name: "theme",legend: "主题",@@ -66891,7 +66894,7 @@ function Uwe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(v0, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -66899,7 +66902,7 @@ function Uwe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(v0, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -66909,7 +66912,7 @@ function Uwe({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, O.jsx)(Twe, { host: e }),+ /* @__PURE__ */ (0, O.jsx)(Dwe, { host: e }),/* @__PURE__ */ (0, O.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -66921,35 +66924,35 @@ function Uwe({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, O.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, O.jsx)(Owe, { host: e })+ children: /* @__PURE__ */ (0, O.jsx)(Awe, { host: e })})})]})]}),- /* @__PURE__ */ (0, O.jsx)(Gwe, {+ /* @__PURE__ */ (0, O.jsx)(qwe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, O.jsx)(Kwe, {+ /* @__PURE__ */ (0, O.jsx)(Jwe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, O.jsxs)(v0, {+ /* @__PURE__ */ (0, O.jsxs)(_0, {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, O.jsx)(Ywe, {+ /* @__PURE__ */ (0, O.jsx)(Zwe, {host: e,epoch: d}),- /* @__PURE__ */ (0, O.jsx)(b0, {+ /* @__PURE__ */ (0, O.jsx)(y0, {title: "相关推荐数量",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, O.jsx)(i0, {+ children: /* @__PURE__ */ (0, O.jsx)(r0, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -66959,24 +66962,24 @@ function Uwe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, O.jsx)(b0, {+ /* @__PURE__ */ (0, O.jsx)(y0, {title: "口味与记录",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(dI, {+ children: /* @__PURE__ */ (0, O.jsx)(OI, {variant: "secondary",href: "/taste",- onClick: () => h0(!1),+ onClick: () => m0(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, O.jsx)(v0, {+ /* @__PURE__ */ (0, O.jsx)(_0, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, O.jsx)(y0, {+ children: /* @__PURE__ */ (0, O.jsx)(v0, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -66991,7 +66994,7 @@ function Uwe({ host: e, view: t }) {})});}-function Wwe(e, t) {+function Kwe(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = cs("arrow-up", "arrow-down", "a", {@@ -67001,9 +67004,9 @@ function Wwe(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function Gwe({ host: e, tab: t, epoch: n }) {+function qwe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";- return /* @__PURE__ */ (0, O.jsxs)(v0, {+ return /* @__PURE__ */ (0, O.jsxs)(_0, {index: 1,tab: t,children: [@@ -67011,11 +67014,11 @@ function Gwe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品列表"}),- /* @__PURE__ */ (0, O.jsx)(b0, {+ /* @__PURE__ */ (0, O.jsx)(y0, {title: "每批加载作品",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, O.jsx)(i0, {+ children: /* @__PURE__ */ (0, O.jsx)(r0, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -67025,24 +67028,24 @@ function Gwe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, O.jsx)(b0, {+ /* @__PURE__ */ (0, O.jsx)(y0, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, O.jsx)(t0, {+ children: [/* @__PURE__ */ (0, O.jsx)(e0, {id: "defaultSortSetting",label: "默认排序",- options: kwe,+ options: jwe,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, O.jsx)(t0, {+ }), /* @__PURE__ */ (0, O.jsx)(e0, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: Awe,+ options: Mwe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -67050,13 +67053,13 @@ function Gwe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => Wwe(e, o)+ decorate: (e) => Kwe(e, o)})]})}),- /* @__PURE__ */ (0, O.jsx)(b0, {+ /* @__PURE__ */ (0, O.jsx)(y0, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, O.jsx)(e0, {+ children: /* @__PURE__ */ (0, O.jsx)($1, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -67082,16 +67085,16 @@ function Gwe({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, O.jsx)(b0, {+ /* @__PURE__ */ (0, O.jsx)(y0, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, O.jsx)(i0, {+ children: /* @__PURE__ */ (0, O.jsx)(r0, {id: "hoverDelaySetting",label: "悬停预览延迟",value: r.hoverDelaySeconds,onApply: (t) => {- r.hoverDelaySeconds = Lk(t, 0, 60, 5), i(), e.changed("hoverDelay");+ r.hoverDelaySeconds = Mk(t, 0, 60, 5), i(), e.changed("hoverDelay");}}, n)})@@ -67100,16 +67103,16 @@ function Gwe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "播放"}),- /* @__PURE__ */ (0, O.jsx)(Jwe, {+ /* @__PURE__ */ (0, O.jsx)(Xwe, {host: e,epoch: n})]});}-function Kwe({ host: e, tab: t, epoch: n }) {+function Jwe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, O.jsxs)(v0, {+ return /* @__PURE__ */ (0, O.jsxs)(_0, {index: 2,tab: t,children: [@@ -67117,20 +67120,20 @@ function Kwe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, O.jsx)(b0, {+ /* @__PURE__ */ (0, O.jsx)(y0, {title: "默认图片",- children: /* @__PURE__ */ (0, O.jsx)(e0, {+ children: /* @__PURE__ */ (0, O.jsx)($1, {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: jwe,+ options: Nwe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",text: !0,epoch: n,onChoose: (t) => {- r.javImage = Sa(t), i(), e.changed("javImage");+ r.javImage = xa(t), i(), e.changed("javImage");}})}),@@ -67138,21 +67141,21 @@ function Kwe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, O.jsx)(b0, {+ /* @__PURE__ */ (0, O.jsx)(y0, {title: "显示数量",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "feedLimitSetting",- children: /* @__PURE__ */ (0, O.jsx)(i0, {+ children: /* @__PURE__ */ (0, O.jsx)(r0, {id: "feedLimitSetting",label: "新作显示数量",value: r.feedLimit,onApply: (t) => {- r.feedLimit = Lk(t, 1, 100, 12), i(), e.changed("feedLimit");+ r.feedLimit = Mk(t, 1, 100, 12), i(), e.changed("feedLimit");}}, n)})}),- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(v0, {id: "feedAutoScrollSetting",title: "自动滚动",checked: r.feedAutoScroll,@@ -67160,7 +67163,7 @@ function Kwe({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- Mwe.map(([t, n, r, i]) => /* @__PURE__ */ (0, O.jsx)(qwe, {+ Pwe.map(([t, n, r, i]) => /* @__PURE__ */ (0, O.jsx)(Ywe, {host: e,id: t,settingKey: n,@@ -67170,7 +67173,7 @@ function Kwe({ host: e, tab: t, epoch: n }) {]});}-function qwe({ host: e, id: t, settingKey: n, label: r, title: i }) {+function Ywe({ host: e, id: t, settingKey: n, label: r, title: i }) {let a = eZ(), [o, s] = (0, D.useState)(null), c = (0, D.useRef)(null), l = e.store.value, u = (t) => {s(t), cc(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {@@ -67195,10 +67198,10 @@ function qwe({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function Jwe({ host: e, epoch: t }) {+function Xwe({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(v0, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -67206,7 +67209,7 @@ function Jwe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, O.jsx)(y0, {+ /* @__PURE__ */ (0, O.jsx)(v0, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -67214,11 +67217,11 @@ function Jwe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, O.jsx)(b0, {+ /* @__PURE__ */ (0, O.jsx)(y0, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, O.jsx)(i0, {+ children: /* @__PURE__ */ (0, O.jsx)(r0, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -67230,18 +67233,18 @@ function Jwe({ host: e, epoch: t }) {})] });}-function Ywe({ host: e, epoch: t }) {+function Zwe({ host: e, epoch: t }) {let n = e.store.value, r = eZ();- return /* @__PURE__ */ (0, O.jsx)(b0, {+ return /* @__PURE__ */ (0, O.jsx)(y0, {title: "搜索记录数量",children: /* @__PURE__ */ (0, O.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, O.jsx)(i0, {+ children: /* @__PURE__ */ (0, O.jsx)(r0, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = Lk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = Mk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})@@ -67249,68 +67252,68 @@ function Ywe({ host: e, epoch: t }) {}//#endregion//#region src/react/sidebar/sidebar-island.tsx-var x0 = "__home__", Xwe = {+var b0 = "__home__", Qwe = {creator: 26,tag: 30,tech: 16-}, S0 = 180, C0 = null, w0 = {+}, x0 = 180, S0 = null, C0 = {props: {content: null,filters: {},latest: null},epoch: 0-}, T0 = /* @__PURE__ */ new Set();-function Zwe(e) {- return T0.add(e), () => {- T0.delete(e);+}, w0 = /* @__PURE__ */ new Set();+function $we(e) {+ return w0.add(e), () => {+ w0.delete(e);};}-function E0() {- for (let e of [...T0]) e();+function T0() {+ for (let e of [...w0]) e();}-var Qwe = {+var eTe = {render(e) {- w0 = {- ...w0,+ C0 = {+ ...C0,props: e- }, (0, Et.flushSync)(E0);+ }, (0, Tt.flushSync)(T0);},navChanged() {- w0 = {- ...w0,- epoch: w0.epoch + 1- }, (0, Et.flushSync)(E0);+ C0 = {+ ...C0,+ epoch: C0.epoch + 1+ }, (0, Tt.flushSync)(T0);}};-function $we(e) {- return C0 = e, w0 = {- ...w0,+function tTe(e) {+ return S0 = e, C0 = {+ ...C0,props: {content: null,filters: {},latest: null}- }, Qwe;+ }, eTe;}-function eTe() {- let e = (0, D.useSyncExternalStore)(Zwe, () => w0);- return C0 ? /* @__PURE__ */ (0, O.jsx)(tTe, {- host: C0,+function nTe() {+ let e = (0, D.useSyncExternalStore)($we, () => C0);+ return S0 ? /* @__PURE__ */ (0, O.jsx)(rTe, {+ host: S0,props: e.props,epoch: e.epoch}) : null;}-function tTe({ host: e, props: t, epoch: n }) {+function rTe({ host: e, props: t, epoch: n }) {let r = (0, D.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, O.jsx)(nTe, {+ /* @__PURE__ */ (0, O.jsx)(iTe, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, O.jsx)(iTe, {+ t.content ? /* @__PURE__ */ (0, O.jsx)(oTe, {host: e,content: t.content,filters: t.filters,@@ -67318,8 +67321,8 @@ function tTe({ host: e, props: t, epoch: n }) {}) : null] });}-function nTe({ host: e, epoch: t, version: n }) {- let r = a0(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = lI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || x0 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function iTe({ host: e, epoch: t, version: n }) {+ let r = i0(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, D.useRef)(null), l = (0, D.useRef)(null), u = EI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || b0 : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, D.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());[@@ -67343,7 +67346,7 @@ function nTe({ host: e, epoch: t, version: n }) {}, _ = (e) => ({draggable: !0,onDragStart: (t) => {- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || x0);+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || b0);},onDragOver: (t) => {if (f === null || f === e) return;@@ -67358,7 +67361,7 @@ function nTe({ host: e, epoch: t, version: n }) {t.preventDefault();let n = f, a = m?.key === e && m.after;g();- let o = n === null ? null : o0(i, n, e, a);+ let o = n === null ? null : a0(i, n, e, a);o && r(o);},onDragEnd: g@@ -67386,16 +67389,16 @@ function nTe({ host: e, epoch: t, version: n }) {height: 24,alt: "",decoding: "async"- }) : /* @__PURE__ */ (0, O.jsx)(bP, { name: r }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]- }, t || x0))- }), v ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)("span", {+ }) : /* @__PURE__ */ (0, O.jsx)(uP, { name: r }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ }, t || b0))+ }), v ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-glide": "","aria-hidden": "true",ref: l}), v) : null] });}-var D0 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function rTe(e) {+var E0 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function aTe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -67408,7 +67411,7 @@ function rTe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function iTe({ host: e, content: t, filters: n, latest: r }) {+function oTe({ host: e, content: t, filters: n, latest: r }) {let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;(0, D.useLayoutEffect)(() => {t.kind === "catalog" && ms(e.scroll, "drawer");@@ -67417,8 +67420,8 @@ function iTe({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? aTe(e, t.facets, n, r, i) : oTe(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, O.jsx)(sTe, {+ let a = t.kind === "catalog" ? sTe(e, t.facets, n, r, i) : cTe(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, O.jsx)(lTe, {title: e.title,kind: e.kind,active: e.active,@@ -67427,11 +67430,11 @@ function iTe({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function aTe(e, t, n, r, i) {- let a = rTe(r), o = (t, r, i) => {+function sTe(e, t, n, r, i) {+ let a = aTe(r), o = (t, r, i) => {if (!t.length) return null;- let o = D0(n, r);- return /* @__PURE__ */ (0, O.jsx)(A0, {+ let o = E0(n, r);+ return /* @__PURE__ */ (0, O.jsx)(k0, {rows: t,filterKey: r,multi: i,@@ -67441,7 +67444,7 @@ function aTe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = D0(n, l), p = c.some((e) => f.includes(e.value));+ let f = E0(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -67453,12 +67456,12 @@ function aTe(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, O.jsx)(lTe, {+ body: /* @__PURE__ */ (0, O.jsx)(dTe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: Xwe[d],+ limit: Qwe[d],filterKey: l,selected: f,counts: a,@@ -67473,7 +67476,7 @@ function aTe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, O.jsx)(N0, {+ body: /* @__PURE__ */ (0, O.jsx)(M0, {host: e,filters: n})@@ -67487,7 +67490,7 @@ function aTe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, O.jsx)(j0, {+ body: /* @__PURE__ */ (0, O.jsx)(A0, {rows: t.followTags,host: e,selected: null,@@ -67496,14 +67499,14 @@ function aTe(e, t, n, r, i) {} : null];}-function oTe(e, t, n) {- let r = t.providers || [], i = D0(n, "provider"), a = new Set(t.selected);+function cTe(e, t, n) {+ let r = t.providers || [], i = E0(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, O.jsx)(A0, {+ body: /* @__PURE__ */ (0, O.jsx)(k0, {rows: r,filterKey: "provider",multi: !1,@@ -67517,7 +67520,7 @@ function oTe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, O.jsx)(N0, {+ body: /* @__PURE__ */ (0, O.jsx)(M0, {host: e,filters: n,commit: e.setFollowDuration@@ -67527,7 +67530,7 @@ function oTe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, O.jsx)(j0, {+ body: /* @__PURE__ */ (0, O.jsx)(A0, {rows: t.tags,host: e,selected: a,@@ -67536,19 +67539,19 @@ function oTe(e, t, n) {} : null];}-function O0(e, t) {+function D0(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function sTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(() => O0(e, n)), u = (0, D.useRef)(!1);+function lTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, D.useRef)(null), s = (0, D.useRef)(null), [c, l] = (0, D.useState)(() => D0(e, n)), u = (0, D.useRef)(!1);(0, D.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? O0(e, n) : c;+ let i = u.current ? D0(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) => {@@ -67569,7 +67572,7 @@ function sTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-right" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-right" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, O.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -67580,7 +67583,7 @@ function sTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, O.jsx)(k0.Provider, {+ children: /* @__PURE__ */ (0, O.jsx)(O0.Provider, {value: d,children: a})@@ -67589,15 +67592,15 @@ function sTe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var k0 = (0, D.createContext)(() => {});-function cTe({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, O.jsx)(bP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, O.jsx)("img", {+var O0 = (0, D.createContext)(() => {});+function uTe({ dot: e }) {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, O.jsx)(uP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, O.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, O.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function A0({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function k0({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -67614,7 +67617,7 @@ function A0({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,title: e.offline || e.label,onClick: () => o(t, e.value, n),children: [- /* @__PURE__ */ (0, O.jsx)(cTe, { dot: e.dot }),+ /* @__PURE__ */ (0, O.jsx)(uTe, { dot: e.dot }),/* @__PURE__ */ (0, O.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -67629,8 +67632,8 @@ function A0({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function lTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, D.useContext)(k0), [d, f] = (0, D.useState)(null), [p, m] = (0, D.useState)(e);+function dTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, D.useContext)(O0), [d, f] = (0, D.useState)(null), [p, m] = (0, D.useState)(e);p !== e && (m(e), f(null));let h = (0, D.useRef)(null), g = (0, D.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, D.useLayoutEffect)(() => {@@ -67645,7 +67648,7 @@ function lTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("ui-fcollapse"), ao(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(A0, {+ }, [d, _]), /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(k0, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -67670,10 +67673,10 @@ function lTe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, O.jsx)(bP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, O.jsx)(uP, { name: "chevron-down" })}) : null] });}-function j0({ rows: e, host: t, selected: n, badges: r }) {+function A0({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {@@ -67695,10 +67698,10 @@ function j0({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var M0 = (e, t) => e ? Math.min(S0, Number(e) / 60) : t;-function N0({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, D.useState)(r), [o, s] = (0, D.useState)(() => [M0(t.dur_min, 0), M0(t.dur_max, S0)]), [c, l] = (0, D.useState)("max");- i !== r && (a(r), s([M0(t.dur_min, 0), M0(t.dur_max, S0)]));+var j0 = (e, t) => e ? Math.min(x0, Number(e) / 60) : t;+function M0({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, D.useState)(r), [o, s] = (0, D.useState)(() => [j0(t.dur_min, 0), j0(t.dur_max, x0)]), [c, l] = (0, D.useState)("max");+ i !== r && (a(r), s([j0(t.dur_min, 0), j0(t.dur_max, x0)]));let [u, d] = o, f = (0, D.useRef)(null), p = (0, D.useRef)(null), m = (0, D.useRef)(null), h = (0, D.useRef)(o);h.current = o;let g = (e, t) => {@@ -67711,11 +67714,11 @@ function N0({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, D.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / S0 * 100}%`), e.style.setProperty("--hi", `${d / S0 * 100}%`);+ e.style.setProperty("--lo", `${u / x0 * 100}%`), e.style.setProperty("--hi", `${d / x0 * 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 / S0 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / x0 * 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`);});@@ -67725,7 +67728,7 @@ function N0({ 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 >= S0 ? "不限" : `${t} 分钟`+ children: e === "max" && t >= x0 ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, O.jsx)("div", {"data-sidebar-duration": "",@@ -67740,7 +67743,7 @@ function N0({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: S0,+ max: x0,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -67751,7 +67754,7 @@ function N0({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: S0,+ max: x0,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -67766,7 +67769,7 @@ function N0({ host: e, filters: t, commit: n = e.setDuration }) {}//#endregion//#region src/react/jav/discovery-sorts.ts-var P0 = [+var N0 = [["taste","口味",@@ -67774,7 +67777,7 @@ var P0 = [],["release_date",- zk[1],+ Pk[1],"按发行日期排序"],[@@ -67793,10 +67796,10 @@ var P0 = ["按番号排序"]];-function uTe(e) {+function fTe(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function dTe(e) {+function pTe(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -67822,8 +67825,8 @@ function dTe(e) {}//#endregion//#region src/jav-skeleton.ts-var F0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, fTe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, I0 = "w-full min-w-0";-function L0() {+var P0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, mTe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, F0 = "w-full min-w-0";+function I0() {return ["w-20","w-16",@@ -67833,26 +67836,26 @@ function L0() {"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 R0(e, t = TA()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${F0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${fTe("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">${F0("80%")}${F0("60%")}${F0("40%")}</div></div>`).join("")}</div>`;- let n = NA({- ...MA({+function L0(e, t = vA()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${P0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${mTe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${P0("80%")}${P0("60%")}${P0("40%")}</div></div>`).join("")}</div>`;+ let n = EA({+ ...TA({active: !0,home: !1,portrait: !1}),size: t});- return `<div data-media-grid class="${I0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">+ return `<div data-media-grid class="${F0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3"><span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span><div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>- <div data-media-title>${F0("85%")}${F0("65%")}</div><div data-media-byline>${F0("55%")}</div>+ <div data-media-title>${P0("85%")}${P0("65%")}</div><div data-media-byline>${P0("55%")}</div><div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div></div></div><div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div></div>`).join("")}</div>`;}-function pTe(e) {+function hTe(e) {let t = e === "wants" ? "筛选想要" : "筛选推荐";return `<div class="peach-react"><div class="flex w-full flex-col gap-6"><div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${Wo({@@ -67860,29 +67863,29 @@ function pTe(e) {label: "查找资源",attrs: "disabled data-skeleton-action"})}</div>- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${u1.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${l1.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div><form aria-label="${t}">${Uo("筛选番号、女优或标题", "", t)}</form>- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${F0("100%")}</div>${R0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${mTe()}${R0(e)}</section>`}</div></div>`;+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${P0("100%")}</div>${L0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${gTe()}${L0(e)}</section>`}</div></div>`;}-function mTe() {- 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">${Vo(t, "size-4")}</span>`;+function gTe() {+ 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="" ${vA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Vo(t, "size-4")}</span>`;return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${L0()}</div></div>+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${I0()}</div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2"><span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ho()}<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${Vo("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>- ${P0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Vo("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${N0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Vo("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;}//#endregion//#region src/management-skeletons.ts-var z0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", B0 = (e = "60%") => `<span class="${z0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, V0 = "disabled data-skeleton-action", H0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function hTe() {+var R0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", z0 = (e = "60%") => `<span class="${R0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, B0 = "disabled data-skeleton-action", V0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+function _Te() {let e = ["馆藏视频","看过",@@ -67890,27 +67893,27 @@ function hTe() {"使用空间"].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="${z0} 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">${B0("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">${B0("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${H0}" 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">${B0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${z0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${V0}" data-stats-chart>+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${z0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header><svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[76,54,32].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${B0()}</span><b class="text-title-2-medium">${B0("3em")}</b><small class="text-caption-1-regular">${B0()}</small></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${z0()}</span><b class="text-title-2-medium">${z0("3em")}</b><small class="text-caption-1-regular">${z0()}</small></div>`).join("")}</div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${B0("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${z0("12em")}</p><div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div><div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div><div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${["时长","画质","文件类型"- ].map((e) => `<section class="${H0}"><h3 class="text-title-2-medium">${e}</h3><div class="${z0} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${V0}"><h3 class="text-title-2-medium">${e}</h3><div class="${R0} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -67919,11 +67922,11 @@ function hTe() {"最近看过","标签来源"].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="${z0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div></section></div></div>`;}-function gTe() {+function vTe() {let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = ["浏览记录","口味维度",@@ -67931,20 +67934,20 @@ function gTe() {"私有导出"].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="${z0} 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">${B0("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">${B0("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${z0} h-6"></div>`).join(""), r = (e) => `<section class="${H0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${z0} h-40"></div></section>`;+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${z0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${R0} h-6"></div>`).join(""), r = (e) => `<section class="${V0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${R0} h-40"></div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8"><div class="flex flex-col gap-5"><div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}<div class="flex flex-wrap items-center gap-2">${Ko("全部时间")}<span data-button-group data-split-button data-variant="primary">${Wo({glyph: "compass",label: "读取浏览器历史",- attrs: V0+ attrs: B0})}${Wo({glyph: "chevron-down",- attrs: V0+ attrs: B0})}</span></div></div><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>@@ -67962,11 +67965,11 @@ function gTe() {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">${B0("8em")}</small></div>+ <small class="text-caption-1-regular">${z0("8em")}</small></div><div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div></section><div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>- <section class="${H0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${z0} h-72 max-sm:h-48"></div></section>+ <section class="${V0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${R0} h-72 max-sm:h-48"></div></section><section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col"><div class="px-4 pt-3">${e(["标签",@@ -67974,20 +67977,20 @@ function gTe() {"常访问网站","浏览线索"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${z0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div></section></div></div></div>`;}-function _Te() {+function yTe() {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="${z0} 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">${B0("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${B0("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">${B0("75%")}</span>+ <span class="${R0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${z0("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${z0("3em")}</span>`).join("")}+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${z0("75%")}</span></div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group><div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">- <b class="text-title-2-medium">${B0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${B0("8em")}</span>+ <b class="text-title-2-medium">${z0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${z0("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长",@@ -67996,27 +67999,27 @@ function _Te() {variant: "secondary",size: "small",label: e,- attrs: V0+ attrs: B0})).join("")}</span></div>${e.repeat(2)}</section>`;return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5"><div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${B0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${B0("12em")}</p>+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${z0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${z0("12em")}</p></div>- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${V0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${B0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>${t.repeat(2)}</div></div>`;}-function vTe() {+function bTe() {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="${z0} 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">${B0("80%")}</h3><p class="text-body-2-regular">${B0("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${R0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${z0("80%")}</h3><p class="text-body-2-regular">${z0("60%")}</p></div></div><footer class="flex justify-end">${Wo({variant: "secondary",size: "small",label: "查看版本",- attrs: V0+ attrs: B0})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">@@ -68026,24 +68029,24 @@ function vTe() {}//#endregion//#region src/board-skeleton.ts-var U0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, yTe = () => `${U0("80%")}${U0("48%")}`, W0 = (e, t) => e.repeat(t), G0 = "disabled data-skeleton-action", K0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, q0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, bTe = "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", J0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, xTe = () => `${H0("80%")}${H0("48%")}`, U0 = (e, t) => e.repeat(t), W0 = "disabled data-skeleton-action", G0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, K0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, STe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", q0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${["关注创作者","启用来源","检查失败","未看更新","JAV 订阅","未看新作"-].map((e) => `<div class="${bTe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${K0("3em")}</b></div>`).join("")}</div>`, Y0 = [+].map((e) => `<div class="${STe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${G0("3em")}</b></div>`).join("")}</div>`, J0 = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"]-], xTe = (e = "") => Y0.some(([t]) => t === e) ? e : "list", X0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${Y0.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Z0 = (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>`, STe = ({ table: e, sort: t, dir: n }) => {- let r = Mn.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">${K0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Wo({+], CTe = (e = "") => J0.some(([t]) => t === e) ? e : "list", Y0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${J0.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, X0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, wTe = ({ table: e, sort: t, dir: n }) => {+ let r = jn.find(([e]) => e === t)[1];+ return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${G0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Wo({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: G0+ attrs: W0})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Wo({variant: "ghost",glyph: "layout-grid",@@ -68060,42 +68063,42 @@ var U0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, yTeglyph: "chevron-up",label: "全部收起",compact: !0,- attrs: G0+ attrs: W0})}</span></div></div>`;-}, Q0 = () => `<span class="flex shrink-0 items-center gap-1">${Wo({+}, Z0 = () => `<span class="flex shrink-0 items-center gap-1">${Wo({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: G0+ attrs: W0})}${Wo({variant: "secondary",size: "small",glyph: "trash",- attrs: G0-})}</span>`, CTe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Z0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${K0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${q0(14, 14)}</span>${q0(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">${K0("113px")}</span>${Q0()}</span></div>`, $0 = (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>${q0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${K0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Wo({+ attrs: W0+})}</span>`, TTe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${X0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${G0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${K0(14, 14)}</span>${K0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${G0("113px")}</span>${Z0()}</span></div>`, Q0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${K0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${G0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${Wo({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: G0-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${q0(14, 14)}${q0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Wo({+ attrs: W0+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${K0(14, 14)}${K0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Wo({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: G0+ attrs: W0})}${Wo({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: G0-})}</span></span></div><div data-source-divider>${W0(CTe(), e)}</div></section>`, wTe = () => {+ attrs: W0+})}</span></span></div><div data-source-divider>${U0(TTe(), e)}</div></section>`, ETe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, TTe = [+}, DTe = [["select", ""],["author", "创作者"],["source", "来源"],@@ -68103,85 +68106,85 @@ var U0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, yTe["status", "状态"],["checked", "上次检查"],["actions", ""]-], ETe = {+], OTe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, DTe = "<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>", OTe = (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>${TTe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${ETe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${DTe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${W0(`<tr>${[- Z0(),- `<span class="flex min-w-0 items-center gap-2">${q0(32, 32, !0)}${K0("5em")}</span>`,- K0("10em"),- `<span class="flex items-center gap-1.5">${q0(14, 14)}${K0("4em")}</span>`,- q0(48, 24),- K0("113px"),- Q0()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, kTe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${K0("111px")}</span><div data-toolbar-actions>${Ko(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${q0(204, 32)}</div></div>`, ATe = () => `<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">${K0("120px")}</h3>${[+}, kTe = "<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>", ATe = (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>${DTe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${OTe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${kTe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${U0(`<tr>${[+ X0(),+ `<span class="flex min-w-0 items-center gap-2">${K0(32, 32, !0)}${G0("5em")}</span>`,+ G0("10em"),+ `<span class="flex items-center gap-1.5">${K0(14, 14)}${G0("4em")}</span>`,+ K0(48, 24),+ G0("113px"),+ Z0()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, jTe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${G0("111px")}</span><div data-toolbar-actions>${Ko(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${K0(204, 32)}</div></div>`, MTe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${G0("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${K0(e)}</span>`).join("")}</div>`, jTe = (e) => {- let t = xTe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${J0()}<div class="flex flex-col gap-6">${X0(t)}<div class="flex flex-col gap-4">${ATe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = In(e.followSort, e.followDir), i = e.followPageSize || wTe(), a = n ? OTe(i, r) : `${Z0("全选本页")}<div class="flex flex-col gap-3">${$0(3)}${$0(4)}${$0(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${J0()}<div class="flex flex-col gap-6">${X0(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"}">${STe({+].map((e) => `<span class="text-body-medium">${G0(e)}</span>`).join("")}</div>`, NTe = (e) => {+ let t = CTe(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${Y0(t)}<div class="flex flex-col gap-4">${MTe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = Fn(e.followSort, e.followDir), i = e.followPageSize || ETe(), a = n ? ATe(i, r) : `${X0("全选本页")}<div class="flex flex-col gap-3">${Q0(3)}${Q0(4)}${Q0(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${Y0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${wTe({table: n,...r- })}${a}${kTe(n, i)}</div></div></div></div></div>`;+ })}${a}${jTe(n, i)}</div></div></div></div></div>`;};-function MTe() {- 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">${U0("85%")}${U0("65%")}${W0(yTe(), 4)}</div></aside></div>`;+function PTe() {+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${H0("85%")}${H0("65%")}${U0(xTe(), 4)}</div></aside></div>`;}-function NTe(e, t = {}) {+function FTe(e, t = {}) {let n = "";- if (e === "/stats") n = hTe();- else if (e === "/jav") n = pTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");- else if (e === "/taste") n = gTe();- else if (e === "/subscriptions") n = jTe(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in CV) n = ahe(CV[e.split("/")[2]]);+ if (e === "/stats") n = _Te();+ else if (e === "/jav") n = hTe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");+ else if (e === "/taste") n = vTe();+ else if (e === "/subscriptions") n = NTe(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in wV) n = ahe(wV[e.split("/")[2]]);else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${["正在进行","本次未执行","最近完成"- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${K0("8em")}</span><span class="text-caption-1-regular">${K0("14em")}</span>${K0("60%")}${K0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${K0("6em")}</div></div></section>`).join("")}</div></div>`;- else if (e === "/duplicates") n = _Te();- else if (e === "/quality-goals") n = vTe();+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${G0("8em")}</span><span class="text-caption-1-regular">${G0("14em")}</span>${G0("60%")}${G0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${G0("6em")}</div></div></section>`).join("")}</div></div>`;+ else if (e === "/duplicates") n = yTe();+ else if (e === "/quality-goals") n = bTe();else if (e === "/playlists") n = `<div class="peach-react"><section class="w-full pt-1 pb-10.5"><header class="mb-4 flex items-start justify-between gap-4.5 max-board-narrow:flex-col max-board-narrow:items-stretch"><div><h2 class="mb-1 text-display-4-medium! text-text-primary">播放列表</h2><p class="text-body-2-regular text-text-secondary">保存 Mix,按自己的顺序继续播放。</p></div><div class="flex flex-wrap items-end gap-2"><div class="min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none"><span class="text-body-medium">新播放列表</span><span class="skeleton ui-configuration-skeleton-input mt-1.5"></span></div>${Wo({label: "新建",- attrs: G0- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${W0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;+ attrs: W0+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${U0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;else return "";return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}//#endregion//#region src/react/components/overlay-host.ts-function PTe(e) {+function ITe(e) {let t = e.querySelector(":scope > [data-react-overlays]");if (t) return t;let n = e.ownerDocument.createElement("div");return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;}-function e2(e) {+function $0(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return PTe(n ?? t.body);+ return ITe(n ?? t.body);}-function t2(e) {+function e2(e) {let t = document.getElementById("toasts"), n = e?.open ? e : document.body;t && t.parentElement !== n && n.append(t);}//#endregion//#region src/react/follow-detail/follow-detail.ts-var n2 = (e) => ["follow-item", e], FTe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, ITe = "/api/follow/save", LTe = "/api/follow/media/hide", r2 = class extends Error {+var t2 = (e) => ["follow-item", e], LTe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, RTe = "/api/follow/save", zTe = "/api/follow/media/hide", n2 = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function i2(e, t) {- let n = await B(FTe(e), t);+async function r2(e, t) {+ let n = await V(LTe(e), t);for (let t of n.groups || []) {- let r = ji(t).find((t) => t.id === e);+ let r = Ai(t).find((t) => t.id === e);if (r) return {item: r,group: t,@@ -68189,12 +68192,12 @@ async function i2(e, t) {aliases: n.author_aliases || []};}- throw new r2();+ throw new n2();}-function RTe(e) {- for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {+function BTe(e) {+ for (let [, t] of U.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;- let n = ji(t.group).find((t) => t.id === e);+ let n = Ai(t.group).find((t) => t.id === e);if (n) return {...t,item: n@@ -68202,21 +68205,21 @@ function RTe(e) {}return null;}-async function a2(e, t) {- let n = n2(e.id), r = Mi(e.id), i = H.getQueryData(Ei) ? null : H.fetchQuery({- queryKey: Ei,- queryFn: () => Di(t)+async function i2(e, t) {+ let n = t2(e.id), r = ji(e.id), i = U.getQueryData(Ti) ? null : U.fetchQuery({+ queryKey: Ti,+ queryFn: () => Ei(t)}), a = r ? {...r,item: r.item- } : H.getQueryData(n) ?? RTe(e.id);- a ? H.setQueryData(n, a) : await H.fetchQuery({+ } : U.getQueryData(n) ?? BTe(e.id);+ a ? U.setQueryData(n, a) : await U.fetchQuery({queryKey: n,- queryFn: () => i2(e.id, t)+ queryFn: () => r2(e.id, t)}), await i;}-function zTe(e, t, n, r) {- let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && Bi(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);+function VTe(e, t, n, r) {+ let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && zi(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);return {embedded: i,selected: s,@@ -68230,32 +68233,32 @@ function zTe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var BTe = (e) => ji(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), VTe = {+var HTe = (e) => Ai(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), UTe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, HTe = {+}, WTe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function UTe(e) {+function GTe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return VTe[t] || t;+ return UTe[t] || t;} catch {return "外部文件页";}}-function o2(e, t) {- return HTe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function a2(e, t) {+ return WTe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function WTe(e, t, n = "") {+function KTe(e, t, n = "") {let r = n;!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;@@ -68264,54 +68267,54 @@ function WTe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var GTe = (e) => String(e.name || "").trim(), s2 = (e, t) => e.tag_types?.[t] || "unknown", KTe = /* @__PURE__ */ new Set([+var qTe = (e) => String(e.name || "").trim(), o2 = (e, t) => e.tag_types?.[t] || "unknown", JTe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function qTe(e, t) {- let n = s2(e, t);- return `r34-${KTe.has(n) ? n : "general"}`;+function YTe(e, t) {+ let n = o2(e, t);+ return `r34-${JTe.has(n) ? n : "general"}`;}-var c2 = [+var s2 = ["copyright","character","artist","general","metadata"];-function JTe(e, t) {+function XTe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = c2.indexOf(s2(e, t));- return n < 0 ? c2.length : n;+ let n = s2.indexOf(o2(e, t));+ return n < 0 ? s2.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function l2(e, t) {+function c2(e, t) {let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);return !r.length && n && r.push(n), r;}-var YTe = (e, t) => ({+var ZTe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), u2 = (e) => e?.size ? { size: e.size } : {};-function XTe(e, t) {+}), l2 = (e) => e?.size ? { size: e.size } : {};+function QTe(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: o2(t, e),- ...u2(t)+ source: a2(t, e),+ ...l2(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: o2(a, e),- ...u2(a)+ source: a2(a, e),+ ...l2(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -68319,7 +68322,7 @@ function XTe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var ZTe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => _s(e, {+var $Te = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => _s(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -68327,7 +68330,7 @@ var ZTe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), QTe = [+}), eEe = ["元数据字段","创作者标签","厂牌 Logo",@@ -68337,39 +68340,39 @@ var ZTe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], $Te = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">+], tEe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}"><div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>- <div class="reviewtabs" data-section-items>${QTe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>+ <div class="reviewtabs" data-section-items>${eEe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div><div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, eEe = {- "/data-cleanup": () => w1(),- "/resource-sync": () => w1(),- "/review": () => $Te(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, nEe = {+ "/data-cleanup": () => C1(),+ "/resource-sync": () => C1(),+ "/review": () => tEe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${d2("正在读取采集来源", {+ ${u2("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function f2(e, { followLayout: t, followSort: n, followDir: r }) {- return NTe(e, {+function d2(e, { followLayout: t, followSort: n, followDir: r }) {+ return FTe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (eEe[e] ?? (() => d2("正在读取页面")))();+ }) || (nEe[e] ?? (() => u2("正在读取页面")))();}-var p2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function m2(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = p2(t);+var f2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function p2(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = f2(t);(!r || r !== n) && (e.innerHTML = t, Ts(e));}//#endregion//#region src/react/components/related-section.tsx-function h2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function m2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, D.useCallback)((e) => {e && (Ts(e), t(e));}, [t]);@@ -68382,17 +68385,17 @@ function h2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, O.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, O.jsx)(bG, {+ children: /* @__PURE__ */ (0, O.jsx)(xG, {message: i,onRetry: a || (() => {})})}) : r && !n ? /* @__PURE__ */ (0, O.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, O.jsx)($z, {+ children: /* @__PURE__ */ (0, O.jsx)(eB, {size: "compact",- icon: Hz,+ icon: Uz,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, O.jsx)(dI, {+ actions: /* @__PURE__ */ (0, O.jsx)(OI, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -68409,7 +68412,7 @@ function h2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,}//#endregion//#region src/react/components/detail-continuation.tsx-function g2({ queue: e, children: t, editionCards: n }) {+function h2({ queue: e, children: t, editionCards: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-detail-continuation": "","data-edition-cards": n == null ? void 0 : Math.min(3, n),@@ -68418,7 +68421,7 @@ function g2({ queue: e, children: t, editionCards: n }) {}//#endregion//#region src/react/components/media-carousel.tsx-function _2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function g2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, D.useRef)(null), o = e.some((e) => e.video), s = !!i;if ((0, D.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]");@@ -68469,7 +68472,7 @@ function _2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"aria-label": r.label || `第 ${i + 1} 张,共 ${e.length} 张`,title: r.label || `第 ${i + 1} 张`,onClick: () => n(r.index),- children: r.video ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: L("play") } }) : null+ children: r.video ? /* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: R("play") } }) : null}, r.index);return /* @__PURE__ */ (0, O.jsxs)("div", {ref: a,@@ -68484,7 +68487,7 @@ function _2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"aria-label": o ? "上一项媒体" : "上一张图片",title: "上一张",onClick: () => c(-1),- dangerouslySetInnerHTML: { __html: L("chevron-left") }+ dangerouslySetInnerHTML: { __html: R("chevron-left") }}), /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-follow-image-step": "1",@@ -68492,13 +68495,13 @@ function _2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"aria-label": o ? "下一项媒体" : "下一张图片",title: "下一张",onClick: () => c(1),- dangerouslySetInnerHTML: { __html: L("chevron-right") }+ dangerouslySetInnerHTML: { __html: R("chevron-right") }})] }),i ? /* @__PURE__ */ (0, O.jsx)("div", {"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)(tEe, {+ children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)(rEe, {item: e,selected: r === t,onSelect: n,@@ -68517,7 +68520,7 @@ function _2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function tEe({ item: e, selected: t, onSelect: n, render: r }) {+function rEe({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(typeof IntersectionObserver > "u");return (0, D.useEffect)(() => {if (!i.current || a) return;@@ -68538,26 +68541,26 @@ function tEe({ item: e, selected: t, onSelect: n, render: r }) {children: [a ? r(e) : /* @__PURE__ */ (0, O.jsx)("span", { className: "block h-full w-full skeleton-sheen" }), e.video ? /* @__PURE__ */ (0, O.jsx)("span", {"data-media-thumbnail-play": "","aria-hidden": !0,- dangerouslySetInnerHTML: { __html: L("play") }+ dangerouslySetInnerHTML: { __html: R("play") }}) : null]});}//#endregion//#region src/react/follow-detail/follow-related.ts-var nEe = (e, t, n) => [+var iEe = (e, t, n) => ["follow-feed","related",e,t,n];-function v2(e, t, n, r) {- let i = new Set((t.group ? ji(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]));+function _2(e, t, n, r) {+ let i = new Set((t.group ? Ai(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));return e.flatMap((e) => e.groups || []).filter((e) => {- let t = ji(e);- return t.some((e) => i.has(e.id) || a.has(e.id)) || !Li(e).has(n === "images" ? "image" : "video") || Ri(e, n).status !== "new" ? !1 : (t.forEach((e) => a.add(e.id)), !0);+ let t = Ai(e);+ return t.some((e) => i.has(e.id) || a.has(e.id)) || !Ii(e).has(n === "images" ? "image" : "video") || Li(e, n).status !== "new" ? !1 : (t.forEach((e) => a.add(e.id)), !0);}).map((e, t) => {- let r = Ri(e, n), i = r.source_id === void 0 ? void 0 : c.get(r.source_id);+ let r = Li(e, n), i = r.source_id === void 0 ? void 0 : c.get(r.source_id);return {group: e,order: t,@@ -68566,43 +68569,43 @@ function v2(e, t, n, r) {};}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);}-async function rEe(e, t, n, r) {+async function aEe(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {- ...zi(i),+ ...Ri(i),status: "new",media: t,sort: "rand",seed: e.item.id}, o = [], s = async (e, t) => {- let n = await B(Ci({+ let n = await V(Si({...a,author: e}, t), r);return o.push(n), n;}, c = await s(i, 0);- return v2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && v2(o, e, t, n).length < n && await s("", 0), {+ return _2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && _2(o, e, t, n).length < n && await s("", 0), {pages: o,pageParams: o.map((e) => e.offset || 0)};}//#endregion//#region src/react/follow-detail/follow-detail-page.tsx-var y2 = (e) => Number(e) > 0, iEe = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var v2 = (e) => Number(e) > 0, oEe = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: L(e) }-}), b2 = L("external-link", "ui-externalmark");-function aEe(e) {- let { id: t, actions: n } = e, r = Ct({- queryKey: n2(t),- queryFn: ({ signal: e }) => i2(t, e)- }), i = Ct({- queryKey: Ei,- queryFn: ({ signal: e }) => Di(e)+ dangerouslySetInnerHTML: { __html: R(e) }+}), y2 = R("external-link", "ui-externalmark");+function sEe(e) {+ let { id: t, actions: n } = e, r = St({+ queryKey: t2(t),+ queryFn: ({ signal: e }) => r2(t, e)+ }), i = St({+ queryKey: Ti,+ queryFn: ({ signal: e }) => Ei(e)}), a = (0, D.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, D.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, O.jsx)(cEe, {+ return r.data ? /* @__PURE__ */ (0, O.jsx)(uEe, {...e,data: r.data,- context: YTe(r.data, a),+ context: ZTe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, O.jsx)("div", {@@ -68611,18 +68614,18 @@ function aEe(e) {children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, O.jsx)(x2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {+ children: [/* @__PURE__ */ (0, O.jsx)(b2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? oEe(r.error) ? /* @__PURE__ */ (0, O.jsx)(sEe, { onBack: n.close }) : /* @__PURE__ */ (0, O.jsx)(bG, {- message: Wt(r.error),+ children: r.isError ? cEe(r.error) ? /* @__PURE__ */ (0, O.jsx)(lEe, { onBack: n.close }) : /* @__PURE__ */ (0, O.jsx)(xG, {+ message: Ut(r.error),onRetry: () => void r.refetch()}) : null})]})});}-var oEe = (e) => e instanceof r2 || e instanceof kn && e.status === 404;-function sEe({ onBack: e }) {+var cEe = (e) => e instanceof n2 || e instanceof On && e.status === 404;+function lEe({ onBack: e }) {return /* @__PURE__ */ (0, O.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -68631,17 +68634,17 @@ function sEe({ onBack: e }) {dangerouslySetInnerHTML: { __html: ts("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var x2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {+var b2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",title: "关闭","aria-label": "关闭",onClick: e,- dangerouslySetInnerHTML: { __html: L("x") }+ dangerouslySetInnerHTML: { __html: R("x") }});-function cEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = zTe(c, l, n, i), d = mEe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, D.useState)({+function uEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = VTe(c, l, n, i), d = gEe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, D.useState)({key: "",kind: ""}), h = {@@ -68661,20 +68664,20 @@ function cEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? BTe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, O.jsx)(T2, {+ let g = !u.embedded.length && u.collection ? HTe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, O.jsx)(w2, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, O.jsx)(T2, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, O.jsx)(w2, {item: g,current: null,helpers: o,actions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, O.jsx)(dEe, {+ }) : /* @__PURE__ */ (0, O.jsx)(pEe, {group: u.collection,itemId: c.id,helpers: o,@@ -68684,14 +68687,14 @@ function cEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel"data-stage-grid": "","data-with-queue": _ ? "" : void 0,"data-follow-detail": "",- children: [/* @__PURE__ */ (0, O.jsx)(uEe, {+ children: [/* @__PURE__ */ (0, O.jsx)(fEe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, O.jsx)(fEe, {+ }, f), /* @__PURE__ */ (0, O.jsx)(mEe, {item: c,data: e,context: t,@@ -68701,9 +68704,9 @@ function cEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, O.jsx)(g2, {+ }), /* @__PURE__ */ (0, O.jsx)(h2, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, O.jsx)(lEe, {+ children: a > 0 ? /* @__PURE__ */ (0, O.jsx)(dEe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -68713,37 +68716,37 @@ function cEe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function lEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {- let o = Ct({- queryKey: nEe(e.item.id, t, n),- queryFn: ({ signal: r }) => rEe(e, t, n, r)- }), [s] = (0, D.useState)(() => d2("正在读取推荐", {+function dEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+ let o = St({+ queryKey: iEe(e.item.id, t, n),+ queryFn: ({ signal: r }) => aEe(e, t, n, r)+ }), [s] = (0, D.useState)(() => u2("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, D.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: () => !1- }), [a]), l = v2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {+ }), [a]), l = _2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {...r,sources: u,aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases};- return /* @__PURE__ */ (0, O.jsx)(h2, {+ return /* @__PURE__ */ (0, O.jsx)(m2, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,busy: o.isPending,empty: !!o.data && !l.length,- error: o.isError ? `读取接着看失败:${Wt(o.error)}` : void 0,+ error: o.isError ? `读取接着看失败:${Ut(o.error)}` : void 0,onRetry: () => {o.refetch();},- children: o.data ? l.map((e) => /* @__PURE__ */ (0, O.jsx)(AQ, {+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, O.jsx)(kQ, {variant: "next",group: e,media: t,- authorSources: l2(e.primary, u),+ authorSources: c2(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -68756,8 +68759,8 @@ function lEe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function uEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, D.useRef)(null), p = XTe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, D.useState)(g), b = (0, D.useRef)({+function fEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, D.useRef)(null), p = QTe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, D.useState)(g), b = (0, D.useRef)({item: e,selected: o}), x = (0, D.useRef)(i.failed);@@ -68771,14 +68774,14 @@ function uEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-framed": d ? "" : void 0,style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },children: [- /* @__PURE__ */ (0, O.jsx)(x2, { onClose: n.close }),+ /* @__PURE__ */ (0, O.jsx)(b2, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, O.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,src: v,alt: e.title,referrerPolicy: "no-referrer",- onClick: p.length ? () => void yQ(Math.max(0, l), p) : void 0,+ onClick: p.length ? () => void vQ(Math.max(0, l), p) : void 0,onError: () => {_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();}@@ -68786,10 +68789,10 @@ function uEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: SW(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: CW(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, O.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, O.jsx)(_2, {+ u ? /* @__PURE__ */ (0, O.jsx)(g2, {items: c,position: l,onSelect: r,@@ -68806,11 +68809,11 @@ function uEe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var S2 = ({ kind: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var x2 = ({ kind: e }) => /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: L(e === "image" ? "image-off" : "play") }+ dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }});-function C2({ src: e }) {+function S2({ src: e }) {let [t, n] = (0, D.useState)(!1);return t ? null : /* @__PURE__ */ (0, O.jsx)("img", {src: e,@@ -68820,30 +68823,30 @@ function C2({ src: e }) {onError: () => n(!0)});}-function w2(e) {+function C2(e) {return (0, D.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function dEe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = Bi(e), a = w2(n);- return /* @__PURE__ */ (0, O.jsx)(eq, {+function pEe({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = zi(e), a = C2(n);+ return /* @__PURE__ */ (0, O.jsx)(tq, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${wW(e.primary)} · ${i.length} 个视频`,+ summary: `${TW(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = WTe(e, n, i ? n.provider_label : ""), o = i ? SW(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, O.jsxs)(tq, {+ let i = e.duplicates.includes(n), a = KTe(e, n, i ? n.provider_label : ""), o = i ? CW(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, O.jsxs)(nq, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(C2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(S2, { kind: "video" }), y2(n.duration) ? /* @__PURE__ */ (0, O.jsx)("i", {+ pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(x2, { kind: "video" }), v2(n.duration) ? /* @__PURE__ */ (0, O.jsx)("i", {className: "mono","data-mix-item-duration": "",- children: gn(n.duration)+ children: hn(n.duration)}) : null] }),children: [/* @__PURE__ */ (0, O.jsx)("b", {"data-truncate-end": "",@@ -68858,15 +68861,15 @@ function dEe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, O.jsx)("time", {dateTime: n.published_at || "",- children: FW(n)+ children: IW(n)})]})]}, n.id);})});}-function T2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = w2(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 = {@@ -68876,26 +68879,26 @@ function T2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, c.push(n)), n.items.push(e);});let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);- return /* @__PURE__ */ (0, O.jsx)(eq, {+ return /* @__PURE__ */ (0, O.jsx)(tq, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${wW(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, O.jsx)(nq, {+ summary: `${TW(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, O.jsx)(rq, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, O.jsxs)(tq, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, O.jsxs)(nq, {current: n.index === t,"data-follow-media-owner": e.id,"data-follow-media-item": n.index,"data-media-kind": n.media_kind || "",onClick: () => l(n),- pic: n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(C2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(S2, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, O.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(x2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, O.jsx)("b", {"data-middle-truncate": "",- children: GTe(n)+ children: qTe(n)}), /* @__PURE__ */ (0, O.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -68903,13 +68906,13 @@ function T2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function mEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {let { kind: c, selected: l, src: u } = r, d = {primary: e,variants: [],duplicates: [],has_wip: e.variant_kind === "wip"- }, f = AW(d, e), p = OW(e, l2(e, t.sources), n), m = p.credited ? "" : e.author && dn(e.author) !== dn(p.author) ? e.author : "", h = jW(e, n), g = JTe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {+ }, f = jW(d, e), p = kW(e, c2(e, t.sources), n), m = p.credited ? "" : e.author && un(e.author) !== un(p.author) ? e.author : "", h = MW(e, n), g = XTe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -68925,7 +68928,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-title": "","data-follow-detail-name": "","data-reveal-line": "",- dangerouslySetInnerHTML: { __html: kW(d, e) + z(wW(e)) }+ dangerouslySetInnerHTML: { __html: AW(d, e) + B(TW(e)) }}), e.url ? /* @__PURE__ */ (0, O.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -68933,7 +68936,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: b2 }+ dangerouslySetInnerHTML: { __html: y2 }}) : null]}),/* @__PURE__ */ (0, O.jsxs)("div", {@@ -68941,8 +68944,8 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, O.jsx)("span", { children: FW(e) }),- y2(e.duration) ? /* @__PURE__ */ (0, O.jsx)("span", { children: gn(e.duration) }) : null,+ /* @__PURE__ */ (0, O.jsx)("span", { children: IW(e) }),+ v2(e.duration) ? /* @__PURE__ */ (0, O.jsx)("span", { children: hn(e.duration) }) : null,f ? /* @__PURE__ */ (0, O.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -68959,7 +68962,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: "创作者"}), /* @__PURE__ */ (0, O.jsx)("div", {"data-id-row": "",- children: p.entityName ? /* @__PURE__ */ (0, O.jsxs)(OQ, {+ children: p.entityName ? /* @__PURE__ */ (0, O.jsxs)(DQ, {name: p.entityName,actions: s,"data-id-cell": "creator",@@ -68991,7 +68994,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, O.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, O.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, O.jsx)(pEe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, O.jsx)(hEe, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, O.jsx)("p", {"data-follow-media-issue": "",children: h@@ -69014,9 +69017,9 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [UTe(e), /* @__PURE__ */ (0, O.jsx)("span", {+ children: [GTe(e), /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: b2 }+ dangerouslySetInnerHTML: { __html: y2 }})]}, e))}) : null,@@ -69033,7 +69036,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpedisabled: _,...y("save"),onClick: i.save,- dangerouslySetInnerHTML: { __html: L(_ ? "check" : "bookmark-plus") }+ dangerouslySetInnerHTML: { __html: R(_ ? "check" : "bookmark-plus") }}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -69044,7 +69047,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpetitle: i.want ? "取消想要" : "想要",...y("want"),onClick: i.toggleWant,- dangerouslySetInnerHTML: { __html: L("star") }+ dangerouslySetInnerHTML: { __html: R("star") }}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -69055,7 +69058,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-pressed": e.status === "seen",...y("seen"),onClick: () => i.status("seen"),- dangerouslySetInnerHTML: { __html: L("eye") }+ dangerouslySetInnerHTML: { __html: R("eye") }}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -69066,7 +69069,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-pressed": e.status === "ignored",...y("ignored"),onClick: () => i.status("ignored"),- dangerouslySetInnerHTML: { __html: L("eye-off") }+ dangerouslySetInnerHTML: { __html: R("eye-off") }}),e.status === "seen" || e.status === "ignored" ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -69075,7 +69078,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpetitle: "恢复未看",...y("new"),onClick: () => i.status("new"),- dangerouslySetInnerHTML: { __html: L("rotate-ccw") }+ dangerouslySetInnerHTML: { __html: R("rotate-ccw") }}) : null,c === "image" && l ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -69085,7 +69088,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpetitle: "隐藏这张图",...y(`hide:${l.index}`),onClick: () => i.hide(l.index),- dangerouslySetInnerHTML: { __html: L("image-off") }+ dangerouslySetInnerHTML: { __html: R("image-off") }}) : null,u ? /* @__PURE__ */ (0, O.jsx)("a", {"data-stage-action-link": "",@@ -69094,7 +69097,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpedownload: "","aria-label": "下载到本地",title: "下载到本地",- dangerouslySetInnerHTML: { __html: L("download") }+ dangerouslySetInnerHTML: { __html: R("download") }}) : null]}),@@ -69116,7 +69119,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...y(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, O.jsx)(C2, { src: e.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(iEe, { name: "image-off" }), /* @__PURE__ */ (0, O.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, O.jsx)(S2, { src: e.thumb_url }) : /* @__PURE__ */ (0, O.jsx)(oEe, { name: "image-off" }), /* @__PURE__ */ (0, O.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]}, e.index))})]}) : null,@@ -69130,7 +69133,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-follow-detail-tags": "",children: g.map((t) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button",- "data-tag-cat": qTe(e, t),+ "data-tag-cat": YTe(e, t),"data-follow-tag": t,onClick: () => s.openTag(t),children: o.tagLabel(t)@@ -69140,7 +69143,7 @@ function fEe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function pEe({ text: e }) {+function hEe({ text: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(!1);return (0, D.useLayoutEffect)(() => {let e = t.current;@@ -69163,28 +69166,28 @@ function pEe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function mEe(e, t, n) {- let r = e.id, i = n2(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), l = (e, t) => o((n) => {+function gEe(e, t, n) {+ let r = e.id, i = t2(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {- H.setQueryData(i, (t) => t && {+ U.setQueryData(i, (t) => t && {...t,item: {...t.item,status: e}- }), Pi(r, e);+ }), Ni(r, e);}, d = (e) => {- c(Wt(e) || "操作失败"), t.failure("更新关注状态", e);- }, f = wt({- mutationFn: ({ to: e }) => V(er, {+ c(Ut(e) || "操作失败"), t.failure("更新关注状态", e);+ }, f = Ct({+ mutationFn: ({ to: e }) => H($n, {item: r,to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && l1(), t.toast(ZTe(n), { undo: i === "saved" ? void 0 : async () => {- await V(er, {+ u(n), c(""), n === "ignored" && c1(), t.toast($Te(n), { undo: i === "saved" ? void 0 : async () => {+ await H($n, {item: r,to: i}), u(i);@@ -69192,37 +69195,37 @@ function mEe(e, t, n) {},onError: d,onSettled: (e, t, { to: n }) => l(n, !1)- }), p = wt({- mutationFn: () => V(ITe, { item: r }),+ }), p = Ct({+ mutationFn: () => H(RTe, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},onError: d,onSettled: () => l("save", !1)- }), m = wt({+ }), m = Ct({mutationFn: async ({ index: e, hidden: t }) => {- await V(LTe, {+ await H(zTe, {item: r,media: e,hidden: t- }), await H.invalidateQueries({+ }), await U.invalidateQueries({queryKey: i,exact: !0});},onSuccess: (e, { hidden: r, next: a }) => {- let o = H.getQueryData(i);- o && Ni(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");+ let o = U.getQueryData(i);+ o && Mi(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");},onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)- }), h = Ct({- queryKey: TCe(r),- queryFn: ({ signal: e }) => OCe(r, e)- }).data?.want ?? null, g = wt({- mutationFn: async (e) => (e ? await c1([e.id]) : await s1({ follow: r }), !e),+ }), h = St({+ queryKey: DCe(r),+ queryFn: ({ signal: e }) => ACe(r, e)+ }).data?.want ?? null, g = Ct({+ mutationFn: async (e) => (e ? await s1([e.id]) : await o1({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), l1();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), c1();},onError: d,onSettled: () => l("want", !1)@@ -69262,10 +69265,10 @@ function mEe(e, t, n) {}//#endregion//#region src/react/components/identity-cell.tsx-function E2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, O.jsx)("span", {"data-id-face": "",- dangerouslySetInnerHTML: { __html: `<span>${z(Sn(t.name))}</span>` + La({+ dangerouslySetInnerHTML: { __html: `<span>${B(xn(t.name))}</span>` + Ia({kind: e,id: t.id,hasImage: t.has_image,@@ -69276,8 +69279,8 @@ function E2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })}) }}) : /* @__PURE__ */ (0, O.jsxs)("span", {"data-id-face": "",- children: [/* @__PURE__ */ (0, O.jsx)("span", { children: e === "studio" ? xn(t.name, 2) : Sn(t.name) }), e === "studio" && t.has_logo ? /* @__PURE__ */ (0, O.jsx)("img", {- src: Pa(t.name, "icon", t.logo_version),+ children: [/* @__PURE__ */ (0, O.jsx)("span", { children: e === "studio" ? bn(t.name, 2) : xn(t.name) }), e === "studio" && t.has_logo ? /* @__PURE__ */ (0, O.jsx)("img", {+ src: Na(t.name, "icon", t.logo_version),alt: "",width: 128,height: 128,@@ -69300,7 +69303,7 @@ function E2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })"data-entity-kind": e,"data-entity-name": t.name,onClick: () => {- Mt(e, t.name, t.id), n(e, t.name);+ jt(e, t.name, t.id), n(e, t.name);},children: s}) : /* @__PURE__ */ (0, O.jsx)("span", {@@ -69308,12 +69311,12 @@ function E2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: s});}-function D2({ people: e, onOpen: t }) {+function E2({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "contents","aria-hidden": "true",- dangerouslySetInnerHTML: { __html: L("tags") }+ dangerouslySetInnerHTML: { __html: R("tags") }}), /* @__PURE__ */ (0, O.jsx)("span", { children: e.name })] });return /* @__PURE__ */ (0, O.jsxs)("section", {"data-id-group": "series",@@ -69329,7 +69332,7 @@ function D2({ people: e, onOpen: t }) {"data-entity-name": e.name,title: e.name,onClick: () => {- Mt("series", e.name, e.id), t("series", e.name);+ jt("series", e.name, e.id), t("series", e.name);},children: n(e)}, e.name) : /* @__PURE__ */ (0, O.jsx)("span", {@@ -69342,7 +69345,7 @@ function D2({ people: e, onOpen: t }) {}//#endregion//#region src/react/components/folded-title.ts-function O2(e) {+function D2(e) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(!1);return (0, D.useLayoutEffect)(() => {let e = t.current;@@ -69360,9 +69363,9 @@ function O2(e) {}//#endregion//#region src/react/item-detail/catalog-picture.tsx-function k2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(0);- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, O.jsx)(s$, {+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, O.jsx)(o$, {item: {code: e.code,has_cover: !1,@@ -69371,12 +69374,12 @@ function k2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {image: String(t - 1),thumbnail: r});- let c = t < 0 ? ja(e, !0) : `/${r ? "sample-thumb" : "sample-image"}?code=${encodeURIComponent(e.code || "")}&n=${t}`;+ let c = t < 0 ? Aa(e, !0) : `/${r ? "sample-thumb" : "sample-image"}?code=${encodeURIComponent(e.code || "")}&n=${t}`;return r ? i ? /* @__PURE__ */ (0, O.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, O.jsx)("img", {src: c,alt: "",onError: () => a(!0)- }) : i ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ }) : i ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -69395,81 +69398,81 @@ function k2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}//#endregion//#region src/react/jav-detail/jav-detail.ts-var A2 = (e) => ["jav-detail", e], j2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), hEe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), M2 = (e, t) => H.ensureQueryData({- queryKey: A2(e.code),- queryFn: () => j2(e.code, t),+var k2 = (e) => ["jav-detail", e], A2 = (e, t, n = !1) => V(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), _Ee = (e, t, n, r = !1) => V(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), j2 = (e, t) => U.ensureQueryData({+ queryKey: k2(e.code),+ queryFn: () => A2(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function gEe(e, t) {+function vEe(e, t) {if (!e.ok || !e.more) return;let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;}//#endregion//#region src/react/item-detail/external-playback.tsx-var N2 = "peach.external-player.v1", P2 = [+var M2 = "peach.external-player.v1", N2 = [["m3u", "M3U 播放列表"],["vlc-ios", "VLC(iPhone / iPad)"],["iina", "IINA(Mac)"]];-function _Ee(e, t, n) {+function yEe(e, t, n) {return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;}-function F2({ id: e }) {+function P2({ id: e }) {let [t, n] = (0, D.useState)(() => {try {- return P2.find(([e]) => e === localStorage.getItem(N2))?.[0] || "m3u";+ return N2.find(([e]) => e === localStorage.getItem(M2))?.[0] || "m3u";} catch {return "m3u";}- }), [r, i] = (0, D.useState)(null), a = qH();- return /* @__PURE__ */ (0, O.jsx)(IU, {+ }), [r, i] = (0, D.useState)(null), a = JH();+ return /* @__PURE__ */ (0, O.jsx)(LU, {summary: "外部播放器 / VR",- children: /* @__PURE__ */ (0, O.jsxs)(jU, { children: [- /* @__PURE__ */ (0, O.jsx)(t0, {+ children: /* @__PURE__ */ (0, O.jsxs)(MU, { children: [+ /* @__PURE__ */ (0, O.jsx)(e0, {id: `external-player-${e}`,label: "此设备的外部播放器",- options: P2,+ options: N2,value: t,epoch: 0,onPick: (e) => {- let t = P2.find(([t]) => t === e)?.[0] || "m3u";+ let t = N2.find(([t]) => t === e)?.[0] || "m3u";n(t);try {- localStorage.setItem(N2, t);+ localStorage.setItem(M2, t);} catch {}}}),/* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...rB(a.busy === "prepare"),- onClick: () => void a.run("prepare", (t) => V(`/api/external-playback?id=${e}`, {}, "POST", t), (e) => i({+ ...iB(a.busy === "prepare"),+ onClick: () => void a.run("prepare", (t) => H(`/api/external-playback?id=${e}`, {}, "POST", t), (e) => i({url: new URL(e.url, location.origin).href,playlist: new URL(e.playlist, location.origin).href})),children: "生成播放链接"}),- a.error ? /* @__PURE__ */ (0, O.jsx)(PU, { children: a.error }) : null,+ a.error ? /* @__PURE__ */ (0, O.jsx)(FU, { children: a.error }) : null,r ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("a", {- href: _Ee(t, r.url, r.playlist),+ href: yEe(t, r.url, r.playlist),rel: "noreferrer",- children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${P2.find(([e]) => e === t)?.[1]}`+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${N2.find(([e]) => e === t)?.[1]}`}),- /* @__PURE__ */ (0, O.jsx)(Yz, {+ /* @__PURE__ */ (0, O.jsx)(Xz, {label: "网络播放地址",value: r.url,isReadOnly: !0}),- /* @__PURE__ */ (0, O.jsx)(NU, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })+ /* @__PURE__ */ (0, O.jsx)(PU, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null] })}, e);}//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var vEe = fF({+var bEe = KF({sm: {track: "h-4 w-7",trackRadius: {@@ -69531,23 +69534,23 @@ var vEe = fF({}}});-function yEe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = vEe[t];+function xEe({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = bEe[t];return /* @__PURE__ */ (0, O.jsx)("span", {"aria-hidden": !0,- className: dF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? dF("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: GF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? GF("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, O.jsx)("span", {- className: dF("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),- children: /* @__PURE__ */ (0, O.jsx)("span", { className: dF("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: GF("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),+ children: /* @__PURE__ */ (0, O.jsx)("span", { className: GF("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 I2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+function F2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {return /* @__PURE__ */ (0, O.jsx)(Eue, {ref: i,...a,- className: (t) => dF("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(yEe, {+ className: (t) => GF("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(xEe, {state: e,size: n,shape: r@@ -69559,13 +69562,13 @@ function I2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/cover-crop/cover-crop.ts-var bEe = "/api/cover-crop", xEe = (e, t) => V(bEe, {+var SEe = "/api/cover-crop", CEe = (e, t) => H(SEe, {code: e,box: t});//#endregion//#region src/react/cover-crop/cover-crop-page.tsx-function L2({ className: e }) {+function I2({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -69578,7 +69581,7 @@ function L2({ className: e }) {children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-crop" })});}-function SEe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function wEe({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -69588,13 +69591,13 @@ function SEe({ code: e, coverUrl: t, box: n, onSaved: r }) {title: "裁剪封面:框出正封那一块",onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, O.jsx)(L2, { className: "size-3.75" })- }), /* @__PURE__ */ (0, O.jsx)(Xz, {+ children: /* @__PURE__ */ (0, O.jsx)(I2, { className: "size-3.75" })+ }), /* @__PURE__ */ (0, O.jsx)(Zz, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, O.jsx)(CEe, {+ children: /* @__PURE__ */ (0, O.jsx)(TEe, {code: e,coverUrl: t,box: n,@@ -69603,9 +69606,9 @@ function SEe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function CEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, D.useState)(null), [s, c] = (0, D.useState)(null), [l, u] = (0, D.useState)(!0), d = xV(), f = wt({- mutationFn: (t) => xEe(e, t),+function TEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, D.useState)(null), [s, c] = (0, D.useState)(null), [l, u] = (0, D.useState)(!0), d = SV(), f = Ct({+ mutationFn: (t) => CEe(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -69617,19 +69620,19 @@ function CEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : Ixe(e, wa);- c(WQ(t, e, null));+ } : Rxe(e, Ca);+ c(UQ(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, O.jsx)(Zz, { children: /* @__PURE__ */ (0, O.jsx)(L2, { className: "size-6" }) }),+ /* @__PURE__ */ (0, O.jsx)(Qz, { children: /* @__PURE__ */ (0, O.jsx)(I2, { className: "size-6" }) }),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(RI, {+ /* @__PURE__ */ (0, O.jsx)(XI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -69638,14 +69641,14 @@ function CEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]}),- f.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ f.error ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",- children: jn(f.error)+ children: An(f.error)}) : null]}),- /* @__PURE__ */ (0, O.jsx)(YF, {- icon: kz,+ /* @__PURE__ */ (0, O.jsx)(gI, {+ icon: Az,size: "small","aria-label": "关闭",onClick: i@@ -69655,24 +69658,24 @@ function CEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, O.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, O.jsx)(YQ, {+ children: /* @__PURE__ */ (0, O.jsx)(JQ, {src: t,- aspect: l ? wa : null,+ aspect: l ? Ca : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- HQ(e) && p(e);+ VQ(e) && p(e);},onBox: c})}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, O.jsx)(I2, {+ children: [/* @__PURE__ */ (0, O.jsx)(F2, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(WQ(s, a, wa));+ u(e), e && s && a && c(UQ(s, a, Ca));},children: /* @__PURE__ */ (0, O.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -69682,14 +69685,14 @@ function CEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "flex flex-1 flex-wrap items-center justify-end gap-3",children: [/* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...rB(m),+ ...iB(m),onClick: () => {m || f.mutate(null);},children: "恢复默认"}), /* @__PURE__ */ (0, O.jsx)(q, {disabled: !s || !a,- ...rB(m),+ ...iB(m),onClick: () => {s && !m && f.mutate(s);},@@ -69701,21 +69704,21 @@ function CEe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}//#endregion//#region src/react/item-detail/item-detail-page.tsx-var R2 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var L2 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: L(e) }-}), z2 = ({ html: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+ dangerouslySetInnerHTML: { __html: R(e) }+}), R2 = ({ html: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), B2 = (e) => Number(e) > 0 ? vn(Number(e)) : "大小未知";-function wEe(e) {- let { queue: t, actions: n } = e, r = Ct({- queryKey: t ? ZM(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => oN(t, e.helpers, n),+}), z2 = (e) => Number(e) > 0 ? _n(Number(e)) : "大小未知";+function EEe(e) {+ let { queue: t, actions: n } = e, r = St({+ queryKey: t ? xM(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => AM(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? lN(i, e.id) : t ? null : e.id, o = Ct({- queryKey: XM(a ?? 0),- queryFn: ({ signal: e }) => aN(a, e),+ }), i = t && r.data || null, a = i ? NM(i, e.id) : t ? null : e.id, o = St({+ queryKey: bM(a ?? 0),+ queryFn: ({ signal: e }) => kM(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -69726,10 +69729,10 @@ function wEe(e) {children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, O.jsx)(V2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {+ children: [/* @__PURE__ */ (0, O.jsx)(B2, { onClose: n.close }), /* @__PURE__ */ (0, O.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, O.jsx)(bG, {- message: Wt(e),+ children: e ? /* @__PURE__ */ (0, O.jsx)(xG, {+ message: Ut(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();}@@ -69738,38 +69741,38 @@ function wEe(e) {})});}- return /* @__PURE__ */ (0, O.jsx)(TEe, {+ return /* @__PURE__ */ (0, O.jsx)(DEe, {...e,- item: mse(o.data, i),+ item: Gse(o.data, i),queue: i}, o.data.id);}-var V2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {+var B2 = ({ onClose: e }) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",title: "关闭","aria-label": "关闭",onClick: e,- dangerouslySetInnerHTML: { __html: L("x") }+ dangerouslySetInnerHTML: { __html: R("x") }});-function TEe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = VEe(t, r, i.tagLabel), o = (0, D.useRef)(t);+function DEe(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = UEe(t, r, i.tagLabel), o = (0, D.useRef)(t);(0, D.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, D.useEffect)(() => {- n?.kind === "playlist" && V(QM, {+ n?.kind === "playlist" && H(SM, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = Tse(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = uN(n, t.id);+ let s = nce(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = PM(n, t.id);return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, O.jsx)(EEe, {+ children: [/* @__PURE__ */ (0, O.jsx)(OEe, {item: t,gate: s,helpers: i,@@ -69782,22 +69785,22 @@ function TEe(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, O.jsx)(jEe, {+ }), /* @__PURE__ */ (0, O.jsx)(NEe, {item: t,queue: n,write: a,helpers: i,actions: r})]- }), /* @__PURE__ */ (0, O.jsx)(g2, {+ }), /* @__PURE__ */ (0, O.jsx)(h2, {editionCards: n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, O.jsx)(OEe, {+ queue: n ? /* @__PURE__ */ (0, O.jsx)(AEe, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, O.jsx)(BEe, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, O.jsx)(HEe, {...e,item: n ? {...t,@@ -69806,12 +69809,12 @@ function TEe(e) {}) : null})] });}-function EEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {- let [o, s] = (0, D.useState)(t ? "" : "auto"), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(-2), d = (0, D.useRef)(!1), f = Ct({- queryKey: A2(e.code || ""),+function OEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+ let [o, s] = (0, D.useState)(t ? "" : "auto"), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(-2), d = (0, D.useRef)(!1), f = St({+ queryKey: k2(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, j2(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@@ -69856,26 +69859,26 @@ function EEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-item-gallery": h ? "" : void 0,"data-item-picture": l === -2 ? void 0 : "",children: [- /* @__PURE__ */ (0, O.jsx)(V2, { onClose: r.close }),+ /* @__PURE__ */ (0, O.jsx)(B2, { onClose: r.close }),h ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, O.jsx)(R2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}),- l === -2 ? null : /* @__PURE__ */ (0, O.jsx)(k2, {+ l === -2 ? null : /* @__PURE__ */ (0, O.jsx)(O2, {item: e,image: l,source: p.find((e) => e.index === l)?.source}, l),- /* @__PURE__ */ (0, O.jsx)(_2, {+ /* @__PURE__ */ (0, O.jsx)(g2, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, O.jsx)(k2, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, O.jsx)(O2, {item: e,image: t.index === -2 ? m[0].index : t.index,source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,@@ -69892,8 +69895,8 @@ function EEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aclassName: "relative block h-12 w-20 skeleton-sheen"}) : /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...rB(f.isFetching),- title: f.data?.message || Wt(f.error),+ ...iB(f.isFetching),+ title: f.data?.message || Ut(f.error),"aria-label": "立即重试样图",onClick: () => {d.current = !0, f.refetch();@@ -69901,7 +69904,7 @@ function EEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "立即重试"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, O.jsx)(DEe, {+ t === "offline" ? /* @__PURE__ */ (0, O.jsx)(kEe, {item: e,badge: y,helpers: n,@@ -69912,14 +69915,14 @@ function EEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, O.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, O.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, O.jsx)(F2, { id: e.id })+ /* @__PURE__ */ (0, O.jsx)(P2, { id: e.id })]}) : t === "online" ? /* @__PURE__ */ (0, O.jsxs)("div", {id: "onlineGate",role: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, O.jsx)(z2, { html: y }),+ /* @__PURE__ */ (0, O.jsx)(R2, { html: y }),/* @__PURE__ */ (0, O.jsx)("b", { children: "在线作品" }),/* @__PURE__ */ (0, O.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, O.jsx)("button", {@@ -69934,12 +69937,12 @@ function EEe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, O.jsx)(z2, { html: y }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["点此开始拉流 · ", B2(e.size)] })]+ children: [/* @__PURE__ */ (0, O.jsx)(R2, { html: y }), /* @__PURE__ */ (0, O.jsxs)("span", { children: ["点此开始拉流 · ", z2(e.size)] })]}) : null]});}-function DEe({ item: e, badge: t, helpers: n, actions: r }) {+function kEe({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -69950,7 +69953,7 @@ function DEe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, O.jsx)(z2, { html: t }),+ /* @__PURE__ */ (0, O.jsx)(R2, { html: t }),/* @__PURE__ */ (0, O.jsx)("b", { children: "媒体目录无法访问" }),/* @__PURE__ */ (0, O.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),/* @__PURE__ */ (0, O.jsx)("button", {@@ -69964,8 +69967,8 @@ function DEe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function OEe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = xse(e), a = (0, D.useRef)(null), o = AEe(e, t, r), s = (0, D.useRef)(o);+function AEe({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = Qse(e), a = (0, D.useRef)(null), o = MEe(e, t, r), s = (0, D.useRef)(o);s.current = o;let c = (0, D.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -69973,26 +69976,26 @@ function OEe({ queue: e, itemId: t, helpers: n, actions: r }) {attribute: "data-queue-row",onMove: (e, t, n) => s.current.move(+e, +t, n)}));- }, [n, e.kind]), l = kEe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)("button", {+ }, [n, e.kind]), l = jEe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表","aria-label": "保存为播放列表",onClick: l,- dangerouslySetInnerHTML: { __html: L("playlist") }+ dangerouslySetInnerHTML: { __html: R("playlist") }}) : e.kind === "playlist" ? /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-edit-playlist": "",title: "编辑播放列表","aria-label": "编辑播放列表",onClick: r.editPlaylist,- dangerouslySetInnerHTML: { __html: L("playlist") }+ dangerouslySetInnerHTML: { __html: R("playlist") }}) : null, d = {kind: e.kind,seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, O.jsx)(eq, {+ return /* @__PURE__ */ (0, O.jsx)(tq, {kind: e.kind,title: i.title,summary: i.summary,@@ -70001,11 +70004,11 @@ function OEe({ queue: e, itemId: t, helpers: n, actions: r }) {listRef: c,children: e.items.map((i) => {let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, O.jsx)("i", {- className: `javedition ${yse[i.edition_label] || "censored"}`,+ className: `javedition ${Xse[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && cN(i);- return /* @__PURE__ */ (0, O.jsxs)(tq, {+ }) : null, s = e.kind === "playlist" && MM(i);+ return /* @__PURE__ */ (0, O.jsxs)(nq, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -70015,25 +70018,25 @@ function OEe({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(z2, { html: Ja(i, n.javImage()) }), /* @__PURE__ */ (0, O.jsx)("i", {+ pic: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(R2, { html: Ja(i, n.javImage()) }), /* @__PURE__ */ (0, O.jsx)("i", {className: "mono","data-mix-item-duration": "",- children: gn(i.duration)+ children: hn(i.duration)})] }),- lead: /* @__PURE__ */ (0, O.jsx)(z2, { html: Za(i) }),+ lead: /* @__PURE__ */ (0, O.jsx)(R2, { html: Za(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, O.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "grip-vertical" })}), /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "x" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, O.jsxs)("span", {@@ -70044,14 +70047,14 @@ function OEe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, O.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? _N(i.part_label) : Qa(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? VM(i.part_label) : Qa(i, n.tagLabel)})]}, i.id);})});}-function kEe(e, t) {- let n = wt({ mutationFn: (t) => V(QM, {+function jEe(e, t) {+ let n = Ct({ mutationFn: (t) => H(SM, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -70064,14 +70067,14 @@ function kEe(e, t) {save: (e) => n.mutateAsync(e)});}-function AEe(e, t, n) {- let r = ZM({+function MEe(e, t, n) {+ let r = xM({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (H.setQueryData(r, sN(e)), e), a = (t) => V(QM, {+ }), i = (e) => (U.setQueryData(r, jM(e)), e), a = (t) => H(SM, {id: e.playlistId,...t- }).then((e) => e.playlist), o = wt({+ }).then((e) => e.playlist), o = Ct({mutationFn: (e) => a({action: "reorder",asset_ids: e@@ -70084,8 +70087,8 @@ function AEe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = Cse(s, t, r, c);- if (wse(l, s)) return;+ let l = ece(s, t, r, c);+ if (tce(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -70127,7 +70130,7 @@ function AEe(e, t, n) {}};}-function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function NEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("div", {"data-stage-side": "",@@ -70135,7 +70138,7 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, O.jsx)(MEe, {+ /* @__PURE__ */ (0, O.jsx)(PEe, {item: e,queue: t,helpers: r,@@ -70147,7 +70150,7 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, O.jsx)(PEe, {+ /* @__PURE__ */ (0, O.jsx)(IEe, {item: e,write: n}),@@ -70158,7 +70161,7 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, O.jsx)(R2, { name: "monitor" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "monitor" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.width,"×",e.height@@ -70166,11 +70169,11 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, O.jsx)(R2, { name: "hard-drive" }), /* @__PURE__ */ (0, O.jsx)("span", { children: B2(e.size) })]+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "hard-drive" }), /* @__PURE__ */ (0, O.jsx)("span", { children: z2(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, O.jsx)(R2, { name: "calendar" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "calendar" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, O.jsxs)("button", {type: "button",@@ -70178,29 +70181,29 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"data-open-region": e.region || "",title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",onClick: () => i.openRegion(e.region || ""),- children: [/* @__PURE__ */ (0, O.jsx)(R2, { name: "globe" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "globe" }), /* @__PURE__ */ (0, O.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- /* @__PURE__ */ (0, O.jsx)(FEe, {+ /* @__PURE__ */ (0, O.jsx)(LEe, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, O.jsx)(IEe, {+ /* @__PURE__ */ (0, O.jsx)(REe, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, O.jsx)(vq, {- assetIds: _q([e], r.javImage()),+ /* @__PURE__ */ (0, O.jsx)(yq, {+ assetIds: vq([e], r.javImage()),onComplete: () => {- H.invalidateQueries({ queryKey: XM(e.id) });+ U.invalidateQueries({ queryKey: bM(e.id) });}}),- /* @__PURE__ */ (0, O.jsx)(REe, { item: e }),- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, O.jsx)(F2, { id: e.id }, e.id) : null,+ /* @__PURE__ */ (0, O.jsx)(BEe, { item: e }),+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, O.jsx)(P2, { id: e.id }, e.id) : null,/* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -70214,7 +70217,7 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.liked,...o("like"),onClick: () => n.preference({ liked: !e.liked }),- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "thumbs-up" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70226,7 +70229,7 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-controls": "preferencePanel","data-has-reason": String(!!e.like_reason),onClick: () => c((e) => !e),- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "notebook-pen" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70237,7 +70240,7 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "thumbs-down" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70248,7 +70251,7 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "eye" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "eye" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70259,7 +70262,7 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70268,7 +70271,7 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "playlist" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "playlist" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70279,7 +70282,7 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "sparkles" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "sparkles" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button",@@ -70290,11 +70293,11 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "trash" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "trash" })})]}),- /* @__PURE__ */ (0, O.jsx)(zEe, {+ /* @__PURE__ */ (0, O.jsx)(VEe, {item: e,open: s,write: n@@ -70305,7 +70308,7 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, O.jsx)(R2, { name: "sperm" }),+ /* @__PURE__ */ (0, O.jsx)(L2, { name: "sperm" }),/* @__PURE__ */ (0, O.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, O.jsx)("b", {className: "mono",@@ -70318,8 +70321,8 @@ function jEe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function MEe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = O2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Sse(e, t);+function PEe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = D2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + $se(e, t);return /* @__PURE__ */ (0, O.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, O.jsxs)("div", {@@ -70346,23 +70349,23 @@ function MEe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, O.jsx)(nU, {})+ children: /* @__PURE__ */ (0, O.jsx)(rU, {})}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, O.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, O.jsx)(SEe, {+ children: /* @__PURE__ */ (0, O.jsx)(wEe, {code: e.cover_key || e.code || "",- coverUrl: ja(e),+ coverUrl: Aa(e),box: e.poster_box || null,onSaved: (t) => {- H.invalidateQueries({- queryKey: XM(e.id),+ U.invalidateQueries({+ queryKey: bM(e.id),exact: !0- }), KM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), gM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, O.jsx)(NEe, {+ e.location === "online" ? null : /* @__PURE__ */ (0, O.jsx)(FEe, {id: e.id,actions: r,onStatus: i@@ -70372,7 +70375,7 @@ function MEe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function NEe({ id: e, actions: t, onStatus: n }) {+function FEe({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, D.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -70391,7 +70394,7 @@ function NEe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void a(),- dangerouslySetInnerHTML: { __html: r === "reveal" ? ns("正在定位") : L("folder-open") }+ dangerouslySetInnerHTML: { __html: r === "reveal" ? ns("正在定位") : R("folder-open") }}), /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-sync": e,@@ -70402,17 +70405,17 @@ function NEe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "folder-sync" })})] });}-function PEe({ item: e, write: t }) {- let n = JM(e.rating);+function IEe({ item: e, write: t }) {+ let n = vM(e.rating);return /* @__PURE__ */ (0, O.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": qM(e.rating),+ "data-value": _M(e.rating),children: [/* @__PURE__ */ (0, O.jsx)(eX, {value: n,onRate: (e) => t.rate(e),@@ -70427,14 +70430,14 @@ function PEe({ item: e, write: t }) {}), /* @__PURE__ */ (0, O.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: use(e.rating)+ children: Vse(e.rating)})]});}-function FEe({ item: e, actions: t }) {- let n = (0, D.useMemo)(() => hse(e), [e]), [r, i] = (0, D.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+function LEe({ item: e, actions: t }) {+ let n = (0, D.useMemo)(() => Kse(e), [e]), [r, i] = (0, D.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, O.jsx)(E2, {+ return /* @__PURE__ */ (0, O.jsx)(T2, {kind: e,person: n,onOpen: t.openEntity,@@ -70466,19 +70469,19 @@ function FEe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, O.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "user-round" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "user-round" })}), /* @__PURE__ */ (0, O.jsx)("span", {"data-id-name": "",children: "未归属"})]})})]- }, "unowned") : s(Ia(e), "performer", n.cast, a && !r ? /* @__PURE__ */ (0, O.jsxs)(q, {+ }, "unowned") : s(Fa(e), "performer", n.cast, a && !r ? /* @__PURE__ */ (0, O.jsxs)(q, {variant: "secondary",size: "small",id: "castMore","data-cast-more": "",- trailingIcon: Ez,+ trailingIcon: Dz,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -70497,14 +70500,14 @@ function FEe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, O.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, O.jsx)(D2, {+ }) : null, /* @__PURE__ */ (0, O.jsx)(E2, {people: n.series,onOpen: t.openEntity})]});}-function IEe({ item: e, write: t, helpers: n, actions: r }) {- let i = gse(e, n);+function REe({ item: e, write: t, helpers: n, actions: r }) {+ let i = qse(e, n);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-stage-tags": "",id: "detailTags",@@ -70524,16 +70527,16 @@ function IEe({ item: e, write: t, helpers: n, actions: r }) {"aria-label": `删除标签 ${n.tagLabel(e.k)}`,...t.busyAttrs(`tag:${e.k}`),onClick: () => t.removeTag(e),- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "x" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, O.jsx)(LEe, {+ }, e.k)), /* @__PURE__ */ (0, O.jsx)(zEe, {item: e,write: t,helpers: n})]});}-function LEe({ item: e, write: t, helpers: n }) {+function zEe({ item: e, write: t, helpers: n }) {let r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(!1), [s, c] = (0, D.useState)(!1), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(-1), h = (0, D.useCallback)(() => {i.current && To(i.current), c(!1);}, []);@@ -70547,7 +70550,7 @@ function LEe({ item: e, write: t, helpers: n }) {clearTimeout(t), document.removeEventListener("pointerdown", e, !0);};}, [s, h]);- let g = s ? vse(d, n.tagCandidates(), gN()) : {+ let g = s ? Yse(d, n.tagCandidates(), BM()) : {recent: [],results: [],create: ""@@ -70570,12 +70573,12 @@ function LEe({ item: e, write: t, helpers: n }) {} else if (n.key === "Enter") {n.preventDefault();let r = p >= 0 ? _[p] : null;- r ? v(r, r.n !== -1 && fN(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));+ r ? v(r, r.n !== -1 && IM(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));}}}, b = -1, x = (t) => {b += 1;- let r = b, i = fN(e, t.k);+ let r = b, i = IM(e, t.k);return /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-pick": t.k,@@ -70583,7 +70586,7 @@ function LEe({ item: e, write: t, helpers: n }) {"aria-pressed": i,onClick: () => v(t, i),children: [- /* @__PURE__ */ (0, O.jsx)(R2, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, O.jsx)(L2, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, O.jsx)("span", {"data-pick-name": "",children: n.tagLabel(t.k)@@ -70606,7 +70609,7 @@ function LEe({ item: e, write: t, helpers: n }) {onClick: () => {i.current && (wo(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));},- children: /* @__PURE__ */ (0, O.jsx)(R2, { name: "plus" })+ children: /* @__PURE__ */ (0, O.jsx)(L2, { name: "plus" })}), /* @__PURE__ */ (0, O.jsxs)("div", {ref: i,id: "tagPicker",@@ -70616,7 +70619,7 @@ function LEe({ item: e, write: t, helpers: n }) {hidden: !0,children: [/* @__PURE__ */ (0, O.jsxs)("label", {"data-tag-search": "",- children: [/* @__PURE__ */ (0, O.jsx)(R2, { name: "search" }), /* @__PURE__ */ (0, O.jsx)("input", {+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "search" }), /* @__PURE__ */ (0, O.jsx)("input", {ref: a,id: "tagPickSearch",maxLength: 80,@@ -70657,7 +70660,7 @@ function LEe({ item: e, write: t, helpers: n }) {onClick: () => {h(), t.addTag(g.create);},- children: [/* @__PURE__ */ (0, O.jsx)(R2, { name: "plus" }), /* @__PURE__ */ (0, O.jsxs)("span", {+ children: [/* @__PURE__ */ (0, O.jsx)(L2, { name: "plus" }), /* @__PURE__ */ (0, O.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -70672,8 +70675,8 @@ function LEe({ item: e, write: t, helpers: n }) {})]})] });}-function REe({ item: e }) {- let t = Ese(e);+function BEe({ item: e }) {+ let t = rce(e);return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -70707,7 +70710,7 @@ function REe({ item: e }) {})]});}-function zEe({ item: e, open: t, write: n }) {+function VEe({ item: e, open: t, write: n }) {let [r, i] = (0, D.useState)(e.like_reason || ""), a = (0, D.useRef)(null);(0, D.useEffect)(() => {t && a.current?.focus();@@ -70746,16 +70749,16 @@ function zEe({ item: e, open: t, write: n }) {})]});}-function BEe(e) {- let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Ct({- queryKey: dse(t.id, n),- queryFn: async ({ signal: e }) => (await B(pse(t.id, n), e)).items || []+function HEe(e) {+ let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = St({+ queryKey: Hse(t.id, n),+ queryFn: async ({ signal: e }) => (await V(Wse(t.id, n), e)).items || []}), [o] = (0, D.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, O.jsx)(h2, {+ return /* @__PURE__ */ (0, O.jsx)(m2, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,- error: a.isError ? `读取接着看失败:${Wt(a.error)}` : void 0,+ error: a.isError ? `读取接着看失败:${Ut(a.error)}` : void 0,onRetry: () => {a.refetch();},@@ -70772,19 +70775,19 @@ function BEe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, O.jsx)(z2, { html: o })+ }) : /* @__PURE__ */ (0, O.jsx)(R2, { html: o })});}-function VEe(e, t, n) {- let r = e.id, i = XM(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = (e, t) => o((n) => {+function UEe(e, t, n) {+ let r = e.id, i = bM(r), [a, o] = (0, D.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;- }), f = () => H.getQueryData(i) || e, p = (e) => {+ }), f = () => U.getQueryData(i) || e, p = (e) => {let t = typeof e == "function" ? e(f()) : {...f(),...e};- H.setQueryData(i, t);+ U.setQueryData(i, t);let n = {feedback: t.feedback,disposal: t.disposal,@@ -70792,11 +70795,11 @@ function VEe(e, t, n) {rating: t.rating,o_count: t.o_count};- return GM(r, n), t;- }, m = (e, t) => V(e, {+ return hM(r, n), t;+ }, m = (e, t) => H(e, {id: r,...t- }), h = wt({+ }), h = Ct({mutationFn: ({ run: e }) => e(),onError: (e, { action: n }) => t.failure(n, e),onSettled: (e, t, { name: n }) => d(n, !1)@@ -70807,7 +70810,7 @@ function VEe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m($M, t === void 0 ? { kind: e } : {+ let n = await m(CM, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -70827,21 +70830,21 @@ function VEe(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = YM(n, e);- await _("rate", r), t.toast(r ? `已评 ${JM(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = yM(n, e);+ await _("rate", r), t.toast(r ? `已评 ${vM(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(vN(e, r), { undo: async () => {+ t.toast(HM(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(tN, {});+ let e = await m(TM, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(tN, {})).watch_later });+ p({ watch_later: (await m(TM, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -70851,9 +70854,9 @@ function VEe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(nN, { wanted: !e.wanted });+ }), r = await m(EM, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(nN, e));+ n(await m(EM, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -70867,7 +70870,7 @@ function VEe(e, t, n) {});u("保存中…");try {- o(await m(rN, {+ o(await m(DM, {liked: a,reason: i}));@@ -70877,7 +70880,7 @@ function VEe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(rN, r));+ o(await m(DM, r));} });});},@@ -70886,30 +70889,30 @@ function VEe(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => pN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(eN, {+ p((t) => LM(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(wM, {operation: "add",tag: e.k- }), p((t) => mN(t, e));+ }), p((t) => RM(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(eN, {+ let e = await m(wM, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- fN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => mN(e, {+ IM(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => RM(e, {k: i,cat: "general"- })), _se(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(eN, {+ })), Jse(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(wM, {operation: "remove",tag: i- }), p((e) => pN(e, i));+ }), p((e) => LM(e, i));} }));});}@@ -70917,7 +70920,7 @@ function VEe(e, t, n) {}//#endregion//#region src/react/activity/downloads-panel.tsx-var H2 = "/api/downloads", U2 = ["downloads"], HEe = "/api/downloads/cancel", UEe = "/api/downloads/postprocess", W2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, WEe = {+var V2 = "/api/downloads", H2 = ["downloads"], WEe = "/api/downloads/cancel", GEe = "/api/downloads/postprocess", U2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, KEe = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -70926,21 +70929,21 @@ var H2 = "/api/downloads", U2 = ["downloads"], HEe = "/api/downloads/cancel", UEremote_done: "lime",landed: "lime",submitted: "neutral"-}, G2 = (e) => {- let t = e.display_code || e.code || "", { title: n } = vF({+}, W2 = (e) => {+ let t = e.display_code || e.code || "", { title: n } = QF({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}`;-}, K2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", GEe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function KEe() {- let e = (0, D.useId)(), t = Tt({- queryKey: [...U2, "pages"],+}, G2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", qEe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function JEe() {+ let e = (0, D.useId)(), t = wt({+ queryKey: [...H2, "pages"],initialPageParam: null,- queryFn: ({ signal: e, pageParam: t }) => B(`${H2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),+ queryFn: ({ signal: e, pageParam: t }) => V(`${V2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),getNextPageParam: (e) => e.has_more ? e.next_before_id ?? void 0 : void 0,- refetchInterval: (e) => e.state.data?.pages.some((e) => W2(e) === 5e3) ? 5e3 : 3e4+ refetchInterval: (e) => e.state.data?.pages.some((e) => U2(e) === 5e3) ? 5e3 : 3e4}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];return !r.length && !t.error ? null : /* @__PURE__ */ (0, O.jsxs)("section", {id: "cloudDownloads",@@ -70952,14 +70955,14 @@ function KEe() {className: "text-title-2-medium text-text-primary",children: "云下载"}),- t.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ t.error ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",- children: jn(t.error)+ children: An(t.error)}) : null,r.length ? /* @__PURE__ */ (0, O.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: r.map((e) => /* @__PURE__ */ (0, O.jsx)(qEe, {+ children: r.map((e) => /* @__PURE__ */ (0, O.jsx)(YEe, {task: e,writable: n[0]?.available ?? !1}, e.id))@@ -70967,9 +70970,9 @@ function KEe() {t.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: Ez,+ leadingIcon: Dz,className: "self-start",- ...rB(t.isFetchingNextPage),+ ...iB(t.isFetchingNextPage),onClick: () => {t.isFetching || t.fetchNextPage();},@@ -70978,15 +70981,15 @@ function KEe() {]});}-function qEe({ task: e, writable: t }) {- let n = A(), r = qH(), [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = (0, D.useId)(), l = K2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [+function YEe({ task: e, writable: t }) {+ let n = A(), r = JH(), [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(!1), c = (0, D.useId)(), l = G2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [e.display_code || e.code ? "" : "番号未识别",e.target,- UF(e.submitted_at)+ pI(e.submitted_at)].filter(Boolean).join(" · "), h = () => {- n.invalidateQueries({ queryKey: U2 });+ n.invalidateQueries({ queryKey: H2 });}, g = () => {- r.run("cancel", (t) => V(HEe, { id: e.id }, "POST", t), h);+ r.run("cancel", (t) => H(WEe, { id: e.id }, "POST", t), h);}, _ = () => {let t = {magnet: e.source_uri,@@ -70996,16 +70999,16 @@ function qEe({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => V(H2, t, "POST", e), h);+ r.run("resubmit", (e) => H(V2, t, "POST", e), h);}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {- r.run("postprocess", (t) => V(UEe, { id: e.id }, "POST", t), h);+ r.run("postprocess", (t) => H(GEe, { id: e.id }, "POST", t), h);};return /* @__PURE__ */ (0, O.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: YH({+ className: XH({padding: "none",bordered: "line",className: p ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -71016,24 +71019,24 @@ function qEe({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, O.jsxs)("div", {"data-download-cover": "","data-media-pic": "",- style: { "--card-ratio": String(CA) },+ style: { "--card-ratio": String(gA) },className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",children: [u?.has_cover ? null : /* @__PURE__ */ (0, O.jsx)("span", {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, O.jsx)(xG, {+ u?.has_cover ? /* @__PURE__ */ (0, O.jsx)(SG, {artwork: {kind: "cover",- html: Ua(u, "big")+ html: Ha(u, "big")},relayout: (e) => tl(e, "big")}) : null,f ? /* @__PURE__ */ (0, O.jsx)("a", {"data-download-cover-link": "",href: f,- "aria-label": `打开作品详情:${G2(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]@@ -71044,19 +71047,19 @@ function qEe({ task: e, writable: t }) {className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",children: [/* @__PURE__ */ (0, O.jsx)("strong", {className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",- title: G2(e),+ title: W2(e),children: f ? /* @__PURE__ */ (0, O.jsx)("a", {"data-download-title-link": "",href: f,className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",- children: G2(e)- }) : G2(e)+ children: W2(e)+ }) : W2(e)}), /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex shrink-0 items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(rQ, {- color: WEe[e.state] ?? "neutral",+ children: [/* @__PURE__ */ (0, O.jsx)(nQ, {+ color: KEe[e.state] ?? "neutral",children: e.state_label- }), e.state === "ingested" ? /* @__PURE__ */ (0, O.jsx)(rQ, {+ }), e.state === "ingested" ? /* @__PURE__ */ (0, O.jsx)(nQ, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",children: e.postprocess_label}) : null]@@ -71066,7 +71069,7 @@ function qEe({ task: e, writable: t }) {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, O.jsx)("span", {className: "flex shrink-0",- children: /* @__PURE__ */ (0, O.jsx)(BU, {+ children: /* @__PURE__ */ (0, O.jsx)(VU, {source: e.provider,label: e.provider_label})@@ -71082,10 +71085,10 @@ function qEe({ task: e, writable: t }) {className: "flex shrink-0 items-center gap-1",children: d.slice(0, 3).map((e) => /* @__PURE__ */ (0, O.jsx)("a", {"data-media-avatar": "",- href: tn("performer", e.name, e.id),+ href: en("performer", e.name, e.id),"aria-label": `打开女优页:${e.name}`,title: e.name,- dangerouslySetInnerHTML: { __html: Ra(e.name, e, null) }+ dangerouslySetInnerHTML: { __html: La(e.name, e, null) }}, e.id || e.name))}), /* @__PURE__ */ (0, O.jsxs)("span", {className: "min-w-0 truncate text-caption-1-regular text-text-secondary",@@ -71093,7 +71096,7 @@ function qEe({ task: e, writable: t }) {children: [d.map((e) => e.name).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]})]}) : null,- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, O.jsx)(QH, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, O.jsx)($H, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -71103,7 +71106,7 @@ function qEe({ task: e, writable: t }) {title: e.ledger_path,children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, O.jsx)(PU, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, O.jsx)(FU, { children: r.error }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {"data-download-actions": "",className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",@@ -71128,21 +71131,21 @@ function qEe({ task: e, writable: t }) {e.cancellable ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- ...rB(r.busy === "cancel"),+ ...iB(r.busy === "cancel"),onClick: g,children: "取消"}) : null,e.resubmittable ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- ...rB(r.busy === "resubmit"),+ ...iB(r.busy === "resubmit"),onClick: _,children: "重新提交"}) : null,e.postprocess_retryable ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- ...rB(r.busy === "postprocess"),+ ...iB(r.busy === "postprocess"),onClick: y,children: "重试入库后整理"}) : null@@ -71157,13 +71160,13 @@ function qEe({ 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: G2(e)+ children: W2(e)}) : null,l || e.postprocess_detail ? /* @__PURE__ */ (0, O.jsx)("div", {className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",children: /* @__PURE__ */ (0, O.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: l || GEe(e)+ children: l || qEe(e)})}) : null]@@ -71171,21 +71174,21 @@ function qEe({ task: e, writable: t }) {}//#endregion//#region src/react/activity/work-code.ts-var q2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), J2 = (e, t) => !!q2(e) && q2(e) === q2(t);+var K2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), q2 = (e, t) => !!K2(e) && K2(e) === K2(t);//#endregion//#region src/react/activity/resource-search.tsx-function JEe({ className: e }) {+function XEe({ className: e }) {return /* @__PURE__ */ (0, O.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: ns("") }});}-function YEe(e) {+function ZEe(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function XEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(() => YEe(t)), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(null), [h, g] = (0, D.useState)(""), [_, v] = (0, D.useState)(""), y = qH(), b = (0, D.useRef)(null);+function QEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(() => ZEe(t)), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(null), [h, g] = (0, D.useState)(""), [_, v] = (0, D.useState)(""), y = JH(), b = (0, D.useRef)(null);(0, D.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -71195,13 +71198,13 @@ function XEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {});l && e.set("min_size", String(Math.round(Number(l) * 1024 ** 3))), d && e.set("max_size", String(Math.round(Number(d) * 1024 ** 3))), m(null), v("");let t = a.trim();- if (r?.(t), b.current?.abort(), y.run("search", (t) => B(`/api/resources/search?${e}`, t), (e) => {+ if (r?.(t), b.current?.abort(), y.run("search", (t) => V(`/api/resources/search?${e}`, t), (e) => {m(e), g(t);}), i) {let e = new AbortController();- b.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {+ b.current = e, V(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {if (e.signal.aborted) return;- let r = (n.items || []).find((e) => J2(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 || ""),@@ -71209,7 +71212,7 @@ function XEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {release_date: String(r.release_date || ""),duration: r.duration,studio: r.studio,- cover: r.has_cover ? ja(r, !0) : "",+ cover: r.has_cover ? Aa(r, !0) : "",origin: `asset:${r.id}`} : null);}, () => {@@ -71222,18 +71225,18 @@ function XEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {"aria-busy": !!y.busy,className: "flex min-w-0 flex-col gap-4",children: [- t ? /* @__PURE__ */ (0, O.jsxs)(NU, { children: [+ t ? /* @__PURE__ */ (0, O.jsxs)(PU, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, O.jsx)(Yz, {+ /* @__PURE__ */ (0, O.jsx)(Xz, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? JEe : Bz,+ leadingIcon: y.busy ? XEe : Vz,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -71243,7 +71246,7 @@ function XEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, O.jsx)(FU, { children: "优先寻找" }), /* @__PURE__ */ (0, O.jsxs)(tW, {+ children: [/* @__PURE__ */ (0, O.jsx)(IU, { children: "优先寻找" }), /* @__PURE__ */ (0, O.jsxs)(nW, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -71251,15 +71254,15 @@ function XEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e !== null && c(String(e));},children: [- /* @__PURE__ */ (0, O.jsx)(nW, {+ /* @__PURE__ */ (0, O.jsx)(rW, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, O.jsx)(nW, {+ /* @__PURE__ */ (0, O.jsx)(rW, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, O.jsx)(nW, {+ /* @__PURE__ */ (0, O.jsx)(rW, {id: "uncensored",children: "无码"})@@ -71268,32 +71271,32 @@ function XEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, O.jsx)(Yz, {+ children: [/* @__PURE__ */ (0, O.jsx)(Xz, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, O.jsx)(Yz, {+ }), /* @__PURE__ */ (0, O.jsx)(Xz, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, O.jsx)(NU, {+ y.busy ? /* @__PURE__ */ (0, O.jsx)(PU, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, O.jsx)(PU, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, O.jsx)(NU, {+ y.error ? /* @__PURE__ */ (0, O.jsx)(FU, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, O.jsx)(PU, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, O.jsx)(NU, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, O.jsx)(PU, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, O.jsx)(NU, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, O.jsx)(PU, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {@@ -71303,7 +71306,7 @@ function XEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {className: "break-words text-body-2-medium text-text-primary",children: e.name}),- /* @__PURE__ */ (0, O.jsx)(NU, { children: [+ /* @__PURE__ */ (0, O.jsx)(PU, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -71328,19 +71331,19 @@ function XEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}//#endregion//#region src/react/activity/cloud-download-dialog.tsx-var ZEe = {+var $Ee = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};-function Y2({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, O.jsx)(Xz, {+function J2({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, O.jsx)(Zz, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, O.jsx)(QEe, {+ children: e ? /* @__PURE__ */ (0, O.jsx)(eDe, {prefill: e,close: t,receipt: n,@@ -71348,26 +71351,26 @@ function Y2({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function QEe({ prefill: e, close: t, receipt: n, provider: r }) {- let i = Ct({- queryKey: U2,- queryFn: ({ signal: e }) => B(`${H2}?limit=50`, e),- refetchInterval: (e) => W2(e.state.data)+function eDe({ prefill: e, close: t, receipt: n, provider: r }) {+ let i = St({+ queryKey: H2,+ queryFn: ({ signal: e }) => V(`${V2}?limit=50`, e),+ refetchInterval: (e) => U2(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, O.jsx)(RI, {+ children: [/* @__PURE__ */ (0, O.jsx)(XI, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"}), /* @__PURE__ */ (0, O.jsx)(q, {variant: "ghost",iconOnly: !0,- leadingIcon: kz,+ leadingIcon: Az,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, O.jsx)($Ee, {+ return a ? /* @__PURE__ */ (0, O.jsx)(tDe, {header: o,snapshot: a,prefill: e,@@ -71380,9 +71383,9 @@ function QEe({ prefill: e, close: t, receipt: n, provider: r }) {o,/* @__PURE__ */ (0, O.jsx)("div", {className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",- children: i.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ children: i.error ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",- children: jn(i.error)+ children: An(i.error)}) : null}),/* @__PURE__ */ (0, O.jsx)("div", {@@ -71396,8 +71399,8 @@ function QEe({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function $Ee({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = A(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, D.useState)(c?.key || ""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(n.code ?? ""), [h, g] = (0, D.useState)(c?.target || ""), [_, v] = (0, D.useState)(n.code ? n : null), [y, b] = (0, D.useState)(""), x = t.available && s.some((e) => e.key === l), S = qH(), C = (0, D.useRef)(null), w = (e) => {+function tDe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = A(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, D.useState)(c?.key || ""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(n.code ?? ""), [h, g] = (0, D.useState)(c?.target || ""), [_, v] = (0, D.useState)(n.code ? n : null), [y, b] = (0, D.useState)(""), x = t.available && s.some((e) => e.key === l), S = JH(), C = (0, D.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, O.jsxs)("form", {@@ -71413,14 +71416,14 @@ function $Ee({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => V(H2, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: U2 });- let t = ZEe[e.outcome];+ b(""), S.run("submit", (e) => H(V2, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: H2 });+ let t = $Ee[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = K2(e.task);+ let n = G2(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -71444,7 +71447,7 @@ function $Ee({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, O.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, O.jsx)(NU, { children: [+ }), _ ? /* @__PURE__ */ (0, O.jsx)(PU, { children: [_.performers,_.studio,_.release_date,@@ -71452,22 +71455,22 @@ function $Ee({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, O.jsx)(XEe, {+ /* @__PURE__ */ (0, O.jsx)(QEe, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- J2(e, _?.code) || (v(J2(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 ? J2(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? q2(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : J2(t?.code, n.code) ? t : null),+ } : e : q2(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}}),- /* @__PURE__ */ (0, O.jsx)(Yz, {+ /* @__PURE__ */ (0, O.jsx)(Xz, {ref: C,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -71479,38 +71482,38 @@ function $Ee({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, O.jsx)(FU, { children: "下载到" }),- /* @__PURE__ */ (0, O.jsx)(tW, {+ /* @__PURE__ */ (0, O.jsx)(IU, { children: "下载到" }),+ /* @__PURE__ */ (0, O.jsx)(nW, {"aria-label": "下载到",selectedKey: l || null,isDisabled: !s.length,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, O.jsx)(nW, {+ children: s.map((e) => /* @__PURE__ */ (0, O.jsx)(rW, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, O.jsx)(BU, {+ children: /* @__PURE__ */ (0, O.jsx)(VU, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, O.jsx)(NU, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, O.jsx)(PU, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),- t.available ? null : /* @__PURE__ */ (0, O.jsx)(Qz, {+ t.available ? null : /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",children: "云下载只在允许修改数据库的设备上可用。"}),- s.length ? null : /* @__PURE__ */ (0, O.jsxs)(Qz, {+ s.length ? null : /* @__PURE__ */ (0, O.jsxs)($z, {tone: "neutral",children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, O.jsx)("a", {href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",children: "下载渠道设置"})]}),- /* @__PURE__ */ (0, O.jsx)(Yz, {+ /* @__PURE__ */ (0, O.jsx)(Xz, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -71518,17 +71521,17 @@ function $Ee({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, O.jsx)(Yz, {+ n.code ? null : /* @__PURE__ */ (0, O.jsx)(Xz, {label: "番号",placeholder: "可不填",autoComplete: "off",maxLength: 60,value: p,onChange: (e) => {- m(e), J2(e, _?.code) || v(null);+ m(e), q2(e, _?.code) || v(null);}}),- y || S.error ? /* @__PURE__ */ (0, O.jsx)(PU, { children: y || S.error }) : null+ y || S.error ? /* @__PURE__ */ (0, O.jsx)(FU, { children: y || S.error }) : null]}),/* @__PURE__ */ (0, O.jsxs)("div", {@@ -71540,7 +71543,7 @@ function $Ee({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}), /* @__PURE__ */ (0, O.jsx)(q, {type: "submit",disabled: !d.trim() || !x,- ...rB(S.busy === "submit"),+ ...iB(S.busy === "submit"),children: "提交下载"})]})@@ -71549,11 +71552,11 @@ function $Ee({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}//#endregion//#region src/react/publication-cache.ts-var X2 = 864e5, Z2 = (e) => {+var Y2 = 864e5, X2 = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function Q2(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));@@ -71561,26 +71564,26 @@ function Q2(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function eDe(e, t = Date.now()) {- let n = Q2(e);- return n !== void 0 && Z2(t) > n ? Infinity : X2;+function nDe(e, t = Date.now()) {+ let n = Z2(e);+ return n !== void 0 && X2(t) > n ? Infinity : Y2;}-function $2(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : eDe(t, n) === Infinity ? Z2(e) > Q2(t) : n - e < X2;+function Q2(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : nDe(t, n) === Infinity ? X2(e) > Z2(t) : n - e < Y2;}//#endregion//#region src/react/wants/resource-cache.ts-var e4 = "peach.want-resources.v1";-function t4(e) {+var $2 = "peach.want-resources.v1";+function e4(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function n4(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !t4(e) ? Date.now() - t < 6e4 : $2(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 r4() {+function n4() {try {- let e = JSON.parse(localStorage.getItem(e4) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && t4(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"@@ -71589,23 +71592,23 @@ function r4() {return [];}}-function tDe(e, t) {- let n = r4().find((t) => t.code === e);- return n && $2(n.saved, t) ? n : void 0;+function rDe(e, t) {+ let n = n4().find((t) => t.code === e);+ return n && Q2(n.saved, t) ? n : void 0;}-function nDe(e) {- let t = new Map(r4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+function iDe(e) {+ let t = new Map(n4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();for (let r of e) {if (!r.code) continue;let e = t.get(`all-sources:${r.code}`);- e && $2(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 rDe(e, t) {- if (t.state === "ready" && t4(t)) try {- let n = r4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem(e4, JSON.stringify([{+function aDe(e, t) {+ if (t.state === "ready" && e4(t)) try {+ let n = n4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem($2, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -71614,16 +71617,16 @@ function rDe(e, t) {}//#endregion//#region src/react/wants/resource-display.ts-function iDe(e) {+function oDe(e) {let t = /^([\d,]+)\s*B$/i.exec(e.trim());- return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? vn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";+ return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? _n(Number(t[1].replaceAll(",", ""))) : e || "大小未知";}-function aDe(e) {+function sDe(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}//#endregion//#region src/react/wants/want-magnets.tsx-function i4({ icon: e, children: t, title: n }) {+function r4({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, O.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -71633,8 +71636,8 @@ function i4({ icon: e, children: t, title: n }) {}), t]});}-function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, D.useRef)(null), [c, l] = (0, D.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, D.useState)([]), f = qH(), p = A(), m = (0, D.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, D.useMemo)(() => tDe(h, e.release_date), [h, e.release_date]);+function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, D.useRef)(null), [c, l] = (0, D.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, D.useState)([]), f = JH(), p = A(), m = (0, D.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, D.useMemo)(() => rDe(h, e.release_date), [h, e.release_date]);(0, D.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -71642,7 +71645,7 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}, { rootMargin: "100px" });return e.observe(s.current), () => e.disconnect();}, [c]);- let _ = Ct({+ let _ = St({queryKey: o ? ["work-resources",o,@@ -71653,23 +71656,23 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource.code],queryFn: async ({ signal: t }) => {- let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await B(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);- return m.current = n && i.state === "busy", rDe(h, i), i;+ let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await V(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);+ return m.current = n && i.state === "busy", aDe(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => n4(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) => !n4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});(0, D.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, D.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && DCe(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && kCe(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -71677,7 +71680,7 @@ function a4({ 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(H2, {+ let n = await H(V2, {magnet: r.uri,provider: v.key,target: v.target,@@ -71688,11 +71691,11 @@ function a4({ 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: U2 });+ 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("已复制链接"));- }, x = _.isFetching || _.data?.state === "busy", S = _.error ? jn(_.error) : _.data?.error;+ }, x = _.isFetching || _.data?.state === "busy", S = _.error ? An(_.error) : _.data?.error;return /* @__PURE__ */ (0, O.jsxs)("div", {ref: s,"data-want-magnets": "",@@ -71706,39 +71709,39 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}), /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: zz,- ...rB(x),+ leadingIcon: Bz,+ ...iB(x),onClick: () => {x || (m.current = !0, _.refetch());},children: "重新查询"})]}),- x ? /* @__PURE__ */ (0, O.jsx)(XH, { label: "正在查找资源链接" }) : null,- S ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ x ? /* @__PURE__ */ (0, O.jsx)(ZH, { label: "正在查找资源链接" }) : null,+ S ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",title: "资源链接未取得",children: S}) : null,- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, O.jsx)(Qz, {+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",- children: aDe(e)+ children: sDe(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, O.jsx)(dI, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, O.jsx)(OI, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: Az,+ trailingIcon: jz,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",children: "查看来源页"}) : null,- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",children: "暂未找到资源链接。"}) : null,- f.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ f.error ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",title: "操作未完成",children: f.error@@ -71753,7 +71756,7 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcclassName: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, O.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, O.jsx)(rQ, {+ children: [/* @__PURE__ */ (0, O.jsx)(nQ, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"@@ -71767,26 +71770,26 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-facts": "",className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, O.jsx)(i4, {+ /* @__PURE__ */ (0, O.jsx)(r4, {icon: sfe,children: e.source}),- /* @__PURE__ */ (0, O.jsx)(i4, {- icon: Pz,+ /* @__PURE__ */ (0, O.jsx)(r4, {+ icon: Fz,title: `来源大小:${e.size}`,- children: iDe(e.size)+ children: oDe(e.size)}),- e.files ? /* @__PURE__ */ (0, O.jsx)(i4, {+ e.files ? /* @__PURE__ */ (0, O.jsx)(r4, {icon: Qde,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, O.jsx)(i4, {+ /* @__PURE__ */ (0, O.jsx)(r4, {icon: Rde,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, O.jsx)(i4, {- icon: Rz,+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, O.jsx)(r4, {+ icon: zz,children: e}, e))]@@ -71795,11 +71798,11 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-actions": "",className: "flex flex-wrap gap-2",children: [- /* @__PURE__ */ (0, O.jsx)(dI, {+ /* @__PURE__ */ (0, O.jsx)(OI, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: Az,+ trailingIcon: jz,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -71809,17 +71812,17 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcvariant: "secondary",size: "small",leadingIcon: Xde,- ...rB(f.busy === `copy:${e.id}`),+ ...iB(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"}),e.protocol === "magnet" ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "primary",size: "small",- leadingIcon: v ? zU(v.key) : Wde,+ leadingIcon: v ? BU(v.key) : Wde,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,- ...rB(f.busy === e.id),+ ...iB(f.busy === e.id),onClick: () => y(e),children: r ? "已添加" : "添加下载"}) : null@@ -71830,7 +71833,7 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcreturn /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, O.jsx)(IU, {+ }), e.length > 3 ? /* @__PURE__ */ (0, O.jsx)(LU, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, O.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -71843,10 +71846,10 @@ function a4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}//#endregion//#region src/react/jav-detail/review-cache.ts-var o4 = "peach.jav-reviews.v1";-function s4() {+var a4 = "peach.jav-reviews.v1";+function o4() {try {- let e = localStorage.getItem(o4) || "[]";+ 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")) : [];@@ -71854,21 +71857,21 @@ function s4() {return [];}}-function oDe(e, t) {+function cDe(e, t) {if (t.ok && !t.cache_stale) try {let n = Date.parse(t.checked_at || ""), r = [{code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...s4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(o4, 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 sDe(e, t) {- let n = s4(), r = [], i = Infinity;+function lDe(e, t) {+ let n = o4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !$2(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,@@ -71876,17 +71879,17 @@ function sDe(e, t) {saved: i} : void 0;}-function cDe(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && $2(Date.parse(e.checked_at || "") || t, n));+function uDe(e, t, n) {+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Q2(Date.parse(e.checked_at || "") || t, n));}//#endregion//#region src/react/jav-detail/jav-detail-page.tsx-function lDe(e) {- let t = (0, D.useRef)(!1), n = Ct({- queryKey: A2(e.code),+function dDe(e) {+ let t = (0, D.useRef)(!1), n = St({+ queryKey: k2(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, j2(e.code, n, r);+ return t.current = !1, A2(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -71896,34 +71899,34 @@ function lDe(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, O.jsx)(uDe, {+ children: n.data ? /* @__PURE__ */ (0, O.jsx)(fDe, {...e,item: n.data,retry: r,retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, O.jsx)(c4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, O.jsx)(bG, {- message: jn(n.error),+ children: [/* @__PURE__ */ (0, O.jsx)(s4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, O.jsx)(xG, {+ message: An(n.error),onRetry: r}) : null]})});}-var c4 = ({ close: e }) => /* @__PURE__ */ (0, O.jsx)("button", {+var s4 = ({ close: e }) => /* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage","aria-label": "关闭",title: "关闭",onClick: e,- dangerouslySetInnerHTML: { __html: L("x") }+ dangerouslySetInnerHTML: { __html: R("x") }});-function uDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function fDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, D.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, D.useEffect)(() => {- t.state === "ready" && H.invalidateQueries({ queryKey: ["jav-discoveries", "external"] });+ t.state === "ready" && U.invalidateQueries({ queryKey: ["jav-discoveries", "external"] });}, [t.code, t.state]);let [o, s] = (0, D.useState)(-1), c = [{@@ -71939,13 +71942,13 @@ function uDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(t.want_id), p = qH(), m = () => {- p.run("want", async (e) => d ? (await c1([d], e), null) : (await s1({ code: t.code }, e)).want.id, (t) => {- f(t), H.setQueryData(A2(e), (e) => e && {+ ], [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(t.want_id), p = JH(), m = () => {+ p.run("want", async (e) => d ? (await s1([d], e), null) : (await o1({ code: t.code }, e)).want.id, (t) => {+ f(t), U.setQueryData(k2(e), (e) => e && {...e,wanted: !!t,want_id: t- }), n.receipt(t ? "已加入想要" : "已取消想要"), l1(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });+ }), n.receipt(t ? "已加入想要" : "已取消想要"), c1(), U.invalidateQueries({ queryKey: ["feed-new"] }), U.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [@@ -71954,24 +71957,24 @@ function uDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-art": "","data-jav-playing": o === -2 ? "" : void 0,children: [- /* @__PURE__ */ (0, O.jsx)(c4, { close: n.close }),+ /* @__PURE__ */ (0, O.jsx)(s4, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, O.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, O.jsx)(l4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, O.jsx)(c4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, O.jsx)(pDe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, O.jsx)(s$, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, O.jsx)(hDe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, O.jsx)(o$, {item: t,image: o === -1 ? "cover" : String(o)}, o),- /* @__PURE__ */ (0, O.jsx)(_2, {+ /* @__PURE__ */ (0, O.jsx)(g2, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, O.jsx)(s$, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, O.jsx)(o$, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -71985,33 +71988,33 @@ function uDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, O.jsx)(dDe, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(d4, { score: Number(t.score) }) : null,+ /* @__PURE__ */ (0, O.jsx)(pDe, { item: t }),+ Number(t.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(u4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, O.jsxs)("div", {className: "mono","data-stage-meta": "","data-reveal-line": "",- children: [/* @__PURE__ */ (0, O.jsx)(u4, {+ children: [/* @__PURE__ */ (0, O.jsx)(l4, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, O.jsx)(u4, {+ }), /* @__PURE__ */ (0, O.jsx)(l4, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, O.jsx)(fDe, {+ /* @__PURE__ */ (0, O.jsx)(mDe, {item: t,navigate: n.navigate}),/* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, O.jsx)(u4, {+ children: [/* @__PURE__ */ (0, O.jsx)(l4, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, O.jsx)(u4, {+ }), /* @__PURE__ */ (0, O.jsx)(l4, {glyph: "clapperboard",label: "导演",value: t.director@@ -72040,11 +72043,11 @@ function uDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-summary": "",children: t.summary}) : null,- t.message ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ t.message ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...rB(a),+ ...iB(a),onClick: i,children: "立即重试"}),@@ -72053,10 +72056,10 @@ function uDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a/* @__PURE__ */ (0, O.jsxs)("div", {"data-jav-actions": "",children: [- t.source_url ? /* @__PURE__ */ (0, O.jsx)(dI, {+ t.source_url ? /* @__PURE__ */ (0, O.jsx)(OI, {"data-button-link": "",variant: "secondary",- trailingIcon: Az,+ trailingIcon: jz,href: t.source_url,target: "_blank",rel: "noopener noreferrer",@@ -72066,7 +72069,7 @@ function uDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: avariant: "secondary",disabled: r,"aria-pressed": !!d,- ...rB(!!p.busy),+ ...iB(!!p.busy),onClick: m,children: d ? "取消想要" : "想要"}),@@ -72084,16 +72087,16 @@ function uDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})]}),- p.error ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ p.error ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, O.jsx)(mDe, {+ /* @__PURE__ */ (0, O.jsx)(gDe, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, O.jsx)(hDe, {+ /* @__PURE__ */ (0, O.jsx)(_De, {item: t,actions: n,readOnly: r@@ -72101,24 +72104,24 @@ function uDe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, O.jsx)(Y2, {+ /* @__PURE__ */ (0, O.jsx)(J2, {prefill: l,close: () => u(null),receipt: n.receipt})] });}-var l4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {+var c4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("span", {className: "contents","aria-hidden": "true",- dangerouslySetInnerHTML: { __html: L(e) }-}), u4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, O.jsxs)("span", {+ dangerouslySetInnerHTML: { __html: R(e) }+}), l4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, O.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, O.jsx)(l4, { name: e }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, O.jsx)(c4, { name: e }), /* @__PURE__ */ (0, O.jsx)("span", { children: n })]}) : null;-function dDe({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = O2(e.title), a = e.title === e.code ? "" : e.title;+function pDe({ item: e }) {+ let { text: t, expanded: n, foldable: r, toggle: i } = D2(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, O.jsx)("h1", {@@ -72145,12 +72148,12 @@ function dDe({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, O.jsx)(nU, {})+ children: /* @__PURE__ */ (0, O.jsx)(rU, {})})})]});}-function d4({ score: e, review: t = !1 }) {+function u4({ score: e, review: t = !1 }) {return /* @__PURE__ */ (0, O.jsxs)("div", {"data-item-rating": "","data-jav-rating": "",@@ -72163,8 +72166,8 @@ function d4({ score: e, review: t = !1 }) {})]});}-function fDe({ item: e, navigate: t }) {- let n = (e, n) => t(tn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, O.jsxs)("section", {+function mDe({ item: e, navigate: t }) {+ let n = (e, n) => t(en(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, O.jsxs)("section", {"data-id-group": t,"data-id-gender": a,children: [/* @__PURE__ */ (0, O.jsx)("h5", {@@ -72172,14 +72175,14 @@ function fDe({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, O.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, O.jsx)(E2, {+ children: i.map((r) => /* @__PURE__ */ (0, O.jsx)(T2, {kind: t,person: {...r,id: r.id ?? null},onOpen: n,- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, O.jsx)(c$, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, O.jsx)(s$, {code: e.code,person: r,detail: !0@@ -72196,7 +72199,7 @@ function fDe({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, O.jsx)(D2, {+ }), /* @__PURE__ */ (0, O.jsx)(E2, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -72205,18 +72208,18 @@ function fDe({ item: e, navigate: t }) {})]});}-function pDe({ src: e }) {+function hDe({ src: e }) {let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(0);return (0, D.useLayoutEffect)(() => {let n = t.current, i = document.createElement("video");- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), bM(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), Tse(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));}, [e, i]), /* @__PURE__ */ (0, O.jsx)("div", {ref: t,"data-jav-video": "",- children: n ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ children: n ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",@@ -72229,8 +72232,8 @@ function pDe({ src: e }) {}) : null});}-function mDe({ code: e, count: t, released: n }) {- let r = A(), [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => sDe(e, n), [e, n]), s = (0, D.useRef)(!1), c = Tt({+function gDe({ code: e, count: t, released: n }) {+ let r = A(), [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => lDe(e, n), [e, n]), s = (0, D.useRef)(!1), c = wt({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -72239,12 +72242,12 @@ function mDe({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => cDe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => uDe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await hEe(e, n, t, s.current);- if (oDe(e, i), !i.ok || i.cache_stale) {+ let i = await _Ee(e, n, t, s.current);+ if (cDe(e, i), !i.ok || i.cache_stale) {let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);if (t?.ok) return {...t,@@ -72254,15 +72257,15 @@ function mDe({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: gEe+ getNextPageParam: vEe});(0, D.useEffect)(() => {c.isFetching || (s.current = !1);}, [c.isFetching]);- let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? jn(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;+ let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? An(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, O.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, O.jsxs)(IU, {+ children: /* @__PURE__ */ (0, O.jsxs)(LU, {trailing: !0,summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(zde, { "aria-hidden": !0 }),@@ -72302,7 +72305,7 @@ function mDe({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, O.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(d4, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, O.jsx)(u4, {score: Number(e.score),review: !0}) : null,@@ -72314,24 +72317,24 @@ function mDe({ code: e, count: t, released: n }) {]}), /* @__PURE__ */ (0, O.jsx)("p", { children: e.content })]}, e.id)),- d ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ d ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",action: /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...rB(c.isFetching),+ ...iB(c.isFetching),onClick: () => {s.current = !0, c.refetch();},children: "立即重试"}),children: d- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, O.jsx)(Qz, {+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, O.jsx)($z, {tone: "neutral",children: "暂无评论"}) : null,!d && l.length ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...rB(c.isFetching),+ ...iB(c.isFetching),onClick: () => {s.current = !0, c.refetch();},@@ -72339,13 +72342,13 @@ function mDe({ code: e, count: t, released: n }) {}) : null,c.hasNextPage ? /* @__PURE__ */ (0, O.jsx)(q, {variant: "secondary",- ...rB(c.isFetchingNextPage),+ ...iB(c.isFetchingNextPage),onClick: () => {c.isFetchingNextPage || c.fetchNextPage();},children: "更多评论"}) : null,- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, O.jsxs)(Qz, {+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, O.jsxs)($z, {tone: "neutral",children: ["已显示 ",@@ -72357,21 +72360,21 @@ function mDe({ code: e, count: t, released: n }) {})});}-function hDe({ item: e, actions: t, readOnly: n }) {- let [r, i] = (0, D.useState)(!1), a = Ct({- queryKey: U2,+function _De({ item: e, actions: t, readOnly: n }) {+ let [r, i] = (0, D.useState)(!1), a = St({+ queryKey: H2,enabled: r,- queryFn: ({ signal: e }) => B(`${H2}?limit=50`, e)+ queryFn: ({ signal: e }) => V(`${V2}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, D.useState)(!1);return /* @__PURE__ */ (0, O.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, O.jsx)(IU, {+ children: /* @__PURE__ */ (0, O.jsx)(LU, {trailing: !0,- summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(l4, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(c4, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, O.jsx)(a4, {+ children: s ? /* @__PURE__ */ (0, O.jsx)(i4, {want: {id: 0,code: e.code,@@ -72389,31 +72392,31 @@ function hDe({ item: e, actions: t, readOnly: n }) {}//#endregion//#region src/react/stage/stage-player.ts-var f4 = null, p4 = null, m4 = null, h4 = null, g4 = null, _4 = !1, v4 = 0, y4 = null, b4 = () => !1, x4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function gDe(e, t) {- f4 = e, b4 = () => t.isOpen(), y4 = () => t.requestClose(), ij({+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 vDe(e, t) {+ d4 = e, y4 = () => t.isOpen(), v4 = () => t.requestClose(), Woe({...e.player,stage: () => document.getElementById("stage")- }), Moe({- inMiniplayer: (e) => p4?.player === e,- kind: (e) => p4?.player === e ? p4.kind : m4?.kind ?? h4?.kind ?? "item",- expand: () => V4(),- toMiniplayer: () => H4()- }), S4 || (S4 = !0, addEventListener("pagehide", () => iM()));-}-var S4 = !1;-function C4() {- if (!f4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return f4;-}-function w4(e) {- h4 = e;-}-var _De = () => h4;-function T4(e, t) {- let { kind: n, item: r, media: i = null } = t, a = x4(n, r.id, i?.index ?? null);- if (p4 && p4.key === a) return yDe(e, p4);- p4 && B4();+ }), Goe({+ inMiniplayer: (e) => f4?.player === e,+ kind: (e) => f4?.player === e ? f4.kind : p4?.kind ?? m4?.kind ?? "item",+ expand: () => B4(),+ toMiniplayer: () => V4()+ }), x4 || (x4 = !0, addEventListener("pagehide", () => Kj()));+}+var x4 = !1;+function S4() {+ if (!d4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return d4;+}+function C4(e) {+ m4 = e;+}+var yDe = () => 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 xDe(e, f4);+ f4 && z4();let o = {player: null,kind: n,@@ -72421,52 +72424,52 @@ function T4(e, t) {mediaIndex: i?.index ?? null,key: a};- m4 = 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 = _M(s, {+ let c = rM(s, {kind: n,item: r,media: i,autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- m4 === o && (o.player = e);+ p4 === o && (o.player = e);},- handedOff: (e) => p4?.player === e+ handedOff: (e) => f4?.player === e});return () => {- let e = !!o.player && p4?.player === o.player;- m4 === o && (m4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), iM());+ let e = !!o.player && f4?.player === o.player;+ p4 === o && (p4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), Kj());};}-async function vDe(e, t, n) {- let r = await R(`/api/item?id=${e.id}`, { signal: n });+async function bDe(e, t, n) {+ let r = await z(`/api/item?id=${e.id}`, { signal: n });if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");if (r.location === "online") throw Error("请打开详情播放在线作品");if (r.cost === "metered") throw Error("请打开详情确认计费来源");- let i = await C4().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(C4().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 || "未归属")};- w4(a);- let o = T4(t, {+ C4(a);+ let o = w4(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && h4 === a && D4(!0), o(), h4 === a && w4(null));+ s || (s = !0, e && m4 === a && E4(!0), o(), m4 === a && C4(null));};}-function yDe(e, t) {+function xDe(e, t) {let { player: n } = t;- R4(t), p4 = null, z4(), n.el().classList.remove("vjs-peach-mini"), hM(e), e.append(n.el()), fj(n);+ L4(t), f4 = null, R4(), n.el().classList.remove("vjs-peach-mini"), tM(e), e.append(n.el()), ej(n);let r = {player: n,kind: t.kind,@@ -72474,23 +72477,23 @@ function yDe(e, t) {mediaIndex: t.mediaIndex,key: t.key};- m4 = r;- let i = gM(n, e);- return pj(n), () => {- m4 === r && (m4 = null), i(), p4?.player !== n && (dj() === n && fj(null), Yj(n), iM());+ p4 = r;+ let i = nM(n, e);+ return tj(n), () => {+ p4 === r && (p4 = null), i(), f4?.player !== n && ($A() === n && ej(null), Lj(n), Kj());};}-var E4 = () => {- let e = m4?.player;+var T4 = () => {+ let e = p4?.player;return e && !e.isDisposed() ? e : null;};-function D4(e) {- let t = _4;- _4 = !1, p4?.pending && B4();- let n = m4, r = n?.player, i = h4;- if (!n || !r || r.isDisposed() || !i || !g4) return;- let a = C4().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && CDe({+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()) && TDe({player: r,kind: n.kind,item: n.item,@@ -72498,46 +72501,46 @@ function D4(e) {key: n.key}, i);}-function O4(e, t) {- _4 = !1, p4 && (p4.kind === e && p4.item.id === t ? (p4.pending = !0, z4()) : B4());+function D4(e, t) {+ g4 = !1, f4 && (f4.kind === e && f4.item.id === t ? (f4.pending = !0, R4()) : z4());}-function k4(e) {- g4 = e, g4 && I4();+function O4(e) {+ h4 = e, h4 && F4();}-var A4 = () => !!p4 && !p4.pending && !p4.player.isDisposed();-function bDe() {- return A4() ? g4?.frame.querySelector("video") ?? null : null;+var k4 = () => !!f4 && !f4.pending && !f4.player.isDisposed();+function SDe() {+ return k4() ? h4?.frame.querySelector("video") ?? null : null;}-function xDe() {- return b4() ? document.getElementById("stage")?.querySelector("video") ?? null : E4()?.el().querySelector("video") ?? bDe();+function CDe() {+ return y4() ? document.getElementById("stage")?.querySelector("video") ?? null : T4()?.el().querySelector("video") ?? SDe();}-function j4(e) {- g4 && (g4.title.textContent = e.title || "", g4.sub.textContent = e.sub || "", g4.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 M4(e = p4?.item) {- if (!g4) return;- let t = g4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- g4.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 N4() {- let e = p4?.player;- if (!e || e.isDisposed() || !g4) return;+function M4() {+ let e = f4?.player;+ if (!e || e.isDisposed() || !h4) return;let t = e.paused();- g4.play.setAttribute("aria-label", t ? "播放" : "暂停"), g4.play.querySelector("[data-icon-swap]") || (g4.play.innerHTML = cs("player-pause", "player-play", t ? "b" : "a")), ls(g4.play, t ? "b" : "a");+ h4.play.setAttribute("aria-label", t ? "播放" : "暂停"), h4.play.querySelector("[data-icon-swap]") || (h4.play.innerHTML = cs("player-pause", "player-play", t ? "b" : "a")), ls(h4.play, t ? "b" : "a");}-function P4() {- let e = p4?.player;- if (!e || e.isDisposed() || !g4) return;- let t = hn(p4?.item.duration) || hn(e.duration());- g4.time.textContent = `${_n(e.currentTime())} / ${t ? _n(t) : "0:00"}`;-}-var F4 = () => Math.max(1, Number(C4().player.settings().seekSeconds) || 10);-function I4() {- if (!g4 || !f4) return;- let e = F4();- for (let [t, n] of [[g4.back, `后退 ${e} 秒`], [g4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;-}-function L4(e) {+function N4() {+ let e = f4?.player;+ if (!e || e.isDisposed() || !h4) return;+ let t = mn(f4?.item.duration) || mn(e.duration());+ h4.time.textContent = `${gn(e.currentTime())} / ${t ? gn(t) : "0:00"}`;+}+var P4 = () => Math.max(1, Number(S4().player.settings().seekSeconds) || 10);+function F4() {+ if (!h4 || !d4) return;+ let e = P4();+ for (let [t, n] of [[h4.back, `后退 ${e} 秒`], [h4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function I4(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -72549,17 +72552,17 @@ function L4(e) {"play","pause","ended"- ], N4), t([+ ], M4), t(["timeupdate","durationchange","loadedmetadata"- ], P4), t("loadedmetadata", () => M4()), N4(), P4(), M4(), I4();+ ], N4), t("loadedmetadata", () => j4()), M4(), N4(), j4(), F4();}-function R4(e) {+function L4(e) {e.off.forEach((e) => e()), e.off = [];}-function SDe() {- let e = g4?.root;+function wDe() {+ let e = h4?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -72567,8 +72570,8 @@ function SDe() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function z4() {- let e = g4?.root;+function R4() {+ let e = h4?.root;if (e) {e.hidden = !0;for (let t of [@@ -72579,73 +72582,73 @@ function z4() {e.style.transform = "";}}-function CDe(e, t) {- if (!g4) return;+function TDe(e, t) {+ if (!h4) return;let n = {...e,meta: t,off: [],pending: !1};- p4 = n, v4++, e.player.el().classList.add("vjs-peach-mini"), g4.frame.prepend(e.player.el()), j4(t), L4(n), SDe(), pj(e.player);+ f4 = n, _4++, e.player.el().classList.add("vjs-peach-mini"), h4.frame.prepend(e.player.el()), A4(t), I4(n), wDe(), tj(e.player);}-function B4() {- let e = p4;- e && R4(e), p4 = null, v4++;+function z4() {+ let e = f4;+ e && L4(e), f4 = null, _4++;let t = e?.player ?? null;- t && dj() === t && fj(null), Yj(t), t && iM(), g4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), lj(), z4();+ t && $A() === t && ej(null), Lj(t), t && Kj(), h4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), ZA(), R4();}-function V4() {- if (!A4() || !p4) return;- let { kind: e, item: t, mediaIndex: n } = p4;- C4().expand(e, t.id, n);+function B4() {+ if (!k4() || !f4) return;+ let { kind: e, item: t, mediaIndex: n } = f4;+ S4().expand(e, t.id, n);}-function H4() {- A4() && !b4() ? V4() : b4() && E4() && y4 && (_4 = !0, y4());+function V4() {+ k4() && !y4() ? B4() : y4() && T4() && v4 && (g4 = !0, v4());}-function wDe() {- let e = p4?.player;+function EDe() {+ let e = f4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function U4(e) {- let t = p4?.player;+function H4(e) {+ let t = f4?.player;if (!t || t.isDisposed()) return;- let n = hn(t.duration()) || hn(p4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + F4() * e);+ let n = mn(t.duration()) || mn(f4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + P4() * e);t.currentTime(n ? Math.min(n, r) : r);}-function W4(e) {- return !(!A4() || !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 || C4().sourceOffline(String(e.root_id || e.location || "")));-}-async function TDe(e) {- if (!A4() || !p4 || !g4) return;- let t = ++v4, n = await R(`/api/item?id=${e}`).catch(() => null);- if (t !== v4 || !A4() || !p4 || !g4 || !n || n.error) return;- if (!W4(n)) {- C4().openItem(e);+function U4(e) {+ return !(!k4() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || S4().sourceOffline(String(e.root_id || e.location || "")));+}+async function DDe(e) {+ if (!k4() || !f4 || !h4) return;+ let t = ++_4, n = await z(`/api/item?id=${e}`).catch(() => null);+ if (t !== _4 || !k4() || !f4 || !h4 || !n || n.error) return;+ if (!U4(n)) {+ S4().openItem(e);return;}- let r = p4;- R4(r), dj() === r.player && fj(null), Yj(r.player), iM(), g4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = f4;+ L4(r), $A() === r.player && ej(null), Lj(r.player), Kj(), h4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", g4.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 || "未归属")};- j4(a), _M(i, {+ A4(a), rM(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== v4) {- r && dj() === r && fj(null), Yj(r);+ if (t !== _4) {+ r && $A() === r && ej(null), Lj(r);return;}if (!r) {- B4(), C4().openItem(e);+ z4(), S4().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -72654,26 +72657,26 @@ async function TDe(e) {kind: "item",item: n,mediaIndex: null,- key: x4("item", n.id, null),+ key: b4("item", n.id, null),meta: a,off: [],pending: !1};- p4 = i, L4(i);+ f4 = i, I4(i);}- }), M4(n);+ }), j4(n);}//#endregion//#region src/react/stage/miniplayer.tsx-var G4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {+var W4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })-}), EDe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, K4 = (e) => (t) => {+}), ODe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, G4 = (e) => (t) => {t.stopPropagation(), e();-}, DDe = (0, D.memo)(function() {+}, kDe = (0, D.memo)(function() {let e = (0, D.useRef)(null), t = (0, D.useRef)(null), n = (0, D.useRef)(null), r = (0, D.useRef)(null), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)(null), c = (0, D.useRef)(null), l = (0, D.useRef)(null);- return (0, D.useLayoutEffect)(() => (k4({+ return (0, D.useLayoutEffect)(() => (O4({root: e.current,frame: n.current,play: r.current,@@ -72683,7 +72686,7 @@ var G4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => k4(null)), []), (0, D.useEffect)(() => kDe(e.current, t.current), []), /* @__PURE__ */ (0, O.jsx)("aside", {+ }), () => O4(null)), []), (0, D.useEffect)(() => jDe(e.current, t.current), []), /* @__PURE__ */ (0, O.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -72707,24 +72710,24 @@ var G4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: K4(V4),- children: /* @__PURE__ */ (0, O.jsx)(G4, { name: "maximize-2" })+ onClick: G4(B4),+ children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "maximize-2" })}),/* @__PURE__ */ (0, O.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: K4(B4),- children: /* @__PURE__ */ (0, O.jsx)(G4, { name: "x" })+ onClick: G4(z4),+ children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "x" })}),/* @__PURE__ */ (0, O.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: K4(() => U4(-1)),- children: /* @__PURE__ */ (0, O.jsx)(G4, { name: "rotate-ccw" })+ onClick: G4(() => H4(-1)),+ children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, O.jsx)("button", {ref: r,@@ -72733,16 +72736,16 @@ var G4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: K4(wDe),- dangerouslySetInnerHTML: EDe+ onClick: G4(EDe),+ dangerouslySetInnerHTML: ODe}),/* @__PURE__ */ (0, O.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: K4(() => U4(1)),- children: /* @__PURE__ */ (0, O.jsx)(G4, { name: "rotate-cw" })+ onClick: G4(() => H4(1)),+ children: /* @__PURE__ */ (0, O.jsx)(W4, { name: "rotate-cw" })}),/* @__PURE__ */ (0, O.jsx)("span", {ref: i,@@ -72759,7 +72762,7 @@ var G4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => V4(),+ onClick: () => B4(),children: [/* @__PURE__ */ (0, O.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -72773,7 +72776,7 @@ var G4 = ({ name: e }) => /* @__PURE__ */ (0, O.jsx)("svg", {})});});-function ODe(e, t, n) {+function ADe(e, t, n) {let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {left: r.left - t,top: r.top - n@@ -72795,7 +72798,7 @@ function ODe(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function kDe(e, t) {+function jDe(e, t) {let n = null, r = (e) => {if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {n = {@@ -72821,7 +72824,7 @@ function kDe(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), ODe(e, i.dx, i.dy));+ }, 0), ADe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -72833,49 +72836,49 @@ function kDe(e, t) {}//#endregion//#region src/react/stage/stage.tsx-var q4 = null, J4 = null, Y4 = /* @__PURE__ */ new Set(), X4 = 0, Z4 = null, Q4 = !1, $4 = !1, e3 = () => {+var K4 = null, q4 = null, J4 = /* @__PURE__ */ new Set(), Y4 = 0, X4 = null, Z4 = !1, Q4 = !1, $4 = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function t3() {- if (!q4) throw Error("舞台还没有接上宿主(configureStage)");- return q4;+function e3() {+ if (!K4) throw Error("舞台还没有接上宿主(configureStage)");+ return K4;}-function ADe(e) {- return Y4.add(e), () => {- Y4.delete(e);+function MDe(e) {+ return J4.add(e), () => {+ J4.delete(e);};}-function jDe() {- for (let e of [...Y4]) e();+function NDe() {+ for (let e of [...J4]) e();}-function n3() {- (0, Et.flushSync)(jDe);+function t3() {+ (0, Tt.flushSync)(NDe);}-function MDe({ view: e }) {- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)(NDe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, O.jsx)(DDe, {})] });+function PDe({ view: e }) {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [e ? /* @__PURE__ */ (0, O.jsx)(FDe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, O.jsx)(kDe, {})] });}-var r3 = () => /* @__PURE__ */ (0, O.jsx)("div", {+var n3 = () => /* @__PURE__ */ (0, O.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: MTe() }+ dangerouslySetInnerHTML: { __html: PTe() }});-function i3(e) {+function r3(e) {let t = e.currentTarget;if (e.target !== t) return !1;let n = t.getBoundingClientRect();return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;}-function NDe({ view: e }) {+function FDe({ view: e }) {let t = (0, D.useRef)(null);(0, D.useLayoutEffect)(() => {let e = t.current, n = (t) => {- t.target === e && (t.preventDefault(), a3());+ t.target === e && (t.preventDefault(), i3());};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, O.jsx)(wEe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, O.jsx)(lDe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, O.jsx)(aEe, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, O.jsx)(EEe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, O.jsx)(dDe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, O.jsx)(sEe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, O.jsxs)("dialog", {ref: t,id: "stage",@@ -72883,27 +72886,27 @@ function NDe({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), a3());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), i3());},onPointerDown: (e) => {- $4 = i3(e);+ Q4 = r3(e);},onClick: (e) => {- $4 && i3(e) && a3();+ Q4 && r3(e) && i3();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, O.jsx)(r3, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, O.jsx)(n3, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, O.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, O.jsx)(r3, {})+ children: /* @__PURE__ */ (0, O.jsx)(n3, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, O.jsx)("div", {"data-stage-scroll": "",children: /* @__PURE__ */ (0, O.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, O.jsx)(MT, {- getContainer: () => e2(t.current),+ children: /* @__PURE__ */ (0, O.jsx)(tT, {+ getContainer: () => $0(t.current),children: i})})@@ -72911,14 +72914,14 @@ function NDe({ view: e }) {]});}-function a3() {- J4 && !Q4 && (Q4 = !0, J4.request.actions.close());+function i3() {+ q4 && !Z4 && (Z4 = !0, q4.request.actions.close());}-function o3(e, t) {- let n = e3();+function a3(e, t) {+ let n = $4();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function s3(e) {+function o3(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -72926,30 +72929,30 @@ function s3(e) {readOnly: e.readOnly,actions: {...e.actions,- close: a3+ close: i3}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => t3().player.settings(), i = () => J4?.request === e;+ }, r = () => e3().player.settings(), i = () => q4?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: a3,+ close: i3,present: (e, t) => {let n = e.performers;- w4({+ C4({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), o3(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), a3(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => T4(e, {+ mountPlayer: (e, t, r, i) => w4(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -72967,18 +72970,18 @@ function s3(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: a3,+ close: i3,present: (e, t) => {- w4({+ C4({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), o3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), a3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => T4(e, {+ mountPlayer: (e, t, r, i) => w4(e, {kind: "follow",item: t,media: r,@@ -72995,101 +72998,101 @@ function s3(e) {}};}-function PDe(e, t) {+function IDe(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"), J4?.generation === t && J4.phase === "reveal" && (J4 = {- ...J4,+ 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"- }, n3());+ }, t3());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function c3(e) {- let t = e3();- return !J4 || J4.content.kind !== e || Q4 || !t?.open || t.hasAttribute("data-closing") ? null : t;+function s3(e) {+ let t = $4();+ return !q4 || q4.content.kind !== e || Z4 || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function FDe(e) {- let t = c3(e.kind);+async function LDe(e) {+ let t = s3(e.kind);if (t) {- await LDe(e, t);+ await zDe(e, t);return;}- J4 && l3({ miniplayer: !1 });- let n = ++X4, r = new AbortController();- Z4 = r, Q4 = !1, $4 = !1, e.kind === "jav" ? B4() : O4(e.kind, e.id ?? NaN);- let i = s3(e);- J4 = {+ q4 && c3({ miniplayer: !1 });+ let n = ++Y4, r = new AbortController();+ X4 = r, Z4 = !1, Q4 = !1, e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN);+ let i = o3(e);+ q4 = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? dN(i.props, r.signal) : i.kind === "jav" ? M2(i.props, r.signal) : a2(i.props, r.signal);- if (n !== X4 || J4?.request !== e) {+ let a = i.kind === "item" ? FM(i.props, r.signal) : i.kind === "jav" ? j2(i.props, r.signal) : i2(i.props, r.signal);+ if (n !== Y4 || q4?.request !== e) {await a.catch(() => {});return;}- let o = IDe(i);- J4 = {- ...J4,+ let o = RDe(i);+ q4 = {+ ...q4,phase: o ? "content" : "skeleton"- }, n3();- let s = e3();+ }, t3();+ let s = $4();if (!s) {await a.catch(() => {});return;}- o || Ts(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), t2(s);+ o || Ts(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), e2(s);try {await a;} catch {if (r.signal.aborted) return;}- if (n !== X4 || !J4 || o) return;+ if (n !== Y4 || !q4 || o) return;let c = !!s.querySelector(".skeleton-awaiting");- J4 = {- ...J4,+ q4 = {+ ...q4,phase: c ? "content" : "reveal"- }, n3(), c || PDe(s, n), hs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, t3(), c || IDe(s, n), hs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;(l === s || !s.contains(l)) && s.querySelector("#closeStage")?.focus();}-function IDe(e) {- if (e.kind === "jav") return !!H.getQueryData(A2(e.props.code));- if (e.kind === "follow") return !!H.getQueryData(n2(e.props.id));- let { queue: t, id: n } = e.props, r = t ? H.getQueryData(ZM(t)) : null;+function RDe(e) {+ if (e.kind === "jav") return !!U.getQueryData(k2(e.props.code));+ if (e.kind === "follow") return !!U.getQueryData(t2(e.props.id));+ let { queue: t, id: n } = e.props, r = t ? U.getQueryData(xM(t)) : null;if (t && !r) return !1;- let i = r ? lN(r, n) : n;- return i != null && !!H.getQueryData(XM(i));+ let i = r ? NM(r, n) : n;+ return i != null && !!U.getQueryData(bM(i));}-async function LDe(e, t) {- let n = ++X4;- Z4?.abort();+async function zDe(e, t) {+ let n = ++Y4;+ X4?.abort();let r = new AbortController();- Z4 = r, $4 = !1;- let i = s3(e);+ X4 = r, Q4 = !1;+ let i = o3(e);try {- i.kind === "item" ? await dN(i.props, r.signal) : i.kind === "jav" ? await M2(i.props, r.signal) : await a2(i.props, r.signal);+ i.kind === "item" ? await FM(i.props, r.signal) : i.kind === "jav" ? await j2(i.props, r.signal) : await i2(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== X4 || !J4 || c3(e.kind) !== t) return;- e.kind === "jav" ? B4() : O4(e.kind, e.id ?? NaN), cl(t), lj(), J4 = {- ...J4,+ if (n !== Y4 || !q4 || s3(e.kind) !== t) return;+ e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN), cl(t), ZA(), q4 = {+ ...q4,request: e,content: i,phase: "content"- }, n3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), hs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, t3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), hs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");let a = document.activeElement;(a === t || !t.contains(a)) && (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });}-function RDe() {- t2(null);- let e = e3();+function BDe() {+ e2(null);+ let e = $4();return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {let n = 0, r = () => {clearTimeout(n), e.removeEventListener("animationend", i), t();@@ -73099,85 +73102,85 @@ function RDe() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function l3({ miniplayer: e = !0 } = {}) {- if (X4++, Z4?.abort(), Z4 = null, D4(e), !J4) return;- let t = e3();- t && cl(t), lj(), t2(null), t?.open && t.close(), J4 = null, Q4 = !1, $4 = !1, n3(), w4(null), document.body.removeAttribute("data-detail-open");+function c3({ miniplayer: e = !0 } = {}) {+ if (Y4++, X4?.abort(), X4 = null, E4(e), !q4) return;+ let t = $4();+ t && cl(t), ZA(), e2(null), t?.open && t.close(), q4 = null, Z4 = !1, Q4 = !1, t3(), C4(null), document.body.removeAttribute("data-detail-open");}-function zDe(e) {- J4 && (J4 = {- ...J4,- content: J4.content.kind === "item" ? {+function VDe(e) {+ q4 && (q4 = {+ ...q4,+ content: q4.content.kind === "item" ? {kind: "item",props: {- ...J4.content.props,+ ...q4.content.props,...e}- } : J4.content.kind === "jav" ? J4.content : {+ } : q4.content.kind === "jav" ? q4.content : {kind: "follow",props: {- ...J4.content.props,+ ...q4.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, n3());+ }, t3());}-function BDe() {- let e = _De(), t = e?.kind === "item" ? e.item : null, n = t ? Ya(t, t3().player.settings().javImage) : "";+function HDe() {+ let e = yDe(), t = e?.kind === "item" ? e.item : null, n = t ? Ya(t, e3().player.settings().javImage) : "";if (!n) return;- let r = E4();+ let r = T4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var VDe = {- open: FDe,- update: zDe,- exit: RDe,- dispose: l3,- requestClose: a3,- repaintPoster: BDe,- isOpen: () => !!J4,- showing: () => J4 && c3(J4.content.kind) ? J4.content.kind : null,- activeVideo: () => xDe(),- mountWallPlayer: vDe,+var UDe = {+ open: LDe,+ update: VDe,+ exit: BDe,+ dispose: c3,+ requestClose: i3,+ repaintPoster: HDe,+ isOpen: () => !!q4,+ showing: () => q4 && s3(q4.content.kind) ? q4.content.kind : null,+ activeVideo: () => CDe(),+ mountWallPlayer: bDe,toggleTheater: () => {- J4 && Ij(!t3().player.settings().theaterMode);+ q4 && wj(!e3().player.settings().theaterMode);},- toggleMiniplayer: () => H4(),- closeMiniplayer: () => B4(),- miniplayerActive: () => A4(),- miniplayerTakesCard: (e) => W4(e),+ toggleMiniplayer: () => V4(),+ closeMiniplayer: () => z4(),+ miniplayerActive: () => k4(),+ miniplayerTakesCard: (e) => U4(e),miniplayerPlay: (e) => {- TDe(e);+ DDe(e);}};-function HDe(e) {- return q4 = e, gDe(e, {- isOpen: () => !!J4,- requestClose: a3- }), VDe;+function WDe(e) {+ return K4 = e, vDe(e, {+ isOpen: () => !!q4,+ requestClose: i3+ }), UDe;}-function UDe() {- let e = (0, D.useSyncExternalStore)(ADe, () => J4);- return q4 ? /* @__PURE__ */ (0, O.jsx)(MDe, { view: e }) : null;+function GDe() {+ let e = (0, D.useSyncExternalStore)(MDe, () => q4);+ return K4 ? /* @__PURE__ */ (0, O.jsx)(PDe, { view: e }) : null;}//#endregion//#region src/react/stats/stats.ts-var WDe = "/api/stats", u3 = ["stats"], d3 = (e) => B(WDe, e);-async function GDe(e) {- await H.fetchQuery({- queryKey: u3,- queryFn: () => d3(e)- });-}-var f3 = (e) => e != null && Number.isFinite(e), KDe = (e) => f3(e) ? e.toLocaleString() : "未取得", qDe = (e, t) => f3(e) && f3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, JDe = (e, t) => {- let n = qDe(e, t);- return !n && f3(e) && e > 0 && f3(t) && t > 0 ? "<1%" : `${n}%`;-}, p3 = (e) => {- if (!f3(e)) return "未取得";+var KDe = "/api/stats", l3 = ["stats"], u3 = (e) => V(KDe, e);+async function qDe(e) {+ await U.fetchQuery({+ queryKey: l3,+ queryFn: () => u3(e)+ });+}+var d3 = (e) => e != null && Number.isFinite(e), JDe = (e) => d3(e) ? e.toLocaleString() : "未取得", YDe = (e, t) => d3(e) && d3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, XDe = (e, t) => {+ let n = YDe(e, t);+ return !n && d3(e) && e > 0 && d3(t) && t > 0 ? "<1%" : `${n}%`;+}, f3 = (e) => {+ if (!d3(e)) return "未取得";let t = Math.max(0, e);return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;-}, m3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, h3 = (e) => (e.max_reached || 0) * 100, YDe = (e) => e.kind === "online" ? "在线直接观看" : m3(e) < h3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", XDe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function ZDe(e, t = 6) {+}, p3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, m3 = (e) => (e.max_reached || 0) * 100, ZDe = (e) => e.kind === "online" ? "在线直接观看" : p3(e) < m3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", QDe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function $De(e, t = 6) {let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (n.length <= t) return n;let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);@@ -73187,7 +73190,7 @@ function ZDe(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var QDe = (e) => Math.max(1, ...e) * 1.1, $De = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, eOe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), tOe = {+var eOe = (e) => Math.max(1, ...e) * 1.1, tOe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, nOe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), rOe = {video: "视频",image: "图片",illustration: "插画",@@ -73195,18 +73198,18 @@ var QDe = (e) => Math.max(1, ...e) * 1.1, $De = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, nOe = (e) => e.map((e) => ({- name: tOe[e.k] ?? e.k,+}, iOe = (e) => e.map((e) => ({+ name: rOe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), rOe = {+})).sort((e, t) => t.value - e.value), aOe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, g3 = (e, t = {}) => e.map((e) => ({+}, h3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), iOe = (e) => g3(e, rOe), aOe = [+})), oOe = (e) => h3(e, aOe), sOe = [[1,1,@@ -73242,13 +73245,13 @@ var QDe = (e) => Math.max(1, ...e) * 1.1, $De = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], oOe = (e) => aOe.map(([t, n, r]) => ({+], cOe = (e) => sOe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)}));//#endregion//#region node_modules/d3-array/src/max.js-function _3(e, t) {+function g3(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);else {@@ -73259,7 +73262,7 @@ function _3(e, t) {}//#endregion//#region node_modules/d3-array/src/min.js-function v3(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 {@@ -73270,7 +73273,7 @@ function v3(e, t) {}//#endregion//#region node_modules/d3-array/src/sum.js-function y3(e, t) {+function v3(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -73281,66 +73284,66 @@ function y3(e, t) {}//#endregion//#region node_modules/d3-sankey/src/align.js-function sOe(e, t) {+function lOe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}//#endregion//#region node_modules/d3-sankey/src/constant.js-function b3(e) {+function y3(e) {return function() {return e;};}//#endregion//#region 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 C3(e.source, t.source) || e.index - t.index;+ return S3(e.target, t.target) || 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 w3(e) {+function C3(e) {return e.value;}-function cOe(e) {+function uOe(e) {return e.index;}-function lOe(e) {+function dOe(e) {return e.nodes;}-function uOe(e) {+function fOe(e) {return e.links;}-function T3(e, t) {+function w3(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function E3({ nodes: e }) {+function T3({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function dOe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = cOe, c = sOe, l, u, d = lOe, f = uOe, p = 6;+function pOe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = uOe, c = lOe, l, u, d = dOe, f = fOe, p = 6;function m() {let e = {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), E3(e), e;+ return h(e), g(e), _(e), v(e), x(e), T3(e), e;}m.update = function(e) {- return E3(e), e;+ return T3(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : b3(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : y3(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : b3(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : y3(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -73348,9 +73351,9 @@ function dOe() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : b3(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : y3(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : b3(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : y3(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -73366,12 +73369,12 @@ function dOe() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = 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);+ typeof t != "object" && (t = r.source = w3(n, t)), typeof i != "object" && (i = r.target = w3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);}if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);}function g({ nodes: e }) {- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(y3(t.sourceLinks, w3), y3(t.targetLinks, w3)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(v3(t.sourceLinks, C3), v3(t.targetLinks, C3)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -73396,7 +73399,7 @@ function dOe() {}}function y({ nodes: t }) {- let r = _3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = g3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);for (let n of t) {let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];@@ -73405,7 +73408,7 @@ function dOe() {return o;}function b(e) {- let n = v3(e, (e) => (r - t - (e.length - 1) * o) / y3(e, w3));+ let n = _3(e, (e) => (r - t - (e.length - 1) * o) / v3(e, C3));for (let i of e) {let e = t;for (let t of i) {@@ -73422,7 +73425,7 @@ function dOe() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (_3(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (g3(n, (e) => e.length) - 1)), b(n);for (let e = 0; e < p; ++e) {let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);C(n, t, r), S(n, t, r);@@ -73441,7 +73444,7 @@ function dOe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(C3), w(i, n);+ l === void 0 && i.sort(S3), w(i, n);}}function C(e, t, n) {@@ -73457,7 +73460,7 @@ function dOe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(C3), w(i, n);+ l === void 0 && i.sort(S3), w(i, n);}}function w(e, n) {@@ -73478,12 +73481,12 @@ function dOe() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(S3);- for (let { target: { targetLinks: t } } of e) t.sort(x3);+ for (let { source: { sourceLinks: e } } of t) e.sort(x3);+ for (let { target: { targetLinks: t } } of e) t.sort(b3);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(S3), n.sort(x3);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(x3), n.sort(b3);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -73513,15 +73516,15 @@ function dOe() {}//#endregion//#region node_modules/d3-path/src/path.js-var D3 = Math.PI, O3 = 2 * D3, k3 = 1e-6, fOe = O3 - k3;-function A3() {+var E3 = Math.PI, D3 = 2 * E3, O3 = 1e-6, mOe = D3 - O3;+function k3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function j3() {- return new A3();+function A3() {+ return new k3();}-A3.prototype = j3.prototype = {- constructor: A3,+k3.prototype = A3.prototype = {+ constructor: k3,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -73542,11 +73545,11 @@ A3.prototype = j3.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 > k3) {- if (!(Math.abs(u * s - c * l) > k3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > O3) {+ if (!(Math.abs(u * s - c * l) > O3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);else {- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((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);+ 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);}}},@@ -73554,7 +73557,7 @@ A3.prototype = j3.prototype = {e = +e, t = +t, n = +n, a = !!a;var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;if (n < 0) throw Error("negative radius: " + n);- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > k3 || Math.abs(this._y1 - l) > k3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % O3 + O3), d > fOe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > k3 && (this._ += "A" + n + "," + n + ",0," + +(d >= D3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > O3 || Math.abs(this._y1 - l) > O3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % D3 + D3), d > mOe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > O3 && (this._ += "A" + n + "," + n + ",0," + +(d >= E3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));},rect: function(e, t, n, r) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";@@ -73565,98 +73568,98 @@ A3.prototype = j3.prototype = {};//#endregion//#region node_modules/d3-shape/src/constant.js-function M3(e) {+function j3(e) {return function() {return e;};}//#endregion//#region node_modules/d3-shape/src/point.js-function pOe(e) {+function hOe(e) {return e[0];}-function mOe(e) {+function gOe(e) {return e[1];}//#endregion//#region node_modules/d3-shape/src/array.js-var hOe = Array.prototype.slice;+var _Oe = Array.prototype.slice;//#endregion//#region node_modules/d3-shape/src/link/index.js-function gOe(e) {+function vOe(e) {return e.source;}-function _Oe(e) {+function yOe(e) {return e.target;}-function vOe(e) {- var t = gOe, n = _Oe, r = pOe, i = mOe, a = null;+function bOe(e) {+ var t = vOe, n = yOe, r = hOe, i = gOe, a = null;function o() {- var o, s = hOe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = j3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ var o, s = _Oe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = A3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;}return o.source = function(e) {return arguments.length ? (t = e, o) : t;}, o.target = function(e) {return arguments.length ? (n = e, o) : n;}, o.x = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : M3(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : j3(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : M3(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : j3(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function yOe(e, t, n, r, i) {+function xOe(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function bOe() {- return vOe(yOe);+function SOe() {+ return bOe(xOe);}//#endregion//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function xOe(e) {+function COe(e) {return [e.source.x1, e.y0];}-function SOe(e) {+function wOe(e) {return [e.target.x0, e.y1];}-function COe() {- return bOe().source(xOe).target(SOe);+function TOe() {+ return SOe().source(COe).target(wOe);}//#endregion//#region src/react/taste/taste.ts-var wOe = "/api/taste", N3 = "/api/taste/refresh", TOe = "/api/taste/import", P3 = "/api/taste/source", F3 = (e) => ["taste", e], EOe = ["taste", "refresh"], DOe = [+var EOe = "/api/taste", M3 = "/api/taste/refresh", DOe = "/api/taste/import", N3 = "/api/taste/source", P3 = (e) => ["taste", e], OOe = ["taste", "refresh"], kOe = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], OOe = 2e3, kOe = (e) => e?.stale && !e.error ? OOe : !1, AOe = (e) => e ? new Date(e).toLocaleString("zh-CN", {+], AOe = 2e3, jOe = (e) => e?.stale && !e.error ? AOe : !1, MOe = (e) => e ? new Date(e).toLocaleString("zh-CN", {month: "numeric",day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", jOe = (e, t) => V(P3, {+}) : "—", NOe = (e, t) => H(N3, {...e,window: t-}), I3 = (e, t, n = !1) => B(`${wOe}?window=${e}${n ? "&retry=1" : ""}`, t), MOe = (e) => B(N3, e);-async function NOe(e, t) {- await H.fetchQuery({- queryKey: F3(e),- queryFn: () => I3(e, t)+}), F3 = (e, t, n = !1) => V(`${EOe}?window=${e}${n ? "&retry=1" : ""}`, t), POe = (e) => V(M3, e);+async function FOe(e, t) {+ await U.fetchQuery({+ queryKey: P3(e),+ queryFn: () => F3(e, t)});}-var POe = (e) => V(N3, {+var IOe = (e) => H(M3, {window: e,background: !0-}), FOe = (e, t) => V(P3, {+}), LOe = (e, t) => H(N3, {operation: "remove",source_key: e,window: t});-async function IOe(e) {- let t = await fetch(TOe, {+async function ROe(e) {+ let t = await fetch(DOe, {method: "POST",credentials: "same-origin",headers: {@@ -73670,56 +73673,56 @@ async function IOe(e) {} catch {}if (!t.ok) {let e = n?.error;- throw new kn(e || `导入失败(${t.status})`, t.status, n);+ throw new On(e || `导入失败(${t.status})`, t.status, n);}return n;}-var LOe = 1e4, L3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function ROe(e) {+var zOe = 1e4, I3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function BOe(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"- }) : L3(e);+ }) : I3(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var zOe = p3, BOe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), VOe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function HOe(e) {+var VOe = f3, HOe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), UOe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function WOe(e) {if (e.web_visits == null && !e.web_bookmarks) return Number(e.score || e.visits || 0).toLocaleString();let t = [], n = Number(e.web_bookmarks || 0), r = Number(e.web_visits ?? e.visits ?? 0) - n;return r > 0 && t.push(`浏览 ${r.toLocaleString()}`), n && t.push(`书签 ${n.toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");}-function UOe(e) {- let t = e.map(VOe), n = Math.max(1, ...t);+function GOe(e) {+ let t = e.map(UOe), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var R3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var L3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({name: e.name,value: Number(e.score)})).sort((e, t) => t.value - e.value).slice(0, t);-function WOe(e) {- let t = R3(e, 6);+function KOe(e) {+ let t = L3(e, 6);return t.length < 3 ? [] : t;}-var z3 = {+var R3 = {width: 720,height: 435-}, GOe = {+}, qOe = {source: 145,target: 545-}, B3 = 30, KOe = 240;-function V3(e, t, n) {+}, z3 = 30, JOe = 240;+function B3(e, t, n) {let r = /* @__PURE__ */ new Map();for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);if (r.size <= 12) return (e) => e;let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);return (e) => a.has(e) ? e : o;}-function qOe(e = []) {+function YOe(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = V3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = V3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = B3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = B3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();for (let e of t) {let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);s ? s.value += e.value : i.set(o, {@@ -73728,7 +73731,7 @@ function qOe(e = []) {value: e.value});}- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * B3 + KOe), u = dOe().nodeId((e) => e.id).nodeWidth(10).nodePadding(B3).extent([[155, 16], [535, l]])({+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * z3 + JOe), u = pOe().nodeId((e) => e.id).nodeWidth(10).nodePadding(z3).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -73743,7 +73746,7 @@ function qOe(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = COe();+ }), d = a.reduce((e, t) => e + t.value, 0), f = TOe();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -73771,16 +73774,16 @@ function qOe(e = []) {};}),total: d,- height: l + z3.height - 404+ height: l + R3.height - 404};}-var JOe = (e) => Cn(e, 17), H3 = {+var XOe = (e) => Sn(e, 17), V3 = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, YOe = [[+}, ZOe = [["big","大图 · 竖幅头像","maximize"@@ -73788,7 +73791,7 @@ var JOe = (e) => Cn(e, 17), H3 = {"compact","紧凑 · 圆形头像","layout-grid"-]], XOe = [[+]], QOe = [["big","大图 · 完整标识","maximize"@@ -73796,7 +73799,7 @@ var JOe = (e) => Cn(e, 17), H3 = {"compact","紧凑 · 圆形标识","layout-grid"-]], ZOe = [[+]], $Oe = [["studios","厂牌","clapperboard"@@ -73804,7 +73807,7 @@ var JOe = (e) => Cn(e, 17), H3 = {"agencies","事务所","briefcase"-]], QOe = [[+]], eke = [["local","本地","hard-drive"@@ -73812,7 +73815,7 @@ var JOe = (e) => Cn(e, 17), H3 = {"online","在线","rss"-]], $Oe = [+]], tke = [["performers","艺人",@@ -73828,7 +73831,7 @@ var JOe = (e) => Cn(e, 17), H3 = {"在线","rss"]-], eke = [[+], nke = [["cloud","标签云","tags"@@ -73836,8 +73839,8 @@ var JOe = (e) => Cn(e, 17), H3 = {"alphabet","字母表","text-aa"-]], U3 = (e) => e === "compact" ? "compact" : "big";-function W3(e, t) {+]], H3 = (e) => e === "compact" ? "compact" : "big";+function U3(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -73847,7 +73850,7 @@ function W3(e, t) {category: n.get("category") || "all"};}-var G3 = (e, t, n) => as(e.map(([e, t, n]) => ({+var W3 = (e, t, n) => as(e.map(([e, t, n]) => ({value: e,label: t,symbol: n@@ -73855,12 +73858,12 @@ var G3 = (e, t, n) => as(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), tke = (e) => `<div class="board-filter-frame" data-filter-frame>+}), rke = (e) => `<div class="board-filter-frame" data-filter-frame><div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div><div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>- ${dc("tag-view", "标签视图", eke, e)}</div></div>`;-function nke({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = H3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? dc("people-layout", o + "索引版式", c ? XOe : YOe, a) : "";+ ${dc("tag-view", "标签视图", nke, e)}</div></div>`;+function ike({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = V3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? dc("people-layout", o + "索引版式", c ? QOe : ZOe, 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}@@ -73872,27 +73875,27 @@ function nke({ kind: e, q: t, scope: n, view: r, category: i }, a) {}) : ""}<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Uo("", t, "过滤" + o)}</div></div>- ${e === "tags" ? G3(QOe, n, "词表") : e === "performers" || e === "creators" ? G3($Oe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? G3(ZOe, e, "公司类型") : ""}- ${e === "tags" ? tke(r) : ""}- ${e === "performers" && n !== "online" ? Sbe(i) : ""}+ ${e === "tags" ? W3(eke, n, "词表") : e === "performers" || e === "creators" ? W3(tke, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? W3($Oe, e, "公司类型") : ""}+ ${e === "tags" ? rke(r) : ""}+ ${e === "performers" && n !== "online" ? wbe(i) : ""}${vs({kind: e,layout: a,mode: r})}`;}-var rke = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function K3(e, t, n) {- let r = nke(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== rke(r) && (e.innerHTML = r, Ts(e));+var ake = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+function G3(e, t, n) {+ let r = ike(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== ake(r) && (e.innerHTML = r, Ts(e));}//#endregion//#region src/react/router/pages/index-entity.tsx-var ike = () => Hl, ake = () => Dl, q3 = () => document.getElementById("index");-function J3(e, t, n = {}) {- let r = (0, D.useSyncExternalStore)($l, ike);- eV();- let i = NV(fH.navigation.location.pathname), a = (0, D.useRef)({+var oke = () => Hl, ske = () => Dl, K3 = () => document.getElementById("index");+function q3(e, t, n = {}) {+ let r = (0, D.useSyncExternalStore)($l, oke);+ tV();+ let i = PV(pH.navigation.location.pathname), a = (0, D.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -73917,7 +73920,7 @@ function J3(e, t, n = {}) {let t = a.current;if (!t.mounted) return;let n = t.epoch !== e || t.opens !== Hl, r = t.opens !== Hl;- if (t.epoch = e, t.opens = Hl, NV(fH.navigation.location.pathname)) {+ if (t.epoch = e, t.opens = Hl, PV(pH.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -73938,13 +73941,13 @@ function J3(e, t, n = {}) {i]);}-async function oke(e, t, n, r) {- let i = q3();+async function cke(e, t, n, r) {+ let i = K3();if (!i) return;let a = `/${t}`;e.surfaceChanged("index", a);- let o = W3(t, n), s = U3(pA().value.peopleLayout);- K3(i, o, s), await tH(a, {+ let o = U3(t, n), s = H3(sA().value.peopleLayout);+ G3(i, o, s), await nH(a, {...o,layout: s,selectMode: Dl,@@ -73954,39 +73957,39 @@ async function oke(e, t, n, r) {isCurrent: r}) && r() && e.surfaceShown?.("index", a);}-function ske(e) {- let t = q3(), n = t ? ZV(t) : null;+function lke(e) {+ let t = K3(), n = t ? QV(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function cke({ epoch: e }) {- let t = (0, D.useContext)($U), n = eV(), r = n.pathname.split("/").filter(Boolean)[0];- return J3(e, (e, i) => {- t && oke(t, r, n.search, i);- }, { shown: () => ske(`/${r}`) }), null;+function uke({ epoch: e }) {+ let t = (0, D.useContext)(eW), n = tV(), r = n.pathname.split("/").filter(Boolean)[0];+ return q3(e, (e, i) => {+ t && cke(t, r, n.search, i);+ }, { shown: () => lke(`/${r}`) }), null;}-function lke() {- let e = QU(), t = (0, D.useSyncExternalStore)($l, ake), n = (0, D.useRef)(t);+function dke() {+ let e = $U(), t = (0, D.useSyncExternalStore)($l, ske), n = (0, D.useRef)(t);return (0, D.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && nH(q3(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, O.jsx)(cke, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && rH(K3(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, O.jsx)(uke, { epoch: e }, e);}-function Y3(e) {+function J3(e) {let t;try {t = decodeURIComponent(e);} catch {return null;}- let [n = "", ...r] = t.split("/").filter(Boolean), i = Object.hasOwn(en, n) ? en[n] : void 0, a = r.join("/");+ let [n = "", ...r] = t.split("/").filter(Boolean), i = Object.hasOwn($t, n) ? $t[n] : void 0, a = r.join("/");return i && a ? {segment: n,kind: i,name: a} : null;}-var X3 = /* @__PURE__ */ new WeakMap();-function uke(e) {- let t = X3.get(e);+var Y3 = /* @__PURE__ */ new WeakMap();+function fke(e) {+ let t = Y3.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -73996,14 +73999,14 @@ function uke(e) {...e.grid.actions,revealSource: e.revealSource}- }, X3.set(e, t)), t;+ }, Y3.set(e, t)), t;}-function Z3() {- let e = q3(), t = e ? ZV(e) : null;+function X3() {+ let e = K3(), t = e ? QV(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function dke(e, t, n, r, i, a, o) {- let s = q3();+async function pke(e, t, n, r, i, a, o) {+ let s = K3();if (!s) return;let { segment: c, kind: l, name: u } = n;if (e.surfaceChanged("entity", r), await t.loading(l, u, a), !a()) return;@@ -74017,7 +74020,7 @@ async function dke(e, t, n, r, i, a, o) {}, h = t.props(l, u, i), g = {...h,hosts: m,- card: uke(e),+ card: fke(e),resolvedEntity: o,actions: {...h.actions,@@ -74026,36 +74029,36 @@ async function dke(e, t, n, r, i, a, o) {}}};- await tH(`/${c}/*`, g, {+ await nH(`/${c}/*`, g, {container: s,isCurrent: a,place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && Z3() && (e.surfaceShown?.("entity", r), window.scrollTo({+ }) && a() && X3() && (e.surfaceShown?.("entity", r), window.scrollTo({top: 0,behavior: "smooth"}));}-function fke({ target: e }) {- let t = (0, D.useContext)($U), n = QU(), r = eV();- return J3(n, (n, i) => {+function mke({ target: e }) {+ let t = (0, D.useContext)(eW), n = $U(), r = tV();+ return q3(n, (n, i) => {let a = t?.entity;t && a && (async () => {let o = new URLSearchParams({ kind: e.kind });o.set(/^[0-9]+$/.test(e.name) ? "id" : "name", e.name);- let s = await H.fetchQuery({+ let s = await U.fetchQuery({queryKey: ["entity-route",e.kind,e.name],- queryFn: ({ signal: e }) => B(`/api/entity?${o}`, e),+ queryFn: ({ signal: e }) => V(`/api/entity?${o}`, e),staleTime: 0}).catch(() => null);if (!i()) return;if (s?.redirect) {- pH(tn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {+ mH(en(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {replace: !0,- state: fH.navigation.location.state+ state: pH.navigation.location.state});return;}@@ -74063,24 +74066,24 @@ function fke({ target: e }) {a.missing(e.kind);return;}- let c = String(s.canonical_name || e.name), l = tn(e.kind, c, Number(s.id));- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && dke(t, a, {+ let c = String(s.canonical_name || e.name), l = en(e.kind, c, Number(s.id));+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && pke(t, a, {...e,name: c- }, r.pathname, r.search, i, s) : pH(l + r.search + r.hash, {+ }, r.pathname, r.search, i, s) : mH(l + r.search + r.hash, {replace: !0,- state: fH.navigation.location.state+ state: pH.navigation.location.state});})();- }, { shown: () => Z3() && !q3()?.hidden }), null;+ }, { shown: () => X3() && !K3()?.hidden }), null;}-function pke() {- let e = Y3(eV().pathname);- return e ? /* @__PURE__ */ (0, O.jsx)(fke, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function hke() {+ let e = J3(tV().pathname);+ return e ? /* @__PURE__ */ (0, O.jsx)(mke, { target: e }, JSON.stringify([e.kind, e.name])) : null;}//#endregion//#region src/react/jav/jav-header.tsx-function Q3({ tab: e, navigate: t, find: n }) {+function Z3({ tab: e, navigate: t, find: n }) {return /* @__PURE__ */ (0, O.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, O.jsxs)("div", {@@ -74094,25 +74097,25 @@ function Q3({ tab: e, navigate: t, find: n }) {onClick: n,children: "查找资源"})]- }), /* @__PURE__ */ (0, O.jsx)(O$, {- tabs: u1.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, O.jsx)(D$, {+ tabs: l1.map(([e, t]) => ({value: e,label: t})),value: e,label: "JAV 分区",className: "",- onChange: (e) => t(MCe(e))+ onChange: (e) => t(PCe(e))})]});}-function mke({ navigate: e, receipt: t }) {+function gke({ navigate: e, receipt: t }) {let [n, r] = (0, D.useState)(null);- return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Q3, {+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Z3, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, O.jsx)(Y2, {+ }), /* @__PURE__ */ (0, O.jsx)(J2, {prefill: n,close: () => r(null),receipt: t@@ -74120,21 +74123,21 @@ function mke({ navigate: e, receipt: t }) {}//#endregion//#region src/react/router/pages/catalog.tsx-var hke = () => Hl, $3 = fH.navigation.seq, e6 = fH.navigation.openEpoch, t6 = fH.navigation.location.pathname, n6 = {- seq: $3,+var _ke = () => Hl, Q3 = pH.navigation.seq, $3 = pH.navigation.openEpoch, e6 = pH.navigation.location.pathname, t6 = {+ seq: Q3,claimed: !0,- from: t6+ from: e6};-fH.listen((e) => {- n6 = {+pH.listen((e) => {+ t6 = {seq: e.seq,- claimed: e.openEpoch === e6,- from: t6- }, e6 = e.openEpoch, t6 = e.location.pathname;+ claimed: e.openEpoch === $3,+ from: e6+ }, $3 = e.openEpoch, e6 = e.location.pathname;});-var r6 = !1;-function i6(e) {- let { seq: t, openEpoch: n, location: r } = fH.navigation, i = NV(r.pathname), a = hH() ?? r, o = U ?? {};+var n6 = !1;+function r6(e) {+ let { seq: t, openEpoch: n, location: r } = pH.navigation, i = PV(r.pathname), a = gH() ?? r, o = W ?? {};return {seq: t,epoch: n,@@ -74145,8 +74148,8 @@ function i6(e) {opened: e};}-function gke(e, t, n, r) {- let i = { ...U };+function vke(e, t, n, r) {+ let i = { ...W };if (e === "/trash") return {...i,creator: "",@@ -74156,22 +74159,22 @@ function gke(e, t, n, r) {state: "trash",q: ""};- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = pA().value;+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = sA().value;return {...i,loc: a.get("loc") ?? r.defaultLoc(),creator: a.get("creator") || "",studio: a.get("studio") || "",owner: a.get("owner") === "none" ? "none" : "",- tag: On(a.get("tag")),+ tag: Dn(a.get("tag")),tag_match: a.get("tag_match") === "any" ? "any" : "all",len: a.get("len") || "",dur_min: a.get("dur_min") || "",dur_max: a.get("dur_max") || "",orient: a.get("orient") || "",- state: Xt[e] || a.get("state") || "",- ...qk(a.get("sort"), a.get("dir"), o, s),- seed: a.get("seed") || (n ? En() : i.seed || En()),+ state: Yt[e] || a.get("state") || "",+ ...Hk(a.get("sort"), a.get("dir"), o, s),+ seed: a.get("seed") || (n ? Tn() : i.seed || Tn()),q: a.get("q") || "",jav: a.get("jav") || "",performer: a.get("performer") || "",@@ -74181,13 +74184,13 @@ function gke(e, t, n, r) {folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""};}-function _ke(e, t) {- let n = { ...e }, r = i6(n.opened);+function yke(e, t) {+ let n = { ...e }, r = r6(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;if (r.covered) {- hH() || i.fill();+ gH() || i.fill();return;}let a = !1;@@ -74197,41 +74200,41 @@ function _ke(e, t) {i.load();return;}- r.epoch !== n.epoch && (a = fH.navigation.action === "POP" && n6.from !== "/");+ r.epoch !== n.epoch && (a = pH.navigation.action === "POP" && t6.from !== "/");}- let { pathname: o, search: s } = fH.navigation.location;+ let { pathname: o, search: s } = pH.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = X$(s);- r6 = !0, pH(Z$(e, t), { replace: !0 });+ let { kind: e, view: t } = Y$(s);+ n6 = !0, mH(X$(e, t), { replace: !0 });return;}- let c = r6;- r6 = !1, a &&= o === "/", e.opened = !0, Zl({ state: gke(o, s, a, i) }), i.open(o, {+ let c = n6;+ n6 = !1, a &&= o === "/", e.opened = !0, Zl({ state: vke(o, s, a, i) }), i.open(o, {entering: a,retitle: c});}-function vke(e) {- return Qt(e) || e === "/trash" || NV(e) || e === "/immerse" || !!Y3(e);+function bke(e) {+ return Zt(e) || e === "/trash" || PV(e) || e === "/immerse" || !!J3(e);}-function yke() {- let e = (0, D.useContext)($U), t = QU(), n = (0, D.useSyncExternalStore)($l, hke), r = eV(), i = (0, D.useRef)(null), a = (0, D.useRef)({+function xke() {+ let e = (0, D.useContext)(eW), t = $U(), n = (0, D.useSyncExternalStore)($l, _ke), r = tV(), i = (0, D.useRef)(null), a = (0, D.useRef)({mounted: !0,queued: !1});return (0, D.useEffect)(() => {let t = a.current;t.mounted = !0;- let n = i6(!NV(fH.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, () => {+ let n = r6(!PV(pH.navigation.location.pathname));+ return !n.covered && n.opens > 0 && (n6 || t6.seq === Q3 ? n.opens = -1 : t6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {t.mounted = !1, queueMicrotask(() => {- e?.catalog && !vke(fH.navigation.location.pathname) && e.catalog.release();+ e?.catalog && !bke(pH.navigation.location.pathname) && e.catalog.release();});};}, []), (0, D.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && _ke(i.current, e);+ t.queued = !1, t.mounted && i.current && yke(i.current, e);}));}, [t,@@ -74240,8 +74243,8 @@ function yke() {e]), null;}-function a6() {- let { pathname: e, search: t } = eV();+function i6() {+ let { pathname: e, search: t } = tV();(0, D.useLayoutEffect)(() => {if (e !== "/wall") return;document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");@@ -74254,15 +74257,15 @@ function a6() {});};}, [e]);- let n = (0, D.useContext)($U), r = document.getElementById("javLibraryHeader"), i = Qt(e) && new URLSearchParams(t).get("jav") === "1";+ let n = (0, D.useContext)(eW), r = document.getElementById("javLibraryHeader"), i = Zt(e) && new URLSearchParams(t).get("jav") === "1";return (0, D.useLayoutEffect)(() => {if (r) return r.hidden = !i, () => {r.hidden = !0;};- }, [r, i]), NV(e) && !MV(e) ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [- /* @__PURE__ */ (0, O.jsx)(yke, {}, e === "/junk-files" ? "/junk-files" : "/"),- Qt(e) ? /* @__PURE__ */ (0, O.jsx)(sW, {}) : null,- i && r && n ? (0, Et.createPortal)(/* @__PURE__ */ (0, O.jsx)(mke, {+ }, [r, i]), PV(e) && !NV(e) ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [+ /* @__PURE__ */ (0, O.jsx)(xke, {}, e === "/junk-files" ? "/junk-files" : "/"),+ Zt(e) ? /* @__PURE__ */ (0, O.jsx)(cW, {}) : null,+ i && r && n ? (0, Tt.createPortal)(/* @__PURE__ */ (0, O.jsx)(gke, {navigate: n.navigate,receipt: (e) => n.receipt(e)}), r) : null@@ -74270,21 +74273,21 @@ function a6() {}//#endregion//#region src/react/router/pages/follow.tsx-var o6 = () => document.getElementById("stats"), bke = () => Jl;-function xke(e) {+var a6 = () => document.getElementById("stats"), Ske = () => Jl;+function Cke(e) {let t = document.createElement("div");return t.className = "peach-react", gs(e, () => {e.textContent = "", e.append(t);}), t;}-async function Ske(e, t) {- let n = o6(), r = e.follow;+async function wke(e, t) {+ let n = a6(), r = e.follow;if (!n || !r || r.refresh()) return;let i = ql;- e.surfaceChanged("follow", "/follow"), m2(n, r.skeleton()), await tH("/follow", r.props(), {+ e.surfaceChanged("follow", "/follow"), p2(n, r.skeleton()), await nH("/follow", r.props(), {container: n,isCurrent: t,- place: xke+ place: Cke}), t() && window.scrollTo(i ? {top: i,behavior: "instant"@@ -74293,32 +74296,32 @@ async function Ske(e, t) {behavior: "smooth"});}-function Cke() {- let e = o6(), t = e ? ZV(e) : null;+function Tke() {+ let e = a6(), t = e ? QV(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function wke() {- let e = (0, D.useContext)($U);- return J3(QU(), (t, n) => {- e && Ske(e, n);+function Eke() {+ let e = (0, D.useContext)(eW);+ return q3($U(), (t, n) => {+ e && wke(e, n);}, {- shown: Cke,+ shown: Tke,onCovered: () => {- fH.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();+ pH.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}-function s6(e) {- let t = e ? ZV(e) : null;+function o6(e) {+ let t = e ? QV(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function Tke(e, t) {- let n = o6();- n && (e.surfaceChanged("playlists", "/playlists"), m2(n, f2("/playlists", {+async function Dke(e, t) {+ let n = a6();+ n && (e.surfaceChanged("playlists", "/playlists"), p2(n, d2("/playlists", {followLayout: "",followSort: "",followDir: ""- })), await tH("/playlists", { revision: Jl }, {+ })), await nH("/playlists", { revision: Jl }, {container: n,isCurrent: t}), t() && window.scrollTo({@@ -74326,39 +74329,39 @@ async function Tke(e, t) {behavior: "smooth"}));}-function Eke() {- let e = (0, D.useContext)($U), t = (0, D.useSyncExternalStore)($l, bke), n = (0, D.useRef)(t);+function Oke() {+ let e = (0, D.useContext)(eW), t = (0, D.useSyncExternalStore)($l, Ske), n = (0, D.useRef)(t);return (0, D.useEffect)(() => {if (n.current === t) return;n.current = t;- let e = o6();- s6(e) && nH(e, { revision: t });- }, [t]), J3(QU(), (t, n) => {- e && Tke(e, n);+ let e = a6();+ o6(e) && rH(e, { revision: t });+ }, [t]), q3($U(), (t, n) => {+ e && Dke(e, n);}, { shown: () => {- let e = o6();- return s6(e) && !e.hidden;+ let e = a6();+ return o6(e) && !e.hidden;} }), null;}//#endregion//#region src/react/router/pages/immerse.tsx-function Dke() {- let e = new URLSearchParams(fH.navigation.location.search).get("id");+function kke() {+ let e = new URLSearchParams(pH.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function Oke() {- let e = (0, D.useContext)($U);- return XU(() => {- e?.openImmerse(Dke());+function Ake() {+ let e = (0, D.useContext)(eW);+ return ZU(() => {+ e?.openImmerse(kke());}, !0), null;}-function kke() {- return /* @__PURE__ */ (0, O.jsx)(Oke, {}, QU());+function jke() {+ return /* @__PURE__ */ (0, O.jsx)(Ake, {}, $U());}//#endregion//#region src/ui-kit/anchor-scroll.ts-var c6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";-async function l6(e, t) {+var s6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";+async function c6(e, t) {let n;try {n = decodeURIComponent(e.slice(1));@@ -74373,42 +74376,42 @@ async function l6(e, t) {let r = document.getElementById(n);r?.getClientRects().length && r.scrollIntoView({block: "start",- behavior: c6()+ behavior: s6()});}//#endregion//#region src/react/router/pages/managed.tsx-var Ake = [+var Mke = ["list","add","feeds"-], jke = () => Hl > 0, u6 = () => (0, D.useSyncExternalStore)($l, jke), d6 = () => pA().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);-function Mke(e) {- let t = f6();- return f2(e, {- followLayout: d6(),+], Nke = () => Hl > 0, l6 = () => (0, D.useSyncExternalStore)($l, Nke), u6 = () => sA().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);+function Pke(e) {+ let t = d6();+ return d2(e, {+ followLayout: u6(),followSort: t.get("sort") || "",followDir: t.get("dir") || ""});}-function p6(e) {- return R("/healthz", { signal: e.controller.signal }).catch((e) => {- if (qt(e)) return null;+function f6(e) {+ return z("/healthz", { signal: e.controller.signal }).catch((e) => {+ if (Kt(e)) return null;throw e;});}-function m6(e, t) {+function p6(e, t) {return {readOnly: !!e?.ledger_read_only,readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""};}-async function Nke(e, t) {+async function Fke(e, t) {if (e === "/jav") {- let e = await p6(t);+ let e = await f6(t);return t.live ? {- tab: d1(f6().get("tab")),+ tab: u1(d6().get("tab")),readOnly: !!e?.ledger_read_only} : null;}@@ -74419,40 +74422,40 @@ async function Nke(e, t) {}if (e.startsWith("/settings/")) {window.location.hash === "#peachProxy" && Zl({ configurationRequestedSection: "网络与访问" });- let t = f6().get("section") || zl || wV(e);+ let t = d6().get("section") || zl || TV(e);return t ? { section: t } : {};}if (e === "/review") {- let e = f6().get("category") || "", n = await p6(t);+ let e = d6().get("category") || "", n = await f6(t);return t.live ? {category: DX(e) ? e : "",- ...m6(n, "/review")+ ...p6(n, "/review")} : null;}if (e === "/subscriptions") {- let e = f6(), n = e.get("tab") || "", r = {- tab: Ake.includes(n) ? n : "list",+ let e = d6(), n = e.get("tab") || "", r = {+ tab: Mke.includes(n) ? n : "list",page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),sort: e.get("sort") || "",dir: e.get("dir") || ""- }, i = await p6(t);+ }, i = await f6(t);if (!t.live) return null;- let a = pA().value;+ let a = sA().value;return {...r,pageSize: Number(a.followPageSize) || 20,- layout: d6(),- ...m6(i, "/subscriptions")+ layout: u6(),+ ...p6(i, "/subscriptions")};}return {};}-var Pke = () => {+var Ike = () => {window.scrollTo({top: 0,- behavior: c6()+ behavior: s6()});-}, Fke = /* @__PURE__ */ new Set([+}, Lke = /* @__PURE__ */ new Set(["/stats","/taste","/review",@@ -74460,18 +74463,18 @@ var Pke = () => {"/tasks","/subscriptions"]);-async function Ike(e, t, n) {- let r = fH.navigation.seq, i = () => n.live && fH.navigation.seq === r;- if (e === "/jav" && d1(f6().get("tab")) === "library") {- fH.replace(NCe(window.location.search));+async function Rke(e, t, n) {+ let r = pH.navigation.seq, i = () => n.live && pH.navigation.seq === r;+ if (e === "/jav" && u1(d6().get("tab")) === "library") {+ pH.replace(FCe(window.location.search));return;}- if (e === "/subscriptions" && f6().get("tab") === "wants") {- pH("/jav?tab=wants", { replace: !0 });+ if (e === "/subscriptions" && d6().get("tab") === "wants") {+ mH("/jav?tab=wants", { replace: !0 });return;}- if (e === "/subscriptions" && f6().get("tab") === "source") {- pH("/settings/subscriptions", { replace: !0 });+ if (e === "/subscriptions" && d6().get("tab") === "source") {+ mH("/settings/subscriptions", { replace: !0 });return;}let a = document.getElementById("stats");@@ -74480,7 +74483,7 @@ async function Ike(e, t, n) {top: 0,behavior: "instant"}), t.surfaceChanged("management", e), e === "/taste" && (Zl({ state: {- ...U,+ ...W,creator: "",studio: "",tag: "",@@ -74493,38 +74496,38 @@ async function Ike(e, t, n) {state: "",q: "",jav: ""- } }), t.clearSearch()), m2(a, Mke(e));- let o = await Nke(e, n);+ } }), t.clearSearch()), p2(a, Pke(e));+ let o = await Fke(e, n);if (!o) return;- let s = await tH(e, o, {+ let s = await nH(e, o, {container: a,isCurrent: () => n.live});- if (s && (n.revision = ZV(a)?.revision ?? 0), e.startsWith("/settings/") && s && Zl({ configurationRequestedSection: "" }), s && i()) {+ if (s && (n.revision = QV(a)?.revision ?? 0), e.startsWith("/settings/") && s && Zl({ configurationRequestedSection: "" }), s && i()) {let { hash: t } = window.location;e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {- i() && pH("/data-cleanup#libraryProcessing", {+ i() && mH("/data-cleanup#libraryProcessing", {replace: !0,state: null});- }) : t ? l6(t, i) : (Fke.has(e) || e === "/settings/library") && Pke();+ }) : t ? c6(t, i) : (Lke.has(e) || e === "/settings/library") && Ike();}}-function h6({ path: e }) {- let t = QU();- eV();- let n = NV(fH.navigation.location.pathname), r = (0, D.useRef)(n ? null : t), i = (0, D.useRef)(n);+function m6({ path: e }) {+ let t = $U();+ tV();+ let n = PV(pH.navigation.location.pathname), r = (0, D.useRef)(n ? null : t), i = (0, D.useRef)(n);!n && (!i.current || r.current === null) && (r.current = t), i.current = n;let a = e.startsWith("/settings/") ? "/settings/configuration" : e;- return /* @__PURE__ */ (0, O.jsx)(Lke, {+ return /* @__PURE__ */ (0, O.jsx)(zke, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function Lke({ path: e, covered: t }) {- let n = (0, D.useContext)($U), r = u6(), i = (0, D.useRef)(null);+function zke({ path: e, covered: t }) {+ let n = (0, D.useContext)(eW), r = l6(), i = (0, D.useRef)(null);return (0, D.useEffect)(() => {- e.startsWith("/settings/") && nH(document.getElementById("stats"), { section: wV(e) });+ e.startsWith("/settings/") && rH(document.getElementById("stats"), { section: TV(e) });}, [e]), (0, D.useEffect)(() => {if (t || !n || !r || i.current) return;let a = {@@ -74533,7 +74536,7 @@ function Lke({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && Ike(e, n, a);+ a.live && Rke(e, n, a);});}, [r]), (0, D.useEffect)(() => () => {let e = i.current;@@ -74541,18 +74544,18 @@ function Lke({ path: e, covered: t }) {e.live = !1, e.controller.abort();let t = document.getElementById("stats");queueMicrotask(() => {- t && e.revision && !t.hidden && ZV(t)?.revision === e.revision && rH(t);+ t && e.revision && !t.hidden && QV(t)?.revision === e.revision && iH(t);});}, []), null;}-function Rke() {- let e = u6(), t = (0, D.useRef)(!1);+function Bke() {+ let e = l6(), t = (0, D.useRef)(!1);return (0, D.useEffect)(() => {- if (!e || t.current || NV(fH.navigation.location.pathname)) return;+ if (!e || t.current || PV(pH.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {- n && pH("/data-cleanup#resource-sync", { replace: !0 });+ n && mH("/data-cleanup#resource-sync", { replace: !0 });}), () => {n = !1;};@@ -74560,24 +74563,24 @@ function Rke() {}//#endregion//#region src/react/router/route-chunk.ts-var g6 = [], _6 = "peach.chunkReloadAt", zke = 3e4;-async function Bke() {+var h6 = [], g6 = "peach.chunkReloadAt", Vke = 3e4;+async function Hke() {try {- let e = Number(sessionStorage.getItem(_6) || 0);- if (Date.now() - e < zke || !(await fetch("/healthz", {+ let e = Number(sessionStorage.getItem(g6) || 0);+ if (Date.now() - e < Vke || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;- sessionStorage.setItem(_6, String(Date.now())), location.reload();+ sessionStorage.setItem(g6, String(Date.now())), location.reload();} catch {}}-function v6(e) {+function _6(e) {let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {throw n = null, e;});- return g6.push(r), {+ return h6.push(r), {preload: () => r().catch(async (e) => {- throw await Bke(), e;+ throw await Hke(), e;}),get: () => {if (!t) throw Error("页面代码还没装载");@@ -74585,10 +74588,10 @@ function v6(e) {}};}-function Vke() {+function Uke() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;- let t = [...g6], n = () => {+ let t = [...h6], n = () => {let r = t.shift();r && e(() => {r().catch(() => {}).finally(n);@@ -74598,31 +74601,31 @@ function Vke() {}//#endregion//#region src/react/router/managed-routes.tsx-async function y6(e, t) {+async function v6(e, t) {let [n, r] = await Promise.allSettled([e.preload(), t]);if (r.status === "rejected") throw r.reason;if (n.status === "rejected") throw n.reason;}-var b6 = v6(() => import("./peach-app.jav-page-BylXQgrV.js")), x6 = v6(() => import("./peach-app.stats-page-Dl0lm7Yt.js")), S6 = v6(() => import("./peach-app.taste-page-CidGJvZ7.js")), C6 = v6(() => import("./peach-app.review-page-CPsgIxd6.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-DPCNx1GU.js")), T6 = v6(() => import("./peach-app.duplicates-page-CoHPntSW.js")), E6 = v6(() => import("./peach-app.quality-goals-page-CjcBIXAC.js")), D6 = v6(() => import("./peach-app.scraping-page-DM0a_K9-.js")), O6 = v6(async () => {+var y6 = _6(() => import("./peach-app.jav-page-BylXQgrV.js")), b6 = _6(() => import("./peach-app.stats-page-Dl0lm7Yt.js")), x6 = _6(() => import("./peach-app.taste-page-CidGJvZ7.js")), S6 = _6(() => import("./peach-app.review-page-CPsgIxd6.js")), C6 = _6(() => import("./peach-app.data-cleanup-page-DPCNx1GU.js")), w6 = _6(() => import("./peach-app.duplicates-page-CoHPntSW.js")), T6 = _6(() => import("./peach-app.quality-goals-page-CjcBIXAC.js")), E6 = _6(() => import("./peach-app.scraping-page-DM0a_K9-.js")), D6 = _6(async () => {let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-9ebGwo83.js"), import("./peach-app.diagnostics-page-bdA2qUuj.js")]);return {ConfigurationPage: e,DiagnosticsPage: t};-}), k6 = v6(() => import("./peach-app.activity-page-ClyZLUeQ.js")), A6 = v6(() => import("./peach-app.follow-manage-page-K8kzYRBb.js")), j6 = v6(() => import("./peach-app.playlists-page-DKMNf-v5.js"));-function Hke(e, t, n) {+}), O6 = _6(() => import("./peach-app.activity-page-ClyZLUeQ.js")), k6 = _6(() => import("./peach-app.follow-manage-page-K8kzYRBb.js")), A6 = _6(() => import("./peach-app.playlists-page-DKMNf-v5.js"));+function Wke(e, t, n) {if (e === "duplicates") {n("/duplicates");return;}let r = t.managePath(e);- P6(r) ? n(r) : t.openManage(e);+ N6(r) ? n(r) : t.openManage(e);}-var M6 = (e) => ({- element: /* @__PURE__ */ (0, O.jsx)(h6, { path: e }),- prefetch: (t, n) => y6(O6, Promise.all([xwe(n), ...e === "/settings/diagnostics" ? [HSe(n)] : []]).then(() => {})),+var j6 = (e) => ({+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: e }),+ prefetch: (t, n) => v6(D6, Promise.all([Cwe(n), ...e === "/settings/diagnostics" ? [WSe(n)] : []]).then(() => {})),page: (t, n) => {- let { ConfigurationPage: r, DiagnosticsPage: i } = O6.get();+ let { ConfigurationPage: r, DiagnosticsPage: i } = D6.get();return /* @__PURE__ */ (0, O.jsx)(r, {receipt: (e) => n.receipt(e),reopenTutorial: n.reopenTutorial,@@ -74633,12 +74636,12 @@ var M6 = (e) => ({})});}-}), N6 = {+}), M6 = {"/jav": {- element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/jav" }),- prefetch: (e, t) => y6(b6, FCe(e.tab, t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/jav" }),+ prefetch: (e, t) => v6(y6, LCe(e.tab, t)),page: (e, t) => {- let { JavPage: n } = b6.get();+ let { JavPage: n } = y6.get();return /* @__PURE__ */ (0, O.jsx)(n, {...e,navigate: t.navigate,@@ -74647,10 +74650,10 @@ var M6 = (e) => ({}},"/stats": {- element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/stats" }),- prefetch: (e, t) => y6(x6, GDe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/stats" }),+ prefetch: (e, t) => v6(b6, qDe(t)),page: (e, t) => {- let { StatsPage: n } = x6.get();+ let { StatsPage: n } = b6.get();return /* @__PURE__ */ (0, O.jsx)(n, {tagLabel: fl,onTag: t.openTag@@ -74658,10 +74661,10 @@ var M6 = (e) => ({}},"/taste": {- element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/taste" }),- prefetch: (e, t) => y6(S6, NOe("all", t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/taste" }),+ prefetch: (e, t) => v6(x6, FOe("all", t)),page: (e, t, n) => {- let { TastePage: r } = S6.get();+ let { TastePage: r } = x6.get();return /* @__PURE__ */ (0, O.jsx)(r, {onSignal: t.openTasteSignal,navigate: n,@@ -74671,10 +74674,10 @@ var M6 = (e) => ({}},"/review": {- element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/review" }),- prefetch: (e, t) => y6(C6, oye(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/review" }),+ prefetch: (e, t) => v6(S6, sye(t)),page: (e, t) => {- let { ReviewPage: n } = C6.get();+ let { ReviewPage: n } = S6.get();return /* @__PURE__ */ (0, O.jsx)(n, {...e,route: t.routeReview,@@ -74686,22 +74689,22 @@ var M6 = (e) => ({}},"/data-cleanup": {- element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/data-cleanup" }),- prefetch: (e, t) => y6(w6, fbe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/data-cleanup" }),+ prefetch: (e, t) => v6(C6, mbe(t)),page: (e, t, n) => {- let { DataCleanupPage: r } = w6.get();+ let { DataCleanupPage: r } = C6.get();return /* @__PURE__ */ (0, O.jsx)(r, {failure: t.failure,- open: (e) => Hke(e, t, n),+ open: (e) => Wke(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)});}},"/duplicates": {- element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/duplicates" }),- prefetch: (e, t) => y6(T6, wve(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/duplicates" }),+ prefetch: (e, t) => v6(w6, Tve(t)),page: (e, t) => {- let { DuplicatesPage: n } = T6.get();+ let { DuplicatesPage: n } = w6.get();return /* @__PURE__ */ (0, O.jsx)(n, {openItem: t.openItem,failure: t.failure,@@ -74710,46 +74713,46 @@ var M6 = (e) => ({}},"/quality-goals": {- element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/quality-goals" }),- prefetch: (e, t) => y6(E6, Ive(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/quality-goals" }),+ prefetch: (e, t) => v6(T6, Lve(t)),page: (e, t) => {- let { QualityGoalsPage: n } = E6.get();+ let { QualityGoalsPage: n } = T6.get();return /* @__PURE__ */ (0, O.jsx)(n, {openItem: t.openItem,- javTitleHtml: bF,- javDisplayName: yF,+ javTitleHtml: eI,+ javDisplayName: $F,toast: (e) => t.receipt(e),srcBadge: t.srcBadge});}},"/sources": {- element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/sources" }),- prefetch: (e, t) => y6(D6, dwe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/sources" }),+ prefetch: (e, t) => v6(E6, pwe(t)),page: (e, t) => {- let { ScrapingPage: n } = D6.get();+ let { ScrapingPage: n } = E6.get();return /* @__PURE__ */ (0, O.jsx)(n, { toast: (e) => t.toast(e) });}},- "/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"),+ "/settings/library": j6("/settings/library"),+ "/settings/subscriptions": j6("/settings/subscriptions"),+ "/settings/downloads": j6("/settings/downloads"),+ "/settings/network": j6("/settings/network"),+ "/settings/maintenance": j6("/settings/maintenance"),+ "/settings/diagnostics": j6("/settings/diagnostics"),"/tasks": {- element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/tasks" }),- prefetch: (e, t) => y6(k6, wle(t)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/tasks" }),+ prefetch: (e, t) => v6(O6, Gce(t)),page: () => {- let { ActivityPage: e } = k6.get();+ let { ActivityPage: e } = O6.get();return /* @__PURE__ */ (0, O.jsx)(e, {});}},"/subscriptions": {- element: /* @__PURE__ */ (0, O.jsx)(h6, { path: "/subscriptions" }),- prefetch: (e, t) => y6(A6, oi(t, e.tab)),+ element: /* @__PURE__ */ (0, O.jsx)(m6, { path: "/subscriptions" }),+ prefetch: (e, t) => v6(k6, ai(t, e.tab)),page: (e, t) => {- let { FollowManagePage: n } = A6.get();+ let { FollowManagePage: n } = k6.get();return /* @__PURE__ */ (0, O.jsx)(n, {...e,route: t.routeFollowManage,@@ -74759,12 +74762,12 @@ var M6 = (e) => ({});}}-}, P6 = (e) => Object.hasOwn(N6, e), Uke = { "/resource-sync": { element: /* @__PURE__ */ (0, O.jsx)(Rke, {}) } }, Wke = { "/immerse": { element: /* @__PURE__ */ (0, O.jsx)(kke, {}) } }, F6 = {+}, N6 = (e) => Object.hasOwn(M6, e), Gke = { "/resource-sync": { element: /* @__PURE__ */ (0, O.jsx)(Bke, {}) } }, Kke = { "/immerse": { element: /* @__PURE__ */ (0, O.jsx)(jke, {}) } }, P6 = {"/playlists": {- element: /* @__PURE__ */ (0, O.jsx)(Eke, {}),- prefetch: (e, t) => y6(j6, YCe(t)),+ element: /* @__PURE__ */ (0, O.jsx)(Oke, {}),+ prefetch: (e, t) => v6(A6, ZCe(t)),page: (e, t) => {- let { PlaylistsPage: n } = j6.get();+ let { PlaylistsPage: n } = A6.get();return /* @__PURE__ */ (0, O.jsx)(n, {revision: e.revision,openPlaylist: t.openPlaylist,@@ -74775,14 +74778,14 @@ var M6 = (e) => ({}},"/follow": {- element: /* @__PURE__ */ (0, O.jsx)(wke, {}),- prefetch: (e, t) => Oi(e, t),- page: (e) => /* @__PURE__ */ (0, O.jsx)(xxe, { ...e })- }-}, I6 = (e) => Object.hasOwn(F6, e), L6 = {- element: /* @__PURE__ */ (0, O.jsx)(lke, {}),- prefetch: (e, t) => Nbe(e, t),- page: (e, t) => /* @__PURE__ */ (0, O.jsx)(oCe, {+ element: /* @__PURE__ */ (0, O.jsx)(Eke, {}),+ prefetch: (e, t) => Di(e, t),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(Cxe, { ...e })+ }+}, F6 = (e) => Object.hasOwn(P6, e), I6 = {+ element: /* @__PURE__ */ (0, O.jsx)(dke, {}),+ prefetch: (e, t) => Fbe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, O.jsx)(cCe, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -74795,81 +74798,81 @@ var M6 = (e) => ({openFollowAuthor: t.openFollowAuthor,openFollowTag: t.openFollowTag})+}, L6 = {+ "/performers": I6,+ "/creators": I6,+ "/studios": I6,+ "/agencies": I6,+ "/tags": I6}, R6 = {- "/performers": L6,- "/creators": L6,- "/studios": L6,- "/agencies": L6,- "/tags": L6+ element: /* @__PURE__ */ (0, O.jsx)(hke, {}),+ prefetch: (e) => Cbe(e),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(zSe, { ...e })}, z6 = {- element: /* @__PURE__ */ (0, O.jsx)(pke, {}),- prefetch: (e) => xbe(e),- page: (e) => /* @__PURE__ */ (0, O.jsx)(LSe, { ...e })+ "/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, O.jsx)(a6, {}),- prefetch: (e, t) => IM(e, t),+ element: /* @__PURE__ */ (0, O.jsx)(i6, {}),+ prefetch: (e, t) => Pse(e, t),page: (e) => /* @__PURE__ */ (0, O.jsx)(sX, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, O.jsx)(a6, {}),+ element: /* @__PURE__ */ (0, O.jsx)(i6, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(xCe, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(CCe, { ...e })}-}, H6 = (e) => Object.hasOwn(V6, e), Gke = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(yhe, { ...e }) : /* @__PURE__ */ (0, O.jsx)(k1, { ...e }), U6 = {+}, V6 = (e) => Object.hasOwn(B6, e), qke = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(yhe, { ...e }) : /* @__PURE__ */ (0, O.jsx)(O1, { ...e }), H6 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(cG, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(lG, { ...e })},"feed-new": {- prefetch: (e) => _be(e),- page: (e) => /* @__PURE__ */ (0, O.jsx)(USe, { ...e })+ prefetch: (e) => ybe(e),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(GSe, { ...e })},"library-processing": {- prefetch: (e, t) => jH(t),- page: (e) => /* @__PURE__ */ (0, O.jsx)(Gke, { ...e })+ prefetch: (e, t) => MH(t),+ page: (e) => /* @__PURE__ */ (0, O.jsx)(qke, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, O.jsx)(_we, { ...e })+ page: (e) => /* @__PURE__ */ (0, O.jsx)(ywe, { ...e })}-}, W6 = (e) => Object.hasOwn(U6, e), G6 = {+}, U6 = (e) => Object.hasOwn(H6, e), W6 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(toe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(soe, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(tj, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(Hoe, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(ule, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(jce, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(oce, {})+ page: () => /* @__PURE__ */ (0, O.jsx)($N, {})},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(Bwe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(Hwe, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(eTe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(nTe, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, O.jsx)(UDe, {})+ page: () => /* @__PURE__ */ (0, O.jsx)(GDe, {})}-}, K6 = (e) => Object.hasOwn(G6, e), q6 = [+}, G6 = (e) => Object.hasOwn(W6, e), K6 = ["/","/wall","/unseen",@@ -74879,101 +74882,101 @@ var M6 = (e) => ({"/junk-files"];[- ...Object.keys(N6),- ...Object.keys(F6),- ...Object.keys(R6),- ...Object.keys(B6),- ...q6+ ...Object.keys(M6),+ ...Object.keys(P6),+ ...Object.keys(L6),+ ...Object.keys(z6),+ ...K6];-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];+var q6 = (e) => N6(e) || F6(e) || Object.hasOwn(L6, e) || Object.hasOwn(z6, e) || V6(e) || U6(e) || G6(e);+function J6(e) {+ return N6(e) ? M6[e] : F6(e) ? P6[e] : V6(e) ? B6[e] : U6(e) ? H6[e] : G6(e) ? W6[e] : Object.hasOwn(L6, e) ? L6[e] : z6[e];}-function Kke(e, t, n) {- return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function Jke(e, t, n) {+ return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function qke(e, t, n, r) {- return Y6(e).page(t, n, r);+function Yke(e, t, n, r) {+ return J6(e).page(t, n, r);}//#endregion//#region src/react/application-residents.ts-var X6 = null, Z6 = null, Q6 = 0, $6 = /* @__PURE__ */ new Set();-function Jke(e) {- return X6 = e, Z6 && e(Z6), () => {- X6 === e && (X6 = null);+var Y6 = null, X6 = null, Z6 = 0, Q6 = /* @__PURE__ */ new Set();+function Xke(e) {+ return Y6 = e, X6 && e(X6), () => {+ Y6 === e && (Y6 = null);};}-function Yke(e) {- return X6 && (Z6 = e, X6(e), qpe(Promise.resolve(Kke)), Vke()), Promise.resolve();+function Zke(e) {+ return Y6 && (X6 = e, Y6(e), qpe(Promise.resolve(Jke)), Uke()), Promise.resolve();}-async function e8(e, t, n = (e) => e) {- let r = Q6;- if (t.isConnected || $6.add(t), !await tH(e, {}, {+async function $6(e, t, n = (e) => e) {+ let r = Z6;+ if (t.isConnected || Q6.add(t), !await nH(e, {}, {container: t,resident: !0,- isCurrent: () => !!X6 && r === Q6,+ isCurrent: () => !!Y6 && r === Z6,place: () => n(t)- }) || r !== Q6 || !X6) throw new DOMException("应用已卸载", "AbortError");+ }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");}-function Xke() {- 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(), R$();+function Qke() {+ 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(), L$();}-var t8 = null, n8 = null;-function r8(e) {- return t8 ??= (async () => {- let t = HDe(e), n = document.createElement("div");- return n.dataset.stageHost = "", await e8("stage", n, (e) => (document.body.append(e), e)), n8 = t, t;- })(), t8;+var e8 = null, t8 = null;+function n8(e) {+ return e8 ??= (async () => {+ let t = WDe(e), n = document.createElement("div");+ return n.dataset.stageHost = "", await $6("stage", n, (e) => (document.body.append(e), e)), t8 = t, t;+ })(), e8;}-var i8 = () => n8, a8 = null, o8 = null;-function Zke(e) {- return a8 ??= (async () => {- let t = ace(e), n = document.createElement("div");- return n.dataset.immerseHost = "", await e8("immerse", n, (e) => (document.body.append(e), e)), o8 = t, t;- })(), a8;-}-var s8 = () => o8, c8 = null, l8 = null;-function Qke(e) {- return c8 ??= (async () => {- let t = zwe(e), n = document.createElement("div");- return n.dataset.settingsHost = "", await e8("settings-panel", n, (e) => (document.body.append(e), e)), l8 = t, t;- })(), c8;-}-var u8 = () => l8, d8 = null, f8 = null;+var r8 = () => t8, i8 = null, a8 = null;function $ke(e) {- return d8 ??= (async () => {- let t = $we(e);- return await e8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), f8 = t, t;- })(), d8;+ 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;}-var p8 = () => f8, m8 = null, h8 = null;+var o8 = () => a8, s8 = null, c8 = null;function eAe(e) {- return m8 ??= (async () => {- let t = lle(e);- return await e8("manage-header", e.root, (e) => (e.replaceChildren(), e)), h8 = t, t;- })(), m8;+ return s8 ??= (async () => {+ let t = Vwe(e), n = document.createElement("div");+ return n.dataset.settingsHost = "", await $6("settings-panel", n, (e) => (document.body.append(e), e)), c8 = t, t;+ })(), s8;}-var g8 = () => h8, _8 = null, v8 = null;+var l8 = () => c8, u8 = null, d8 = null;function tAe(e) {- return _8 ??= (async () => {- let t = eoe(e);- return await e8("batch-dock", e.root), v8 = t, t;- })(), _8;+ return u8 ??= (async () => {+ let t = tTe(e);+ return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;+ })(), u8;}-var y8 = () => v8, b8 = null;+var f8 = () => d8, p8 = null, m8 = null;function nAe(e) {- return b8 ??= (async () => {- ej(e), await e8("glow-picker", e.root);- })(), b8;+ return p8 ??= (async () => {+ let t = Ace(e);+ return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;+ })(), p8;+}+var h8 = () => m8, g8 = null, _8 = null;+function rAe(e) {+ return g8 ??= (async () => {+ let t = ooe(e);+ return await $6("batch-dock", e.root), _8 = t, t;+ })(), g8;+}+var v8 = () => _8, y8 = null;+function iAe(e) {+ return y8 ??= (async () => {+ Voe(e), await $6("glow-picker", e.root);+ })(), y8;}-function x8(e, t, n, r) {- z$(e, t), B$(n, r);+function b8(e, t, n, r) {+ R$(e, t), z$(n, r);}//#endregion//#region src/application/effects.ts-var S8 = class {+var x8 = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -75054,13 +75057,13 @@ var S8 = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, J = new S8();-function rAe() {- return J.dispose(), J = new S8(), J;+}, J = new x8();+function aAe() {+ return J.dispose(), J = new x8(), J;}//#endregion//#region src/application/receipts.js-var C8 = {+var S8 = {toastBody: void 0,toastSeq: void 0,toast: void 0,@@ -75070,15 +75073,15 @@ var C8 = {rollSeed: void 0,seededSample: void 0};-function iAe() {- z$(I("#toasts"), {- success: L("check"),- error: L("circle-alert")- }), C8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), C8.toastSeq = 0, C8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {- let a = `toast-${++C8.toastSeq}`, o = (e, t, n, r) => {- mo(i || (t ? "error" : "success")), x8(I("#toasts"), {- success: L("check"),- error: L("circle-alert")+function oAe() {+ R$(L("#toasts"), {+ success: R("check"),+ error: R("circle-alert")+ }), S8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : B(e && typeof e == "object" ? e.text ?? "" : e ?? ""), S8.toastSeq = 0, S8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {+ let a = `toast-${++S8.toastSeq}`, o = (e, t, n, r) => {+ mo(i || (t ? "error" : "success")), b8(L("#toasts"), {+ success: R("check"),+ error: R("circle-alert")}, a, {html: e,alert: !!t,@@ -75091,13 +75094,13 @@ function iAe() {} : null});};- 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 = I("#postSetupTutorial"), t = I("#toasts"), n = e.hidden ? innerHeight : e.getBoundingClientRect().top;+ return o(S8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(S8.toastBody(e), t, n, null) };+ }, S8.liftToastsOverTutorial = () => {+ let e = L("#postSetupTutorial"), t = L("#toasts"), n = e.hidden ? innerHeight : e.getBoundingClientRect().top;e.hidden || !e.offsetHeight || n < 160 ? t.style.removeProperty("--toast-bottom") : t.style.setProperty("--toast-bottom", `${Math.round(innerHeight - n + 12)}px`);- }, J.resize(C8.liftToastsOverTutorial).observe(I("#postSetupTutorial")), J.listen.bind(J, window)("resize", C8.liftToastsOverTutorial), C8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {+ }, 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 } = {}) => {let r = null;- return r = C8.toast({ text: e }, {+ return r = S8.toast({ text: e }, {timeout: n,action: t ? {label: "撤销",@@ -75110,15 +75113,15 @@ function iAe() {}} : null}), r;- }, C8.actionFailure = (e, t) => C8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), C8.rollSeed = () => En(), C8.seededSample = (e, t, n, r = (e) => e.k) => {+ }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => Tn(), S8.seededSample = (e, t, n, r = (e) => e.k) => {if (e.length <= t) return e;- let i = new Set([...e].sort((e, t) => Tn(n, r(e)) - Tn(n, r(t))).slice(0, t).map(r));+ let i = new Set([...e].sort((e, t) => wn(n, r(e)) - wn(n, r(t))).slice(0, t).map(r));return e.filter((e) => i.has(r(e)));};}//#endregion//#region src/react/catalog-grid/catalog-state.ts-var aAe = [+var sAe = ["loc","creator","studio",@@ -75138,25 +75141,25 @@ var aAe = ["folder","folder_recursive"];-function w8(e, t, n, r = n.defaultSort) {- return qk(e, t, n.defaultSort, n.defaultSortDirection, r);+function C8(e, t, n, r = n.defaultSort) {+ return Hk(e, t, n.defaultSort, n.defaultSortDirection, r);}-function oAe(e, t, n) {- let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Qt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;+function cAe(e, t, n) {+ let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = Zt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",creator: o("creator") || "",studio: o("studio") || "",owner: o("owner") === "none" ? "none" : "",- tag: On(o("tag")),+ tag: Dn(o("tag")),tag_match: o("tag_match") === "any" ? "any" : "all",len: o("len") || "",dur_min: o("dur_min") || "",dur_max: o("dur_max") || "",orient: o("orient") || "",region: o("region") || "",- state: Xt[r] || o("state") || "",- ...w8(o("sort"), o("dir"), t),+ state: Yt[r] || o("state") || "",+ ...C8(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",@@ -75166,18 +75169,18 @@ function oAe(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function sAe(e, t) {+function lAe(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function cAe(e) {- let t = Yt[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of aAe) {+function uAe(e) {+ let t = Jt[e.state ?? ""] || "/", n = new URLSearchParams();+ for (let t of sAe) {let r = e[t];- r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== Wk(e.sort ?? "")) && n.set(t, r);+ r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== zk(e.sort ?? "")) && n.set(t, r);}- return !Yt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");+ return !Jt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function lAe(e, t, n) {+function dAe(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -75192,7 +75195,7 @@ function lAe(e, t, n) {region: "",state: "",sort: t.defaultSort,- dir: Kk(t.defaultSort, t.defaultSort, t.defaultSortDirection),+ dir: Vk(t.defaultSort, t.defaultSort, t.defaultSortDirection),seed: n(),q: "",jav: "",@@ -75202,7 +75205,7 @@ function lAe(e, t, n) {folder_recursive: ""};}-function T8(e) {+function w8(e) {return {state: e,barsContext: {@@ -75214,7 +75217,7 @@ function T8(e) {}//#endregion//#region src/react/catalog-grid/catalog-controller.ts-var uAe = class {+var fAe = class {currentRevision = 0;currentPage = "";painting = null;@@ -75259,56 +75262,56 @@ var uAe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, E8 = 3e4, D8 = 0, dAe = (e, t = D8) => [+}, T8 = 3e4, E8 = 0, pAe = (e, t = E8) => ["facets",e,t-], fAe = (e, t, n = D8) => [+], mAe = (e, t, n = E8) => ["tops",e,t,n-], pAe = (e, t = D8) => [+], hAe = (e, t = E8) => ["tops",e,t];-async function O8(e) {- let t = String(e), n = await R(`/api/tops?${t}`), r = new URLSearchParams(t);- return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await R(`/api/tops?${r}`));-}-function mAe(e, t) {- return Promise.all([H.fetchQuery({- queryKey: dAe(e),- queryFn: () => R(`/api/facets${e ? `?${e}` : ""}`),- staleTime: E8- }), H.fetchQuery({- queryKey: fAe(t, e),- queryFn: () => O8(t),- staleTime: E8- })]);+async function D8(e) {+ let t = String(e), n = await z(`/api/tops?${t}`), r = new URLSearchParams(t);+ return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await z(`/api/tops?${r}`));}-function hAe(e) {- return H.fetchQuery({+function gAe(e, t) {+ return Promise.all([U.fetchQuery({queryKey: pAe(e),- queryFn: () => O8(e),- staleTime: E8+ queryFn: () => z(`/api/facets${e ? `?${e}` : ""}`),+ staleTime: T8+ }), U.fetchQuery({+ queryKey: mAe(t, e),+ queryFn: () => D8(t),+ staleTime: T8+ })]);+}+function _Ae(e) {+ return U.fetchQuery({+ queryKey: hAe(e),+ queryFn: () => D8(e),+ staleTime: T8});}-function k8() {- D8 += 1;+function O8() {+ E8 += 1;let e = (e) => e.state.fetchStatus === "idle";- H.removeQueries({+ U.removeQueries({queryKey: ["facets"],predicate: e- }), H.removeQueries({+ }), U.removeQueries({queryKey: ["tops"],predicate: e});}//#endregion//#region src/application/navigation-items.ts-var A8 = [+var k8 = [["","首页",@@ -75359,7 +75362,7 @@ var A8 = ["管理","wrench"]-], j8 = [+], A8 = [["stats","统计",@@ -75405,18 +75408,18 @@ var A8 = ["Peach 配置","folder-cog"]-], M8 = [+], j8 = ["stats","taste","cleanup","follow","activity","configuration"-], gAe = (e) => j8.filter(([t]) => M8.includes(t) && (t !== "configuration" || e)), N8 = j8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], vAe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), _Ae = [...A8, ...N8], vAe = {+]]), yAe = [...k8, ...M8], bAe = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -75424,7 +75427,7 @@ var A8 = ["follow-manage": "follow",quality: "quality",activity: "activity"-}, P8 = [+}, N8 = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],@@ -75432,52 +75435,52 @@ var A8 = [];//#endregion//#region src/react/index/index-controller.ts-function F8({ kind: e, q: t, scope: n, view: r, category: i }) {+function P8({ kind: e, q: t, scope: n, view: r, category: i }) {let a = new URLSearchParams();return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");}-function I8(e, t, n) {+function F8(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {- html: Ra(e.k, r ? {+ html: La(e.k, r ? {id: r,has_image: e.has_image,image_version: e.image_version,logo_version: e.logo_version,avatar_stand_in: e.avatar_stand_in} : null, e.has_avatar && !i ? e.rep : null, t, e.mark, e.has_logo ? e.k : "", i && n ? "large" : "ring", i ? null : e.avatar_focus, !0),- face: Ba(e.avatar_focus)+ face: za(e.avatar_focus)};}-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" ${la({ fallbacks: [e.avatar_fallback || ""] })}>` : "";- return `<span class="ini">${z(n)}</span>${r}`;+function I8(e) {+ let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${B(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${ca({ fallbacks: [e.avatar_fallback || ""] })}>` : "";+ return `<span class="ini">${B(n)}</span>${r}`;}-function yAe(e) {+function xAe(e) {let t = (t) => {- e.adoptFollowView(t), e.hideIndex(), e.openPage(Zi(t));+ e.adoptFollowView(t), e.hideIndex(), e.openPage(Xi(t));};return {route(t, { replace: n = !1 } = {}) {- e.route(F8(t), n);+ e.route(P8(t), n);},- personAvatar: I8,- authorAvatar: L8,+ personAvatar: F8,+ authorAvatar: I8,openFollowAuthor(n) {- t(Qi(e.followView(), n));+ t(Zi(e.followView(), n));},openFollowTag(n) {- t($i(e.followView(), n));+ t(Qi(e.followView(), n));}};}//#endregion//#region src/application/source-action.ts-function bAe(e) {+function SAe(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";- r && (cc(r), r.innerHTML = `${ns("正在定位")}${a ? `<span>${z(a)}</span>` : ""}`), n.textContent = "";+ r && (cc(r), r.innerHTML = `${ns("正在定位")}${a ? `<span>${B(a)}</span>` : ""}`), n.textContent = "";try {await e.request(t), n.textContent = "", e.success();} catch (t) {@@ -75489,61 +75492,61 @@ function bAe(e) {}//#endregion//#region src/react/entity-page/entity-route.ts-var R8 = () => Object.fromEntries(AZ.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function z8(e, t) {- let n = new URLSearchParams(e), r = R8();- for (let e of AZ) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");+var L8 = () => Object.fromEntries(kZ.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function R8(e, t) {+ let n = new URLSearchParams(e), r = L8();+ for (let e of kZ) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,- ...qk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")+ ...Hk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function B8(e) {+function z8(e) {let t = new URLSearchParams();- for (let n of AZ) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== Wk(e.sort || "")) && t.set(n, e[n]);+ for (let n of kZ) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== zk(e.sort || "")) && t.set(n, e[n]);return t.toString();}-function V8(e) {+function B8(e) {let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");return {media: r === "photos" || r === "online" ? r : "videos",set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0};}-function H8(e, t) {- let n = new URLSearchParams(B8(e));+function V8(e, t) {+ let n = new URLSearchParams(z8(e));return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();}-function xAe(e, t, n, r) {- let i = H8(n, r);- return tn(e, t) + (i ? `?${i}` : "");+function CAe(e, t, n, r) {+ let i = V8(n, r);+ return en(e, t) + (i ? `?${i}` : "");}-function SAe() {+function wAe() {let e = "";return {fresh(t, n) {- return e = tn(t, n), e;+ return e = en(t, n), e;},read(t, n, r, i) {- let a = e === tn(t, n) && !r;+ let a = e === en(t, n) && !r;e = "";- let o = a ? R8() : { ...z8(r, i) };+ let o = a ? L8() : { ...R8(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : V8(r)+ } : B8(r)};}};}//#endregion//#region src/react/entity-page/photo-surface.ts-function CAe(e, t) {+function TAe(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function wAe(e) {+function EAe(e) {let t = () => {let t = e.preferences();for (let n of e.walls()) n.dataset.size = t.size, n.dataset.layout = "fixed", n.dataset.imagesOnly = String(t.imagesOnly);@@ -75566,12 +75569,12 @@ function wAe(e) {}//#endregion//#region src/react/entity-page/entity-controller.ts-function TAe(e, t, n) {+function DAe(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(xAe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(CAe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -75581,11 +75584,11 @@ function TAe(e, t, n) {jav: o.jav}), !0;}, i = /* @__PURE__ */ new Map(), a = (t, a) => {- let o = tn(t, a), s = i.get(o);+ let o = en(t, a), s = i.get(o);if (s) return s;let c = () => {let n = e.context();- return n?.kind === t && n.name === a ? n.filters : R8();+ return n?.kind === t && n.name === a ? n.filters : L8();}, l = {...n,route: (e, n) => {@@ -75598,7 +75601,7 @@ function TAe(e, t, n) {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let n = c(), i = Gk(e, n.sort || "new", n.dir || "");+ let n = c(), i = Bk(e, n.sort || "new", n.dir || "");i && r(t, a, {...n,...i@@ -75618,7 +75621,7 @@ function TAe(e, t, n) {e.setPhotoLayout(t), e.syncPhotoWalls();},openEntity: (t, n, r = !1) => {- r ? e.route(tn(t, n) + e.suffix(), !0) : e.openEntity(t, n);+ r ? e.route(en(t, n) + e.suffix(), !0) : e.openEntity(t, n);},painted: (t, n) => {let r = e.photoViewActive();@@ -75650,7 +75653,7 @@ function TAe(e, t, n) {}//#endregion//#region src/react/entity-page/entity-loading.ts-function EAe(e) {+function OAe(e) {return async (t, n, r) => {!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {r() && e.syncParts(t, n);@@ -75659,8 +75662,8 @@ function EAe(e) {}//#endregion//#region src/react/entity-page/entity-portrait.ts-function DAe(e, t) {- let n = e === "studio" || e === "agency", r = t.id ? La({+function kAe(e, t) {+ let n = e === "studio" || e === "agency", r = t.id ? Ia({kind: e,id: t.id,hasImage: t.has_image,@@ -75671,22 +75674,22 @@ function DAe(e, t) {logo: n && t.has_logo ? t.canonical_name : "",logoVersion: t.logo_version,logoVariant: "large",- alt: z(t.canonical_name),+ alt: B(t.canonical_name),lazy: !1,- style: n ? "" : Va(t.avatar_focus),+ style: n ? "" : Ba(t.avatar_focus),focus: n ? null : t.avatar_focus,dropStyle: !0,thumb: !1}) : "", i = e === "creator" ? t.follow : null;- return r || (i?.avatar ? `<img src="${z(i.avatar)}" alt="${z(t.canonical_name)}" referrerpolicy="no-referrer" ${la({ fallbacks: [i.avatar_fallback || ""] })}>` : "");+ return r || (i?.avatar ? `<img src="${B(i.avatar)}" alt="${B(t.canonical_name)}" referrerpolicy="no-referrer" ${ca({ fallbacks: [i.avatar_fallback || ""] })}>` : "");}//#endregion//#region src/react/entity-page/entity-application.ts-function OAe(e) {- let t = SAe(), n = {+function AAe(e) {+ let t = wAe(), n = {...e.helpers,- portraitImg: DAe- }, r = TAe(e.controller, n, e.actions);+ portraitImg: kAe+ }, r = DAe(e.controller, n, e.actions);return {...r,helpers: n,@@ -75695,22 +75698,22 @@ function OAe(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: EAe(e.loading),- photos: wAe(e.photos)+ loading: OAe(e.loading),+ photos: EAe(e.photos)};}//#endregion//#region src/card-art/feed-identity.ts-function kAe(e) {+function jAe(e) {let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {- let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${z(e.code)}" data-actor="${z(t.source_actor_id)}" data-name="${z(t.name)}"` : "", i = n ? "" : Ra(t.name, t, null);- return "id" in t && t.id ? `<a class="mav"${r} href="${z(tn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;+ let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${B(e.code)}" data-actor="${B(t.source_actor_id)}" data-name="${B(t.name)}"` : "", i = n ? "" : La(t.name, t, null);+ return "id" in t && t.id ? `<a class="mav"${r} href="${B(en("performer", t.name, t.id))}" aria-label="打开女优页:${B(t.name)}">${i}</a>` : `<span class="mav"${r} title="${B(t.name)}">${i}</span>`;}).join("");return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;}//#endregion//#region src/application/feed.js-var U8 = {+var H8 = {FEED_SKELETON_CARDS: void 0,feedNewSkeletonHtml: void 0,entityShapes: void 0,@@ -75726,56 +75729,56 @@ var U8 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function W8(e) {- return e.has_cover ? Ua(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${is("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : Ua(e, "big").replace(/ src="[^"]*"/, ` src="${z(Na(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");+function U8(e) {+ return e.has_cover ? Ha(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${is("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : Ha(e, "big").replace(/ src="[^"]*"/, ` src="${B(Ma(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function AAe(e) {- let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = W8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? bF({+function MAe(e) {+ let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = U8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? eI({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>` : "";+ }) : B(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${B(r)} 的作品详情"></a>` : "";return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">- ${a}<div class="pic" style="--card-ratio:${CA}">${n}+ ${a}<div class="pic" style="--card-ratio:${gA}">${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)}">${L("star")}</button>- <button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${L("x")}</button>- <button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${z(r)}">${L("check")}</button></div></div>- <div class="meta">${kAe(e)}<div class="mtext"><span class="t">${i}</span>+ <button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${B(r)}">${R("star")}</button>+ <button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${B(r)}">${R("x")}</button>+ <button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${B(r)}">${R("check")}</button></div></div>+ <div class="meta">${jAe(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function jAe() {+function NAe() {let e = document.getElementById("peach-entity-shape");if (e) try {let t = JSON.parse(e.textContent || "null");if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;- U8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${dn(e)}`, t.parts]));+ H8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${un(e)}`, t.parts]));} catch {}}-async function G8() {- let e = J, t = await R("/api/entity/shapes", { signal: e.signal }).catch(() => null);- 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}/${dn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && q8(t.home.feed), Z8(location.pathname) && J8(I("#feedNew"))), U8.entityShapes;+async function W8() {+ let e = J, t = await z("/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}/${un(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && K8(t.home.feed), X8(location.pathname) && q8(L("#feedNew"))), H8.entityShapes;}-var K8 = "peach.home-feed.v1";-function q8(e) {+var G8 = "peach.home-feed.v1";+function K8(e) {X.homeHasFeed = e;try {- localStorage.setItem(K8, e ? "1" : "0");+ localStorage.setItem(G8, e ? "1" : "0");} catch {}}-function MAe() {+function PAe() {try {- let e = localStorage.getItem(K8);+ let e = localStorage.getItem(G8);return e === "1" || e !== "0" && null;} catch {return null;}}-function J8(e) {- !e || QV(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 q8(e) {+ !e || $V(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 NAe(e, t) {+function FAe(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : ts(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -75783,56 +75786,56 @@ function NAe(e, t) {actionHref: "/sources"});}-function Y8(e) {+function J8(e) {let t = e && !e.error && e.items || [];- return NAe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(AAe).join("")}</div>`;+ return FAe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(MAe).join("")}</div>`;}-function X8(e) {- e && (e9(e), Z.appSettings.feedAutoScroll && Qs(e));+function Y8(e) {+ e && ($7(e), Z.appSettings.feedAutoScroll && Qs(e));}-function Z8(e) {- return Qt(e) && e !== "/junk-files";+function X8(e) {+ return Zt(e) && e !== "/junk-files";}-function PAe() {- let e = I("#feedNew");- QV(e) ? nH(e, { revision: ++U8.feedRevision }) : (J8(e), tH("feed-new", {+function IAe() {+ let e = L("#feedNew");+ $V(e) ? rH(e, { revision: ++H8.feedRevision }) : (q8(e), nH("feed-new", {host: e,- revision: U8.feedRevision,- helpers: U8.feedNewHelpers,- actions: U8.feedNewActions+ revision: H8.feedRevision,+ helpers: H8.feedNewHelpers,+ actions: H8.feedNewActions}, {container: e,- isCurrent: () => Z8(location.pathname)+ isCurrent: () => X8(location.pathname)}));}-function Q8() {- let e = I("#feedNew");- e.querySelectorAll(".feednewrow").forEach($s), rH(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");+function Z8() {+ let e = L("#feedNew");+ e.querySelectorAll(".feednewrow").forEach($s), iH(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");}-function $8() {- U8.feedRevision += 1, nH(I("#feedNew"), { revision: U8.feedRevision }), o5({ feedRevision: U8.feedRevision });+function Q8() {+ H8.feedRevision += 1, rH(L("#feedNew"), { revision: H8.feedRevision }), a5({ feedRevision: H8.feedRevision });}-function FAe() {+function LAe() {document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Qs(e) : $s(e));}-var e5 = 0;-function IAe([e]) {- let t = e.contentRect.width >= U8.HERO_WIDE_PX;- cancelAnimationFrame(e5), e5 = requestAnimationFrame(() => {- e5 = 0, I("#index")?.toggleAttribute("data-hero-wide", t);+var $8 = 0;+function RAe([e]) {+ let t = e.contentRect.width >= H8.HERO_WIDE_PX;+ cancelAnimationFrame($8), $8 = requestAnimationFrame(() => {+ $8 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);});}-function LAe() {- U8.FEED_SKELETON_CARDS = 8, U8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${CA}"></div>+function zAe() {+ 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:${gA}"></div><div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>- <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(U8.FEED_SKELETON_CARDS)}</div>`, U8.entityShapes = null, U8.entityShapesComplete = !1, U8.hasEntityShape = (e, t) => U8.entityShapesComplete || !!U8.entityShapes?.has(`${e}/${dn(t)}`), U8.hasEntityPart = (e, t, n) => !!t && !!U8.entityShapes?.get(`${e}/${dn(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(IAe).observe(I("#index"));+ <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(H8.FEED_SKELETON_CARDS)}</div>`, H8.entityShapes = null, H8.entityShapesComplete = !1, H8.hasEntityShape = (e, t) => H8.entityShapesComplete || !!H8.entityShapes?.has(`${e}/${un(t)}`), H8.hasEntityPart = (e, t, n) => !!t && !!H8.entityShapes?.get(`${e}/${un(t)}`)?.includes(n), H8.feedNewSkeletonSection = () => `<section class="feednew">${H8.feedNewSkeletonHtml()}</section>`, H8.COSTAR_SKELETON_PEOPLE = 12, H8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(H8.COSTAR_SKELETON_PEOPLE)}</div></div>`, H8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, H8.feedRevision = 0, H8.feedNewHelpers = {+ feedRowHtml: J8,+ wireFeedRow: (e) => Y8(e)+ }, H8.feedNewActions = { settled: (e) => K8(e) }, H8.HERO_WIDE_PX = 900, J.resize(RAe).observe(L("#index"));}//#endregion//#region src/entity-skeleton.ts-function RAe(e, t, n, r = "") {+function BAe(e, t, n, r = "") {let i = e === "studio" || e === "agency", a = new URLSearchParams(location.search), o = a.get("browse") === "folders" || a.get("folder") ? `<div class="peach-react entity-folder-workspace" data-folder-workspace data-folder-browse><aside data-folder-tree-host><div class="flex flex-col gap-3"><span class="skeleton ui-configuration-skeleton-input"></span>${"<span class=\"skeleton\" style=\"width:75%;height:32px\"></span>".repeat(8)}</div></aside><div class="min-w-0"><div data-folder-header-host><span class="skeleton" style="width:160px;height:32px"></span></div>${n}</div></div>` : n;return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料"><span class="sr-only">正在读取资料</span><div aria-hidden="true" inert><div class="peach-react contents">@@ -75847,10 +75850,10 @@ function RAe(e, t, n, r = "") {}//#endregion//#region src/filter-controls-skeleton.ts-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>` : Vo(e, "size-4 shrink-0"), n5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", r5 = (e, t, n) => `<span data-entity-layout="" class="${hW}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${gW}" 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 = wM(), 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, [[+var e5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : Vo(e, "size-4 shrink-0"), t5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", n5 = (e, t, n) => `<span data-entity-layout="" class="${gW}" role="radiogroup" aria-label="${B(e)}">${n.map(([e, n, r]) => `<span class="${_W}" role="radio" aria-label="${B(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${t5}>${e5(r)}</span>`).join("")}</span>`;+function r5(e, t) {+ let n = lM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? n5(t.label, t.value, t.options) : "";+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${t5}>${e5("shuffle")}</button>${i}${n5("馆藏显示方式", n, [["cards","卡片","ri-layout-grid-line"@@ -75858,7 +75861,7 @@ function i5(e, t) {"list","列表","ri-list-unordered"- ]])}<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>`;+ ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${t5}>${e5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${B(e.key)}" aria-pressed="${e.pressed}" ${t5}>${B(e.label)}${e.dir ? e5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;}//#endregion//#region src/application/entity.js@@ -75887,16 +75890,16 @@ var Y = {sourceToolButtons: void 0,application: void 0};-function a5() {- let e = ZV(I("#index"));+function i5() {+ let e = QV(L("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}-function o5(e) {- Y.entityPageCurrent() && nH(I("#index"), e);+function a5(e) {+ Y.entityPageCurrent() && rH(L("#index"), e);}-function s5() {+function o5() {if (Cl.type === "item") return Cl;- let e = a5();+ let e = i5();if (e) {let { kind: t, name: n, filters: r } = e.props;return {@@ -75908,65 +75911,65 @@ function s5() {}return Cl;}-function c5(e, t, n = t7()) {- return Mje(n).map(([n, r]) => {- let i = e === n, a = Gk(n, e, t);+function s5(e, t, n = e7()) {+ return Pje(n).map(([n, r]) => {+ let i = e === n, a = Bk(n, e, t);return {key: n,label: r,pressed: i,- dir: i && Uk(n, t) ? t === "asc" ? "asc" : "desc" : "",- ariaLabel: a ? `按${r}${a.dir ? Uk(a.sort, a.dir) : ""}排序` : ""+ dir: i && Rk(n, t) ? t === "asc" ? "asc" : "desc" : "",+ ariaLabel: a ? `按${r}${a.dir ? Rk(a.sort, a.dir) : ""}排序` : ""};});}-function l5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {+function c5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {return Y.application.route(e, t, n, r, i);}-function u5() {- return CAe({+function l5() {+ return TAe({entityWall: Y.entityPageWall,entityCurrent: Y.entityPageCurrent(),- indexVisible: !I("#index").hidden,+ indexVisible: !L("#index").hidden,pathname: location.pathname,followMedia: $.followMediaView,- statsVisible: !I("#stats").hidden+ statsVisible: !L("#stats").hidden}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));}-function d5() {+function u5() {Y.photos.sync();}-function f5() {- u5() ? Doe(kA()) : HA();+function d5() {+ l5() ? Foe(SA()) : FA();}-function zAe(e) {+function VAe(e) {Y.photos.setSize(e);}-var p5 = bAe({- request: (e) => R("/api/reveal", {+var f5 = SAe({+ request: (e) => z("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })}),- success: () => C8.toast({ text: "已在资源管理器中显示" }),+ success: () => S8.toast({ text: "已在资源管理器中显示" }),failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))});-async function m5(e) {+async function p5(e) {let t = { textContent: "" };- return await p5(e, t), t.textContent;+ return await f5(e, t), t.textContent;}-async function BAe(e) {+async function HAe(e) {let t = { textContent: "" }, n = [];- return await h5(e, t, (e) => {+ return await m5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));}), {text: t.textContent,removed: n};}-async function h5(e, t, n) {+async function m5(e, t, n) {t.textContent = "正在核对目录…";try {- let r = await R("/api/purge-missing", {+ let r = await z("/api/purge-missing", {method: "POST",body: JSON.stringify({ id: e })});@@ -75976,8 +75979,8 @@ async function h5(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), C8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {- await R("/api/batch", {+ n && n(r), S8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {+ await z("/api/batch", {method: "POST",body: JSON.stringify({ids: e,@@ -75988,29 +75991,29 @@ async function h5(e, t, n) {restored: e.length});} : null });- } else C8.actionReceipt("目录核对完成,无需改动");+ } else S8.actionReceipt("目录核对完成,无需改动");} catch (e) {- t.textContent = Y.sourceHint(e.message), C8.actionFailure("核对目录", e);+ t.textContent = Y.sourceHint(e.message), S8.actionFailure("核对目录", e);}}-function VAe(e) {+function UAe(e) {return `<div class="srctools">${Y.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function HAe(e, t) {+function WAe(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && J.handler(r, "onclick", () => p5(Number(r.dataset.reveal), n, { button: r })), i && J.handler(i, "onclick", () => h5(Number(i.dataset.sync), n, t));+ 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));}-async function UAe(e, t) {+async function GAe(e, t) {let n = yc({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>- <div class="aliaschips">${e.map((e) => `<span class="aliaschip">${z(e)}- <button type="button" data-alias-drop="${z(e)}"- aria-label="撤销别名 ${z(e)}">${L("x")}</button></span>`).join("")}</div></div>` : ""),+ <div class="aliaschips">${e.map((e) => `<span class="aliaschip">${B(e)}+ <button type="button" data-alias-drop="${B(e)}"+ aria-label="撤销别名 ${B(e)}">${R("x")}</button></span>`).join("")}</div></div>` : ""),confirmLabel: "添加别名",confirmDisabled: !0,onConfirm: () => t({ alias: r.value.trim() })@@ -76026,53 +76029,53 @@ async function UAe(e, t) {remove: !0});} catch (e) {- C8.actionFailure("撤销别名", e);+ S8.actionFailure("撤销别名", e);return;}- C8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {+ S8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {await t({ alias: r });} });}));let { confirmed: i, result: a } = await n.done;- i && (a?.added ? C8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {+ i && (a?.added ? S8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {await t({alias: a.alias,remove: !0});- } }) : C8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));+ } }) : S8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));}-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>${Ho()}${e === "agency" ? "" : i5(c5(U.sort, U.dir, n), n ? {+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>${Ho()}${e === "agency" ? "" : r5(s5(W.sort, W.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",- 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}>${L("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${n5}>${L("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 = RAe(e, r, e === "agency" ? vs({+ value: vA(),+ options: pA+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${t5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${t5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${W.state === e.k}" ${t5}>${B(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = BAe(e, r, e === "agency" ? vs({kind: "performers",- layout: M5.peopleIndexLayout()- }) : WY("正在读取作品", NA(MA({+ layout: j5.peopleIndexLayout()+ }) : WY("正在读取作品", EA(TA({active: n,home: !1,portrait: !1}))), i);- I("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? _5(e, t) : (I("#index").innerHTML = a, _5(e, t), Ts(I("#index")));+ L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? g5(e, t) : (L("#index").innerHTML = a, g5(e, t), Ts(L("#index")));}-function _5(e, t) {- let n = I("#index").firstElementChild;+function g5(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" && 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()));+ r(n.querySelector(".entityfoot"), e !== "agency" && H8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", H8.costarSkeletonFoot())), r(n.querySelector(".feednew"), H8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", H8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && H8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", H8.factsSkeleton()));}-function v5(e) {- let t = $t[e] || e, n = H3[t] || "条目", r = H3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";- I("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });+function _5(e) {+ let t = Qt[e] || e, n = V3[t] || "条目", r = V3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";+ L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}-function y5(e, t) {- b9(Y.application.fresh(e, t));+function v5(e, t) {+ y9(Y.application.fresh(e, t));}-function WAe() {+function KAe() {Y.ENTITY_FILTER_KEYS = ["loc","creator",@@ -76083,40 +76086,40 @@ function WAe() {"orient","sort","dir"- ], Y.emptyEntityFilters = R8, Y.parseEntityFilters = (e) => z8(e, {+ ], Y.emptyEntityFilters = L8, Y.parseEntityFilters = (e) => R8(e, {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection- }), Y.entityFilterSearch = B8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), Y.entityFilterSearch = z8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }} : e, Y.activeFilterState = () => {- let e = s5();- return e.type === "home" ? U : e.filters;- }, I("#q").value = U.q, X.rememberSearchValue();-}-function GAe() {- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!a5(), Y.entityPageLive = (e, t) => {- let n = a5();- return !!n && !I("#index").hidden && n.props.kind === e && n.props.name === t;+ let e = o5();+ return e.type === "home" ? W : e.filters;+ }, L("#q").value = W.q, X.rememberSearchValue();+}+function qAe() {+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!i5(), Y.entityPageLive = (e, t) => {+ let n = i5();+ return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;}, Y.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, Y.parseMediaView = V8, Y.entityViewSearch = H8, Y.entityBodyCanLoadMore = () => !I("#index").hidden && I("#stats").hidden, Y.entityBodySkeleton = () => K7(), Y.entityPageHelpers = {+ }, Y.parseMediaView = B8, Y.entityViewSearch = V8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => G7(), Y.entityPageHelpers = {wireDrag: (e) => {- e && e9(e);+ e && $7(e);},wireScroller: (e) => {e && Hs(e);},- wireFeedRow: (e) => X8(e),- feedRowHtml: Y8,- receipt: (e, t) => C8.actionReceipt(e, t),- failure: (e, t) => C8.actionFailure(e, t),- aliasForm: (e, t) => UAe(e, t),- sourceToolsHtml: (e) => VAe(e),- wireSourceTools: (e, t) => HAe(e, t),- comboItems: (e) => F7(e),- sortKeys: (e, t, n) => c5(e, t, n)+ wireFeedRow: (e) => Y8(e),+ feedRowHtml: J8,+ receipt: (e, t) => S8.actionReceipt(e, t),+ failure: (e, t) => S8.actionFailure(e, t),+ aliasForm: (e, t) => GAe(e, t),+ sourceToolsHtml: (e) => UAe(e),+ wireSourceTools: (e, t) => WAe(e, t),+ comboItems: (e) => P7(e),+ sortKeys: (e, t, n) => s5(e, t, n)}, Y.entityFollowActions = {...$.followFeedActions,route: () => {},@@ -76135,15 +76138,15 @@ function GAe() {e.reattached ? `${e.reattached} 项的记录已接到库里的另一个版本` : ""].filter(Boolean).join(","), Y.sourceToolButtons = (e) => `<button type="button" data-reveal="${e}" title="在文件管理器里打开源文件所在目录"- aria-label="定位源文件">${L("folder-open")}</button>+ aria-label="定位源文件">${R("folder-open")}</button><button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"- aria-label="同步删除">${L("folder-sync")}</button>`;+ aria-label="同步删除">${R("folder-sync")}</button>`;}-function KAe() {- Y.application = OAe({+function JAe() {+ Y.application = AAe({controller: {context: () => {- let e = s5();+ let e = o5();return e.type === "entity" ? e : null;},live: (e, t) => Y.entityPageLive(e, t),@@ -76152,31 +76155,31 @@ function KAe() {suffix: () => location.search + location.hash,restoreHomeContext: () => Zl({ barsContext: {type: "home",- filters: U+ filters: W} }),- releaseBodyPreviews: () => cl(I("#index [data-entity-body]")),- push: o5,+ releaseBodyPreviews: () => cl(L("#index [data-entity-body]")),+ push: a5,state: () => ({- seed: String(U.seed || ""),- jav: U.jav === "1"+ seed: String(W.seed || ""),+ jav: W.jav === "1"}),preferences: () => ({revision: Y.entityPageRevision,- feedRevision: U8.feedRevision,- photoSize: kA(),- photoLayout: AA(),- photoLayouts: SA,+ feedRevision: H8.feedRevision,+ photoSize: SA(),+ photoLayout: CA(),+ photoLayouts: hA,followImagesOnly: !!Z.appSettings.followImagesOnly,- javLayout: TA(),- javLayouts: bA,+ javLayout: vA(),+ javLayouts: pA,states: X.VIEW_PILLS,- peopleLayout: M5.peopleIndexLayout(),- layout: G7(),+ peopleLayout: j5.peopleIndexLayout(),+ layout: W7(),selectMode: Dl,selected: new Set(Tl),seekSeconds: Z.appSettings.seekSeconds,groupCollapse: Z.appSettings.groupCollapse,- wireDrag: e9,+ wireDrag: $7,skeletonHtml: Y.entityBodySkeleton,canLoadMore: Y.entityBodyCanLoadMore,follow: {@@ -76184,52 +76187,52 @@ function KAe() {actions: Y.entityFollowActions}}),- changeFilter: C7,- rollSeed: () => C8.rollSeed(),+ changeFilter: S7,+ rollSeed: () => S8.rollSeed(),writeSeed: (e) => {- U.seed = e, Ql();- },- setJavLayout: i7,- javLayout: TA,- setPhotoLayout: FA,- syncPhotoWalls: d5,- openEntity: y5,- photoViewActive: u5,+ W.seed = e, Ql();+ },+ setJavLayout: r7,+ javLayout: vA,+ setPhotoLayout: OA,+ syncPhotoWalls: u5,+ openEntity: v5,+ photoViewActive: l5,recordPainted: (e, t) => {Y.entityPageView = e, Y.entityPageWall = t;},- syncDensity: f5,- scheduleSticky: d7,- releasePage: () => rH(I("#index")),- showMissing: v5,- dropBars: k8+ syncDensity: d5,+ scheduleSticky: u7,+ releasePage: () => iH(L("#index")),+ showMissing: _5,+ dropBars: O8},loading: {- shapesReady: (e, t) => U8.hasEntityShape(e, t),- waitShapes: z5,- paintSkeleton: g5,+ shapesReady: (e, t) => H8.hasEntityShape(e, t),+ waitShapes: R5,+ paintSkeleton: h5,resetView: () => {Zl({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;},- loadShapes: G8,- syncParts: _5+ loadShapes: W8,+ syncParts: g5},photos: {preferences: () => ({- size: kA(),- layout: AA(),+ size: SA(),+ layout: CA(),imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),- pushEntity: o5,- pushFollow: T9,- syncDensity: f5,- storeSize: Toe+ pushEntity: a5,+ pushFollow: w9,+ syncDensity: d5,+ storeSize: Noe},helpers: Y.entityPageHelpers,actions: {- toggleTag: P7,- openFollowAuthor: F5,+ toggleTag: N7,+ openFollowAuthor: P5,javContext: (e) => Zl({ entityJavLayout: !!e })},sortPreference: () => ({@@ -76240,10 +76243,10 @@ function KAe() {}//#endregion//#region src/application/playlists.js-var b5 = { playlistWrite: void 0 };-function qAe(e, t) {+var y5 = { playlistWrite: void 0 };+function YAe(e, t) {e === "tag" ? (Zl({ state: {- ...U,+ ...W,tag: t,tag_match: "all",creator: "",@@ -76251,17 +76254,17 @@ function qAe(e, t) {q: "",state: "",orient: ""- } }), X.clearSearchField(), Q.route(g7()), W5(), M7()) : y5(e, t);+ } }), X.clearSearchField(), Q.route(h7()), U5(), j7()) : v5(e, t);}-function x5(e = "") {+function b5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"- maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;+ maxlength="80" placeholder="输入名称" value="${B(e)}"></label>`;}-async function JAe({ title: e, count: t, save: n }) {+async function XAe({ title: e, count: t, save: n }) {let r = yc({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,- body: x5(e),+ body: b5(e),confirmLabel: "保存为播放列表",onConfirm: () => {let e = r.dialog.querySelector("[name=\"name\"]").value.trim();@@ -76271,28 +76274,28 @@ async function JAe({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await o9(a.id, a.current_asset_id, !0), C8.actionReceipt("已保存为播放列表", { undo: async () => {- await b5.playlistWrite({+ i && (await a9(a.id, a.current_asset_id, !0), S8.actionReceipt("已保存为播放列表", { undo: async () => {+ await y5.playlistWrite({action: "delete",id: a.id- }), b9("/playlists");+ }), y9("/playlists");} }));}-async function YAe(e) {- let t = ((await R("/api/playlists")).items || []).map((e) => `<label class="pickrow">${ss(`data-pick-playlist="${e.id}"`)}- <span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = yc({+async function ZAe(e) {+ let t = ((await z("/api/playlists")).items || []).map((e) => `<label class="pickrow">${ss(`data-pick-playlist="${e.id}"`)}+ <span class="pickrowtext"><b>${B(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = yc({title: "加入播放列表",description: "勾选要加入的列表,或者填个名称新建一份。",- body: x5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : ts("还没有播放列表,填个名称就能新建一份。", { size: "small" })),+ body: b5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : ts("还没有播放列表,填个名称就能新建一份。", { size: "small" })),confirmLabel: "保存",confirmDisabled: !0,onConfirm: async () => {- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await b5.playlistWrite({+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await y5.playlistWrite({action: "create",name: t,asset_ids: [e.id]})).playlist : null;- for (let t of r) await b5.playlistWrite({+ for (let t of r) await y5.playlistWrite({action: "add",id: t,asset_ids: [e.id]@@ -76310,41 +76313,41 @@ async function YAe(e) {let { confirmed: i, result: a } = await n.done;if (!i) return;let o = +!!a.created + a.added.length;- C8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {- for (let t of a.added) await b5.playlistWrite({+ S8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {+ for (let t of a.added) await y5.playlistWrite({action: "remove",id: t,asset_id: e.id});- a.created && await b5.playlistWrite({+ a.created && await y5.playlistWrite({action: "delete",id: a.created.id});} });}-function S5() {- cl(), i9(!1), U5();- let e = ZV(I("#stats"));- e?.path !== "/playlists" || !e.host.isConnected ? Zl({ pageOpens: Hl + 1 }) : (H5({ manage: !1 }), Zl({ playlistsRevision: Jl + 1 }));+function x5() {+ cl(), r9(!1), H5();+ let e = QV(L("#stats"));+ e?.path !== "/playlists" || !e.host.isConnected ? Zl({ pageOpens: Hl + 1 }) : (V5({ manage: !1 }), Zl({ playlistsRevision: Jl + 1 }));}-function XAe(e) {+function QAe(e) {Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));}-function C5(e) {- Zl({ configurationRequestedSection: e }), Q.navigatePath(OV(e));+function S5(e) {+ Zl({ configurationRequestedSection: e }), Q.navigatePath(kV(e));}-function ZAe() {- b5.playlistWrite = (e) => R("/api/playlist", {+function $Ae() {+ y5.playlistWrite = (e) => z("/api/playlist", {method: "POST",body: JSON.stringify(e)});}//#endregion//#region src/react/catalog-grid/selection-controller.ts-function w5(e) {+function C5(e) {return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";}-function T5(e, t, n, r, i = !1) {+function w5(e, t, n, r, i = !1) {return i && (e.selected.clear(), e.followSelected.clear()), {selectMode: r,selectSurface: r ? t.selectMode ? t.selectSurface : n : "",@@ -76352,24 +76355,24 @@ function T5(e, t, n, r, i = !1) {followLastSelectedId: i ? null : t.followLastSelectedId};}-function E5(e, t, n, r, i, a = !1) {+function T5(e, t, n, r, i, a = !1) {let o = n === "follow", s = wX(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {- ...T5(e, t, n, !0),+ ...w5(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function QAe(e, t, n, r) {- let i = w5(t);+function eje(e, t, n, r) {+ let i = C5(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: X$(n).view === "dismissed"+ junkDismissed: Y$(n).view === "dismissed"};}//#endregion//#region src/application/selection.js-var D5 = {+var E5 = {batchDockProps: void 0,trashCount: void 0,currentSelectSurface: void 0,@@ -76377,43 +76380,43 @@ var D5 = {BATCH_RUNNERS: void 0,coverRecheck: void 0};-function O5() {- U7({+function D5() {+ H7({selected: new Set(Tl),selectMode: Dl- }), o5({+ }), a5({selected: new Set(Tl),selectMode: Dl- }), T9({+ }), w9({selected: new Set(El),selectMode: Dl- }), D5.batchDockProps = cje(), y8() && (y8().render(D5.batchDockProps), Z.syncGlassOptics());+ }), E5.batchDockProps = uje(), v8() && (v8().render(E5.batchDockProps), Z.syncGlassOptics());}-function k5(e, t = !1) {- Zl(T5({+function O5(e, t = !1) {+ Zl(w5({selected: Tl,followSelected: El- }, j5(), w5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Dl), Dl && cl(), I("#selectMode").setAttribute("aria-pressed", String(Dl)), O5();+ }, A5(), C5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Dl), Dl && cl(), L("#selectMode").setAttribute("aria-pressed", String(Dl)), D5();}-function $Ae() {- return [...I5.gridCards()].map((e) => +e.dataset.id);+function tje() {+ return [...F5.gridCards()].map((e) => +e.dataset.id);}-function A5(e, t = !1) {- Zl(E5({+function k5(e, t = !1) {+ Zl(T5({selected: Tl,followSelected: El- }, j5(), w5(location.pathname), $Ae(), e, t)), k5(!0);+ }, A5(), C5(location.pathname), tje(), e, t)), O5(!0);}-function eje() {+function nje() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function tje(e, t = !1) {- Zl(E5({+function rje(e, t = !1) {+ Zl(T5({selected: Tl,followSelected: El- }, j5(), "follow", eje(), e, t)), k5(!0);+ }, A5(), "follow", nje(), e, t)), O5(!0);}-async function nje(e, t) {+async function ije(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -76437,7 +76440,7 @@ async function nje(e, t) {onConfirm: async () => {cc(t);try {- let t = await R("/api/batch", {+ let t = await z("/api/batch", {method: "POST",body: JSON.stringify({ids: i,@@ -76445,9 +76448,9 @@ async function nje(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();+ O5(!1, !0), await a7();let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;- C8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {+ S8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {if (r === "dispose" && t.restored_reasons) for (let e of [null,"manual",@@ -76456,7 +76459,7 @@ async function nje(e, t) {"missing"]) {let n = i.filter((n) => t.restored_reasons[n] === e);- n.length && await R("/api/batch", {+ n.length && await z("/api/batch", {method: "POST",body: JSON.stringify({ids: n,@@ -76465,37 +76468,37 @@ async function nje(e, t) {})});}- else await R("/api/batch", {+ else await z("/api/batch", {method: "POST",body: JSON.stringify({ids: i,operation: r})});- await o7();+ await a7();} : null });} catch (e) {throw cc(t, !1), e;} finally {- cc(t, !1), O5();+ cc(t, !1), D5();}}});}-async function rje() {+async function aje() {let e = [...Tl];if (!e.length) return;let t = yc({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}">+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + E5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}"><span class="chip-label">${t}</span></button>`).join("") + "</div>",confirmLabel: "判定产地",confirmDisabled: !0,onConfirm: async () => {let n = t.dialog.querySelector("[data-region-pick][aria-pressed=\"true\"]");if (!n) throw Error("先选一个产地");- return await R("/api/batch", {+ return await z("/api/batch", {method: "POST",body: JSON.stringify({ids: e,@@ -76512,9 +76515,9 @@ async function rje() {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(), C8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));+ n && (O5(!1, !0), await a7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function ije(e, t) {+async function oje(e, t) {let n = [...El];if (!n.length) return;let r = {@@ -76534,22 +76537,22 @@ async function ije(e, t) {onConfirm: async () => {cc(t);try {- await R(e === "save" ? "/api/follow/save" : "/api/follow/status", {+ await z(e === "save" ? "/api/follow/save" : "/api/follow/status", {method: "POST",body: JSON.stringify(e === "save" ? { items: n } : {items: n,to: e})- }), k5(!1, !0), location.pathname === "/follow" && Zl({ pageOpens: Hl + 1 }), C8.actionReceipt(`已${r[e]} ${n.length} 项`);+ }), O5(!1, !0), location.pathname === "/follow" && Zl({ pageOpens: Hl + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);} catch (e) {throw cc(t, !1), e;} finally {- cc(t, !1), O5();+ cc(t, !1), D5();}}});}-async function aje(e, t) {+async function sje(e, t) {let n = [...Tl];if (!n.length) return;let r = {@@ -76569,75 +76572,75 @@ async function aje(e, t) {onConfirm: async () => {cc(t);try {- await R("/api/batch", {+ await z("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: e,...e === "dispose" ? { disposal_reason: "junk" } : {}})- }), k5(!1, !0), await L7();+ }), O5(!1, !0), await I7();let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;- C8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {- await R("/api/batch", {+ S8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {+ await z("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: t})- }), await L7();+ }), await I7();} : null });} catch (e) {throw cc(t, !1), e;} finally {- cc(t, !1), O5();+ cc(t, !1), D5();}}});}-function oje() {- tAe({- root: I("[data-batch-dock]"),+function cje() {+ rAe({+ root: L("[data-batch-dock]"),run: (e, t, n) => {- D5.BATCH_RUNNERS[e]?.(t, n);+ E5.BATCH_RUNNERS[e]?.(t, n);}}).then((e) => {- e.render(D5.batchDockProps), Z.syncGlassOptics();+ e.render(E5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function sje() {- D5.batchDockProps = {+function lje() {+ E5.batchDockProps = {count: 0,context: "catalog",junkDismissed: !1- }, D5.trashCount = null, D5.currentSelectSurface = () => w5(location.pathname), J.handler(I("#selectMode"), "onclick", () => k5(!Dl, !!Dl)), D5.REGION_CHOICES = [+ }, E5.trashCount = null, E5.currentSelectSurface = () => C5(location.pathname), J.handler(L("#selectMode"), "onclick", () => O5(!Dl, !!Dl)), E5.REGION_CHOICES = [["jp", "日本"],["kr", "韩国"],["cn", "国产"],["west", "欧美"],["other", "其他"],["none", "撤回判定"]- ], D5.BATCH_RUNNERS = {- batch: nje,- region: rje,- follow: ije,- junk: aje,- clear: () => k5(!1, !0)- }, J.handler(I("#density"), "onclick", () => {- u5() ? zAe(kA() === "big" ? "small" : "big") : Eoe();- }), HA(), ol({+ ], E5.BATCH_RUNNERS = {+ batch: ije,+ region: aje,+ follow: oje,+ junk: sje,+ clear: () => O5(!1, !0)+ }, J.handler(L("#density"), "onclick", () => {+ l5() ? VAe(SA() === "big" ? "small" : "big") : Poe();+ }), FA(), ol({selecting: () => Dl,- censored: () => Q7(),+ censored: () => Z7(),delaySeconds: () => Z.appSettings.hoverDelaySeconds}), J.listen(window, "pagehide", () => cl()), J.listen(document, "visibilitychange", () => {document.hidden && cl();- }), rl(), D5.coverRecheck = 0, J.listen(window, "resize", () => {- el(I("#index")), clearTimeout(D5.coverRecheck), D5.coverRecheck = J.delay(() => I("#index").querySelectorAll("img.cover").forEach((e) => {+ }), rl(), E5.coverRecheck = 0, J.listen(window, "resize", () => {+ el(L("#index")), clearTimeout(E5.coverRecheck), E5.coverRecheck = J.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {e.complete && Gc(e);}), 200);}, { passive: !0 });}-function j5() {+function A5() {return {selectMode: Dl,selectSurface: Al,@@ -76645,79 +76648,79 @@ function j5() {followLastSelectedId: kl};}-function cje() {- return QAe({+function uje() {+ return eje({selected: Tl,followSelected: El- }, location.pathname, location.search, U.state);+ }, location.pathname, location.search, W.state);}//#endregion//#region src/application/index.js-var M5 = {+var j5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function lje() {+function dje() {return Z.appSettings.followLayout === "table" ? "table" : "default";}-function uje() {- return jQ(location.search);+function fje() {+ return AQ(location.search);}-function dje(e) {- return MQ(e);+function pje(e) {+ return jQ(e);}-function fje(e) {- Q.route(dje(e));+function mje(e) {+ Q.route(pje(e));}-function pje(e = "") {- return NQ(location.search, e);+function hje(e = "") {+ return MQ(location.search, e);}-function mje(e) {- return L8(e);+function gje(e) {+ return I8(e);}-function N5(e) {- return F8(e);+function M5(e) {+ return P8(e);}-function P5() {- I("#stats").hidden = !0, I("#index").hidden = !1, z7(), X.hideCatalogCombo(), I("#count").textContent = "", I("#loadSentinel").hidden = !0;+function N5() {+ L("#stats").hidden = !0, L("#index").hidden = !1, R7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;}-function hje(e, t) {+function _je(e, t) {Zl({ state: {- ...U,+ ...W,state: "",tag: e.join(","),tag_match: t- } }), k5(!1, !1), Q.route(g7()), W5(), g9(), M7();+ } }), O5(!1, !1), Q.route(h7()), U5(), h9(), j7();}-function F5(e) {- M5.controller.openFollowAuthor(e);+function P5(e) {+ j5.controller.openFollowAuthor(e);}-function gje(e) {- M5.controller.openFollowTag(e);+function vje(e) {+ j5.controller.openFollowTag(e);}-function _je() {+function yje() {$.FOLLOW_MANAGE_TABS = ["list","add","feeds"], J.listen(document, "click", (e) => {- e.target.closest?.("[data-empty-settings]") && C5("媒体库与入库");- }), M5.peopleIndexLayout = () => U3(Z.appSettings.peopleLayout), M5.personAvatar = I8;+ e.target.closest?.("[data-empty-settings]") && S5("媒体库与入库");+ }), j5.peopleIndexLayout = () => H3(Z.appSettings.peopleLayout), j5.personAvatar = F8;}-function vje() {- M5.controller = yAe({+function bje() {+ j5.controller = xAe({route: Q.route,- followView: S9,- adoptFollowView: C9,+ followView: x9,+ adoptFollowView: S9,hideIndex: () => {- I("#index").hidden = !0;+ L("#index").hidden = !0;},- openPage: b9+ openPage: y9});}//#endregion//#region src/application/loading.js-var I5 = {+var F5 = {setGridCards: void 0,gridCards: void 0,managementPlaceholder: void 0,@@ -76726,58 +76729,58 @@ var I5 = {ENTITY_SHAPES_WAIT: void 0,syncPageTitle: void 0};-function L5(e = "正在读取作品") {+function I5(e = "正在读取作品") {if (location.pathname === "/wall") {- I("#loadSentinel").hidden = !0;+ L("#loadSentinel").hidden = !0;return;}- let t = I("#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 = _Ce(X$(location.search)), Ts(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && T7({+ 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 = yCe(Y$(location.search)), Ts(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", W && w7({count: null,- ...O7()- })), I("#loadSentinel").hidden = !0, H7()) return;- let r = I("#grid"), i = K7(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== p2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== q7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : I5.setGridCards(i), Ts(I("#grid")));+ ...D7()+ })), L("#loadSentinel").hidden = !0, V7()) return;+ let r = L("#grid"), i = G7(e), a = r.querySelector(".catalog-skeleton");+ (a?.dataset.skeleton !== f2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== K7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : F5.setGridCards(i), Ts(L("#grid")));}-function R5() {- I("#catalogFilter").style.display = "none", w7();+function L5() {+ L("#catalogFilter").style.display = "none", C7();}-function z5() {+function R5() {let e = new Promise((e) => {- let t = I5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {+ let t = F5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();t -= Math.min(i - n, 50), n = i, t > 0 ? J.delay(r, Math.min(t, 50)) : e();};J.delay(r, 50);});- return Promise.race([I5.entityShapesReady ||= G8(), e]);+ return Promise.race([F5.entityShapesReady ||= W8(), e]);}-function yje() {+function xje() {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" && d1(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), L5();+ else if (/^\/assets\/\d+$/.test(e)) L5();+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) L5();+ else if (e === "/junk-files") I5("正在读取垃圾文件");+ else if (e === "/jav" && u1(new URLSearchParams(location.search).get("tab")) === "library") I5("正在读取馆藏");else if (Q.managedPagePath(e)) {- R5();- let t = I("#stats");- t.hidden = !1, z7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : I5.managementPlaceholder(e), Ts(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) R5(), P5(), K3(I("#index"), W3(e.slice(1), location.search), M5.peopleIndexLayout());+ L5();+ let t = L("#stats");+ t.hidden = !1, R7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : F5.managementPlaceholder(e), Ts(t);+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) L5(), N5(), G3(L("#index"), U3(e.slice(1), location.search), j5.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {- R5(), I("#index").hidden = !1, z7();- let t = en[e.split("/")[1]], n = e.split("/").slice(2).join("/");- (U8.hasEntityShape(t, n) ? Promise.resolve() : z5()).then(() => {- I("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (g5(t, n), Ts(I("#index")));+ L5(), L("#index").hidden = !1, R7();+ let t = $t[e.split("/")[1]], n = e.split("/").slice(2).join("/");+ (H8.hasEntityShape(t, n) ? Promise.resolve() : R5()).then(() => {+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (h5(t, n), Ts(L("#index")));});- } else Q.routeMeta(e) ? L5() : (z7(), I("#count").textContent = "", I("#loadSentinel").hidden = !0);+ } else Q.routeMeta(e) ? I5() : (R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);}-function bje() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => d2(t, {+function Sje() {+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => u2(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",- gridSize: kA()+ gridSize: SA()}), $.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>@@ -76785,39 +76788,39 @@ function bje() {<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>`, I("#loadSentinel").innerHTML = is(rs), I5.setGridCards = (e) => gs(I("#grid"), () => {- I("#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) => f2(e, {- followLayout: lje(),+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = is(rs), F5.setGridCards = (e) => gs(L("#grid"), () => {+ L("#grid").innerHTML = `<div class="grid">${e}</div>`;+ }), F5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), F5.managementPlaceholder = (e) => d2(e, {+ followLayout: dje(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(uje())- }), I5.wantsDiscoveryBars = () => I("#catalogFilter").style.display !== "none", I5.entityShapesReady = null, I5.ENTITY_SHAPES_WAIT = 400, I5.syncPageTitle = (e) => {- let t = new URL(e, location.origin), n = UV(decodeURIComponent(t.pathname))?.title;- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, m9();+ }))(fje())+ }), F5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", F5.entityShapesReady = null, F5.ENTITY_SHAPES_WAIT = 400, F5.syncPageTitle = (e) => {+ let t = new URL(e, location.origin), n = WV(decodeURIComponent(t.pathname))?.title;+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, p9();};}//#endregion//#region src/sidebar-skeleton.ts-var B5 = (e) => e.replace(/[&<>"']/g, (e) => ({+var z5 = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"})[e]);-function xje(e, t, n) {+function Cje(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>`;- return `<button type="button" data-nav="${B5(e)}" aria-pressed="${n(e)}" aria-label="${B5(t)}">${i}<span>${B5(t)}</span></button>`;+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${z5(r)}"/></svg>`;+ return `<button type="button" data-nav="${z5(e)}" aria-pressed="${n(e)}" aria-label="${z5(t)}">${i}<span>${z5(t)}</span></button>`;}).join("")}</div>`;}//#endregion//#region src/application/filter-scroll.js-function Sje(e, t, n, r = !1) {+function wje(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -76836,7 +76839,7 @@ function Sje(e, t, n, r = !1) {}//#endregion//#region src/application/layout.js-var V5 = {+var B5 = {sidebarProps: void 0,sidebarSurface: void 0,sidebarCatalog: void 0,@@ -76858,20 +76861,20 @@ var V5 = {mobileFilterHost: void 0,mobileFilterPath: void 0};-function H5({ manage: e = !0, placeholder: t = "" } = {}) {- I("#stats").hidden = !1, I("#index").hidden = !0, z7(), I("#count").textContent = "", I("#loadSentinel").hidden = !0, e ? Z5() : (Q5(""), g9()), t && m2(I("#stats"), t);+function V5({ manage: e = !0, placeholder: t = "" } = {}) {+ L("#stats").hidden = !1, L("#index").hidden = !0, R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? X5() : (Z5(""), h9()), t && p2(L("#stats"), t);}-function U5() {- X.hideCatalogCombo(), R5(), document.body.classList.remove("entity-open", "index-open");+function H5() {+ X.hideCatalogCombo(), L5(), document.body.classList.remove("entity-open", "index-open");}-function W5() {- document.body.classList.remove("entity-open", "index-open"), rH(I("#index")), I("#stats").hidden = !0, I("#index").hidden = !0, Z8(location.pathname) || (I("#feedNew").hidden = !0), I("#catalogFilter").style.display = "", w7(), Z5(), $5();+function U5() {+ document.body.classList.remove("entity-open", "index-open"), iH(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, X8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", C7(), X5(), Q5();}-function Cje() {- Q.route("/"), W5();+function Tje() {+ Q.route("/"), U5();}-function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {- h9({+function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {+ m9({content: e.length || t.length || n ? {kind: "follow",tags: e.map(([e, t]) => ({@@ -76894,69 +76897,69 @@ function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {filters: $.followSidebarFilters()});}-function K5(e) {- kMe({- ...S9(),+function G5(e) {+ jMe({+ ...x9(),...e- }), h9({ filters: $.followSidebarFilters() });+ }), m9({ filters: $.followSidebarFilters() });}-function q5() {+function K5() {return matchMedia("(max-width:760px)").matches;}-function J5(e) {- let t = I("#drawer"), n = !e && t.contains(document.activeElement);- t.inert = !e && q5(), t.classList.toggle("open", e), I("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), I("#filterBtn").setAttribute("aria-expanded", String(!!e)), I("#filterBtn").setAttribute("aria-controls", "drawer"), I("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && I("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");+function q5(e) {+ let t = L("#drawer"), n = !e && t.contains(document.activeElement);+ t.inert = !e && K5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");}-function wje() {- q5() && J5(!1);+function Eje() {+ K5() && q5(!1);}-function Tje() {- Bl === null && (Zl({ runtimeConfigurable: !1 }), R("/healthz").then((e) => {- Zl({ runtimeConfigurable: !!e.configurable }), Bl && X5() && Z5();+function Dje() {+ Bl === null && (Zl({ runtimeConfigurable: !1 }), z("/healthz").then((e) => {+ Zl({ runtimeConfigurable: !!e.configurable }), Bl && Y5() && X5();}).catch(() => {}));}-function Y5(e = "", t = !1) {- if (!t && !EV(location.pathname)) {- let t = fH.navigation;- fH.push(OV(e), { settingsBackground: {+function J5(e = "", t = !1) {+ if (!t && !DV(location.pathname)) {+ let t = pH.navigation;+ pH.push(kV(e), { settingsBackground: {pathname: location.pathname,search: location.search,state: t.location.state,seq: t.seq} });- } else !t && e && pH(OV(e), {+ } else !t && e && mH(kV(e), {replace: !0,- state: fH.navigation.location.state+ state: pH.navigation.location.state});- return e ||= DV(location.pathname), Qke(V5.settingsHost()).then((t) => (t.open(e), t));+ return e ||= OV(location.pathname), eAe(B5.settingsHost()).then((t) => (t.open(e), t));}-function Eje() {- EV(location.pathname) && (kV(fH.navigation.location.state) ? fH.go(-1) : Q.navigatePath("/", !0));+function Oje() {+ DV(location.pathname) && (AV(pH.navigation.location.state) ? pH.go(-1) : Q.navigatePath("/", !0));}-function Dje() {+function kje() {return {- scroll: I("#drawerScroll"),+ scroll: L("#drawerScroll"),store: Z.settingsStore,- navCatalog: V5.NAV_CATALOG,- navOn: c7,- navTo: l7,- toggleChip: (e, t, n) => C7((r) => {+ navCatalog: B5.NAV_CATALOG,+ navOn: s7,+ navTo: c7,+ toggleChip: (e, t, n) => S7((r) => {if (n) {let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);i >= 0 ? n.splice(i, 1) : n.push(t), r[e] = n.join(",");} else r[e] = r[e] === t ? "" : t;}),- setDuration: (e, t) => C7((n) => {+ setDuration: (e, t) => S7((n) => {n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";}),openFollowTag: (e) => {- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), b9(x9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), y9(b9());},selectFollowTag: (e) => {- $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), b9(x9());+ $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), y9(b9());},- selectFollowProvider: (e) => K5({ provider: $.followProviders.has(e) ? "" : e }),- setFollowDuration: (e, t) => K5({+ selectFollowProvider: (e) => G5({ provider: $.followProviders.has(e) ? "" : e }),+ setFollowDuration: (e, t) => G5({durMin: e ? e * 60 : 0,durMax: t < 180 ? t * 60 : 0}),@@ -76965,137 +76968,137 @@ function Dje() {}};}-function Oje() {- let e = I("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = xje(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {- if (p8()) return;+function Aje() {+ let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];+ e.innerHTML = Cje(Z.appSettings.sidebarOrder, B5.NAV_CATALOG, s7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {+ if (f8()) return;let t = e.target.closest?.("[data-nav]");- t && l7(t.dataset.nav);- }), $ke(Dje()).then((e) => e.render(V5.sidebarProps)).catch(() => {});+ t && c7(t.dataset.nav);+ }), tAe(kje()).then((e) => e.render(B5.sidebarProps)).catch(() => {});}-async function kje() {+async function jje() {let e = J, t = null;try {- t = await R("/api/settings", { signal: e.signal });+ t = await z("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && mA(t, (e) => Z.settingsEffects[e]?.());+ e.isActive && cA(t, (e) => Z.settingsEffects[e]?.());}-function X5() {- return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");+function Y5() {+ return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (W.state === "ads" ? "cleanup" : "");}-function Z5() {- let e = X5();- Tje(), e && R5(), I("#count").classList.toggle("no-tagbar", !!e), g9(), e !== "trash" && (D5.trashCount = null), Q5(e);+function X5() {+ let e = Y5();+ Dje(), e && L5(), L("#count").classList.toggle("no-tagbar", !!e), h9(), e !== "trash" && (E5.trashCount = null), Z5(e);}-function Aje(e) {+function Mje(e) {return {section: e,path: decodeURIComponent(location.pathname),- sections: V5.MANAGE_SECTIONS,- menu: e ? V5.manageMenuSections() : [],- trash: D5.trashCount+ sections: B5.MANAGE_SECTIONS,+ menu: e ? B5.manageMenuSections() : [],+ trash: E5.trashCount};}-function Q5(e = X5()) {- $5();- let t = Aje(e), n = g8();+function Z5(e = Y5()) {+ Q5();+ let t = Mje(e), n = h8();if (n) n.render(t);else {- let e = uce(t);- e !== V5.manageHeaderSkeleton && (V5.manageHeaderSkeleton = e, V5.manageHeaderRoot().innerHTML = e);+ let e = cP(t);+ e !== B5.manageHeaderSkeleton && (B5.manageHeaderSkeleton = e, B5.manageHeaderRoot().innerHTML = e);}- let r = gP(t)?.title || "";- r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && hs(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));+ let r = iP(t)?.title || "";+ r !== B5.lastManagePageLabel && (B5.lastManagePageLabel = r, r && hs(B5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function jje() {- let e = V5.manageHeaderRoot();+function Nje() {+ let e = B5.manageHeaderRoot();J.listen(e, "click", (e) => {- if (g8()) return;+ if (h8()) return;let t = e.target.closest?.("[data-manage]");- if (t) e7(t.dataset.manage);+ if (t) $5(t.dataset.manage);else if (e.target.closest?.("[data-manage-crumb] a[href]")) {if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;e.preventDefault(), Q.navigatePath("/data-cleanup");- } else e.target.closest?.("[data-empty-trash]") && N7();- }), eAe({+ } else e.target.closest?.("[data-empty-trash]") && M7();+ }), nAe({root: e,- openManage: e7,+ openManage: $5,openDataCleanup: () => Q.navigatePath("/data-cleanup"),- emptyTrash: N7- }).then(() => Q5()).catch(() => {});+ emptyTrash: M7+ }).then(() => Z5()).catch(() => {});}-function $5() {- let e = I("#listTitle");+function Q5() {+ let e = L("#listTitle");if (!e) return;- let t = decodeURIComponent(location.pathname), n = !X5() && Qt(t) && Zt[U.state] || "";- e.hidden = !n, n && (e.textContent = n), I("#catalogPageHeading").hidden = !!X5() || !Qt(t) || !!n || U.jav === "1";+ let t = decodeURIComponent(location.pathname), n = !Y5() && Zt(t) && Xt[W.state] || "";+ e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!Y5() || !Zt(t) || !!n || W.jav === "1";}-function e7(e = "stats") {+function $5(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Ql(), Q.route(Z$()), W5(), g9(), M7());+ t ? Q.openRoutePath(t) : (W.orient = "", W.state = "ads", Ql(), Q.route(X$()), U5(), h9(), j7());}-function t7() {+function e7() {let e = decodeURIComponent(location.pathname);- return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || Wl : !1;+ return e === "/" ? W.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? W.jav === "1" || Wl : !1;}-function Mje(e = t7()) {- let t = Rk.filter(([e]) => e !== "seed");- return e ? [zk, ...t] : t;+function Pje(e = e7()) {+ let t = Nk.filter(([e]) => e !== "seed");+ return e ? [Pk, ...t] : t;}-function n7() {- return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";+function t7() {+ return decodeURIComponent(location.pathname) === "/" && W.jav !== "1";}-function r7() {- return EA(n7());+function n7() {+ return yA(t7());}-function Nje(e) {- Coe(e), a7(), I("#grid").hidden || J7();+function Fje(e) {+ joe(e), i7(), L("#grid").hidden || q7();}-function i7(e) {- PA(e), a7(), J7();+function r7(e) {+ DA(e), i7(), q7();}-function a7() {+function i7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {- e.checked = e.value === r7();- }), X.catalogFilterProps && T7({ layout: D7() });+ e.checked = e.value === n7();+ }), X.catalogFilterProps && w7({ layout: E7() });}-function Pje(e) {- woe(e), a7(), J7();+function Ije(e) {+ Moe(e), i7(), q7();}-async function o7() {- k8(), X.mixRelatedCache.clear(), await Promise.all([s7(), M7()]);+async function a7() {+ O8(), X.mixRelatedCache.clear(), await Promise.all([o7(), j7()]);}-async function s7() {- if (Y.entityPageCurrent() && !I("#index").hidden) {- o5({ revision: ++Y.entityPageRevision });+async function o7() {+ if (Y.entityPageCurrent() && !L("#index").hidden) {+ a5({ revision: ++Y.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);- if (UV(e)?.reload === "reopen" || e === "/follow") {+ if (WV(e)?.reload === "reopen" || e === "/follow") {Zl({ pageOpens: Hl + 1 });return;}let t = Q.routeMeta(e);- t?.route.reload ? await t.route.reload() : await L7();+ t?.route.reload ? await t.route.reload() : await I7();}-function c7(e) {- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = V5.DIRECT_MANAGE_NAV[e];- if (r) return X5() === r;+function s7(e) {+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = B5.DIRECT_MANAGE_NAV[e];+ if (r) return Y5() === r;if (e === "manage") {- let e = X5();- return !!e && !Z.appSettings.sidebarOrder.some((t) => V5.DIRECT_MANAGE_NAV[t] === e);+ let e = Y5();+ return !!e && !Z.appSettings.sidebarOrder.some((t) => B5.DIRECT_MANAGE_NAV[t] === e);}- return e === "jav" ? t === "/jav" || t7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !X5() && !U.state && !t7() && U.orient !== "竖屏" : Yt[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";+ return e === "jav" ? t === "/jav" || e7() : e === "shorts" ? W.orient === "竖屏" : e === "" ? t === "/" && !Y5() && !W.state && !e7() && W.orient !== "竖屏" : Jt[e] ? n === e && W.orient !== "竖屏" : n ? n === e : t === "/" && W.state === e && W.orient !== "竖屏";}-function l7(e) {- if (wje(), V5.DIRECT_MANAGE_NAV[e]) {- e7(V5.DIRECT_MANAGE_NAV[e]);+function c7(e) {+ if (Eje(), B5.DIRECT_MANAGE_NAV[e]) {+ $5(B5.DIRECT_MANAGE_NAV[e]);return;}if (e === "manage") {- e7();+ $5();return;}if (e === "jav") {@@ -77103,25 +77106,25 @@ function l7(e) {return;}if (e === "") {- _7();+ g7();return;}- let t = Yt[e] ? null : Q.routePathOf("nav", e);- t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), Ql(), Q.route(g7()), W5(), g9(), M7());+ let t = Jt[e] ? null : Q.routePathOf("nav", e);+ t ? Q.openRoutePath(t) : (e === "shorts" ? (W.orient = "竖屏", W.state = "") : (W.orient = "", W.state = e), Ql(), Q.route(h7()), U5(), h9(), j7());}-function u7() {+function l7() {let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);- Dl && Al !== D5.currentSelectSurface() && k5(!1, !0);- let n = t.length > 1 && Object.prototype.hasOwnProperty.call(en, t[0]), r = Qt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";- I("#selectMode").hidden = !i, I("#density").hidden = !a, d5(), !i && Dl && k5(!1, !0);+ Dl && Al !== E5.currentSelectSurface() && O5(!1, !0);+ let n = t.length > 1 && Object.prototype.hasOwnProperty.call($t, t[0]), r = Zt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";+ L("#selectMode").hidden = !i, L("#density").hidden = !a, u5(), !i && Dl && O5(!1, !0);}-function Fje() {+function Lje() {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;+ (t !== B5.mobileFilterHost || location.pathname !== B5.mobileFilterPath) && (B5.mobileFilterScroll = null), B5.mobileFilterHost = t, B5.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 = Sje(V5.mobileFilterScroll, n, innerWidth <= 760, r);+ B5.mobileFilterScroll = wje(B5.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {- let e = n === t && V5.mobileFilterScroll.free;+ let e = n === t && B5.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;let r = n.getBoundingClientRect().top;n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);@@ -77133,64 +77136,64 @@ function Fje() {});}}-function Ije() {- Fje(), [".board-filter-frame", "#count"].forEach((e) => {- let t = I(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;+function Rje() {+ Lje(), [".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, Ije();+function u7() {+ B5.stickyFrame ||= J.frame(() => {+ B5.stickyFrame = 0, Rje();});}-function Lje() {+function zje() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), J.handler(I("#filterBtn"), "onclick", () => J5(!I("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = A8, V5.MANAGE_SECTIONS = j8, V5.MANAGE_MENU_SECTIONS = M8, V5.manageMenuSections = () => gAe(Bl === !0), V5.OPTIONAL_SIDEBAR_ITEMS = N8, V5.NAV_CATALOG = _Ae, V5.DIRECT_MANAGE_NAV = vAe, V5.settingsHost = () => ({- selectSection: (e) => pH(OV(e), {+ }), J.handler(L("#filterBtn"), "onclick", () => q5(!L("#drawer").classList.contains("open"))), B5.SIDEBAR_ITEMS = k8, B5.MANAGE_SECTIONS = A8, B5.MANAGE_MENU_SECTIONS = j8, B5.manageMenuSections = () => vAe(Bl === !0), B5.OPTIONAL_SIDEBAR_ITEMS = M8, B5.NAV_CATALOG = yAe, B5.DIRECT_MANAGE_NAV = bAe, B5.settingsHost = () => ({+ selectSection: (e) => mH(kV(e), {replace: !0,- state: fH.navigation.location.state+ state: pH.navigation.location.state}),- closed: Eje,+ closed: Oje,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),sound: (e) => mo(e),- navCatalog: V5.NAV_CATALOG,- themeOptions: yoe,- videoLayouts: bA,- followInitialRanges: P8,- videoLayout: () => r7(),- setVideoLayout: Pje,- censored: Q7,- setCensored: oMe,+ navCatalog: B5.NAV_CATALOG,+ themeOptions: Eoe,+ videoLayouts: pA,+ followInitialRanges: N8,+ videoLayout: () => n7(),+ setVideoLayout: Ije,+ censored: Z7,+ setCensored: cMe,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: sMe,- receipt: (e) => C8.actionReceipt(e),- failure: C8.actionFailure,- syncRemote: (e) => mA(e, (e) => Z.settingsEffects[e]?.()),+ setHighContrast: lMe,+ receipt: (e) => S8.actionReceipt(e),+ failure: S8.actionFailure,+ syncRemote: (e) => cA(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),- configurable: () => R("/healthz").then((e) => (Zl({ runtimeConfigurable: !!e.configurable }), Bl)).catch(() => null)- }), J.handler(I("#settingsBtn"), "onclick", () => void Y5()), V5.lastManagePageLabel = "", V5.manageHeaderSkeleton = "", V5.manageHeaderRoot = () => I("[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" && w9() && Zl({ followScrollY: scrollY }), window.__scrolling = !0, cl(), clearTimeout(V5.scrollT), V5.scrollT = J.delay(() => {+ configurable: () => z("/healthz").then((e) => (Zl({ runtimeConfigurable: !!e.configurable }), Bl)).catch(() => null)+ }), J.handler(L("#settingsBtn"), "onclick", () => void J5()), B5.lastManagePageLabel = "", B5.manageHeaderSkeleton = "", B5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, B5.scrollT = null, B5.stickyFrame = 0, B5.mobileFilterScroll = null, B5.mobileFilterHost = null, B5.mobileFilterPath = "", J.listen(document, "focusin", u7), J.listen(document, "focusout", u7), J.listen(window, "scroll", () => {+ u7(), location.pathname === "/follow" && C9() && Zl({ followScrollY: scrollY }), window.__scrolling = !0, cl(), clearTimeout(B5.scrollT), B5.scrollT = J.delay(() => {window.__scrolling = !1;}, 180);- }, { passive: !0 }), J.listen(window, "resize", d7, { passive: !0 }), J.handler(I("#scrim"), "onclick", () => J5(!1));+ }, { passive: !0 }), J.listen(window, "resize", u7, { passive: !0 }), J.handler(L("#scrim"), "onclick", () => q5(!1));}//#endregion//#region src/catalog-filter-skeleton.ts-var f7 = 64, p7 = (e) => e.replace(/[&<>"]/g, (e) => ({+var d7 = 64, f7 = (e) => e.replace(/[&<>"]/g, (e) => ({"&": "&","<": "<",">": ">","\"": """-})[e]), m7 = (e) => e.repeat(f7);-function Rje(e, t, n) {- let r = e.map((e) => `<a href="${p7(e.href)}" data-catalog-view="${p7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${p7(e.label)}</a>`).join("");- return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + m7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + m7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(f7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ho()}</span>` + (n ? i5(n.sorts, n.layout) : "") + "</div></div></div></div>";+})[e]), p7 = (e) => e.repeat(d7);+function Bje(e, t, n) {+ let r = e.map((e) => `<a href="${f7(e.href)}" data-catalog-view="${f7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${f7(e.label)}</a>`).join("");+ return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + p7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div><div data-catalog-tier=\"studios\">" + p7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(d7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${Ho()}</span>` + (n ? r5(n.sorts, n.layout) : "") + "</div></div></div></div>";}//#endregion//#region src/application/catalog.js@@ -77229,83 +77232,83 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function zje() {- X.initialParams.has("loc") || (U.loc = h7(U.loc), Ql());+function Vje() {+ X.initialParams.has("loc") || (W.loc = m7(W.loc), Ql());}-function h7(e) {- return sAe(e, Z.sourceOnline);+function m7(e) {+ return lAe(e, Z.sourceOnline);}-function g7(e = U) {- return cAe(e);+function h7(e = W) {+ return uAe(e);}-function Bje() {- Zl(T8(lAe(U, Z.appSettings, C8.rollSeed))), k8();+function Hje() {+ Zl(w8(dAe(W, Z.appSettings, S8.rollSeed))), O8();}-function _7(e = null, t = !1) {- Bje(), e && (Object.assign(U, e), Ql()), Q.route(e ? g7() : "/"), X.clearSearchField(), i9(!1), W5(), g9(), M7(), t && window.scrollTo({+function g7(e = null, t = !1) {+ Hje(), e && (Object.assign(W, e), Ql()), Q.route(e ? h7() : "/"), X.clearSearchField(), r9(!1), U5(), h9(), j7(), t && window.scrollTo({top: 0,behavior: "smooth"});}-function Vje(e, t = null) {+function Uje(e, t = null) {let n = e.id;- !e.medium || e.medium === "video" ? c9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : A5(n);+ !e.medium || e.medium === "video" ? s9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : k5(n);}-function v7(e) {- return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, R("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {+function _7(e) {+ return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, z("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {throw X.mixRelatedCache.delete(e), t;})), X.mixRelatedCache.get(e);}-function Hje(e, t) {- i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : y7(e, t);+function Wje(e, t) {+ r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : v7(e, t);}-function y7(e, t) {- e.edition_group ? mMe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? hMe(e.part_group.seed_id, e.id, !0, t) : c9(e.id, !0, null, t);+function v7(e, t) {+ e.edition_group ? gMe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? _Me(e.part_group.seed_id, e.id, !0, t) : s9(e.id, !0, null, t);}-async function Uje(e, t) {+async function Gje(e, t) {try {- let n = await R("/api/watch-later", {+ let n = await z("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});- e.watch_later = n.watch_later, t(!!n.watch_later), C8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- let n = await R("/api/watch-later", {+ e.watch_later = n.watch_later, t(!!n.watch_later), S8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {+ let n = await z("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});e.watch_later = n.watch_later, t(!!n.watch_later);} });} catch (e) {- C8.actionFailure("更新稍后看", e);+ S8.actionFailure("更新稍后看", e);}}-async function Wje(e, t) {+async function Kje(e, t) {try {- await R("/api/batch", {+ await z("/api/batch", {method: "POST",body: JSON.stringify({ids: [e.id],operation: t})- }), await L7();+ }), await I7();let n = t === "restore" ? "dispose" : "restore";- C8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {- await R("/api/batch", {+ S8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {+ await z("/api/batch", {method: "POST",body: JSON.stringify({ids: [e.id],operation: n,...n === "dispose" ? { disposal_reason: e.disposal_reason ?? null } : {}})- }), await L7();+ }), await I7();} });} catch (e) {- throw C8.actionFailure("操作", e), e;+ throw S8.actionFailure("操作", e), e;}}-async function Gje(e, t, n, r) {- let i = Number(e.rating) || 0, a = YM(i, t), o = async (t, r) => {- let i = (await R("/api/feedback", {+async function qje(e, t, n, r) {+ let i = Number(e.rating) || 0, a = yM(i, t), o = async (t, r) => {+ let i = (await z("/api/feedback", {method: "POST",body: JSON.stringify({id: e.id,@@ -77318,14 +77321,14 @@ async function Gje(e, t, n, r) {};try {let e = await o(a, r);- C8.actionReceipt(e ? `已评 ${JM(e)} 星` : "已取消评分", { undo: () => o(i) });+ S8.actionReceipt(e ? `已评 ${vM(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {- throw r?.aborted || C8.actionFailure("评分", e), e;+ throw r?.aborted || S8.actionFailure("评分", e), e;}}-async function b7(e) {+async function y7(e) {let t = new URLSearchParams();- if (t7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {+ if (e7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && W.state && t.set("state", W.state), e.type !== "item") {let e = Y.activeFilterState();["loc",@@ -77346,9 +77349,9 @@ async function b7(e) {e[n] && t.set(n, e[n]);});}- return mAe(t.toString(), X.topsQueryParams(e).toString());+ return gAe(t.toString(), X.topsQueryParams(e).toString());}-function Kje() {+function Jje() {if (scrollY <= 0) return;let e = document.documentElement;e.classList.add("refiltering");@@ -77360,32 +77363,32 @@ function Kje() {behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth"});}-function x7(e) {- s5().type !== "entity" && T7({ tags: k7(e) }), h9({ filters: { ...e } }), I7();+function b7(e) {+ o5().type !== "entity" && w7({ tags: O7(e) }), m9({ filters: { ...e } }), F7();}-async function S7(e) {- let t = ++X.facetCountsSeq, [n] = await b7(e);- t === X.facetCountsSeq && (e.type === "home" && (t9.facets = n), h9({ latest: Z7(n, e) }));+async function x7(e) {+ let t = ++X.facetCountsSeq, [n] = await y7(e);+ t === X.facetCountsSeq && (e.type === "home" && (e9.facets = n), m9({ latest: X7(n, e) }));}-function C7(e) {- Kje();- let t = s5();+function S7(e) {+ Jje();+ let t = o5();if (t.type === "entity") {let n = { ...t.filters };- e(n), l5(t.kind, t.name, n), x7(n), S7(s5());+ e(n), c5(t.kind, t.name, n), b7(n), x7(o5());} else if (t.type === "item") {let t = Y.cloneBarsContext(wl);- if (i9(!1), Zl({ detailReturnBarsContext: null }), t && t.type === "entity") {- e(t.filters), l5(t.kind, t.name, t.filters) ? M7() : Zl({ pageOpens: Hl + 1 });+ if (r9(!1), Zl({ detailReturnBarsContext: null }), t && t.type === "entity") {+ e(t.filters), c5(t.kind, t.name, t.filters) ? j7() : Zl({ pageOpens: Hl + 1 });return;}- e(U), Zl({ barsContext: {+ e(W), Zl({ barsContext: {type: "home",- filters: U- } }), Q.route(g7()), W5(), M7();- } else e(U), Ql(), Q.route(g7()), x7(U), S7(Cl);+ filters: W+ } }), Q.route(h7()), U5(), j7();+ } else e(W), Ql(), Q.route(h7()), b7(W), x7(Cl);}-function qje() {+function Yje() {return {tiers: null,empty: !1,@@ -77401,187 +77404,187 @@ function qje() {offscreen: !1,combo: [],comboHidden: !0,- comboHost: I("#combo"),- actions: E7(),+ comboHost: L("#combo"),+ actions: T7(),helpers: {- wireDrag: e9,+ wireDrag: $7,wireScroller: (e) => {e && Hs(e);}}};}-function w7() {- X.catalogFilterProps && T7({});+function C7() {+ X.catalogFilterProps && w7({});}-function T7(e) {- let t = I("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");+function w7(e) {+ let t = L("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");e = {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || qje(),+ ...X.catalogFilterProps || Yje(),...e- }, !X.catalogFilterMounting && (QV(t) ? nH(t, e) : (!t.firstChild && !n && (t.innerHTML = Rje(X.catalogViews(), X.catalogFilterProps.state, O7()), Ts(t)), X.catalogFilterMounting = tH("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && ($V(t) ? rH(t, e) : (!t.firstChild && !n && (t.innerHTML = Bje(X.catalogViews(), X.catalogFilterProps.state, D7()), Ts(t)), X.catalogFilterMounting = nH("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0- }).then(() => nH(t, X.catalogFilterProps)).finally(() => {+ }).then(() => rH(t, X.catalogFilterProps)).finally(() => {X.catalogFilterMounting = null;})));}-function E7() {+function T7() {return {currentHref: () => {- 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;+ let e = new URL(h7(), location.origin);+ return e.searchParams.set("loc", W.loc || ""), e.searchParams.set("thumb", W.thumb || "0"), e.searchParams.set("sort", W.sort || ""), e.searchParams.set("dir", W.dir || ""), e.pathname + e.search;},- openEntity: (e, t) => y5(e, t),+ openEntity: (e, t) => v5(e, t),setView: (e) => {- U.state = e, Ql(), T7({ state: e }), Q.route(g7()), M7();+ W.state = e, Ql(), w7({ state: e }), Q.route(h7()), j7();},- toggleTag: (e) => P7(e),- clearFilter: (e) => C7((t) => {+ toggleTag: (e) => N7(e),+ clearFilter: (e) => S7((t) => {t[e] = "";}),- clearAll: () => C7((e) => {+ clearAll: () => S7((e) => {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {- let t = Gk(e, U.sort, U.dir);- t && (U.sort = t.sort, U.dir = t.dir, Ql(), X7());+ let t = Bk(e, W.sort, W.dir);+ t && (W.sort = t.sort, W.dir = t.dir, Ql(), Y7());},- reshuffle: () => aMe(),+ reshuffle: () => sMe(),setLayout: (e) => {- t7() ? i7(e) : Nje(e);+ e7() ? r7(e) : Fje(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await hAe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];- return e === "performers" ? n.map(A7) : n.map(j7);+ let n = (await _Ae(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ return e === "performers" ? n.map(k7) : n.map(A7);}};}-function D7() {- return t7() ? {+function E7() {+ return e7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: TA(),- options: bA- } : n7() ? {+ value: vA(),+ options: pA+ } : t7() ? {name: "home-layout",label: "首页卡片版式",- value: r7(),- options: bA+ value: n7(),+ options: pA} : null;}-function O7() {+function D7() {return {- sorts: c5(U.sort, U.dir),- layout: D7(),- state: U.state || "",- trash: U.state === "trash"+ sorts: s5(W.sort, W.dir),+ layout: E7(),+ state: W.state || "",+ trash: W.state === "trash"};}-function k7(e) {+function O7(e) {return X.catalogTagRows.map((t) => ({...t,selected: X.tagPressed(e.tag, t.k)}));}-function A7(e) {+function k7(e) {return {name: e.k,- ringHtml: `<span data-tier-initial>${z(Sn(e.k))}</span>${La({+ ringHtml: `<span data-tier-initial>${B(xn(e.k))}</span>${Ia({id: e.id,hasImage: e.has_image,version: e.image_version,rep: e.has_avatar ? e.rep : null,- style: Va(e.avatar_focus),+ style: Ba(e.avatar_focus),focus: e.avatar_focus,standIn: e.avatar_stand_in})}`};}-function j7(e) {+function A7(e) {return {name: e.k,- fallback: xn(e.k, 2),- logo: e.has_logo ? Pa(e.k, "icon", e.logo_version) : ""+ fallback: bn(e.k, 2),+ logo: e.has_logo ? Na(e.k, "icon", e.logo_version) : ""};}-function Jje(e) {- X.catalogFilterProps?.tiers || (X.barsRendered = "", T7({+function Xje(e) {+ X.catalogFilterProps?.tiers || (X.barsRendered = "", w7({tiers: null,state: e.state || ""}));}-async function M7() {+async function j7() {let e = ++X.barsRequestSeq;- if (h9(), !bl(location.pathname) || Cl.type === "item") return;- let t = s5(), n = Y.activeFilterState(), r = JSON.stringify([+ if (m9(), !bl(location.pathname) || Cl.type === "item") return;+ let t = o5(), n = Y.activeFilterState(), r = JSON.stringify([t,n,- U.state || "",- U.seed || "",- t7()+ W.state || "",+ W.seed || "",+ e7()]);- Jje(n);- let [i, a] = await b7(t);+ Xje(n);+ let [i, a] = await y7(t);if (e !== X.barsRequestSeq) return;let o = r + "\n" + JSON.stringify([i, a]);if (o === X.barsRendered) {- V5.sidebarCatalog && h9({- content: V5.sidebarCatalog,+ B5.sidebarCatalog && m9({+ content: B5.sidebarCatalog,filters: { ...n }});return;}- X.barsRendered = o, t.type === "home" && (t9.facets = i);+ X.barsRendered = o, t.type === "home" && (e9.facets = i);let s = i.tags || [];- va(a.performers), va(a.studios);- let c = t.type === "home" && !t7() && !U.state && !U.q && !i.locations.some((e) => e.n > 0);+ _a(a.performers), _a(a.studios);+ let c = t.type === "home" && !e7() && !W.state && !W.q && !i.locations.some((e) => e.n > 0);X.catalogTopsPages = {context: t,performers: 0,studios: 0};- let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = C8.seededSample(f, X.TAGS_FIRST, `tags:${U.seed || ""}`), m = new Set(p.map((e) => e.k));+ let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = S8.seededSample(f, X.TAGS_FIRST, `tags:${W.seed || ""}`), m = new Set(p.map((e) => e.k));X.catalogTagRows = d.concat(p, f.filter((e) => !m.has(e.k))).map((e) => ({k: e.k,label: fl(e.k),n: e.n ?? null- })), T7({+ })), w7({tiers: {key: String(X.barsRequestSeq),- performers: a.performers.map(A7),- studios: a.studios.map(j7)+ performers: a.performers.map(k7),+ studios: a.studios.map(A7)},empty: c,- tags: k7(n),+ tags: O7(n),tagFirst: d.length + p.length,views: X.catalogViews(),state: n.state || ""- }), I7(), V5.sidebarCatalog = {+ }), F7(), B5.sidebarCatalog = {kind: "catalog",- key: String(++V5.sidebarContentSeq),- facets: Z7(i, t)- }, h9({- content: V5.sidebarCatalog,+ key: String(++B5.sidebarContentSeq),+ facets: X7(i, t)+ }, m9({+ content: B5.sidebarCatalog,filters: { ...n },latest: null});}-function Yje(e, t) {- t9.total = e, U.state === "trash" && (D5.trashCount = {- total: t9.total,+function Zje(e, t) {+ e9.total = e, W.state === "trash" && (E5.trashCount = {+ total: e9.total,shown: t- }), Z5(), T7({ count: {- total: t9.total,+ }), X5(), w7({ count: {+ total: e9.total,shown: t} });}-function N7() {+function M7() {return xc({title: "清空回收站",body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",@@ -77589,21 +77592,21 @@ function N7() {danger: !0,onConfirm: async () => {try {- let e = await R("/api/trash/empty", { method: "POST" });+ let e = await z("/api/trash/empty", { method: "POST" });if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- C8.actionReceipt(`已永久删除 ${e.purged} 项`);+ S8.actionReceipt(`已永久删除 ${e.purged} 项`);} finally {- await L7();+ await I7();}}});}-function P7(e) {- C7((t) => {+function N7(e) {+ S7((t) => {t.tag = e ? X.withTagToggled(t.tag, e) : "";});}-function F7(e) {+function P7(e) {let t = [];return e.creator && t.push({kind: "clear",@@ -77623,177 +77626,177 @@ function F7(e) {label: fl(e)})), t;}-function I7() {- T7({- combo: F7(U),+function F7() {+ w7({+ combo: P7(W),comboHidden: !X.catalogOnScreen()});}-async function L7() {+async function I7() {let e = Q.claimSurface(Q.surfacePath());if (Zl({barsContext: {type: "home",- filters: U+ filters: W},detailReturnBarsContext: null- }), i9(!1), U.state === "ads") return Qje(e);- if (X.controller.page === "/junk-files" && z7(), L5(), W5(), Z8(location.pathname) && U.browse !== "folders") {- if (await I5.entityShapesReady, !Q.surfaceCurrent(e)) return;- PAe();- } else Q8();- return I7(), I("#count").classList.remove("manage-static", "junkcount"), B7(e);-}-function R7(e) {+ }), r9(!1), W.state === "ads") return eMe(e);+ if (X.controller.page === "/junk-files" && R7(), I5(), U5(), X8(location.pathname) && W.browse !== "folders") {+ if (await F5.entityShapesReady, !Q.surfaceCurrent(e)) return;+ IAe();+ } else Z8();+ return F7(), L("#count").classList.remove("manage-static", "junkcount"), z7(e);+}+function L7(e) {X.controller.settle(e);}-function z7() {- let e = I("#grid");- cl(e), rH(e), X.controller.clear(), e.innerHTML = "";+function R7() {+ let e = L("#grid");+ cl(e), iH(e), X.controller.clear(), e.innerHTML = "";}-function B7(e) {- return W7("/", Zje, e, { place: jMe });+function z7(e) {+ return U7("/", $je, e, { place: NMe });}-function Xje(e) {- return W7("/junk-files", eMe, e);+function Qje(e) {+ return U7("/junk-files", nMe, e);}-function V7() {- return !!ZV(I("#grid"));+function B7() {+ return !!QV(L("#grid"));}-function H7() {- return X.controller.taken(V7());+function V7() {+ return X.controller.taken(B7());}-function U7(e) {- nH(I("#grid"), e);+function H7(e) {+ rH(L("#grid"), e);}-function W7(e, t, n, r = {}) {- let i = I("#grid");- X.controller.page && X.controller.page !== e && z7();- let a = X.controller.begin(e, V7()), o = t();- if (!a.mount) return U7(o), a.settled;+function U7(e, t, n, r = {}) {+ let i = L("#grid");+ X.controller.page && X.controller.page !== e && R7();+ let a = X.controller.begin(e, B7()), o = t();+ if (!a.mount) return H7(o), a.settled;cl(i);- let s = () => rH(i);- return a.signal.addEventListener("abort", s, { once: !0 }), tH(e, o, {+ let s = () => iH(i);+ return a.signal.addEventListener("abort", s, { once: !0 }), nH(e, o, {...r,container: i,isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()}).catch((e) => console.error(e)).finally(() => {- a.signal.removeEventListener("abort", s), a.finish(V7());+ a.signal.removeEventListener("abort", s), a.finish(B7());}), a.settled;}-function G7() {- let e = n7();- return MA({- active: t7() || e,+function W7() {+ let e = t7();+ return TA({+ active: e7() || e,home: e,- portrait: U.orient === "竖屏"+ portrait: W.orient === "竖屏"});}-function K7(e = "正在读取作品") {- return WY(e, q7());+function G7(e = "正在读取作品") {+ return WY(e, K7());}-function q7() {- return U ? NA(G7()) : 16 / 9;+function K7() {+ return W ? EA(W7()) : 16 / 9;}-function J7() {- H7() && (cl(I("#grid")), U7({- layout: G7(),+function q7() {+ V7() && (cl(L("#grid")), H7({+ layout: W7(),seekSeconds: Z.appSettings.seekSeconds- })), Y.entityPageCurrent() && (cl(I("#index [data-entity-hero]")), o5({- layout: G7(),+ })), Y.entityPageCurrent() && (cl(L("#index [data-entity-hero]")), a5({+ layout: W7(),seekSeconds: Z.appSettings.seekSeconds}));}-function Zje() {- let e = decodeURIComponent(location.pathname), t = Qt(e), n = U.state === "trash";+function $je() {+ let e = decodeURIComponent(location.pathname), t = Zt(e), n = W.state === "trash";return {mode: "catalog",helpers: X.gridHelpers,actions: X.gridActions,- layout: G7(),+ layout: W7(),wall: e === "/wall",selectMode: Dl,selected: new Set(Tl),seekSeconds: Z.appSettings.seekSeconds,revision: X.controller.revision,- wireDrag: e9,- settled: R7,- skeletonHtml: () => K7(),- filters: { ...U },+ wireDrag: $7,+ settled: L7,+ skeletonHtml: () => G7(),+ filters: { ...W },batchSize: Z.appSettings.batchSize,groupCollapse: Z.appSettings.groupCollapse,- excludeVertical: t && e !== "/wall" && !U.q && !U.orient && U.browse !== "folders" || U.jav === "1",- mix: t && e !== "/wall" && !n && U.browse !== "folders",- shorts: t && e !== "/wall" && !t7() && U.orient !== "竖屏" && !n && U.browse !== "folders",- countRow: I("#count"),- onCount: Yje,- onCountFailed: () => T7({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : pq({- jav: t7() && !t,+ excludeVertical: t && e !== "/wall" && !W.q && !W.orient && W.browse !== "folders" || W.jav === "1",+ mix: t && e !== "/wall" && !n && W.browse !== "folders",+ shorts: t && e !== "/wall" && !e7() && W.orient !== "竖屏" && !n && W.browse !== "folders",+ countRow: L("#count"),+ onCount: Zje,+ onCountFailed: () => w7({ count: !1 }),+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : mq({+ jav: e7() && !t,configurable: Bl,filtered: !t}),- canLoadMore: () => I("#stats").hidden && I("#index").hidden+ canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function Qje(e) {- let t = I("#count");- return X.controller.page === "/junk-files" && V7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (z7(), L5("正在读取垃圾文件")), W5(), I7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Xje(e);+function eMe(e) {+ let t = L("#count");+ return X.controller.page === "/junk-files" && B7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (R7(), I5("正在读取垃圾文件")), U5(), F7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Qje(e);}-async function $je(e, t) {+async function tMe(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {- await R("/api/batch", {+ await z("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: t,...r ? { disposal_reason: "junk" } : {}})- }), await L7();+ }), await I7();let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";- C8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {- await R("/api/batch", {+ S8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {+ await z("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: e})- }), await L7();+ }), await I7();} });} catch (e) {- throw C8.actionFailure("操作", e), e;+ throw S8.actionFailure("操作", e), e;}}-function eMe() {+function nMe() {return {- ...X$(location.search),+ ...Y$(location.search),helpers: X.junkQueueHelpers,actions: X.junkQueueActions,batchSize: Z.appSettings.batchSize,revision: X.controller.revision,selectMode: Dl,selected: new Set(Tl),- countRow: I("#count"),- settled: R7,- skeletonHtml: () => d2("正在读取垃圾文件", {+ countRow: L("#count"),+ settled: L7,+ skeletonHtml: () => u2("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),- canLoadMore: () => I("#stats").hidden && I("#index").hidden+ canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function tMe() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => w8(e, t, Z.appSettings, n), Zl(T8(oAe(location, Z.appSettings, C8.rollSeed))), X.searchValueSnapshot = {+function rMe() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), Zl(w8(cAe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0- }, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = I("#q")) => {+ }, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {X.searchValueSnapshot = {text: e?.value || "",scrollLeft: e?.scrollLeft || 0};}, X.clearSearchField = (e = null) => {- let t = I("#q");+ let t = L("#q");if (!t) return;let n = {text: t.value,@@ -77805,55 +77808,55 @@ function tMe() {};};}-function nMe() {- J.handler(I("#wallBtn"), "onclick", () => {- k5(!1, !0);- let e = s5(), t = {+function iMe() {+ J.handler(L("#wallBtn"), "onclick", () => {+ O5(!1, !0);+ let e = o5(), t = {...Y.activeFilterState(),- jav: t7() ? "1" : ""+ jav: e7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(iq(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) => {+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(aq(void 0, t));+ }), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = W.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {let n = X.tagList(e), r = n.indexOf(t);return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");}, X.gridHelpers = {badgeHtml: (e, t) => Z.srcBadge(e, t),- titleHtml: (e, t) => bF(e, t),- displayName: (e, t) => yF(e, t),+ titleHtml: (e, t) => eI(e, t),+ displayName: (e, t) => $F(e, t),tagLabel: (e) => fl(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {- let r = await r8(t9.stageHost);+ let r = await n8(e9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},- wallDetails: y7,- open: (e, t) => Hje(e, t),- openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : Vje(e, t),- openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : d9(e.id),- openShorts: () => d9(),- openMix: (e, t) => pMe(e, e, !0, t),- openEntity: (e, t) => y5(e, t),- openUnowned: () => _7({ owner: "none" }, !0),+ wallDetails: v7,+ open: (e, t) => Wje(e, t),+ openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : Uje(e, t),+ openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : u9(e.id),+ openShorts: () => u9(),+ openMix: (e, t) => hMe(e, e, !0, t),+ openEntity: (e, t) => v5(e, t),+ openUnowned: () => g7({ owner: "none" }, !0),toggleTag: (e) => {- C7((t) => {+ S7((t) => {t.tag = X.tagPressed(t.tag, e) ? "" : e;}), window.scrollTo({top: 0,behavior: "smooth"});},- toggleSelection: (e, t) => A5(e, t),- watchLater: (e, t) => Uje(e, t),- rate: (e, t, n, r) => Gje(e, t, n, r),- resourceOperation: (e, t) => Wje(e, t),- mixRelated: (e) => v7(e),- canFlip: () => !Dl && !Q7() && !window.__scrolling && !X.reduceMotion()+ toggleSelection: (e, t) => k5(e, t),+ watchLater: (e, t) => Gje(e, t),+ rate: (e, t, n, r) => qje(e, t, n, r),+ resourceOperation: (e, t) => Kje(e, t),+ mixRelated: (e) => _7(e),+ canFlip: () => !Dl && !Z7() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {let n = new URLSearchParams({n: "60",- seed: U.seed || ""+ seed: W.seed || ""});- return t && n.set("page", String(t)), t7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;+ return t && n.set("page", String(t)), e7() && n.set("jav", "1"), e.type === "home" && W.state && n.set("state", W.state), e.type === "home" && W.folder && (n.set("folder", W.folder), W.folder_recursive && n.set("folder_recursive", W.folder_recursive)), n;}, X.facetCountsSeq = 0, X.VIEW_PILLS = [{k: "",@@ -77873,39 +77876,39 @@ function nMe() {}], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({...e,- href: e.k ? Yt[e.k] : "/"- })), X.TAGS_FIRST = 26, J.listen(I("#catalogFilter"), "click", (e) => {+ href: e.k ? Jt[e.k] : "/"+ })), X.TAGS_FIRST = 26, J.listen(L("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");- t && !e.defaultPrevented && (e.preventDefault(), E7().setView(t.dataset.catalogView));- }), X.catalogOnScreen = () => I("#index").hidden && I("#stats").hidden, X.COMBO_LABELS = {+ t && !e.defaultPrevented && (e.preventDefault(), T7().setView(t.dataset.catalogView));+ }), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {creator: "创作者",studio: "厂牌",owner: "归属"}, X.hideCatalogCombo = () => {- X.catalogFilterProps && T7({ comboHidden: !0 });+ X.catalogFilterProps && w7({ comboHidden: !0 });};}-function rMe() {+function aMe() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {- Dl && k5(!1, !0), Q.route(e);+ Dl && O5(!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") : c9(e.id, !0, null, t),+ toggleSelection: (e, t) => k5(e, t),+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : s9(e.id, !0, null, t),reveal: async (e) => {try {- return await R("/api/reveal", {+ return await z("/api/reveal", {method: "POST",body: JSON.stringify({ id: e.id })- }), C8.toast({ text: "已在资源管理器中显示" }), "";+ }), S8.toast({ text: "已在资源管理器中显示" }), "";} catch (e) {return Y.sourceHint(e.message);}},- operate: (e, t) => $je(e, t)+ operate: (e, t) => tMe(e, t)};}-X.controller = new uAe();+X.controller = new fAe();//#endregion//#region src/application/preferences.jsvar Z = {@@ -77929,10 +77932,10 @@ var Z = {emptyState: void 0,CENSOR_KEY: void 0};-async function Y7() {+async function J7() {let e = J;try {- let t = await Wn(e.signal);+ let t = await Un(e.signal);if (!e.isActive) return Z.sourceOnline;let n = (t.sources || []).flatMap((e) => e.roots || []).filter((e) => e.root_id);Z.sourceOnline = Object.fromEntries([...(t.sources || []).map((e) => [e.location, e.online]), ...n.map((e) => [e.root_id, e.online])]), Z.sourceProblems = Object.fromEntries([...(t.sources || []).map((e) => [e.location, e.message || ""]), ...n.map((e) => [e.root_id, e.message || ""])]);@@ -77940,18 +77943,18 @@ async function Y7() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), zje(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), Vje(), Z.sourceOnline;}-function X7() {+function Y7() {let e = Q.surfacePath();- if (!Qt(e) || e === "/junk-files") return L7();+ if (!Zt(e) || e === "/junk-files") return I7();let t = Z.nextCatalogLoad();- return pH(g7(), {+ return mH(h7(), {replace: !0,- state: fH.navigation.location.state+ state: pH.navigation.location.state}), t;}-function iMe(e) {+function oMe(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -77972,7 +77975,7 @@ function iMe(e) {cost: "free"};}-function Z7(e, t) {+function X7(e, t) {let n = (e, t = (e) => e.label || fl(e.k)) => (e || []).map((e) => ({value: String(e.k),label: t(e),@@ -77981,9 +77984,9 @@ function Z7(e, t) {return {locations: (e.locations || []).map((e) => ({value: e.k,- label: wn[e.k] || e.k,+ label: Cn[e.k] || e.k,n: e.n ?? null,- dot: iMe(e.k),+ dot: oMe(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -77995,24 +77998,24 @@ function Z7(e, t) {duration: !!e.stats?.duration};}-async function aMe(e = !1) {- if (e && (document.hidden || !Qt(decodeURIComponent(location.pathname)) || t9.stageOpen() || t9.immerseOpen() || Dl || Tl.size || document.activeElement === I("#q"))) return !1;- if (!I("#stats").hidden) {+async function sMe(e = !1) {+ if (e && (document.hidden || !Zt(decodeURIComponent(location.pathname)) || e9.stageOpen() || e9.immerseOpen() || Dl || Tl.size || document.activeElement === L("#q"))) return !1;+ if (!L("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;if (t === "skip") return;if (e === "/playlists") {- S5();+ x5();return;}let n = t === "reopen" ? e : "/stats";- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, fH.navigation.location.state) : Q.navigatePath(n);- } else if (I("#index").hidden) {- U.sort = "seed", U.dir = "", U.seed = C8.rollSeed(), Ql(), k8(), T7({ refreshing: !0 });+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, pH.navigation.location.state) : Q.navigatePath(n);+ } else if (L("#index").hidden) {+ W.sort = "seed", W.dir = "", W.seed = S8.rollSeed(), Ql(), O8(), w7({ refreshing: !0 });try {- let e = X7();- await null, await Promise.all([e, M7()]);+ let e = Y7();+ await null, await Promise.all([e, j7()]);} finally {- T7({ refreshing: !1 });+ w7({ refreshing: !1 });}return e || window.scrollTo({top: 0,@@ -78020,82 +78023,82 @@ async function aMe(e = !1) {}), !0;}}-function Q7() {+function Z7() {return document.body.classList.contains("censor");}-function $7(e) {+function Q7(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function oMe(e) {- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), $7(e), e && cl();+function cMe(e) {+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Q7(e), e && cl();}-function sMe(e) {+function lMe(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}-function e9(e) {+function $7(e) {return Hs(e, { drag: !0 });}-function cMe() {- ["#nrow", "#count"].forEach((e) => e9(I(e))), document.querySelectorAll(".tier,.srow").forEach(e9);+function uMe() {+ ["#nrow", "#count"].forEach((e) => $7(L(e))), document.querySelectorAll(".tier,.srow").forEach($7);}-function lMe() {+function dMe() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function uMe() {+function fMe() {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 = pA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), po(Z.appSettings.uiSounds), yo(), vA(), xoe(), 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(),+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = sA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), po(Z.appSettings.uiSounds), yo(), dA(), koe(), IA(), zA(), BA(), 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: () => dA(),uiSounds: () => {po(Z.appSettings.uiSounds), Z.appSettings.uiSounds && mo("toggle-on");},- glowFrame: () => GA(),+ glowFrame: () => RA(),glow: () => {- GA(), KA();+ RA(), zA();},batchSize: () => {- location.pathname === "/" && L7();+ location.pathname === "/" && I7();},defaultSort: () => {- U.sort = Z.appSettings.defaultSort, U.dir = Kk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && X7();+ W.sort = Z.appSettings.defaultSort, W.dir = Vk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && Y7();},sortDirection: () => {- U.dir = Kk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && X7();+ W.dir = Vk(W.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Ql(), location.pathname === "/" && Y7();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {ul(e, "previewing", !1), ul(e, "longhover", !1);}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);},- seekSeconds: () => J7(),- groupCollapse: () => s7(),- feedAutoScroll: () => FAe(),- feedLimit: () => $8(),- feedCompilations: () => $8(),+ seekSeconds: () => q7(),+ groupCollapse: () => o7(),+ feedAutoScroll: () => LAe(),+ feedLimit: () => Q8(),+ feedCompilations: () => Q8(),miniplayer: () => {- Z.appSettings.miniplayer || i8()?.closeMiniplayer();+ Z.appSettings.miniplayer || r8()?.closeMiniplayer();},javImage: () => {- Da(document, Z.appSettings.javImage), J7(), document.querySelectorAll("img[data-jav-image].cover").forEach(Vc), fMe();+ Ea(document, Z.appSettings.javImage), q7(), document.querySelectorAll("img[data-jav-image].cover").forEach(Vc), mMe();},- searchHistoryLimit: () => nH(I("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })+ searchHistoryLimit: () => rH(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {- ...Object.fromEntries(Object.entries(No).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : L(t)])),- online: L("rss")+ ...Object.fromEntries(Object.entries(No).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 = `${wn[e] || e}${t === "metered" ? " · 计费" : ""}`;- return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";+ let r = `${Cn[e] || e}${t === "metered" ? " · 计费" : ""}`;+ return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${B(r)}" aria-label="${B(r)}">` + (Z.SRCICON[e] || "") + "</span>";}, Z.emptyState = os;}-function dMe() {- Z.CENSOR_KEY = "peach-censor", $7(localStorage.getItem(Z.CENSOR_KEY) === "1");+function pMe() {+ Z.CENSOR_KEY = "peach-censor", Q7(localStorage.getItem(Z.CENSOR_KEY) === "1");}//#endregion//#region src/application/media.js-var t9 = {+var e9 = {total: void 0,facets: void 0,stageHost: void 0,@@ -78106,18 +78109,18 @@ var t9 = {immerseOpen: void 0,requestedImmerseId: void 0};-function n9() {+function t9() {let e = Number(new URLSearchParams(location.search).get("t"));return Number.isFinite(e) && e > 0 ? {time: e,autoplay: !1} : null;}-function r9() {- return i8()?.exit() || Promise.resolve();+function n9() {+ return r8()?.exit() || Promise.resolve();}-function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {- Q.queueOpenRequest !== r && _9(), i8()?.dispose({ miniplayer: n }), Zl({+function r9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {+ Q.queueOpenRequest !== r && g9(), r8()?.dispose({ miniplayer: n }), Zl({activeQueue: null,pendingQueueRoute: null,presentedItem: null@@ -78125,15 +78128,15 @@ function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailOriginAnchor: null,detailOriginAbove: !1,detailReturnNeedsRestore: !1- }), d7(), e && Q.route(jl || "/");+ }), u7(), e && Q.route(jl || "/");}-function fMe() {- i8()?.repaintPoster();+function mMe() {+ r8()?.repaintPoster();}-function a9(e, t, n, r, i = null, a = {}) {+function i9(e, t, n, r, i = null, a = {}) {t = +t;let o = Fl?.kind === e && (e === "playlist" ? Fl.playlistId : Fl.seedId) === t;- r && !o && Zl({ detailReturnPath: location.pathname + location.search }), r && LV();+ r && !o && Zl({ detailReturnPath: location.pathname + location.search }), r && RV();let s = e === "playlist" ? {kind: e,playlistId: t,@@ -78144,38 +78147,38 @@ function a9(e, t, n, r, i = null, a = {}) {fresh: !o};if (a.autoplay && (s.autoplay = !0), r) {- _9();+ g9();let e = Q.queueOpenRequest = {- seq: fH.navigation.seq,+ seq: pH.navigation.seq,cancelled: !1};- Q.requestedQueue = () => c9(n == null ? null : +n, !1, s, i, !0, e), Zl({ queueOpens: Ul + 1 });- } else return c9(n == null ? null : +n, !1, s, i, r);+ Q.requestedQueue = () => s9(n == null ? null : +n, !1, s, i, !0, e), Zl({ queueOpens: Ul + 1 });+ } else return s9(n == null ? null : +n, !1, s, i, r);}-function pMe(e, t = e, n = !0, r = null) {- return a9("mix", e, t, n, r);+function hMe(e, t = e, n = !0, r = null) {+ return i9("mix", e, t, n, r);}-function mMe(e, t = e, n = !0, r = null) {- return a9("editions", e, t, n, r);+function gMe(e, t = e, n = !0, r = null) {+ return i9("editions", e, t, n, r);}-function hMe(e, t = e, n = !0, r = null) {- return a9("parts", e, t, n, r);+function _Me(e, t = e, n = !0, r = null) {+ return i9("parts", e, t, n, r);}-function o9(e, t = null, n = !0) {- return a9("playlist", e, t, n);+function a9(e, t = null, n = !0) {+ return i9("playlist", e, t, n);}-function s9() {- return !!I("#grid").querySelector("[data-id],[data-mix-seed]") || !I("#index").hidden || !I("#stats").hidden;+function o9() {+ return !!L("#grid").querySelector("[data-id],[data-mix-seed]") || !L("#index").hidden || !L("#stats").hidden;}-async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {+async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {if (a?.cancelled) return;- if (a || _9(), t && !n) {- Zl({ detailReturnPath: location.pathname + location.search }), v9("/assets/" + +e, "item", () => c9(e, !1, null, r));+ if (a || g9(), t && !n) {+ Zl({ detailReturnPath: location.pathname + location.search }), _9("/assets/" + +e, "item", () => s9(e, !1, null, r));return;}cl(), e = e == null ? null : +e;- let o = r?.isConnected ? r : Ml?.isConnected ? Ml : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Nl, c = s9(), l = Pl || !t && !c, u = Cl.type === "item" ? wl : Y.cloneBarsContext(s5());- t ? Zl({ detailReturnPath: location.pathname + location.search }) : i || Zl({ detailReturnPath: zV() || jl }), t && LV(), i8()?.showing() !== "item" && i9(!1, !0, {+ let o = r?.isConnected ? r : Ml?.isConnected ? Ml : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : Nl, c = o9(), l = Pl || !t && !c, u = Cl.type === "item" ? wl : Y.cloneBarsContext(o5());+ t ? Zl({ detailReturnPath: location.pathname + location.search }) : i || Zl({ detailReturnPath: BV() || jl }), t && RV(), r8()?.showing() !== "item" && r9(!1, !0, {miniplayer: !1,preserveQueueRequest: a}), Zl({@@ -78186,119 +78189,119 @@ async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {kind: n.kind,seedId: n.seedId,playlistId: n.playlistId- } }), Zl({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, BV("item"));- let d = await r8(t9.stageHost);+ } }), Zl({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, VV("item"));+ let d = await n8(e9.stageHost);if (a?.cancelled) return;let f = a ? {- ...t9.itemDetailActions,+ ...e9.itemDetailActions,present: (e, t) => {- a.cancelled || t9.itemDetailActions.present(e, t);+ a.cancelled || e9.itemDetailActions.present(e, t);},redirect: (e) => {- a.cancelled || t9.itemDetailActions.redirect(e);+ a.cancelled || e9.itemDetailActions.redirect(e);}- } : t9.itemDetailActions;+ } : e9.itemDetailActions;await d.open({kind: "item",id: e,queue: n,relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,- helpers: t9.itemDetailHelpers,+ helpers: e9.itemDetailHelpers,actions: f,grid: {helpers: X.gridHelpers,actions: X.gridActions},- layout: G7(),+ layout: W7(),selectMode: Dl,selected: new Set(Tl),seekSeconds: Z.appSettings.seekSeconds,- resume: t || e == null ? null : n9()- }), d7();+ resume: t || e == null ? null : t9()+ }), u7();}-async function l9() {+async function c9() {let e = Y.cloneBarsContext(wl), t = jl || "/", n = Pl;- await r9(), i9(!1, !1, { miniplayer: !1 }), Zl({ detailReturnBarsContext: null }), RV(), Zl({ barsContext: e || {+ await n9(), r9(!1, !1, { miniplayer: !1 }), Zl({ detailReturnBarsContext: null }), zV(), Zl({ barsContext: e || {type: "home",- filters: U- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Zl({ pageOpens: Hl + 1 }) : (M7(), location.pathname === "/playlists" && Zl({ pageOpens: Hl + 1 })));+ filters: W+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Zl({ pageOpens: Hl + 1 }) : (j7(), location.pathname === "/playlists" && Zl({ pageOpens: Hl + 1 })));}-async function u9(e, t = !0) {+async function l9(e, t = !0) {if (t) {- Zl({ detailReturnPath: location.pathname + location.search }), v9("/works/" + encodeURIComponent(e), "jav", () => u9(e, !1));+ Zl({ detailReturnPath: location.pathname + location.search }), _9("/works/" + encodeURIComponent(e), "jav", () => l9(e, !1));return;}- let n = fH.navigation.seq, r = Y.cloneBarsContext(s5()), i = !s9(), a = zV() || (i ? "/jav?tab=discover" : jl) || "/jav?tab=discover";- i8()?.showing() !== "jav" && i9(!1, !0, { miniplayer: !1 }), Zl({+ let n = pH.navigation.seq, r = Y.cloneBarsContext(o5()), i = !o9(), a = BV() || (i ? "/jav?tab=discover" : jl) || "/jav?tab=discover";+ r8()?.showing() !== "jav" && r9(!1, !0, { miniplayer: !1 }), Zl({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i}), cl();- let [o, s] = await Promise.all([r8(t9.stageHost), B("/healthz")]);- fH.navigation.seq === n && (await o.open({+ let [o, s] = await Promise.all([n8(e9.stageHost), V("/healthz")]);+ pH.navigation.seq === n && (await o.open({kind: "jav",code: e,readOnly: !!s.ledger_read_only,actions: {- close: () => void l9(),+ close: () => void c9(),navigate: (e) => Q.navigatePath(e),canonicalCode: (t) => {- fH.navigation.seq === n && t && t !== e && pH("/works/" + encodeURIComponent(t) + location.search + location.hash, {+ pH.navigation.seq === n && t && t !== e && mH("/works/" + encodeURIComponent(t) + location.search + location.hash, {replace: !0,- state: fH.navigation.location.state+ state: pH.navigation.location.state});},openTag: (e) => {- C7((t) => {+ S7((t) => {t.tag = e;}), window.scrollTo({top: 0,behavior: "smooth"});},- receipt: (e) => C8.toast({ text: e })+ receipt: (e) => S8.toast({ text: e })}- }), d7());+ }), u7());}-async function d9(e = null, t = !0) {- t ? (t9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await Zke(t9.immerseHost)).open(e));+async function u9(e = null, t = !0) {+ t ? (e9.requestedImmerseId = e, Q.route("/immerse")) : (r8()?.closeMiniplayer(), await (await $ke(e9.immerseHost)).open(e));}-function gMe() {- t9.total = 0, t9.facets = null, t9.stageHost = {+function vMe() {+ e9.total = 0, e9.facets = null, e9.stageHost = {player: {settings: () => Z.appSettings,saveSettings: () => Z.saveSettings(),- toast: (e, t) => C8.toast({ text: e }, t),- loadSourceStatus: () => Y7(),+ toast: (e, t) => S8.toast({ text: e }, t),+ loadSourceStatus: () => J7(),offlineReason: (e) => Z.offlineReason(e)},sourceOffline: (e) => Z.sourceOffline(e),expand: (e, t, n) => {- e === "follow" ? D9(t, !0, n) : c9(t, !0);+ e === "follow" ? E9(t, !0, n) : s9(t, !0);},- openItem: (e) => void c9(e)- }, t9.stageOpen = () => !!i8()?.isOpen();+ openItem: (e) => void s9(e)+ }, e9.stageOpen = () => !!r8()?.isOpen();}-function _Me() {- t9.itemDetailHelpers = {+function yMe() {+ e9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => bF(e),- displayName: (e) => yF(e),+ titleHtml: (e) => eI(e),+ displayName: (e) => $F(e),javImage: () => Z.appSettings.javImage,tagLabel: (e) => fl(e),- isDurationTag: (e) => Dn.has(e),- tagCandidates: () => t9.facets && t9.facets.tags || [],+ isDurationTag: (e) => En.has(e),+ tagCandidates: () => e9.facets && e9.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),- relatedSkeletonHtml: () => d2("正在读取推荐", {+ relatedSkeletonHtml: () => u2("正在读取推荐", {cards: !0,className: "related-skeleton"}),- mixRelated: (e) => v7(e),- wireDrag: (e) => e9(e),+ mixRelated: (e) => _7(e),+ wireDrag: (e) => $7(e),wireDragReorder: (e, t) => _c(e, t)- }, t9.itemDetailActions = {- close: () => l9(),+ }, e9.itemDetailActions = {+ close: () => c9(),present: (e) => {Zl({ presentedItem: e });let t = wl;@@ -78306,66 +78309,66 @@ function _Me() {type: "item",id: e.id,filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()- } }), Il && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Il}`, !1, BV("item")), Zl({ pendingQueueRoute: null })), M7();+ } }), Il && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${Il}`, !1, VV("item")), Zl({ pendingQueueRoute: null })), j7();},redirect: (e) => {let t = !!Il;e.kind === "follow" ? (Q.queueOpenRequest = null, Zl({pendingQueueRoute: null,followDetailReturnPath: jl || "/"- }), Q.route(`/posts/${e.id}`, !t, BV("follow")), D9(e.id, !1, null, !0)) : e.kind === "item" ? c9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? b9("/playlists") : S5() : i9(!1);+ }), Q.route(`/posts/${e.id}`, !t, VV("follow")), E9(e.id, !1, null, !0)) : e.kind === "item" ? s9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? y9("/playlists") : x5() : r9(!1);},- openQueueItem: (e, t, n = !0) => void a9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),+ openQueueItem: (e, t, n = !0) => void i9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {let e = Ll;if (!e) return;let t = Fl;- t ? a9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : c9(e.id, !1);+ t ? i9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : s9(e.id, !1);},- checkSource: async (e) => (await Y7())[e] !== !1,+ checkSource: async (e) => (await J7())[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", b9(x9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", y9(b9());},- openEntity: (e, t) => y5(e, t),- openUnowned: () => _7({ owner: "none" }, !0),- openRegion: (e) => _7({ region: e || "none" }, !0),+ openEntity: (e, t) => v5(e, t),+ openUnowned: () => g7({ owner: "none" }, !0),+ openRegion: (e) => g7({ region: e || "none" }, !0),openTag: (e) => {- C7((t) => {+ S7((t) => {t.tag = e;}), window.scrollTo({top: 0,behavior: "smooth"});},- addToPlaylist: (e) => YAe(e),- saveMix: (e) => JAe(e),- editPlaylist: () => b9("/playlists"),- openPlaylists: () => b9("/playlists"),- reveal: (e) => m5(e),- sync: (e) => BAe(e),+ addToPlaylist: (e) => ZAe(e),+ saveMix: (e) => XAe(e),+ editPlaylist: () => y9("/playlists"),+ openPlaylists: () => y9("/playlists"),+ reveal: (e) => p5(e),+ sync: (e) => HAe(e),trashChanged: async (e, t) => {- U.state === "ads" && (t || e === "trash") && (t || (RV(), i9(!0, !1, { miniplayer: !1 })), await L7());+ W.state === "ads" && (t || e === "trash") && (t || (zV(), r9(!0, !1, { miniplayer: !1 })), await I7());},- toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),- failure: (e, t) => C8.actionFailure(e, t)- }, t9.immerseHost = {- filters: () => U,+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),+ failure: (e, t) => S8.actionFailure(e, t)+ }, e9.immerseHost = {+ filters: () => W,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => yF(e),+ displayName: (e) => $F(e),route: (e) => Q.route("/immerse?id=" + e, !0),- closed: () => _7(),- openItem: (e) => void c9(e),- openEntity: (e, t) => y5(e, t),- openUnowned: () => _7({ owner: "none" }, !0),- toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),- warn: (e) => C8.toast({ text: e }, { sound: "warning" }),- failure: (e, t) => C8.actionFailure(e, t)- }, t9.immerseOpen = () => !!s8()?.isOpen(), J.handler(I("#immerseBtn"), "onclick", () => d9());+ closed: () => g7(),+ openItem: (e) => void s9(e),+ openEntity: (e, t) => v5(e, t),+ openUnowned: () => g7({ 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)+ }, e9.immerseOpen = () => !!o8()?.isOpen(), J.handler(L("#immerseBtn"), "onclick", () => u9());}//#endregion//#region src/application/tutorial.js-var f9 = {+var d9 = {postSetupTutorialDone: void 0,postSetupTutorialNeedsReopen: void 0,postSetupTutorialTasks: void 0,@@ -78374,29 +78377,29 @@ var f9 = {readPostSetupTutorialDone: void 0,openTutorialTarget: void 0};-async function vMe() {- Lc(), await f9.writePostSetupTutorialDone(!1), await p9();+async function bMe() {+ Lc(), await d9.writePostSetupTutorialDone(!1), await f9();}-async function p9() {- let e = I("#postSetupTutorial");+async function f9() {+ let e = L("#postSetupTutorial");if (!e) return;let t = () => {e.hidden = !0, e.innerHTML = "", delete e.dataset.tutorialSignature, e.removeAttribute("aria-busy");};- if (f9.postSetupTutorialNeedsReopen && (f9.postSetupTutorialNeedsReopen = !1, await f9.writePostSetupTutorialDone(!1).catch(() => {})), Dc() !== "pending" || await f9.readPostSetupTutorialDone()) {+ if (d9.postSetupTutorialNeedsReopen && (d9.postSetupTutorialNeedsReopen = !1, await d9.writePostSetupTutorialDone(!1).catch(() => {})), Dc() !== "pending" || await d9.readPostSetupTutorialDone()) {t();return;}let n = Fc();- e.hidden = !1, e.setAttribute("aria-busy", "true"), e.firstElementChild || (e.innerHTML = `<article class="post-setup-notification post-setup-loading">${L("compass")}<p>正在检查安装进度…</p></article>`);+ 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 f9.postSetupTutorialTasks();+ let r = await d9.postSetupTutorialTasks();if (!Ic(n)) return;let i = new Set(r.map((e) => e.key)), a = new Set([...jc()].filter((e) => i.has(e)));Mc(a);let o = r.filter((e) => !a.has(e.key)), s = o.filter((e) => !e.done);if (!s.length) {- Oc("complete"), t(), await f9.writePostSetupTutorialDone(!0).catch(() => {});+ Oc("complete"), t(), await d9.writePostSetupTutorialDone(!0).catch(() => {});return;}let c = Nc(o);@@ -78404,48 +78407,48 @@ async function p9() {e.removeAttribute("aria-busy");return;}- e.innerHTML = f9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");+ e.innerHTML = d9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");let l = s[0], u = e.querySelector("[data-tutorial-collapse]"), d = e.querySelector(".post-setup-collapse-body");d.inert = kc(), d.classList.toggle("ui-fcollapse-settled", !d.inert), J.handler(u, "onclick", () => {let t = e.querySelector(".post-setup-notification"), n = t.dataset.collapsed !== "true";t.dataset.collapsed = String(n), Ac(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), no(d, !n);}), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => J.handler(e, "onclick", () => {let t = jc(), n = e.dataset.tutorialSkip;- t.add(n), Mc(t), C8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {+ t.add(n), Mc(t), S8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {let e = jc();- e.delete(n), Mc(e), Oc("pending"), await p9();- } }), p9();+ e.delete(n), Mc(e), Oc("pending"), await f9();+ } }), f9();}));let f = new Map(o.map((e) => [e.key, e]));e.querySelectorAll("[data-tutorial-task]").forEach((e) => J.handler(e, "onclick", (t) => {let n = f.get(e.dataset.tutorialTask);- !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), f9.openTutorialTarget(n));- })), J.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => f9.openTutorialTarget(l));+ !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), d9.openTutorialTarget(n));+ })), J.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => d9.openTutorialTarget(l));} catch {if (!Ic(n)) return;- e.innerHTML = Rc(L("alert")), e.removeAttribute("aria-busy"), J.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {- delete e.dataset.tutorialSignature, e.innerHTML = "", p9();+ e.innerHTML = Rc(R("alert")), e.removeAttribute("aria-busy"), J.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {+ delete e.dataset.tutorialSignature, e.innerHTML = "", f9();}), J.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);}}-function yMe() {- if (Zl({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), f9.postSetupTutorialDone = null, f9.postSetupTutorialNeedsReopen = !1, Vl) {- Oc("pending"), f9.postSetupTutorialDone = !1, f9.postSetupTutorialNeedsReopen = !0;+function xMe() {+ if (Zl({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), d9.postSetupTutorialDone = null, d9.postSetupTutorialNeedsReopen = !1, Vl) {+ Oc("pending"), d9.postSetupTutorialDone = !1, d9.postSetupTutorialNeedsReopen = !0;let e = new URL(location.href);- e.searchParams.delete("onboarding"), pH(e, {+ e.searchParams.delete("onboarding"), mH(e, {replace: !0,- state: fH.navigation.location.state+ state: pH.navigation.location.state});}{let e = new URL(location.href), t = e.searchParams.get("agentation");- localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), pH(e, {+ localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), mH(e, {replace: !0,- state: fH.navigation.location.state+ state: pH.navigation.location.state})), t === "on" && import("/dev/agentation.js").catch(() => {});}- f9.postSetupTutorialTasks = async () => {- let { library: e, scraping: t, taste: n, follow: r, credentials: i, review: a } = await R("/api/post-setup-tutorial"), o = (t.sources || []).filter((e) => e.accepts_cookie).filter((e) => e.cookie_saved), s = (r.sources || []).filter((e) => e.enabled !== !1), c = new Map((i.providers || []).map((e) => [e.provider, e])), l = [...new Set(s.map((e) => e.provider))].map((e) => c.get(e)).filter((e) => e?.requirement === "required"), u = Number(e.total || 0) > 0, d = s.length > 0, f = d && l.every((e) => e.present && !e.missing?.length), p = Object.values(a.counts || {}).reduce((e, t) => e + (Number(t) || 0), 0);+ d9.postSetupTutorialTasks = async () => {+ let { library: e, scraping: t, taste: n, follow: r, credentials: i, review: a } = await z("/api/post-setup-tutorial"), o = (t.sources || []).filter((e) => e.accepts_cookie).filter((e) => e.cookie_saved), s = (r.sources || []).filter((e) => e.enabled !== !1), c = new Map((i.providers || []).map((e) => [e.provider, e])), l = [...new Set(s.map((e) => e.provider))].map((e) => c.get(e)).filter((e) => e?.requirement === "required"), u = Number(e.total || 0) > 0, d = s.length > 0, f = d && l.every((e) => e.present && !e.missing?.length), p = Object.values(a.counts || {}).reduce((e, t) => e + (Number(t) || 0), 0);return [{key: "library",@@ -78497,40 +78500,40 @@ function yMe() {icon: "square-check-big"}];- }, f9.postSetupTutorialHtml = (e, t, n) => {+ }, d9.postSetupTutorialHtml = (e, t, n) => {let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = kc(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}"><a href="${e.href}" data-tutorial-task="${e.key}">- <span class="post-setup-check" aria-hidden="true">${e.done ? L("check") : L(e.icon)}</span>+ <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>- ${L("chevron-right")}</a>+ ${R("chevron-right")}</a>${e.done ? "" : `<button class="post-setup-skip" type="button" data-tutorial-skip="${e.key}" data-tutorial-label="${e.label}">跳过</button>`}</li>`).join("");return `<article class="post-setup-notification" data-collapsed="${o}"><header class="post-setup-notification-head">- <span class="post-setup-notification-icon" aria-hidden="true">${L("compass")}</span>+ <span class="post-setup-notification-icon" aria-hidden="true">${R("compass")}</span><div><h2>完成 Peach 的安装教程</h2><p>已处理 ${a}/${n} 项。</p></div><button class="post-setup-collapse" type="button" data-tutorial-collapse aria-controls="postSetupCollapseBody" aria-expanded="${!o}"- aria-label="${o ? "展开安装教程" : "折叠安装教程"}">${L("chevron-down")}</button>+ aria-label="${o ? "展开安装教程" : "折叠安装教程"}">${R("chevron-down")}</button></header><div class="post-setup-collapse-body ui-fcollapse" id="postSetupCollapseBody"${o ? " hidden" : ""}><ol class="post-setup-task-list" id="postSetupTaskList">${s}</ol><footer><button class="geist-button" type="button" data-tutorial-action="next">继续:${i.label}</button></footer></div></article>`;- }, f9.writePostSetupTutorialDone = async (e) => {- f9.postSetupTutorialDone = e, await R("/api/settings", {+ }, d9.writePostSetupTutorialDone = async (e) => {+ d9.postSetupTutorialDone = e, await z("/api/settings", {method: "POST",body: JSON.stringify({ postSetupTutorialDone: e })});- }, f9.readPostSetupTutorialDone = async () => {- if (f9.postSetupTutorialDone === null) try {- f9.postSetupTutorialDone = (await R("/api/settings")).postSetupTutorialDone === !0;+ }, d9.readPostSetupTutorialDone = async () => {+ if (d9.postSetupTutorialDone === null) try {+ d9.postSetupTutorialDone = (await z("/api/settings")).postSetupTutorialDone === !0;} catch {- f9.postSetupTutorialDone = !1;+ d9.postSetupTutorialDone = !1;}- return f9.postSetupTutorialDone;- }, f9.openTutorialTarget = (e) => {+ return d9.postSetupTutorialDone;+ }, d9.openTutorialTarget = (e) => {e.setupEntry && Zl({ cameFromSetup: !0 }), Q.navigatePath(e.href);};}@@ -78555,48 +78558,48 @@ var Q = {queueOpenRequest: void 0,initialOverlayOpened: void 0};-function m9() {- let e = p8();- e ? e.navChanged() : I("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(c7(e.dataset.nav))));+function p9() {+ let e = f8();+ e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(s7(e.dataset.nav))));}-function h9(e = {}) {+function m9(e = {}) {let t = Q.surfacePath();- t !== V5.sidebarSurface && (V5.sidebarSurface = t, V5.sidebarProps = {- ...V5.sidebarProps,+ t !== B5.sidebarSurface && (B5.sidebarSurface = t, B5.sidebarProps = {+ ...B5.sidebarProps,content: null,latest: null- }), V5.sidebarProps = {- ...V5.sidebarProps,+ }), B5.sidebarProps = {+ ...B5.sidebarProps,...e- }, p8()?.render(V5.sidebarProps);+ }, f8()?.render(B5.sidebarProps);}-function g9() {- h9(), m9(), u7();+function h9() {+ m9(), p9(), l7();}-function _9() {+function g9() {Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Zl({ pendingQueueRoute: null });}-function v9(e, t, n) {- _9(), LV(), Q.requestedOverlay = {+function _9(e, t, n) {+ g9(), RV(), Q.requestedOverlay = {path: e,open: n- }, Q.route(e, !1, BV(t));+ }, Q.route(e, !1, VV(t));}-function y9() {- Q.surfaceEpoch++, X.barsRequestSeq++, I5.syncPageTitle(location.href), h9(), RV(), p9();+function v9() {+ Q.surfaceEpoch++, X.barsRequestSeq++, F5.syncPageTitle(location.href), m9(), zV(), f9();}-function b9(e) {+function y9(e) {Q.route(e), Zl({ pageOpens: Hl + 1 });}-function bMe() {+function SMe() {Q.routeMeta = (e) => {- let t = UV(e);+ let t = WV(e);return t ? { route: t } : null;- }, Q.routePathOf = (e, t) => Object.keys(HV).find((n) => HV[n][e] === t), Q.catalogPage = (e) => Qt(e) || e === "/trash", Q.managedPagePath = (e) => {- let t = UV(e);- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !NV(e) && e !== "/immerse";+ }, Q.routePathOf = (e, t) => Object.keys(UV).find((n) => UV[n][e] === t), Q.catalogPage = (e) => Zt(e) || e === "/trash", Q.managedPagePath = (e) => {+ let t = WV(e);+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !PV(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? d9(lMe()) : e === "/follow" ? E9() : e === "/playlists" || Q.catalogPage(e) ? b9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? pje() : e) : (k5(!1, !0), b9(N5({+ e === "/immerse" ? u9(dMe()) : e === "/follow" ? T9() : e === "/playlists" || Q.catalogPage(e) ? y9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? hje() : e) : (O5(!1, !0), y9(M5({kind: e.slice(1),q: "",scope: "local",@@ -78605,35 +78608,35 @@ function bMe() {})));};}-function xMe() {+function CMe() {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) => (Z8(e) || Q8(), rH(I("#stats"), I("#index")), !Qt(e) && e !== "/trash" && z7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {- Q.surfaceEpoch++, X.barsRequestSeq++, pH(e, {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (X8(e) || Z8(), iH(L("#stats"), L("#index")), !Zt(e) && e !== "/trash" && R7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ Q.surfaceEpoch++, X.barsRequestSeq++, mH(e, {replace: t,state: n- }), I5.syncPageTitle(e), queueMicrotask(() => {- u7(), $5(), h9(), p9();+ }), F5.syncPageTitle(e), queueMicrotask(() => {+ l7(), Q5(), m9(), f9();});}, Q.navigatePath = (e, t = !1, n) => {- t ? fH.replace(e, n) : fH.push(e, n), queueMicrotask(() => {- u7(), $5();+ t ? pH.replace(e, n) : pH.push(e, n), queueMicrotask(() => {+ l7(), Q5();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}//#endregion//#region src/jobs.ts-function SMe(e, t, n) {+function wMe(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>`;+ return `<div class="ui-board-job-progress" role="progressbar" aria-label="${B(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${B(e)}<small>${Math.round(i)}%</small></span></div>`;}-function CMe(e, t = 0, n = 0) {- return n > 0 ? SMe(e, t, n) : is(e);+function TMe(e, t = 0, n = 0) {+ return n > 0 ? wMe(e, t, n) : is(e);}-async function wMe(e) {+async function EMe(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -78648,14 +78651,14 @@ async function wMe(e) {await t(2e3);}}-function TMe(e) {+function DMe(e) {let t = e.note || ((e) => ts(e, {label: "任务状态",variant: "error"- })), n = e.loading || is, r = e.progress || ((e, t, n) => CMe(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");+ })), n = e.loading || is, r = e.progress || ((e, t, n) => TMe(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;- wMe({+ EMe({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -78705,25 +78708,25 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function EMe(e) {+function OMe(e) {let t = (e.results || []).filter((e) => !e.ok).length;- C8.toast({ text: ui(e) }, {+ S8.toast({ text: li(e) }, {warn: !!t,timeout: t ? 8e3 : 6e3,sound: t ? "warning" : "success",action: {label: "查看",- run: () => E9(!0)+ run: () => T9(!0)}});}-function x9() {- return Zi(S9());+function b9() {+ return Xi(x9());}-function DMe() {+function kMe() {return $.controller.read();}-function S9() {+function x9() {return {status: $.followFilter,media: $.followMediaView,@@ -78738,33 +78741,33 @@ function S9() {seed: $.followSeed};}-function C9(e) {+function S9(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 OMe() {- let e = ZV(I("#stats"));+function AMe() {+ let e = QV(L("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}-function w9() {- return !!OMe();+function C9() {+ return !!AMe();}-function T9(e) {- w9() && nH(I("#stats"), e);+function w9(e) {+ C9() && rH(L("#stats"), e);}-function kMe(e, t = {}) {+function jMe(e, t = {}) {return $.controller.route(e, t);}-function E9(e = !1) {+function T9(e = !1) {$.controller.enter(e);}-async function D9(e, t = !0, n = null, r = !1) {+async function E9(e, t = !0, n = null, r = !1) {if (t) {- !location.pathname.startsWith("/posts/") && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), v9(`/posts/${+e}`, "follow", () => D9(e, !1, n, r));+ !location.pathname.startsWith("/posts/") && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), _9(`/posts/${+e}`, "follow", () => E9(e, !1, n, r));return;}cl(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Zl({ followDetailReturnPath: zV() || "/follow" }), t && LV(), i8()?.showing() !== "follow" && i9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, BV("follow")), await (await r8(t9.stageHost)).open({+ t && i && !r && Zl({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Zl({ followDetailReturnPath: BV() || "/follow" }), t && RV(), r8()?.showing() !== "follow" && r9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, VV("follow")), await (await n8(e9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -78772,66 +78775,66 @@ async function D9(e, t = !0, n = null, r = !1) {relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,helpers: $.followFeedHelpers,actions: $.followDetailActions,- resume: t ? null : n9()- }), d7();+ resume: t ? null : t9()+ }), u7();}-async function AMe() {- await r9(), i9(!1, !1, { miniplayer: !1 }), RV(), Q.route(Rl || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && w9() ? (DMe(), T9({ view: S9() })) : Zl({ pageOpens: Hl + 1 }));+async function MMe() {+ await n9(), r9(!1, !1, { miniplayer: !1 }), zV(), Q.route(Rl || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && C9() ? (kMe(), w9({ view: x9() })) : Zl({ pageOpens: Hl + 1 }));}-function jMe(e) {+function NMe(e) {let t = document.createElement("div");return t.className = "peach-react", gs(e, () => {e.textContent = "", e.append(t);}), t;}-function MMe() {+function PMe() {$.followFeedHelpers = ml({wireDrag: (e) => {- e && e9(e);+ e && $7(e);},wireScroller: (e) => {e && Hs(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: TMe+ jobProgress: DMe}), $.followFeedActions = {- loaded: (e) => G5(e),- openDetail: (e) => D9(e),- openAuthor: (e) => Q.navigatePath(tn("creator", e)),- toggleSelection: (e, t) => tje(e, t),+ loaded: (e) => W5(e),+ openDetail: (e) => E9(e),+ openAuthor: (e) => Q.navigatePath(en("creator", e)),+ toggleSelection: (e, t) => rje(e, t),setImagesOnly: (e) => {- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), d5();+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), u5();},setPhotoLayout: (e) => {- FA(e), d5();+ OA(e), u5();},- canFlip: () => !Dl && !Q7() && !window.__scrolling && !X.reduceMotion(),- toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),- failure: (e, t) => C8.actionFailure(e, t),- checkReport: (e) => EMe(e)+ canFlip: () => !Dl && !Z7() && !window.__scrolling && !X.reduceMotion(),+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),+ failure: (e, t) => S8.actionFailure(e, t),+ checkReport: (e) => OMe(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- i8()?.showing() !== "follow" && (cl(), i9(!1), U5(), !w9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), I("#stats").querySelector(".peach-react") && rH(I("#stats")), I("#stats").replaceChildren()));+ r8()?.showing() !== "follow" && (cl(), r9(!1), H5(), !C9() && (Q.claimSurface(Q.surfacePath()), V5({ manage: !1 }), L("#stats").querySelector(".peach-react") && iH(L("#stats")), L("#stats").replaceChildren()));}}, $.followDetailActions = Sl({- view: S9,- adoptView: C9,+ view: x9,+ adoptView: S9,rememberReturn: (e) => Zl({ followDetailReturnPath: e }),- close: () => void AMe(),- open: (e, t, n) => void D9(e, !0, t, n),- drawer: G5,- openAuthor: (e) => Q.navigatePath(tn("creator", e))+ close: () => void MMe(),+ open: (e, t, n) => void E9(e, !0, t, n),+ drawer: W5,+ openAuthor: (e) => Q.navigatePath(en("creator", e))}, {- toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),- failure: C8.actionFailure+ toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),+ failure: S8.actionFailure});}-function NMe() {- $.controller = ea({+function FMe() {+ $.controller = $i({location: () => location,- view: S9,- adoptView: C9,+ view: x9,+ adoptView: S9,session: () => ({discoverySeed: Gl,revision: Kl,@@ -78845,20 +78848,20 @@ function NMe() {preferences: () => ({selectMode: Dl,selected: El,- photoSize: kA(),- photoLayout: AA(),+ photoSize: SA(),+ photoLayout: CA(),imagesOnly: !!Z.appSettings.followImagesOnly}),- live: w9,- push: T9,+ live: C9,+ push: w9,route: Q.route,- openPage: b9,- rollSeed: () => Number(C8.rollSeed()),+ openPage: y9,+ rollSeed: () => Number(S8.rollSeed()),enterSeed: () => Math.floor(Math.random() * 4294967295),revealFeed: () => {- cl(), U5(), H5({ manage: !1 });+ cl(), H5(), V5({ manage: !1 });},- syncPhotoWalls: d5,+ syncPhotoWalls: u5,scrollTop: () => window.scrollTo({top: 0,behavior: "smooth"@@ -78867,20 +78870,20 @@ function NMe() {}//#endregion//#region src/application/lifecycle.js-var O9 = { overlayScan: void 0 };-function PMe() {- Hbe(), uc(document), $a(document.documentElement, { variant: "page" }), $a(I("#drawerScroll")), O9.overlayScan = 0, J.mutation(() => {- O9.overlayScan ||= J.delay(() => {- O9.overlayScan = 0, sc();+var D9 = { overlayScan: void 0 };+function O9() {+ Wbe(), uc(document), $a(document.documentElement, { variant: "page" }), $a(L("#drawerScroll")), D9.overlayScan = 0, J.mutation(() => {+ D9.overlayScan ||= J.delay(() => {+ D9.overlayScan = 0, sc();});}).observe(document.body, {childList: !0,subtree: !0- }), sc(), fa(document.body), X.homeHasFeed = MAe(), X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {+ }), sc(), da(document.body), X.homeHasFeed = PAe(), X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, B5.sidebarProps = {content: null,filters: {},latest: null- }, V5.sidebarSurface = "", V5.sidebarCatalog = null, V5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [+ }, B5.sidebarSurface = "", B5.sidebarCatalog = null, B5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [["new", "更新时间"],["hot", "热度"],["dur", "时长"]@@ -78888,7 +78891,7 @@ function PMe() {}//#endregion//#region src/react/search/recommendations.ts-async function FMe(e) {+async function IMe(e) {let t = (await Promise.allSettled([e("/api/items?sort=rand&limit=5"),e("/api/jav/discoveries?scope=library&limit=5"),@@ -78909,12 +78912,12 @@ async function FMe(e) {credentials: /* @__PURE__ */ new Set()};for (let e of i?.groups || []) {- let t = Li(e);+ let t = Ii(e);for (let n of ["videos", "images"]) {if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;- let r = Ri(e, n), i = l.sources.find((e) => e.id === r.source_id), a = OW(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;+ let r = Li(e, n), i = l.sources.find((e) => e.id === r.source_id), a = kW(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;(n === "images" ? c : s).push({- value: wW(r),+ value: TW(r),id: r.id,who: a.author,href: `/posts/${r.id}`,@@ -78930,7 +78933,7 @@ async function FMe(e) {let u = (t[4]?.items || []).map((e) => ({value: e.k,href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,- avatarHtml: DW(l.sources.filter((t) => t.author_key === e.key), e.k),+ avatarHtml: OW(l.sources.filter((t) => t.author_key === e.key), e.k),subtitle: "关注中的作者"})), d = /* @__PURE__ */ new Map();for (let e of r) for (let t of e.performer_refs || []) t.id && !d.has(t.name) && d.set(t.name, {@@ -79001,7 +79004,7 @@ async function FMe(e) {}//#endregion//#region src/application/search-morph.js-function IMe(e, t, n, r, i, a, o) {+function LMe(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);@@ -79027,26 +79030,26 @@ var k9 = {function A9() {k9.searchControl?.close();}-function LMe(e) {- let t = e ? Ca({+function RMe(e) {+ let t = e ? Sa({...e,is_jav: !!e.code}, Z.appSettings.javImage) : "";- return t === "cover" ? Ua(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";+ return t === "cover" ? Ha(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";}function j9() {- k9.searchMorph?.cancel(), k9.searchMorph = null, I(".search").classList.remove("search-morphing");+ k9.searchMorph?.cancel(), k9.searchMorph = null, L(".search").classList.remove("search-morphing");}function M9(e) {- let t = I(".search"), n = I("#searchBtn");+ let t = L(".search"), n = L("#searchBtn");if (t.classList.contains("open") === e) return;let r = !!k9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);j9(), t.classList.remove("open");let o = n.getBoundingClientRect();- if (t.classList.toggle("open", e), I("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;+ if (t.classList.toggle("open", e), L("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = tc();t.classList.add("search-morphing");- let h = t.animate(IMe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(LMe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"@@ -79055,27 +79058,27 @@ function M9(e) {k9.searchMorph === h && j9();});}-function RMe() {- return t9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;+function zMe() {+ return e9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;}-function zMe(e) {+function BMe(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function BMe() {+function VMe() {k9.searchControl = null, k9.searchActions = {search: (e) => {- X.rememberSearchValue(), i9(!1), U.q = e, Ql(), Q.route(U.jav === "1" ? g7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);+ X.rememberSearchValue(), r9(!1), W.q = e, Ql(), Q.route(W.jav === "1" ? h7() : W.q ? "/?q=" + encodeURIComponent(W.q) : "/", !0);},- openItem: (e) => c9(e),- openEntity: (e, t) => y5(e, t),+ openItem: (e) => s9(e),+ openEntity: (e, t) => v5(e, t),openPath: (e) => Q.route(e, !1),openFollow: (e, t, n) => {- $.followMediaView = t, D9(e, !0, n);+ $.followMediaView = t, E9(e, !0, n);}}, k9.searchHelpers = {- pool: () => fq(U, R),- recommendations: () => FMe(R),- 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) : LMe(e)}</span>`,+ pool: () => pq(W, z),+ recommendations: () => IMe(z),+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${B(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? U8(e) : RMe(e)}</span>`,present: (e) => wo(e),dismiss: (e) => To(e),wireScroller: (e) => Hs(e),@@ -79090,8 +79093,8 @@ function BMe() {text: e.value,scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft})- }, tH("search", {- input: I("#q"),+ }, nH("search", {+ input: L("#q"),historyLimit: Z.appSettings.searchHistoryLimit,actions: k9.searchActions,helpers: k9.searchHelpers,@@ -79099,59 +79102,59 @@ function BMe() {k9.searchControl = e;}}, {- container: I("#searchMenu"),+ container: L("#searchMenu"),isCurrent: () => !0- }), J.listen(I("#q"), "beforeinput", (e) => {+ }), J.listen(L("#q"), "beforeinput", (e) => {e.isComposing || X.rememberSearchValue(e.currentTarget);- }), J.listen(I("#q"), "scroll", (e) => {+ }), J.listen(L("#q"), "scroll", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);- }), J.listen(I("#q"), "pointerdown", (e) => {+ }), J.listen(L("#q"), "pointerdown", (e) => {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function VMe() {+function HMe() {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(I("#searchBtn"), "onclick", () => {- M9(!0), I("#q").focus({ preventScroll: !0 });- }), J.handler(I("#searchBack"), "onclick", () => {- M9(!1), A9(), I("#q").blur(), I("#searchBtn").focus({ preventScroll: !0 });+ }, { passive: !0 }), J.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), J.handler(L("#searchBtn"), "onclick", () => {+ M9(!0), L("#q").focus({ preventScroll: !0 });+ }), J.handler(L("#searchBack"), "onclick", () => {+ M9(!1), A9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });});let e = (e) => {- e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (I("#q").value || M9(!1), A9());+ e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || M9(!1), A9());};- J.listen(document, "pointerdown", e, !0), J.listen(document, "focusin", e), J.handler(I("#brandHome"), "onclick", (e) => {- e.preventDefault(), _7(null, !0);+ J.listen(document, "pointerdown", e, !0), J.listen(document, "focusin", e), J.handler(L("#brandHome"), "onclick", (e) => {+ e.preventDefault(), g7(null, !0);}), J.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = u8();+ let t = l8();if (t?.isOpen()) {t.close();return;}- if (!I("#searchMenu").hidden) {+ if (!L("#searchMenu").hidden) {A9();return;}- if (t9.immerseOpen()) {- s8().close();+ if (e9.immerseOpen()) {+ o8().close();return;}- if (t9.stageOpen()) {- e.defaultPrevented || (e.preventDefault(), i8().requestClose());+ if (e9.stageOpen()) {+ e.defaultPrevented || (e.preventDefault(), r8().requestClose());return;}- if (I("#drawer").classList.contains("open")) {- J5(!1);+ if (L("#drawer").classList.contains("open")) {+ q5(!1);return;}if (Dl || Tl.size || El.size) {- k5(!1, !0);+ O5(!1, !0);return;}return;}- if (zMe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (BMe(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) {@@ -79159,30 +79162,30 @@ function VMe() {return;}}- let t = RMe();+ let t = zMe();if (t) {if (e.key === "t" || e.key === "T") {- e.preventDefault(), i8()?.toggleTheater();+ e.preventDefault(), r8()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), yM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), aM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), vM(t);+ e.preventDefault(), iM(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), Nj(t, ".vjs-mute-control");+ e.preventDefault(), xj(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), Nj(t, ".vjs-fullscreen-control");+ e.preventDefault(), xj(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {- e.preventDefault(), i8()?.toggleMiniplayer();+ e.preventDefault(), r8()?.toggleMiniplayer();return;}}@@ -79190,7 +79193,7 @@ function VMe() {}//#endregion//#region src/history/links.ts-function HMe(e) {+function UMe(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;@@ -79204,9 +79207,9 @@ function HMe(e) {} catch {return null;}- if (i.origin !== window.location.origin || n.startsWith("#") && NV(i.pathname)) return null;- let a = UV(i.pathname);- return n.startsWith("#") && !a?.section || !MV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;+ if (i.origin !== window.location.origin || n.startsWith("#") && PV(i.pathname)) return null;+ let a = WV(i.pathname);+ return n.startsWith("#") && !a?.section || !NV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;}//#endregion//#region src/application/composition.js@@ -79214,70 +79217,70 @@ var N9 = {shellActions: void 0,routing: void 0};-function UMe() {+function WMe() {let e = J, t = (e) => {- e.kind === "item" ? c9(e.id, !1) : e.kind === "jav" ? u9(e.code, !1) : e.kind === "follow" ? D9(e.id, !1) : a9(e.queue, e.key, e.item, !1);+ e.kind === "item" ? s9(e.id, !1) : e.kind === "jav" ? l9(e.code, !1) : e.kind === "follow" ? E9(e.id, !1) : i9(e.queue, e.key, e.item, !1);};- if (jAe(), I5.entityShapesReady = G8(), yje(), location.pathname === "/") {+ if (NAe(), F5.entityShapesReady = W8(), xje(), location.pathname === "/") {let e = new URLSearchParams(location.search);- !e.has("state") && e.get("jav") !== "1" && (I("#catalogPageHeading").hidden = !1);+ !e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1);}- Z8(decodeURIComponent(location.pathname)) && J8(I("#feedNew")), Oje(), N9.shellActions = {- openSettings: (e) => Y5(e, !0),- closeSettings: () => u8()?.close(!1),- openItem: (e) => void c9(e),- openEntity: (e, t) => void y5(e, t),+ X8(decodeURIComponent(location.pathname)) && q8(L("#feedNew")), Aje(), N9.shellActions = {+ openSettings: (e) => J5(e, !0),+ closeSettings: () => l8()?.close(!1),+ openItem: (e) => void s9(e),+ openEntity: (e, t) => void v5(e, t),openTag: (e) => {- Cje(), P7(e);+ Tje(), N7(e);},- openTasteSignal: qAe,+ openTasteSignal: YAe,navigate: (e) => {- let n = new URL(e, location.href), r = MV(n.pathname, n.search);+ let n = new URL(e, location.href), r = NV(n.pathname, n.search);if (r) {let e = r.kind === "queue" ? "item" : r.kind;- v9(n.pathname + n.search + n.hash, e, () => t(r));- } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !NV(location.pathname)) {+ _9(n.pathname + n.search + n.hash, e, () => t(r));+ } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !PV(location.pathname)) {Q.route(e);- let t = fH.navigation.seq;- l6(n.hash, () => fH.navigation.seq === t);+ let t = pH.navigation.seq;+ c6(n.hash, () => pH.navigation.seq === t);} else Q.navigatePath(e);},- openManage: e7,+ openManage: $5,managePath: (e) => Q.routePathOf("section", e) || "",- openFollow: () => E9(),- receipt: (e, t) => C8.actionReceipt(e, t),- toast: (e, t) => C8.toast(e, t),- failure: C8.actionFailure,- revealSource: m5,- reopenTutorial: vMe,- routeReview: XAe,- routeFollowManage: fje,+ openFollow: () => T9(),+ receipt: (e, t) => S8.actionReceipt(e, t),+ toast: (e, t) => S8.toast(e, t),+ failure: S8.actionFailure,+ revealSource: p5,+ reopenTutorial: bMe,+ routeReview: QAe,+ routeFollowManage: mje,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();},srcBadge: (e, t) => Z.srcBadge(e, t),- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(N5(e), t),+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(M5(e), t),savePeopleLayout: ({ layout: e }) => {Z.appSettings.peopleLayout = e, Z.saveSettings();},- exitSelectMode: () => k5(!1, !1),- personAvatar: (e, t, n) => M5.personAvatar(e, t, n),- authorAvatar: (e) => mje(e),- showIndexTags: hje,- openFollowAuthor: F5,- openFollowTag: gje,- openPlaylist: (e, t) => void o9(e, t, !0),- canFlip: () => !Dl && !Q7() && !window.__scrolling && !X.reduceMotion(),+ exitSelectMode: () => O5(!1, !1),+ personAvatar: (e, t, n) => j5.personAvatar(e, t, n),+ authorAvatar: (e) => gje(e),+ showIndexTags: _je,+ openFollowAuthor: P5,+ openFollowTag: vje,+ openPlaylist: (e, t) => void a9(e, t, !0),+ canFlip: () => !Dl && !Z7() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {e === "entity" ? (cl(), Zl({ barsContext: {type: "home",- filters: U- } }), W5(), document.body.classList.add("entity-open"), w7(), P5()) : e === "index" ? (cl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), W5(), document.body.classList.add("index-open"), w7(), P5()) : (cl(), Q.claimSurface(t), e === "catalog" ? W5() : (U5(), H5({ manage: e === "management" })));+ filters: W+ } }), U5(), document.body.classList.add("entity-open"), C7(), N5()) : e === "index" ? (cl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), U5(), document.body.classList.add("index-open"), C7(), N5()) : (cl(), Q.claimSurface(t), e === "catalog" ? U5() : (H5(), V5({ manage: e === "management" })));},clearSearch: () => X.clearSearchField(),openImmerse: (e) => {- let t = t9.requestedImmerseId === void 0 ? e : t9.requestedImmerseId;- t9.requestedImmerseId = void 0, d9(t, !1);+ let t = e9.requestedImmerseId === void 0 ? e : e9.requestedImmerseId;+ e9.requestedImmerseId = void 0, u9(t, !1);},openQueueRequest: () => {let e = Q.requestedQueue;@@ -79285,10 +79288,10 @@ function UMe() {},openOverlay: (e) => {let n = Q.requestedOverlay;- Q.requestedOverlay = null, fH.navigation.claimed && (!mH() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (mH() && (Q.initialOverlayOpened = !0), t(e));+ Q.requestedOverlay = null, pH.navigation.claimed && (!hH() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (hH() && (Q.initialOverlayOpened = !0), t(e));},closeStage: () => {- t9.stageOpen() && i9(!1);+ e9.stageOpen() && r9(!1);},grid: {helpers: X.gridHelpers,@@ -79296,50 +79299,50 @@ function UMe() {},configurable: () => !!Bl,surfaceShown: (e) => {- e === "index" ? (g9(), d7()) : M7();+ e === "index" ? (h9(), u7()) : j7();},entity: {missing: (e) => {- N9.shellActions.surfaceChanged("entity", location.pathname), v5(e);+ N9.shellActions.surfaceChanged("entity", location.pathname), _5(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 = 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);+ let i = o5();+ return i.type !== "entity" || i.kind !== e || i.name !== t || !c5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (b7(r), x7(o5()), !0);}},follow: $.followFeedShell,catalog: {- defaultLoc: () => h7("local,115"),+ defaultLoc: () => m7("local,115"),open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {- n && (y9(), u7(), $5()), t && k8(), e === "/trash" ? (X.clearSearchField(), W5()) : (I("#q").value = U.q, X.rememberSearchValue()), g9(), M7(), Z.handOff(L7());+ n && (v9(), l7(), Q5()), t && O8(), e === "/trash" ? (X.clearSearchField(), U5()) : (L("#q").value = W.q, X.rememberSearchValue()), h9(), j7(), Z.handOff(I7());},load: () => {- Z.handOff(L7());+ Z.handOff(I7());},fill: () => {- if (H7() || !mH() && !I("#grid").querySelector(".catalog-skeleton")) return;- let e = I("#count");- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), B7(Q.surfaceToken(Q.surfacePath()));+ if (V7() || !hH() && !L("#grid").querySelector(".catalog-skeleton")) return;+ let e = L("#count");+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), z7(Q.surfaceToken(Q.surfacePath()));},release: () => {- z7(), Q8();+ R7(), Z8();}}}, N9.routing = !1, e.listen(document, "click", (e) => {- let t = HMe(e);+ let t = UMe(e);t && (e.preventDefault(), N9.shellActions.navigate(t));- }), J.own(fH.listen((e) => {- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !NV(e.location.pathname) && i9(!1), N9.routing && !e.claimed && y9();- })), Yke(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), jje(), oje(), Z5(), Promise.all([- Y7(),- kje(),- I5.entityShapesReady+ }), J.own(pH.listen((e) => {+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !PV(e.location.pathname) && r9(!1), N9.routing && !e.claimed && v9();+ })), Zke(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), Nje(), cje(), X5(), Promise.all([+ J7(),+ jje(),+ F5.entityShapesReady]).then(() => {- e.isActive && (I5.wantsDiscoveryBars() && M7().catch((e) => console.error("首页横条装载失败", e)), g9(), cMe(), N9.routing = !0, Zl({ pageOpens: 1 }), y9(), d7());+ e.isActive && (F5.wantsDiscoveryBars() && j7().catch((e) => console.error("首页横条装载失败", e)), h9(), uMe(), N9.routing = !0, Zl({ pageOpens: 1 }), v9(), u7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});@@ -79347,7 +79350,7 @@ function UMe() {//#endregion//#region src/theme-transition.tsvar P9 = !1;-async function WMe(e, t) {+async function GMe(e, t) {if (P9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();@@ -79370,7 +79373,7 @@ async function WMe(e, t) {}//#endregion//#region src/application/chrome.js-function GMe() {+function KMe() {(() => {let e = J, t = ["#brandHome",@@ -79430,9 +79433,9 @@ function GMe() {e.newState === "open" && (l.querySelector("button")?.focus(), p(!1));}), e.listen(l, "keydown", (e) => {e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());- }), R("/api/libraries", { signal: e.signal }).then((t) => {+ }), z("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- EG(t.libraries);+ DG(t.libraries);let n = [["","全部媒体库",@@ -79449,11 +79452,11 @@ function GMe() {}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) => No[e]?.startsWith("data:") ? `<img src="${No[e]}" alt="">` : L(No[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", () => {+ let o = (e) => No[e]?.startsWith("data:") ? `<img src="${No[e]}" alt="">` : R(No[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="${B(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${B(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {sessionStorage.setItem("peach.library", t.dataset.library), sessionStorage.setItem("peach.library-label", n.find((e) => e[0] === t.dataset.library)?.[1] || "全部媒体库"), location.assign("/");})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {- u.setOpen(!1), J5(!1), C5("媒体库与入库");+ u.setOpen(!1), q5(!1), S5("媒体库与入库");});let d = l.querySelector(".board-library-rows");e.listen(d, "pointerover", (e) => {@@ -79469,19 +79472,19 @@ function GMe() {let m = document.querySelector("#filterBtn"), h = document.createComment("sidebar toggle");(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="浅色主题">${L("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${L("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" && WMe(t, () => {- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), vA();+ 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" && GMe(t, () => {+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), dA();});- })), vA();+ })), dA();let _ = document.createElement("div");_.className = "popmenu board-glow-menu", _.id = "boardGlowMenu", _.hidden = !0, _.setAttribute("popover", "manual"), _.setAttribute("role", "dialog"), _.setAttribute("aria-label", "配色"), document.body.append(_), e.own(() => _.remove());let v = g.querySelector("#boardGlowBtn"), y = Oo(g, v, _);- e.own(y.dispose), e.own(ZA(v)), nAe({+ e.own(y.dispose), e.own(Boe(v)), iAe({root: _,store: Z.settingsStore,openDetails: () => {- e.isActive && (y.setOpen(!1), J5(!1), Y5("外观与导航").then((t) => {+ e.isActive && (y.setOpen(!1), q5(!1), J5("外观与导航").then((t) => {e.isActive && t.reveal("#homeGlowControls");}));}@@ -79493,7 +79496,7 @@ function GMe() {let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");if (!t) return;c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);- let r = n.classList.contains("open"), i = !q5();+ let r = n.classList.contains("open"), i = !K5();i || r ? m.parentElement !== t && t.append(m) : m.parentElement !== h.parentElement && h.after(m), n.inert = !i && !r;}Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(J, window)("resize", b);@@ -79617,17 +79620,17 @@ function GMe() {subtree: !0}), y();}- })(), J5(!q5() && sessionStorage.getItem("board.sidebar") !== "closed");+ })(), q5(!K5() && sessionStorage.getItem("board.sidebar") !== "closed");}//#endregion//#region src/application/initialize.js-function KMe() {- PMe(), bMe(), bje(), xMe(), uMe(), iAe(), tMe(), yMe(), WAe(), gMe(), sje(), nMe(), LAe(), ZAe(), MMe(), _je(), GAe(), NMe(), vje(), KAe(), Lje(), rMe(), BMe(), _Me(), VMe(), dMe(), UMe(), GMe(), J.own(z7), J.own(_9);+function qMe() {+ O9(), SMe(), Sje(), CMe(), fMe(), oAe(), rMe(), xMe(), KAe(), vMe(), lje(), iMe(), zAe(), $Ae(), PMe(), yje(), qAe(), FMe(), bje(), JAe(), zje(), aMe(), VMe(), yMe(), HMe(), pMe(), WMe(), KMe(), J.own(R7), J.own(g9);}//#endregion//#region src/ui-kit/middle-truncate.tsvar F9 = "…", I9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, L9 = /* @__PURE__ */ new WeakMap(), R9 = /* @__PURE__ */ new WeakSet(), z9 = null, B9 = null, V9 = /* @__PURE__ */ new Set(), H9 = (e) => I9 ? [...I9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));-function qMe(e, t) {+function JMe(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;@@ -79645,7 +79648,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 }), JMe = (e) => {+}, { canvas: null }), YMe = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -79655,17 +79658,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);-}, YMe = (e) => {+}, XMe = (e) => {let t = L9.get(e);if (!t || !e.isConnected) return;- let n = JMe(e), r = n > 0 ? qMe(t.full, (t) => U9(e, t) <= n) : t.full;+ let n = YMe(e), r = n > 0 ? JMe(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, YMe(e);+ t.raf = 0, XMe(e);}));}, G9 = (e) => {e instanceof HTMLElement && (L9.has(e) || L9.set(e, {@@ -79678,7 +79681,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 XMe(e = document) {+function ZMe(e = document) {B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();let t = V9, n = !0;z9 = new ResizeObserver((e) => e.forEach((e) => {@@ -79753,7 +79756,7 @@ var q9 = ["jav-detail","wants","index"-], ZMe = {+], QMe = {catalog: [...q9,...J9,@@ -79774,28 +79777,28 @@ var q9 = ["avatar-choices"]};-function QMe() {+function $Me() {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 ZMe[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of QMe[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);e.clear();- let n = { predicate: (e) => t.has(String(e.queryKey[0])) && (e.queryKey[0] !== "follow-manage" || e.queryKey.length === 1 || e.queryKey[1] === "feeds") }, r = H.getQueryCache().findAll(n).some((e) => e.isActive() && e.state.fetchStatus === "fetching");- if (await H.invalidateQueries(n, { cancelRefetch: !1 }), r) for (let n of t) e.add(n);+ let n = { predicate: (e) => t.has(String(e.queryKey[0])) && (e.queryKey[0] !== "follow-manage" || e.queryKey.length === 1 || e.queryKey[1] === "feeds") }, r = U.getQueryCache().findAll(n).some((e) => e.isActive() && e.state.fetchStatus === "fetching");+ if (await U.invalidateQueries(n, { cancelRefetch: !1 }), r) for (let n of t) e.add(n);}})().finally(() => {t = null;})), t || Promise.resolve();};}-function $Me() {- let e = Ct({- queryKey: SF,- queryFn: ({ signal: e }) => wF(e),- refetchInterval: (e) => CF(e.state.data)- }), t = (0, D.useRef)(void 0), [n] = (0, D.useState)(QMe), r = e.data?.result_versions;+function eNe() {+ let e = St({+ queryKey: nI,+ queryFn: ({ signal: e }) => iI(e),+ refetchInterval: (e) => rI(e.state.data)+ }), t = (0, D.useRef)(void 0), [n] = (0, D.useState)($Me), r = e.data?.result_versions;return (0, D.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);}, [r, n]), null;@@ -79806,24 +79809,24 @@ var X9 = null;function Z9(e) {X9 !== e || e.owners || (X9 = null, e.effects.dispose());}-function eNe() {+function tNe() {if (!X9) {- let e = rAe();+ let e = aAe();X9 = {effects: e,owners: 0- }, e.own(XMe(document)), e.own(() => {- cl(), H.cancelQueries();- }), e.own(Xke), e.own(Xpe), e.own(So);+ }, e.own(ZMe(document)), e.own(() => {+ cl(), U.cancelQueries();+ }), e.own(Qke), e.own(Xpe), e.own(So);}return X9.owners += 1, X9.effects.resume(), X9;}-function tNe() {+function nNe() {let [e, t] = (0, D.useState)(null);return (0, D.useLayoutEffect)(() => {- let e = X9 === null, n = eNe(), r = Jke(t);+ let e = X9 === null, n = tNe(), r = Xke(t);if (e) try {- KMe();+ qMe();} catch (e) {throw r(), n.effects.dispose(), X9 = null, e;}@@ -79833,27 +79836,27 @@ function tNe() {}, []), /* @__PURE__ */ (0, O.jsx)(zhe, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, O.jsx)($Me, {}) : null+ background: e ? /* @__PURE__ */ (0, O.jsx)(eNe, {}) : null});}var Q9 = /* @__PURE__ */ new WeakMap();-function nNe(e) {+function rNe(e) {let t = Q9.get(e);if (t) return t;- let n = (0, Dt.createRoot)(e, Bhe);+ let n = (0, Et.createRoot)(e, Bhe);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, Et.flushSync)(() => n.render(/* @__PURE__ */ (0, O.jsx)(tNe, {}))), n;+ }, (0, Tt.flushSync)(() => n.render(/* @__PURE__ */ (0, O.jsx)(nNe, {}))), n;}//#endregion//#region src/react/bootstrap.tsxg();var $9 = document.getElementById("appRoot");if (!$9) throw Error("主界面宿主缺失");-nNe($9);+rNe($9);//#endregion-export { RI as $2ec61d1d4f780267$export$a8a3e93435678ff9, ZI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, bR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, MT as $72abaeab4d80592f$export$78efe591171d7d45, fz as $76d00c5a4edb230a$export$76ccd210b9029917, lz as $76d00c5a4edb230a$export$816b5d811295e6bc, hz as $76d00c5a4edb230a$export$b59bdbef9ce70de2, _z as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, cz as $76d00c5a4edb230a$export$f850895b287ef28e, hde as $b4f18e3395fe64d7$export$3d96ec278d3efce4, mde as $b4f18e3395fe64d7$export$3e41faf802a29e71, dde as $b4f18e3395fe64d7$export$b2539bed5023c21c, xz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, vde as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, yw as $ea3928288112382f$export$439d29a4e110a164, NR as $f2ff30fde7b014be$export$3ddf2d174ce01153, BR as $fe21c36db05242bb$export$a98f0dcb43a68a25, VR as $fe21c36db05242bb$export$d7b12c4107be0d61, efe as $l, YA as ACCENT_CHOICES, cwe as AMANE_BRIDGE_CHECK_URL, z1 as AMANE_BRIDGE_KEY, lwe as AMANE_BRIDGE_REBUILD_URL, kn as ApiError, xG as ArtSlot, q as Button, dI as ButtonLink, lfe as Bx, Vt as CLOUD_LOCATIONS, bU as CLOUD_PROXY_HELP, mr as COLUMN_SORT, Z1 as CONFIGURATION_KEY, HX as CONFIGURATION_URL, uwe as COOKIE_TEXT_LIMIT, R1 as COVER_JOB_KEY, _i as CREDENTIAL_STATE, P1 as CUSTOM_SOURCES_KEY, N1 as CUSTOM_SOURCES_URL, bV as Checkbox, yV as CheckboxGlyph, uV as ChevronSortDown, rQ as Chip, Y2 as CloudDownloadDialog, nU as CollapseChevron, tU as CollapseRegion, t1 as CollectionSummary, Hve as DEFAULT_CATEGORY, Nn as DEFAULT_SORT, T$ as DIAGNOSTICS_KEY, zye as DIRECTORY_TEMPLATE_ERROR, P0 as DISCOVERY_SORTS, U2 as DOWNLOADS_KEY, H2 as DOWNLOADS_URL, fX as DUPLICATES_KEY, YY as DataTableFooter, GY as DataTableFrame, JY as DataTableSort, IU as Disclosure, KEe as DownloadsPanel, Gde as E3, Uve as ENTITY_REVIEW_KINDS, oU as ENTRY_LINKS_HELP, sU as ENTRY_LINKS_HINT, rfe as Ea, bfe as EmptyFocusButton, $z as EmptyState, PU as ErrorText, uhe as ExternalLink, lr as FEEDS_KEY, XX as FEED_SCHEDULE_KEY, GOe as FLOW_LABEL_X, z3 as FLOW_VIEWBOX, sr as FOLLOW_CHECK_KEY, or as FOLLOW_CREDENTIALS_KEY, P8 as FOLLOW_INITIAL_RANGE_OPTIONS, ar as FOLLOW_MANAGE_KEY, cr as FOLLOW_RESOLVE_KEY, YX as FOLLOW_SCHEDULE_KEY, fhe as Fact, dhe as FactList, FU as FieldLabel, E1 as Fieldset, T1 as FieldsetTitle, tI as FilterGlass, nI as FilterGlassRows, eI as FilterIconButton, iI as FilterPill, MU as Footer, Lz as Gg, oI as GlassPill, NU as Help, Wz as HintText, LOe as IDLE_POLL_MS, jve as IDLE_REPAIR, YF as IconButton, Yz as Input, Jz as InputBase, bA as JAV_LAYOUTS, I0 as JAV_RECOMMENDATION_GRID, bZ as JUNK_KEY, Q3 as JavHeader, Tve as KEEP_LABELS, dr as LAYOUTS, aU as LIBRARY_FOLDER_HELP, DH as LIBRARY_PROCESSING_KEY, PX as LINKS_KEY, FX as LINK_CHECK_KEY, dye as LINK_KINDS, IX as LINK_PRUNE_KEY, wn as LOC, Uz as Label, k1 as LibraryProcessingCard, gB as LibraryShortcuts, RH as LinkButton, XH as LoadingDots, qde as M6, gye as MEDIA_PROCESSING_KEY, QX as MEDIA_PROCESSING_URL, _X as MEDIA_REPAIR_KEY, gX as MEDIA_REPAIR_URL, Vn as MEDIA_SOURCES_KEY, No as MEDIA_SOURCE_ICONS, zt as MEDIA_SOURCE_OPTIONS, mV as MENU_ITEM, hV as MENU_ITEM_INTERACTIVE, pV as MENU_POPOVER_SURFACE, BH as MenuDialog, _K as MixCard, Xz as ModalFrame, Mv as MotionConfigContext, Hz as NR, Qz as Note, gfe as OA, tZ as ORGANIZE_KEY, iZ as ORPHAN_RECORDS_KEY, Iz as OV, kz as P7, ECe as PHASES, UX as PICK_FOLDER_URL, j1 as PLAYLISTS_KEY, Jme as POLICY_COLUMNS, Xme as POLICY_COVER_NOTE, Yme as POLICY_MATRIX, iU as POLICY_SUMMARY, qY as Pagination, O1 as PathLine, mF as PillTabList, QH as Progress, SX as QUALITY_GOALS_KEY, y1 as REPAIR_CARD_TEXT, vX as REPAIR_LIBRARIES_KEY, uZ as RESOURCE_APPLY_KEY, lZ as RESOURCE_SCAN_KEY, zCe as RESULT_PANEL, BCe as RESULT_SECTION, Vve as REVIEW_CATEGORIES, yZ as REVIEW_COUNTS_KEY, TX as REVIEW_KEY, EX as REVIEW_LABELS, bG as RetryNote, hfe as Rf, she as Rows, owe as SCRAPING_CHECK_URL, I1 as SCRAPING_COVER_URL, L1 as SCRAPING_KEY, awe as SCRAPING_SETTINGS_URL, pW as SEGMENT, fW as SEGMENTED_TRACK, JX as SETTINGS_KEY, WX as SETTINGS_URL, Pn as SORT_DEFAULT_DIR, Mn as SORT_OPTIONS, Ht as SOURCE_LABELS, u3 as STATS_KEY, AU as Section, che as SectionSkeleton, dW as SegmentedRadioGroup, uW as SegmentedTabList, tG as Segments, KY as Select, tW as Select$1, t0 as SelectField, nW as SelectItem, Mk as SelectionDock, OU as SettingsCard, ohe as SettingsRow, kU as SettingsSectionLabel, ghe as SiteLabel, yW as SortDirectionIcon, iG as SortKeys, c$ as SourceAvatar, BU as SourceLabel, LU as SourceMark, jU as Stack, D1 as StatusLabel, I2 as Switch, SF as TASKS_KEY, EOe as TASTE_REFRESH_KEY, DOe as TASTE_WINDOWS, ZX as THUMBNAIL_JOBS_KEY, SZ as TRASH_KEY, Tle as TRIGGER_LABELS, IY as Table, nX as TableColumnControls, rX as TableColumnResizer, aX as TableSelectionHeader, $H as TaskProgress, Kz as TextField, Gz as TextFieldContext, Fz as Un, a1 as WANTS_KEY, a4 as WantMagnets, Jf as WithPromise, Az as Wt, Pz as Xc, Vz as Xf, Yde as Xt, Kde as _8, o as __commonJSMin, s as __exportAll, l as __toESM, mfe as aB, Jr as addAlias, qr as addSource, s1 as addWant, B as apiGet, V as apiSend, pA as appSettingsStore, rbe as applyConfirmText, vZ as applyLeftovers, nbe as applyPlanText, abe as applyText, vA as applyTheme, Zg as asNumber, Kye as attachOrphan, Ar as authorAvatar, Mr as authorGroups, kr as authorInitial, Or as authorName, wJ as autoResetPageIndex, Ra as avatarInner, g3 as bandRows, Bye as baseName, Ave as batchOperate, Lk as boundedPreference, Dve as bulkCloudPreferences, rB as busyProps, pfe as cB, nDe as cachedMagnetStates, Rf as calcGeneratorVelocity, Yve as canApprove, lf as cancelFrame, Xye as candidateText, YH as cardClass, NA as cardRatio, Nz as cc, pi as checkEvidenceGap, fi as checkFailures, ri as checkFeeds, hye as checkLine, ui as checkReceipt, di as checkSummary, fwe as checkText, mi as checkedText, UG as clickedBlank, yve as cloudLocations, Mx as clsx, ofe as cn, Wm as collectMotionValues, WJ as columnVisibilityFeature, jY as column_getCanSort, DY as column_getSortFn, qve as commonReviewSources, wV as configurationSection, jOe as configureTasteBrowser, xc as confirmModal, rJ as copyInstancePropertiesWithoutMemos, ja as coverUrl, FJ as createColumnHelper, $Ce as createPlaylist, vi as credentialDone, iye as currentReviewRow, dF as cx, zz as dZ, tye as decisionPayload, nye as decisionReceipt, eye as defaultChoice, twe as deletePlaylist, rU as diagnosticsSkeleton, PCe as discoveryArtwork, f1 as discoveryKey, uTe as discoveryScore, Cve as distinctName, sye as dropReviewRows, ci as dropSources, ffe as du, Ove as duplicateVictims, FF as elapsedText, La as entityFaceImg, tn as entityPath, Cr as errorHeadline, jn as errorMessage, z as esc, CJ as expandRowModel, Ez as f1, Sr as feedIntervalText, H1 as fetchAmaneBridge, Br as fetchCheckJob, Q1 as fetchConfiguration, V1 as fetchCoverJob, zr as fetchCredentials, F1 as fetchCustomSources, E$ as fetchDiagnostics, p1 as fetchDiscoveries, mX as fetchDuplicates, ble as fetchEarlier, yye as fetchFeedSchedule, ei as fetchFeeds, Rr as fetchFollow, vye as fetchFollowSchedule, wZ as fetchJunkSummary, zX as fetchLinkCheck, BX as fetchLinkPrune, RX as fetchLinkStats, _ye as fetchMediaProcessing, yX as fetchMediaRepair, Hn as fetchMediaSources, nZ as fetchOrganize, Mye as fetchOrganizeExample, aZ as fetchOrphanRecords, $r as fetchPending, M1 as fetchPlaylists, CX as fetchQualityGoals, bX as fetchRepairLibraries, Vr as fetchResolveJob, fZ as fetchResourceApply, dZ as fetchResourceScan, jX as fetchReview, CZ as fetchReviewCounts, $X as fetchSettings, B1 as fetchSources, d3 as fetchStats, Hr as fetchSuggestions, wF as fetchTasks, I3 as fetchTaste, MOe as fetchTasteJob, bye as fetchThumbnailJobs, TZ as fetchTrashSummary, o1 as fetchWants, Gve as filterReviewRows, Sn as firstGrapheme, Cq as flexRender, qOe as flowGraph, JOe as flowLabel, KDe as fmtCount, gn as fmtDur, vn as fmtSize, jF as foldRoutine, ai as followFeedByName, ur as followSuggestKey, PF as followupDetail, cf as frame, Ide as g4, qJ as getDefaultPaginationState, MA as gridLayout, jr as groupByAuthor, AF as groupFollowups, OX as groupReviewRows, ebe as hasChanges, pZ as hasResourceRoots, EF as hasResultProblems, ROe as historySpan, Dz as i2, IOe as importTasteExport, Af as interpolate, l1 as invalidateWants, NF as isActive, xr as isBroken, hr as isLayout, hh as isMotionValue, DX as isReviewCategory, MF as isRoutine, R0 as javContentSkeleton, TA as javLayout, L0 as javTagSkeleton, ube as junkBreakdown, nwe as keepPlaylist, ve as keepPreviousData, Fr as keepSelected, f3 as known, Bde as l7, kF as latestOfKind, iOe as lengthRows, Gn as localTime, ii as lookupFeedActor, Ude as m7, Rz as mM, Jt as mapLimit, Qr as markItem, _3 as max, nOe as mediumRows, xle as mergeFinished, v3 as min, lye as mirrorText, Pve as missingToolText, hX as mixedCloudPreferences, UF as momentText, Hy as motion, Km as motionValue, Hye as organizeOutcome, e2 as overlayHost, gr as pageSizeOf, Pr as pageWindow, Ln as paginationRange, si as patchSource, fH as peachHistory, fH as peachHistory$1, $ve as pendingGenres, JDe as percentText, Fye as pickOrganizeFolder, Vye as planSummary, p3 as playedFor, XDe as playedItemUrl, CF as pollInterval, ds as popCount, QCe as posterUrl, zG as previewLibraryColor, Pye as previewOrganize, Lve as previewUrl, OF as problemDestination, IF as progressText, zU as providerIcon, mye as pruneText, hZ as purgeCount, qye as purgeOrphan, Bz as pv, dfe as qE, H as queryClient, Oz as r2, WOe as radarRows, $De as radialArc, eOe as radialBarSize, QDe as radialCeiling, ZDe as radialSlices, Xj as randomId, HOe as rankDetail, UOe as rankShares, h3 as reachedShare, RF as readableErrorHeadline, dTe as recommendationScore, aye as recordGenre, Yye as recordsText, rwe as recreatePlaylist, XCe as refreshPlaylists, tl as relayoutCovers, li as reloadFollowManage, cye as reloadReview, Qme as rememberMediaShape, SU as rememberSectionHeight, Lye as rememberTemplates, CU as rememberedSectionHeight, Yr as removeAlias, ni as removeFeed, Kr as removeSource, FOe as removeTasteSource, c1 as removeWants, Xr as renameAliasGroup, ewe as renamePlaylist, oOe as replayRows, E as require_jsx_runtime, v as require_react, S as require_react_dom, Kq as require_with_selector, kCe as resetWants, In as resolveFollowSort, Wf as resolveStartTime, ZCe as resumeAssetId, Wve as reviewGroupingOptions, lbe as reviewSummary, Kve as reviewWindow, Zve as rowEvidence, AX as rowFieldName, eY as rowPaginationFeature, xY as rowSelectionFeature, PY as rowSortingFeature, kX as rowSubject, Qve as rowTags, Xve as rowTitle, Lde as s5, Zr as saveCredential, tbe as scanLine, Tye as schedulePollInterval, jCe as searchNote, Jve as selectReviewRange, Ir as selectionState, ti as setFeedEnabled, Gr as setSourceEnabled, OV as settingsPath, Sve as sharedNamePrefix, pH as shellNavigate, x8 as showToast, cn as siteMarkUrl, mJ as skipFirstRun, fF as sortCx, vr as sortLabel, Ut as sourceDefaultCost, gi as sourceIconUrl, ibe as sourceMeta, ns as spinnerHtml, Df as spring, tB as spriteGlyph, Ur as startCheck, fye as startLinkCheck, pye as startLinkPrune, Iye as startOrganize, Wr as startResolve, Qye as startResourceApply, Zye as startResourceScan, POe as startTasteRefresh, Dle as statusLabel, Nve as statusLine, br as statusText, PA as storeJavLayout, rye as submitDecision, GF as summaryItems, IJ as tableFeatures, hJ as tableMemo, Nr as tableRows, Ale as taskIssues, L3 as tasteDate, BOe as tasteDimensions, zOe as tasteHours, F3 as tasteKey, kOe as tasteRefetchInterval, AOe as tasteTime, Uu as time, $de as tl, Lr as toggleGroup, R3 as topScores, nfe as uo, qH as useAction, EQ as useBackgroundJob, tu as useConstant, QF as useHorizontalScroller, nu as useIsomorphicLayoutEffect, VG as useLibraryTints, wt as useMutation, xV as useOverlayScrollbar, Ct as useQuery, A as useQueryClient, Py as useReducedMotion, lhe as useRememberedBody, wye as useRunSchedule, Sye as useSaveFollowSchedule, eZ as useSaveSettings, Eye as useSaveThumbnailMode, FY as useTable, QY as useTablePreferences, kve as victimBytes, ACe as wantName, YDe as watchNote, m3 as watchedShare, Hs as wireHorizontalScroller, Rye as withOrganizeJob };+export { XI as $2ec61d1d4f780267$export$a8a3e93435678ff9, iL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, xR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, tT as $72abaeab4d80592f$export$78efe591171d7d45, pz as $76d00c5a4edb230a$export$76ccd210b9029917, uz as $76d00c5a4edb230a$export$816b5d811295e6bc, gz as $76d00c5a4edb230a$export$b59bdbef9ce70de2, vz as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, lz as $76d00c5a4edb230a$export$f850895b287ef28e, hde as $b4f18e3395fe64d7$export$3d96ec278d3efce4, mde as $b4f18e3395fe64d7$export$3e41faf802a29e71, dde as $b4f18e3395fe64d7$export$b2539bed5023c21c, Sz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, vde as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, HC as $ea3928288112382f$export$439d29a4e110a164, PR as $f2ff30fde7b014be$export$3ddf2d174ce01153, VR as $fe21c36db05242bb$export$a98f0dcb43a68a25, HR as $fe21c36db05242bb$export$d7b12c4107be0d61, efe as $l, HA as ACCENT_CHOICES, uwe as AMANE_BRIDGE_CHECK_URL, R1 as AMANE_BRIDGE_KEY, dwe as AMANE_BRIDGE_REBUILD_URL, On as ApiError, SG as ArtSlot, q as Button, OI as ButtonLink, lfe as Bx, Bt as CLOUD_LOCATIONS, xU as CLOUD_PROXY_HELP, pr as COLUMN_SORT, X1 as CONFIGURATION_KEY, HX as CONFIGURATION_URL, fwe as COOKIE_TEXT_LIMIT, L1 as COVER_JOB_KEY, gi as CREDENTIAL_STATE, N1 as CUSTOM_SOURCES_KEY, M1 as CUSTOM_SOURCES_URL, xV as Checkbox, bV as CheckboxGlyph, dV as ChevronSortDown, nQ as Chip, J2 as CloudDownloadDialog, rU as CollapseChevron, nU as CollapseRegion, e1 as CollectionSummary, Uve as DEFAULT_CATEGORY, Mn as DEFAULT_SORT, w$ as DIAGNOSTICS_KEY, Bye as DIRECTORY_TEMPLATE_ERROR, N0 as DISCOVERY_SORTS, H2 as DOWNLOADS_KEY, V2 as DOWNLOADS_URL, fX as DUPLICATES_KEY, YY as DataTableFooter, GY as DataTableFrame, JY as DataTableSort, LU as Disclosure, JEe as DownloadsPanel, Gde as E3, Wve as ENTITY_REVIEW_KINDS, sU as ENTRY_LINKS_HELP, cU as ENTRY_LINKS_HINT, rfe as Ea, bfe as EmptyFocusButton, eB as EmptyState, FU as ErrorText, uhe as ExternalLink, cr as FEEDS_KEY, XX as FEED_SCHEDULE_KEY, qOe as FLOW_LABEL_X, R3 as FLOW_VIEWBOX, or as FOLLOW_CHECK_KEY, ar as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, ir as FOLLOW_MANAGE_KEY, sr as FOLLOW_RESOLVE_KEY, YX as FOLLOW_SCHEDULE_KEY, fhe as Fact, dhe as FactList, IU as FieldLabel, T1 as Fieldset, w1 as FieldsetTitle, fle as FilterGlass, xI as FilterGlassRows, bI as FilterIconButton, SI as FilterPill, NU as Footer, Rz as Gg, CI as GlassPill, PU as Help, Gz as HintText, zOe as IDLE_POLL_MS, Mve as IDLE_REPAIR, gI as IconButton, Xz as Input, Yz as InputBase, pA as JAV_LAYOUTS, F0 as JAV_RECOMMENDATION_GRID, yZ as JUNK_KEY, Z3 as JavHeader, Eve as KEEP_LABELS, ur as LAYOUTS, oU as LIBRARY_FOLDER_HELP, OH as LIBRARY_PROCESSING_KEY, PX as LINKS_KEY, FX as LINK_CHECK_KEY, fye as LINK_KINDS, IX as LINK_PRUNE_KEY, Cn as LOC, Wz as Label, O1 as LibraryProcessingCard, _B as LibraryShortcuts, zH as LinkButton, ZH as LoadingDots, qde as M6, _ye as MEDIA_PROCESSING_KEY, QX as MEDIA_PROCESSING_URL, _X as MEDIA_REPAIR_KEY, gX as MEDIA_REPAIR_URL, Bn as MEDIA_SOURCES_KEY, No as MEDIA_SOURCE_ICONS, Rt as MEDIA_SOURCE_OPTIONS, hV as MENU_ITEM, gV as MENU_ITEM_INTERACTIVE, mV as MENU_POPOVER_SURFACE, VH as MenuDialog, vK as MixCard, Zz as ModalFrame, vv as MotionConfigContext, Uz as NR, $z as Note, gfe as OA, tZ as ORGANIZE_KEY, iZ as ORPHAN_RECORDS_KEY, Lz as OV, Az as P7, OCe as PHASES, UX as PICK_FOLDER_URL, A1 as PLAYLISTS_KEY, Jme as POLICY_COLUMNS, Xme as POLICY_COVER_NOTE, Yme as POLICY_MATRIX, aU as POLICY_SUMMARY, qY as Pagination, D1 as PathLine, JF as PillTabList, $H as Progress, SX as QUALITY_GOALS_KEY, v1 as REPAIR_CARD_TEXT, vX as REPAIR_LIBRARIES_KEY, lZ as RESOURCE_APPLY_KEY, cZ as RESOURCE_SCAN_KEY, VCe as RESULT_PANEL, HCe as RESULT_SECTION, Hve as REVIEW_CATEGORIES, vZ as REVIEW_COUNTS_KEY, TX as REVIEW_KEY, EX as REVIEW_LABELS, xG as RetryNote, hfe as Rf, she as Rows, cwe as SCRAPING_CHECK_URL, F1 as SCRAPING_COVER_URL, I1 as SCRAPING_KEY, swe as SCRAPING_SETTINGS_URL, mW as SEGMENT, pW as SEGMENTED_TRACK, JX as SETTINGS_KEY, WX as SETTINGS_URL, Nn as SORT_DEFAULT_DIR, jn as SORT_OPTIONS, Vt as SOURCE_LABELS, l3 as STATS_KEY, jU as Section, che as SectionSkeleton, fW as SegmentedRadioGroup, dW as SegmentedTabList, nG as Segments, KY as Select, nW as Select$1, e0 as SelectField, rW as SelectItem, Dk as SelectionDock, kU as SettingsCard, ohe as SettingsRow, AU as SettingsSectionLabel, ghe as SiteLabel, bW as SortDirectionIcon, aG as SortKeys, s$ as SourceAvatar, VU as SourceLabel, RU as SourceMark, MU as Stack, E1 as StatusLabel, F2 as Switch, nI as TASKS_KEY, OOe as TASTE_REFRESH_KEY, kOe as TASTE_WINDOWS, ZX as THUMBNAIL_JOBS_KEY, xZ as TRASH_KEY, Kce as TRIGGER_LABELS, IY as Table, nX as TableColumnControls, rX as TableColumnResizer, aX as TableSelectionHeader, eU as TaskProgress, qz as TextField, Kz as TextFieldContext, Iz as Un, i1 as WANTS_KEY, i4 as WantMagnets, Yf as WithPromise, jz as Wt, Fz as Xc, Hz as Xf, Yde as Xt, Kde as _8, o as __commonJSMin, s as __exportAll, l as __toESM, mfe as aB, qr as addAlias, Kr as addSource, o1 as addWant, V as apiGet, H as apiSend, sA as appSettingsStore, abe as applyConfirmText, _Z as applyLeftovers, ibe as applyPlanText, sbe as applyText, dA as applyTheme, Yg as asNumber, qye as attachOrphan, kr as authorAvatar, jr as authorGroups, Or as authorInitial, Dr as authorName, wJ as autoResetPageIndex, La as avatarInner, h3 as bandRows, Vye as baseName, jve as batchOperate, Mk as boundedPreference, Ove as bulkCloudPreferences, iB as busyProps, pfe as cB, iDe as cachedMagnetStates, zf as calcGeneratorVelocity, Xve as canApprove, uf as cancelFrame, Qye as candidateText, XH as cardClass, EA as cardRatio, Pz as cc, fi as checkEvidenceGap, di as checkFailures, ni as checkFeeds, gye as checkLine, li as checkReceipt, ui as checkSummary, mwe as checkText, pi as checkedText, WG as clickedBlank, bve as cloudLocations, fx as clsx, ofe as cn, Gm as collectMotionValues, WJ as columnVisibilityFeature, jY as column_getCanSort, DY as column_getSortFn, Jve as commonReviewSources, TV as configurationSection, NOe as configureTasteBrowser, xc as confirmModal, iJ as copyInstancePropertiesWithoutMemos, Aa as coverUrl, FJ as createColumnHelper, twe as createPlaylist, _i as credentialDone, aye as currentReviewRow, GF as cx, Bz as dZ, nye as decisionPayload, rye as decisionReceipt, tye as defaultChoice, rwe as deletePlaylist, iU as diagnosticsSkeleton, ICe as discoveryArtwork, d1 as discoveryKey, fTe as discoveryScore, wve as distinctName, cye as dropReviewRows, si as dropSources, ffe as du, kve as duplicateVictims, lI as elapsedText, Ia as entityFaceImg, en as entityPath, Sr as errorHeadline, An as errorMessage, B as esc, CJ as expandRowModel, Dz as f1, xr as feedIntervalText, V1 as fetchAmaneBridge, zr as fetchCheckJob, Z1 as fetchConfiguration, B1 as fetchCoverJob, Rr as fetchCredentials, P1 as fetchCustomSources, T$ as fetchDiagnostics, f1 as fetchDiscoveries, mX as fetchDuplicates, Vce as fetchEarlier, bye as fetchFeedSchedule, $r as fetchFeeds, Lr as fetchFollow, yye as fetchFollowSchedule, CZ as fetchJunkSummary, zX as fetchLinkCheck, BX as fetchLinkPrune, RX as fetchLinkStats, vye as fetchMediaProcessing, yX as fetchMediaRepair, Vn as fetchMediaSources, nZ as fetchOrganize, Nye as fetchOrganizeExample, aZ as fetchOrphanRecords, Qr as fetchPending, j1 as fetchPlaylists, CX as fetchQualityGoals, bX as fetchRepairLibraries, Br as fetchResolveJob, dZ as fetchResourceApply, uZ as fetchResourceScan, jX as fetchReview, SZ as fetchReviewCounts, $X as fetchSettings, z1 as fetchSources, u3 as fetchStats, Vr as fetchSuggestions, iI as fetchTasks, F3 as fetchTaste, POe as fetchTasteJob, xye as fetchThumbnailJobs, wZ as fetchTrashSummary, a1 as fetchWants, Kve as filterReviewRows, xn as firstGrapheme, wq as flexRender, YOe as flowGraph, XOe as flowLabel, JDe as fmtCount, hn as fmtDur, _n as fmtSize, tle as foldRoutine, ii as followFeedByName, lr as followSuggestKey, rle as followupDetail, lf as frame, Ide as g4, qJ as getDefaultPaginationState, TA as gridLayout, Ar as groupByAuthor, ele as groupFollowups, OX as groupReviewRows, nbe as hasChanges, fZ as hasResourceRoots, oI as hasResultProblems, BOe as historySpan, Oz as i2, ROe as importTasteExport, jf as interpolate, c1 as invalidateWants, cI as isActive, br as isBroken, mr as isLayout, gh as isMotionValue, DX as isReviewCategory, nle as isRoutine, L0 as javContentSkeleton, vA as javLayout, I0 as javTagSkeleton, fbe as junkBreakdown, iwe as keepPlaylist, _e as keepPreviousData, Pr as keepSelected, d3 as known, Bde as l7, $ce as latestOfKind, oOe as lengthRows, Wn as localTime, ri as lookupFeedActor, Ude as m7, zz as mM, qt as mapLimit, Zr as markItem, g3 as max, iOe as mediumRows, Hce as mergeFinished, _3 as min, uye as mirrorText, Fve as missingToolText, hX as mixedCloudPreferences, pI as momentText, Py as motion, qm as motionValue, Uye as organizeOutcome, $0 as overlayHost, hr as pageSizeOf, Nr as pageWindow, In as paginationRange, oi as patchSource, pH as peachHistory, pH as peachHistory$1, eye as pendingGenres, XDe as percentText, Iye as pickOrganizeFolder, Hye as planSummary, f3 as playedFor, QDe as playedItemUrl, rI as pollInterval, ds as popCount, ewe as posterUrl, BG as previewLibraryColor, Fye as previewOrganize, Rve as previewUrl, Qce as problemDestination, uI as progressText, BU as providerIcon, hye as pruneText, mZ as purgeCount, Jye as purgeOrphan, Vz as pv, dfe as qE, U as queryClient, kz as r2, KOe as radarRows, tOe as radialArc, nOe as radialBarSize, eOe as radialCeiling, $De as radialSlices, Rj as randomId, WOe as rankDetail, GOe as rankShares, m3 as reachedShare, dI as readableErrorHeadline, pTe as recommendationScore, oye as recordGenre, Xye as recordsText, awe as recreatePlaylist, QCe as refreshPlaylists, tl as relayoutCovers, ci as reloadFollowManage, lye as reloadReview, Qme as rememberMediaShape, CU as rememberSectionHeight, Rye as rememberTemplates, wU as rememberedSectionHeight, Jr as removeAlias, ti as removeFeed, Gr as removeSource, LOe as removeTasteSource, s1 as removeWants, Yr as renameAliasGroup, nwe as renamePlaylist, cOe as replayRows, E as require_jsx_runtime, v as require_react, S as require_react_dom, qq as require_with_selector, jCe as resetWants, Fn as resolveFollowSort, Gf as resolveStartTime, $Ce as resumeAssetId, Gve as reviewGroupingOptions, dbe as reviewSummary, qve as reviewWindow, Qve as rowEvidence, AX as rowFieldName, eY as rowPaginationFeature, xY as rowSelectionFeature, PY as rowSortingFeature, kX as rowSubject, $ve as rowTags, Zve as rowTitle, Lde as s5, Xr as saveCredential, rbe as scanLine, Eye as schedulePollInterval, NCe as searchNote, Yve as selectReviewRange, Fr as selectionState, ei as setFeedEnabled, Wr as setSourceEnabled, kV as settingsPath, Cve as sharedNamePrefix, mH as shellNavigate, b8 as showToast, sn as siteMarkUrl, mJ as skipFirstRun, KF as sortCx, _r as sortLabel, Ht as sourceDefaultCost, hi as sourceIconUrl, obe as sourceMeta, ns as spinnerHtml, Of as spring, nB as spriteGlyph, Hr as startCheck, pye as startLinkCheck, mye as startLinkPrune, Lye as startOrganize, Ur as startResolve, ebe as startResourceApply, $ye as startResourceScan, IOe as startTasteRefresh, Jce as statusLabel, Pve as statusLine, yr as statusText, DA as storeJavLayout, iye as submitDecision, mI as summaryItems, IJ as tableFeatures, hJ as tableMemo, Mr as tableRows, Zce as taskIssues, I3 as tasteDate, HOe as tasteDimensions, VOe as tasteHours, P3 as tasteKey, jOe as tasteRefetchInterval, MOe as tasteTime, Uu as time, $de as tl, Ir as toggleGroup, L3 as topScores, nfe as uo, JH as useAction, TQ as useBackgroundJob, tu as useConstant, yI as useHorizontalScroller, nu as useIsomorphicLayoutEffect, HG as useLibraryTints, Ct as useMutation, SV as useOverlayScrollbar, St as useQuery, A as useQueryClient, xy as useReducedMotion, lhe as useRememberedBody, Tye as useRunSchedule, Cye as useSaveFollowSchedule, eZ as useSaveSettings, Dye as useSaveThumbnailMode, FY as useTable, QY as useTablePreferences, Ave as victimBytes, MCe as wantName, ZDe as watchNote, p3 as watchedShare, Hs as wireHorizontalScroller, zye as withOrganizeJob };-//# debugId=614b4f36-07a6-47b7-a583-1bdef6a1aa1a\ No newline at end of file+//# debugId=8ab42d12-2a1c-4a62-816c-896b583719ac\ No newline at end of file