Peach: Local-first video metadata scraper and media manager.
fix(downloads): 补齐脚本配对标识并遵守模块分层
longmeidaofb1795a415ef
diff --git a/frontend/e2e/jav-browser-settings.test.ts b/frontend/e2e/jav-browser-settings.test.tsindex 4e8cf14e6..729782625 100644--- a/frontend/e2e/jav-browser-settings.test.ts+++ b/frontend/e2e/jav-browser-settings.test.ts@@ -33,9 +33,31 @@ describe('浏览器添加 JAV 设置', () => {});await page.reload();const region = page.getByRole('region', { name: '浏览器添加 JAV', exact: true });+ const install = region.getByRole('link', { name: '安装 Peach 用户脚本' });+ await install.waitFor();+ const channel = region.locator('button[aria-haspopup="listbox"]');+ const installBox = await install.locator('span').first().boundingBox();+ const channelBox = await channel.boundingBox();+ assert.ok(installBox && channelBox && Math.abs(installBox.x - channelBox.x) <= 1,+ JSON.stringify({ installBox, channelBox }));+ assert.equal(await channel.locator('img').count(), 1);+ const status = region.getByRole('status');+ assert.equal(await status.innerText(), '未启用');+ assert.equal(await status.locator('span[aria-hidden="true"]').count(), 1);+ await channel.scrollIntoViewIfNeeded();+ await page.evaluate(() => new Promise(resolve => requestAnimationFrame(() => requestAnimationFrame(resolve))));+ await channel.click();+ const pikpak = page.getByRole('option', { name: 'PikPak', exact: true });+ await pikpak.waitFor();+ assert.equal(await pikpak.locator('img').count(), 1);+ const cloud115 = page.getByRole('option', { name: '115', exact: true });+ assert.equal(await cloud115.locator('img').count(), 1);+ await cloud115.click();await region.getByRole('button', { name: '启用并生成令牌', exact: true }).click();const token = region.getByLabel('浏览器添加专用令牌', { exact: true });await token.waitFor();+ assert.equal(await status.innerText(), '已启用');+ assert.equal(await status.locator('span[aria-hidden="true"]').count(), 1);assert.equal(await token.inputValue(), 'test-issued-token-1');assert.equal(await token.getAttribute('type'), 'password');assert.equal(await region.getByRole('link', { name: '安装 Peach 用户脚本' }).getAttribute('href'),@@ -46,6 +68,8 @@ describe('浏览器添加 JAV 设置', () => {'input[type="password"][value="test-issued-token-2"]') !== null);await region.getByRole('button', { name: '关闭浏览器添加', exact: true }).click();await token.waitFor({ state: 'detached' });+ assert.equal(await status.innerText(), '未启用');+ assert.equal(await status.locator('span[aria-hidden="true"]').count(), 1);assert.deepEqual(posted.map(body => body.action), ['enable', 'rotate', 'disable']);assert.ok(posted.every(body => body.provider === '115'));await settle(page);diff --git a/frontend/src/react/settings/jav-browser-settings.tsx b/frontend/src/react/settings/jav-browser-settings.tsxindex 2d0099fc8..407f749d2 100644--- a/frontend/src/react/settings/jav-browser-settings.tsx+++ b/frontend/src/react/settings/jav-browser-settings.tsx@@ -2,10 +2,12 @@import { useState } from 'react';import { useQuery } from '@tanstack/react-query';import { Button } from '@/components/base/buttons/button';+import { StatusDot } from '@/components/base/badges/status-dot';import { Input } from '@/components/base/input/input';import { Select, SelectItem } from '@/components/base/select/select';import { apiGet, apiSend, errorMessage } from '../../api';import { LoadingDots } from '../components/loading-dots';+import { SourceLabel } from '../components/source-label';import { ErrorText, ExternalLink, FieldLabel, Footer, Help, Section, Stack } from './section';import { busyProps, useAction } from './use-action';@@ -39,11 +41,13 @@ function BrowserForm({ initial, receipt }: { initial: State; receipt(message: stconst ready = state.providers.some(item => item.key === provider && item.configured && item.target);return <Section title="浏览器添加 JAV"><Stack>- <ExternalLink href="/integrations/peach-jav.user.js">安装 Peach 用户脚本</ExternalLink>+ <div><ExternalLink href="/integrations/peach-jav.user.js">安装 Peach 用户脚本</ExternalLink></div><div><FieldLabel>浏览器添加的下载渠道</FieldLabel><Select aria-label="浏览器添加的下载渠道" selectedKey={provider}onSelectionChange={key => setProvider(String(key))} isDisabled={Boolean(action.busy)}>- {state.providers.map(item => <SelectItem key={item.key} id={item.key}>{item.label}</SelectItem>)}+ {state.providers.map(item => <SelectItem key={item.key} id={item.key} textValue={item.label}>+ <SourceLabel source={item.key} label={item.label} />+ </SelectItem>)}</Select></div>{!ready ? <Help>请先保存所选网盘的账号和目标目录。</Help> : null}<Input label="Peach 地址" value={window.location.origin} isReadOnly autoComplete="off" />@@ -55,7 +59,9 @@ function BrowserForm({ initial, receipt }: { initial: State; receipt(message: st</> : null}{action.error ? <ErrorText>{action.error}</ErrorText> : null}</Stack>- <Footer status={state.enabled ? '已启用' : '未启用'}>+ <Footer status={<span role="status" className="inline-flex items-center gap-1.5">+ <StatusDot color={state.enabled ? 'green' : 'yellow'} />{state.enabled ? '已启用' : '未启用'}+ </span>}>{state.enabled ? <Button variant="secondary" type="button" disabled={Boolean(action.busy)}onClick={() => save('disable')}>关闭浏览器添加</Button> : null}<Button type="button" disabled={!state.available || !ready || Boolean(action.busy)}diff --git a/src/peach/api.py b/src/peach/api.pyindex a5c22d74c..cb31dc172 100644--- a/src/peach/api.py+++ b/src/peach/api.py@@ -308,7 +308,8 @@ def create_app(after_ingest=lambda task: enqueue_download_postprocess(contract, task))contract.downloads = downloadsfrom .jav_browser import JavBrowser- jav_browser = JavBrowser(contract)+ from .web_resource_search import q_resource_search+ jav_browser = JavBrowser(contract, search=q_resource_search)contract.follow_scheduler = follow_scheduler# 订阅源拉取(ADR-0042)用同一个调度实现,只换 job id、状态文件与默认间隔。# 默认 6 小时:一位女优的 JavDB 演员页一天更新几条,比这更密只是把 JavDB 的配额@@ -581,7 +582,7 @@ def create_app(app.include_router(routes_auth.router)app.include_router(routes_pages.router)app.include_router(routes_configuration.router)- app.include_router(routes_jav_browser.router)+ app.include_router(routes_jav_browser.create_router(routes_configuration.local_only))app.include_router(routes_media.router)app.include_router(routes_api.router)return appdiff --git a/src/peach/jav_browser.py b/src/peach/jav_browser.pyindex e184bae7a..c3c490e43 100644--- a/src/peach/jav_browser.py+++ b/src/peach/jav_browser.py@@ -18,7 +18,6 @@ from .downloads import INGESTED, RESUBMITTABLE_STATES, submit_offline_download,from .follow_secrets import CredentialErrorfrom .feeds import scan_codefrom .fsutil import atomic_write_text-from .web_resource_search import q_resource_searchLOGGER = logging.getLogger(__name__)CREDENTIAL = "jav-browser"@@ -82,12 +81,12 @@ def source_page(value: object) -> str:class JavBrowser:"""本机持久队列;搜索完成前退出时,下一次启动继续处理。"""- def __init__(self, contract, *, search=None):+ def __init__(self, contract, *, search):self.contract = contractself.downloads = contract.downloadsself.credentials = self.downloads.credentialsself.path = Path(contract.follow_state_root) / "jav-browser-queue.json"- self.search = search or q_resource_search+ self.search = searchself._lock = threading.RLock()self._wake = threading.Event()self._stop = threading.Event()diff --git a/src/peach/routes_jav_browser.py b/src/peach/routes_jav_browser.pyindex ec4847627..632aaf5b0 100644--- a/src/peach/routes_jav_browser.py+++ b/src/peach/routes_jav_browser.py@@ -5,9 +5,6 @@ from fastapi.responses import JSONResponse, Responsefrom .config import PROJECT_ROOTfrom .jav_browser import source_sitesfrom .routes_auth import require_auth-from .routes_configuration import local_only--router = APIRouter()def browser_client(request: Request):@@ -21,7 +18,6 @@ def browser_client(request: Request):return service[email protected]("/integrations/peach-jav.user.js")def userscript():import jsonsites = source_sites()@@ -34,7 +30,6 @@ def userscript():return Response(script, media_type="application/javascript", headers={"Cache-Control": "no-cache"})[email protected]("/api/jav-browser")def status(code: str, service=Depends(browser_client)):try:return JSONResponse(service.status(code), headers={"Cache-Control": "no-store"})@@ -42,7 +37,6 @@ def status(code: str, service=Depends(browser_client)):raise HTTPException(400, str(error)) from None[email protected]("/api/jav-browser")def add(body: dict = Body(...), service=Depends(browser_client)):try:return JSONResponse(service.add(body), headers={"Cache-Control": "no-store"})@@ -50,16 +44,23 @@ def add(body: dict = Body(...), service=Depends(browser_client)):raise HTTPException(400, str(error)) from None[email protected]("/api/configuration/jav-browser")-def settings(request: Request, _args=Depends(require_auth)):- local_only(request)+def settings(request: Request):return JSONResponse(request.app.state.jav_browser.settings(), headers={"Cache-Control": "no-store"})[email protected]("/api/configuration/jav-browser")-def configure(request: Request, body: dict = Body(...), _args=Depends(require_auth)):- local_only(request)+def configure(request: Request, body: dict = Body(...)):try:return JSONResponse(request.app.state.jav_browser.configure(body), headers={"Cache-Control": "no-store"})except ValueError as error:raise HTTPException(400, str(error)) from None+++def create_router(local_only) -> APIRouter:+ router = APIRouter()+ router.add_api_route("/integrations/peach-jav.user.js", userscript, methods=["GET"])+ router.add_api_route("/api/jav-browser", status, methods=["GET"])+ router.add_api_route("/api/jav-browser", add, methods=["POST"])+ permissions = [Depends(require_auth), Depends(local_only)]+ router.add_api_route("/api/configuration/jav-browser", settings, methods=["GET"], dependencies=permissions)+ router.add_api_route("/api/configuration/jav-browser", configure, methods=["POST"], dependencies=permissions)+ return routerdiff --git a/tests/test_downloads_jav_browser.py b/tests/test_downloads_jav_browser.pyindex a15870e1d..10b919ecd 100644--- a/tests/test_downloads_jav_browser.py+++ b/tests/test_downloads_jav_browser.py@@ -88,7 +88,7 @@ class BrowserTests(unittest.TestCase):self.add()self.service.rows["ABC-123"]["state"] = "searching"self.service._save()- restored = JavBrowser(self.app.state.web_contract)+ restored = JavBrowser(self.app.state.web_contract, search=self.service.search)self.assertEqual(restored.status("ABC-123")["state"], "queued")def test_owned_video_is_not_queued_or_searched(self):diff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex 46da0d295..f50fc3451 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -71083,12 +71083,36 @@ function fG(e) {} : { className: dG };}//#endregion+//#region src/react/boardui/components/base/badges/status-dot.tsx+var pG = dA({+ base: "inline-flex size-3 shrink-0 items-center justify-center rounded-full",+ halo: {+ green: "bg-status-dot-green-halo",+ yellow: "bg-status-dot-yellow-halo",+ indigo: "bg-status-dot-indigo-halo"+ },+ dot: {+ green: "bg-green-500",+ yellow: "bg-yellow-500",+ indigo: "bg-indigo-500"+ }+});+function mG({ color: e = "green", className: t, ref: n, ...r }) {+ return /* @__PURE__ */ (0, C.jsx)("span", {+ ref: n,+ "aria-hidden": !0,+ className: uA(pG.base, pG.halo[e], t),+ ...r,+ children: /* @__PURE__ */ (0, C.jsx)("span", { className: uA("size-1.5 rounded-full", pG.dot[e]) })+ });+}+//#endregion//#region src/react/settings/jav-browser-settings.tsx-var pG = "/api/configuration/jav-browser";+var hG = "/api/configuration/jav-browser";function CPe({ receipt: e, refreshKey: t }) {let n = ft({queryKey: ["jav-browser-settings", t],- queryFn: ({ signal: e }) => H(pG, e),+ queryFn: ({ signal: e }) => H(hG, e),refetchOnMount: "always"});return n.error ? /* @__PURE__ */ (0, C.jsx)(NA, { children: V(n.error) }) : n.isFetching ? /* @__PURE__ */ (0, C.jsx)(vA, { label: "正在读取浏览器添加设置" }) : n.data ? /* @__PURE__ */ (0, C.jsx)(wPe, {@@ -71098,7 +71122,7 @@ function CPe({ receipt: e, refreshKey: t }) {}function wPe({ initial: e, receipt: t }) {let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.provider), [o, s] = (0, S.useState)(""), c = SA(), l = (e) => {- c.run(e, (t) => U(pG, {+ c.run(e, (t) => U(hG, {action: e,provider: i}, "POST", t), (n) => {@@ -71109,10 +71133,10 @@ function wPe({ initial: e, receipt: t }) {return /* @__PURE__ */ (0, C.jsxs)(OA, {title: "浏览器添加 JAV",children: [/* @__PURE__ */ (0, C.jsxs)(AA, { children: [- /* @__PURE__ */ (0, C.jsx)(FA, {+ /* @__PURE__ */ (0, C.jsx)("div", { children: /* @__PURE__ */ (0, C.jsx)(FA, {href: "/integrations/peach-jav.user.js",children: "安装 Peach 用户脚本"- }),+ }) }),/* @__PURE__ */ (0, C.jsxs)("div", { children: [/* @__PURE__ */ (0, C.jsx)(PA, { children: "浏览器添加的下载渠道" }), /* @__PURE__ */ (0, C.jsx)(NF, {"aria-label": "浏览器添加的下载渠道",selectedKey: i,@@ -71120,7 +71144,11 @@ function wPe({ initial: e, receipt: t }) {isDisabled: !!c.busy,children: n.providers.map((e) => /* @__PURE__ */ (0, C.jsx)(PF, {id: e.key,- children: e.label+ textValue: e.label,+ children: /* @__PURE__ */ (0, C.jsx)($A, {+ source: e.key,+ label: e.label+ })}, e.key))})] }),u ? null : /* @__PURE__ */ (0, C.jsx)(MA, { children: "请先保存所选网盘的账号和目标目录。" }),@@ -71147,7 +71175,11 @@ function wPe({ initial: e, receipt: t }) {}) })] }) : null,c.error ? /* @__PURE__ */ (0, C.jsx)(NA, { children: c.error }) : null] }), /* @__PURE__ */ (0, C.jsxs)(jA, {- status: n.enabled ? "已启用" : "未启用",+ status: /* @__PURE__ */ (0, C.jsxs)("span", {+ role: "status",+ className: "inline-flex items-center gap-1.5",+ children: [/* @__PURE__ */ (0, C.jsx)(mG, { color: n.enabled ? "green" : "yellow" }), n.enabled ? "已启用" : "未启用"]+ }),children: [n.enabled ? /* @__PURE__ */ (0, C.jsx)(q, {variant: "secondary",type: "button",@@ -71166,7 +71198,7 @@ function wPe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/download-settings.tsx-var TPe = "/api/configuration/downloads", mG = "/api/configuration/downloads/check", EPe = "/api/configuration/downloads/folder", DPe = "/api/configuration/downloads/pikpak/login", OPe = "/api/configuration/downloads/pikpak/logout", hG = "/api/configuration/downloads/pikpak/browser-login", gG = 2e3;+var TPe = "/api/configuration/downloads", gG = "/api/configuration/downloads/check", EPe = "/api/configuration/downloads/folder", DPe = "/api/configuration/downloads/pikpak/login", OPe = "/api/configuration/downloads/pikpak/logout", _G = "/api/configuration/downloads/pikpak/browser-login", vG = 2e3;function kPe({ initial: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, C.jsx)("div", {...fG(n),@@ -71203,7 +71235,7 @@ function APe({ initial: e, receipt: t }) {] });}function jPe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {- let [i, a] = (0, S.useState)(e.config), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(String(e.config.wait_hours)), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(""), [m, h] = (0, S.useState)(_G), [g, _] = (0, S.useState)(""), [v, y] = (0, S.useState)(!1), b = SA(), x = (e) => i.targets[e] ?? "", w = (e, t) => a({+ let [i, a] = (0, S.useState)(e.config), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(String(e.config.wait_hours)), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(""), [m, h] = (0, S.useState)(yG), [g, _] = (0, S.useState)(""), [v, y] = (0, S.useState)(!1), b = SA(), x = (e) => i.targets[e] ?? "", w = (e, t) => a({...i,targets: {...i.targets,@@ -71232,7 +71264,7 @@ function jPe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {target: !e.config.targets[115],root: !e.config.pikpak_root};- b.run("auto", (e) => H(mG, e), (e) => E(e, t), (e) => _(V(e)));+ b.run("auto", (e) => H(gG, e), (e) => E(e, t), (e) => _(V(e)));}, []), /* @__PURE__ */ (0, C.jsxs)(OA, {title: "云下载",onSubmit: (e) => {@@ -71252,7 +71284,7 @@ function jPe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {address: !i.config.clouddrive_address,target: u,root: !i.config.pikpak_root- }, i.config.targets[115] ?? "") : (d(null), p(""), h(_G), y(!1), _("")), n("已保存配置");+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(yG), y(!1), _("")), n("已保存配置");}, (e) => _(V(e)));},children: [@@ -71387,7 +71419,7 @@ function jPe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {pikpak_root: i.pikpak_root,pikpak_account: r};- b.run("check", (e) => U(mG, t, "POST", e), (t) => E(t, e), (e) => _(V(e)));+ b.run("check", (e) => U(gG, t, "POST", e), (t) => E(t, e), (e) => _(V(e)));},disabled: !e.available,...Y(b.busy === "check"),@@ -71402,7 +71434,7 @@ function jPe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {]});}-var _G = {+var yG = {target: null,root: "",saved: !1@@ -71471,24 +71503,24 @@ function NPe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {if (!v) return;let e = new AbortController(), r, i = async () => {try {- let r = await H(hG, e.signal);+ let r = await H(_G, e.signal);if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;} catch (t) {if (e.signal.aborted) return;f(V(t));}- r = setTimeout(i, gG);+ r = setTimeout(i, vG);};- return r = setTimeout(i, gG), () => {+ return r = setTimeout(i, vG), () => {e.abort(), clearTimeout(r);};}, [v]);let y = () => {- m(""), h.run("browser", (e) => U(hG, {}, "POST", e), (e) => {+ m(""), h.run("browser", (e) => U(_G, {}, "POST", e), (e) => {t(e), f("");}, (e) => f(V(e)));}, b = () => {- h.run("cancel", (e) => U(`${hG}/cancel`, {}, "POST", e), (e) => {+ h.run("cancel", (e) => U(`${_G}/cancel`, {}, "POST", e), (e) => {t(e), f(""), m(e.pikpak_browser.message);}, (e) => f(V(e)));}, x = (e) => {@@ -71770,7 +71802,7 @@ function zPe({ uninstall: e, receipt: t }) {}//#endregion//#region src/react/settings/release-updates.tsx-var vG = /* @__PURE__ */ new Set([+var bG = /* @__PURE__ */ new Set(["downloading","verifying","extracting",@@ -71781,12 +71813,12 @@ var vG = /* @__PURE__ */ new Set([65,75,90-], yG = 120;+], xG = 120;function VPe({ initial: e, initialJob: t }) {let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(t || {state: "idle",progress: 0- }), [o, s] = (0, S.useState)(""), c = SA(), l = (0, S.useRef)(!1), u = (0, S.useRef)(!0), d = vG.has(i.state);+ }), [o, s] = (0, S.useState)(""), c = SA(), l = (0, S.useRef)(!1), u = (0, S.useRef)(!0), d = bG.has(i.state);(0, S.useEffect)(() => (u.current = !0, () => {u.current = !1;}), []);@@ -71803,7 +71835,7 @@ function VPe({ initial: e, initialJob: t }) {(0, S.useEffect)(() => {i.state !== "ready" || l.current || (l.current = !0, p());}, [i.state]), (0, S.useEffect)(() => {- let e = new AbortController(), t = vG.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {+ let e = new AbortController(), t = bG.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {try {let t = await H("/api/configuration/update-status", e.signal);if (e.signal.aborted) return;@@ -71816,9 +71848,9 @@ function VPe({ initial: e, initialJob: t }) {let n = await H("/api/configuration/automatic-updates", e.signal);!e.signal.aborted && n.result && r(n.result);} catch {- o += 1, o >= yG && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");+ o += 1, o >= xG && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");}- !e.signal.aborted && o < yG && (n = setTimeout(c, t));+ !e.signal.aborted && o < xG && (n = setTimeout(c, t));};return n = setTimeout(c, t), () => {e.abort(), clearTimeout(n);@@ -71990,41 +72022,17 @@ function UPe({ startup: e, receipt: t }) {});}//#endregion-//#region src/react/boardui/components/base/badges/status-dot.tsx-var bG = dA({- base: "inline-flex size-3 shrink-0 items-center justify-center rounded-full",- halo: {- green: "bg-status-dot-green-halo",- yellow: "bg-status-dot-yellow-halo",- indigo: "bg-status-dot-indigo-halo"- },- dot: {- green: "bg-green-500",- yellow: "bg-yellow-500",- indigo: "bg-indigo-500"- }-});-function WPe({ color: e = "green", className: t, ref: n, ...r }) {- return /* @__PURE__ */ (0, C.jsx)("span", {- ref: n,- "aria-hidden": !0,- className: uA(bG.base, bG.halo[e], t),- ...r,- children: /* @__PURE__ */ (0, C.jsx)("span", { className: uA("size-1.5 rounded-full", bG.dot[e]) })- });-}-//#endregion//#region src/react/components/connection-status.tsx-function GPe({ online: e }) {+function WPe({ online: e }) {return /* @__PURE__ */ (0, C.jsxs)("span", {"data-mount": e === !0 ? "online" : e === !1 ? "offline" : "unknown",className: uA("inline-flex items-center gap-1.5 whitespace-nowrap text-body-2-medium", e === !0 ? "text-notification-success-foreground" : e === !1 ? "text-text-error-primary" : "text-text-secondary"),- children: [/* @__PURE__ */ (0, C.jsx)(WPe, { color: e === !0 ? "green" : e === !1 ? "yellow" : "indigo" }), e === !0 ? "在线" : e === !1 ? "离线" : "未检测"]+ children: [/* @__PURE__ */ (0, C.jsx)(mG, { color: e === !0 ? "green" : e === !1 ? "yellow" : "indigo" }), e === !0 ? "在线" : e === !1 ? "离线" : "未检测"]});}//#endregion//#region src/react/restart-redirect.ts-var xG = 8e3, KPe = [+var SG = 8e3, GPe = [{name: "机械硬盘,或内存 8 GB 以内",cache: "10–20 GiB",@@ -72043,12 +72051,12 @@ var xG = 8e3, KPe = [read: "256 / 128 KB",task: "2 个起步"}-], qPe = [+], KPe = [["cache", "缓存上限"],["read", "读取长度(默认 / 最小)"],["task", "同时处理视频"]];-function JPe() {+function qPe() {return /* @__PURE__ */ (0, C.jsx)("div", {className: "@container flex flex-col gap-3",children: /* @__PURE__ */ (0, C.jsxs)(RA, {@@ -72063,14 +72071,14 @@ function JPe() {/* @__PURE__ */ (0, C.jsx)("ul", {"aria-label": "按缓存所在硬盘分档",className: "flex flex-col gap-2",- children: KPe.map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {+ children: GPe.map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",children: [/* @__PURE__ */ (0, C.jsx)("p", {className: "text-body-medium text-text-primary",children: e.name}), /* @__PURE__ */ (0, C.jsx)("dl", {className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",- children: qPe.map(([t, n]) => /* @__PURE__ */ (0, C.jsxs)("div", {+ children: KPe.map(([t, n]) => /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col",children: [/* @__PURE__ */ (0, C.jsx)("dt", {className: "text-caption-1-regular text-text-secondary",@@ -72101,7 +72109,7 @@ function JPe() {}//#endregion//#region src/react/settings/folder-rows.tsx-function YPe({ className: e }) {+function JPe({ className: e }) {return /* @__PURE__ */ (0, C.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -72114,8 +72122,8 @@ function YPe({ className: e }) {children: /* @__PURE__ */ (0, C.jsx)("use", { href: "#i-folder-search" })});}-var SG = Ot, CG = (e) => lo[e] || "database", XPe = (e) => At.includes(e);-function ZPe({ index: e, cost: t, error: n, onChange: r }) {+var CG = Ot, wG = (e) => lo[e] || "database", YPe = (e) => At.includes(e);+function XPe({ index: e, cost: t, error: n, onChange: r }) {return /* @__PURE__ */ (0, C.jsxs)("div", {"data-media-read-policy": e,className: "flex w-full flex-col gap-1.5 @lg:w-48",@@ -72139,10 +72147,10 @@ function ZPe({ index: e, cost: t, error: n, onChange: r }) {}), n ? /* @__PURE__ */ (0, C.jsx)(NA, { children: n }) : null]});}-function QPe() {+function ZPe() {return /* @__PURE__ */ (0, C.jsx)(MA, { children: "按挂载工具实际配置选择;代理流量保护会限制自动媒体读取。" });}-function $Pe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {+function QPe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {let [a, o] = (0, S.useState)(e), [s, c] = (0, S.useState)([]), [l, u] = (0, S.useState)(null), [d, f] = (0, S.useState)(null), p = (0, S.useRef)(!1), m = (0, S.useRef)([]);(0, S.useLayoutEffect)(() => {l !== null && (m.current[l]?.focus(), u(null));@@ -72185,7 +72193,7 @@ function $Pe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:}};}-function eFe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {+function $Pe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {let u = (0, S.useRef)(null), d = () => {let e = u.current;e && e.ownerDocument.activeElement !== e && (e.scrollLeft = e.scrollWidth);@@ -72217,7 +72225,7 @@ function eFe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,children: c}) : null,/* @__PURE__ */ (0, C.jsx)(dj, {- icon: YPe,+ icon: JPe,"aria-label": "选择文件夹",onClick: o,...Y(a)@@ -72236,7 +72244,7 @@ function eFe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,})]});}-function tFe({ index: e, value: t, onChange: n, options: r = SG }) {+function eFe({ index: e, value: t, onChange: n, options: r = CG }) {return /* @__PURE__ */ (0, C.jsx)(NF, {className: "w-full @lg:w-60","aria-label": `媒体来源 ${e + 1}`,@@ -72247,11 +72255,11 @@ function tFe({ index: e, value: t, onChange: n, options: r = SG }) {children: r.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(PF, {id: e,textValue: t,- children: [/* @__PURE__ */ (0, C.jsx)(zA, { mark: CG(e) }), t]+ children: [/* @__PURE__ */ (0, C.jsx)(zA, { mark: wG(e) }), t]}, e))});}-function nFe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {+function tFe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {return /* @__PURE__ */ (0, C.jsx)(bP, {label: n,placeholder: r,@@ -72261,7 +72269,7 @@ function nFe({ value: e, onChange: t, label: n = "Windows 中的对应路径", p}//#endregion//#region src/react/settings/library-icon-picker.tsx-var wG = [+var TG = [["", "自动识别"],["hard-drive", "磁盘"],["database", "资料库"],@@ -72305,13 +72313,13 @@ var wG = [["star", "收藏"],["tags", "主题"]];-function rFe(e) {+function nFe(e) {let t = e === "local" ? "" : lo[e];return t ? [t, "自动识别"] : ["hard-drive", "默认"];}-var TG = "auto";-function iFe({ value: e, label: t, kind: n = "local", onChange: r }) {- let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(e), [l, u] = rFe(n);+var EG = "auto";+function rFe({ value: e, label: t, kind: n = "local", onChange: r }) {+ let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(e), [l, u] = nFe(n);return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(q, {ref: i,variant: "secondary",@@ -72325,7 +72333,7 @@ function iFe({ value: e, label: t, kind: n = "local", onChange: r }) {children: /* @__PURE__ */ (0, C.jsxs)("span", {"data-icon-choice": !0,className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, C.jsx)(zA, { mark: e || l }), ((e) => e && wG.find(([t]) => t === e)?.[1] || u)(e)]+ children: [/* @__PURE__ */ (0, C.jsx)(zA, { mark: e || l }), ((e) => e && TG.find(([t]) => t === e)?.[1] || u)(e)]})}), /* @__PURE__ */ (0, C.jsx)(fN, {triggerRef: i,@@ -72345,15 +72353,15 @@ function iFe({ value: e, label: t, kind: n = "local", onChange: r }) {}),/* @__PURE__ */ (0, C.jsx)(MN, {"aria-label": "候选图标",- value: s || TG,- onChange: (e) => c(e === TG ? "" : e),+ value: s || EG,+ onChange: (e) => c(e === EG ? "" : e),className: "inline-grid grid-cols-7 gap-1",- children: wG.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(NN, {- value: e || TG,+ children: TG.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(NN, {+ value: e || EG,"aria-label": e ? t : u,className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",children: /* @__PURE__ */ (0, C.jsx)(zA, { mark: e || l })- }, e || TG))+ }, e || EG))}),/* @__PURE__ */ (0, C.jsxs)("div", {className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",@@ -72375,8 +72383,8 @@ function iFe({ value: e, label: t, kind: n = "local", onChange: r }) {}//#endregion//#region src/react/settings/push-discovery-settings.tsx-var aFe = "/api/configuration/push-discovery", oFe = "/api/configuration/push-discovery/secret";-function sFe({ initial: e, receipt: t }) {+var iFe = "/api/configuration/push-discovery", aFe = "/api/configuration/push-discovery/secret";+function oFe({ initial: e, receipt: t }) {let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.prefixes), [o, s] = (0, S.useState)(""), c = SA(), l = YP(), u = n.media_roots, [d, f] = (0, S.useState)(e), p = (e, n) => {r(e), f(e), a(e.prefixes), s(""), t(n);}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {@@ -72390,9 +72398,9 @@ function sFe({ initial: e, receipt: t }) {cloud: n.cloud,prefixes: i};- c.run("save", (e) => U(aFe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(V(e)));+ c.run("save", (e) => U(iFe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(V(e)));}, g = () => {- c.run("secret", (e) => U(oFe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(V(e)));+ c.run("secret", (e) => U(aFe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(V(e)));}, _ = () => {navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看配置」选中自己复制。"));}, v = `已入库 ${d.queue.ingested} 个文件` + (d.queue.pending ? `,队列里还有 ${d.queue.pending} 条` : ""), y = d.local_running ? `正在监视 ${d.local_roots.join("、")}` : d.local_message || "没有运行";@@ -72544,7 +72552,7 @@ function sFe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/media-settings.tsx-var cFe = (e) => SG.find(([t]) => t === e)?.[1] ?? e, lFe = async (e) => (await U(xPe, { initial: e })).path, EG = (e = "") => ({+var sFe = (e) => CG.find(([t]) => t === e)?.[1] ?? e, cFe = async (e) => (await U(xPe, { initial: e })).path, DG = (e = "") => ({path: e,location: "local",root: "",@@ -72552,8 +72560,8 @@ var cFe = (e) => SG.find(([t]) => t === e)?.[1] ?? e, lFe = async (e) => (awaitlibrary_icon: "",cost: "free"});-function uFe(e) {- let t = e.media_sources?.filter((e) => SG.some(([t]) => t === e.location));+function lFe(e) {+ let t = e.media_sources?.filter((e) => CG.some(([t]) => t === e.location));return t?.length ? t.map((e) => ({path: e.path,location: e.location,@@ -72561,14 +72569,14 @@ function uFe(e) {library: e.library || "",library_icon: e.library_icon || "",cost: e.cost ?? Mt(e.location)- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => EG(e));+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => DG(e));}-var dFe = (e) => !(e instanceof _n) || e.status !== 400 ? null : e.body?.errors ?? null;-function fFe({ data: e, receipt: t, panel: n }) {+var uFe = (e) => !(e instanceof _n) || e.status !== 400 ? null : e.body?.errors ?? null;+function dFe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, C.jsxs)("div", {...fG(n),children: [- e.editable ? /* @__PURE__ */ (0, C.jsx)(pFe, {+ e.editable ? /* @__PURE__ */ (0, C.jsx)(fFe, {data: e,receipt: t}) : /* @__PURE__ */ (0, C.jsx)(J, {@@ -72576,24 +72584,24 @@ function fFe({ data: e, receipt: t, panel: n }) {title: "只读",children: e.notice}),- e.editable ? null : /* @__PURE__ */ (0, C.jsx)(mFe, { data: e }),- e.push_discovery ? /* @__PURE__ */ (0, C.jsx)(sFe, {+ e.editable ? null : /* @__PURE__ */ (0, C.jsx)(pFe, { data: e }),+ e.push_discovery ? /* @__PURE__ */ (0, C.jsx)(oFe, {initial: e.push_discovery,receipt: t}) : null]});}-function pFe({ data: e, receipt: t }) {- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = $Pe({- initial: () => uFe(e),- blank: () => EG(),- pickFolder: lFe,+function fFe({ data: e, receipt: t }) {+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = QPe({+ initial: () => lFe(e),+ blank: () => DG(),+ pickFolder: cFe,describe: V}), [d, f] = (0, S.useState)(!1), [p, m] = (0, S.useState)(!1), [h, g] = (0, S.useState)(""), [_, v] = (0, S.useState)(null), y = (0, S.useRef)(e.revision), b = SA();(0, S.useEffect)(() => {if (!_) return;- let e = setTimeout(() => location.assign(_.url), xG);+ let e = setTimeout(() => location.assign(_.url), SG);return () => clearTimeout(e);}, [_]);let x = (r) => {@@ -72612,7 +72620,7 @@ function pFe({ data: e, receipt: t }) {}, "POST", t), (e) => {y.current = e.revision, s([]), t("已保存配置"), v(e);}, (e) => {- let t = dFe(e);+ let t = uFe(e);s(t?.media_dirs ?? []), (!t || t.port) && g(t?.port || V(e));});};@@ -72632,7 +72640,7 @@ function pFe({ data: e, receipt: t }) {]}) })});- let w = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, T = n.some((e) => XPe(e.location)), E = T ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];+ let w = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, T = n.some((e) => YPe(e.location)), E = T ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];return /* @__PURE__ */ (0, C.jsxs)(OA, {title: "媒体文件夹",onSubmit: x,@@ -72645,7 +72653,7 @@ function pFe({ data: e, receipt: t }) {role: "group","aria-label": "媒体文件夹",className: "flex flex-col gap-3",- children: n.map((t, i) => /* @__PURE__ */ (0, C.jsxs)(eFe, {+ children: n.map((t, i) => /* @__PURE__ */ (0, C.jsxs)($Pe, {label: `媒体文件夹 ${i + 1}`,path: t.path,onPath: (e) => r(i, { path: e }),@@ -72654,9 +72662,9 @@ function pFe({ data: e, receipt: t }) {picking: c === i,onPick: () => void l(i),onRemove: n.length > 1 ? () => a(i) : void 0,- status: w(t.path) ? /* @__PURE__ */ (0, C.jsx)(DG, { online: w(t.path)?.online }) : null,+ status: w(t.path) ? /* @__PURE__ */ (0, C.jsx)(OG, { online: w(t.path)?.online }) : null,children: [- /* @__PURE__ */ (0, C.jsx)(tFe, {+ /* @__PURE__ */ (0, C.jsx)(eFe, {index: i,value: t.location,onChange: (e) => r(i, {@@ -72664,7 +72672,7 @@ function pFe({ data: e, receipt: t }) {cost: e === "local" ? "free" : ""})}),- /* @__PURE__ */ (0, C.jsx)(ZPe, {+ /* @__PURE__ */ (0, C.jsx)(XPe, {index: i,cost: t.cost,onChange: (e) => r(i, { cost: e }),@@ -72678,13 +72686,13 @@ function pFe({ data: e, receipt: t }) {value: t.library,onChange: (e) => r(i, { library: e })}),- /* @__PURE__ */ (0, C.jsx)(iFe, {+ /* @__PURE__ */ (0, C.jsx)(rFe, {label: `媒体库图标 ${i + 1}`,value: t.library_icon,kind: t.location,onChange: (e) => r(i, { library_icon: e })}),- e.windows === !1 ? /* @__PURE__ */ (0, C.jsx)(nFe, {+ e.windows === !1 ? /* @__PURE__ */ (0, C.jsx)(tFe, {value: t.root,onChange: (e) => r(i, { root: e })}) : null@@ -72699,7 +72707,7 @@ function pFe({ data: e, receipt: t }) {})]}),- T ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(QPe, {}), /* @__PURE__ */ (0, C.jsx)(JPe, {})] }) : null,+ T ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(ZPe, {}), /* @__PURE__ */ (0, C.jsx)(qPe, {})] }) : null,E.map((e) => /* @__PURE__ */ (0, C.jsxs)(MA, { children: ["未检测到 ",e.name,@@ -72730,17 +72738,17 @@ function pFe({ data: e, receipt: t }) {})]});}-function DG({ online: e }) {- return /* @__PURE__ */ (0, C.jsx)(GPe, { online: e });+function OG({ online: e }) {+ return /* @__PURE__ */ (0, C.jsx)(WPe, { online: e });}-function mFe({ data: e }) {+function pFe({ data: e }) {let t = e.media_sources, n = SA();return t ? /* @__PURE__ */ (0, C.jsxs)(OA, {title: "挂载状态",children: [/* @__PURE__ */ (0, C.jsx)(IA, { children: t.map((e, t) => /* @__PURE__ */ (0, C.jsxs)(LA, {- term: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(zA, { mark: CG(e.location) }), cFe(e.location)] }),- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, C.jsx)(DG, { online: e.online })]+ term: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(zA, { mark: wG(e.location) }), sFe(e.location)] }),+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, C.jsx)(OG, { online: e.online })]}, t)) }),n.error ? /* @__PURE__ */ (0, C.jsx)(AA, {divided: !0,@@ -72757,17 +72765,17 @@ function mFe({ data: e }) {}//#endregion//#region src/application/initial-follow-ranges.ts-var OG = [+var kG = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],["90", "最近 90 天"]-], hFe = [+], mFe = [["off", "关闭"],["precise", "每 10 秒一张"],["coarse", "每 30 秒一张"]];-function gFe({ epoch: e = 0, disabled: t = !1 }) {+function hFe({ epoch: e = 0, disabled: t = !1 }) {let n = ft({queryKey: Jz,queryFn: ({ signal: e }) => XEe(e),@@ -72790,7 +72798,7 @@ function gFe({ epoch: e = 0, disabled: t = !1 }) {onSelectionChange: (e) => {e !== null && r.mutate(String(e));},- children: hFe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(PF, {+ children: mFe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(PF, {id: e,children: t}, e))@@ -72810,7 +72818,7 @@ function gFe({ epoch: e = 0, disabled: t = !1 }) {}) : null] });}-function _Fe({ receipt: e }) {+function gFe({ receipt: e }) {let t = bE();(0, S.useSyncExternalStore)(t.subscribe, t.version);let n = ft({@@ -72821,7 +72829,7 @@ function _Fe({ receipt: e }) {return /* @__PURE__ */ (0, C.jsxs)(OA, {title: "关注采集",children: [/* @__PURE__ */ (0, C.jsxs)(kA, { children: [- /* @__PURE__ */ (0, C.jsx)(vFe, {}),+ /* @__PURE__ */ (0, C.jsx)(_Fe, {}),/* @__PURE__ */ (0, C.jsx)(TA, {label: "首次采集范围",children: /* @__PURE__ */ (0, C.jsx)("div", {@@ -72835,7 +72843,7 @@ function _Fe({ receipt: e }) {typeof n.followInitialDays == "number" && (t.value.followInitialDays = n.followInitialDays), t.save(), e("已保存首次采集范围");} });},- children: OG.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(PF, {+ children: kG.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(PF, {id: e,children: t}, e))@@ -72856,7 +72864,7 @@ function _Fe({ receipt: e }) {}) : null]});}-function vFe() {+function _Fe() {let e = ft({queryKey: qz,queryFn: ({ signal: e }) => YEe(e),@@ -72919,10 +72927,10 @@ function vFe() {}//#endregion//#region src/react/settings/media-processing-settings.tsx-var kG = ["media-processing"];-function yFe({ receipt: e }) {+var AG = ["media-processing"];+function vFe({ receipt: e }) {let t = ft({- queryKey: kG,+ queryKey: AG,queryFn: ({ signal: e }) => H("/api/media-processing", e)}), n = SA(), r = n.error || (t.error ? V(t.error) : "");return /* @__PURE__ */ (0, C.jsxs)(OA, {@@ -72936,11 +72944,11 @@ function yFe({ receipt: e }) {isSelected: !!t.data && !t.data.metadata_only,isDisabled: !t.data || t.isFetching || !!n.busy,onChange: (t) => void n.run("save", (e) => U("/api/media-processing", { metadata_only: !t }, "POST", e), (t) => {- W.setQueryData(kG, t), W.invalidateQueries({ queryKey: Jz }), W.invalidateQueries({ queryKey: sF }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");+ W.setQueryData(AG, t), W.invalidateQueries({ queryKey: Jz }), W.invalidateQueries({ queryKey: sF }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");})})}) }),- /* @__PURE__ */ (0, C.jsx)(gFe, { disabled: !t.data || t.data.metadata_only || !!n.busy }),+ /* @__PURE__ */ (0, C.jsx)(hFe, { disabled: !t.data || t.data.metadata_only || !!n.busy }),n.busy ? /* @__PURE__ */ (0, C.jsx)(AA, {divided: !0,children: /* @__PURE__ */ (0, C.jsx)(MA, {@@ -72957,7 +72965,7 @@ function yFe({ receipt: e }) {}//#endregion//#region src/react/settings/password-pair.tsx-function bFe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {+function yFe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(bP, {id: "access-password",type: "password",@@ -72988,12 +72996,12 @@ function bFe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma}//#endregion//#region src/react/settings/access-settings.tsx-var xFe = {+var bFe = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"};-function SFe({ initial: e, receipt: t }) {+function xFe({ initial: e, receipt: t }) {let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(""), [u, d] = (0, S.useState)(!1), [f, p] = (0, S.useState)({}), m = (0, S.useRef)(null), h = SA(), g = (e) => {e.preventDefault();let f = {};@@ -73010,7 +73018,7 @@ function SFe({ initial: e, receipt: t }) {let t = e instanceof _n ? e.body : null, n = t?.errors || t?.detail?.errors;n ? p(n) : h.setError(V(e));});- }, _ = xFe[n.mode], v = n.mode !== "locked";+ }, _ = bFe[n.mode], v = n.mode !== "locked";return /* @__PURE__ */ (0, C.jsxs)(OA, {title: "访问密码",onSubmit: g,@@ -73041,7 +73049,7 @@ function SFe({ initial: e, receipt: t }) {isInvalid: !!f.current_password,hint: f.current_password}) : null,- v ? /* @__PURE__ */ (0, C.jsx)(bFe, {+ v ? /* @__PURE__ */ (0, C.jsx)(yFe, {label: n.mode === "password" ? "新访问密码" : "设置访问密码",password: o,confirmation: c,@@ -73068,11 +73076,11 @@ function SFe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/port-settings.tsx-function CFe({ data: e, receipt: t }) {+function SFe({ data: e, receipt: t }) {let [n, r] = (0, S.useState)(String(e.port)), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(null), c = SA();return (0, S.useEffect)(() => {if (!o) return;- let e = setTimeout(() => location.assign(o.url), xG);+ let e = setTimeout(() => location.assign(o.url), SG);return () => clearTimeout(e);}, [o]), o ? /* @__PURE__ */ (0, C.jsx)(OA, {title: "本机访问端口",@@ -73126,11 +73134,11 @@ function CFe({ data: e, receipt: t }) {}//#endregion//#region src/react/settings/tunnel-settings.tsx-var wFe = 2e3, TFe = [["quick", "临时链接"], ["named", "命名隧道"]], EFe = {+var CFe = 2e3, wFe = [["quick", "临时链接"], ["named", "命名隧道"]], TFe = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function DFe({ revision: e, initial: t, receipt: n }) {+function EFe({ revision: e, initial: t, receipt: n }) {let [r, i] = (0, S.useState)(t), [a, o] = (0, S.useState)(e), [s, c] = (0, S.useState)(t.mode), [l, u] = (0, S.useState)(t.hostname), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)({}), h = SA(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";(0, S.useEffect)(() => {if (r.state !== "starting") return;@@ -73138,7 +73146,7 @@ function DFe({ revision: e, initial: t, receipt: n }) {uG(e.signal).then((t) => {!e.signal.aborted && t.tunnel && (W.setQueryData(lG, t), i(t.tunnel), o(t.revision));}).catch(() => void 0);- }, wFe);+ }, CFe);return () => {e.abort(), window.clearInterval(t);};@@ -73169,13 +73177,13 @@ function DFe({ revision: e, initial: t, receipt: n }) {isDisabled: g,onChange: (e) => c(e),className: BF,- children: TFe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(NN, {+ children: wFe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(NN, {value: e,className: VF,children: t}, e))}) : null,- /* @__PURE__ */ (0, C.jsx)(MA, { children: EFe[_ ? "named" : "quick"] }),+ /* @__PURE__ */ (0, C.jsx)(MA, { children: TFe[_ ? "named" : "quick"] }),_ ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(bP, {id: "tunnel-hostname",label: "公开主机名",@@ -73236,28 +73244,28 @@ function DFe({ revision: e, initial: t, receipt: n }) {}//#endregion//#region src/react/settings/network-settings.tsx-var OFe = [+var DFe = [["environment", "系统代理"],["direct", "直连"],["proxy", "自定义"]];-function kFe({ data: e, receipt: t, panel: n }) {+function OFe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, C.jsxs)("div", {...fG(n),children: [- e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, C.jsx)(CFe, {+ e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, C.jsx)(SFe, {data: e,receipt: t}) : null,- e.peach_proxy ? /* @__PURE__ */ (0, C.jsx)(AFe, {+ e.peach_proxy ? /* @__PURE__ */ (0, C.jsx)(kFe, {initial: e.peach_proxy,receipt: t}) : null,- e.access ? /* @__PURE__ */ (0, C.jsx)(SFe, {+ e.access ? /* @__PURE__ */ (0, C.jsx)(xFe, {initial: e.access,receipt: t}) : null,- e.tunnel ? /* @__PURE__ */ (0, C.jsx)(DFe, {+ e.tunnel ? /* @__PURE__ */ (0, C.jsx)(EFe, {revision: e.revision,initial: e.tunnel,receipt: t@@ -73265,7 +73273,7 @@ function kFe({ data: e, receipt: t, panel: n }) {]});}-function AFe({ initial: e, receipt: t }) {+function kFe({ initial: e, receipt: t }) {let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.mode), [o, s] = (0, S.useState)(""), c = SA();return /* @__PURE__ */ (0, C.jsxs)(OA, {id: "peachProxy",@@ -73287,7 +73295,7 @@ function AFe({ initial: e, receipt: t }) {onSelectionChange: (e) => {e !== null && a(String(e));},- children: OFe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(PF, {+ children: DFe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(PF, {id: e,children: t}, e))@@ -73323,11 +73331,11 @@ function AFe({ initial: e, receipt: t }) {}//#endregion//#region src/react/follow-manage/credentials.tsx-var jFe = "将清除这个来源在本机和共享副本中的登录凭据。", MFe = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";-function NFe(e, t) {+var AFe = "将清除这个来源在本机和共享副本中的登录凭据。", jFe = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";+function MFe(e, t) {return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";}-function PFe({ row: e }) {+function NFe({ row: e }) {if ($r(e)) return /* @__PURE__ */ (0, C.jsx)(pA, {variant: "caption",color: "lime",@@ -73340,7 +73348,7 @@ function PFe({ row: e }) {children: Qr[e.requirement] || ""});}-function FFe({ row: e, readOnly: t, toast: n }) {+function PFe({ row: e, readOnly: t, toast: n }) {let [r, i] = (0, S.useState)({}), [a, o] = (0, S.useState)(""), s = $r(e), c = pt({mutationFn: (t) => Nr(e.provider, t),onSuccess: (e, t) => {@@ -73367,7 +73375,7 @@ function FFe({ row: e, readOnly: t, toast: n }) {children: (e.needs || []).map((n) => /* @__PURE__ */ (0, C.jsx)(bP, {type: "password",label: n,- placeholder: NFe(e, n),+ placeholder: MFe(e, n),autoComplete: "off",spellCheck: "false",isDisabled: t,@@ -73395,7 +73403,7 @@ function FFe({ row: e, readOnly: t, toast: n }) {...Y(c.isPending),onClick: () => void Bs({title: "清除来源凭据",- body: jFe,+ body: AFe,confirmLabel: "清除来源凭据",danger: !0,onConfirm: () => c.mutateAsync({})@@ -73416,7 +73424,7 @@ function FFe({ row: e, readOnly: t, toast: n }) {]});}-function IFe({ row: e, readOnly: t, toast: n }) {+function FFe({ row: e, readOnly: t, toast: n }) {let r = /* @__PURE__ */ (0, C.jsxs)("span", {className: "flex min-w-0 flex-wrap items-center gap-2",children: [@@ -73428,7 +73436,7 @@ function IFe({ row: e, readOnly: t, toast: n }) {className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",children: e.provider_label}),- /* @__PURE__ */ (0, C.jsx)(PFe, { row: e }),+ /* @__PURE__ */ (0, C.jsx)(NFe, { row: e }),e.missing.length ? /* @__PURE__ */ (0, C.jsx)(pA, {variant: "caption",color: "rose",@@ -73446,7 +73454,7 @@ function IFe({ row: e, readOnly: t, toast: n }) {/* @__PURE__ */ (0, C.jsx)(RA, {summary: $r(e) ? "修改凭据" : "填写凭据",defaultOpen: e.requirement === "required" && !$r(e),- children: /* @__PURE__ */ (0, C.jsx)(FFe, {+ children: /* @__PURE__ */ (0, C.jsx)(PFe, {row: e,readOnly: t,toast: n@@ -73455,12 +73463,12 @@ function IFe({ row: e, readOnly: t, toast: n }) {e.world_readable ? /* @__PURE__ */ (0, C.jsx)(J, {tone: "error",title: "凭据文件权限过宽",- children: MFe+ children: jFe}) : null]});}-function LFe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {+function IFe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {let i = e.providers || [], a = i.filter((e) => e.requirement === "required" && !$r(e));if (!i.length) return /* @__PURE__ */ (0, C.jsx)(_A, {shell: "plain",@@ -73496,7 +73504,7 @@ function LFe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {padding: "none",className: "flex flex-col overflow-hidden"}),- children: e.rows.map((e) => /* @__PURE__ */ (0, C.jsx)(IFe, {+ children: e.rows.map((e) => /* @__PURE__ */ (0, C.jsx)(FFe, {row: e,readOnly: t,toast: n@@ -73523,10 +73531,10 @@ function LFe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {}//#endregion//#region src/configuration-copy.ts-var RFe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", zFe = "只填域名,留空用默认地址";+var LFe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", RFe = "只填域名,留空用默认地址";//#endregion//#region src/react/settings/entry-links-settings.tsx-function BFe({ initial: e, receipt: t }) {+function zFe({ initial: e, receipt: t }) {let [n, r] = (0, S.useState)(e.sites), i = SA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,host: t@@ -73541,7 +73549,7 @@ function BFe({ initial: e, receipt: t }) {});},children: [/* @__PURE__ */ (0, C.jsxs)(AA, { children: [- /* @__PURE__ */ (0, C.jsx)(MA, { children: RFe }),+ /* @__PURE__ */ (0, C.jsx)(MA, { children: LFe }),n.map((e) => /* @__PURE__ */ (0, C.jsx)(bP, {id: `entry-link-${e.key}`,label: /* @__PURE__ */ (0, C.jsx)(Dve, {@@ -73554,7 +73562,7 @@ function BFe({ initial: e, receipt: t }) {placeholder: e.default_host,onChange: (t) => a(e.key, t),validationBehavior: "aria",- hint: zFe+ hint: RFe}, e.key)),i.error ? /* @__PURE__ */ (0, C.jsx)(NA, { children: i.error }) : null] }), /* @__PURE__ */ (0, C.jsx)(jA, { children: /* @__PURE__ */ (0, C.jsx)(q, {@@ -73566,19 +73574,19 @@ function BFe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/indexer-settings.tsx-var AG = "/api/configuration/indexers";-function VFe({ receipt: e }) {+var jG = "/api/configuration/indexers";+function BFe({ receipt: e }) {let t = ft({queryKey: ["indexers"],- queryFn: ({ signal: e }) => H(AG, e),+ queryFn: ({ signal: e }) => H(jG, e),refetchOnMount: "always"});- return t.error ? /* @__PURE__ */ (0, C.jsx)(NA, { children: V(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, C.jsx)(vA, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, C.jsx)(HFe, {+ return t.error ? /* @__PURE__ */ (0, C.jsx)(NA, { children: V(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, C.jsx)(vA, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, C.jsx)(VFe, {initial: t.data,receipt: e}) : null;}-function HFe({ initial: e, receipt: t }) {+function VFe({ initial: e, receipt: t }) {let [n, r] = (0, S.useState)(e.indexers), i = SA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,...t@@ -73586,7 +73594,7 @@ function HFe({ initial: e, receipt: t }) {return /* @__PURE__ */ (0, C.jsxs)(OA, {title: "资源搜索",onSubmit: (e) => {- e.preventDefault(), i.run("save", (e) => U(AG, { indexers: n }, "POST", e), (e) => {+ e.preventDefault(), i.run("save", (e) => U(jG, { indexers: n }, "POST", e), (e) => {r(e.indexers), t("已保存索引器");});},@@ -73669,7 +73677,7 @@ function HFe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/source-settings.tsx-function UFe({ data: e, receipt: t, panel: n }) {+function HFe({ data: e, receipt: t, panel: n }) {let r = ft({queryKey: Wn,queryFn: ({ signal: e }) => Sr(e),@@ -73684,7 +73692,7 @@ function UFe({ data: e, receipt: t, panel: n }) {variant: "secondary",children: "采集来源与登录状态"}) }),- r.data ? /* @__PURE__ */ (0, C.jsx)(LFe, {+ r.data ? /* @__PURE__ */ (0, C.jsx)(IFe, {data: r.data,readOnly: !!e.ledger_read_only,toast: t,@@ -73694,23 +73702,23 @@ function UFe({ data: e, receipt: t, panel: n }) {title: "来源凭据未取得",children: V(r.error)}) : n?.active === !1 ? null : /* @__PURE__ */ (0, C.jsx)(vA, { label: "正在读取来源凭据" }),- e.entry_links ? /* @__PURE__ */ (0, C.jsx)(BFe, {+ e.entry_links ? /* @__PURE__ */ (0, C.jsx)(zFe, {initial: e.entry_links,receipt: t}) : null,- /* @__PURE__ */ (0, C.jsx)(VFe, { receipt: t }),- /* @__PURE__ */ (0, C.jsx)(_Fe, { receipt: t })+ /* @__PURE__ */ (0, C.jsx)(BFe, { receipt: t }),+ /* @__PURE__ */ (0, C.jsx)(gFe, { receipt: t })]});}//#endregion//#region src/react/settings/configuration-page.tsx-function WFe({ receipt: e, reopenTutorial: t, section: n = "" }) {+function UFe({ receipt: e, reopenTutorial: t, section: n = "" }) {let r = ft({queryKey: lG,queryFn: ({ signal: e }) => uG(e)}), i = r.data;- return i ? /* @__PURE__ */ (0, C.jsx)(KFe, {+ return i ? /* @__PURE__ */ (0, C.jsx)(GFe, {data: i,receipt: e,reopenTutorial: t,@@ -73724,9 +73732,9 @@ function WFe({ receipt: e, reopenTutorial: t, section: n = "" }) {})});}-var GFe = 0;-function KFe({ data: e, receipt: t, reopenTutorial: n, section: r }) {- let [i] = (0, S.useState)(() => `board-tabs-${++GFe}`), [a, o] = (0, S.useState)(r);+var WFe = 0;+function GFe({ data: e, receipt: t, reopenTutorial: n, section: r }) {+ let [i] = (0, S.useState)(() => `board-tabs-${++WFe}`), [a, o] = (0, S.useState)(r);(0, S.useEffect)(() => {o(r);}, [r]);@@ -73748,12 +73756,12 @@ function KFe({ data: e, receipt: t, reopenTutorial: n, section: r }) {title: "媒体库与入库",body: (e) => /* @__PURE__ */ (0, C.jsxs)("div", {...fG(e),- children: [/* @__PURE__ */ (0, C.jsx)(fFe, { ...d }), /* @__PURE__ */ (0, C.jsx)(yFe, { receipt: t })]+ children: [/* @__PURE__ */ (0, C.jsx)(dFe, { ...d }), /* @__PURE__ */ (0, C.jsx)(vFe, { receipt: t })]})},{title: "来源与订阅",- body: (e) => /* @__PURE__ */ (0, C.jsx)(UFe, {+ body: (e) => /* @__PURE__ */ (0, C.jsx)(HFe, {...d,panel: e})@@ -73768,7 +73776,7 @@ function KFe({ data: e, receipt: t, reopenTutorial: n, section: r }) {}] : [],...f ? [{title: "网络与访问",- body: (e) => /* @__PURE__ */ (0, C.jsx)(kFe, {+ body: (e) => /* @__PURE__ */ (0, C.jsx)(OFe, {...d,panel: e})@@ -73828,7 +73836,7 @@ function KFe({ data: e, receipt: t, reopenTutorial: n, section: r }) {}//#endregion//#region src/react/settings-panel/glow-settings.tsx-var qFe = [+var KFe = [["strength","强度",@@ -73855,7 +73863,7 @@ var qFe = [100]];-function JFe({ host: e, spot: t, index: n, glow: r }) {+function qFe({ host: e, spot: t, index: n, glow: r }) {let i = Ole[n], a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)("all");(0, S.useLayoutEffect)(() => {let [e, t, n] = [@@ -73933,7 +73941,7 @@ function JFe({ host: e, spot: t, index: n, glow: r }) {})]});}-function YFe({ host: e }) {+function JFe({ host: e }) {let t = e.store.value.homeGlow, n = mE(t.preset);return /* @__PURE__ */ (0, C.jsxs)("section", {"data-glow-setting": "",@@ -73963,7 +73971,7 @@ function YFe({ host: e }) {}),/* @__PURE__ */ (0, C.jsx)("div", {"data-glow-fields": "",- children: qFe.map(([r, i, a]) => /* @__PURE__ */ (0, C.jsx)(ePe, {+ children: KFe.map(([r, i, a]) => /* @__PURE__ */ (0, C.jsx)(ePe, {field: r,label: i,max: a,@@ -73985,7 +73993,7 @@ function YFe({ host: e }) {hidden: n,children: [/* @__PURE__ */ (0, C.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, C.jsx)("div", {"data-glow-stops": "",- children: fE.map((n, r) => /* @__PURE__ */ (0, C.jsx)(JFe, {+ children: fE.map((n, r) => /* @__PURE__ */ (0, C.jsx)(qFe, {host: e,spot: n,index: r,@@ -74010,7 +74018,7 @@ function YFe({ host: e }) {}//#endregion//#region src/react/settings-panel/number-setting.tsx-var XFe = {+var YFe = {batchSizeSetting: {min: 1,max: 200,@@ -74051,22 +74059,22 @@ var XFe = {optional: !0,fallback: 60}-}, jG = (e) => `peach.number.${e}`;-function MG(e, t) {+}, MG = (e) => `peach.number.${e}`;+function NG(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function NG({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = XFe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, S.useRef)(0);- d.current ||= aE(Number(localStorage.getItem(jG(e))), o, s, n && n > 0 ? n : l);+function PG({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = YFe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, S.useRef)(0);+ d.current ||= aE(Number(localStorage.getItem(MG(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, S.useState)(n ?? 0), [m, h] = (0, S.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, S.useState)(""), v = (0, S.useRef)(null), y = (0, S.useRef)(i);y.current = i, (0, S.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(jG(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(MG(e), String(d.current)), y.current(d.current)));}, x = (0, S.useRef)(b);x.current = b, (0, S.useEffect)(() => {let e = v.current;@@ -74076,7 +74084,7 @@ function NG({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}, []);let w = f > 0, T = () => {let t = v.current;- t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(jG(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));+ t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(MG(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));}, E = r || n === null;return /* @__PURE__ */ (0, C.jsxs)("div", {"data-number-setting": "",@@ -74113,7 +74121,7 @@ function NG({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, C.jsxs)("span", {"aria-hidden": "true",- children: [c, MG(Number(m), c) ? ` · ${MG(Number(m), c)}` : ""]+ children: [c, NG(Number(m), c) ? ` · ${NG(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, C.jsx)("small", {id: `${e}-error`,@@ -74127,13 +74135,13 @@ function NG({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}//#endregion//#region src/react/sidebar/sidebar-order.ts-function PG(e) {+function FG(e) {let { mutate: t } = Xz();return (0, S.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function FG(e, t, n, r) {+function IG(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -74143,17 +74151,17 @@ function FG(e, t, n, r) {}//#endregion//#region src/react/settings-panel/sidebar-order.tsx-var ZFe = "__home__", IG = (e) => e === "" ? ZFe : e;-function QFe({ host: e }) {- let t = PG(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, S.useState)(null), [c, l] = (0, S.useState)(!1), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (e, r, i) => {- let a = FG(n, e, r, i);+var XFe = "__home__", LG = (e) => e === "" ? XFe : e;+function ZFe({ host: e }) {+ let t = FG(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, S.useState)(null), [c, l] = (0, S.useState)(!1), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (e, r, i) => {+ let a = IG(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]) => IG(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => LG(e) === o) ?? a[0], y = () => {h.current && to(h.current), l(!1);}, b = () => {let e = h.current;@@ -74174,7 +74182,7 @@ function QFe({ host: e }) {}, T = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", IG(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", LG(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -74248,7 +74256,7 @@ function QFe({ host: e }) {})]})]- }, IG(e))), /* @__PURE__ */ (0, C.jsxs)("div", {+ }, LG(e))), /* @__PURE__ */ (0, C.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, C.jsxs)("div", {"data-sidebar-add-picker": "",@@ -74281,15 +74289,15 @@ function QFe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, C.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": IG(e),+ "data-sidebar-add-option": LG(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(IG(e)), y(), m.current?.focus();+ s(LG(e)), y(), m.current?.focus();},children: [/* @__PURE__ */ (0, C.jsx)(fO, { name: n ?? "" }), /* @__PURE__ */ (0, C.jsx)("span", { children: t })]- }, IG(e)))+ }, LG(e)))}) : null]}), /* @__PURE__ */ (0, C.jsx)("button", {type: "button",@@ -74306,13 +74314,13 @@ function QFe({ host: e }) {}//#endregion//#region src/react/settings-panel/settings-panel.tsx-var LG = [+var RG = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], $Fe = [+], QFe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -74321,7 +74329,7 @@ var LG = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], eIe = [["desc", "降序"], ["asc", "升序"]], tIe = [[+], $Fe = [["desc", "降序"], ["asc", "升序"]], eIe = [["cover","官方封面",""@@ -74329,7 +74337,7 @@ var LG = ["thumbnail","预览图",""-]], nIe = [+]], tIe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -74348,88 +74356,88 @@ var LG = ["切片","隐藏切片"]-], rIe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", RG = null, zG = {+], nIe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", zG = null, BG = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, BG = 0, VG = null, HG = /* @__PURE__ */ new Set();-function iIe(e) {- return HG.add(e), () => {- HG.delete(e);+}, VG = 0, HG = null, UG = /* @__PURE__ */ new Set();+function rIe(e) {+ return UG.add(e), () => {+ UG.delete(e);};}-function aIe() {- for (let e of [...HG]) e();+function iIe() {+ for (let e of [...UG]) e();}-function UG(e) {- zG = {- ...zG,+function WG(e) {+ BG = {+ ...BG,...e- }, (0, ht.flushSync)(aIe);+ }, (0, ht.flushSync)(iIe);}-async function oIe(e) {- let t = zG.epoch, n = await e.configurable();- zG.open && zG.epoch === t && UG({ configurable: n });+async function aIe(e) {+ let t = BG.epoch, n = await e.configurable();+ BG.open && BG.epoch === t && WG({ configurable: n });}-function sIe(e = "") {- let t = RG;+function oIe(e = "") {+ let t = zG;if (!t) return;- let n = LG.findIndex(([t]) => t === e);- if (zG.open && !zG.closing) {- n >= 0 && n !== zG.tab && UG({ tab: n });+ let n = RG.findIndex(([t]) => t === e);+ if (BG.open && !BG.closing) {+ n >= 0 && n !== BG.tab && WG({ tab: n });return;}- Qa(), BG += 1, VG ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ Qa(), VG += 1, HG ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");let r = ZEe();- UG({+ WG({open: !0,closing: !1,configurable: null,- epoch: zG.epoch + 1,- tab: n >= 0 ? n : zG.tab+ epoch: BG.epoch + 1,+ tab: n >= 0 ? n : BG.tab}), r.then((e) => {e && t.syncRemote(e);- }), oIe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), aIe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function WG(e = !0) {- if (!zG.open || zG.closing) return;- let t = ++BG;- e && RG?.closed?.(), UG({ closing: !0 });+function GG(e = !0) {+ if (!BG.open || BG.closing) return;+ let t = ++VG;+ e && zG?.closed?.(), WG({ closing: !0 });let n = () => {- t === BG && zG.closing && (UG({+ t === VG && BG.closing && (WG({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), VG instanceof HTMLElement && document.contains(VG) && VG.focus(), VG = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), HG instanceof HTMLElement && document.contains(HG) && HG.focus(), HG = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var cIe = {- open: sIe,- close: WG,- isOpen: () => zG.open,+var sIe = {+ open: oIe,+ close: GG,+ isOpen: () => BG.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function lIe(e) {- return RG = e, cIe;+function cIe(e) {+ return zG = e, sIe;}-function uIe() {- let e = (0, S.useSyncExternalStore)(iIe, () => zG);- return RG ? /* @__PURE__ */ (0, C.jsx)(pIe, {- host: RG,+function lIe() {+ let e = (0, S.useSyncExternalStore)(rIe, () => BG);+ return zG ? /* @__PURE__ */ (0, C.jsx)(fIe, {+ host: zG,view: e}) : null;}-function dIe(e) {+function uIe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(rIe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(nIe)].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 GG = (e) => `settings-tab-${e}`, KG = (e) => `settings-group-${e}`;-function fIe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+var KG = (e) => `settings-tab-${e}`, qG = (e) => `settings-group-${e}`;+function dIe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(e), l = (0, S.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -74457,7 +74465,7 @@ function fIe({ 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 = LG.length, r = t;+ let n = RG.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;@@ -74486,11 +74494,11 @@ function fIe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- LG.map(([t, n], r) => /* @__PURE__ */ (0, C.jsxs)("button", {+ RG.map(([t, n], r) => /* @__PURE__ */ (0, C.jsxs)("button", {type: "button",role: "tab",- id: GG(r),- "aria-controls": KG(r),+ id: KG(r),+ "aria-controls": qG(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -74521,17 +74529,17 @@ function fIe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect]});}-function qG({ index: e, tab: t, children: n }) {+function JG({ index: e, tab: t, children: n }) {return /* @__PURE__ */ (0, C.jsxs)("section", {"data-setting-group": "",- id: KG(e),+ id: qG(e),role: "tabpanel",- "aria-labelledby": GG(e),+ "aria-labelledby": KG(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, C.jsx)("h3", { children: LG[e][0] }), n]+ children: [/* @__PURE__ */ (0, C.jsx)("h3", { children: RG[e][0] }), n]});}-function JG({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function YG({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, C.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, C.jsxs)("span", { children: [/* @__PURE__ */ (0, C.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, C.jsx)("small", {@@ -74548,7 +74556,7 @@ function JG({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function YG({ title: e, description: t, kind: n, children: r }) {+function XG({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, C.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -74556,7 +74564,7 @@ function YG({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, C.jsxs)("span", { children: [/* @__PURE__ */ (0, C.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, C.jsx)("small", { children: t }) : t] }), r]});}-function pIe({ host: e, view: t }) {+function fIe({ host: e, view: t }) {(0, S.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -74577,7 +74585,7 @@ function pIe({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (t) => {- t !== zG.tab && (UG({ tab: t }), e.selectSection?.(LG[t][0]));+ t !== BG.tab && (WG({ tab: t }), e.selectSection?.(RG[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, C.jsx)("section", {"data-settings-panel": "",@@ -74588,9 +74596,9 @@ function pIe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: dIe,+ onKeyDown: uIe,onClick: (e) => {- e.target === e.currentTarget && WG();+ e.target === e.currentTarget && GG();},children: /* @__PURE__ */ (0, C.jsxs)("div", {"data-settings-card": "",@@ -74601,31 +74609,31 @@ function pIe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, C.jsx)("h2", {id: "settingsTitle",- children: LG[t.tab][0]+ children: RG[t.tab][0]}), /* @__PURE__ */ (0, C.jsx)(TP, {id: "settingsClose",label: "关闭设置",- onPress: () => WG()+ onPress: () => GG()})]}),- /* @__PURE__ */ (0, C.jsx)(fIe, {+ /* @__PURE__ */ (0, C.jsx)(dIe, {tab: t.tab,epoch: d,configurable: t.configurable,onSelect: f,openConfiguration: () => {- WG(!1), e.openConfiguration();+ GG(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, C.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, C.jsxs)(qG, {+ /* @__PURE__ */ (0, C.jsxs)(JG, {index: 0,tab: t.tab,children: [- /* @__PURE__ */ (0, C.jsx)(YG, {+ /* @__PURE__ */ (0, C.jsx)(XG, {title: "主题",children: /* @__PURE__ */ (0, C.jsx)(YW, {id: "themeSetting",@@ -74655,7 +74663,7 @@ function pIe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, C.jsx)(JG, {+ /* @__PURE__ */ (0, C.jsx)(YG, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -74663,7 +74671,7 @@ function pIe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, C.jsx)(JG, {+ /* @__PURE__ */ (0, C.jsx)(YG, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -74671,40 +74679,40 @@ function pIe({ host: e, view: t }) {n.homeGlow.on = t, p(), e.changed("glow");}}),- /* @__PURE__ */ (0, C.jsx)(YFe, { host: e }),+ /* @__PURE__ */ (0, C.jsx)(JFe, { host: e }),/* @__PURE__ */ (0, C.jsxs)("section", {"data-sidebar-setting": "","aria-labelledby": "sidebarOrderTitle",children: [/* @__PURE__ */ (0, C.jsx)("span", { children: /* @__PURE__ */ (0, C.jsx)("b", {id: "sidebarOrderTitle",children: "导航入口与顺序"- }) }), /* @__PURE__ */ (0, C.jsx)(QFe, { host: e })]+ }) }), /* @__PURE__ */ (0, C.jsx)(ZFe, { host: e })]})]}),- /* @__PURE__ */ (0, C.jsx)(hIe, {+ /* @__PURE__ */ (0, C.jsx)(mIe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, C.jsx)(gIe, {+ /* @__PURE__ */ (0, C.jsx)(hIe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, C.jsxs)(qG, {+ /* @__PURE__ */ (0, C.jsxs)(JG, {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, C.jsx)(yIe, {+ /* @__PURE__ */ (0, C.jsx)(vIe, {host: e,epoch: d}),- /* @__PURE__ */ (0, C.jsx)(YG, {+ /* @__PURE__ */ (0, C.jsx)(XG, {title: "相关推荐数量",children: /* @__PURE__ */ (0, C.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, C.jsx)(NG, {+ children: /* @__PURE__ */ (0, C.jsx)(PG, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -74714,24 +74722,24 @@ function pIe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, C.jsx)(YG, {+ /* @__PURE__ */ (0, C.jsx)(XG, {title: "口味与记录",children: /* @__PURE__ */ (0, C.jsx)("div", {className: "peach-react",children: /* @__PURE__ */ (0, C.jsx)(hA, {variant: "secondary",href: "/taste",- onClick: () => WG(!1),+ onClick: () => GG(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, C.jsx)(qG, {+ /* @__PURE__ */ (0, C.jsx)(JG, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, C.jsx)(JG, {+ children: /* @__PURE__ */ (0, C.jsx)(YG, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -74746,7 +74754,7 @@ function pIe({ host: e, view: t }) {})});}-function mIe(e, t) {+function pIe(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = Lo("arrow-up", "arrow-down", "a", {@@ -74756,17 +74764,17 @@ function mIe(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function hIe({ host: e, tab: t, epoch: n }) {+function mIe({ 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, C.jsxs)(qG, {+ return /* @__PURE__ */ (0, C.jsxs)(JG, {index: 1,tab: t,children: [- /* @__PURE__ */ (0, C.jsx)(YG, {+ /* @__PURE__ */ (0, C.jsx)(XG, {title: "每批加载作品",children: /* @__PURE__ */ (0, C.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, C.jsx)(NG, {+ children: /* @__PURE__ */ (0, C.jsx)(PG, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -74776,7 +74784,7 @@ function hIe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, C.jsx)(YG, {+ /* @__PURE__ */ (0, C.jsx)(XG, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, C.jsxs)("div", {@@ -74784,7 +74792,7 @@ function hIe({ host: e, tab: t, epoch: n }) {children: [/* @__PURE__ */ (0, C.jsx)(XW, {id: "defaultSortSetting",label: "默认排序",- options: $Fe,+ options: QFe,value: r.defaultSort,epoch: n,onPick: (t) => {@@ -74793,7 +74801,7 @@ function hIe({ host: e, tab: t, epoch: n }) {}), /* @__PURE__ */ (0, C.jsx)(XW, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: eIe,+ options: $Fe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -74801,11 +74809,11 @@ function hIe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => mIe(e, o)+ decorate: (e) => pIe(e, o)})]})}),- /* @__PURE__ */ (0, C.jsx)(YG, {+ /* @__PURE__ */ (0, C.jsx)(XG, {title: "视频卡片大小",children: /* @__PURE__ */ (0, C.jsx)(YW, {id: "javSizeSetting",@@ -74820,16 +74828,16 @@ function hIe({ host: e, tab: t, epoch: n }) {onChoose: (t) => e.setVideoLayout(t)})}),- /* @__PURE__ */ (0, C.jsx)(vIe, {+ /* @__PURE__ */ (0, C.jsx)(_Ie, {host: e,epoch: n})]});}-function gIe({ host: e, tab: t, epoch: n }) {+function hIe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, C.jsxs)(qG, {+ return /* @__PURE__ */ (0, C.jsxs)(JG, {index: 2,tab: t,children: [@@ -74837,13 +74845,13 @@ function gIe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, C.jsx)(YG, {+ /* @__PURE__ */ (0, C.jsx)(XG, {title: "默认图片",children: /* @__PURE__ */ (0, C.jsx)(YW, {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: tIe,+ options: eIe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",@@ -74871,7 +74879,7 @@ function gIe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, C.jsx)(JG, {+ /* @__PURE__ */ (0, C.jsx)(YG, {id: "feedAutoScrollSetting",title: "新作自动滚动",checked: r.feedAutoScroll,@@ -74879,7 +74887,7 @@ function gIe({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- nIe.map(([t, n, r, i]) => /* @__PURE__ */ (0, C.jsx)(_Ie, {+ tIe.map(([t, n, r, i]) => /* @__PURE__ */ (0, C.jsx)(gIe, {host: e,id: t,settingKey: n,@@ -74889,7 +74897,7 @@ function gIe({ host: e, tab: t, epoch: n }) {]});}-function _Ie({ host: e, id: t, settingKey: n, label: r, title: i }) {+function gIe({ host: e, id: t, settingKey: n, label: r, title: i }) {let a = Xz(), [o, s] = (0, S.useState)(null), c = (0, S.useRef)(null), l = e.store.value, u = (t) => {s(t), Ds(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {@@ -74914,14 +74922,14 @@ function _Ie({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function vIe({ host: e, epoch: t }) {+function _Ie({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [- /* @__PURE__ */ (0, C.jsx)(YG, {+ /* @__PURE__ */ (0, C.jsx)(XG, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, C.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, C.jsx)(NG, {+ children: /* @__PURE__ */ (0, C.jsx)(PG, {id: "hoverDelaySetting",label: "悬停预览延迟",value: n.hoverDelaySeconds,@@ -74931,7 +74939,7 @@ function vIe({ host: e, epoch: t }) {}, t)})}),- /* @__PURE__ */ (0, C.jsx)(JG, {+ /* @__PURE__ */ (0, C.jsx)(YG, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -74939,7 +74947,7 @@ function vIe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, C.jsx)(JG, {+ /* @__PURE__ */ (0, C.jsx)(YG, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -74947,11 +74955,11 @@ function vIe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, C.jsx)(YG, {+ /* @__PURE__ */ (0, C.jsx)(XG, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, C.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, C.jsx)(NG, {+ children: /* @__PURE__ */ (0, C.jsx)(PG, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -74963,13 +74971,13 @@ function vIe({ host: e, epoch: t }) {})] });}-function yIe({ host: e, epoch: t }) {+function vIe({ host: e, epoch: t }) {let n = e.store.value, r = Xz();- return /* @__PURE__ */ (0, C.jsx)(YG, {+ return /* @__PURE__ */ (0, C.jsx)(XG, {title: "搜索记录数量",children: /* @__PURE__ */ (0, C.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, C.jsx)(NG, {+ children: /* @__PURE__ */ (0, C.jsx)(PG, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,@@ -74982,68 +74990,68 @@ function yIe({ host: e, epoch: t }) {}//#endregion//#region src/react/sidebar/sidebar-island.tsx-var XG = "__home__", bIe = {+var ZG = "__home__", yIe = {creator: 26,tag: 30,tech: 16-}, ZG = 180, QG = null, $G = {+}, QG = 180, $G = null, eK = {props: {content: null,filters: {},latest: null},epoch: 0-}, eK = /* @__PURE__ */ new Set();-function xIe(e) {- return eK.add(e), () => {- eK.delete(e);+}, tK = /* @__PURE__ */ new Set();+function bIe(e) {+ return tK.add(e), () => {+ tK.delete(e);};}-function tK() {- for (let e of [...eK]) e();+function nK() {+ for (let e of [...tK]) e();}-var SIe = {+var xIe = {render(e) {- $G = {- ...$G,+ eK = {+ ...eK,props: e- }, (0, ht.flushSync)(tK);+ }, (0, ht.flushSync)(nK);},navChanged() {- $G = {- ...$G,- epoch: $G.epoch + 1- }, (0, ht.flushSync)(tK);+ eK = {+ ...eK,+ epoch: eK.epoch + 1+ }, (0, ht.flushSync)(nK);}};-function CIe(e) {- return QG = e, $G = {- ...$G,+function SIe(e) {+ return $G = e, eK = {+ ...eK,props: {content: null,filters: {},latest: null}- }, SIe;+ }, xIe;}-function wIe() {- let e = (0, S.useSyncExternalStore)(xIe, () => $G);- return QG ? /* @__PURE__ */ (0, C.jsx)(TIe, {- host: QG,+function CIe() {+ let e = (0, S.useSyncExternalStore)(bIe, () => eK);+ return $G ? /* @__PURE__ */ (0, C.jsx)(wIe, {+ host: $G,props: e.props,epoch: e.epoch}) : null;}-function TIe({ host: e, props: t, epoch: n }) {+function wIe({ host: e, props: t, epoch: n }) {let r = (0, S.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, C.jsx)(EIe, {+ /* @__PURE__ */ (0, C.jsx)(TIe, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, C.jsx)(OIe, {+ t.content ? /* @__PURE__ */ (0, C.jsx)(DIe, {host: e,content: t.content,filters: t.filters,@@ -75051,8 +75059,8 @@ function TIe({ host: e, props: t, epoch: n }) {}) : null] });}-function EIe({ host: e, epoch: t, version: n }) {- let r = PG(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, S.useRef)(null), l = (0, S.useRef)(null), u = bj(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || XG : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function TIe({ host: e, epoch: t, version: n }) {+ let r = FG(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, S.useRef)(null), l = (0, S.useRef)(null), u = bj(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || ZG : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, S.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());return [@@ -75070,7 +75078,7 @@ function EIe({ host: e, epoch: t, version: n }) {}, _ = (e) => ({draggable: !0,onDragStart: (t) => {- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || XG);+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || ZG);},onDragOver: (t) => {if (f === null || f === e) return;@@ -75085,7 +75093,7 @@ function EIe({ host: e, epoch: t, version: n }) {t.preventDefault();let n = f, a = m?.key === e && m.after;g();- let o = n === null ? null : FG(i, n, e, a);+ let o = n === null ? null : IG(i, n, e, a);o && r(o);},onDragEnd: g@@ -75109,15 +75117,15 @@ function EIe({ host: e, epoch: t, version: n }) {src: "/peach-logo.png",alt: ""}) : /* @__PURE__ */ (0, C.jsx)(fO, { name: r }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]- }, t || XG))+ }, t || ZG))}), v ? (0, ht.createPortal)(/* @__PURE__ */ (0, C.jsx)("span", {"data-sidebar-glide": "","aria-hidden": "true",ref: l}), v) : null] });}-var nK = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function DIe(e) {+var rK = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function EIe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -75130,7 +75138,7 @@ function DIe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function OIe({ host: e, content: t, filters: n, latest: r }) {+function DIe({ 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, S.useLayoutEffect)(() => {t.kind === "catalog" && Uo(e.scroll, "drawer");@@ -75139,8 +75147,8 @@ function OIe({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? kIe(e, t.facets, n, r, i) : AIe(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, C.jsx)(jIe, {+ let a = t.kind === "catalog" ? OIe(e, t.facets, n, r, i) : kIe(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, C.jsx)(AIe, {title: e.title,kind: e.kind,active: e.active,@@ -75149,11 +75157,11 @@ function OIe({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function kIe(e, t, n, r, i) {- let a = DIe(r), o = (t, r, i) => {+function OIe(e, t, n, r, i) {+ let a = EIe(r), o = (t, r, i) => {if (!t.length) return null;- let o = nK(n, r);- return /* @__PURE__ */ (0, C.jsx)(aK, {+ let o = rK(n, r);+ return /* @__PURE__ */ (0, C.jsx)(oK, {rows: t,filterKey: r,multi: i,@@ -75163,7 +75171,7 @@ function kIe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = nK(n, l), p = c.some((e) => f.includes(e.value));+ let f = rK(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -75175,12 +75183,12 @@ function kIe(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, C.jsx)(NIe, {+ body: /* @__PURE__ */ (0, C.jsx)(MIe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: bIe[d],+ limit: yIe[d],filterKey: l,selected: f,counts: a,@@ -75195,7 +75203,7 @@ function kIe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, C.jsx)(cK, {+ body: /* @__PURE__ */ (0, C.jsx)(lK, {host: e,filters: n})@@ -75209,7 +75217,7 @@ function kIe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, C.jsx)(oK, {+ body: /* @__PURE__ */ (0, C.jsx)(sK, {rows: t.followTags,host: e,selected: null,@@ -75218,14 +75226,14 @@ function kIe(e, t, n, r, i) {} : null];}-function AIe(e, t, n) {- let r = t.providers || [], i = nK(n, "provider"), a = new Set(t.selected);+function kIe(e, t, n) {+ let r = t.providers || [], i = rK(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, C.jsx)(aK, {+ body: /* @__PURE__ */ (0, C.jsx)(oK, {rows: r,filterKey: "provider",multi: !1,@@ -75239,7 +75247,7 @@ function AIe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, C.jsx)(cK, {+ body: /* @__PURE__ */ (0, C.jsx)(lK, {host: e,filters: n,commit: e.setFollowDuration@@ -75249,7 +75257,7 @@ function AIe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, C.jsx)(oK, {+ body: /* @__PURE__ */ (0, C.jsx)(sK, {rows: t.tags,host: e,selected: a,@@ -75258,19 +75266,19 @@ function AIe(e, t, n) {} : null];}-function rK(e, t) {+function iK(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function jIe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)(() => rK(e, n)), u = (0, S.useRef)(!1);+function AIe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)(() => iK(e, n)), u = (0, S.useRef)(!1);(0, S.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? rK(e, n) : c;+ let i = u.current ? iK(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) => {@@ -75302,7 +75310,7 @@ function jIe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, C.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, C.jsx)(iK.Provider, {+ children: /* @__PURE__ */ (0, C.jsx)(aK.Provider, {value: d,children: a})@@ -75311,15 +75319,15 @@ function jIe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var iK = (0, S.createContext)(() => {});-function MIe({ dot: e }) {+var aK = (0, S.createContext)(() => {});+function jIe({ dot: e }) {return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, C.jsx)(fO, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, C.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, C.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function aK({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function oK({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, C.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -75336,7 +75344,7 @@ function aK({ 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, C.jsx)(MIe, { dot: e.dot }),+ /* @__PURE__ */ (0, C.jsx)(jIe, { dot: e.dot }),/* @__PURE__ */ (0, C.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -75351,8 +75359,8 @@ function aK({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function NIe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, S.useContext)(iK), [d, f] = (0, S.useState)(null), [p, m] = (0, S.useState)(e);+function MIe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, S.useContext)(aK), [d, f] = (0, S.useState)(null), [p, m] = (0, S.useState)(e);p !== e && (m(e), f(null));let h = (0, S.useRef)(null), g = (0, S.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, S.useLayoutEffect)(() => {@@ -75367,7 +75375,7 @@ function NIe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("ui-fcollapse"), Ia(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(aK, {+ }, [d, _]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(oK, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -75395,7 +75403,7 @@ function NIe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, schildren: /* @__PURE__ */ (0, C.jsx)(fO, { name: "chevron-down" })}) : null] });}-function oK({ rows: e, host: t, selected: n, badges: r }) {+function sK({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, C.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {@@ -75417,10 +75425,10 @@ function oK({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var sK = (e, t) => e ? Math.min(ZG, Number(e) / 60) : t;-function cK({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, S.useState)(r), [o, s] = (0, S.useState)(() => [sK(t.dur_min, 0), sK(t.dur_max, ZG)]), [c, l] = (0, S.useState)("max");- i !== r && (a(r), s([sK(t.dur_min, 0), sK(t.dur_max, ZG)]));+var cK = (e, t) => e ? Math.min(QG, Number(e) / 60) : t;+function lK({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, S.useState)(r), [o, s] = (0, S.useState)(() => [cK(t.dur_min, 0), cK(t.dur_max, QG)]), [c, l] = (0, S.useState)("max");+ i !== r && (a(r), s([cK(t.dur_min, 0), cK(t.dur_max, QG)]));let [u, d] = o, f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(o);h.current = o;let g = (e, t) => {@@ -75433,11 +75441,11 @@ function cK({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, S.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / ZG * 100}%`), e.style.setProperty("--hi", `${d / ZG * 100}%`);+ e.style.setProperty("--lo", `${u / QG * 100}%`), e.style.setProperty("--hi", `${d / QG * 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 / ZG * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / QG * 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`);});@@ -75447,7 +75455,7 @@ function cK({ 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 >= ZG ? "不限" : `${t} 分钟`+ children: e === "max" && t >= QG ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, C.jsx)("div", {"data-sidebar-duration": "",@@ -75462,7 +75470,7 @@ function cK({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: ZG,+ max: QG,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -75473,7 +75481,7 @@ function cK({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: ZG,+ max: QG,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -75488,23 +75496,23 @@ function cK({ host: e, filters: t, commit: n = e.setDuration }) {}//#endregion//#region src/configuration-skeleton.ts-var PIe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><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}<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">${bo({+var NIe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><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}<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">${bo({label: "保存配置",attrs: "disabled data-skeleton-action"-})}</div></div></section>`, lK = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<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><span class="skeleton ${n}"></span></div>`;-function FIe() {+})}</div></div></section>`, uK = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<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><span class="skeleton ${n}"></span></div>`;+function PIe() {return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${["媒体库与入库","来源与订阅","下载渠道","网络与访问","应用与维护"- ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${PIe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${lK("媒体文件夹", "", "ui-configuration-skeleton-select")}${lK("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;+ ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${NIe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${uK("媒体文件夹", "", "ui-configuration-skeleton-select")}${uK("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;}//#endregion//#region src/management-skeletons.ts-var uK = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", dK = (e = "60%") => `<span class="${uK} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, fK = "disabled data-skeleton-action", pK = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function IIe() {+var dK = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", fK = (e = "60%") => `<span class="${dK} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, pK = "disabled data-skeleton-action", mK = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+function FIe() {let e = ["馆藏视频","看过",@@ -75512,27 +75520,27 @@ function IIe() {"使用空间"].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="${uK} 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">${dK("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">${dK("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${pK}" 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">${dK("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="${dK} 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">${fK("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">${fK("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${mK}" 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">${fK("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">${dK()}</span><b class="text-title-2-medium">${dK("3em")}</b><small class="text-caption-1-regular">${dK()}</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">${fK()}</span><b class="text-title-2-medium">${fK("3em")}</b><small class="text-caption-1-regular">${fK()}</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">账本当前快照 · ${dK("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${fK("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="${pK}"><h3 class="text-title-2-medium">${e}</h3><div class="${uK} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${mK}"><h3 class="text-title-2-medium">${e}</h3><div class="${dK} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -75541,11 +75549,11 @@ function IIe() {"最近看过","标签来源"].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="${uK} 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="${dK} h-7"></div>`).join("")}</div></section></div></div>`;}-function LIe() {+function IIe() {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 = ["浏览记录","口味维度",@@ -75553,20 +75561,20 @@ function LIe() {"私有导出"].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="${uK} 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">${dK("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">${dK("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${uK} h-6"></div>`).join(""), r = (e) => `<section class="${pK}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${uK} 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="${dK} 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">${fK("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">${fK("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${dK} h-6"></div>`).join(""), r = (e) => `<section class="${mK}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${dK} 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">${So("全部时间")}<span data-button-group data-split-button data-variant="primary">${bo({glyph: "compass",label: "读取浏览器历史",- attrs: fK+ attrs: pK})}${bo({glyph: "chevron-down",- attrs: fK+ attrs: pK})}</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>@@ -75584,11 +75592,11 @@ function LIe() {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">${dK("8em")}</small></div>+ <small class="text-caption-1-regular">${fK("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="${pK}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${uK} h-72 max-sm:h-48"></div></section>+ <section class="${mK}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${dK} 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(["标签",@@ -75596,20 +75604,20 @@ function LIe() {"常访问网站","浏览候选"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${uK} 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="${dK} h-7"></div>`).join("")}</div></section></div></div></div>`;}-function RIe() {+function LIe() {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="${uK} 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">${dK("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${dK("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">${dK("75%")}</span>+ <span class="${dK} 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">${fK("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${fK("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">${fK("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">${dK("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${dK("8em")}</span>+ <b class="text-title-2-medium">${fK("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${fK("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长",@@ -75618,27 +75626,27 @@ function RIe() {variant: "secondary",size: "small",label: e,- attrs: fK+ attrs: pK})).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">${dK("4em")}</strong></div><p class="text-body-regular text-text-secondary">${dK("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">${fK("4em")}</strong></div><p class="text-body-regular text-text-secondary">${fK("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 ${fK} class="h-7.5 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 ${pK} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>${t.repeat(2)}</div></div>`;}-function zIe() {+function RIe() {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="${uK} 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">${dK("80%")}</h3><p class="text-body-2-regular">${dK("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${dK} 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">${fK("80%")}</h3><p class="text-body-2-regular">${fK("60%")}</p></div></div><footer class="flex justify-end">${bo({variant: "secondary",size: "small",label: "查看版本",- attrs: fK+ attrs: pK})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">@@ -75648,24 +75656,24 @@ function zIe() {}//#endregion//#region src/board-skeleton.ts-var mK = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, hK = () => `${mK("80%")}${mK("48%")}`, gK = (e, t) => e.repeat(t), _K = "disabled data-skeleton-action", vK = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, yK = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, BIe = "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", bK = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var hK = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, gK = () => `${hK("80%")}${hK("48%")}`, _K = (e, t) => e.repeat(t), vK = "disabled data-skeleton-action", yK = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, bK = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, zIe = "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", xK = () => `<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="${BIe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${vK("3em")}</b></div>`).join("")}</div>`, xK = [+].map((e) => `<div class="${zIe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${yK("3em")}</b></div>`).join("")}</div>`, SK = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"]-], VIe = (e = "") => xK.some(([t]) => t === e) ? e : "list", SK = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${xK.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, CK = (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>`, HIe = ({ table: e, sort: t, dir: n }) => {+], BIe = (e = "") => SK.some(([t]) => t === e) ? e : "list", CK = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${SK.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, wK = (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>`, VIe = ({ table: e, sort: t, dir: n }) => {let r = yn.find(([e]) => e === t)[1];- return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${vK("132px")}</span></span>${bo({+ return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${yK("132px")}</span></span>${bo({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: _K+ attrs: vK})}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${bo({variant: "ghost",glyph: "layout-grid",@@ -75682,42 +75690,42 @@ var mK = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, hKglyph: "chevron-up",label: "全部收起",compact: !0,- attrs: _K+ attrs: vK})}</span></div>`;-}, wK = () => `<span class="flex shrink-0 items-center gap-1">${bo({+}, TK = () => `<span class="flex shrink-0 items-center gap-1">${bo({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: _K+ attrs: vK})}${bo({variant: "secondary",size: "small",glyph: "trash",- attrs: _K-})}</span>`, UIe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${CK()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${vK("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${yK(14, 14)}</span>${yK(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${vK("113px")}</span>${wK()}</span></div>`, TK = (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>${yK(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${vK("92px")}</b>${bo({+ attrs: vK+})}</span>`, HIe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${wK()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${yK("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${bK(14, 14)}</span>${bK(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${yK("113px")}</span>${TK()}</span></div>`, EK = (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>${bK(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${yK("92px")}</b>${bo({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: _K-})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${yK(14, 14)}${yK(14, 14)}</span>${bo({+ attrs: vK+})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${bK(14, 14)}${bK(14, 14)}</span>${bo({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: _K+ attrs: vK})}${bo({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: _K-})}</span></div><div data-source-divider>${gK(UIe(), e)}</div></section>`, WIe = () => {+ attrs: vK+})}</span></div><div data-source-divider>${_K(HIe(), e)}</div></section>`, UIe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, GIe = [+}, WIe = [["select", ""],["author", "创作者"],["source", "来源"],@@ -75725,64 +75733,64 @@ var mK = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, hK["status", "状态"],["checked", "上次检查"],["actions", ""]-], KIe = {+], GIe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, qIe = "<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>", JIe = (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>${GIe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${KIe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${qIe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${gK(`<tr>${[- CK(),- `<span class="flex min-w-0 items-center gap-2">${yK(32, 32, !0)}${vK("5em")}</span>`,- vK("10em"),- `<span class="flex items-center gap-1.5">${yK(14, 14)}${vK("4em")}</span>`,- yK(48, 24),- vK("113px"),- wK()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, YIe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${vK("111px")}</span>${So(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${yK(204, 32)}</div>`, XIe = () => `<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">${vK("120px")}</h3>${[+}, KIe = "<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>", qIe = (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>${WIe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${GIe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${KIe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${_K(`<tr>${[+ wK(),+ `<span class="flex min-w-0 items-center gap-2">${bK(32, 32, !0)}${yK("5em")}</span>`,+ yK("10em"),+ `<span class="flex items-center gap-1.5">${bK(14, 14)}${yK("4em")}</span>`,+ bK(48, 24),+ yK("113px"),+ TK()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, JIe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${yK("111px")}</span>${So(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${bK(204, 32)}</div>`, YIe = () => `<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">${yK("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${vK(e)}</span>`).join("")}</div>`, ZIe = (e) => {- let t = VIe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${bK()}<div class="flex flex-col gap-6">${SK(t)}<div class="flex flex-col gap-4">${XIe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = Cn(e.followSort, e.followDir), i = e.followPageSize || WIe(), a = n ? JIe(i, r) : `${CK("全选本页")}<div class="flex flex-col gap-3">${TK(3)}${TK(4)}${TK(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${bK()}<div class="flex flex-col gap-6">${SK(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"}">${HIe({+].map((e) => `<span class="text-body-medium">${yK(e)}</span>`).join("")}</div>`, XIe = (e) => {+ let t = BIe(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${xK()}<div class="flex flex-col gap-6">${CK(t)}<div class="flex flex-col gap-4">${YIe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = Cn(e.followSort, e.followDir), i = e.followPageSize || UIe(), a = n ? qIe(i, r) : `${wK("全选本页")}<div class="flex flex-col gap-3">${EK(3)}${EK(4)}${EK(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${xK()}<div class="flex flex-col gap-6">${CK(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"}">${VIe({table: n,...r- })}${a}${YIe(n, i)}</div></div></div></div></div>`;+ })}${a}${JIe(n, i)}</div></div></div></div></div>`;};-function QIe() {- 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">${mK("85%")}${mK("65%")}${gK(hK(), 4)}</div></aside></div>`;+function ZIe() {+ 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">${hK("85%")}${hK("65%")}${_K(gK(), 4)}</div></aside></div>`;}-function $Ie(e, t = {}) {+function QIe(e, t = {}) {let n = "";- if (e === "/stats") n = IIe();+ if (e === "/stats") n = FIe();else if (e === "/jav") n = PMe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");- else if (e === "/taste") n = LIe();- else if (e === "/subscriptions") n = ZIe(t);- else if (e === "/settings/library") n = FIe();+ else if (e === "/taste") n = IIe();+ else if (e === "/subscriptions") n = XIe(t);+ else if (e === "/settings/library") n = PIe();else if (e === "/tasks") n = `<div class="ui-activitypage">${["正在进行","被挡下的","最近完成"- ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${mK("35%")}${hK()}</div></article></div></section>`).join("")}</div>`;- else if (e === "/duplicates") n = RIe();- else if (e === "/quality-goals") n = zIe();- else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${mK("200px")}</div></header><div class="ui-playlistcards">${gK(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${hK()}</div></div></article>`, 6)}</div></section>`;+ ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${hK("35%")}${gK()}</div></article></div></section>`).join("")}</div>`;+ else if (e === "/duplicates") n = LIe();+ else if (e === "/quality-goals") n = RIe();+ else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${hK("200px")}</div></header><div class="ui-playlistcards">${_K(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${gK()}</div></div></article>`, 6)}</div></section>`;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/follow-detail/follow-detail.ts-var EK = (e) => ["follow-item", e], eLe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, tLe = "/api/follow/save", nLe = "/api/follow/media/hide", DK = class extends Error {+var DK = (e) => ["follow-item", e], $Ie = (e) => `/api/follow?item=${encodeURIComponent(e)}`, eLe = "/api/follow/save", tLe = "/api/follow/media/hide", OK = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function OK(e, t) {- let n = await H(eLe(e), t);+async function kK(e, t) {+ let n = await H($Ie(e), t);for (let t of n.groups || []) {let r = fi(t).find((t) => t.id === e);if (r) return {@@ -75792,9 +75800,9 @@ async function OK(e, t) {aliases: n.author_aliases || []};}- throw new DK();+ throw new OK();}-function rLe(e) {+function nLe(e) {for (let [, t] of W.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;let n = fi(t.group).find((t) => t.id === e);@@ -75805,20 +75813,20 @@ function rLe(e) {}return null;}-async function kK(e, t) {- let n = EK(e.id), r = pi(e.id), i = W.getQueryData(si) ? null : W.fetchQuery({+async function AK(e, t) {+ let n = DK(e.id), r = pi(e.id), i = W.getQueryData(si) ? null : W.fetchQuery({queryKey: si,queryFn: () => ci(t)}), a = r ? {...r,item: r.item- } : W.getQueryData(n) ?? rLe(e.id);+ } : W.getQueryData(n) ?? nLe(e.id);a ? W.setQueryData(n, a) : await W.fetchQuery({queryKey: n,- queryFn: () => OK(e.id, t)+ queryFn: () => kK(e.id, t)}), await i;}-function iLe(e, t, n, r) {+function rLe(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 && xi(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,@@ -75833,32 +75841,32 @@ function iLe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var aLe = (e) => fi(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), oLe = {+var iLe = (e) => fi(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), aLe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, sLe = {+}, oLe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function cLe(e) {+function sLe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return oLe[t] || t;+ return aLe[t] || t;} catch {return "外部文件页";}}-function AK(e, t) {- return sLe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function jK(e, t) {+ return oLe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function lLe(e, t, n = "") {+function cLe(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;@@ -75867,54 +75875,54 @@ function lLe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var uLe = (e) => String(e.name || "").trim(), jK = (e, t) => e.tag_types?.[t] || "unknown", dLe = /* @__PURE__ */ new Set([+var lLe = (e) => String(e.name || "").trim(), MK = (e, t) => e.tag_types?.[t] || "unknown", uLe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function fLe(e, t) {- let n = jK(e, t);- return `r34-${dLe.has(n) ? n : "general"}`;+function dLe(e, t) {+ let n = MK(e, t);+ return `r34-${uLe.has(n) ? n : "general"}`;}-var MK = [+var NK = ["copyright","character","artist","general","metadata"];-function pLe(e, t) {+function fLe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = MK.indexOf(jK(e, t));- return n < 0 ? MK.length : n;+ let n = NK.indexOf(MK(e, t));+ return n < 0 ? NK.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function NK(e, t) {+function PK(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 mLe = (e, t) => ({+var pLe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), PK = (e) => e?.size ? { size: e.size } : {};-function hLe(e, t) {+}), FK = (e) => e?.size ? { size: e.size } : {};+function mLe(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: AK(t, e),- ...PK(t)+ source: jK(t, e),+ ...FK(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: AK(a, e),- ...PK(a)+ source: jK(a, e),+ ...FK(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -75922,7 +75930,7 @@ function hLe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var gLe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", FK = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => qo(e, {+var hLe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", IK = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => qo(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -75930,7 +75938,7 @@ var gLe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", FK...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), _Le = [+}), gLe = ["元数据字段","创作者标签","厂牌 Logo",@@ -75940,41 +75948,41 @@ var gLe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", FK"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], vLe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">+], _Le = (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>${_Le.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>+ <div class="reviewtabs" data-section-items>${gLe.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>`, yLe = {+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, vLe = {...Object.fromEntries(Object.keys(VO).map((e) => [`/settings/${e}`, () => Ko()])),"/data-cleanup": () => PB(),"/resource-sync": () => PB(),- "/review": () => vLe(),+ "/review": () => _Le(),"/diagnostics": () => Ko(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${FK("正在读取采集来源", {+ ${IK("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function IK(e, { followLayout: t, followSort: n, followDir: r }) {- return $Ie(e, {+function LK(e, { followLayout: t, followSort: n, followDir: r }) {+ return QIe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (yLe[e] ?? (() => FK("正在读取页面")))();+ }) || (vLe[e] ?? (() => IK("正在读取页面")))();}-var LK = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function RK(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = LK(t);+var RK = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function zK(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = RK(t);(!r || r !== n) && (e.innerHTML = t, ts(e));}//#endregion//#region src/react/components/related-section.tsx-function zK({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {+function BK({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {let s = (0, S.useCallback)((e) => {e && (ts(e), t(e));}, [t]);@@ -76009,7 +76017,7 @@ function zK({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,}//#endregion//#region src/react/components/detail-continuation.tsx-function BK({ queue: e, children: t, editionCards: n }) {+function VK({ queue: e, children: t, editionCards: n }) {return /* @__PURE__ */ (0, C.jsxs)("div", {"data-detail-continuation": "","data-edition-cards": n == null ? void 0 : Math.min(3, n),@@ -76018,7 +76026,7 @@ function BK({ queue: e, children: t, editionCards: n }) {}//#endregion//#region src/react/components/media-carousel.tsx-function VK({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function HK({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, S.useRef)(null), o = e.some((e) => e.video), s = !!i;if ((0, S.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]");@@ -76098,7 +76106,7 @@ function VK({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, C.jsx)(bLe, {+ children: e.map((e, r) => /* @__PURE__ */ (0, C.jsx)(yLe, {item: e,selected: r === t,onSelect: n,@@ -76117,7 +76125,7 @@ function VK({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function bLe({ item: e, selected: t, onSelect: n, render: r }) {+function yLe({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(typeof IntersectionObserver > "u");return (0, S.useEffect)(() => {if (!i.current || a) return;@@ -76144,14 +76152,14 @@ function bLe({ item: e, selected: t, onSelect: n, render: r }) {}//#endregion//#region src/react/follow-detail/follow-related.ts-var xLe = (e, t, n) => [+var bLe = (e, t, n) => ["follow-feed","related",e,t,n];-function HK(e, t, n, r) {+function UK(e, t, n, r) {let i = new Set((t.group ? fi(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 = fi(e);@@ -76166,7 +76174,7 @@ function HK(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 SLe(e, t, n, r) {+async function xLe(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {...bi(i),status: "new",@@ -76180,29 +76188,29 @@ async function SLe(e, t, n, r) {}, t), r);return o.push(n), n;}, c = await s(i, 0);- return HK(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && HK(o, e, t, n).length < n && await s("", 0), {+ return UK(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && UK(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 UK = (e) => Number(e) > 0, CLe = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {+var WK = (e) => Number(e) > 0, SLe = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: z(e) }-}), WK = z("external-link", "ui-externalmark");-function wLe(e) {+}), GK = z("external-link", "ui-externalmark");+function CLe(e) {let { id: t, actions: n } = e, r = ft({- queryKey: EK(t),- queryFn: ({ signal: e }) => OK(t, e)+ queryKey: DK(t),+ queryFn: ({ signal: e }) => kK(t, e)}), i = ft({queryKey: si,queryFn: ({ signal: e }) => ci(e)}), a = (0, S.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, S.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, C.jsx)(DLe, {+ return r.data ? /* @__PURE__ */ (0, C.jsx)(ELe, {...e,data: r.data,- context: mLe(r.data, a),+ context: pLe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, C.jsx)("div", {@@ -76211,9 +76219,9 @@ function wLe(e) {children: /* @__PURE__ */ (0, C.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, C.jsx)(GK, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {+ children: [/* @__PURE__ */ (0, C.jsx)(KK, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? TLe(r.error) ? /* @__PURE__ */ (0, C.jsx)(ELe, { onBack: n.close }) : /* @__PURE__ */ (0, C.jsx)(vI, {+ children: r.isError ? wLe(r.error) ? /* @__PURE__ */ (0, C.jsx)(TLe, { onBack: n.close }) : /* @__PURE__ */ (0, C.jsx)(vI, {message: Pt(r.error),onRetry: () => void r.refetch()}) : null@@ -76221,8 +76229,8 @@ function wLe(e) {})});}-var TLe = (e) => e instanceof DK || e instanceof _n && e.status === 404;-function ELe({ onBack: e }) {+var wLe = (e) => e instanceof OK || e instanceof _n && e.status === 404;+function TLe({ onBack: e }) {return /* @__PURE__ */ (0, C.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -76231,7 +76239,7 @@ function ELe({ onBack: e }) {dangerouslySetInnerHTML: { __html: jo("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var GK = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {+var KK = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -76240,8 +76248,8 @@ var GK = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: z("x") }});-function DLe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = iLe(c, l, n, i), d = NLe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, S.useState)({+function ELe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = rLe(c, l, n, i), d = MLe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, S.useState)({key: "",kind: ""}), h = {@@ -76261,20 +76269,20 @@ function DLe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? aLe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, C.jsx)(YK, {+ let g = !u.embedded.length && u.collection ? iLe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, C.jsx)(XK, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, C.jsx)(YK, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, C.jsx)(XK, {item: g,current: null,helpers: o,actions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, C.jsx)(ALe, {+ }) : /* @__PURE__ */ (0, C.jsx)(kLe, {group: u.collection,itemId: c.id,helpers: o,@@ -76284,14 +76292,14 @@ function DLe({ 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, C.jsx)(kLe, {+ children: [/* @__PURE__ */ (0, C.jsx)(OLe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, C.jsx)(jLe, {+ }, f), /* @__PURE__ */ (0, C.jsx)(ALe, {item: c,data: e,context: t,@@ -76301,9 +76309,9 @@ function DLe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, C.jsx)(BK, {+ }), /* @__PURE__ */ (0, C.jsx)(VK, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, C.jsx)(OLe, {+ children: a > 0 ? /* @__PURE__ */ (0, C.jsx)(DLe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -76313,23 +76321,23 @@ function DLe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function OLe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+function DLe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {let o = ft({- queryKey: xLe(e.item.id, t, n),- queryFn: ({ signal: r }) => SLe(e, t, n, r)- }), [s] = (0, S.useState)(() => FK("正在读取推荐", {+ queryKey: bLe(e.item.id, t, n),+ queryFn: ({ signal: r }) => xLe(e, t, n, r)+ }), [s] = (0, S.useState)(() => IK("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, S.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: () => !1- }), [a]), l = HK(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {+ }), [a]), l = UK(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, C.jsx)(zK, {+ return /* @__PURE__ */ (0, C.jsx)(BK, {"data-follow-related": "",wireDrag: i.wireDrag,busy: o.isPending,@@ -76342,7 +76350,7 @@ function OLe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }variant: "next",group: e,media: t,- authorSources: NK(e.primary, u),+ authorSources: PK(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -76355,8 +76363,8 @@ function OLe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function kLe({ 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, S.useRef)(null), p = hLe(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, S.useState)(g), b = (0, S.useRef)({+function OLe({ 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, S.useRef)(null), p = mLe(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, S.useState)(g), b = (0, S.useRef)({item: e,selected: o}), x = (0, S.useRef)(i.failed);@@ -76370,7 +76378,7 @@ function kLe({ 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, C.jsx)(GK, { onClose: n.close }),+ /* @__PURE__ */ (0, C.jsx)(KK, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, C.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,@@ -76388,7 +76396,7 @@ function kLe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {dangerouslySetInnerHTML: { __html: qF(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, C.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, C.jsx)(VK, {+ u ? /* @__PURE__ */ (0, C.jsx)(HK, {items: c,position: l,onSelect: r,@@ -76405,11 +76413,11 @@ function kLe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var KK = ({ kind: e }) => /* @__PURE__ */ (0, C.jsx)("span", {+var qK = ({ kind: e }) => /* @__PURE__ */ (0, C.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: z(e === "image" ? "image-off" : "play") }});-function qK({ src: e }) {+function JK({ src: e }) {let [t, n] = (0, S.useState)(!1);return t ? null : /* @__PURE__ */ (0, C.jsx)("img", {src: e,@@ -76419,13 +76427,13 @@ function qK({ src: e }) {onError: () => n(!0)});}-function JK(e) {+function YK(e) {return (0, S.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function ALe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = xi(e), a = JK(n);+function kLe({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = xi(e), a = YK(n);return /* @__PURE__ */ (0, C.jsx)(ZI, {kind: "collection","data-follow-queue": "",@@ -76434,12 +76442,12 @@ function ALe({ group: e, itemId: t, helpers: n, actions: r }) {listRef: a,summary: `${YF(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = lLe(e, n, i ? n.provider_label : ""), o = i ? qF(n.provider, n.provider_label) : "";+ let i = e.duplicates.includes(n), a = cLe(e, n, i ? n.provider_label : ""), o = i ? qF(n.provider, n.provider_label) : "";return /* @__PURE__ */ (0, C.jsxs)(QI, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(qK, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(KK, { kind: "video" }), UK(n.duration) ? /* @__PURE__ */ (0, C.jsx)("i", {+ pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(JK, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(qK, { kind: "video" }), WK(n.duration) ? /* @__PURE__ */ (0, C.jsx)("i", {className: "mono","data-mix-item-duration": "",children: rn(n.duration)@@ -76464,8 +76472,8 @@ function ALe({ group: e, itemId: t, helpers: n, actions: r }) {})});}-function YK({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = JK(r), c = [];+function XK({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = YK(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -76491,10 +76499,10 @@ function YK({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,"data-follow-media-item": n.index,"data-media-kind": n.media_kind || "",onClick: () => l(n),- pic: n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(qK, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(KK, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(JK, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(qK, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, C.jsx)("b", {"data-middle-truncate": "",- children: uLe(n)+ children: lLe(n)}), /* @__PURE__ */ (0, C.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -76502,13 +76510,13 @@ function YK({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function jLe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function ALe({ 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 = tI(d, e), p = $F(e, NK(e, t.sources), n), m = p.credited ? "" : e.author && Qt(e.author) !== Qt(p.author) ? e.author : "", h = nI(e, n), g = pLe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {+ }, f = tI(d, e), p = $F(e, PK(e, t.sources), n), m = p.credited ? "" : e.author && Qt(e.author) !== Qt(p.author) ? e.author : "", h = nI(e, n), g = fLe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -76532,7 +76540,7 @@ function jLe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: WK }+ dangerouslySetInnerHTML: { __html: GK }}) : null]}),/* @__PURE__ */ (0, C.jsxs)("div", {@@ -76541,7 +76549,7 @@ function jLe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-reveal-line": "",children: [/* @__PURE__ */ (0, C.jsx)("span", { children: iI(e) }),- UK(e.duration) ? /* @__PURE__ */ (0, C.jsx)("span", { children: rn(e.duration) }) : null,+ WK(e.duration) ? /* @__PURE__ */ (0, C.jsx)("span", { children: rn(e.duration) }) : null,f ? /* @__PURE__ */ (0, C.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -76590,7 +76598,7 @@ function jLe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, C.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, C.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, C.jsx)(MLe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, C.jsx)(jLe, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, C.jsx)("p", {"data-follow-media-issue": "",children: h@@ -76613,9 +76621,9 @@ function jLe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [cLe(e), /* @__PURE__ */ (0, C.jsx)("span", {+ children: [sLe(e), /* @__PURE__ */ (0, C.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: WK }+ dangerouslySetInnerHTML: { __html: GK }})]}, e))}) : null,@@ -76715,7 +76723,7 @@ function jLe({ 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, C.jsx)(qK, { src: e.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(CLe, { name: "image-off" }), /* @__PURE__ */ (0, C.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, C.jsx)(JK, { src: e.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(SLe, { name: "image-off" }), /* @__PURE__ */ (0, C.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]}, e.index))})]}) : null,@@ -76729,7 +76737,7 @@ function jLe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-follow-detail-tags": "",children: g.map((t) => /* @__PURE__ */ (0, C.jsx)("button", {type: "button",- "data-tag-cat": fLe(e, t),+ "data-tag-cat": dLe(e, t),"data-follow-tag": t,onClick: () => s.openTag(t),children: o.tagLabel(t)@@ -76739,7 +76747,7 @@ function jLe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function MLe({ text: e }) {+function jLe({ text: e }) {let t = (0, S.useRef)(null), [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(!1);return (0, S.useLayoutEffect)(() => {let e = t.current;@@ -76762,8 +76770,8 @@ function MLe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function NLe(e, t, n) {- let r = e.id, i = EK(r), [a, o] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (e, t) => o((n) => {+function MLe(e, t, n) {+ let r = e.id, i = DK(r), [a, o] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {@@ -76782,7 +76790,7 @@ function NLe(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && rW(), t.toast(gLe(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && rW(), t.toast(hLe(n), { undo: i === "saved" ? void 0 : async () => {await U(Vn, {item: r,to: i@@ -76792,7 +76800,7 @@ function NLe(e, t, n) {onError: d,onSettled: (e, t, { to: n }) => l(n, !1)}), p = pt({- mutationFn: () => U(tLe, { item: r }),+ mutationFn: () => U(eLe, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到账本");},@@ -76800,7 +76808,7 @@ function NLe(e, t, n) {onSettled: () => l("save", !1)}), m = pt({mutationFn: async ({ index: e, hidden: t }) => {- await U(nLe, {+ await U(tLe, {item: r,media: e,hidden: t@@ -76861,7 +76869,7 @@ function NLe(e, t, n) {}//#endregion//#region src/react/components/identity-cell.tsx-function XK({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+function ZK({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, C.jsx)("span", {"data-id-face": "",dangerouslySetInnerHTML: { __html: `<span>${B(un(t.name))}</span>` + ga({@@ -76904,7 +76912,7 @@ function XK({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: s});}-function ZK({ people: e, onOpen: t }) {+function QK({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {className: "contents",@@ -76938,7 +76946,7 @@ function ZK({ people: e, onOpen: t }) {}//#endregion//#region src/react/components/folded-title.ts-function QK(e) {+function $K(e) {let t = (0, S.useRef)(null), [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(!1);return (0, S.useLayoutEffect)(() => {let e = t.current;@@ -76956,7 +76964,7 @@ function QK(e) {}//#endregion//#region src/react/components/source-picture.tsx-function $K({ item: e, image: t, thumbnail: n = !1 }) {+function eq({ item: e, image: t, thumbnail: n = !1 }) {let r = t === "cover" && e.has_cover, i = !r && (t !== "cover" || e.source_image), a = ft({queryKey: ["jav-image",@@ -76999,9 +77007,9 @@ function $K({ item: e, image: t, thumbnail: n = !1 }) {}//#endregion//#region src/react/item-detail/catalog-picture.tsx-function eq({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function tq({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(0);- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, C.jsx)($K, {+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, C.jsx)(eq, {item: {code: e.code,has_cover: !1,@@ -77034,31 +77042,31 @@ function eq({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}//#endregion//#region src/react/jav-detail/jav-detail.ts-var tq = (e) => ["jav-detail", e], nq = (e, t, n = !1) => H(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), PLe = (e, t, n, r = !1) => H(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), rq = (e, t) => W.ensureQueryData({- queryKey: tq(e.code),- queryFn: () => nq(e.code, t),+var nq = (e) => ["jav-detail", e], rq = (e, t, n = !1) => H(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), NLe = (e, t, n, r = !1) => H(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), iq = (e, t) => W.ensureQueryData({+ queryKey: nq(e.code),+ queryFn: () => rq(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function FLe(e, t) {+function PLe(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 iq = "peach.external-player.v1", aq = [+var aq = "peach.external-player.v1", oq = [["m3u", "M3U 播放列表"],["vlc-ios", "VLC(iPhone / iPad)"],["iina", "IINA(Mac)"]];-function ILe(e, t, n) {+function FLe(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 oq({ id: e }) {+function sq({ id: e }) {let [t, n] = (0, S.useState)(() => {try {- return aq.find(([e]) => e === localStorage.getItem(iq))?.[0] || "m3u";+ return oq.find(([e]) => e === localStorage.getItem(aq))?.[0] || "m3u";} catch {return "m3u";}@@ -77067,14 +77075,14 @@ function oq({ id: e }) {/* @__PURE__ */ (0, C.jsx)(XW, {id: `external-player-${e}`,label: "此设备的外部播放器",- options: aq,+ options: oq,value: t,epoch: 0,onPick: (e) => {- let t = aq.find(([t]) => t === e)?.[0] || "m3u";+ let t = oq.find(([t]) => t === e)?.[0] || "m3u";n(t);try {- localStorage.setItem(iq, t);+ localStorage.setItem(aq, t);} catch {}}}),@@ -77090,9 +77098,9 @@ function oq({ id: e }) {a.error ? /* @__PURE__ */ (0, C.jsx)(NA, { children: a.error }) : null,r ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("a", {- href: ILe(t, r.url, r.playlist),+ href: FLe(t, r.url, r.playlist),rel: "noreferrer",- children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${aq.find(([e]) => e === t)?.[1]}`+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${oq.find(([e]) => e === t)?.[1]}`}),/* @__PURE__ */ (0, C.jsx)(bP, {label: "网络播放地址",@@ -77105,25 +77113,25 @@ function oq({ id: e }) {}//#endregion//#region src/react/components/overlay-host.ts-function LLe(e) {+function ILe(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 RLe(e) {+function LLe(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return LLe(n ?? t.body);+ return ILe(n ?? t.body);}//#endregion//#region src/react/cover-crop/cover-crop.ts-var zLe = "/api/cover-crop", BLe = (e, t) => U(zLe, {+var RLe = "/api/cover-crop", zLe = (e, t) => U(RLe, {code: e,box: t});//#endregion//#region src/react/cover-crop/cover-crop-page.tsx-function sq({ className: e }) {+function cq({ className: e }) {return /* @__PURE__ */ (0, C.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -77136,7 +77144,7 @@ function sq({ className: e }) {children: /* @__PURE__ */ (0, C.jsx)("use", { href: "#i-crop" })});}-function VLe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function BLe({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, S.useState)(!1), o = (0, S.useRef)(null);return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("button", {ref: o,@@ -77147,15 +77155,15 @@ function VLe({ 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, C.jsx)(sq, { className: "size-3.75" })+ children: /* @__PURE__ */ (0, C.jsx)(cq, { className: "size-3.75" })}), /* @__PURE__ */ (0, C.jsx)(NS, {- getContainer: () => RLe(o.current),+ getContainer: () => LLe(o.current),children: /* @__PURE__ */ (0, C.jsx)(xP, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, C.jsx)(HLe, {+ children: /* @__PURE__ */ (0, C.jsx)(VLe, {code: e,coverUrl: t,box: n,@@ -77165,9 +77173,9 @@ function VLe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function HLe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+function VLe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {let [a, o] = (0, S.useState)(null), [s, c] = (0, S.useState)(null), [l, u] = (0, S.useState)(!0), d = YP(), f = pt({- mutationFn: (t) => BLe(e, t),+ mutationFn: (t) => zLe(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -77187,7 +77195,7 @@ function HLe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, C.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, C.jsx)(SP, { children: /* @__PURE__ */ (0, C.jsx)(sq, { className: "size-6" }) }),+ /* @__PURE__ */ (0, C.jsx)(SP, { children: /* @__PURE__ */ (0, C.jsx)(cq, { className: "size-6" }) }),/* @__PURE__ */ (0, C.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [@@ -77263,14 +77271,14 @@ function HLe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}//#endregion//#region src/react/item-detail/item-detail-page.tsx-var cq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {+var lq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: z(e) }-}), lq = ({ html: e }) => /* @__PURE__ */ (0, C.jsx)("span", {+}), uq = ({ html: e }) => /* @__PURE__ */ (0, C.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), uq = (e) => Number(e) > 0 ? on(Number(e)) : "大小未知";-function ULe(e) {+}), dq = (e) => Number(e) > 0 ? on(Number(e)) : "大小未知";+function HLe(e) {let { queue: t, actions: n } = e, r = ft({queryKey: t ? SD(t) : ["item-queue", "none"],queryFn: ({ signal: n }) => DD(t, e.helpers, n),@@ -77288,7 +77296,7 @@ function ULe(e) {children: /* @__PURE__ */ (0, C.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, C.jsx)(dq, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {+ children: [/* @__PURE__ */ (0, C.jsx)(fq, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {"data-item-placeholder": "",children: e ? /* @__PURE__ */ (0, C.jsx)(vI, {message: Pt(e),@@ -77300,13 +77308,13 @@ function ULe(e) {})});}- return /* @__PURE__ */ (0, C.jsx)(WLe, {+ return /* @__PURE__ */ (0, C.jsx)(ULe, {...e,item: yfe(o.data, i),queue: i}, o.data.id);}-var dq = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {+var fq = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -77315,8 +77323,8 @@ var dq = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: z("x") }});-function WLe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = oRe(t, r, i.tagLabel), o = (0, S.useRef)(t);+function ULe(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = aRe(t, r, i.tagLabel), o = (0, S.useRef)(t);(0, S.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, S.useEffect)(() => {@@ -77331,7 +77339,7 @@ function WLe(e) {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, C.jsx)(GLe, {+ children: [/* @__PURE__ */ (0, C.jsx)(WLe, {item: t,gate: s,helpers: i,@@ -77344,22 +77352,22 @@ function WLe(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, C.jsx)(XLe, {+ }), /* @__PURE__ */ (0, C.jsx)(YLe, {item: t,queue: n,write: a,helpers: i,actions: r})]- }), /* @__PURE__ */ (0, C.jsx)(BK, {+ }), /* @__PURE__ */ (0, C.jsx)(VK, {editionCards: n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, C.jsx)(qLe, {+ queue: n ? /* @__PURE__ */ (0, C.jsx)(KLe, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, C.jsx)(aRe, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, C.jsx)(iRe, {...e,item: n ? {...t,@@ -77368,12 +77376,12 @@ function WLe(e) {}) : null})] });}-function GLe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+function WLe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, S.useState)(t ? "" : "auto"), c = (0, S.useRef)(null), [l, u] = (0, S.useState)(-2), d = (0, S.useRef)(!1), f = ft({- queryKey: tq(e.code || ""),+ queryKey: nq(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, nq(e.code, t, n);+ return d.current = !1, rq(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -77418,26 +77426,26 @@ function GLe({ 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, C.jsx)(dq, { onClose: r.close }),+ /* @__PURE__ */ (0, C.jsx)(fq, { onClose: r.close }),h ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, C.jsx)(cq, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, C.jsx)(lq, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}),- l === -2 ? null : /* @__PURE__ */ (0, C.jsx)(eq, {+ l === -2 ? null : /* @__PURE__ */ (0, C.jsx)(tq, {item: e,image: l,source: p.find((e) => e.index === l)?.source}, l),- /* @__PURE__ */ (0, C.jsx)(VK, {+ /* @__PURE__ */ (0, C.jsx)(HK, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, C.jsx)(eq, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, C.jsx)(tq, {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,@@ -77462,7 +77470,7 @@ function GLe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "重试样图"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, C.jsx)(KLe, {+ t === "offline" ? /* @__PURE__ */ (0, C.jsx)(GLe, {item: e,badge: y,helpers: n,@@ -77473,14 +77481,14 @@ function GLe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, C.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, C.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, C.jsx)(oq, { id: e.id })+ /* @__PURE__ */ (0, C.jsx)(sq, { id: e.id })]}) : t === "online" ? /* @__PURE__ */ (0, C.jsxs)("div", {id: "onlineGate",role: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, C.jsx)(lq, { html: y }),+ /* @__PURE__ */ (0, C.jsx)(uq, { html: y }),/* @__PURE__ */ (0, C.jsx)("b", { children: "在线资产" }),/* @__PURE__ */ (0, C.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, C.jsx)("button", {@@ -77495,12 +77503,12 @@ function GLe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, C.jsx)(lq, { html: y }), /* @__PURE__ */ (0, C.jsxs)("span", { children: ["点此开始拉流 · ", uq(e.size)] })]+ children: [/* @__PURE__ */ (0, C.jsx)(uq, { html: y }), /* @__PURE__ */ (0, C.jsxs)("span", { children: ["点此开始拉流 · ", dq(e.size)] })]}) : null]});}-function KLe({ item: e, badge: t, helpers: n, actions: r }) {+function GLe({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -77511,7 +77519,7 @@ function KLe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, C.jsx)(lq, { html: t }),+ /* @__PURE__ */ (0, C.jsx)(uq, { html: t }),/* @__PURE__ */ (0, C.jsx)("b", { children: "脱盘模式" }),/* @__PURE__ */ (0, C.jsx)("span", { children: n.offlineReason(e.location || "") }),/* @__PURE__ */ (0, C.jsx)("button", {@@ -77525,8 +77533,8 @@ function KLe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function qLe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Ffe(e), a = (0, S.useRef)(null), o = YLe(e, t, r), s = (0, S.useRef)(o);+function KLe({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = Ffe(e), a = (0, S.useRef)(null), o = JLe(e, t, r), s = (0, S.useRef)(o);s.current = o;let c = (0, S.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -77534,7 +77542,7 @@ function qLe({ 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 = JLe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, C.jsx)("button", {+ }, [n, e.kind]), l = qLe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, C.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表",@@ -77576,25 +77584,25 @@ function qLe({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(lq, { html: Da(i, n.javImage()) }), /* @__PURE__ */ (0, C.jsx)("i", {+ pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(uq, { html: Da(i, n.javImage()) }), /* @__PURE__ */ (0, C.jsx)("i", {className: "mono","data-mix-item-duration": "",children: rn(i.duration)})] }),- lead: /* @__PURE__ */ (0, C.jsx)(lq, { html: Aa(i) }),+ lead: /* @__PURE__ */ (0, C.jsx)(uq, { html: Aa(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, C.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, C.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, C.jsx)(cq, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "grip-vertical" })}), /* @__PURE__ */ (0, C.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, C.jsx)(cq, { name: "x" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, C.jsxs)("span", {@@ -77611,7 +77619,7 @@ function qLe({ queue: e, itemId: t, helpers: n, actions: r }) {})});}-function JLe(e, t) {+function qLe(e, t) {let n = pt({ mutationFn: (t) => U(CD, {action: "create",name: t,@@ -77625,7 +77633,7 @@ function JLe(e, t) {save: (e) => n.mutateAsync(e)});}-function YLe(e, t, n) {+function JLe(e, t, n) {let r = SD({kind: "playlist",playlistId: e.playlistId@@ -77688,7 +77696,7 @@ function YLe(e, t, n) {}};}-function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function YLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, S.useState)(!1);return /* @__PURE__ */ (0, C.jsx)("div", {"data-stage-side": "",@@ -77696,7 +77704,7 @@ function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, C.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, C.jsx)(ZLe, {+ /* @__PURE__ */ (0, C.jsx)(XLe, {item: e,queue: t,helpers: r,@@ -77708,7 +77716,7 @@ function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, C.jsx)($Le, {+ /* @__PURE__ */ (0, C.jsx)(QLe, {item: e,write: n}),@@ -77719,7 +77727,7 @@ function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, C.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, C.jsx)(cq, { name: "monitor" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, C.jsx)(lq, { name: "monitor" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [e.width,"×",e.height@@ -77727,11 +77735,11 @@ function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, C.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, C.jsx)(cq, { name: "hard-drive" }), /* @__PURE__ */ (0, C.jsx)("span", { children: uq(e.size) })]+ children: [/* @__PURE__ */ (0, C.jsx)(lq, { name: "hard-drive" }), /* @__PURE__ */ (0, C.jsx)("span", { children: dq(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, C.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, C.jsx)(cq, { name: "calendar" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, C.jsx)(lq, { name: "calendar" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, C.jsxs)("button", {type: "button",@@ -77739,16 +77747,16 @@ function XLe({ 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, C.jsx)(cq, { name: "globe" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, C.jsx)(lq, { name: "globe" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- /* @__PURE__ */ (0, C.jsx)(eRe, {+ /* @__PURE__ */ (0, C.jsx)($Le, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, C.jsx)(tRe, {+ /* @__PURE__ */ (0, C.jsx)(eRe, {item: e,write: n,helpers: r,@@ -77760,8 +77768,8 @@ function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {W.invalidateQueries({ queryKey: xD(e.id) });}}),- /* @__PURE__ */ (0, C.jsx)(rRe, { item: e }),- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, C.jsx)(oq, { id: e.id }, e.id) : null,+ /* @__PURE__ */ (0, C.jsx)(nRe, { item: e }),+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, C.jsx)(sq, { id: e.id }, e.id) : null,/* @__PURE__ */ (0, C.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -77775,7 +77783,7 @@ function XLe({ 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, C.jsx)(cq, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "thumbs-up" })}),/* @__PURE__ */ (0, C.jsx)("button", {type: "button",@@ -77787,7 +77795,7 @@ function XLe({ 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, C.jsx)(cq, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "notebook-pen" })}),/* @__PURE__ */ (0, C.jsx)("button", {type: "button",@@ -77798,7 +77806,7 @@ function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, C.jsx)(cq, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "thumbs-down" })}),/* @__PURE__ */ (0, C.jsx)("button", {type: "button",@@ -77809,7 +77817,7 @@ function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, C.jsx)(cq, { name: "eye" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "eye" })}),/* @__PURE__ */ (0, C.jsx)("button", {type: "button",@@ -77820,7 +77828,7 @@ function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, C.jsx)(cq, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, C.jsx)("button", {type: "button",@@ -77829,7 +77837,7 @@ function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, C.jsx)(cq, { name: "playlist" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "playlist" })}),/* @__PURE__ */ (0, C.jsx)("button", {type: "button",@@ -77840,7 +77848,7 @@ function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, C.jsx)(cq, { name: "sparkles" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "sparkles" })}),/* @__PURE__ */ (0, C.jsx)("button", {type: "button",@@ -77851,11 +77859,11 @@ function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, C.jsx)(cq, { name: "trash" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "trash" })})]}),- /* @__PURE__ */ (0, C.jsx)(iRe, {+ /* @__PURE__ */ (0, C.jsx)(rRe, {item: e,open: s,write: n@@ -77866,7 +77874,7 @@ function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, C.jsx)(cq, { name: "sperm" }),+ /* @__PURE__ */ (0, C.jsx)(lq, { name: "sperm" }),/* @__PURE__ */ (0, C.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, C.jsx)("b", {className: "mono",@@ -77879,8 +77887,8 @@ function XLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function ZLe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = QK(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Ife(e, t);+function XLe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = $K(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Ife(e, t);return /* @__PURE__ */ (0, C.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, C.jsxs)("div", {@@ -77907,11 +77915,11 @@ function ZLe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, C.jsx)(cq, { name: o ? "chevron-up" : "chevron-down" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: o ? "chevron-up" : "chevron-down" })}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, C.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, C.jsx)(VLe, {+ children: /* @__PURE__ */ (0, C.jsx)(BLe, {code: e.cover_key || e.code || "",coverUrl: fa(e),box: e.poster_box || null,@@ -77923,7 +77931,7 @@ function ZLe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, C.jsx)(QLe, {+ e.location === "online" ? null : /* @__PURE__ */ (0, C.jsx)(ZLe, {id: e.id,actions: r,onStatus: i@@ -77933,7 +77941,7 @@ function ZLe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function QLe({ id: e, actions: t, onStatus: n }) {+function ZLe({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, S.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -77963,10 +77971,10 @@ function QLe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, C.jsx)(cq, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "folder-sync" })})] });}-function $Le({ item: e, write: t }) {+function QLe({ item: e, write: t }) {let n = kD(e.rating);return /* @__PURE__ */ (0, C.jsxs)("div", {id: "detailRating",@@ -77990,7 +77998,7 @@ function $Le({ item: e, write: t }) {"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,...t.busyAttrs(`rate:${e}`),onClick: () => t.rate(e),- children: /* @__PURE__ */ (0, C.jsx)(cq, { name: "star" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "star" })}, e))}), /* @__PURE__ */ (0, C.jsx)("span", {"data-rating-value": "",@@ -77999,10 +78007,10 @@ function $Le({ item: e, write: t }) {})]});}-function eRe({ item: e, actions: t }) {+function $Le({ item: e, actions: t }) {let n = (0, S.useMemo)(() => Sfe(e), [e]), [r, i] = (0, S.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, C.jsx)(XK, {+ return /* @__PURE__ */ (0, C.jsx)(ZK, {kind: e,person: n,onOpen: t.openEntity,@@ -78034,7 +78042,7 @@ function eRe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, C.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, C.jsx)(cq, { name: "user-round" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "user-round" })}), /* @__PURE__ */ (0, C.jsx)("span", {"data-id-name": "",children: "未归属"@@ -78065,13 +78073,13 @@ function eRe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, C.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, C.jsx)(ZK, {+ }) : null, /* @__PURE__ */ (0, C.jsx)(QK, {people: n.series,onOpen: t.openEntity})]});}-function tRe({ item: e, write: t, helpers: n, actions: r }) {+function eRe({ item: e, write: t, helpers: n, actions: r }) {let i = Efe(e, n);return /* @__PURE__ */ (0, C.jsxs)("div", {"data-stage-tags": "",@@ -78092,16 +78100,16 @@ function tRe({ 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, C.jsx)(cq, { name: "x" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, C.jsx)(nRe, {+ }, e.k)), /* @__PURE__ */ (0, C.jsx)(tRe, {item: e,write: t,helpers: n})]});}-function nRe({ item: e, write: t, helpers: n }) {+function tRe({ item: e, write: t, helpers: n }) {let r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(!1), [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(-1), h = (0, S.useCallback)(() => {i.current && to(i.current), c(!1);}, []);@@ -78151,7 +78159,7 @@ function nRe({ item: e, write: t, helpers: n }) {"aria-pressed": i,onClick: () => v(t, i),children: [- /* @__PURE__ */ (0, C.jsx)(cq, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, C.jsx)(lq, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, C.jsx)("span", {"data-pick-name": "",children: n.tagLabel(t.k)@@ -78174,7 +78182,7 @@ function nRe({ item: e, write: t, helpers: n }) {onClick: () => {i.current && (eo(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));},- children: /* @__PURE__ */ (0, C.jsx)(cq, { name: "plus" })+ children: /* @__PURE__ */ (0, C.jsx)(lq, { name: "plus" })}), /* @__PURE__ */ (0, C.jsxs)("div", {ref: i,id: "tagPicker",@@ -78184,7 +78192,7 @@ function nRe({ item: e, write: t, helpers: n }) {hidden: !0,children: [/* @__PURE__ */ (0, C.jsxs)("label", {"data-tag-search": "",- children: [/* @__PURE__ */ (0, C.jsx)(cq, { name: "search" }), /* @__PURE__ */ (0, C.jsx)("input", {+ children: [/* @__PURE__ */ (0, C.jsx)(lq, { name: "search" }), /* @__PURE__ */ (0, C.jsx)("input", {ref: a,id: "tagPickSearch",maxLength: 80,@@ -78225,7 +78233,7 @@ function nRe({ item: e, write: t, helpers: n }) {onClick: () => {h(), t.addTag(g.create);},- children: [/* @__PURE__ */ (0, C.jsx)(cq, { name: "plus" }), /* @__PURE__ */ (0, C.jsxs)("span", {+ children: [/* @__PURE__ */ (0, C.jsx)(lq, { name: "plus" }), /* @__PURE__ */ (0, C.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -78240,7 +78248,7 @@ function nRe({ item: e, write: t, helpers: n }) {})]})] });}-function rRe({ item: e }) {+function nRe({ item: e }) {let t = Bfe(e);return /* @__PURE__ */ (0, C.jsxs)("div", {"data-item-trace": "",@@ -78275,7 +78283,7 @@ function rRe({ item: e }) {})]});}-function iRe({ item: e, open: t, write: n }) {+function rRe({ item: e, open: t, write: n }) {let [r, i] = (0, S.useState)(e.like_reason || ""), a = (0, S.useRef)(null);(0, S.useEffect)(() => {t && a.current?.focus();@@ -78314,12 +78322,12 @@ function iRe({ item: e, open: t, write: n }) {})]});}-function aRe(e) {+function iRe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = ft({queryKey: ufe(t.id, n),queryFn: async ({ signal: e }) => (await H(ffe(t.id, n), e)).items || []}), [o] = (0, S.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, C.jsx)(zK, {+ return /* @__PURE__ */ (0, C.jsx)(BK, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,@@ -78340,10 +78348,10 @@ function aRe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, C.jsx)(lq, { html: o })+ }) : /* @__PURE__ */ (0, C.jsx)(uq, { html: o })});}-function oRe(e, t, n) {+function aRe(e, t, n) {let r = e.id, i = xD(r), [a, o] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;@@ -78485,10 +78493,10 @@ function oRe(e, t, n) {}//#endregion//#region src/react/jav-detail/review-cache.ts-var fq = "peach.jav-reviews.v1";-function pq() {+var pq = "peach.jav-reviews.v1";+function mq() {try {- let e = localStorage.getItem(fq) || "[]";+ let e = localStorage.getItem(pq) || "[]";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")) : [];@@ -78496,18 +78504,18 @@ function pq() {return [];}}-function sRe(e, t) {+function oRe(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- }, ...pq().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(fq, i);+ }, ...mq().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(pq, i);} catch {}}-function cRe(e, t) {- let n = pq(), r = [], i = Infinity;+function sRe(e, t) {+ let n = mq(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);if (!o || !cW(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;@@ -78518,17 +78526,17 @@ function cRe(e, t) {saved: i} : void 0;}-function lRe(e, t, n) {+function cRe(e, t, n) {return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && cW(Date.parse(e.checked_at || "") || t, n));}//#endregion//#region src/react/jav-detail/jav-detail-page.tsx-function uRe(e) {+function lRe(e) {let t = (0, S.useRef)(!1), n = ft({- queryKey: tq(e.code),+ queryKey: nq(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, nq(e.code, n, r);+ return t.current = !1, rq(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -78538,21 +78546,21 @@ function uRe(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, C.jsx)(dRe, {+ children: n.data ? /* @__PURE__ */ (0, C.jsx)(uRe, {...e,item: n.data,retry: r,retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, C.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, C.jsx)(mq, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, C.jsx)(vI, {+ children: [/* @__PURE__ */ (0, C.jsx)(hq, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, C.jsx)(vI, {message: V(n.error),onRetry: r}) : null]})});}-var mq = ({ close: e }) => /* @__PURE__ */ (0, C.jsx)("button", {+var hq = ({ close: e }) => /* @__PURE__ */ (0, C.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -78561,7 +78569,7 @@ var mq = ({ close: e }) => /* @__PURE__ */ (0, C.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: z("x") }});-function dRe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function uRe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, S.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, S.useEffect)(() => {@@ -78583,7 +78591,7 @@ function dRe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a}] : []], [l, u] = (0, S.useState)(null), [d, f] = (0, S.useState)(t.want_id), p = SA(), m = () => {p.run("want", async (e) => d ? (await nW([d], e), null) : (await tW({ code: t.code }, e)).want.id, (t) => {- f(t), W.setQueryData(tq(e), (e) => e && {+ f(t), W.setQueryData(nq(e), (e) => e && {...e,wanted: !!t,want_id: t@@ -78596,24 +78604,24 @@ function dRe({ 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, C.jsx)(mq, { close: n.close }),+ /* @__PURE__ */ (0, C.jsx)(hq, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, C.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, C.jsx)(hq, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, C.jsx)(gq, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, C.jsx)(mRe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, C.jsx)($K, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, C.jsx)(pRe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, C.jsx)(eq, {item: t,image: o === -1 ? "cover" : String(o)}, o),- /* @__PURE__ */ (0, C.jsx)(VK, {+ /* @__PURE__ */ (0, C.jsx)(HK, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, C.jsx)($K, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, C.jsx)(eq, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -78627,32 +78635,32 @@ function dRe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, C.jsx)(fRe, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(_q, { score: Number(t.score) }) : null,+ /* @__PURE__ */ (0, C.jsx)(dRe, { item: t }),+ Number(t.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(vq, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, C.jsxs)("div", {className: "mono","data-stage-meta": "",- children: [/* @__PURE__ */ (0, C.jsx)(gq, {+ children: [/* @__PURE__ */ (0, C.jsx)(_q, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, C.jsx)(gq, {+ }), /* @__PURE__ */ (0, C.jsx)(_q, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, C.jsx)(pRe, {+ /* @__PURE__ */ (0, C.jsx)(fRe, {item: t,navigate: n.navigate}),/* @__PURE__ */ (0, C.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, C.jsx)(gq, {+ children: [/* @__PURE__ */ (0, C.jsx)(_q, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, C.jsx)(gq, {+ }), /* @__PURE__ */ (0, C.jsx)(_q, {glyph: "clapperboard",label: "导演",value: t.director@@ -78726,12 +78734,12 @@ function dRe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: atone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, C.jsx)(hRe, {+ /* @__PURE__ */ (0, C.jsx)(mRe, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, C.jsx)(gRe, {+ /* @__PURE__ */ (0, C.jsx)(hRe, {item: t,actions: n,readOnly: r@@ -78746,17 +78754,17 @@ function dRe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})] });}-var hq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {+var gq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {className: "contents","aria-hidden": "true",dangerouslySetInnerHTML: { __html: z(e) }-}), gq = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, C.jsxs)("span", {+}), _q = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, C.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, C.jsx)(hq, { name: e }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, C.jsx)(gq, { name: e }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]}) : null;-function fRe({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = QK(e.title), a = e.title === e.code ? "" : e.title;+function dRe({ item: e }) {+ let { text: t, expanded: n, foldable: r, toggle: i } = $K(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, C.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, C.jsx)("h1", {@@ -78782,12 +78790,12 @@ function fRe({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, C.jsx)(hq, { name: n ? "chevron-up" : "chevron-down" })+ children: /* @__PURE__ */ (0, C.jsx)(gq, { name: n ? "chevron-up" : "chevron-down" })})})]});}-function _q({ score: e, review: t = !1 }) {+function vq({ score: e, review: t = !1 }) {let n = Math.max(0, Math.min(5, e));return /* @__PURE__ */ (0, C.jsxs)("div", {"data-item-rating": "",@@ -78811,10 +78819,10 @@ function _q({ score: e, review: t = !1 }) {"data-on": String(t === 1),children: /* @__PURE__ */ (0, C.jsxs)("span", {"data-rating-icon": "",- children: [/* @__PURE__ */ (0, C.jsx)(hq, { name: "star" }), /* @__PURE__ */ (0, C.jsx)("span", {+ children: [/* @__PURE__ */ (0, C.jsx)(gq, { name: "star" }), /* @__PURE__ */ (0, C.jsx)("span", {"data-rating-fill": "",style: { width: `${t * 100}%` },- children: /* @__PURE__ */ (0, C.jsx)(hq, { name: "star" })+ children: /* @__PURE__ */ (0, C.jsx)(gq, { name: "star" })})]})}, e);@@ -78825,7 +78833,7 @@ function _q({ score: e, review: t = !1 }) {})]});}-function pRe({ item: e, navigate: t }) {+function fRe({ item: e, navigate: t }) {let n = (e, n) => t(Ut(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, C.jsxs)("section", {"data-id-group": t,"data-id-gender": a,@@ -78834,7 +78842,7 @@ function pRe({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, C.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, C.jsx)(XK, {+ children: i.map((r) => /* @__PURE__ */ (0, C.jsx)(ZK, {kind: t,person: {...r,@@ -78858,7 +78866,7 @@ function pRe({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, C.jsx)(ZK, {+ }), /* @__PURE__ */ (0, C.jsx)(QK, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -78867,7 +78875,7 @@ function pRe({ item: e, navigate: t }) {})]});}-function mRe({ src: e }) {+function pRe({ src: e }) {let t = (0, S.useRef)(null), [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(0);return (0, S.useLayoutEffect)(() => {let n = t.current, i = document.createElement("video");@@ -78891,8 +78899,8 @@ function mRe({ src: e }) {}) : null});}-function hRe({ code: e, count: t, released: n }) {- let r = T(), [i, a] = (0, S.useState)(!1), o = (0, S.useMemo)(() => cRe(e, n), [e, n]), s = (0, S.useRef)(!1), c = mt({+function mRe({ code: e, count: t, released: n }) {+ let r = T(), [i, a] = (0, S.useState)(!1), o = (0, S.useMemo)(() => sRe(e, n), [e, n]), s = (0, S.useRef)(!1), c = mt({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -78901,12 +78909,12 @@ function hRe({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => lRe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => cRe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await PLe(e, n, t, s.current);- if (sRe(e, i), !i.ok || i.cache_stale) {+ let i = await NLe(e, n, t, s.current);+ if (oRe(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,@@ -78916,7 +78924,7 @@ function hRe({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: FLe+ getNextPageParam: PLe});(0, S.useEffect)(() => {c.isFetching || (s.current = !1);@@ -78964,7 +78972,7 @@ function hRe({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, C.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(_q, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(vq, {score: Number(e.score),review: !0}) : null,@@ -79019,7 +79027,7 @@ function hRe({ code: e, count: t, released: n }) {})});}-function gRe({ item: e, actions: t, readOnly: n }) {+function hRe({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, S.useState)(!1), a = ft({queryKey: tj,enabled: r,@@ -79029,7 +79037,7 @@ function gRe({ item: e, actions: t, readOnly: n }) {"data-jav-resources": "",children: /* @__PURE__ */ (0, C.jsx)(RA, {trailing: !0,- summary: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(hq, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(gq, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},@@ -79051,31 +79059,31 @@ function gRe({ item: e, actions: t, readOnly: n }) {}//#endregion//#region src/react/stage/stage-player.ts-var vq = null, yq = null, bq = null, xq = null, Sq = null, Cq = !1, wq = 0, Tq = null, Eq = () => !1, Dq = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function _Re(e, t) {- vq = e, Eq = () => t.isOpen(), Tq = () => t.requestClose(), zue({+var yq = null, bq = null, xq = null, Sq = null, Cq = null, wq = !1, Tq = 0, Eq = null, Dq = () => !1, Oq = (e, t, n) => `${e}:${t}:${n ?? ""}`;+function gRe(e, t) {+ yq = e, Dq = () => t.isOpen(), Eq = () => t.requestClose(), zue({...e.player,stage: () => document.getElementById("stage")}), Bue({- inMiniplayer: (e) => yq?.player === e,- kind: (e) => yq?.player === e ? yq.kind : bq?.kind ?? xq?.kind ?? "item",- expand: () => qq(),- toMiniplayer: () => Jq()- }), Oq || (Oq = !0, addEventListener("pagehide", () => aD()));-}-var Oq = !1;-function kq() {- if (!vq) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return vq;-}-function Aq(e) {- xq = e;-}-var vRe = () => xq;-function jq(e, t) {- let { kind: n, item: r, media: i = null } = t, a = Dq(n, r.id, i?.index ?? null);- if (yq && yq.key === a) return bRe(e, yq);- yq && Kq();+ inMiniplayer: (e) => bq?.player === e,+ kind: (e) => bq?.player === e ? bq.kind : xq?.kind ?? Sq?.kind ?? "item",+ expand: () => Jq(),+ toMiniplayer: () => Yq()+ }), kq || (kq = !0, addEventListener("pagehide", () => aD()));+}+var kq = !1;+function Aq() {+ if (!yq) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return yq;+}+function jq(e) {+ Sq = e;+}+var _Re = () => Sq;+function Mq(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = Oq(n, r.id, i?.index ?? null);+ if (bq && bq.key === a) return yRe(e, bq);+ bq && qq();let o = {player: null,kind: n,@@ -79083,7 +79091,7 @@ function jq(e, t) {mediaIndex: i?.index ?? null,key: a};- bq = o;+ xq = o;let s = document.createElement("video");t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !0, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);let c = fD(s, {@@ -79093,42 +79101,42 @@ function jq(e, t) {autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- bq === o && (o.player = e);+ xq === o && (o.player = e);},- handedOff: (e) => yq?.player === e+ handedOff: (e) => bq?.player === e});return () => {- let e = !!o.player && yq?.player === o.player;- bq === o && (bq = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), aD());+ let e = !!o.player && bq?.player === o.player;+ xq === o && (xq = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), aD());};}-async function yRe(e, t, n) {+async function vRe(e, t, n) {let r = await Ft(`/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 kq().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error(kq().player.offlineReason(String(r.location || "")));+ let i = await Aq().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error(Aq().player.offlineReason(String(r.location || "")));let a = {kind: "item",item: r,title: String(r.title || r.name || ""),sub: String(r.performers?.[0] || r.creator || "未归属")};- Aq(a);- let o = jq(t, {+ jq(a);+ let o = Mq(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && xq === a && Nq(!0), o(), xq === a && Aq(null));+ s || (s = !0, e && Sq === a && Pq(!0), o(), Sq === a && jq(null));};}-function bRe(e, t) {+function yRe(e, t) {let { player: n } = t;- Wq(t), yq = null, Gq(), n.el().classList.remove("vjs-peach-mini"), Vde(e), e.append(n.el()), UE(n);+ Gq(t), bq = null, Kq(), n.el().classList.remove("vjs-peach-mini"), Vde(e), e.append(n.el()), UE(n);let r = {player: n,kind: t.kind,@@ -79136,23 +79144,23 @@ function bRe(e, t) {mediaIndex: t.mediaIndex,key: t.key};- bq = r;+ xq = r;let i = Hde(n, e);return WE(n), () => {- bq === r && (bq = null), i(), yq?.player !== n && (HE() === n && UE(null), tD(n), aD());+ xq === r && (xq = null), i(), bq?.player !== n && (HE() === n && UE(null), tD(n), aD());};}-var Mq = () => {- let e = bq?.player;+var Nq = () => {+ let e = xq?.player;return e && !e.isDisposed() ? e : null;};-function Nq(e) {- let t = Cq;- Cq = !1, yq?.pending && Kq();- let n = bq, r = n?.player, i = xq;- if (!n || !r || r.isDisposed() || !i || !Sq) return;- let a = kq().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && wRe({+function Pq(e) {+ let t = wq;+ wq = !1, bq?.pending && qq();+ let n = xq, r = n?.player, i = Sq;+ if (!n || !r || r.isDisposed() || !i || !Cq) return;+ let a = Aq().player.settings();+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && CRe({player: r,kind: n.kind,item: n.item,@@ -79160,46 +79168,46 @@ function Nq(e) {key: n.key}, i);}-function Pq(e, t) {- Cq = !1, yq && (yq.kind === e && yq.item.id === t ? (yq.pending = !0, Gq()) : Kq());+function Fq(e, t) {+ wq = !1, bq && (bq.kind === e && bq.item.id === t ? (bq.pending = !0, Kq()) : qq());}-function Fq(e) {- Sq = e, Sq && Hq();+function Iq(e) {+ Cq = e, Cq && Uq();}-var Iq = () => !!yq && !yq.pending && !yq.player.isDisposed();-function xRe() {- return Iq() ? Sq?.frame.querySelector("video") ?? null : null;+var Lq = () => !!bq && !bq.pending && !bq.player.isDisposed();+function bRe() {+ return Lq() ? Cq?.frame.querySelector("video") ?? null : null;}-function SRe() {- return Eq() ? document.getElementById("stage")?.querySelector("video") ?? null : Mq()?.el().querySelector("video") ?? xRe();+function xRe() {+ return Dq() ? document.getElementById("stage")?.querySelector("video") ?? null : Nq()?.el().querySelector("video") ?? bRe();}-function Lq(e) {- Sq && (Sq.title.textContent = e.title || "", Sq.sub.textContent = e.sub || "", Sq.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+function Rq(e) {+ Cq && (Cq.title.textContent = e.title || "", Cq.sub.textContent = e.sub || "", Cq.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function Rq(e = yq?.item) {- if (!Sq) return;- let t = Sq.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- Sq.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function zq(e = bq?.item) {+ if (!Cq) return;+ let t = Cq.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ Cq.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-function zq() {- let e = yq?.player;- if (!e || e.isDisposed() || !Sq) return;+function Bq() {+ let e = bq?.player;+ if (!e || e.isDisposed() || !Cq) return;let t = e.paused();- Sq.play.setAttribute("aria-label", t ? "播放" : "暂停"), Sq.play.querySelector("[data-icon-swap]") || (Sq.play.innerHTML = Lo("player-pause", "player-play", t ? "b" : "a")), Ro(Sq.play, t ? "b" : "a");+ Cq.play.setAttribute("aria-label", t ? "播放" : "暂停"), Cq.play.querySelector("[data-icon-swap]") || (Cq.play.innerHTML = Lo("player-pause", "player-play", t ? "b" : "a")), Ro(Cq.play, t ? "b" : "a");}-function Bq() {- let e = yq?.player;- if (!e || e.isDisposed() || !Sq) return;- let t = nn(yq?.item.duration) || nn(e.duration());- Sq.time.textContent = `${an(e.currentTime())} / ${t ? an(t) : "0:00"}`;-}-var Vq = () => Math.max(1, Number(kq().player.settings().seekSeconds) || 10);-function Hq() {- if (!Sq || !vq) return;- let e = Vq();- for (let [t, n] of [[Sq.back, `后退 ${e} 秒`], [Sq.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;-}-function Uq(e) {+function Vq() {+ let e = bq?.player;+ if (!e || e.isDisposed() || !Cq) return;+ let t = nn(bq?.item.duration) || nn(e.duration());+ Cq.time.textContent = `${an(e.currentTime())} / ${t ? an(t) : "0:00"}`;+}+var Hq = () => Math.max(1, Number(Aq().player.settings().seekSeconds) || 10);+function Uq() {+ if (!Cq || !yq) return;+ let e = Hq();+ for (let [t, n] of [[Cq.back, `后退 ${e} 秒`], [Cq.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function Wq(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -79211,17 +79219,17 @@ function Uq(e) {"play","pause","ended"- ], zq), t([+ ], Bq), t(["timeupdate","durationchange","loadedmetadata"- ], Bq), t("loadedmetadata", () => Rq()), zq(), Bq(), Rq(), Hq();+ ], Vq), t("loadedmetadata", () => zq()), Bq(), Vq(), zq(), Uq();}-function Wq(e) {+function Gq(e) {e.off.forEach((e) => e()), e.off = [];}-function CRe() {- let e = Sq?.root;+function SRe() {+ let e = Cq?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -79229,8 +79237,8 @@ function CRe() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function Gq() {- let e = Sq?.root;+function Kq() {+ let e = Cq?.root;if (e) {e.hidden = !0;for (let t of [@@ -79241,73 +79249,73 @@ function Gq() {e.style.transform = "";}}-function wRe(e, t) {- if (!Sq) return;+function CRe(e, t) {+ if (!Cq) return;let n = {...e,meta: t,off: [],pending: !1};- yq = n, wq++, e.player.el().classList.add("vjs-peach-mini"), Sq.frame.prepend(e.player.el()), Lq(t), Uq(n), CRe(), WE(e.player);-}-function Kq() {- let e = yq;- e && Wq(e), yq = null, wq++;- let t = e?.player ?? null;- t && HE() === t && UE(null), tD(t), t && aD(), Sq?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), VE(), Gq();+ bq = n, Tq++, e.player.el().classList.add("vjs-peach-mini"), Cq.frame.prepend(e.player.el()), Rq(t), Wq(n), SRe(), WE(e.player);}function qq() {- if (!Iq() || !yq) return;- let { kind: e, item: t, mediaIndex: n } = yq;- kq().expand(e, t.id, n);+ let e = bq;+ e && Gq(e), bq = null, Tq++;+ let t = e?.player ?? null;+ t && HE() === t && UE(null), tD(t), t && aD(), Cq?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), VE(), Kq();}function Jq() {- Iq() && !Eq() ? qq() : Eq() && Mq() && Tq && (Cq = !0, Tq());+ if (!Lq() || !bq) return;+ let { kind: e, item: t, mediaIndex: n } = bq;+ Aq().expand(e, t.id, n);}-function TRe() {- let e = yq?.player;+function Yq() {+ Lq() && !Dq() ? Jq() : Dq() && Nq() && Eq && (wq = !0, Eq());+}+function wRe() {+ let e = bq?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function Yq(e) {- let t = yq?.player;+function Xq(e) {+ let t = bq?.player;if (!t || t.isDisposed()) return;- let n = nn(t.duration()) || nn(yq?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + Vq() * e);+ let n = nn(t.duration()) || nn(bq?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + Hq() * e);t.currentTime(n ? Math.min(n, r) : r);}-function Xq(e) {- return !(!Iq() || !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 || kq().sourceOffline(String(e.location ?? "")));-}-async function ERe(e) {- if (!Iq() || !yq || !Sq) return;- let t = ++wq, n = await Ft(`/api/item?id=${e}`).catch(() => null);- if (t !== wq || !Iq() || !yq || !Sq || !n || n.error) return;- if (!Xq(n)) {- kq().openItem(e);+function Zq(e) {+ return !(!Lq() || !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 || Aq().sourceOffline(String(e.location ?? "")));+}+async function TRe(e) {+ if (!Lq() || !bq || !Cq) return;+ let t = ++Tq, n = await Ft(`/api/item?id=${e}`).catch(() => null);+ if (t !== Tq || !Lq() || !bq || !Cq || !n || n.error) return;+ if (!Zq(n)) {+ Aq().openItem(e);return;}- let r = yq;- Wq(r), HE() === r.player && UE(null), tD(r.player), aD(), Sq.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = bq;+ Gq(r), HE() === r.player && UE(null), tD(r.player), aD(), Cq.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", Sq.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", Cq.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- Lq(a), fD(i, {+ Rq(a), fD(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== wq) {+ if (t !== Tq) {r && HE() === r && UE(null), tD(r);return;}if (!r) {- Kq(), kq().openItem(e);+ qq(), Aq().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -79316,26 +79324,26 @@ async function ERe(e) {kind: "item",item: n,mediaIndex: null,- key: Dq("item", n.id, null),+ key: Oq("item", n.id, null),meta: a,off: [],pending: !1};- yq = i, Uq(i);+ bq = i, Wq(i);}- }), Rq(n);+ }), zq(n);}//#endregion//#region src/react/stage/miniplayer.tsx-var Zq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {+var Qq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })-}), DRe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, Qq = (e) => (t) => {+}), ERe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, $q = (e) => (t) => {t.stopPropagation(), e();-}, ORe = (0, S.memo)(function() {+}, DRe = (0, S.memo)(function() {let e = (0, S.useRef)(null), t = (0, S.useRef)(null), n = (0, S.useRef)(null), r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(null), l = (0, S.useRef)(null);- return (0, S.useLayoutEffect)(() => (Fq({+ return (0, S.useLayoutEffect)(() => (Iq({root: e.current,frame: n.current,play: r.current,@@ -79345,7 +79353,7 @@ var Zq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => Fq(null)), []), (0, S.useEffect)(() => ARe(e.current, t.current), []), /* @__PURE__ */ (0, C.jsx)("aside", {+ }), () => Iq(null)), []), (0, S.useEffect)(() => kRe(e.current, t.current), []), /* @__PURE__ */ (0, C.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -79369,24 +79377,24 @@ var Zq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: Qq(qq),- children: /* @__PURE__ */ (0, C.jsx)(Zq, { name: "maximize-2" })+ onClick: $q(Jq),+ children: /* @__PURE__ */ (0, C.jsx)(Qq, { name: "maximize-2" })}),/* @__PURE__ */ (0, C.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: Qq(Kq),- children: /* @__PURE__ */ (0, C.jsx)(Zq, { name: "x" })+ onClick: $q(qq),+ children: /* @__PURE__ */ (0, C.jsx)(Qq, { name: "x" })}),/* @__PURE__ */ (0, C.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: Qq(() => Yq(-1)),- children: /* @__PURE__ */ (0, C.jsx)(Zq, { name: "rotate-ccw" })+ onClick: $q(() => Xq(-1)),+ children: /* @__PURE__ */ (0, C.jsx)(Qq, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, C.jsx)("button", {ref: r,@@ -79395,16 +79403,16 @@ var Zq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: Qq(TRe),- dangerouslySetInnerHTML: DRe+ onClick: $q(wRe),+ dangerouslySetInnerHTML: ERe}),/* @__PURE__ */ (0, C.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: Qq(() => Yq(1)),- children: /* @__PURE__ */ (0, C.jsx)(Zq, { name: "rotate-cw" })+ onClick: $q(() => Xq(1)),+ children: /* @__PURE__ */ (0, C.jsx)(Qq, { name: "rotate-cw" })}),/* @__PURE__ */ (0, C.jsx)("span", {ref: i,@@ -79421,7 +79429,7 @@ var Zq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => qq(),+ onClick: () => Jq(),children: [/* @__PURE__ */ (0, C.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -79435,7 +79443,7 @@ var Zq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {})});});-function kRe(e, t, n) {+function ORe(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@@ -79457,7 +79465,7 @@ function kRe(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function ARe(e, t) {+function kRe(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 = {@@ -79483,7 +79491,7 @@ function ARe(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), kRe(e, i.dx, i.dy));+ }, 0), ORe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -79495,49 +79503,49 @@ function ARe(e, t) {}//#endregion//#region src/react/stage/stage.tsx-var $q = null, eJ = null, tJ = /* @__PURE__ */ new Set(), nJ = 0, rJ = null, iJ = !1, aJ = !1, oJ = () => {+var eJ = null, tJ = null, nJ = /* @__PURE__ */ new Set(), rJ = 0, iJ = null, aJ = !1, oJ = !1, sJ = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function sJ() {- if (!$q) throw Error("舞台还没有接上宿主(configureStage)");- return $q;+function cJ() {+ if (!eJ) throw Error("舞台还没有接上宿主(configureStage)");+ return eJ;}-function jRe(e) {- return tJ.add(e), () => {- tJ.delete(e);+function ARe(e) {+ return nJ.add(e), () => {+ nJ.delete(e);};}-function MRe() {- for (let e of [...tJ]) e();+function jRe() {+ for (let e of [...nJ]) e();}-function cJ() {- (0, ht.flushSync)(MRe);+function lJ() {+ (0, ht.flushSync)(jRe);}-function NRe({ view: e }) {- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [e ? /* @__PURE__ */ (0, C.jsx)(PRe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, C.jsx)(ORe, {})] });+function MRe({ view: e }) {+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [e ? /* @__PURE__ */ (0, C.jsx)(NRe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, C.jsx)(DRe, {})] });}-var lJ = () => /* @__PURE__ */ (0, C.jsx)("div", {+var uJ = () => /* @__PURE__ */ (0, C.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: QIe() }+ dangerouslySetInnerHTML: { __html: ZIe() }});-function uJ(e) {+function dJ(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 PRe({ view: e }) {+function NRe({ view: e }) {let t = (0, S.useRef)(null);(0, S.useLayoutEffect)(() => {let e = t.current, n = (e) => {- e.preventDefault(), dJ();+ e.preventDefault(), fJ();};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, C.jsx)(ULe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, C.jsx)(uRe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, C.jsx)(wLe, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, C.jsx)(HLe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, C.jsx)(lRe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, C.jsx)(CLe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, C.jsxs)("dialog", {ref: t,id: "stage",@@ -79545,20 +79553,20 @@ function PRe({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), dJ());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), fJ());},onPointerDown: (e) => {- aJ = uJ(e);+ oJ = dJ(e);},onClick: (e) => {- aJ && uJ(e) && dJ();+ oJ && dJ(e) && fJ();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, C.jsx)(lJ, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, C.jsx)(uJ, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, C.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, C.jsx)(lJ, {})+ children: /* @__PURE__ */ (0, C.jsx)(uJ, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, C.jsx)("div", {"data-stage-scroll": "",@@ -79570,14 +79578,14 @@ function PRe({ view: e }) {]});}-function dJ() {- eJ && !iJ && (iJ = !0, eJ.request.actions.close());+function fJ() {+ tJ && !aJ && (aJ = !0, tJ.request.actions.close());}-function fJ(e, t) {- let n = oJ();+function pJ(e, t) {+ let n = sJ();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function pJ(e) {+function mJ(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -79585,30 +79593,30 @@ function pJ(e) {readOnly: e.readOnly,actions: {...e.actions,- close: dJ+ close: fJ}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => sJ().player.settings(), i = () => eJ?.request === e;+ }, r = () => cJ().player.settings(), i = () => tJ?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: dJ,+ close: fJ,present: (e, t) => {let n = e.performers;- Aq({+ jq({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), fJ(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), pJ(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => jq(e, {+ mountPlayer: (e, t, r, i) => Mq(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -79626,18 +79634,18 @@ function pJ(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: dJ,+ close: fJ,present: (e, t) => {- Aq({+ jq({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), fJ(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), pJ(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => jq(e, {+ mountPlayer: (e, t, r, i) => Mq(e, {kind: "follow",item: t,media: r,@@ -79654,50 +79662,50 @@ function pJ(e) {}};}-function FRe(e, t) {+function PRe(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"), eJ?.generation === t && eJ.phase === "reveal" && (eJ = {- ...eJ,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), tJ?.generation === t && tJ.phase === "reveal" && (tJ = {+ ...tJ,phase: "content"- }, cJ());+ }, lJ());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function mJ(e) {- let t = oJ();- return !eJ || eJ.content.kind !== e || iJ || !t?.open || t.hasAttribute("data-closing") ? null : t;+function hJ(e) {+ let t = sJ();+ return !tJ || tJ.content.kind !== e || aJ || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function IRe(e) {- let t = mJ(e.kind);+async function FRe(e) {+ let t = hJ(e.kind);if (t) {- await RRe(e, t);+ await LRe(e, t);return;}- eJ && hJ({ miniplayer: !1 });- let n = ++nJ, r = new AbortController();- rJ = r, iJ = !1, aJ = !1, e.kind === "jav" ? Kq() : Pq(e.kind, e.id ?? NaN);- let i = pJ(e);- eJ = {+ tJ && gJ({ miniplayer: !1 });+ let n = ++rJ, r = new AbortController();+ iJ = r, aJ = !1, oJ = !1, e.kind === "jav" ? qq() : Fq(e.kind, e.id ?? NaN);+ let i = mJ(e);+ tJ = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? xfe(i.props, r.signal) : i.kind === "jav" ? rq(i.props, r.signal) : kK(i.props, r.signal);- if (n !== nJ || eJ?.request !== e) {+ let a = i.kind === "item" ? xfe(i.props, r.signal) : i.kind === "jav" ? iq(i.props, r.signal) : AK(i.props, r.signal);+ if (n !== rJ || tJ?.request !== e) {await a.catch(() => {});return;}- let o = LRe(i);- eJ = {- ...eJ,+ let o = IRe(i);+ tJ = {+ ...tJ,phase: o ? "content" : "skeleton"- }, cJ();- let s = oJ();+ }, lJ();+ let s = sJ();if (!s) {await a.catch(() => {});return;@@ -79708,46 +79716,46 @@ async function IRe(e) {} catch {if (r.signal.aborted) return;}- if (n !== nJ || !eJ || o) return;+ if (n !== rJ || !tJ || o) return;let c = !!s.querySelector(".skeleton-awaiting");- eJ = {- ...eJ,+ tJ = {+ ...tJ,phase: c ? "content" : "reveal"- }, cJ(), c || FRe(s, n), Wo(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, lJ(), c || PRe(s, n), Wo(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;(l === s || !s.contains(l)) && s.querySelector("#closeStage")?.focus();}-function LRe(e) {- if (e.kind === "jav") return !!W.getQueryData(tq(e.props.code));- if (e.kind === "follow") return !!W.getQueryData(EK(e.props.id));+function IRe(e) {+ if (e.kind === "jav") return !!W.getQueryData(nq(e.props.code));+ if (e.kind === "follow") return !!W.getQueryData(DK(e.props.id));let { queue: t, id: n } = e.props, r = t ? W.getQueryData(SD(t)) : null;if (t && !r) return !1;let i = r ? OD(r, n) : n;return i != null && !!W.getQueryData(xD(i));}-async function RRe(e, t) {- let n = ++nJ;- rJ?.abort();+async function LRe(e, t) {+ let n = ++rJ;+ iJ?.abort();let r = new AbortController();- rJ = r, aJ = !1;- let i = pJ(e);+ iJ = r, oJ = !1;+ let i = mJ(e);try {- i.kind === "item" ? await xfe(i.props, r.signal) : i.kind === "jav" ? await rq(i.props, r.signal) : await kK(i.props, r.signal);+ i.kind === "item" ? await xfe(i.props, r.signal) : i.kind === "jav" ? await iq(i.props, r.signal) : await AK(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== nJ || !eJ || mJ(e.kind) !== t) return;- e.kind === "jav" ? Kq() : Pq(e.kind, e.id ?? NaN), Cc(t), VE(), eJ = {- ...eJ,+ if (n !== rJ || !tJ || hJ(e.kind) !== t) return;+ e.kind === "jav" ? qq() : Fq(e.kind, e.id ?? NaN), Cc(t), VE(), tJ = {+ ...tJ,request: e,content: i,phase: "content"- }, cJ(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Wo(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, lJ(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Wo(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 zRe() {- let e = oJ();+function RRe() {+ let e = sJ();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();@@ -79757,85 +79765,85 @@ function zRe() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function hJ({ miniplayer: e = !0 } = {}) {- if (nJ++, rJ?.abort(), rJ = null, Nq(e), !eJ) return;- let t = oJ();- t && Cc(t), VE(), t?.open && t.close(), eJ = null, iJ = !1, aJ = !1, cJ(), Aq(null), document.body.removeAttribute("data-detail-open");+function gJ({ miniplayer: e = !0 } = {}) {+ if (rJ++, iJ?.abort(), iJ = null, Pq(e), !tJ) return;+ let t = sJ();+ t && Cc(t), VE(), t?.open && t.close(), tJ = null, aJ = !1, oJ = !1, lJ(), jq(null), document.body.removeAttribute("data-detail-open");}-function BRe(e) {- eJ && (eJ = {- ...eJ,- content: eJ.content.kind === "item" ? {+function zRe(e) {+ tJ && (tJ = {+ ...tJ,+ content: tJ.content.kind === "item" ? {kind: "item",props: {- ...eJ.content.props,+ ...tJ.content.props,...e}- } : eJ.content.kind === "jav" ? eJ.content : {+ } : tJ.content.kind === "jav" ? tJ.content : {kind: "follow",props: {- ...eJ.content.props,+ ...tJ.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, cJ());+ }, lJ());}-function VRe() {- let e = vRe(), t = e?.kind === "item" ? e.item : null, n = t ? Oa(t, sJ().player.settings().javImage) : "";+function BRe() {+ let e = _Re(), t = e?.kind === "item" ? e.item : null, n = t ? Oa(t, cJ().player.settings().javImage) : "";if (!n) return;- let r = Mq();+ let r = Nq();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var HRe = {- open: IRe,- update: BRe,- exit: zRe,- dispose: hJ,- requestClose: dJ,- repaintPoster: VRe,- isOpen: () => !!eJ,- showing: () => eJ && mJ(eJ.content.kind) ? eJ.content.kind : null,- activeVideo: () => SRe(),- mountWallPlayer: yRe,+var VRe = {+ open: FRe,+ update: zRe,+ exit: RRe,+ dispose: gJ,+ requestClose: fJ,+ repaintPoster: BRe,+ isOpen: () => !!tJ,+ showing: () => tJ && hJ(tJ.content.kind) ? tJ.content.kind : null,+ activeVideo: () => xRe(),+ mountWallPlayer: vRe,toggleTheater: () => {- eJ && cde(!sJ().player.settings().theaterMode);+ tJ && cde(!cJ().player.settings().theaterMode);},- toggleMiniplayer: () => Jq(),- closeMiniplayer: () => Kq(),- miniplayerActive: () => Iq(),- miniplayerTakesCard: (e) => Xq(e),+ toggleMiniplayer: () => Yq(),+ closeMiniplayer: () => qq(),+ miniplayerActive: () => Lq(),+ miniplayerTakesCard: (e) => Zq(e),miniplayerPlay: (e) => {- ERe(e);+ TRe(e);}};-function URe(e) {- return $q = e, _Re(e, {- isOpen: () => !!eJ,- requestClose: dJ- }), HRe;+function HRe(e) {+ return eJ = e, gRe(e, {+ isOpen: () => !!tJ,+ requestClose: fJ+ }), VRe;}-function WRe() {- let e = (0, S.useSyncExternalStore)(jRe, () => eJ);- return $q ? /* @__PURE__ */ (0, C.jsx)(NRe, { view: e }) : null;+function URe() {+ let e = (0, S.useSyncExternalStore)(ARe, () => tJ);+ return eJ ? /* @__PURE__ */ (0, C.jsx)(MRe, { view: e }) : null;}//#endregion//#region src/react/stats/stats.ts-var GRe = "/api/stats", gJ = ["stats"], _J = (e) => H(GRe, e);-async function KRe(e) {+var WRe = "/api/stats", _J = ["stats"], vJ = (e) => H(WRe, e);+async function GRe(e) {await W.fetchQuery({- queryKey: gJ,- queryFn: () => _J(e)+ queryKey: _J,+ queryFn: () => vJ(e)});}-var vJ = (e) => e != null && Number.isFinite(e), yJ = (e) => vJ(e) ? e.toLocaleString() : "未取得", qRe = (e, t) => vJ(e) && vJ(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, bJ = (e, t) => {- let n = qRe(e, t);- return !n && vJ(e) && e > 0 && vJ(t) && t > 0 ? "<1%" : `${n}%`;-}, xJ = (e) => {- if (!vJ(e)) return "未取得";+var yJ = (e) => e != null && Number.isFinite(e), bJ = (e) => yJ(e) ? e.toLocaleString() : "未取得", KRe = (e, t) => yJ(e) && yJ(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, xJ = (e, t) => {+ let n = KRe(e, t);+ return !n && yJ(e) && e > 0 && yJ(t) && t > 0 ? "<1%" : `${n}%`;+}, SJ = (e) => {+ if (!yJ(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)} 分钟`;-}, SJ = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, CJ = (e) => (e.max_reached || 0) * 100, JRe = (e) => e.kind === "online" ? "在线直接观看" : SJ(e) < CJ(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", YRe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function XRe(e, t = 6) {+}, CJ = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, wJ = (e) => (e.max_reached || 0) * 100, qRe = (e) => e.kind === "online" ? "在线直接观看" : CJ(e) < wJ(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", JRe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function YRe(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);@@ -79845,7 +79853,7 @@ function XRe(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var ZRe = (e) => Math.max(1, ...e) * 1.1, QRe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, $Re = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), eze = {+var XRe = (e) => Math.max(1, ...e) * 1.1, ZRe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, QRe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), $Re = {video: "视频",image: "图片",illustration: "插画",@@ -79853,18 +79861,18 @@ var ZRe = (e) => Math.max(1, ...e) * 1.1, QRe = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, tze = (e) => e.map((e) => ({- name: eze[e.k] ?? e.k,+}, eze = (e) => e.map((e) => ({+ name: $Re[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), nze = {+})).sort((e, t) => t.value - e.value), tze = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, wJ = (e, t = {}) => e.map((e) => ({+}, TJ = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), rze = (e) => wJ(e, nze), ize = [+})), nze = (e) => TJ(e, tze), rze = [[1,1,@@ -79900,49 +79908,49 @@ var ZRe = (e) => Math.max(1, ...e) * 1.1, QRe = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], aze = (e) => ize.map(([t, n, r]) => ({+], ize = (e) => rze.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)-})), oze = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");-function TJ(e) {- return typeof e == "string" && oze.includes(e);+})), aze = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");+function EJ(e) {+ return typeof e == "string" && aze.includes(e);}//#endregion//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js-var sze = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));-function EJ(e) {- return typeof e == "string" && sze.has(e);-}+var oze = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));function DJ(e) {- return typeof e == "string" && e.startsWith("data-");+ return typeof e == "string" && oze.has(e);}function OJ(e) {+ return typeof e == "string" && e.startsWith("data-");+}+function kJ(e) {if (typeof e != "object" || !e) return {};var t = {};- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (EJ(n) || DJ(n)) && (t[n] = e[n]);+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (DJ(n) || OJ(n)) && (t[n] = e[n]);return t;}-function kJ(e) {+function AJ(e) {if (e == null) return null;if (/*#__PURE__*/ (0, S.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {var t = e.props;- return OJ(t);+ return kJ(t);}- return typeof e == "object" && !Array.isArray(e) ? OJ(e) : null;+ return typeof e == "object" && !Array.isArray(e) ? kJ(e) : null;}//#endregion//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js-function AJ(e) {+function jJ(e) {var t = {};- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (EJ(n) || DJ(n) || TJ(n)) && (t[n] = e[n]);+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (DJ(n) || OJ(n) || EJ(n)) && (t[n] = e[n]);return t;}-function cze(e) {- return e == null ? null : /*#__PURE__*/ (0, S.isValidElement)(e) ? AJ(e.props) : typeof e == "object" && !Array.isArray(e) ? AJ(e) : null;+function sze(e) {+ return e == null ? null : /*#__PURE__*/ (0, S.isValidElement)(e) ? jJ(e.props) : typeof e == "object" && !Array.isArray(e) ? jJ(e) : null;}//#endregion//#region node_modules/recharts/es6/container/Surface.js-var lze = [+var cze = ["children","width","height",@@ -79952,25 +79960,25 @@ var lze = ["title","desc"];-function jJ() {- return jJ = Object.assign ? Object.assign.bind() : function(e) {+function MJ() {+ return MJ = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, jJ.apply(null, arguments);+ }, MJ.apply(null, arguments);}-function uze(e, t) {+function lze(e, t) {if (e == null) return {};- var n, r, i = dze(e, t);+ var n, r, i = uze(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function dze(e, t) {+function uze(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -79979,14 +79987,14 @@ function dze(e, t) {}return n;}-var MJ = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {- var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = uze(e, lze), d = a || {+var NJ = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {+ var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = lze(e, cze), d = a || {width: r,height: i,x: 0,y: 0}, f = $v("recharts-surface", o);- return /*#__PURE__*/ S.createElement("svg", jJ({}, AJ(u), {+ return /*#__PURE__*/ S.createElement("svg", MJ({}, jJ(u), {className: f,width: r,height: i,@@ -79994,26 +80002,26 @@ var MJ = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,ref: t}), /*#__PURE__*/ S.createElement("title", null, c), /*#__PURE__*/ S.createElement("desc", null, l), n);-}), fze = ["children", "className"];-function NJ() {- return NJ = Object.assign ? Object.assign.bind() : function(e) {+}), dze = ["children", "className"];+function PJ() {+ return PJ = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, NJ.apply(null, arguments);+ }, PJ.apply(null, arguments);}-function pze(e, t) {+function fze(e, t) {if (e == null) return {};- var n, r, i = mze(e, t);+ var n, r, i = pze(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function mze(e, t) {+function pze(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -80022,54 +80030,54 @@ function mze(e, t) {}return n;}-var PJ = /*#__PURE__*/ S.forwardRef((e, t) => {- var n = e.children, r = e.className, i = pze(e, fze), a = $v("recharts-layer", r);- return /*#__PURE__*/ S.createElement("g", NJ({ className: a }, AJ(i), { ref: t }), n);+var FJ = /*#__PURE__*/ S.forwardRef((e, t) => {+ var n = e.children, r = e.className, i = fze(e, dze), a = $v("recharts-layer", r);+ return /*#__PURE__*/ S.createElement("g", PJ({ className: a }, jJ(i), { ref: t }), n);});//#endregion//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs-function FJ(e) {+function IJ(e) {return e === "__proto__";}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs-var hze = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;-function IJ(e) {+var mze = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;+function LJ(e) {switch (typeof e) {case "number":case "symbol": return !1;- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : hze.test(e);+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : mze.test(e);default: return !1;}}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs-function LJ(e) {+function RJ(e) {return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs-function RJ(e) {+function zJ(e) {return typeof e == "symbol" || e instanceof Symbol;}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toString.mjs-function gze(e) {- return e == null ? "" : zJ(e);+function hze(e) {+ return e == null ? "" : BJ(e);}-function zJ(e) {+function BJ(e) {if (typeof e == "string") return e;- if (Array.isArray(e)) return e.map(zJ).join(",");- if (RJ(e)) return e.toString();+ if (Array.isArray(e)) return e.map(BJ).join(",");+ if (zJ(e)) return e.toString();let t = e + "";return t === "0" && Object.is(Number(e), -0) ? "-0" : t;}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs-function BJ(e) {- if (Array.isArray(e)) return e.map(LJ);+function VJ(e) {+ if (Array.isArray(e)) return e.map(RJ);if (typeof e == "symbol") return [e];- e = gze(e);+ e = hze(e);let t = [], n = e.length;if (n === 0) return t;let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;@@ -80097,86 +80105,86 @@ function BJ(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/object/get.mjs-function VJ(e, t, n) {+function HJ(e, t, n) {if (e == null) return n;switch (typeof t) {case "string": {- if (FJ(t)) return n;+ if (IJ(t)) return n;let r = e[t];- return r === void 0 ? IJ(t) && !Object.hasOwn(e, t) ? VJ(e, BJ(t), n) : n : r;+ return r === void 0 ? LJ(t) && !Object.hasOwn(e, t) ? HJ(e, VJ(t), n) : n : r;}case "number":case "symbol": {- typeof t == "number" && (t = LJ(t));+ typeof t == "number" && (t = RJ(t));let r = e[t];return r === void 0 ? n : r;}default: {- if (Array.isArray(t)) return _ze(e, t, n);- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), FJ(t)) return n;+ if (Array.isArray(t)) return gze(e, t, n);+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), IJ(t)) return n;let r = e[t];return r === void 0 ? n : r;}}}-function _ze(e, t, n) {+function gze(e, t, n) {if (t.length === 0) return n;let r = e;for (let e = 0; e < t.length; e++) {- if (r == null || FJ(t[e])) return n;+ if (r == null || IJ(t[e])) return n;r = r[t[e]];}return r === void 0 ? n : r;}//#endregion//#region node_modules/recharts/es6/util/round.js-var vze = 4;-function HJ(e) {- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : vze), n = Math.round(e * t) / t;+var _ze = 4;+function UJ(e) {+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _ze), n = Math.round(e * t) / t;return Object.is(n, -0) ? 0 : n;}-function UJ(e) {+function WJ(e) {var t = [...arguments].slice(1);return e.reduce((e, n, r) => {var i = t[r - 1];- return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + HJ(i) + n;+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + UJ(i) + n;}, "");}//#endregion//#region node_modules/recharts/es6/util/DataUtils.js-var WJ = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, GJ = (e) => typeof e == "number" && e != +e, KJ = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, qJ = (e) => (typeof e == "number" || e instanceof Number) && !GJ(e), JJ = (e) => qJ(e) || typeof e == "string", yze = 0, YJ = (e) => {- var t = ++yze;+var GJ = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, KJ = (e) => typeof e == "number" && e != +e, qJ = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, JJ = (e) => (typeof e == "number" || e instanceof Number) && !KJ(e), YJ = (e) => JJ(e) || typeof e == "string", vze = 0, XJ = (e) => {+ var t = ++vze;return `${e || ""}${t}`;-}, XJ = function(e, t) {+}, ZJ = function(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];- if (!qJ(e) && typeof e != "string") return n;+ if (!JJ(e) && typeof e != "string") return n;var i;- if (KJ(e)) {+ if (qJ(e)) {if (t == null) return n;var a = e.indexOf("%");i = t * parseFloat(e.slice(0, a)) / 100;} else i = +e;- return GJ(i) && (i = n), r && t != null && i > t && (i = t), i;-}, ZJ = (e) => {+ return KJ(i) && (i = n), r && t != null && i > t && (i = t), i;+}, QJ = (e) => {if (!Array.isArray(e)) return !1;for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;else return !0;return !1;};-function QJ(e, t, n) {- return qJ(e) && qJ(t) ? HJ(e + n * (t - e)) : t;-}function $J(e, t, n) {- if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : VJ(e, t)) === n);+ return JJ(e) && JJ(t) ? UJ(e + n * (t - e)) : t;+}+function eY(e, t, n) {+ if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : HJ(e, t)) === n);}-var eY = (e) => e == null, tY = (e) => eY(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;-function nY(e) {+var tY = (e) => e == null, nY = (e) => tY(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;+function rY(e) {return e != null;}-function rY() {}+function iY() {}//#endregion//#region node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js-function iY(e) {+function aY(e) {if (e) return {x: e.x,y: e.y,@@ -80188,7 +80196,7 @@ function iY(e) {}//#endregion//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js-function aY(e, t) {+function oY(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -80198,30 +80206,30 @@ function aY(e, t) {}return n;}-function oY(e) {+function sY(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? aY(Object(n), !0).forEach(function(t) {- bze(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aY(Object(n)).forEach(function(t) {+ t % 2 ? oY(Object(n), !0).forEach(function(t) {+ yze(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oY(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function bze(e, t, n) {- return (t = xze(t)) in e ? Object.defineProperty(e, t, {+function yze(e, t, n) {+ return (t = bze(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function xze(e) {- var t = Sze(e, "string");+function bze(e) {+ var t = xze(e, "string");return typeof t == "symbol" ? t : t + "";}-function Sze(e, t) {+function xze(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -80231,8 +80239,8 @@ function Sze(e, t) {}return (t === "string" ? String : Number)(e);}-var sY = (e) => {- var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = iY(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;+var cY = (e) => {+ var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = aY(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;if (n === "top") {var D = {x: p + d / 2,@@ -80273,98 +80281,98 @@ var sY = (e) => {width: g,height: u} : {};- return n === "insideLeft" ? oY({+ return n === "insideLeft" ? sY({x: h + C,y: l + u / 2,horizontalAnchor: T,verticalAnchor: "middle"- }, j) : n === "insideRight" ? oY({+ }, j) : n === "insideRight" ? sY({x: h + g - C,y: l + u / 2,horizontalAnchor: w,verticalAnchor: "middle"- }, j) : n === "insideTop" ? oY({+ }, j) : n === "insideTop" ? sY({x: p + d / 2,y: l + y,horizontalAnchor: "middle",verticalAnchor: x- }, j) : n === "insideBottom" ? oY({+ }, j) : n === "insideBottom" ? sY({x: m + f / 2,y: l + u - y,horizontalAnchor: "middle",verticalAnchor: b- }, j) : n === "insideTopLeft" ? oY({+ }, j) : n === "insideTopLeft" ? sY({x: p + C,y: l + y,horizontalAnchor: T,verticalAnchor: x- }, j) : n === "insideTopRight" ? oY({+ }, j) : n === "insideTopRight" ? sY({x: p + d - C,y: l + y,horizontalAnchor: w,verticalAnchor: x- }, j) : n === "insideBottomLeft" ? oY({+ }, j) : n === "insideBottomLeft" ? sY({x: m + C,y: l + u - y,horizontalAnchor: T,verticalAnchor: b- }, j) : n === "insideBottomRight" ? oY({+ }, j) : n === "insideBottomRight" ? sY({x: m + f - C,y: l + u - y,horizontalAnchor: w,verticalAnchor: b- }, j) : n && typeof n == "object" && (qJ(n.x) || KJ(n.x)) && (qJ(n.y) || KJ(n.y)) ? oY({- x: c + XJ(n.x, g),- y: l + XJ(n.y, u),+ }, j) : n && typeof n == "object" && (JJ(n.x) || qJ(n.x)) && (JJ(n.y) || qJ(n.y)) ? sY({+ x: c + ZJ(n.x, g),+ y: l + ZJ(n.y, u),horizontalAnchor: "end",verticalAnchor: "end"- }, j) : oY({+ }, j) : sY({x: _,y: l + u / 2,horizontalAnchor: "middle",verticalAnchor: "middle"}, j);-}, Cze = [+}, Sze = ["top","left","right","bottom"];-function cY(e) {- return e == null ? !1 : typeof e == "object" || Cze.includes(e);+function lY(e) {+ return e == null ? !1 : typeof e == "object" || Sze.includes(e);}//#endregion//#region node_modules/recharts/es6/context/legendPortalContext.js-var lY = /*#__PURE__*/ (0, S.createContext)(null), wze = () => (0, S.useContext)(lY);+var uY = /*#__PURE__*/ (0, S.createContext)(null), Cze = () => (0, S.useContext)(uY);//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js-function uY(e) {+function dY(e) {return function() {return e;};}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js-var dY = Math.cos, fY = Math.sin, pY = Math.sqrt, mY = Math.PI;-mY / 2;-var hY = 2 * mY, gY = Math.PI, _Y = 2 * gY, vY = 1e-6, Tze = _Y - vY;-function yY(e) {+var fY = Math.cos, pY = Math.sin, mY = Math.sqrt, hY = Math.PI;+hY / 2;+var gY = 2 * hY, _Y = Math.PI, vY = 2 * _Y, yY = 1e-6, wze = vY - yY;+function bY(e) {this._ += e[0];for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];}-function Eze(e) {+function Tze(e) {let t = Math.floor(e);if (!(t >= 0)) throw Error(`invalid digits: ${e}`);- if (t > 15) return yY;+ if (t > 15) return bY;let n = 10 ** t;return function(e) {this._ += e[0];for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];};}-var bY = class {+var xY = class {constructor(e) {- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? yY : Eze(e);+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? bY : Tze(e);}moveTo(e, t) {this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;@@ -80385,18 +80393,18 @@ var bY = class {if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;- else if (d > vY) {- if (!(Math.abs(u * s - c * l) > vY) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;+ else if (d > yY) {+ if (!(Math.abs(u * s - c * l) > yY) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;else {- let 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((gY - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > vY && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;+ let 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((_Y - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > yY && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;}}}arc(e, t, n, r, i, a) {if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);let 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;- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > vY || Math.abs(this._y1 - l) > vY) && this._append`L${c},${l}`, n && (d < 0 && (d = d % _Y + _Y), d > Tze ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > vY && this._append`A${n},${n},0,${+(d >= gY)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > yY || Math.abs(this._y1 - l) > yY) && this._append`L${c},${l}`, n && (d < 0 && (d = d % vY + vY), d > wze ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > yY && this._append`A${n},${n},0,${+(d >= _Y)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);}rect(e, t, n, r) {this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;@@ -80405,10 +80413,10 @@ var bY = class {return this._;}};-bY.prototype;+xY.prototype;//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js-function xY(e) {+function SY(e) {let t = 3;return e.digits = function(n) {if (!arguments.length) return t;@@ -80419,18 +80427,18 @@ function xY(e) {t = e;}return e;- }, () => new bY(t);+ }, () => new xY(t);}Array.prototype.slice;-function SY(e) {+function CY(e) {return typeof e == "object" && "length" in e ? e : Array.from(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js-function CY(e) {+function wY(e) {this._context = e;}-CY.prototype = {+wY.prototype = {areaStart: function() {this._line = 0;},@@ -80453,33 +80461,33 @@ CY.prototype = {}}};-function wY(e) {- return new CY(e);+function TY(e) {+ return new wY(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js-function TY(e) {+function EY(e) {return e[0];}-function EY(e) {+function DY(e) {return e[1];}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js-function DY(e, t) {- var n = uY(!0), r = null, i = wY, a = null, o = xY(s);- e = typeof e == "function" ? e : e === void 0 ? TY : uY(e), t = typeof t == "function" ? t : t === void 0 ? EY : uY(t);+function OY(e, t) {+ var n = dY(!0), r = null, i = TY, a = null, o = SY(s);+ e = typeof e == "function" ? e : e === void 0 ? EY : dY(e), t = typeof t == "function" ? t : t === void 0 ? DY : dY(t);function s(s) {- var c, l = (s = SY(s)).length, u, d = !1, f;+ var c, l = (s = CY(s)).length, u, d = !1, f;for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));if (f) return a = null, f + "" || null;}return s.x = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : uY(+t), s) : e;+ return arguments.length ? (e = typeof t == "function" ? t : dY(+t), s) : e;}, s.y = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : uY(+e), s) : t;+ return arguments.length ? (t = typeof e == "function" ? e : dY(+e), s) : t;}, s.defined = function(e) {- return arguments.length ? (n = typeof e == "function" ? e : uY(!!e), s) : n;+ return arguments.length ? (n = typeof e == "function" ? e : dY(!!e), s) : n;}, s.curve = function(e) {return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;}, s.context = function(e) {@@ -80488,11 +80496,11 @@ function DY(e, t) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js-function OY(e, t, n) {- var r = null, i = uY(!0), a = null, o = wY, s = null, c = xY(l);- e = typeof e == "function" ? e : e === void 0 ? TY : uY(+e), t = typeof t == "function" ? t : uY(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? EY : uY(+n);+function kY(e, t, n) {+ var r = null, i = dY(!0), a = null, o = TY, s = null, c = SY(l);+ e = typeof e == "function" ? e : e === void 0 ? EY : dY(+e), t = typeof t == "function" ? t : dY(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? DY : dY(+n);function l(l) {- var u, d, f, p = (l = SY(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);+ var u, d, f, p = (l = CY(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {if (!(u < p && i(m = l[u], u, l)) === h) {if (h = !h) d = u, s.areaStart(), s.lineStart();@@ -80506,20 +80514,20 @@ function OY(e, t, n) {if (g) return s = null, g + "" || null;}function u() {- return DY().defined(i).curve(o).context(a);+ return OY().defined(i).curve(o).context(a);}return l.x = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : uY(+t), r = null, l) : e;+ return arguments.length ? (e = typeof t == "function" ? t : dY(+t), r = null, l) : e;}, l.x0 = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : uY(+t), l) : e;+ return arguments.length ? (e = typeof t == "function" ? t : dY(+t), l) : e;}, l.x1 = function(e) {- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : uY(+e), l) : r;+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : dY(+e), l) : r;}, l.y = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : uY(+e), n = null, l) : t;+ return arguments.length ? (t = typeof e == "function" ? e : dY(+e), n = null, l) : t;}, l.y0 = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : uY(+e), l) : t;+ return arguments.length ? (t = typeof e == "function" ? e : dY(+e), l) : t;}, l.y1 = function(e) {- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : uY(+e), l) : n;+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : dY(+e), l) : n;}, l.lineX0 = l.lineY0 = function() {return u().x(e).y(t);}, l.lineY1 = function() {@@ -80527,7 +80535,7 @@ function OY(e, t, n) {}, l.lineX1 = function() {return u().x(r).y(t);}, l.defined = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : uY(!!e), l) : i;+ return arguments.length ? (i = typeof e == "function" ? e : dY(!!e), l) : i;}, l.curve = function(e) {return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;}, l.context = function(e) {@@ -80536,7 +80544,7 @@ function OY(e, t, n) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js-var kY = class {+var AY = class {constructor(e, t) {this._context = e, this._x = t;}@@ -80563,70 +80571,70 @@ var kY = class {this._x0 = e, this._y0 = t;}};-function Dze(e) {- return new kY(e, !0);+function Eze(e) {+ return new AY(e, !0);}-function Oze(e) {- return new kY(e, !1);+function Dze(e) {+ return new AY(e, !1);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js-var AY = { draw(e, t) {- let n = pY(t / mY);- e.moveTo(n, 0), e.arc(0, 0, n, 0, hY);-} }, kze = { draw(e, t) {- let n = pY(t / 5) / 2;+var jY = { draw(e, t) {+ let n = mY(t / hY);+ e.moveTo(n, 0), e.arc(0, 0, n, 0, gY);+} }, Oze = { draw(e, t) {+ let n = mY(t / 5) / 2;e.moveTo(-3 * n, -n), e.lineTo(-n, -n), e.lineTo(-n, -3 * n), e.lineTo(n, -3 * n), e.lineTo(n, -n), e.lineTo(3 * n, -n), e.lineTo(3 * n, n), e.lineTo(n, n), e.lineTo(n, 3 * n), e.lineTo(-n, 3 * n), e.lineTo(-n, n), e.lineTo(-3 * n, n), e.closePath();-} }, jY = pY(1 / 3), Aze = jY * 2, jze = { draw(e, t) {- let n = pY(t / Aze), r = n * jY;+} }, MY = mY(1 / 3), kze = MY * 2, Aze = { draw(e, t) {+ let n = mY(t / kze), r = n * MY;e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();-} }, Mze = { draw(e, t) {- let n = pY(t), r = -n / 2;+} }, jze = { draw(e, t) {+ let n = mY(t), r = -n / 2;e.rect(r, r, n, n);-} }, Nze = .8908130915292852, MY = fY(mY / 10) / fY(7 * mY / 10), Pze = fY(hY / 10) * MY, Fze = -dY(hY / 10) * MY, Ize = { draw(e, t) {- let n = pY(t * Nze), r = Pze * n, i = Fze * n;+} }, Mze = .8908130915292852, NY = pY(hY / 10) / pY(7 * hY / 10), Nze = pY(gY / 10) * NY, Pze = -fY(gY / 10) * NY, Fze = { draw(e, t) {+ let n = mY(t * Mze), r = Nze * n, i = Pze * n;e.moveTo(0, -n), e.lineTo(r, i);for (let t = 1; t < 5; ++t) {- let a = hY * t / 5, o = dY(a), s = fY(a);+ let a = gY * t / 5, o = fY(a), s = pY(a);e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);}e.closePath();-} }, NY = pY(3), Lze = { draw(e, t) {- let n = -pY(t / (NY * 3));- e.moveTo(0, n * 2), e.lineTo(-NY * n, -n), e.lineTo(NY * n, -n), e.closePath();-} }, PY = -.5, FY = pY(3) / 2, IY = 1 / pY(12), Rze = (IY / 2 + 1) * 3, zze = { draw(e, t) {- let n = pY(t / Rze), r = n / 2, i = n * IY, a = r, o = n * IY + n, s = -a, c = o;- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(PY * r - FY * i, FY * r + PY * i), e.lineTo(PY * a - FY * o, FY * a + PY * o), e.lineTo(PY * s - FY * c, FY * s + PY * c), e.lineTo(PY * r + FY * i, PY * i - FY * r), e.lineTo(PY * a + FY * o, PY * o - FY * a), e.lineTo(PY * s + FY * c, PY * c - FY * s), e.closePath();+} }, PY = mY(3), Ize = { draw(e, t) {+ let n = -mY(t / (PY * 3));+ e.moveTo(0, n * 2), e.lineTo(-PY * n, -n), e.lineTo(PY * n, -n), e.closePath();+} }, FY = -.5, IY = mY(3) / 2, LY = 1 / mY(12), Lze = (LY / 2 + 1) * 3, Rze = { draw(e, t) {+ let n = mY(t / Lze), r = n / 2, i = n * LY, a = r, o = n * LY + n, s = -a, c = o;+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(FY * r - IY * i, IY * r + FY * i), e.lineTo(FY * a - IY * o, IY * a + FY * o), e.lineTo(FY * s - IY * c, IY * s + FY * c), e.lineTo(FY * r + IY * i, FY * i - IY * r), e.lineTo(FY * a + IY * o, FY * o - IY * a), e.lineTo(FY * s + IY * c, FY * c - IY * s), e.closePath();} };//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js-function Bze(e, t) {- let n = null, r = xY(i);- e = typeof e == "function" ? e : uY(e || AY), t = typeof t == "function" ? t : uY(t === void 0 ? 64 : +t);+function zze(e, t) {+ let n = null, r = SY(i);+ e = typeof e == "function" ? e : dY(e || jY), t = typeof t == "function" ? t : dY(t === void 0 ? 64 : +t);function i() {let i;if (n ||= i = r(), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null;}return i.type = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : uY(t), i) : e;+ return arguments.length ? (e = typeof t == "function" ? t : dY(t), i) : e;}, i.size = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : uY(+e), i) : t;+ return arguments.length ? (t = typeof e == "function" ? e : dY(+e), i) : t;}, i.context = function(e) {return arguments.length ? (n = e ?? null, i) : n;}, i;}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js-function LY() {}+function RY() {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js-function RY(e, t, n) {+function zY(e, t, n) {e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);}-function zY(e) {+function BY(e) {this._context = e;}-zY.prototype = {+BY.prototype = {areaStart: function() {this._line = 0;},@@ -80638,7 +80646,7 @@ zY.prototype = {},lineEnd: function() {switch (this._point) {- case 3: RY(this, this._x1, this._y1);+ case 3: zY(this, this._x1, this._y1);case 2: this._context.lineTo(this._x1, this._y1);}(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;@@ -80652,22 +80660,22 @@ zY.prototype = {this._point = 2;break;case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);- default: RY(this, e, t);+ default: zY(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};-function Vze(e) {- return new zY(e);+function Bze(e) {+ return new BY(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js-function BY(e) {+function VY(e) {this._context = e;}-BY.prototype = {- areaStart: LY,- areaEnd: LY,+VY.prototype = {+ areaStart: RY,+ areaEnd: RY,lineStart: function() {this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;},@@ -80693,20 +80701,20 @@ BY.prototype = {case 2:this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);break;- default: RY(this, e, t);+ default: zY(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};-function Hze(e) {- return new BY(e);+function Vze(e) {+ return new VY(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js-function VY(e) {+function HY(e) {this._context = e;}-VY.prototype = {+HY.prototype = {areaStart: function() {this._line = 0;},@@ -80733,22 +80741,22 @@ VY.prototype = {this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);break;case 3: this._point = 4;- default: RY(this, e, t);+ default: zY(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};-function Uze(e) {- return new VY(e);+function Hze(e) {+ return new HY(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js-function HY(e) {+function UY(e) {this._context = e;}-HY.prototype = {- areaStart: LY,- areaEnd: LY,+UY.prototype = {+ areaStart: RY,+ areaEnd: RY,lineStart: function() {this._point = 0;},@@ -80759,30 +80767,30 @@ HY.prototype = {e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));}};-function Wze(e) {- return new HY(e);+function Uze(e) {+ return new UY(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js-function UY(e) {+function WY(e) {return e < 0 ? -1 : 1;}-function WY(e, t, n) {+function GY(e, t, n) {var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);- return (UY(a) + UY(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;+ return (WY(a) + WY(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;}-function GY(e, t) {+function KY(e, t) {var n = e._x1 - e._x0;return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;}-function KY(e, t, n) {+function qY(e, t, n) {var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);}-function qY(e) {+function JY(e) {this._context = e;}-qY.prototype = {+JY.prototype = {areaStart: function() {this._line = 0;},@@ -80797,7 +80805,7 @@ qY.prototype = {case 2:this._context.lineTo(this._x1, this._y1);break;- case 3: KY(this, this._t0, GY(this, this._t0));+ case 3: qY(this, this._t0, KY(this, this._t0));}(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;},@@ -80812,24 +80820,24 @@ qY.prototype = {this._point = 2;break;case 2:- this._point = 3, KY(this, GY(this, n = WY(this, e, t)), n);+ this._point = 3, qY(this, KY(this, n = GY(this, e, t)), n);break;- default: KY(this, this._t0, n = WY(this, e, t));+ default: qY(this, this._t0, n = GY(this, e, t));}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;}}};-function JY(e) {- this._context = new YY(e);+function YY(e) {+ this._context = new XY(e);}-(JY.prototype = Object.create(qY.prototype)).point = function(e, t) {- qY.prototype.point.call(this, t, e);+(YY.prototype = Object.create(JY.prototype)).point = function(e, t) {+ JY.prototype.point.call(this, t, e);};-function YY(e) {+function XY(e) {this._context = e;}-YY.prototype = {+XY.prototype = {moveTo: function(e, t) {this._context.moveTo(t, e);},@@ -80843,18 +80851,18 @@ YY.prototype = {this._context.bezierCurveTo(t, e, r, n, a, i);}};-function Gze(e) {- return new qY(e);-}-function Kze(e) {+function Wze(e) {return new JY(e);}+function Gze(e) {+ return new YY(e);+}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js-function XY(e) {+function ZY(e) {this._context = e;}-XY.prototype = {+ZY.prototype = {areaStart: function() {this._line = 0;},@@ -80868,7 +80876,7 @@ XY.prototype = {var e = this._x, t = this._y, n = e.length;if (n) {if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);- else for (var r = ZY(e), i = ZY(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);+ else for (var r = QY(e), i = QY(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);}(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;},@@ -80876,7 +80884,7 @@ XY.prototype = {this._x.push(+e), this._y.push(+t);}};-function ZY(e) {+function QY(e) {var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];@@ -80884,15 +80892,15 @@ function ZY(e) {for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];return [i, a];}-function qze(e) {- return new XY(e);+function Kze(e) {+ return new ZY(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js-function QY(e, t) {+function $Y(e, t) {this._context = e, this._t = t;}-QY.prototype = {+$Y.prototype = {areaStart: function() {this._line = 0;},@@ -80920,78 +80928,78 @@ QY.prototype = {this._x = e, this._y = t;}};+function qze(e) {+ return new $Y(e, .5);+}function Jze(e) {- return new QY(e, .5);+ return new $Y(e, 0);}function Yze(e) {- return new QY(e, 0);-}-function Xze(e) {- return new QY(e, 1);+ return new $Y(e, 1);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js-function $Y(e, t) {+function eX(e, t) {if ((o = e.length) > 1) for (var n = 1, r, i, a = e[t[0]], o, s = a.length; n < o; ++n) for (i = a, a = e[t[n]], r = 0; r < s; ++r) a[r][1] += a[r][0] = isNaN(i[r][1]) ? i[r][0] : i[r][1];}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js-function eX(e) {+function tX(e) {for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;return n;}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js-function Zze(e, t) {+function Xze(e, t) {return e[t];}-function Qze(e) {+function Zze(e) {let t = [];return t.key = e, t;}-function $ze() {- var e = uY([]), t = eX, n = $Y, r = Zze;+function Qze() {+ var e = dY([]), t = tX, n = eX, r = Xze;function i(i) {- var a = Array.from(e.apply(this, arguments), Qze), o, s = a.length, c = -1, l;+ var a = Array.from(e.apply(this, arguments), Zze), o, s = a.length, c = -1, l;for (let e of i) for (o = 0, ++c; o < s; ++o) (a[o][c] = [0, +r(e, a[o].key, c, i)]).data = e;- for (o = 0, l = SY(t(a)); o < s; ++o) a[l[o]].index = o;+ for (o = 0, l = CY(t(a)); o < s; ++o) a[l[o]].index = o;return n(a, l), a;}return i.keys = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : uY(Array.from(t)), i) : e;+ return arguments.length ? (e = typeof t == "function" ? t : dY(Array.from(t)), i) : e;}, i.value = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : uY(+e), i) : r;+ return arguments.length ? (r = typeof e == "function" ? e : dY(+e), i) : r;}, i.order = function(e) {- return arguments.length ? (t = e == null ? eX : typeof e == "function" ? e : uY(Array.from(e)), i) : t;+ return arguments.length ? (t = e == null ? tX : typeof e == "function" ? e : dY(Array.from(e)), i) : t;}, i.offset = function(e) {- return arguments.length ? (n = e ?? $Y, i) : n;+ return arguments.length ? (n = e ?? eX, i) : n;}, i;}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js-function eBe(e, t) {+function $ze(e, t) {if ((r = e.length) > 0) {for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;}- $Y(e, t);+ eX(e, t);}}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js-function tBe(e, t) {+function eBe(e, t) {if ((i = e.length) > 0) {for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;r[n][1] += r[n][0] = -s / 2;}- $Y(e, t);+ eX(e, t);}}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js-function nBe(e, t) {+function tBe(e, t) {if ((o = e.length) > 0 && (a = (i = e[t[0]]).length) > 0) {for (var n = 0, r = 1, i, a, o; r < a; ++r) {for (var s = 0, c = 0, l = 0; s < o; ++s) {@@ -81003,26 +81011,26 @@ function nBe(e, t) {}i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);}- i[r - 1][1] += i[r - 1][0] = n, $Y(e, t);+ i[r - 1][1] += i[r - 1][0] = n, eX(e, t);}}//#endregion//#region node_modules/recharts/es6/shape/Symbols.js-var rBe = [+var nBe = ["type","size","sizeType"];-function tX() {- return tX = Object.assign ? Object.assign.bind() : function(e) {+function nX() {+ return nX = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, tX.apply(null, arguments);+ }, nX.apply(null, arguments);}-function nX(e, t) {+function rX(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -81032,30 +81040,30 @@ function nX(e, t) {}return n;}-function rX(e) {+function iX(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? nX(Object(n), !0).forEach(function(t) {- iBe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nX(Object(n)).forEach(function(t) {+ t % 2 ? rX(Object(n), !0).forEach(function(t) {+ rBe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rX(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function iBe(e, t, n) {- return (t = aBe(t)) in e ? Object.defineProperty(e, t, {+function rBe(e, t, n) {+ return (t = iBe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function aBe(e) {- var t = oBe(e, "string");+function iBe(e) {+ var t = aBe(e, "string");return typeof t == "symbol" ? t : t + "";}-function oBe(e, t) {+function aBe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -81065,16 +81073,16 @@ function oBe(e, t) {}return (t === "string" ? String : Number)(e);}-function sBe(e, t) {+function oBe(e, t) {if (e == null) return {};- var n, r, i = cBe(e, t);+ var n, r, i = sBe(e, t);if (Object.getOwnPropertySymbols) {var a = Object.getOwnPropertySymbols(e);for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);}return i;}-function cBe(e, t) {+function sBe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -81083,68 +81091,68 @@ function cBe(e, t) {}return n;}-var iX = {- symbolCircle: AY,- symbolCross: kze,- symbolDiamond: jze,- symbolSquare: Mze,- symbolStar: Ize,- symbolTriangle: Lze,- symbolWye: zze-}, lBe = Math.PI / 180, uBe = (e) => iX[`symbol${tY(e)}`] || AY, dBe = (e, t, n) => {+var aX = {+ symbolCircle: jY,+ symbolCross: Oze,+ symbolDiamond: Aze,+ symbolSquare: jze,+ symbolStar: Fze,+ symbolTriangle: Ize,+ symbolWye: Rze+}, cBe = Math.PI / 180, lBe = (e) => aX[`symbol${nY(e)}`] || jY, uBe = (e, t, n) => {if (t === "area") return e;switch (n) {case "cross": return 5 * e * e / 9;case "diamond": return .5 * e * e / Math.sqrt(3);case "square": return e * e;case "star":- var r = 18 * lBe;+ var r = 18 * cBe;return 1.25 * e * e * (Math.tan(r) - Math.tan(r * 2) * Math.tan(r) ** 2);case "triangle": return Math.sqrt(3) * e * e / 4;case "wye": return (21 - 10 * Math.sqrt(3)) * e * e / 8;default: return Math.PI * e * e / 4;}-}, fBe = (e, t) => {- iX[`symbol${tY(e)}`] = t;-}, aX = (e) => {- var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = rX(rX({}, sBe(e, rBe)), {}, {+}, dBe = (e, t) => {+ aX[`symbol${nY(e)}`] = t;+}, oX = (e) => {+ var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = iX(iX({}, oBe(e, nBe)), {}, {type: n,size: i,sizeType: o}), c = "circle";typeof n == "string" && (c = n);var l = () => {- var e = uBe(c), t = Bze().type(e).size(dBe(i, o, c))();+ var e = lBe(c), t = zze().type(e).size(uBe(i, o, c))();if (t !== null) return t;- }, u = s.className, d = s.cx, f = s.cy, p = AJ(s);- return qJ(d) && qJ(f) && qJ(i) ? /*#__PURE__*/ S.createElement("path", tX({}, p, {+ }, u = s.className, d = s.cx, f = s.cy, p = jJ(s);+ return JJ(d) && JJ(f) && JJ(i) ? /*#__PURE__*/ S.createElement("path", nX({}, p, {className: $v("recharts-symbols", u),transform: `translate(${d}, ${f})`,d: l()})) : null;};-aX.registerSymbol = fBe;+oX.registerSymbol = dBe;//#endregion//#region node_modules/recharts/es6/util/types.js-var oX = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, sX = (e, t) => {+var sX = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, cX = (e, t) => {if (!e || typeof e == "function" || typeof e == "boolean") return null;var n = e;if (/*#__PURE__*/ (0, S.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;var r = {};return Object.keys(n).forEach((e) => {- TJ(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));+ EJ(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));}), r;-}, pBe = (e, t, n) => (r) => (e(t, n, r), null), cX = (e, t, n) => {+}, fBe = (e, t, n) => (r) => (e(t, n, r), null), lX = (e, t, n) => {if (e === null || typeof e != "object" && typeof e != "function") return null;var r = null;return Object.keys(e).forEach((i) => {var a = e[i];- TJ(i) && typeof a == "function" && (r ||= {}, r[i] = pBe(a, t, n));+ EJ(i) && typeof a == "function" && (r ||= {}, r[i] = fBe(a, t, n));}), r;};//#endregion//#region node_modules/recharts/es6/util/resolveDefaultProps.js-function lX(e, t) {+function uX(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -81154,30 +81162,30 @@ function lX(e, t) {}return n;}-function mBe(e) {+function pBe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? lX(Object(n), !0).forEach(function(t) {- hBe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lX(Object(n)).forEach(function(t) {+ t % 2 ? uX(Object(n), !0).forEach(function(t) {+ mBe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uX(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function hBe(e, t, n) {- return (t = gBe(t)) in e ? Object.defineProperty(e, t, {+function mBe(e, t, n) {+ return (t = hBe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function gBe(e) {- var t = _Be(e, "string");+function hBe(e) {+ var t = gBe(e, "string");return typeof t == "symbol" ? t : t + "";}-function _Be(e, t) {+function gBe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -81187,22 +81195,22 @@ function _Be(e, t) {}return (t === "string" ? String : Number)(e);}-function uX(e, t) {- var n = mBe({}, e), r = t;+function dX(e, t) {+ var n = pBe({}, e), r = t;return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);}//#endregion//#region node_modules/recharts/es6/component/DefaultLegendContent.js-function dX() {- return dX = Object.assign ? Object.assign.bind() : function(e) {+function fX() {+ return fX = Object.assign ? Object.assign.bind() : function(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t];for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);}return e;- }, dX.apply(null, arguments);+ }, fX.apply(null, arguments);}-function fX(e, t) {+function pX(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -81212,30 +81220,30 @@ function fX(e, t) {}return n;}-function pX(e) {+function mX(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? fX(Object(n), !0).forEach(function(t) {- vBe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fX(Object(n)).forEach(function(t) {+ t % 2 ? pX(Object(n), !0).forEach(function(t) {+ _Be(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pX(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function vBe(e, t, n) {- return (t = yBe(t)) in e ? Object.defineProperty(e, t, {+function _Be(e, t, n) {+ return (t = vBe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function yBe(e) {- var t = bBe(e, "string");+function vBe(e) {+ var t = yBe(e, "string");return typeof t == "symbol" ? t : t + "";}-function bBe(e, t) {+function yBe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -81245,7 +81253,7 @@ function bBe(e, t) {}return (t === "string" ? String : Number)(e);}-var mX = 32, xBe = {+var hX = 32, bBe = {align: "center",iconSize: 14,inactiveColor: "#ccc",@@ -81253,20 +81261,20 @@ var mX = 32, xBe = {verticalAlign: "middle",labelStyle: {}};-function SBe(e) {+function xBe(e) {if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);}-function CBe(e) {- var t = e.data, n = e.iconType, r = e.inactiveColor, i = mX / 2, a = mX / 6, o = mX / 3, s = t.inactive ? r : t.color, c = n ?? t.type;+function SBe(e) {+ var t = e.data, n = e.iconType, r = e.inactiveColor, i = hX / 2, a = hX / 6, o = hX / 3, s = t.inactive ? r : t.color, c = n ?? t.type;if (c === "none") return null;if (c === "plainline") return /*#__PURE__*/ S.createElement("line", {strokeWidth: 4,fill: "none",stroke: s,- strokeDasharray: SBe(t.payload),+ strokeDasharray: xBe(t.payload),x1: 0,y1: i,- x2: mX,+ x2: hX,y2: i,className: "recharts-legend-icon"});@@ -81276,35 +81284,35 @@ function CBe(e) {stroke: s,d: `M0,${i}h${o}A${a},${a},0,1,1,${2 * o},${i}- H${mX}M${2 * o},${i}+ H${hX}M${2 * o},${i}A${a},${a},0,1,1,${o},${i}`,className: "recharts-legend-icon"});if (c === "rect") return /*#__PURE__*/ S.createElement("path", {stroke: "none",fill: s,- d: `M0,${mX / 8}h${mX}v${mX * 3 / 4}h${-mX}z`,+ d: `M0,${hX / 8}h${hX}v${hX * 3 / 4}h${-hX}z`,className: "recharts-legend-icon"});if (/*#__PURE__*/ S.isValidElement(t.legendIcon)) {- var l = pX({}, t);+ var l = mX({}, t);return delete l.legendIcon, /*#__PURE__*/ S.cloneElement(t.legendIcon, l);}- return /*#__PURE__*/ S.createElement(aX, {+ return /*#__PURE__*/ S.createElement(oX, {fill: s,cx: i,cy: i,- size: mX,+ size: hX,sizeType: "diameter",type: c});}-function wBe(e) {+function CBe(e) {var t = e.payload, n = e.iconSize, r = e.layout, i = e.formatter, a = e.inactiveColor, o = e.iconType, s = e.labelStyle, c = {x: 0,y: 0,- width: mX,- height: mX+ width: hX,+ height: hX}, l = {display: r === "horizontal" ? "inline-block" : "block",marginRight: 10,@@ -81321,20 +81329,20 @@ function wBe(e) {inactive: t.inactive});if (t.type === "none") return null;- var p = typeof s == "object" ? pX({}, s) : {};+ var p = typeof s == "object" ? mX({}, s) : {};p.color = t.inactive ? a : p.color || t.color, p.whiteSpace ??= "normal", p.overflowWrap ??= "break-word";var m = d ? d(t.value, t, r) : t.value;- return /*#__PURE__*/ S.createElement("li", dX({+ return /*#__PURE__*/ S.createElement("li", fX({className: f,style: l,key: `legend-item-${r}`- }, cX(e, t, r)), /*#__PURE__*/ S.createElement(MJ, {+ }, lX(e, t, r)), /*#__PURE__*/ S.createElement(NJ, {width: n,height: n,viewBox: c,style: u,"aria-label": t.value == null ? "legend icon" : `${t.value} legend icon`- }, /*#__PURE__*/ S.createElement(CBe, {+ }, /*#__PURE__*/ S.createElement(SBe, {data: t,iconType: o,inactiveColor: a@@ -81344,8 +81352,8 @@ function wBe(e) {}, m));});}-var TBe = (e) => {- var t = uX(e, xBe), n = t.payload, r = t.layout, i = t.align;+var wBe = (e) => {+ var t = dX(e, bBe), n = t.payload, r = t.layout, i = t.align;if (!n || !n.length) return null;var a = {padding: 0,@@ -81355,11 +81363,11 @@ var TBe = (e) => {return /*#__PURE__*/ S.createElement("ul", {className: "recharts-default-legend",style: a- }, /*#__PURE__*/ S.createElement(wBe, dX({}, t, { payload: n })));+ }, /*#__PURE__*/ S.createElement(CBe, fX({}, t, { payload: n })));};//#endregion//#region node_modules/es-toolkit/dist/array/uniqBy.mjs-function EBe(e, t) {+function TBe(e, t) {let n = /* @__PURE__ */ new Map();for (let r = 0; r < e.length; r++) {let i = e[r], a = t(i, r, e);@@ -81369,56 +81377,56 @@ function EBe(e, t) {}//#endregion//#region node_modules/es-toolkit/dist/function/ary.mjs-function DBe(e, t) {+function EBe(e, t) {return function(...n) {return e.apply(this, n.slice(0, t));};}//#endregion//#region node_modules/es-toolkit/dist/function/identity.mjs-function hX(e) {+function gX(e) {return e;}//#endregion//#region node_modules/es-toolkit/dist/predicate/isLength.mjs-function OBe(e) {+function DBe(e) {return Number.isSafeInteger(e) && e >= 0;}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs-function gX(e) {- return e != null && typeof e != "function" && OBe(e.length);+function _X(e) {+ return e != null && typeof e != "function" && DBe(e.length);}//#endregion//#region node_modules/es-toolkit/dist/compat/object/property.mjs-function kBe(e) {+function OBe(e) {return function(t) {- return VJ(t, e);+ return HJ(t, e);};}//#endregion//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs-function _X(e) {+function vX(e) {return e == null || typeof e != "object" && typeof e != "function";}//#endregion//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs-function ABe(e) {+function kBe(e) {return ArrayBuffer.isView(e) && !(e instanceof DataView);}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs-function vX(e) {+function yX(e) {return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs-function yX(e) {+function bX(e) {return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs-var bX = "[object RegExp]", xX = "[object String]", SX = "[object Number]", CX = "[object Boolean]", jBe = "[object Arguments]", MBe = "[object Symbol]", NBe = "[object Date]", PBe = "[object Map]", FBe = "[object Set]", IBe = "[object Array]", LBe = "[object Function]", RBe = "[object ArrayBuffer]", wX = "[object Object]", zBe = "[object Error]", BBe = "[object DataView]", VBe = "[object Uint8Array]", HBe = "[object Uint8ClampedArray]", UBe = "[object Uint16Array]", WBe = "[object Uint32Array]", GBe = "[object BigUint64Array]", KBe = "[object Int8Array]", qBe = "[object Int16Array]", JBe = "[object Int32Array]", YBe = "[object BigInt64Array]", XBe = "[object Float32Array]", ZBe = "[object Float64Array]", QBe = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {+var ABe = "[object RegExp]", xX = "[object String]", SX = "[object Number]", CX = "[object Boolean]", jBe = "[object Arguments]", MBe = "[object Symbol]", NBe = "[object Date]", PBe = "[object Map]", FBe = "[object Set]", IBe = "[object Array]", LBe = "[object Function]", RBe = "[object ArrayBuffer]", wX = "[object Object]", zBe = "[object Error]", BBe = "[object DataView]", VBe = "[object Uint8Array]", HBe = "[object Uint8ClampedArray]", UBe = "[object Uint16Array]", WBe = "[object Uint32Array]", GBe = "[object BigUint64Array]", KBe = "[object Int8Array]", qBe = "[object Int16Array]", JBe = "[object Int32Array]", YBe = "[object BigInt64Array]", XBe = "[object Float32Array]", ZBe = "[object Float64Array]", QBe = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {return this;})();//#endregion@@ -81434,7 +81442,7 @@ function $Be(e, t) {function EX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {let a = i?.(e, t, n, r);if (a !== void 0) return a;- if (_X(e)) return e;+ if (vX(e)) return e;if (r.has(e)) return r.get(e);if (Array.isArray(e)) {let t = Array(e.length);@@ -81460,7 +81468,7 @@ function EX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {return t;}if (TX(e)) return e.subarray();- if (ABe(e)) {+ if (kBe(e)) {let t = new (Object.getPrototypeOf(e)).constructor(e.length);r.set(e, t);for (let a = 0; a < e.length; a++) t[a] = EX(e[a], a, n, r, i);@@ -81502,14 +81510,14 @@ function EX(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {return e;}function DX(e, t, n = e, r, i) {- let a = [...Object.keys(t), ...vX(t)];+ let a = [...Object.keys(t), ...yX(t)];for (let o = 0; o < a.length; o++) {let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);(c == null || c.writable) && (e[s] = EX(t[s], s, n, r, i));}}function eVe(e) {- switch (yX(e)) {+ switch (bX(e)) {case jBe:case IBe:case RBe:@@ -81524,7 +81532,7 @@ function eVe(e) {case PBe:case SX:case wX:- case bX:+ case ABe:case FBe:case xX:case MBe:@@ -81573,9 +81581,9 @@ function iVe(e, t, n, r, i = !1) {if (t instanceof Set) return sVe(e, t, n, r);let a = Object.keys(t);if (e == null) return i && a.length === 0;- if (i) _X(e) && (e = Object(e));+ if (i) vX(e) && (e = Object(e));else {- let t = yX(e);+ let t = bX(e);if (t !== "[object Object]" && t !== "[object Arguments]") return !1;}if (a.length === 0) return !0;@@ -81635,7 +81643,7 @@ function uVe(e, t) {let o = t?.(n, r, i, a);if (o !== void 0) return o;if (typeof e == "object") {- if (yX(e) === "[object Object]" && typeof e.constructor != "function") {+ if (bX(e) === "[object Object]" && typeof e.constructor != "function") {let t = {};return a.set(e, t), DX(t, e, i, a), t;}@@ -81673,16 +81681,16 @@ function pVe(e, t = 2 ** 53 - 1) {//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjsfunction mVe(e) {- return typeof e == "object" && !!e && yX(e) === "[object Arguments]";+ return typeof e == "object" && !!e && bX(e) === "[object Arguments]";}//#endregion//#region node_modules/es-toolkit/dist/compat/object/has.mjsfunction hVe(e, t) {let n;- if (n = Array.isArray(t) ? t : typeof t == "string" && IJ(t) && !(t in Object(e)) ? BJ(t) : [t], n.length === 0) return !1;+ if (n = Array.isArray(t) ? t : typeof t == "string" && LJ(t) && !(t in Object(e)) ? VJ(t) : [t], n.length === 0) return !1;let r = e;for (let e = 0; e < n.length; e++) {- let t = LJ(n[e]);+ let t = RJ(n[e]);if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || mVe(r)) && pVe(t) && Number(t) < r.length)) return !1;r = r[t];}@@ -81695,21 +81703,21 @@ function gVe(e, t) {case "object":Object.is(e?.valueOf(), -0) && (e = "-0");break;- case "number": e = LJ(e);+ case "number": e = RJ(e);}return t = dVe(t), function(n) {- let r = VJ(n, e);+ let r = HJ(n, e);return r === void 0 ? hVe(n, e) : t === void 0 ? r === void 0 : cVe(r, t);};}//#endregion//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjsfunction AX(e) {- if (e == null) return hX;+ if (e == null) return gX;switch (typeof e) {case "function": return e;case "object": return Array.isArray(e) && e.length === 2 ? gVe(e[0], e[1]) : lVe(e);- default: return kBe(e);+ default: return OBe(e);}}//#endregion@@ -81719,8 +81727,8 @@ function _Ve(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs-function vVe(e, t = hX) {- return gX(e) ? EBe(Array.from(e), DBe(AX(t), 1)).map(_Ve) : [];+function vVe(e, t = gX) {+ return _X(e) ? TBe(Array.from(e), EBe(AX(t), 1)).map(_Ve) : [];}//#endregion//#region node_modules/recharts/es6/util/payload/getUniqPayload.js@@ -81862,7 +81870,7 @@ function FVe(e, t = 1) {//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjsfunction IX(e, t, n) {- return nVe(n) && (typeof t == "number" && gX(n) && pVe(t) && t < n.length || typeof t == "string" && t in n) ? OX(n[t], e) : !1;+ return nVe(n) && (typeof t == "number" && _X(n) && pVe(t) && t < n.length || typeof t == "string" && t in n) ? OX(n[t], e) : !1;}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs@@ -81881,13 +81889,13 @@ var LVe = (e, t, n) => {return 0;}, RVe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, zVe = /^\w*$/;function BVe(e, t) {- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || RJ(e) ? !0 : typeof e == "string" && (zVe.test(e) || !RVe.test(e)) || t != null && Object.hasOwn(t, e);+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || zJ(e) ? !0 : typeof e == "string" && (zVe.test(e) || !RVe.test(e)) || t != null && Object.hasOwn(t, e);}//#endregion//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjsfunction VVe(e, t, n, r) {if (e == null) return [];- n = r ? void 0 : n, Array.isArray(e) || (e = gX(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));+ n = r ? void 0 : n, Array.isArray(e) || (e = _X(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));let i = (e, t) => {let n = e, r = 0;for (; r < t.length && n != null; ++r) n = n[t[r]];@@ -81897,7 +81905,7 @@ function VVe(e, t, n, r) {if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];}, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || BVe(e) ? e : {key: e,- path: BJ(e)+ path: VJ(e)}));return e.map((e) => ({original: e,@@ -83210,22 +83218,22 @@ function KUe(e, t) {return (t === "string" ? String : Number)(e);}function nQ(e, t, n) {- return eY(e) || eY(t) ? n : JJ(t) ? VJ(e, t, n) : typeof t == "function" ? t(e) : n;+ return tY(e) || tY(t) ? n : YJ(t) ? HJ(e, t, n) : typeof t == "function" ? t(e) : n;}var qUe = (e, t, n) => {if (t && n) {var r = n.width, i = n.height, a = t.align, o = t.verticalAlign, s = t.layout, c = t.position, l = t.offset, u = l === void 0 ? 0 : l;if (c != null) {- if (cY(c)) {- if (c === "top" && qJ(e.top)) return tQ(tQ({}, e), {}, { top: e.top + (i || 0) + u });- if (c === "bottom" && qJ(e.bottom)) return tQ(tQ({}, e), {}, { bottom: e.bottom + (i || 0) + u });- if (c === "left" && qJ(e.left)) return tQ(tQ({}, e), {}, { left: e.left + (r || 0) + u });- if (c === "right" && qJ(e.right)) return tQ(tQ({}, e), {}, { right: e.right + (r || 0) + u });+ if (lY(c)) {+ if (c === "top" && JJ(e.top)) return tQ(tQ({}, e), {}, { top: e.top + (i || 0) + u });+ if (c === "bottom" && JJ(e.bottom)) return tQ(tQ({}, e), {}, { bottom: e.bottom + (i || 0) + u });+ if (c === "left" && JJ(e.left)) return tQ(tQ({}, e), {}, { left: e.left + (r || 0) + u });+ if (c === "right" && JJ(e.right)) return tQ(tQ({}, e), {}, { right: e.right + (r || 0) + u });}return e;}- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && qJ(e[a])) return tQ(tQ({}, e), {}, { [a]: e[a] + (r || 0) });- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && qJ(e[o])) return tQ(tQ({}, e), {}, { [o]: e[o] + (i || 0) });+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && JJ(e[a])) return tQ(tQ({}, e), {}, { [a]: e[a] + (r || 0) });+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && JJ(e[o])) return tQ(tQ({}, e), {}, { [o]: e[o] + (i || 0) });}return e;}, rQ = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", JUe = (e, t, n, r) => {@@ -83237,7 +83245,7 @@ var qUe = (e, t, n) => {var r = e.duplicateDomain, i = e.type, a = e.range, o = e.scale, s = e.realScaleType, c = e.isCategorical, l = e.categoricalDomain, u = e.tickCount, d = e.ticks, f = e.niceTicks, p = e.axisType;if (!o) return null;var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;- return h = p === "angleAxis" && a && a.length >= 2 ? WJ(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {+ return h = p === "angleAxis" && a && a.length >= 2 ? GJ(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {var n = r ? r.indexOf(e) : e, i = o.map(n);return $Z(i) ? {coordinate: i + h,@@ -83245,7 +83253,7 @@ var qUe = (e, t, n) => {offset: h,index: t} : null;- }).filter(nY) : c && l ? l.map((e, t) => {+ }).filter(rY) : c && l ? l.map((e, t) => {var n = o.map(e);return $Z(n) ? {coordinate: n + h,@@ -83253,7 +83261,7 @@ var qUe = (e, t, n) => {index: t,offset: h} : null;- }).filter(nY) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {+ }).filter(rY) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {var n = o.map(e);return $Z(n) ? {coordinate: n + h,@@ -83261,7 +83269,7 @@ var qUe = (e, t, n) => {index: t,offset: h} : null;- }).filter(nY) : o.domain().map((e, t) => {+ }).filter(rY) : o.domain().map((e, t) => {var n = o.map(e);return $Z(n) ? {coordinate: n + h,@@ -83269,11 +83277,11 @@ var qUe = (e, t, n) => {index: t,offset: h} : null;- }).filter(nY);+ }).filter(rY);}, XUe = (e, t) => {- if (!t || t.length !== 2 || !qJ(t[0]) || !qJ(t[1])) return e;+ if (!t || t.length !== 2 || !JJ(t[0]) || !JJ(t[1])) return e;var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];- return (!qJ(e[0]) || e[0] < n) && (i[0] = n), (!qJ(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;+ return (!JJ(e[0]) || e[0] < n) && (i[0] = n), (!JJ(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;}, ZUe = {sign: (e) => {var t = e.length;@@ -83282,16 +83290,16 @@ var qUe = (e, t, n) => {if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {var s = e[o]?.[r];if (s != null) {- var c = s[1], l = s[0], u = GJ(c) ? l : c;+ var c = s[1], l = s[0], u = KJ(c) ? l : c;u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);}}}},- expand: eBe,- none: $Y,- silhouette: tBe,- wiggle: nBe,+ expand: $ze,+ none: eX,+ silhouette: eBe,+ wiggle: tBe,positive: (e) => {var t = e.length;if (!(t <= 0)) {@@ -83299,18 +83307,18 @@ var qUe = (e, t, n) => {if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {var o = e[a]?.[r];if (o != null) {- var s = GJ(o[1]) ? o[0] : o[1];+ var s = KJ(o[1]) ? o[0] : o[1];s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);}}}}}, QUe = (e, t, n) => {- var r = ZUe[n] ?? $Y, i = $ze().keys(t).value((e, t) => Number(nQ(e, t, 0))).order(eX).offset(r)(e);+ var r = ZUe[n] ?? eX, i = Qze().keys(t).value((e, t) => Number(nQ(e, t, 0))).order(tX).offset(r)(e);return i.forEach((n, r) => {n.forEach((n, i) => {var a = nQ(e[i], t[r], 0);- Array.isArray(a) && a.length === 2 && qJ(a[0]) && qJ(a[1]) && (n[0] = a[0], n[1] = a[1]);+ Array.isArray(a) && a.length === 2 && JJ(a[0]) && JJ(a[1]) && (n[0] = a[0], n[1] = a[1]);});}), i;};@@ -83320,22 +83328,22 @@ function iQ(e) {function aQ(e) {var t = e.axis, n = e.ticks, r = e.bandSize, i = e.entry, a = e.index, o = e.dataKey;if (t.type === "category") {- if (!t.allowDuplicatedCategory && t.dataKey && !eY(i[t.dataKey])) {- var s = $J(n, "value", i[t.dataKey]);+ if (!t.allowDuplicatedCategory && t.dataKey && !tY(i[t.dataKey])) {+ var s = eY(n, "value", i[t.dataKey]);if (s) return s.coordinate + r / 2;}return n != null && n[a] ? n[a].coordinate + r / 2 : null;}- var c = nQ(i, eY(o) ? t.dataKey : o), l = t.scale.map(c);- return qJ(l) ? l : null;+ var c = nQ(i, tY(o) ? t.dataKey : o), l = t.scale.map(c);+ return JJ(l) ? l : null;}var oQ = (e) => {var t = e.axis, n = e.ticks, r = e.offset, i = e.bandSize, a = e.entry, o = e.index;if (t.type === "category") return n[o] ? n[o].coordinate + r : null;var s = nQ(a, t.dataKey, t.scale.domain()[o]);- if (eY(s)) return null;+ if (tY(s)) return null;var c = t.scale.map(s);- return qJ(c) ? c - i / 2 + r : null;+ return JJ(c) ? c - i / 2 + r : null;}, $Ue = (e) => {var t = e.numericAxis, n = t.scale.domain();if (t.type === "number") {@@ -83344,7 +83352,7 @@ var oQ = (e) => {}return n[0];}, eWe = (e) => {- var t = e.flat(2).filter(qJ);+ var t = e.flat(2).filter(JJ);return [Math.min(...t), Math.max(...t)];}, tWe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], nWe = (e, t, n) => {if (e != null && Object.keys(e).length !== 0) return tWe(Object.keys(e).reduce((r, i) => {@@ -83488,9 +83496,9 @@ var hQ = X([dQ], (e, t, n) => ({height: e.height,- x: qJ(e.x) ? e.x : t.left,- y: qJ(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),- width: qJ(e.width) ? e.width : t.width+ x: JJ(e.x) ? e.x : t.left,+ y: JJ(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),+ width: JJ(e.width) ? e.width : t.width}));//#endregion//#region node_modules/es-toolkit/dist/function/debounce.mjs@@ -83561,7 +83569,7 @@ var bQ = function(e, t) {height: -1}}, wWe = (e, t, n) => {- var r = n.width, i = r === void 0 ? xQ.width : r, a = n.height, o = a === void 0 ? xQ.height : a, s = n.aspect, c = n.maxHeight, l = KJ(i) ? e : Number(i), u = KJ(o) ? t : Number(o);+ var r = n.width, i = r === void 0 ? xQ.width : r, a = n.height, o = a === void 0 ? xQ.height : a, s = n.aspect, c = n.maxHeight, l = qJ(i) ? e : Number(i), u = qJ(o) ? t : Number(o);return s && s > 0 && (l ? u = l / s : u && (l = u * s), c && u != null && u > c && (u = c)), {calculatedWidth: l,calculatedHeight: u@@ -83577,7 +83585,7 @@ var bQ = function(e, t) {height: 0,overflowY: "visible"}, OWe = {}, kWe = (e) => {- var t = e.width, n = e.height, r = KJ(t), i = KJ(n);+ var t = e.width, n = e.height, r = qJ(t), i = qJ(n);return r && i ? TWe : r ? EWe : i ? DWe : OWe;};function AWe(e) {@@ -83743,7 +83751,7 @@ var CQ = () => (0, S.useContext)(GWe), JWe = /*#__PURE__*/ (0, S.forwardRef)((e,});}, []);(0, S.useEffect)(() => {- if (b.current == null || typeof ResizeObserver > "u") return rY;+ if (b.current == null || typeof ResizeObserver > "u") return iY;var e = (e) => {var t, n = e[0];if (n != null) {@@ -83799,7 +83807,7 @@ var CQ = () => (0, S.useContext)(GWe), JWe = /*#__PURE__*/ (0, S.forwardRef)((e,aspect: e.aspect,maxHeight: e.maxHeight}), s = o.calculatedWidth, c = o.calculatedHeight;- return qJ(s) && qJ(c) ? /*#__PURE__*/ S.createElement(qWe, {+ return JJ(s) && JJ(c) ? /*#__PURE__*/ S.createElement(qWe, {width: s,height: c}, e.children) : /*#__PURE__*/ S.createElement(JWe, SQ({}, e, {@@ -84186,13 +84194,13 @@ function zGe(e) {}function BGe(e) {var t = e.contextPayload, n = LGe(e, EGe), r = yVe(t, e.payloadUniqBy, zGe), i = LQ(LQ({}, n), {}, { payload: r });- return /*#__PURE__*/ S.isValidElement(e.content) ? /*#__PURE__*/ S.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ S.createElement(e.content, i) : /*#__PURE__*/ S.createElement(TBe, i);+ return /*#__PURE__*/ S.isValidElement(e.content) ? /*#__PURE__*/ S.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ S.createElement(e.content, i) : /*#__PURE__*/ S.createElement(wBe, i);}function VGe(e) {return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";}function HGe(e, t) {- return t == null ? null : cY(t) ? wGe(e) : yWe(e);+ return t == null ? null : lY(t) ? wGe(e) : yWe(e);}function UGe(e, t, n) {return e === "top" ? { top: n.height + t } : e === "bottom" ? { top: -n.height - t } : e === "left" ? { left: n.width + t } : e === "right" ? { left: -n.width - t } : {};@@ -84254,9 +84262,9 @@ var JGe = {offset: 0};function YGe(e) {- var t = uX(e, JGe), n = e.layout && e.layout !== "auto" ? e.layout : VGe(t.position), r = GVe(), i = wze(), a = ZWe(), o = PX((e) => HGe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || cY(t.position)), f = DGe(eHe([r]), 2), p = f[0], m = f[1], h = EQ(), g = DQ();+ var t = dX(e, JGe), n = e.layout && e.layout !== "auto" ? e.layout : VGe(t.position), r = GVe(), i = Cze(), a = ZWe(), o = PX((e) => HGe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || lY(t.position)), f = DGe(eHe([r]), 2), p = f[0], m = f[1], h = EQ(), g = DQ();if (h == null || g == null || t.position != null && o == null) return null;- var _ = qGe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : sY({+ var _ = qGe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : cY({viewBox: o ?? {x: 0,y: 0,@@ -84398,7 +84406,7 @@ function oKe(e) {if (Array.isArray(e)) return e;}function sKe(e) {- return Array.isArray(e) && JJ(e[0]) && JJ(e[1]) ? e.join(" ~ ") : e;+ return Array.isArray(e) && YJ(e[0]) && YJ(e[1]) ? e.join(" ~ ") : e;}var BQ = {separator: " : ",@@ -84443,7 +84451,7 @@ var lKe = (e) => {className: "recharts-tooltip-item",key: `tooltip-item-${t}`,style: p- }, JJ(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, JJ(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));+ }, YJ(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, YJ(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));});return /*#__PURE__*/ S.createElement("ul", {className: "recharts-tooltip-item-list",@@ -84451,7 +84459,7 @@ var lKe = (e) => {}, t);}return null;- }, _ = zQ(zQ({}, BQ.contentStyle), r), v = zQ({ margin: 0 }, o), y = !eY(f), b = y ? f : "", x = $v("recharts-default-tooltip", u), C = $v("recharts-tooltip-label", d);+ }, _ = zQ(zQ({}, BQ.contentStyle), r), v = zQ({ margin: 0 }, o), y = !tY(f), b = y ? f : "", x = $v("recharts-default-tooltip", u), C = $v("recharts-tooltip-label", d);y && p && s != null && (b = p(f, s));var w = h ? {role: "status",@@ -84468,15 +84476,15 @@ var lKe = (e) => {function dKe(e) {var t = e.coordinate, n = e.translateX, r = e.translateY;return $v(VQ, {- [`${VQ}-right`]: qJ(n) && t && qJ(t.x) && n >= t.x,- [`${VQ}-left`]: qJ(n) && t && qJ(t.x) && n < t.x,- [`${VQ}-bottom`]: qJ(r) && t && qJ(t.y) && r >= t.y,- [`${VQ}-top`]: qJ(r) && t && qJ(t.y) && r < t.y+ [`${VQ}-right`]: JJ(n) && t && JJ(t.x) && n >= t.x,+ [`${VQ}-left`]: JJ(n) && t && JJ(t.x) && n < t.x,+ [`${VQ}-bottom`]: JJ(r) && t && JJ(t.y) && r >= t.y,+ [`${VQ}-top`]: JJ(r) && t && JJ(t.y) && r < t.y});}function fKe(e) {var t = e.allowEscapeViewBox, n = e.coordinate, r = e.key, i = e.offset, a = e.position, o = e.reverseDirection, s = e.tooltipDimension, c = e.viewBox, l = e.viewBoxDimension;- if (a && qJ(a[r])) return a[r];+ if (a && JJ(a[r])) return a[r];var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;if (t[r]) return o[r] ? u : d;var f = c[r];@@ -84783,27 +84791,27 @@ function BKe(e, t) {return (t === "string" ? String : Number)(e);}var VKe = {- curveBasisClosed: Hze,- curveBasisOpen: Uze,- curveBasis: Vze,- curveBumpX: Dze,- curveBumpY: Oze,- curveLinearClosed: Wze,- curveLinear: wY,- curveMonotoneX: Gze,- curveMonotoneY: Kze,- curveNatural: qze,- curveStep: Jze,- curveStepAfter: Xze,- curveStepBefore: Yze+ curveBasisClosed: Vze,+ curveBasisOpen: Hze,+ curveBasis: Bze,+ curveBumpX: Eze,+ curveBumpY: Dze,+ curveLinearClosed: Uze,+ curveLinear: TY,+ curveMonotoneX: Wze,+ curveMonotoneY: Gze,+ curveNatural: Kze,+ curveStep: qze,+ curveStepAfter: Yze,+ curveStepBefore: Jze}, GQ = (e) => $Z(e.x) && $Z(e.y), HKe = (e) => e.base != null && GQ(e.base) && GQ(e), KQ = (e) => e.x, qQ = (e) => e.y, UKe = (e, t) => {if (typeof e == "function") return e;- var n = `curve${tY(e)}`;+ var n = `curve${nY(e)}`;if ((n === "curveMonotone" || n === "curveBump") && t) {var r = VKe[`${n}${t === "vertical" ? "Y" : "X"}`];if (r) return r;}- return VKe[n] || wY;+ return VKe[n] || TY;}, WKe = {connectNulls: !1,type: "linear"@@ -84811,9 +84819,9 @@ var VKe = {var t = e.type, n = t === void 0 ? WKe.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? WKe.connectNulls : s, l = UKe(n, o), u = c ? i.filter(GQ) : i;if (Array.isArray(a)) {var d, f = i.map((e, t) => LKe(LKe({}, e), {}, { base: a[t] }));- return d = o === "vertical" ? OY().y(qQ).x1(KQ).x0((e) => e.base.x) : OY().x(KQ).y1(qQ).y0((e) => e.base.y), d.defined(HKe).curve(l)(c ? f.filter(HKe) : f);+ return d = o === "vertical" ? kY().y(qQ).x1(KQ).x0((e) => e.base.x) : kY().x(KQ).y1(qQ).y0((e) => e.base.y), d.defined(HKe).curve(l)(c ? f.filter(HKe) : f);}- return (o === "vertical" && qJ(a) ? OY().y(qQ).x1(KQ).x0(a) : qJ(a) ? OY().x(KQ).y1(qQ).y0(a) : DY().x(KQ).y(qQ)).defined(GQ).curve(l)(u);+ return (o === "vertical" && JJ(a) ? kY().y(qQ).x1(KQ).x0(a) : JJ(a) ? kY().x(KQ).y1(qQ).y0(a) : OY().x(KQ).y(qQ)).defined(GQ).curve(l)(u);}, JQ = (e) => {var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = kQ();if ((!n || !n.length) && !r) return null;@@ -84824,7 +84832,7 @@ var VKe = {layout: e.layout || a,connectNulls: e.connectNulls}, s = n && n.length ? GKe(o) : r;- return /*#__PURE__*/ S.createElement("path", WQ({}, OJ(e), sX(e), {+ return /*#__PURE__*/ S.createElement("path", WQ({}, kJ(e), cX(e), {className: $v("recharts-curve", t),d: s === null ? void 0 : s,ref: i@@ -84917,7 +84925,7 @@ var eqe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, tqe = (e) => {width: u,height: f}, m);- return !qJ(n) || !qJ(i) || !qJ(u) || !qJ(f) || !qJ(o) || !qJ(c) ? null : /*#__PURE__*/ S.createElement("path", YQ({}, AJ(h), {+ return !JJ(n) || !JJ(i) || !JJ(u) || !JJ(f) || !JJ(o) || !JJ(c) ? null : /*#__PURE__*/ S.createElement("path", YQ({}, jJ(h), {className: $v("recharts-cross", p),d: eqe(n, i, u, f, o, c)}));@@ -85142,7 +85150,7 @@ var Sqe = class {return 0;}getInterpolated() {- return this.easing(QJ(this.getFrom(), this.getTo(), this.getProgress()));+ return this.easing($J(this.getFrom(), this.getTo(), this.getProgress()));}}, wqe = class {setTimeout(e) {@@ -85208,12 +85216,12 @@ var jqe = {onAnimationStart: () => {}}, Mqe = 0, ZQ = 1;function Nqe(e) {- var t = uX(e, jqe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = xKe(), f = r === "auto" ? !HQ.isSsr && !d : r, p = mqe(t.animationController), m = Tqe((0, S.useState)(f ? Mqe : ZQ), 2), h = m[0], g = m[1];+ var t = dX(e, jqe), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = xKe(), f = r === "auto" ? !HQ.isSsr && !d : r, p = mqe(t.animationController), m = Tqe((0, S.useState)(f ? Mqe : ZQ), 2), h = m[0], g = m[1];return (0, S.useEffect)(() => {f || g(ZQ);}, [f]), (0, S.useEffect)(() => {var e = fqe(o);- return !f || !i || e == null ? rY : p(new wqe(), new Cqe({+ return !f || !i || e == null ? iY : p(new wqe(), new Cqe({animationId: n,easing: e,animationDuration: a,@@ -85238,8 +85246,8 @@ function Nqe(e) {//#endregion//#region node_modules/recharts/es6/util/useAnimationId.jsfunction Pqe(e) {- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, S.useRef)(YJ(t)), r = (0, S.useRef)(e);- return r.current !== e && (n.current = YJ(t), r.current = e), n.current;+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, S.useRef)(XJ(t)), r = (0, S.useRef)(e);+ return r.current !== e && (n.current = XJ(t), r.current = e), n.current;}//#endregion//#region node_modules/recharts/es6/animation/util.js@@ -85360,7 +85368,7 @@ function $Q(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}var cJe = (e, t, n, r, i) => {- var a = HJ(n), o = HJ(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;+ var a = UJ(n), o = UJ(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;if (s > 0 && Array.isArray(i)) {for (var f = [0,@@ -85371,44 +85379,44 @@ var cJe = (e, t, n, r, i) => {var h = i[p] ?? 0;f[p] = h > s ? s : h;}- d = UJ(zqe ||= $Q([+ d = WJ(zqe ||= $Q(["M",",",""- ]), e, t + c * f[0]), f[0] > 0 && (d += UJ(Bqe ||= $Q([+ ]), e, t + c * f[0]), f[0] > 0 && (d += WJ(Bqe ||= $Q(["A ",",",",0,0,",",",",",""- ]), f[0], f[0], u, e + l * f[0], t)), d += UJ(Vqe ||= $Q([+ ]), f[0], f[0], u, e + l * f[0], t)), d += WJ(Vqe ||= $Q(["L ",",",""- ]), e + n - l * f[1], t), f[1] > 0 && (d += UJ(Hqe ||= $Q([+ ]), e + n - l * f[1], t), f[1] > 0 && (d += WJ(Hqe ||= $Q(["A ",",",",0,0,",",\n ",",",""- ]), f[1], f[1], u, e + n, t + c * f[1])), d += UJ(Uqe ||= $Q([+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += WJ(Uqe ||= $Q(["L ",",",""- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += UJ(Wqe ||= $Q([+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += WJ(Wqe ||= $Q(["A ",",",",0,0,",",\n ",",",""- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += UJ(Gqe ||= $Q([+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += WJ(Gqe ||= $Q(["L ",",",""- ]), e + l * f[3], t + r), f[3] > 0 && (d += UJ(Kqe ||= $Q([+ ]), e + l * f[3], t + r), f[3] > 0 && (d += WJ(Kqe ||= $Q(["A ",",",",0,0,",@@ -85418,8 +85426,8 @@ var cJe = (e, t, n, r, i) => {]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";} else if (s > 0 && i === +i && i > 0) {var g = Math.min(s, i);- d = UJ(qqe ||= $Q(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);- } else d = UJ(Jqe ||= $Q([+ d = WJ(qqe ||= $Q(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);+ } else d = WJ(Jqe ||= $Q(["M ",","," h ",@@ -85440,7 +85448,7 @@ var cJe = (e, t, n, r, i) => {animationDuration: 1500,animationEasing: "ease"}, e$ = (e) => {- var t = uX(e, lJe), n = (0, S.useRef)(null), r = nJe((0, S.useState)(-1), 2), i = r[0], a = r[1];+ var t = dX(e, lJe), n = (0, S.useRef)(null), r = nJe((0, S.useState)(-1), 2), i = r[0], a = r[1];(0, S.useEffect)(() => {if (n.current && n.current.getTotalLength) try {var e = n.current.getTotalLength();@@ -85463,14 +85471,14 @@ var cJe = (e, t, n, r, i) => {if (o !== +o || s !== +s || c !== +c || l !== +l || c === 0 || l === 0) return null;var C = $v("recharts-rectangle", d);if (!g) {- var w = AJ(t);+ var w = jJ(t);w.radius;var T = eJe(w, Lqe);return /*#__PURE__*/ S.createElement("path", QQ({}, T, {- x: HJ(o),- y: HJ(s),- width: HJ(c),- height: HJ(l),+ x: UJ(o),+ y: UJ(s),+ width: UJ(c),+ height: UJ(l),radius: typeof u == "number" ? u : void 0,className: C,d: cJe(o, s, c, l, u)@@ -85486,12 +85494,12 @@ var cJe = (e, t, n, r, i) => {isActive: g,begin: m}, (e) => {- var r = QJ(E, c, e), i = QJ(D, l, e), a = QJ(O, o, e), d = QJ(k, s, e);+ var r = $J(E, c, e), i = $J(D, l, e), a = $J(O, o, e), d = $J(k, s, e);n.current && (_.current = r, v.current = i, y.current = a, b.current = d);var f = h ? e > 0 ? {transition: M,strokeDasharray: j- } : { strokeDasharray: A } : { strokeDasharray: j }, p = AJ(t);+ } : { strokeDasharray: A } : { strokeDasharray: j }, p = jJ(t);p.radius;var m = eJe(p, Rqe);return /*#__PURE__*/ S.createElement("path", QQ({}, m, {@@ -85641,7 +85649,7 @@ function i$() {function a$(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var AJe = (e, t) => WJ(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) => {+var AJe = (e, t) => GJ(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) => {var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / t$, d = c ? i : i + a * u, f = r$(t, n, l, d), p = r$(t, n, r, d), m = c ? i - a * u : i;return {center: f,@@ -85650,7 +85658,7 @@ var AJe = (e, t) => WJ(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>theta: u};}, jJe = (e) => {- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = AJe(a, o), c = a + s, l = r$(t, n, i, a), u = r$(t, n, i, c), d = UJ(CJe ||= a$([+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = AJe(a, o), c = a + s, l = r$(t, n, i, a), u = r$(t, n, i, c), d = WJ(CJe ||= a$(["M ",",","\n A ",@@ -85663,7 +85671,7 @@ var AJe = (e, t) => WJ(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);if (r > 0) {var f = r$(t, n, r, a), p = r$(t, n, r, c);- d += UJ(wJe ||= a$([+ d += WJ(wJe ||= a$(["L ",",","\n A ",@@ -85674,14 +85682,14 @@ var AJe = (e, t) => WJ(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>","," Z"]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);- } else d += UJ(TJe ||= a$([+ } else d += WJ(TJe ||= a$(["L ",","," Z"]), t, n);return d;}, MJe = (e) => {- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = WJ(l - c), d = o$({+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = GJ(l - c), d = o$({cx: t,cy: n,radius: i,@@ -85698,7 +85706,7 @@ var AJe = (e, t) => WJ(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>cornerRadius: a,cornerIsExternal: s}), g = h.circleTangency, _ = h.lineTangency, v = h.theta, y = s ? Math.abs(c - l) : Math.abs(c - l) - m - v;- if (y < 0) return o ? UJ(EJe ||= a$([+ if (y < 0) return o ? WJ(EJe ||= a$(["M ",",","\n a",@@ -85716,7 +85724,7 @@ var AJe = (e, t) => WJ(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>startAngle: c,endAngle: l});- var b = UJ(DJe ||= a$([+ var b = WJ(DJe ||= a$(["M ",",","\n A",@@ -85758,7 +85766,7 @@ var AJe = (e, t) => WJ(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>cornerIsExternal: s}), E = T.circleTangency, D = T.lineTangency, O = T.theta, k = s ? Math.abs(c - l) : Math.abs(c - l) - w - O;if (k < 0 && a === 0) return `${b}L${t},${n}Z`;- b += UJ(OJe ||= a$([+ b += WJ(OJe ||= a$(["L",",","\n A",@@ -85779,7 +85787,7 @@ var AJe = (e, t) => WJ(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>",","Z"]), D.x, D.y, a, a, +(u < 0), E.x, E.y, r, r, +(k > 180), +(u > 0), S.x, S.y, a, a, +(u < 0), C.x, C.y);- } else b += UJ(kJe ||= a$([+ } else b += WJ(kJe ||= a$(["L",",","Z"@@ -85796,9 +85804,9 @@ var AJe = (e, t) => WJ(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>forceCornerRadius: !1,cornerIsExternal: !1}, s$ = (e) => {- var t = uX(e, NJe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;+ var t = dX(e, NJe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;if (a < i || l === u) return null;- var f = $v("recharts-sector", d), p = a - i, m = XJ(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? MJe({+ var f = $v("recharts-sector", d), p = a - i, m = ZJ(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? MJe({cx: n,cy: r,innerRadius: i,@@ -85816,7 +85824,7 @@ var AJe = (e, t) => WJ(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>startAngle: l,endAngle: u});- return /*#__PURE__*/ S.createElement("path", i$({}, AJ(t), {+ return /*#__PURE__*/ S.createElement("path", i$({}, jJ(t), {className: f,d: h}));@@ -85838,7 +85846,7 @@ function PJe(e, t, n) {x: n.left + n.width,y: t.y}];- if (oX(t)) {+ if (sX(t)) {if (e === "centric") {var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = r$(r, i, a, s), l = r$(r, i, o, s);return [{@@ -85855,7 +85863,7 @@ function PJe(e, t, n) {//#endregion//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjsfunction FJe(e) {- return RJ(e) ? NaN : Number(e);+ return zJ(e) ? NaN : Number(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs@@ -85964,7 +85972,7 @@ function JJe(e, t, n) {if (Array.isArray(e) && e.length === 2) {var i = f$(e, 2), a = i[0], o = i[1], s, c;if (a === "auto") t != null && (s = Math.min(...t));- else if (qJ(a)) s = a;+ else if (JJ(a)) s = a;else if (typeof a == "function") try {t != null && (s = a(t?.[0]));} catch {}@@ -85977,7 +85985,7 @@ function JJe(e, t, n) {}} else s = t?.[0];if (o === "auto") t != null && (c = Math.max(...t));- else if (qJ(o)) c = o;+ else if (JJ(o)) c = o;else if (typeof o == "function") try {t != null && (c = o(t?.[1]));} catch {}@@ -86644,9 +86652,9 @@ var gYe = {uQ,hQ], gJe), vYe = X([M$, N$], (e, t) => {- if (e != null) return XJ(e.innerRadius, t, 0);+ if (e != null) return ZJ(e.innerRadius, t, 0);}), yYe = X([M$, N$], (e, t) => {- if (e != null) return XJ(e.outerRadius, t, t * .8);+ if (e != null) return ZJ(e.outerRadius, t, t * .8);}), bYe = X([M$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), xYe = X([A$, bYe], D$), SYe = X([N$,vYe,@@ -86664,8 +86672,8 @@ var gYe = {if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {var o = t.cx, s = t.cy, c = t.startAngle, l = t.endAngle;return {- cx: XJ(o, i, i / 2),- cy: XJ(s, a, a / 2),+ cx: ZJ(o, i, i / 2),+ cy: ZJ(s, a, a / 2),innerRadius: n,outerRadius: r,startAngle: c,@@ -89104,7 +89112,7 @@ var l$e = /* @__PURE__ */ s({function u$e(e) {var t = l$e;if (e in t && typeof t[e] == "function") return t[e]();- var n = `scale${tY(e)}`;+ var n = `scale${nY(e)}`;if (n in t && typeof t[n] == "function") return t[n]();}function d$e(e, t, n) {@@ -89120,7 +89128,7 @@ function R0(e, t, n, r) {//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.jsfunction f$e(e) {- return `scale${tY(e)}`;+ return `scale${nY(e)}`;}function p$e(e) {return f$e(e) in l$e;@@ -89371,7 +89379,7 @@ var Y0 = (e) => e.graphicalItems.cartesianItems, N$e = X([F$, I$], J0), X0 = (e,R$e], B$e);function n2(e) {- if (JJ(e) || e instanceof Date) {+ if (YJ(e) || e instanceof Date) {var t = Number(e);if ($Z(t)) return t;}@@ -89385,7 +89393,7 @@ function V$e(e) {if (n != null) return [n, n];}function r2(e) {- return e.map(n2).filter(nY);+ return e.map(n2).filter(rY);}function H$e(e, t) {var n = n2(e), r = n2(t);@@ -89402,7 +89410,7 @@ function W$e(e, t) {function G$e(e, t, n) {if (!n || !n.length) return [];var r;- if (typeof t == "number" && !GJ(t)) r = t;+ if (typeof t == "number" && !KJ(t)) r = t;else if (Array.isArray(t)) {var i = r2(t);i.length > 0 && (r = Math.max(...i));@@ -89490,11 +89498,11 @@ var i2 = (e) => q0(e, H$(e), U$(e)), a2 = X([i2], (e) => e?.dataKey), K$e = X([], p2, { memoizeOptions: { resultEqualityCheck: B$ } });function Q$e(e) {var t = e.value;- if (JJ(t) || t instanceof Date) return t;+ if (YJ(t) || t instanceof Date) return t;}var $$e = (e, t, n) => {var r = e.map(Q$e).filter((e) => e != null);- return n && (t.dataKey == null || t.allowDuplicatedCategory && ZJ(r)) ? IJe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));+ return n && (t.dataKey == null || t.allowDuplicatedCategory && QJ(r)) ? IJe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));}, e1e = (e) => e.referenceElements.dots, m2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), t1e = X([e1e,F$,@@ -89617,7 +89625,7 @@ var f1e = (e, t) => {var a = t === "vertical" ? r.height : r.width;if (i === "gap") return e * a / 2;if (i === "no-gap") {- var o = XJ(n, e * a), s = e * a / 2;+ var o = ZJ(n, e * a), s = e * a / 2;return s - o - (s - o) / a * o;}return 0;@@ -89792,7 +89800,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, E1e = X(fQ, D2, O2, (e, t, n) => e.fi}, z1e = (e, t, n, r) => {if (n != null) {var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = rQ(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);- if (o && s && a === "category" && i && ZJ(l)) return c;+ if (o && s && a === "category" && i && QJ(l)) return c;}}, k2 = X([OQ,@@ -89836,7 +89844,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, E1e = X(fQ, D2, O2, (e, t, n) => e.fi}), V1e = (e, t, n, r, i, a, o, s, c) => {if (t != null && r != null) {var l = rQ(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;- m = c === "angleAxis" && a != null && a.length >= 2 ? WJ(a[0] - a[1]) * 2 * m : m;+ m = c === "angleAxis" && a != null && a.length >= 2 ? GJ(a[0] - a[1]) * 2 * m : m;var h = d || i;return h ? h.map((e, t) => {var n = o ? o.indexOf(e) : e, i = r.map(n);@@ -89846,7 +89854,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, E1e = X(fQ, D2, O2, (e, t, n) => e.fivalue: e,offset: m} : null;- }).filter(nY) : l && s ? s.map((e, t) => {+ }).filter(rY) : l && s ? s.map((e, t) => {var n = r.map(e);return $Z(n) ? {coordinate: n + m,@@ -89854,7 +89862,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, E1e = X(fQ, D2, O2, (e, t, n) => e.fiindex: t,offset: m} : null;- }).filter(nY) : r.ticks ? r.ticks(f).map((e, t) => {+ }).filter(rY) : r.ticks ? r.ticks(f).map((e, t) => {var n = r.map(e);return $Z(n) ? {coordinate: n + m,@@ -89862,7 +89870,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, E1e = X(fQ, D2, O2, (e, t, n) => e.fiindex: t,offset: m} : null;- }).filter(nY) : r.domain().map((e, t) => {+ }).filter(rY) : r.domain().map((e, t) => {var n = r.map(e);return $Z(n) ? {coordinate: n + m,@@ -89870,7 +89878,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, E1e = X(fQ, D2, O2, (e, t, n) => e.fiindex: t,offset: m} : null;- }).filter(nY);+ }).filter(rY);}}, H1e = X([OQ,@@ -89885,7 +89893,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, E1e = X(fQ, D2, O2, (e, t, n) => e.fi], V1e), U1e = (e, t, n, r, i, a, o) => {if (t != null && n != null && r != null && r[0] !== r[1]) {var s = rQ(e, o), c = t.tickCount, l = 0;- return l = o === "angleAxis" && r?.length >= 2 ? WJ(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {+ return l = o === "angleAxis" && r?.length >= 2 ? GJ(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {var r = n.map(e);return $Z(r) ? {coordinate: r + l,@@ -89893,7 +89901,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, E1e = X(fQ, D2, O2, (e, t, n) => e.fiindex: t,offset: l} : null;- }).filter(nY) : n.ticks ? n.ticks(c).map((e, t) => {+ }).filter(rY) : n.ticks ? n.ticks(c).map((e, t) => {var r = n.map(e);return $Z(r) ? {coordinate: r + l,@@ -89901,7 +89909,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, E1e = X(fQ, D2, O2, (e, t, n) => e.fiindex: t,offset: l} : null;- }).filter(nY) : n.domain().map((e, t) => {+ }).filter(rY) : n.domain().map((e, t) => {var r = n.map(e);return $Z(r) ? {coordinate: r + l,@@ -89909,7 +89917,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, E1e = X(fQ, D2, O2, (e, t, n) => e.fiindex: t,offset: l} : null;- }).filter(nY);+ }).filter(rY);}}, A2 = X([OQ,@@ -89971,7 +89979,7 @@ function J1e(e) {//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.jsvar Y1e = (e, t) => {var n, r = Number(t);- if (!(GJ(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;+ if (!(KJ(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;}, X1e = (e) => e.tooltip.settings, N2 = {active: !1,index: null,@@ -90260,7 +90268,7 @@ var N0e = (e, t, n, r, i, a, o) => {var s = n.chartData, c = n.computedData, l = n.dataStartIndex, u = n.dataEndIndex;return e.reduce((e, n) => {var d = n.dataDefinedOnItem, f = n.settings, p = M0e(d, s), m = Array.isArray(p) ? HUe(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;- return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = $J(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {+ return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = eY(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {var n = j0e(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = C0e(C0e({}, f), {}, {name: r,unit: n?.unit,@@ -90390,7 +90398,7 @@ var N0e = (e, t, n, r, i, a, o) => {var c = t.type, l = rQ(e, s);if (r) {var u = n === "scaleBand" && r.bandwidth ? r.bandwidth() / 2 : 2, d = c === "category" && r.bandwidth ? r.bandwidth() / u : 0;- return d = s === "angleAxis" && i != null && i?.length >= 2 ? WJ(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? GJ(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {var n = r.map(e);return $Z(n) ? {coordinate: n + d,@@ -90398,7 +90406,7 @@ var N0e = (e, t, n, r, i, a, o) => {index: t,offset: d} : null;- }).filter(nY) : r.domain().map((e, t) => {+ }).filter(rY) : r.domain().map((e, t) => {var n = r.map(e);return $Z(n) ? {coordinate: n + d,@@ -90406,7 +90414,7 @@ var N0e = (e, t, n, r, i, a, o) => {index: t,offset: d} : null;- }).filter(nY);+ }).filter(rY);}}}), K2 = X([@@ -90608,9 +90616,9 @@ var g2e = (e, t, n, r, i) => {].some((e) => (r ? e >= t : e > t) && e <= n), c = 0; c < a; c++) {var l = c > 0 ? n[c - 1]?.coordinate : n[a - 1]?.coordinate, u = n[c]?.coordinate, d = c >= a - 1 ? n[0]?.coordinate : n[c + 1]?.coordinate, f = void 0;if (l != null && u != null && d != null) {- if (WJ(u - l) !== WJ(d - u)) {+ if (GJ(u - l) !== GJ(d - u)) {var p = [];- if (WJ(d - u) === WJ(i[1] - i[0])) {+ if (GJ(d - u) === GJ(i[1] - i[0])) {f = d;var m = u + i[1] - i[0];p[0] = Math.min(m, (m + l) / 2), p[1] = Math.max(m, (m + l) / 2);@@ -90896,7 +90904,7 @@ function Y2e(e) {var p, m, h;if (l === "ScatterChart") p = u, m = tqe, h = w$.cursorLine;else if (l === "BarChart") p = nqe(o, u, i, a), m = e$, h = w$.cursorRectangle;- else if (o === "radial" && oX(u)) {+ else if (o === "radial" && sX(u)) {var g = SJe(u), _ = g.cx, v = g.cy, y = g.radius;p = {cx: _,@@ -90910,7 +90918,7 @@ function Y2e(e) {var b = typeof s == "object" && "className" in s ? s.className : void 0, x = o4(o4(o4(o4({stroke: "#ccc",pointerEvents: "none"- }, i), p), kJ(s)), {}, {+ }, i), p), AJ(s)), {}, {payload: d,payloadIndex: f,className: $v("recharts-tooltip-cursor", b)@@ -91022,7 +91030,7 @@ var Z2e = /*#__PURE__*/ (0, S.createContext)(null), Q2e = () => (0, S.useContext})))(), 1)).default, s4 = new $2e(), c4 = "recharts.syncEvent.tooltip", e4e = "recharts.syncEvent.brush", l4 = (e, t) => {if (t && Array.isArray(e)) {var n = Number.parseInt(t, 10);- if (!GJ(n)) return e[n];+ if (!KJ(n)) return e[n];}}, t4e = RZ({name: "options",@@ -91128,7 +91136,7 @@ function h4e(e, t) {function g4e() {var e = PX(S$), t = PX(C$), n = MX(), r = PX(uYe), i = PX(G2), a = kQ(), o = TQ(), s = PX((e) => e.rootProps.className);(0, S.useEffect)(() => {- if (e == null) return rY;+ if (e == null) return iY;var s = (s, c, l) => {if (t !== l && e === s) {if (c.payload.active === !1) n(F2({@@ -91213,7 +91221,7 @@ function g4e() {function _4e() {var e = PX(S$), t = PX(C$), n = MX();(0, S.useEffect)(() => {- if (e == null) return rY;+ if (e == null) return iY;var r = (r, i, a) => {t !== a && e === r && n(s4e(i));};@@ -91381,7 +91389,7 @@ var N4e = [], P4e = {wrapperStyle: {}};function F4e(e) {- var t = uX(e, P4e), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, b = t.axisId, x = MX(), C = typeof v == "number" ? String(v) : v;+ var t = dX(e, P4e), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, b = t.axisId, x = MX(), C = typeof v == "number" ? String(v) : v;(0, S.useEffect)(() => {x(t0e({shared: g,@@ -91669,7 +91677,7 @@ var g4 = class e {return r == null ? e.NaN : new e(parseFloat(r), i ?? "");}constructor(e, t) {- this.num = e, this.unit = t, this.num = e, this.unit = t, GJ(e) && (this.unit = ""), t !== "" && !c3e.test(t) && (this.num = NaN, this.unit = ""), f3e(t) && (this.num = p3e(e, t), this.unit = "px");+ this.num = e, this.unit = t, this.num = e, this.unit = t, KJ(e) && (this.unit = ""), t !== "" && !c3e.test(t) && (this.num = NaN, this.unit = ""), f3e(t) && (this.num = p3e(e, t), this.unit = "px");}add(t) {return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");@@ -91687,7 +91695,7 @@ var g4 = class e {return `${this.num}${this.unit}`;}isNaN() {- return GJ(this.num);+ return KJ(this.num);}};Z4e = g4, r3e(g4, "NaN", new Z4e(NaN, ""));@@ -91819,7 +91827,7 @@ var k3e = /[ \f\n\r\t\v\u2028\u2029]+/, A3e = (e) => {var t = e.children, n = e.breakAll, r = e.style;try {var i = [];- return eY(t) || (i = n ? t.toString().split("") : t.toString().split(k3e)), {+ return tY(t) || (i = n ? t.toString().split("") : t.toString().split(k3e)), {wordsWithComputedWidth: i.map((e) => ({word: e,width: p4(e, r).width@@ -91834,7 +91842,7 @@ function j3e(e) {return e === "start" || e === "middle" || e === "end" || e === "inherit";}function M3e(e) {- return eY(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";+ return tY(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";}var N3e = (e, t, n, r) => e.reduce((e, i) => {var a = i.word, o = i.width, s = e[e.length - 1];@@ -91857,7 +91865,7 @@ var N3e = (e, t, n, r) => e.reduce((e, i) => {var l = N3e(c.wordsWithComputedWidth, a, o, s);return [l.length > i || P3e(l).width > Number(a), l];}, L3e = (e, t, n, r, i) => {- var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = qJ(a), u = String(o), d = N3e(t, r, n, i);+ var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = JJ(a), u = String(o), d = N3e(t, r, n, i);if (!l || i || !(d.length > a || P3e(d).width > Number(r))) return d;for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {var g = Math.floor((f + p) / 2), _ = C3e(I3e(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = C3e(I3e(u, g, c, s, a, r, n, i), 1)[0];@@ -91869,7 +91877,7 @@ var N3e = (e, t, n, r) => e.reduce((e, i) => {}return h || d;}, R3e = (e) => [{- words: eY(e) ? [] : e.toString().split(k3e),+ words: tY(e) ? [] : e.toString().split(k3e),width: void 0}], z3e = (e) => {var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, o = e.maxLines;@@ -91903,7 +91911,7 @@ var N3e = (e, t, n, r) => e.reduce((e, i) => {x: 0,y: 0}, y4 = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {- var n = uX(e, V3e), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = x3e(n, y3e), f = (0, S.useMemo)(() => z3e({+ var n = dX(e, V3e), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = x3e(n, y3e), f = (0, S.useMemo)(() => z3e({breakAll: d.breakAll,children: d.children,maxLines: d.maxLines,@@ -91918,8 +91926,8 @@ var N3e = (e, t, n, r) => e.reduce((e, i) => {d.style,d.width]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = x3e(d, b3e);- if (!JJ(r) || !JJ(i) || f.length === 0) return null;- var y = Number(r) + (qJ(p) ? p : 0), b = Number(i) + (qJ(m) ? m : 0);+ if (!YJ(r) || !YJ(i) || f.length === 0) return null;+ var y = Number(r) + (JJ(p) ? p : 0), b = Number(i) + (JJ(m) ? m : 0);if (!$Z(y) || !$Z(b)) return null;var x;switch (u) {@@ -91934,9 +91942,9 @@ var N3e = (e, t, n, r) => e.reduce((e, i) => {var C = [], w = f[0];if (c && w != null) {var T = w.width, E = d.width;- C.push(`scale(${qJ(E) && qJ(T) ? E / T : 1})`);+ C.push(`scale(${JJ(E) && JJ(T) ? E / T : 1})`);}- return h && C.push(`rotate(${h}, ${y}, ${b})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ S.createElement("text", v4({}, AJ(v), {+ return h && C.push(`rotate(${h}, ${y}, ${b})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ S.createElement("text", v4({}, jJ(v), {ref: t,x: y,y: b,@@ -92045,7 +92053,7 @@ var X3e = /*#__PURE__*/ (0, S.createContext)(null), Z3e = (e) => {return /*#__PURE__*/ S.createElement(X3e.Provider, { value: c }, s);}, Q3e = () => {var e = (0, S.useContext)(X3e), t = TQ();- return e || (t ? iY(t) : void 0);+ return e || (t ? aY(t) : void 0);}, $3e = /*#__PURE__*/ (0, S.createContext)(null), e6e = (e) => {var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = e.clockWise, c = e.children, l = (0, S.useMemo)(() => ({cx: t,@@ -92069,9 +92077,9 @@ var X3e = /*#__PURE__*/ (0, S.createContext)(null), Z3e = (e) => {var e = (0, S.useContext)($3e), t = PX(P$);return e || t;}, n6e = (e) => {- var t = e.value, n = e.formatter, r = eY(e.children) ? t : e.children;+ var t = e.value, n = e.formatter, r = tY(e.children) ? t : e.children;return typeof n == "function" ? n(r) : r;-}, S4 = (e) => e != null && typeof e == "function", r6e = (e, t) => WJ(t - e) * Math.min(Math.abs(t - e), 360), i6e = (e, t, n, r, i) => {+}, S4 = (e) => e != null && typeof e == "function", r6e = (e, t) => GJ(t - e) * Math.min(Math.abs(t - e), 360), i6e = (e, t, n, r, i) => {var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = r6e(d, f), g = h >= 0 ? 1 : -1, _, v;switch (t) {case "insideStart":@@ -92088,7 +92096,7 @@ var X3e = /*#__PURE__*/ (0, S.createContext)(null), Z3e = (e) => {v = h <= 0 ? v : !v;var y = r$(s, c, m, _), b = r$(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}A${m},${m},0,1,${+!v},- ${b.x},${b.y}`, C = eY(e.id) ? YJ("recharts-radial-line-") : e.id;+ ${b.x},${b.y}`, C = tY(e.id) ? XJ("recharts-radial-line-") : e.id;return /*#__PURE__*/ S.createElement("text", x4({}, r, {dominantBaseline: "central",className: $v("recharts-radial-bar-label", o)@@ -92132,7 +92140,7 @@ var X3e = /*#__PURE__*/ (0, S.createContext)(null), Z3e = (e) => {textAnchor: "middle",verticalAnchor: "middle"};-}, C4 = (e) => e != null && "cx" in e && qJ(e.cx), o6e = {+}, C4 = (e) => e != null && "cx" in e && JJ(e.cx), o6e = {angle: 0,offset: 5,zIndex: w$.label,@@ -92152,12 +92160,12 @@ function s6e(e) {};}function w4(e) {- var t = uX(e, o6e), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = t6e(), p = Q3e(), m = n == null ? i === "center" ? p : f ?? p : C4(n) ? n : iY(n), h, g, _ = s6e(m);- if (!m || eY(a) && eY(o) && !/*#__PURE__*/ (0, S.isValidElement)(s) && typeof s != "function") return null;+ var t = dX(e, o6e), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = t6e(), p = Q3e(), m = n == null ? i === "center" ? p : f ?? p : C4(n) ? n : aY(n), h, g, _ = s6e(m);+ if (!m || tY(a) && tY(o) && !/*#__PURE__*/ (0, S.isValidElement)(s) && typeof s != "function") return null;var v = C4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");if (C4(m)) v || (g = a6e(m, t.offset, t.position));else if (_) {- var y = sY({+ var y = cY({viewBox: _,position: i,offset: t.offset,@@ -92182,7 +92190,7 @@ function w4(e) {var C = W3e(b, U3e);if (h = /*#__PURE__*/ (0, S.createElement)(s, C), /*#__PURE__*/ (0, S.isValidElement)(h)) return h;} else h = n6e(t);- var w = AJ(t);+ var w = jJ(t);return v && C4(m) ? i6e(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: t.zIndex }, /*#__PURE__*/ S.createElement(y4, x4({ref: d,className: $v("recharts-label", l)@@ -92198,7 +92206,7 @@ var c6e = (e, t, n) => {viewBox: t,labelRef: n};- return e === !0 ? /*#__PURE__*/ S.createElement(w4, x4({ key: "label-implicit" }, r)) : JJ(e) ? /*#__PURE__*/ S.createElement(w4, x4({+ return e === !0 ? /*#__PURE__*/ S.createElement(w4, x4({ key: "label-implicit" }, r)) : YJ(e) ? /*#__PURE__*/ S.createElement(w4, x4({key: "label-implicit",value: e}, r)) : /*#__PURE__*/ (0, S.isValidElement)(e) ? e.type === w4 ? /*#__PURE__*/ (0, S.cloneElement)(e, b4({ key: "label-implicit" }, r)) : /*#__PURE__*/ S.createElement(w4, x4({@@ -92267,9 +92275,9 @@ function D4(e) {var t = e.valueAccessor, n = t === void 0 ? h6e : t, r = p6e(e, d6e), i = r.dataKey;r.clockWise;var a = r.id, o = r.textBreakAll, s = r.zIndex, c = p6e(r, f6e), l = y6e(), u = b6e(), d = l || u;- return !d || !d.length ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: s ?? w$.label }, /*#__PURE__*/ S.createElement(PJ, { className: "recharts-label-list" }, d.map((e, t) => {- var s = eY(i) ? n(e, t) : nQ(e.payload, i), l = eY(a) ? {} : { id: `${a}-${t}` };- return /*#__PURE__*/ S.createElement(w4, T4({ key: `label-${t}` }, AJ(e), c, l, {+ return !d || !d.length ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: s ?? w$.label }, /*#__PURE__*/ S.createElement(FJ, { className: "recharts-label-list" }, d.map((e, t) => {+ var s = tY(i) ? n(e, t) : nQ(e.payload, i), l = tY(a) ? {} : { id: `${a}-${t}` };+ return /*#__PURE__*/ S.createElement(w4, T4({ key: `label-${t}` }, jJ(e), c, l, {fill: r.fill ?? e.fill,parentViewBox: e.parentViewBox,value: s,@@ -92339,7 +92347,7 @@ var E6e = (e) => e != null && e.x === +e.x && e.y === +e.y, D6e = function() {}, A4 = (e, t) => {var n = D6e(e);t && (n = [n.reduce((e, t) => [...e, ...t], [])]);- var r = n.map((e) => e.reduce((e, t, n) => UJ(S6e ||= T6e([+ var r = n.map((e) => e.reduce((e, t, n) => WJ(S6e ||= T6e(["","","",@@ -92356,20 +92364,20 @@ var E6e = (e) => e != null && e.x === +e.x && e.y === +e.y, D6e = function() {var o = $v("recharts-polygon", n);if (r && r.length) {var s = a.stroke && a.stroke !== "none", c = O6e(t, r, i);- return /*#__PURE__*/ S.createElement("g", { className: o }, /*#__PURE__*/ S.createElement("path", k4({}, AJ(a), {+ return /*#__PURE__*/ S.createElement("g", { className: o }, /*#__PURE__*/ S.createElement("path", k4({}, jJ(a), {fill: c.slice(-1) === "Z" ? a.fill : "none",stroke: "none",d: c- })), s ? /*#__PURE__*/ S.createElement("path", k4({}, AJ(a), {+ })), s ? /*#__PURE__*/ S.createElement("path", k4({}, jJ(a), {fill: "none",d: A4(t, i)- })) : null, s ? /*#__PURE__*/ S.createElement("path", k4({}, AJ(a), {+ })) : null, s ? /*#__PURE__*/ S.createElement("path", k4({}, jJ(a), {fill: "none",d: A4(r, i)})) : null);}var l = A4(t, i);- return /*#__PURE__*/ S.createElement("path", k4({}, AJ(a), {+ return /*#__PURE__*/ S.createElement("path", k4({}, jJ(a), {fill: l.slice(-1) === "Z" ? a.fill : "none",className: o,d: l@@ -92388,7 +92396,7 @@ function j4() {}var M4 = (e) => {var t = e.cx, n = e.cy, r = e.r, i = e.className, a = $v("recharts-dot", i);- return qJ(t) && qJ(n) && qJ(r) ? /*#__PURE__*/ S.createElement("circle", j4({}, OJ(e), sX(e), {+ return JJ(t) && JJ(n) && JJ(r) ? /*#__PURE__*/ S.createElement("circle", j4({}, kJ(e), cX(e), {className: a,cx: t,cy: n,@@ -92594,7 +92602,7 @@ var q6e = (e, t, n, r) => {}, J6e = (e) => {var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.polarAngles, o = e.radialLines;if (!a || !a.length || !o) return null;- var s = V4({}, OJ(e));+ var s = V4({}, kJ(e));return /*#__PURE__*/ S.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {var a = r$(t, n, r, e), o = r$(t, n, i, e);return /*#__PURE__*/ S.createElement("line", B4({ key: `line-${e}` }, s, {@@ -92605,7 +92613,7 @@ var q6e = (e, t, n, r) => {}));}));}, Y6e = (e) => {- var t = e.cx, n = e.cy, r = e.radius, i = V4({}, OJ(e));+ var t = e.cx, n = e.cy, r = e.radius, i = V4({}, kJ(e));return /*#__PURE__*/ S.createElement("circle", B4({}, i, {className: $v("recharts-polar-grid-concentric-circle", e.className),cx: t,@@ -92613,7 +92621,7 @@ var q6e = (e, t, n, r) => {r}));}, X6e = (e) => {- var t = e.radius, n = V4({}, OJ(e));+ var t = e.radius, n = V4({}, kJ(e));return /*#__PURE__*/ S.createElement("path", B4({}, n, {className: $v("recharts-polar-grid-concentric-polygon", e.className),d: q6e(t, e.cx, e.cy, e.polarAngles)@@ -92642,7 +92650,7 @@ var q6e = (e, t, n, r) => {strokeWidth: 1,fill: "none"}, $6e = (e) => {- var t = uX(e, Q6e), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = V6e(t, B6e), m = PX(P$), h = PX((e) => R6e(e, i)), g = PX((e) => z6e(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;+ var t = dX(e, Q6e), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = V6e(t, B6e), m = PX(P$), h = PX((e) => R6e(e, i)), g = PX((e) => z6e(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;if (_ == null || v == null) return null;var y = V4({cx: m?.cx ?? o ?? 0,@@ -92675,7 +92683,7 @@ function H4(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs-function e8e(e, t = hX) {+function e8e(e, t = gX) {if (e == null) return;let n = H4(e);if (n.length === 0) return;@@ -92688,7 +92696,7 @@ function e8e(e, t = hX) {}//#endregion//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs-function t8e(e, t = hX) {+function t8e(e, t = gX) {if (e == null) return;let n = H4(e);if (n.length === 0) return;@@ -92816,7 +92824,7 @@ function _8e(e) {var t = e.type, r = q4(e, c8e), i = O$(n, "radiusAxis", t);if (i != null) return K4(K4({}, r), {}, { type: i });}, [e, n]);- return (0, S.useEffect)(() => r == null ? rY : (t(r8e(r)), () => {+ return (0, S.useEffect)(() => r == null ? iY : (t(r8e(r)), () => {t(i8e(r));}), [t, r]), null;}@@ -92847,7 +92855,7 @@ var v8e = (e, t, n, r) => {clockWise: !1};}, x8e = (e, t) => {- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = q4(e, l8e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = r$(n, r, s[0], i), l = r$(n, r, s[1], i), u = K4(K4(K4({}, OJ(o)), {}, { fill: "none" }, OJ(a)), {}, {+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = q4(e, l8e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = r$(n, r, s[0], i), l = r$(n, r, s[1], i), u = K4(K4(K4({}, kJ(o)), {}, { fill: "none" }, kJ(a)), {}, {x1: c.x,y1: c.y,x2: l.x,@@ -92855,7 +92863,7 @@ var v8e = (e, t, n, r) => {});return /*#__PURE__*/ S.createElement("line", G4({ className: "recharts-polar-radius-axis-line" }, u));}, S8e = (e, t, n) => /*#__PURE__*/ S.isValidElement(e) ? /*#__PURE__*/ S.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ S.createElement(y4, G4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), C8e = (e, t) => {- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = q4(e, u8e), s = y8e(e.orientation), c = OJ(o), l = kJ(a), u = t.map((t, o) => {+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = q4(e, u8e), s = y8e(e.orientation), c = kJ(o), l = AJ(a), u = t.map((t, o) => {var u = v8e(t, e.angle, e.cx, e.cy), d = K4(K4(K4(K4({textAnchor: s,transform: `rotate(${90 - n}, ${u.x}, ${u.y})`@@ -92863,20 +92871,20 @@ var v8e = (e, t, n, r) => {stroke: "none",fill: i}, l), {}, { index: o }, u), {}, { payload: t });- return /*#__PURE__*/ S.createElement(PJ, G4({+ return /*#__PURE__*/ S.createElement(FJ, G4({className: $v("recharts-polar-radius-axis-tick", W4(a)),key: `tick-${t.coordinate}`- }, cX(e, t, o)), S8e(a, d, r ? r(t.value, o) : t.value));+ }, lX(e, t, o)), S8e(a, d, r ? r(t.value, o) : t.value));});- return /*#__PURE__*/ S.createElement(PJ, { className: "recharts-polar-radius-axis-ticks" }, u);+ return /*#__PURE__*/ S.createElement(FJ, { className: "recharts-polar-radius-axis-ticks" }, u);}, w8e = (e) => {var t = e.radiusAxisId, n = PX(P$), r = PX((e) => R4(e, "radiusAxis", t)), i = PX((e) => z4(e, "radiusAxis", t, !1));if (n == null || !i || !i.length || r == null) return null;var a = K4(K4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;- return /*#__PURE__*/ S.createElement(i4, { zIndex: a.zIndex }, /*#__PURE__*/ S.createElement(PJ, { className: $v("recharts-polar-radius-axis", g8e, a.className) }, s && x8e(a, i), o && C8e(a, i), /*#__PURE__*/ S.createElement(e6e, b8e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ S.createElement(u6e, { label: a.label }), a.children)));+ return /*#__PURE__*/ S.createElement(i4, { zIndex: a.zIndex }, /*#__PURE__*/ S.createElement(FJ, { className: $v("recharts-polar-radius-axis", g8e, a.className) }, s && x8e(a, i), o && C8e(a, i), /*#__PURE__*/ S.createElement(e6e, b8e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ S.createElement(u6e, { label: a.label }), a.children)));};function T8e(e) {- var t = uX(e, E$);+ var t = dX(e, E$);return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(_8e, {domain: t.domain,id: t.radiusAxisId,@@ -92977,7 +92985,7 @@ function L8e(e) {var t = e.type, r = M8e(e, E8e), i = O$(n, "angleAxis", t);if (i != null) return Y4(Y4({}, r), {}, { type: i });}, [e, n]), i = r === PX((e) => A$(e, r?.id));- return (0, S.useEffect)(() => r == null ? rY : (t(a8e(r)), () => {+ return (0, S.useEffect)(() => r == null ? iY : (t(a8e(r)), () => {t(o8e(r));}), [t, r]), i ? e.children : null;}@@ -92998,7 +93006,7 @@ var R8e = (e, t) => {}, V8e = (e) => {var t = e.cx, n = e.cy, r = e.radius, i = e.axisLineType, a = e.axisLine, o = e.ticks;if (!a) return null;- var s = Y4(Y4({}, OJ(e)), {}, { fill: "none" }, OJ(a));+ var s = Y4(Y4({}, kJ(e)), {}, { fill: "none" }, kJ(a));if (i === "circle") return /*#__PURE__*/ S.createElement(M4, J4({ className: "recharts-polar-angle-axis-line" }, s, {cx: t,cy: n,@@ -93010,9 +93018,9 @@ var R8e = (e, t) => {var t = e.tick, n = e.tickProps, r = e.value;return t ? /*#__PURE__*/ S.isValidElement(t) ? /*#__PURE__*/ S.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ S.createElement(y4, J4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;}, U8e = (e) => {- var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = OJ(e);+ var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = kJ(e);o.ref;- var s = M8e(o, D8e), c = kJ(t), l = Y4(Y4({}, s), {}, { fill: "none" }, OJ(n)), u = a.map((a, o) => {+ var s = M8e(o, D8e), c = AJ(t), l = Y4(Y4({}, s), {}, { fill: "none" }, kJ(n)), u = a.map((a, o) => {var u = R8e(a, e), d = z8e(a, e.orientation), f = B8e(a), p = Y4(Y4(Y4({}, s), {}, {textAnchor: d,verticalAnchor: f,@@ -93024,16 +93032,16 @@ var R8e = (e, t) => {x: u.x2,y: u.y2});- return /*#__PURE__*/ S.createElement(PJ, J4({+ return /*#__PURE__*/ S.createElement(FJ, J4({className: $v("recharts-polar-angle-axis-tick", W4(t)),key: `tick-${a.coordinate}`- }, cX(e, a, o)), n && /*#__PURE__*/ S.createElement("line", J4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ S.createElement(H8e, {+ }, lX(e, a, o)), n && /*#__PURE__*/ S.createElement("line", J4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ S.createElement(H8e, {tick: t,tickProps: p,value: r ? r(a.value, o) : a.value}));});- return /*#__PURE__*/ S.createElement(PJ, { className: "recharts-polar-angle-axis-ticks" }, u);+ return /*#__PURE__*/ S.createElement(FJ, { className: "recharts-polar-angle-axis-ticks" }, u);}, W8e = (e) => {var t = e.angleAxisId, n = PX(P$), r = PX((e) => R4(e, "angleAxis", t)), i = _Q(), a = PX((e) => I6e(e, "angleAxis", t, i));if (n == null || !a || !a.length || r == null) return null;@@ -93041,10 +93049,10 @@ var R8e = (e, t) => {radius: n.outerRadius,ticks: a});- return /*#__PURE__*/ S.createElement(i4, { zIndex: o.zIndex }, /*#__PURE__*/ S.createElement(PJ, { className: $v("recharts-polar-angle-axis", I8e, o.className) }, /*#__PURE__*/ S.createElement(V8e, o), /*#__PURE__*/ S.createElement(U8e, o)));+ return /*#__PURE__*/ S.createElement(i4, { zIndex: o.zIndex }, /*#__PURE__*/ S.createElement(FJ, { className: $v("recharts-polar-angle-axis", I8e, o.className) }, /*#__PURE__*/ S.createElement(V8e, o), /*#__PURE__*/ S.createElement(U8e, o)));};function X4(e) {- var t = uX(e, T$);+ var t = dX(e, T$);return /*#__PURE__*/ S.createElement(L8e, {id: t.angleAxisId,scale: t.scale,@@ -93102,13 +93110,13 @@ var G8e = /* @__PURE__ */ o(((e) => {if (e === J8e && Array.isArray(Z4)) return Z4;var t = [];return S.Children.forEach(e, (e) => {- eY(e) || ((0, K8e.isFragment)(e) ? t = t.concat(Y8e(e.props.children)) : t.push(e));+ tY(e) || ((0, K8e.isFragment)(e) ? t = t.concat(Y8e(e.props.children)) : t.push(e));}), Z4 = t, J8e = e, t;};function X8e(e, t) {var n = [], r = [];return r = Array.isArray(t) ? t.map((e) => q8e(e)) : [q8e(t)], Y8e(e).forEach((e) => {- var t = VJ(e, "type.displayName") || VJ(e, "type.name");+ var t = HJ(e, "type.displayName") || HJ(e, "type.name");t && r.indexOf(t) !== -1 && n.push(e);}), n;}@@ -93178,7 +93186,7 @@ function o5e(e) {}function $4(e) {var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = a5e(r), l = /*#__PURE__*/ (0, S.isValidElement)(t) ? i5e(t, r) : t === n ? /*#__PURE__*/ S.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ S.createElement(n, n5e(t, r)) : /*#__PURE__*/ S.createElement(n, r);- return o5e(r) ? /*#__PURE__*/ S.createElement(PJ, { className: a }, l) : /*#__PURE__*/ S.createElement(PJ, { className: s }, l);+ return o5e(r) ? /*#__PURE__*/ S.createElement(FJ, { className: a }, l) : /*#__PURE__*/ S.createElement(FJ, { className: s }, l);}//#endregion//#region node_modules/recharts/es6/context/tooltipContext.js@@ -93486,7 +93494,7 @@ function k5e(e, t) {function A5e(e) {if (Array.isArray(e)) return e;}-var j5e = S.useId ?? (() => T5e(S.useState(() => YJ("uid-")), 1)[0]);+var j5e = S.useId ?? (() => T5e(S.useState(() => XJ("uid-")), 1)[0]);//#endregion//#region node_modules/recharts/es6/util/useUniqueId.jsfunction M5e(e, t) {@@ -93575,7 +93583,7 @@ function U5e(e) {//#endregion//#region node_modules/es-toolkit/dist/compat/array/last.mjsfunction W5e(e) {- if (gX(e) && e.length !== 0) return U5e(H4(e));+ if (_X(e) && e.length !== 0) return U5e(H4(e));}//#endregion//#region node_modules/recharts/es6/component/Dots.js@@ -93665,7 +93673,7 @@ function $5e(e, t) {function g3(e) {var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? w$.scatter : l;if (!$5e(t, n)) return null;- var d = Q4(n), f = cze(n), p = t.map((e, r) => {+ var d = Q4(n), f = sze(n), p = t.map((e, r) => {var s = m3(m3(m3({ r: 3 }, o), f), {}, {index: r,cx: e.x ?? void 0,@@ -93682,7 +93690,7 @@ function g3(e) {className: i});}), m = {};- return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ S.createElement(i4, { zIndex: u }, /*#__PURE__*/ S.createElement(PJ, h3({ className: r }, m), p));+ return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ S.createElement(i4, { zIndex: u }, /*#__PURE__*/ S.createElement(FJ, h3({ className: r }, m), p));}//#endregion//#region node_modules/recharts/es6/state/cartesianAxisSlice.js@@ -93897,8 +93905,8 @@ var b7e = (e) => {stroke: "#fff",payload: t.payload,value: t.value- }), kJ(i)), sX(i)), c = /*#__PURE__*/ (0, S.isValidElement)(i) ? /*#__PURE__*/ (0, S.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ S.createElement(M4, s);- return /*#__PURE__*/ S.createElement(PJ, {+ }), AJ(i)), cX(i)), c = /*#__PURE__*/ (0, S.isValidElement)(i) ? /*#__PURE__*/ (0, S.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ S.createElement(M4, s);+ return /*#__PURE__*/ S.createElement(FJ, {className: "recharts-active-dot",clipPath: o}, c);@@ -93907,7 +93915,7 @@ function x3(e) {var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? w$.activeDot : o, c = PX(Y2), l = h7e();if (t == null || l == null) return null;var u = t.find((e) => l.includes(e.payload));- return eY(u) ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: s }, /*#__PURE__*/ S.createElement(b7e, {+ return tY(u) ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: s }, /*#__PURE__*/ S.createElement(b7e, {point: u,childIndex: Number(c),mainColor: n,@@ -94089,7 +94097,7 @@ var W7e = (e) => {}, G7e = /*#__PURE__*/ S.memo((e) => {var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.tooltipType, c = e.id, l = {dataDefinedOnItem: void 0,- getPosition: rY,+ getPosition: iY,settings: {stroke: n,strokeWidth: r,@@ -94109,7 +94117,7 @@ var W7e = (e) => {function K7e(e) {var t = e.points, n = e.props, r = n.dot, i = n.dataKey;n.id;- var a = OJ(H7e(n, L7e));+ var a = kJ(H7e(n, L7e));return /*#__PURE__*/ S.createElement(g3, {points: t,dot: r,@@ -94122,7 +94130,7 @@ function K7e(e) {function q7e(e) {var t = e.radiusAxis, n = e.angleAxis, r = e.displayedData, i = e.dataKey, a = e.bandSize, o = n.cx, s = n.cy, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;r.forEach((e, r) => {- var a = nQ(e, n.dataKey, r), d = nQ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? W5e(d) : d, m = eY(p) ? 0 : t.scale.map(p) ?? 0;+ var a = nQ(e, n.dataKey, r), d = nQ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? W5e(d) : d, m = tY(p) ? 0 : t.scale.map(p) ?? 0;Array.isArray(d) && d.length >= 2 && (c = !0), l.push(w3(w3({}, r$(o, s, m, f)), {}, {name: a,value: d,@@ -94136,7 +94144,7 @@ function q7e(e) {var d = [];return c && l.forEach((e) => {if (Array.isArray(e.value)) {- var n = e.value[0], r = eY(n) ? 0 : t.scale.map(n) ?? 0;+ var n = e.value[0], r = tY(n) ? 0 : t.scale.map(n) ?? 0;d.push(w3(w3({}, e), {}, { radius: r }, r$(o, s, r, e.angle)));} else d.push(e);}), {@@ -94168,7 +94176,7 @@ function J7e(e) {function Y7e(e) {var t = e.points, n = e.baseLinePoints, r = e.props;if (t == null) return null;- var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ S.isValidElement(i) ? /*#__PURE__*/ S.cloneElement(i, w3(w3({}, r), {}, { points: t })) : typeof i == "function" ? i(w3(w3({}, r), {}, { points: t })) : /*#__PURE__*/ S.createElement(k6e, C3({}, AJ(r), {+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ S.isValidElement(i) ? /*#__PURE__*/ S.cloneElement(i, w3(w3({}, r), {}, { points: t })) : typeof i == "function" ? i(w3(w3({}, r), {}, { points: t })) : /*#__PURE__*/ S.createElement(k6e, C3({}, jJ(r), {onMouseEnter: (e) => {var t = r.onMouseEnter;t && t(r, e);@@ -94181,17 +94189,17 @@ function Y7e(e) {baseLinePoints: a ? n : void 0,connectNulls: o}));- return /*#__PURE__*/ S.createElement(PJ, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ S.createElement(K7e, {+ return /*#__PURE__*/ S.createElement(FJ, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ S.createElement(K7e, {props: r,points: t}));}var X7e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [w3(w3({}, e.next), {}, {- x: QJ(e.prev.x, e.next.x, t),- y: QJ(e.prev.y, e.next.y, t)+ x: $J(e.prev.x, e.next.x, t),+ y: $J(e.prev.y, e.next.y, t)})] : [w3(w3({}, e.next), {}, {- x: QJ(e.next.cx, e.next.x, t),- y: QJ(e.next.cy, e.next.y, t)+ x: $J(e.next.cx, e.next.x, t),+ y: $J(e.next.cy, e.next.y, t)})]);function Z7e(e) {var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = c3(t, r), h = m.startValue, g = s3(h ?? null, a, u), _ = l3(f, p), v = _.isAnimating, y = _.handleAnimationStart, b = _.handleAnimationEnd, x = MQ();@@ -94249,7 +94257,7 @@ function e9e(e) {var t = e.hide, n = e.className, r = e.points;if (t) return null;var i = $v("recharts-radar", n);- return /*#__PURE__*/ S.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(PJ, { className: i }, /*#__PURE__*/ S.createElement(Q7e, e)), /*#__PURE__*/ S.createElement(x3, {+ return /*#__PURE__*/ S.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(FJ, { className: i }, /*#__PURE__*/ S.createElement(Q7e, e)), /*#__PURE__*/ S.createElement(x3, {points: r,mainColor: T3(e.stroke, e.fill),itemDataKey: e.dataKey,@@ -94265,7 +94273,7 @@ function t9e(e) {}));}function E3(e) {- var t = uX(e, $7e);+ var t = dX(e, $7e);return /*#__PURE__*/ S.createElement(d3, {id: t.id,type: "radar"@@ -94368,7 +94376,7 @@ function f9e(e) {}var p9e = (e, t, n) => {var r = n ?? e;- if (!eY(r)) return XJ(r, t, 0);+ if (!tY(r)) return ZJ(r, t, 0);}, m9e = (e, t, n) => {var r = {}, i = e.filter(z$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {var n = e[t.stackId];@@ -94435,7 +94443,7 @@ function v9e(e, t) {function y9e(e, t, n, r, i) {var a = r.length;if (!(a < 1)) {- var o = XJ(e, n, 0, !0), s, c = [];+ var o = ZJ(e, n, 0, !0), s, c = [];if ($Z(r[0]?.barSize)) {var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);@@ -94455,7 +94463,7 @@ function y9e(e, t, n, r, i) {return f = n.position, r;}, c);} else {- var p = XJ(t, n, 0, !0);+ var p = ZJ(t, n, 0, !0);n - 2 * p - (a - 1) * o <= 0 && (o = 0);var m = (n - 2 * p - (a - 1) * o) / a;m > 1 && (m = Math.round(m));@@ -94473,7 +94481,7 @@ function y9e(e, t, n, r, i) {}}var b9e = (e, t, n, r, i, a, o) => {- var s = eY(o) ? t : o, c = y9e(n, r, i === a ? a : i, e, s);+ var s = tY(o) ? t : o, c = y9e(n, r, i === a ? a : i, e, s);return i !== a && c != null && (c = c.map((e) => O3(O3({}, e), {}, { position: O3(O3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;}, x9e = (e, t) => {var n = L$(t);@@ -94580,7 +94588,7 @@ var A3 = X([(e, t) => j$(e, t), (e, t) => R4(e, "radiusAxis", t)], (e, t) => {j3,M9e], (e, t, n, r, i, a, o) => {- var s = eY(o) ? t : o;+ var s = tY(o) ? t : o;return e === "centric" ? sQ(n, r, !0) ?? s ?? 0 : sQ(i, a, !0) ?? s ?? 0;}),D9e,@@ -94752,12 +94760,12 @@ function Y9e(e) {return /*#__PURE__*/ S.createElement(v6e, { value: t ? i : void 0 }, r);}function X9e(e) {- var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = L3(n, B9e), f = OJ(d), p = PX(Y2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = L3(n, V9e), v = e3(m, n.dataKey, u), y = t3(g), b = n3(h, n.dataKey, u);+ var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = L3(n, B9e), f = kJ(d), p = PX(Y2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = L3(n, V9e), v = e3(m, n.dataKey, u), y = t3(g), b = n3(h, n.dataKey, u);return t == null ? null : /*#__PURE__*/ S.createElement(Y9e, {showLabels: r,sectors: t}, t.map((e, t) => {- var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = b(e, t), h = I3(I3(I3(I3({}, f), {}, { cornerRadius: o9e(l) }, e), cX(_, e, t)), {}, {+ var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = b(e, t), h = I3(I3(I3(I3({}, f), {}, { cornerRadius: o9e(l) }, e), lX(_, e, t)), {}, {onMouseEnter: r,onMouseLeave: u,onClick: m,@@ -94778,9 +94786,9 @@ function X9e(e) {}), /*#__PURE__*/ S.createElement(O4, { label: n.label }), n.children);}var Z9e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [I3(I3({}, e.next), {}, {- startAngle: QJ(e.prev.startAngle, e.next.startAngle, t),- endAngle: QJ(e.prev.endAngle, e.next.endAngle, t)-})] : [I3(I3({}, e.next), {}, { endAngle: QJ(e.next.startAngle, e.next.endAngle, t) })]);+ startAngle: $J(e.prev.startAngle, e.next.startAngle, t),+ endAngle: $J(e.prev.endAngle, e.next.endAngle, t)+})] : [I3(I3({}, e.next), {}, { endAngle: $J(e.next.startAngle, e.next.endAngle, t) })]);function Q9e(e) {var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = l3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = MQ();return m == null ? null : /*#__PURE__*/ S.createElement(u3, {@@ -94820,7 +94828,7 @@ function eet(e) {var tet = /*#__PURE__*/ S.memo((e) => {var t = e.dataKey, n = e.sectors, r = e.stroke, i = e.strokeWidth, a = e.name, o = e.hide, s = e.fill, c = e.tooltipType, l = e.formatter, u = {dataDefinedOnItem: n,- getPosition: rY,+ getPosition: iY,settings: {graphicalItemId: e.id,stroke: r,@@ -94840,12 +94848,12 @@ var tet = /*#__PURE__*/ S.memo((e) => {}), net = class extends S.PureComponent {renderBackground(e) {if (e == null) return null;- var t = this.props.cornerRadius, n = kJ(this.props.background);+ var t = this.props.cornerRadius, n = AJ(this.props.background);return /*#__PURE__*/ S.createElement(i4, { zIndex: z9e(this.props.background, w$.barBackground) }, e.map((e, r) => {e.value;var i = e.background, a = L3(e, H9e);if (!i) return null;- var o = I3(I3(I3(I3(I3({ cornerRadius: o9e(t) }, a), {}, { fill: "#eee" }, i), n), cX(this.props, e, r)), {}, {+ var o = I3(I3(I3(I3(I3({ cornerRadius: o9e(t) }, a), {}, { fill: "#eee" }, i), n), lX(this.props, e, r)), {}, {index: r,className: $v("recharts-radial-bar-background-sector", String(n?.className)),option: i,@@ -94858,7 +94866,7 @@ var tet = /*#__PURE__*/ S.memo((e) => {var e = this.props, t = e.hide, n = e.sectors, r = e.className, i = e.background;if (t) return null;var a = $v("recharts-area", r);- return /*#__PURE__*/ S.createElement(i4, { zIndex: this.props.zIndex }, /*#__PURE__*/ S.createElement(PJ, { className: a }, i && /*#__PURE__*/ S.createElement(PJ, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ S.createElement(PJ, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ S.createElement($9e, this.props))));+ return /*#__PURE__*/ S.createElement(i4, { zIndex: this.props.zIndex }, /*#__PURE__*/ S.createElement(FJ, { className: a }, i && /*#__PURE__*/ S.createElement(FJ, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ S.createElement(FJ, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ S.createElement($9e, this.props))));}};function ret(e) {@@ -94933,7 +94941,7 @@ function iet(e) {S = x + d.size;var E = w - C;if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {- var D = WJ(E || p) * (Math.abs(p) - Math.abs(E));+ var D = GJ(E || p) * (Math.abs(p) - Math.abs(E));w += D;}T = { background: {@@ -94956,7 +94964,7 @@ function iet(e) {w = C + d.size;var O = S - x;if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {- var k = WJ(O || p) * (Math.abs(p) - Math.abs(O));+ var k = GJ(O || p) * (Math.abs(p) - Math.abs(O));S += k;}}@@ -94973,7 +94981,7 @@ function iet(e) {});}function z3(e) {- var t = uX(e, R3);+ var t = dX(e, R3);return /*#__PURE__*/ S.createElement(d3, {id: t.id,type: "radialBar"@@ -95124,7 +95132,7 @@ function wet(e) {if (Array.isArray(e)) return e;}var Tet = /*#__PURE__*/ (0, S.createContext)(void 0), Eet = (e) => {- var t = e.children, n = vet((0, S.useState)(`${YJ("recharts")}-clip`), 1)[0], r = y3();+ var t = e.children, n = vet((0, S.useState)(`${XJ("recharts")}-clip`), 1)[0], r = y3();if (r == null) return null;var i = r.x, a = r.y, o = r.width, s = r.height;return /*#__PURE__*/ S.createElement(Tet.Provider, { value: n }, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: n }, /*#__PURE__*/ S.createElement("rect", {@@ -95252,8 +95260,8 @@ var Pet = (e, t) => {})];return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;}, Ret = (e, t, n, r, i, a, o) => {- var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = JJ(s);- return JJ(c) ? Fet(c, u, r, a, t, n) : d ? Iet(s, u, r, i, e, n) : l != null && l.length === 2 ? Let(l, u, r, new Oet({+ var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = YJ(s);+ return YJ(c) ? Fet(c, u, r, a, t, n) : d ? Iet(s, u, r, i, e, n) : l != null && l.length === 2 ? Let(l, u, r, new Oet({x: e,y: t})) : null;@@ -95271,7 +95279,7 @@ function Bet(e) {if (!p) return null;var m = p[0], h = p[1];if (m == null || h == null) return null;- var g = m.x, _ = m.y, v = h.x, y = h.y, b = Aet(Aet({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, AJ(e)), {}, {+ var g = m.x, _ = m.y, v = h.x, y = h.y, b = Aet(Aet({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, jJ(e)), {}, {x1: g,y1: _,x2: v,@@ -95282,7 +95290,7 @@ function Bet(e) {x2: v,y2: y});- return /*#__PURE__*/ S.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(PJ, { className: $v("recharts-reference-line", i) }, Pet(r, b), /*#__PURE__*/ S.createElement(Z3e, V3({}, x, {+ return /*#__PURE__*/ S.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(FJ, { className: $v("recharts-reference-line", i) }, Pet(r, b), /*#__PURE__*/ S.createElement(Z3e, V3({}, x, {lowerWidth: x.width,upperWidth: x.width}), /*#__PURE__*/ S.createElement(l6e, { label: e.label }), e.children)));@@ -95300,7 +95308,7 @@ var Vet = {zIndex: w$.line};function Het(e) {- var t = uX(e, Vet);+ var t = dX(e, Vet);return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(zet, {yAxisId: t.yAxisId,xAxisId: t.xAxisId,@@ -95343,7 +95351,7 @@ function H3(e, t, n, r, i, a, o) {}function U3(e, t, n, r) {if (Object.is(e, t)) return !0;- let i = yX(e), a = yX(t);+ let i = bX(e), a = bX(t);if (i === "[object Arguments]" && (i = wX), a === "[object Arguments]" && (a = wX), i !== a) return !1;switch (i) {case xX: return e.toString() === t.toString();@@ -95351,7 +95359,7 @@ function U3(e, t, n, r) {case CX:case NBe:case MBe: return Object.is(e.valueOf(), t.valueOf());- case bX: return e.source === t.source && e.flags === t.flags;+ case ABe: return e.source === t.source && e.flags === t.flags;case LBe: return e === t;}n ??= /* @__PURE__ */ new Map();@@ -95394,7 +95402,7 @@ function U3(e, t, n, r) {case zBe: return e.name === t.name && e.message === t.message;case wX: {if (!(U3(e.constructor, t.constructor, n, r) || Wet(e) && Wet(t))) return !1;- let i = [...Object.keys(e), ...vX(e)], a = [...Object.keys(t), ...vX(t)];+ let i = [...Object.keys(e), ...yX(e)], a = [...Object.keys(t), ...yX(t)];if (i.length !== a.length) return !1;for (let a = 0; a < i.length; a++) {let o = i[a], s = e[o];@@ -95566,7 +95574,7 @@ function itt(e, t, n, r, i, a) {function K3(e, t, n) {var r = e.tick, i = e.ticks, a = e.viewBox, o = e.minTickGap, s = e.orientation, c = e.interval, l = e.tickFormatter, u = e.unit, d = e.angle;if (!i || !i.length || !r) return [];- if (qJ(c) || HQ.isSsr) return Xet(i, qJ(c) ? c : 0) ?? [];+ if (JJ(c) || HQ.isSsr) return Xet(i, JJ(c) ? c : 0) ?? [];var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? p4(u, {fontSize: t,letterSpacing: n@@ -95582,7 +95590,7 @@ function K3(e, t, n) {fontSize: t,letterSpacing: n})[p];- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? WJ(_.coordinate - g.coordinate) : 1, y = Yet(a, v, p);+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? GJ(_.coordinate - g.coordinate) : 1, y = Yet(a, v, p);return c === "equidistantPreserveStart" ? Zet(v, y, h, i, o) : c === "equidistantPreserveEnd" ? Qet(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? itt(v, y, h, i, o, c === "preserveStartEnd") : rtt(v, y, h, i, o), f.filter((e) => e.isShow));}//#endregion@@ -95778,7 +95786,7 @@ var Y3 = {function Ttt(e) {var t = e.x, n = e.y, r = e.width, i = e.height, a = e.orientation, o = e.mirror, s = e.axisLine, c = e.otherSvgProps;if (!s) return null;- var l = J3(J3(J3({}, c), OJ(s)), {}, { fill: "none" });+ var l = J3(J3(J3({}, c), kJ(s)), {}, { fill: "none" });if (a === "top" || a === "bottom") {var u = +(a === "top" && !o || a === "bottom" && o);l = J3(J3({}, l), {}, {@@ -95796,10 +95804,10 @@ function Ttt(e) {y2: n + i});}- return /*#__PURE__*/ S.createElement("line", q3({}, l, { className: $v("recharts-cartesian-axis-line", VJ(s, "className")) }));+ return /*#__PURE__*/ S.createElement("line", q3({}, l, { className: $v("recharts-cartesian-axis-line", HJ(s, "className")) }));}function Ett(e, t, n, r, i, a, o, s, c) {- var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = qJ(e.tickCoord) ? e.tickCoord : e.coordinate;+ var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = JJ(e.tickCoord) ? e.tickCoord : e.coordinate;switch (a) {case "top":l = u = e.coordinate, f = n + +!s * i, d = f - h * g, m = d - h * c, p = _;@@ -95875,7 +95883,7 @@ function Att(e) {t,r,n- ]), (0, S.useEffect)(() => r == null || n == null ? rY : () => {+ ]), (0, S.useEffect)(() => r == null || n == null ? iY : () => {i(utt({axisId: r,axisType: n@@ -95887,14 +95895,14 @@ function Att(e) {]), null;}var jtt = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {- var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, b = e.letterSpacing, x = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = K3(J3(J3({}, x), {}, { ticks: r }), y, b), D = OJ(x), O = kJ(i), k = j3e(D.textAnchor) ? D.textAnchor : Dtt(d, f), A = Ott(d, f), j = {};+ var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, b = e.letterSpacing, x = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = K3(J3(J3({}, x), {}, { ticks: r }), y, b), D = kJ(x), O = AJ(i), k = j3e(D.textAnchor) ? D.textAnchor : Dtt(d, f), A = Ott(d, f), j = {};typeof a == "object" && (j = a);var M = J3(J3({}, D), {}, { fill: "none" }, j), N = E.map((e) => J3({ entry: e }, Ett(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {var t = e.entry, n = e.line;- return /*#__PURE__*/ S.createElement(PJ, {+ return /*#__PURE__*/ S.createElement(FJ, {className: "recharts-cartesian-axis-tick",key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`- }, a && /*#__PURE__*/ S.createElement("line", q3({}, M, n, { className: $v("recharts-cartesian-axis-tick-line", VJ(a, "className")) })));+ }, a && /*#__PURE__*/ S.createElement("line", q3({}, M, n, { className: $v("recharts-cartesian-axis-tick-line", HJ(a, "className")) })));}), F = N.map((e, t) => {var n = e.entry, r = e.tick, a = J3(J3({}, J3(J3(J3(J3({ verticalAnchor: A }, D), {}, {textAnchor: k,@@ -95907,10 +95915,10 @@ var jtt = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {tickFormatter: s,padding: l}, u), {}, { angle: u?.angle ?? D.angle ?? 0 })), O);- return /*#__PURE__*/ S.createElement(PJ, q3({+ return /*#__PURE__*/ S.createElement(FJ, q3({className: "recharts-cartesian-axis-tick-label",key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`- }, cX(C, n, t)), i && /*#__PURE__*/ S.createElement(ktt, {+ }, lX(C, n, t)), i && /*#__PURE__*/ S.createElement(ktt, {option: i,tickProps: a,value: `${typeof s == "function" ? s(n.value, t) : n.value}${c || ""}`@@ -95953,7 +95961,7 @@ var jtt = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {}}}, [f, h]);- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(PJ, { className: $v("recharts-cartesian-axis", a) }, /*#__PURE__*/ S.createElement(Ttt, {+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(FJ, { className: $v("recharts-cartesian-axis", a) }, /*#__PURE__*/ S.createElement(Ttt, {x: e.x,y: e.y,width: r,@@ -95961,7 +95969,7 @@ var jtt = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {orientation: e.orientation,mirror: e.mirror,axisLine: n,- otherSvgProps: OJ(e)+ otherSvgProps: kJ(e)}), /*#__PURE__*/ S.createElement(jtt, {ref: v,axisType: c,@@ -95998,7 +96006,7 @@ var jtt = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {labelRef: e.labelRef}), e.children)));}), X3 = /*#__PURE__*/ S.forwardRef((e, t) => {- var n = uX(e, Y3);+ var n = dX(e, Y3);return /*#__PURE__*/ S.createElement(Mtt, q3({}, n, { ref: t }));});X3.displayName = "CartesianAxis";@@ -96107,7 +96115,7 @@ function Gtt(e) {if (/*#__PURE__*/ S.isValidElement(t)) r = /*#__PURE__*/ S.cloneElement(t, n);else if (typeof t == "function") r = t(n);else {- var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = OJ($3(n, Ftt)) ?? {};+ var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = kJ($3(n, Ftt)) ?? {};l.offset;var u = $3(l, Itt), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;r = /*#__PURE__*/ S.createElement("line", Q3({}, u, {@@ -96245,18 +96253,18 @@ var Xtt = (e, t) => {zIndex: w$.grid};function $tt(e) {- var t = EQ(), n = DQ(), r = XWe(), i = Z3(Z3({}, uX(e, Qtt)), {}, {- x: qJ(e.x) ? e.x : r.left,- y: qJ(e.y) ? e.y : r.top,- width: qJ(e.width) ? e.width : r.width,- height: qJ(e.height) ? e.height : r.height+ var t = EQ(), n = DQ(), r = XWe(), i = Z3(Z3({}, dX(e, Qtt)), {}, {+ x: JJ(e.x) ? e.x : r.left,+ y: JJ(e.y) ? e.y : r.top,+ width: JJ(e.width) ? e.width : r.width,+ height: JJ(e.height) ? e.height : r.height}), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = _Q(), h = PX((e) => B1e(e, "xAxis", a, m)), g = PX((e) => B1e(e, "yAxis", o, m)), _ = Ptt(), v = {stroke: i.stroke ?? _.grid.stroke,strokeWidth: i.strokeWidth ?? _.grid.strokeWidth,strokeOpacity: i.strokeOpacity ?? _.grid.strokeOpacity,strokeDasharray: i.strokeDasharray ?? _.grid.strokeDasharray};- if (!eQ(l) || !eQ(u) || !qJ(s) || !qJ(c)) return null;+ if (!eQ(l) || !eQ(u) || !JJ(s) || !JJ(c)) return null;var y = i.verticalCoordinatesGenerator || Xtt, b = i.horizontalCoordinatesGenerator || Ztt, x = i.horizontalPoints, C = i.verticalPoints;if ((!x || !x.length) && typeof b == "function") {var w = f && f.length, T = b({@@ -96389,7 +96397,7 @@ function unt(e) {var t = (0, S.useRef)(0), n = (0, S.useRef)(0), r = (0, S.useRef)(!1), i = (0, S.useRef)(e);return i.current !== e && (t.current = n.current, i.current = e), (0, S.useCallback)((e, i) => {if (r.current) return null;- var a = Math.min(HJ(t.current + e * i), i);+ var a = Math.min(UJ(t.current + e * i), i);return e > 0 && i > 0 && (n.current = Math.max(n.current, a), a >= i) ? (r.current = !0, null) : a;}, []);}@@ -96509,7 +96517,7 @@ var Tnt = X([//#endregion//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.jsfunction Ent(e) {- var t = kJ(e), n = 3, r = 2;+ var t = AJ(e), n = 3, r = 2;if (t != null) {var i = t.r, a = t.strokeWidth, o = Number(i), s = Number(a);return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {@@ -96640,21 +96648,21 @@ var s6 = {if (t === 1) return e.flatMap((e) => e.status === "removed" ? [] : [e.next]);var n = Int(e), r = [];for (var i of e) if (i.status === "matched") r.push(o6(o6({}, i.next), {}, {- x: QJ(i.prev.x, i.next.x, t),- y: QJ(i.prev.y, i.next.y, t)+ x: $J(i.prev.x, i.next.x, t),+ y: $J(i.prev.y, i.next.y, t)}));else if (i.status === "added") {if (i.next.x != null) {var a = i.next.x - n;r.push(o6(o6({}, i.next), {}, {- x: QJ(a, i.next.x, t),+ x: $J(a, i.next.x, t),y: i.next.y}));} else r.push(i.next);} else if (i.status === "removed" && i.prev.x != null) {var o = i.prev.x + n;r.push(o6(o6({}, i.prev), {}, {- x: QJ(i.prev.x, o, t),+ x: $J(i.prev.x, o, t),y: i.prev.y}));}@@ -96688,7 +96696,7 @@ var s6 = {}, Rnt = /*#__PURE__*/ S.memo((e) => {var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {dataDefinedOnItem: n,- getPosition: rY,+ getPosition: iY,settings: {stroke: r,strokeWidth: i,@@ -96709,7 +96717,7 @@ var s6 = {function znt(e) {var t = e.clipPathId, n = e.points, r = e.props, i = r.dot, a = r.dataKey, o = r.needClip;r.id;- var s = OJ(a6(r, Dnt));+ var s = kJ(a6(r, Dnt));return /*#__PURE__*/ S.createElement(g3, {points: n,dot: i,@@ -96742,7 +96750,7 @@ function Bnt(e) {return /*#__PURE__*/ S.createElement(E4, { value: t ? i : void 0 }, n);}function Vnt(e) {- var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = o6(o6({}, AJ(a6(i, Ont))), {}, {+ var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = o6(o6({}, jJ(a6(i, Ont))), {}, {fill: "none",className: "recharts-line-curve",clipPath: f ? `url(#clipPath-${t})` : void 0,@@ -96820,7 +96828,7 @@ var Wnt = (e, t) => ({var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.top, c = e.left, l = e.width, u = e.height, d = e.id, f = e.needClip, p = e.zIndex;if (t) return null;var m = $v("recharts-line", i), h = d, g = Ent(n), _ = g.r, v = g.strokeWidth, y = Q4(n), b = _ * 2 + v, x = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;- return /*#__PURE__*/ S.createElement(i4, { zIndex: p }, /*#__PURE__*/ S.createElement(PJ, { className: m }, f && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(r6, {+ return /*#__PURE__*/ S.createElement(i4, { zIndex: p }, /*#__PURE__*/ S.createElement(FJ, { className: m }, f && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(r6, {clipPathId: h,xAxisId: a,yAxisId: o@@ -96848,7 +96856,7 @@ var Wnt = (e, t) => ({}};function Knt(e) {- var t = uX(e, s6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = a6(t, knt), _ = n6(p, m).needClip, v = y3(), y = kQ(), b = _Q(), x = PX((e) => Tnt(e, p, m, b, h));+ var t = dX(e, s6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = a6(t, knt), _ = n6(p, m).needClip, v = y3(), y = kQ(), b = _Q(), x = PX((e) => Tnt(e, p, m, b, h));if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;var C = v.height, w = v.width, T = v.x, E = v.y;return /*#__PURE__*/ S.createElement(Gnt, i6({}, g, {@@ -96887,11 +96895,11 @@ function qnt(e) {entry: e,index: c}),- y: (eY(l) ? null : r.scale.map(l)) ?? null,+ y: (tY(l) ? null : r.scale.map(l)) ?? null,value: l,payload: e};- var u = eY(l) ? null : n.scale.map(l), d = aQ({+ var u = tY(l) ? null : n.scale.map(l), d = aQ({axis: r,ticks: a,bandSize: s,@@ -96907,7 +96915,7 @@ function qnt(e) {}).filter(Boolean);}function Jnt(e) {- var t = uX(e, s6), n = _Q();+ var t = dX(e, s6), n = _Q();return /*#__PURE__*/ S.createElement(d3, {id: t.id,type: "line"@@ -96975,7 +96983,7 @@ var Xnt = (e, t, n) => j2(e, "xAxis", c6(e, t), n), Znt = (e, t, n) => A2(e, "xAX([u6, rrt], (e, t) => {if (e != null && e.stackId != null && t != null) {var n = t[e.stackId];- if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(nY);+ if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(rY);}})], (e, t, n, r, i, a, o, s, c, l, u) => {@@ -97037,7 +97045,7 @@ function lrt(e) {var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.x, o = r[r.length - 1]?.x;if (!$Z(a) || !$Z(o)) return null;var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));- return qJ(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), qJ(c) ? /*#__PURE__*/ S.createElement("rect", {+ return JJ(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), JJ(c) ? /*#__PURE__*/ S.createElement("rect", {x: a < o ? a : a - s,y: 0,width: s,@@ -97048,7 +97056,7 @@ function urt(e) {var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.y, o = r[r.length - 1]?.y;if (!$Z(a) || !$Z(o)) return null;var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));- return qJ(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), qJ(c) ? /*#__PURE__*/ S.createElement("rect", {+ return JJ(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), JJ(c) ? /*#__PURE__*/ S.createElement("rect", {x: 0,y: a < o ? a : a - s,width: c + (i ? parseInt(`${i}`, 10) : 1),@@ -97070,7 +97078,7 @@ function drt(e) {});}function frt(e) {- var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = srt(e, art), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = j5e(), h = d.id, g = d.baseLine, _ = OJ(srt(d, ort)), v = /*#__PURE__*/ S.createElement(JQ, d6({}, d, {+ var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = srt(e, art), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = j5e(), h = d.id, g = d.baseLine, _ = kJ(srt(d, ort)), v = /*#__PURE__*/ S.createElement(JQ, d6({}, d, {id: h,baseLine: g,connectNulls: p,@@ -97094,13 +97102,13 @@ function frt(e) {stroke: l,points: g}));- return o && (i || n < 1) ? /*#__PURE__*/ S.createElement(PJ, null, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: m }, /*#__PURE__*/ S.createElement(drt, {+ return o && (i || n < 1) ? /*#__PURE__*/ S.createElement(FJ, null, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: m }, /*#__PURE__*/ S.createElement(drt, {alpha: n,points: d.points ?? [],baseLine: g,layout: f,strokeWidth: d.strokeWidth- }))), /*#__PURE__*/ S.createElement(PJ, { clipPath: `url(#${m})` }, v, y, b)) : /*#__PURE__*/ S.createElement(S.Fragment, null, v, y, b);+ }))), /*#__PURE__*/ S.createElement(FJ, { clipPath: `url(#${m})` }, v, y, b)) : /*#__PURE__*/ S.createElement(S.Fragment, null, v, y, b);}//#endregion//#region node_modules/recharts/es6/cartesian/Area.js@@ -97197,8 +97205,8 @@ var xrt = {animationEasing: "ease",animationMatchBy: a3,animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [p6(p6({}, e.next), {}, {- x: QJ(e.prev.x, e.next.x, t),- y: QJ(e.prev.y, e.next.y, t)+ x: $J(e.prev.x, e.next.x, t),+ y: $J(e.prev.y, e.next.y, t)})] : e.status === "added" ? [e.next] : []),connectNulls: !1,dot: !1,@@ -97232,7 +97240,7 @@ var Srt = (e) => {}, Crt = /*#__PURE__*/ S.memo((e) => {var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {dataDefinedOnItem: n,- getPosition: rY,+ getPosition: iY,settings: {stroke: r,strokeWidth: i,@@ -97251,7 +97259,7 @@ var Srt = (e) => {return /*#__PURE__*/ S.createElement(r3, { tooltipEntrySettings: f });});function wrt(e) {- var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = OJ(r);+ var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = kJ(r);return /*#__PURE__*/ S.createElement(g3, {points: n,dot: a,@@ -97284,7 +97292,7 @@ function Trt(e) {return /*#__PURE__*/ S.createElement(E4, { value: t ? r : void 0 }, n);}function Ert(e) {- var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = hrt(a, prt), _ = p6(p6({}, AJ(g)), {}, {+ var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = hrt(a, prt), _ = p6(p6({}, jJ(g)), {}, {id: h,points: t,connectNulls: f,@@ -97297,7 +97305,7 @@ function Ert(e) {isAnimating: s,isEntrance: c});- return /*#__PURE__*/ S.createElement(S.Fragment, null, t?.length > 1 && /*#__PURE__*/ S.createElement(PJ, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ S.createElement($4, {+ return /*#__PURE__*/ S.createElement(S.Fragment, null, t?.length > 1 && /*#__PURE__*/ S.createElement(FJ, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ S.createElement($4, {option: m,DefaultShape: xrt.shape,shapeProps: _@@ -97308,7 +97316,7 @@ function Ert(e) {}));}function Drt(e, t, n) {- return qJ(e) ? QJ(qJ(t) ? t : void 0, e, n) : eY(e) || GJ(e) ? QJ(qJ(t) ? t : void 0, 0, n) : e;+ return JJ(e) ? $J(JJ(t) ? t : void 0, e, n) : tY(e) || KJ(e) ? $J(JJ(t) ? t : void 0, 0, n) : e;}function Ort(e) {var t = e.needClip, n = e.clipPathId, r = e.props, i = e.previousPointsRef, a = e.previousBaselineRef, o = r.points, s = r.baseLine, c = r.isAnimationActive, l = r.animationBegin, u = r.animationDuration, d = r.animationEasing, f = r.animationMatchBy, p = r.animationInterpolateFn, m = (0, S.useMemo)(() => ({@@ -97363,7 +97371,7 @@ var Art = class extends S.PureComponent {var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.top, o = e.left, s = e.needClip, c = e.xAxisId, l = e.yAxisId, u = e.width, d = e.height, f = e.id, p = e.baseLine, m = e.zIndex;if (t) return null;var h = $v("recharts-area", i), g = f, _ = Ent(n), v = _.r, y = _.strokeWidth, b = Q4(n), x = v * 2 + y, C = s ? `url(#clipPath-${b ? "" : "dots-"}${g})` : void 0;- return /*#__PURE__*/ S.createElement(i4, { zIndex: m }, /*#__PURE__*/ S.createElement(PJ, { className: h }, s && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(r6, {+ return /*#__PURE__*/ S.createElement(i4, { zIndex: m }, /*#__PURE__*/ S.createElement(FJ, { className: h }, s && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(r6, {clipPathId: g,xAxisId: c,yAxisId: l@@ -97423,7 +97431,7 @@ function jrt(e) {}var Mrt = (e, t, n, r, i) => {var a = n ?? t;- if (qJ(a)) return a;+ if (JJ(a)) return a;var o = e === "horizontal" ? i : r, s = o.scale.domain();if (o.type === "number") {var c = Math.max(s[0], s[1]), l = Math.min(s[0], s[1]);@@ -97482,7 +97490,7 @@ function Nrt(e) {};}function Prt(e) {- var t = uX(e, xrt), n = _Q();+ var t = dX(e, xrt), n = _Q();return /*#__PURE__*/ S.createElement(d3, {id: t.id,type: "area"@@ -97557,8 +97565,8 @@ function g6(e) {var Vrt = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;return (n, r) => {- if (qJ(e)) return e;- var i = qJ(n) || eY(n);+ if (JJ(e)) return e;+ var i = JJ(n) || tY(n);return i ? e(n, r) : (!i && Lrt(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);};}, Hrt = (e, t, n) => n, _6 = X([Y0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), Urt = X([_6], (e) => e?.maxBarSize), Wrt = (e, t, n, r) => r, Grt = X([@@ -97582,7 +97590,7 @@ var Vrt = function(e) {if (r == null) return 0;var i = c6(e, t), a = l6(e, t);if (i == null || a == null) return 0;- var o = OQ(e), s = _$(e), c = r.maxBarSize, l = eY(c) ? s : c, u, d;+ var o = OQ(e), s = _$(e), c = r.maxBarSize, l = tY(c) ? s : c, u, d;return o === "horizontal" ? (u = j2(e, "xAxis", i, n), d = A2(e, "xAxis", i, n)) : (u = j2(e, "yAxis", a, n), d = A2(e, "yAxis", a, n)), sQ(u, d, !0) ?? l ?? 0;}, Yrt = (e, t, n) => {var r = OQ(e), i = c6(e, t), a = l6(e, t);@@ -97685,7 +97693,7 @@ var eit = /*#__PURE__*/ (0, S.createContext)(void 0), tit = (e) => {}}, iit = (e) => {var t = e.index, n = Qrt(e, Zrt), r = rit(t);- return /*#__PURE__*/ S.createElement(PJ, v6({+ return /*#__PURE__*/ S.createElement(FJ, v6({className: "recharts-bar-stack-layer",clipPath: r}, n));@@ -97827,7 +97835,7 @@ var bit = (e) => {}, xit = /*#__PURE__*/ S.memo((e) => {var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.unit, c = e.formatter, l = e.tooltipType, u = e.id, d = {dataDefinedOnItem: void 0,- getPosition: rY,+ getPosition: iY,settings: {stroke: n,strokeWidth: r,@@ -97848,7 +97856,7 @@ var bit = (e) => {function Sit(e) {var t = PX(Y2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = x6(a, ait), u = e3(o, r, a.id), d = t3(s), f = n3(c, r, a.id);if (!i || n == null) return null;- var p = kJ(i);+ var p = AJ(i);return /*#__PURE__*/ S.createElement(i4, { zIndex: z9e(i, w$.barBackground) }, n.map((e, n) => {e.value;var a = e.background;@@ -97858,7 +97866,7 @@ function Sit(e) {var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = b6(b6(b6(b6(b6({option: i,isActive: String(e.originalDataIndex) === t- }, o), {}, { fill: "#eee" }, a), p), cX(l, e, n)), {}, {+ }, o), {}, { fill: "#eee" }, a), p), lX(l, e, n)), {}, {onMouseEnter: s,onMouseLeave: c,onClick: m,@@ -97926,12 +97934,12 @@ function Tit(e) {}));}function Eit(e) {- var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = OJ(n) ?? {}, s = o.id, c = x6(o, sit), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = x6(n, cit), g = e3(f, u, s), _ = t3(m), v = n3(p, u, s);+ var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = kJ(n) ?? {}, s = o.id, c = x6(o, sit), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = x6(n, cit), g = e3(f, u, s), _ = t3(m), v = n3(p, u, s);return t ? /*#__PURE__*/ S.createElement(S.Fragment, null, t.map((e, t) => /*#__PURE__*/ S.createElement(iit, y6({index: e.originalDataIndex,key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,className: "recharts-bar-rectangle"- }, cX(h, e, t), {+ }, lX(h, e, t), {onMouseEnter: g(e, e.originalDataIndex),onMouseLeave: _(e, e.originalDataIndex),onClick: v(e, e.originalDataIndex)@@ -97958,22 +97966,22 @@ function Eit(e) {}var Dit = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {if (e.status === "removed") return n === "horizontal" ? [b6(b6({}, e.prev), {}, {- height: QJ(e.prev.height, 0, t),- y: QJ(e.prev.y, e.prev.y + e.prev.height, t)- })] : [b6(b6({}, e.prev), {}, { width: QJ(e.prev.width, 0, t) })];+ height: $J(e.prev.height, 0, t),+ y: $J(e.prev.y, e.prev.y + e.prev.height, t)+ })] : [b6(b6({}, e.prev), {}, { width: $J(e.prev.width, 0, t) })];if (e.status === "matched") return [b6(b6({}, e.next), {}, {- x: QJ(e.prev.x, e.next.x, t),- y: QJ(e.prev.y, e.next.y, t),- width: QJ(e.prev.width, e.next.width, t),- height: QJ(e.prev.height, e.next.height, t)+ x: $J(e.prev.x, e.next.x, t),+ y: $J(e.prev.y, e.next.y, t),+ width: $J(e.prev.width, e.next.width, t),+ height: $J(e.prev.height, e.next.height, t)})];var r = e.next;return n === "horizontal" ? [b6(b6({}, r), {}, {- height: QJ(0, r.height, t),- y: QJ(r.stackedBarStart, r.y, t)+ height: $J(0, r.height, t),+ y: $J(r.stackedBarStart, r.y, t)})] : [b6(b6({}, r), {}, {- width: QJ(0, r.width, t),- x: QJ(r.stackedBarStart, r.x, t)+ width: $J(0, r.width, t),+ x: $J(r.stackedBarStart, r.x, t)})];});function Oit(e) {@@ -97995,7 +98003,7 @@ function Oit(e) {animationInterpolateFn: c,animationMatchBy: t.animationMatchBy,layout: l- }, (e, n, r) => /*#__PURE__*/ S.createElement(PJ, null, /*#__PURE__*/ S.createElement(Eit, {+ }, (e, n, r) => /*#__PURE__*/ S.createElement(FJ, null, /*#__PURE__*/ S.createElement(Eit, {props: t,data: e,animationElapsedTime: n,@@ -98023,14 +98031,14 @@ var Ait = 0, jit = (e, t) => {var e = this.props, t = e.hide, n = e.data, r = e.dataKey, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.needClip, c = e.background, l = e.id;if (t || n == null) return null;var u = $v("recharts-bar", i), d = l;- return /*#__PURE__*/ S.createElement(PJ, {+ return /*#__PURE__*/ S.createElement(FJ, {className: u,id: l}, s && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(r6, {clipPathId: d,xAxisId: a,yAxisId: o- })), /*#__PURE__*/ S.createElement(PJ, {+ })), /*#__PURE__*/ S.createElement(FJ, {className: "recharts-bar-rectangles",clipPath: s ? `url(#clipPath-${d})` : void 0}, /*#__PURE__*/ S.createElement(Sit, {@@ -98106,13 +98114,13 @@ function Fit(e) {index: n}), S = k ?? O ?? void 0, C = o.size;var A = O - k;- if (w = GJ(A) ? 0 : A, T = {+ if (w = KJ(A) ? 0 : A, T = {x: v,y: m.top,width: C,height: m.height}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {- var j = WJ(w || D) * (Math.abs(D) - Math.abs(w));+ var j = GJ(w || D) * (Math.abs(D) - Math.abs(w));S -= j, w += j;}} else {@@ -98131,7 +98139,7 @@ function Fit(e) {width: m.width,height: w}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {- var P = WJ(C || D) * (Math.abs(D) - Math.abs(C));+ var P = GJ(C || D) * (Math.abs(D) - Math.abs(C));C += P;}}@@ -98154,7 +98162,7 @@ function Fit(e) {}).filter(Boolean);}function Iit(e) {- var t = uX(e, Nit), n = tit(t.stackId), r = _Q();+ var t = dX(e, Nit), n = tit(t.stackId), r = _Q();return /*#__PURE__*/ S.createElement(d3, {id: t.id,type: "bar"@@ -98371,7 +98379,7 @@ var $it = (e) => {niceTicks: V0.niceTicks,xAxisId: 0}, tat = /*#__PURE__*/ S.memo((e) => {- var t = uX(e, eat);+ var t = dX(e, eat);return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Qit, {allowDataOverflow: t.allowDataOverflow,allowDecimals: t.allowDecimals,@@ -98557,7 +98565,7 @@ var pat = {width: U0.width,yAxisId: 0}, mat = /*#__PURE__*/ S.memo((e) => {- var t = uX(e, pat);+ var t = dX(e, pat);return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(dat, {interval: t.interval,id: t.yAxisId,@@ -99077,7 +99085,7 @@ var Zat = {var n = EQ(), r = DQ(), i = FKe();if (!eQ(n) || !eQ(r)) return null;var a = e.children, o = e.otherAttributes, s = e.title, c = e.desc, l, u;- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ S.createElement(MJ, G6({}, o, {+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ S.createElement(NJ, G6({}, o, {title: s,desc: c,role: u,@@ -99091,7 +99099,7 @@ var Zat = {var t = e.children, n = PX(yQ);if (!n) return null;var r = n.width, i = n.height, a = n.y, o = n.x;- return /*#__PURE__*/ S.createElement(MJ, {+ return /*#__PURE__*/ S.createElement(NJ, {width: r,height: i,x: o,@@ -99411,7 +99419,7 @@ var wot = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {reactEvent: e}));}, [C, p]), de = Cot(v);- return /*#__PURE__*/ S.createElement(Z2e.Provider, { value: T }, /*#__PURE__*/ S.createElement(lY.Provider, { value: O }, /*#__PURE__*/ S.createElement(de, {+ return /*#__PURE__*/ S.createElement(Z2e.Provider, { value: T }, /*#__PURE__*/ S.createElement(uY.Provider, { value: O }, /*#__PURE__*/ S.createElement(de, {width: M ?? g?.width,height: N ?? g?.height,className: $v("recharts-wrapper", r),@@ -99467,7 +99475,7 @@ function Dot(e, t) {return n;}var Oot = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {- var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = OJ(Eot(e, Tot));+ var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = kJ(Eot(e, Tot));return c ? /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(NQ, {width: n,height: r@@ -99569,7 +99577,7 @@ var Pot = Aot({stackOffset: "none",syncMethod: "index"}, W6), X6 = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {- var n = uX(e.categoricalChartProps, Pot), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {+ var n = dX(e.categoricalChartProps, Pot), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {chartName: r,defaultTooltipEventType: i,validateTooltipEventTypes: a,@@ -99714,7 +99722,7 @@ var Q6 = Wot({innerRadius: 0,outerRadius: "80%"}, W6), Jot = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {- var n = uX(e.categoricalChartProps, Q6), r = n.layout, i = Vot(n, Bot), a = e.chartName, o = {+ var n = dX(e.categoricalChartProps, Q6), r = n.layout, i = Vot(n, Bot), a = e.chartName, o = {chartName: a,defaultTooltipEventType: e.defaultTooltipEventType,validateTooltipEventTypes: e.validateTooltipEventTypes,@@ -99801,7 +99809,7 @@ var est = ["axis"], tst = Xot(Xot({}, Q6), {}, {startAngle: 90,endAngle: -270}), nst = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {- var n = uX(e, tst);+ var n = dX(e, tst);return /*#__PURE__*/ S.createElement(Jot, {chartName: "RadarChart",defaultTooltipEventType: "axis",@@ -99868,7 +99876,7 @@ var ust = ["axis", "item"], dst = ost(ost({}, Q6), {}, {startAngle: 0,endAngle: 360}), fst = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {- var n = uX(e, dst);+ var n = dX(e, dst);return /*#__PURE__*/ S.createElement(Jot, {chartName: "RadialBarChart",defaultTooltipEventType: "axis",@@ -102081,15 +102089,15 @@ var Kct = ["aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"];function Jct({ title: e, rows: t, empty: n, unit: r = "个视频" }) {- let [i, a] = (0, S.useState)(-1), [o, s] = (0, S.useState)(-1), c = XRe(t);+ let [i, a] = (0, S.useState)(-1), [o, s] = (0, S.useState)(-1), c = YRe(t);if (!c.length) return /* @__PURE__ */ (0, C.jsx)(h8, {title: e,children: n});- let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = ZRe(c.map((e) => e.value)), m = c.map((e, t) => ({+ let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = XRe(c.map((e) => e.value)), m = c.map((e, t) => ({slice: S8(t),value: e.value,- arc: QRe(e.value, p)+ arc: ZRe(e.value, p)}));return /* @__PURE__ */ (0, C.jsxs)("section", {className: m8,@@ -102123,7 +102131,7 @@ function Jct({ title: e, rows: t, empty: n, unit: r = "个视频" }) {className: "aspect-auto h-75 max-sm:h-65",children: [/* @__PURE__ */ (0, C.jsx)(k8.RadialBar, {dataKey: "arc",- barSize: $Re(c.length),+ barSize: QRe(c.length),radialBarProps: {shape: (e) => /* @__PURE__ */ (0, C.jsx)(s$, {...e,@@ -102187,7 +102195,7 @@ function N8({ term: e, value: t }) {children: e}), /* @__PURE__ */ (0, C.jsx)("b", {className: "text-title-3-medium tabular-nums text-text-primary",- children: yJ(t)+ children: bJ(t)})]});}@@ -102199,14 +102207,14 @@ function P8({ term: e, value: t, total: n }) {className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",children: [/* @__PURE__ */ (0, C.jsx)("span", { children: e }), /* @__PURE__ */ (0, C.jsxs)("b", {className: "tabular-nums",- children: [yJ(t), vJ(t) ? /* @__PURE__ */ (0, C.jsx)("span", {+ children: [bJ(t), yJ(t) ? /* @__PURE__ */ (0, C.jsx)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: bJ(t, n)+ children: xJ(t, n)}) : null]})]}), /* @__PURE__ */ (0, C.jsx)(xA, {- label: `${e}:${yJ(t)} / ${n.toLocaleString()}`,- value: vJ(t) ? M8(t, r) : 0,+ label: `${e}:${bJ(t)} / ${n.toLocaleString()}`,+ value: yJ(t) ? M8(t, r) : 0,max: r})]});@@ -102271,7 +102279,7 @@ function slt({ data: e, configurable: t, openMediaSettings: n }) {unit: "个视频",series: "视频",color: A8,- rows: rze(e.by_length),+ rows: nze(e.by_length),empty: rlt}),/* @__PURE__ */ (0, C.jsx)(T8, {@@ -102279,7 +102287,7 @@ function slt({ data: e, configurable: t, openMediaSettings: n }) {unit: "个视频",series: "视频",color: A8,- rows: wJ(e.by_quality),+ rows: TJ(e.by_quality),empty: ilt}),/* @__PURE__ */ (0, C.jsx)(T8, {@@ -102288,7 +102296,7 @@ function slt({ data: e, configurable: t, openMediaSettings: n }) {series: "条目",color: A8,layout: "horizontal",- rows: tze(e.by_medium),+ rows: eze(e.by_medium),empty: j8})]@@ -102327,7 +102335,7 @@ function clt({ data: e }) {unit: "个作品",series: "作品",color: Xct,- rows: aze(e.replays),+ rows: ize(e.replays),empty: olt})] });}@@ -102381,7 +102389,7 @@ function ult({ volume: e }) {className: "whitespace-nowrap tabular-nums",children: [on(n), /* @__PURE__ */ (0, C.jsx)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: bJ(n, t)+ children: xJ(n, t)})]})]}),@@ -102462,7 +102470,7 @@ function plt({ rows: e }) {return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {className: "flex flex-col gap-5",children: e.map((e) => {- let t = SJ(e);+ let t = CJ(e);return /* @__PURE__ */ (0, C.jsxs)("article", {className: "flex flex-wrap items-center gap-x-6 gap-y-2",children: [/* @__PURE__ */ (0, C.jsxs)("div", {@@ -102470,7 +102478,7 @@ function plt({ rows: e }) {children: [/* @__PURE__ */ (0, C.jsx)("h3", {className: "min-w-0 text-body-2-medium text-text-primary",children: /* @__PURE__ */ (0, C.jsx)("a", {- href: YRe(e),+ href: JRe(e),"data-middle-truncate": !0,className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",children: e.name@@ -102480,7 +102488,7 @@ function plt({ rows: e }) {children: [e.creator ? /* @__PURE__ */ (0, C.jsx)("span", {className: "min-w-0 wrap-anywhere",children: e.creator- }) : null, /* @__PURE__ */ (0, C.jsx)("span", { children: JRe(e) })]+ }) : null, /* @__PURE__ */ (0, C.jsx)("span", { children: qRe(e) })]})]}), /* @__PURE__ */ (0, C.jsxs)("div", {className: "min-w-0 basis-40",@@ -102489,7 +102497,7 @@ function plt({ rows: e }) {value: t}), /* @__PURE__ */ (0, C.jsx)("small", {className: "mt-1.5 block text-caption-1-regular text-text-secondary",- children: `真实 ${t.toFixed(0)}% · 到达 ${CJ(e).toFixed(0)}%`+ children: `真实 ${t.toFixed(0)}% · 到达 ${wJ(e).toFixed(0)}%`})]})]}, `${e.kind}:${e.id}`);@@ -102568,15 +102576,15 @@ function L8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {}function hlt(e) {let t = ft({- queryKey: gJ,- queryFn: ({ signal: e }) => _J(e)+ queryKey: _J,+ queryFn: ({ signal: e }) => vJ(e)}), n = t.data;if (!n) return /* @__PURE__ */ (0, C.jsx)(yA, { children: /* @__PURE__ */ (0, C.jsx)(J, {tone: "error",title: "馆藏统计读取失败",children: t.error ? V(t.error) : "未取得统计数据,请刷新页面重试。"}) });- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = vJ(n.tag_cov) ? bJ(n.tag_cov, n.attribution.videos) : "未取得", c = `${yJ(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;+ let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = yJ(n.tag_cov) ? xJ(n.tag_cov, n.attribution.videos) : "未取得", c = `${bJ(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;return /* @__PURE__ */ (0, C.jsxs)(yA, { children: [/* @__PURE__ */ (0, C.jsx)("p", {className: "text-caption-1-regular text-text-secondary",@@ -102603,8 +102611,8 @@ function hlt(e) {label: "看过",icon: gge,accent: 1,- figure: yJ(r.played),- detail: xJ(r.play_seconds)+ figure: bJ(r.played),+ detail: SJ(r.play_seconds)}),/* @__PURE__ */ (0, C.jsx)(L8, {id: "coverage",@@ -102637,7 +102645,7 @@ function hlt(e) {children: [/* @__PURE__ */ (0, C.jsx)(I8, {headline: /* @__PURE__ */ (0, C.jsx)(F8, {term: "观看",- figure: yJ(r.played),+ figure: bJ(r.played),unit: "个作品有播放记录"}),children: /* @__PURE__ */ (0, C.jsxs)("div", {@@ -103154,7 +103162,7 @@ function $lt(e) {let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;return !e.range_start && !e.range_end ? t : `${t} · ${K8(e.range_start)}—${K8(e.range_end)}`;}-var eut = xJ, tut = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), nut = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+var eut = SJ, tut = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), nut = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);function rut(e) {if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();let t = [];@@ -105253,7 +105261,7 @@ async function cft(e, t) {let n = o5(), r = e.follow;if (!n || !r || r.refresh()) return;let i = ll;- e.surfaceChanged("follow", "/follow"), RK(n, r.skeleton()), await dk("/follow", r.props(), {+ e.surfaceChanged("follow", "/follow"), zK(n, r.skeleton()), await dk("/follow", r.props(), {container: n,isCurrent: t,place: sft@@ -105286,7 +105294,7 @@ function dft(e) {}async function fft(e, t) {let n = o5();- n && (e.surfaceChanged("playlists", "/playlists"), RK(n, IK("/playlists", {+ n && (e.surfaceChanged("playlists", "/playlists"), zK(n, LK("/playlists", {followLayout: "",followSort: "",followDir: ""@@ -105336,7 +105344,7 @@ var _ft = [], vft = () => il > 0, yft = () => (0, S.useSyncExternalStore)(hl, vft), s5 = !1, c5 = () => bE().value.followLayout === "table" ? "table" : "default", l5 = () => new URLSearchParams(window.location.search);function bft(e) {let t = l5();- return IK(e, {+ return LK(e, {followLayout: c5(),followSort: t.get("sort") || "",followDir: t.get("dir") || ""@@ -105445,7 +105453,7 @@ async function Tft(e, t, n) {jav: ""} }), t.clearSearch());let i = e === "/data-cleanup" && s5;- i && (s5 = !1), RK(r, bft(e));+ i && (s5 = !1), zK(r, bft(e));let a = await Sft(e, n);if (!a) return;let o = await dk(e, a, {@@ -105524,7 +105532,7 @@ function Oft(e, t, n) {var m5 = (e) => ({element: /* @__PURE__ */ (0, C.jsx)(p5, { path: e }),prefetch: (e, t) => SPe(t),- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(WFe, {+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(UFe, {receipt: (e) => t.receipt(e),reopenTutorial: t.reopenTutorial,section: e.section ?? ""@@ -105541,7 +105549,7 @@ var m5 = (e) => ({},"/stats": {element: /* @__PURE__ */ (0, C.jsx)(p5, { path: "/stats" }),- prefetch: (e, t) => KRe(t),+ prefetch: (e, t) => GRe(t),page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(hlt, {tagLabel: Oc,onTag: t.openTag,@@ -105738,15 +105746,15 @@ var m5 = (e) => ({},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, C.jsx)(uIe, {})+ page: () => /* @__PURE__ */ (0, C.jsx)(lIe, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, C.jsx)(wIe, {})+ page: () => /* @__PURE__ */ (0, C.jsx)(CIe, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, C.jsx)(WRe, {})+ page: () => /* @__PURE__ */ (0, C.jsx)(URe, {})}}, Lft = (e) => Object.hasOwn(Ift, e), Rft = ["/",@@ -105877,7 +105885,7 @@ function Zft() {var k5 = null, A5 = null;function j5(e) {return k5 ??= (async () => {- let t = URe(e), n = document.createElement("div");+ let t = HRe(e), n = document.createElement("div");return n.dataset.stageHost = "", await O5("stage", n, (e) => (document.body.append(e), e)), A5 = t, t;})(), k5;}@@ -105891,14 +105899,14 @@ function Qft(e) {var F5 = () => P5, I5 = null, L5 = null;function $ft(e) {return I5 ??= (async () => {- let t = lIe(e), n = document.createElement("div");+ let t = cIe(e), n = document.createElement("div");return n.dataset.settingsHost = "", await O5("settings-panel", n, (e) => (document.body.append(e), e)), L5 = t, t;})(), I5;}var ept = () => L5, R5 = null, z5 = null;function tpt(e) {return R5 ??= (async () => {- let t = CIe(e);+ let t = SIe(e);return await O5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), z5 = t, t;})(), R5;}@@ -107000,7 +107008,7 @@ function Smt(e, t) {} : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" disabled data-skeleton-action>${z("play")}</button><button type="button" data-media-view="photos" aria-label="照片" disabled data-skeleton-action>${z("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${Z.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${G.state === e.k}" disabled data-skeleton-action>${B(e.label)}</button>`).join("")}</div>`, a = dmt(e, r, e === "agency" ? Jo({kind: "performers",layout: b7.peopleIndexLayout()- }) : FK("正在读取作品", {+ }) : IK("正在读取作品", {cards: !0,className: "catalog-skeleton postercard-skeleton",cardRatio: jE(AE({@@ -107691,7 +107699,7 @@ function w7(e = "正在读取作品") {...Xht()})), R("#loadSentinel").hidden = !0, s9()) return;let r = R("#grid"), i = u9(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== LK(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== cgt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : C7.setGridCards(i), ts(R("#grid")));+ (a?.dataset.skeleton !== RK(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== cgt()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : C7.setGridCards(i), ts(R("#grid")));}function T7() {R("#catalogFilter").style.display = "none", $7();@@ -107727,7 +107735,7 @@ function oht() {} else $.routeMeta(e) ? w7() : (a9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0);}function sht() {- A9.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => FK(t, {+ A9.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => IK(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",@@ -107741,7 +107749,7 @@ function sht() {<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>${A9.followContentSkeletonHtml(void 0, e)}</div></div>`, R("#loadSentinel").innerHTML = No("继续载入中…"), C7.setGridCards = (e) => Go(R("#grid"), () => {R("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), C7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), C7.managementPlaceholder = (e) => IK(e, {+ }), C7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), C7.managementPlaceholder = (e) => LK(e, {followLayout: Jmt(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,@@ -107813,7 +107821,7 @@ var D7 = {mobileFilterPath: void 0};function O7({ manage: e = !0, placeholder: t = "" } = {}) {- R("#stats").hidden = !1, R("#index").hidden = !0, a9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? F7() : (I7(""), T9()), t && RK(R("#stats"), t);+ R("#stats").hidden = !1, R("#index").hidden = !0, a9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? F7() : (I7(""), T9()), t && zK(R("#stats"), t);}function k7() {Z.hideCatalogCombo(), T7(), document.body.classList.remove("entity-open", "index-open");@@ -108115,7 +108123,7 @@ function kht() {navCatalog: D7.NAV_CATALOG,themeOptions: tue,videoLayouts: CE,- followInitialRanges: OG,+ followInitialRanges: kG,videoLayout: () => V7(),setVideoLayout: wht,censored: m9,@@ -108676,7 +108684,7 @@ function l9() {});}function u9(e = "正在读取作品") {- return FK(e, {+ return IK(e, {cards: !0,className: "catalog-skeleton postercard-skeleton",cardRatio: cgt()@@ -108766,7 +108774,7 @@ function fgt() {selected: new Set(Vc),countRow: R("#count"),settled: igt,- skeletonHtml: () => FK("正在读取垃圾文件", {+ skeletonHtml: () => IK("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),@@ -109277,7 +109285,7 @@ function Igt() {tagCandidates: () => g9.facets && g9.facets.tags || [],sourceOffline: (e) => Q.sourceOffline(e),offlineReason: (e) => Q.offlineReason(e),- relatedSkeletonHtml: () => FK("正在读取推荐", {+ relatedSkeletonHtml: () => IK("正在读取推荐", {cards: !0,className: "related-skeleton"}),