Peach: Local-first video metadata scraper and media manager.
fix(web): 详情里换卷、换版本与后退前进原地换条,不再重开浮窗
longmeidao6d1466899a27
diff --git a/frontend/e2e/follow-detail.test.ts b/frontend/e2e/follow-detail.test.tsindex 2ca61b9c5..c46789783 100644--- a/frontend/e2e/follow-detail.test.ts+++ b/frontend/e2e/follow-detail.test.ts@@ -31,6 +31,18 @@ function watchFollowRequests(page: Page) {return seen;}+/** 换条前记下舞台节点并盯住骨架:原地换条时浮窗还是同一个节点,中途不回骨架。 */+const watchStage = (page: Page) => page.evaluate(() => {+ const watch = { stage: document.getElementById('stage'), skeleton: false };+ new MutationObserver(() => { if (document.querySelector('#stage [data-skeleton="detail"]')) watch.skeleton = true })+ .observe(document.body, { childList: true, subtree: true });+ Object.assign(window, { stageWatch: watch });+});+const stageKept = (page: Page) => page.evaluate(() => {+ const watch = (window as unknown as { stageWatch: { stage: Element | null; skeleton: boolean } }).stageWatch;+ return { same: document.getElementById('stage') === watch.stage, skeleton: watch.skeleton };+});+const openDetail = (browser: Browser, id: number, viewport = DESKTOP) =>openFollowFeed(browser, `/follow/item/${id}`, viewport, { ready: DETAIL_READY });@@ -102,7 +114,7 @@ describe('关注详情岛', () => {}});- it('视频:舞台在媒体框里挂上 Video.js,氛围光画布与统计角标插进同一个媒体框;换一条只剩一个播放器', { timeout: 60_000 }, async () => {+ it('视频:舞台在媒体框里挂上 Video.js,氛围光画布与统计角标插进同一个媒体框;换一条与后退都原地换、只剩一个播放器', { timeout: 60_000 }, async () => {const opened = await openDetail(browser, DETAIL.collection);try {const page = opened.page;@@ -111,12 +123,20 @@ describe('关注详情岛', () => {await frame.locator('.video-js .vjs-control-bar').waitFor({ state: 'attached' });assert.equal(await frame.locator('[data-ambient-canvas]').count(), 1);assert.equal(await frame.locator('.video-js video').count(), 1, '媒体框里的 video 不止一个');+ await watchStage(page);await page.locator('[data-follow-queue-item="5102"]').click();await pathIs(page, '/follow/item/5102');await page.locator('#stage [data-follow-queue-item="5102"][aria-current="true"]').waitFor();await page.locator('#stage .video-js .vjs-control-bar').waitFor({ state: 'attached' });assert.equal(await page.locator('#stage .video-js').count(), 1, '换一条之后旧播放器没拆');assert.equal(await page.locator('#stage [data-ambient-canvas]').count(), 1);+ assert.deepEqual(await stageKept(page), { same: true, skeleton: false }, '换一条重开了浮窗');+ await page.goBack();+ await pathIs(page, '/follow/item/5101');+ await page.locator('#stage [data-follow-queue-item="5101"][aria-current="true"]').waitFor();+ await page.locator('#stage .video-js .vjs-control-bar').waitFor({ state: 'attached' });+ assert.equal(await page.locator('#stage .video-js').count(), 1, '后退之后旧播放器没拆');+ assert.deepEqual(await stageKept(page), { same: true, skeleton: false }, '后退到上一条重开了浮窗');await page.locator('#closeStage').click();await pathIs(page, '/follow');await page.locator('[data-follow-list] > [data-follow-item]').first().waitFor({ timeout: 15_000 });diff --git a/frontend/e2e/item-detail.test.ts b/frontend/e2e/item-detail.test.tsindex ff49ed1ec..76c0a987f 100644--- a/frontend/e2e/item-detail.test.ts+++ b/frontend/e2e/item-detail.test.ts@@ -25,6 +25,19 @@ const current = (page: Page) => page.locator('#stage [data-queue-item][aria-currconst ids = (page: Page, selector: string, attribute: string) => page.locator(selector).evaluateAll((nodes, name) => nodes.map((node) => Number(node.getAttribute(name))), attribute);++/** 换条前记下舞台节点并盯住骨架:原地换条时浮窗还是同一个节点,中途不回骨架。 */+const watchStage = (page: Page) => page.evaluate(() => {+ const watch = { stage: document.getElementById('stage'), skeleton: false };+ new MutationObserver(() => { if (document.querySelector('#stage [data-skeleton="detail"]')) watch.skeleton = true })+ .observe(document.body, { childList: true, subtree: true });+ Object.assign(window, { stageWatch: watch });+});+const stageKept = (page: Page) => page.evaluate(() => {+ const watch = (window as unknown as { stageWatch: { stage: Element | null; skeleton: boolean } }).stageWatch;+ return { same: document.getElementById('stage') === watch.stage, skeleton: watch.skeleton };+});+describe('作品详情岛', () => {let browser: Browser;@@ -396,16 +409,18 @@ describe('作品详情岛', () => {['版本', `/editions/${ITEM.edition}/${ITEM.edition}`, 32, `/editions/${ITEM.edition}/32`],['播放列表', `/playlists/${PLAYLIST.id}/11`, 15, `/playlists/${PLAYLIST.id}/15`],] as const) {- it(`${kind}队列:深链停在给的那一条,点另一条换过去且不重取队列`, { timeout: 60_000 }, async () => {+ it(`${kind}队列:深链停在给的那一条,点另一条原地换过去且不重取队列`, { timeout: 60_000 }, async () => {const opened = await openItemPage(browser, path, DESKTOP);try {const page = opened.page;assert.equal(await current(page), path.split('/').at(-1));const reads = new Map(opened.stub.reads);+ await watchStage(page);await page.locator(`#stage [data-queue-item="${next}"]`).click();await pathIs(page, wanted);await page.locator(`#stage [data-queue-item="${next}"][aria-current="true"]`).waitFor();await page.locator(DETAIL_READY).waitFor();+ assert.deepEqual(await stageKept(page), { same: true, skeleton: false }, `${kind}队列换一条重开了浮窗`);if (kind === '分卷') assert.match(await page.locator('#stage [data-detail-title]').innerText(), /第 3 卷/);for (const url of ['/api/parts', '/api/editions', '/api/related']) {assert.equal(opened.stub.reads.get(url) || 0, reads.get(url) || 0, `同一个${kind}队列里换一条又取了 ${url}`);diff --git a/frontend/src/react/components/mix-queue.tsx b/frontend/src/react/components/mix-queue.tsxindex 4bcdb005d..12a4e567a 100644--- a/frontend/src/react/components/mix-queue.tsx+++ b/frontend/src/react/components/mix-queue.tsx@@ -3,7 +3,7 @@* 结构照遗留层 `queueHtml`(`web/app.js`):队列、行与条目各挂一枚 `data-mix-*`,样式在* `stage/stage.css`,作品详情与关注详情共用。一列十几条要能拖着横滚(窄屏下队列是横排),* 拖动借壳的 `wireDrag`,由调用方经 `listRef` 接上。 */-import type { ButtonHTMLAttributes, ReactNode, Ref } from 'react';+import { useCallback, useLayoutEffect, useRef, type ButtonHTMLAttributes, type ReactNode, type Ref } from 'react';import { icon } from '@peach/legacy/core';export function MixQueue({ kind, title, summary, onClose, actions, listRef, children, ...data }: {@@ -16,6 +16,23 @@ export function MixQueue({ kind, title, summary, onClose, actions, listRef, chillistRef?: Ref<HTMLDivElement>;children: ReactNode;} & Record<`data-${string}`, string>) {+ const list = useRef<HTMLDivElement | null>(null);+ const attach = useCallback((node: HTMLDivElement | null) => {+ list.current = node;+ if (typeof listRef === 'function') listRef(node);+ else if (listRef) listRef.current = node;+ }, [listRef]);+ /* 换条时详情按条目重建,队列跟着从头挂:把正在看的那一行滚进列表可见处。只动列表自己的滚动,+ `scrollIntoView` 会连浮窗和页面一起滚。 */+ useLayoutEffect(() => {+ const box = list.current;+ const row = box?.querySelector<HTMLElement>('[data-mix-item][aria-current="true"]');+ if (!box || !row) return;+ const outer = box.getBoundingClientRect();+ const inner = row.getBoundingClientRect();+ if (inner.top < outer.top || inner.bottom > outer.bottom) box.scrollTop += inner.top - outer.top - (outer.height - inner.height) / 2;+ if (inner.left < outer.left || inner.right > outer.right) box.scrollLeft += inner.left - outer.left - (outer.width - inner.width) / 2;+ }, []);return (<aside data-mix-queue="" data-queue-kind={kind} {...data}><div data-mix-queue-head="">@@ -28,7 +45,7 @@ export function MixQueue({ kind, title, summary, onClose, actions, listRef, childangerouslySetInnerHTML={{ __html: icon('x') }} /></div></div>- <div data-mix-list="" ref={listRef}>{children}</div>+ <div data-mix-list="" ref={attach}>{children}</div></aside>);}diff --git a/frontend/src/react/follow-detail/follow-detail-page.tsx b/frontend/src/react/follow-detail/follow-detail-page.tsxindex fa978352f..d50291f80 100644--- a/frontend/src/react/follow-detail/follow-detail-page.tsx+++ b/frontend/src/react/follow-detail/follow-detail-page.tsx@@ -6,7 +6,7 @@* 样式在 `../stage/stage.css`);关注自己多出来的几块样式在 `follow-detail.css`。** 换一份媒体(轮播、多媒体队列)只改岛内状态:媒体区按「条目:媒体」换一块,播放器随之拆了重挂。- * 换到组里另一条经壳(`actions.openItem`),因为舞台上的播放器要先拆、地址也要换。 */+ * 换到组里另一条经壳(`actions.openItem`):地址要换;舞台取齐那一条后原地换内容,浮窗不重开。 */import { useCallback, useLayoutEffect, useMemo, useRef, useState, type CSSProperties } from 'react';import { useMutation, useQuery } from '@tanstack/react-query';import { esc, fmtDur, foldName, icon, requestErrorMessage } from '@peach/legacy/core';diff --git a/frontend/src/react/follow-detail/follow-detail.ts b/frontend/src/react/follow-detail/follow-detail.tsindex 98c999a49..d7739e65c 100644--- a/frontend/src/react/follow-detail/follow-detail.ts+++ b/frontend/src/react/follow-detail/follow-detail.ts@@ -86,7 +86,7 @@ export async function prefetchFollowDetail(props: { id: number }, signal: AbortSexport interface FollowDetailActions {/** 关闭详情回到来处(壳的 `closeDetail`:退场动画、拆舞台、推回列表地址)。 */close(): void;- /** 换到组里的另一条:舞台上的播放器要先拆,所以经壳重挂(`preserveReturn` 语义)。 */+ /** 换到组里的另一条:经壳换地址(`preserveReturn` 语义),舞台原地换内容。 */openItem(id: number, mediaIndex?: number | null): void;/** 点详情里的一枚标签:壳切换那一枚筛选,回到带上它的列表。 */openTag(tag: string): void;diff --git a/frontend/src/react/item-detail/item-detail-page.tsx b/frontend/src/react/item-detail/item-detail-page.tsxindex 20b77fefb..685e9a897 100644--- a/frontend/src/react/item-detail/item-detail-page.tsx+++ b/frontend/src/react/item-detail/item-detail-page.tsx@@ -2,8 +2,8 @@** 舞台(`<dialog id="stage">`)、它的进出场、小窗与 Video.js 都归舞台岛(`../stage/`),关注详情* 也在用;这里只画舞台里的内容,播放区的媒体框画好之后经 `actions.mountPlayer` 交给舞台挂播放器。- * 点身份、标签、地区回列表或资料页,队列里换一条,都经壳:舞台上的播放器要先拆、地址与顶栏上下文- * 要换。+ * 点身份、标签、地区回列表或资料页,队列里换一条,都经壳:地址与顶栏上下文要换。队列里换条时舞台+ * 原地换内容,浮窗不重开。** 写操作(评分、标签、反馈、稍后看、高清目标、偏好、播放列表排序与移出)都在岛里发,成功后* 把服务端回的那几个字段换进 `['item', id]`,目录网格缓存里的同一张卡一起换,不重读列表。 */diff --git a/frontend/src/react/stage/stage-api.ts b/frontend/src/react/stage/stage-api.tsindex 6d6f73d91..458b77805 100644--- a/frontend/src/react/stage/stage-api.ts+++ b/frontend/src/react/stage/stage-api.ts@@ -27,7 +27,7 @@ export type StagePatch = Partial<Pick<ItemDetailProps, 'layout' | 'selectMode' |export interface StageApi {/** 打开一条详情:先画骨架、`showModal()`,取完数再换成内容。小窗放着的正是这一条时,内容- * 画出来那一刻把同一个播放器搬回来。 */+ * 画出来那一刻把同一个播放器搬回来。浮窗开着同一种详情时不重开,取完数原地换内容。 */open(request: StageRequest): Promise<void>;update(patch: StagePatch): void;/** 退场动画;拆舞台之前等它演完。 */@@ -35,6 +35,8 @@ export interface StageApi {/** 拆掉舞台。`miniplayer` 为假时正在放的视频不进小窗(显式关闭、换详情、删掉当前条目)。 */dispose(options?: { miniplayer?: boolean }): void;isOpen(): boolean;+ /** 浮窗此刻开着、能原地换条的那一种详情;没开、在退场或已要求关闭时为空。壳据此决定换条前拆不拆舞台。 */+ showing(): StageRequest['kind'] | null;/** 关闭键、Escape 与点浮窗外面走的那一条:交给当前详情自己的 `close`,退场期间再要一次不重复。 */requestClose(): void;/** 该响应播放快捷键的 video:舞台开着取舞台里的,否则取小窗里的。 */diff --git a/frontend/src/react/stage/stage.tsx b/frontend/src/react/stage/stage.tsxindex a2e0a7f93..3ba501505 100644--- a/frontend/src/react/stage/stage.tsx+++ b/frontend/src/react/stage/stage.tsx@@ -114,9 +114,11 @@ function StageDialog({ view: current }: { view: View }) {return () => dialog.removeEventListener('cancel', cancel);}, []);const { phase, content } = current;+ /* 原地换条时关注详情按条目重建:选中的那份媒体、写操作的忙碌与失败都只属于上一条。作品详情+ 自己按条目给 `Detail` 换键,队列取数留在外层不重来。 */const body = content.kind === 'item'? <ItemDetailPage {...content.props} />- : <FollowDetailPage {...content.props} />;+ : <FollowDetailPage key={content.props.id} {...content.props} />;return (<dialog ref={ref} id="stage" data-stage="" aria-label="作品详情"onKeyDown={(event) => {@@ -214,7 +216,16 @@ function startReveal(dialog: HTMLDialogElement, mine: number): void {timer = window.setTimeout(drop, 1000);}+/** 浮窗开着同一种详情、不在退场:换条就原地换内容,不拆浮窗。 */+function swappable(kind: StageRequest['kind']): HTMLDialogElement | null {+ const dialog = stageDialog();+ if (!view || view.content.kind !== kind || closeRequested || !dialog?.open || dialog.hasAttribute('data-closing')) return null;+ return dialog;+}+async function open(request: StageRequest): Promise<void> {+ const current = swappable(request.kind);+ if (current) { await swap(request, current); return }if (view) dispose({ miniplayer: false });const mine = ++generation;const abort = new AbortController();@@ -251,6 +262,32 @@ async function open(request: StageRequest): Promise<void> {if (active === dialog || !dialog.contains(active)) dialog.querySelector<HTMLElement>('#closeStage')?.focus();}+/* 详情开着时换到同一种的另一条(队列换卷、合集换版本、相关作品、后退前进):浮窗、遮罩与进场都不+ 重演,也不回骨架。先把新的一条取齐,取的这段时间上一条照旧在放;取到再换内容,媒体框按条目卸下,+ 上一条的播放器随之拆掉(不进小窗)。 */+async function swap(request: StageRequest, dialog: HTMLDialogElement): Promise<void> {+ const mine = ++generation;+ controller?.abort();+ const abort = new AbortController();+ controller = abort;+ dismissArmed = false;+ const content = contentFor(request);+ try {+ if (content.kind === 'item') await prefetchItemDetail(content.props, abort.signal);+ else await prefetchFollowDetail(content.props, abort.signal);+ } catch {+ if (abort.signal.aborted) return;+ }+ if (mine !== generation || !view || swappable(request.kind) !== dialog) return;+ player.prepareStageFor(request.kind, request.id ?? Number.NaN);+ releaseHoverPreviews(dialog);+ closePlayerMenu();+ view = { ...view, request, content, phase: 'content' };+ paint();+ dialog.querySelector<HTMLElement>(':scope > [data-stage-scroll]')?.scrollTo({ top: 0 });+ revealTexts(dialog, ':scope>:not([data-stage-fade]) [data-reveal-line]');+}+/* 详情浮窗的退场跟设置弹层同一条:`data-closing` 让 `board-dialog-out` 和遮罩淡出演完,再拆。等待有上限:`animation` 被别的规则关掉时 animationend 不会来。 */function exit(): Promise<void> {@@ -309,6 +346,7 @@ function repaintPoster(): void {const api: StageApi = {open, update, exit, dispose, requestClose, repaintPoster,isOpen: () => !!view,+ showing: () => (view && swappable(view.content.kind) ? view.content.kind : null),activeVideo: () => player.activeStageVideo(),toggleTheater: () => { if (view) applyTheaterMode(!stageHost().player.settings().theaterMode) },toggleMiniplayer: () => player.toggleMiniplayer(),diff --git a/web/app.js b/web/app.jsindex 2a303c7f2..d86f0d1b3 100644--- a/web/app.js+++ b/web/app.js@@ -139,7 +139,9 @@ const ROUTES=[{match:'/item/:id',title:'作品',open:(params,push)=>openItem(params.id,push)},/* 追更详情要先把列表铺好:详情页的返回、上一条/下一条都从那份列表来。 */{match:'/follow/item/:id',title:'关注',open:async(params,push)=>{- await openFollow(push,true);await openFollowDetail(params.id,push)}},+ // 详情开着时后退前进到组里另一条:列表已在下面,详情原地换条。+ if(stageApi()?.showing()!=='follow')await openFollow(push,true);+ await openFollowDetail(params.id,push)}},/* 实体资料页。四种实体只有 kind 不同,名字里可能带斜杠,所以吃掉剩下全部段。 */...Object.entries(ROUTE_ENTITIES).map(([segment,kind])=>({match:`/${segment}/:name*`,title:params=>params.name,@@ -2233,8 +2235,8 @@ const followFeedProps=()=>({view:followView(),seed:followDiscoverySeed,revision:imagesOnly:!!appSettings.followImagesOnly,helpers:followFeedHelpers,actions:followFeedActions});/* 关注详情整块归舞台岛(`frontend/src/react/stage/`):条目取数、媒体区、队列、侧栏、写操作与- 播放器都在 /dist/peach-react.js 里。壳留来处与地址。换到组里另一条也走这里:舞台上的播放器- 要先拆,地址要换。 */+ 播放器都在 /dist/peach-react.js 里。壳留来处与地址。换到组里另一条也走这里:地址要换,舞台+ 原地换内容。 */const followDetailActions={close:()=>closeFollowDetail(),openItem:(id,mediaIndex=null)=>openFollowDetail(id,true,mediaIndex,true),@@ -2259,8 +2261,8 @@ async function openFollowDetail(id,push=true,mediaIndex=null,preserveReturn=falsif(!push&&!preserveReturn)writeShell({followDetailReturnPath:takeOverlayReturn()||'/follow'});// 条目的背景另记:从列表进来记列表这一页(带筛选),组内换条沿用上一条的。if(push)holdOverlayBackground();- // 换详情不进小窗;小窗里放着别的条目也让位(舞台岛判),两个播放器不同时出声。- disposeStage(false,false,{miniplayer:false});+ // 换详情不进小窗;小窗里放着别的条目也让位(舞台岛判),两个播放器不同时出声。关注详情开着时原地换条。+ if(stageApi()?.showing()!=='follow')disposeStage(false,false,{miniplayer:false});if(push)route(`/follow/item/${id}`,false,overlayState('follow'));const stage=await loadStage(stageHost);await stage.open({kind:'follow',id,mediaIndex,mediaView:followMediaView,@@ -3680,8 +3682,9 @@ async function openItem(id,push=true,queue=null,anchor=null,queuePush=false){else if(!queuePush)writeShell({detailReturnPath:takeOverlayReturn()||detailReturnPath});// 条目的背景另记:从页面点进来记这一页,从详情里点开另一条沿用上一条的背景,不嵌套。if(push)holdOverlayBackground();- // 换详情不进小窗;小窗里放着别的条目也让位(舞台岛判),两个播放器不同时出声。- disposeStage(false,true,{miniplayer:false});+ /* 换详情不进小窗;小窗里放着别的条目也让位(舞台岛判),两个播放器不同时出声。作品详情开着时+ (队列换卷、相关作品)舞台原地换条,不拆。 */+ if(stageApi()?.showing()!=='item')disposeStage(false,true,{miniplayer:false});writeShell({detailOriginAnchor:origin,detailOriginAbove:above,detailReturnNeedsRestore:needsReturnRestore});writeShell({detailReturnBarsContext:returnBars});writeShell({activeQueue:queue&&{kind:queue.kind,seedId:queue.seedId,playlistId:queue.playlistId}});diff --git a/web/dist/peach-react.js b/web/dist/peach-react.jsindex 3a60663c1..7ab2d9298 100644--- a/web/dist/peach-react.js+++ b/web/dist/peach-react.js@@ -12497,7 +12497,7 @@ function $te(e) {}//#endregion//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs-function ax(e) {+function ene(e) {let t = Eg(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,@@ -12507,7 +12507,7 @@ function ax(e) {}//#endregion//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs-function ene(e, t, n) {+function tne(e, t, n) {let { labelProps: r, inputProps: i, isSelected: a, ...o } = M_(e, t, n);return {labelProps: r,@@ -12522,10 +12522,10 @@ function ene(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs-var ox = class {+var ax = class {constructor(e) {if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");- this.layoutDelegate = e.layoutDelegate || (e.layout ? new tne(e.layout) : new Z_(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new nne(e.layout) : new Z_(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -12691,7 +12691,7 @@ var ox = class {}return null;}-}, tne = class {+}, nne = class {constructor(e) {this.layout = e;}@@ -12704,16 +12704,16 @@ var ox = class {getVisibleRect() {return this.layout.virtualizer.visibleRect;}-}, sx = /* @__PURE__ */ new WeakMap();+}, ox = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/grid/useGrid.mjs-function nne(e, t, n) {+function rne(e, t, n) {let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let h = Xv({usage: "search",sensitivity: "base"- }), { direction: g } = vg(), _ = t.selectionManager.disabledBehavior, v = (0, B.useMemo)(() => a || new ox({+ }), { direction: g } = vg(), _ = t.selectionManager.disabledBehavior, v = (0, B.useMemo)(() => a || new ax({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -12739,7 +12739,7 @@ function nne(e, t, n) {disallowTypeAhead: i,escapeKeyBehavior: d}), b = dh(e.id);- sx.set(t, {+ ox.set(t, {keyboardDelegate: v,actions: {onRowAction: l,@@ -12769,27 +12769,27 @@ function nne(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/utils.mjs-var cx = /* @__PURE__ */ new WeakMap();-function lx(e) {+var sx = /* @__PURE__ */ new WeakMap();+function cx(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function rne(e, t) {- let n = cx.get(e);+function ine(e, t) {+ let n = sx.get(e);if (!n) throw Error("Unknown grid");- return `${n}-${lx(t)}`;+ return `${n}-${cx(t)}`;}-function ux(e, t, n) {- let r = cx.get(e);+function lx(e, t, n) {+ let r = sx.get(e);if (!r) throw Error("Unknown grid");- return `${r}-${lx(t)}-${lx(n)}`;+ return `${r}-${cx(t)}-${cx(n)}`;}-function dx(e, t) {- return [...e.collection.rowHeaderColumnKeys].map((n) => ux(e, t, n)).join(" ");+function ux(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => lx(e, t, n)).join(" ");}//#endregion//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs-var fx = {};-fx = {+var dx = {};+dx = {ascending: "تصاعدي",ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,collapse: "طي",@@ -12804,8 +12804,8 @@ fx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs-var px = {};-px = {+var fx = {};+fx = {ascending: "възходящ",ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,collapse: "Свиване",@@ -12820,8 +12820,8 @@ px = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs-var mx = {};-mx = {+var px = {};+px = {ascending: "vzestupně",ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,collapse: "Sbalit",@@ -12836,8 +12836,8 @@ mx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs-var hx = {};-hx = {+var mx = {};+mx = {ascending: "stigende",ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,collapse: "Skjul",@@ -12852,8 +12852,8 @@ hx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs-var gx = {};-gx = {+var hx = {};+hx = {ascending: "aufsteigend",ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,collapse: "Reduzieren",@@ -12868,8 +12868,8 @@ gx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs-var _x = {};-_x = {+var gx = {};+gx = {ascending: "αύξουσα",ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,collapse: "Σύμπτυξη",@@ -12884,8 +12884,8 @@ _x = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs-var vx = {};-vx = {+var _x = {};+_x = {select: "Select",selectAll: "Select All",sortable: "sortable column",@@ -12900,8 +12900,8 @@ vx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs-var yx = {};-yx = {+var vx = {};+vx = {ascending: "ascendente",ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,collapse: "Contraer",@@ -12916,8 +12916,8 @@ yx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs-var bx = {};-bx = {+var yx = {};+yx = {ascending: "tõusev järjestus",ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,collapse: "Ahenda",@@ -12932,8 +12932,8 @@ bx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs-var xx = {};-xx = {+var bx = {};+bx = {ascending: "nouseva",ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,collapse: "Pienennä",@@ -12948,8 +12948,8 @@ xx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs-var Sx = {};-Sx = {+var xx = {};+xx = {ascending: "croissant",ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,collapse: "Réduire",@@ -12964,8 +12964,8 @@ Sx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs-var Cx = {};-Cx = {+var Sx = {};+Sx = {ascending: "עולה",ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,collapse: "כווץ",@@ -12980,8 +12980,8 @@ Cx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs-var wx = {};-wx = {+var Cx = {};+Cx = {ascending: "rastući",ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,collapse: "Sažmi",@@ -12996,8 +12996,8 @@ wx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs-var Tx = {};-Tx = {+var wx = {};+wx = {ascending: "növekvő",ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,collapse: "Összecsukás",@@ -13012,8 +13012,8 @@ Tx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs-var Ex = {};-Ex = {+var Tx = {};+Tx = {ascending: "crescente",ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,collapse: "Comprimi",@@ -13028,8 +13028,8 @@ Ex = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs-var Dx = {};-Dx = {+var Ex = {};+Ex = {ascending: "昇順",ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,collapse: "折りたたむ",@@ -13044,8 +13044,8 @@ Dx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs-var Ox = {};-Ox = {+var Dx = {};+Dx = {ascending: "오름차순",ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,collapse: "접기",@@ -13060,8 +13060,8 @@ Ox = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs-var kx = {};-kx = {+var Ox = {};+Ox = {ascending: "didėjančia tvarka",ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,collapse: "Sutraukti",@@ -13076,8 +13076,8 @@ kx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs-var Ax = {};-Ax = {+var kx = {};+kx = {ascending: "augošā secībā",ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,collapse: "Sakļaut",@@ -13092,8 +13092,8 @@ Ax = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs-var jx = {};-jx = {+var Ax = {};+Ax = {ascending: "stigende",ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,collapse: "Skjul",@@ -13108,8 +13108,8 @@ jx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs-var Mx = {};-Mx = {+var jx = {};+jx = {ascending: "oplopend",ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,collapse: "Samenvouwen",@@ -13124,8 +13124,8 @@ Mx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs-var Nx = {};-Nx = {+var Mx = {};+Mx = {ascending: "rosnąco",ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,collapse: "Zwiń",@@ -13140,8 +13140,8 @@ Nx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs-var Px = {};-Px = {+var Nx = {};+Nx = {ascending: "crescente",ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,collapse: "Recolher",@@ -13156,8 +13156,8 @@ Px = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs-var Fx = {};-Fx = {+var Px = {};+Px = {ascending: "ascendente",ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,collapse: "Colapsar",@@ -13172,8 +13172,8 @@ Fx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs-var Ix = {};-Ix = {+var Fx = {};+Fx = {ascending: "crescătoare",ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,collapse: "Restrângeți",@@ -13188,8 +13188,8 @@ Ix = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs-var Lx = {};-Lx = {+var Ix = {};+Ix = {ascending: "возрастание",ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,collapse: "Свернуть",@@ -13204,8 +13204,8 @@ Lx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs-var Rx = {};-Rx = {+var Lx = {};+Lx = {ascending: "vzostupne",ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,collapse: "Zbaliť",@@ -13220,8 +13220,8 @@ Rx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs-var zx = {};-zx = {+var Rx = {};+Rx = {ascending: "naraščajoče",ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,collapse: "Strni",@@ -13236,8 +13236,8 @@ zx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs-var Bx = {};-Bx = {+var zx = {};+zx = {ascending: "rastući",ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,collapse: "Skupi",@@ -13252,8 +13252,8 @@ Bx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs-var Vx = {};-Vx = {+var Bx = {};+Bx = {ascending: "stigande",ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,collapse: "Dölj",@@ -13268,8 +13268,8 @@ Vx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs-var Hx = {};-Hx = {+var Vx = {};+Vx = {ascending: "artan sırada",ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,collapse: "Daralt",@@ -13284,8 +13284,8 @@ Hx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs-var Ux = {};-Ux = {+var Hx = {};+Hx = {ascending: "висхідний",ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,collapse: "Згорнути",@@ -13300,8 +13300,8 @@ Ux = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs-var Wx = {};-Wx = {+var Ux = {};+Ux = {ascending: "升序",ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,collapse: "折叠",@@ -13316,8 +13316,8 @@ Wx = {};//#endregion//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs-var Gx = {};-Gx = {+var Wx = {};+Wx = {ascending: "遞增",ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,collapse: "收合",@@ -13332,46 +13332,46 @@ Gx = {};//#endregion//#region node_modules/react-aria/dist/private/table/intlStrings.mjs-var Kx = {};-Kx = {- "ar-AE": fx,- "bg-BG": px,- "cs-CZ": mx,- "da-DK": hx,- "de-DE": gx,- "el-GR": _x,- "en-US": vx,- "es-ES": yx,- "et-EE": bx,- "fi-FI": xx,- "fr-FR": Sx,- "he-IL": Cx,- "hr-HR": wx,- "hu-HU": Tx,- "it-IT": Ex,- "ja-JP": Dx,- "ko-KR": Ox,- "lt-LT": kx,- "lv-LV": Ax,- "nb-NO": jx,- "nl-NL": Mx,- "pl-PL": Nx,- "pt-BR": Px,- "pt-PT": Fx,- "ro-RO": Ix,- "ru-RU": Lx,- "sk-SK": Rx,- "sl-SI": zx,- "sr-SP": Bx,- "sv-SE": Vx,- "tr-TR": Hx,- "uk-UA": Ux,- "zh-CN": Wx,- "zh-TW": Gx+var Gx = {};+Gx = {+ "ar-AE": dx,+ "bg-BG": fx,+ "cs-CZ": px,+ "da-DK": mx,+ "de-DE": hx,+ "el-GR": gx,+ "en-US": _x,+ "es-ES": vx,+ "et-EE": yx,+ "fi-FI": bx,+ "fr-FR": xx,+ "he-IL": Sx,+ "hr-HR": Cx,+ "hu-HU": wx,+ "it-IT": Tx,+ "ja-JP": Ex,+ "ko-KR": Dx,+ "lt-LT": Ox,+ "lv-LV": kx,+ "nb-NO": Ax,+ "nl-NL": jx,+ "pl-PL": Mx,+ "pt-BR": Nx,+ "pt-PT": Px,+ "ro-RO": Fx,+ "ru-RU": Ix,+ "sk-SK": Lx,+ "sl-SI": Rx,+ "sr-SP": zx,+ "sv-SE": Bx,+ "tr-TR": Vx,+ "uk-UA": Hx,+ "zh-CN": Ux,+ "zh-TW": Wx};//#endregion//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var ine = class extends ox {+var ane = class extends ax {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -13449,14 +13449,14 @@ var ine = class extends ox {};//#endregion//#region node_modules/react-aria/dist/private/table/useTable.mjs-function ane(e) {+function one(e) {return e && e.__esModule ? e.default : e;}-function one(e, t, n) {+function sne(e, t, n) {let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = Xv({usage: "search",sensitivity: "base"- }), { direction: c } = vg(), l = t.selectionManager.disabledBehavior, u = (0, B.useMemo)(() => r || new ine({+ }), { direction: c } = vg(), l = t.selectionManager.disabledBehavior, u = (0, B.useMemo)(() => r || new ane({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -13476,14 +13476,14 @@ function one(e, t, n) {a,o]), d = dh(e.id);- cx.set(t, d);- let { gridProps: f } = nne({+ sx.set(t, d);+ let { gridProps: f } = rne({...e,id: d,keyboardDelegate: u}, t, n);i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");- let { column: p, direction: m } = t.sortDescriptor || {}, h = wg(ane(Kx), "@react-aria/table"), g = (0, B.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = wg(one(Gx), "@react-aria/table"), g = (0, B.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [@@ -13497,13 +13497,13 @@ function one(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs-function qx(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = vg(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = sx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, B.useRef)(null), h = () => {+function Kx(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = vg(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = ox.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, B.useRef)(null), h = () => {if (n.current) {let e = s_(n.current);if (p === "child") {if (jp(n.current) && n.current !== kp(vp(n.current))) return;- let r = t.selectionManager.childFocusStrategy === "last" ? Jx(e) : e.firstChild();+ let r = t.selectionManager.childFocusStrategy === "last" ? qx(e) : e.firstChild();if (r) {ih(r);return;@@ -13535,7 +13535,7 @@ function qx(e, t, n) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "rtl" ? (ih(n.current), v_(n.current, { containingElement: h_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : Jx(a), t && (ih(t), v_(t, { containingElement: h_(n.current) })));+ p === "cell" && l === "rtl" ? (ih(n.current), v_(n.current, { containingElement: h_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : qx(a), t && (ih(t), v_(t, { containingElement: h_(n.current) })));}break;}@@ -13547,7 +13547,7 @@ function qx(e, t, n) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "ltr" ? (ih(n.current), v_(n.current, { containingElement: h_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? Jx(a) : a.firstChild(), t && (ih(t), v_(t, { containingElement: h_(n.current) })));+ p === "cell" && l === "ltr" ? (ih(n.current), v_(n.current, { containingElement: h_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? qx(a) : a.firstChild(), t && (ih(t), v_(t, { containingElement: h_(n.current) })));}break;}@@ -13592,7 +13592,7 @@ function qx(e, t, n) {isPressed: _};}-function Jx(e) {+function qx(e) {let t = null, n = null;don = e.lastChild(), n && (t = n);@@ -13601,20 +13601,20 @@ function Jx(e) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableCell.mjs-function sne(e, t, n) {- let { gridCellProps: r, isPressed: i } = qx(e, t, n), a = e.node.column?.key;- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = ux(t, e.node.parentKey, a)), {+function cne(e, t, n) {+ let { gridCellProps: r, isPressed: i } = Kx(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = lx(t, e.node.parentKey, a)), {gridCellProps: r,isPressed: i};}//#endregion//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function cne(e) {+function lne(e) {return e && e.__esModule ? e.default : e;}-function lne(e, t, n) {- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = qx({+function une(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Kx({focusMode: "child",...e}, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = zg({@@ -13625,7 +13625,7 @@ function lne(e, t, n) {ref: n}), { focusableProps: l } = Lh({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;r.props.allowsSorting && !im() && (u = d ? f : "none");- let p = wg(cne(Kx), "@react-aria/table"), m;+ let p = wg(lne(Gx), "@react-aria/table"), m;i && (m = `${p.format("sortable")}`, d && f && im() && (m = `${m}, ${p.format(f)}`));let h = b_(m), g = t.collection.size === 0;return (0, B.useEffect)(() => {@@ -13638,7 +13638,7 @@ function lne(e, t, n) {columnHeaderProps: {...U(l, a, s, h, g ? { tabIndex: -1 } : null),role: "columnheader",- id: rne(t, r.key),+ id: ine(t, r.key),"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,"aria-sort": u},@@ -13647,14 +13647,14 @@ function lne(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function une(e, t, n) {+function dne(e, t, n) {let { node: r, isVirtualized: i } = e, a = { role: "row" };return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs-function dne(e, t, n) {- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = sx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = qy({+function fne(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = ox.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = qy({selectionManager: t.selectionManager,key: r.key,ref: n,@@ -13675,10 +13675,10 @@ function dne(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRow.mjs-function fne(e) {+function pne(e) {return e && e.__esModule ? e.default : e;}-var Yx = {+var Jx = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -13688,21 +13688,21 @@ var Yx = {rtl: "ArrowRight"}};-function pne(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = dne(e, t, n), { direction: s } = vg();+function mne(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = fne(e, t, n), { direction: s } = vg();i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = wg(fne(Kx), "@react-aria/table"), u = fg({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = wg(pne(Gx), "@react-aria/table"), u = fg({"aria-label": c ? l.format("collapse") : l.format("expand"),- "aria-labelledby": dx(t, r.key)+ "aria-labelledby": ux(t, r.key)}), d = {}, f = {};if (t.treeColumn != null) {let e = t.collection.getItem(r.key);if (e != null) {- let n = Xx(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = Xx(t.collection, a);+ let n = Yx(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = Yx(t.collection, a);for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);d = {onKeyDown: (n) => {- n.key === Yx.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === Yx.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));+ n.key === Jx.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === Jx.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));},"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,"aria-level": e.level + 1,@@ -13724,41 +13724,41 @@ function pne(e, t, n) {return {rowProps: {...U(a, d, m),- "aria-labelledby": dx(t, r.key)+ "aria-labelledby": ux(t, r.key)},expandButtonProps: f,...o};}-function Xx(e, t) {+function Yx(e, t) {return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);}//#endregion//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs-function mne() {+function hne() {return { rowGroupProps: { role: "rowgroup" } };}//#endregion//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs-function Zx() {- return mne();+function Xx() {+ return hne();}//#endregion//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function hne(e) {+function gne(e) {return e && e.__esModule ? e.default : e;}-function gne(e, t) {+function _ne(e, t) {let { key: n } = e, { checkboxProps: r } = Tte(e, t);return { checkboxProps: {...r,- "aria-labelledby": `${r.id} ${dx(t, n)}`+ "aria-labelledby": `${r.id} ${ux(t, n)}`} };}-function _ne(e) {+function vne(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": wg(hne(Kx), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": wg(gne(Gx), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),isSelected: n,isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",isIndeterminate: !t && !n,@@ -13767,13 +13767,13 @@ function _ne(e) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/utils.mjs-var Qx = /* @__PURE__ */ new WeakMap();-function $x(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${Qx.get(e)}-${n}-${t}`) : "";+var Zx = /* @__PURE__ */ new WeakMap();+function Qx(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${Zx.get(e)}-${n}-${t}`) : "";}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTab.mjs-function vne(e, t, n) {+function yne(e, t, n) {let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = qy({selectionManager: o,key: r,@@ -13781,7 +13781,7 @@ function vne(e, t, n) {isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = $x(t, r, "tab"), m = $x(t, r, "tabpanel"), { tabIndex: h } = d, g = Eg(u?.props, { labelable: !0 });+ }), p = Qx(t, r, "tab"), m = Qx(t, r, "tabpanel"), { tabIndex: h } = d, g = Eg(u?.props, { labelable: !0 });delete g.id;let _ = hm(u?.props), { focusableProps: v } = Lh({...u?.props,@@ -13803,7 +13803,7 @@ function vne(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var yne = class {+var bne = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -13847,11 +13847,11 @@ var yne = class {};//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs-function bne(e, t, n) {+function xne(e, t, n) {let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = vg(), { collectionProps: l } = Bv({ref: n,selectionManager: o,- keyboardDelegate: (0, B.useMemo)(() => new yne(a, c, r, s), [+ keyboardDelegate: (0, B.useMemo)(() => new bne(a, c, r, s), [a,s,r,@@ -13862,7 +13862,7 @@ function bne(e, t, n) {scrollRef: n,linkBehavior: "selection"}), u = dh();- return Qx.set(t, u), { tabListProps: {+ return Zx.set(t, u), { tabListProps: {...U(l, fg({...e,id: u@@ -13874,12 +13874,12 @@ function bne(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function xne(e, t, n) {- let r = Gy(n) ? void 0 : 0, i = $x(t, e.id ?? t?.selectedKey, "tabpanel");+function Sne(e, t, n) {+ let r = Gy(n) ? void 0 : 0, i = Qx(t, e.id ?? t?.selectedKey, "tabpanel");return { tabPanelProps: U(fg({...e,id: i,- "aria-labelledby": $x(t, t?.selectedKey, "tab")+ "aria-labelledby": Qx(t, t?.selectedKey, "tab")}), {tabIndex: r,role: "tabpanel",@@ -13889,12 +13889,12 @@ function xne(e, t, n) {}//#endregion//#region src/react/components/selection-dock.tsx-var eS = "(prefers-reduced-motion: reduce)", Sne = () => matchMedia(eS).matches, Cne = (e) => {- let t = matchMedia(eS);+var $x = "(prefers-reduced-motion: reduce)", Cne = () => matchMedia($x).matches, wne = (e) => {+ let t = matchMedia($x);return t.addEventListener("change", e), () => t.removeEventListener("change", e);};-function wne({ children: e, count: t, label: n }) {- let r = Ru(), i = (0, B.useSyncExternalStore)(Cne, Sne, () => !1), { isFocusVisible: a } = Zm(), o = i || a, s = {+function Tne({ children: e, count: t, label: n }) {+ let r = Ru(), i = (0, B.useSyncExternalStore)(wne, Cne, () => !1), { isFocusVisible: a } = Zm(), o = i || a, s = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -13930,18 +13930,18 @@ function wne({ children: e, count: t, label: n }) {}), e]});}-function tS({ visible: e, ...t }) {- return /* @__PURE__ */ (0, V.jsx)(Hu, { children: e ? /* @__PURE__ */ (0, V.jsx)(wne, { ...t }, "selection") : null });+function eS({ visible: e, ...t }) {+ return /* @__PURE__ */ (0, V.jsx)(Hu, { children: e ? /* @__PURE__ */ (0, V.jsx)(Tne, { ...t }, "selection") : null });}//#endregion//#region src/react/batch-dock/batch-dock-api.ts-var nS = {+var tS = {group: "clear",operation: "clear",label: "取消",glyph: "x"};-function Tne(e, t = !1) {+function Ene(e, t = !1) {switch (e) {case "trash": return [{@@ -13957,7 +13957,7 @@ function Tne(e, t = !1) {glyph: "trash",danger: !0},- nS+ tS];case "junk": return [t ? {@@ -13978,7 +13978,7 @@ function Tne(e, t = !1) {glyph: "trash",danger: !0},- nS+ tS];case "follow": return [{@@ -13999,7 +13999,7 @@ function Tne(e, t = !1) {label: "忽略",glyph: "eye-off"},- nS+ tS];default: return [{@@ -14033,48 +14033,48 @@ function Tne(e, t = !1) {glyph: "trash",danger: !0},- nS+ tS];}}//#endregion//#region src/react/batch-dock/batch-dock-island.tsx-var rS = null, iS = {+var nS = null, rS = {count: 0,context: "catalog",junkDismissed: !1-}, aS = /* @__PURE__ */ new Set();-function Ene(e) {- return aS.add(e), () => {- aS.delete(e);+}, iS = /* @__PURE__ */ new Set();+function Dne(e) {+ return iS.add(e), () => {+ iS.delete(e);};}-function Dne() {- for (let e of [...aS]) e();+function One() {+ for (let e of [...iS]) e();}-var One = { render(e) {- iS = e, (0, $f.flushSync)(Dne);+var kne = { render(e) {+ rS = e, (0, $f.flushSync)(One);} };-function kne(e) {- return rS = e, One;+function Ane(e) {+ return nS = e, kne;}-function Ane() {- let e = (0, B.useSyncExternalStore)(Ene, () => iS);- return rS ? /* @__PURE__ */ (0, V.jsx)(jne, {- host: rS,+function jne() {+ let e = (0, B.useSyncExternalStore)(Dne, () => rS);+ return nS ? /* @__PURE__ */ (0, V.jsx)(Mne, {+ host: nS,props: e}) : null;}-function jne({ host: e, props: t }) {+function Mne({ host: e, props: t }) {return /* @__PURE__ */ (0, V.jsx)("div", {className: "peach-react","data-batch-scope": "","data-context": t.context,- children: /* @__PURE__ */ (0, V.jsx)(tS, {+ children: /* @__PURE__ */ (0, V.jsx)(eS, {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count} 项`,- children: Tne(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, V.jsxs)("button", {+ children: Ene(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, V.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -14091,7 +14091,7 @@ function jne({ host: e, props: t }) {}//#endregion//#region src/react/components/glow-preset-grid.tsx-function oS({ store: e, label: t, hidden: n }) {+function aS({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, V.jsx)("div", {"data-glow-grid": "",@@ -14117,14 +14117,14 @@ function oS({ store: e, label: t, hidden: n }) {}//#endregion//#region src/react/glow-picker/glow-picker-island.tsx-var sS = null;-function Mne(e) {- sS = e;+var oS = null;+function Nne(e) {+ oS = e;}-function Nne() {- return sS ? /* @__PURE__ */ (0, V.jsx)(Pne, { host: sS }) : null;+function Pne() {+ return oS ? /* @__PURE__ */ (0, V.jsx)(Fne, { host: oS }) : null;}-function Pne({ host: t }) {+function Fne({ host: t }) {let { store: n } = t;(0, B.useSyncExternalStore)(n.subscribe, n.version);let { homeGlow: r, accent: i } = n.value;@@ -14140,7 +14140,7 @@ function Pne({ host: t }) {children: "重置"})]}),- /* @__PURE__ */ (0, V.jsx)(oS, {+ /* @__PURE__ */ (0, V.jsx)(aS, {store: n,label: "光晕",hidden: !r.on@@ -14180,18 +14180,18 @@ function Pne({ host: t }) {}//#endregion//#region node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js-var cS = B.createContext(void 0), lS = (e) => {- let t = B.useContext(cS);+var sS = B.createContext(void 0), cS = (e) => {+ let t = B.useContext(sS);if (e) return e;if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");return t;-}, uS = ({ client: e, children: t }) => (B.useEffect(() => (e.mount(), () => {+}, lS = ({ client: e, children: t }) => (B.useEffect(() => (e.mount(), () => {e.unmount();-}), [e]), /* @__PURE__ */ (0, V.jsx)(cS.Provider, {+}), [e]), /* @__PURE__ */ (0, V.jsx)(sS.Provider, {value: e,children: t-})), Fne = ({ children: e, options: t = {}, state: n, queryClient: r }) => {- let i = lS(r), a = B.useRef(t);+})), Ine = ({ children: e, options: t = {}, state: n, queryClient: r }) => {+ let i = cS(r), a = B.useRef(t);B.useEffect(() => {a.current = t;});@@ -14209,10 +14209,10 @@ var cS = B.createContext(void 0), lS = (e) => {return B.useEffect(() => {o && y(i, { queries: o }, a.current);}, [i, o]), e;-}, dS = B.createContext(!1), fS = () => B.useContext(dS), Ine = dS.Provider;+}, uS = B.createContext(!1), dS = () => B.useContext(uS), Lne = uS.Provider;//#endregion//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js-function pS() {+function fS() {let e = !1;return {clearReset: () => {@@ -14224,31 +14224,31 @@ function pS() {isReset: () => e};}-var mS = B.createContext(pS()), hS = () => B.useContext(mS), Lne = ({ children: e }) => {- let [t] = B.useState(() => pS());- return /* @__PURE__ */ (0, V.jsx)(mS.Provider, {+var pS = B.createContext(fS()), mS = () => B.useContext(pS), Rne = ({ children: e }) => {+ let [t] = B.useState(() => fS());+ return /* @__PURE__ */ (0, V.jsx)(pS.Provider, {value: t,children: typeof e == "function" ? e(t) : e});-}, gS = (e, t, n) => {+}, hS = (e, t, n) => {let r = n?.state.error && typeof e.throwOnError == "function" ? C(e.throwOnError, [n.state.error, n]) : e.throwOnError;(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));-}, _S = (e) => {+}, gS = (e) => {B.useEffect(() => {e.clearReset();}, [e]);-}, vS = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || C(n, [e.error, r])), yS = (e, t) => t.state.data === void 0, bS = (e) => {+}, _S = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || C(n, [e.error, r])), vS = (e, t) => t.state.data === void 0, yS = (e) => {if (e.suspense) {let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));}-}, xS = (e, t) => e?.suspense && t.isPending, SS = (e, t, n) => t.fetchOptimistic(e).catch(() => {+}, bS = (e, t) => e?.suspense && t.isPending, xS = (e, t, n) => t.fetchOptimistic(e).catch(() => {n.clearReset();});//#endregion//#region node_modules/@tanstack/react-query/build/modern/useQueries.js-function CS({ queries: e, ...t }, n) {- let r = lS(n), i = fS(), a = hS(), o = t.subscribed !== !1, s = B.useMemo(() => e.map((e) => {+function SS({ queries: e, ...t }, n) {+ let r = cS(n), i = dS(), a = mS(), o = t.subscribed !== !1, s = B.useMemo(() => e.map((e) => {let t = r.defaultQueryOptions(e);return t._optimisticResults = i ? "isRestoring" : o ? "optimistic" : void 0, t;}), [@@ -14258,10 +14258,10 @@ function CS({ queries: e, ...t }, n) {o]);s.forEach((e) => {- bS(e);+ yS(e);let t = r.getQueryCache().get(e.queryHash);- gS(e, a, t);- }), _S(a);+ hS(e, a, t);+ }), gS(a);let [c] = B.useState(() => new _(r, s, t)), [l, u, d] = c.getOptimisticResult(s, t.combine), f = !i && o;B.useSyncExternalStore(B.useCallback((e) => f ? c.subscribe(x.batchCalls(e)) : b, [c, f]), () => c.getCurrentResult(), () => c.getCurrentResult()), B.useEffect(() => {c.setQueries(s, t);@@ -14270,14 +14270,14 @@ function CS({ queries: e, ...t }, n) {t,c]);- let p = l.some((e, t) => xS(s[t], e)) ? l.flatMap((e, t) => {+ let p = l.some((e, t) => bS(s[t], e)) ? l.flatMap((e, t) => {let n = s[t];- return n && xS(n, e) ? SS(n, new v(r, n), a) : [];+ return n && bS(n, e) ? xS(n, new v(r, n), a) : [];}) : [];if (p.length > 0) throw Promise.all(p);let m = l.find((e, t) => {let n = s[t];- return n && vS({+ return n && _S({result: e,errorResetBoundary: a,throwOnError: n.throwOnError,@@ -14290,17 +14290,17 @@ function CS({ queries: e, ...t }, n) {}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js-function wS(e, t, n) {- let r = fS(), i = hS(), a = lS(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, bS(o), gS(o, i, s), _S(i);+function CS(e, t, n) {+ let r = dS(), i = mS(), a = cS(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, yS(o), hS(o, i, s), gS(i);let [l] = B.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;if (B.useSyncExternalStore(B.useCallback((e) => {let t = d ? l.subscribe(x.batchCalls(e)) : b;return l.updateResult(), t;}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), B.useEffect(() => {l.setOptions(o);- }, [o, l]), xS(o, u)) throw SS(o, l, i);- if (vS({+ }, [o, l]), bS(o, u)) throw xS(o, l, i);+ if (_S({result: u,errorResetBoundary: i,throwOnError: o.throwOnError,@@ -14311,40 +14311,40 @@ function wS(e, t, n) {}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useQuery.js-function TS(e, t) {- return wS(e, v, t);+function wS(e, t) {+ return CS(e, v, t);}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useSuspenseQuery.js-function Rne(e, t) {- return wS({+function zne(e, t) {+ return CS({...e,enabled: !0,suspense: !0,- throwOnError: yS,+ throwOnError: vS,placeholderData: void 0}, v, t);}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.js-function zne(e, t) {- return wS({+function Bne(e, t) {+ return CS({...e,enabled: !0,suspense: !0,- throwOnError: yS,+ throwOnError: vS,placeholderData: void 0}, h, t);}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useSuspenseQueries.js-function Bne(e, t) {- return CS({+function Vne(e, t) {+ return SS({...e,queries: e.queries.map((e) => ({...e,suspense: !0,- throwOnError: yS,+ throwOnError: vS,enabled: !0,placeholderData: void 0}))@@ -14352,57 +14352,57 @@ function Bne(e, t) {}//#endregion//#region node_modules/@tanstack/react-query/build/modern/usePrefetchQuery.js-function Vne(e, t) {- let n = lS(t);+function Hne(e, t) {+ let n = cS(t);n.getQueryState(e.queryKey) || n.query(e).catch(b);}//#endregion//#region node_modules/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.js-function Hne(e, t) {- let n = lS(t);+function Une(e, t) {+ let n = cS(t);n.getQueryState(e.queryKey) || n.infiniteQuery(e).catch(b);}//#endregion//#region node_modules/@tanstack/react-query/build/modern/queryOptions.js-function Une(e) {+function Wne(e) {return e;}//#endregion//#region node_modules/@tanstack/react-query/build/modern/infiniteQueryOptions.js-function Wne(e) {+function Gne(e) {return e;}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useIsFetching.js-function Gne(e, t) {- let n = lS(t), r = n.getQueryCache();+function Kne(e, t) {+ let n = cS(t), r = n.getQueryCache();return B.useSyncExternalStore(B.useCallback((e) => r.subscribe(x.batchCalls(e)), [r]), () => n.isFetching(e), () => n.isFetching(e));}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useMutationState.js-function Kne(e, t) {- let n = lS(t);- return DS({ filters: {+function qne(e, t) {+ let n = cS(t);+ return ES({ filters: {...e,status: "pending"} }, n).length;}-function ES(e, t) {+function TS(e, t) {return e.findAll(t.filters).map((e) => t.select ? t.select(e) : e.state);}-function DS(e = {}, t) {- let n = lS(t).getMutationCache(), r = B.useRef(e), i = B.useRef(null);- return i.current === null && (i.current = ES(n, e)), B.useEffect(() => {+function ES(e = {}, t) {+ let n = cS(t).getMutationCache(), r = B.useRef(e), i = B.useRef(null);+ return i.current === null && (i.current = TS(n, e)), B.useEffect(() => {r.current = e;}), B.useSyncExternalStore(B.useCallback((e) => n.subscribe(() => {- let t = S(i.current, ES(n, r.current));+ let t = S(i.current, TS(n, r.current));i.current !== t && (i.current = t, x.schedule(e));}), [n]), () => i.current, () => i.current);}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useMutation.js-function OS(e, t) {- let n = lS(t), [r] = B.useState(() => new g(n, e));+function DS(e, t) {+ let n = cS(t), [r] = B.useState(() => new g(n, e));B.useEffect(() => {r.setOptions(e);}, [r, e]);@@ -14418,53 +14418,53 @@ function OS(e, t) {}//#endregion//#region node_modules/@tanstack/react-query/build/modern/mutationOptions.js-function qne(e) {+function Jne(e) {return e;}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js-function kS(e, t) {- return wS(e, h, t);+function OS(e, t) {+ return CS(e, h, t);}//#endregion//#region node_modules/@tanstack/react-query/build/modern/index.js-var AS = /* @__PURE__ */ St({- HydrationBoundary: () => Fne,- IsRestoringProvider: () => Ine,- QueryClientContext: () => cS,- QueryClientProvider: () => uS,- QueryErrorResetBoundary: () => Lne,- infiniteQueryOptions: () => Wne,- mutationOptions: () => qne,- queryOptions: () => Une,- useInfiniteQuery: () => kS,- useIsFetching: () => Gne,- useIsMutating: () => Kne,- useIsRestoring: () => fS,- useMutation: () => OS,- useMutationState: () => DS,- usePrefetchInfiniteQuery: () => Hne,- usePrefetchQuery: () => Vne,- useQueries: () => CS,- useQuery: () => TS,- useQueryClient: () => lS,- useQueryErrorResetBoundary: () => hS,- useSuspenseInfiniteQuery: () => zne,- useSuspenseQueries: () => Bne,- useSuspenseQuery: () => Rne+var kS = /* @__PURE__ */ St({+ HydrationBoundary: () => Ine,+ IsRestoringProvider: () => Lne,+ QueryClientContext: () => sS,+ QueryClientProvider: () => lS,+ QueryErrorResetBoundary: () => Rne,+ infiniteQueryOptions: () => Gne,+ mutationOptions: () => Jne,+ queryOptions: () => Wne,+ useInfiniteQuery: () => OS,+ useIsFetching: () => Kne,+ useIsMutating: () => qne,+ useIsRestoring: () => dS,+ useMutation: () => DS,+ useMutationState: () => ES,+ usePrefetchInfiniteQuery: () => Une,+ usePrefetchQuery: () => Hne,+ useQueries: () => SS,+ useQuery: () => wS,+ useQueryClient: () => cS,+ useQueryErrorResetBoundary: () => mS,+ useSuspenseInfiniteQuery: () => Bne,+ useSuspenseQueries: () => Vne,+ useSuspenseQuery: () => zne});-import * as Jne from "/dist/peach-ui.js";-wt(AS, Jne);+import * as Yne from "/dist/peach-ui.js";+wt(kS, Yne);/* istanbul ignore file *///#endregion//#region src/api.ts-var jS = class extends Error {+var AS = class extends Error {status;body;constructor(e, t, n = null) {super(ye(e, t)), this.name = "ApiError", this.status = t, this.body = n;}-}, MS = (e) => {+}, jS = (e) => {if (!e || typeof e != "object") return "";let t = e;for (let e of [@@ -14486,7 +14486,7 @@ async function G(e, t) {try {r = await n.json();} catch {}- if (!n.ok) throw new jS(MS(r) || `请求失败(${n.status})`, n.status);+ if (!n.ok) throw new AS(jS(r) || `请求失败(${n.status})`, n.status);return r;}async function K(e, t, n = "POST", r) {@@ -14503,37 +14503,37 @@ async function K(e, t, n = "POST", r) {try {a = await i.json();} catch {}- if (!i.ok) throw new jS(MS(a) || `请求失败(${i.status})`, i.status, a);+ if (!i.ok) throw new AS(jS(a) || `请求失败(${i.status})`, i.status, a);return a;}//#endregion//#region src/player/host.ts-var NS = null;-function Yne(e) {- NS = e;+var MS = null;+function Xne(e) {+ MS = e;}-function PS() {- if (!NS) throw Error("播放器还没有接上宿主(configurePlayer)");- return NS;+function NS() {+ if (!MS) throw Error("播放器还没有接上宿主(configurePlayer)");+ return MS;}//#endregion//#region src/player/menu.ts-var FS = null;-function Xne(e) {- FS = e;+var PS = null;+function Zne(e) {+ PS = e;}-function Zne() {+function Qne() {let e = document.getElementById("playerMenu");return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;}-var IS = null, LS = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function RS() {+var FS = null, IS = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function LS() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && De(e, () => {e.innerHTML = "";- }), IS &&= (IS(), null);+ }), FS &&= (FS(), null);}-async function Qne(e) {+async function $ne(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -14546,12 +14546,12 @@ async function Qne(e) {return t.remove(), n;}}-function $ne(e) {- let t = !!FS?.inMiniplayer(e), n = e.peachItem, r = FS?.kind(e) ?? "item", i = (t) => {+function ere(e) {+ let t = !!PS?.inMiniplayer(e), n = e.peachItem, r = PS?.kind(e) ?? "item", i = (t) => {let i = new URL(r === "follow" ? `/follow/item/${n?.id}` : `/item/${n?.id}`, location.origin);return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- Qne(i(e)).then((e) => PS().toast(e ? t : "复制失败,请手动复制地址栏", {+ $ne(i(e)).then((e) => NS().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -14563,11 +14563,11 @@ function $ne(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => FS?.expand()+ run: () => PS?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => FS?.toMiniplayer()+ run: () => PS?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -14590,29 +14590,29 @@ function $ne(e) {run: () => s.click()}), o;}-function ere(e, t, n) {- let r = Zne();- RS();- let i = PS().stage();+function tre(e, t, n) {+ let r = Qne();+ LS();+ let i = NS().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = $ne(e);+ let a = ere(e);r.innerHTML = a.map((e, t) => {let n = e.checked !== void 0;- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${LS(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${L(e.label)}</span>${n ? LS(R("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${IS(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${L(e.label)}</span>${n ? IS(R("check"), "data-player-menu-check") : ""}</button>`;}).join(""), ze(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;let o = [...r.querySelectorAll("[data-player-menu]")];o.forEach((e) => {e.onclick = (t) => {t.stopPropagation();let n = a[Number(e.dataset.playerMenu)];- RS(), n?.run();+ LS(), n?.run();};});let s = (e) => {- r.contains(e.target) || RS();+ r.contains(e.target) || LS();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), RS();+ e.preventDefault(), e.stopPropagation(), LS();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -14620,51 +14620,51 @@ function ere(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- Ve(t, e.el()) && RS();+ Ve(t, e.el()) && LS();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), IS = () => {+ }, 0), FS = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function tre(e) {+function nre(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), ere(e, t.clientX, t.clientY));- }), e.on("dispose", RS);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), tre(e, t.clientX, t.clientY));+ }), e.on("dispose", LS);}//#endregion//#region src/player/registry.ts-var zS = null, BS = () => zS;-function VS(e) {- zS = e;+var RS = null, zS = () => RS;+function BS(e) {+ RS = e;}-function HS(e) {+function VS(e) {!e || e.isDisposed() || requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}//#endregion//#region src/player/stats.ts-function US(e) {+function HS(e) {let t = e.currentTime || 0;for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);return 0;}-function nre(e) {+function rre(e) {let t = e.currentTime || 0;for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;}-var WS = 3e3;-function GS(e, t) {+var US = 3e3;+function WS(e, t) {let n = Number(e) || 0, r = ve(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function rre(e) {+function ire(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -14679,10 +14679,10 @@ function rre(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = nre(e), s = e.currentTime || 0;+ let a = performance.now(), o = rre(e), s = e.currentTime || 0;if (n) {let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;- !i && c > 0 && (r += c), e * 1e3 > WS * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > US * 2 && (t.length = 0);}for (n = {at: a,@@ -14691,56 +14691,56 @@ function rre(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > WS;) t.shift();+ }); t.length > 2 && a - t[0].at > US;) t.shift();let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;}};}-var KS = 24;-function qS(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > KS && e.splice(0, e.length - KS);+var GS = 24;+function KS(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > GS && e.splice(0, e.length - GS);}-var JS = "peach-player-panel";-function YS(e, t, n, r) {- let i = [...Array(Math.max(0, KS - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var qS = "peach-player-panel";+function JS(e, t, n, r) {+ let i = [...Array(Math.max(0, GS - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {if (e === null) return "<i aria-hidden=\"true\"></i>";let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;}).join("");return `<span data-player-stats-plot="${t}" role="img" aria-label="${L(r)}">${o}</span>`;}-function ire() {+function are() {return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${R("chart")}</button><div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div><div data-player-stats="" id="playerStats" role="status" hidden></div>`;}-function XS(e, t = "") {+function YS(e, t = "") {let n = t ? encodeURIComponent(t) : "";return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));}-function ZS(e, t = "") {- let n = XS(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;+function XS(e, t = "") {+ let n = YS(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;return r > 0 && i > 0 ? r * 8 / i : 0;}-function QS(e, t, n = "", r = null) {+function ZS(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.tech({ IWillNotUseThisInPlugins: !0 })?.vhs?.stats?.bandwidth) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : ZS(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : XS(t, n);}-function $S(e) {+function QS(e) {if (!Number.isFinite(e) || e <= 0) return "加载中…";let t = e / 8;return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;}-function are(e, t) {- return e > 0 ? $S(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : $S(0);+function ore(e, t) {+ return e > 0 ? QS(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : QS(0);}//#endregion//#region src/player/controls.ts-function eC(e, t, n = "") {+function $S(e, t, n = "") {if (!e) return () => {};let r = e.querySelector(":scope>.vjs-peach-tooltip");r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));@@ -14751,24 +14751,24 @@ function eC(e, t, n = "") {};return o(), o;}-function ore(e, t = !0) {- let n = PS(), r = n.settings();+function sre(e, t = !0) {+ let n = NS(), r = n.settings();r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));}-var tC = /* @__PURE__ */ new WeakMap();-function nC(e) {+var eC = /* @__PURE__ */ new WeakMap();+function tC(e) {if (!e) return;- let t = PS().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), tC.get(e)?.(t ? "默认视图" : "影院模式");+ let t = NS().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), eC.get(e)?.(t ? "默认视图" : "影院模式");}-function rC(e, t = !0) {- let n = PS(), r = n.settings();+function nC(e, t = !0) {+ let n = NS(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), nC(i?.querySelector("[data-player-theater]")), HS(BS());+ i?.toggleAttribute("data-theater", r.theaterMode), tC(i?.querySelector("[data-player-theater]")), VS(zS());}-function sre(e) {- let t = PS().stage(), n = t?.querySelector("[data-ambient-canvas]");+function cre(e) {+ let t = NS().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -14792,14 +14792,14 @@ function sre(e) {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {if (!(i || t !== o)) {- if (!PS().settings().ambientMode) {+ if (!NS().settings().ambientMode) {c();return;}e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t));}}, f = () => {- i || !PS().settings().ambientMode || (l(), e.paused || u(++o));+ i || !NS().settings().ambientMode || (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -14808,7 +14808,7 @@ function sre(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function cre(e, t, n = 0, r = null) {+function lre(e, t, n = 0, r = null) {let i = e.getChild("controlBar")?.el();if (!i || i.querySelector("[data-player-quality]")) return;let a = document.createElement("div");@@ -14818,7 +14818,7 @@ function cre(e, t, n = 0, r = null) {let o = i.querySelector(".vjs-fullscreen-control");i.insertBefore(a, o || null);let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");- eC(s, "设置");+ $S(s, "设置");let l = a.querySelector(".vjs-peach-settings-menu"), u = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, d = r, f = "auto", p = (e, t) => {let n = [Number(e), Number(t)].filter((e) => e > 0);return n.length ? Math.min(...n) : 0;@@ -14858,11 +14858,11 @@ function cre(e, t, n = 0, r = null) {active: n};}, g = () => l.getAttribute("aria-hidden") !== "true", _ = (e) => {- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(JS, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(qS, { detail: "settings" }));}, v = () => _(!1), y = (e) => {e.detail !== "settings" && v();};- document.addEventListener(JS, y);+ document.addEventListener(qS, y);let b = null, x = (e, t) => {let n = l.querySelector(".vjs-peach-panel"), r = document.createElement("div");if (r.className = "vjs-peach-panel", r.innerHTML = e, !n || !t || !g()) return l.replaceChildren(r), l.style.height = "", r;@@ -14877,12 +14877,12 @@ function cre(e, t, n = 0, r = null) {}), r;}, S = (e, t) => e.querySelector(t), C = "main", w = (t = 0) => {C = "main";- let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${PS().settings().ambientMode}">+ let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${NS().settings().ambientMode}">${R("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${R("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${R("player-menu-next")}</button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${R("player-quality")}<span>清晰度</span><b>${L(n.label)}</b>${R("player-menu-next")}</button></div>`, t);S(i, "[data-player-ambient]").onclick = () => {- ore(!PS().settings().ambientMode), w();+ sre(!NS().settings().ambientMode), w();}, S(i, "[data-player-speed]").onclick = () => O(), S(i, "[data-player-quality-view]").onclick = () => A();}, T = .05, E = [1,@@ -14958,22 +14958,22 @@ function cre(e, t, n = 0, r = null) {"removequalitylevel","change"], j), e.on("dispose", () => {- document.removeEventListener("pointerdown", M), document.removeEventListener(JS, y), b && clearTimeout(b);- }), h(), lre(e, a), ure(e), (e) => {+ document.removeEventListener("pointerdown", M), document.removeEventListener(qS, y), b && clearTimeout(b);+ }), h(), ure(e, a), dre(e), (e) => {d = e?.length ? e : null, j();};}-function lre(e, t) {+function ure(e, t) {let n = e.getChild("controlBar")?.el();if (!n || n.querySelector("[data-player-theater]")) return;- let r = PS().settings().theaterMode, i = document.createElement("div");+ let r = NS().settings().theaterMode, i = document.createElement("div");i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${R(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);let a = i.querySelector("button");- tC.set(a, eC(a, "影院模式", "T")), nC(a), a.onclick = (e) => {- e.stopPropagation(), rC(!PS().settings().theaterMode);+ eC.set(a, $S(a, "影院模式", "T")), tC(a), a.onclick = (e) => {+ e.stopPropagation(), nC(!NS().settings().theaterMode);};}-function ure(e) {+function dre(e) {let t = e.getChild("controlBar")?.el();if (!t || t.querySelector(".vjs-peach-right-controls")) return;let n = t.querySelector(":scope>.vjs-play-control");@@ -14985,7 +14985,7 @@ function ure(e) {e.dataset.peachExplicitIcon = "";let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;- }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = eC(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = $S(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {let t = e.paused() || e.ended(), n = t ? s : c;o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");};@@ -14996,7 +14996,7 @@ function ure(e) {], d), d();let f = t.querySelector(":scope>.vjs-volume-panel"), p = f?.querySelector(":scope>.vjs-mute-control"), m = i(p, "player-volume");m && a("player-volume-muted").forEach((e) => m.append(e.cloneNode(!0)));- let h = eC(p, "静音", "M"), g = () => {+ let h = $S(p, "静音", "M"), g = () => {let t = e.muted() || e.volume() === 0;m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");};@@ -15022,7 +15022,7 @@ function ure(e) {});let x = document.createElement("button"), S = !1;x.type = "button", x.className = "vjs-peach-time vjs-control", x.dataset.playerTime = "", x.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";- let C = x.querySelector(".vjs-peach-time-text"), w = eC(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = $S(x, "显示剩余时间"), T = () => {let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = de(Math.max(0, n - t));C.textContent = `${S ? `-${r}` : de(t)} / ${de(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${de(n)};点击显示已播放时间` : `已播放 ${de(t)},总时长 ${de(n)};点击显示剩余时间`);};@@ -15035,11 +15035,11 @@ function ure(e) {], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");r(E, "player-pip");- let D = eC(E, "画中画");+ let D = $S(E, "画中画");e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = eC(O, "全屏", "F"), j = () => {+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = $S(O, "全屏", "F"), j = () => {let t = !!e.isFullscreen();- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), HS(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), VS(e);};e.on(["fullscreenchange",@@ -15059,7 +15059,7 @@ function ure(e) {});let P = document.createElement("div");P.className = "vjs-peach-expand vjs-control", P.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(P);- let ee = P.querySelector("button"), F = eC(ee, "展开控件"), I = (t) => {+ let ee = P.querySelector("button"), F = $S(ee, "展开控件"), I = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), ee.setAttribute("aria-expanded", String(t)), F(t ? "收起控件" : "展开控件");};ee.onclick = (t) => {@@ -15071,7 +15071,7 @@ function ure(e) {}, ne = new ResizeObserver(te);ne.observe(e.el()), e.on("dispose", () => ne.disconnect()), I(!1), te();}-function dre(e, t, n = {}) {+function fre(e, t, n = {}) {let r = e.getChild("controlBar")?.el()?.querySelector(".vjs-progress-control");if (!r || r.querySelector("[data-player-seek-preview]")) return;let i = n.thumbnail !== !1, a = document.createElement("div");@@ -15104,13 +15104,13 @@ function dre(e, t, n = {}) {r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);});}-function fre(e, t) {+function pre(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;let r = () => ve(e.duration()) || ve(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number(PS().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(NS().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -15151,11 +15151,11 @@ function fre(e, t) {} catch {}});}-function pre(e) {+function mre(e) {let t = e.el().querySelector(".vjs-loading-spinner");!t || t.querySelector(".vjs-peach-spinner-container") || (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");}-function mre(e, t) {+function hre(e, t) {ce(`/api/assets/${t}/subtitles`).then((t) => {!e || e.isDisposed() || (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -15170,7 +15170,7 @@ function mre(e, t) {}//#endregion//#region src/player/dispose.ts-function iC(e) {+function rC(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {@@ -15188,23 +15188,23 @@ function iC(e) {}//#endregion//#region src/player/stream.ts-function aC() {+function iC() {return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;}-function oC(e, t) {+function aC(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function hre(e) {+function gre(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function sC(e, t) {- let n = hre(e);+async function oC(e, t) {+ let n = gre(e);if (n) return n;try {let n = await ce(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -15213,9 +15213,9 @@ async function sC(e, t) {type: n.mime_type || "application/vnd.apple.mpegurl"};} catch {}- return oC(e, t);+ return aC(e, t);}-function cC(e) {+function sC(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -15224,21 +15224,21 @@ function cC(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var lC = "";+var cC = "";+function lC() {+ return cC;+}function uC() {- return lC;+ return cC ||= iC(), cC;}+var _re = (e) => aC(e, uC()), vre = (e) => oC(e, uC());function dC() {- return lC ||= aC(), lC;-}-var gre = (e) => oC(e, dC()), _re = (e) => sC(e, dC());-function fC() {- let e = lC;- e && (lC = "", cC(e));+ let e = cC;+ e && (cC = "", sC(e));}//#endregion//#region src/player/telemetry.ts-function pC(e, t, n = {}) {+function fC(e, t, n = {}) {if (!t) return;let r = 0, i = 0, a = 0, o = null;t.addEventListener("seeking", () => {@@ -15286,7 +15286,7 @@ function pC(e, t, n = {}) {u(), l(!1);}, { once: !0 }), c();}-function vre(e, t) {+function yre(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {let i = ve(e.duration) || ve(t.duration);!r && !n || (ce("/api/follow/activity", {@@ -15322,7 +15322,7 @@ function vre(e, t) {}//#endregion//#region src/player/videojs.ts-var mC = "/vendor/videojs/8.24.1/", hC = (e) => new Promise((t, n) => {+var pC = "/vendor/videojs/8.24.1/", mC = (e) => new Promise((t, n) => {let r = document.head.querySelector(`script[src="${e}"]`);if (r?.dataset.loaded) {t();@@ -15334,20 +15334,20 @@ var mC = "/vendor/videojs/8.24.1/", hC = (e) => new Promise((t, n) => {}, { once: !0 }), i.addEventListener("error", () => {i.remove(), n(/* @__PURE__ */ Error(`script unavailable: ${e}`));}, { once: !0 }), r || (i.src = e, document.head.appendChild(i));-}), gC = () => globalThis.videojs, _C = null;-function vC() {- let e = gC();- return e ? Promise.resolve(e) : (_C ??= hC(`${mC}video.min.js`).then(() => hC(`${mC}lang/zh-CN.js`)).then(() => {- let e = gC();+}), hC = () => globalThis.videojs, gC = null;+function _C() {+ let e = hC();+ return e ? Promise.resolve(e) : (gC ??= mC(`${pC}video.min.js`).then(() => mC(`${pC}lang/zh-CN.js`)).then(() => {+ let e = hC();if (!e) throw Error("videojs unavailable");return e;}).catch((e) => {- throw _C = null, e;- }), _C);+ throw gC = null, e;+ }), gC);}//#endregion//#region src/player/immerse-player.ts-var yre = {+var bre = {controls: !1,preload: "auto",posterImage: !1,@@ -15359,37 +15359,37 @@ var yre = {errorDisplay: !1,textTrackSettings: !1};-function bre(e, t) {+function xre(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([sC(n, r), vC().catch(() => null)]).then(([o, s]) => {+ return Promise.all([oC(n, r), _C().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = oC(n, r), l = String(o.type || "").includes("mpegurl");+ let c = aC(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, yre);+ let t = s(e, bre);i = t, l && t.one("error", () => {a || t.src(c);}), t.src(o);}- pC(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ fC(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, cC(r), i ? iC(i) : (e.pause(), e.removeAttribute("src"), e.load()));+ a || (a = !0, sC(r), i ? rC(i) : (e.pause(), e.removeAttribute("src"), e.load()));};}//#endregion//#region src/player/detail-player.ts-var yC = /* @__PURE__ */ new WeakMap(), bC = null, xC = null, SC = null;-function CC() {- bC &&= (clearInterval(bC), null), xC &&= (clearInterval(xC), null), SC &&= (clearTimeout(SC), null);+var vC = /* @__PURE__ */ new WeakMap(), yC = null, bC = null, xC = null;+function SC() {+ yC &&= (clearInterval(yC), null), bC &&= (clearInterval(bC), null), xC &&= (clearTimeout(xC), null);}-async function xre(e, t, n, r = {}) {- let i = BS();+async function Sre(e, t, n, r = {}) {+ let i = zS();if (i && !i.isDisposed()) return i;- let a = PS(), o = r.resume ?? null;+ let a = NS(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : _re(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : vre(e), c;try {- c = await vC();+ c = await _C();} catch {return t.controls = !0, s().then((e) => {t.src = e.src, n && t.play().catch(() => {});@@ -15413,7 +15413,7 @@ async function xre(e, t, n, r = {}) {} }}});- VS(l), l.peachItem = e, tre(l), l.on("loadedmetadata", () => {+ BS(l), l.peachItem = e, nre(l), l.on("loadedmetadata", () => {let e = l.el()?.querySelector("video");e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);});@@ -15421,7 +15421,7 @@ async function xre(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = rre(GS(f, e.duration)), m = 0, h = !1, g = () => BS() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = ire(WS(f, e.duration)), m = 0, h = !1, g = () => zS() === l && !l.isDisposed(), _ = () => {if (!u || h || !g()) return;let e = Number(l.duration());(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {@@ -15432,15 +15432,15 @@ async function xre(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- yC.set(l, y), y.updateStats = () => {+ vC.set(l, y), y.updateStats = () => {let n = y.chrome?.statsPanel;if (!n || n.hidden || !g()) return;- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = uC(), h = s ? XS(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = lC(), h = s ? YS(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;p.sample(t);- let x = QS(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);+ let x = ZS(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);m = S;- let w = US(t);- qS(d.speed, x), qS(d.activity, C), qS(d.buffer, w);+ let w = HS(t);+ KS(d.speed, x), KS(d.activity, C), KS(d.buffer, w);let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? ["网络活动",`${_ ? pe(_) : "—"} · ${h.length} 请求`,@@ -15458,17 +15458,17 @@ async function xre(e, t, n, r = {}) {["连接速度",D,- YS(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ JS(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- YS(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ JS(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- YS(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ JS(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${de(t.currentTime)} / ${de(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -15484,15 +15484,15 @@ async function xre(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = QS(l, e.id, uC(), r ? null : p), a = r ? $S(i) : are(i, US(t));+ let i = ZS(l, e.id, lC(), r ? null : p), a = r ? QS(i) : ore(i, HS(t));n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${L(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;- !e || !e.isConnected || (e.hidden = !1, S(), xC && clearInterval(xC), xC = setInterval(S, 500));+ !e || !e.isConnected || (e.hidden = !1, S(), bC && clearInterval(bC), bC = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (SC && clearTimeout(SC), SC = setTimeout(() => {- e.hidden = !0, xC &&= (clearInterval(xC), null);+ e && (xC && clearTimeout(xC), xC = setTimeout(() => {+ e.hidden = !0, bC &&= (clearInterval(bC), null);}, 1400));};return l.on([@@ -15504,7 +15504,7 @@ async function xre(e, t, n, r = {}) {S(), w();}), l.on("error", () => {if (b && !x && !l.isDisposed()) {- x = !0, b = !1, l.src(gre(e)), n && l.play()?.catch(() => {});+ x = !0, b = !1, l.src(_re(e)), n && l.play()?.catch(() => {});return;}r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {@@ -15515,27 +15515,27 @@ async function xre(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = cre(l, t, e.height, r.qualities ?? null);+ let n = lre(l, t, e.height, r.qualities ?? null);r.mediaPromise?.then((t) => {if (!g()) return;n?.(t?.qualities?.length ? t.qualities : null);let r = Number(t?.size) || 0;- r > 0 && !f && (f = r, p.bitrate = GS(r, e.duration));- }).catch(() => {}), dre(l, e, { thumbnail: !r.source }), fre(l, e), pre(l), r.source || mre(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = WS(r, e.duration));+ }).catch(() => {}), fre(l, e, { thumbnail: !r.source }), pre(l, e), mre(l), r.source || hre(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), o && o.time > 0 && l.one("loadedmetadata", () => {l.isDisposed() || l.currentTime(o.time);}), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var Sre = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function wC(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Sre), e.querySelector(":scope > #playerStatsBtn")) return;+var Cre = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function CC(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Cre), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = ire(), e.insertBefore(n.content, t);+ n.innerHTML = are(), e.insertBefore(n.content, t);}-function TC(e, t) {- let n = yC.get(e);+function wC(e, t) {+ let n = vC.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -15547,29 +15547,29 @@ function TC(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), bC &&= (clearInterval(bC), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), yC &&= (clearInterval(yC), null));};a.onclick = () => {if (!o.hidden) {e();return;}- document.dispatchEvent(new CustomEvent(JS, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), bC && clearInterval(bC), bC = setInterval(n.updateStats, 1e3);+ document.dispatchEvent(new CustomEvent(qS, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), yC && clearInterval(yC), yC = setInterval(n.updateStats, 1e3);};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(JS, t), s = () => document.removeEventListener(JS, t);+ document.addEventListener(qS, t), s = () => document.removeEventListener(qS, t);}- let c = e.el().querySelector("video"), l = c ? sre(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, CC()));+ let c = e.el().querySelector("video"), l = c ? cre(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, SC()));};return e.one("dispose", d), d;}-function EC(e, t) {- if (t.kind === "immerse") return bre(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = PS(), c = t.chrome === !1 ? null : e.parentElement;- c && wC(c, e);+function TC(e, t) {+ if (t.kind === "immerse") return xre(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = NS(), c = t.chrome === !1 ? null : e.parentElement;+ c && CC(c, e);let l = { resume: t.resume ?? null };if (n === "follow") l = {...l,@@ -15589,16 +15589,16 @@ function EC(e, t) {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), pC(r, e, {+ }, { once: !0 }), fC(r, e, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"});}let u = null, d = !1, f = () => {}, p = () => {- f(), !(!u || a?.(u)) && (BS() === u && (VS(null), CC()), iC(u));+ f(), !(!u || a?.(u)) && (zS() === u && (BS(null), SC()), rC(u));};- return xre(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {+ return Sre(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {if (u = t, d) {p();return;@@ -15607,45 +15607,45 @@ function EC(e, t) {o?.(null);return;}- c && (f = TC(t, c)), n === "follow" && vre(r, e), o?.(t);+ c && (f = wC(t, c)), n === "follow" && yre(r, e), o?.(t);}), () => {d = !0, p();};}//#endregion//#region src/player/playback.ts-function DC(e) {+function EC(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function Cre(e, t) {+function wre(e, t) {let n = e.duration, r = (e.currentTime || 0) + t;e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);}//#endregion//#region src/jav-artwork.ts-function OC(e) {+function DC(e) {return e === "thumbnail" ? "thumbnail" : "cover";}-function wre(e, t) {- return e.is_jav && e.code && e.has_cover && (OC(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";+function Tre(e, t) {+ return e.is_jav && e.code && e.has_cover && (DC(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";}-var kC = .704;-function AC(e, t) {+var OC = .704;+function kC(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var Tre = (e, t) => [+var Ere = (e, t) => ["catalog-grid","catalog",e,t-], Ere = (e, t) => [+], Dre = (e, t) => ["catalog-grid","entity",e,t];-async function Dre(e, t, n, r, i) {+async function Ore(e, t, n, r, i) {let a = new URLSearchParams(e);a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");let o = await G(`/api/items?${a}`, i), s = {@@ -15655,22 +15655,22 @@ async function Dre(e, t, n, r, i) {};return !t && !s.items.length && !r && (s.libraryEmpty = (await G("/api/items?limit=1&thumb=0", i)).total === 0), s;}-var Ore = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, kre = (e, t) => {+var kre = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Are = (e, t) => {let n = t.reduce((e, t) => e + t.items.length, 0);return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;};-function jC(e) {- let t = AC(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function AC(e) {+ let t = kC(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: Tre(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => Dre(t, e, n, r, i),+ queryKey: Ere(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => Ore(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: Ore(n)+ getNextPageParam: kre(n)};}-function Are(e) {+function jre(e) {return {- queryKey: Ere(e.entityKey || "", e.revision || 0),+ queryKey: Dre(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -15685,12 +15685,12 @@ function Are(e) {};},initialPageParam: 0,- getNextPageParam: kre+ getNextPageParam: Are};}-async function jre(e, t) {+async function Mre(e, t) {if (e.mode !== "catalog") return;- let n = jC(e);+ let n = AC(e);await z.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({@@ -15699,7 +15699,7 @@ async function jre(e, t) {})});}-function Mre(e, t, n) {+function Nre(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -15714,24 +15714,24 @@ function Mre(e, t, n) {return !0;}) : [...e];}-var MC = (e, t) => !!e && !!wre(e, t);-function Nre(e, t) {- let n = (e) => MC(e, t) && !!(e.creator || (e.performers || []).length || e.studio);- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => MC(e, t)) || e[e.length - 1];+var jC = (e, t) => !!e && !!Tre(e, t);+function Pre(e, t) {+ let n = (e) => jC(e, t) && !!(e.creator || (e.performers || []).length || e.studio);+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => jC(e, t)) || e[e.length - 1];}-function Pre(e, { collapse: t, mix: n, javImage: r }) {+function Fre(e, { collapse: t, mix: n, javImage: r }) {let i = {parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()}, a = /* @__PURE__ */ new Set(), o = [], s = [];for (let c of e) {s.push(o.length);- let e = Mre(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = Nre(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({kind: "card",item: e}));if (n && e.length >= 8) {- let t = Nre(e, r);+ let t = Pre(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -15744,16 +15744,16 @@ function Pre(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function Fre(e, t, n) {+function Ire(e, t, n) {let r = Math.max(1, n), i = [];for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);return i;}-function Ire(e, t) {+function Lre(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();}-function Lre(e, t) {+function Rre(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -15766,10 +15766,10 @@ function Lre(e, t) {strip: null}), r;}-function NC(e, t) {- PC((t) => t.id === e, t);+function MC(e, t) {+ NC((t) => t.id === e, t);}-function PC(e, t) {+function NC(e, t) {z.setQueriesData({queryKey: ["catalog-grid"],predicate: (e) => Array.isArray(e.state.data?.pages)@@ -15786,31 +15786,31 @@ function PC(e, t) {}//#endregion//#region src/react/item-detail/item-detail.ts-var FC = (e) => ["item", e], IC = (e) => [+var PC = (e) => ["item", e], FC = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], Rre = (e, t) => [+], zre = (e, t) => ["item-related",e,t-], zre = (e) => `/api/item?id=${e}`, Bre = (e, t) => `/api/related?id=${e}&limit=${t}`, LC = "/api/playlist", RC = "/api/feedback", zC = "/api/item-tag", BC = "/api/watch-later", VC = "/api/quality-goal", HC = "/api/preference", UC = class extends Error {};-async function WC(e, t) {- let n = await G(zre(e), t);- if (n.error) throw new UC(n.error);+], Bre = (e) => `/api/item?id=${e}`, Vre = (e, t) => `/api/related?id=${e}&limit=${t}`, IC = "/api/playlist", LC = "/api/feedback", RC = "/api/item-tag", zC = "/api/watch-later", BC = "/api/quality-goal", VC = "/api/preference", HC = class extends Error {};+async function UC(e, t) {+ let n = await G(Bre(e), t);+ if (n.error) throw new HC(n.error);return n;}-async function GC(e, t, n) {+async function WC(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([WC(r, n), t.mixRelated(r)]);- return z.setQueryData(FC(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([UC(r, n), t.mixRelated(r)]);+ return z.setQueryData(PC(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${P(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return KC(await G(`${LC}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return GC(await G(`${IC}?id=${e.playlistId}`, n));let r = await G(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {@@ -15820,19 +15820,19 @@ async function GC(e, t, n) {items: r.items};}-var KC = (e) => ({+var GC = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), qC = (e) => e.disposal === "vanished";-function JC(e, t) {+}), KC = (e) => e.disposal === "vanished";+function qC(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !qC(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !KC(e)) : e.items;return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;}-function Vre(e, t) {+function Hre(e, t) {if (t?.kind !== "parts") return e;let n = t.items.find((t) => t.id === e.id)?.part_label || "";return e.part_label === n ? e : {@@ -15840,15 +15840,15 @@ function Vre(e, t) {part_label: n};}-async function Hre(e, t) {+async function JC(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = IC(n);+ let o = FC(n);try {let r = n.fresh ? void 0 : z.getQueryData(o);a = !r && n.kind === "mix", i = r || await z.fetchQuery({queryKey: o,- queryFn: () => GC(n, e.helpers, t),+ queryFn: () => WC(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -15860,20 +15860,20 @@ async function Hre(e, t) {return;}}- let o = i ? JC(i, e.id) : e.id;+ let o = i ? qC(i, e.id) : e.id;if (o == null) {r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });return;}- let s, c = a && o === i?.seedId ? z.getQueryData(FC(o)) : void 0;+ let s, c = a && o === i?.seedId ? z.getQueryData(PC(o)) : void 0;try {s = c || await z.fetchQuery({- queryKey: FC(o),- queryFn: () => WC(o, t),+ queryKey: PC(o),+ queryFn: () => UC(o, t),staleTime: 0});} catch (e) {- if (e instanceof UC) {+ if (e instanceof HC) {r.redirect({ kind: "gone" });return;}@@ -16011,8 +16011,8 @@ async function sie(e, t) {return oie(((await G(`/api/items?${e}`)).items || []).filter((e) => aie(e, t)));}var iw = (e) => z.ensureQueryData({- queryKey: FC(e),- queryFn: ({ signal: t }) => WC(e, t)+ queryKey: PC(e),+ queryFn: ({ signal: t }) => UC(e, t)});function cie(e, t) {let n = new Set(e.map((e) => e.id));@@ -16058,8 +16058,8 @@ function Ew() {(0, $f.flushSync)(mie);}function Dw() {- let e = xw ? ZS(xw.id) : 0;- return e ? `${bw} · ${$S(e)}` : bw;+ let e = xw ? XS(xw.id) : 0;+ return e ? `${bw} · ${QS(e)}` : bw;}function Ow(e, t = null) {if (clearInterval(Sw), Sw = 0, e === null) {@@ -16084,11 +16084,11 @@ function hie(e) {t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);let n = document.createElement("video");n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), sw.track.append(t);- let r = aC(), i = () => {}, a = {+ let r = iC(), i = () => {}, a = {el: t,video: n,session: r,- release: () => cC(r),+ release: () => sC(r),disposed: !1,gone: new Promise((e) => {i = e;@@ -16099,7 +16099,7 @@ function hie(e) {}function gie(e, t) {return new Promise((n) => {- e.release = EC(e.video, {+ e.release = TC(e.video, {kind: "immerse",item: t,session: e.session,@@ -16169,7 +16169,7 @@ async function Pw(e = 0) {let r = null;try {if (await iw(t.id).catch((e) => {- if (!(e instanceof UC)) throw e;+ if (!(e instanceof HC)) throw e;}), n !== uw) return;let i = vw, a = !!(e && i);a || kw(i);@@ -16219,7 +16219,7 @@ async function xie(e) {let n = await Nw();if (e && !n.some((t) => t.id === e)) {let t = await iw(e).catch((e) => {- if (e instanceof UC) return null;+ if (e instanceof HC) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);@@ -16250,18 +16250,18 @@ function Sie(e) {if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();if (zw && zw.side === n && r - zw.at <= 280) {- Uw(), Cre(t, Tw().seekSeconds() * n);+ Uw(), wre(t, Tw().seekSeconds() * n);return;}- Rw && (clearTimeout(Rw), Rw = 0, DC(t)), zw = {+ Rw && (clearTimeout(Rw), Rw = 0, EC(t)), zw = {side: n,at: r}, Rw = window.setTimeout(() => {- Rw = 0, zw = null, cw.open && DC(vw?.video);+ Rw = 0, zw = null, cw.open && EC(vw?.video);}, 280);}function Cie() {- Date.now() < Bw || DC(vw?.video);+ Date.now() < Bw || EC(vw?.video);}var Ww = (e) => sw?.bar.toggleAttribute("data-scrubbing", e);function Gw(e) {@@ -16334,11 +16334,11 @@ function Die() {ww = !1, Ww(!1);}async function Qw(e, t) {- let n = await K(RC, {+ let n = await K(LC, {id: e,kind: t- }), r = z.getQueryData(FC(e));- if (!r) return NC(e, {+ }), r = z.getQueryData(PC(e));+ if (!r) return MC(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -16347,7 +16347,7 @@ async function Qw(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return z.setQueryData(FC(e), i), NC(e, {+ return z.setQueryData(PC(e), i), MC(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -16373,17 +16373,17 @@ var Oie = [}];function $w(e) {- return TS({- queryKey: FC(e ?? 0),- queryFn: ({ signal: t }) => WC(e, t),+ return wS({+ queryKey: PC(e ?? 0),+ queryFn: ({ signal: t }) => UC(e, t),enabled: e != null,staleTime: Infinity}).data;}function kie({ kind: e, glyph: t, label: n, id: r }) {- let i = $w(r), a = OS({+ let i = $w(r), a = DS({mutationFn: async (t) => {- let n = z.getQueryData(FC(t))?.feedback || null;+ let n = z.getQueryData(PC(t))?.feedback || null;return {result: await Qw(t, e),before: n@@ -16547,7 +16547,7 @@ function Fie(e) {return ow = e, t && (document.addEventListener("keydown", Pie), addEventListener("resize", () => {cw.open && Mw();}), addEventListener("pagehide", () => {- yw.forEach((e) => cC(e.session));+ yw.forEach((e) => sC(e.session));})), Nie;}function Iie() {@@ -19637,7 +19637,7 @@ var $E = "/api/downloads", eD = ["downloads"], Voe = "/api/downloads/cancel", tDstalled: "yellow"}, Uoe = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, nD = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";function Woe() {- let e = (0, B.useId)(), t = TS({+ let e = (0, B.useId)(), t = wS({queryKey: eD,queryFn: ({ signal: e }) => G(`${$E}?limit=50`, e),refetchInterval: (e) => tD(e.state.data)@@ -19667,7 +19667,7 @@ function Woe() {});}function Goe({ task: e, writable: t }) {- let n = lS(), r = DE(), [i, a] = (0, B.useState)(!1), o = nD(e), s = e.state === "failed", c = [+ let n = cS(), r = DE(), [i, a] = (0, B.useState)(!1), o = nD(e), s = e.state === "failed", c = [e.provider_label,e.code,e.target,@@ -19903,13 +19903,13 @@ function sD({ live: e = !1, children: t }) {});}function Yoe() {- let e = TS({+ let e = wS({queryKey: GE,queryFn: ({ signal: e }) => qE(e),refetchInterval: (e) => joe(e.state.data)}), t = e.data, n = t?.finished, [r, i] = (0, B.useState)([]), [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(n);n !== s && (c(n), r.length && s && i(KE(r, s)));- let l = OS({+ let l = DS({mutationFn: ({ oldest: e }) => Ooe(e),onSuccess: (e, { shown: t }) => {i((n) => KE(n, t, e.finished || [])), o(!!e.finished_has_more);@@ -20912,7 +20912,7 @@ var kO = /*#__PURE__*/ (0, B.createContext)({ isSelected: !1 }), AO = /*#__PURE_[e, t] = _D(e, t, AO);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = xD[c], { separatorProps: u } = ax({+ let l = xD[c], { separatorProps: u } = ene({...s,elementType: n,orientation: r@@ -22760,7 +22760,7 @@ for (var xk = /*#__PURE__*/ (0, B.createContext)(null), rce = /*#__PURE__*/ Bh(f}), ice = /*#__PURE__*/ (0, B.createContext)(null), Sk = /*#__PURE__*/ (0, B.createContext)(null), ace = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;[e, t] = _D(r, t, ice);- let i = Nh((0, B.useMemo)(() => mh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = R_(e), o = ene({+ let i = Nh((0, B.useMemo)(() => mh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = R_(e), o = tne({...yD(e),children: typeof e.children == "function" || e.children}, a, i);@@ -23464,7 +23464,7 @@ function yce({ props: e, forwardedRef: t, selectionState: n, collection: r }) {UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = pce(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, B.useContext)(DD), { dragAndDropHooks: _ } = e, { gridProps: v } = one({+ }), f = pce(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, B.useContext)(DD), { dragAndDropHooks: _ } = e, { gridProps: v } = sne({...s,layoutDelegate: m,isVirtualized: p@@ -23576,7 +23576,7 @@ var bce = /*#__PURE__*/ (0, B.createContext)(null), Mk = class extends tp {default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])- }), { rowGroupProps: i } = Zx(), { hoverProps: a, isHovered: o } = sy({+ }), { rowGroupProps: i } = Xx(), { hoverProps: a, isHovered: o } = sy({onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd@@ -23606,10 +23606,10 @@ var bce = /*#__PURE__*/ (0, B.createContext)(null), Mk = class extends tp {});});function Cce({ item: e }) {- let t = (0, B.useRef)(null), n = (0, B.useContext)(kk), { isVirtualized: r, CollectionBranch: i } = (0, B.useContext)(DD), { rowProps: a } = une({+ let t = (0, B.useRef)(null), n = (0, B.useContext)(kk), { isVirtualized: r, CollectionBranch: i } = (0, B.useContext)(DD), { rowProps: a } = dne({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = _ne(n);+ }, n, t), { checkboxProps: o } = vne(n);return /*#__PURE__*/ B.createElement(Sce, {...a,ref: t@@ -23632,7 +23632,7 @@ var wce = class extends tp {ref: t});}), Pk = /*#__PURE__*/ tg(wce, (e, t, n) => {- let r = Nh(t), i = (0, B.useContext)(kk), { isVirtualized: a } = (0, B.useContext)(DD), { columnHeaderProps: o, isPressed: s } = lne({+ let r = Nh(t), i = (0, B.useContext)(kk), { isVirtualized: a } = (0, B.useContext)(DD), { columnHeaderProps: o, isPressed: s } = une({node: n,isVirtualized: a,focusMode: e.focusMode,@@ -23718,7 +23718,7 @@ var wce = class extends tp {style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = Zx(), _ = Eg(e, { global: !0 });+ let { rowGroupProps: g } = Xx(), _ = Eg(e, { global: !0 });return /*#__PURE__*/ B.createElement(Dce, {...U(_, p, g),ref: t,@@ -23756,7 +23756,7 @@ var Lk = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), Ocref: t});}), zk = /*#__PURE__*/ ng(Oce, (e, t, n) => {- let r = Nh(t), i = (0, B.useContext)(kk), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, B.useContext)(CO), { isVirtualized: c, CollectionBranch: l } = (0, B.useContext)(DD), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = pne({+ let r = Nh(t), i = (0, B.useContext)(kk), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, B.useContext)(CO), { isVirtualized: c, CollectionBranch: l } = (0, B.useContext)(DD), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = mne({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c@@ -23765,7 +23765,7 @@ var Lk = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), OconHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = gne({ key: n.key }, i), S;+ }), { checkboxProps: x } = _ne({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0@@ -23878,7 +23878,7 @@ var Lk = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), Oc}), Vk = /*#__PURE__*/ tg(kce, (e, t, n) => {let r = Nh(t), i = (0, B.useContext)(kk), { dragState: a } = (0, B.useContext)(CO), { isVirtualized: o } = (0, B.useContext)(DD);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = sne({+ let { gridCellProps: s, isPressed: c } = cne({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,@@ -24143,7 +24143,7 @@ var Kk = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {}) : /*#__PURE__*/ B.createElement(ag, e);});function zce({ props: e, forwardedRef: t }) {- let n = (0, B.useContext)(Wk), { CollectionRoot: r } = (0, B.useContext)(DD), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = gD(Uk), o = Nh(t), { tabListProps: s } = bne({+ let n = (0, B.useContext)(Wk), { CollectionRoot: r } = (0, B.useContext)(DD), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = gD(Uk), o = Nh(t), { tabListProps: s } = xne({...e,orientation: i,keyboardActivation: a@@ -24170,7 +24170,7 @@ var qk = /*#__PURE__*/ tg(class extends tp {this.type = "item";}}, (e, t, n) => {- let r = (0, B.useContext)(Wk), i = Nh(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = vne({+ let r = (0, B.useContext)(Wk), i = Nh(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = yne({key: n.key,...e}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = ry(), { hoverProps: f, isHovered: p } = sy({@@ -24214,7 +24214,7 @@ var qk = /*#__PURE__*/ tg(class extends tp {});});function Bce(e) {- let t = (0, B.useContext)(Wk), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = xne(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = ry(), d = t.selectedKey === e.id, f = qO(r) && !i, p = hD({+ let t = (0, B.useContext)(Wk), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Sne(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = ry(), d = t.selectedKey === e.id, f = qO(r) && !i, p = hD({...e,defaultClassName: "react-aria-TabPanel",values: {@@ -24241,8 +24241,8 @@ function Bce(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/TextArea.mjs-var Yk = /*#__PURE__*/ (0, B.createContext)({}), Vce = /*#__PURE__*/ (0, B.createContext)(null), Hce = /*#__PURE__*/ Bh(function(e, t) {- [e, t] = _D(e, t, Vce);+var Vce = /*#__PURE__*/ (0, B.createContext)({}), Hce = /*#__PURE__*/ (0, B.createContext)(null), Uce = /*#__PURE__*/ Bh(function(e, t) {+ [e, t] = _D(e, t, Hce);let { validationBehavior: n } = gD(ID) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, B.useRef)(null);[e, i] = _D(e, i, CD);let [a, o] = vD(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, B.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = ete({@@ -24280,7 +24280,7 @@ var Yk = /*#__PURE__*/ (0, B.createContext)({}), Vce = /*#__PURE__*/ (0, B.creat...u,ref: m}],- [Yk, {+ [Vce, {...u,ref: m}],@@ -24295,7 +24295,7 @@ var Yk = /*#__PURE__*/ (0, B.createContext)({}), Vce = /*#__PURE__*/ (0, B.creat} }],[FD, p]] }, h.children));-}), Uce = {+}), Wce = {selection: {type: ni,duration: .16,@@ -24307,7 +24307,7 @@ var Yk = /*#__PURE__*/ (0, B.createContext)({}), Vce = /*#__PURE__*/ (0, B.creatbounce: 0}};-function Xk(e) {+function Yk(e) {let [t, n] = (0, B.useState)(null);return (0, B.useLayoutEffect)(() => {if (!t) return;@@ -24328,7 +24328,7 @@ function Xk(e) {let E = `translate(${b}px, ${x}px) scale(1, 1)`;if (u && a && !r.matches && T && s !== h) {let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;- l = Qf(n, { transform: [r, E] }, Uce[e]);+ l = Qf(n, { transform: [r, E] }, Wce[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -24365,25 +24365,25 @@ function Xk(e) {}//#endregion//#region src/react/components/segmented.tsx-function Zk(e) {- let t = Xk("selection");+function Xk(e) {+ let t = Yk("selection");return /* @__PURE__ */ (0, V.jsx)(Kk, {...e,ref: t});}-function Qk(e) {- let t = Xk("selection");+function Zk(e) {+ let t = Yk("selection");return /* @__PURE__ */ (0, V.jsx)(gk, {...e,ref: t});}-var $k = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", eA = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Wce = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", tA = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", nA = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", Gce = { "text-aa": 1.435 }, rA = /* @__PURE__ */ new Map();-function iA(e) {- let t = rA.get(e);+var Qk = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", $k = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Gce = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", eA = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", tA = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", Kce = { "text-aa": 1.435 }, nA = /* @__PURE__ */ new Map();+function rA(e) {+ let t = nA.get(e);if (t) return t;- let n = Gce[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, V.jsx)("svg", {+ let n = Kce[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, V.jsx)("svg", {"aria-hidden": !0,viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,@@ -24397,19 +24397,19 @@ function iA(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, V.jsx)("use", { href: `#i-${e}` })});- return r.displayName = `SpriteGlyph(${e})`, rA.set(e, r), r;+ return r.displayName = `SpriteGlyph(${e})`, nA.set(e, r), r;}//#endregion//#region src/react/entity-filter/entity-filter.ts-var Kce = (e) => e === "videos", aA = () => /* @__PURE__ */ (0, V.jsx)("span", {+var qce = (e) => e === "videos", iA = () => /* @__PURE__ */ (0, V.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"});-function qce(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Kce(t), u = (0, B.useRef)(null), d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = (0, B.useRef)(null), h = (0, B.useRef)(null), g = (0, B.useRef)(null), _ = fD(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = fD(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);+function Jce(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = qce(t), u = (0, B.useRef)(null), d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = (0, B.useRef)(null), h = (0, B.useRef)(null), g = (0, B.useRef)(null), _ = fD(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = fD(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);return (0, B.useEffect)(() => {c.wireDrag(h.current), c.wireScroller(m.current), c.wireDrag(g.current);- }, [c]), /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(oA, {+ }, [c]), /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(aA, {items: o,hidden: !l,actions: s@@ -24433,13 +24433,13 @@ function qce(e) {"data-view-glide": "round","aria-hidden": "true"})] }),- top: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [n ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(Jce, {+ top: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [n ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(Yce, {keys: n,view: t,row: p,glide: v,onView: s.setView- }), l ? /* @__PURE__ */ (0, V.jsx)(aA, {}) : null] }) : null, /* @__PURE__ */ (0, V.jsxs)("div", {+ }), l ? /* @__PURE__ */ (0, V.jsx)(iA, {}) : null] }) : null, /* @__PURE__ */ (0, V.jsxs)("div", {ref: m,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, V.jsxs)("div", {@@ -24459,7 +24459,7 @@ function qce(e) {r !== e.k && s.setState(e.k);},children: e.label- }, e.k)), /* @__PURE__ */ (0, V.jsx)(aA, {})]+ }, e.k)), /* @__PURE__ */ (0, V.jsx)(iA, {})]}), /* @__PURE__ */ (0, V.jsx)("div", {ref: h,"data-entity-tags": "",@@ -24475,10 +24475,10 @@ function qce(e) {}, e.k)) : null})]})] }),- bottom: /* @__PURE__ */ (0, V.jsx)(Yce, { ...e })+ bottom: /* @__PURE__ */ (0, V.jsx)(Xce, { ...e })})] });}-function Jce({ keys: e, view: t, row: n, glide: r, onView: i }) {+function Yce({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -24520,7 +24520,7 @@ function Jce({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function oA({ items: e, hidden: t, actions: n }) {+function aA({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, V.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -24540,7 +24540,7 @@ function oA({ items: e, hidden: t, actions: n }) {})] }) : null});}-function Yce(e) {+function Xce(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, V.jsxs)("button", {@@ -24552,22 +24552,22 @@ function Yce(e) {dangerouslySetInnerHTML: { __html: R("chevron-left") }}), /* @__PURE__ */ (0, V.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, V.jsx)(Xce, {+ /* @__PURE__ */ (0, V.jsx)(Zce, {text: n,busy: r}),- t === "videos" && i ? /* @__PURE__ */ (0, V.jsx)(Zce, {+ t === "videos" && i ? /* @__PURE__ */ (0, V.jsx)(Qce, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, V.jsx)(Qce, {+ t === "photos" && a ? /* @__PURE__ */ (0, V.jsx)($ce, {head: a,actions: o,helpers: s}) : null] });}-function Xce({ text: e, busy: t }) {+function Zce({ text: e, busy: t }) {return /* @__PURE__ */ (0, V.jsx)("h3", {"data-entity-readout": "",children: t ? /* @__PURE__ */ (0, V.jsx)("span", {@@ -24577,7 +24577,7 @@ function Xce({ text: e, busy: t }) {}) : e});}-function sA({ name: e, label: t, value: n, options: r, onChange: i }) {+function oA({ name: e, label: t, value: n, options: r, onChange: i }) {return /* @__PURE__ */ (0, V.jsx)(gk, {name: e,"aria-label": t,@@ -24585,14 +24585,14 @@ function sA({ name: e, label: t, value: n, options: r, onChange: i }) {value: n,onChange: i,"data-entity-layout": "",- className: tA,+ className: eA,children: r.map(([e, t, n]) => {- let r = iA(n);+ let r = rA(n);return /* @__PURE__ */ (0, V.jsx)(_k, {value: e,"aria-label": t,"data-glass-segment": "",- className: nA,+ className: tA,children: /* @__PURE__ */ (0, V.jsx)("span", {title: t,className: "contents",@@ -24602,7 +24602,7 @@ function sA({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function cA({ onPress: e, busy: t = !1 }) {+function sA({ onPress: e, busy: t = !1 }) {return /* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-entity-batch": "",@@ -24616,27 +24616,27 @@ function cA({ onPress: e, busy: t = !1 }) {dangerouslySetInnerHTML: { __html: t ? Ke("正在换一批") : R("shuffle") }});}-function Zce({ head: e, actions: t }) {+function Qce({ head: e, actions: t }) {return /* @__PURE__ */ (0, V.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, V.jsx)(cA, { onPress: () => void t.reshuffle() }),- e.jav ? /* @__PURE__ */ (0, V.jsx)(sA, {+ /* @__PURE__ */ (0, V.jsx)(sA, { onPress: () => void t.reshuffle() }),+ e.jav ? /* @__PURE__ */ (0, V.jsx)(oA, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, V.jsx)(lA, {+ /* @__PURE__ */ (0, V.jsx)(cA, {sorts: e.sorts,onSort: t.setSort})]});}-function lA({ sorts: e, onSort: t }) {+function cA({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, V.jsx)(V.Fragment, { children: e.map((e) => {- let n = iA(e.dir === "asc" ? "arrow-up" : "arrow-down");+ let n = rA(e.dir === "asc" ? "arrow-up" : "arrow-down");return /* @__PURE__ */ (0, V.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -24648,20 +24648,20 @@ function lA({ sorts: e, onSort: t }) {}, e.key);}) });}-function Qce({ head: e, actions: t, helpers: n }) {+function $ce({ head: e, actions: t, helpers: n }) {let [r, i] = (0, B.useState)(!1), a = (0, B.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, B.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, V.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, V.jsx)(cA, {+ e.shuffle ? /* @__PURE__ */ (0, V.jsx)(sA, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, V.jsx)(sA, {+ /* @__PURE__ */ (0, V.jsx)(oA, {label: "图片布局",value: e.layout,options: e.layouts,@@ -24677,31 +24677,31 @@ function Qce({ head: e, actions: t, helpers: n }) {}//#endregion//#region src/react/catalog-filter/catalog-filter-page.tsx-var uA = "";-function $ce(e) {- let t = !e.tiers, n = ole(e.comboHost);+var lA = "";+function ele(e) {+ let t = !e.tiers, n = sle(e.comboHost);return /* @__PURE__ */ (0, V.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(oA, {+ n ? (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(aA, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, V.jsx)(nle, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, V.jsx)(ele, { ...e })+ /* @__PURE__ */ (0, V.jsx)(rle, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, V.jsx)(tle, { ...e })]});}-function ele(e) {+function tle(e) {let { actions: t, helpers: n } = e, r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = fD(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, B.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let l = !e.tiers, u = fA(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let l = !e.tiers, u = dA(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, B.useLayoutEffect)(() => {Le(o.current, "tagbar");}, [u]), /* @__PURE__ */ (0, V.jsx)(lD, {@@ -24747,16 +24747,16 @@ function ele(e) {}), /* @__PURE__ */ (0, V.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || l ? /* @__PURE__ */ (0, V.jsx)(dA, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, V.jsx)(tle, {+ children: [e.empty || l ? /* @__PURE__ */ (0, V.jsx)(uA, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, V.jsx)(nle, {tag: e,onPress: t.toggleTag}, e.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, V.jsx)(ile, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, V.jsx)(ale, { ...e })});}-function tle({ tag: e, onPress: t }) {+function nle({ tag: e, onPress: t }) {return /* @__PURE__ */ (0, V.jsxs)(uD, {"data-catalog-tag": e.k,"data-entity-press": "",@@ -24768,12 +24768,12 @@ function tle({ tag: e, onPress: t }) {})]});}-function nle(e) {+function rle(e) {let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = e.empty || !e.tiers, a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useCallback)((e) => () => t.moreTops(e), [t]), c = fA(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = fA(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;+ }, i = e.empty || !e.tiers, a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useCallback)((e) => () => t.moreTops(e), [t]), c = dA(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = dA(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;return (0, B.useEffect)(() => {n.wireDrag(a.current), n.wireDrag(o.current);}, [@@ -24786,7 +24786,7 @@ function nle(e) {children: [u ? /* @__PURE__ */ (0, V.jsx)("div", {ref: a,"data-catalog-tier": "performers",- children: i ? /* @__PURE__ */ (0, V.jsx)(dA, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, V.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, V.jsx)(uA, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, V.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -24803,18 +24803,18 @@ function nle(e) {}) : null, d ? /* @__PURE__ */ (0, V.jsx)("div", {ref: o,"data-catalog-tier": "studios",- children: i ? /* @__PURE__ */ (0, V.jsx)(dA, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, V.jsxs)("button", {+ children: i ? /* @__PURE__ */ (0, V.jsx)(uA, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, V.jsxs)("button", {type: "button","data-tier-studio": "","data-entity-kind": "studio","data-entity-name": e.name,onClick: () => t.openEntity("studio", e.name),- children: [/* @__PURE__ */ (0, V.jsx)(rle, { studio: e }), e.name]+ children: [/* @__PURE__ */ (0, V.jsx)(ile, { studio: e }), e.name]}, e.name))}) : null]});}-function rle({ studio: e }) {+function ile({ studio: e }) {let [t, n] = (0, B.useState)(!1);return /* @__PURE__ */ (0, V.jsx)("span", {"data-tier-mark": "",@@ -24828,7 +24828,7 @@ function rle({ studio: e }) {}) : e.fallback});}-function dA({ kind: e }) {+function uA({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, V.jsx)("span", {"data-catalog-placeholder": "tag",@@ -24844,32 +24844,32 @@ function dA({ kind: e }) {children: [/* @__PURE__ */ (0, V.jsx)("span", {}), /* @__PURE__ */ (0, V.jsx)("span", { children: "\xA0" })]}, t)) });}-function ile({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+function ale({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {let [a, o] = (0, B.useState)(!1);- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(ale, { count: e }), /* @__PURE__ */ (0, V.jsxs)("span", {+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(ole, { count: e }), /* @__PURE__ */ (0, V.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, V.jsx)(cA, {+ /* @__PURE__ */ (0, V.jsx)(sA, {onPress: () => {o(!0), i.reshuffle().finally(() => o(!1));},busy: a || t}),- n ? /* @__PURE__ */ (0, V.jsx)(sA, {+ n ? /* @__PURE__ */ (0, V.jsx)(oA, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, V.jsx)(lA, {+ /* @__PURE__ */ (0, V.jsx)(cA, {sorts: r,onSort: i.setSort})]})] });}-function ale({ count: e }) {+function ole({ count: e }) {let t = (0, B.useRef)(null), n = (0, B.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown}` : "";return (0, B.useLayoutEffect)(() => {if (!e) {@@ -24877,7 +24877,7 @@ function ale({ count: e }) {return;}let i = t.current;- i && (uA && i.dataset.popCount === void 0 && (i.dataset.popCount = uA), uA = r, Re(i, r));+ i && (lA && i.dataset.popCount === void 0 && (i.dataset.popCount = lA), lA = r, Re(i, r));}, [e, r]), e ? /* @__PURE__ */ (0, V.jsx)("span", {ref: t,"data-catalog-readout": "",@@ -24893,7 +24893,7 @@ function ale({ count: e }) {})}, "skeleton");}-function ole(e) {+function sle(e) {let [t, n] = (0, B.useState)(null);return (0, B.useLayoutEffect)(() => {if (!e) return;@@ -24903,7 +24903,7 @@ function ole(e) {};}, [e]), t;}-function fA(e, t, n, r, i) {+function dA(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -24949,7 +24949,7 @@ function fA(e, t, n, r, i) {}//#endregion//#region src/react/components/grid-reveal.tsx-function pA(e, t) {+function fA(e, t) {let [n, r] = (0, B.useState)(e ? "skeleton" : "none"), [i] = (0, B.useState)(() => e ? t() : ""), a = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {a.current && ke(a.current);@@ -24975,7 +24975,7 @@ function pA(e, t) {fading: n === "fade"};}-function mA({ message: e, onRetry: t }) {+function pA({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, V.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -24989,7 +24989,7 @@ function mA({ message: e, onRetry: t }) {}//#endregion//#region src/react/components/art-slot.tsx-function hA({ artwork: e, identity: t = e.html, relayout: n }) {+function mA({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, B.useState)({identity: t,artwork: e@@ -25009,24 +25009,24 @@ function hA({ artwork: e, identity: t = e.html, relayout: n }) {}//#endregion//#region src/react/components/media-card.tsx-var sle = 9 / 16;-function gA({ name: e }) {+var cle = 9 / 16;+function hA({ name: e }) {return /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, V.jsx)("use", { href: `#i-${e}` })});}-var cle = {+var lle = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"};-function _A(e, t, n) {- return t === "short" ? sle : o(n);+function gA(e, t, n) {+ return t === "short" ? cle : o(n);}-function lle(e) {+function ule(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = E(e), s = i[0] || "", c = ee(e);return {avatar: r ? /* @__PURE__ */ (0, V.jsx)("div", {@@ -25073,7 +25073,7 @@ function lle(e) {})};}-function ule() {+function dle() {return /* @__PURE__ */ (0, V.jsxs)("button", {type: "button","data-media-preview": "",@@ -25092,7 +25092,7 @@ function ule() {})]});}-function dle({ item: e, actions: t }) {+function fle({ item: e, actions: t }) {let [n, r] = (0, B.useState)(null), [i, a] = (0, B.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;return /* @__PURE__ */ (0, V.jsx)("div", {"data-media-later": "",@@ -25110,21 +25110,21 @@ function dle({ item: e, actions: t }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, V.jsx)(gA, { name: o ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, V.jsx)(hA, { name: o ? "check" : "bookmark-plus" })})});}-function vA(e, t) {+function _A(e, t) {let n = e?.querySelector("video.hv");!n || !Number.isFinite(n.duration) || (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));}-function fle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {+function ple({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {let l = (0, B.useRef)(null), u = (0, B.useRef)(e);u.current = e;let d = (0, B.useCallback)((e) => {let t = u.current;l.current && l.current !== e && re(l.current), l.current = e, e && (!t.medium || t.medium === "video") && oe(e, t);- }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = T(e, h, !1, n.javImage), _ = h === "small" ? g.html : T(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v), b = f?.total_size ?? e.size, x = f?.total_duration ?? e.duration, S = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = lle(e), E = (e.follow_tags || e.tags || []).slice(0, 3), D = [+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = T(e, h, !1, n.javImage), _ = h === "small" ? g.html : T(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v), b = f?.total_size ?? e.size, x = f?.total_duration ?? e.duration, S = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = ule(e), E = (e.follow_tags || e.tags || []).slice(0, 3), D = [e.feedback === "dislike" && "dislike",e.feedback === "seen" && "seen",e.disposal === "trash" && "dispose",@@ -25158,9 +25158,9 @@ function fle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSc(e, r);}, k = /* @__PURE__ */ (0, V.jsxs)("div", {"data-media-pic": "",- style: { "--card-ratio": String(_A(e, t, n)) },+ style: { "--card-ratio": String(gA(e, t, n)) },children: [- g.html ? /* @__PURE__ */ (0, V.jsx)(hA, {+ g.html ? /* @__PURE__ */ (0, V.jsx)(mA, {artwork: g,identity: _,relayout: (e) => ne(e, h)@@ -25174,11 +25174,11 @@ function fle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS}),/* @__PURE__ */ (0, V.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, V.jsx)(gA, { name: "check" })+ children: /* @__PURE__ */ (0, V.jsx)(hA, { name: "check" })}),/* @__PURE__ */ (0, V.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, V.jsx)(gA, { name: "trash" }), /* @__PURE__ */ (0, V.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, V.jsx)(hA, { name: "trash" }), /* @__PURE__ */ (0, V.jsx)("b", { children: "回收站" })]}),f ? /* @__PURE__ */ (0, V.jsx)("span", {"data-media-group": "",@@ -25205,8 +25205,8 @@ function fle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS"data-media-scrub": "",children: /* @__PURE__ */ (0, V.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, V.jsx)(ule, {}),- /* @__PURE__ */ (0, V.jsx)(dle, {+ /* @__PURE__ */ (0, V.jsx)(dle, {}),+ /* @__PURE__ */ (0, V.jsx)(fle, {item: e,actions: s}),@@ -25216,27 +25216,27 @@ function fle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS/* @__PURE__ */ (0, V.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), vA(l.current, -a);+ e.stopPropagation(), _A(l.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, V.jsx)(gA, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, V.jsx)(hA, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), vA(l.current, a);+ e.stopPropagation(), _A(l.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, V.jsx)(gA, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, V.jsx)(hA, { name: "rotate-cw" })}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, V.jsx)(gA, { name: "expand" })+ children: /* @__PURE__ */ (0, V.jsx)(hA, { name: "expand" })})]})@@ -25312,8 +25312,8 @@ function fle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS]});}-function ple({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : cle[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {+function mle({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : lle[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {t.preventDefault(), t.stopPropagation(), !s && (c(!0), i.resourceOperation(e, p).catch(() => {}).finally(() => c(!1)));}, g = (t) => {if (o.current) {@@ -25339,7 +25339,7 @@ function ple({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpchildren: [/* @__PURE__ */ (0, V.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, V.jsx)(gA, { name: f }), /* @__PURE__ */ (0, V.jsx)("b", { children: d })]+ children: [/* @__PURE__ */ (0, V.jsx)(hA, { name: f }), /* @__PURE__ */ (0, V.jsx)("b", { children: d })]}),l ? /* @__PURE__ */ (0, V.jsx)("span", {"data-media-art": "thumb",@@ -25351,11 +25351,11 @@ function ple({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp}),/* @__PURE__ */ (0, V.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, V.jsx)(gA, { name: "check" })+ children: /* @__PURE__ */ (0, V.jsx)(hA, { name: "check" })}),/* @__PURE__ */ (0, V.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, V.jsx)(gA, { name: "trash" }), /* @__PURE__ */ (0, V.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, V.jsx)(hA, { name: "trash" }), /* @__PURE__ */ (0, V.jsx)("b", { children: "回收站" })]}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button",@@ -25365,7 +25365,7 @@ function ple({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOponClick: h,"aria-busy": s || void 0,"aria-disabled": s || void 0,- children: s ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("span", { dangerouslySetInnerHTML: { __html: Ke(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, V.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(gA, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, V.jsx)("span", { children: m })] })+ children: s ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("span", { dangerouslySetInnerHTML: { __html: Ke(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, V.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(hA, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, V.jsx)("span", { children: m })] })})]}), /* @__PURE__ */ (0, V.jsxs)("div", {@@ -25374,7 +25374,7 @@ function ple({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, V.jsx)(gA, { name: f })+ children: /* @__PURE__ */ (0, V.jsx)(hA, { name: f })}), /* @__PURE__ */ (0, V.jsxs)("div", {"data-media-text": "",children: [/* @__PURE__ */ (0, V.jsx)("span", {@@ -25403,17 +25403,17 @@ function ple({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp})]});}-function mle(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, V.jsx)(ple, { ...e }) : /* @__PURE__ */ (0, V.jsx)(fle, { ...e });+function hle(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, V.jsx)(mle, { ...e }) : /* @__PURE__ */ (0, V.jsx)(ple, { ...e });}-var yA = (0, B.memo)(mle), hle = 1100, gle = 340, _le = 5e3;-function vle(e, t, n) {+var vA = (0, B.memo)(hle), gle = 1100, _le = 340, vle = 5e3;+function yle(e, t, n) {return new Promise((r) => {let i = new Image();n && (i.referrerPolicy = n);let a = !1, o = (e) => {a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));- }, s = () => o(!1), c = setTimeout(s, _le);+ }, s = () => o(!1), c = setTimeout(s, vle);t.cancels.add(s), i.onerror = s, i.onload = () => {if (!i.naturalWidth) {o(!1);@@ -25423,7 +25423,7 @@ function vle(e, t, n) {}, i.src = e;});}-function bA({ load: e, canFlip: t, referrerPolicy: n }) {+function yA({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, B.useState)([]), [a, o] = (0, B.useState)(0), [s, c] = (0, B.useState)(null), l = (0, B.useRef)({live: !1,generation: 0,@@ -25465,11 +25465,11 @@ function bA({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => vle(t, e, n)));+ let s = await Promise.all(a.map((t) => yle(t, e, n)));if (!r() || !u.current.canFlip()) return;let d = a.filter((e, t) => s[t]);d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {- p(), e.cycle = setInterval(p, hle);+ p(), e.cycle = setInterval(p, gle);}));};return (0, B.useEffect)(() => d, [d]), {@@ -25478,7 +25478,7 @@ function bA({ load: e, canFlip: t, referrerPolicy: n }) {leaving: s,onPointerEnter: () => {let e = l.current;- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(gle, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(_le, () => {e.armed = null, m();});},@@ -25489,8 +25489,8 @@ function bA({ load: e, canFlip: t, referrerPolicy: n }) {}//#endregion//#region src/react/components/mix-card.tsx-var xA = iA("play");-function yle({ src: e }) {+var bA = rA("play");+function ble({ src: e }) {let [t, n] = (0, B.useState)(!1);return t ? null : /* @__PURE__ */ (0, V.jsx)("img", {"data-mix-poster": "",@@ -25503,8 +25503,8 @@ function yle({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var SA = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";-function ble({ faces: e, fallback: t, onOpenEntity: n }) {+var xA = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";+function xle({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, V.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, V.jsx)("button", {@@ -25512,18 +25512,18 @@ function ble({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${SA} cursor-pointer outline-none`,+ className: `${xA} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: w(e.name, e, ae(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, V.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${SA} mt-0.5`,+ className: `${xA} mt-0.5`,children: t});}-function CA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {- let b = bA({+function SA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {+ let b = yA({load: i,canFlip: a}), x = (0, B.useRef)(b.onPointerLeave);@@ -25550,11 +25550,11 @@ function CA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:style: d === void 0 ? void 0 : { "--card-ratio": String(d) },className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",children: [- f?.html ? /* @__PURE__ */ (0, V.jsx)(hA, {+ f?.html ? /* @__PURE__ */ (0, V.jsx)(mA, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, V.jsx)(yle, { src: r }, r) : /* @__PURE__ */ (0, V.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, V.jsx)(ble, { src: r }, r) : /* @__PURE__ */ (0, V.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -25584,7 +25584,7 @@ function CA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, V.jsxs)("span", {"data-mix-badge": "",className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",- children: [/* @__PURE__ */ (0, V.jsx)(xA, {+ children: [/* @__PURE__ */ (0, V.jsx)(bA, {"aria-hidden": !0,className: "size-3.75"}), g ?? `${n} 个视频`]@@ -25597,8 +25597,8 @@ function CA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, V.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, V.jsx)(xA, {})- }) : /* @__PURE__ */ (0, V.jsx)(ble, {+ children: /* @__PURE__ */ (0, V.jsx)(bA, {})+ }) : /* @__PURE__ */ (0, V.jsx)(xle, {faces: o,fallback: e.slice(0, 1),onOpenEntity: s@@ -25622,20 +25622,20 @@ function CA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:}//#endregion//#region src/react/catalog-grid/catalog-grid-page.tsx-function wA(e) {- if (e.mode === "items") return /* @__PURE__ */ (0, V.jsx)(Sle, { ...e });- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${AC(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- return /* @__PURE__ */ (0, V.jsx)(Cle, { ...e }, t);+function CA(e) {+ if (e.mode === "items") return /* @__PURE__ */ (0, V.jsx)(Cle, { ...e });+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${kC(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ return /* @__PURE__ */ (0, V.jsx)(wle, { ...e }, t);}-function xle({ name: e }) {+function Sle({ name: e }) {return /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, V.jsx)("use", { href: `#i-${e}` })});}-function Sle(e) {- let { actions: t } = e, n = (0, B.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, V.jsx)(yA, {+function Cle(e) {+ let { actions: t } = e, n = (0, B.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, V.jsx)(vA, {item: i,variant: r,layout: e.layout,@@ -25655,15 +25655,15 @@ function Sle(e) {children: i});}-function Cle(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Are(e) : jC(e), s = i && e.initial ? {+function wle(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? jre(e) : AC(e), s = i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],offset: 0}],pageParams: [0]- } : void 0, c = kS({+ } : void 0, c = OS({queryKey: o.queryKey,queryFn: ({ pageParam: e, signal: t }) => o.queryFn({pageParam: e,@@ -25676,7 +25676,7 @@ function Cle(e) {(0, B.useEffect)(() => {c.isPending || l.current || (l.current = !0, e.settled?.(e.revision));}, [c.isPending]);- let { tiles: u, pageStarts: d } = (0, B.useMemo)(() => Pre(c.data?.pages || [], {+ let { tiles: u, pageStarts: d } = (0, B.useMemo)(() => Fre(c.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -25686,7 +25686,7 @@ function Cle(e) {e.mix,a,r.javImage- ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = pA(c.isPending, e.skeletonHtml), h = (0, B.useRef)(null), g = wle(e, c.data, u, d, h);+ ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = fA(c.isPending, e.skeletonHtml), h = (0, B.useRef)(null), g = Tle(e, c.data, u, d, h);(0, B.useLayoutEffect)(() => {if (!c.data) return;let t = !0;@@ -25703,12 +25703,12 @@ function Cle(e) {let _ = (0, B.useCallback)((e, t) => n.open(e, t), [n]), v = (0, B.useCallback)((e, t) => n.openResource(e, t), [n]), y = (0, B.useCallback)((e) => n.openShort(e), [n]), b = (0, B.useCallback)(async () => {let e = await c.fetchNextPage({ cancelRefetch: !1 });if (e.isFetchNextPageError) throw e.error;- }, [c.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, V.jsx)(Ele, {+ }, [c.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, V.jsx)(Dle, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, V.jsx)(yA, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, V.jsx)(vA, {item: i.item,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",layout: r,@@ -25725,7 +25725,7 @@ function Cle(e) {"data-grid-reveal": m.fading ? "" : void 0,children: [m.layer, (() => {if (c.isPending) return null;- if (!c.data) return /* @__PURE__ */ (0, V.jsx)(mA, {+ if (!c.data) return /* @__PURE__ */ (0, V.jsx)(pA, {message: ye(c.error),onRetry: () => void c.refetch()});@@ -25742,15 +25742,15 @@ function Cle(e) {return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: Lre(u, g).map((t) => /* @__PURE__ */ (0, V.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("div", {+ children: Rre(u, g).map((t) => /* @__PURE__ */ (0, V.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("div", {"data-media-grid": "",children: t.tiles.map(x)- }), t.strip ? /* @__PURE__ */ (0, V.jsx)(Tle, {+ }), t.strip ? /* @__PURE__ */ (0, V.jsx)(Ele, {cut: t.strip,props: e,onOpen: y}) : null] }, t.start))- }), c.hasNextPage ? /* @__PURE__ */ (0, V.jsx)(TA, {+ }), c.hasNextPage ? /* @__PURE__ */ (0, V.jsx)(wA, {entity: i,load: b,enabled: () => e.canLoadMore?.() !== !1@@ -25758,7 +25758,7 @@ function Cle(e) {})()]});}-function TA({ entity: e, load: t, enabled: n, children: r }) {+function wA({ entity: e, load: t, enabled: n, children: r }) {let i = (0, B.useRef)(null), a = (0, B.useRef)(!1), o = (0, B.useRef)(!1), [s, c] = (0, B.useState)({busy: !1,error: ""@@ -25819,12 +25819,12 @@ function TA({ entity: e, load: t, enabled: n, children: r }) {...f,onClick: () => void u(!0),dangerouslySetInnerHTML: { __html: Pe("继续载入中…") }- }), s.error ? /* @__PURE__ */ (0, V.jsx)(mA, {+ }), s.error ? /* @__PURE__ */ (0, V.jsx)(pA, {message: s.error,onRetry: () => void u(!0)}) : null] });}-function wle(e, t, n, r, i) {+function Tle(e, t, n, r, i) {let [a, o] = (0, B.useState)([]), [s, c] = (0, B.useState)(null), l = (0, B.useRef)(0), u = (0, B.useRef)(0), d = (0, B.useRef)([]);return (0, B.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, B.useEffect)(() => {let n = t?.pages.length || 0;@@ -25833,7 +25833,7 @@ function wle(e, t, n, r, i) {let r = new AbortController();d.current.push(r);let i = n - 1;- G(`/api/items?${Ire(e.filters || {}, l.current)}`, r.signal).then((e) => {+ G(`/api/items?${Lre(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];if (!t.length) {l.current = 0;@@ -25849,7 +25849,7 @@ function wle(e, t, n, r, i) {}, [t]), (0, B.useLayoutEffect)(() => {if (!s) return;c(null);- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = Fre(n.length - e, f, d);+ let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = Ire(n.length - e, f, d);if (!p.length) return;let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {@@ -25859,7 +25859,7 @@ function wle(e, t, n, r, i) {}]);}, [s]), a;}-function Tle({ cut: e, props: t, onOpen: n }) {+function Ele({ cut: e, props: t, onOpen: n }) {let r = (0, B.useRef)(null), { wireDrag: i } = t;return (0, B.useEffect)(() => {r.current && i(r.current);@@ -25875,12 +25875,12 @@ function Tle({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, V.jsx)(xle, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, V.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, V.jsx)(Sle, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, V.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, V.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, V.jsx)(yA, {+ children: e.items.map((e) => /* @__PURE__ */ (0, V.jsx)(vA, {item: e,variant: "short",layout: t.layout,@@ -25894,17 +25894,17 @@ function Tle({ cut: e, props: t, onOpen: n }) {})]});}-function EA(e, t, n) {+function TA(e, t, n) {return N(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function Ele({ seed: e, layout: t, helpers: n, actions: r }) {+function Dle({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, B.useRef)(/* @__PURE__ */ new Map()), a = (0, B.useRef)(t);a.current = t;let o = P(e, n.tagLabel), s = (0, B.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => MC(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), EA(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = EA(e, t, !1);- return /* @__PURE__ */ (0, V.jsx)(CA, {+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => jC(e, t.javImage)).slice(0, 9);+ return i.current = new Map(n.map((e) => [String(e.id), TA(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = TA(e, t, !1);+ return /* @__PURE__ */ (0, V.jsx)(SA, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -25914,12 +25914,12 @@ function Ele({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : EA(e, {+ artworkIdentity: c === "small" ? l.html : TA(e, {...t,size: "small"}, !1).html,relayoutArt: (e) => ne(e, c),- ratio: _A(e, "grid", t),+ ratio: gA(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -25931,31 +25931,31 @@ function Ele({ seed: e, layout: t, helpers: n, actions: r }) {}//#endregion//#region src/react/media-sources.ts-async function DA(e) {+async function EA(e) {await z.fetchQuery({queryKey: et,queryFn: () => nt(e)});}-var Dle = [+var Ole = ["local","115","pikpak"-], Ole = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), kle = "/api/duplicates?limit=120", OA = ["duplicates"], kA = "/api/batch", AA = (e) => G(kle, e);-async function Ale(e) {+], kle = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Ale = "/api/duplicates?limit=120", DA = ["duplicates"], OA = "/api/batch", kA = (e) => G(Ale, e);+async function jle(e) {await Promise.all([z.fetchQuery({- queryKey: OA,- queryFn: () => AA(e)- }), DA(e)]);+ queryKey: DA,+ queryFn: () => kA(e)+ }), EA(e)]);}-var jA = {+var AA = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, jle = (e, t) => t.filter((t) => e.some((e) => e.location === t)), MA = (e, t) => jle(e, t).filter((t) => e.some((e) => e.location !== t)), Mle = (e, t) => t.filter((t) => e.some((e) => MA(e.files, [t]).length));-function Nle(e, t) {+}, Mle = (e, t) => t.filter((t) => e.some((e) => e.location === t)), jA = (e, t) => Mle(e, t).filter((t) => e.some((e) => e.location !== t)), Nle = (e, t) => t.filter((t) => e.some((e) => jA(e.files, [t]).length));+function Ple(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -25974,47 +25974,47 @@ function Nle(e, t) {}return n;}-function Ple(e, t) {+function Fle(e, t) {let n = new Set(t);return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);}-async function NA(e, t) {- for (let n = 0; n < e.length; n += 200) await K(kA, {+async function MA(e, t) {+ for (let n = 0; n < e.length; n += 200) await K(OA, {ids: e.slice(n, n + 200),operation: t});}//#endregion//#region src/react/library-processing/library-processing.ts-var PA = "/api/library-processing", FA = ["library-processing"], IA = (e) => G(PA, e);-async function LA(e) {+var NA = "/api/library-processing", PA = ["library-processing"], FA = (e) => G(NA, e);+async function IA(e) {await z.fetchQuery({- queryKey: FA,- queryFn: () => IA(e)+ queryKey: PA,+ queryFn: () => FA(e)});}-var Fle = 2e3, Ile = 1e4, RA = "连接中断,正在重新读取处理进度";-function Lle(e, t) {- return e?.status === "running" ? Fle : t ? Ile : !1;+var Ile = 2e3, Lle = 1e4, LA = "连接中断,正在重新读取处理进度";+function Rle(e, t) {+ return e?.status === "running" ? Ile : t ? Lle : !1;}-var Rle = {+var zle = {reading_local: "读取本地资料",querying_metadata: "查询外部资料",fetching_cover: "采集缺失封面",writing_candidates: "保存资料候选"-}, zA = {+}, RA = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function zle(e) {- let t = Object.entries(e).filter(([e, t]) => zA[e] && t > 0).map(([e, t]) => `${zA[e]} ${t} 部`);+function Ble(e) {+ let t = Object.entries(e).filter(([e, t]) => RA[e] && t > 0).map(([e, t]) => `${RA[e]} ${t} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function BA(e) {- let t = Rle[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";+function zA(e) {+ let t = zle[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function Ble(e) {+function Vle(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -26028,21 +26028,21 @@ function Ble(e) {log: e.issues_log || ""} : null;}-var VA = "peach.library-processing.announced", Vle = 120;-function Hle(e, t, n) {+var BA = "peach.library-processing.announced", Hle = 120;+function Ule(e, t, n) {if (e.status !== "complete") return;- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Vle;+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Hle;if (!(!n && !r)) {try {- if (e.job_id && localStorage.getItem(VA) === e.job_id) return;- e.job_id && localStorage.setItem(VA, e.job_id);+ if (e.job_id && localStorage.getItem(BA) === e.job_id) return;+ e.job_id && localStorage.setItem(BA, e.job_id);} catch {}t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);}}//#endregion//#region src/react/media-repair/media-repair.ts-var HA = "/api/media-repair", UA = ["media-repair"], WA = ["media-repair", "libraries"], Ule = {+var VA = "/api/media-repair", HA = ["media-repair"], UA = ["media-repair", "libraries"], Wle = {status: "idle",library: "",stage: "",@@ -26054,33 +26054,33 @@ var HA = "/api/media-repair", UA = ["media-repair"], WA = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, GA = (e) => G(HA, e), KA = async (e) => (await G("/api/libraries", e)).libraries || [];-async function Wle(e) {+}, WA = (e) => G(VA, e), GA = async (e) => (await G("/api/libraries", e)).libraries || [];+async function Gle(e) {await Promise.all([z.fetchQuery({+ queryKey: HA,+ queryFn: () => WA(e)+ }), z.fetchQuery({queryKey: UA,queryFn: () => GA(e)- }), z.fetchQuery({- queryKey: WA,- queryFn: () => KA(e)})]);}-var qA = (e) => Number(e).toLocaleString();-function Gle(e) {+var KA = (e) => Number(e).toLocaleString();+function Kle(e) {if (e.status === "running") {- let t = e.total ? `${qA(e.checked)} / ${qA(e.total)}` : "准备中";+ let t = e.total ? `${KA(e.checked)} / ${KA(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${qA(e.repaired)} 部,${qA(e.failed)} 部修不了` : `修好 ${qA(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${KA(e.repaired)} 部,${KA(e.failed)} 部修不了` : `修好 ${KA(e.repaired)} 部` : "";}-var Kle = (e) => `${qA(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, qle = "/api/quality-goals?limit=200", JA = ["quality-goals"], YA = (e) => G(qle, e);-async function Jle(e) {+var qle = (e) => `${KA(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Jle = "/api/quality-goals?limit=200", qA = ["quality-goals"], JA = (e) => G(Jle, e);+async function Yle(e) {await z.fetchQuery({- queryKey: JA,- queryFn: () => YA(e)+ queryKey: qA,+ queryFn: () => JA(e)});}-var Yle = (e) => e.has_cover ? D(e) : `/poster?id=${e.id}&c=4`;-function XA(e, t, n = 1) {+var Xle = (e) => e.has_cover ? D(e) : `/poster?id=${e.id}&c=4`;+function YA(e, t, n = 1) {let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);if (n * 2 + 5 >= t) return r(1, t);let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;@@ -26100,21 +26100,21 @@ function XA(e, t, n = 1) {t];}-function ZA(e, t) {+function XA(e, t) {return Math.max(1, Math.ceil(e / t));}-function QA(e, t) {+function ZA(e, t) {return Math.min(Math.max(1, Math.floor(e) || 1), t);}//#endregion//#region src/selection.ts-function Xle(e, t, n, r, i, a = i || !e.has(r)) {+function Zle(e, t, n, r, i, a = i || !e.has(r)) {let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;}//#endregion//#region src/react/time.ts-function $A(e) {+function QA(e) {if (!e) return "";let t = /[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`, n = new Date(t);if (Number.isNaN(n.getTime())) return String(e).replace("T", " ").slice(0, 16);@@ -26123,7 +26123,7 @@ function $A(e) {}//#endregion//#region src/react/review/review.ts-var Zle = "/api/review", Qle = "/api/review/decision", $le = "/api/review/genre", ej = ["review"], tj = {+var Qle = "/api/review", $le = "/api/review/decision", eue = "/api/review/genre", $A = ["review"], ej = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -26133,15 +26133,15 @@ var Zle = "/api/review", Qle = "/api/review/decision", $le = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, eue = Object.keys(tj), tue = "metadata_fields", nj = (e) => typeof e == "string" && Object.hasOwn(tj, e), nue = {+}, tue = Object.keys(ej), nue = "metadata_fields", tj = (e) => typeof e == "string" && Object.hasOwn(ej, e), rue = {creator_tags: "creator",western_identity: "creator"};-function rue(e, t) {+function iue(e, t) {let n = [["candidates", t ? "按候选数量" : "全部待复核"]];return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;}-function rj(e, t) {+function nj(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -26158,43 +26158,43 @@ function rj(e, t) {}return [...n.values()];}-function iue(e, t, n) {- return n && rj(e, t).find((e) => e.key === n)?.rows || e;+function aue(e, t, n) {+ return n && nj(e, t).find((e) => e.key === n)?.rows || e;}-function aue(e, t) {- let n = ZA(e.length, 20), r = QA(t, n);+function oue(e, t) {+ let n = XA(e.length, 20), r = ZA(t, n);return {page: r,pages: n,rows: e.slice((r - 1) * 20, r * 20)};}-function oue(e) {+function sue(e) {return e.length ? [...new Set(e.flatMap((e) => e.candidates?.map((e) => e.source || "") || []))].filter((t) => t && e.every((e) => e.candidates?.filter((e) => e.source === t).length === 1)) : [];}-function sue(e, t, n, r, i, a) {- return Xle(e, t, n, r, i, a);+function cue(e, t, n, r, i, a) {+ return Zle(e, t, n, r, i, a);}-function ij(e, t) {+function rj(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function aj(e, t) {+function ij(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var oj = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function cue(e, t) {- let n = aj(e, t), r = oj(e, t);+var aj = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function lue(e, t) {+ let n = ij(e, t), r = aj(e, t);return r ? `${n} · ${r}` : n;}-var lue = (e) => e.reason || e.evidence || e.note || e.decision_note || "", uue = (e) => String(e.tags || "").split("|").filter(Boolean), due = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function fue(e) {+var uue = (e) => e.reason || e.evidence || e.note || e.decision_note || "", due = (e) => String(e.tags || "").split("|").filter(Boolean), fue = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function pue(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function sj(e, t, n, r) {+function oj(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -26210,19 +26210,19 @@ function sj(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var pue = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", cj = (e) => G(Zle, e), lj = (e) => K(Qle, e), mue = (e, t) => K($le, {+var mue = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", sj = (e) => G(Qle, e), cj = (e) => K($le, e), hue = (e, t) => K(eue, {genre: e,tag: t});-async function hue(e) {+async function gue(e) {await z.fetchQuery({- queryKey: ej,- queryFn: () => cj(e)+ queryKey: $A,+ queryFn: () => sj(e)});}-function uj(e, t) {+function lj(e, t) {let n = new Set(t);- n.size && z.setQueryData(ej, (t) => {+ n.size && z.setQueryData($A, (t) => {if (!t) return t;let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));return i.length === r.length ? t : {@@ -26238,207 +26238,207 @@ function uj(e, t) {};});}-var gue = () => z.invalidateQueries({- queryKey: ej,+var _ue = () => z.invalidateQueries({+ queryKey: $A,exact: !0});-function _ue(e, t) {- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${$A(e.fetched_at)} 的缓存` : e?.error || t;+function vue(e, t) {+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${QA(e.fetched_at)} 的缓存` : e?.error || t;}//#endregion//#region src/react/data-cleanup/links.ts-var vue = "/api/links", dj = "/api/links/check", fj = "/api/links/prune", pj = ["links"], mj = ["links", "check"], hj = ["links", "prune"], gj = {+var yue = "/api/links", uj = "/api/links/check", dj = "/api/links/prune", fj = ["links"], pj = ["links", "check"], mj = ["links", "prune"], hj = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",source_reference: "资料出处"};-async function _j(e) {+async function gj(e) {let t = await e;if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var vj = (e) => G(vue, e), yj = (e) => K(dj, { status_only: !0 }, "POST", e), yue = ({ retry: e, checkId: t }) => _j(K(dj, e ? {+var _j = (e) => G(yue, e), vj = (e) => K(uj, { status_only: !0 }, "POST", e), bue = ({ retry: e, checkId: t }) => gj(K(uj, e ? {retry: e,check_id: t-} : { restart: !0 })), bj = (e) => G(fj, e), bue = (e) => _j(K(fj, {+} : { restart: !0 })), yj = (e) => G(dj, e), xue = (e) => gj(K(dj, {confirm: !0,check_id: e,background: !0-})), xj = (e) => Number(e || 0).toLocaleString(), xue = (e) => `已删除 ${xj(e.removed)} 条;${e.marked ? `已隐退女优的 ${xj(e.marked)} 条留作不可点的记录;` : ""}保留 ${xj(e.recovered)} 条未确认失效的链接。`;-function Sue(e) {+})), bj = (e) => Number(e || 0).toLocaleString(), Sue = (e) => `已删除 ${bj(e.removed)} 条;${e.marked ? `已隐退女优的 ${bj(e.marked)} 条留作不可点的记录;` : ""}保留 ${bj(e.recovered)} 条未确认失效的链接。`;+function Cue(e) {let t = e.scope === "retry";- return e.total ? `${t ? "已重验" : "已检查"} ${xj(e.checked)} / ${xj(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";+ return e.total ? `${t ? "已重验" : "已检查"} ${bj(e.checked)} / ${bj(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}//#endregion//#region src/react/settings-panel/settings-data.ts-var Sj = "/api/settings", Cj = "/api/follow/schedule", wj = "/api/thumbnail-jobs", Tj = ["settings"], Ej = ["follow-schedule"], Dj = ["thumbnail-jobs"], Cue = (e) => G(Sj, e), Oj = (e) => G(Cj, e), kj = (e) => G(wj, e);-function wue(e = z) {+var xj = "/api/settings", Sj = "/api/follow/schedule", Cj = "/api/thumbnail-jobs", wj = ["settings"], Tj = ["follow-schedule"], Ej = ["thumbnail-jobs"], wue = (e) => G(xj, e), Dj = (e) => G(Sj, e), Oj = (e) => G(Cj, e);+function Tue(e = z) {return e.fetchQuery({- queryKey: Ej,- queryFn: ({ signal: e }) => Oj(e),+ queryKey: Tj,+ queryFn: ({ signal: e }) => Dj(e),staleTime: 0}).catch(() => null), e.fetchQuery({- queryKey: Dj,- queryFn: ({ signal: e }) => kj(e),+ queryKey: Ej,+ queryFn: ({ signal: e }) => Oj(e),staleTime: 0}).catch(() => null), e.fetchQuery({- queryKey: Tj,- queryFn: ({ signal: e }) => Cue(e),+ queryKey: wj,+ queryFn: ({ signal: e }) => wue(e),staleTime: 0}).catch(() => null);}-function Aj() {- return OS({- mutationFn: (e) => K(Sj, e),- onSuccess: (e) => z.setQueryData(Tj, e)+function kj() {+ return DS({+ mutationFn: (e) => K(xj, e),+ onSuccess: (e) => z.setQueryData(wj, e)});}-function Tue() {- return OS({- mutationFn: (e) => K(Cj, {+function Eue() {+ return DS({+ mutationFn: (e) => K(Sj, {enabled: e > 0,interval_minutes: e || 60}),- onSuccess: (e) => z.setQueryData(Ej, e)+ onSuccess: (e) => z.setQueryData(Tj, e)});}-function Eue() {- return OS({- mutationFn: (e) => K(wj, { mode: e }),- onSuccess: (e) => z.setQueryData(Dj, e)+function Due() {+ return DS({+ mutationFn: (e) => K(Cj, { mode: e }),+ onSuccess: (e) => z.setQueryData(Ej, e)});}-function Due(e) {- return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${$A(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${$A(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";-}function Oue(e) {+ return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${QA(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${QA(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";+}+function kue(e) {return e.status === "running" ? "正在采集,进度在活动页查看。" : e.status === "failed" ? `上一轮采集停下了:${e.stopped || "原因未取得"}` : e.status === "complete" ? e.stopped ? "上一轮采集已按停。" : "上一轮采集已完成。" : e.mode === "off" ? "关闭时不采集;已经生成的图留在盘上,清理走数据管理页。" : "选定档位后从最近看过的片子开始采集。";}//#endregion//#region src/react/data-cleanup/organize.ts-var kue = "/api/organize", Aue = "/api/organize/preview", jue = "/api/organize/apply", Mue = "/api/organize/rollback", jj = ["organize"], Mj = (e) => G(kue, e);-async function Nue(e) {+var Aue = "/api/organize", jue = "/api/organize/preview", Mue = "/api/organize/apply", Nue = "/api/organize/rollback", Aj = ["organize"], jj = (e) => G(Aue, e);+async function Pue(e) {await z.fetchQuery({- queryKey: jj,- queryFn: () => Mj(e)+ queryKey: Aj,+ queryFn: () => jj(e)});}-var Pue = (e) => K(Aue, e), Fue = (e) => e.kind === "apply" ? K(jue, {+var Fue = (e) => K(jue, e), Iue = (e) => e.kind === "apply" ? K(Mue, {...e.request,confirm: !0-}) : K(Mue, { confirm: !0 });-async function Iue(e) {- z.setQueryData(jj, (t) => t && {+}) : K(Nue, { confirm: !0 });+async function Lue(e) {+ z.setQueryData(Aj, (t) => t && {...t,templates: e});try {- await K(Sj, { organizeTemplates: e });+ await K(xj, { organizeTemplates: e });} catch {}}-var Lue = (e, t) => e && {+var Rue = (e, t) => e && {...e,...t-}, Rue = /目录模板|分隔符|盘符|`\.`/;-function Nj(e) {+}, zue = /目录模板|分隔符|盘符|`\.`/;+function Mj(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}-var Pj = (e) => Number(e || 0).toLocaleString();-function zue(e) {- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${Pj(t)}`).join(" · ");- return Number(e.counts?.change || 0) ? `${Pj(e.counts.change)} 个文件会改名或移动,${Pj(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;+var Nj = (e) => Number(e || 0).toLocaleString();+function Bue(e) {+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${Nj(t)}`).join(" · ");+ return Number(e.counts?.change || 0) ? `${Nj(e.counts.change)} 个文件会改名或移动,${Nj(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function Fj(e) {+function Pj(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {- text: t ? `已退回 ${Pj(r)} 个文件${n ? `,${Pj(n)} 行未能退回` : ""}。` : `已整理 ${Pj(r)} 个文件${n ? `,${Pj(n)} 行未能处理` : ""}。`,+ text: t ? `已退回 ${Nj(r)} 个文件${n ? `,${Nj(n)} 行未能退回` : ""}。` : `已整理 ${Nj(r)} 个文件${n ? `,${Nj(n)} 行未能处理` : ""}。`,failed: n,rollback: t};}//#endregion//#region src/react/data-cleanup/resource-sync.ts-var Ij = "/api/resource-sync/scan", Lj = "/api/resource-sync/apply", Rj = ["resource-sync", "scan"], zj = ["resource-sync", "apply"], Bj = (e) => K(Ij, {+var Fj = "/api/resource-sync/scan", Ij = "/api/resource-sync/apply", Lj = ["resource-sync", "scan"], Rj = ["resource-sync", "apply"], zj = (e) => K(Fj, {background: !0,status_only: !0-}, "POST", e), Bue = () => K(Ij, {+}, "POST", e), Vue = () => K(Fj, {background: !0,restart: !0-}), Vj = (e) => G(Lj, e), Vue = (e) => K(Lj, {+}), Bj = (e) => G(Ij, e), Hue = (e) => K(Ij, {confirm: !0,clean_cache: !0,scan_id: e,background: !0-}), Hj = (e) => (e?.sources ?? []).some((e) => Dle.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function Hue(e) {- Hj(z.getQueryData(tt)) && await Promise.all([z.fetchQuery({+}), Vj = (e) => (e?.sources ?? []).some((e) => Ole.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+async function Uue(e) {+ Vj(z.getQueryData(tt)) && await Promise.all([z.fetchQuery({+ queryKey: Lj,+ queryFn: () => zj(e)+ }), z.fetchQuery({queryKey: Rj,queryFn: () => Bj(e)- }), z.fetchQuery({- queryKey: zj,- queryFn: () => Vj(e)})]);}-var Uue = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Wue = {+var Wue = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Gue = {local: "本地磁盘",115: "115",pikpak: "PikPak"-}, Uj = (e) => Number(e || 0).toLocaleString(), Gue = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Wj = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), Gj = (e) => e.vanish ? `${Uj(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", Kj = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Kue = (e) => `将永久删除文件已不在盘上的 ${Uj(Wj(e))} 条记录和 ${Uj(e.empty)} 个空文件夹,并清理 ${Uj(e.cache?.files)} 个闲置缓存。${Kj(e)}${Gj(e)}`, que = (e) => `将永久删除文件已不在盘上的 ${Uj(Wj(e))} 条记录(含回收站里的)、${Uj(e.empty)} 个空文件夹,并清理 ${Uj(e.cache?.files)} 个闲置缓存。来源根目录保留。${Kj(e)}${Gj(e)}`, Jue = (e) => e.online ? [- `找不到文件 · 共 ${Uj(e.total)} 项`,- e.vanish ? `${Uj(e.vanish)} 项带个人记录` : "",- e.empty ? `空文件夹 ${Uj(e.empty)} 个` : "",- e.unreadable ? `${Uj(e.unreadable)} 个目录读取失败,已跳过` : ""-].filter(Boolean).join(" · ") : `馆藏中有 ${Uj(e.total)} 项`;-function qj(e) {+}, Hj = (e) => Number(e || 0).toLocaleString(), Kue = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Uj = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), Wj = (e) => e.vanish ? `${Hj(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", Gj = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", que = (e) => `将永久删除文件已不在盘上的 ${Hj(Uj(e))} 条记录和 ${Hj(e.empty)} 个空文件夹,并清理 ${Hj(e.cache?.files)} 个闲置缓存。${Gj(e)}${Wj(e)}`, Jue = (e) => `将永久删除文件已不在盘上的 ${Hj(Uj(e))} 条记录(含回收站里的)、${Hj(e.empty)} 个空文件夹,并清理 ${Hj(e.cache?.files)} 个闲置缓存。来源根目录保留。${Gj(e)}${Wj(e)}`, Yue = (e) => e.online ? [+ `找不到文件 · 共 ${Hj(e.total)} 项`,+ e.vanish ? `${Hj(e.vanish)} 项带个人记录` : "",+ e.empty ? `空文件夹 ${Hj(e.empty)} 个` : "",+ e.unreadable ? `${Hj(e.unreadable)} 个目录读取失败,已跳过` : ""+].filter(Boolean).join(" · ") : `馆藏中有 ${Hj(e.total)} 项`;+function Kj(e) {let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");return {done: i,left: a,rest: [- t.length ? `${Uj(t.length)} 条记录没有删除(${o})` : "",- n ? `${Uj(n)} 个文件夹没有删除` : "",- r.length ? `${Uj(r.length)} 个缓存没有清理` : ""+ t.length ? `${Hj(t.length)} 条记录没有删除(${o})` : "",+ n ? `${Hj(n)} 个文件夹没有删除` : "",+ r.length ? `${Hj(r.length)} 个缓存没有清理` : ""].filter(Boolean).join(",")};}-var Yue = (e, t) => {- let { rest: n } = qj(e), r = `已永久删除 ${Uj(e.purged)} 条失效记录和 ${Uj(e.dirs_removed)} 个空文件夹,清理 ${Uj(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${Uj(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${Uj(e.reattached)} 条的记录已接到库里的另一个版本。` : "");+var Xue = (e, t) => {+ let { rest: n } = Kj(e), r = `已永久删除 ${Hj(e.purged)} 条失效记录和 ${Hj(e.dirs_removed)} 个空文件夹,清理 ${Hj(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${Hj(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${Hj(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, Xue = "/api/review?counts=1", Jj = ["review", "counts"], Zue = "/api/ads?limit=1", Yj = ["junk-summary"], Xj = "/api/items?state=trash&limit=1", Zj = ["trash-summary"], Que = [+}, Zue = "/api/review?counts=1", qj = ["review", "counts"], Que = "/api/ads?limit=1", Jj = ["junk-summary"], Yj = "/api/items?state=trash&limit=1", Xj = ["trash-summary"], $ue = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], Qj = (e) => G(Xue, e), $j = (e) => G(Zue, e), eM = (e) => {+], Zj = (e) => G(Zue, e), Qj = (e) => G(Que, e), $j = (e) => {let t = sessionStorage.getItem("peach.library");- return G(t ? `${Xj}&library=${encodeURIComponent(t)}` : Xj, e);-}, tM = (e) => Number(e || 0).toLocaleString();-function $ue(e) {- let t = tj, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);+ return G(t ? `${Yj}&library=${encodeURIComponent(t)}` : Yj, e);+}, eM = (e) => Number(e || 0).toLocaleString();+function ede(e) {+ let t = ej, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);return a && i.push(`其余 ${a.toLocaleString()}`), {figure: `${r.toLocaleString()} 条待复核`,meta: i.join(" · ")};}-function ede(e) {+function tde(e) {if (!e) return "";- let t = Que.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${tM(e.counts[t])}`);- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${tM(e.dismissed_total)}`), t.join(" · ");-}-var tde = [- [Jj, ({ signal: e }) => Qj(e)],- [JA, ({ signal: e }) => YA(e)],- [Zj, ({ signal: e }) => eM(e)],+ let t = $ue.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${eM(e.counts[t])}`);+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${eM(e.dismissed_total)}`), t.join(" · ");+}+var nde = [+ [qj, ({ signal: e }) => Zj(e)],+ [qA, ({ signal: e }) => JA(e)],+ [Xj, ({ signal: e }) => $j(e)],+ [fj, ({ signal: e }) => _j(e)],[pj, ({ signal: e }) => vj(e)],- [mj, ({ signal: e }) => yj(e)],- [hj, ({ signal: e }) => bj(e)]+ [mj, ({ signal: e }) => yj(e)]];-async function nde(e) {- let t = location.hash === "#resource-sync", n = tde.map(([n, r]) => {+async function rde(e) {+ let t = location.hash === "#resource-sync", n = nde.map(([n, r]) => {if (t) return z.fetchQuery({queryKey: n,queryFn: () => r({ signal: e })@@ -26451,40 +26451,40 @@ async function nde(e) {await Promise.all([...n,z.fetchQuery({- queryKey: Yj,- queryFn: () => $j(e)+ queryKey: Jj,+ queryFn: () => Qj(e)}),z.fetchQuery({- queryKey: OA,- queryFn: () => AA(e)+ queryKey: DA,+ queryFn: () => kA(e)}),- DA(e).then(() => Hue(e)),- LA(e),- Wle(e),- Nue(e)+ EA(e).then(() => Uue(e)),+ IA(e),+ Gle(e),+ Pue(e)]);}//#endregion//#region src/react/components/stat-card.tsx-var rde = [+var ide = ["text-chart-6","text-chart-5","text-chart-7","text-chart-8"-], ide = [+], ade = ["bg-chart-6/10","bg-chart-5/10","bg-chart-7/10","bg-chart-8/10"];-function nM(e = {}) {+function tM(e = {}) {return `${xE({...e,padding: "none"})} flex flex-col overflow-hidden pt-4 text-left`;}-var rM = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", ade = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";-function iM({ interactive: e = !1 } = {}) {+var nM = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", ode = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";+function rM({ interactive: e = !1 } = {}) {return xE({padding: "none",radius: "plain",@@ -26492,8 +26492,8 @@ function iM({ interactive: e = !1 } = {}) {className: "flex min-h-33 flex-col gap-2 p-4 text-left"});}-var ode = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";-function aM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {+var sde = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";+function iM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",@@ -26526,13 +26526,13 @@ function aM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta})] });}-function oM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {+function aM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",children: [t ? /* @__PURE__ */ (0, V.jsx)("i", {"aria-hidden": !0,- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${rde[n % 4]} ${ide[n % 4]}`,+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${ide[n % 4]} ${ade[n % 4]}`,children: /* @__PURE__ */ (0, V.jsx)(t, {"aria-hidden": !0,className: "size-4"@@ -26554,8 +26554,8 @@ function oM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {}//#endregion//#region src/react/components/menu-dialog.tsx-function sM(e) {- let t = Xk("hover");+function oM(e) {+ let t = Yk("hover");return /* @__PURE__ */ (0, V.jsx)(lk, {...e,ref: t@@ -26563,7 +26563,7 @@ function sM(e) {}//#endregion//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var cM = [+var sM = ["max-w-[calc(100vw-32px)] overflow-y-auto","rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown","transition duration-150 ease-out",@@ -26571,74 +26571,74 @@ var cM = ["data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]","data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left","data-[placement=left]:origin-right data-[placement=right]:origin-left"-].join(" "), sde = "w-[266px]", cde = "flex w-full flex-col gap-1 outline-none", lM = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), uM = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+].join(" "), cde = "w-[266px]", lde = "flex w-full flex-col gap-1 outline-none", cM = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), lM = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";({medium: "h-9 rounded-2lg p-2 text-body-medium",small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"}).medium;//#endregion//#region src/management.ts-var lde = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", ude = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", dde = xE({+var ude = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", dde = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", fde = xE({padding: "none",bordered: "line",className: "overflow-hidden"-}), fde = {+}), pde = {split: "min-w-0 p-6",stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"-}, pde = {+}, mde = {split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"-}, mde = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", hde = {+}, hde = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", gde = {neutral: "border-border-button-default bg-card-footer",error: "border-border-error-default bg-background-tertiary-error"-}, gde = xE({+}, _de = xE({padding: "none",radius: "surface",bordered: "line",className: "overflow-hidden"-}), dM = "border-t border-border-button-default p-4 first:border-t-0";-function fM({ tone: e = "neutral", status: t, children: n }) {+}), uM = "border-t border-border-button-default p-4 first:border-t-0";+function dM({ tone: e = "neutral", status: t, children: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {- className: `${mde} ${hde[e]}`,+ className: `${hde} ${gde[e]}`,children: [t ? /* @__PURE__ */ (0, V.jsx)("p", {className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,children: t}) : null, n]});}-function pM({ id: e, children: t }) {+function fM({ id: e, children: t }) {return /* @__PURE__ */ (0, V.jsx)("h2", {id: e,className: "text-title-2-medium! m-0! text-text-primary",children: t});}-function mM({ id: e, gap: t = "none", children: n }) {+function pM({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, V.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function hM({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function mM({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, V.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: `${dde} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,+ className: `${fde} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,children: [/* @__PURE__ */ (0, V.jsx)("div", {- className: fde[e],+ className: pde[e],children: a}), i ? /* @__PURE__ */ (0, V.jsx)("footer", {- className: pde[e],+ className: mde[e],children: i}) : null]});}//#endregion//#region src/react/components/overlay-scrollbar.ts-function gM() {+function hM() {let e = (0, B.useRef)(null);return (0, B.useEffect)(() => {Ce(e.current);@@ -26646,7 +26646,7 @@ function gM() {}//#endregion//#region src/react/boardui/components/base/buttons/icon-button.tsx-var _M = gE({+var gM = gE({base: ["relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg","bg-background-primary-default text-foreground-icon-primary",@@ -26667,21 +26667,21 @@ var _M = gE({small: "size-4 shrink-0"}});-function vM({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function _M({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, V.jsx)("button", {ref: i,type: r,- className: hE(_M.base, _M.size[t], n),+ className: hE(gM.base, gM.size[t], n),...a,children: /* @__PURE__ */ (0, V.jsx)(e, {- className: _M.icon[t],+ className: gM.icon[t],"aria-hidden": !0})});}//#endregion//#region src/react/components/path-line.tsx-function _de({ className: e }) {+function vde({ className: e }) {return /* @__PURE__ */ (0, V.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -26694,8 +26694,8 @@ function _de({ className: e }) {children: /* @__PURE__ */ (0, V.jsx)("use", { href: "#i-folder-open" })});}-var vde = "打开文件管理器失败,请重试";-function yM({ path: e, prefix: t, className: n, onRevealed: r }) {+var yde = "打开文件管理器失败,请重试";+function vM({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, B.useState)(!1), [o, s] = (0, B.useState)(""), c = (0, B.useRef)(!0);(0, B.useEffect)(() => () => {c.current = !1;@@ -26706,7 +26706,7 @@ function yM({ path: e, prefix: t, className: n, onRevealed: r }) {try {await K("/api/reveal", { path: e }), r?.("已在资源管理器中显示");} catch (e) {- c.current && s(e instanceof jS ? e.message : vde);+ c.current && s(e instanceof AS ? e.message : yde);} finally {c.current && a(!1);}@@ -26719,8 +26719,8 @@ function yM({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, V.jsxs)("p", {className: hE("min-w-0 break-all", n),children: [t, e]- }), /* @__PURE__ */ (0, V.jsx)(vM, {- icon: _de,+ }), /* @__PURE__ */ (0, V.jsx)(_M, {+ icon: vde,size: "small",className: "shrink-0","aria-label": "在资源管理器中显示",@@ -26735,7 +26735,7 @@ function yM({ path: e, prefix: t, className: n, onRevealed: r }) {}//#endregion//#region src/react/components/task-progress.tsx-function bM({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function yM({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, V.jsx)("div", {"data-task-progress": !0,className: r ? "flex flex-col gap-1.5" : xE({@@ -26755,18 +26755,18 @@ function bM({ label: e, value: t = 0, total: n, embedded: r = !1 }) {}//#endregion//#region src/react/library-processing/use-library-processing.ts-function xM({ toast: e, mode: t, monitor: n }) {- let r = t === "notice" || !!n, i = TS({- queryKey: FA,- queryFn: ({ signal: e }) => IA(e),- refetchInterval: (e) => Lle(e.state.data, r)+function bM({ toast: e, mode: t, monitor: n }) {+ let r = t === "notice" || !!n, i = wS({+ queryKey: PA,+ queryFn: ({ signal: e }) => FA(e),+ refetchInterval: (e) => Rle(e.state.data, r)}), [a, o] = (0, B.useState)(null), s = (0, B.useRef)(void 0), c = i.data;return (0, B.useEffect)(() => {if (!c) return;let n = s.current;s.current = c.status;let r = n === "running" && c.status !== "running";- r && o(c), (r || t === "notice") && Hle(c, e, r);+ r && o(c), (r || t === "notice") && Ule(c, e, r);}, [c,t,@@ -26779,7 +26779,7 @@ function xM({ toast: e, mode: t, monitor: n }) {}//#endregion//#region src/react/library-processing/library-processing-card.tsx-var yde = [+var bde = [{label: "扫描并补全资料",icon: pT,@@ -26795,13 +26795,13 @@ var yde = [icon: dae,command: { stage: "collect" }}-], bde = hE(lM, uM, "text-body-2-medium"), xde = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Sde = (e) => {+], xde = hE(cM, lM, "text-body-2-medium"), Sde = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Cde = (e) => {let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;if (!t && !n && !r && !i) return "";let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];return r && a.push(`${r} 个同名冲突交回人工`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;-}, Cde = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Sde(e);-function wde({ busy: e, onRun: t }) {+}, wde = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Cde(e);+function Tde({ busy: e, onRun: t }) {let n = (0, B.useRef)(null), [r, i] = (0, B.useState)(!1), a = (n) => {e || (i(!1), t(n));};@@ -26832,13 +26832,13 @@ function wde({ busy: e, onRun: t }) {onOpenChange: i,placement: "bottom end",offset: 4,- className: cM,- children: /* @__PURE__ */ (0, V.jsx)(sM, {+ className: sM,+ children: /* @__PURE__ */ (0, V.jsx)(oM, {"aria-label": "更多扫描与采集方式",className: "flex w-52 flex-col gap-1 outline-none",- children: yde.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, V.jsxs)("button", {+ children: bde.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",- className: bde,+ className: xde,onClick: () => a(n),children: [/* @__PURE__ */ (0, V.jsx)(t, {"aria-hidden": !0,@@ -26848,8 +26848,8 @@ function wde({ busy: e, onRun: t }) {})})] });}-function Tde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = Ble(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = zle(e.notes || {}), c = gM();+function Ede({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = Vle(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Ble(e.notes || {}), c = hM();return /* @__PURE__ */ (0, V.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",@@ -26857,7 +26857,7 @@ function Tde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {e.status === "running" && e.stalled ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "warning",title: "处理较慢",- children: xde+ children: Sde}) : null,t || e.status === "failed" ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",@@ -26900,7 +26900,7 @@ function Tde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}), a.log ? /* @__PURE__ */ (0, V.jsx)("div", {className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",- children: /* @__PURE__ */ (0, V.jsx)(yM, {+ children: /* @__PURE__ */ (0, V.jsx)(vM, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -26914,13 +26914,13 @@ function Tde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {n?.status === "complete" ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "success",title: "处理完成",- children: Cde(n)+ children: wde(n)}) : null,e.status !== "running" && s ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "neutral",extra: e.issues_log ? /* @__PURE__ */ (0, V.jsx)("div", {className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",- children: /* @__PURE__ */ (0, V.jsx)(yM, {+ children: /* @__PURE__ */ (0, V.jsx)(vM, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -26932,22 +26932,22 @@ function Tde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function SM(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = xM(e), o = OS({- mutationFn: (e) => K(PA, e),+function xM(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = bM(e), o = DS({+ mutationFn: (e) => K(NA, e),onSuccess: (e) => {- a(), z.setQueryData(FA, e), z.invalidateQueries({ queryKey: FA });+ a(), z.setQueryData(PA, e), z.invalidateQueries({ queryKey: PA });}});(0, B.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? W(o.error) : r.isError ? r.data ? RA : W(r.error) : "", l = o.isPending || s.status === "running", u = BA(s), d = (e) => {+ let s = r.data ?? { status: "idle" }, c = o.error ? W(o.error) : r.isError ? r.data ? LA : W(r.error) : "", l = o.isPending || s.status === "running", u = zA(s), d = (e) => {l || (o.reset(), o.mutate(e));};return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, V.jsx)(hM, {+ children: [/* @__PURE__ */ (0, V.jsx)(mM, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [@@ -26963,7 +26963,7 @@ function SM(e) {trailingIcon: sT,children: "复核资料"}) : null,- /* @__PURE__ */ (0, V.jsx)(wde, {+ /* @__PURE__ */ (0, V.jsx)(Tde, {busy: l,onRun: d})@@ -26971,12 +26971,12 @@ function SM(e) {children: /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, V.jsx)(mM, { children: "扫描与采集" }),+ /* @__PURE__ */ (0, V.jsx)(pM, { children: "扫描与采集" }),/* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: lde+ children: ude}),- s.status === "running" ? /* @__PURE__ */ (0, V.jsx)(bM, {+ s.status === "running" ? /* @__PURE__ */ (0, V.jsx)(yM, {embedded: !0,label: u,value: s.checked,@@ -26984,7 +26984,7 @@ function SM(e) {}) : null]})- }), /* @__PURE__ */ (0, V.jsx)(Tde, {+ }), /* @__PURE__ */ (0, V.jsx)(Ede, {state: s,problem: c,settled: i,@@ -27000,7 +27000,7 @@ function SM(e) {}//#endregion//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function Ede(e) {+function Dde(e) {return /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -27014,7 +27014,7 @@ function Ede(e) {})});}-function Dde(e) {+function Ode(e) {return /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -27028,7 +27028,7 @@ function Dde(e) {}//#endregion//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function Ode(e, t, n) {+function kde(e, t, n) {(0, B.useEffect)(() => {if (!e) return;let r = (e) => {@@ -27042,7 +27042,7 @@ function Ode(e, t, n) {n]);}-function kde(e, t) {+function Ade(e, t) {let n = (0, B.useRef)(!1);return (0, B.useEffect)(() => {if (!e) return;@@ -27056,11 +27056,11 @@ function kde(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var CM = (0, B.createContext)("md");-function wM({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var SM = (0, B.createContext)("md");+function CM({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, B.useRef)(null), u = (0, B.useRef)(null), [d, f] = (0, B.useState)(!1);- Ode(d, () => f(!1), [l, u]);- let p = kde(d, l);+ kde(d, () => f(!1), [l, u]);+ let p = Ade(d, l);return /* @__PURE__ */ (0, V.jsx)(ece, {ref: s,...c,@@ -27073,16 +27073,16 @@ function wM({ className: e, triggerClassName: t, popoverClassName: n, size: r =children: [/* @__PURE__ */ (0, V.jsx)(rce, {className: hE("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, V.jsx)(Ede, { className: hE("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, V.jsx)(Dde, { className: hE("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]}), /* @__PURE__ */ (0, V.jsx)(QO, {ref: u,isNonModal: !0,offset: 4,- className: hE(sde, cM, "p-2", n),+ className: hE(cde, sM, "p-2", n),children: /* @__PURE__ */ (0, V.jsx)(xse, {items: a,- className: hE(cde, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, V.jsx)(CM.Provider, {+ className: hE(lde, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, V.jsx)(SM.Provider, {value: r,children: i})@@ -27090,30 +27090,30 @@ function wM({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function TM({ className: e, children: t, ...n }) {- let r = (0, B.useContext)(CM);+function wM({ className: e, children: t, ...n }) {+ let r = (0, B.useContext)(SM);return /* @__PURE__ */ (0, V.jsx)(wse, {...n,- className: (t) => hE(lM, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),+ className: (t) => hE(cM, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),children: t});}//#endregion//#region src/react/background-job.ts-var EM = 2e3, Ade = (e) => e, jde = (e, t) => t;-function DM(e) {- let { queryKey: t, jobOf: n = Ade, withJob: r = jde, idlePollMs: i } = e, [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(null), l = (0, B.useRef)(e);+var TM = 2e3, jde = (e) => e, Mde = (e, t) => t;+function EM(e) {+ let { queryKey: t, jobOf: n = jde, withJob: r = Mde, idlePollMs: i } = e, [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(null), l = (0, B.useRef)(e);(0, B.useEffect)(() => {l.current = e;});- let u = TS({+ let u = wS({queryKey: t,queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? EM : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? TM : i ?? !1;}- }), d = OS({+ }), d = DS({mutationFn: (e) => l.current.start(e),onSuccess: (e) => {o(!0), c(null), l.current.onStarted?.(e), z.setQueryData(t, (t) => r(t, e)), z.invalidateQueries({@@ -27142,32 +27142,32 @@ function DM(e) {}//#endregion//#region src/react/media-repair/media-repair-card.tsx-var Mde = (e) => Se[e] || e, OM = (e) => z.setQueryData(UA, e);-function Nde() {- let e = TS({+var Nde = (e) => Se[e] || e, DM = (e) => z.setQueryData(HA, e);+function Pde() {+ let e = wS({+ queryKey: HA,+ queryFn: ({ signal: e }) => WA(e),+ refetchInterval: (e) => e.state.data?.status === "running" && TM+ }), t = wS({queryKey: UA,- queryFn: ({ signal: e }) => GA(e),- refetchInterval: (e) => e.state.data?.status === "running" && EM- }), t = TS({- queryKey: WA,- queryFn: ({ signal: e }) => KA(e)- }), [n, r] = (0, B.useState)(""), i = DE(), a = e.data ?? Ule, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {+ queryFn: ({ signal: e }) => GA(e)+ }), [n, r] = (0, B.useState)(""), i = DE(), a = e.data ?? Wle, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {c && Te({title: `修复媒体库「${c.name}」`,body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),confirmLabel: "修复媒体库",- onConfirm: async () => OM(await K(HA, {+ onConfirm: async () => DM(await K(VA, {library: c.id,restart: !0}))});- }, u = () => void i.run("stop", (e) => K(HA, { stop: !0 }, "POST", e), OM), d = Gle(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");+ }, u = () => void i.run("stop", (e) => K(VA, { stop: !0 }, "POST", e), DM), d = Kle(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, V.jsx)(hM, {+ children: [/* @__PURE__ */ (0, V.jsx)(mM, {layout: "split",label: "媒体修复",- footer: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(wM, {+ footer: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": "媒体库",className: "w-48",selectedKey: c?.id ?? null,@@ -27175,10 +27175,10 @@ function Nde() {onSelectionChange: (e) => {e !== null && r(String(e));},- children: o.map((e) => /* @__PURE__ */ (0, V.jsxs)(TM, {+ children: o.map((e) => /* @__PURE__ */ (0, V.jsxs)(wM, {id: e.id,textValue: e.name,- children: [/* @__PURE__ */ (0, V.jsx)(UE, { mark: Mde(e.icon) }), e.name]+ children: [/* @__PURE__ */ (0, V.jsx)(UE, { mark: Nde(e.icon) }), e.name]}, e.id))}), s ? /* @__PURE__ */ (0, V.jsx)(J, {onClick: u,@@ -27192,10 +27192,10 @@ function Nde() {children: /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, V.jsx)(mM, { children: "媒体修复" }),+ /* @__PURE__ */ (0, V.jsx)(pM, { children: "媒体修复" }),/* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: ude+ children: dde}),s && a.total ? /* @__PURE__ */ (0, V.jsx)(EE, {label: "修复进度",@@ -27221,7 +27221,7 @@ function Nde() {f && a.missing_tool ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "warning",title: "缺少 untrunc",- children: Kle(a)+ children: qle(a)}) : null,p ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",@@ -27233,7 +27233,7 @@ function Nde() {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var kM = {+var OM = {md: {box: "size-4",glyph: "size-4",@@ -27247,8 +27247,8 @@ var kM = {gap: "gap-1.5"}};-function AM({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = kM[t], c = n || r, l = o && !a;+function kM({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = OM[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, V.jsx)("span", {"aria-hidden": !0,className: hE("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? hE("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : hE("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),@@ -27275,13 +27275,13 @@ function AM({ state: e, size: t = "md" }) {}//#endregion//#region src/react/boardui/components/base/checkbox/checkbox.tsx-function jM({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = kM[n];+function AM({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = OM[n];return /* @__PURE__ */ (0, V.jsx)(lse, {ref: r,...i,className: (t) => hE("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(AM, {+ children: (e) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(kM, {state: e,size: n}), t != null && /* @__PURE__ */ (0, V.jsx)("span", {@@ -27292,7 +27292,7 @@ function jM({ className: e, children: t, size: n = "md", ref: r, ...i }) {}//#endregion//#region src/react/boardui/components/base/table/table.tsx-function MM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+function jM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, V.jsx)("div", {className: hE("w-full overflow-x-auto", n),children: /* @__PURE__ */ (0, V.jsx)(_ce, {@@ -27304,7 +27304,7 @@ function MM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i}//#endregion//#region src/react/components/row-click.ts-var Pde = [+var Fde = ["a","button","input",@@ -27317,15 +27317,15 @@ var Pde = ["[role=\"link\"]","[role=\"menu\"]"].join(",");-function NM(e, t) {+function MM(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest(Pde);+ let r = n.closest(Fde);return !r || !t.contains(r) || r === t;}//#endregion//#region src/react/components/data-table-frame.tsx-function PM({ children: e, follow: t = !1, onRowClick: n }) {+function NM({ children: e, follow: t = !1, onRowClick: n }) {return /* @__PURE__ */ (0, V.jsx)("div", {"data-board-data-table": !0,"data-follow-table": t || void 0,@@ -27333,15 +27333,15 @@ function PM({ children: e, follow: t = !1, onRowClick: n }) {let t = e.target;if (!(t instanceof Element)) return;let r = t.closest("[role=\"row\"][data-key]");- r && NM(e, r) && n(r.dataset.key);+ r && MM(e, r) && n(r.dataset.key);} : void 0,children: e});}//#endregion//#region src/react/data-cleanup/link-manager.tsx-var Fde = iA("unlink"), FM = iA("rotate-cw"), Ide = "站点返回 404 或 410,确认这个地址不存在。", Lde = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Rde = "删除前会逐条重验一次;此操作不可撤销。", zde = "暂时无法读取进度,正在重新连接…", IM = (e) => Number(e || 0).toLocaleString();-function LM({ label: e, value: t, note: n }) {+var Ide = rA("unlink"), PM = rA("rotate-cw"), Lde = "站点返回 404 或 410,确认这个地址不存在。", Rde = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", zde = "删除前会逐条重验一次;此操作不可撤销。", Bde = "暂时无法读取进度,正在重新连接…", FM = (e) => Number(e || 0).toLocaleString();+function IM({ label: e, value: t, note: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-col gap-0.5",children: [@@ -27360,11 +27360,11 @@ function LM({ label: e, value: t, note: n }) {]});}-function RM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {+function LM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {if (!t.length) return null;let o = r ?? [], s = o.length > 0 && o.length === t.length;return /* @__PURE__ */ (0, V.jsxs)("div", {- className: dM,+ className: uM,children: [/* @__PURE__ */ (0, V.jsxs)("h4", {className: "mb-1 text-body-semibold text-text-primary",@@ -27377,13 +27377,13 @@ function RM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })className: "mb-3 text-caption-1-regular text-text-secondary",children: n}),- /* @__PURE__ */ (0, V.jsx)(PM, { children: /* @__PURE__ */ (0, V.jsxs)(MM, {+ /* @__PURE__ */ (0, V.jsx)(NM, { children: /* @__PURE__ */ (0, V.jsxs)(jM, {"aria-label": e,size: "sm",children: [/* @__PURE__ */ (0, V.jsxs)(Nk, { children: [i ? /* @__PURE__ */ (0, V.jsx)(Pk, {id: "pick",- children: /* @__PURE__ */ (0, V.jsx)(jM, {+ children: /* @__PURE__ */ (0, V.jsx)(AM, {slot: null,"aria-label": "全选本次未访问成功的链接",isSelected: s,@@ -27415,14 +27415,14 @@ function RM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })] }), /* @__PURE__ */ (0, V.jsx)(Ik, { children: t.map((e) => /* @__PURE__ */ (0, V.jsxs)(zk, {id: e.id,children: [- i ? /* @__PURE__ */ (0, V.jsx)(Vk, { children: /* @__PURE__ */ (0, V.jsx)(jM, {+ i ? /* @__PURE__ */ (0, V.jsx)(Vk, { children: /* @__PURE__ */ (0, V.jsx)(AM, {slot: null,"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,isSelected: o.includes(e.id),onChange: (t) => i(t ? [...o, e.id] : o.filter((t) => t !== e.id))}) }) : null,/* @__PURE__ */ (0, V.jsx)(Vk, { children: e.entity }),- /* @__PURE__ */ (0, V.jsx)(Vk, { children: gj[e.link_kind] || e.link_kind }),+ /* @__PURE__ */ (0, V.jsx)(Vk, { children: hj[e.link_kind] || e.link_kind }),/* @__PURE__ */ (0, V.jsx)(Vk, { children: e.label || "" }),/* @__PURE__ */ (0, V.jsx)(Vk, { children: /* @__PURE__ */ (0, V.jsx)("span", {className: "tabular-nums text-text-error-primary",@@ -27450,27 +27450,27 @@ function RM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })]});}-function Bde() {- let e = TS({- queryKey: pj,- queryFn: ({ signal: e }) => vj(e)- }), [t, n] = (0, B.useState)([]), r = DM({- queryKey: hj,- queryFn: ({ signal: e }) => bj(e),- start: bue,+function Vde() {+ let e = wS({+ queryKey: fj,+ queryFn: ({ signal: e }) => _j(e)+ }), [t, n] = (0, B.useState)([]), r = EM({+ queryKey: mj,+ queryFn: ({ signal: e }) => yj(e),+ start: xue,onFinish: () => {z.invalidateQueries({- queryKey: pj,+ queryKey: fj,exact: !0}), z.invalidateQueries({- queryKey: mj,+ queryKey: pj,exact: !0});}- }), i = DM({- queryKey: mj,- queryFn: ({ signal: e }) => yj(e),- start: yue,+ }), i = EM({+ queryKey: pj,+ queryFn: ({ signal: e }) => vj(e),+ start: bue,onStarted: () => {r.dismiss(), n([]);}@@ -27500,7 +27500,7 @@ function Bde() {else if (_) b = /* @__PURE__ */ (0, V.jsx)(Y, {tone: "success",title: "完成",- children: xue(_)+ children: Sue(_)});else if (v) b = /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",@@ -27510,7 +27510,7 @@ function Bde() {else if (i.query.isError && a) b = /* @__PURE__ */ (0, V.jsx)(Y, {tone: "neutral",title: "任务状态",- children: zde+ children: Bde});else if (a?.status === "failed") b = /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",@@ -27518,12 +27518,12 @@ function Bde() {children: a.error || "检查失败"});else if (a && a.status !== "idle") {- y = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, V.jsx)(bM, {+ y = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, V.jsx)(yM, {embedded: !0,- label: Sue(a),+ label: Cue(a),value: a.checked,total: a.total- }) : null, c ? /* @__PURE__ */ (0, V.jsx)(bM, {+ }) : null, c ? /* @__PURE__ */ (0, V.jsx)(yM, {embedded: !0,label: r.job?.message || "正在重验并删除失效链接…",value: r.job?.checked,@@ -27531,38 +27531,38 @@ function Bde() {}) : null] });let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";b = l || u.length || d.length ? /* @__PURE__ */ (0, V.jsxs)("div", {- className: gde,+ className: _de,children: [- /* @__PURE__ */ (0, V.jsx)(RM, {+ /* @__PURE__ */ (0, V.jsx)(LM, {title: "地址已失效",items: u,- hint: Ide+ hint: Lde}),- /* @__PURE__ */ (0, V.jsx)(RM, {+ /* @__PURE__ */ (0, V.jsx)(LM, {title: "本次未访问成功",items: d,- hint: Lde,+ hint: Rde,picked: f.length ? t : void 0,onPick: f.length ? n : void 0,children: f.length ? /* @__PURE__ */ (0, V.jsx)("div", {className: "-mx-4 mt-3 -mb-4",- children: /* @__PURE__ */ (0, V.jsxs)(fM, { children: [/* @__PURE__ */ (0, V.jsx)(J, {- leadingIcon: FM,+ children: /* @__PURE__ */ (0, V.jsxs)(dM, { children: [/* @__PURE__ */ (0, V.jsx)(J, {+ leadingIcon: PM,disabled: !t.length,...X(s),onClick: () => h(t),children: e}), /* @__PURE__ */ (0, V.jsx)(J, {- leadingIcon: FM,+ leadingIcon: PM,...X(s),onClick: () => h(f.map((e) => e.id)),children: `全部重试(${f.length})`})] })}) : null}),- l && u.length ? /* @__PURE__ */ (0, V.jsx)(fM, {+ l && u.length ? /* @__PURE__ */ (0, V.jsx)(dM, {tone: "error",- status: Rde,+ status: zde,children: /* @__PURE__ */ (0, V.jsx)(J, {variant: "danger",...X(c),@@ -27571,7 +27571,7 @@ function Bde() {})}) : null,l && !u.length && !d.length ? /* @__PURE__ */ (0, V.jsx)("p", {- className: `${dM} text-body-regular text-notification-success-foreground`,+ className: `${uM} text-body-regular text-notification-success-foreground`,children: "全部链接均可访问。"}) : null]@@ -27582,21 +27582,21 @@ function Bde() {"aria-labelledby": "link-manager-title",className: "flex scroll-mt-20 flex-col gap-4",children: [- /* @__PURE__ */ (0, V.jsx)(pM, {+ /* @__PURE__ */ (0, V.jsx)(fM, {id: "link-manager-title",children: "链接管理"}),- /* @__PURE__ */ (0, V.jsxs)(hM, {+ /* @__PURE__ */ (0, V.jsxs)(mM, {layout: "stack",labelledBy: "link-manager-box",footer: /* @__PURE__ */ (0, V.jsx)(J, {- leadingIcon: Fde,+ leadingIcon: Ide,...X(s),onClick: () => h(),children: s ? "检查中" : l ? "重新检查" : "检查死链"}),children: [- /* @__PURE__ */ (0, V.jsx)(mM, {+ /* @__PURE__ */ (0, V.jsx)(pM, {id: "link-manager-box",gap: "small",children: "站外链接"@@ -27607,13 +27607,13 @@ function Bde() {children: W(e.error)}) : p ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "link-stat-grid mt-4 gap-x-8 gap-y-3",- children: [/* @__PURE__ */ (0, V.jsx)(LM, {+ children: [/* @__PURE__ */ (0, V.jsx)(IM, {label: "链接总数",- value: IM(p.total),- note: `分布在 ${IM(p.entities)} 个女优、厂牌与系列`- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(LM, {- label: gj[e] || e,- value: IM(t)+ value: FM(p.total),+ note: `分布在 ${FM(p.entities)} 个女优、厂牌与系列`+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(IM, {+ label: hj[e] || e,+ value: FM(t)}, e))]}), m ? /* @__PURE__ */ (0, V.jsxs)("div", {className: "mt-4 flex min-w-0 flex-col gap-0.5",@@ -27642,7 +27642,7 @@ function Bde() {}//#endregion//#region src/react/boardui/components/base/input/label.tsx-function Vde({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+function Hde({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {return /* @__PURE__ */ (0, V.jsxs)(nse, {"data-label": "true",...a,@@ -27663,7 +27663,7 @@ function Vde({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child}//#endregion//#region src/react/boardui/components/base/input/hint-text.tsx-function Hde({ isInvalid: e = !1, className: t, ...n }) {+function Ude({ isInvalid: e = !1, className: t, ...n }) {return /* @__PURE__ */ (0, V.jsx)(ose, {slot: e ? "errorMessage" : "description",...n,@@ -27672,15 +27672,15 @@ function Hde({ isInvalid: e = !1, className: t, ...n }) {}//#endregion//#region src/react/boardui/components/base/input/input.tsx-var zM = (0, B.createContext)({});-function BM({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, V.jsx)(zM.Provider, {+var RM = (0, B.createContext)({});+function zM({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, V.jsx)(RM.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, V.jsx)(Hce, {+ children: /* @__PURE__ */ (0, V.jsx)(Uce, {...a,"data-input-size": e,className: hE("group flex h-max w-full flex-col items-start gap-1", r),@@ -27688,8 +27688,8 @@ function BM({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam})});}-BM.displayName = "TextField";-var VM = gE({+zM.displayName = "TextField";+var BM = gE({field: ["relative flex w-full items-center","rounded-2lg",@@ -27718,44 +27718,44 @@ var VM = gE({].join(" "),icon: "size-5 shrink-0"});-function HM({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, B.useContext)(zM), u = e ?? l.size ?? "medium", d = r != null;+function VM({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, B.useContext)(RM), u = e ?? l.size ?? "medium", d = r != null;return /* @__PURE__ */ (0, V.jsx)(dse, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => hE(VM.field, d ? VM.fieldWithAddonSize[u] : VM.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => hE(BM.field, d ? BM.fieldWithAddonSize[u] : BM.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),children: /* @__PURE__ */ (0, V.jsxs)("div", {- className: VM.content,+ className: BM.content,children: [/* @__PURE__ */ (0, V.jsxs)("div", {- className: VM.leftSection,+ className: BM.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, V.jsx)(t, {- className: VM.icon,+ className: BM.icon,"aria-hidden": !0}) : null, /* @__PURE__ */ (0, V.jsx)(pse, {ref: o,...c,- className: hE(VM.input, l.inputClassName, a)+ className: hE(BM.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, V.jsx)(n, {- className: VM.icon,+ className: BM.icon,"aria-hidden": !0}) : null]})});}-HM.displayName = "InputBase";-function UM({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {- return /* @__PURE__ */ (0, V.jsx)(BM, {+VM.displayName = "InputBase";+function HM({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {+ return /* @__PURE__ */ (0, V.jsx)(zM, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- e && /* @__PURE__ */ (0, V.jsx)(Vde, {+ e && /* @__PURE__ */ (0, V.jsx)(Hde, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, V.jsx)(HM, {+ /* @__PURE__ */ (0, V.jsx)(VM, {ref: c,groupRef: l,placeholder: r,@@ -27764,28 +27764,28 @@ function UM({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, V.jsx)(Hde, {+ t && /* @__PURE__ */ (0, V.jsx)(Ude, {isInvalid: d,children: t})] })});}-UM.displayName = "Input";+HM.displayName = "Input";//#endregion//#region src/react/data-cleanup/organize-card.tsx-var Ude = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Wde = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Gde = 8;-function Kde({ plan: e }) {+var Wde = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Gde = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Kde = 8;+function qde({ plan: e }) {return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("ol", {className: "mt-2 flex min-w-0 flex-col gap-1",- children: e.rows.slice(0, Gde).map((e) => /* @__PURE__ */ (0, V.jsxs)("li", {+ children: e.rows.slice(0, Kde).map((e) => /* @__PURE__ */ (0, V.jsxs)("li", {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, V.jsx)("span", {"data-middle-truncate": !0,title: e.current_path,className: "min-w-0 truncate",- children: Nj(e.current_path)+ children: Mj(e.current_path)}),/* @__PURE__ */ (0, V.jsx)("span", {"aria-hidden": !0,@@ -27795,7 +27795,7 @@ function Kde({ plan: e }) {"data-middle-truncate": !0,title: e.target_path,className: "min-w-0 truncate text-text-primary",- children: Nj(e.target_path)+ children: Mj(e.target_path)})]}, e.current_path))@@ -27804,10 +27804,10 @@ function Kde({ plan: e }) {children: "只列出前 8 行,完整计划在计划 CSV 里。"}) : null] });}-function qde({ toast: e, failure: t }) {- let n = TS({- queryKey: jj,- queryFn: ({ signal: e }) => Mj(e)+function Jde({ toast: e, failure: t }) {+ let n = wS({+ queryKey: Aj,+ queryFn: ({ signal: e }) => jj(e)}), r = n.data, i = r?.locations ?? [], [a, o] = (0, B.useState)(""), s = i.some((e) => e.location === a) ? a : i[0]?.location ?? "", c = r?.templates?.[s], [l, u] = (0, B.useState)(null), d = l?.location === s ? l : {location: s,file: c?.file ?? "",@@ -27819,9 +27819,9 @@ function qde({ toast: e, failure: t }) {location: s,file_template: d.file.trim(),dir_template: d.dir.trim()- }), v = OS({- mutationFn: Pue,- onSuccess: (e, t) => void Iue({+ }), v = DS({+ mutationFn: Fue,+ onSuccess: (e, t) => void Lue({...r?.templates ?? {},[t.location]: {file: t.file_template,@@ -27829,29 +27829,29 @@ function qde({ toast: e, failure: t }) {}}),onError: (e) => {- let t = Rue.test(W(e)) ? "dir" : "file";+ let t = zue.test(W(e)) ? "dir" : "file";m(t), (t === "dir" ? g : h).current?.focus();}- }), y = DM({- queryKey: jj,- queryFn: ({ signal: e }) => Mj(e),- start: Fue,+ }), y = EM({+ queryKey: Aj,+ queryFn: ({ signal: e }) => jj(e),+ start: Iue,jobOf: (e) => e,- withJob: Lue,+ withJob: Rue,onStarted: () => v.reset(),onFinish: (n) => {if (z.invalidateQueries({- queryKey: jj,+ queryKey: Aj,exact: !0}), n.status !== "complete") return;- let { text: r, failed: i } = Fj(n);+ let { text: r, failed: i } = Pj(n);i ? t("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : e(r.replace(/。$/, ""));}}), b = y.running || y.start.isPending, x = v.data, S = Number(x?.counts?.change || 0), C = se[s] || s, w = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), T = () => {v.isPending || !s || (m(null), v.mutate(_()));}, E = () => void Te({title: "按模板整理文件",- body: Ude(C),+ body: Wde(C),confirmLabel: "整理文件",onConfirm: () => y.start.mutateAsync({kind: "apply",@@ -27859,13 +27859,13 @@ function qde({ toast: e, failure: t }) {})}), D = () => void Te({title: "回滚上一批整理",- body: Wde,+ body: Gde,confirmLabel: "回滚整理",onConfirm: () => y.start.mutateAsync({ kind: "rollback" })}), O = null, k = y.job, A = y.outcome;if (k?.status === "running") {let e = k.message || k.stage || "正在整理文件…";- O = /* @__PURE__ */ (0, V.jsx)(bM, {+ O = /* @__PURE__ */ (0, V.jsx)(yM, {embedded: !0,label: e,value: k.checked,@@ -27877,7 +27877,7 @@ function qde({ toast: e, failure: t }) {children: A.error || "请查看任务记录,核对已处理的文件。"});else if (A) {- let { text: e, failed: t } = Fj(A);+ let { text: e, failed: t } = Pj(A);O = /* @__PURE__ */ (0, V.jsx)(Y, {tone: t ? "warning" : "success",title: t ? "部分完成" : "整理结果",@@ -27887,7 +27887,7 @@ function qde({ toast: e, failure: t }) {tone: "error",title: "整理失败",children: W(y.start.error)- }) : v.isPending ? O = /* @__PURE__ */ (0, V.jsx)(bM, {+ }) : v.isPending ? O = /* @__PURE__ */ (0, V.jsx)(yM, {embedded: !0,label: "正在按模板算计划…"}) : v.isError ? O = /* @__PURE__ */ (0, V.jsx)(Y, {@@ -27897,9 +27897,9 @@ function qde({ toast: e, failure: t }) {}) : x && (O = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(Y, {tone: "neutral",title: "预览结果",- children: zue(x)- }), S ? /* @__PURE__ */ (0, V.jsx)(Kde, { plan: x }) : null] }));- return /* @__PURE__ */ (0, V.jsxs)(hM, {+ children: Bue(x)+ }), S ? /* @__PURE__ */ (0, V.jsx)(qde, { plan: x }) : null] }));+ return /* @__PURE__ */ (0, V.jsxs)(mM, {layout: "stack",id: "organize",labelledBy: "cleanup-organize-title",@@ -27923,7 +27923,7 @@ function qde({ toast: e, failure: t }) {}) : null] }),children: [- /* @__PURE__ */ (0, V.jsx)(mM, {+ /* @__PURE__ */ (0, V.jsx)(pM, {id: "cleanup-organize-title",gap: "medium",children: "整理"@@ -27943,20 +27943,20 @@ function qde({ toast: e, failure: t }) {/* @__PURE__ */ (0, V.jsxs)("div", {className: "mt-3 flex flex-col gap-3",children: [- i.length ? /* @__PURE__ */ (0, V.jsx)(wM, {+ i.length ? /* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": "整理哪个来源",className: "w-fit min-w-25",selectedKey: s || null,onSelectionChange: (e) => {e !== null && (o(String(e)), m(null), v.reset());},- children: i.map((e) => /* @__PURE__ */ (0, V.jsxs)(TM, {+ children: i.map((e) => /* @__PURE__ */ (0, V.jsxs)(wM, {id: e.location,textValue: se[e.location] || e.location,children: [/* @__PURE__ */ (0, V.jsx)(UE, { mark: Se[e.location] || "database" }), se[e.location] || e.location]}, e.location))}) : null,- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: "文件名模板",placeholder: "{number}[ {title}]",value: d.file,@@ -27967,7 +27967,7 @@ function qde({ toast: e, failure: t }) {f({ file: e }), m(null);}}),- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: "目录模板",placeholder: "留空表示原地改名",value: d.dir,@@ -28007,43 +28007,43 @@ function qde({ toast: e, failure: t }) {}//#endregion//#region src/react/data-cleanup/orphan-records.ts-var Jde = "/api/orphan-records", Yde = "/api/orphan-records/attach", WM = ["orphan-records"], Xde = [+var Yde = "/api/orphan-records", Xde = "/api/orphan-records/attach", UM = ["orphan-records"], Zde = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], Zde = (e) => G(Jde, e), Qde = (e, t) => K(Yde, {+], Qde = (e) => G(Yde, e), $de = (e, t) => K(Xde, {id: e,target: t-}), $de = (e) => K(kA, {+}), efe = (e) => K(OA, {ids: [e],operation: "delete"-}), efe = (e) => [+}), tfe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], GM = (e) => [...Xde.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...efe(e)].filter(Boolean).join(" · "), tfe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", KM = (e) => [e.name, tfe(e.duration)].filter(Boolean).join(" · "), nfe = iA("play"), qM = () => z.invalidateQueries({- queryKey: WM,+], WM = (e) => [...Zde.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...tfe(e)].filter(Boolean).join(" · "), nfe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", GM = (e) => [e.name, nfe(e.duration)].filter(Boolean).join(" · "), rfe = rA("play"), KM = () => z.invalidateQueries({+ queryKey: UM,exact: !0});-function rfe({ item: e, toast: t }) {- let [n, r] = (0, B.useState)(e.candidates[0]?.id ?? null), i = OS({- mutationFn: () => Qde(e.id, Number(n)),+function ife({ item: e, toast: t }) {+ let [n, r] = (0, B.useState)(e.candidates[0]?.id ?? null), i = DS({+ mutationFn: () => $de(e.id, Number(n)),onSuccess: (e) => {- t(`记录已接到新文件,批次 ${e.batch}`), qM();+ t(`记录已接到新文件,批次 ${e.batch}`), KM();},onError: (e) => t(W(e))- }), a = OS({- mutationFn: () => $de(e.id),+ }), a = DS({+ mutationFn: () => efe(e.id),onSuccess: (n) => {- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), qM();+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), KM();}}), o = () => {Te({title: "彻底删除",- body: `将删除「${e.name}」这一条和它带的记录(${GM(e.records)})。此操作不可撤销。`,+ body: `将删除「${e.name}」这一条和它带的记录(${WM(e.records)})。此操作不可撤销。`,confirmLabel: "彻底删除",danger: !0,onConfirm: () => a.mutateAsync()@@ -28056,7 +28056,7 @@ function rfe({ item: e, toast: t }) {className: "flex min-w-0 items-center gap-3",children: [/* @__PURE__ */ (0, V.jsxs)("span", {className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",- children: [/* @__PURE__ */ (0, V.jsx)(nfe, {+ children: [/* @__PURE__ */ (0, V.jsx)(rfe, {"aria-hidden": !0,className: "size-5"}), e.has_thumb ? /* @__PURE__ */ (0, V.jsx)("img", {@@ -28080,19 +28080,19 @@ function rfe({ item: e, toast: t }) {}) }),/* @__PURE__ */ (0, V.jsx)(Vk, { children: /* @__PURE__ */ (0, V.jsx)("span", {className: "block min-w-44",- children: GM(e.records)+ children: WM(e.records)}) }),- /* @__PURE__ */ (0, V.jsx)(Vk, { children: e.candidates.length ? /* @__PURE__ */ (0, V.jsx)(wM, {+ /* @__PURE__ */ (0, V.jsx)(Vk, { children: e.candidates.length ? /* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": `把 ${e.name} 的记录接到哪个文件`,className: "w-64",selectedKey: n,onSelectionChange: (e) => {e !== null && r(Number(e));},- children: e.candidates.map((e) => /* @__PURE__ */ (0, V.jsx)(TM, {+ children: e.candidates.map((e) => /* @__PURE__ */ (0, V.jsx)(wM, {id: e.id,- textValue: KM(e),- children: KM(e)+ textValue: GM(e),+ children: GM(e)}, e.id))}) : /* @__PURE__ */ (0, V.jsx)("span", {className: "text-text-secondary",@@ -28118,23 +28118,23 @@ function rfe({ item: e, toast: t }) {]});}-function ife({ toast: e }) {- let t = TS({- queryKey: WM,- queryFn: ({ signal: e }) => Zde(e)+function afe({ toast: e }) {+ let t = wS({+ queryKey: UM,+ queryFn: ({ signal: e }) => Qde(e)}), n = t.data?.items ?? [];return !t.isError && !n.length ? null : /* @__PURE__ */ (0, V.jsxs)("section", {id: "orphan-records","aria-labelledby": "orphan-records-title",className: "flex scroll-mt-20 flex-col gap-4",- children: [/* @__PURE__ */ (0, V.jsx)(pM, {+ children: [/* @__PURE__ */ (0, V.jsx)(fM, {id: "orphan-records-title",children: "孤儿记录"- }), /* @__PURE__ */ (0, V.jsxs)(hM, {+ }), /* @__PURE__ */ (0, V.jsxs)(mM, {layout: "stack",labelledBy: "orphan-records-box",children: [- /* @__PURE__ */ (0, V.jsx)(mM, {+ /* @__PURE__ */ (0, V.jsx)(pM, {id: "orphan-records-box",gap: "small",children: "文件已消失的作品"@@ -28147,7 +28147,7 @@ function ife({ toast: e }) {tone: "error",title: "孤儿记录读取失败",children: W(t.error)- }) : /* @__PURE__ */ (0, V.jsx)(PM, { children: /* @__PURE__ */ (0, V.jsxs)(MM, {+ }) : /* @__PURE__ */ (0, V.jsx)(NM, { children: /* @__PURE__ */ (0, V.jsxs)(jM, {"aria-label": "文件已消失的作品",size: "sm",children: [/* @__PURE__ */ (0, V.jsxs)(Nk, { children: [@@ -28168,7 +28168,7 @@ function ife({ toast: e }) {id: "actions",children: "操作"})- ] }), /* @__PURE__ */ (0, V.jsx)(Ik, { children: n.map((t) => /* @__PURE__ */ (0, V.jsx)(rfe, {+ ] }), /* @__PURE__ */ (0, V.jsx)(Ik, { children: n.map((t) => /* @__PURE__ */ (0, V.jsx)(ife, {item: t,toast: e}, t.id)) })]@@ -28179,99 +28179,99 @@ function ife({ toast: e }) {}//#endregion//#region src/react/data-cleanup/resource-sync-card.tsx-var afe = iA("git-compare"), ofe = iA("rotate-cw"), sfe = "暂时无法读取进度,正在重新连接…", JM = "清理失效条目", YM = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", XM = (e) => Number(e || 0).toLocaleString();-function cfe({ scan: e }) {+var ofe = rA("git-compare"), sfe = rA("rotate-cw"), cfe = "暂时无法读取进度,正在重新连接…", qM = "清理失效条目", JM = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", YM = (e) => Number(e || 0).toLocaleString();+function lfe({ scan: e }) {let t = e.cache ?? {files: 0,bytes: 0};return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("div", {- className: YM,+ className: JM,children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, V.jsx)("article", {- className: iM(),- children: /* @__PURE__ */ (0, V.jsx)(aM, {- label: Wue[e.location] || "媒体来源",+ className: rM(),+ children: /* @__PURE__ */ (0, V.jsx)(iM, {+ label: Gue[e.location] || "媒体来源",mark: /* @__PURE__ */ (0, V.jsx)(UE, { mark: Se[e.location] ?? "database" }),aside: /* @__PURE__ */ (0, V.jsx)("span", {className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",children: e.online ? "可访问" : "离线,已跳过"}),- figure: e.online ? `${XM(e.missing)} 项` : "—",- meta: Jue(e),+ figure: e.online ? `${YM(e.missing)} 项` : "—",+ meta: Yue(e),wrapMeta: !0})}, e.location))}), /* @__PURE__ */ (0, V.jsxs)("div", {- className: YM,+ className: JM,children: [/* @__PURE__ */ (0, V.jsx)("article", {- className: iM(),- children: /* @__PURE__ */ (0, V.jsx)(aM, {+ className: rM(),+ children: /* @__PURE__ */ (0, V.jsx)(iM, {label: "待永久删除",- figure: `${XM(Wj(e))} 项`,+ figure: `${YM(Uj(e))} 项`,meta: "文件已不在盘上,含回收站"})}),/* @__PURE__ */ (0, V.jsx)("article", {- className: iM(),- children: /* @__PURE__ */ (0, V.jsx)(aM, {+ className: rM(),+ children: /* @__PURE__ */ (0, V.jsx)(iM, {label: "将标为已消失",- figure: `${XM(e.vanish)} 项`,+ figure: `${YM(e.vanish)} 项`,meta: "带个人记录,记录留着"})}),/* @__PURE__ */ (0, V.jsx)("article", {- className: iM(),- children: /* @__PURE__ */ (0, V.jsx)(aM, {+ className: rM(),+ children: /* @__PURE__ */ (0, V.jsx)(iM, {label: "空文件夹",- figure: `${XM(e.empty)} 个`,+ figure: `${YM(e.empty)} 个`,meta: "保留来源根目录"})}),/* @__PURE__ */ (0, V.jsx)("article", {- className: iM(),- children: /* @__PURE__ */ (0, V.jsx)(aM, {+ className: rM(),+ children: /* @__PURE__ */ (0, V.jsx)(iM, {label: "可清理的缓存",- figure: `${XM(t.files)} 个`,+ figure: `${YM(t.files)} 个`,meta: t.files ? pe(t.bytes) : ""})})]})] });}-function lfe({ toast: e }) {- let t = DM({- queryKey: zj,- queryFn: ({ signal: e }) => Vj(e),- start: Vue,+function ufe({ toast: e }) {+ let t = EM({+ queryKey: Rj,+ queryFn: ({ signal: e }) => Bj(e),+ start: Hue,onFinish: (t) => {if (z.invalidateQueries({- queryKey: Zj,+ queryKey: Xj,exact: !0}), z.invalidateQueries({- queryKey: Rj,+ queryKey: Lj,exact: !0}), t.status !== "complete") return;- let { done: n, left: r } = qj(t);- r ? e(`已完成 ${XM(n)} 项,${XM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");+ let { done: n, left: r } = Kj(t);+ r ? e(`已完成 ${YM(n)} 项,${YM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");}- }), n = DM({- queryKey: Rj,- queryFn: ({ signal: e }) => Bj(e),- start: Bue,+ }), n = EM({+ queryKey: Lj,+ queryFn: ({ signal: e }) => zj(e),+ start: Vue,onStarted: () => t.dismiss()}), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", s = i ? "扫描中" : o ? "重新扫描" : "检查文件", c = (e) => void Te({- title: JM,- body: que(e),- confirmLabel: JM,+ title: qM,+ body: Jue(e),+ confirmLabel: qM,danger: !0,onConfirm: () => t.start.mutateAsync(e.scan_id || "")}), l = t.outcome, u = (e) => {- let t = qj(e).left > 0;+ let t = Kj(e).left > 0;return /* @__PURE__ */ (0, V.jsx)(Y, {tone: t ? "warning" : "success",title: t ? "部分完成" : "清理结果",- children: Yue(e, pe)+ children: Xue(e, pe)});}, d = null, f = null;if (l?.status === "failed") f = /* @__PURE__ */ (0, V.jsx)(Y, {@@ -28280,7 +28280,7 @@ function lfe({ toast: e }) {children: l.error || "请查看任务记录,核对已处理的文件。"});else if (l) f = u(l);- else if (t.running) d = /* @__PURE__ */ (0, V.jsx)(bM, {+ else if (t.running) d = /* @__PURE__ */ (0, V.jsx)(yM, {embedded: !0,label: t.job?.message || "正在复核并清理失效条目…"});@@ -28292,11 +28292,11 @@ function lfe({ toast: e }) {else if (n.query.isError && r) f = /* @__PURE__ */ (0, V.jsx)(Y, {tone: "neutral",title: "任务状态",- children: sfe+ children: cfe});else if (r?.status === "running") {- let e = Gue(r);- d = /* @__PURE__ */ (0, V.jsx)(bM, {+ let e = Kue(r);+ d = /* @__PURE__ */ (0, V.jsx)(yM, {embedded: !0,label: e,value: r.completed_sources,@@ -28313,13 +28313,13 @@ function lfe({ toast: e }) {children: "这次检查的结果已经清理,重新扫描可再核对。"});else if (r?.status === "complete") {- let e = Uue(r);+ let e = Wue(r);f = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsx)(cfe, { scan: r }),+ /* @__PURE__ */ (0, V.jsx)(lfe, { scan: r }),e ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "neutral",title: "清理内容",- children: Kue(r)+ children: que(r)}) : null,/* @__PURE__ */ (0, V.jsx)("div", {className: "flex flex-wrap items-center justify-end gap-2",@@ -28327,7 +28327,7 @@ function lfe({ toast: e }) {variant: "danger",...X(a),onClick: () => c(r),- children: a ? "正在复核并清理…" : JM+ children: a ? "正在复核并清理…" : qM}) : /* @__PURE__ */ (0, V.jsx)("p", {className: "mr-auto text-body-regular text-notification-success-foreground",children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"@@ -28344,16 +28344,16 @@ function lfe({ toast: e }) {"aria-labelledby": "resource-sync-title",className: "flex scroll-mt-20 flex-col gap-4",children: [- /* @__PURE__ */ (0, V.jsx)(pM, {+ /* @__PURE__ */ (0, V.jsx)(fM, {id: "resource-sync-title",children: "资源同步"}),- /* @__PURE__ */ (0, V.jsxs)(hM, {+ /* @__PURE__ */ (0, V.jsxs)(mM, {layout: "split",labelledBy: "resource-sync-box",footer: /* @__PURE__ */ (0, V.jsx)(J, {"data-resource-scan": !0,- leadingIcon: o && !i ? ofe : afe,+ leadingIcon: o && !i ? sfe : ofe,...X(i),onClick: () => {i || n.start.mutate();@@ -28361,7 +28361,7 @@ function lfe({ toast: e }) {children: s}),children: [- /* @__PURE__ */ (0, V.jsx)(mM, {+ /* @__PURE__ */ (0, V.jsx)(pM, {id: "resource-sync-box",gap: "small",children: "文件与记录核对"@@ -28387,16 +28387,16 @@ function lfe({ toast: e }) {}//#endregion//#region src/react/data-cleanup/data-cleanup-page.tsx-function ZM(e, t) {+function XM(e, t) {return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);}-function QM({ section: e, label: t, icon: n, value: r, open: i }) {+function ZM({ section: e, label: t, icon: n, value: r, open: i }) {return /* @__PURE__ */ (0, V.jsx)("button", {type: "button",- className: iM({ interactive: !0 }),+ className: rM({ interactive: !0 }),"data-cleanup-go": e,onClick: () => i(e),- children: /* @__PURE__ */ (0, V.jsx)(aM, {+ children: /* @__PURE__ */ (0, V.jsx)(iM, {label: t,icon: n,figure: r.figure,@@ -28404,80 +28404,80 @@ function QM({ section: e, label: t, icon: n, value: r, open: i }) {})});}-var ufe = iA("square-check-big"), dfe = iA("sparkles"), ffe = iA("file-stack"), pfe = iA("file-archive"), mfe = iA("trash"), hfe = [- Jj,- JA,- OA-], gfe = () => {- for (let e of hfe) z.invalidateQueries({+var dfe = rA("square-check-big"), ffe = rA("sparkles"), pfe = rA("file-stack"), mfe = rA("file-archive"), hfe = rA("trash"), gfe = [+ qj,+ qA,+ DA+], _fe = () => {+ for (let e of gfe) z.invalidateQueries({queryKey: e,exact: !0});};-function _fe({ toast: e, failure: t, open: n }) {- let r = TS({+function vfe({ toast: e, failure: t, open: n }) {+ let r = wS({+ queryKey: qj,+ queryFn: ({ signal: e }) => Zj(e)+ }), i = wS({+ queryKey: qA,+ queryFn: ({ signal: e }) => JA(e)+ }), a = wS({+ queryKey: DA,+ queryFn: ({ signal: e }) => kA(e)+ }), o = wS({queryKey: Jj,queryFn: ({ signal: e }) => Qj(e)- }), i = TS({- queryKey: JA,- queryFn: ({ signal: e }) => YA(e)- }), a = TS({- queryKey: OA,- queryFn: ({ signal: e }) => AA(e)- }), o = TS({- queryKey: Yj,+ }), s = wS({+ queryKey: Xj,queryFn: ({ signal: e }) => $j(e)- }), s = TS({- queryKey: Zj,- queryFn: ({ signal: e }) => eM(e)- }), c = TS({+ }), c = wS({queryKey: tt,queryFn: ({ signal: e }) => rt(e)}), l = (t) => e(t);return /* @__PURE__ */ (0, V.jsxs)(wE, { children: [/* @__PURE__ */ (0, V.jsxs)("div", {- className: ode,+ className: sde,children: [- /* @__PURE__ */ (0, V.jsx)(QM, {+ /* @__PURE__ */ (0, V.jsx)(ZM, {section: "review",label: "人工复核",- icon: ufe,+ icon: dfe,open: n,- value: ZM(r, $ue)+ value: XM(r, ede)}),- /* @__PURE__ */ (0, V.jsx)(QM, {+ /* @__PURE__ */ (0, V.jsx)(ZM, {section: "quality",label: "高清版",- icon: dfe,+ icon: ffe,open: n,- value: ZM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))+ value: XM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))}),- /* @__PURE__ */ (0, V.jsx)(QM, {+ /* @__PURE__ */ (0, V.jsx)(ZM, {section: "duplicates",label: "重复文件",- icon: ffe,+ icon: pfe,open: n,- value: ZM(a, (e) => Number(e.total || 0) ? {+ value: XM(a, (e) => Number(e.total || 0) ? {figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,meta: `可回收 ${pe(e.reclaimable || 0)}`} : { figure: "没有重复内容" })}),- /* @__PURE__ */ (0, V.jsx)(QM, {+ /* @__PURE__ */ (0, V.jsx)(ZM, {section: "ads",label: "垃圾文件",- icon: pfe,+ icon: mfe,open: n,- value: ZM(o, (e) => ({+ value: XM(o, (e) => ({figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,- meta: ede(e)+ meta: tde(e)}))}),- /* @__PURE__ */ (0, V.jsx)(QM, {+ /* @__PURE__ */ (0, V.jsx)(ZM, {section: "trash",label: "回收站",- icon: mfe,+ icon: hfe,open: n,- value: ZM(s, (e) => ({+ value: XM(s, (e) => ({figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,meta: e.total ? `占用 ${pe(e.bytes || 0)}` : ""}))@@ -28490,31 +28490,31 @@ function _fe({ toast: e, failure: t, open: n }) {/* @__PURE__ */ (0, V.jsx)("div", {id: "libraryProcessing",className: "scroll-mt-20",- children: /* @__PURE__ */ (0, V.jsx)(SM, {+ children: /* @__PURE__ */ (0, V.jsx)(xM, {toast: l,monitor: !0,- onComplete: gfe+ onComplete: _fe})}),/* @__PURE__ */ (0, V.jsx)("div", {id: "mediaRepair",- children: /* @__PURE__ */ (0, V.jsx)(Nde, {})+ children: /* @__PURE__ */ (0, V.jsx)(Pde, {})}),- /* @__PURE__ */ (0, V.jsx)(qde, {+ /* @__PURE__ */ (0, V.jsx)(Jde, {toast: l,failure: t})]}),- /* @__PURE__ */ (0, V.jsx)(Bde, {}),- /* @__PURE__ */ (0, V.jsx)(ife, { toast: l }),- Hj(c.data) ? /* @__PURE__ */ (0, V.jsx)(lfe, { toast: e }) : null+ /* @__PURE__ */ (0, V.jsx)(Vde, {}),+ /* @__PURE__ */ (0, V.jsx)(afe, { toast: l }),+ Vj(c.data) ? /* @__PURE__ */ (0, V.jsx)(ufe, { toast: e }) : null] });}//#endregion//#region src/react/feed-new/feed-new.ts-var $M = (e) => ["feed-new", e ?? "home"], vfe = 8, yfe = 1500;-function bfe(e, t, n) {+var QM = (e) => ["feed-new", e ?? "home"], yfe = 8, bfe = 1500;+function xfe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -28525,32 +28525,32 @@ function bfe(e, t, n) {setTimeout(e, n);})]);}-async function xfe(e, t, n) {+async function Sfe(e, t, n) {let r = new URLSearchParams({ limit: "12" });e && r.set("entity", String(e));let i = await ce(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await bfe(s, vfe, yfe), {+ return n && o.length && await xfe(s, yfe, bfe), {items: o,html: s};}-var eN = (e, t, n = !1) => ({- queryKey: $M(e),- queryFn: () => xfe(e, t, n),+var $M = (e, t, n = !1) => ({+ queryKey: QM(e),+ queryFn: () => Sfe(e, t, n),staleTime: Infinity-}), tN = (e, t) => ce("/api/feeds/discovery", {+}), eN = (e, t) => ce("/api/feeds/discovery", {method: "POST",body: JSON.stringify({action: t,ids: [e]})}).then(() => void 0, () => void 0);-async function Sfe(e) {- z.removeQueries({ queryKey: $M(null) }), await z.fetchQuery(eN(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));+async function Cfe(e) {+ z.removeQueries({ queryKey: QM(null) }), await z.fetchQuery($M(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}//#endregion//#region src/react/entity-page/entity-page.ts-var Cfe = [+var wfe = ["loc","creator","tag",@@ -28560,51 +28560,51 @@ var Cfe = ["orient","sort","dir"-], nN = {+], tN = {media: "videos",set: 0-}, rN = (e, t) => [+}, nN = (e, t) => ["entity",e,t-], wfe = (e, t, n, r) => [+], Tfe = (e, t, n, r) => ["entity-items",e,t,n,r-], iN = (e, t, n, r) => [+], rN = (e, t, n, r) => ["entity-photos",e,t,n,r-], aN = (e) => String(e || "").split(",").filter(Boolean), Tfe = (e, t) => aN(e).includes(t);-function oN(e, t, n, r, i = 0) {+], iN = (e) => String(e || "").split(",").filter(Boolean), Efe = (e, t) => iN(e).includes(t);+function aN(e, t, n, r, i = 0) {let a = new URLSearchParams();a.set(e, t), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");- for (let t of Cfe) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);+ for (let t of wfe) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);return r.jav && a.set("jav", "1"), a;}-async function sN(e, t, n, r, i, a) {- return await ce(`/api/items?${oN(e, t, n, r, i)}`, a ? { signal: a } : {});+async function oN(e, t, n, r, i, a) {+ return await ce(`/api/items?${aN(e, t, n, r, i)}`, a ? { signal: a } : {});}-var cN = (e) => {+var sN = (e) => {let t = {jav: e.jav,seed: e.seed- }, n = oN(e.kind, e.name, e.filters, t).toString();+ }, n = aN(e.kind, e.name, e.filters, t).toString();return {- queryKey: wfe(e.kind, e.name, n, e.revision),- queryFn: ({ signal: n }) => sN(e.kind, e.name, e.filters, t, 0, n),+ queryKey: Tfe(e.kind, e.name, n, e.revision),+ queryFn: ({ signal: n }) => oN(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};-}, lN = (e, t) => ({- queryKey: rN(e, t),+}, cN = (e, t) => ({+ queryKey: nN(e, t),queryFn: ({ signal: n }) => ce(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function Efe(e, t, n, r, i, a) {+function Dfe(e, t, n, r, i, a) {let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;if (i) {let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;@@ -28613,10 +28613,10 @@ function Efe(e, t, n, r, i, a) {let s = r ? `&seed=${encodeURIComponent(r)}` : "";return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;}-var uN = (e, t, n, r) => ({- queryKey: iN(e, t, n, r),+var lN = (e, t, n, r) => ({+ queryKey: rN(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await ce(Efe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await ce(Dfe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -28629,8 +28629,8 @@ var uN = (e, t, n, r) => ({seed: t[0]?.seed || ""} : void 0,staleTime: Infinity-}), dN = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function Dfe(e) {+}), uN = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];+async function Ofe(e) {let { kind: t, name: n } = e;for (let e of ["entity",@@ -28642,51 +28642,51 @@ async function Dfe(e) {n] });await Promise.all([- z.fetchQuery(lN(t, n)).then((t) => !t || t.error || !t.id ? null : (z.removeQueries({ queryKey: $M(Number(t.id)) }), z.fetchQuery(eN(Number(t.id), e.helpers.feedRowHtml, !0)))),- z.fetchQuery(cN(e)),- z.fetchInfiniteQuery(uN(t, n, 0, "")),- e.media.media === "photos" && e.media.set ? z.fetchInfiniteQuery(uN(t, n, e.media.set, "")) : null+ z.fetchQuery(cN(t, n)).then((t) => !t || t.error || !t.id ? null : (z.removeQueries({ queryKey: QM(Number(t.id)) }), z.fetchQuery($M(Number(t.id), e.helpers.feedRowHtml, !0)))),+ z.fetchQuery(sN(e)),+ z.fetchInfiniteQuery(lN(t, n, 0, "")),+ e.media.media === "photos" && e.media.set ? z.fetchInfiniteQuery(lN(t, n, e.media.set, "")) : null]);}//#endregion//#region src/react/follow/online-vocab.ts-var Ofe = "/api/follow/authors", kfe = "/api/follow/tags", Afe = (e) => [+var kfe = "/api/follow/authors", Afe = "/api/follow/tags", jfe = (e) => ["follow","authors",e-], jfe = (e, t) => [+], Mfe = (e, t) => ["follow","tags",e,t];-function Mfe(e, t, n) {+function Nfe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${Ofe}?${r}`;+ return e && r.set("q", e), `${kfe}?${r}`;}-function Nfe(e, t, n, r) {+function Pfe(e, t, n, r) {let i = new URLSearchParams({types: "all",limit: String(n),offset: String(r)});- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${kfe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Afe}?${i}`;}-var Pfe = (e, t, n, r) => G(Mfe(e, t, n), r), Ffe = (e, t, n, r, i) => G(Nfe(e, t, n, r), i), Ife = "/api/index", fN = {+var Ffe = (e, t, n, r) => G(Nfe(e, t, n), r), Ife = (e, t, n, r, i) => G(Pfe(e, t, n, r), i), Lfe = "/api/index", dN = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",tags: "标签"-}, Lfe = {+}, Rfe = {performers: "performer",creators: "creator",studios: "studio",agencies: "agency"-}, pN = [+}, fN = [["all", "全部"],["meta", "影片属性"],["relationship", "人物关系"],@@ -28696,38 +28696,38 @@ var Pfe = (e, t, n, r) => G(Mfe(e, t, n), r), Ffe = (e, t, n, r, i) => G(Nfe(e,["story", "故事剧情"],["position", "性交体位"],["general", "其他内容"]-], mN = [+], pN = [["all", "全部"],["general", "通用"],["artist", "创作者"],["character", "角色"],["copyright", "作品"],["metadata", "元数据"]-], hN = [+], mN = [["all", "全部"],["japanese_av", "女优"],["amateur", "素人"],["western", "西方"],["blogger", "网黄博主"],["animation", "动画作者"]-], gN = {+], hN = {people: 120,tags: 180-}, _N = (e) => e !== "tags", vN = (e) => e === "studios" || e === "agencies";-function yN(e) {- if (e.kind === "creators" && e.category === "animation") return yN({+}, gN = (e) => e !== "tags", _N = (e) => e === "studios" || e === "agencies";+function vN(e) {+ if (e.kind === "creators" && e.category === "animation") return vN({...e,kind: "performers",scope: "local"});- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? mN : pN : e.kind === "performers" && t === "local" ? hN : []).some(([t]) => t === e.category);+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? pN : fN : e.kind === "performers" && t === "local" ? mN : []).some(([t]) => t === e.category);return {...e,scope: t,category: n ? e.category : "all"};}-function bN(e) {+function yN(e) {let { kind: t, q: n, scope: r, category: i } = e;return t === "tags" ? r === "online" ? {what: "online-tags",@@ -28747,50 +28747,50 @@ function bN(e) {...i && i !== "all" ? { category: i } : {}};}-var xN = (e, t, n = "all") => [+var bN = (e, t, n = "all") => ["index",e,t,...e === "tags" || n !== "all" ? [n] : []];-function SN(e, t, n, r, i) {+function xN(e, t, n, r, i) {let a = new URLSearchParams({kind: e,limit: String(r),offset: String(i)});- return t && a.set("q", t), n !== "all" && a.set("category", n), `${Ife}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${Lfe}?${a}`;}-function CN(e) {- let t = e.what === "people" || e.what === "online-authors" ? gN.people : gN.tags, n = {+function SN(e) {+ let t = e.what === "people" || e.what === "online-authors" ? hN.people : hN.tags, n = {initialPageParam: 0,getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0};switch (e.what) {case "people": return {...n,- queryKey: xN(e.kind, e.q, e.category || "all"),- queryFn: ({ pageParam: n, signal: r }) => G(SN(e.kind, e.q, e.category || "all", t, n), r)+ queryKey: bN(e.kind, e.q, e.category || "all"),+ queryFn: ({ pageParam: n, signal: r }) => G(xN(e.kind, e.q, e.category || "all", t, n), r)};case "tags": return {...n,- queryKey: xN("tags", e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => G(SN("tags", e.q, e.category, t, n), r)+ queryKey: bN("tags", e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => G(xN("tags", e.q, e.category, t, n), r)};case "online-authors": return {...n,- queryKey: Afe(e.q),- queryFn: ({ pageParam: n, signal: r }) => Pfe(e.q, t, n, r)+ queryKey: jfe(e.q),+ queryFn: ({ pageParam: n, signal: r }) => Ffe(e.q, t, n, r)};case "online-tags": return {...n,- queryKey: jfe(e.q, e.category),- queryFn: ({ pageParam: n, signal: r }) => Ffe(e.q, e.category, t, n, r)+ queryKey: Mfe(e.q, e.category),+ queryFn: ({ pageParam: n, signal: r }) => Ife(e.q, e.category, t, n, r)};}}-async function Rfe(e, t) {- let n = CN(bN(yN(e)));+async function zfe(e, t) {+ let n = SN(yN(vN(e)));z.removeQueries({queryKey: n.queryKey,exact: !0@@ -28804,13 +28804,13 @@ async function Rfe(e, t) {getNextPageParam: n.getNextPageParam});}-var zfe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Bfe = (e, t) => `${e}${t ? "+" : ""} 项`, wN = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Vfe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), Hfe = {+var Bfe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Vfe = (e, t) => `${e}${t ? "+" : ""} 项`, CN = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Hfe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), Ufe = {numeric: !0,sensitivity: "base"};-function Ufe(e, t) {+function Wfe(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Hfe))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Ufe))) {let e = t(r.k).normalize("NFKC").trim().charAt(0).toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);a ? a.push(r) : n.set(i, [r]);}@@ -28818,7 +28818,7 @@ function Ufe(e, t) {}//#endregion//#region src/react/index/index-people.tsx-function TN({ html: e, face: t, company: n, big: r }) {+function wN({ html: e, face: t, company: n, big: r }) {let i = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");@@ -28830,8 +28830,8 @@ function TN({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var Wfe = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";-function EN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {+var Gfe = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";+function TN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {return /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",...a,@@ -28841,7 +28841,7 @@ function EN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {radius: "plain",padding: "none",interactive: !0,- className: `${Wfe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${Gfe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -28858,23 +28858,23 @@ function EN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {]});}-function DN({ kind: e, items: t, layout: n, props: r }) {- let i = vN(e), a = n === "big";+function EN({ kind: e, items: t, layout: n, props: r }) {+ let i = _N(e), a = n === "big";return /* @__PURE__ */ (0, V.jsx)("div", {"data-index-grid": "","data-layout": n,"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || Lfe[e], o = r.personAvatar(t, n, a);- return /* @__PURE__ */ (0, V.jsx)(EN, {+ let n = t.entity_kind || Rfe[e], o = r.personAvatar(t, n, a);+ return /* @__PURE__ */ (0, V.jsx)(TN, {"data-k": t.k,"data-kind": n,name: t.k,- readout: `${Vfe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${Hfe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,onPress: () => r.openEntity(n, t.k),- children: /* @__PURE__ */ (0, V.jsx)(TN, {+ children: /* @__PURE__ */ (0, V.jsx)(wN, {html: o.html,face: o.face,company: i,@@ -28884,21 +28884,21 @@ function DN({ kind: e, items: t, layout: n, props: r }) {})});}-function Gfe({ items: e, layout: t, props: n }) {+function Kfe({ items: e, layout: t, props: n }) {let r = t === "big";return /* @__PURE__ */ (0, V.jsx)("div", {"data-index-grid": "","data-layout": t,"data-cells": "people",className: "index-grid-person gap-3",- children: e.map((e) => /* @__PURE__ */ (0, V.jsx)(EN, {+ children: e.map((e) => /* @__PURE__ */ (0, V.jsx)(TN, {"data-follow-author": e.key,"data-kind": "performer",name: e.k,readout: `${e.n.toLocaleString()} 项更新`,big: r,onPress: () => n.openFollowAuthor(e.key),- children: /* @__PURE__ */ (0, V.jsx)(TN, {+ children: /* @__PURE__ */ (0, V.jsx)(wN, {html: n.authorAvatar(e),company: !1,big: r@@ -28908,7 +28908,7 @@ function Gfe({ items: e, layout: t, props: n }) {}//#endregion//#region node_modules/scheduler/cjs/scheduler.production.js-var Kfe = /* @__PURE__ */ xt(((e) => {+var qfe = /* @__PURE__ */ xt(((e) => {function t(e, t) {var n = e.length;e.push(t);@@ -29107,10 +29107,10 @@ var Kfe = /* @__PURE__ */ xt(((e) => {}};};-})), qfe = /* @__PURE__ */ xt(((e, t) => {- t.exports = Kfe();-})), Jfe = /* @__PURE__ */ xt(((e) => {- var t = qfe(), n = Ot(), r = At();+})), Jfe = /* @__PURE__ */ xt(((e, t) => {+ t.exports = qfe();+})), Yfe = /* @__PURE__ */ xt(((e) => {+ var t = Jfe(), n = Ot(), r = At();function i(e) {var t = "https://react.dev/errors/" + e;if (1 < arguments.length) {@@ -37520,7 +37520,7 @@ var Kfe = /* @__PURE__ */ xt(((e) => {var n = !1, r = "", o = Tc, s = Ec, c = Dc;return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = vh(e, 1, !1, null, null, n, r, null, o, s, c, Qh), e[bt] = t.current, ep(e), new $h(t);};-})), ON = (/* @__PURE__ */ xt(((e, t) => {+})), DN = (/* @__PURE__ */ xt(((e, t) => {function n() {if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);@@ -37528,16 +37528,16 @@ var Kfe = /* @__PURE__ */ xt(((e) => {console.error(e);}}- n(), t.exports = Jfe();+ n(), t.exports = Yfe();})))();-function Yfe(e) {+function Xfe(e) {let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;e.style.setProperty("--board-range-value", `${i}%`);}//#endregion//#region src/react/photo-lightbox/photo-lightbox.ts-var kN = "/vendor/swiper/14.2.0/", AN = null, Xfe = () => AN ??= Promise.all([new Promise((e, t) => {- let n = `${kN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);+var ON = "/vendor/swiper/14.2.0/", kN = null, Zfe = () => kN ??= Promise.all([new Promise((e, t) => {+ let n = `${ON}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();return;@@ -37551,11 +37551,11 @@ var kN = "/vendor/swiper/14.2.0/", AN = null, Xfe = () => AN ??= Promise.all([nereturn;}let r = document.createElement("script");- r.src = `${kN}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);+ r.src = `${ON}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);})]).then(([, e]) => e).catch((e) => {- throw AN = null, e;+ throw kN = null, e;});-function Zfe(e, t, n) {+function Qfe(e, t, n) {let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {let e = i();return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);@@ -37576,48 +37576,48 @@ function Zfe(e, t, n) {}};}-var jN = (e) => {+var AN = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : pe(t)).replace(" ", "\xA0") : "大小未知";-}, Qfe = (e) => e.asset?.name || e.name || "未命名图片";-function $fe(e, t) {+}, $fe = (e) => e.asset?.name || e.name || "未命名图片";+function epe(e, t) {let n = e.asset;- if (n) return [se[n.location ?? ""] || n.location || "来源未知", jN(n.size)].join(" · ");+ if (n) return [se[n.location ?? ""] || n.location || "来源未知", AN(n.size)].join(" · ");let r = (e.total ?? 0) > 1 ? `第 ${e.position} / ${e.total} 张` : "", i = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";return [e.source || "在线图片",r,i,- e.size ? jN(e.size) : ""+ e.size ? AN(e.size) : ""].filter(Boolean).join(" · ");}//#endregion//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx-var MN = null, NN = null, epe = 0;-function tpe() {- return (!NN || !MN?.isConnected) && (NN?.unmount(), MN = document.createElement("div"), MN.className = "peach-react", MN.dataset.photoLightboxHost = "", document.body.append(MN), NN = (0, ON.createRoot)(MN)), NN;+var jN = null, MN = null, tpe = 0;+function npe() {+ return (!MN || !jN?.isConnected) && (MN?.unmount(), jN = document.createElement("div"), jN.className = "peach-react", jN.dataset.photoLightboxHost = "", document.body.append(jN), MN = (0, DN.createRoot)(jN)), MN;}-async function PN(e, t, n) {+async function NN(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await Xfe();+ r = await Zfe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = tpe();- (0, $f.flushSync)(() => i.render(/* @__PURE__ */ (0, V.jsx)(npe, {+ let i = npe();+ (0, $f.flushSync)(() => i.render(/* @__PURE__ */ (0, V.jsx)(rpe, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++epe)));+ }, ++tpe)));}-function FN() {- NN && (0, $f.flushSync)(() => NN.render(null));+function PN() {+ MN && (0, $f.flushSync)(() => MN.render(null));}-function npe({ slides: e, index: t, Swiper: n, host: r }) {+function rpe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, B.useId)(), o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = (0, B.useRef)(null), l = (0, B.useRef)(null), u = (0, B.useRef)(null), d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = (0, B.useRef)(null), h = (0, B.useRef)(null), g = (0, B.useRef)(null), [_, v] = (0, B.useState)(t), [y, b] = (0, B.useState)(100), [x, S] = (0, B.useState)({}), [C, w] = (0, B.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, B.useState)(!1), [D, O] = (0, B.useState)({at: t,text: ""@@ -37660,7 +37660,7 @@ function npe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = Zfe(e, a, b);+ i(t, 0), h.current = Qfe(e, a, b);let m = Ye(e, f.current, p.current), _ = (e = !1) => {m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();};@@ -37677,13 +37677,13 @@ function npe({ slides: e, index: t, Swiper: n, host: r }) {});y.observe(e);let x = (e) => {- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : FN());+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : PN());};return document.addEventListener("keydown", x, !0), () => {document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");};}, []), (0, B.useLayoutEffect)(() => {- m.current && Yfe(m.current);+ m.current && Xfe(m.current);}, [y]);let k = e[_], A = k.asset ?? null, j = async (e) => {if (!A || !r || e.getAttribute("aria-busy") === "true") return;@@ -37714,18 +37714,18 @@ function npe({ slides: e, index: t, Swiper: n, host: r }) {"data-photo-lightbox": "","data-has-strip": i ? "" : void 0,onCancel: (e) => {- e.preventDefault(), FN();+ e.preventDefault(), PN();},onClick: (e) => {let t = e.target;- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && FN();+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && PN();},children: [/* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-photo-close": "","aria-label": "关闭",- onClick: FN,+ onClick: PN,dangerouslySetInnerHTML: { __html: R("x") }}),/* @__PURE__ */ (0, V.jsxs)("div", {@@ -37858,10 +37858,10 @@ function npe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: Qfe(k)+ children: $fe(k)}, _), /* @__PURE__ */ (0, V.jsx)("span", {"data-photo-detail-meta": "",- children: $fe(k, x[_])+ children: epe(k, x[_])})]}),/* @__PURE__ */ (0, V.jsx)("button", {@@ -37900,33 +37900,33 @@ function npe({ slides: e, index: t, Swiper: n, host: r }) {}//#endregion//#region src/react/entity-body/entity-body-page.tsx-function rpe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, V.jsx)(ipe, {+function ipe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, V.jsx)(ape, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, V.jsx)(ape, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, V.jsx)(cpe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, V.jsx)(ope, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, V.jsx)(lpe, {photos: e.photos,props: e}, e.photos.revision) : null;}-function ipe({ roster: e, props: t }) {+function ape({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, B.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity}), [n, r]);- return /* @__PURE__ */ (0, V.jsx)(DN, {+ return /* @__PURE__ */ (0, V.jsx)(EN, {kind: e.kind,items: e.people,layout: e.layout,props: i});}-function ape(e) {- let t = pA(!e.items, e.skeletonHtml);+function ope(e) {+ let t = fA(!e.items, e.skeletonHtml);return /* @__PURE__ */ (0, V.jsxs)("div", {"data-entity-grid": "","data-grid-reveal": t.fading ? "" : void 0,- children: [t.layer, e.items ? /* @__PURE__ */ (0, V.jsx)(wA, {+ children: [t.layer, e.items ? /* @__PURE__ */ (0, V.jsx)(CA, {mode: "entity",entityKey: `${e.kind}:${e.name}`,revision: e.revision,@@ -37945,16 +37945,16 @@ function ape(e) {}) : null]});}-var ope = (e) => Array.from({ length: e.n }, (t, n) => ({+var spe = (e) => Array.from({ length: e.n }, (t, n) => ({sample: !0,code: e.code,position: n + 1,total: e.n,name: `${e.code} 样张 ${n + 1}`,source: e.site_label || "官方样张"-})), IN = (e) => e.sample === !0, LN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, RN = (e) => IN(e) ? `/sample-thumb?${LN(e)}` : `/photo-thumb?id=${e.id}`, spe = (e) => IN(e) ? {- src: `/sample-image?${LN(e)}`,- thumb: RN(e),+})), FN = (e) => e.sample === !0, IN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, LN = (e) => FN(e) ? `/sample-thumb?${IN(e)}` : `/photo-thumb?id=${e.id}`, cpe = (e) => FN(e) ? {+ src: `/sample-image?${IN(e)}`,+ thumb: LN(e),name: e.name,asset: null,source: e.source,@@ -37962,18 +37962,18 @@ var ope = (e) => Array.from({ length: e.n }, (t, n) => ({total: e.total} : {src: `/photo?id=${e.id}`,- thumb: RN(e),+ thumb: LN(e),name: e.name || "",asset: e};-function cpe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, B.useMemo)(() => [...e.codeSets.flatMap(ope), ...e.items], [e]), [s, c] = (0, B.useState)(() => /* @__PURE__ */ new Set()), l = (0, B.useCallback)((e) => c((t) => {+function lpe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, B.useMemo)(() => [...e.codeSets.flatMap(spe), ...e.items], [e]), [s, c] = (0, B.useState)(() => /* @__PURE__ */ new Set()), l = (0, B.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, B.useCallback)((e) => {- PN(e, o.map(spe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, V.jsx)(lpe, {+ NN(e, o.map(cpe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, V.jsx)(upe, {item: e,index: t,lost: s.has(t),@@ -37991,7 +37991,7 @@ function cpe({ photos: e, props: t }) {};}), h = p;return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, V.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(zN, {+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, V.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(RN, {label: e.code,title: e.name,meta: [@@ -38003,7 +38003,7 @@ function cpe({ photos: e, props: t }) {...f,children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))})] }, e.code)),- m.length && e.total ? /* @__PURE__ */ (0, V.jsx)(zN, {+ m.length && e.total ? /* @__PURE__ */ (0, V.jsx)(RN, {label: "本地图片",meta: `${e.total.toLocaleString()} 张`}) : null,@@ -38012,14 +38012,14 @@ function cpe({ photos: e, props: t }) {"data-local-wall": "",children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))}),- e.hasMore ? /* @__PURE__ */ (0, V.jsx)(TA, {+ e.hasMore ? /* @__PURE__ */ (0, V.jsx)(wA, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1}, e.items.length) : null] });}-function zN({ label: e, title: t, meta: n }) {+function RN({ label: e, title: t, meta: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {"data-photo-group": "",children: [@@ -38036,7 +38036,7 @@ function zN({ label: e, title: t, meta: n }) {]});}-function lpe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function upe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, V.jsx)("button", {type: "button",@@ -38045,7 +38045,7 @@ function lpe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {title: a,onClick: () => i(t),children: n ? null : /* @__PURE__ */ (0, V.jsx)("img", {- src: RN(e),+ src: LN(e),alt: a,loading: "lazy",decoding: "async",@@ -38054,7 +38054,7 @@ function lpe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {})});}-function BN(e) {+function zN(e) {return {x0: 0,y0: 0,@@ -38062,7 +38062,7 @@ function BN(e) {y1: e.height};}-function VN(e) {+function BN(e) {return {x0: Math.round(e.x0),y0: Math.round(e.y0),@@ -38070,40 +38070,40 @@ function VN(e) {y1: Math.round(e.y1)};}-function HN(e) {+function VN(e) {return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;}-function UN(e, t) {- if (!HN(e)) return {+function HN(e, t) {+ if (!VN(e)) return {x0: 0,y0: 0,x1: 0,y1: 0};- if (t == null || !(t > 0)) return BN(e);+ if (t == null || !(t > 0)) return zN(e);let n = e.width, r = n / t;r > e.height && (r = e.height, n = r * t);let i = (e.width - n) / 2, a = (e.height - r) / 2;- return VN({+ return BN({x0: i,y0: a,x1: i + n,y1: a + r});}-function upe(e, t) {- if (!HN(e) || !(t > 0)) return BN(e);+function dpe(e, t) {+ if (!VN(e) || !(t > 0)) return zN(e);let n = Math.min(e.width, e.height * t);- return VN({+ return BN({x0: e.width - n,y0: 0,x1: e.width,y1: e.height});}-function dpe(e, t, n) {- if (!HN(t) || !(n > 0)) return BN(t);- let r = WN(e, t), i = UN({+function fpe(e, t, n) {+ if (!VN(t) || !(n > 0)) return zN(t);+ let r = UN(e, t), i = HN({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -38114,8 +38114,8 @@ function dpe(e, t, n) {y1: r.y0 + i.y1};}-function WN(e, t, n = null, r = "width") {- if (!HN(t)) return {+function UN(e, t, n = null, r = "width") {+ if (!VN(t)) return {x0: 0,y0: 0,x1: 0,@@ -38124,43 +38124,43 @@ function WN(e, t, n = null, r = "width") {let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));- return VN({+ return BN({x0: s,y0: c,x1: s + a,y1: c + o});}-function GN(e, t, n, r) {+function WN(e, t, n, r) {let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));- return VN({+ return BN({x0: o,y0: s,x1: o + i,y1: s + a});}-function KN(e, t, n, r = null) {- if (!HN(n) || !(t > 0)) return e;+function GN(e, t, n, r = null) {+ if (!VN(n) || !(t > 0)) return e;let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;- return WN({+ return UN({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,y1: a + s / 2}, n, r);}-function fpe(e, t, n, r, i = null) {+function ppe(e, t, n, r, i = null) {let a = {x0: e.x0,y0: e.y0,x1: Math.max(e.x0 + 1, t),y1: Math.max(e.y0 + 1, n)};- return WN(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return UN(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function ppe(e, t) {- return HN(t) ? {+function mpe(e, t) {+ return VN(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,width: (e.x1 - e.x0) / t.width * 100,@@ -38172,8 +38172,8 @@ function ppe(e, t) {height: 0};}-function mpe(e, t) {- if (!HN(t)) return {+function hpe(e, t) {+ if (!VN(t)) return {size: "cover",position: "50% 50%"};@@ -38183,7 +38183,7 @@ function mpe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function hpe(e, t) {+function gpe(e, t) {let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);return {left: `${-e.x0 / n * 100}%`,@@ -38192,17 +38192,17 @@ function hpe(e, t) {height: `${t.height / r * 100}%`};}-function qN(e, t, n) {+function KN(e, t, n) {return t > 0 ? e * n / t : 0;}//#endregion//#region src/react/components/modal-frame.tsx-var gpe = {+var _pe = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal"};-function JN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {+function qN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {let { isFocusVisible: a } = Zm();return /* @__PURE__ */ (0, V.jsx)(pk, {isOpen: e,@@ -38213,7 +38213,7 @@ function JN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",children: /* @__PURE__ */ (0, V.jsx)(Hse, {"data-modal-surface": "",- className: `flex max-h-full w-full ${gpe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,+ className: `flex max-h-full w-full ${_pe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,children: /* @__PURE__ */ (0, V.jsx)(lk, {"aria-label": r,className: "flex min-h-0 flex-col outline-none",@@ -38222,7 +38222,7 @@ function JN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {})});}-function YN({ children: e }) {+function JN({ children: e }) {return /* @__PURE__ */ (0, V.jsx)("span", {"aria-hidden": !0,className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",@@ -38231,8 +38231,8 @@ function YN({ children: e }) {}//#endregion//#region src/react/crop/crop-frame.tsx-var _pe = .02, XN = 1.08;-function ZN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var vpe = .02, YN = 1.08;+function XN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, B.useRef)(null), c = (0, B.useRef)(null), [l, u] = (0, B.useState)(!1);(0, B.useEffect)(() => {u(!1);@@ -38243,8 +38243,8 @@ function ZN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: qN(e, n.clientWidth, r.width),- dy: qN(t, n.clientHeight, r.height)+ dx: KN(e, n.clientWidth, r.width),+ dy: KN(t, n.clientHeight, r.height)};}, [r]);function f(e) {@@ -38262,29 +38262,29 @@ function ZN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oif (!n || !a || !r) return;let o = d(e.clientX - n.x, e.clientY - n.y);if (n.mode === "move") {- i(GN(n.box, o.dx, o.dy, r));+ i(WN(n.box, o.dx, o.dy, r));return;}- i(fpe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));+ i(ppe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));}function m(e) {c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));}function h(e) {if (!n || !r) return;- let a = Math.max(1, (n.x1 - n.x0) * _pe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * vpe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};if (o[e.key]) {- e.preventDefault(), i(GN(n, o[e.key][0], o[e.key][1], r));+ e.preventDefault(), i(WN(n, o[e.key][0], o[e.key][1], r));return;}- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(KN(n, e.key === "-" ? 1 / XN : XN, r, t)));+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(GN(n, e.key === "-" ? 1 / YN : YN, r, t)));}- let g = n && r ? ppe(WN(n, r, t), r) : null, _ = g ? {+ let g = n && r ? mpe(UN(n, r, t), r) : null, _ = g ? {"--crop-l": `${g.left}%`,"--crop-t": `${g.top}%`,"--crop-w": `${g.width}%`,@@ -38303,7 +38303,7 @@ function ZN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odraggable: !1,onLoad: (e) => {let t = e.currentTarget;- HN({+ VN({width: t.naturalWidth,height: t.naturalHeight}) && a({@@ -38342,7 +38342,7 @@ function ZN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: m,onKeyDown: h,onWheel: (e) => {- !n || !r || i(KN(n, e.deltaY > 0 ? XN : 1 / XN, r, t));+ !n || !r || i(GN(n, e.deltaY > 0 ? YN : 1 / YN, r, t));},className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",children: /* @__PURE__ */ (0, V.jsx)("span", {@@ -38364,61 +38364,61 @@ function ZN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o}//#endregion//#region src/react/avatar-picker/avatar-picker.ts-var vpe = "/api/avatar-choices", QN = "/api/avatar-pick", ype = "/api/avatar-code-cover", bpe = "/avatar-choice", $N = (e, t) => [+var ype = "/api/avatar-choices", ZN = "/api/avatar-pick", bpe = "/api/avatar-code-cover", xpe = "/avatar-choice", QN = (e, t) => ["avatar-choices",e,t-], eP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, tP = (e, t, n, r = "") => `${bpe}${eP(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), nP = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", xpe = (e, t, n) => G(vpe + eP(e, t), n), Spe = (e) => K(ype, { code: e });-function rP(e, t, n) {+], $N = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, eP = (e, t, n, r = "") => `${xpe}${$N(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), tP = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Spe = (e, t, n) => G(ype + $N(e, t), n), Cpe = (e) => K(bpe, { code: e });+function nP(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? dpe(e.focus, t, n) : UN(t, n);+ return e.focus && r ? fpe(e.focus, t, n) : HN(t, n);}-var Cpe = (e) => e.crop && HN({+var wpe = (e) => e.crop && VN({width: e.width,height: e.height});-async function wpe(e, t, n) {+async function Tpe(e, t, n) {if (!("file" in n)) {- await K(QN, {+ await K(ZN, {kind: e,id: t,...n});return;}- let r = n.file, i = await fetch(`${QN}${eP(e, t)}&name=${encodeURIComponent(r.name)}`, {+ let r = n.file, i = await fetch(`${ZN}${$N(e, t)}&name=${encodeURIComponent(r.name)}`, {method: "POST",credentials: "same-origin",body: r});if (i.ok) return;let a = await i.json().catch(() => null);- throw new jS(a?.error || `请求失败(${i.status})`, i.status, a);+ throw new AS(a?.error || `请求失败(${i.status})`, i.status, a);}-function Tpe(e, t) {+function Epe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);return n.length ? `${e}:图库里按「${n.join("」「")}」找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:图库里没有这个名字,用下面两种方式换。`;}-var Epe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function Dpe(e) {- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Epe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var Dpe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function Ope(e) {+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Dpe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var iP = (e) => e.cast > 1, Ope = (e) => iP(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, kpe = {+var rP = (e) => e.cast > 1, kpe = (e) => rP(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Ape = {gfriends: "图库",history: "用过的",asset: "作品画面",code: "番号封面"};-function Ape(e) {+function jpe(e) {if (e.startsWith("cover:")) return "封面";let t = e.split(":")[2] || "";if (t === "cover") return "封面";let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var jpe = (e) => `${kpe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (iP(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Mpe = 8, Npe = 3 / 4;-function Ppe({ kind: e, entityId: t, name: n, onPicked: r }) {+var Mpe = (e) => `${Ape[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (rP(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Npe = 8, Ppe = 3 / 4;+function Fpe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, B.useState)(!1);return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -38433,12 +38433,12 @@ function Ppe({ kind: e, entityId: t, name: n, onPicked: r }) {className: "size-4"})})- }), /* @__PURE__ */ (0, V.jsx)(JN, {+ }), /* @__PURE__ */ (0, V.jsx)(qN, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, V.jsx)(Fpe, {+ children: /* @__PURE__ */ (0, V.jsx)(Ipe, {kind: e,entityId: t,name: n,@@ -38447,33 +38447,33 @@ function Ppe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function Fpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, B.useRef)(null), o = gM(), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(null), h = $N(e, t), g = (0, B.useRef)(!1), _ = TS({+function Ipe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, B.useRef)(null), o = hM(), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(null), h = QN(e, t), g = (0, B.useRef)(!1), _ = wS({queryKey: h,- queryFn: ({ signal: n }) => xpe(e, t, n),+ queryFn: ({ signal: n }) => Spe(e, t, n),retryOnMount: !0});(0, B.useEffect)(() => () => {- g.current && z.removeQueries({ queryKey: $N(e, t) });+ g.current && z.removeQueries({ queryKey: QN(e, t) });}, [e, t]);- let v = OS({- mutationFn: (n) => wpe(e, t, n),+ let v = DS({+ mutationFn: (n) => Tpe(e, t, n),onSuccess: () => {g.current = !0, i(), r();}- }), y = OS({- mutationFn: (e) => Spe(e),+ }), y = DS({+ mutationFn: (e) => Cpe(e),onSuccess: (e) => m(e)});function b(e) {let t = e.currentTarget, n = t.files?.[0];t.value = "", f(""), n && v.mutate({ file: n });}- let x = _.data, S = x?.choices ?? [], C = d || (v.error ? W(v.error) : "") || (!p && y.error ? W(y.error) : "") || (_.error ? W(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : Dpe(x);+ let x = _.data, S = x?.choices ?? [], C = d || (v.error ? W(v.error) : "") || (!p && y.error ? W(y.error) : "") || (_.error ? W(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : Ope(x);return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, V.jsx)(YN, { children: /* @__PURE__ */ (0, V.jsx)(TT, { className: "size-6" }) }),+ /* @__PURE__ */ (0, V.jsx)(JN, { children: /* @__PURE__ */ (0, V.jsx)(TT, { className: "size-6" }) }),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [@@ -38490,7 +38490,7 @@ function Fpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),/* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: p ? Ope(p) : Tpe(n, x)+ children: p ? kpe(p) : Epe(n, x)}),T ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "neutral",@@ -38502,14 +38502,14 @@ function Fpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, V.jsx)(vM, {+ /* @__PURE__ */ (0, V.jsx)(_M, {icon: dT,size: "small","aria-label": "关闭",onClick: i})]- }), p ? /* @__PURE__ */ (0, V.jsx)(Lpe, {+ }), p ? /* @__PURE__ */ (0, V.jsx)(Rpe, {kind: e,entityId: t,choice: p,@@ -38533,7 +38533,7 @@ function Fpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {"aria-busy": _.isPending || void 0,"data-skeleton": _.isPending ? "avatar-choices" : void 0,className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",- children: _.isPending ? Array.from({ length: Mpe }, (e, t) => /* @__PURE__ */ (0, V.jsxs)("span", {+ children: _.isPending ? Array.from({ length: Npe }, (e, t) => /* @__PURE__ */ (0, V.jsxs)("span", {"aria-hidden": !0,"data-avatar-skeleton": !0,className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",@@ -38546,15 +38546,15 @@ function Fpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: jpe(n),+ title: Mpe(n),...X(w),onClick: () => {w || (n.crop ? m(n) : v.mutate({ ref: n.ref }));},className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",children: [- /* @__PURE__ */ (0, V.jsx)(Ipe, {- src: tP(e, t, n.ref, nP(n, n.ref)),+ /* @__PURE__ */ (0, V.jsx)(Lpe, {+ src: eP(e, t, n.ref, tP(n, n.ref)),choice: n}),/* @__PURE__ */ (0, V.jsx)("span", {@@ -38569,7 +38569,7 @@ function Fpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {children: "在用"})}) : null,- iP(n) ? /* @__PURE__ */ (0, V.jsx)("span", {+ rP(n) ? /* @__PURE__ */ (0, V.jsx)("span", {className: "absolute top-1 right-1",children: /* @__PURE__ */ (0, V.jsxs)(vE, {variant: "caption",@@ -38590,7 +38590,7 @@ function Fpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, V.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, V.jsx)(UM, {+ children: /* @__PURE__ */ (0, V.jsx)(HM, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -38625,7 +38625,7 @@ function Fpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "flex min-w-0 flex-1 items-center gap-2",children: [/* @__PURE__ */ (0, V.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, V.jsx)(UM, {+ children: /* @__PURE__ */ (0, V.jsx)(HM, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -38645,7 +38645,7 @@ function Fpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function Ipe({ src: e, choice: t }) {+function Lpe({ src: e, choice: t }) {let n = (0, B.useRef)(null), [r, i] = (0, B.useState)(!1);(0, B.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -38653,7 +38653,7 @@ function Ipe({ src: e, choice: t }) {let a = {width: t.width,height: t.height- }, o = Cpe(t) ? hpe(rP(t, a, Npe), a) : null, s = r ? !0 : void 0;+ }, o = wpe(t) ? gpe(nP(t, a, Ppe), a) : null, s = r ? !0 : void 0;return /* @__PURE__ */ (0, V.jsxs)("span", {className: "relative block w-full aspect-avatar-choice overflow-hidden",children: [/* @__PURE__ */ (0, V.jsx)("img", {@@ -38678,23 +38678,23 @@ function Ipe({ src: e, choice: t }) {})]});}-function Lpe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, B.useState)(o[0]), [l, u] = (0, B.useState)(null), [d, f] = (0, B.useState)(null), p = nP(n, s), m = tP(e, t, s, p), h = gM();+function Rpe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, B.useState)(o[0]), [l, u] = (0, B.useState)(null), [d, f] = (0, B.useState)(null), p = tP(n, s), m = eP(e, t, s, p), h = hM();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? mpe(d, l) : null;+ let _ = d && l ? hpe(d, l) : null;return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("div", {ref: h,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: [/* @__PURE__ */ (0, V.jsx)(ZN, {+ children: [/* @__PURE__ */ (0, V.jsx)(XN, {src: m,aspect: 1,box: d,size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), HN(e) && f(s === n.ref ? rP(n, e, 1) : UN(e, 1));+ u(e), VN(e) && f(s === n.ref ? nP(n, e, 1) : HN(e, 1));},onBox: f}), o.length > 1 ? /* @__PURE__ */ (0, V.jsx)("div", {@@ -38708,7 +38708,7 @@ function Lpe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })"data-crop-base": !0,onClick: () => g(e),className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",- children: Ape(e)+ children: jpe(e)}, e))}) : null]}), /* @__PURE__ */ (0, V.jsxs)("div", {@@ -38742,7 +38742,7 @@ function Lpe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}//#endregion//#region src/react/feed-new/feed-new-row.tsx-function aP({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+function iP({ feedNew: e, host: t, wire: n, act: r, settled: i }) {let a = (0, B.useRef)(null), o = e?.items.length ? e.html : "";(0, B.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !o, e && i?.(!!o);@@ -38776,12 +38776,12 @@ function aP({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}//#endregion//#region src/react/entity-hero/glyph.tsx-var Rpe = {+var zpe = {"text-aa": 1.435,"mark-javdb": 326 / 111};-function oP({ name: e }) {- let t = Rpe[e];+function aP({ name: e }) {+ let t = zpe[e];return /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24","aria-hidden": "true",@@ -38791,19 +38791,19 @@ function oP({ name: e }) {}//#endregion//#region src/react/entity-hero/hero-pop.tsx-function sP(e, t) {+function oP(e, t) {let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;let i = n.bottom + 8;t.style.top = `${i + r.height <= innerHeight - 8 ? i : Math.max(8, n.top - r.height - 8)}px`;}-var cP = (e) => !!e?.isConnected && e.matches(":popover-open");-function lP(e, t, n, r) {+var sP = (e) => !!e?.isConnected && e.matches(":popover-open");+function cP(e, t, n, r) {let i = (0, B.useRef)(r);i.current = r, (0, B.useEffect)(() => {if (!e) return;let r = () => {- t.current && cP(n.current) ? sP(t.current, n.current) : i.current();+ t.current && sP(n.current) ? oP(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -38817,17 +38817,17 @@ function lP(e, t, n, r) {n]);}-function uP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function lP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, B.useRef)(null), s = (0, B.useRef)(null), [c, l] = (0, B.useState)(!1), u = (0, B.useRef)(!1), d = (0, B.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, cP(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, sP(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), !(!s.current || !o.current || cP(s.current)) && (s.current.showPopover(), sP(o.current, s.current), l(!0));+ clearTimeout(d.current), !(!s.current || !o.current || sP(s.current)) && (s.current.showPopover(), oP(o.current, s.current), l(!0));}, m = () => {clearTimeout(d.current), d.current = window.setTimeout(() => {!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();}, 150);};- return lP(c, o, s, f), (0, B.useEffect)(() => {+ return cP(c, o, s, f), (0, B.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -38853,7 +38853,7 @@ function uP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && cP(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && sP(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, V.jsxs)("div", {@@ -38871,16 +38871,16 @@ function uP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function zpe({ following: e, busy: t, onToggle: n, tip: r }) {+function Bpe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(null), [s, c] = (0, B.useState)(!1), l = (0, B.useRef)(!1), u = () => {- cP(o.current) && o.current.hidePopover(), c(!1);+ sP(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- l.current || !o.current || !i.current || cP(o.current) || (o.current.showPopover(), sP(i.current, o.current), c(!0));+ l.current || !o.current || !i.current || sP(o.current) || (o.current.showPopover(), oP(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return lP(s, i, o, () => c(!1)), (0, B.useEffect)(() => {- i.current && cP(o.current) && sP(i.current, o.current);+ return cP(s, i, o, () => c(!1)), (0, B.useEffect)(() => {+ i.current && sP(o.current) && oP(i.current, o.current);}, [r]), /* @__PURE__ */ (0, V.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -38889,7 +38889,7 @@ function zpe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, V.jsx)(oP, { name: "rss" }),+ /* @__PURE__ */ (0, V.jsx)(aP, { name: "rss" }),/* @__PURE__ */ (0, V.jsx)("input", {ref: a,type: "checkbox",@@ -38924,7 +38924,7 @@ function zpe({ following: e, busy: t, onToggle: n, tip: r }) {}//#endregion//#region src/react/entity-hero/name-picker.tsx-function Bpe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function Vpe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, B.useState)(!1), o = (0, B.useRef)(null);return (0, B.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");@@ -38935,12 +38935,12 @@ function Bpe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, V.jsx)(oP, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, V.jsx)(aP, { name: "chevron-down" })}), /* @__PURE__ */ (0, V.jsx)(QO, {placement: "bottom start",offset: 8,containerPadding: 8,- className: cM,+ className: sM,"data-namepick-menu": "",children: /* @__PURE__ */ (0, V.jsxs)(Ise, {"aria-label": "名字与别名",@@ -38958,7 +38958,7 @@ function Bpe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {id: e,textValue: e,"data-namepick-name": e,- children: [/* @__PURE__ */ (0, V.jsx)(oP, { name: "check" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, V.jsx)(aP, { name: "check" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e })]}, e))}),/* @__PURE__ */ (0, V.jsx)(gse, { "data-namepick-rule": "" }),@@ -38967,18 +38967,18 @@ function Bpe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, V.jsx)(oP, { name: "plus" }), /* @__PURE__ */ (0, V.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, V.jsx)(aP, { name: "plus" }), /* @__PURE__ */ (0, V.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var Vpe = (e) => e === "studio" || e === "agency", dP = (e) => e === "performer" || e === "creator", Hpe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function Upe(e) {+var Hpe = (e) => e === "studio" || e === "agency", uP = (e) => e === "performer" || e === "creator", Upe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function Wpe(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}-function fP(e) {+function dP(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0@@ -38989,13 +38989,13 @@ function fP(e) {linked: !1} : null;}-function pP(e, t) {+function fP(e, t) {let n = _e(e, "performer"), r = me(t);return r && [e.label, n].map(me).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var mP = (e) => ({ site: he(e) });-function Wpe(e, t) {- let n = fP(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var pP = (e) => ({ site: he(e) });+function Gpe(e, t) {+ let n = dP(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -39005,7 +39005,7 @@ function Wpe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${pP(e, n)} · ${t}`+ title: `${fP(e, n)} · ${t}`};}let r = e.url || "";@@ -39013,11 +39013,11 @@ function Wpe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (dP(t) && e.link_kind !== "social") return {+ if (uP(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: pP(e, n),- mark: mP(e)+ title: fP(e, n),+ mark: pP(e)};if (e.link_kind === "social") {let t = le(r);@@ -39025,7 +39025,7 @@ function Wpe(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : mP(e)+ mark: t ? { brand: t } : pP(e)};}return {@@ -39033,13 +39033,13 @@ function Wpe(e, t) {url: r,title: e.label || "",text: _e(e, t, i),- mark: mP(e)+ mark: pP(e)};});return [...r, ...a];}-var hP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function Gpe(e) {+var mP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function Kpe(e) {return [["legal_name",@@ -39095,7 +39095,7 @@ function Gpe(e) {}]}] : []);}-function Kpe(e) {+function qpe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -39152,14 +39152,14 @@ function Kpe(e) {tags: e.tags}), t;}-function qpe(e) {+function Jpe(e) {let t = e.length > 5 ? 4 : e.length;return {shown: e.slice(0, t),rest: e.length - t};}-function Jpe(e) {+function Ype(e) {if (!e) return null;let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;return n.length || r > 0 ? {@@ -39170,7 +39170,7 @@ function Jpe(e) {}//#endregion//#region src/react/entity-hero/entity-hero-page.tsx-function Ype(e) {+function Xpe(e) {return A({id: e.id,hasImage: e.has_image,@@ -39180,8 +39180,8 @@ function Ype(e) {focus: e.avatar_focus});}-function Xpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = dP(e), c = Vpe(e), l = s ? Kpe(n.profile) : c ? Gpe(n.company_profile) : [], u = Wpe(n, e), d = hP(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, B.useRef)(null), m = (0, B.useRef)(null);+function Zpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ let s = uP(e), c = Hpe(e), l = s ? qpe(n.profile) : c ? Kpe(n.company_profile) : [], u = Gpe(n, e), d = mP(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, B.useRef)(null), m = (0, B.useRef)(null);return (0, B.useEffect)(() => {o.wireScroller(p.current);}, [o, u.length]), (0, B.useEffect)(() => {@@ -39194,7 +39194,7 @@ function Xpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, V.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, V.jsx)(Zpe, {+ children: [/* @__PURE__ */ (0, V.jsx)(Qpe, {kind: e,name: t,helpers: o,@@ -39202,7 +39202,7 @@ function Xpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: c}), s && n.id ? /* @__PURE__ */ (0, V.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, V.jsx)(Ppe, {+ children: /* @__PURE__ */ (0, V.jsx)(Fpe, {kind: e,entityId: Number(n.id),name: n.canonical_name || t,@@ -39215,14 +39215,14 @@ function Xpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, V.jsxs)("div", {"data-entity-title": "",- children: [/* @__PURE__ */ (0, V.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, V.jsx)(Bpe, {+ children: [/* @__PURE__ */ (0, V.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, V.jsx)(Vpe, {current: n.canonical_name,- choices: Upe(n),+ choices: Wpe(n),onChoose: a.chooseName,onAddAlias: a.addAlias})]}),- /* @__PURE__ */ (0, V.jsx)(Qpe, {+ /* @__PURE__ */ (0, V.jsx)($pe, {kind: e,entity: n,actions: a@@ -39243,9 +39243,9 @@ function Xpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,u.length ? /* @__PURE__ */ (0, V.jsx)("div", {ref: p,"data-entity-links": "",- children: u.map((e, t) => /* @__PURE__ */ (0, V.jsx)(nme, { link: e }, t))+ children: u.map((e, t) => /* @__PURE__ */ (0, V.jsx)(rme, { link: e }, t))}) : null,- d.length || n.feed ? /* @__PURE__ */ (0, V.jsx)(rme, {+ d.length || n.feed ? /* @__PURE__ */ (0, V.jsx)(ime, {entity: n,actions: a,helpers: o@@ -39254,11 +39254,11 @@ function Xpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),l.length ? /* @__PURE__ */ (0, V.jsx)("dl", {"data-entity-facts": "",- children: l.map((e) => /* @__PURE__ */ (0, V.jsx)(eme, {+ children: l.map((e) => /* @__PURE__ */ (0, V.jsx)(tme, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, V.jsx)(tme, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, V.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, V.jsx)(nme, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, V.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -39277,7 +39277,7 @@ function Xpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, V.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${L(e.k.slice(0, 1))}</span>${Ype(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${L(e.k.slice(0, 1))}</span>${Xpe(e)}` }}), /* @__PURE__ */ (0, V.jsx)("span", {"data-hero-costar-name": "",children: e.k@@ -39285,14 +39285,14 @@ function Xpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(aP, {+ }), i ? (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(iP, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function Zpe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function Qpe({ kind: e, name: t, helpers: n, people: r, company: i }) {let [a] = (0, B.useState)(() => `${n.portraitImg()}<span>${L(t.slice(0, 1))}</span>`);return /* @__PURE__ */ (0, V.jsx)("div", {"data-entity-portrait": r ? "round" : "square",@@ -39301,8 +39301,8 @@ function Zpe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: a }});}-function Qpe({ kind: e, entity: t, actions: n }) {- let r = fP(t), i = (e, t) => (r) => {+function $pe({ kind: e, entity: t, actions: n }) {+ let r = dP(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, V.jsx)("a", {href: ue("agency", r.name),@@ -39311,37 +39311,37 @@ function Qpe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = Jpe(t.name_groups);+ let e = Ype(t.name_groups);return /* @__PURE__ */ (0, V.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, V.jsx)(gP, { entity: t }),+ /* @__PURE__ */ (0, V.jsx)(hP, { entity: t }),/* @__PURE__ */ (0, V.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, V.jsx)(oP, { name: "film" }), /* @__PURE__ */ (0, V.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, V.jsx)(aP, { name: "film" }), /* @__PURE__ */ (0, V.jsx)("span", { children: o })]}),a ? /* @__PURE__ */ (0, V.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, V.jsx)(oP, { name: "briefcase" }), /* @__PURE__ */ (0, V.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, V.jsx)(aP, { name: "briefcase" }), /* @__PURE__ */ (0, V.jsx)("span", { children: a })]}) : null,e ? /* @__PURE__ */ (0, V.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, V.jsx)(oP, { name: "id-card" }),+ /* @__PURE__ */ (0, V.jsx)(aP, { name: "id-card" }),/* @__PURE__ */ (0, V.jsx)("span", {"data-alias-names": "",title: "别名",children: e.names.map((e, t) => /* @__PURE__ */ (0, V.jsx)("span", { children: e }, t))}),- e.rest > 0 ? /* @__PURE__ */ (0, V.jsx)(uP, {+ e.rest > 0 ? /* @__PURE__ */ (0, V.jsx)(lP, {id: "entityAliasPop",hook: "alias",rest: e.rest,label: `另外 ${e.rest} 个别名`,heading: `${e.total} 个别名`,- children: /* @__PURE__ */ (0, V.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, V.jsx)($pe, {+ children: /* @__PURE__ */ (0, V.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, V.jsx)(eme, {label: e.label,names: e.names}, t)) })@@ -39363,21 +39363,21 @@ function Qpe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, V.jsx)(gP, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, V.jsx)(hP, { entity: t }) : null,/* @__PURE__ */ (0, V.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, V.jsx)(oP, { name: "film" }), /* @__PURE__ */ (0, V.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, V.jsx)(aP, { name: "film" }), /* @__PURE__ */ (0, V.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, V.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, V.jsx)(oP, { name: "briefcase" }), /* @__PURE__ */ (0, V.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, V.jsx)(aP, { name: "briefcase" }), /* @__PURE__ */ (0, V.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, V.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, V.jsx)(oP, { name: "clapperboard" }), /* @__PURE__ */ (0, V.jsx)("a", {+ children: [/* @__PURE__ */ (0, V.jsx)(aP, { name: "clapperboard" }), /* @__PURE__ */ (0, V.jsx)("a", {href: ue("studio", l.name),"data-studio-link": l.name,onClick: i("studio", l.name),@@ -39387,7 +39387,7 @@ function Qpe({ kind: e, entity: t, actions: n }) {s.length ? /* @__PURE__ */ (0, V.jsxs)("div", {"data-meta-item": "names","data-company-names": e === "studio" || e === "agency" ? "" : void 0,- children: [/* @__PURE__ */ (0, V.jsx)(oP, { name: "id-card" }), /* @__PURE__ */ (0, V.jsx)("span", {+ children: [/* @__PURE__ */ (0, V.jsx)(aP, { name: "id-card" }), /* @__PURE__ */ (0, V.jsx)("span", {"data-alias-names": "",title: "别名",children: s.map((e, t) => /* @__PURE__ */ (0, V.jsx)("span", { children: e }, t))@@ -39396,32 +39396,32 @@ function Qpe({ kind: e, entity: t, actions: n }) {]});}-function gP({ entity: e }) {+function hP({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, V.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, V.jsx)(oP, { name: "user-round" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, V.jsx)(aP, { name: "user-round" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function $pe({ label: e, names: t }) {+function eme({ label: e, names: t }) {return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [e ? /* @__PURE__ */ (0, V.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, V.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, V.jsxs)("span", { children: [e.name, e.reading ? /* @__PURE__ */ (0, V.jsx)("small", { children: e.reading }) : null] }, t))})] });}-function eme({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("dt", { children: [/* @__PURE__ */ (0, V.jsx)(oP, { name: e }), t] }), /* @__PURE__ */ (0, V.jsx)("dd", {+function tme({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("dt", { children: [/* @__PURE__ */ (0, V.jsx)(aP, { name: e }), t] }), /* @__PURE__ */ (0, V.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function tme({ tags: e }) {- let { shown: t, rest: n } = qpe(e);+function nme({ tags: e }) {+ let { shown: t, rest: n } = Jpe(e);return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, V.jsx)("span", {"data-fact-tag": "",children: e- }, e)), n ? /* @__PURE__ */ (0, V.jsx)(uP, {+ }, e)), n ? /* @__PURE__ */ (0, V.jsx)(lP, {id: "entityTagPop",hook: "fact",rest: n,@@ -39436,10 +39436,10 @@ function tme({ tags: e }) {})}) : null] });}-function _P({ mark: e }) {+function gP({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, V.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, V.jsx)(oP, { name: e.brand })+ children: /* @__PURE__ */ (0, V.jsx)(aP, { name: e.brand })});let t = R("globe") + ("site" in e ? `<img src="${L(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, V.jsx)("span", {@@ -39447,7 +39447,7 @@ function _P({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function nme({ link: e }) {+function rme({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, V.jsx)("a", {"data-link": "icon",@@ -39456,19 +39456,19 @@ function nme({ link: e }) {rel: "noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, V.jsx)(_P, { mark: e.mark })+ children: /* @__PURE__ */ (0, V.jsx)(gP, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, V.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, V.jsx)(_P, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, V.jsx)(gP, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, V.jsxs)("span", {"data-link": "private",title: e.label,- children: [/* @__PURE__ */ (0, V.jsx)(_P, { mark: { globe: !0 } }), /* @__PURE__ */ (0, V.jsxs)("span", {+ children: [/* @__PURE__ */ (0, V.jsx)(gP, { mark: { globe: !0 } }), /* @__PURE__ */ (0, V.jsxs)("span", {"data-link-label": "",children: ["来源 · ", e.label]})]@@ -39479,14 +39479,14 @@ function nme({ link: e }) {target: "_blank",rel: "noreferrer",title: e.title,- children: [/* @__PURE__ */ (0, V.jsx)(_P, { mark: e.mark }), /* @__PURE__ */ (0, V.jsx)("span", {+ children: [/* @__PURE__ */ (0, V.jsx)(gP, { mark: e.mark }), /* @__PURE__ */ (0, V.jsx)("span", {"data-link-label": "",children: e.text})]});}}-function rme({ entity: e, actions: t, helpers: n }) {+function ime({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, B.useState)(!!e.feed?.following), [a, o] = (0, B.useState)(!1), s = (0, B.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -39504,34 +39504,34 @@ function rme({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, V.jsxs)("div", {"data-entry-marks": "",- children: [hP(e).map((e, t) => /* @__PURE__ */ (0, V.jsxs)("a", {+ children: [mP(e).map((e, t) => /* @__PURE__ */ (0, V.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, V.jsx)(oP, { name: e.mark }) : /* @__PURE__ */ (0, V.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, V.jsx)(aP, { name: e.mark }) : /* @__PURE__ */ (0, V.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, V.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, V.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, V.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, V.jsx)(zpe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, V.jsx)(Bpe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: Hpe(r)+ tip: Upe(r)}) : null]});}//#endregion//#region src/react/entity-page/entity-page-view.tsx-function ime(e) {- let { kind: t, name: n } = e, r = TS(lN(t, n)), i = !!r.data?.error, a = r.data?.redirect, { actions: o } = e;+function ame(e) {+ let { kind: t, name: n } = e, r = wS(cN(t, n)), i = !!r.data?.error, a = r.data?.redirect, { actions: o } = e;return (0, B.useLayoutEffect)(() => {i && o.missing();}, [o, i]), (0, B.useLayoutEffect)(() => {@@ -39546,17 +39546,17 @@ function ime(e) {o,a?.kind,a?.name- ]), r.isError ? /* @__PURE__ */ (0, V.jsx)(mA, {+ ]), r.isError ? /* @__PURE__ */ (0, V.jsx)(pA, {message: W(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || a ? null : /* @__PURE__ */ (0, V.jsx)(sme, {+ }) : !r.data || i || a ? null : /* @__PURE__ */ (0, V.jsx)(cme, {...e,entity: r.data});}-function vP(e) {+function _P(e) {let [t, n] = (0, B.useState)({key: e,n: 1@@ -39568,14 +39568,14 @@ function vP(e) {};return n(r), r.n;}-var ame = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function ome(e, t) {+var ome = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function sme(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function sme(e) {- let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = kS(uN(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || dN(p).length > 0, g = a.media === "photos" && h ? a : nN, [_, v] = (0, B.useState)("people"), y = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [b, x] = (0, B.useState)(y);+function cme(e) {+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = OS(lN(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || uN(p).length > 0, g = a.media === "photos" && h ? a : tN, [_, v] = (0, B.useState)("people"), y = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [b, x] = (0, B.useState)(y);b !== y && (x(y), v("videos"));- let S = l && _ === "people" && u.length ? "people" : g.media, [C, w] = (0, B.useState)(0), T = cN(e), E = TS(T), D = vP(JSON.stringify([T.queryKey, C])), [O] = (0, B.useState)(() => (t === "performer" || t === "studio") && (e.jav || (E.data?.items || []).some((e) => e.is_jav)));+ let S = l && _ === "people" && u.length ? "people" : g.media, [C, w] = (0, B.useState)(0), T = sN(e), E = wS(T), D = _P(JSON.stringify([T.queryKey, C])), [O] = (0, B.useState)(() => (t === "performer" || t === "studio") && (e.jav || (E.data?.items || []).some((e) => e.is_jav)));(0, B.useLayoutEffect)(() => {s.javContext(O);}, [s, O]);@@ -39585,26 +39585,26 @@ function sme(e) {}, [e.layout, O]), A = {jav: e.jav,seed: e.seed- }, j = (0, B.useCallback)((e, r) => sN(t, n, i, A, e, r), [D]), [M, N] = (0, B.useState)({}), P = g.set, ee = M[P] || "", F = kS({- ...uN(t, n, P, ee),+ }, j = (0, B.useCallback)((e, r) => oN(t, n, i, A, e, r), [D]), [M, N] = (0, B.useState)({}), P = g.set, ee = M[P] || "", F = OS({+ ...lN(t, n, P, ee),enabled: S === "photos"- }), I = F.data?.pages[0], te = vP(JSON.stringify(iN(t, n, P, ee))), ne = (0, B.useMemo)(() => {+ }), I = F.data?.pages[0], te = _P(JSON.stringify(rN(t, n, P, ee))), ne = (0, B.useMemo)(() => {let e = F.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];return {revision: te,- codeSets: t.id ? [] : dN(t),+ codeSets: t.id ? [] : uN(t),items: e.flatMap((e) => e.items || []),total: t.total || 0,hasMore: !!e[e.length - 1]?.has_more};- }, [F.data, te]), re = F.refetch, ie = F.fetchNextPage, ae = TS({- ...eN(d, o.feedRowHtml),+ }, [F.data, te]), re = F.refetch, ie = F.fetchNextPage, ae = wS({+ ...$M(d, o.feedRowHtml),enabled: !!d}), oe = (0, B.useRef)(e.feedRevision);(0, B.useEffect)(() => {- oe.current !== e.feedRevision && (oe.current = e.feedRevision, z.invalidateQueries({ queryKey: $M(d) }));+ oe.current !== e.feedRevision && (oe.current = e.feedRevision, z.invalidateQueries({ queryKey: QM(d) }));}, [d, e.feedRevision]);let se = !!E.data;(0, B.useEffect)(() => {@@ -39621,12 +39621,12 @@ function sme(e) {le.current = !1;}, []);let ue = (0, B.useCallback)(async () => {- await z.invalidateQueries({ queryKey: rN(t, n) }), await z.invalidateQueries({ queryKey: [+ await z.invalidateQueries({ queryKey: nN(t, n) }), await z.invalidateQueries({ queryKey: ["entity-items",t,n] });- }, [t, n]), L = OS({+ }, [t, n]), L = DS({mutationFn: (e) => ce("/api/entity-alias", {method: "POST",body: JSON.stringify({@@ -39636,14 +39636,14 @@ function sme(e) {})}),onSuccess: () => ue()- }), de = OS({ mutationFn: ({ from: e, to: n }) => ce("/api/entity-name", {+ }), de = DS({ mutationFn: ({ from: e, to: n }) => ce("/api/entity-name", {method: "POST",body: JSON.stringify({kind: t,name: e,canonical: n})- }) }), fe = OS({+ }) }), fe = DS({mutationFn: (e) => ce("/api/feeds/source", {method: "POST",body: JSON.stringify({@@ -39652,7 +39652,7 @@ function sme(e) {enabled: e})}),- onSuccess: (e, r) => z.setQueryData(rN(t, n), (e) => e && {+ onSuccess: (e, r) => z.setQueryData(nN(t, n), (e) => e && {...e,feed: {...e.feed,@@ -39700,10 +39700,10 @@ function sme(e) {let e = await ce("/api/feeds/check").catch(() => null);if (!e || e.status !== "running") break;}- le.current && await z.invalidateQueries({ queryKey: $M(d) });+ le.current && await z.invalidateQueries({ queryKey: QM(d) });})();},- feedAction: tN,+ feedAction: eN,avatarPicked: () => {s.avatarChanged(), ue().then(() => {le.current && w((e) => e + 1);@@ -39734,19 +39734,19 @@ function sme(e) {e === S && !g.set || (v(e === "people" ? "people" : "videos"), s.route(i, e === "photos" ? {media: "photos",set: 0- } : nN));+ } : tN));},setState: (e) => s.route({...i,state: e- }, nN),+ }, tN),toggleTag: s.toggleTag,clearFilter: s.clearFilter,clearAll: s.clearAll,setSort: s.setSort,reshuffle: async () => {if (S !== "photos") {- let r = s.reshuffleVideos(), a = cN({+ let r = s.reshuffleVideos(), a = sN({kind: t,name: n,filters: {@@ -39760,7 +39760,7 @@ function sme(e) {await z.fetchQuery(a).catch(() => null);return;}- let r = ame(), a = await z.fetchInfiniteQuery(uN(t, n, P, r)).catch(() => null);+ let r = ome(), a = await z.fetchInfiniteQuery(lN(t, n, P, r)).catch(() => null);!le.current || !a?.pages[0] || a.pages[0].error || N((e) => ({...e,[P]: r@@ -39793,7 +39793,7 @@ function sme(e) {k: e.k,label: ot(e.k),n: e.n,- selected: Tfe(i.tag, e.k)+ selected: Efe(i.tag, e.k)})), _e = m || u.length ? {label: u.length ? "页面视图" : "媒体类型",people: u.length ? {@@ -39819,9 +39819,9 @@ function sme(e) {if (S === "people") xe = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;else if (S === "videos") {Se = !E.data;- let e = aN(i.tag).map((e) => ot(e));+ let e = iN(i.tag).map((e) => ot(e));xe = `视频 · ${(E.data?.work_total ?? E.data?.total ?? 0).toLocaleString()}${e.length ? ` · ${e.join(" · ")}` : ""}`;- } else I && !I.error ? xe = ye ? `${I.title} · ${(I.total || 0).toLocaleString()} 张` : ome(I, dN(I).length) : Se = F.isPending;+ } else I && !I.error ? xe = ye ? `${I.title} · ${(I.total || 0).toLocaleString()} 张` : sme(I, uN(I).length) : Se = F.isPending;let Ce = (0, B.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -39838,7 +39838,7 @@ function sme(e) {u]);return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsx)(Xpe, {+ /* @__PURE__ */ (0, V.jsx)(Zpe, {kind: t,name: n,entity: r,@@ -39848,7 +39848,7 @@ function sme(e) {actions: pe,helpers: me}, C),- (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(qce, {+ (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(Jce, {kind: t,name: n,view: S,@@ -39864,12 +39864,12 @@ function sme(e) {actions: R,helpers: he}), c.filter),- (0, $f.createPortal)(S === "videos" && E.isError ? /* @__PURE__ */ (0, V.jsx)(mA, {+ (0, $f.createPortal)(S === "videos" && E.isError ? /* @__PURE__ */ (0, V.jsx)(pA, {message: W(E.error),onRetry: () => {E.refetch();}- }) : /* @__PURE__ */ (0, V.jsx)(rpe, {+ }) : /* @__PURE__ */ (0, V.jsx)(ipe, {kind: t,name: n,view: S,@@ -39895,7 +39895,7 @@ function sme(e) {}//#endregion//#region src/react/components/collection-summary.tsx-function yP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function vP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, V.jsxs)("div", {"data-collection-summary": "",className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5@@ -39922,29 +39922,29 @@ function yP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !}//#endregion//#region src/react/duplicates/duplicates-page.tsx-var cme = iA("play"), lme = iA("file-stack"), ume = xE({+var lme = rA("play"), ume = rA("file-stack"), dme = xE({padding: "none",radius: "surface",className: "mb-6 overflow-hidden dark:bg-background-primary-default"-}), bP = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", xP = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", SP = "font-mono text-caption-1-regular leading-5 text-text-secondary", CP = () => {+}), yP = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", bP = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", xP = "font-mono text-caption-1-regular leading-5 text-text-secondary", SP = () => {z.invalidateQueries({- queryKey: OA,+ queryKey: DA,exact: !0}), z.invalidateQueries({- queryKey: Zj,+ queryKey: Xj,exact: !0});};-function dme(e) {+function fme(e) {return e.identical ? /* @__PURE__ */ (0, V.jsx)("span", {- className: `${xP} text-(--keep)`,+ className: `${bP} text-(--keep)`,children: "sha1 一致"}) : /* @__PURE__ */ (0, V.jsx)("span", {- className: `${xP} text-text-secondary`,+ className: `${bP} text-text-secondary`,children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"});}-function fme({ file: e, openItem: t }) {+function pme({ file: e, openItem: t }) {let n = () => t(e.id);return /* @__PURE__ */ (0, V.jsxs)("div", {className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",@@ -39954,7 +39954,7 @@ function fme({ file: e, openItem: t }) {onClick: n,"aria-label": `预览 ${e.name}`,className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",- children: [/* @__PURE__ */ (0, V.jsx)(cme, {+ children: [/* @__PURE__ */ (0, V.jsx)(lme, {"aria-hidden": !0,className: "size-6"}), /* @__PURE__ */ (0, V.jsx)("img", {@@ -39978,55 +39978,55 @@ function fme({ file: e, openItem: t }) {}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex flex-none gap-1",children: [e.is_largest ? /* @__PURE__ */ (0, V.jsx)("i", {- className: `${bP} not-italic bg-background-primary-hover text-text-secondary`,+ className: `${yP} not-italic bg-background-primary-hover text-text-secondary`,children: "最大"}) : null, e.is_longest ? /* @__PURE__ */ (0, V.jsx)("i", {- className: `${bP} not-italic bg-(--keep)/22 text-(--keep)`,+ className: `${yP} not-italic bg-(--keep)/22 text-(--keep)`,children: "最长"}) : null]}) : null]}),/* @__PURE__ */ (0, V.jsxs)("span", {- className: `${SP} flex min-w-0 items-center gap-1.5`,+ className: `${xP} flex min-w-0 items-center gap-1.5`,children: [/* @__PURE__ */ (0, V.jsx)(UE, { mark: Se[e.location] || "database" }), /* @__PURE__ */ (0, V.jsx)("span", {className: "whitespace-nowrap",children: se[e.location] || e.location || e.drive})]}),/* @__PURE__ */ (0, V.jsx)("span", {- className: SP,+ className: xP,children: pe(e.size || 0)}),/* @__PURE__ */ (0, V.jsx)("span", {- className: SP,+ className: xP,children: fe(e.duration)}),/* @__PURE__ */ (0, V.jsx)("span", {"data-middle-truncate": !0,title: e.path ?? "",- className: `${SP} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,+ className: `${xP} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,children: e.path ?? ""})]});}-function pme({ openItem: e, toast: t, failure: n }) {- let r = TS({- queryKey: OA,- queryFn: ({ signal: e }) => AA(e)- }), i = TS({+function mme({ openItem: e, toast: t, failure: n }) {+ let r = wS({+ queryKey: DA,+ queryFn: ({ signal: e }) => kA(e)+ }), i = wS({queryKey: tt,queryFn: ({ signal: e }) => rt(e)- }), [a, o] = (0, B.useState)(""), s = OS({- mutationFn: (e) => NA(e, "dispose"),+ }), [a, o] = (0, B.useState)(""), s = DS({+ mutationFn: (e) => MA(e, "dispose"),onSuccess: (e, r) => {- CP(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {+ SP(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {try {- await NA(r, "restore");+ await MA(r, "restore");} catch (e) {n("撤销移入回收站", e);} finally {- CP();+ SP();}} });},@@ -40040,12 +40040,12 @@ function pme({ openItem: e, toast: t, failure: n }) {children: r.error ? W(r.error) : "未取得重复文件列表,请刷新页面重试。"})});- let l = c.groups ?? [], u = Ole(i.data), d = ({ groups: e, keep: t, key: n }) => {+ let l = c.groups ?? [], u = kle(i.data), d = ({ groups: e, keep: t, key: n }) => {if (s.isPending) return;- let r = Nle(e, t);+ let r = Ple(e, t);r.length && Te({title: "移入回收站",- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${jA[t] ?? jA.largest}。文件共 ${pe(Ple(e, r))},记录可从回收站还原。`,+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${AA[t] ?? AA.largest}。文件共 ${pe(Fle(e, r))},记录可从回收站还原。`,confirmLabel: "移入回收站",onConfirm: () => (o(n), s.mutateAsync(r))});@@ -40053,7 +40053,7 @@ function pme({ openItem: e, toast: t, failure: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "mx-auto w-full max-w-board pb-10.5",children: [- /* @__PURE__ */ (0, V.jsx)(yP, {+ /* @__PURE__ */ (0, V.jsx)(vP, {label: "重复内容",figure: `${Number(c.total || 0).toLocaleString()} 组`,detail: `${c.files} 个文件 · 可回收 ${pe(c.reclaimable)}`@@ -40079,7 +40079,7 @@ function pme({ openItem: e, toast: t, failure: n }) {}),children: "全部保留最长"}),- Mle(l, u).map((e) => /* @__PURE__ */ (0, V.jsx)(dD, {+ Nle(l, u).map((e) => /* @__PURE__ */ (0, V.jsx)(dD, {busy: a === `all:${e}`,onPress: () => d({groups: l,@@ -40102,7 +40102,7 @@ function pme({ openItem: e, toast: t, failure: n }) {let r = [t], i = (e) => `${n}:${e}`;return /* @__PURE__ */ (0, V.jsxs)("section", {"aria-label": t.code,- className: ume,+ className: dme,children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default",children: [@@ -40114,9 +40114,9 @@ function pme({ openItem: e, toast: t, failure: n }) {className: "font-mono text-caption-1-regular leading-5 text-text-primary",children: `${t.count} 个 · 可回收 ${pe(t.reclaimable)}`}),- dme(t),+ fme(t),t.cross_drive ? /* @__PURE__ */ (0, V.jsx)("span", {- className: `${xP} text-text-secondary`,+ className: `${bP} text-text-secondary`,children: `跨盘 ${t.drives.join(" ")}`}) : null,/* @__PURE__ */ (0, V.jsxs)("span", {@@ -40144,7 +40144,7 @@ function pme({ openItem: e, toast: t, failure: n }) {}),children: "留最长"}),- MA(t.files, u).map((e) => /* @__PURE__ */ (0, V.jsx)(J, {+ jA(t.files, u).map((e) => /* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",size: "small",...f(i(e)),@@ -40169,13 +40169,13 @@ function pme({ openItem: e, toast: t, failure: n }) {]})]- }), /* @__PURE__ */ (0, V.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, V.jsx)(fme, {+ }), /* @__PURE__ */ (0, V.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, V.jsx)(pme, {file: t,openItem: e}, t.id)) })]}, `${t.code}-${n}`);}) : /* @__PURE__ */ (0, V.jsx)(SE, {- icon: lme,+ icon: ume,title: "没有找到重复文件",children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"})@@ -40184,23 +40184,23 @@ function pme({ openItem: e, toast: t, failure: n }) {}//#endregion//#region src/react/diagnostics/diagnostics.ts-var wP = ["diagnostics"], TP = (e) => G("/api/diagnostics", e);-async function mme(e) {+var CP = ["diagnostics"], wP = (e) => G("/api/diagnostics", e);+async function hme(e) {await z.fetchQuery({- queryKey: wP,- queryFn: () => TP(e),+ queryKey: CP,+ queryFn: () => wP(e),staleTime: 1e4});}//#endregion//#region src/react/diagnostics/diagnostics-page.tsx-var EP = {+var TP = {ok: "正常",warning: "需检查",failed: "需处理",unknown: "未取得",disabled: "未配置"-}, hme = [+}, gme = [["媒体库与挂载", ["media_mounts", "data_root"]],["数据库与迁移", ["database", "schema"]],["工具", ["ffmpeg"]],@@ -40211,8 +40211,8 @@ var EP = {"version"]],["后台任务", ["tasks"]]-], DP = (e) => new Date(e).toLocaleString();-function gme({ name: e, check: t, navigate: n, configure: r }) {+], EP = (e) => new Date(e).toLocaleString();+function _me({ name: e, check: t, navigate: n, configure: r }) {let i = e === "security" ? "网络与访问" : e === "configured" ? "通用" : "媒体";return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0",@@ -40224,7 +40224,7 @@ function gme({ name: e, check: t, navigate: n, configure: r }) {children: t.label}), /* @__PURE__ */ (0, V.jsx)("span", {className: "text-body-2-regular text-text-secondary",- children: EP[t.status] ?? "未取得"+ children: TP[t.status] ?? "未取得"})]}),/* @__PURE__ */ (0, V.jsx)("p", {@@ -40244,8 +40244,8 @@ function gme({ name: e, check: t, navigate: n, configure: r }) {]});}-function _me({ group: e, openItem: t, receipt: n }) {- let r = DE(), i = gM(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");+function vme({ group: e, openItem: t, receipt: n }) {+ let r = DE(), i = hM(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");return /* @__PURE__ */ (0, V.jsx)(HE, {summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count} 项`}`,children: e.count === null ? /* @__PURE__ */ (0, V.jsx)(Y, {@@ -40294,10 +40294,10 @@ function _me({ group: e, openItem: t, receipt: n }) {})});}-function vme(e) {- let t = TS({- queryKey: wP,- queryFn: ({ signal: e }) => TP(e),+function yme(e) {+ let t = wS({+ queryKey: CP,+ queryFn: ({ signal: e }) => wP(e),staleTime: 1e4}), n = DE(), [r, i] = (0, B.useState)(""), a = () => void n.run("refresh", async () => {let e = await t.refetch();@@ -40324,15 +40324,15 @@ function vme(e) {title: "库健康",children: /* @__PURE__ */ (0, V.jsxs)(PE, { children: [o.library.issue_at ? /* @__PURE__ */ (0, V.jsxs)("p", {className: "text-body-2-regular text-text-secondary",- children: ["处理记录 · ", DP(o.library.issue_at)]- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, V.jsx)(_me, {+ children: ["处理记录 · ", EP(o.library.issue_at)]+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, V.jsx)(vme, {group: n,...e}, t))] })}),- hme.map(([t, n]) => /* @__PURE__ */ (0, V.jsx)(ME, {+ gme.map(([t, n]) => /* @__PURE__ */ (0, V.jsx)(ME, {title: t,- children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, V.jsx)(gme, {+ children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, V.jsx)(_me, {name: t,check: o.checks[t],...e@@ -40348,7 +40348,7 @@ function vme(e) {children: [e.label," · ",- EP[e.status]+ TP[e.status]]}),/* @__PURE__ */ (0, V.jsx)("p", {@@ -40357,10 +40357,10 @@ function vme(e) {}),/* @__PURE__ */ (0, V.jsxs)(BE, { children: [/* @__PURE__ */ (0, V.jsx)(VE, {term: "上次解析成功",- children: e.last_success_at ? DP(e.last_success_at) : "未取得"+ children: e.last_success_at ? EP(e.last_success_at) : "未取得"}), /* @__PURE__ */ (0, V.jsx)(VE, {term: "冷却截止",- children: e.cooldown_until ? DP(e.cooldown_until) : "未在冷却"+ children: e.cooldown_until ? EP(e.cooldown_until) : "未在冷却"})] })]}, e.source)), /* @__PURE__ */ (0, V.jsx)("div", { children: /* @__PURE__ */ (0, V.jsx)(J, {@@ -40388,21 +40388,21 @@ function vme(e) {}//#endregion//#region src/react/feed-new/feed-new-page.tsx-function yme({ host: e, revision: t, helpers: n, actions: r }) {- let i = TS(eN(null, n.feedRowHtml)), a = (0, B.useRef)(t);+function bme({ host: e, revision: t, helpers: n, actions: r }) {+ let i = wS($M(null, n.feedRowHtml)), a = (0, B.useRef)(t);return (0, B.useEffect)(() => {- a.current !== t && (a.current = t, z.invalidateQueries({ queryKey: $M(null) }));- }, [t]), (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(aP, {+ a.current !== t && (a.current = t, z.invalidateQueries({ queryKey: QM(null) }));+ }, [t]), (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(iP, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,- act: tN,+ act: eN,settled: r.settled}), e);}//#endregion//#region src/follow-sort.ts-var OP = [+var DP = [["checked", "检查时间"],["added", "添加时间"],["name", "创作者名称"],@@ -40410,7 +40410,7 @@ var OP = [["source", "来源名称"],["provider", "站点"],["status", "状态"]-], bme = "checked", kP = {+], xme = "checked", OP = {checked: "desc",added: "desc",name: "asc",@@ -40418,32 +40418,32 @@ var OP = [source: "asc",provider: "asc",status: "asc"-}, xme = (e) => OP.some(([t]) => t === e);-function AP(e, t) {- let n = xme(e) ? e : bme;+}, Sme = (e) => DP.some(([t]) => t === e);+function kP(e, t) {+ let n = Sme(e) ? e : xme;return {sort: n,- dir: t === "asc" || t === "desc" ? t : kP[n]+ dir: t === "asc" || t === "desc" ? t : OP[n]};}//#endregion//#region src/react/follow-manage/follow-manage.ts-var jP = "/api/follow", MP = "/api/follow/credentials", NP = "/api/follow/check", PP = "/api/follow/source", FP = "/api/follow/resolve", Sme = "/api/follow/suggest", IP = "/api/follow/author-alias", Cme = "/api/follow/credential", LP = "/api/follow/status", wme = "/api/feeds", RP = "/api/feeds/source", Tme = "/api/feeds/check", Eme = "/api/feeds/lookup", zP = ["follow-manage"], BP = ["follow-manage", "credentials"], Dme = ["follow-manage", "check"], Ome = ["follow-manage", "resolve"], VP = ["follow-manage", "feeds"], kme = (e) => [+var AP = "/api/follow", jP = "/api/follow/credentials", MP = "/api/follow/check", NP = "/api/follow/source", PP = "/api/follow/resolve", Cme = "/api/follow/suggest", FP = "/api/follow/author-alias", wme = "/api/follow/credential", IP = "/api/follow/status", Tme = "/api/feeds", LP = "/api/feeds/source", Eme = "/api/feeds/check", Dme = "/api/feeds/lookup", RP = ["follow-manage"], zP = ["follow-manage", "credentials"], Ome = ["follow-manage", "check"], kme = ["follow-manage", "resolve"], BP = ["follow-manage", "feeds"], Ame = (e) => ["follow-manage","suggest",e-], HP = [["default", "默认视图"], ["table", "表格视图"]], UP = [+], VP = [["default", "默认视图"], ["table", "表格视图"]], HP = [10,20,50,100-], Ame = Object.fromEntries(OP), WP = {+], jme = Object.fromEntries(DP), UP = {author: "name",source: "source",provider: "provider",status: "status",checked: "checked"-}, jme = (e) => HP.some(([t]) => t === e), Mme = (e) => UP.includes(Number(e)) ? Number(e) : 20, Nme = {+}, Mme = (e) => VP.some(([t]) => t === e), Nme = (e) => HP.includes(Number(e)) ? Number(e) : 20, Pme = {checked: ["从近到远", "从远到近"],added: ["从近到远", "从远到近"],name: ["倒序", "正序"],@@ -40451,25 +40451,25 @@ var jP = "/api/follow", MP = "/api/follow/credentials", NP = "/api/follow/check"source: ["倒序", "正序"],provider: ["倒序", "正序"],status: ["倒序", "正序"]-}, Pme = (e, t) => `按${Ame[e]}${Nme[e][t === "asc" ? 0 : 1]}排序`;-function GP(e) {+}, Fme = (e, t) => `按${jme[e]}${Pme[e][t === "asc" ? 0 : 1]}排序`;+function WP(e) {let t = e.last_status;return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;}-function Fme(e) {+function Ime(e) {return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";}-var KP = (e) => e.last_status === "error" || e.last_status === "unauthorized", qP = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), JP = {- source: qP,- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || qP(e, t),- status: (e, t) => GP(e) - GP(t) || qP(e, t)-}, YP = (e) => Date.parse(e || "") || 0, XP = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();-function ZP(e, t = []) {+var GP = (e) => e.last_status === "error" || e.last_status === "unauthorized", KP = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), qP = {+ source: KP,+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || KP(e, t),+ status: (e, t) => WP(e) - WP(t) || KP(e, t)+}, JP = (e) => Date.parse(e || "") || 0, YP = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();+function XP(e, t = []) {if (!e.length) return "";- let n = (e) => String(e.author_name || "").trim() || XP(e.label), r = e.find((e) => e.entity_name);+ let n = (e) => String(e.author_name || "").trim() || YP(e.label), r = e.find((e) => e.entity_name);if (r) return r.entity_name;let i = t.find((t) => `name:${t.canonical_key}` === e[0]?.author_key);- if (i) return XP(i.canonical_name);+ if (i) return YP(i.canonical_name);let a = e.find((e) => e.official_avatar_url);if (a && n(a)) return n(a);let o = e.map(n).filter(Boolean);@@ -40477,18 +40477,18 @@ function ZP(e, t = []) {let s = (e) => (e.match(/[A-Z]/g) || []).length;return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);}-function QP(e) {+function ZP(e) {let t = e.trim().match(/[A-Za-z0-9]/);return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();}-function $P(e) {+function QP(e) {let t = e.find((e) => e.official_avatar_url), n = e.find((e) => e.avatar_url), r = t?.official_avatar_url || n?.avatar_url || "";return {src: r,fallback: t && n && n.avatar_url !== r && n.avatar_url || ""};}-function eF(e) {+function $P(e) {let t = [], n = /* @__PURE__ */ new Map();for (let r of e) {let e = r.author_key || `source:${r.id}`;@@ -40496,32 +40496,32 @@ function eF(e) {}return t.map((e) => n.get(e));}-function Ime(e, t, n, r = []) {- let i = eF(e), a = n === kP[t] ? 1 : -1, o = (e) => ZP(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = JP[t];+function Lme(e, t, n, r = []) {+ let i = $P(e), a = n === OP[t] ? 1 : -1, o = (e) => XP(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = qP[t];if (c) {for (let e of i) e.sort((e, t) => a * c(e, t));return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));}- let l = (e) => Math.max(...e.map((e) => YP(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => YP(e.created_at)));+ let l = (e) => Math.max(...e.map((e) => JP(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => JP(e.created_at)));return i.sort((e, n) => t === "name" ? a * s(e, n) : t === "sources" ? a * (n.length - e.length) || s(e, n) : t === "added" ? a * (u(n) - u(e)) || s(e, n) : a * (l(n) - l(e)) || s(e, n));}-function Lme(e, t, n, r = []) {+function Rme(e, t, n, r = []) {let i = e.flatMap((e) => {- let t = ZP(e, r);+ let t = XP(e, r);return e.map((n) => ({source: n,group: e,author: t}));- }), a = JP[t];+ }), a = qP[t];if (a) {- let e = n === kP[t] ? 1 : -1;+ let e = n === OP[t] ? 1 : -1;i.sort((t, n) => e * a(t.source, n.source));}return i;}-function tF(e, t, n) {- let r = ZA(e, t), i = QA(n, r), a = (i - 1) * t;+function eF(e, t, n) {+ let r = XA(e, t), i = ZA(n, r), a = (i - 1) * t;return {page: i,pages: r,@@ -40530,91 +40530,91 @@ function tF(e, t, n) {end: Math.min(a + t, e)};}-function Rme(e, t) {+function zme(e, t) {let n = new Set(t.map((e) => e.id));return new Set([...e].filter((e) => n.has(e)));}-function nF(e, t) {+function tF(e, t) {let n = t.filter((t) => e.has(t)).length;return {all: t.length > 0 && n === t.length,some: n > 0 && n < t.length};}-function rF(e, t, n) {+function nF(e, t, n) {let r = new Set(e);for (let e of t) n ? r.add(e) : r.delete(e);return r;}-var iF = (e) => G(`${jP}?summary=1`, e), aF = (e) => G(MP, e), zme = (e) => G(NP, e), Bme = (e) => G(FP, e), Vme = (e, t) => G(`${Sme}?q=${encodeURIComponent(e)}`, t), oF = (e) => K(NP, {+var rF = (e) => G(`${AP}?summary=1`, e), iF = (e) => G(jP, e), Bme = (e) => G(MP, e), Vme = (e) => G(PP, e), Hme = (e, t) => G(`${Cme}?q=${encodeURIComponent(e)}`, t), aF = (e) => K(MP, {...e?.length ? { sources: e } : {},background: !0-}), Hme = (e) => K(FP, {+}), Ume = (e) => K(PP, {lines: e,background: !0-}), sF = (e, t) => K(PP, {+}), oF = (e, t) => K(NP, {action: "enabled",id: e,enabled: t-}), cF = (e) => K(PP, {+}), sF = (e) => K(NP, {action: "remove",id: e-}), Ume = (e) => K(PP, {+}), Wme = (e) => K(NP, {action: "add",url: e.url,label: e.label,author: e.author || "",aliases: e.aliases || [],defer_check: !0-}), lF = (e, t) => K(IP, {+}), cF = (e, t) => K(FP, {action: "add",canonical: e,alias: t-}), Wme = (e) => K(IP, {+}), Gme = (e) => K(FP, {action: "remove",alias: e-}), Gme = (e, t) => K(Cme, {+}), Kme = (e, t) => K(wme, {provider: e,values: t-}), Kme = (e, t) => K(LP, {+}), qme = (e, t) => K(IP, {item: e,to: t-}), qme = () => G(`${jP}?status=new&limit=1000`);-async function uF(e) {- let t = await G(wme, e);+}), Jme = () => G(`${AP}?status=new&limit=1000`);+async function lF(e) {+ let t = await G(Tme, e);if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");return t;}-var dF = (e, t, n) => K(RP, {+var uF = (e, t, n) => K(LP, {action: "enabled",id: e,enabled: t-}, "POST", n), fF = (e, t) => K(RP, {+}, "POST", n), dF = (e, t) => K(LP, {action: "remove",id: e-}, "POST", t), pF = (e, t) => K(Tme, t?.length ? { sources: t } : { all: !0 }, "POST", e), Jme = (e, t) => G(`${Eme}?q=${encodeURIComponent(e)}`, t), Yme = (e, t, n) => K(RP, {+}, "POST", t), fF = (e, t) => K(Eme, t?.length ? { sources: t } : { all: !0 }, "POST", e), Yme = (e, t) => G(`${Dme}?q=${encodeURIComponent(e)}`, t), Xme = (e, t, n) => K(LP, {action: "follow-name",name: e,ids: t}, "POST", n);-async function Xme(e, t = "") {+async function Zme(e, t = "") {await Promise.all([z.fetchQuery({- queryKey: zP,- queryFn: () => iF(e)+ queryKey: RP,+ queryFn: () => rF(e)}),z.fetchQuery({- queryKey: BP,- queryFn: () => aF(e)+ queryKey: zP,+ queryFn: () => iF(e)}),t === "feeds" ? z.fetchQuery({- queryKey: VP,- queryFn: () => uF(e)+ queryKey: BP,+ queryFn: () => lF(e)}) : null]);}-function mF(e, t) {- z.setQueryData(zP, (n) => n && {+function pF(e, t) {+ z.setQueryData(RP, (n) => n && {...n,sources: n.sources.map((n) => n.id === e ? {...n,@@ -40622,24 +40622,24 @@ function mF(e, t) {} : n)});}-function hF(e) {+function mF(e) {let t = new Set(e);- z.setQueryData(zP, (e) => e && {+ z.setQueryData(RP, (e) => e && {...e,sources: e.sources.filter((e) => !t.has(e.id))});}-var gF = () => z.invalidateQueries({- queryKey: zP,+var hF = () => z.invalidateQueries({+ queryKey: RP,exact: !0});-function Zme(e) {+function Qme(e) {let t = e.results || [], n = (e) => t.reduce((t, n) => t + (e(n) || 0), 0), r = n((e) => e.added), i = n((e) => e.updated), a = n((e) => e.skipped_compilations), o = n((e) => e.skipped) - a, s = n((e) => e.history_skipped), c = n((e) => e.probed), l = t.filter((e) => e.ok && !e.added && !e.updated).length, u = t.filter((e) => !e.ok).length, d = [];r && d.push(`新增 ${r} 条`), i && d.push(`更新 ${i} 条`), o && d.push(`跳过 ${o} 条无资源`), a && d.push(`排除 ${a} 个超大合集`), s && d.push(`跳过 ${s} 条超出首次采集范围的历史内容`), c && d.push(`回查 ${c} 条`), l && d.push(`${l} 个来源没有更新`), d.length || d.push("没有任何更新");let f = t.filter((e) => e.exhausted).length;return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;}-var Qme = (e) => (e?.results || []).filter((e) => !e.ok), $me = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", _F = (e) => e.last_checked_at ? $A(e.last_checked_at) : "未检查", ehe = /* @__PURE__ */ new Set([+var $me = (e) => (e?.results || []).filter((e) => !e.ok), ehe = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", gF = (e) => e.last_checked_at ? QA(e.last_checked_at) : "未检查", the = /* @__PURE__ */ new Set(["fanbox","patreon","subscribestar",@@ -40652,49 +40652,49 @@ var Qme = (e) => (e?.results || []).filter((e) => !e.ok), $me = (e) => (e?.resul"gofile","f95zone","simpcity"-]), vF = (e) => ehe.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", the = {+]), _F = (e) => the.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", nhe = {required: "需要",optional: "可选",none: "不需要",blocked: "接不进来"-}, yF = (e) => !!e.present && !e.missing.length, nhe = [+}, vF = (e) => !!e.present && !e.missing.length, rhe = [["", "全部"],["new", "未看"],["saved", "已保存"],["ignored", "已忽略"]-], rhe = [+], ihe = [["new", "更新时间"],["hot", "热度"],["dur", "时长"]-], bF = {+], yF = {new: ["从新到旧", "从旧到新"],hot: ["从高到低", "从低到高"],dur: ["从长到短", "从短到长"]};-function xF(e, t) {+function bF(e, t) {let n = (e) => encodeURIComponent(e.join(","));return `/api/follow?limit=300&offset=${t}` + (e.status ? `&status=${e.status}` : "") + (e.author ? `&author=${n([e.author])}` : "") + (e.provider ? `&provider=${n([e.provider])}` : "") + (e.tags.length ? `&tag=${n(e.tags)}` : "") + (e.work ? `&work=${n([e.work])}` : "") + (e.sort === "new" ? "" : `&sort=${e.sort}`) + (e.sort === "rand" ? `&seed=${e.seed}` : "") + (e.dir === "desc" ? "" : `&dir=${e.dir}`);}-var SF = 18e5;-function CF(e, t) {+var xF = 18e5;+function SF(e, t) {return {queryKey: ["follow-feed",- xF(e, 0),+ bF(e, 0),t],- queryFn: ({ pageParam: t, signal: n }) => G(xF(e, t), n),+ queryFn: ({ pageParam: t, signal: n }) => G(bF(e, t), n),initialPageParam: 0,getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 300 : void 0,- placeholderData: AS.keepPreviousData,- gcTime: SF+ placeholderData: kS.keepPreviousData,+ gcTime: xF};}-var wF = ["follow-feed", "credentials"], TF = (e) => G(MP, e).catch(() => ({ providers: [] }));-async function ihe(e, t) {- let n = CF(e.view, e.revision);+var CF = ["follow-feed", "credentials"], wF = (e) => G(jP, e).catch(() => ({ providers: [] }));+async function ahe(e, t) {+ let n = SF(e.view, e.revision);z.removeQueries({- queryKey: wF,+ queryKey: CF,exact: !0});let r = z.getQueryData(n.queryKey) !== void 0;@@ -40706,13 +40706,13 @@ async function ihe(e, t) {}),initialPageParam: 0,getNextPageParam: n.getNextPageParam,- gcTime: SF+ gcTime: xF}), z.fetchQuery({- queryKey: wF,- queryFn: () => TF(t)+ queryKey: CF,+ queryFn: () => wF(t)})]);}-function EF(e) {+function TF(e) {if (!e?.pages.length) return null;let t = e.pages, n = t[t.length - 1];return {@@ -40721,10 +40721,10 @@ function EF(e) {groups: t.flatMap((e) => e.groups || [])};}-function DF(e, t, n) {+function EF(e, t, n) {return [...e].sort((e, r) => be(n, t(e)) - be(n, t(r)) || String(t(e)).localeCompare(String(t(r))));}-function OF(e) {+function DF(e) {let t = /* @__PURE__ */ new Set();return [e.primary,@@ -40732,14 +40732,14 @@ function OF(e) {...e.duplicates].filter((e) => !e || t.has(e.id) ? !1 : (t.add(e.id), !0));}-function ahe(e) {+function ohe(e) {let t = z.getQueryCache().findAll({ queryKey: ["follow-feed"] }).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt);for (let n of t) {let t = n.state.data;if (!Array.isArray(t?.pages) || !t.pages.length) continue;let r = t.pages[t.pages.length - 1];for (let n of t.pages) for (let t of n.groups || []) {- let n = OF(t).find((t) => t.id === e);+ let n = DF(t).find((t) => t.id === e);if (n) return {item: n,group: t,@@ -40750,7 +40750,7 @@ function ahe(e) {}return null;}-function ohe(e) {+function she(e) {z.setQueriesData({queryKey: ["follow-feed"],predicate: (e) => Array.isArray(e.state.data?.pages)@@ -40760,7 +40760,7 @@ function ohe(e) {...t,groups: (t.groups || []).map((t) => {let n = (t) => t.id === e.id ? e : t;- return OF(t).some((t) => t.id === e.id) ? {+ return DF(t).some((t) => t.id === e.id) ? {...t,primary: n(t.primary),variants: t.variants.map(n),@@ -40770,39 +40770,39 @@ function ohe(e) {}))});}-function she(e, t) {+function che(e, t) {z.setQueriesData({queryKey: ["follow-feed"],predicate: (e) => Array.isArray(e.state.data?.pages)- }, (n) => n && IF(n, null, e, t));+ }, (n) => n && FF(n, null, e, t));}-function kF(e) {- return OF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));+function OF(e) {+ return DF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));}-function AF(e) {+function kF(e) {let t = /* @__PURE__ */ new Set(), n = e.media_items || [];return n.length ? n.forEach((e) => {(e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind);}) : (e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind), t;}-function jF(e) {+function AF(e) {let t = /* @__PURE__ */ new Set();- return OF(e).forEach((e) => AF(e).forEach((e) => t.add(e))), t;+ return DF(e).forEach((e) => kF(e).forEach((e) => t.add(e))), t;}-function MF(e, t) {+function jF(e, t) {let n = t === "images" ? "image" : "video";- return kF(e).find((e) => AF(e).has(n)) || e.primary;+ return OF(e).find((e) => kF(e).has(n)) || e.primary;}-function NF(e) {- return kF(e).filter((e) => e.playable && e.media_kind === "video");+function MF(e) {+ return OF(e).filter((e) => e.playable && e.media_kind === "video");}-var PF = {+var NF = {video: "个视频",image: "张图片",mixed: "个媒体"};-function che({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {- let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${PF[s] || PF.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];+function lhe({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {+ let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${NF[s] || NF.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];for (let t of n?.faces || []) r && t.media_kind !== "image" || !t.thumb_url || t.thumb_url === e || u.has(t.face) || (u.add(t.face), d.push(t.thumb_url));return {isMix: !!c,@@ -40811,14 +40811,14 @@ function che({ cover: e = "", coverFace: t = null, stack: n = null, imageView: rfaces: d.length > 1 ? d.slice(0, i) : []};}-function lhe(e) {+function uhe(e) {let t = e.filter((e) => e.can_backfill).map((e) => (e.backfill_page || 0) + 1);if (!t.length) return "";let n = Math.max(...t), r = Math.min(...t);return n <= 1 ? "每个来源都只抓了第 1 页" : r === n ? `每个来源都抓到第 ${n} 页` : `已抓到第 ${r}–${n} 页`;}-function FF(e, t, n) {- return e === t ? bF[e] ? {+function PF(e, t, n) {+ return e === t ? yF[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {@@ -40826,13 +40826,13 @@ function FF(e, t, n) {dir: "desc"};}-function uhe(e, t, n, r) {- let i = FF(e, n, r);+function dhe(e, t, n, r) {+ let i = PF(e, n, r);if (!i) return "";- let a = bF[i.sort];+ let a = yF[i.sort];return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;}-function IF(e, t, n, r) {+function FF(e, t, n, r) {let i = "", a = e.pages.map((e) => ({...e,groups: (e.groups || []).flatMap((e) => {@@ -40862,7 +40862,7 @@ function IF(e, t, n, r) {})};}-function dhe(e, t) {+function fhe(e, t) {let n = [];return e.author && n.push({kind: "创作者",@@ -40882,7 +40882,7 @@ function dhe(e, t) {label: e})), n;}-function fhe(e, t) {+function phe(e, t) {return t.kind === "创作者" ? {...e,author: ""@@ -40897,7 +40897,7 @@ function fhe(e, t) {tags: e.tags.filter((e) => e !== t.key)};}-function phe(e, t) {+function mhe(e, t) {for (let n of e) {let e = n.primary?.tag_types?.[t];if (e) return e;@@ -40906,7 +40906,7 @@ function phe(e, t) {}//#endregion//#region src/sidebar.ts-var mhe = [+var hhe = ["","follow","jav",@@ -40915,7 +40915,7 @@ var mhe = ["studios","flagged","manage"-], hhe = [+], ghe = ["playlists","immerse","stats",@@ -40925,77 +40925,77 @@ var mhe = ["follow-manage","quality"];-[...mhe, ...hhe];-function ghe(e) {+[...hhe, ...ghe];+function _he(e) {let t = /* @__PURE__ */ new Map();for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);}//#endregion//#region src/react/follow-feed/follow-marks.ts-var LF = (e) => typeof e == "string" ? e : "", RF = (e) => e.aliases;-function zF(e, t = "") {- let n = vF(e);+var IF = (e) => typeof e == "string" ? e : "", LF = (e) => e.aliases;+function RF(e, t = "") {+ let n = _F(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${L(t)}"${t ? ` title="${L(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-var BF = (e, t) => ZP(e, RF(t));-function VF(e, t) {- let { src: n, fallback: r } = $P(e), i = QP(t);+var zF = (e, t) => XP(e, LF(t));+function BF(e, t) {+ let { src: n, fallback: r } = QP(e), i = ZP(t);if (!n) return `<span class="favatar none" title="没有可用头像">${L(i)}</span>`;let a = r ? ` data-fallbacks="${L(r)}"` : "";return `<img class="favatar" src="${L(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${L(i)}" data-drop-class="favatar none">`;}-function HF(e, t, n) {- let r = RF(n), i = e.credit, a = i?.poster;+function VF(e, t, n) {+ let r = LF(n), i = e.credit, a = i?.poster;if (!a) {- let n = ZP(t, r);+ let n = XP(t, r);return {- author: n || LF(e.author) || LF(e.source_label) || "创作者未取得",- avatar: VF(t, n),+ author: n || IF(e.author) || IF(e.source_label) || "创作者未取得",+ avatar: BF(t, n),credited: ""};}- let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && ZP(c, r) || a;+ let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && XP(c, r) || a;return {author: l,- avatar: VF(c, l),+ avatar: BF(c, l),credited: i.credited || ""};}-function UF(e, t = e.primary) {+function HF(e, t = e.primary) {let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));- let i = LF(e.primary.version);+ let i = IF(e.primary.version);i && n.push(r("version", L(i)));- let a = LF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = IF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function WF(e, t = e.primary) {+function UF(e, t = e.primary) {let n = new Map([e.primary,...e.variants,...e.duplicates].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));if (!n.size) return "";- let r = [...n].map(([e, t]) => zF(e, t) || `<span>${L(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => RF(e, t) || `<span>${L(t)}</span>`).join("");return `<span data-follow-seealso="" title="另见 ${L([...n.values()].join("、"))}">另见 ${r}</span>`;}-function GF(e, t) {- let n = LF(e.media_error);+function WF(e, t) {+ let n = IF(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var KF = (e) => e.published_at ? $A(e.published_at) : "时间未取得", qF = /* @__PURE__ */ new Set(), JF = [], YF = null;-function XF() {- if (YF = null, !JF.length) return;- let e = JF.splice(0, 200);+var GF = (e) => e.published_at ? QA(e.published_at) : "时间未取得", KF = /* @__PURE__ */ new Set(), qF = [], JF = null;+function YF() {+ if (JF = null, !qF.length) return;+ let e = qF.splice(0, 200);ce("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), JF.length && (YF = setTimeout(XF, 800));+ }).catch(() => {}), qF.length && (JF = setTimeout(YF, 800));}-function _he(e, t, n, r) {+function vhe(e, t, n, r) {let i = `${e}:${t ?? ""}`;- qF.has(i) || (qF.add(i), JF.push(t === null ? {+ KF.has(i) || (KF.add(i), qF.push(t === null ? {item: e,width: n,height: r@@ -41004,15 +41004,15 @@ function _he(e, t, n, r) {width: n,height: r,media: t- }), YF ||= setTimeout(XF, 800));+ }), JF ||= setTimeout(YF, 800));}//#endregion//#region src/react/follow-feed/follow-card.tsx-var vhe = (e) => Number(e) > 0;-function yhe(e) {+var yhe = (e) => Number(e) > 0;+function bhe(e) {return /^\d{4}-/.test(e) ? e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10) : e;}-function bhe({ src: e, fallback: t, width: n, height: r, onLearn: i }) {+function xhe({ src: e, fallback: t, width: n, height: r, onLearn: i }) {let [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(!1);return a ? null : /* @__PURE__ */ (0, V.jsx)("img", {src: s ? t : e,@@ -41030,8 +41030,8 @@ function bhe({ src: e, fallback: t, width: n, height: r, onLearn: i }) {} : void 0});}-function xhe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = MF(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => _he(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? NF(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = che({+function She(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = jF(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => vhe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? MF(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = lhe({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -41039,7 +41039,7 @@ function xhe(e) {limit: 9}), S = (0, B.useRef)(x.faces);S.current = x.faces;- let C = bA({+ let C = yA({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -41047,7 +41047,7 @@ function xhe(e) {w.current = C.onPointerLeave;let T = (0, B.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), E = HF(u, n, i), D = KF(u), O = (u.tags || []).slice(0, 3), k = GF(u, i), A = WF(t, u), j = u.status === "saved", M = (e) => {+ }, []), E = VF(u, n, i), D = GF(u), O = (u.tags || []).slice(0, 3), k = WF(u, i), A = UF(t, u), j = u.status === "saved", M = (e) => {if (!e.target.closest("[data-media-tag]")) {if (o || e.shiftKey || e.ctrlKey || e.metaKey) {e.preventDefault(), l.toggleSelection(u.id, e.shiftKey);@@ -41080,7 +41080,7 @@ function xhe(e) {}), /* @__PURE__ */ (0, V.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, V.jsx)(bhe, {+ p ? /* @__PURE__ */ (0, V.jsx)(xhe, {src: p,fallback: m,width: _?.width,@@ -41088,7 +41088,7 @@ function xhe(e) {onLearn: v}, p) : /* @__PURE__ */ (0, V.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: zF(u.resource_provider || u.provider) }+ dangerouslySetInnerHTML: { __html: RF(u.resource_provider || u.provider) }}),x.faces.length > 1 ? /* @__PURE__ */ (0, V.jsx)("div", {"data-mix-faces": "",@@ -41107,7 +41107,7 @@ function xhe(e) {"data-media-badge": "",title: u.provider_label,"aria-label": `来源:${u.provider_label || ""}`,- dangerouslySetInnerHTML: { __html: zF(u.provider) }+ dangerouslySetInnerHTML: { __html: RF(u.provider) }}),/* @__PURE__ */ (0, V.jsx)("span", {"data-media-check": "",@@ -41116,7 +41116,7 @@ function xhe(e) {},dangerouslySetInnerHTML: { __html: R("check") }}),- vhe(u.duration) ? /* @__PURE__ */ (0, V.jsx)("span", {+ yhe(u.duration) ? /* @__PURE__ */ (0, V.jsx)("span", {"data-media-duration": "",children: fe(u.duration)}) : null,@@ -41198,7 +41198,7 @@ function xhe(e) {/* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: UF(t, u) + L(u.title) }+ dangerouslySetInnerHTML: { __html: HF(t, u) + L(u.title) }}),/* @__PURE__ */ (0, V.jsxs)("div", {"data-follow-byline": "",@@ -41209,7 +41209,7 @@ function xhe(e) {}), /* @__PURE__ */ (0, V.jsx)("time", {dateTime: u.published_at || "",title: D,- children: yhe(D)+ children: bhe(D)})]}),E.credited ? /* @__PURE__ */ (0, V.jsx)("div", {@@ -41245,10 +41245,10 @@ function xhe(e) {]});}-var She = (0, B.memo)(xhe), ZF = () => /* @__PURE__ */ (0, V.jsx)("span", {+var Che = (0, B.memo)(She), XF = () => /* @__PURE__ */ (0, V.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), Che = iA("settings"), whe = iA("chevron-down"), The = iA("history"), Ehe = [[+}), whe = rA("settings"), The = rA("chevron-down"), Ehe = rA("history"), Dhe = [["fixed","固定比例","layout-grid"@@ -41257,19 +41257,19 @@ var She = (0, B.memo)(xhe), ZF = () => /* @__PURE__ */ (0, V.jsx)("span", {"瀑布流","columns-2"]];-function Dhe(e, t, n) {+function Ohe(e, t, n) {return (0, B.useMemo)(() => {let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();a.forEach((e) => {e.author_key && (d.has(e.author_key) || d.set(e.author_key, []), d.get(e.author_key).push(e));});- let f = DF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = DF(o.works || [], (e) => e[0], n).slice(0, 24);+ let f = EF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = EF(o.works || [], (e) => e[0], n).slice(0, 24);t.work && !p.some((e) => e[0] === t.work) && p.push([t.work,t.work,0]);- let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = DF([...u], (e) => e[0], n).slice(0, 20);+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = EF([...u], (e) => e[0], n).slice(0, 20);t.tags.forEach((e) => {h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);});@@ -41277,7 +41277,7 @@ function Dhe(e, t, n) {videos: 0,images: 0};- r.forEach((e) => jF(e).forEach((e) => {+ r.forEach((e) => AF(e).forEach((e) => {g[e === "image" ? "images" : "videos"] += 1;}));let _ = t.media === "images" ? "image" : "video";@@ -41292,7 +41292,7 @@ function Dhe(e, t, n) {workRows: p,allCount: m,mediaCounts: g,- visible: r.filter((e) => jF(e).has(_)),+ visible: r.filter((e) => AF(e).has(_)),author: d.has(t.author) && s.has(t.author) ? t.author : "",provider: l.has(t.provider) ? t.provider : "",workNames: new Map((o.works || []).map((e) => [e[0], e[1]])),@@ -41305,15 +41305,15 @@ function Dhe(e, t, n) {n]);}-function Ohe(e) {- let { view: t, seed: n, revision: r, actions: i } = e, a = CF(t, r), o = kS(a), s = TS({- queryKey: wF,- queryFn: ({ signal: e }) => TF(e)- }), c = (0, B.useMemo)(() => EF(o.data), [o.data]), l = (0, B.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, B.useMemo)(() => ({+function khe(e) {+ let { view: t, seed: n, revision: r, actions: i } = e, a = SF(t, r), o = OS(a), s = wS({+ queryKey: CF,+ queryFn: ({ signal: e }) => wF(e)+ }), c = (0, B.useMemo)(() => TF(o.data), [o.data]), l = (0, B.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, B.useMemo)(() => ({sources: c?.sources || [],aliases: c?.author_aliases || [],credentials: l- }), [c, l]), d = Dhe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, B.useMemo)(() => ghe(d.visible.flatMap(OF).map((e) => ({ tags: e.tags || [] }))), [d.visible]);+ }), [c, l]), d = Ohe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, B.useMemo)(() => _he(d.visible.flatMap(DF).map((e) => ({ tags: e.tags || [] }))), [d.visible]);(0, B.useEffect)(() => {p && i.loaded(m);}, [@@ -41321,20 +41321,20 @@ function Ohe(e) {m,i]);- let h = khe(e, !!c);- if (!c) return o.isError ? /* @__PURE__ */ (0, V.jsx)(mA, {+ let h = Ahe(e, !!c);+ if (!c) return o.isError ? /* @__PURE__ */ (0, V.jsx)(pA, {message: ye(o.error),onRetry: () => void o.refetch()}) : null;let g = (e) => i.route({...t,...e- }), _ = dhe({+ }), _ = fhe({...t,author: d.author,provider: d.provider}, {- authors: new Map([...d.authorSources].map(([e, t]) => [e, BF(t, u)])),+ authors: new Map([...d.authorSources].map(([e, t]) => [e, zF(t, u)])),providers: d.providers,works: d.workNames}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);@@ -41354,7 +41354,7 @@ function Ohe(e) {"data-follow-head-actions": "",children: [/* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",- leadingIcon: Che,+ leadingIcon: whe,"data-follow-manage": "",onClick: i.openManage,children: "管理关注"@@ -41371,20 +41371,20 @@ function Ohe(e) {}) : null]})]}),- /* @__PURE__ */ (0, V.jsx)(Ahe, {+ /* @__PURE__ */ (0, V.jsx)(jhe, {facets: d,pressed: d.author,context: u,props: e,onPick: (e) => g({ author: d.author === e ? "" : e })}),- /* @__PURE__ */ (0, V.jsx)(jhe, {+ /* @__PURE__ */ (0, V.jsx)(Mhe, {rows: d.workRows,pressed: t.work,props: e,onPick: (e) => g({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, V.jsx)(Mhe, {+ /* @__PURE__ */ (0, V.jsx)(Nhe, {facets: d,view: t,total: v,@@ -41392,9 +41392,9 @@ function Ohe(e) {props: e,route: g}),- /* @__PURE__ */ (0, V.jsx)(Nhe, {+ /* @__PURE__ */ (0, V.jsx)(Phe, {conditions: _,- onDrop: (e) => i.route(fhe(t, e)),+ onDrop: (e) => i.route(phe(t, e)),onClear: () => g({author: "",provider: "",@@ -41402,11 +41402,11 @@ function Ohe(e) {tags: []})}),- d.broken.length ? /* @__PURE__ */ (0, V.jsx)(Phe, {+ d.broken.length ? /* @__PURE__ */ (0, V.jsx)(Fhe, {count: d.broken.length,onManage: i.openManage}) : null,- /* @__PURE__ */ (0, V.jsx)(Fhe, {+ /* @__PURE__ */ (0, V.jsx)(Ihe, {pending: f,facets: d,data: c,@@ -41417,19 +41417,19 @@ function Ohe(e) {"data-follow-pagination": "",children: [c.has_more ? /* @__PURE__ */ (0, V.jsx)("span", {"data-follow-page-action": "",- children: /* @__PURE__ */ (0, V.jsxs)(TA, {+ children: /* @__PURE__ */ (0, V.jsxs)(wA, {entity: !0,enabled: () => !h.busyRef.current,load: async () => {await o.fetchNextPage({ throwOnError: !0 });},- children: [/* @__PURE__ */ (0, V.jsx)(whe, { className: "size-3.5" }), "加载更多"]+ children: [/* @__PURE__ */ (0, V.jsx)(The, { className: "size-3.5" }), "加载更多"]}, o.data?.pages.length)}) : null, y ? /* @__PURE__ */ (0, V.jsxs)("span", {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",- leadingIcon: h.olderBusy ? void 0 : The,+ leadingIcon: h.olderBusy ? void 0 : Ehe,"data-follow-older": "","aria-busy": h.busy || void 0,onClick: () => void h.start(!0),@@ -41439,14 +41439,14 @@ function Ohe(e) {}), /* @__PURE__ */ (0, V.jsx)("span", { children: "抓取中…" })] }) : "抓更早的一页"}), /* @__PURE__ */ (0, V.jsx)("span", {"data-follow-backfill": "",- children: lhe(d.sources)+ children: uhe(d.sources)})]}) : null]}) : null]})] });}-function khe(e, t) {+function Ahe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, B.useState)(0), [o, s] = (0, B.useState)(!1), [c, l] = (0, B.useState)(""), [u, d] = (0, B.useState)(!1), f = (0, B.useRef)(!1), p = (0, B.useRef)(null), m = (0, B.useRef)({helpers: n,actions: r@@ -41461,7 +41461,7 @@ function khe(e, t) {return m.current.helpers.jobProgress({host: e,active: () => t,- read: (e) => G(NP, e),+ read: (e) => G(MP, e),busy: (e) => {t && (f.current = e, s(e));},@@ -41486,7 +41486,7 @@ function khe(e, t) {f.current = !0, l(e ? "older" : "check");let t = !1;try {- let n = await K(NP, e ? {+ let n = await K(MP, e ? {older: !0,background: !0} : { background: !0 });@@ -41504,7 +41504,7 @@ function khe(e, t) {olderBusy: c === "older" || u && o};}-function Ahe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function jhe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, B.useRef)(null);return (0, B.useEffect)(() => {r.helpers.wireDrag(a.current);@@ -41521,16 +41521,16 @@ function Ahe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {onClick: () => i(r),children: [/* @__PURE__ */ (0, V.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: VF(a, BF(a, n)) }+ dangerouslySetInnerHTML: { __html: BF(a, zF(a, n)) }}), /* @__PURE__ */ (0, V.jsx)("span", {"data-follow-name": "",- children: BF(a, n)+ children: zF(a, n)})]}, r);})}) : null;}-function jhe({ rows: e, pressed: t, props: n, onPick: r }) {+function Mhe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, B.useRef)(null);return (0, B.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -41551,7 +41551,7 @@ function jhe({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function Mhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+function Nhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {let { helpers: o, actions: s } = i, c = (0, B.useRef)(null), l = (0, B.useRef)(null), u = (0, B.useRef)(null), d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = fD(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = fD(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, B.useEffect)(() => {o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);@@ -41609,7 +41609,7 @@ function Mhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: R(i) }}, e);})- }), /* @__PURE__ */ (0, V.jsx)(ZF, {})] }) : null, /* @__PURE__ */ (0, V.jsxs)("div", {+ }), /* @__PURE__ */ (0, V.jsx)(XF, {})] }) : null, /* @__PURE__ */ (0, V.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, V.jsxs)("div", {@@ -41618,7 +41618,7 @@ function Mhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"aria-label": "状态","data-entity-states": "",onPointerLeave: h.leave,- children: [nhe.map(([e, n]) => /* @__PURE__ */ (0, V.jsx)("button", {+ children: [rhe.map(([e, n]) => /* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-entity-state": e,"data-follow-filter": e,@@ -41629,7 +41629,7 @@ function Mhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {t.status !== e && a({ status: e });},children: n- }, e)), v ? /* @__PURE__ */ (0, V.jsx)(ZF, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, V.jsx)(XF, {}) : null]}), /* @__PURE__ */ (0, V.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -41642,13 +41642,13 @@ function Mhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {title: n,"aria-label": `来源:${n}`,onClick: () => a({ provider: e.provider === t ? "" : t }),- dangerouslySetInnerHTML: { __html: zF(t) }+ dangerouslySetInnerHTML: { __html: RF(t) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, V.jsx)(ZF, {}) : null,+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, V.jsx)(XF, {}) : null,e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, V.jsxs)(uD, {"data-follow-tag": n,"data-entity-press": "",- "data-tag-cat": `r34-${phe(e.groups, n)}`,+ "data-tag-cat": `r34-${mhe(e.groups, n)}`,pressed: t.tags.includes(n),onPress: () => a({ tags: t.tags.includes(n) ? t.tags.filter((e) => e !== n) : [...t.tags, n] }),children: [ot(n), r ? /* @__PURE__ */ (0, V.jsx)("span", {@@ -41666,11 +41666,11 @@ function Mhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {}), /* @__PURE__ */ (0, V.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, V.jsx)(cA, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(sA, {+ /* @__PURE__ */ (0, V.jsx)(sA, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(oA, {label: "图片布局",value: i.photoLayout,- options: Ehe,+ options: Dhe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",@@ -41687,17 +41687,17 @@ function Mhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- rhe.map(([e, n]) => {- let r = t.sort === e, i = iA(t.dir === "asc" ? "arrow-up" : "arrow-down");+ ihe.map(([e, n]) => {+ let r = t.sort === e, i = rA(t.dir === "asc" ? "arrow-up" : "arrow-down");return /* @__PURE__ */ (0, V.jsxs)("button", {type: "button","data-entity-sort": e,"data-follow-sort": e,"data-entity-press": "","aria-pressed": r,- "aria-label": uhe(e, n, t.sort, t.dir) || void 0,+ "aria-label": dhe(e, n, t.sort, t.dir) || void 0,onClick: () => {- let n = FF(e, t.sort, t.dir);+ let n = PF(e, t.sort, t.dir);n && a(n);},children: [n, r ? /* @__PURE__ */ (0, V.jsx)(i, { className: "size-3.5" }) : null]@@ -41707,7 +41707,7 @@ function Mhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {})] })});}-function Nhe({ conditions: e, onDrop: t, onClear: n }) {+function Phe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, V.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -41732,7 +41732,7 @@ function Nhe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function Phe({ count: e, onManage: t }) {+function Fhe({ count: e, onManage: t }) {return /* @__PURE__ */ (0, V.jsx)("div", {"data-follow-broken": "",onClick: (e) => {@@ -41741,12 +41741,12 @@ function Phe({ count: e, onManage: t }) {dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }});}-function Fhe({ pending: e, facets: t, data: n, context: r, props: i }) {- let { view: a, helpers: o } = i, s = a.media === "images", c = pA(e, () => o.listSkeletonHtml(a.media));+function Ihe({ pending: e, facets: t, data: n, context: r, props: i }) {+ let { view: a, helpers: o } = i, s = a.media === "images", c = fA(e, () => o.listSkeletonHtml(a.media));return /* @__PURE__ */ (0, V.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": c.fading ? "" : void 0,- children: [c.layer, e ? null : /* @__PURE__ */ (0, V.jsx)(Ihe, {+ children: [c.layer, e ? null : /* @__PURE__ */ (0, V.jsx)(Lhe, {facets: t,data: n,context: r,@@ -41755,38 +41755,38 @@ function Fhe({ pending: e, facets: t, data: n, context: r, props: i }) {})]});}-function Ihe({ facets: e, data: t, context: n, props: r, images: i }) {- let { view: a, actions: o } = r, s = zhe(r), c = i ? {+function Lhe({ facets: e, data: t, context: n, props: r, images: i }) {+ let { view: a, actions: o } = r, s = Bhe(r), c = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)} : {}, l;return l = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), c = i?.author_key && e.authorSources.get(i.author_key) || [], l = t.primary.id;- return /* @__PURE__ */ (0, V.jsx)(She, {+ return /* @__PURE__ */ (0, V.jsx)(Che, {group: t,authorSources: c,media: a.media,context: n,- selected: r.selected.has(QF(t, a)),+ selected: r.selected.has(ZF(t, a)),selectMode: r.selectMode,- busy: s.busy.get(QF(t, a)) || "",- failure: s.failures.get(QF(t, a)) || "",+ busy: s.busy.get(ZF(t, a)) || "",+ failure: s.failures.get(ZF(t, a)) || "",actions: o,onStatus: s.status,onSave: s.save}, `${l}:${a.media}`);- }) : /* @__PURE__ */ (0, V.jsx)(Lhe, { data: t }), /* @__PURE__ */ (0, V.jsx)("div", {+ }) : /* @__PURE__ */ (0, V.jsx)(Rhe, { data: t }), /* @__PURE__ */ (0, V.jsx)("div", {"data-follow-list": "","data-follow-wall": i ? "" : void 0,...c,children: l});}-function QF(e, t) {- return MF(e, t.media).id;+function ZF(e, t) {+ return jF(e, t.media).id;}-function Lhe({ data: e }) {+function Rhe({ data: e }) {let t = (e.groups || []).length ? Oe("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源或标签后再试。") : (e.sources || []).length ? Oe("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : Oe("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });return /* @__PURE__ */ (0, V.jsx)("div", {"data-follow-empty": "",@@ -41794,36 +41794,36 @@ function Lhe({ data: e }) {dangerouslySetInnerHTML: { __html: t }});}-var Rhe = {+var zhe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"};-function zhe(e) {- let { view: t, revision: n, actions: r } = e, [i, a] = (0, B.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, B.useState)(() => /* @__PURE__ */ new Map()), c = CF(t, n).queryKey, l = (e, t, n) => n((n) => {+function Bhe(e) {+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, B.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, B.useState)(() => /* @__PURE__ */ new Map()), c = SF(t, n).queryKey, l = (e, t, n) => n((n) => {let r = new Map(n);return t ? r.set(e, t) : r.delete(e), r;}), u = (e, n) => {- z.setQueryData(c, (r) => r && IF(r, t, e, n));+ z.setQueryData(c, (r) => r && FF(r, t, e, n));}, d = () => void z.invalidateQueries({queryKey: c,exact: !0}), f = (e) => {- let t = EF(z.getQueryData(c));+ let t = TF(z.getQueryData(c));for (let n of t?.groups || []) for (let t of [n.primary,...n.variants,...n.duplicates]) if (t.id === e) return t.status;return "new";- }, p = OS({- mutationFn: ({ id: e, to: t }) => K(LP, {+ }, p = DS({+ mutationFn: ({ id: e, to: t }) => K(IP, {item: e,to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(Rhe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {- await K(LP, {+ u(t, n), d(), r.toast(zhe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ await K(IP, {item: t,to: i}), u(t, i), d();@@ -41833,7 +41833,7 @@ function zhe(e) {l(t, ye(e), s), r.failure("更新关注状态", e);},onSettled: (e, t, { id: n }) => l(n, "", a)- }), m = OS({+ }), m = DS({mutationFn: (e) => K("/api/follow/save", { item: e }),onSuccess: (e, t) => {u(t, "saved"), d(), r.toast("已保存到账本");@@ -41868,8 +41868,8 @@ function zhe(e) {}//#endregion//#region src/react/follow-manage/source-view.tsx-function $F({ provider: e, label: t }) {- let n = vF(e), [r, i] = (0, B.useState)(!1);+function QF({ provider: e, label: t }) {+ let n = _F(e), [r, i] = (0, B.useState)(!1);return !n || r ? t ? /* @__PURE__ */ (0, V.jsx)(V.Fragment, { children: t }) : null : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("img", {src: n,alt: "",@@ -41880,8 +41880,8 @@ function $F({ provider: e, label: t }) {className: "size-3.5 shrink-0 rounded-sm object-contain"}), t ? /* @__PURE__ */ (0, V.jsx)(H_, { children: t }) : null] });}-function eI({ group: e, name: t }) {- let { src: n, fallback: r } = $P(e), [i, a] = (0, B.useState)(0), o = [n, r].filter(Boolean)[i];+function $F({ group: e, name: t }) {+ let { src: n, fallback: r } = QP(e), [i, a] = (0, B.useState)(0), o = [n, r].filter(Boolean)[i];return o ? /* @__PURE__ */ (0, V.jsx)("img", {src: o,alt: "",@@ -41894,18 +41894,18 @@ function eI({ group: e, name: t }) {}) : /* @__PURE__ */ (0, V.jsx)("span", {title: "没有可用头像",className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",- children: QP(t)+ children: ZP(t)});}-function tI({ source: e }) {- let t = KP(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";+function eI({ source: e }) {+ let t = GP(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";return /* @__PURE__ */ (0, V.jsx)(vE, {variant: "caption",color: t,- children: Fme(e)+ children: Ime(e)});}-function nI({ source: e }) {+function tI({ source: e }) {return /* @__PURE__ */ (0, V.jsx)("a", {href: e.url,target: "_blank",@@ -41917,8 +41917,8 @@ function nI({ source: e }) {}//#endregion//#region src/react/follow-manage/add-source.tsx-var rI = hE(lM, uM, "text-body-2-medium"), Bhe = "粘贴来源链接,或输入创作者名、id…", Vhe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Hhe = "识别中…", Uhe = "站内没有查到来源", iI = (e, t) => `${e}:${t.url}`;-function Whe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {+var nI = hE(cM, lM, "text-body-2-medium"), Vhe = "粘贴来源链接,或输入创作者名、id…", Hhe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Uhe = "识别中…", Whe = "站内没有查到来源", rI = (e, t) => `${e}:${t.url}`;+function Ghe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {return (0, B.useEffect)(() => {t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });}, [t, r]), /* @__PURE__ */ (0, V.jsxs)(QO, {@@ -41933,7 +41933,7 @@ function Whe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onCplacement: "bottom start",offset: 4,"aria-label": "来源建议",- className: hE(cM, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),+ className: hE(sM, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),children: [i && !n.length ? /* @__PURE__ */ (0, V.jsx)("div", {className: "px-2 py-1.5",children: /* @__PURE__ */ (0, V.jsx)(CE, { label: "正在查找建议" })@@ -41943,7 +41943,7 @@ function Whe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC}), /* @__PURE__ */ (0, V.jsxs)("button", {type: "button","aria-current": t === r ? "true" : void 0,- className: t === r ? hE(rI, "bg-background-secondary-default") : rI,+ className: t === r ? hE(nI, "bg-background-secondary-default") : nI,onMouseDown: (e) => e.preventDefault(),onClick: () => a(e.value),children: [@@ -41963,7 +41963,7 @@ function Whe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC})] }, `${e.group}-${e.value}`))]});}-function Ghe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {+function Khe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {let i = (0, B.useRef)(null), [a, o] = (0, B.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {let i = new Set(t);r ? i.delete(e) : i.add(e), n(i);@@ -41983,7 +41983,7 @@ function Ghe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {onOpenChange: o,placement: "bottom end",offset: 4,- className: cM,+ className: sM,children: /* @__PURE__ */ (0, V.jsxs)(lk, {"aria-label": "来源筛选",className: "flex w-64 flex-col gap-1 outline-none",@@ -42004,12 +42004,12 @@ function Ghe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, V.jsx)(jM, {+ children: [/* @__PURE__ */ (0, V.jsx)(AM, {isSelected: !t.has(e.provider_label),onChange: (t) => u(e.provider_label, t),children: /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, V.jsx)($F, { provider: e.provider }), e.provider_label]+ children: [/* @__PURE__ */ (0, V.jsx)(QF, { provider: e.provider }), e.provider_label]})}), n ? /* @__PURE__ */ (0, V.jsx)(J, {variant: "ghost",@@ -42025,7 +42025,7 @@ function Ghe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {})})] });}-function Khe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {+function qhe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {if (e.kind === "error") return /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",title: e.line,@@ -42044,15 +42044,15 @@ function Khe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {children: e.line}),a.length ? a.map((e) => {- let n = iI(t, e);- return /* @__PURE__ */ (0, V.jsx)(jM, {+ let n = rI(t, e);+ return /* @__PURE__ */ (0, V.jsx)(AM, {isSelected: !e.known && !r.has(n),isDisabled: e.known,onChange: (e) => i(n, e),children: /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 flex-wrap items-center gap-1.5",children: [- /* @__PURE__ */ (0, V.jsx)($F, { provider: e.provider }),+ /* @__PURE__ */ (0, V.jsx)(QF, { provider: e.provider }),/* @__PURE__ */ (0, V.jsx)("b", {className: "text-body-medium",children: e.provider_label@@ -42068,7 +42068,7 @@ function Khe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {]})}, n);- }) : /* @__PURE__ */ (0, V.jsx)(IE, { children: Uhe }),+ }) : /* @__PURE__ */ (0, V.jsx)(IE, { children: Whe }),(e.external_searches || []).map((e) => /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, V.jsx)("small", {@@ -42083,7 +42083,7 @@ function Khe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {]});}-function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {+function Jhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {let [a, o] = (0, B.useState)(""), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(!1), [p, m] = (0, B.useState)(null), [h, g] = (0, B.useState)(-1), _ = (0, B.useRef)(null), v = (0, B.useRef)(null), [y, b] = (0, B.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, B.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, B.useState)(""), [T, E] = (0, B.useState)(0);(0, B.useEffect)(() => {let e = a.trim();@@ -42094,19 +42094,19 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:let t = setTimeout(() => u(e), 250);return () => clearTimeout(t);}, [a]);- let D = TS({- queryKey: kme(l),- queryFn: ({ signal: e }) => Vme(l, e),+ let D = wS({+ queryKey: Ame(l),+ queryFn: ({ signal: e }) => Hme(l, e),enabled: l.length > 0 && d}), O = (0, B.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({value: t.value,matched: t.matched || "",n: t.n || 0,group: e.label- }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = DM({- queryKey: Ome,- queryFn: ({ signal: e }) => Bme(e),- start: (e) => Hme([e]),+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = EM({+ queryKey: kme,+ queryFn: ({ signal: e }) => Vme(e),+ start: (e) => Ume([e]),onStarted: () => S(/* @__PURE__ */ new Set()),onError: (e) => w(W(e)),onFinish: (e) => {@@ -42140,14 +42140,14 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:}}, ne = j?.results || [], re = ne.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({candidate: e,- key: iI(t, e)- })).filter((e) => !x.has(e.key))), ie = OS({+ key: rI(t, e)+ })).filter((e) => !x.has(e.key))), ie = DS({mutationFn: async (e) => {let t = [], n = [];E(0);for (let r of e) {try {- let e = await Ume(r.candidate);+ let e = await Wme(r.candidate);n.push(e.source);} catch (e) {t.push(`${r.candidate.label}:${W(e)}`);@@ -42155,7 +42155,7 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:E((e) => e + 1);}if (n.length) try {- await oF(n);+ await aF(n);} catch (e) {t.push(W(e));}@@ -42165,7 +42165,7 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:};},onSuccess: (e) => {- if (gF(), e.failures.length) {+ if (hF(), e.failures.length) {w(e.failures.join(";"));return;}@@ -42194,15 +42194,15 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:let t = e.relatedTarget;!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);},- children: [/* @__PURE__ */ (0, V.jsx)(UM, {+ children: [/* @__PURE__ */ (0, V.jsx)(HM, {"aria-label": "来源链接、名字或 id",- placeholder: Bhe,+ placeholder: Vhe,value: a,leadingIcon: CT,isDisabled: n,onChange: o,onKeyDown: te- }), F ? /* @__PURE__ */ (0, V.jsx)(Whe, {+ }), F ? /* @__PURE__ */ (0, V.jsx)(Ghe, {field: _,menu: v,options: O,@@ -42212,7 +42212,7 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:onClose: I}) : null]}),- /* @__PURE__ */ (0, V.jsx)(Ghe, {+ /* @__PURE__ */ (0, V.jsx)(Khe, {credentials: t,hidden: y,onHidden: b,@@ -42230,9 +42230,9 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:/* @__PURE__ */ (0, V.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",- children: [A || M.isPending ? /* @__PURE__ */ (0, V.jsx)(bM, {+ children: [A || M.isPending ? /* @__PURE__ */ (0, V.jsx)(yM, {embedded: !0,- label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : oe ? Vhe : Hhe),+ label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : oe ? Hhe : Uhe),value: k?.checked,total: k?.total}) : null, C ? /* @__PURE__ */ (0, V.jsx)(Y, {@@ -42245,7 +42245,7 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:className: "flex flex-col gap-3",children: [/* @__PURE__ */ (0, V.jsx)(RE, { children: "查找结果" }),- ne.map((e, t) => /* @__PURE__ */ (0, V.jsx)(Khe, {+ ne.map((e, t) => /* @__PURE__ */ (0, V.jsx)(qhe, {row: e,at: t,hidden: y,@@ -42300,16 +42300,16 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:}//#endregion//#region src/react/follow-manage/alias-manager.tsx-var Jhe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, aI = (e) => e.alias;-function Yhe(e, t, n) {+var Yhe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, iI = (e) => e.alias;+function Xhe(e, t, n) {let r = n ? `name:${n}` : "", i = r ? e.find((e) => e.author_key === r) : e.find((e) => e.author_name === t || e.entity_name === t);return i ? e.filter((e) => e.author_key === i.author_key) : [];}-function oI({ sources: e, name: t, canonicalKey: n }) {+function aI({ sources: e, name: t, canonicalKey: n }) {return /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, V.jsx)(eI, {- group: Yhe(e, t, n),+ children: [/* @__PURE__ */ (0, V.jsx)($F, {+ group: Xhe(e, t, n),name: t}), /* @__PURE__ */ (0, V.jsx)("b", {className: "text-body-medium",@@ -42317,15 +42317,15 @@ function oI({ sources: e, name: t, canonicalKey: n }) {})]});}-function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {- let [a, o] = (0, B.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), p = OS({+function Zhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {+ let [a, o] = (0, B.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), p = DS({mutationFn: async (e) => {let t = 0;for (let n of e) {try {- await lF(n.canonical, n.alias);+ await cF(n.canonical, n.alias);} catch (n) {- throw t && gF(), Error(`${W(n)}(还有 ${e.length - t} 组没有合并)`);+ throw t && hF(), Error(`${W(n)}(还有 ${e.length - t} 组没有合并)`);}t += 1;}@@ -42335,19 +42335,19 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i};},onSuccess: (e) => {- c(""), o(/* @__PURE__ */ new Set()), gF(), i(`已合并 ${e.done} 组创作者别名`);+ c(""), o(/* @__PURE__ */ new Set()), hF(), i(`已合并 ${e.done} 组创作者别名`);},onError: (e) => c(W(e))- }), m = OS({- mutationFn: (e) => lF(e.canonical, e.alias),+ }), m = DS({+ mutationFn: (e) => cF(e.canonical, e.alias),onSuccess: () => {- c(""), u(""), f(""), gF(), i("已保存创作者别名");+ c(""), u(""), f(""), hF(), i("已保存创作者别名");},onError: (e) => c(W(e))- }), h = OS({- mutationFn: (e) => Wme(e),+ }), h = DS({+ mutationFn: (e) => Gme(e),onSuccess: () => {- c(""), gF(), i("已移除创作者别名");+ c(""), hF(), i("已移除创作者别名");},onError: (e) => c(W(e))}), g = (e, t) => {@@ -42357,7 +42357,7 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iconfirmLabel: t ? "合并全部别名" : "合并所选别名",onConfirm: () => p.mutateAsync(e)});- }, _ = t.filter((e) => a.has(aI(e))), v = t.length > 0 && _.length === t.length, y = X(p.isPending);+ }, _ = t.filter((e) => a.has(iI(e))), v = t.length > 0 && _.length === t.length, y = X(p.isPending);return /* @__PURE__ */ (0, V.jsxs)("div", {className: xE({padding: "none",@@ -42373,7 +42373,7 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ichildren: [/* @__PURE__ */ (0, V.jsx)(RE, { children: "手动添加别名" }), /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-end gap-2",children: [- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {"aria-label": "规范创作者名",placeholder: "规范创作者名",value: l,@@ -42381,7 +42381,7 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iisDisabled: r,className: "w-56"}),- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {"aria-label": "平台别名",placeholder: "平台别名",value: d,@@ -42430,18 +42430,18 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ichildren: `全部合并(${t.length})`})]- }), /* @__PURE__ */ (0, V.jsx)(PM, { children: /* @__PURE__ */ (0, V.jsxs)(MM, {+ }), /* @__PURE__ */ (0, V.jsx)(NM, { children: /* @__PURE__ */ (0, V.jsxs)(jM, {"aria-label": "待合并创作者别名",size: "sm",children: [/* @__PURE__ */ (0, V.jsxs)(Nk, { children: [/* @__PURE__ */ (0, V.jsx)(Pk, {id: "select",- children: /* @__PURE__ */ (0, V.jsx)(jM, {+ children: /* @__PURE__ */ (0, V.jsx)(AM, {slot: null,isSelected: v,isIndeterminate: _.length > 0 && !v,"aria-label": "全选待合并别名",- onChange: (e) => o(e ? new Set(t.map(aI)) : /* @__PURE__ */ new Set())+ onChange: (e) => o(e ? new Set(t.map(iI)) : /* @__PURE__ */ new Set())})}),/* @__PURE__ */ (0, V.jsx)(Pk, {@@ -42462,12 +42462,12 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ichildren: "操作"})] }), /* @__PURE__ */ (0, V.jsx)(Ik, { children: t.map((e) => {- let t = aI(e);+ let t = iI(e);return /* @__PURE__ */ (0, V.jsxs)(zk, {id: t,"data-board-selected": a.has(t) || void 0,children: [- /* @__PURE__ */ (0, V.jsx)(Vk, { children: /* @__PURE__ */ (0, V.jsx)(jM, {+ /* @__PURE__ */ (0, V.jsx)(Vk, { children: /* @__PURE__ */ (0, V.jsx)(AM, {slot: null,isSelected: a.has(t),"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,@@ -42476,7 +42476,7 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ie ? n.add(t) : n.delete(t), o(n);}}) }),- /* @__PURE__ */ (0, V.jsx)(Vk, { children: /* @__PURE__ */ (0, V.jsx)(oI, {+ /* @__PURE__ */ (0, V.jsx)(Vk, { children: /* @__PURE__ */ (0, V.jsx)(aI, {sources: n,name: e.canonical}) }),@@ -42506,7 +42506,7 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iclassName: "text-body-2-regular text-text-secondary",children: `${e.length} 组`})]- }), e.length ? /* @__PURE__ */ (0, V.jsx)(PM, { children: /* @__PURE__ */ (0, V.jsxs)(MM, {+ }), e.length ? /* @__PURE__ */ (0, V.jsx)(NM, { children: /* @__PURE__ */ (0, V.jsxs)(jM, {"aria-label": "已保存创作者别名",size: "sm",children: [/* @__PURE__ */ (0, V.jsxs)(Nk, { children: [/* @__PURE__ */ (0, V.jsx)(Pk, {@@ -42518,7 +42518,7 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ichildren: "平台别名"})] }), /* @__PURE__ */ (0, V.jsx)(Ik, { children: e.map((e) => /* @__PURE__ */ (0, V.jsxs)(zk, {id: e.canonical_key,- children: [/* @__PURE__ */ (0, V.jsx)(Vk, { children: /* @__PURE__ */ (0, V.jsx)(oI, {+ children: [/* @__PURE__ */ (0, V.jsx)(Vk, { children: /* @__PURE__ */ (0, V.jsx)(aI, {sources: n,name: e.canonical_name,canonicalKey: e.canonical_key@@ -42536,7 +42536,7 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i...X(h.isPending),onClick: () => void Te({title: "移除创作者别名",- body: Jhe(e.name),+ body: Yhe(e.name),confirmLabel: "移除创作者别名",onConfirm: () => h.mutateAsync(e.name)})@@ -42556,12 +42556,12 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}//#endregion//#region src/react/follow-manage/credentials.tsx-var Zhe = "这些账号信息存在哪里", Qhe = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", $he = "将清除这个来源在本机和共享副本中的登录凭据。", ege = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";-function tge(e, t) {+var Qhe = "这些账号信息存在哪里", $he = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", ege = "将清除这个来源在本机和共享副本中的登录凭据。", tge = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";+function nge(e, t) {return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";}-function nge({ row: e }) {- if (yF(e)) return /* @__PURE__ */ (0, V.jsx)(vE, {+function rge({ row: e }) {+ if (vF(e)) return /* @__PURE__ */ (0, V.jsx)(vE, {variant: "caption",color: "lime",children: "已配置"@@ -42570,19 +42570,19 @@ function nge({ row: e }) {return /* @__PURE__ */ (0, V.jsx)(vE, {variant: "caption",color: t,- children: the[e.requirement] || ""+ children: nhe[e.requirement] || ""});}-function rge({ row: e, readOnly: t, toast: n }) {- let [r, i] = (0, B.useState)({}), [a, o] = (0, B.useState)(""), s = yF(e), c = OS({- mutationFn: (t) => Gme(e.provider, t),+function ige({ row: e, readOnly: t, toast: n }) {+ let [r, i] = (0, B.useState)({}), [a, o] = (0, B.useState)(""), s = vF(e), c = DS({+ mutationFn: (t) => Kme(e.provider, t),onSuccess: (e, t) => {if (e.note) {o(e.note);return;}o(""), i({}), z.invalidateQueries({- queryKey: BP,+ queryKey: zP,exact: !0}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");},@@ -42605,10 +42605,10 @@ function rge({ row: e, readOnly: t, toast: n }) {e.howto ? /* @__PURE__ */ (0, V.jsx)(IE, { children: e.howto }) : null,/* @__PURE__ */ (0, V.jsx)("div", {className: "flex w-full flex-col gap-3",- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, V.jsx)(UM, {+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, V.jsx)(HM, {type: "password",label: n,- placeholder: tge(e, n),+ placeholder: nge(e, n),autoComplete: "off",spellCheck: "false",isDisabled: t,@@ -42636,7 +42636,7 @@ function rge({ row: e, readOnly: t, toast: n }) {...X(c.isPending),onClick: () => void Te({title: "清除来源凭据",- body: $he,+ body: ege,confirmLabel: "清除来源凭据",danger: !0,onConfirm: () => c.mutateAsync({})@@ -42646,7 +42646,7 @@ function rge({ row: e, readOnly: t, toast: n }) {}),a ? /* @__PURE__ */ (0, V.jsx)(LE, { children: a }) : null,(e.shared_fields || []).length ? /* @__PURE__ */ (0, V.jsx)(IE, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,- e.path ? /* @__PURE__ */ (0, V.jsx)(yM, {+ e.path ? /* @__PURE__ */ (0, V.jsx)(vM, {path: e.path,className: "font-mono text-caption-1-regular text-text-tertiary",onRevealed: n@@ -42654,24 +42654,24 @@ function rge({ row: e, readOnly: t, toast: n }) {e.world_readable ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",title: "凭据文件权限过宽",- children: ege+ children: tge}) : null]});}-function ige({ row: e, readOnly: t, toast: n }) {+function age({ row: e, readOnly: t, toast: n }) {let r = /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 items-center gap-2",children: [/* @__PURE__ */ (0, V.jsx)("span", {className: "inline-flex size-3.5 shrink-0 items-center justify-center",- children: /* @__PURE__ */ (0, V.jsx)($F, { provider: e.provider })+ children: /* @__PURE__ */ (0, V.jsx)(QF, { provider: e.provider })}),/* @__PURE__ */ (0, V.jsx)("b", {className: "text-body-medium text-text-primary",children: e.provider_label}),- /* @__PURE__ */ (0, V.jsx)(nge, { row: e }),+ /* @__PURE__ */ (0, V.jsx)(rge, { row: e }),e.missing.length ? /* @__PURE__ */ (0, V.jsx)(vE, {variant: "caption",color: "rose",@@ -42685,9 +42685,9 @@ function ige({ row: e, readOnly: t, toast: n }) {}) : /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",children: [r, /* @__PURE__ */ (0, V.jsx)(HE, {- summary: yF(e) ? "修改凭据" : "填写凭据",- defaultOpen: e.requirement === "required" && !yF(e),- children: /* @__PURE__ */ (0, V.jsx)(rge, {+ summary: vF(e) ? "修改凭据" : "填写凭据",+ defaultOpen: e.requirement === "required" && !vF(e),+ children: /* @__PURE__ */ (0, V.jsx)(ige, {row: e,readOnly: t,toast: n@@ -42695,8 +42695,8 @@ function ige({ row: e, readOnly: t, toast: n }) {})]});}-function age({ data: e, readOnly: t, toast: n }) {- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !yF(e));+function oge({ data: e, readOnly: t, toast: n }) {+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !vF(e));return r.length ? /* @__PURE__ */ (0, V.jsxs)("div", {className: xE({padding: "none",@@ -42738,7 +42738,7 @@ function age({ data: e, readOnly: t, toast: n }) {padding: "none",className: "flex flex-col overflow-hidden"}),- children: e.rows.map((e) => /* @__PURE__ */ (0, V.jsx)(ige, {+ children: e.rows.map((e) => /* @__PURE__ */ (0, V.jsx)(age, {row: e,readOnly: t,toast: n@@ -42750,13 +42750,13 @@ function age({ data: e, readOnly: t, toast: n }) {children: [/* @__PURE__ */ (0, V.jsx)("b", {className: "text-body-medium text-text-primary",- children: Zhe+ children: Qhe}),/* @__PURE__ */ (0, V.jsx)("span", {className: "text-body-2-regular text-text-secondary",- children: Qhe+ children: $he}),- /* @__PURE__ */ (0, V.jsx)(yM, {+ /* @__PURE__ */ (0, V.jsx)(vM, {path: e.root,prefix: "凭据文件在 ",className: "text-body-2-regular text-text-secondary",@@ -42774,7 +42774,7 @@ function age({ data: e, readOnly: t, toast: n }) {}//#endregion//#region node_modules/@tanstack/table-core/build/lib/index.mjs-function sI() {+function oI() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -42787,24 +42787,24 @@ function sI() {group: (e) => e};}-function cI(e, t) {+function sI(e, t) {return typeof e == "function" ? e(t) : e;}-function lI(e, t) {+function cI(e, t) {return (n) => {t.setState((t) => ({...t,- [e]: cI(n, t[e])+ [e]: sI(n, t[e])}));};}-function uI(e) {+function lI(e) {return e instanceof Function;}-function oge(e) {+function sge(e) {return Array.isArray(e) && e.every((e) => typeof e == "number");}-function sge(e, t) {+function cge(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -42814,7 +42814,7 @@ function sge(e, t) {};return r(e), n;}-function dI(e, t, n) {+function uI(e, t, n) {let r = [], i;return (a) => {let o;@@ -42836,21 +42836,21 @@ function dI(e, t, n) {return i;};}-function fI(e, t, n, r) {+function dI(e, t, n, r) {return {debug: () => e?.debugAll ?? e[t],key: !1,onChange: r};}-function cge(e, t, n, r) {+function lge(e, t, n, r) {let i = {id: `${t.id}_${n.id}`,row: t,column: n,getValue: () => t.getValue(r),renderValue: () => i.getValue() ?? e.options.renderFallbackValue,- getContext: dI(() => [+ getContext: uI(() => [e,n,t,@@ -42862,13 +42862,13 @@ function cge(e, t, n, r) {cell: r,getValue: r.getValue,renderValue: r.renderValue- }), fI(e.options, "debugCells", "cell.getContext"))+ }), dI(e.options, "debugCells", "cell.getContext"))};return e._features.forEach((r) => {r.createCell == null || r.createCell(i, n, t, e);}, {}), i;}-function lge(e, t, n, r) {+function uge(e, t, n, r) {let i = {...e._getDefaultColumnDef(),...t@@ -42885,17 +42885,17 @@ function lge(e, t, n, r) {depth: n,columnDef: i,columns: [],- getFlatColumns: dI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], fI(e.options, "debugColumns", "column.getFlatColumns")),- getLeafColumns: dI(() => [e._getOrderColumnsFn()], (e) => {+ getFlatColumns: uI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], dI(e.options, "debugColumns", "column.getFlatColumns")),+ getLeafColumns: uI(() => [e._getOrderColumnsFn()], (e) => {var t;return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];- }, fI(e.options, "debugColumns", "column.getLeafColumns"))+ }, dI(e.options, "debugColumns", "column.getLeafColumns"))};for (let t of e._features) t.createColumn == null || t.createColumn(c, e);return c;}-var pI = "debugHeaders";-function mI(e, t, n) {+var fI = "debugHeaders";+function pI(e, t, n) {let r = {id: n.id ?? t.id,column: t,@@ -42923,42 +42923,42 @@ function mI(e, t, n) {t.createHeader == null || t.createHeader(r, e);}), r;}-var uge = { createTable: (e) => {- e.getHeaderGroups = dI(() => [+var dge = { createTable: (e) => {+ e.getHeaderGroups = uI(() => [e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right], (t, n, r, i) => {let a = r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], o = i?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], s = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id)));- return hI(t, [+ return mI(t, [...a,...s,...o], e);- }, fI(e.options, pI, "getHeaderGroups")), e.getCenterHeaderGroups = dI(() => [+ }, dI(e.options, fI, "getHeaderGroups")), e.getCenterHeaderGroups = uI(() => [e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right- ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), hI(t, n, e, "center")), fI(e.options, pI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = dI(() => [+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), mI(t, n, e, "center")), dI(e.options, fI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = uI(() => [e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left- ], (t, n, r) => hI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), fI(e.options, pI, "getLeftHeaderGroups")), e.getRightHeaderGroups = dI(() => [+ ], (t, n, r) => mI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), dI(e.options, fI, "getLeftHeaderGroups")), e.getRightHeaderGroups = uI(() => [e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right- ], (t, n, r) => hI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), fI(e.options, pI, "getRightHeaderGroups")), e.getFooterGroups = dI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), fI(e.options, pI, "getFooterGroups")), e.getLeftFooterGroups = dI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), fI(e.options, pI, "getLeftFooterGroups")), e.getCenterFooterGroups = dI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), fI(e.options, pI, "getCenterFooterGroups")), e.getRightFooterGroups = dI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), fI(e.options, pI, "getRightFooterGroups")), e.getFlatHeaders = dI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), fI(e.options, pI, "getFlatHeaders")), e.getLeftFlatHeaders = dI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), fI(e.options, pI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = dI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), fI(e.options, pI, "getCenterFlatHeaders")), e.getRightFlatHeaders = dI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), fI(e.options, pI, "getRightFlatHeaders")), e.getCenterLeafHeaders = dI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {+ ], (t, n, r) => mI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), dI(e.options, fI, "getRightHeaderGroups")), e.getFooterGroups = uI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), dI(e.options, fI, "getFooterGroups")), e.getLeftFooterGroups = uI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), dI(e.options, fI, "getLeftFooterGroups")), e.getCenterFooterGroups = uI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), dI(e.options, fI, "getCenterFooterGroups")), e.getRightFooterGroups = uI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), dI(e.options, fI, "getRightFooterGroups")), e.getFlatHeaders = uI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), dI(e.options, fI, "getFlatHeaders")), e.getLeftFlatHeaders = uI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), dI(e.options, fI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = uI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), dI(e.options, fI, "getCenterFlatHeaders")), e.getRightFlatHeaders = uI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), dI(e.options, fI, "getRightFlatHeaders")), e.getCenterLeafHeaders = uI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {var t;return !((t = e.subHeaders) != null && t.length);- }), fI(e.options, pI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = dI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {+ }), dI(e.options, fI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = uI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {var t;return !((t = e.subHeaders) != null && t.length);- }), fI(e.options, pI, "getLeftLeafHeaders")), e.getRightLeafHeaders = dI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {+ }), dI(e.options, fI, "getLeftLeafHeaders")), e.getRightLeafHeaders = uI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {var t;return !((t = e.subHeaders) != null && t.length);- }), fI(e.options, pI, "getRightLeafHeaders")), e.getLeafHeaders = dI(() => [+ }), dI(e.options, fI, "getRightLeafHeaders")), e.getLeafHeaders = uI(() => [e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()@@ -42966,9 +42966,9 @@ var uge = { createTable: (e) => {...e[0]?.headers ?? [],...t[0]?.headers ?? [],...n[0]?.headers ?? []- ].map((e) => e.getLeafHeaders()).flat(), fI(e.options, pI, "getLeafHeaders"));+ ].map((e) => e.getLeafHeaders()).flat(), dI(e.options, fI, "getLeafHeaders"));} };-function hI(e, t, n, r) {+function mI(e, t, n, r) {let i = 0, a = function(e, t) {t === void 0 && (t = 1), i = Math.max(i, t), e.filter((e) => e.getIsVisible()).forEach((e) => {var n;@@ -42986,7 +42986,7 @@ function hI(e, t, n, r) {let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);else {- let i = mI(n, c, {+ let i = pI(n, c, {id: [r,t,@@ -43003,7 +43003,7 @@ function hI(e, t, n, r) {i.headers.push(e), e.headerGroup = i;}), o.push(i), t > 0 && s(a, t - 1);};- s(t.map((e, t) => mI(n, e, {+ s(t.map((e, t) => pI(n, e, {depth: i,index: t})), i - 1), o.reverse();@@ -43021,7 +43021,7 @@ function hI(e, t, n, r) {});return c(o[0]?.headers ?? []), o;}-var dge = (e, t, n, r, i, a, o) => {+var fge = (e, t, n, r, i, a, o) => {let s = {id: t,index: r,@@ -43042,7 +43042,7 @@ var dge = (e, t, n, r, i, a, o) => {},renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,subRows: a ?? [],- getLeafRows: () => sge(s.subRows, (e) => e.subRows),+ getLeafRows: () => cge(s.subRows, (e) => e.subRows),getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,getParentRows: () => {let e = [], t = s;@@ -43053,95 +43053,95 @@ var dge = (e, t, n, r, i, a, o) => {}return e.reverse();},- getAllCells: dI(() => [e.getAllLeafColumns()], (t) => t.map((t) => cge(e, s, t, t.id)), fI(e.options, "debugRows", "getAllCells")),- _getAllCellsByColumnId: dI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), fI(e.options, "debugRows", "getAllCellsByColumnId"))+ getAllCells: uI(() => [e.getAllLeafColumns()], (t) => t.map((t) => lge(e, s, t, t.id)), dI(e.options, "debugRows", "getAllCells")),+ _getAllCellsByColumnId: uI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), dI(e.options, "debugRows", "getAllCellsByColumnId"))};for (let t = 0; t < e._features.length; t++) {let n = e._features[t];n == null || n.createRow == null || n.createRow(s, e);}return s;-}, fge = { createColumn: (e, t) => {+}, pge = { createColumn: (e, t) => {e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();};-} }, gI = (e, t, n) => {+} }, hI = (e, t, n) => {var r, i;let a = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();return !!((i = e.getValue(t)) != null && (i = i.toString()) != null && (i = i.toLowerCase()) != null && i.includes(a));};-gI.autoRemove = (e) => EI(e);-var _I = (e, t, n) => {+hI.autoRemove = (e) => TI(e);+var gI = (e, t, n) => {var r;return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));};-_I.autoRemove = (e) => EI(e);-var vI = (e, t, n) => {+gI.autoRemove = (e) => TI(e);+var _I = (e, t, n) => {var r;return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();};-vI.autoRemove = (e) => EI(e);-var yI = (e, t, n) => e.getValue(t)?.includes(n);-yI.autoRemove = (e) => EI(e);-var bI = (e, t, n) => !n.some((n) => {+_I.autoRemove = (e) => TI(e);+var vI = (e, t, n) => e.getValue(t)?.includes(n);+vI.autoRemove = (e) => TI(e);+var yI = (e, t, n) => !n.some((n) => {var r;return !((r = e.getValue(t)) != null && r.includes(n));});-bI.autoRemove = (e) => EI(e) || !(e != null && e.length);-var xI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));-xI.autoRemove = (e) => EI(e) || !(e != null && e.length);-var SI = (e, t, n) => e.getValue(t) === n;-SI.autoRemove = (e) => EI(e);-var CI = (e, t, n) => e.getValue(t) == n;-CI.autoRemove = (e) => EI(e);-var wI = (e, t, n) => {+yI.autoRemove = (e) => TI(e) || !(e != null && e.length);+var bI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));+bI.autoRemove = (e) => TI(e) || !(e != null && e.length);+var xI = (e, t, n) => e.getValue(t) === n;+xI.autoRemove = (e) => TI(e);+var SI = (e, t, n) => e.getValue(t) == n;+SI.autoRemove = (e) => TI(e);+var CI = (e, t, n) => {let [r, i] = n, a = e.getValue(t);return a >= r && a <= i;};-wI.resolveFilterValue = (e) => {+CI.resolveFilterValue = (e) => {let [t, n] = e, r = typeof t == "number" ? t : parseFloat(t), i = typeof n == "number" ? n : parseFloat(n), a = t === null || Number.isNaN(r) ? -Infinity : r, o = n === null || Number.isNaN(i) ? Infinity : i;if (a > o) {let e = a;a = o, o = e;}return [a, o];-}, wI.autoRemove = (e) => EI(e) || EI(e[0]) && EI(e[1]);-var TI = {- includesString: gI,- includesStringSensitive: _I,- equalsString: vI,- arrIncludes: yI,- arrIncludesAll: bI,- arrIncludesSome: xI,- equals: SI,- weakEquals: CI,- inNumberRange: wI+}, CI.autoRemove = (e) => TI(e) || TI(e[0]) && TI(e[1]);+var wI = {+ includesString: hI,+ includesStringSensitive: gI,+ equalsString: _I,+ arrIncludes: vI,+ arrIncludesAll: yI,+ arrIncludesSome: bI,+ equals: xI,+ weakEquals: SI,+ inNumberRange: CI};-function EI(e) {+function TI(e) {return e == null || e === "";}-var pge = {+var mge = {getDefaultColumnDef: () => ({ filterFn: "auto" }),getInitialState: (e) => ({columnFilters: [],...e}),getDefaultOptions: (e) => ({- onColumnFiltersChange: lI("columnFilters", e),+ onColumnFiltersChange: cI("columnFilters", e),filterFromLeafRows: !1,maxLeafRowFilterDepth: 100}),createColumn: (e, t) => {e.getAutoFilterFn = () => {let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);- return typeof n == "string" ? TI.includesString : typeof n == "number" ? TI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? TI.equals : Array.isArray(n) ? TI.arrIncludes : TI.weakEquals;- }, e.getFilterFn = () => uI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? TI[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {+ return typeof n == "string" ? wI.includesString : typeof n == "number" ? wI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? wI.equals : Array.isArray(n) ? wI.arrIncludes : wI.weakEquals;+ }, e.getFilterFn = () => lI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? wI[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {var n;return (n = t.getState().columnFilters) == null || (n = n.find((t) => t.id === e.id)) == null ? void 0 : n.value;}, e.getFilterIndex = () => t.getState().columnFilters?.findIndex((t) => t.id === e.id) ?? -1, e.setFilterValue = (n) => {t.setColumnFilters((t) => {- let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = cI(n, i ? i.value : void 0);- if (DI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = sI(n, i ? i.value : void 0);+ if (EI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];let o = {id: e.id,value: a@@ -43156,19 +43156,19 @@ var pge = {createTable: (e) => {e.setColumnFilters = (t) => {let n = e.getAllLeafColumns();- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => cI(t, e)?.filter((e) => {+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => sI(t, e)?.filter((e) => {let t = n.find((t) => t.id === e.id);- return !(t && DI(t.getFilterFn(), e.value, t));+ return !(t && EI(t.getFilterFn(), e.value, t));}));}, e.resetColumnFilters = (t) => {e.setColumnFilters(t ? [] : e.initialState?.columnFilters ?? []);}, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());}};-function DI(e, t, n) {+function EI(e, t, n) {return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;}-var OI = {+var DI = {sum: (e, t, n) => n.reduce((t, n) => {let r = n.getValue(e);return t + (typeof r == "number" ? r : 0);@@ -43204,7 +43204,7 @@ var OI = {median: (e, t) => {if (!t.length) return;let n = t.map((t) => t.getValue(e));- if (!oge(n)) return;+ if (!sge(n)) return;if (n.length === 1) return n[0];let r = Math.floor(n.length / 2), i = n.sort((e, t) => e - t);return n.length % 2 == 0 ? (i[r - 1] + i[r]) / 2 : i[r];@@ -43212,7 +43212,7 @@ var OI = {unique: (e, t) => Array.from(new Set(t.map((t) => t.getValue(e))).values()),uniqueCount: (e, t) => new Set(t.map((t) => t.getValue(e))).size,count: (e, t) => t.length-}, mge = {+}, hge = {getDefaultColumnDef: () => ({aggregatedCell: (e) => {var t;@@ -43225,7 +43225,7 @@ var OI = {...e}),getDefaultOptions: (e) => ({- onGroupingChange: lI("grouping", e),+ onGroupingChange: cI("grouping", e),groupedColumnMode: "reorder"}),createColumn: (e, t) => {@@ -43238,11 +43238,11 @@ var OI = {};}, e.getAutoAggregationFn = () => {let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);- if (typeof n == "number") return OI.sum;- if (Object.prototype.toString.call(n) === "[object Date]") return OI.extent;+ if (typeof n == "number") return DI.sum;+ if (Object.prototype.toString.call(n) === "[object Date]") return DI.extent;}, e.getAggregationFn = () => {if (!e) throw Error();- return uI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? OI[e.columnDef.aggregationFn];+ return lI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? DI[e.columnDef.aggregationFn];};},createTable: (e) => {@@ -43264,27 +43264,27 @@ var OI = {};}};-function hge(e, t, n) {+function gge(e, t, n) {if (!(t != null && t.length) || !n) return e;let r = e.filter((e) => !t.includes(e.id));return n === "remove" ? r : [...t.map((t) => e.find((e) => e.id === t)).filter(Boolean), ...r];}-var gge = {+var _ge = {getInitialState: (e) => ({columnOrder: [],...e}),- getDefaultOptions: (e) => ({ onColumnOrderChange: lI("columnOrder", e) }),+ getDefaultOptions: (e) => ({ onColumnOrderChange: cI("columnOrder", e) }),createColumn: (e, t) => {- e.getIndex = dI((e) => [PI(t, e)], (t) => t.findIndex((t) => t.id === e.id), fI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => PI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {- let r = PI(t, n);+ e.getIndex = uI((e) => [NI(t, e)], (t) => t.findIndex((t) => t.id === e.id), dI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => NI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {+ let r = NI(t, n);return r[r.length - 1]?.id === e.id;};},createTable: (e) => {e.setColumnOrder = (t) => e.options.onColumnOrderChange == null ? void 0 : e.options.onColumnOrderChange(t), e.resetColumnOrder = (t) => {e.setColumnOrder(t ? [] : e.initialState.columnOrder ?? []);- }, e._getOrderColumnsFn = dI(() => [+ }, e._getOrderColumnsFn = uI(() => [e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode@@ -43299,18 +43299,18 @@ var gge = {}i = [...i, ...n];}- return hge(i, t, n);- }, fI(e.options, "debugTable", "_getOrderColumnsFn"));+ return gge(i, t, n);+ }, dI(e.options, "debugTable", "_getOrderColumnsFn"));}-}, kI = () => ({+}, OI = () => ({left: [],right: []-}), _ge = {+}), vge = {getInitialState: (e) => ({- columnPinning: kI(),+ columnPinning: OI(),...e}),- getDefaultOptions: (e) => ({ onColumnPinningChange: lI("columnPinning", e) }),+ getDefaultOptions: (e) => ({ onColumnPinningChange: cI("columnPinning", e) }),createColumn: (e, t) => {e.pin = (n) => {let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);@@ -43334,75 +43334,75 @@ var gge = {};},createRow: (e, t) => {- e.getCenterVisibleCells = dI(() => [+ e.getCenterVisibleCells = uI(() => [e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right], (e, t, n) => {let r = [...t ?? [], ...n ?? []];return e.filter((e) => !r.includes(e.column.id));- }, fI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = dI(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({+ }, dI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = uI(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({...e,position: "left"- })), fI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = dI(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({+ })), dI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = uI(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({...e,position: "right"- })), fI(t.options, "debugRows", "getRightVisibleCells"));+ })), dI(t.options, "debugRows", "getRightVisibleCells"));},createTable: (e) => {- e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? kI() : e.initialState?.columnPinning ?? kI()), e.getIsSomeColumnsPinned = (t) => {+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? OI() : e.initialState?.columnPinning ?? OI()), e.getIsSomeColumnsPinned = (t) => {let n = e.getState().columnPinning;return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);- }, e.getLeftLeafColumns = dI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), fI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = dI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), fI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = dI(() => [+ }, e.getLeftLeafColumns = uI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), dI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = uI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), dI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = uI(() => [e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right], (e, t, n) => {let r = [...t ?? [], ...n ?? []];return e.filter((e) => !r.includes(e.id));- }, fI(e.options, "debugColumns", "getCenterLeafColumns"));+ }, dI(e.options, "debugColumns", "getCenterLeafColumns"));}};-function vge(e) {+function yge(e) {return e || (typeof document < "u" ? document : null);}-var AI = {+var kI = {size: 150,minSize: 20,maxSize: 2 ** 53 - 1-}, jI = () => ({+}, AI = () => ({startOffset: null,startSize: null,deltaOffset: null,deltaPercentage: null,isResizingColumn: !1,columnSizingStart: []-}), yge = {- getDefaultColumnDef: () => AI,+}), bge = {+ getDefaultColumnDef: () => kI,getInitialState: (e) => ({columnSizing: {},- columnSizingInfo: jI(),+ columnSizingInfo: AI(),...e}),getDefaultOptions: (e) => ({columnResizeMode: "onEnd",columnResizeDirection: "ltr",- onColumnSizingChange: lI("columnSizing", e),- onColumnSizingInfoChange: lI("columnSizingInfo", e)+ onColumnSizingChange: cI("columnSizing", e),+ onColumnSizingInfoChange: cI("columnSizingInfo", e)}),createColumn: (e, t) => {e.getSize = () => {let n = t.getState().columnSizing[e.id];- return Math.min(Math.max(e.columnDef.minSize ?? AI.minSize, n ?? e.columnDef.size ?? AI.size), e.columnDef.maxSize ?? AI.maxSize);- }, e.getStart = dI((e) => [+ return Math.min(Math.max(e.columnDef.minSize ?? kI.minSize, n ?? e.columnDef.size ?? kI.size), e.columnDef.maxSize ?? kI.maxSize);+ }, e.getStart = uI((e) => [e,- PI(t, e),+ NI(t, e),t.getState().columnSizing- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), fI(t.options, "debugColumns", "getStart")), e.getAfter = dI((e) => [+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), dI(t.options, "debugColumns", "getStart")), e.getAfter = uI((e) => [e,- PI(t, e),+ NI(t, e),t.getState().columnSizing- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), fI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), dI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {t.setColumnSizing((t) => {let { [e.id]: n, ...r } = t;return r;@@ -43424,8 +43424,8 @@ var AI = {}, e.getResizeHandler = (n) => {let r = t.getColumn(e.column.id), i = r?.getCanResize();return (a) => {- if (!r || !i || (a.persist == null || a.persist(), NI(a) && a.touches && a.touches.length > 1)) return;- let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = NI(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {+ if (!r || !i || (a.persist == null || a.persist(), MI(a) && a.touches && a.touches.length > 1)) return;+ let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = MI(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {typeof n == "number" && (t.setColumnSizingInfo((e) => {let r = t.options.columnResizeDirection === "rtl" ? -1 : 1, i = (n - (e?.startOffset ?? 0)) * r, a = Math.max(i / (e?.startSize ?? 0), -.999999);return e.columnSizingStart.forEach((e) => {@@ -43450,7 +43450,7 @@ var AI = {deltaPercentage: null,columnSizingStart: []}));- }, p = vge(n), m = {+ }, p = yge(n), m = {moveHandler: (e) => d(e.clientX),upHandler: (e) => {p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);@@ -43460,8 +43460,8 @@ var AI = {upHandler: (e) => {p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);}- }, g = bge() ? { passive: !1 } : !1;- NI(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({+ }, g = xge() ? { passive: !1 } : !1;+ MI(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({...e,startOffset: c,startSize: o,@@ -43477,12 +43477,12 @@ var AI = {e.setColumnSizing = (t) => e.options.onColumnSizingChange == null ? void 0 : e.options.onColumnSizingChange(t), e.setColumnSizingInfo = (t) => e.options.onColumnSizingInfoChange == null ? void 0 : e.options.onColumnSizingInfoChange(t), e.resetColumnSizing = (t) => {e.setColumnSizing(t ? {} : e.initialState.columnSizing ?? {});}, e.resetHeaderSizeInfo = (t) => {- e.setColumnSizingInfo(t ? jI() : e.initialState.columnSizingInfo ?? jI());+ e.setColumnSizingInfo(t ? AI() : e.initialState.columnSizingInfo ?? AI());}, e.getTotalSize = () => e.getHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getLeftTotalSize = () => e.getLeftHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getCenterTotalSize = () => e.getCenterHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getRightTotalSize = () => e.getRightHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0;}-}, MI = null;-function bge() {- if (typeof MI == "boolean") return MI;+}, jI = null;+function xge() {+ if (typeof jI == "boolean") return jI;let e = !1;try {let t = { get passive() {@@ -43492,17 +43492,17 @@ function bge() {} catch {e = !1;}- return MI = e, MI;+ return jI = e, jI;}-function NI(e) {+function MI(e) {return e.type === "touchstart";}-var xge = {+var Sge = {getInitialState: (e) => ({columnVisibility: {},...e}),- getDefaultOptions: (e) => ({ onColumnVisibilityChange: lI("columnVisibility", e) }),+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: cI("columnVisibility", e) }),createColumn: (e, t) => {e.toggleVisibility = (n) => {e.getCanHide() && t.setColumnVisibility((t) => ({@@ -43517,7 +43517,7 @@ var xge = {};},createRow: (e, t) => {- e._getAllVisibleCells = dI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), fI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = dI(() => [+ e._getAllVisibleCells = uI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), dI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = uI(() => [e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()@@ -43525,10 +43525,10 @@ var xge = {...e,...t,...n- ], fI(t.options, "debugRows", "getVisibleCells"));+ ], dI(t.options, "debugRows", "getVisibleCells"));},createTable: (e) => {- let t = (t, n) => dI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), fI(e.options, "debugColumns", t));+ let t = (t, n) => uI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), dI(e.options, "debugColumns", t));e.getVisibleFlatColumns = t("getVisibleFlatColumns", () => e.getAllFlatColumns()), e.getVisibleLeafColumns = t("getVisibleLeafColumns", () => e.getAllLeafColumns()), e.getLeftVisibleLeafColumns = t("getLeftVisibleLeafColumns", () => e.getLeftLeafColumns()), e.getRightVisibleLeafColumns = t("getRightVisibleLeafColumns", () => e.getRightLeafColumns()), e.getCenterVisibleLeafColumns = t("getCenterVisibleLeafColumns", () => e.getCenterLeafColumns()), e.setColumnVisibility = (t) => e.options.onColumnVisibilityChange == null ? void 0 : e.options.onColumnVisibilityChange(t), e.resetColumnVisibility = (t) => {e.setColumnVisibility(t ? {} : e.initialState.columnVisibility ?? {});}, e.toggleAllColumnsVisible = (t) => {@@ -43541,20 +43541,20 @@ var xge = {};}};-function PI(e, t) {+function NI(e, t) {return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();}-var Sge = { createTable: (e) => {+var Cge = { createTable: (e) => {e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {if (e._getGlobalFacetedMinMaxValues) return e._getGlobalFacetedMinMaxValues();};-} }, Cge = {+} }, wge = {getInitialState: (e) => ({globalFilter: void 0,...e}),getDefaultOptions: (e) => ({- onGlobalFilterChange: lI("globalFilter", e),+ onGlobalFilterChange: cI("globalFilter", e),globalFilterFn: "auto",getColumnCanGlobalFilter: (t) => {var n;@@ -43566,22 +43566,22 @@ var Sge = { createTable: (e) => {e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;},createTable: (e) => {- e.getGlobalAutoFilterFn = () => TI.includesString, e.getGlobalFilterFn = () => {+ e.getGlobalAutoFilterFn = () => wI.includesString, e.getGlobalFilterFn = () => {let { globalFilterFn: t } = e.options;- return uI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? TI[t];+ return lI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? wI[t];}, e.setGlobalFilter = (t) => {e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);}, e.resetGlobalFilter = (t) => {e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);};}-}, wge = {+}, Tge = {getInitialState: (e) => ({expanded: {},...e}),getDefaultOptions: (e) => ({- onExpandedChange: lI("expanded", e),+ onExpandedChange: cI("expanded", e),paginateExpandedRows: !0}),createTable: (e) => {@@ -43652,18 +43652,18 @@ var Sge = { createTable: (e) => {};};}-}, FI = 0, II = 10, LI = () => ({- pageIndex: FI,- pageSize: II-}), Tge = {+}, PI = 0, FI = 10, II = () => ({+ pageIndex: PI,+ pageSize: FI+}), Ege = {getInitialState: (e) => ({...e,pagination: {- ...LI(),+ ...II(),...e?.pagination}}),- getDefaultOptions: (e) => ({ onPaginationChange: lI("pagination", e) }),+ getDefaultOptions: (e) => ({ onPaginationChange: cI("pagination", e) }),createTable: (e) => {let t = !1, n = !1;e._autoResetPageIndex = () => {@@ -43679,11 +43679,11 @@ var Sge = { createTable: (e) => {e.resetPageIndex(), n = !1;});}- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => cI(t, e)), e.resetPagination = (t) => {- e.setPagination(t ? LI() : e.initialState.pagination ?? LI());+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => sI(t, e)), e.resetPagination = (t) => {+ e.setPagination(t ? II() : e.initialState.pagination ?? II());}, e.setPageIndex = (t) => {e.setPagination((n) => {- let r = cI(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+ let r = sI(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;return r = Math.max(0, Math.min(r, i)), {...n,pageIndex: r@@ -43691,13 +43691,13 @@ var Sge = { createTable: (e) => {});}, e.resetPageIndex = (t) => {var n;- e.setPageIndex(t ? FI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? FI);+ e.setPageIndex(t ? PI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? PI);}, e.resetPageSize = (t) => {var n;- e.setPageSize(t ? II : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? II);+ e.setPageSize(t ? FI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? FI);}, e.setPageSize = (t) => {e.setPagination((e) => {- let n = Math.max(1, cI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);+ let n = Math.max(1, sI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);return {...e,pageIndex: i,@@ -43705,28 +43705,28 @@ var Sge = { createTable: (e) => {};});}, e.setPageCount = (t) => e.setPagination((n) => {- let r = cI(t, e.options.pageCount ?? -1);+ let r = sI(t, e.options.pageCount ?? -1);return typeof r == "number" && (r = Math.max(-1, r)), {...n,pageCount: r};- }), e.getPageOptions = dI(() => [e.getPageCount()], (e) => {+ }), e.getPageOptions = uI(() => [e.getPageCount()], (e) => {let t = [];return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;- }, fI(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {+ }, dI(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {let { pageIndex: t } = e.getState().pagination, n = e.getPageCount();return n === -1 || n !== 0 && t < n - 1;}, e.previousPage = () => e.setPageIndex((e) => e - 1), e.nextPage = () => e.setPageIndex((e) => e + 1), e.firstPage = () => e.setPageIndex(0), e.lastPage = () => e.setPageIndex(e.getPageCount() - 1), e.getPrePaginationRowModel = () => e.getExpandedRowModel(), e.getPaginationRowModel = () => (!e._getPaginationRowModel && e.options.getPaginationRowModel && (e._getPaginationRowModel = e.options.getPaginationRowModel(e)), e.options.manualPagination || !e._getPaginationRowModel ? e.getPrePaginationRowModel() : e._getPaginationRowModel()), e.getPageCount = () => e.options.pageCount ?? Math.ceil(e.getRowCount() / e.getState().pagination.pageSize), e.getRowCount = () => e.options.rowCount ?? e.getPrePaginationRowModel().rows.length;}-}, RI = () => ({+}, LI = () => ({top: [],bottom: []-}), Ege = {+}), Dge = {getInitialState: (e) => ({- rowPinning: RI(),+ rowPinning: LI(),...e}),- getDefaultOptions: (e) => ({ onRowPinningChange: lI("rowPinning", e) }),+ getDefaultOptions: (e) => ({ onRowPinningChange: cI("rowPinning", e) }),createRow: (e, t) => {e.pin = (n, r, i) => {let a = r ? e.getLeafRows().map((e) => {@@ -43765,7 +43765,7 @@ var Sge = { createTable: (e) => {};},createTable: (e) => {- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? RI() : e.initialState?.rowPinning ?? RI()), e.getIsSomeRowsPinned = (t) => {+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? LI() : e.initialState?.rowPinning ?? LI()), e.getIsSomeRowsPinned = (t) => {let n = e.getState().rowPinning;return t ? !!n[t]?.length : !!(n.top?.length || n.bottom?.length);}, e._getPinnedRows = (t, n, r) => (e.options.keepPinnedRows ?? !0 ? (n ?? []).map((t) => {@@ -43774,22 +43774,22 @@ var Sge = { createTable: (e) => {}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({...e,position: r- })), e.getTopRows = dI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), fI(e.options, "debugRows", "getTopRows")), e.getBottomRows = dI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), fI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = dI(() => [+ })), e.getTopRows = uI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), dI(e.options, "debugRows", "getTopRows")), e.getBottomRows = uI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), dI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = uI(() => [e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom], (e, t, n) => {let r = /* @__PURE__ */ new Set([...t ?? [], ...n ?? []]);return e.filter((e) => !r.has(e.id));- }, fI(e.options, "debugRows", "getCenterRows"));+ }, dI(e.options, "debugRows", "getCenterRows"));}-}, Dge = {+}, Oge = {getInitialState: (e) => ({rowSelection: {},...e}),getDefaultOptions: (e) => ({- onRowSelectionChange: lI("rowSelection", e),+ onRowSelectionChange: cI("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableSubRowSelection: !0@@ -43808,21 +43808,21 @@ var Sge = { createTable: (e) => {}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };return e.getRowModel().rows.forEach((t) => {- zI(i, t.id, r, !0, e);+ RI(i, t.id, r, !0, e);}), i;- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = dI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? BI(e, n) : {+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = uI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? zI(e, n) : {rows: [],flatRows: [],rowsById: {}- }, fI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = dI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? BI(e, n) : {+ }, dI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = uI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? zI(e, n) : {rows: [],flatRows: [],rowsById: {}- }, fI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = dI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? BI(e, n) : {+ }, dI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = uI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? zI(e, n) : {rows: [],flatRows: [],rowsById: {}- }, fI(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {+ }, dI(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {let t = e.getFilteredRowModel().flatRows, { rowSelection: n } = e.getState(), r = !!(t.length && Object.keys(n).length);return r && t.some((e) => e.getCanSelect() && !n[e.id]) && (r = !1), r;}, e.getIsAllPageRowsSelected = () => {@@ -43846,17 +43846,17 @@ var Sge = { createTable: (e) => {t.setRowSelection((a) => {if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;let o = { ...a };- return zI(o, e.id, n, r?.selectChildren ?? !0, t), o;+ return RI(o, e.id, n, r?.selectChildren ?? !0, t), o;});}, e.getIsSelected = () => {let { rowSelection: n } = t.getState();- return VI(e, n);+ return BI(e, n);}, e.getIsSomeSelected = () => {let { rowSelection: n } = t.getState();- return HI(e, n) === "some";+ return VI(e, n) === "some";}, e.getIsAllSubRowsSelected = () => {let { rowSelection: n } = t.getState();- return HI(e, n) === "all";+ return VI(e, n) === "all";}, e.getCanSelect = () => typeof t.options.enableRowSelection == "function" ? t.options.enableRowSelection(e) : t.options.enableRowSelection ?? !0, e.getCanSelectSubRows = () => typeof t.options.enableSubRowSelection == "function" ? t.options.enableSubRowSelection(e) : t.options.enableSubRowSelection ?? !0, e.getCanMultiSelect = () => typeof t.options.enableMultiRowSelection == "function" ? t.options.enableMultiRowSelection(e) : t.options.enableMultiRowSelection ?? !0, e.getToggleSelectedHandler = () => {let t = e.getCanSelect();return (n) => {@@ -43864,16 +43864,16 @@ var Sge = { createTable: (e) => {};};}-}, zI = (e, t, n, r, i) => {+}, RI = (e, t, n, r, i) => {var a;let o = i.getRow(t, !0);- n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => zI(e, t.id, n, r, i));+ n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => RI(e, t.id, n, r, i));};-function BI(e, t) {+function zI(e, t) {let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {return e.map((e) => {var t;- let o = VI(e, n);+ let o = BI(e, n);if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {...e,subRows: a(e.subRows)@@ -43886,32 +43886,32 @@ function BI(e, t) {rowsById: i};}-function VI(e, t) {+function BI(e, t) {return t[e.id] ?? !1;}-function HI(e, t, n) {+function VI(e, t, n) {var r;if (!((r = e.subRows) != null && r.length)) return !1;let i = !0, a = !1;return e.subRows.forEach((e) => {- if (!(a && !i) && (e.getCanSelect() && (VI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {- let n = HI(e, t);+ if (!(a && !i) && (e.getCanSelect() && (BI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {+ let n = VI(e, t);n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);}}), i ? "all" : a ? "some" : !1;}-var UI = /([0-9]+)/gm, Oge = (e, t, n) => KI(GI(e.getValue(n)).toLowerCase(), GI(t.getValue(n)).toLowerCase()), kge = (e, t, n) => KI(GI(e.getValue(n)), GI(t.getValue(n))), Age = (e, t, n) => WI(GI(e.getValue(n)).toLowerCase(), GI(t.getValue(n)).toLowerCase()), jge = (e, t, n) => WI(GI(e.getValue(n)), GI(t.getValue(n))), Mge = (e, t, n) => {+var HI = /([0-9]+)/gm, kge = (e, t, n) => GI(WI(e.getValue(n)).toLowerCase(), WI(t.getValue(n)).toLowerCase()), Age = (e, t, n) => GI(WI(e.getValue(n)), WI(t.getValue(n))), jge = (e, t, n) => UI(WI(e.getValue(n)).toLowerCase(), WI(t.getValue(n)).toLowerCase()), Mge = (e, t, n) => UI(WI(e.getValue(n)), WI(t.getValue(n))), Nge = (e, t, n) => {let r = e.getValue(n), i = t.getValue(n);return r > i ? 1 : r < i ? -1 : 0;-}, Nge = (e, t, n) => WI(e.getValue(n), t.getValue(n));-function WI(e, t) {+}, Pge = (e, t, n) => UI(e.getValue(n), t.getValue(n));+function UI(e, t) {return e === t ? 0 : e > t ? 1 : -1;}-function GI(e) {+function WI(e) {return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";}-function KI(e, t) {- let n = e.split(UI).filter(Boolean), r = t.split(UI).filter(Boolean);+function GI(e, t) {+ let n = e.split(HI).filter(Boolean), r = t.split(HI).filter(Boolean);for (; n.length && r.length;) {let e = n.shift(), t = r.shift(), i = parseInt(e, 10), a = parseInt(t, 10), o = [i, a].sort();if (isNaN(o[0])) {@@ -43925,22 +43925,22 @@ function KI(e, t) {}return n.length - r.length;}-var qI = {- alphanumeric: Oge,- alphanumericCaseSensitive: kge,- text: Age,- textCaseSensitive: jge,- datetime: Mge,- basic: Nge-}, Pge = [- uge,- xge,- gge,+var KI = {+ alphanumeric: kge,+ alphanumericCaseSensitive: Age,+ text: jge,+ textCaseSensitive: Mge,+ datetime: Nge,+ basic: Pge+}, Fge = [+ dge,+ Sge,_ge,- fge,+ vge,pge,- Sge,+ mge,Cge,+ wge,{getInitialState: (e) => ({sorting: [],@@ -43951,7 +43951,7 @@ var qI = {sortUndefined: 1}),getDefaultOptions: (e) => ({- onSortingChange: lI("sorting", e),+ onSortingChange: cI("sorting", e),isMultiSortEvent: (e) => e.shiftKey}),createColumn: (e, t) => {@@ -43959,13 +43959,13 @@ var qI = {let n = t.getFilteredRowModel().flatRows.slice(10), r = !1;for (let t of n) {let n = t?.getValue(e.id);- if (Object.prototype.toString.call(n) === "[object Date]") return qI.datetime;- if (typeof n == "string" && (r = !0, n.split(UI).length > 1)) return qI.alphanumeric;+ if (Object.prototype.toString.call(n) === "[object Date]") return KI.datetime;+ if (typeof n == "string" && (r = !0, n.split(HI).length > 1)) return KI.alphanumeric;}- return r ? qI.text : qI.basic;+ return r ? KI.text : KI.basic;}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {if (!e) throw Error();- return uI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? qI[e.columnDef.sortingFn];+ return lI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? KI[e.columnDef.sortingFn];}, e.toggleSorting = (n, r) => {let i = e.getNextSortingOrder(), a = n != null;t.setSorting((o) => {@@ -44002,15 +44002,15 @@ var qI = {}, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());}},- mge,- wge,+ hge,Tge,Ege,Dge,- yge+ Oge,+ bge];-function Fge(e) {- let t = [...Pge, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {+function Ige(e) {+ let t = [...Fge, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {...r,...e}, a = { ...e.initialState ?? {} };@@ -44036,7 +44036,7 @@ function Fge(e) {n.setState(n.initialState);},setOptions: (e) => {- let t = cI(e, n.options);+ let t = sI(e, n.options);n.options = i(t);},getState: () => n.options.state,@@ -44051,7 +44051,7 @@ function Fge(e) {if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();return r;},- _getDefaultColumnDef: dI(() => [n.options.defaultColumn], (e) => (e ??= {}, {+ _getDefaultColumnDef: uI(() => [n.options.defaultColumn], (e) => (e ??= {}, {header: (e) => {let t = e.header.column.columnDef;return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;@@ -44062,20 +44062,20 @@ function Fge(e) {},...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),...e- }), fI(e, "debugColumns", "_getDefaultColumnDef")),+ }), dI(e, "debugColumns", "_getDefaultColumnDef")),_getColumnDefs: () => n.options.columns,- getAllColumns: dI(() => [n._getColumnDefs()], (e) => {+ getAllColumns: uI(() => [n._getColumnDefs()], (e) => {let t = function(e, r, i) {return i === void 0 && (i = 0), e.map((e) => {- let a = lge(n, e, i, r), o = e;+ let a = uge(n, e, i, r), o = e;return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;});};return t(e);- }, fI(e, "debugColumns", "getAllColumns")),- getAllFlatColumns: dI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), fI(e, "debugColumns", "getAllFlatColumns")),- _getAllFlatColumnsById: dI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), fI(e, "debugColumns", "getAllFlatColumnsById")),- getAllLeafColumns: dI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), fI(e, "debugColumns", "getAllLeafColumns")),+ }, dI(e, "debugColumns", "getAllColumns")),+ getAllFlatColumns: uI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), dI(e, "debugColumns", "getAllFlatColumns")),+ _getAllFlatColumnsById: uI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), dI(e, "debugColumns", "getAllFlatColumnsById")),+ getAllLeafColumns: uI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), dI(e, "debugColumns", "getAllLeafColumns")),getColumn: (e) => n._getAllFlatColumnsById()[e]};Object.assign(n, c);@@ -44085,8 +44085,8 @@ function Fge(e) {}return n;}-function JI() {- return (e) => dI(() => [e.options.data], (t) => {+function qI() {+ return (e) => uI(() => [e.options.data], (t) => {let n = {rows: [],flatRows: [],@@ -44095,7 +44095,7 @@ function JI() {i === void 0 && (i = 0);let o = [];for (let c = 0; c < t.length; c++) {- let l = dge(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);+ let l = fge(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);if (n.flatRows.push(l), n.rowsById[l.id] = l, o.push(l), e.options.getSubRows) {var s;l.originalSubRows = e.options.getSubRows(t[c], c), (s = l.originalSubRows) != null && s.length && (l.subRows = r(l.originalSubRows, i + 1, l));@@ -44104,9 +44104,9 @@ function JI() {return o;};return n.rows = r(t), n;- }, fI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));+ }, dI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));}-function Ige(e) {+function Lge(e) {let t = [], n = (e) => {var r;t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);@@ -44117,8 +44117,8 @@ function Ige(e) {rowsById: e.rowsById};}-function YI(e) {- return (e) => dI(() => [+function JI(e) {+ return (e) => uI(() => [e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows ? void 0 : e.getState().expanded@@ -44131,7 +44131,7 @@ function YI(e) {rows: a,flatRows: o,rowsById: s- } : Ige({+ } : Lge({rows: a,flatRows: o,rowsById: s@@ -44140,32 +44140,32 @@ function YI(e) {u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);};return u.rows.forEach(d), u;- }, fI(e.options, "debugTable", "getPaginationRowModel"));+ }, dI(e.options, "debugTable", "getPaginationRowModel"));}//#endregion//#region node_modules/@tanstack/react-table/build/lib/index.mjs-function XI(e, t) {- return e ? Lge(e) ? /*#__PURE__*/ B.createElement(e, t) : e : null;-}-function Lge(e) {- return Rge(e) || typeof e == "function" || zge(e);+function YI(e, t) {+ return e ? Rge(e) ? /*#__PURE__*/ B.createElement(e, t) : e : null;}function Rge(e) {+ return zge(e) || typeof e == "function" || Bge(e);+}+function zge(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function zge(e) {+function Bge(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function ZI(e) {+function XI(e) {let t = {state: {},onStateChange: () => {},renderFallbackValue: null,...e- }, [n] = B.useState(() => ({ current: Fge(t) })), [r, i] = B.useState(() => n.current.initialState);+ }, [n] = B.useState(() => ({ current: Ige(t) })), [r, i] = B.useState(() => n.current.initialState);return n.current.setOptions((t) => ({...t,...e,@@ -44180,7 +44180,7 @@ function ZI(e) {}//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var Bge = gE({+var Vge = gE({sm: {track: "h-4 w-7",trackRadius: {@@ -44242,8 +44242,8 @@ var Bge = gE({}}});-function Vge({ state: e, size: t = "md", shape: n = "pill" }) {- let r = Bge[t];+function Hge({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = Vge[t];return /* @__PURE__ */ (0, V.jsx)("span", {"aria-hidden": !0,className: hE("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? hE("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),@@ -44253,12 +44253,12 @@ function Vge({ state: e, size: t = "md", shape: n = "pill" }) {})});}-function QI({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+function ZI({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {return /* @__PURE__ */ (0, V.jsx)(ace, {ref: i,...a,className: (t) => hE("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),- children: (e) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(Vge, {+ children: (e) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(Hge, {state: e,size: n,shape: r@@ -44270,8 +44270,8 @@ function QI({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/components/legacy-avatar.ts-var $I = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", Hge = "输入女优名,到 JavDB 找她的演员页";-function Uge(e, t) {+var QI = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", Uge = "输入女优名,到 JavDB 找她的演员页";+function Wge(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);if (n.size > 1) return {@@ -44290,10 +44290,10 @@ function Uge(e, t) {blocked: !1};}-function Wge({ card: e, picked: t, onPick: n }) {+function Gge({ card: e, picked: t, onPick: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, V.jsx)(jM, {+ children: [/* @__PURE__ */ (0, V.jsx)(AM, {isSelected: t,onChange: n,children: /* @__PURE__ */ (0, V.jsxs)("span", {@@ -44320,10 +44320,10 @@ function Wge({ card: e, picked: t, onPick: n }) {})]});}-function Gge({ readOnly: e, toast: t, onAdded: n }) {+function Kge({ readOnly: e, toast: t, onAdded: n }) {let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(null), [s, c] = (0, B.useState)(/* @__PURE__ */ new Set()), l = DE(), u = () => {let t = r.trim();- !t || e || l.run("lookup", (e) => Jme(t, e), (e) => {+ !t || e || l.run("lookup", (e) => Yme(t, e), (e) => {o(e), c(new Set(e.suggested));});}, d = (e) => {@@ -44331,10 +44331,10 @@ function Gge({ readOnly: e, toast: t, onAdded: n }) {}, f = () => {o(null), c(/* @__PURE__ */ new Set()), l.setError("");}, p = () => {- a && l.run("follow", (e) => Yme(a.q, [...s], e), (e) => {+ a && l.run("follow", (e) => Xme(a.q, [...s], e), (e) => {t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();});- }, m = a ? Uge(a, s) : null;+ }, m = a ? Wge(a, s) : null;return /* @__PURE__ */ (0, V.jsxs)("div", {className: xE({padding: "none",@@ -44349,9 +44349,9 @@ function Gge({ readOnly: e, toast: t, onAdded: n }) {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, V.jsx)("div", {className: "min-w-64 grow",- children: /* @__PURE__ */ (0, V.jsx)(UM, {+ children: /* @__PURE__ */ (0, V.jsx)(HM, {"aria-label": "女优名",- placeholder: Hge,+ placeholder: Uge,value: r,leadingIcon: CT,isDisabled: e,@@ -44375,7 +44375,7 @@ function Gge({ readOnly: e, toast: t, onAdded: n }) {className: "flex flex-col gap-3",children: [/* @__PURE__ */ (0, V.jsx)(RE, { children: "JavDB 上的演员卡" }),- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, V.jsx)(Wge, {+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, V.jsx)(Gge, {card: e,picked: s.has(e.id),onPick: (t) => c((n) => {@@ -44410,19 +44410,19 @@ function Gge({ readOnly: e, toast: t, onAdded: n }) {}//#endregion//#region src/react/follow-manage/source-list.tsx-var Kge = Object.fromEntries(Object.entries(WP).map(([e, t]) => [t, e])), eL = 740;-function qge() {+var qge = Object.fromEntries(Object.entries(UP).map(([e, t]) => [t, e])), $I = 740;+function Jge() {let [e, t] = (0, B.useState)(!1), n = (0, B.useRef)(null), r = (0, B.useCallback)((e) => {if (n.current?.disconnect(), !e) {n.current = null;return;}- let r = new ResizeObserver(() => t(e.clientWidth < eL));- r.observe(e), n.current = r, t(e.clientWidth < eL);+ let r = new ResizeObserver(() => t(e.clientWidth < $I));+ r.observe(e), n.current = r, t(e.clientWidth < $I);}, []);return (0, B.useEffect)(() => () => n.current?.disconnect(), []), [r, e];}-var Jge = {+var Yge = {select: "选择",author: "创作者",source: "来源",@@ -44431,7 +44431,7 @@ var Jge = {checked: "上次检查",actions: "操作"};-function tL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function eL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {return t <= 1 ? null : /* @__PURE__ */ (0, V.jsxs)("nav", {"aria-label": r,className: "flex flex-wrap items-center justify-center gap-2",@@ -44445,7 +44445,7 @@ function tL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {}),/* @__PURE__ */ (0, V.jsx)("ul", {className: "flex flex-wrap items-center gap-1",- children: XA(e, t).map((t, r) => /* @__PURE__ */ (0, V.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, V.jsx)("span", {+ children: YA(e, t).map((t, r) => /* @__PURE__ */ (0, V.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, V.jsx)("span", {"aria-hidden": !0,className: "px-1 text-body-2-regular text-text-tertiary",children: "…"@@ -44468,22 +44468,22 @@ function tL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {]});}-function Yge({ source: e, selected: t, onToggle: n, handlers: r }) {+function Xge({ source: e, selected: t, onToggle: n, handlers: r }) {return /* @__PURE__ */ (0, V.jsxs)("div", {"data-selected": t || void 0,className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",onClick: (e) => {- NM(e, e.currentTarget) && n(!t);+ MM(e, e.currentTarget) && n(!t);},children: [- /* @__PURE__ */ (0, V.jsx)(jM, {+ /* @__PURE__ */ (0, V.jsx)(AM, {isSelected: t,onChange: n,"aria-label": `选择 ${e.label}`}),/* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 grow flex-col gap-0.5",- children: [/* @__PURE__ */ (0, V.jsx)(nI, { source: e }), e.last_error ? /* @__PURE__ */ (0, V.jsx)("small", {+ children: [/* @__PURE__ */ (0, V.jsx)(tI, { source: e }), e.last_error ? /* @__PURE__ */ (0, V.jsx)("small", {className: "text-caption-1-regular text-text-error-primary",children: e.last_error}) : null]@@ -44491,17 +44491,17 @@ function Yge({ source: e, selected: t, onToggle: n, handlers: r }) {/* @__PURE__ */ (0, V.jsx)("span", {className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",title: e.provider_label,- children: /* @__PURE__ */ (0, V.jsx)($F, {+ children: /* @__PURE__ */ (0, V.jsx)(QF, {provider: e.provider,label: e.provider_label})}),- /* @__PURE__ */ (0, V.jsx)(tI, { source: e }),+ /* @__PURE__ */ (0, V.jsx)(eI, { source: e }),/* @__PURE__ */ (0, V.jsx)("span", {className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",- children: _F(e)+ children: gF(e)}),- /* @__PURE__ */ (0, V.jsx)(QI, {+ /* @__PURE__ */ (0, V.jsx)(ZI, {"aria-label": `启用 ${e.label}`,isSelected: e.enabled,isDisabled: r.readOnly,@@ -44531,8 +44531,8 @@ function Yge({ source: e, selected: t, onToggle: n, handlers: r }) {]});}-function Xge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {- let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(KP).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = nF(r, c);+function Zge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {+ let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(GP).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = tF(r, c);return /* @__PURE__ */ (0, V.jsxs)("section", {"aria-label": `${t} 的关注来源`,className: xE({@@ -44545,7 +44545,7 @@ function Xge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,"data-open": n || void 0,className: "flex flex-wrap items-center gap-3 px-2 py-2.5",children: [- /* @__PURE__ */ (0, V.jsx)(eI, {+ /* @__PURE__ */ (0, V.jsx)($F, {group: e,name: t}),@@ -44566,7 +44566,7 @@ function Xge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,/* @__PURE__ */ (0, V.jsxs)("span", {className: "flex shrink-0 items-center gap-1",title: d,- children: [e.map((e) => /* @__PURE__ */ (0, V.jsx)($F, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, V.jsx)(H_, { children: `来源:${d}` })]+ children: [e.map((e) => /* @__PURE__ */ (0, V.jsx)(QF, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, V.jsx)(H_, { children: `来源:${d}` })]}),u ? /* @__PURE__ */ (0, V.jsx)("span", {className: "shrink-0 text-body-2-regular text-text-error-primary",@@ -44596,7 +44596,7 @@ function Xge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,id: f,hidden: !n,"data-source-divider": !0,- children: e.map((e) => /* @__PURE__ */ (0, V.jsx)(Yge, {+ children: e.map((e) => /* @__PURE__ */ (0, V.jsx)(Xge, {source: e,handlers: i,selected: r.has(e.id),@@ -44605,37 +44605,37 @@ function Xge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,})]});}-function Zge(e) {- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, B.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, b] = (0, B.useState)(/* @__PURE__ */ new Set()), [x, S] = qge(), [C, w] = (0, B.useState)(""), T = (0, B.useMemo)(() => Ime(g, n, r, _), [+function Qge(e) {+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, B.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, b] = (0, B.useState)(/* @__PURE__ */ new Set()), [x, S] = Jge(), [C, w] = (0, B.useState)(""), T = (0, B.useMemo)(() => Lme(g, n, r, _), [g,n,r,_- ]), E = (0, B.useMemo)(() => Lme(T, n, r, _), [+ ]), E = (0, B.useMemo)(() => Rme(T, n, r, _), [T,n,r,_- ]), { job: D, running: O, outcome: k, start: A } = DM({- queryKey: Dme,- queryFn: ({ signal: e }) => zme(e),- start: (e) => oF(e),+ ]), { job: D, running: O, outcome: k, start: A } = EM({+ queryKey: Ome,+ queryFn: ({ signal: e }) => Bme(e),+ start: (e) => aF(e),onError: (e) => w(W(e)),onFinish: (e) => {- gF(), m(e.status === "failed" ? e.error || "检查失败" : Zme(e));+ hF(), m(e.status === "failed" ? e.error || "检查失败" : Qme(e));}}), j = (e) => {O || A.isPending || (w(""), A.mutate(e));- }, M = (e, t) => p(rF(s, [e], t)), N = (e, t) => p(rF(s, e, t)), P = OS({- mutationFn: (e) => cF(e),+ }, M = (e, t) => p(nF(s, [e], t)), N = (e, t) => p(nF(s, e, t)), P = DS({+ mutationFn: (e) => sF(e),onSuccess: (e, t) => {- hF([t]), p(rF(s, [t], !1)), m("已取消关注来源");+ mF([t]), p(nF(s, [t], !1)), m("已取消关注来源");},onError: (e) => w(W(e))- }), ee = OS({- mutationFn: (e) => sF(e.id, e.enabled),+ }), ee = DS({+ mutationFn: (e) => oF(e.id, e.enabled),onSuccess: (e, t) => {- mF(t.id, { enabled: t.enabled }), w("");+ pF(t.id, { enabled: t.enabled }), w("");},onError: (e) => w(W(e))}), F = (e) => void Te({@@ -44644,10 +44644,10 @@ function Zge(e) {confirmLabel: "取消关注来源",danger: !0,onConfirm: () => P.mutateAsync(e.id)- }), I = OS({+ }), I = DS({mutationFn: async (e) => {let t = await ge(e.ids, 4, async (t) => {- e.action === "remove" ? await cF(t) : await sF(t, e.action === "enabled");+ e.action === "remove" ? await sF(t) : await oF(t, e.action === "enabled");});return {...e,@@ -44656,9 +44656,9 @@ function Zge(e) {};},onSuccess: (e) => {- if (e.action === "remove") hF(e.done);- else for (let t of e.done) mF(t, { enabled: e.action === "enabled" });- p(rF(s, e.done, !1));+ if (e.action === "remove") mF(e.done);+ else for (let t of e.done) pF(t, { enabled: e.action === "enabled" });+ p(nF(s, e.done, !1));let t = e.results.filter((e) => !e.ok);if (t.length) {w(`${t.length}/${e.ids.length} 个来源未更新:${W(t[0]?.error)}`);@@ -44669,20 +44669,20 @@ function Zge(e) {m(`已${n} ${e.done.length} 个关注来源`);},onError: (e) => w(W(e))- }), te = OS({+ }), te = DS({mutationFn: async (e) => {- let t = ((await qme()).groups || []).flatMap((e) => [+ let t = ((await Jme()).groups || []).flatMap((e) => [e.primary,...e.variants,...e.duplicates]).filter((e) => e.status === "new").map((e) => e.id);return {ids: t,- failed: (await ge(t, 6, (t) => Kme(t, e))).filter((e) => !e.ok)+ failed: (await ge(t, 6, (t) => qme(t, e))).filter((e) => !e.ok)};},onSuccess: (e) => {- if (gF(), e.failed.length) {+ if (hF(), e.failed.length) {w(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);return;}@@ -44707,12 +44707,12 @@ function Zge(e) {readOnly: c};let ie = re.current, ae = (0, B.useMemo)(() => {- let e = sI(), t = (e) => () => Jge[e] || e;+ let e = oI(), t = (e) => () => Yge[e] || e;return [e.display({id: "select",header: t("select"),- cell: (e) => /* @__PURE__ */ (0, V.jsx)(jM, {+ cell: (e) => /* @__PURE__ */ (0, V.jsx)(AM, {slot: null,isSelected: e.row.getIsSelected(),onChange: (t) => e.row.toggleSelected(t),@@ -44724,7 +44724,7 @@ function Zge(e) {header: t("author"),cell: (e) => /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, V.jsx)(eI, {+ children: [/* @__PURE__ */ (0, V.jsx)($F, {group: e.row.original.group,name: e.row.original.author}), /* @__PURE__ */ (0, V.jsx)("span", {@@ -44738,7 +44738,7 @@ function Zge(e) {header: t("source"),cell: (e) => /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 flex-col gap-0.5",- children: [/* @__PURE__ */ (0, V.jsx)(nI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, V.jsx)("small", {+ children: [/* @__PURE__ */ (0, V.jsx)(tI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, V.jsx)("small", {className: "text-caption-1-regular text-text-error-primary",children: e.row.original.source.last_error}) : null]@@ -44749,18 +44749,18 @@ function Zge(e) {header: t("provider"),cell: (e) => /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, V.jsx)($F, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]+ children: [/* @__PURE__ */ (0, V.jsx)(QF, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]})}),e.display({id: "status",header: t("status"),- cell: (e) => /* @__PURE__ */ (0, V.jsx)(tI, { source: e.row.original.source })+ cell: (e) => /* @__PURE__ */ (0, V.jsx)(eI, { source: e.row.original.source })}),e.accessor((e) => e.source.last_checked_at || "", {id: "checked",header: t("checked"),- cell: (e) => _F(e.row.original.source)+ cell: (e) => gF(e.row.original.source)}),e.display({id: "actions",@@ -44768,7 +44768,7 @@ function Zge(e) {cell: (e) => /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex items-center gap-1",children: [- /* @__PURE__ */ (0, V.jsx)(QI, {+ /* @__PURE__ */ (0, V.jsx)(ZI, {"aria-label": `启用 ${e.row.original.source.label}`,isSelected: e.row.original.source.enabled,isDisabled: ie.readOnly,@@ -44798,12 +44798,12 @@ function Zge(e) {})];}, [ie]), oe = (0, B.useMemo)(() => {- let e = Kge[n];+ let e = qge[n];return e ? [{id: e,desc: r === "desc"}] : [];- }, [n, r]), se = (0, B.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ce = a === "table", le = tF(ce ? E.length : T.length, o, i), ue = ZI({+ }, [n, r]), se = (0, B.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ce = a === "table", le = eF(ce ? E.length : T.length, o, i), ue = XI({data: E,columns: ae,getRowId: (e) => String(e.source.id),@@ -44820,7 +44820,7 @@ function Zge(e) {onSortingChange: (e) => {let t = (typeof e == "function" ? e(oe) : e)[0];if (!t) return;- let n = WP[t.id];+ let n = UP[t.id];n && l(n, t.desc ? "desc" : "asc");},onRowSelectionChange: (e) => {@@ -44834,9 +44834,9 @@ function Zge(e) {}, n = typeof e == "function" ? e(t) : e;n.pageSize === o ? n.pageIndex !== t.pageIndex && u(n.pageIndex + 1) : f(n.pageSize);},- getCoreRowModel: JI(),- getPaginationRowModel: YI()- }), L = ue.getRowModel().rows, de = ce ? L.map((e) => e.original.source.id) : T.slice(le.start, le.end).flatMap((e) => e.map((e) => e.id)), fe = nF(s, de), pe = [...s], me = Qme(k), R = $me(k), he = T.length > 0 && y.size >= T.length;+ getCoreRowModel: qI(),+ getPaginationRowModel: JI()+ }), L = ue.getRowModel().rows, de = ce ? L.map((e) => e.original.source.id) : T.slice(le.start, le.end).flatMap((e) => e.map((e) => e.id)), fe = tF(s, de), pe = [...s], me = $me(k), R = ehe(k), he = T.length > 0 && y.size >= T.length;return g.length ? /* @__PURE__ */ (0, V.jsxs)("div", {className: xE({padding: "none",@@ -44873,27 +44873,27 @@ function Zge(e) {variant: "ghost",iconOnly: !0,leadingIcon: gae,- "aria-label": HP[0][1],+ "aria-label": VP[0][1],"aria-pressed": !ce,onClick: () => d("default")}), /* @__PURE__ */ (0, V.jsx)(J, {variant: "ghost",iconOnly: !0,leadingIcon: yae,- "aria-label": HP[1][1],+ "aria-label": VP[1][1],"aria-pressed": ce,onClick: () => d("table")})]}),- /* @__PURE__ */ (0, V.jsx)(wM, {+ /* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": "关注列表排序",selectedKey: n,onSelectionChange: (e) => {if (e === null) return;let t = String(e);- l(t, kP[t]);+ l(t, OP[t]);},- children: OP.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(TM, {+ children: DP.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(wM, {id: e,children: t}, e))@@ -44902,7 +44902,7 @@ function Zge(e) {variant: "secondary",iconOnly: !0,leadingIcon: r === "asc" ? tae : eae,- "aria-label": Pme(n, r),+ "aria-label": Fme(n, r),onClick: () => l(n, r === "asc" ? "desc" : "asc")}),ce ? null : /* @__PURE__ */ (0, V.jsx)(J, {@@ -44919,7 +44919,7 @@ function Zge(e) {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",children: [- O ? /* @__PURE__ */ (0, V.jsx)(bM, {+ O ? /* @__PURE__ */ (0, V.jsx)(yM, {embedded: !0,label: D?.message || (D?.total ? `${D.older ? "抓取历史" : "检查更新"}:已完成 ${D.checked || 0}/${D.total} 个来源` : "正在准备检查任务"),value: D?.checked,@@ -44945,7 +44945,7 @@ function Zge(e) {}) : null]}),- /* @__PURE__ */ (0, V.jsxs)(tS, {+ /* @__PURE__ */ (0, V.jsxs)(eS, {label: "关注来源批量操作",visible: pe.length > 0,count: `已选 ${pe.length} 个来源`,@@ -45005,10 +45005,10 @@ function Zge(e) {})]}),- ce ? /* @__PURE__ */ (0, V.jsx)(PM, {+ ce ? /* @__PURE__ */ (0, V.jsx)(NM, {follow: !0,onRowClick: (e) => M(Number(e), !s.has(Number(e))),- children: /* @__PURE__ */ (0, V.jsxs)(MM, {+ children: /* @__PURE__ */ (0, V.jsxs)(jM, {"aria-label": "关注来源",size: "sm",sortDescriptor: oe[0] ? {@@ -45020,7 +45020,7 @@ function Zge(e) {desc: e.direction === "descending"}]),children: [/* @__PURE__ */ (0, V.jsx)(Nk, { children: ue.getHeaderGroups()[0].headers.map((e) => {- let t = e.column.id in WP, n = XI(e.column.columnDef.header, e.getContext());+ let t = e.column.id in UP, n = YI(e.column.columnDef.header, e.getContext());return /* @__PURE__ */ (0, V.jsx)(Pk, {id: e.id,allowsSorting: t,@@ -45030,7 +45030,7 @@ function Zge(e) {children: [n, /* @__PURE__ */ (0, V.jsx)("span", {"data-sort-indicator": !0,"data-direction": e || void 0,- children: /* @__PURE__ */ (0, V.jsx)(Dde, {})+ children: /* @__PURE__ */ (0, V.jsx)(Ode, {})})]}) : /* @__PURE__ */ (0, V.jsx)(H_, { children: n })}, e.id);@@ -45039,11 +45039,11 @@ function Zge(e) {children: L.map((e) => /* @__PURE__ */ (0, V.jsx)(zk, {id: e.id,"data-follow-selected": e.getIsSelected() || void 0,- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, V.jsx)(Vk, { children: XI(e.column.columnDef.cell, e.getContext()) }, e.id))+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, V.jsx)(Vk, { children: YI(e.column.columnDef.cell, e.getContext()) }, e.id))}, e.id))})]})- }) : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(jM, {+ }) : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(AM, {isSelected: fe.all,isIndeterminate: fe.some,onChange: (e) => N(de, e),@@ -45053,9 +45053,9 @@ function Zge(e) {className: "flex flex-col gap-3",children: T.slice(le.start, le.end).map((e) => {let t = String(e[0].author_key || e[0].id);- return /* @__PURE__ */ (0, V.jsx)(Xge, {+ return /* @__PURE__ */ (0, V.jsx)(Zge, {group: e,- name: ZP(e, _),+ name: XP(e, _),handlers: ie,selected: s,open: !y.has(t),@@ -45075,19 +45075,19 @@ function Zge(e) {className: "text-body-2-regular text-text-secondary",children: `${le.start + 1}–${le.end} / ${le.total} ${ce ? "个来源" : "位创作者"}`}),- /* @__PURE__ */ (0, V.jsx)(wM, {+ /* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(o),onSelectionChange: (e) => {e !== null && ue.setPageSize(Number(e));},- children: UP.map((e) => /* @__PURE__ */ (0, V.jsx)(TM, {+ children: HP.map((e) => /* @__PURE__ */ (0, V.jsx)(wM, {id: String(e),children: `每页 ${e} ${ce ? "条" : "位"}`}, e))}),- /* @__PURE__ */ (0, V.jsx)(tL, {+ /* @__PURE__ */ (0, V.jsx)(eL, {page: le.page,pages: le.pages,onPage: (e) => ue.setPageIndex(e - 1)@@ -45151,7 +45151,7 @@ function Zge(e) {}//#endregion//#region src/react/follow-manage/feed-sources.tsx-var Qge = {+var $ge = {select: "选择",name: "名称",kind: "类型",@@ -45161,18 +45161,18 @@ var Qge = {fetched: "上次拉取",fresh: "上次新增",actions: "操作"-}, $ge = /* @__PURE__ */ new Set(["select", "actions"]), nL = () => z.invalidateQueries({- queryKey: VP,+}, e_e = /* @__PURE__ */ new Set(["select", "actions"]), tL = () => z.invalidateQueries({+ queryKey: BP,exact: !0-}), rL = (e) => e.name || e.url, e_e = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;-function t_e(e) {+}), nL = (e) => e.name || e.url, t_e = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;+function n_e(e) {try {return new URL(e).hostname.replace(/^www\./, "");} catch {return e;}}-function n_e({ source: e }) {+function r_e({ source: e }) {return e.last_error ? /* @__PURE__ */ (0, V.jsx)(vE, {variant: "caption",color: "rose",@@ -45187,7 +45187,7 @@ function n_e({ source: e }) {children: "已暂停"});}-function r_e({ source: e }) {+function i_e({ source: e }) {let t = e.entity_id ? {id: e.entity_id,has_image: !!e.has_image,@@ -45196,31 +45196,31 @@ function r_e({ source: e }) {} : null;return /* @__PURE__ */ (0, V.jsx)("span", {"aria-hidden": !0,- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${$I}`,- dangerouslySetInnerHTML: { __html: w(rL(e), t, null, "performer") }+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${QI}`,+ dangerouslySetInnerHTML: { __html: w(nL(e), t, null, "performer") }});}-var i_e = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";-function a_e(e) {+var a_e = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";+function o_e(e) {let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));return n;}-function iL(e, t) {+function rL(e, t) {let n = e.length === 1 ? e[0] : null;return Te({title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,- body: n ? `将移除订阅源「${rL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",+ body: n ? `将移除订阅源「${nL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",confirmLabel: n ? "移除订阅源" : "移除所选订阅源",danger: !0,onConfirm: t});}-function o_e({ readOnly: e, toast: t }) {- let n = TS({- queryKey: VP,- queryFn: ({ signal: e }) => uF(e)- }), r = DE(), i = n.data, a = (0, B.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, B.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, B.useState)(1), [u, d] = (0, B.useState)(20), f = tF(a.length, u, c);+function s_e({ readOnly: e, toast: t }) {+ let n = wS({+ queryKey: BP,+ queryFn: ({ signal: e }) => lF(e)+ }), r = DE(), i = n.data, a = (0, B.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, B.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, B.useState)(1), [u, d] = (0, B.useState)(20), f = eF(a.length, u, c);(0, B.useEffect)(() => {l((e) => Math.min(e, f.pages));}, [f.pages]), (0, B.useEffect)(() => {@@ -45229,10 +45229,10 @@ function o_e({ readOnly: e, toast: t }) {return n.size === e.size ? e : n;});}, [a]);- let p = OS({+ let p = DS({mutationFn: async (e) => {let t = await ge(e.ids, 4, async (t) => {- e.action === "remove" ? await fF(t) : await dF(t, e.action === "enabled");+ e.action === "remove" ? await dF(t) : await uF(t, e.action === "enabled");});return {...e,@@ -45241,13 +45241,13 @@ function o_e({ readOnly: e, toast: t }) {},onSuccess: (e) => {let n = e.results.filter((e) => !e.ok), i = e.ids.length - n.length;- if (s(/* @__PURE__ */ new Set()), nL(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {+ if (s(/* @__PURE__ */ new Set()), tL(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {let e = n[0];r.setError(`${n.length} 条没有写入:${e.ok ? "" : W(e.error)}`);}},onError: (e) => r.setError(W(e))- }), m = (0, B.useMemo)(() => a_e(a), [a]), h = (0, B.useRef)({+ }), m = (0, B.useMemo)(() => o_e(a), [a]), h = (0, B.useRef)({readOnly: e,shared: m,busy: null,@@ -45259,34 +45259,34 @@ function o_e({ readOnly: e, toast: t }) {readOnly: e,shared: m,busy: r.busy,- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => dF(e.id, t, n), () => void nL()),- fetch: (e) => void r.run(`check-${e.id}`, (t) => pF(t, [e.id]), () => void nL()),- remove: (e) => void iL([e], async () => {- await fF(e.id), t(`已移除订阅源「${rL(e)}」`), nL();+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => uF(e.id, t, n), () => void tL()),+ fetch: (e) => void r.run(`check-${e.id}`, (t) => fF(t, [e.id]), () => void tL()),+ remove: (e) => void rL([e], async () => {+ await dF(e.id), t(`已移除订阅源「${nL(e)}」`), tL();})};let g = (0, B.useMemo)(() => {- let e = sI(), t = (e) => () => Qge[e] || e;+ let e = oI(), t = (e) => () => $ge[e] || e;return [e.display({id: "select",header: t("select"),- cell: (e) => /* @__PURE__ */ (0, V.jsx)(jM, {+ cell: (e) => /* @__PURE__ */ (0, V.jsx)(AM, {slot: null,isSelected: e.row.getIsSelected(),onChange: (t) => e.row.toggleSelected(t),- "aria-label": `选择 ${rL(e.row.original)}`+ "aria-label": `选择 ${nL(e.row.original)}`})}),- e.accessor(rL, {+ e.accessor(nL, {id: "name",header: t("name"),cell: (e) => {- let t = i_e(e.row.original, h.current.shared);+ let t = a_e(e.row.original, h.current.shared);return /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",children: [- /* @__PURE__ */ (0, V.jsx)(r_e, { source: e.row.original }),+ /* @__PURE__ */ (0, V.jsx)(i_e, { source: e.row.original }),e.getValue(),t ? /* @__PURE__ */ (0, V.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -45314,15 +45314,15 @@ function o_e({ readOnly: e, toast: t }) {rel: "noreferrer noopener",title: "打开来源页面",className: "text-text-primary underline-offset-2 hover:underline",- children: t_e(e.getValue())+ children: n_e(e.getValue())})}),e.display({id: "status",header: t("status"),- cell: (e) => /* @__PURE__ */ (0, V.jsx)(n_e, { source: e.row.original })+ cell: (e) => /* @__PURE__ */ (0, V.jsx)(r_e, { source: e.row.original })}),- e.accessor((e) => e_e(e.interval_minutes), {+ e.accessor((e) => t_e(e.interval_minutes), {id: "interval",header: t("interval"),cell: (e) => /* @__PURE__ */ (0, V.jsx)("span", {@@ -45330,7 +45330,7 @@ function o_e({ readOnly: e, toast: t }) {children: e.getValue()})}),- e.accessor((e) => e.last_fetched_at ? $A(e.last_fetched_at) : "还没拉过", {+ e.accessor((e) => e.last_fetched_at ? QA(e.last_fetched_at) : "还没拉过", {id: "fetched",header: t("fetched"),cell: (e) => /* @__PURE__ */ (0, V.jsx)("span", {@@ -45352,8 +45352,8 @@ function o_e({ readOnly: e, toast: t }) {cell: (e) => /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex items-center gap-1",children: [- /* @__PURE__ */ (0, V.jsx)(QI, {- "aria-label": `启用 ${rL(e.row.original)}`,+ /* @__PURE__ */ (0, V.jsx)(ZI, {+ "aria-label": `启用 ${nL(e.row.original)}`,isSelected: e.row.original.enabled,isDisabled: h.current.readOnly,onChange: (t) => h.current.toggle(e.row.original, t)@@ -45363,7 +45363,7 @@ function o_e({ readOnly: e, toast: t }) {size: "xs",iconOnly: !0,leadingIcon: xT,- "aria-label": `拉取 ${rL(e.row.original)}`,+ "aria-label": `拉取 ${nL(e.row.original)}`,disabled: h.current.readOnly,...X(h.current.busy === `check-${e.row.original.id}`),onClick: () => h.current.fetch(e.row.original)@@ -45373,7 +45373,7 @@ function o_e({ readOnly: e, toast: t }) {size: "xs",iconOnly: !0,leadingIcon: mT,- "aria-label": `移除 ${rL(e.row.original)}`,+ "aria-label": `移除 ${nL(e.row.original)}`,disabled: h.current.readOnly,onClick: () => h.current.remove(e.row.original)})@@ -45381,7 +45381,7 @@ function o_e({ readOnly: e, toast: t }) {})})];- }, []), _ = (0, B.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = ZI({+ }, []), _ = (0, B.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = XI({data: a,columns: g,getRowId: (e) => String(e.id),@@ -45397,24 +45397,24 @@ function o_e({ readOnly: e, toast: t }) {let t = typeof e == "function" ? e(_) : e;s(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));},- getCoreRowModel: JI(),- getPaginationRowModel: YI()+ getCoreRowModel: qI(),+ getPaginationRowModel: JI()});if (!i) return n.error ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",title: "打不开订阅源",children: W(n.error)}) : /* @__PURE__ */ (0, V.jsx)(IE, { children: "正在读订阅源。" });- let y = () => void r.run("check", (e) => pF(e), () => void nL()), b = (e) => s((t) => {+ let y = () => void r.run("check", (e) => fF(e), () => void tL()), b = (e) => s((t) => {let n = new Set(t);return n.has(e) ? n.delete(e) : n.add(e), n;}), x = a.filter((e) => o.has(e.id)), S = a.filter((e) => e.last_error);return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-3",- children: [/* @__PURE__ */ (0, V.jsx)(Gge, {+ children: [/* @__PURE__ */ (0, V.jsx)(Kge, {readOnly: e,toast: t,- onAdded: () => void nL()+ onAdded: () => void tL()}), /* @__PURE__ */ (0, V.jsxs)("section", {"aria-label": "JAV 订阅列表",className: xE({@@ -45445,11 +45445,11 @@ function o_e({ readOnly: e, toast: t }) {className: "flex flex-col gap-3",children: [S.map((e) => /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",- title: `${rL(e)} 拉取失败`,+ title: `${nL(e)} 拉取失败`,children: e.last_error}, e.id)), r.error ? /* @__PURE__ */ (0, V.jsx)(LE, { children: r.error }) : null]}) : null,- /* @__PURE__ */ (0, V.jsxs)(tS, {+ /* @__PURE__ */ (0, V.jsxs)(eS, {visible: x.length > 0,label: "订阅源批量操作",count: `已选 ${x.length} 条订阅源`,@@ -45481,7 +45481,7 @@ function o_e({ readOnly: e, toast: t }) {size: "small",disabled: e,...X(p.isPending),- onClick: () => void iL(x, () => p.mutateAsync({+ onClick: () => void rL(x, () => p.mutateAsync({ids: x.map((e) => e.id),action: "remove"})),@@ -45495,22 +45495,22 @@ function o_e({ readOnly: e, toast: t }) {})]}),- a.length ? /* @__PURE__ */ (0, V.jsx)(PM, {+ a.length ? /* @__PURE__ */ (0, V.jsx)(NM, {onRowClick: (e) => b(Number(e)),- children: /* @__PURE__ */ (0, V.jsxs)(MM, {+ children: /* @__PURE__ */ (0, V.jsxs)(jM, {"aria-label": "JAV 订阅源",size: "sm",children: [/* @__PURE__ */ (0, V.jsx)(Nk, { children: v.getHeaderGroups()[0].headers.map((e) => {- let t = XI(e.column.columnDef.header, e.getContext());+ let t = YI(e.column.columnDef.header, e.getContext());return /* @__PURE__ */ (0, V.jsx)(Pk, {id: e.id,isRowHeader: e.column.id === "name",- children: $ge.has(e.column.id) ? /* @__PURE__ */ (0, V.jsx)(H_, { children: t }) : t+ children: e_e.has(e.column.id) ? /* @__PURE__ */ (0, V.jsx)(H_, { children: t }) : t}, e.id);}) }), /* @__PURE__ */ (0, V.jsx)(Ik, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, V.jsx)(zk, {id: e.id,"data-follow-selected": e.getIsSelected() || void 0,- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, V.jsx)(Vk, { children: XI(e.column.columnDef.cell, e.getContext()) }, e.id))+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, V.jsx)(Vk, { children: YI(e.column.columnDef.cell, e.getContext()) }, e.id))}, e.id)) })]})}) : /* @__PURE__ */ (0, V.jsx)(SE, {@@ -45526,19 +45526,19 @@ function o_e({ readOnly: e, toast: t }) {className: "text-body-2-regular text-text-secondary",children: `${f.start + 1}–${f.end} / ${f.total} 个订阅源`}),- /* @__PURE__ */ (0, V.jsx)(wM, {+ /* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(u),onSelectionChange: (e) => {e !== null && (d(Number(e)), l(1));},- children: UP.map((e) => /* @__PURE__ */ (0, V.jsx)(TM, {+ children: HP.map((e) => /* @__PURE__ */ (0, V.jsx)(wM, {id: String(e),children: `每页 ${e} 条`}, e))}),- /* @__PURE__ */ (0, V.jsx)(tL, {+ /* @__PURE__ */ (0, V.jsx)(eL, {label: "JAV 订阅分页",page: f.page,pages: f.pages,@@ -45560,18 +45560,18 @@ function o_e({ readOnly: e, toast: t }) {}//#endregion//#region src/react/activity/resource-search.tsx-function s_e({ className: e }) {+function c_e({ className: e }) {return /* @__PURE__ */ (0, V.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: Ke("") }});}-function c_e(e) {+function l_e(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function l_e({ initialCode: e, reason: t, choose: n }) {- let [r, i] = (0, B.useState)(e), [a, o] = (0, B.useState)(() => c_e(t)), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(null), [p, m] = (0, B.useState)(""), [h, g] = (0, B.useState)(""), _ = DE(), v = () => {+function u_e({ initialCode: e, reason: t, choose: n }) {+ let [r, i] = (0, B.useState)(e), [a, o] = (0, B.useState)(() => l_e(t)), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(null), [p, m] = (0, B.useState)(""), [h, g] = (0, B.useState)(""), _ = DE(), v = () => {if (!r.trim() || _.busy) return;let e = new URLSearchParams({code: r.trim(),@@ -45593,12 +45593,12 @@ function l_e({ initialCode: e, reason: t, choose: n }) {t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: "搜索资源",value: r,maxLength: 80,placeholder: "输入番号,按回车搜索",- leadingIcon: _.busy ? s_e : CT,+ leadingIcon: _.busy ? c_e : CT,isReadOnly: !!_.busy,"aria-busy": !!_.busy,onChange: i,@@ -45608,7 +45608,7 @@ function l_e({ initialCode: e, reason: t, choose: n }) {}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, V.jsx)(RE, { children: "优先寻找" }), /* @__PURE__ */ (0, V.jsxs)(wM, {+ children: [/* @__PURE__ */ (0, V.jsx)(RE, { children: "优先寻找" }), /* @__PURE__ */ (0, V.jsxs)(CM, {"aria-label": "优先寻找",selectedKey: a,isDisabled: !!_.busy,@@ -45616,15 +45616,15 @@ function l_e({ initialCode: e, reason: t, choose: n }) {e !== null && o(String(e));},children: [- /* @__PURE__ */ (0, V.jsx)(TM, {+ /* @__PURE__ */ (0, V.jsx)(wM, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, V.jsx)(TM, {+ /* @__PURE__ */ (0, V.jsx)(wM, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, V.jsx)(TM, {+ /* @__PURE__ */ (0, V.jsx)(wM, {id: "uncensored",children: "无码"})@@ -45633,12 +45633,12 @@ function l_e({ initialCode: e, reason: t, choose: n }) {}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, V.jsx)(UM, {+ children: [/* @__PURE__ */ (0, V.jsx)(HM, {label: "最小体积(GiB)",inputMode: "decimal",value: s,onChange: c- }), /* @__PURE__ */ (0, V.jsx)(UM, {+ }), /* @__PURE__ */ (0, V.jsx)(HM, {label: "最大体积(GiB)",inputMode: "decimal",value: l,@@ -45693,19 +45693,19 @@ function l_e({ initialCode: e, reason: t, choose: n }) {}//#endregion//#region src/react/activity/cloud-download-dialog.tsx-var u_e = {+var d_e = {submitted: "已提交离线下载,进度在活动页",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "远端已有同一任务,已接管"};-function aL({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, V.jsx)(JN, {+function iL({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, V.jsx)(qN, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, V.jsx)(d_e, {+ children: e ? /* @__PURE__ */ (0, V.jsx)(f_e, {prefill: e,close: t,receipt: n,@@ -45713,8 +45713,8 @@ function aL({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function d_e({ prefill: e, close: t, receipt: n, provider: r }) {- let i = TS({+function f_e({ prefill: e, close: t, receipt: n, provider: r }) {+ let i = wS({queryKey: eD,queryFn: ({ signal: e }) => G(`${$E}?limit=50`, e),refetchInterval: (e) => tD(e.state.data)@@ -45729,7 +45729,7 @@ function d_e({ prefill: e, close: t, receipt: n, provider: r }) {children: s}) : null]});- return a?.available && o.length ? /* @__PURE__ */ (0, V.jsx)(f_e, {+ return a?.available && o.length ? /* @__PURE__ */ (0, V.jsx)(p_e, {header: c,snapshot: a,prefill: e,@@ -45768,8 +45768,8 @@ function d_e({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function f_e({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = lS(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, B.useState)(c.key), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(n.code ?? ""), [h, g] = (0, B.useState)(c.target), [_, v] = (0, B.useState)(""), y = DE(), b = (0, B.useRef)(null), x = (e) => {+function p_e({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = cS(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, B.useState)(c.key), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(n.code ?? ""), [h, g] = (0, B.useState)(c.target), [_, v] = (0, B.useState)(""), y = DE(), b = (0, B.useRef)(null), x = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, V.jsxs)("form", {@@ -45787,7 +45787,7 @@ function f_e({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide};v(""), y.run("submit", (e) => K($E, t, "POST", e), (e) => {o.invalidateQueries({ queryKey: eD });- let t = u_e[e.outcome];+ let t = d_e[e.outcome];if (e.ok && t) {i(t), r();return;@@ -45802,14 +45802,14 @@ function f_e({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",children: [- /* @__PURE__ */ (0, V.jsx)(l_e, {+ /* @__PURE__ */ (0, V.jsx)(u_e, {initialCode: n.code ?? "",reason: n.searchReason,choose: (e, t) => {f(e), m(t), b.current?.focus();}}),- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {ref: b,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -45822,13 +45822,13 @@ function f_e({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provideclassName: "flex flex-col gap-1",children: [/* @__PURE__ */ (0, V.jsx)(RE, { children: "下载到" }),- /* @__PURE__ */ (0, V.jsx)(wM, {+ /* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": "下载到",selectedKey: l,onSelectionChange: (e) => {e !== null && x(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, V.jsx)(TM, {+ children: s.map((e) => /* @__PURE__ */ (0, V.jsx)(wM, {id: e.key,children: e.label}, e.key))@@ -45836,7 +45836,7 @@ function f_e({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providel === "115" ? /* @__PURE__ */ (0, V.jsx)(IE, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -45844,7 +45844,7 @@ function f_e({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, V.jsx)(UM, {+ n.code ? null : /* @__PURE__ */ (0, V.jsx)(HM, {label: "番号",placeholder: "可不填",autoComplete: "off",@@ -45873,29 +45873,29 @@ function f_e({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}//#endregion//#region src/react/wants/resource-cache.ts-var oL = "peach.want-resources.v1", sL = 864e5;-function cL(e, t = Date.now()) {+var aL = "peach.want-resources.v1", oL = 864e5;+function sL(e, t = Date.now()) {let n = Date.parse(e || ""), r = new Date(t), i = new Date(Date.UTC(r.getFullYear(), r.getMonth(), r.getDate())), a = i.getUTCDate();i.setUTCHours(0, 0, 0, 0), i.setUTCDate(1), i.setUTCMonth(i.getUTCMonth() - 3);let o = new Date(Date.UTC(i.getUTCFullYear(), i.getUTCMonth() + 1, 0)).getUTCDate();- return i.setUTCDate(Math.min(a, o)), Number.isFinite(n) && n < i.getTime() ? 365 * sL : 7 * sL;+ return i.setUTCDate(Math.min(a, o)), Number.isFinite(n) && n < i.getTime() ? 365 * oL : 7 * oL;}-function lL() {+function cL() {try {- let e = JSON.parse(localStorage.getItem(oL) || "[]");+ let e = JSON.parse(localStorage.getItem(aL) || "[]");return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items)) : [];} catch {return [];}}-function p_e(e, t) {- let n = lL().find((t) => t.code === e);- return n && Date.now() - n.saved < cL(t) ? n : void 0;-}function m_e(e, t) {+ let n = cL().find((t) => t.code === e);+ return n && Date.now() - n.saved < sL(t) ? n : void 0;+}+function h_e(e, t) {if (t.state === "ready") try {- let n = lL().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem(oL, JSON.stringify([{+ let n = cL().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem(aL, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -45904,7 +45904,7 @@ function m_e(e, t) {}//#endregion//#region src/react/wants/want-magnets.tsx-function uL({ icon: e, children: t }) {+function lL({ icon: e, children: t }) {return /* @__PURE__ */ (0, V.jsxs)("span", {className: "inline-flex items-center gap-1",children: [/* @__PURE__ */ (0, V.jsx)(e, {@@ -45913,8 +45913,8 @@ function uL({ icon: e, children: t }) {}), t]});}-function h_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a }) {- let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(typeof IntersectionObserver > "u"), [l, u] = (0, B.useState)([]), d = DE(), f = lS(), p = (0, B.useRef)(!1), m = (0, B.useMemo)(() => p_e(e.code || "", e.release_date), [e.code, e.release_date]);+function g_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a }) {+ let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(typeof IntersectionObserver > "u"), [l, u] = (0, B.useState)([]), d = DE(), f = cS(), p = (0, B.useRef)(!1), m = (0, B.useMemo)(() => m_e(e.code || "", e.release_date), [e.code, e.release_date]);(0, B.useEffect)(() => {if (!o.current || s) return;let e = new IntersectionObserver((t) => {@@ -45922,7 +45922,7 @@ function h_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}, { rootMargin: "100px" });return e.observe(o.current), () => e.disconnect();}, [s]);- let h = TS({+ let h = wS({queryKey: ["want-magnets",e.id,@@ -45930,15 +45930,15 @@ function h_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour],queryFn: async ({ signal: t }) => {let n = p.current, r = await G(`/api/wants/magnets?id=${e.id}${n ? "&refresh=1" : ""}`, t);- return p.current = n && r.state === "busy", m_e(e.code || "", r), r;+ return p.current = n && r.state === "busy", h_e(e.code || "", r), r;},initialData: m?.result,initialDataUpdatedAt: m?.saved,enabled: s,retry: !1,- staleTime: (t) => Date.now() - t.state.dataUpdatedAt < (t.state.data?.state === "error" ? 6e4 : cL(e.release_date)) ? Infinity : 0,+ staleTime: (t) => Date.now() - t.state.dataUpdatedAt < (t.state.data?.state === "error" ? 6e4 : sL(e.release_date)) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => Date.now() - t.state.dataUpdatedAt >= (t.state.data?.state === "error" ? 6e4 : cL(e.release_date)) && "always",+ refetchOnMount: (t) => Date.now() - t.state.dataUpdatedAt >= (t.state.data?.state === "error" ? 6e4 : sL(e.release_date)) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});@@ -46036,23 +46036,23 @@ function h_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}), /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap gap-x-3 gap-y-1 break-words text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, V.jsx)(uL, {+ /* @__PURE__ */ (0, V.jsx)(lL, {icon: yT,children: e.source}),- /* @__PURE__ */ (0, V.jsx)(uL, {+ /* @__PURE__ */ (0, V.jsx)(lL, {icon: _T,children: e.size || "大小未知"}),- e.files ? /* @__PURE__ */ (0, V.jsx)(uL, {+ e.files ? /* @__PURE__ */ (0, V.jsx)(lL, {icon: cae,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, V.jsx)(uL, {+ /* @__PURE__ */ (0, V.jsx)(lL, {icon: nae,children: e.date ? `${e.source === "JavDB 评论" ? "评论" : "收录"} ${e.date}` : "日期未知"}),- e.attributes.map((e) => /* @__PURE__ */ (0, V.jsx)(uL, {+ e.attributes.map((e) => /* @__PURE__ */ (0, V.jsx)(lL, {icon: bT,children: e}, e))@@ -46108,41 +46108,41 @@ function h_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}//#endregion//#region src/react/wants/wants.ts-var dL = "/api/wants", fL = ["wants"], g_e = (e) => [+var uL = "/api/wants", dL = ["wants"], __e = (e) => ["wants","follow",e-], __e = [+], v_e = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], v_e = (e) => G(dL, e), y_e = (e, t) => G(`${dL}?follow=${encodeURIComponent(e)}`, t), pL = (e, t) => K(dL, {+], y_e = (e) => G(uL, e), b_e = (e, t) => G(`${uL}?follow=${encodeURIComponent(e)}`, t), fL = (e, t) => K(uL, {action: "add",...e-}, "POST", t), mL = (e, t) => K(dL, {+}, "POST", t), pL = (e, t) => K(uL, {action: "remove",ids: e-}, "POST", t), b_e = (e, t) => K(dL, {+}, "POST", t), x_e = (e, t) => K(uL, {action: "reset",ids: e-}, "POST", t), hL = () => z.invalidateQueries({ queryKey: fL }), gL = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function x_e(e) {+}, "POST", t), mL = () => z.invalidateQueries({ queryKey: dL }), hL = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function S_e(e) {return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";}//#endregion//#region src/react/wants/want-list.tsx-var S_e = {+var C_e = {code: "手动添加",feed: "Feed 新作",follow: "关注"-}, _L = (e) => [+}, gL = (e) => [e.release_date,e.studio,e.performers,- S_e[e.origin]+ C_e[e.origin]].filter(Boolean).join(" · ");-function C_e({ want: e }) {+function w_e({ want: e }) {return /* @__PURE__ */ (0, V.jsxs)("span", {className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",children: [/* @__PURE__ */ (0, V.jsx)("span", {@@ -46158,7 +46158,7 @@ function C_e({ want: e }) {}) : null]});}-function w_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {+function T_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {let [l, u] = (0, B.useState)(""), d = e.link || l || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");return /* @__PURE__ */ (0, V.jsxs)("li", {"data-want-id": e.id,@@ -46168,27 +46168,27 @@ function w_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo}),children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 items-start gap-4 max-sm:gap-3",- children: [/* @__PURE__ */ (0, V.jsx)(C_e, { want: e }), /* @__PURE__ */ (0, V.jsxs)("div", {+ children: [/* @__PURE__ */ (0, V.jsx)(w_e, { want: e }), /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-1",children: [/* @__PURE__ */ (0, V.jsxs)("p", {className: "flex min-w-0 flex-wrap items-baseline gap-x-2",children: [/* @__PURE__ */ (0, V.jsx)("b", {className: "text-headline-medium text-text-primary",- children: gL(e)+ children: hL(e)}), e.code && e.title ? /* @__PURE__ */ (0, V.jsx)("span", {className: "min-w-0 truncate text-body-2-regular text-text-secondary",children: e.title}) : null]}),- _L(e) ? /* @__PURE__ */ (0, V.jsx)("p", {+ gL(e) ? /* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: _L(e)+ children: gL(e)}) : null,!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, V.jsx)("p", {"data-want-note": "",className: "text-caption-1-regular text-text-secondary",- children: x_e(e)+ children: S_e(e)}) : null,e.scrape_error ? /* @__PURE__ */ (0, V.jsxs)("p", {className: "text-caption-1-regular text-text-secondary",@@ -46235,7 +46235,7 @@ function w_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo})]})]- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, V.jsx)(h_e, {+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, V.jsx)(g_e, {want: e,readOnly: t,downloads: o,@@ -46245,27 +46245,27 @@ function w_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo}) : null]});}-function T_e({ readOnly: e, toast: t }) {- let [n, r] = (0, B.useState)(""), [i, a] = (0, B.useState)(null), [o, s] = (0, B.useState)(""), c = DE(), l = TS({- queryKey: fL,- queryFn: ({ signal: e }) => v_e(e),+function E_e({ readOnly: e, toast: t }) {+ let [n, r] = (0, B.useState)(""), [i, a] = (0, B.useState)(null), [o, s] = (0, B.useState)(""), c = DE(), l = wS({+ queryKey: dL,+ queryFn: ({ signal: e }) => y_e(e),refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1}), u = () => {let i = n.trim();- !i || e || c.run("add", (e) => pL({ code: i }, e), (e) => {- t(e.created ? `已加入想要:${gL(e.want)}` : `${gL(e.want)} 已经在想要里`), r(""), hL();+ !i || e || c.run("add", (e) => fL({ code: i }, e), (e) => {+ t(e.created ? `已加入想要:${hL(e.want)}` : `${hL(e.want)} 已经在想要里`), r(""), mL();});}, d = (e) => {e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), u());}, f = (e) => {- c.run(`remove:${e.id}`, (t) => mL([e.id], t), () => {- t(`已移除:${gL(e)}`), hL();+ c.run(`remove:${e.id}`, (t) => pL([e.id], t), () => {+ t(`已移除:${hL(e)}`), mL();});}, p = (e) => {- c.run(`reset:${e.id}`, (t) => b_e([e.id], t), () => {- t(`${gL(e)} 回到待找`), hL();+ c.run(`reset:${e.id}`, (t) => x_e([e.id], t), () => {+ t(`${hL(e)} 回到待找`), mL();});- }, m = l.data, h = m?.items || [], g = TS({+ }, m = l.data, h = m?.items || [], g = wS({queryKey: eD,queryFn: ({ signal: e }) => G(`${$E}?limit=100`, e),enabled: h.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))@@ -46287,7 +46287,7 @@ function T_e({ readOnly: e, toast: t }) {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, V.jsx)("div", {className: "min-w-64 grow max-sm:min-w-0",- children: /* @__PURE__ */ (0, V.jsx)(UM, {+ children: /* @__PURE__ */ (0, V.jsx)(HM, {"aria-label": "番号",placeholder: "输入番号,例如 SSIS-950",value: n,@@ -46329,11 +46329,11 @@ function T_e({ readOnly: e, toast: t }) {}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, V.jsx)(wM, {+ children: [/* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": "下载到",selectedKey: v,onSelectionChange: (e) => s(String(e)),- children: _.map((e) => /* @__PURE__ */ (0, V.jsx)(TM, {+ children: _.map((e) => /* @__PURE__ */ (0, V.jsx)(wM, {id: e.key,children: e.label}, e.key))@@ -46366,7 +46366,7 @@ function T_e({ readOnly: e, toast: t }) {title: "还没有想要的作品",children: "在上面输入番号,或在 Feed 新作卡、关注详情上点「想要」。"}) : null,- __e.map(([n, r]) => {+ v_e.map(([n, r]) => {let i = h.filter((e) => e.phase === n);return i.length ? /* @__PURE__ */ (0, V.jsxs)("section", {"aria-label": r,@@ -46380,7 +46380,7 @@ function T_e({ readOnly: e, toast: t }) {})]}), /* @__PURE__ */ (0, V.jsx)("ul", {className: "flex flex-col gap-4",- children: i.map((n) => /* @__PURE__ */ (0, V.jsx)(w_e, {+ children: i.map((n) => /* @__PURE__ */ (0, V.jsx)(T_e, {want: n,readOnly: e,busy: c.busy,@@ -46398,7 +46398,7 @@ function T_e({ readOnly: e, toast: t }) {})]}, n) : null;}),- /* @__PURE__ */ (0, V.jsx)(aL, {+ /* @__PURE__ */ (0, V.jsx)(iL, {prefill: i,close: () => a(null),receipt: t,@@ -46409,14 +46409,14 @@ function T_e({ readOnly: e, toast: t }) {}//#endregion//#region src/react/follow-manage/follow-manage-page.tsx-var vL = [+var _L = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"],["wants", "JAV 入库"],["source", "来源和凭证"]-], yL = (e) => vL.some(([t]) => t === e);-function bL({ term: e, figure: t, unit: n }) {+], vL = (e) => _L.some(([t]) => t === e);+function yL({ term: e, figure: t, unit: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: xE({padding: "none",@@ -46434,23 +46434,23 @@ function bL({ term: e, figure: t, unit: n }) {})]});}-function E_e(e) {- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, B.useState)(yL(e.tab) ? e.tab : "list"), [u, d] = (0, B.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, B.useState)(() => AP(e.sort, e.dir).sort), [m, h] = (0, B.useState)(() => AP(e.sort, e.dir).dir), [g, _] = (0, B.useState)(jme(e.layout) ? e.layout : "default"), [v, y] = (0, B.useState)(Mme(e.pageSize)), [b, x] = (0, B.useState)(/* @__PURE__ */ new Set()), S = TS({+function D_e(e) {+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, B.useState)(vL(e.tab) ? e.tab : "list"), [u, d] = (0, B.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, B.useState)(() => kP(e.sort, e.dir).sort), [m, h] = (0, B.useState)(() => kP(e.sort, e.dir).dir), [g, _] = (0, B.useState)(Mme(e.layout) ? e.layout : "default"), [v, y] = (0, B.useState)(Nme(e.pageSize)), [b, x] = (0, B.useState)(/* @__PURE__ */ new Set()), S = wS({+ queryKey: RP,+ queryFn: ({ signal: e }) => rF(e)+ }), C = wS({queryKey: zP,queryFn: ({ signal: e }) => iF(e)- }), C = TS({+ }), w = wS({queryKey: BP,- queryFn: ({ signal: e }) => aF(e)- }), w = TS({- queryKey: VP,- queryFn: ({ signal: e }) => uF(e)+ queryFn: ({ signal: e }) => lF(e)}), T = S.data || { sources: [] }, E = C.data || {root: "",providers: []}, D = T.sources;(0, B.useEffect)(() => {x((e) => {- let t = Rme(e, D);+ let t = zme(e, D);return t.size === e.size ? e : t;});}, [D]);@@ -46460,9 +46460,9 @@ function E_e(e) {tab: e.tab ?? c,page: e.page ?? u,sort: n === "checked" ? "" : n,- dir: r === kP[n] ? "" : r+ dir: r === OP[n] ? "" : r});- }, k = eF(D), A = D.filter(KP).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !yF(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;+ }, k = $P(D), A = D.filter(GP).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !vF(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;return /* @__PURE__ */ (0, V.jsxs)(wE, { children: [a ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "warning",@@ -46478,35 +46478,35 @@ function E_e(e) {children: o}) : null,/* @__PURE__ */ (0, V.jsxs)("div", {- className: ade,+ className: ode,"aria-label": "关注概览",children: [- /* @__PURE__ */ (0, V.jsx)(bL, {+ /* @__PURE__ */ (0, V.jsx)(yL, {term: "关注创作者",figure: k.length,unit: "位"}),- /* @__PURE__ */ (0, V.jsx)(bL, {+ /* @__PURE__ */ (0, V.jsx)(yL, {term: "启用来源",figure: j,unit: `/ ${D.length}`}),- /* @__PURE__ */ (0, V.jsx)(bL, {+ /* @__PURE__ */ (0, V.jsx)(yL, {term: "检查失败",figure: A,unit: "个来源"}),- /* @__PURE__ */ (0, V.jsx)(bL, {+ /* @__PURE__ */ (0, V.jsx)(yL, {term: "未看更新",figure: T.counts?.new || 0,unit: "条"}),- /* @__PURE__ */ (0, V.jsx)(bL, {+ /* @__PURE__ */ (0, V.jsx)(yL, {term: "JAV 订阅",figure: N,unit: "位"}),- /* @__PURE__ */ (0, V.jsx)(bL, {+ /* @__PURE__ */ (0, V.jsx)(yL, {term: "未看新作",figure: w.data?.unread || 0,unit: "条"@@ -46517,7 +46517,7 @@ function E_e(e) {selectedKey: c,onSelectionChange: (e) => {let t = String(e);- yL(t) && (l(t), O({ tab: t }));+ vL(t) && (l(t), O({ tab: t }));},className: "flex flex-col gap-6",children: [@@ -46526,7 +46526,7 @@ function E_e(e) {"data-section-nav": !0,"data-section-items": !0,className: "flex max-w-full flex-nowrap overflow-x-auto",- children: vL.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(qk, {+ children: _L.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(qk, {id: e,className: "cursor-pointer whitespace-nowrap",children: e === "source" && M ? `${t}(${M})` : t@@ -46535,7 +46535,7 @@ function E_e(e) {/* @__PURE__ */ (0, V.jsx)(Jk, {id: "list",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, V.jsx)(Zge, {+ children: /* @__PURE__ */ (0, V.jsx)(Qge, {data: T,sort: f,dir: m,@@ -46568,7 +46568,7 @@ function E_e(e) {/* @__PURE__ */ (0, V.jsxs)(Jk, {id: "add",className: "flex flex-col gap-8",- children: [/* @__PURE__ */ (0, V.jsx)(qhe, {+ children: [/* @__PURE__ */ (0, V.jsx)(Jhe, {data: T,credentials: E,readOnly: a,@@ -46576,7 +46576,7 @@ function E_e(e) {openCredentials: () => {l("source"), O({ tab: "source" });}- }), /* @__PURE__ */ (0, V.jsx)(Xhe, {+ }), /* @__PURE__ */ (0, V.jsx)(Zhe, {groups: T.author_aliases || [],readOnly: a,toast: r,@@ -46587,7 +46587,7 @@ function E_e(e) {/* @__PURE__ */ (0, V.jsx)(Jk, {id: "feeds",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, V.jsx)(o_e, {+ children: /* @__PURE__ */ (0, V.jsx)(s_e, {readOnly: a,toast: r})@@ -46595,7 +46595,7 @@ function E_e(e) {/* @__PURE__ */ (0, V.jsx)(Jk, {id: "wants",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, V.jsx)(T_e, {+ children: /* @__PURE__ */ (0, V.jsx)(E_e, {readOnly: a,toast: r})@@ -46603,7 +46603,7 @@ function E_e(e) {/* @__PURE__ */ (0, V.jsx)(Jk, {id: "source",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, V.jsx)(age, {+ children: /* @__PURE__ */ (0, V.jsx)(oge, {data: E,readOnly: a,toast: r@@ -46615,15 +46615,15 @@ function E_e(e) {}//#endregion//#region src/react/components/board-tabs.tsx-function xL({ value: e }) {+function bL({ value: e }) {return /* @__PURE__ */ (0, V.jsx)("span", {"data-tab-count": "",className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",children: e.toLocaleString()});}-var D_e = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";-function SL({ tabs: e, value: t, label: n, onChange: r }) {+var O_e = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";+function xL({ tabs: e, value: t, label: n, onChange: r }) {let i = (0, B.useRef)(null), a = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {let e = i.current;@@ -46651,14 +46651,14 @@ function SL({ tabs: e, value: t, label: n, onChange: r }) {},className: "relative mb-5.5 flex flex-none gap-1 overflow-x-auto border-b border-border-button-default max-board-narrow:gap-0",children: [e.map((e) => {- let n = e.symbol ? iA(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? rA(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",role: "tab","data-tab": e.value,"aria-selected": i,tabIndex: i ? 0 : -1,- className: D_e,+ className: O_e,onClick: () => {i || r(e.value);},@@ -46674,23 +46674,23 @@ function SL({ tabs: e, value: t, label: n, onChange: r }) {}//#endregion//#region src/react/index/index-tags.tsx-var CL = () => /* @__PURE__ */ (0, V.jsx)("span", {+var SL = () => /* @__PURE__ */ (0, V.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"});-function O_e({ tag: e, actions: t }) {+function k_e({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, V.jsxs)("button", {type: "button","data-alpha-tag": "","data-k": e.k,- "data-tag-cat": wN(t.online, e.cat),+ "data-tag-cat": CN(t.online, e.cat),"aria-pressed": n,onClick: () => t.press(e.k),className: "flex h-9 min-w-0 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [- /* @__PURE__ */ (0, V.jsx)(CL, {}),+ /* @__PURE__ */ (0, V.jsx)(SL, {}),/* @__PURE__ */ (0, V.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -46702,7 +46702,7 @@ function O_e({ tag: e, actions: t }) {]});}-function k_e({ groups: e, actions: t }) {+function A_e({ groups: e, actions: t }) {return /* @__PURE__ */ (0, V.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",@@ -46715,10 +46715,10 @@ function k_e({ groups: e, actions: t }) {}),children: [/* @__PURE__ */ (0, V.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, V.jsx)(xL, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, V.jsx)(bL, { value: n.length })]}), /* @__PURE__ */ (0, V.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, V.jsx)(O_e, {+ children: n.map((e) => /* @__PURE__ */ (0, V.jsx)(k_e, {tag: e,actions: t}, e.k))@@ -46726,8 +46726,8 @@ function k_e({ groups: e, actions: t }) {}, e))});}-var A_e = "\xA0";-function j_e({ tags: e, actions: t }) {+var j_e = "\xA0";+function M_e({ tags: e, actions: t }) {return /* @__PURE__ */ (0, V.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",@@ -46735,11 +46735,11 @@ function j_e({ tags: e, actions: t }) {type: "button","data-tag-chip": "","data-k": e.k,- "data-tag-cat": wN(t.online, e.cat),+ "data-tag-cat": CN(t.online, e.cat),"aria-pressed": t.picked.has(e.k),onClick: () => t.press(e.k),className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: [e.label + A_e, /* @__PURE__ */ (0, V.jsx)("span", {+ children: [e.label + j_e, /* @__PURE__ */ (0, V.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",children: e.n.toLocaleString()@@ -46747,7 +46747,7 @@ function j_e({ tags: e, actions: t }) {}, e.k))});}-var M_e = [[+var N_e = [["cloud","标签云","tags"@@ -46756,16 +46756,16 @@ var M_e = [["字母表","text-aa"]];-function N_e({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {+function P_e({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {return /* @__PURE__ */ (0, V.jsx)(lD, {label: "标签筛选",topLabel: "标签类型",top: e.map(([e, r]) => /* @__PURE__ */ (0, V.jsxs)(uD, {"data-tag-pill": "",- "data-tag-cat": e === "all" ? "all" : wN(n, e),+ "data-tag-cat": e === "all" ? "all" : CN(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, V.jsx)(CL, {}), r]+ children: [/* @__PURE__ */ (0, V.jsx)(SL, {}), r]}, e)),bottom: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("span", {@@ -46789,14 +46789,14 @@ function N_e({ categories: e, category: t, online: n, readout: r, letters: i, viorientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${tA}`,- children: M_e.map(([e, t, n]) => {- let r = iA(n);+ className: `ml-auto ${eA}`,+ children: N_e.map(([e, t, n]) => {+ let r = rA(n);return /* @__PURE__ */ (0, V.jsx)(_k, {value: e,"aria-label": t,"data-glass-segment": "",- className: nA,+ className: tA,children: /* @__PURE__ */ (0, V.jsx)("span", {title: t,className: "contents",@@ -46808,13 +46808,13 @@ function N_e({ categories: e, category: t, online: n, readout: r, letters: i, vi] })});}-function P_e({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {- return /* @__PURE__ */ (0, V.jsxs)(tS, {+function F_e({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+ return /* @__PURE__ */ (0, V.jsxs)(eS, {visible: e > 0,label: "所选标签操作",count: `已选 ${e} 个标签`,children: [- /* @__PURE__ */ (0, V.jsx)(jM, {+ /* @__PURE__ */ (0, V.jsx)(AM, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, V.jsxs)("span", {@@ -46846,7 +46846,7 @@ function P_e({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {}//#endregion//#region src/react/index/index-page.tsx-var F_e = [{+var I_e = [{value: "studios",label: "厂牌",symbol: "clapperboard"@@ -46854,7 +46854,7 @@ var F_e = [{value: "agencies",label: "事务所",symbol: "briefcase"-}], I_e = [{+}], L_e = [{value: "local",label: "本地",symbol: "hard-drive"@@ -46862,7 +46862,7 @@ var F_e = [{value: "online",label: "在线",symbol: "rss"-}], L_e = [+}], R_e = [{value: "performers",label: "艺人",@@ -46878,7 +46878,7 @@ var F_e = [{label: "在线",symbol: "rss"}-], R_e = {+], z_e = {people: [["big","大图 · 竖幅头像",@@ -46898,20 +46898,20 @@ var F_e = [{"layout-grid"]]};-function z_e({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, V.jsx)(Qk, {- "aria-label": `${fN[e]}索引版式`,+function B_e({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, V.jsx)(Zk, {+ "aria-label": `${dN[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none max-board-narrow:order-3 ${$k}`,- children: R_e[vN(e) ? "company" : "people"].map(([e, t, n]) => {- let r = iA(n);+ className: `flex-none max-board-narrow:order-3 ${Qk}`,+ children: z_e[_N(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = rA(n);return /* @__PURE__ */ (0, V.jsx)(_k, {value: e,"aria-label": t,- className: Wce,+ className: Gce,children: /* @__PURE__ */ (0, V.jsx)("span", {title: t,className: "contents",@@ -46921,8 +46921,8 @@ function z_e({ kind: e, layout: t, onChange: n }) {})});}-var B_e = iA("search");-function V_e({ label: e, value: t, onQuery: n }) {+var V_e = rA("search");+function H_e({ label: e, value: t, onQuery: n }) {let [r, i] = (0, B.useState)(t), a = (0, B.useRef)(!1), o = (0, B.useRef)(void 0);(0, B.useEffect)(() => () => clearTimeout(o.current), []);let s = (e) => {@@ -46937,15 +46937,15 @@ function V_e({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, V.jsx)(BM, {+ children: /* @__PURE__ */ (0, V.jsx)(zM, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, V.jsx)(HM, {+ children: /* @__PURE__ */ (0, V.jsx)(VM, {type: "search",- leadingIcon: B_e,+ leadingIcon: V_e,spellCheck: !1,autoComplete: "off",onKeyDown: (e) => {@@ -46955,14 +46955,14 @@ function V_e({ label: e, value: t, onQuery: n }) {})});}-function H_e(e) {- let [t, n] = (0, B.useState)(() => yN({+function U_e(e) {+ let [t, n] = (0, B.useState)(() => vN({kind: e.kind,q: e.q,scope: e.scope,view: e.view,category: e.category- })), [r, i] = (0, B.useState)(e.layout), [a, o] = (0, B.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, B.useState)("any"), l = (0, B.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = fN[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";+ })), [r, i] = (0, B.useState)(e.layout), [a, o] = (0, B.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, B.useState)("any"), l = (0, B.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = dN[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";(0, B.useEffect)(() => {(t.kind !== e.kind || t.scope !== e.scope || t.category !== e.category) && e.route(t, { replace: !0 });}, []), (0, B.useEffect)(() => {@@ -46974,7 +46974,7 @@ function H_e(e) {...r};y(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });- }, x = CN(bN(t)), S = kS({+ }, x = SN(yN(t)), S = OS({queryKey: x.queryKey,queryFn: ({ pageParam: e, signal: t }) => x.queryFn({pageParam: e,@@ -46982,8 +46982,8 @@ function H_e(e) {}),initialPageParam: 0,getNextPageParam: x.getNextPageParam,- placeholderData: v ? AS.keepPreviousData : void 0- }), C = zfe(S.data), w = !!S.hasNextPage && !S.isPlaceholderData, T = Bfe(C.length, !!S.hasNextPage), E = `${u}:${f}:${d}`, D = (0, B.useRef)(null), O = S.data?.pages[0]?.categories;+ placeholderData: v ? kS.keepPreviousData : void 0+ }), C = Bfe(S.data), w = !!S.hasNextPage && !S.isPlaceholderData, T = Vfe(C.length, !!S.hasNextPage), E = `${u}:${f}:${d}`, D = (0, B.useRef)(null), O = S.data?.pages[0]?.categories;O && !S.isPlaceholderData && (D.current = {key: E,counts: O@@ -46995,14 +46995,14 @@ function H_e(e) {let j = (0, B.useMemo)(() => u === "tags" ? C.map((t) => ({...t,label: e.tagLabel(t.k)- })) : [], [C, u]), M = (0, B.useMemo)(() => u === "tags" && p === "alphabet" ? Ufe(j, (t) => e.tagLabel(t)) : [], [+ })) : [], [C, u]), M = (0, B.useMemo)(() => u === "tags" && p === "alphabet" ? Wfe(j, (t) => e.tagLabel(t)) : [], [j,p,u]), N = (t) => {i(t), e.savePreference({ layout: t });- }, P = u === "tags" ? /* @__PURE__ */ (0, V.jsx)(SL, {- tabs: I_e,+ }, P = u === "tags" ? /* @__PURE__ */ (0, V.jsx)(xL, {+ tabs: L_e,value: f,label: "词表",onChange: (e) => {@@ -47012,8 +47012,8 @@ function H_e(e) {view: e === "online" ? "alphabet" : p});}- }) : vN(u) ? /* @__PURE__ */ (0, V.jsx)(SL, {- tabs: F_e,+ }) : _N(u) ? /* @__PURE__ */ (0, V.jsx)(xL, {+ tabs: I_e,value: u,label: "公司类型",onChange: (e) => b({ kind: e })@@ -47030,7 +47030,7 @@ function H_e(e) {let n = new Set(e);return n.delete(t) || n.add(t), n;});- }, F = (g ? mN : pN).filter(A);+ }, F = (g ? pN : fN).filter(A);return /* @__PURE__ */ (0, V.jsxs)("div", {ref: l,"data-index-page": u,@@ -47045,12 +47045,12 @@ function H_e(e) {className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",children: h}),- _N(u) ? /* @__PURE__ */ (0, V.jsx)("span", {+ gN(u) ? /* @__PURE__ */ (0, V.jsx)("span", {"data-index-count": "",className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",children: S.isPending ? "" : T}) : null,- _N(u) ? /* @__PURE__ */ (0, V.jsx)(z_e, {+ gN(u) ? /* @__PURE__ */ (0, V.jsx)(B_e, {kind: u,layout: r,onChange: N@@ -47059,7 +47059,7 @@ function H_e(e) {"aria-hidden": !0,className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"}),- /* @__PURE__ */ (0, V.jsx)(V_e, {+ /* @__PURE__ */ (0, V.jsx)(H_e, {label: `过滤${h}`,value: d,onQuery: (e) => {@@ -47068,8 +47068,8 @@ function H_e(e) {})]}),- u === "performers" || u === "creators" ? /* @__PURE__ */ (0, V.jsx)(SL, {- tabs: L_e,+ u === "performers" || u === "creators" ? /* @__PURE__ */ (0, V.jsx)(xL, {+ tabs: R_e,value: _ ? "online" : u,label: "人物名册",onChange: (t) => {@@ -47084,7 +47084,7 @@ function H_e(e) {u === "performers" && f === "local" ? /* @__PURE__ */ (0, V.jsx)("div", {"aria-label": "身份分类",className: "mb-4 flex flex-wrap gap-2",- children: hN.filter((e) => e[0] === m || A(e)).map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(J, {+ children: mN.filter((e) => e[0] === m || A(e)).map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(J, {variant: m === e ? "primary" : "secondary",size: "small","aria-pressed": m === e,@@ -47092,7 +47092,7 @@ function H_e(e) {children: t}, e))}) : null,- u === "tags" ? /* @__PURE__ */ (0, V.jsx)(N_e, {+ u === "tags" ? /* @__PURE__ */ (0, V.jsx)(P_e, {categories: F,category: m,online: g,@@ -47118,7 +47118,7 @@ function H_e(e) {}) }});if (S.isError) return /* @__PURE__ */ (0, V.jsx)(SE, {- icon: iA("search"),+ icon: rA("search"),title: `没能读取${h}`,actions: /* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",@@ -47127,18 +47127,18 @@ function H_e(e) {}),children: ye(S.error)});- if (!C.length) return /* @__PURE__ */ (0, V.jsx)(W_e, {+ if (!C.length) return /* @__PURE__ */ (0, V.jsx)(G_e, {kind: u,filtered: !!d || m !== "all",online: g || _,configurable: e.configurable});- if (_) return /* @__PURE__ */ (0, V.jsx)(Gfe, {+ if (_) return /* @__PURE__ */ (0, V.jsx)(Kfe, {items: C,layout: r,props: e});- if (_N(u)) return /* @__PURE__ */ (0, V.jsx)(DN, {+ if (gN(u)) return /* @__PURE__ */ (0, V.jsx)(EN, {kind: u,items: C,layout: r,@@ -47149,10 +47149,10 @@ function H_e(e) {picked: a,press: ee};- return p === "alphabet" ? /* @__PURE__ */ (0, V.jsx)(k_e, {+ return p === "alphabet" ? /* @__PURE__ */ (0, V.jsx)(A_e, {groups: M,actions: t- }) : /* @__PURE__ */ (0, V.jsx)(j_e, {+ }) : /* @__PURE__ */ (0, V.jsx)(M_e, {tags: j,actions: t});@@ -47173,7 +47173,7 @@ function H_e(e) {}) : "载入更多"})}) : null,- u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, V.jsx)(P_e, {+ u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, V.jsx)(F_e, {count: a.size,match: s,onMatch: c,@@ -47186,16 +47186,16 @@ function H_e(e) {]});}-var U_e = {+var W_e = {tags: "标签",performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所"};-function W_e({ kind: e, filtered: t, online: n, configurable: r }) {+function G_e({ kind: e, filtered: t, online: n, configurable: r }) {if (t) return /* @__PURE__ */ (0, V.jsx)(SE, {- icon: iA("search"),+ icon: rA("search"),title: "没有符合条件的内容",actions: /* @__PURE__ */ (0, V.jsx)(bE, {variant: "primary",@@ -47204,13 +47204,13 @@ function W_e({ kind: e, filtered: t, online: n, configurable: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : U_e[e], a = /* @__PURE__ */ (0, V.jsx)(bE, {+ let i = n && e === "performers" ? "创作者" : W_e[e], a = /* @__PURE__ */ (0, V.jsx)(bE, {variant: !r || n ? "primary" : "secondary",href: "/follow-manage?tab=add",children: "添加关注"});return /* @__PURE__ */ (0, V.jsx)(SE, {- icon: iA(e === "tags" ? "tags" : "user-round"),+ icon: rA(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,actions: n ? a : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [r ? /* @__PURE__ */ (0, V.jsx)(J, {variant: "primary",@@ -47220,15 +47220,15 @@ function W_e({ kind: e, filtered: t, online: n, configurable: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var wL = {+var CL = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, G_e = (e) => wL[e.junk_kind || "other"] || wL.other;-function K_e(e) {+}, K_e = (e) => CL[e.junk_kind || "other"] || CL.other;+function q_e(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -47239,21 +47239,21 @@ function K_e(e) {glyph: "check"};}-var TL = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), q_e = (e, t) => [+var wL = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), J_e = (e, t) => ["junk-queue",e.view,e.kind,t];-function J_e({ kind: e, view: t }) {+function Y_e({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function Y_e(e, t) {- let n = await G(`/api/ads?${J_e(e)}`, t);+async function X_e(e, t) {+ let n = await G(`/api/ads?${Y_e(e)}`, t);return {...n,items: n.items || []@@ -47261,19 +47261,19 @@ async function Y_e(e, t) {}//#endregion//#region src/react/junk-queue/junk-card.tsx-function EL({ name: e }) {+function TL({ name: e }) {return /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, V.jsx)("use", { href: `#i-${e}` })});}-var DL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function X_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), d = e.junk_kind || "other", [f, p] = G_e(e), m = String(e.name || ""), h = K_e(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {- t.target.closest("[data-junk-actions]") || DL(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var EL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function Z_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), d = e.junk_kind || "other", [f, p] = K_e(e), m = String(e.name || ""), h = q_e(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {+ t.target.closest("[data-junk-actions]") || EL(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- if (t.stopPropagation(), DL(r, t)) {+ if (t.stopPropagation(), EL(r, t)) {t.preventDefault(), a.toggleSelection(e.id, t.shiftKey);return;}@@ -47315,7 +47315,7 @@ function X_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, V.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, V.jsx)(EL, { name: p }), /* @__PURE__ */ (0, V.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, V.jsx)(TL, { name: p }), /* @__PURE__ */ (0, V.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, V.jsx)("span", {"data-media-art": "thumb",@@ -47327,7 +47327,7 @@ function X_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, V.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, V.jsx)(EL, { name: "check" })+ children: /* @__PURE__ */ (0, V.jsx)(TL, { name: "check" })})]}),@@ -47364,7 +47364,7 @@ function X_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [s === "reveal" ? /* @__PURE__ */ (0, V.jsx)("span", {"data-junk-spinner": "",dangerouslySetInnerHTML: { __html: Ke("正在定位") }- }) : /* @__PURE__ */ (0, V.jsx)(EL, { name: "folder-open" }), /* @__PURE__ */ (0, V.jsx)("span", {+ }) : /* @__PURE__ */ (0, V.jsx)(TL, { name: "folder-open" }), /* @__PURE__ */ (0, V.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -47376,7 +47376,7 @@ function X_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": h.label,...S(h.operation),onClick: x(h.operation),- children: [/* @__PURE__ */ (0, V.jsx)(EL, { name: h.glyph }), /* @__PURE__ */ (0, V.jsx)("span", {+ children: [/* @__PURE__ */ (0, V.jsx)(TL, { name: h.glyph }), /* @__PURE__ */ (0, V.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -47388,7 +47388,7 @@ function X_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, V.jsx)(EL, { name: "trash" }), /* @__PURE__ */ (0, V.jsx)("span", {+ children: [/* @__PURE__ */ (0, V.jsx)(TL, { name: "trash" }), /* @__PURE__ */ (0, V.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -47403,7 +47403,7 @@ function X_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var Z_e = (0, B.memo)(X_e), OL = [+var Q_e = (0, B.memo)(Z_e), DL = [["","全部",@@ -47440,53 +47440,53 @@ var Z_e = (0, B.memo)(X_e), OL = ["hard-drive"]];-function kL(e = "", t = "pending") {+function OL(e = "", t = "pending") {let n = new URLSearchParams();e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");let r = n.toString();return `/junk-files${r ? `?${r}` : ""}`;}-function Q_e(e) {+function $_e(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: kL("", "pending")+ href: OL("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: kL("", "dismissed")+ href: OL("", "dismissed")};}-var $_e = (e) => e === "dismissed" ? "已排除" : "待判断";+var eve = (e) => e === "dismissed" ? "已排除" : "待判断";//#endregion//#region src/react/junk-queue/junk-count.tsx-function AL({ name: e }) {+function kL({ name: e }) {return /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, V.jsx)("use", { href: `#i-${e}` })});}-function jL({ scope: e, count: t }) {+function AL({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [" ", /* @__PURE__ */ (0, V.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function eve({ route: e, page: t, failed: n, onNavigate: r }) {- let i = gM(), a = (0, B.useRef)(null), { kind: o, view: s } = e, c = fD(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? OL.map(([e]) => TL(t, e)).join(",") : ""}`), l = Q_e(s), u = (e) => {+function tve({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = hM(), a = (0, B.useRef)(null), { kind: o, view: s } = e, c = fD(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? DL.map(([e]) => wL(t, e)).join(",") : ""}`), l = $_e(s), u = (e) => {let t = e.target.closest("a");- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || kL()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || OL()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, V.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, V.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, V.jsx)(yP, {- label: $_e(s),+ children: /* @__PURE__ */ (0, V.jsx)(vP, {+ label: eve(s),figure: d,pending: !t && !n,flush: !0@@ -47506,17 +47506,17 @@ function eve({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- OL.map(([e, n, r]) => /* @__PURE__ */ (0, V.jsxs)("a", {- href: kL(e, s),+ DL.map(([e, n, r]) => /* @__PURE__ */ (0, V.jsxs)("a", {+ href: OL(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, V.jsx)(AL, { name: r }),+ /* @__PURE__ */ (0, V.jsx)(kL, { name: r }),n,- /* @__PURE__ */ (0, V.jsx)(jL, {+ /* @__PURE__ */ (0, V.jsx)(AL, {scope: e,- count: t ? TL(t, e) : 0+ count: t ? wL(t, e) : 0})]}, e || "all")),@@ -47530,9 +47530,9 @@ function eve({ route: e, page: t, failed: n, onNavigate: r }) {"aria-current": s === "dismissed" ? "page" : void 0,onPointerEnter: s === "dismissed" ? void 0 : c.hover,children: [- /* @__PURE__ */ (0, V.jsx)(AL, { name: l.glyph }),+ /* @__PURE__ */ (0, V.jsx)(kL, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, V.jsx)(jL, {+ /* @__PURE__ */ (0, V.jsx)(AL, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -47545,33 +47545,33 @@ function eve({ route: e, page: t, failed: n, onNavigate: r }) {}//#endregion//#region src/react/junk-queue/junk-queue-page.tsx-var tve = iA("check"), nve = (e, t) => e[1] === t.view && e[2] === t.kind;-function rve(e) {+var nve = rA("check"), rve = (e, t) => e[1] === t.view && e[2] === t.kind;+function ive(e) {let t = {kind: e.kind,view: e.view- }, n = TS({- queryKey: q_e(t, e.revision),- queryFn: ({ signal: e }) => Y_e(t, e),- placeholderData: (e, n) => n && nve(n.queryKey, t) ? e : void 0+ }, n = wS({+ queryKey: J_e(t, e.revision),+ queryFn: ({ signal: e }) => X_e(t, e),+ placeholderData: (e, n) => n && rve(n.queryKey, t) ? e : void 0});(0, B.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = ive(e.countRow), i = n.isPending;+ let r = ave(e.countRow), i = n.isPending;(0, B.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, B.useLayoutEffect)(() => {r && n.data && Le(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(eve, {+ let { navigate: a } = e.actions, o = r ? (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(tve, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [o, /* @__PURE__ */ (0, V.jsx)(ave, {+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [o, /* @__PURE__ */ (0, V.jsx)(ove, {props: e,data: n.data,pending: i,@@ -47579,7 +47579,7 @@ function rve(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function ive(e) {+function ave(e) {let [t, n] = (0, B.useState)(null);return (0, B.useLayoutEffect)(() => {if (!e) return;@@ -47589,8 +47589,8 @@ function ive(e) {};}, [e]), t;}-function ave({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = pA(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, B.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, B.useCallback)(() => {+function ove({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = fA(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, B.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, B.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, V.jsxs)("div", {@@ -47598,14 +47598,14 @@ function ave({ props: e, data: t, pending: n, error: r, retry: i }) {"data-grid-reveal": a.fading ? "" : void 0,children: [a.layer, (() => {if (n) return null;- if (!t) return /* @__PURE__ */ (0, V.jsx)(mA, {+ if (!t) return /* @__PURE__ */ (0, V.jsx)(pA, {message: ye(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";return /* @__PURE__ */ (0, V.jsx)(SE, {- icon: tve,+ icon: nve,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"});@@ -47614,7 +47614,7 @@ function ave({ props: e, data: t, pending: n, error: r, retry: i }) {"data-media-grid": "","data-junk-grid": "","data-select-mode": e.selectMode ? "" : void 0,- children: u.map((t) => /* @__PURE__ */ (0, V.jsx)(Z_e, {+ children: u.map((t) => /* @__PURE__ */ (0, V.jsx)(Q_e, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -47622,11 +47622,11 @@ function ave({ props: e, data: t, pending: n, error: r, retry: i }) {helpers: e.helpers,actions: e.actions}, t.id))- }), u.length < l.length ? /* @__PURE__ */ (0, V.jsx)(ove, { onMore: f }, s) : null] });+ }), u.length < l.length ? /* @__PURE__ */ (0, V.jsx)(sve, { onMore: f }, s) : null] });})()]});}-function ove({ onMore: e }) {+function sve({ onMore: e }) {let t = (0, B.useRef)(null);return (0, B.useEffect)(() => {let n = t.current;@@ -47644,12 +47644,12 @@ function ove({ onMore: e }) {}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var ML = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", sve = {- gray: `${ML} border-separator-border bg-background-secondary-default text-text-secondary`,- warning: `${ML} border-current/35 bg-status-yellow-background text-status-yellow-text`,- error: `${ML} border-current/35 bg-background-tertiary-error text-text-error-primary`+var jL = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", cve = {+ gray: `${jL} border-separator-border bg-background-secondary-default text-text-secondary`,+ warning: `${jL} border-current/35 bg-status-yellow-background text-status-yellow-text`,+ error: `${jL} border-current/35 bg-background-tertiary-error text-text-error-primary`};-function cve({ value: e, max: t }) {+function lve({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, V.jsxs)("svg", {role: "progressbar",@@ -47677,16 +47677,16 @@ function cve({ value: e, max: t }) {})]});}-function lve(e) {- let { job: t } = xM(e), n = t.data, r = t.isError ? n ? RA : W(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";+function uve(e) {+ let { job: t } = bM(e), n = t.data, r = t.isError ? n ? LA : W(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";if (!r && !o && !a) return null;- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : BA(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? mae : aae;+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : zA(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? mae : aae;return /* @__PURE__ */ (0, V.jsxs)("aside", {role: a ? "alert" : "status",- className: sve[s],+ className: cve[s],children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 items-center gap-3",- children: [o && l ? /* @__PURE__ */ (0, V.jsx)(cve, {+ children: [o && l ? /* @__PURE__ */ (0, V.jsx)(lve, {value: c,max: l}) : /* @__PURE__ */ (0, V.jsx)(d, {@@ -47706,32 +47706,32 @@ function lve(e) {}//#endregion//#region src/react/playlists/playlists.ts-var uve = "/api/playlists", NL = "/api/playlist", PL = ["playlists"], FL = (e) => G(uve, e);-async function dve(e) {+var dve = "/api/playlists", ML = "/api/playlist", NL = ["playlists"], PL = (e) => G(dve, e);+async function fve(e) {await z.fetchQuery({- queryKey: PL,- queryFn: () => FL(e),+ queryKey: NL,+ queryFn: () => PL(e),staleTime: 0});}-var IL = () => z.invalidateQueries({- queryKey: PL,+var FL = () => z.invalidateQueries({+ queryKey: NL,exact: !0-}), fve = (e) => e.current_asset_id || e.preview_asset_id || null, LL = (e) => `/poster?id=${e}&c=4`, pve = (e) => K(NL, {+}), pve = (e) => e.current_asset_id || e.preview_asset_id || null, IL = (e) => `/poster?id=${e}&c=4`, mve = (e) => K(ML, {action: "create",name: e,asset_ids: []-}), RL = (e, t) => K(NL, {+}), LL = (e, t) => K(ML, {action: "rename",id: e,name: t-}), zL = (e) => K(NL, {+}), RL = (e) => K(ML, {action: "delete",id: e-}), mve = (e) => G(`${NL}?id=${e}`).catch(() => null);-function hve(e) {+}), hve = (e) => G(`${ML}?id=${e}`).catch(() => null);+function gve(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return K(NL, {+ return K(ML, {action: "create",name: e.name,asset_ids: t,@@ -47741,18 +47741,18 @@ function hve(e) {}//#endregion//#region src/react/playlists/playlists-page.tsx-var gve = iA("ellipsis"), _ve = iA("pencil"), vve = iA("trash"), yve = iA("playlist"), BL = hE(lM, uM, "text-body-2-medium"), VL = "播放列表名称不能为空", HL = (e) => async () => {+var _ve = rA("ellipsis"), vve = rA("pencil"), yve = rA("trash"), bve = rA("playlist"), zL = hE(cM, lM, "text-body-2-medium"), BL = "播放列表名称不能为空", VL = (e) => async () => {try {await e();} finally {- IL();+ FL();}};-function bve({ toast: e }) {- let [t, n] = (0, B.useState)(""), [r, i] = (0, B.useState)(""), a = OS({- mutationFn: (e) => pve(e),+function xve({ toast: e }) {+ let [t, n] = (0, B.useState)(""), [r, i] = (0, B.useState)(""), a = DS({+ mutationFn: (e) => mve(e),onSuccess: (t) => {- n(""), i(""), IL(), e("已新建播放列表", { undo: HL(() => zL(t.playlist.id)) });+ n(""), i(""), FL(), e("已新建播放列表", { undo: VL(() => RL(t.playlist.id)) });},onError: (e) => i(W(e) || "新建失败")});@@ -47762,7 +47762,7 @@ function bve({ toast: e }) {onSubmit: (e) => {if (e.preventDefault(), !a.isPending) {if (!t.trim()) {- i(VL);+ i(BL);return;}a.mutate(t);@@ -47771,7 +47771,7 @@ function bve({ toast: e }) {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, V.jsx)("div", {className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",- children: /* @__PURE__ */ (0, V.jsx)(UM, {+ children: /* @__PURE__ */ (0, V.jsx)(HM, {label: "新播放列表",placeholder: "输入名称",maxLength: 80,@@ -47790,7 +47790,7 @@ function bve({ toast: e }) {})]});}-function xve({ target: e, close: t, toast: n }) {+function Sve({ target: e, close: t, toast: n }) {let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(""), s = (0, B.useRef)(null);(0, B.useEffect)(() => {if (!e) return;@@ -47800,14 +47800,14 @@ function xve({ target: e, close: t, toast: n }) {});return () => cancelAnimationFrame(t);}, [e]);- let c = OS({- mutationFn: ({ row: e, value: t }) => RL(e.id, t),+ let c = DS({+ mutationFn: ({ row: e, value: t }) => LL(e.id, t),onSuccess: (e, { row: r }) => {- t(), IL(), n("已重命名播放列表", { undo: HL(() => RL(r.id, r.name)) });+ t(), FL(), n("已重命名播放列表", { undo: VL(() => LL(r.id, r.name)) });},onError: (e) => o(W(e))});- return /* @__PURE__ */ (0, V.jsx)(JN, {+ return /* @__PURE__ */ (0, V.jsx)(qN, {isOpen: !!e,onOpenChange: (e) => {e || t();@@ -47819,7 +47819,7 @@ function xve({ target: e, close: t, toast: n }) {if (t.preventDefault(), !e || c.isPending) return;let n = r.trim();if (!n) {- o(VL);+ o(BL);return;}c.mutate({@@ -47834,7 +47834,7 @@ function xve({ target: e, close: t, toast: n }) {slot: "title",className: "text-title-2-semibold text-text-primary",children: "编辑名称"- }), /* @__PURE__ */ (0, V.jsx)(UM, {+ }), /* @__PURE__ */ (0, V.jsx)(HM, {ref: s,label: "名称",placeholder: "输入名称",@@ -47862,7 +47862,7 @@ function xve({ target: e, close: t, toast: n }) {})});}-function Sve({ name: e, onRename: t, onDelete: n }) {+function Cve({ name: e, onRename: t, onDelete: n }) {let r = (0, B.useRef)(null), [i, a] = (0, B.useState)(!1), o = (e) => {a(!1), e();};@@ -47876,7 +47876,7 @@ function Sve({ name: e, onRename: t, onDelete: n }) {"data-playlist-menu": "",onClick: () => a(!0),className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, V.jsx)(gve, {+ children: /* @__PURE__ */ (0, V.jsx)(_ve, {"aria-hidden": !0,className: "size-4.5"})@@ -47886,23 +47886,23 @@ function Sve({ name: e, onRename: t, onDelete: n }) {onOpenChange: a,placement: "bottom end",offset: 4,- className: cM,- children: /* @__PURE__ */ (0, V.jsxs)(sM, {+ className: sM,+ children: /* @__PURE__ */ (0, V.jsxs)(oM, {"aria-label": `播放列表操作:${e}`,className: "flex w-37.5 flex-col gap-0.5 outline-none",children: [/* @__PURE__ */ (0, V.jsxs)("button", {type: "button",- className: BL,+ className: zL,onClick: () => o(t),- children: [/* @__PURE__ */ (0, V.jsx)(_ve, {+ children: [/* @__PURE__ */ (0, V.jsx)(vve, {"aria-hidden": !0,className: "size-4 shrink-0"}), "编辑名称"]}), /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",- className: BL,+ className: zL,onClick: () => o(n),- children: [/* @__PURE__ */ (0, V.jsx)(vve, {+ children: [/* @__PURE__ */ (0, V.jsx)(yve, {"aria-hidden": !0,className: "size-4 shrink-0"}), "删除播放列表"]@@ -47910,13 +47910,13 @@ function Sve({ name: e, onRename: t, onDelete: n }) {})})] });}-function Cve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {- let a = TS({- queryKey: PL,- queryFn: ({ signal: e }) => FL(e)+function wve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {+ let a = wS({+ queryKey: NL,+ queryFn: ({ signal: e }) => PL(e)}), [o, s] = (0, B.useState)(null), c = (0, B.useRef)(i);(0, B.useEffect)(() => {- c.current !== i && (c.current = i, IL());+ c.current !== i && (c.current = i, FL());}, [i]);let l = a.data;if (!l) return /* @__PURE__ */ (0, V.jsx)("div", {@@ -47934,8 +47934,8 @@ function Cve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: iconfirmLabel: "删除播放列表",danger: !0,onConfirm: async () => {- let t = await mve(e.id);- await zL(e.id), IL(), r("已删除播放列表", t ? { undo: HL(() => hve(t)) } : void 0);+ let t = await hve(e.id);+ await RL(e.id), FL(), r("已删除播放列表", t ? { undo: VL(() => gve(t)) } : void 0);}});};@@ -47950,26 +47950,26 @@ function Cve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i}), /* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "保存 Mix,按自己的顺序继续播放。"- })] }), /* @__PURE__ */ (0, V.jsx)(bve, { toast: r })]+ })] }), /* @__PURE__ */ (0, V.jsx)(xve, { toast: r })]}),u.length ? /* @__PURE__ */ (0, V.jsx)("div", {"data-playlist-grid": "",className: "card-grid-cover gap-4.5",children: u.map((r) => {- let i = fve(r);- return /* @__PURE__ */ (0, V.jsx)(CA, {+ let i = pve(r);+ return /* @__PURE__ */ (0, V.jsx)(SA, {"data-playlist-card": String(r.id),name: r.name,caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",count: r.item_count,- poster: r.preview_asset_id ? LL(r.preview_asset_id) : null,- flipImages: async () => (r.preview_ids || []).map(LL),+ poster: r.preview_asset_id ? IL(r.preview_asset_id) : null,+ flipImages: async () => (r.preview_ids || []).map(IL),canFlip: n,faces: r.faces || [],onOpenEntity: t,...i ? { onOpen: () => e(r.id, i) } : {},openLabel: `打开播放列表 ${r.name}`,- menu: /* @__PURE__ */ (0, V.jsx)(Sve, {+ menu: /* @__PURE__ */ (0, V.jsx)(Cve, {name: r.name,onRename: () => s(r),onDelete: () => d(r)@@ -47977,11 +47977,11 @@ function Cve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i}, r.id);})}) : /* @__PURE__ */ (0, V.jsx)(SE, {- icon: yve,+ icon: bve,title: "还没有播放列表",children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"}),- /* @__PURE__ */ (0, V.jsx)(xve, {+ /* @__PURE__ */ (0, V.jsx)(Sve, {target: o,close: () => s(null),toast: r@@ -47991,7 +47991,7 @@ function Cve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i}//#endregion//#region src/react/quality-goals/quality-goals-page.tsx-function wve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {+function Tve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {let o = () => t(e.id);return /* @__PURE__ */ (0, V.jsxs)("li", {"data-goal-id": e.id,@@ -48011,7 +48011,7 @@ function wve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisclassName: "text-caption-1-regular text-text-secondary",children: "暂无预览"}), /* @__PURE__ */ (0, V.jsx)("img", {- src: Yle(e),+ src: Xle(e),alt: "",loading: "lazy",onError: (e) => e.currentTarget.remove(),@@ -48069,10 +48069,10 @@ function wve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis})]});}-function Tve({ toast: e, ...t }) {- let [n, r] = (0, B.useState)(null), i = TS({- queryKey: JA,- queryFn: ({ signal: e }) => YA(e)+function Eve({ toast: e, ...t }) {+ let [n, r] = (0, B.useState)(null), i = wS({+ queryKey: qA,+ queryFn: ({ signal: e }) => JA(e)}), a = i.data;if (!a) return /* @__PURE__ */ (0, V.jsx)(wE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",@@ -48081,20 +48081,20 @@ function Tve({ toast: e, ...t }) {}) });let o = a.items || [];return o.length ? /* @__PURE__ */ (0, V.jsxs)(wE, { children: [- /* @__PURE__ */ (0, V.jsx)(yP, {+ /* @__PURE__ */ (0, V.jsx)(vP, {label: "待升级",figure: `${a.total} 部作品`,flush: !0}),/* @__PURE__ */ (0, V.jsx)("ul", {className: "card-grid-cover gap-5",- children: o.map((e) => /* @__PURE__ */ (0, V.jsx)(wve, {+ children: o.map((e) => /* @__PURE__ */ (0, V.jsx)(Tve, {item: e,...t,searchResources: r}, e.id))}),- /* @__PURE__ */ (0, V.jsx)(aL, {+ /* @__PURE__ */ (0, V.jsx)(iL, {prefill: n,close: () => r(null),receipt: e@@ -48108,8 +48108,8 @@ function Tve({ toast: e, ...t }) {}//#endregion//#region src/react/review/bulk-toolbar.tsx-function Eve(e) {- let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = oue(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";+function Dve(e) {+ let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = sue(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("div", {role: "group","aria-label": "复核筛选",@@ -48117,29 +48117,29 @@ function Eve(e) {"data-glass-pane": "",className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",children: [- /* @__PURE__ */ (0, V.jsx)(wM, {+ /* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": "筛选分组方式",size: "sm",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: t.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(TM, {+ children: t.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(wM, {id: e,children: t}, e))}),- i.length > 1 ? /* @__PURE__ */ (0, V.jsxs)(wM, {+ i.length > 1 ? /* @__PURE__ */ (0, V.jsxs)(CM, {"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",size: "sm",selectedKey: a || "*",onSelectionChange: (e) => {e !== null && o(String(e) === "*" ? "" : String(e));},- children: [/* @__PURE__ */ (0, V.jsx)(TM, {+ children: [/* @__PURE__ */ (0, V.jsx)(wM, {id: "*",children: "全部分类"- }), i.map((e) => /* @__PURE__ */ (0, V.jsx)(TM, {+ }), i.map((e) => /* @__PURE__ */ (0, V.jsx)(wM, {id: e.key,children: `${e.title} · ${e.rows.length}`}, e.key))]@@ -48158,12 +48158,12 @@ function Eve(e) {children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"})]- }), /* @__PURE__ */ (0, V.jsxs)(tS, {+ }), /* @__PURE__ */ (0, V.jsxs)(eS, {label: "复核所选项目",visible: c.size > 0,count: `已选 ${c.size} 项`,children: [- b ? /* @__PURE__ */ (0, V.jsxs)(wM, {+ b ? /* @__PURE__ */ (0, V.jsxs)(CM, {"aria-label": "统一选择来源",size: "sm",selectedKey: "",@@ -48171,10 +48171,10 @@ function Eve(e) {onSelectionChange: (e) => {e !== null && e !== "" && h(String(e));},- children: [/* @__PURE__ */ (0, V.jsx)(TM, {+ children: [/* @__PURE__ */ (0, V.jsx)(wM, {id: "",children: x- }), y.map((e) => /* @__PURE__ */ (0, V.jsx)(TM, {+ }), y.map((e) => /* @__PURE__ */ (0, V.jsx)(wM, {id: e,children: e}, e))]@@ -48210,7 +48210,7 @@ function Eve(e) {}//#endregion//#region src/react/review/candidate-form.tsx-var Dve = {+var Ove = {title: "标题",original_title: "原标题",runtime: "来源时长",@@ -48220,14 +48220,14 @@ var Dve = {cover_url: "封面",screenshot_urls: "截图",trailer_url: "预告片"-}, UL = "reviewgenretags";-function Ove({ tags: e }) {+}, HL = "reviewgenretags";+function kve({ tags: e }) {return e.length ? /* @__PURE__ */ (0, V.jsx)("datalist", {- id: UL,+ id: HL,children: e.map((e) => /* @__PURE__ */ (0, V.jsx)("option", { value: e }, e))}) : null;}-function WL({ candidate: e, selectable: t = !1 }) {+function UL({ candidate: e, selectable: t = !1 }) {let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;return /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 flex-1 flex-col",@@ -48264,7 +48264,7 @@ function WL({ candidate: e, selectable: t = !1 }) {children: [/* @__PURE__ */ (0, V.jsx)("dt", {className: "text-body-2-regular text-text-secondary",- children: Dve[e] || e+ children: Ove[e] || e}),/* @__PURE__ */ (0, V.jsx)("dd", {className: "min-w-0 text-body-2-regular break-words text-text-primary",@@ -48279,11 +48279,11 @@ function WL({ candidate: e, selectable: t = !1 }) {}) : null]});}-function kve({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {+function Ave({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {let a = e.candidates || [];return a.length ? a.length === 1 ? /* @__PURE__ */ (0, V.jsx)("div", {className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",- children: /* @__PURE__ */ (0, V.jsx)(WL, { candidate: a[0] })+ children: /* @__PURE__ */ (0, V.jsx)(UL, { candidate: a[0] })}) : /* @__PURE__ */ (0, V.jsx)(gk, {"aria-label": `${t || "候选"}的来源`,value: n,@@ -48293,22 +48293,22 @@ function kve({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {children: a.map((e) => /* @__PURE__ */ (0, V.jsx)(_k, {value: e.candidate_key,className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",- children: /* @__PURE__ */ (0, V.jsx)(WL, {+ children: /* @__PURE__ */ (0, V.jsx)(UL, {candidate: e,selectable: !0})}, e.candidate_key))}) : null;}-function Ave({ genre: e, tags: t, locked: n, toast: r }) {- let [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), c = OS({- mutationFn: (t) => mue(e, t),+function jve({ genre: e, tags: t, locked: n, toast: r }) {+ let [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), c = DS({+ mutationFn: (t) => hue(e, t),onSuccess: async (t, n) => {if (!t.ok) {s(t.error || "服务端拒绝了这次收录");return;}- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await gue();+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await _ue();},onError: (e) => s(W(e))}), l = () => {@@ -48327,16 +48327,16 @@ function Ave({ genre: e, tags: t, locked: n, toast: r }) {className: "text-body-medium text-text-primary",children: e}),- /* @__PURE__ */ (0, V.jsx)(BM, {+ /* @__PURE__ */ (0, V.jsx)(zM, {"aria-label": `「${e}」收录成的中文标签`,value: i,onChange: a,maxLength: 40,isDisabled: n || c.isPending,className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, V.jsx)(HM, {+ children: /* @__PURE__ */ (0, V.jsx)(VM, {size: "small",- list: t.length ? UL : void 0,+ list: t.length ? HL : void 0,autoComplete: "off",placeholder: "中文标签",onKeyDown: (e) => {@@ -48368,8 +48368,8 @@ function Ave({ genre: e, tags: t, locked: n, toast: r }) {]});}-function jve({ row: e, tags: t, locked: n, toast: r }) {- let i = due(e);+function Mve({ row: e, tags: t, locked: n, toast: r }) {+ let i = fue(e);return i.length ? /* @__PURE__ */ (0, V.jsxs)("div", {role: "group","aria-label": "未收录 genre",@@ -48377,7 +48377,7 @@ function jve({ row: e, tags: t, locked: n, toast: r }) {children: [/* @__PURE__ */ (0, V.jsx)("h5", {className: "text-body-2-medium text-text-secondary",children: `未收录 genre · ${i.length}`- }), i.map((e) => /* @__PURE__ */ (0, V.jsx)(Ave, {+ }), i.map((e) => /* @__PURE__ */ (0, V.jsx)(jve, {genre: e,tags: t,locked: n,@@ -48387,9 +48387,9 @@ function jve({ row: e, tags: t, locked: n, toast: r }) {}//#endregion//#region src/react/review/review-evidence.tsx-var GL = (e = "") => /^https?:\/\//i.test(e) ? e : "", Mve = (e = "") => GL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");-function KL({ url: e }) {- let t = Mve(e || ""), [n, r] = (0, B.useState)(!1);+var WL = (e = "") => /^https?:\/\//i.test(e) ? e : "", Nve = (e = "") => WL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");+function GL({ url: e }) {+ let t = Nve(e || ""), [n, r] = (0, B.useState)(!1);return /* @__PURE__ */ (0, V.jsx)("div", {className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",children: t && !n ? /* @__PURE__ */ (0, V.jsx)("img", {@@ -48404,7 +48404,7 @@ function KL({ url: e }) {})});}-function qL({ asset: e, openItem: t }) {+function KL({ asset: e, openItem: t }) {let n = e.name || "";return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",@@ -48437,14 +48437,14 @@ function qL({ asset: e, openItem: t }) {})]});}-function Nve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {+function Pve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [/* @__PURE__ */ (0, V.jsx)("button", {type: "button","aria-label": `打开创作者页:${t}`,onClick: () => i(e, t),- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${$I}`,+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${QI}`,dangerouslySetInnerHTML: { __html: r }}), /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-col items-start",@@ -48460,8 +48460,8 @@ function Nve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {})]});}-function Pve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {- let o = GL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));+function Fve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {+ let o = WL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));return /* @__PURE__ */ (0, V.jsxs)("section", {className: "flex flex-col gap-3",children: [@@ -48486,7 +48486,7 @@ function Pve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, nochildren: `查看全部 ${c.toLocaleString()} 部作品`})]}),- /* @__PURE__ */ (0, V.jsx)(KL, { url: e.preview_url }),+ /* @__PURE__ */ (0, V.jsx)(GL, { url: e.preview_url }),/* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "通过后记录身份判断。"@@ -48529,7 +48529,7 @@ function Pve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no]});}-function Fve({ assets: e, picked: t, onPicked: n, locked: r }) {+function Ive({ assets: e, picked: t, onPicked: n, locked: r }) {let [i, a] = (0, B.useState)(null), o = new Set(t), s = (t, s) => {if (r) return;let c = new Set(o);@@ -48585,7 +48585,7 @@ function Fve({ assets: e, picked: t, onPicked: n, locked: r }) {}),/* @__PURE__ */ (0, V.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, V.jsx)(AM, {+ children: /* @__PURE__ */ (0, V.jsx)(kM, {size: "sm",state: {isSelected: n,@@ -48605,19 +48605,19 @@ function Fve({ assets: e, picked: t, onPicked: n, locked: r }) {}//#endregion//#region src/react/review/review-card.tsx-var Ive = xE({+var Lve = xE({variant: "outlined",padding: "none",className: "flex flex-col gap-4 px-5 pt-4"-}), JL = "flex min-h-6 min-w-0 items-center", Lve = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";-function Rve(e) {- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, B.useRef)(!1), m = gM(), h = gM(), g = t === "metadata_fields", _ = nue[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = cue(t, n), x = oj(t, n), S = aj(t, n), C = lue(n), T = uue(n), E = ij(t, n), D = n.comparison_assets || [], O = n.preview_assets || [], k = String(n.decision || "pending") !== "pending", A = D.length > 1 ? /* @__PURE__ */ (0, V.jsx)("div", {+}), qL = "flex min-h-6 min-w-0 items-center", Rve = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";+function zve(e) {+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, B.useRef)(!1), m = hM(), h = hM(), g = t === "metadata_fields", _ = rue[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = lue(t, n), x = aj(t, n), S = ij(t, n), C = uue(n), T = due(n), E = rj(t, n), D = n.comparison_assets || [], O = n.preview_assets || [], k = String(n.decision || "pending") !== "pending", A = D.length > 1 ? /* @__PURE__ */ (0, V.jsx)("div", {className: "flex flex-col gap-3",- children: D.map((e) => /* @__PURE__ */ (0, V.jsx)(qL, {+ children: D.map((e) => /* @__PURE__ */ (0, V.jsx)(KL, {asset: e,openItem: f.openItem}, e.id))- }) : y ? /* @__PURE__ */ (0, V.jsx)(Nve, {+ }) : y ? /* @__PURE__ */ (0, V.jsx)(Pve, {kind: _,name: v,works: Number(n.video_count || n.videos || 0),@@ -48628,14 +48628,14 @@ function Rve(e) {image_version: n.image_version,avatar_focus: n.avatar_focus} : null, null, _)- }) : n.asset_id ? /* @__PURE__ */ (0, V.jsx)(qL, {+ }) : n.asset_id ? /* @__PURE__ */ (0, V.jsx)(KL, {openItem: f.openItem,asset: {id: n.asset_id,name: n.asset_name,preview_url: n.asset_preview_url}- }) : null, j = g ? /* @__PURE__ */ (0, V.jsx)(kve, {+ }) : null, j = g ? /* @__PURE__ */ (0, V.jsx)(Ave, {row: n,fieldName: x,value: r.candidateKey,@@ -48644,7 +48644,7 @@ function Rve(e) {candidateKey: e}),locked: s- }) : t === "creator_tags" ? O.length ? /* @__PURE__ */ (0, V.jsx)(Fve, {+ }) : t === "creator_tags" ? O.length ? /* @__PURE__ */ (0, V.jsx)(Ive, {assets: O,picked: r.assets,locked: s,@@ -48657,15 +48657,15 @@ function Rve(e) {icon: fae,title: "这批作品尚未抽帧",children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, V.jsx)(Pve, {+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, V.jsx)(Fve, {row: n,openItem: f.openItem,openEntity: f.openEntity,onReveal: f.onReveal,revealing: f.revealing,note: f.revealNote- }) : /* @__PURE__ */ (0, V.jsx)(KL, { url: n.preview_url }), M = y ? A : x ? /* @__PURE__ */ (0, V.jsxs)("h4", {- className: `${JL} flex-wrap gap-2`,+ }) : /* @__PURE__ */ (0, V.jsx)(GL, { url: n.preview_url }), M = y ? A : x ? /* @__PURE__ */ (0, V.jsxs)("h4", {+ className: `${qL} flex-wrap gap-2`,children: [/* @__PURE__ */ (0, V.jsx)(vE, {variant: "caption",color: "blue",@@ -48676,7 +48676,7 @@ function Rve(e) {children: S})]}) : /* @__PURE__ */ (0, V.jsx)("h4", {- className: JL,+ className: qL,children: /* @__PURE__ */ (0, V.jsx)("span", {title: b,className: "min-w-0 truncate text-body-medium text-text-primary",@@ -48686,20 +48686,20 @@ function Rve(e) {return /* @__PURE__ */ (0, V.jsxs)("section", {"aria-label": b,"data-review-key": n.item_key,- className: `${Ive} ${Lve(t)} overflow-hidden`,+ className: `${Lve} ${Rve(t)} overflow-hidden`,children: [/* @__PURE__ */ (0, V.jsxs)("header", {className: "flex min-w-0 shrink-0 items-start gap-2",children: [s ? null : /* @__PURE__ */ (0, V.jsx)("span", {- className: `${JL} shrink-0`,+ className: `${qL} shrink-0`,onPointerDownCapture: (e) => {p.current = e.shiftKey;},onKeyDownCapture: (e) => {p.current = e.shiftKey;},- children: /* @__PURE__ */ (0, V.jsx)(jM, {+ children: /* @__PURE__ */ (0, V.jsx)(AM, {isSelected: a,"aria-label": `选择 ${b}`,onChange: (e) => o(p.current, e)@@ -48743,7 +48743,7 @@ function Rve(e) {})}) : null,j,- /* @__PURE__ */ (0, V.jsx)(jve, {+ /* @__PURE__ */ (0, V.jsx)(Mve, {row: n,tags: u,locked: s,@@ -48805,8 +48805,8 @@ function Rve(e) {}//#endregion//#region src/react/review/review-page.tsx-var zve = "flex cursor-pointer items-center justify-between gap-2";-function Bve({ page: e, pages: t, onPage: n }) {+var Bve = "flex cursor-pointer items-center justify-between gap-2";+function Vve({ page: e, pages: t, onPage: n }) {return t <= 1 ? null : /* @__PURE__ */ (0, V.jsxs)("nav", {"aria-label": "复核分页",className: "flex w-full flex-wrap items-center justify-between gap-2",@@ -48820,7 +48820,7 @@ function Bve({ page: e, pages: t, onPage: n }) {}),/* @__PURE__ */ (0, V.jsx)("ul", {className: "flex flex-wrap items-center gap-1",- children: XA(e, t).map((t, r) => /* @__PURE__ */ (0, V.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, V.jsx)("span", {+ children: YA(e, t).map((t, r) => /* @__PURE__ */ (0, V.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, V.jsx)("span", {"aria-hidden": !0,className: "px-1 text-body-2-regular text-text-tertiary",children: "…"@@ -48843,48 +48843,48 @@ function Bve({ page: e, pages: t, onPage: n }) {]});}-function Vve(e) {+function Hve(e) {let [t, n] = (0, B.useState)(() => matchMedia("(max-width:900px)").matches);(0, B.useEffect)(() => {let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, B.useState)(nj(e.category) ? e.category : tue), [p, m] = (0, B.useState)("candidates"), [h, g] = (0, B.useState)(""), [_, v] = (0, B.useState)(1), [y, b] = (0, B.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, B.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, B.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, B.useState)(""), D = (0, B.useRef)(null), [O, k] = (0, B.useState)(0), [A, j] = (0, B.useState)(""), M = (0, B.useRef)(!0);+ let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, B.useState)(tj(e.category) ? e.category : nue), [p, m] = (0, B.useState)("candidates"), [h, g] = (0, B.useState)(""), [_, v] = (0, B.useState)(1), [y, b] = (0, B.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, B.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, B.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, B.useState)(""), D = (0, B.useRef)(null), [O, k] = (0, B.useState)(0), [A, j] = (0, B.useState)(""), M = (0, B.useRef)(!0);(0, B.useEffect)(() => () => {M.current = !1;}, []);- let N = TS({- queryKey: ej,- queryFn: ({ signal: e }) => cj(e)+ let N = wS({+ queryKey: $A,+ queryFn: ({ signal: e }) => sj(e)}).data || {sections: {},counts: {}- }, P = N.sections[d] || [], ee = d === "metadata_fields", F = c, I = rue(P, ee), te = I.some(([e]) => e === p) ? p : "candidates", ne = rj(P, te), re = ne.some((e) => e.key === h) ? h : "", ie = aue(iue(P, te, re), _), ae = ie.rows.map((e) => e.item_key), oe = new Set(ae), se = ne.map((e) => ({+ }, P = N.sections[d] || [], ee = d === "metadata_fields", F = c, I = iue(P, ee), te = I.some(([e]) => e === p) ? p : "candidates", ne = nj(P, te), re = ne.some((e) => e.key === h) ? h : "", ie = oue(aue(P, te, re), _), ae = ie.rows.map((e) => e.item_key), oe = new Set(ae), se = ne.map((e) => ({...e,rows: e.rows.filter((e) => oe.has(e.item_key))- })).filter((e) => e.rows.length), ce = (e) => x.get(e.item_key) || fue(e), le = P.filter((e) => y.has(e.item_key)), ue = (e) => {+ })).filter((e) => e.rows.length), ce = (e) => x.get(e.item_key) || pue(e), le = P.filter((e) => y.has(e.item_key)), ue = (e) => {let t = new Set(e);b((e) => new Set([...e].filter((e) => !t.has(e)))), S((e) => new Map([...e].filter(([e]) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e))));}, L = (e, t) => w((n) => new Map(n).set(e, t)), de = (e) => {f(e), m("candidates"), g(""), v(1), b(/* @__PURE__ */ new Set()), S(/* @__PURE__ */ new Map()), w(/* @__PURE__ */ new Map()), E(""), D.current = null, r({ category: e === "metadata_fields" ? "" : e });- }, fe = OS({- mutationFn: ({ row: e, status: t }) => lj(sj(d, e, t, ce(e))),+ }, fe = DS({+ mutationFn: ({ row: e, status: t }) => cj(oj(d, e, t, ce(e))),onSuccess: (e, { row: t, status: n }) => {if (!e.ok) {L(t.item_key, e.error || "服务端拒绝了这次判定");return;}- uj(d, [t.item_key]), ue([t.item_key]), s(pue(n));+ lj(d, [t.item_key]), ue([t.item_key]), s(mue(n));},onError: (e, { row: t }) => L(t.item_key, W(e))- }), pe = OS({+ }), pe = DS({mutationFn: async (e) => {let t = le, n = [], r = [];for (let [i, a] of t.entries()) {if (!M.current) break;E(`正在处理 ${i} / ${t.length}`);try {- let t = await lj(sj(d, a, e, ce(a)));+ let t = await cj(oj(d, a, e, ce(a)));if (!t.ok) throw Error(t.error || "服务端未采用该项");n.push(a.item_key);} catch (e) {@@ -48898,7 +48898,7 @@ function Vve(e) {};},onSuccess: ({ status: e, done: t, failures: n }) => {- uj(d, t), ue(t), n.forEach(([e, t]) => L(e, t)), E(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));+ lj(d, t), ue(t), n.forEach(([e, t]) => L(e, t)), E(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));},onError: (e) => {E(W(e));@@ -48928,7 +48928,7 @@ function Vve(e) {k(e), j("");let t = await o(e);M.current && (k(0), j(t));- }, ge = _ue(N.mirror, l), _e = N.genre_tags || [], ve = {+ }, ge = vue(N.mirror, l), _e = N.genre_tags || [], ve = {openItem: i,openEntity: a,onReveal: he,@@ -48952,13 +48952,13 @@ function Vve(e) {}) : void 0,children: ge}) : null,- /* @__PURE__ */ (0, V.jsx)(Ove, { tags: _e }),+ /* @__PURE__ */ (0, V.jsx)(kve, { tags: _e }),/* @__PURE__ */ (0, V.jsxs)(Gk, {orientation: t ? "horizontal" : "vertical",selectedKey: d,onSelectionChange: (e) => {let t = String(e);- nj(t) && de(t);+ tj(t) && de(t);},className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",children: [/* @__PURE__ */ (0, V.jsxs)("div", {@@ -48971,12 +48971,12 @@ function Vve(e) {"aria-labelledby": "reviewcategories","data-section-items": !0,className: "flex review-split:flex-col review-split:items-stretch",- children: eue.map((e) => {+ children: tue.map((e) => {let t = Number(N.counts[e] || 0);return /* @__PURE__ */ (0, V.jsxs)(qk, {id: e,- className: zve,- children: [tj[e], t ? /* @__PURE__ */ (0, V.jsx)("span", {+ className: Bve,+ children: [ej[e], t ? /* @__PURE__ */ (0, V.jsx)("span", {className: "tabular-nums text-caption-1-medium text-text-secondary",children: t.toLocaleString()}) : null]@@ -48987,7 +48987,7 @@ function Vve(e) {id: d,className: "flex min-w-0 flex-1 flex-col gap-5",children: [- P.length && !F ? /* @__PURE__ */ (0, V.jsx)(Eve, {+ P.length && !F ? /* @__PURE__ */ (0, V.jsx)(Dve, {groupOptions: I,groupBy: te,onGroupBy: (e) => {@@ -49003,7 +49003,7 @@ function Vve(e) {onSelected: b,selectedRows: le,metadata: ee,- approvable: le.every((e) => ij(d, e)),+ approvable: le.every((e) => rj(d, e)),busy: pe.isPending,feedback: T,onUnifySource: R,@@ -49028,7 +49028,7 @@ function Vve(e) {})]}) : null, /* @__PURE__ */ (0, V.jsx)("div", {className: "review-grid gap-5",- children: e.rows.map((e) => /* @__PURE__ */ (0, V.jsx)(Rve, {+ children: e.rows.map((e) => /* @__PURE__ */ (0, V.jsx)(zve, {category: d,row: e,choice: ce(e),@@ -49036,7 +49036,7 @@ function Vve(e) {selected: y.has(e.item_key),onSelect: (t, n) => b((r) => {let i = new Set(r);- return D.current = sue(i, ae, D.current, e.item_key, t, n), i;+ return D.current = cue(i, ae, D.current, e.item_key, t, n), i;}),locked: F,busy: fe.isPending && fe.variables?.row.item_key === e.item_key,@@ -49056,7 +49056,7 @@ function Vve(e) {title: "此分类没有待复核项目",children: "可切换分类查看其他候选。"}),- /* @__PURE__ */ (0, V.jsx)(Bve, {+ /* @__PURE__ */ (0, V.jsx)(Vve, {page: ie.page,pages: ie.pages,onPage: v@@ -49069,9 +49069,13 @@ function Vve(e) {}//#endregion//#region src/react/scraping/scraping.ts-var Hve = "/api/scraping", Uve = "/api/scraping/settings", Wve = "/api/scraping/check", YL = "/api/scraping/cover", Gve = "/api/scraping/amane-bridge", Kve = "/api/scraping/amane-bridge/check", qve = "/api/scraping/amane-bridge/rebuild", XL = ["scraping"], ZL = ["scraping", "cover"], QL = ["scraping", "amane-bridge"], $L = (e) => G(Hve, e), eR = (e) => G(YL, e), tR = (e) => G(Gve, e);-async function Jve(e) {+var Uve = "/api/scraping", Wve = "/api/scraping/settings", Gve = "/api/scraping/check", JL = "/api/scraping/cover", Kve = "/api/scraping/amane-bridge", qve = "/api/scraping/amane-bridge/check", Jve = "/api/scraping/amane-bridge/rebuild", YL = ["scraping"], XL = ["scraping", "cover"], ZL = ["scraping", "amane-bridge"], QL = (e) => G(Uve, e), $L = (e) => G(JL, e), eR = (e) => G(Kve, e);+async function Yve(e) {await Promise.all([+ z.fetchQuery({+ queryKey: YL,+ queryFn: () => QL(e)+ }),z.fetchQuery({queryKey: XL,queryFn: () => $L(e)@@ -49079,20 +49083,16 @@ async function Jve(e) {z.fetchQuery({queryKey: ZL,queryFn: () => eR(e)- }),- z.fetchQuery({- queryKey: QL,- queryFn: () => tR(e)})]);}-function Yve(e, t) {+function Xve(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.message ? `。${e.message}` : "");}//#endregion//#region src/react/scraping/scraping-page.tsx-var Xve = [["peach", "Peach 代理"], ["direct", "直接连接"]], nR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];-function rR({ source: e }) {+var Zve = [["peach", "Peach 代理"], ["direct", "直接连接"]], tR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];+function nR({ source: e }) {let t = ["javten","fc2ppvdb",@@ -49110,16 +49110,16 @@ function rR({ source: e }) {className: "size-4 shrink-0 rounded-sm object-contain"});}-function Zve() {- return /* @__PURE__ */ (0, V.jsx)(rR, { source: "github" });+function Qve() {+ return /* @__PURE__ */ (0, V.jsx)(nR, { source: "github" });}-function Qve({ source: e, toast: t }) {- let [n, r] = (0, B.useState)(e.network), [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(nR[0][0]), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), m = (0, B.useRef)(null);+function $ve({ source: e, toast: t }) {+ let [n, r] = (0, B.useState)(e.network), [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(tR[0][0]), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), m = (0, B.useRef)(null);function h() {a(""), s(""), d(""), p(""), m.current && (m.current.value = "");}- let g = OS({- mutationFn: (t) => K(Uve, {+ let g = DS({+ mutationFn: (t) => K(Wve, {source: e.source,network: n,cookie: i,@@ -49127,12 +49127,12 @@ function Qve({ source: e, toast: t }) {revoke: t}),onSuccess: (e, n) => {- z.setQueryData(XL, (t) => t && {+ z.setQueryData(YL, (t) => t && {...t,sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");}- }), _ = OS({ mutationFn: () => K(Wve, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {+ }), _ = DS({ mutationFn: () => K(Gve, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {e.preventDefault(), !v && (_.reset(), g.mutate(!1));}, b = () => {v || (_.reset(), g.mutate(!0));@@ -49162,7 +49162,7 @@ function Qve({ source: e, toast: t }) {onSubmit: y,aside: /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 items-center gap-1",- children: [/* @__PURE__ */ (0, V.jsx)(rR, { source: e.source }), /* @__PURE__ */ (0, V.jsx)(zE, {+ children: [/* @__PURE__ */ (0, V.jsx)(nR, { source: e.source }), /* @__PURE__ */ (0, V.jsx)(zE, {href: e.login,children: e.login})]@@ -49170,13 +49170,13 @@ function Qve({ source: e, toast: t }) {children: [/* @__PURE__ */ (0, V.jsx)(NE, { children: /* @__PURE__ */ (0, V.jsx)(kE, {label: "连接方式",- children: /* @__PURE__ */ (0, V.jsx)(wM, {+ children: /* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": "连接方式",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: Xve.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(TM, {+ children: Zve.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(wM, {id: e,children: t}, e))@@ -49203,20 +49203,20 @@ function Qve({ source: e, toast: t }) {className: "text-body-2-regular text-text-secondary",children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"}),- /* @__PURE__ */ (0, V.jsx)(Qk, {+ /* @__PURE__ */ (0, V.jsx)(Zk, {"aria-label": "提供 Cookie 的方式(二选一)",value: c,onChange: (e) => {l(e), h();},- className: $k,- children: nR.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(_k, {+ className: Qk,+ children: tR.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(_k, {value: e,- className: eA,+ className: $k,children: t}, e))}),- c === "paste" ? /* @__PURE__ */ (0, V.jsx)(UM, {+ c === "paste" ? /* @__PURE__ */ (0, V.jsx)(HM, {type: "password",label: "Cookie",autoComplete: "off",@@ -49254,7 +49254,7 @@ function Qve({ source: e, toast: t }) {C ? /* @__PURE__ */ (0, V.jsx)(LE, { children: C }) : null,w.map((t) => /* @__PURE__ */ (0, V.jsx)(Y, {tone: t.ok ? "success" : "error",- children: Yve(t, e.label)+ children: Xve(t, e.label)}, t.label))]}) : null,@@ -49280,11 +49280,11 @@ function Qve({ source: e, toast: t }) {]});}-function $ve({ toast: e }) {- let [t, n] = (0, B.useState)(""), { running: r, outcome: i, start: a } = DM({- queryKey: ZL,- queryFn: ({ signal: e }) => eR(e),- start: () => K(YL, { code: t }),+function eye({ toast: e }) {+ let [t, n] = (0, B.useState)(""), { running: r, outcome: i, start: a } = EM({+ queryKey: XL,+ queryFn: ({ signal: e }) => $L(e),+ start: () => K(JL, { code: t }),onFinish: (t) => {t.status === "complete" && e(t.result || "封面采集完成");}@@ -49299,7 +49299,7 @@ function $ve({ toast: e }) {className: "flex flex-wrap items-end gap-2",children: [/* @__PURE__ */ (0, V.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, V.jsx)(UM, {+ children: /* @__PURE__ */ (0, V.jsx)(HM, {"aria-label": "馆藏番号",isRequired: !0,isDisabled: r,@@ -49326,11 +49326,11 @@ function $ve({ toast: e }) {] })});}-function eye({ toast: e }) {- let { query: t, running: n, outcome: r, start: i } = DM({- queryKey: QL,- queryFn: ({ signal: e }) => tR(e),- start: () => K(qve, {}),+function tye({ toast: e }) {+ let { query: t, running: n, outcome: r, start: i } = EM({+ queryKey: ZL,+ queryFn: ({ signal: e }) => eR(e),+ start: () => K(Jve, {}),jobOf: (e) => e.job,withJob: (e, t) => e && {...e,@@ -49339,7 +49339,7 @@ function eye({ toast: e }) {onFinish: (t) => {t.status === "complete" && e(t.result || "amane 桥已重建");}- }), a = OS({ mutationFn: () => K(Kve, {}) }), o = t.data;+ }), a = DS({ mutationFn: () => K(qve, {}) }), o = t.data;if (!o) return t.error ? /* @__PURE__ */ (0, V.jsx)(ME, {title: "amane",children: /* @__PURE__ */ (0, V.jsx)(PE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {@@ -49352,7 +49352,7 @@ function eye({ toast: e }) {title: "amane",aside: /* @__PURE__ */ (0, V.jsx)(zE, {href: o.repository,- leadingIcon: Zve,+ leadingIcon: Qve,children: o.repository}),children: [@@ -49414,22 +49414,22 @@ function eye({ toast: e }) {]});}-function tye({ toast: e }) {- let t = TS({- queryKey: XL,- queryFn: ({ signal: e }) => $L(e)+function nye({ toast: e }) {+ let t = wS({+ queryKey: YL,+ queryFn: ({ signal: e }) => QL(e)}), n = t.data;return n ? /* @__PURE__ */ (0, V.jsxs)(wE, { children: [/* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "高清图片可能要经代理才能下载,先检查连接。"}),- /* @__PURE__ */ (0, V.jsx)($ve, { toast: e }),- (n.sources || []).map((t) => /* @__PURE__ */ (0, V.jsx)(Qve, {+ /* @__PURE__ */ (0, V.jsx)(eye, { toast: e }),+ (n.sources || []).map((t) => /* @__PURE__ */ (0, V.jsx)($ve, {source: t,toast: e}, t.source)),- /* @__PURE__ */ (0, V.jsx)(eye, { toast: e })+ /* @__PURE__ */ (0, V.jsx)(tye, { toast: e })] }) : /* @__PURE__ */ (0, V.jsx)(wE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",title: "采集来源读取失败",@@ -49438,21 +49438,21 @@ function tye({ toast: e }) {}//#endregion//#region src/react/search/search.ts-var iR = /* @__PURE__ */ new Set([+var rR = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), aR = /* @__PURE__ */ new Set(["asset"]), oR = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function nye({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {+]), iR = /* @__PURE__ */ new Set(["asset"]), aR = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function rye({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {let s = 0, c = [], l = (e) => {let t = {...e,index: s++};return c.push(t), t;- }, u = t.filter((t) => !e || oR(t).includes(oR(e)));+ }, u = t.filter((t) => !e || aR(t).includes(aR(e)));if (!e) {let e = u.length ? {label: "搜索记录",@@ -49490,7 +49490,7 @@ function nye({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: akind: e.kind,item: t}))- }), h = p.filter((e) => !aR.has(e.kind)).map(m), g = p.filter((e) => aR.has(e.kind)).map(m);+ }), h = p.filter((e) => !iR.has(e.kind)).map(m), g = p.filter((e) => iR.has(e.kind)).map(m);return {tabs: d && a.length > 1 ? [...a] : null,recent: f,@@ -49499,17 +49499,17 @@ function nye({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: c};}-function rye(e, t, n = Math.random) {+function iye(e, t, n = Math.random) {let r = [...e];for (let e = r.length - 1; e > 0; --e) {let t = Math.floor(n() * (e + 1));[r[e], r[t]] = [r[t], r[e]];}- return r.filter((e) => !t.some((t) => oR(t) === oR(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => aR(t) === aR(e))).slice(0, 5);}//#endregion//#region src/react/search/search-page.tsx-var iye = () => ({+var aye = () => ({history: [],pool: [],poolRequest: 0,@@ -49524,7 +49524,7 @@ var iye = () => ({active: -1,reveal: !1,rewind: !1-}), sR = (e) => nye({+}), oR = (e) => rye({query: e.query,history: e.history,picks: e.picks,@@ -49532,18 +49532,18 @@ var iye = () => ({groups: e.groups,tabs: e.tabs,kind: e.kind-}), aye = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), cR = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("svg", {+}), oye = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), sR = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, V.jsx)("use", { href: `#i-${e}` })});-function oye(e) {+function sye(e) {let t = (0, B.useRef)(e);t.current = e;let n = (0, B.useRef)(null);- n.current ??= iye();+ n.current ??= aye();let r = n.current, i = (0, B.useRef)(null), [, a] = (0, B.useReducer)((e) => e + 1, 0), o = (0, B.useRef)(null);- o.current ??= sye(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= cye(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, B.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();@@ -49556,7 +49556,7 @@ function oye(e) {let e = i.current?.closest("[data-search-menu]");r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;});- let c = sR(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, V.jsx)(lye, {+ let c = oR(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, V.jsx)(uye, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -49576,7 +49576,7 @@ function oye(e) {"data-search-root": "","data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, V.jsx)(cye, {+ c.tabs ? /* @__PURE__ */ (0, V.jsx)(lye, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -49597,7 +49597,7 @@ function oye(e) {]});}-function sye(e, t, n, r) {+function cye(e, t, n, r) {let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {t.history = n.slice(0, e().historyLimit);}, c = async () => {@@ -49611,7 +49611,7 @@ function sye(e, t, n, r) {t.history = Array.isArray(e.items) ? e.items.map(String) : [];} catch {}}, l = (t) => {- !t || !e().historyLimit || (s([t, ...o().filter((e) => oR(e) !== oR(t))]), K("/api/search-history", { query: t }).catch(() => null));+ !t || !e().historyLimit || (s([t, ...o().filter((e) => aR(e) !== aR(t))]), K("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -49644,9 +49644,9 @@ function sye(e, t, n, r) {let i = n();i && e().helpers.dismiss(i), t.active = -1, r();}, m = () => {- t.query = i().value.trim(), t.picks = t.query ? [] : rye(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : iye(t.pool, o()), t.active = -1;let a = n();- a && (aye(sR(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (oye(oR(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, h = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -49658,7 +49658,7 @@ function sye(e, t, n, r) {!n || e === t.kind || (t.kind = e, clearTimeout(t.timer), m(), t.rewind = !0, d(n, e).then(() => {a() && t.kind === e && m();}));- }, _ = () => f() ? sR(t).options : [], v = (e) => {+ }, _ = () => f() ? oR(t).options : [], v = (e) => {let n = _();return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;}, y = (t, n) => {@@ -49671,7 +49671,7 @@ function sye(e, t, n, r) {i().blur(), e().actions.openItem(t.item.id);return;}- if (t.type === "suggest" && iR.has(t.kind)) {+ if (t.type === "suggest" && rR.has(t.kind)) {b(t.kind, t.value);return;}@@ -49723,12 +49723,12 @@ function sye(e, t, n, r) {await K("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => oR(t) !== oR(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => aR(t) !== aR(e))), t.active = -1, r();},pickKind: g};}-function cye({ tabs: e, kind: t, onPick: n, wire: r }) {+function lye({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, B.useRef)(null);(0, B.useLayoutEffect)(() => {r(i.current);@@ -49740,7 +49740,7 @@ function cye({ tabs: e, kind: t, onPick: n, wire: r }) {"aria-selected": t === e,onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, V.jsx)(xL, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, V.jsx)(bL, { value: i }) : null]}, e || "all");return /* @__PURE__ */ (0, V.jsxs)("div", {ref: i,@@ -49750,8 +49750,8 @@ function cye({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var lR = (e) => e.preventDefault();-function lye({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+var cR = (e) => e.preventDefault();+function uye({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -49763,28 +49763,28 @@ function lye({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, V.jsx)(cR, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, V.jsx)(sR, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, V.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: lR,+ onMouseDown: cR,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, V.jsx)(cR, { name: "x" })+ children: /* @__PURE__ */ (0, V.jsx)(sR, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = iR.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = rR.has(c) ? c : void 0;if (c === "asset") {let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");return /* @__PURE__ */ (0, V.jsxs)("div", {"data-search-option": "work","data-open-item": s.id,...o,- children: [/* @__PURE__ */ (0, V.jsx)(uR, {+ children: [/* @__PURE__ */ (0, V.jsx)(lR, {card: s.card,helpers: n}), /* @__PURE__ */ (0, V.jsxs)("span", {@@ -49810,7 +49810,7 @@ function lye({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- /* @__PURE__ */ (0, V.jsx)(dR, {+ /* @__PURE__ */ (0, V.jsx)(uR, {item: s,kind: c}),@@ -49830,11 +49830,11 @@ function lye({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-open-work": e.id,"aria-label": `打开 ${e.code || s.value}`,- onMouseDown: lR,+ onMouseDown: cR,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, V.jsx)(uR, {+ children: /* @__PURE__ */ (0, V.jsx)(lR, {card: e,helpers: n})@@ -49848,7 +49848,7 @@ function lye({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, V.jsx)(dR, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, V.jsx)(uR, {item: s,kind: c}) : null,@@ -49861,13 +49861,13 @@ function lye({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function uR({ card: e, helpers: t }) {+function lR({ card: e, helpers: t }) {return /* @__PURE__ */ (0, V.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function dR({ item: e, kind: t }) {+function uR({ item: e, kind: t }) {let n = {id: e.entity_id,has_image: e.has_image,@@ -49882,39 +49882,39 @@ function dR({ item: e, kind: t }) {}//#endregion//#region src/configuration-endpoints.ts-var fR = "/api/configuration", uye = "/api/pick-folder", pR = ["configuration"], mR = (e) => G(fR, e);-async function hR(e) {+var dR = "/api/configuration", dye = "/api/pick-folder", fR = ["configuration"], pR = (e) => G(dR, e);+async function mR(e) {await z.fetchQuery({- queryKey: pR,- queryFn: () => mR(e)+ queryKey: fR,+ queryFn: () => pR(e)});}//#endregion//#region src/react/settings/configuration-panel.ts-var gR = "flex flex-col gap-6";-function _R(e) {+var hR = "flex flex-col gap-6";+function gR(e) {return e ? {- className: e.active ? `${gR} board-group-active` : gR,+ className: e.active ? `${hR} board-group-active` : hR,"data-board-group": String(e.index),id: e.id,role: "tabpanel","aria-labelledby": e.labelledBy- } : { className: gR };+ } : { className: hR };}//#endregion//#region src/react/settings/indexer-settings.tsx-var vR = "/api/configuration/indexers";-function dye({ receipt: e }) {- let t = TS({+var _R = "/api/configuration/indexers";+function fye({ receipt: e }) {+ let t = wS({queryKey: ["indexers"],- queryFn: ({ signal: e }) => G(vR, e)+ queryFn: ({ signal: e }) => G(_R, e)});- return t.error ? /* @__PURE__ */ (0, V.jsx)(LE, { children: W(t.error) }) : t.data ? /* @__PURE__ */ (0, V.jsx)(fye, {+ return t.error ? /* @__PURE__ */ (0, V.jsx)(LE, { children: W(t.error) }) : t.data ? /* @__PURE__ */ (0, V.jsx)(pye, {initial: t.data,receipt: e}) : null;}-function fye({ initial: e, receipt: t }) {+function pye({ initial: e, receipt: t }) {let [n, r] = (0, B.useState)(e.indexers), i = DE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,...t@@ -49922,7 +49922,7 @@ function fye({ initial: e, receipt: t }) {return /* @__PURE__ */ (0, V.jsxs)(ME, {title: "资源索引器",onSubmit: (e) => {- e.preventDefault(), i.run("save", (e) => K(vR, { indexers: n }, "POST", e), (e) => {+ e.preventDefault(), i.run("save", (e) => K(_R, { indexers: n }, "POST", e), (e) => {r(e.indexers), t("已保存索引器");});},@@ -49931,14 +49931,14 @@ function fye({ initial: e, receipt: t }) {n.map((e, t) => /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",children: [- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: `索引器 ${t + 1} 名称`,value: e.name,maxLength: 80,isDisabled: !!i.busy,onChange: (t) => a(e.key, { name: t })}),- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: `索引器 ${t + 1} Torznab 地址`,value: e.url,type: "url",@@ -49947,7 +49947,7 @@ function fye({ initial: e, receipt: t }) {isDisabled: !!i.busy,onChange: (t) => a(e.key, { url: t })}),- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: `索引器 ${t + 1} API key`,type: "password",autoComplete: "new-password",@@ -49956,13 +49956,13 @@ function fye({ initial: e, receipt: t }) {isDisabled: !!i.busy,onChange: (t) => a(e.key, { api_key: t })}),- /* @__PURE__ */ (0, V.jsx)(jM, {+ /* @__PURE__ */ (0, V.jsx)(AM, {isSelected: e.enabled,isDisabled: !!i.busy,onChange: (t) => a(e.key, { enabled: t }),children: "启用"}),- e.api_key_set ? /* @__PURE__ */ (0, V.jsx)(jM, {+ e.api_key_set ? /* @__PURE__ */ (0, V.jsx)(AM, {isSelected: !!e.clear_api_key,isDisabled: !!i.busy,onChange: (t) => a(e.key, { clear_api_key: t }),@@ -49997,24 +49997,24 @@ function fye({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/download-settings.tsx-var pye = "/api/configuration/downloads", yR = "/api/configuration/downloads/check", mye = "/api/configuration/downloads/folder", hye = "/api/configuration/downloads/pikpak/login", gye = "/api/configuration/downloads/pikpak/logout", bR = "/api/configuration/downloads/pikpak/browser-login", xR = 2e3;-function _ye({ initial: e, receipt: t, panel: n }) {+var mye = "/api/configuration/downloads", vR = "/api/configuration/downloads/check", hye = "/api/configuration/downloads/folder", gye = "/api/configuration/downloads/pikpak/login", _ye = "/api/configuration/downloads/pikpak/logout", yR = "/api/configuration/downloads/pikpak/browser-login", bR = 2e3;+function vye({ initial: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {- ..._R(n),- children: [/* @__PURE__ */ (0, V.jsx)(vye, {+ ...gR(n),+ children: [/* @__PURE__ */ (0, V.jsx)(yye, {initial: e,receipt: t- }), /* @__PURE__ */ (0, V.jsx)(dye, { receipt: t })]+ }), /* @__PURE__ */ (0, V.jsx)(fye, { receipt: t })]});}-function vye({ initial: e, receipt: t }) {+function yye({ initial: e, receipt: t }) {let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(""), o = n.pikpak.logged_in || !!i.trim();- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(yye, {+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(bye, {state: n,settle: r,receipt: t,pikpakAccount: o- }), /* @__PURE__ */ (0, V.jsx)(xye, {+ }), /* @__PURE__ */ (0, V.jsx)(Sye, {state: n,settle: r,receipt: t,@@ -50022,8 +50022,8 @@ function vye({ initial: e, receipt: t }) {setUsername: a})] });}-function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {- let [i, a] = (0, B.useState)(e.config), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(String(e.config.wait_hours)), [u, d] = (0, B.useState)(null), [f, p] = (0, B.useState)(""), [m, h] = (0, B.useState)(SR), [g, _] = (0, B.useState)(""), [v, y] = (0, B.useState)(!1), b = DE(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({+function bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {+ let [i, a] = (0, B.useState)(e.config), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(String(e.config.wait_hours)), [u, d] = (0, B.useState)(null), [f, p] = (0, B.useState)(""), [m, h] = (0, B.useState)(xR), [g, _] = (0, B.useState)(""), [v, y] = (0, B.useState)(!1), b = DE(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({...i,targets: {...i.targets,@@ -50052,7 +50052,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {target: !e.config.targets[115],root: !e.config.pikpak_root};- b.run("auto", (e) => G(yR, e), (e) => w(e, t), (e) => _(W(e)));+ b.run("auto", (e) => G(vR, e), (e) => w(e, t), (e) => _(W(e)));}, []), /* @__PURE__ */ (0, V.jsxs)(ME, {title: "云下载",onSubmit: (e) => {@@ -50066,19 +50066,19 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {token: o,pikpak_account: r};- b.run("save", (e) => K(pye, f, "POST", e), (e) => {+ b.run("save", (e) => K(mye, f, "POST", e), (e) => {let { report: r, ...i } = e;t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? w(r, {address: !i.config.clouddrive_address,target: u,root: !i.config.pikpak_root- }, i.config.targets[115] ?? "") : (d(null), p(""), h(SR), y(!1), _("")), n("已保存配置");+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(xR), y(!1), _("")), n("已保存配置");}, (e) => _(W(e)));},children: [/* @__PURE__ */ (0, V.jsxs)(PE, { children: [/* @__PURE__ */ (0, V.jsx)(IE, { children: "磁力交给 115 或 PikPak 离线下载,下完自动入库。" }),- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: "CloudDrive2 地址",placeholder: "留空自动探测本机 19798 / 29798",autoComplete: "off",@@ -50090,7 +50090,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {clouddrive_address: e})}),- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: "CloudDrive2 API 令牌",type: "password",autoComplete: "off",@@ -50101,7 +50101,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {isDisabled: !e.available,onChange: s}),- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: "115 目标目录",placeholder: "留空时按推送发现自动填写",autoComplete: "off",@@ -50113,7 +50113,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {isDisabled: !e.available,onChange: (e) => S("115", e)}),- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: "PikPak 目标目录",placeholder: "以 / 开头的网盘路径",autoComplete: "off",@@ -50125,7 +50125,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, V.jsx)(RE, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, V.jsx)(wM, {+ children: [/* @__PURE__ */ (0, V.jsx)(RE, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": "PikPak 根目录对应的媒体文件夹",selectedKey: i.pikpak_root || null,isDisabled: !e.available,@@ -50134,13 +50134,13 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {...i,pikpak_root: e === null ? "" : String(e)}),- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, V.jsx)(TM, {+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, V.jsx)(wM, {id: e,children: e}, e))}) : /* @__PURE__ */ (0, V.jsx)(IE, { children: "先在「媒体」分组添加 PikPak 挂载的文件夹,这里才能选。" })]}),- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: "等待上限(小时)",type: "number",inputMode: "numeric",@@ -50155,7 +50155,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {divided: !0,children: /* @__PURE__ */ (0, V.jsx)(CE, { label: "正在检查 CloudDrive2" })}) : null,- u ? /* @__PURE__ */ (0, V.jsx)(bye, {+ u ? /* @__PURE__ */ (0, V.jsx)(xye, {report: u,detected: f,suggested: m,@@ -50167,7 +50167,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {pikpak_root: i.pikpak_root,pikpak_account: r};- b.run("folder", (e) => K(mye, t, "POST", e), (t) => {+ b.run("folder", (e) => K(hye, t, "POST", e), (t) => {d(t), h((t) => ({...t,target: {@@ -50198,7 +50198,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {pikpak_root: i.pikpak_root,pikpak_account: r};- b.run("check", (e) => K(yR, t, "POST", e), (t) => w(t, e), (e) => _(W(e)));+ b.run("check", (e) => K(vR, t, "POST", e), (t) => w(t, e), (e) => _(W(e)));},disabled: !e.available,...X(b.busy === "check"),@@ -50213,12 +50213,12 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {]});}-var SR = {+var xR = {target: null,root: "",saved: !1};-function bye({ report: e, detected: t, suggested: n, create: r, creating: i }) {+function xye({ report: e, detected: t, suggested: n, create: r, creating: i }) {let a = n.target;return /* @__PURE__ */ (0, V.jsxs)(PE, {divided: !0,@@ -50259,30 +50259,30 @@ function bye({ report: e, detected: t, suggested: n, create: r, creating: i }) {] }), e.problems.map((e) => /* @__PURE__ */ (0, V.jsx)(LE, { children: e }, e))]});}-function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {+function Sye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {let [a, o] = (0, B.useState)(""), [s, c] = (0, B.useState)(!1), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(""), h = DE(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";(0, B.useEffect)(() => {if (!v) return;let e = new AbortController(), r, i = async () => {try {- let r = await G(bR, e.signal);+ let r = await G(yR, 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(W(t));}- r = setTimeout(i, xR);+ r = setTimeout(i, bR);};- return r = setTimeout(i, xR), () => {+ return r = setTimeout(i, bR), () => {e.abort(), clearTimeout(r);};}, [v]);let y = () => {- m(""), h.run("browser", (e) => K(bR, {}, "POST", e), (e) => {+ m(""), h.run("browser", (e) => K(yR, {}, "POST", e), (e) => {t(e), f("");}, (e) => f(W(e)));}, b = () => {- h.run("cancel", (e) => K(`${bR}/cancel`, {}, "POST", e), (e) => {+ h.run("cancel", (e) => K(`${yR}/cancel`, {}, "POST", e), (e) => {t(e), f(""), m(e.pikpak_browser.message);}, (e) => f(W(e)));}, x = (e) => {@@ -50292,7 +50292,7 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {password: a,remember: s};- h.run("login", (e) => K(hye, i, "POST", e), (e) => {+ h.run("login", (e) => K(gye, i, "POST", e), (e) => {if (t(e.settings), f(""), !e.ok) {u(e.captcha_url ?? "");return;@@ -50300,11 +50300,11 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {u(""), o(""), n("已登录 PikPak");}, (e) => f(W(e)));}, S = () => {- h.run("logout", (e) => K(gye, {}, "POST", e), (e) => {+ h.run("logout", (e) => K(_ye, {}, "POST", e), (e) => {t(e), f(""), n("已登出 PikPak");}, (e) => f(W(e)));}, C = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: "账号",placeholder: "邮箱或手机号",autoComplete: "username",@@ -50313,7 +50313,7 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {isDisabled: !e.available,onChange: i}),- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {label: "密码",type: "password",autoComplete: "current-password",@@ -50322,7 +50322,7 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {isDisabled: !e.available,onChange: o}),- /* @__PURE__ */ (0, V.jsx)(jM, {+ /* @__PURE__ */ (0, V.jsx)(AM, {isSelected: s,isDisabled: !e.available,onChange: c,@@ -50409,28 +50409,28 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {}//#endregion//#region src/react/settings/maintenance-settings.tsx-var Sye = [+var Cye = [["6", "每 6 小时"],["24", "每天"],["168", "每周"]];-function Cye({ data: e, receipt: t, reopenTutorial: n, panel: r }) {+function wye({ data: e, receipt: t, reopenTutorial: n, panel: r }) {return /* @__PURE__ */ (0, V.jsxs)("div", {- ..._R(r),+ ...gR(r),children: [- /* @__PURE__ */ (0, V.jsx)(Eye, { facts: e.facts }),- /* @__PURE__ */ (0, V.jsx)(wye, {+ /* @__PURE__ */ (0, V.jsx)(Dye, { facts: e.facts }),+ /* @__PURE__ */ (0, V.jsx)(Tye, {receipt: t,reopenTutorial: n}),- e.uninstall ? /* @__PURE__ */ (0, V.jsx)(Dye, {+ e.uninstall ? /* @__PURE__ */ (0, V.jsx)(Oye, {uninstall: e.uninstall,receipt: t}) : null]});}-function wye({ receipt: e, reopenTutorial: t }) {+function Tye({ receipt: e, reopenTutorial: t }) {let n = DE();return /* @__PURE__ */ (0, V.jsxs)(ME, {title: "安装教程",@@ -50441,7 +50441,7 @@ function wye({ receipt: e, reopenTutorial: t }) {}) })]});}-function Tye({ initial: e, receipt: t }) {+function Eye({ initial: e, receipt: t }) {let [n, r] = (0, B.useState)(e.mode), [i, a] = (0, B.useState)(e.interval_hours), o = DE(e.error), s = (r) => {r.preventDefault(), e.available && o.run("save", (e) => K("/api/configuration/automatic-updates", {mode: n,@@ -50455,7 +50455,7 @@ function Tye({ initial: e, receipt: t }) {/* @__PURE__ */ (0, V.jsxs)(NE, { children: [/* @__PURE__ */ (0, V.jsx)(kE, {label: "自动检查新版本",- children: /* @__PURE__ */ (0, V.jsx)(QI, {+ children: /* @__PURE__ */ (0, V.jsx)(ZI, {"aria-label": "自动检查新版本",isSelected: n !== "off",isDisabled: !e.available,@@ -50464,7 +50464,7 @@ function Tye({ initial: e, receipt: t }) {}),/* @__PURE__ */ (0, V.jsx)(kE, {label: "自动下载更新",- children: /* @__PURE__ */ (0, V.jsx)(QI, {+ children: /* @__PURE__ */ (0, V.jsx)(ZI, {"aria-label": "自动下载更新",isSelected: n === "download",isDisabled: !e.available || !e.download_available || n === "off",@@ -50474,14 +50474,14 @@ function Tye({ initial: e, receipt: t }) {/* @__PURE__ */ (0, V.jsx)(kE, {label: "检查频率",description: c,- children: /* @__PURE__ */ (0, V.jsx)(wM, {+ children: /* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": "检查频率",selectedKey: String(i),isDisabled: !e.available,onSelectionChange: (e) => {e !== null && a(Number(e));},- children: Sye.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(TM, {+ children: Cye.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(wM, {id: e,children: t}, e))@@ -50501,7 +50501,7 @@ function Tye({ initial: e, receipt: t }) {]});}-function Eye({ facts: e }) {+function Dye({ facts: e }) {return /* @__PURE__ */ (0, V.jsxs)(ME, {title: "运行信息",children: [/* @__PURE__ */ (0, V.jsx)(BE, { children: e.map((e) => /* @__PURE__ */ (0, V.jsxs)(VE, {@@ -50516,7 +50516,7 @@ function Eye({ facts: e }) {}) })]});}-function Dye({ uninstall: e, receipt: t }) {+function Oye({ uninstall: e, receipt: t }) {let [n, r] = (0, B.useState)(!1), [i, a] = (0, B.useState)(""), o = () => void Te({title: "卸载 Peach",danger: !0,@@ -50535,7 +50535,7 @@ function Dye({ uninstall: e, receipt: t }) {title: "卸载 Peach",children: [/* @__PURE__ */ (0, V.jsxs)(PE, { children: [e.available ? /* @__PURE__ */ (0, V.jsx)(IE, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,- /* @__PURE__ */ (0, V.jsx)(jM, {+ /* @__PURE__ */ (0, V.jsx)(AM, {isSelected: n,isDisabled: !e.full_available || !!i,onChange: r,@@ -50543,7 +50543,7 @@ function Dye({ uninstall: e, receipt: t }) {}),/* @__PURE__ */ (0, V.jsx)(HE, {summary: "数据目录",- children: c.map((e) => /* @__PURE__ */ (0, V.jsx)(yM, {+ children: c.map((e) => /* @__PURE__ */ (0, V.jsx)(vM, {path: e,className: "text-body-2-regular text-text-secondary",onRevealed: t@@ -50565,23 +50565,23 @@ function Dye({ uninstall: e, receipt: t }) {}//#endregion//#region src/react/settings/release-updates.tsx-var CR = /* @__PURE__ */ new Set([+var SR = /* @__PURE__ */ new Set(["downloading","verifying","extracting","preparing","restarting","installing"-]), Oye = [+]), kye = [65,67,90-], wR = 120;-function kye({ initial: e, initialJob: t }) {+], CR = 120;+function Aye({ initial: e, initialJob: t }) {let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(t || {state: "idle",progress: 0- }), [o, s] = (0, B.useState)(""), c = DE(), l = (0, B.useRef)(!1), u = (0, B.useRef)(!0), d = CR.has(i.state);+ }), [o, s] = (0, B.useState)(""), c = DE(), l = (0, B.useRef)(!1), u = (0, B.useRef)(!0), d = SR.has(i.state);(0, B.useEffect)(() => (u.current = !0, () => {u.current = !1;}), []);@@ -50598,7 +50598,7 @@ function kye({ initial: e, initialJob: t }) {(0, B.useEffect)(() => {i.state !== "ready" || l.current || (l.current = !0, p());}, [i.state]), (0, B.useEffect)(() => {- let e = new AbortController(), t = CR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {+ let e = new AbortController(), t = SR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {try {let t = await G("/api/configuration/update-status", e.signal);if (e.signal.aborted) return;@@ -50611,9 +50611,9 @@ function kye({ initial: e, initialJob: t }) {let n = await G("/api/configuration/automatic-updates", e.signal);!e.signal.aborted && n.result && r(n.result);} catch {- o += 1, o >= wR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");+ o += 1, o >= CR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");}- !e.signal.aborted && o < wR && (n = setTimeout(c, t));+ !e.signal.aborted && o < CR && (n = setTimeout(c, t));};return n = setTimeout(c, t), () => {e.abort(), clearTimeout(n);@@ -50668,7 +50668,7 @@ function kye({ initial: e, initialJob: t }) {/* @__PURE__ */ (0, V.jsx)(EE, {label: "更新准备进度",value: i.progress,- stops: Oye+ stops: kye}),/* @__PURE__ */ (0, V.jsxs)(IE, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),/* @__PURE__ */ (0, V.jsx)(IE, { children: _ })@@ -50704,26 +50704,26 @@ function kye({ initial: e, initialJob: t }) {}//#endregion//#region src/react/settings/general-settings.tsx-function Aye({ data: e, receipt: t, panel: n }) {+function jye({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {- ..._R(n),+ ...gR(n),children: [- e.startup ? /* @__PURE__ */ (0, V.jsx)(jye, {+ e.startup ? /* @__PURE__ */ (0, V.jsx)(Mye, {startup: e.startup,receipt: t}) : null,- e.automatic_updates ? /* @__PURE__ */ (0, V.jsx)(Tye, {+ e.automatic_updates ? /* @__PURE__ */ (0, V.jsx)(Eye, {initial: e.automatic_updates,receipt: t}) : null,- e.updates ? /* @__PURE__ */ (0, V.jsx)(kye, {+ e.updates ? /* @__PURE__ */ (0, V.jsx)(Aye, {initial: e.updates,initialJob: e.update_job}) : null]});}-function jye({ startup: e, receipt: t }) {+function Mye({ startup: e, receipt: t }) {let [n, r] = (0, B.useState)(e.enabled), [i, a] = (0, B.useState)(e.silent), [o, s] = (0, B.useState)(e.desktop), c = DE(), l = e.available && !e.desktop_message;return /* @__PURE__ */ (0, V.jsxs)(ME, {title: "开机自启",@@ -50738,7 +50738,7 @@ function jye({ startup: e, receipt: t }) {/* @__PURE__ */ (0, V.jsxs)(NE, { children: [/* @__PURE__ */ (0, V.jsx)(kE, {label: "开机后启动 Peach",- children: /* @__PURE__ */ (0, V.jsx)(QI, {+ children: /* @__PURE__ */ (0, V.jsx)(ZI, {"aria-label": "开机后启动 Peach",isSelected: n,isDisabled: !e.available,@@ -50748,7 +50748,7 @@ function jye({ startup: e, receipt: t }) {/* @__PURE__ */ (0, V.jsx)(kE, {label: "静默启动",description: "开机后只显示托盘图标,不打开网页。",- children: /* @__PURE__ */ (0, V.jsx)(QI, {+ children: /* @__PURE__ */ (0, V.jsx)(ZI, {"aria-label": "静默启动",isSelected: i,isDisabled: !e.available || !n,@@ -50758,7 +50758,7 @@ function jye({ startup: e, receipt: t }) {/* @__PURE__ */ (0, V.jsx)(kE, {label: "在桌面创建快捷方式",description: e.desktop_message || "双击图标打开 Peach 网页。",- children: /* @__PURE__ */ (0, V.jsx)(QI, {+ children: /* @__PURE__ */ (0, V.jsx)(ZI, {"aria-label": "在桌面创建快捷方式",isSelected: o,isDisabled: !l,@@ -50781,7 +50781,7 @@ function jye({ startup: e, receipt: t }) {}//#endregion//#region src/react/restart-redirect.ts-var Mye = 8e3, Nye = [+var Nye = 8e3, Pye = [{name: "机械硬盘,或内存 8 GB 以内",cache: "10–20 GiB",@@ -50800,12 +50800,12 @@ var Mye = 8e3, Nye = [read: "256 / 128 KB",task: "2 个起步"}-], Pye = [+], Fye = [["cache", "缓存上限"],["read", "读取长度(默认 / 最小)"],["task", "同时处理视频"]];-function Fye() {+function Iye() {return /* @__PURE__ */ (0, V.jsx)("div", {className: "@container flex flex-col gap-3",children: /* @__PURE__ */ (0, V.jsxs)(HE, {@@ -50819,14 +50819,14 @@ function Fye() {/* @__PURE__ */ (0, V.jsx)("ul", {"aria-label": "按缓存所在硬盘分档",className: "flex flex-col gap-2",- children: Nye.map((e) => /* @__PURE__ */ (0, V.jsxs)("li", {+ children: Pye.map((e) => /* @__PURE__ */ (0, V.jsxs)("li", {className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",children: [/* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-medium text-text-primary",children: e.name}), /* @__PURE__ */ (0, V.jsx)("dl", {className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",- children: Pye.map(([t, n]) => /* @__PURE__ */ (0, V.jsxs)("div", {+ children: Fye.map(([t, n]) => /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col",children: [/* @__PURE__ */ (0, V.jsx)("dt", {className: "text-caption-1-regular text-text-secondary",@@ -50861,7 +50861,7 @@ function Fye() {}//#endregion//#region src/react/settings/folder-rows.tsx-function Iye({ className: e }) {+function Lye({ className: e }) {return /* @__PURE__ */ (0, V.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -50874,12 +50874,12 @@ function Iye({ className: e }) {children: /* @__PURE__ */ (0, V.jsx)("use", { href: "#i-folder-search" })});}-var TR = [+var wR = [["local", "本地磁盘"],["115", "CloudDrive · 115"],["pikpak", "CloudDrive · PikPak"]-], ER = (e) => Se[e] || "database", Lye = (e) => e === "115" || e === "pikpak";-function Rye({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {+], TR = (e) => Se[e] || "database", Rye = (e) => e === "115" || e === "pikpak";+function zye({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {let [a, o] = (0, B.useState)(e), [s, c] = (0, B.useState)([]), [l, u] = (0, B.useState)(null), [d, f] = (0, B.useState)(null), p = (0, B.useRef)(!1), m = (0, B.useRef)([]);(0, B.useLayoutEffect)(() => {l !== null && (m.current[l]?.focus(), u(null));@@ -50922,14 +50922,14 @@ function Rye({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:}};}-function zye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {+function Bye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {return /* @__PURE__ */ (0, V.jsxs)("div", {"data-folder-row": !0,className: "@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex items-start gap-2",children: [- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {className: "min-w-0 flex-1","aria-label": e,placeholder: "本机文件夹路径",@@ -50944,13 +50944,13 @@ function zye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,className: "flex h-10 shrink-0 items-center",children: c}) : null,- /* @__PURE__ */ (0, V.jsx)(vM, {- icon: Iye,+ /* @__PURE__ */ (0, V.jsx)(_M, {+ icon: Lye,"aria-label": "选择文件夹",onClick: o,...X(a)}),- s ? /* @__PURE__ */ (0, V.jsx)(vM, {+ s ? /* @__PURE__ */ (0, V.jsx)(_M, {icon: dT,"aria-label": "移除这个文件夹",onClick: s@@ -50962,23 +50962,23 @@ function zye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,})]});}-function Bye({ index: e, value: t, onChange: n, options: r = TR }) {- return /* @__PURE__ */ (0, V.jsx)(wM, {+function Vye({ index: e, value: t, onChange: n, options: r = wR }) {+ return /* @__PURE__ */ (0, V.jsx)(CM, {className: "w-full @lg:w-60","aria-label": `媒体来源 ${e + 1}`,selectedKey: t,onSelectionChange: (e) => {e !== null && n(String(e));},- children: r.map(([e, t]) => /* @__PURE__ */ (0, V.jsxs)(TM, {+ children: r.map(([e, t]) => /* @__PURE__ */ (0, V.jsxs)(wM, {id: e,textValue: t,- children: [/* @__PURE__ */ (0, V.jsx)(UE, { mark: ER(e) }), t]+ children: [/* @__PURE__ */ (0, V.jsx)(UE, { mark: TR(e) }), t]}, e))});}-function Vye({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {- return /* @__PURE__ */ (0, V.jsx)(UM, {+function Hye({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {+ return /* @__PURE__ */ (0, V.jsx)(HM, {label: n,placeholder: r,value: e,@@ -50987,7 +50987,7 @@ function Vye({ value: e, onChange: t, label: n = "Windows 中的对应路径", p}//#endregion//#region src/react/settings/library-icon-picker.tsx-var DR = [+var ER = [["", "自动识别"],["hard-drive", "磁盘"],["database", "资料库"],@@ -51031,13 +51031,13 @@ var DR = [["star", "收藏"],["tags", "主题"]];-function Hye(e) {+function Uye(e) {let t = e === "local" ? "" : Se[e];return t ? [t, "自动识别"] : ["hard-drive", "默认"];}-var OR = "auto";-function Uye({ value: e, label: t, kind: n = "local", onChange: r }) {- let i = (0, B.useRef)(null), [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(e), [l, u] = Hye(n);+var DR = "auto";+function Wye({ value: e, label: t, kind: n = "local", onChange: r }) {+ let i = (0, B.useRef)(null), [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(e), [l, u] = Uye(n);return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(J, {ref: i,variant: "secondary",@@ -51051,7 +51051,7 @@ function Uye({ value: e, label: t, kind: n = "local", onChange: r }) {children: /* @__PURE__ */ (0, V.jsxs)("span", {"data-icon-choice": !0,className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, V.jsx)(UE, { mark: e || l }), ((e) => e && DR.find(([t]) => t === e)?.[1] || u)(e)]+ children: [/* @__PURE__ */ (0, V.jsx)(UE, { mark: e || l }), ((e) => e && ER.find(([t]) => t === e)?.[1] || u)(e)]})}), /* @__PURE__ */ (0, V.jsx)(QO, {triggerRef: i,@@ -51059,7 +51059,7 @@ function Uye({ value: e, label: t, kind: n = "local", onChange: r }) {onOpenChange: o,placement: "bottom start",offset: 4,- className: cM,+ className: sM,children: /* @__PURE__ */ (0, V.jsxs)(lk, {"aria-label": `${t}候选`,className: "flex w-72 flex-col gap-3 outline-none",@@ -51071,15 +51071,15 @@ function Uye({ value: e, label: t, kind: n = "local", onChange: r }) {}),/* @__PURE__ */ (0, V.jsx)(gk, {"aria-label": "候选图标",- value: s || OR,- onChange: (e) => c(e === OR ? "" : e),+ value: s || DR,+ onChange: (e) => c(e === DR ? "" : e),className: "inline-grid grid-cols-7 gap-1",- children: DR.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(_k, {- value: e || OR,+ children: ER.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(_k, {+ value: e || DR,"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, V.jsx)(UE, { mark: e || l })- }, e || OR))+ }, e || DR))}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",@@ -51101,9 +51101,9 @@ function Uye({ value: e, label: t, kind: n = "local", onChange: r }) {}//#endregion//#region src/react/settings/push-discovery-settings.tsx-var Wye = "/api/configuration/push-discovery", Gye = "/api/configuration/push-discovery/secret";-function Kye({ initial: e, receipt: t }) {- let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.prefixes), [o, s] = (0, B.useState)(""), c = DE(), l = gM(), u = n.media_roots, [d, f] = (0, B.useState)(e), p = (e, n) => {+var Gye = "/api/configuration/push-discovery", Kye = "/api/configuration/push-discovery/secret";+function qye({ initial: e, receipt: t }) {+ let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.prefixes), [o, s] = (0, B.useState)(""), c = DE(), l = hM(), u = n.media_roots, [d, f] = (0, B.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 ? {...n,@@ -51116,9 +51116,9 @@ function Kye({ initial: e, receipt: t }) {cloud: n.cloud,prefixes: i};- c.run("save", (e) => K(Wye, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(W(e)));+ c.run("save", (e) => K(Gye, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(W(e)));}, g = () => {- c.run("secret", (e) => K(Gye, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(W(e)));+ c.run("secret", (e) => K(Kye, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(W(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 || "没有运行";@@ -51130,7 +51130,7 @@ function Kye({ initial: e, receipt: t }) {/* @__PURE__ */ (0, V.jsx)(kE, {label: "新文件落地就入库",description: d.enabled ? v : void 0,- children: /* @__PURE__ */ (0, V.jsx)(QI, {+ children: /* @__PURE__ */ (0, V.jsx)(ZI, {"aria-label": "新文件落地就入库",isSelected: n.enabled,isDisabled: !n.available,@@ -51143,7 +51143,7 @@ function Kye({ initial: e, receipt: t }) {/* @__PURE__ */ (0, V.jsx)(kE, {label: "监视本机文件夹",description: d.enabled && d.watch_local ? y : void 0,- children: /* @__PURE__ */ (0, V.jsx)(QI, {+ children: /* @__PURE__ */ (0, V.jsx)(ZI, {"aria-label": "监视本机文件夹",isSelected: n.watch_local,isDisabled: !n.available || !n.enabled,@@ -51155,7 +51155,7 @@ function Kye({ initial: e, receipt: t }) {}),/* @__PURE__ */ (0, V.jsx)(kE, {label: "接收 CloudDrive2 通知",- children: /* @__PURE__ */ (0, V.jsx)(QI, {+ children: /* @__PURE__ */ (0, V.jsx)(ZI, {"aria-label": "接收 CloudDrive2 通知",isSelected: n.cloud,isDisabled: !n.available || !n.enabled,@@ -51206,7 +51206,7 @@ function Kye({ initial: e, receipt: t }) {children: i.map((e, t) => /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex items-start gap-2",children: [- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {className: "min-w-0 flex-1","aria-label": `云端路径前缀 ${t + 1}`,placeholder: "/115",@@ -51215,18 +51215,18 @@ function Kye({ initial: e, receipt: t }) {value: e.prefix,onChange: (e) => m(t, { prefix: e })}),- /* @__PURE__ */ (0, V.jsx)(wM, {+ /* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": `前缀 ${t + 1} 对应的媒体根`,selectedKey: e.root,onSelectionChange: (e) => {e !== null && m(t, { root: String(e) });},- children: u.map((e) => /* @__PURE__ */ (0, V.jsx)(TM, {+ children: u.map((e) => /* @__PURE__ */ (0, V.jsx)(wM, {id: e,children: e}, e))}),- /* @__PURE__ */ (0, V.jsx)(vM, {+ /* @__PURE__ */ (0, V.jsx)(_M, {icon: dT,"aria-label": "移除这一条",onClick: () => a((e) => e.filter((e, n) => n !== t))@@ -51265,29 +51265,29 @@ function Kye({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/media-settings.tsx-var qye = (e) => TR.find(([t]) => t === e)?.[1] ?? e, Jye = async (e) => (await K(uye, { initial: e })).path, kR = (e = "") => ({+var Jye = (e) => wR.find(([t]) => t === e)?.[1] ?? e, Yye = async (e) => (await K(dye, { initial: e })).path, OR = (e = "") => ({path: e,location: "local",root: "",library: "",library_icon: ""});-function Yye(e) {- let t = e.media_sources?.filter((e) => TR.some(([t]) => t === e.location));+function Xye(e) {+ let t = e.media_sources?.filter((e) => wR.some(([t]) => t === e.location));return t?.length ? t.map((e) => ({path: e.path,location: e.location,root: e.root,library: e.library || "",library_icon: e.library_icon || ""- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => kR(e));+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => OR(e));}-var Xye = (e) => !(e instanceof jS) || e.status !== 400 ? null : e.body?.errors ?? null;-function Zye({ data: e, receipt: t, panel: n }) {+var Zye = (e) => !(e instanceof AS) || e.status !== 400 ? null : e.body?.errors ?? null;+function Qye({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {- ..._R(n),+ ...gR(n),children: [- e.editable ? /* @__PURE__ */ (0, V.jsx)(Qye, {+ e.editable ? /* @__PURE__ */ (0, V.jsx)($ye, {data: e,receipt: t}) : /* @__PURE__ */ (0, V.jsx)(Y, {@@ -51295,28 +51295,28 @@ function Zye({ data: e, receipt: t, panel: n }) {title: "只读",children: e.notice}),- e.editable ? null : /* @__PURE__ */ (0, V.jsx)($ye, { data: e }),- e.push_discovery ? /* @__PURE__ */ (0, V.jsx)(Kye, {+ e.editable ? null : /* @__PURE__ */ (0, V.jsx)(ebe, { data: e }),+ e.push_discovery ? /* @__PURE__ */ (0, V.jsx)(qye, {initial: e.push_discovery,receipt: t}) : null]});}-function Qye({ data: e, receipt: t }) {- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = Rye({- initial: () => Yye(e),- blank: () => kR(),- pickFolder: Jye,+function $ye({ data: e, receipt: t }) {+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = zye({+ initial: () => Xye(e),+ blank: () => OR(),+ pickFolder: Yye,describe: W}), [d, f] = (0, B.useState)(String(e.port)), [p, m] = (0, B.useState)(!1), [h, g] = (0, B.useState)(""), [_, v] = (0, B.useState)(""), [y, b] = (0, B.useState)(null), x = (0, B.useRef)(e.revision), S = DE();(0, B.useEffect)(() => {if (!y) return;- let e = setTimeout(() => location.assign(y.url), Mye);+ let e = setTimeout(() => location.assign(y.url), Nye);return () => clearTimeout(e);}, [y]);let C = (r) => {- r.preventDefault(), v(""), S.run("save", (t) => K(fR, {+ r.preventDefault(), v(""), S.run("save", (t) => K(dR, {revision: x.current,media_dirs: n.map((e) => e.path),...e.media_sources ? { media_sources: n } : {},@@ -51325,7 +51325,7 @@ function Qye({ data: e, receipt: t }) {}, "POST", t), (e) => {x.current = e.revision, s([]), g(""), t("已保存配置"), b(e);}, (e) => {- let t = Xye(e);+ let t = Zye(e);s(t?.media_dirs ?? []), g(t?.port ?? ""), t || v(W(e));});};@@ -51345,7 +51345,7 @@ function Qye({ data: e, receipt: t }) {]}) })});- let w = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, T = n.some((e) => Lye(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) => Rye(e.location)), E = T ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];return /* @__PURE__ */ (0, V.jsxs)(ME, {title: "这台电脑",onSubmit: C,@@ -51358,7 +51358,7 @@ function Qye({ data: e, receipt: t }) {role: "group","aria-label": "媒体文件夹",className: "flex flex-col gap-3",- children: n.map((t, i) => /* @__PURE__ */ (0, V.jsxs)(zye, {+ children: n.map((t, i) => /* @__PURE__ */ (0, V.jsxs)(Bye, {label: `媒体文件夹 ${i + 1}`,path: t.path,onPath: (e) => r(i, { path: e }),@@ -51367,14 +51367,14 @@ function Qye({ 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, V.jsx)(AR, { online: w(t.path)?.online }) : null,+ status: w(t.path) ? /* @__PURE__ */ (0, V.jsx)(kR, { online: w(t.path)?.online }) : null,children: [- /* @__PURE__ */ (0, V.jsx)(Bye, {+ /* @__PURE__ */ (0, V.jsx)(Vye, {index: i,value: t.location,onChange: (e) => r(i, { location: e })}),- /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(HM, {className: "min-w-40 flex-1","aria-label": `媒体库名称 ${i + 1}`,maxLength: 80,@@ -51382,13 +51382,13 @@ function Qye({ data: e, receipt: t }) {value: t.library,onChange: (e) => r(i, { library: e })}),- /* @__PURE__ */ (0, V.jsx)(Uye, {+ /* @__PURE__ */ (0, V.jsx)(Wye, {label: `媒体库图标 ${i + 1}`,value: t.library_icon,kind: t.location,onChange: (e) => r(i, { library_icon: e })}),- e.windows === !1 ? /* @__PURE__ */ (0, V.jsx)(Vye, {+ e.windows === !1 ? /* @__PURE__ */ (0, V.jsx)(Hye, {value: t.root,onChange: (e) => r(i, { root: e })}) : null@@ -51402,7 +51402,7 @@ function Qye({ data: e, receipt: t }) {})]}),- T ? /* @__PURE__ */ (0, V.jsx)(Fye, {}) : null,+ T ? /* @__PURE__ */ (0, V.jsx)(Iye, {}) : null,E.map((e) => /* @__PURE__ */ (0, V.jsxs)(IE, { children: ["未检测到 ",e.name,@@ -51413,7 +51413,7 @@ function Qye({ data: e, receipt: t }) {})] }, e.name)),e.windows === !1 ? /* @__PURE__ */ (0, V.jsx)(IE, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,- e.port_editable === !1 ? null : /* @__PURE__ */ (0, V.jsx)(UM, {+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, V.jsx)(HM, {id: "configPort",label: "本机访问端口",inputMode: "numeric",@@ -51423,7 +51423,7 @@ function Qye({ data: e, receipt: t }) {isInvalid: !!h,hint: h || "浏览器地址里冒号后面的数字,一般不用改。"}),- /* @__PURE__ */ (0, V.jsx)(jM, {+ /* @__PURE__ */ (0, V.jsx)(AM, {isSelected: p,onChange: m,children: "保存后扫描并补全资料"@@ -51443,7 +51443,7 @@ function Qye({ data: e, receipt: t }) {})]});}-function AR({ online: e }) {+function kR({ online: e }) {return e === !0 ? /* @__PURE__ */ (0, V.jsxs)("span", {"data-mount": "online",className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",@@ -51467,21 +51467,21 @@ function AR({ online: e }) {}), "未检测"]});}-function $ye({ data: e }) {+function ebe({ data: e }) {let t = e.media_sources, n = DE();return t ? /* @__PURE__ */ (0, V.jsxs)(ME, {title: "挂载状态",children: [/* @__PURE__ */ (0, V.jsx)(BE, { children: t.map((e, t) => /* @__PURE__ */ (0, V.jsxs)(VE, {- term: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(UE, { mark: ER(e.location) }), qye(e.location)] }),- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, V.jsx)(AR, { online: e.online })]+ term: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(UE, { mark: TR(e.location) }), Jye(e.location)] }),+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, V.jsx)(kR, { online: e.online })]}, t)) }),n.error ? /* @__PURE__ */ (0, V.jsx)(PE, {divided: !0,children: /* @__PURE__ */ (0, V.jsx)(LE, { children: n.error })}) : null,/* @__PURE__ */ (0, V.jsx)(FE, { children: /* @__PURE__ */ (0, V.jsx)(J, {- onClick: () => void n.run("refresh", (e) => mR(e), (e) => z.setQueryData(pR, e)),+ onClick: () => void n.run("refresh", (e) => pR(e), (e) => z.setQueryData(fR, e)),...X(n.busy === "refresh"),children: "刷新挂载状态"}) })@@ -51490,8 +51490,8 @@ function $ye({ data: e }) {}//#endregion//#region src/react/settings/password-pair.tsx-function ebe({ 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, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(UM, {+function tbe({ 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, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(HM, {id: "access-password",type: "password",label: e,@@ -51504,7 +51504,7 @@ function ebe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmavalidationBehavior: "aria",isInvalid: !a && !!o,hint: a ? s : o || s- }), /* @__PURE__ */ (0, V.jsx)(UM, {+ }), /* @__PURE__ */ (0, V.jsx)(HM, {id: "access-confirm",type: "password",label: "确认访问密码",@@ -51521,12 +51521,12 @@ function ebe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma}//#endregion//#region src/react/settings/access-settings.tsx-var tbe = {+var nbe = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"};-function nbe({ initial: e, receipt: t }) {+function rbe({ initial: e, receipt: t }) {let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(""), [u, d] = (0, B.useState)(!1), [f, p] = (0, B.useState)({}), m = (0, B.useRef)(null), h = DE(), g = (e) => {e.preventDefault();let f = {};@@ -51544,10 +51544,10 @@ function nbe({ initial: e, receipt: t }) {}, "POST", e), (e) => {r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");}, (e) => {- let t = e instanceof jS ? e.body : null, n = t?.errors || t?.detail?.errors;+ let t = e instanceof AS ? e.body : null, n = t?.errors || t?.detail?.errors;n ? p(n) : h.setError(W(e));});- }, _ = tbe[n.mode], v = n.mode !== "locked";+ }, _ = nbe[n.mode], v = n.mode !== "locked";return /* @__PURE__ */ (0, V.jsxs)(ME, {title: "访问密码",onSubmit: g,@@ -51560,12 +51560,12 @@ function nbe({ initial: e, receipt: t }) {title: "未设置访问密码",children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"}) : null,- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, V.jsx)(jM, {+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, V.jsx)(AM, {isSelected: u,onChange: d,children: "关闭访问密码"}) : null,- n.mode === "password" ? /* @__PURE__ */ (0, V.jsx)(UM, {+ n.mode === "password" ? /* @__PURE__ */ (0, V.jsx)(HM, {id: "access-current",type: "password",label: "当前访问密码",@@ -51578,7 +51578,7 @@ function nbe({ initial: e, receipt: t }) {isInvalid: !!f.current_password,hint: f.current_password}) : null,- v ? /* @__PURE__ */ (0, V.jsx)(ebe, {+ v ? /* @__PURE__ */ (0, V.jsx)(tbe, {label: n.mode === "password" ? "新访问密码" : "设置访问密码",password: o,confirmation: c,@@ -51605,10 +51605,10 @@ function nbe({ initial: e, receipt: t }) {}//#endregion//#region src/configuration-copy.ts-var rbe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", ibe = "只填域名,留空用默认地址";+var ibe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", abe = "只填域名,留空用默认地址";//#endregion//#region src/react/settings/entry-links-settings.tsx-function abe({ initial: e, receipt: t }) {+function obe({ initial: e, receipt: t }) {let [n, r] = (0, B.useState)(e.sites), i = DE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,host: t@@ -51623,8 +51623,8 @@ function abe({ initial: e, receipt: t }) {});},children: [/* @__PURE__ */ (0, V.jsxs)(PE, { children: [- /* @__PURE__ */ (0, V.jsx)(IE, { children: rbe }),- n.map((e) => /* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(IE, { children: ibe }),+ n.map((e) => /* @__PURE__ */ (0, V.jsx)(HM, {id: `entry-link-${e.key}`,label: `${e.label} 地址`,autoComplete: "off",@@ -51633,7 +51633,7 @@ function abe({ initial: e, receipt: t }) {placeholder: e.default_host,onChange: (t) => a(e.key, t),validationBehavior: "aria",- hint: ibe+ hint: abe}, e.key)),i.error ? /* @__PURE__ */ (0, V.jsx)(LE, { children: i.error }) : null] }), /* @__PURE__ */ (0, V.jsx)(FE, { children: /* @__PURE__ */ (0, V.jsx)(J, {@@ -51645,19 +51645,19 @@ function abe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/tunnel-settings.tsx-var obe = 2e3, sbe = [["quick", "临时链接"], ["named", "命名隧道"]], cbe = {+var sbe = 2e3, cbe = [["quick", "临时链接"], ["named", "命名隧道"]], lbe = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function lbe({ revision: e, initial: t, receipt: n }) {+function ube({ revision: e, initial: t, receipt: n }) {let [r, i] = (0, B.useState)(t), [a, o] = (0, B.useState)(e), [s, c] = (0, B.useState)(t.mode), [l, u] = (0, B.useState)(t.hostname), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)({}), h = DE(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";(0, B.useEffect)(() => {if (r.state !== "starting") return;let e = new AbortController(), t = window.setInterval(() => {- mR(e.signal).then((t) => {- e.signal.aborted || !t.tunnel || (z.setQueryData(pR, t), i(t.tunnel), o(t.revision));+ pR(e.signal).then((t) => {+ e.signal.aborted || !t.tunnel || (z.setQueryData(fR, t), i(t.tunnel), o(t.revision));}).catch(() => void 0);- }, obe);+ }, sbe);return () => {e.abort(), window.clearInterval(t);};@@ -51672,7 +51672,7 @@ function lbe({ revision: e, initial: t, receipt: n }) {}, "POST", e), (e) => {i(e), o(e.revision), c(e.mode), u(e.hostname), f(""), n(e);}, (e) => {- let t = e instanceof jS ? e.body : null, n = t?.errors || t?.detail?.errors;+ let t = e instanceof AS ? e.body : null, n = t?.errors || t?.detail?.errors;n ? m(n) : h.setError(W(e));});};@@ -51682,20 +51682,20 @@ function lbe({ revision: e, initial: t, receipt: n }) {e.preventDefault(), v("save", g, () => n("已保存配置"));},children: [/* @__PURE__ */ (0, V.jsxs)(PE, { children: [- r.named_available ? /* @__PURE__ */ (0, V.jsx)(Qk, {+ r.named_available ? /* @__PURE__ */ (0, V.jsx)(Zk, {"aria-label": "公网入口的形态(二选一)",value: s,isDisabled: g,onChange: (e) => c(e),- className: $k,- children: sbe.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(_k, {+ className: Qk,+ children: cbe.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(_k, {value: e,- className: eA,+ className: $k,children: t}, e))}) : null,- /* @__PURE__ */ (0, V.jsx)(IE, { children: cbe[_ ? "named" : "quick"] }),- _ ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(UM, {+ /* @__PURE__ */ (0, V.jsx)(IE, { children: lbe[_ ? "named" : "quick"] }),+ _ ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(HM, {id: "tunnel-hostname",label: "公开主机名",autoComplete: "off",@@ -51706,7 +51706,7 @@ function lbe({ revision: e, initial: t, receipt: n }) {validationBehavior: "aria",isInvalid: !!p.hostname,hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"- }), /* @__PURE__ */ (0, V.jsx)(UM, {+ }), /* @__PURE__ */ (0, V.jsx)(HM, {id: "tunnel-token",type: "password",label: "隧道令牌",@@ -51754,28 +51754,28 @@ function lbe({ revision: e, initial: t, receipt: n }) {}//#endregion//#region src/react/settings/network-settings.tsx-var ube = [+var dbe = [["environment", "系统代理"],["direct", "直连"],["proxy", "自定义"]];-function dbe({ data: e, receipt: t, panel: n }) {+function fbe({ data: e, receipt: t, panel: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {- ..._R(n),+ ...gR(n),children: [- e.peach_proxy ? /* @__PURE__ */ (0, V.jsx)(fbe, {+ e.peach_proxy ? /* @__PURE__ */ (0, V.jsx)(pbe, {initial: e.peach_proxy,receipt: t}) : null,- e.entry_links ? /* @__PURE__ */ (0, V.jsx)(abe, {+ e.entry_links ? /* @__PURE__ */ (0, V.jsx)(obe, {initial: e.entry_links,receipt: t}) : null,- e.access ? /* @__PURE__ */ (0, V.jsx)(nbe, {+ e.access ? /* @__PURE__ */ (0, V.jsx)(rbe, {initial: e.access,receipt: t}) : null,- e.tunnel ? /* @__PURE__ */ (0, V.jsx)(lbe, {+ e.tunnel ? /* @__PURE__ */ (0, V.jsx)(ube, {revision: e.revision,initial: e.tunnel,receipt: t@@ -51783,7 +51783,7 @@ function dbe({ data: e, receipt: t, panel: n }) {]});}-function fbe({ initial: e, receipt: t }) {+function pbe({ initial: e, receipt: t }) {let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.mode), [o, s] = (0, B.useState)(""), c = DE();return /* @__PURE__ */ (0, V.jsxs)(ME, {id: "peachProxy",@@ -51800,13 +51800,13 @@ function fbe({ initial: e, receipt: t }) {/* @__PURE__ */ (0, V.jsx)(NE, { children: /* @__PURE__ */ (0, V.jsx)(kE, {label: "连接方式",description: "采集来源选「Peach 代理」时共用这里的连接方式。",- children: /* @__PURE__ */ (0, V.jsx)(wM, {+ children: /* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": "连接方式",selectedKey: i,onSelectionChange: (e) => {e !== null && a(String(e));},- children: ube.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(TM, {+ children: dbe.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(wM, {id: e,children: t}, e))@@ -51815,7 +51815,7 @@ function fbe({ initial: e, receipt: t }) {i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, V.jsxs)(PE, {divided: !0,children: [- i === "proxy" ? /* @__PURE__ */ (0, V.jsx)(UM, {+ i === "proxy" ? /* @__PURE__ */ (0, V.jsx)(HM, {id: "peachProxyAddress",type: "password",label: "代理地址",@@ -51842,12 +51842,12 @@ function fbe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/configuration-page.tsx-function pbe({ receipt: e, reopenTutorial: t, section: n = "" }) {- let r = TS({- queryKey: pR,- queryFn: ({ signal: e }) => mR(e)+function mbe({ receipt: e, reopenTutorial: t, section: n = "" }) {+ let r = wS({+ queryKey: fR,+ queryFn: ({ signal: e }) => pR(e)}), i = r.data;- return i ? /* @__PURE__ */ (0, V.jsx)(hbe, {+ return i ? /* @__PURE__ */ (0, V.jsx)(gbe, {data: i,receipt: e,reopenTutorial: t,@@ -51861,29 +51861,29 @@ function pbe({ receipt: e, reopenTutorial: t, section: n = "" }) {})});}-var mbe = 0;-function hbe({ data: e, receipt: t, reopenTutorial: n, section: r }) {- let [i] = (0, B.useState)(() => `board-tabs-${++mbe}`), [a, o] = (0, B.useState)(r), s = (0, B.useRef)([]), c = {+var hbe = 0;+function gbe({ data: e, receipt: t, reopenTutorial: n, section: r }) {+ let [i] = (0, B.useState)(() => `board-tabs-${++hbe}`), [a, o] = (0, B.useState)(r), s = (0, B.useRef)([]), c = {data: e,receipt: t}, l = !!(e.startup || e.automatic_updates || e.updates), u = !!(e.peach_proxy || e.entry_links || e.access || e.tunnel), d = e.downloads, f = [...l ? [{title: "通用",- body: (e) => /* @__PURE__ */ (0, V.jsx)(Aye, {+ body: (e) => /* @__PURE__ */ (0, V.jsx)(jye, {...c,panel: e})}] : [],{title: "媒体",- body: (e) => /* @__PURE__ */ (0, V.jsx)(Zye, {+ body: (e) => /* @__PURE__ */ (0, V.jsx)(Qye, {...c,panel: e})},...d ? [{title: "下载",- body: (e) => /* @__PURE__ */ (0, V.jsx)(_ye, {+ body: (e) => /* @__PURE__ */ (0, V.jsx)(vye, {initial: d,receipt: t,panel: e@@ -51891,14 +51891,14 @@ function hbe({ data: e, receipt: t, reopenTutorial: n, section: r }) {}] : [],...u ? [{title: "网络与访问",- body: (e) => /* @__PURE__ */ (0, V.jsx)(dbe, {+ body: (e) => /* @__PURE__ */ (0, V.jsx)(fbe, {...c,panel: e})}] : [],{title: "维护",- body: (e) => /* @__PURE__ */ (0, V.jsx)(Cye, {+ body: (e) => /* @__PURE__ */ (0, V.jsx)(wye, {...c,reopenTutorial: n,panel: e@@ -51949,19 +51949,19 @@ function hbe({ data: e, receipt: t, reopenTutorial: n, section: r }) {}//#endregion//#region src/number-setting.ts-function jR(e, t, n, r) {+function AR(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}//#endregion//#region src/react/settings/configuration-summary.tsx-var gbe = (e) => {+var _be = (e) => {let t = e.updates;return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";};-function _be({ openConfiguration: e }) {- let t = TS({- queryKey: pR,- queryFn: ({ signal: e }) => mR(e)+function vbe({ openConfiguration: e }) {+ let t = wS({+ queryKey: fR,+ queryFn: ({ signal: e }) => pR(e)}), n = t.data;return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col",@@ -51976,7 +51976,7 @@ function _be({ openConfiguration: e }) {}),/* @__PURE__ */ (0, V.jsx)(VE, {term: "更新",- children: gbe(n)+ children: _be(n)})] }) : /* @__PURE__ */ (0, V.jsx)(PE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",@@ -51993,16 +51993,16 @@ function _be({ openConfiguration: e }) {}//#endregion//#region src/react/settings-panel/legacy-controls.tsx-var MR = (e) => e.map(([e, t, n]) => n ? [+var jR = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function NR({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function MR({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, B.useRef)(null), d = (0, B.useRef)(null), f = (0, B.useRef)(l);return f.current = l, (0, B.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Me(t, n, MR(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Me(t, n, jR(r), i, {attr: a,className: o,text: s@@ -52020,13 +52020,13 @@ function NR({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function PR({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {+function NR({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {let d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(-1), m = (0, B.useRef)(l);return m.current = l, (0, B.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = He(MR(n), r, { label: t });+ e.innerHTML = He(jR(n), r, { label: t });let i = $e(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -52039,7 +52039,7 @@ function PR({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function vbe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function ybe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, B.useRef)(null), c = (0, B.useRef)(null), l = (0, B.useRef)({onStep: a,onSettle: o@@ -52074,7 +52074,7 @@ function vbe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet}//#endregion//#region src/react/settings-panel/glow-settings.tsx-var ybe = [+var bbe = [["strength","强度",@@ -52101,7 +52101,7 @@ var ybe = [100]];-function bbe({ host: e, spot: i, index: a, glow: o }) {+function xbe({ host: e, spot: i, index: a, glow: o }) {let s = t[a], c = (0, B.useRef)(null), l = (0, B.useRef)(null), d = (0, B.useRef)(null), [f, p] = (0, B.useState)("all");(0, B.useLayoutEffect)(() => {let [e, t, n] = [@@ -52179,7 +52179,7 @@ function bbe({ host: e, spot: i, index: a, glow: o }) {})]});}-function xbe({ host: e }) {+function Sbe({ host: e }) {let t = e.store.value.homeGlow, n = f(t.preset);return /* @__PURE__ */ (0, V.jsxs)("section", {"data-glow-setting": "",@@ -52198,7 +52198,7 @@ function xbe({ host: e }) {children: d(t.preset)})]}),- /* @__PURE__ */ (0, V.jsx)(oS, {+ /* @__PURE__ */ (0, V.jsx)(aS, {store: e.store,label: "光晕配色"}),@@ -52209,7 +52209,7 @@ function xbe({ host: e }) {}),/* @__PURE__ */ (0, V.jsx)("div", {"data-glow-fields": "",- children: ybe.map(([r, i, a]) => /* @__PURE__ */ (0, V.jsx)(vbe, {+ children: bbe.map(([r, i, a]) => /* @__PURE__ */ (0, V.jsx)(ybe, {field: r,label: i,max: a,@@ -52231,7 +52231,7 @@ function xbe({ host: e }) {hidden: n,children: [/* @__PURE__ */ (0, V.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, V.jsx)("div", {"data-glow-stops": "",- children: i.map((n, r) => /* @__PURE__ */ (0, V.jsx)(bbe, {+ children: i.map((n, r) => /* @__PURE__ */ (0, V.jsx)(xbe, {host: e,spot: n,index: r,@@ -52256,7 +52256,7 @@ function xbe({ host: e }) {}//#endregion//#region src/react/settings-panel/number-setting.tsx-var Sbe = {+var Cbe = {batchSizeSetting: {min: 1,max: 200,@@ -52297,10 +52297,10 @@ var Sbe = {optional: !0,fallback: 60}-}, FR = (e) => `peach.number.${e}`;-function IR({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = Sbe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, B.useRef)(0);- d.current ||= jR(Number(localStorage.getItem(FR(e))), o, s, n && n > 0 ? n : l);+}, PR = (e) => `peach.number.${e}`;+function FR({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = Cbe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, B.useRef)(0);+ d.current ||= AR(Number(localStorage.getItem(PR(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, B.useState)(n ?? 0), [m, h] = (0, B.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, B.useState)(""), v = (0, B.useRef)(null), y = (0, B.useRef)(i);y.current = i, (0, B.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));@@ -52312,7 +52312,7 @@ function IR({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`);return;}- t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(FR(e), String(d.current)), y.current(d.current);+ t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(PR(e), String(d.current)), y.current(d.current);}}, x = (0, B.useRef)(b);x.current = b, (0, B.useEffect)(() => {@@ -52327,7 +52327,7 @@ function IR({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {p(d.current), h(String(d.current)), y.current(d.current);return;}- t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(FR(e), String(d.current)), p(0), y.current(0);+ t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(PR(e), String(d.current)), p(0), y.current(0);}, w = r || n === null;return /* @__PURE__ */ (0, V.jsxs)("div", {"data-number-setting": "",@@ -52377,13 +52377,13 @@ function IR({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}//#endregion//#region src/react/sidebar/sidebar-order.ts-function LR(e) {- let { mutate: t } = Aj();+function IR(e) {+ let { mutate: t } = kj();return (0, B.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function RR(e, t, n, r) {+function LR(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -52393,17 +52393,17 @@ function RR(e, t, n, r) {}//#endregion//#region src/react/settings-panel/sidebar-order.tsx-var Cbe = "__home__", zR = (e) => e === "" ? Cbe : e;-function wbe({ host: e }) {- let t = LR(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, B.useState)(null), [c, l] = (0, B.useState)(!1), [u, d] = (0, B.useState)(null), [f, p] = (0, B.useState)(null), m = (0, B.useRef)(null), h = (0, B.useRef)(null), g = (e, r, i) => {- let a = RR(n, e, r, i);+var wbe = "__home__", RR = (e) => e === "" ? wbe : e;+function Tbe({ host: e }) {+ let t = IR(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, B.useState)(null), [c, l] = (0, B.useState)(!1), [u, d] = (0, B.useState)(null), [f, p] = (0, B.useState)(null), m = (0, B.useRef)(null), h = (0, B.useRef)(null), g = (e, r, i) => {+ let a = LR(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]) => zR(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => RR(e) === o) ?? a[0], y = () => {h.current && De(h.current), l(!1);}, b = () => {let e = h.current;@@ -52424,7 +52424,7 @@ function wbe({ host: e }) {}, C = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", zR(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", RR(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -52498,7 +52498,7 @@ function wbe({ host: e }) {})]})]- }, zR(e))), /* @__PURE__ */ (0, V.jsxs)("div", {+ }, RR(e))), /* @__PURE__ */ (0, V.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, V.jsxs)("div", {"data-sidebar-add-picker": "",@@ -52531,15 +52531,15 @@ function wbe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": zR(e),+ "data-sidebar-add-option": RR(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(zR(e)), y(), m.current?.focus();+ s(RR(e)), y(), m.current?.focus();},children: [/* @__PURE__ */ (0, V.jsx)(eT, { name: n ?? "" }), /* @__PURE__ */ (0, V.jsx)("span", { children: t })]- }, zR(e)))+ }, RR(e)))}) : null]}), /* @__PURE__ */ (0, V.jsx)("button", {type: "button",@@ -52556,7 +52556,7 @@ function wbe({ host: e }) {}//#endregion//#region src/react/settings-panel/settings-panel.tsx-var BR = [+var zR = [["界面", "ri-palette-line"],["浏览", "ri-layout-grid-line"],["播放", "ri-play-circle-line"],@@ -52564,7 +52564,7 @@ var BR = [["关注", "ri-rss-line"],["安全", "ri-shield-check-line"],["这台电脑", "ri-macbook-line"]-], Tbe = [+], Ebe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -52573,16 +52573,16 @@ var BR = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], Ebe = [["desc", "降序"], ["asc", "升序"]], Dbe = [+], Dbe = [["desc", "降序"], ["asc", "升序"]], Obe = [["off", "关闭"],["precise", "精准"],["coarse", "粗略"]-], Obe = [+], kbe = [["7", "每周"],["30", "每月"],["90", "每季"],["0", "从不"]-], kbe = [[+], Abe = [["cover","官方封面",""@@ -52590,7 +52590,7 @@ var BR = ["thumbnail","预览图",""-]], Abe = [+]], jbe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -52615,64 +52615,64 @@ var BR = ["feedHideExcerptDescription","把出过的正片剪成十几分钟单卖的,比如ハイライト厂牌。"]-], jbe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", VR = null, HR = {+], Mbe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", BR = null, VR = {open: !1,closing: !1,epoch: 0,tab: 0,machine: "none"-}, UR = 0, WR = null, GR = /* @__PURE__ */ new Set();-function Mbe(e) {- return GR.add(e), () => {- GR.delete(e);+}, HR = 0, UR = null, WR = /* @__PURE__ */ new Set();+function Nbe(e) {+ return WR.add(e), () => {+ WR.delete(e);};}-function Nbe() {- for (let e of [...GR]) e();+function Pbe() {+ for (let e of [...WR]) e();}-function KR(e) {- HR = {- ...HR,+function GR(e) {+ VR = {+ ...VR,...e- }, (0, $f.flushSync)(Nbe);+ }, (0, $f.flushSync)(Pbe);}-async function Pbe(e) {- if (HR.machine === "summary") return;+async function Fbe(e) {+ if (VR.machine === "summary") return;let t = await e.configurable();- if (HR.open) {+ if (VR.open) {if (!t) {- KR({ machine: "note" });+ GR({ machine: "note" });return;}try {- await hR(new AbortController().signal);+ await mR(new AbortController().signal);} catch {}- HR.open && KR({ machine: "summary" });+ VR.open && GR({ machine: "summary" });}}-function Fbe(e = "") {- let t = VR;+function Ibe(e = "") {+ let t = BR;if (!t) return;- we(), UR += 1, WR ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let n = BR.findIndex(([t]) => t === e), r = wue();- KR({+ we(), HR += 1, UR ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let n = zR.findIndex(([t]) => t === e), r = Tue();+ GR({open: !0,closing: !1,- epoch: HR.epoch + 1,- tab: n >= 0 ? n : HR.tab+ epoch: VR.epoch + 1,+ tab: n >= 0 ? n : VR.tab}), r.then((e) => {e && t.syncRemote(e);- }), Pbe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), Fbe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function qR() {- if (!HR.open || HR.closing) return;- let e = ++UR;- KR({ closing: !0 });+function KR() {+ if (!VR.open || VR.closing) return;+ let e = ++HR;+ GR({ closing: !0 });let t = () => {- e !== UR || !HR.closing || (KR({+ e !== HR || !VR.closing || (GR({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), WR instanceof HTMLElement && document.contains(WR) && WR.focus(), WR = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), UR instanceof HTMLElement && document.contains(UR) && UR.focus(), UR = null);};if (matchMedia("(prefers-reduced-motion: reduce)").matches) {queueMicrotask(t);@@ -52680,31 +52680,31 @@ function qR() {}document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380);}-var Ibe = {- open: Fbe,- close: qR,- isOpen: () => HR.open,+var Lbe = {+ open: Ibe,+ close: KR,+ isOpen: () => VR.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function Lbe(e) {- return VR = e, Ibe;+function Rbe(e) {+ return BR = e, Lbe;}-function Rbe() {- let e = (0, B.useSyncExternalStore)(Mbe, () => HR);- return VR ? /* @__PURE__ */ (0, V.jsx)(Vbe, {- host: VR,+function zbe() {+ let e = (0, B.useSyncExternalStore)(Nbe, () => VR);+ return BR ? /* @__PURE__ */ (0, V.jsx)(Hbe, {+ host: BR,view: e}) : null;}-function zbe(e) {+function Bbe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(jbe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(Mbe)].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 JR = (e) => `settings-tab-${e}`, YR = (e) => e === BR.length - 1 ? "machineGroup" : `settings-group-${e}`;-function Bbe({ tab: e, epoch: t, onSelect: n }) {+var qR = (e) => `settings-tab-${e}`, JR = (e) => e === zR.length - 1 ? "machineGroup" : `settings-group-${e}`;+function Vbe({ tab: e, epoch: t, onSelect: n }) {let r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(e), s = (0, B.useRef)([]), c = (e, t) => {let n = i.current;if (!n) return;@@ -52732,7 +52732,7 @@ function Bbe({ tab: e, epoch: t, onSelect: n }) {o.current = e, l.current(s.current[e], t);}, [e, t]);let u = (e, t) => {- let r = BR.length, i = t;+ let r = zR.length, i = t;if (e.key === "ArrowRight" || e.key === "ArrowDown") i = (t + 1) % r;else if (e.key === "ArrowLeft" || e.key === "ArrowUp") i = (t + r - 1) % r;else if (e.key === "Home") i = 0;@@ -52761,11 +52761,11 @@ function Bbe({ tab: e, epoch: t, onSelect: n }) {role: "presentation",children: "设置"}),- BR.map(([t, r], i) => /* @__PURE__ */ (0, V.jsxs)("button", {+ zR.map(([t, r], i) => /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",role: "tab",- id: JR(i),- "aria-controls": YR(i),+ id: qR(i),+ "aria-controls": JR(i),"aria-selected": i === e,tabIndex: i === e ? 0 : -1,ref: (e) => {@@ -52781,17 +52781,17 @@ function Bbe({ tab: e, epoch: t, onSelect: n }) {]});}-function XR({ index: e, tab: t, children: n }) {+function YR({ index: e, tab: t, children: n }) {return /* @__PURE__ */ (0, V.jsxs)("section", {"data-setting-group": "",- id: YR(e),+ id: JR(e),role: "tabpanel",- "aria-labelledby": JR(e),+ "aria-labelledby": qR(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, V.jsx)("h3", { children: BR[e][0] }), n]+ children: [/* @__PURE__ */ (0, V.jsx)("h3", { children: zR[e][0] }), n]});}-function ZR({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function XR({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, V.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, V.jsxs)("span", { children: [/* @__PURE__ */ (0, V.jsx)("b", { children: t }), /* @__PURE__ */ (0, V.jsx)("small", {@@ -52808,7 +52808,7 @@ function ZR({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function QR({ title: e, description: t, kind: n, children: r }) {+function ZR({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, V.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -52816,11 +52816,11 @@ function QR({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, V.jsxs)("span", { children: [/* @__PURE__ */ (0, V.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, V.jsx)("small", { children: t }) : t] }), r]});}-var $R = ({ html: e, ...t }) => /* @__PURE__ */ (0, V.jsx)("small", {+var QR = ({ html: e, ...t }) => /* @__PURE__ */ (0, V.jsx)("small", {...t,dangerouslySetInnerHTML: { __html: e }-}), ez = () => `${Ke("保存中")}<span>正在保存…</span>`, tz = (e, t) => e instanceof Error && e.message || t;-function Vbe({ host: e, view: t }) {+}), $R = () => `${Ke("保存中")}<span>正在保存…</span>`, ez = (e, t) => e instanceof Error && e.message || t;+function Hbe({ host: e, view: t }) {(0, B.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = (0, B.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -52841,7 +52841,7 @@ function Vbe({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (e) => {- e !== HR.tab && KR({ tab: e });+ e !== VR.tab && GR({ tab: e });}, p = () => e.store.save();return /* @__PURE__ */ (0, V.jsx)("section", {"data-settings-panel": "",@@ -52852,9 +52852,9 @@ function Vbe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: zbe,+ onKeyDown: Bbe,onClick: (e) => {- e.target === e.currentTarget && qR();+ e.target === e.currentTarget && KR();},children: /* @__PURE__ */ (0, V.jsxs)("div", {"data-settings-card": "",@@ -52865,19 +52865,19 @@ function Vbe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, V.jsx)("h2", {id: "settingsTitle",- children: BR[t.tab][0]+ children: zR[t.tab][0]}), /* @__PURE__ */ (0, V.jsx)("button", {type: "button",id: "settingsClose","aria-label": "关闭设置",- onClick: qR,+ onClick: KR,children: /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, V.jsx)("use", { href: "#i-x" })})})]}),- /* @__PURE__ */ (0, V.jsx)(Bbe, {+ /* @__PURE__ */ (0, V.jsx)(Vbe, {tab: t.tab,epoch: d,onSelect: f@@ -52886,14 +52886,14 @@ function Vbe({ host: e, view: t }) {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, V.jsxs)(XR, {+ /* @__PURE__ */ (0, V.jsxs)(YR, {index: 0,tab: t.tab,children: [- /* @__PURE__ */ (0, V.jsx)(QR, {+ /* @__PURE__ */ (0, V.jsx)(ZR, {title: "主题",description: "跟随系统,或固定用浅色、深色。",- children: /* @__PURE__ */ (0, V.jsx)(NR, {+ children: /* @__PURE__ */ (0, V.jsx)(MR, {id: "themeSetting",name: "theme",legend: "主题",@@ -52921,7 +52921,7 @@ function Vbe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, V.jsx)(ZR, {+ /* @__PURE__ */ (0, V.jsx)(XR, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -52930,7 +52930,7 @@ function Vbe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, V.jsx)(ZR, {+ /* @__PURE__ */ (0, V.jsx)(XR, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -52939,44 +52939,44 @@ function Vbe({ host: e, view: t }) {n.homeGlow.on = t, p(), e.changed("glow");}}),- /* @__PURE__ */ (0, V.jsx)(xbe, { host: e }),+ /* @__PURE__ */ (0, V.jsx)(Sbe, { host: e }),/* @__PURE__ */ (0, V.jsxs)("section", {"data-sidebar-setting": "","aria-labelledby": "sidebarOrderTitle",children: [/* @__PURE__ */ (0, V.jsxs)("span", { children: [/* @__PURE__ */ (0, V.jsx)("b", {id: "sidebarOrderTitle",children: "左侧导航"- }), /* @__PURE__ */ (0, V.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, V.jsx)(wbe, { host: e })]+ }), /* @__PURE__ */ (0, V.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, V.jsx)(Tbe, { host: e })]})]}),- /* @__PURE__ */ (0, V.jsx)(Ube, {+ /* @__PURE__ */ (0, V.jsx)(Wbe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, V.jsx)(Gbe, {+ /* @__PURE__ */ (0, V.jsx)(Kbe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, V.jsx)(XR, {+ /* @__PURE__ */ (0, V.jsx)(YR, {index: 3,tab: t.tab,- children: /* @__PURE__ */ (0, V.jsx)(qbe, {+ children: /* @__PURE__ */ (0, V.jsx)(Jbe, {host: e,epoch: d})}),- /* @__PURE__ */ (0, V.jsx)(Jbe, {+ /* @__PURE__ */ (0, V.jsx)(Ybe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, V.jsx)(XR, {+ /* @__PURE__ */ (0, V.jsx)(YR, {index: 5,tab: t.tab,- children: /* @__PURE__ */ (0, V.jsx)(ZR, {+ children: /* @__PURE__ */ (0, V.jsx)(XR, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -52985,10 +52985,10 @@ function Vbe({ host: e, view: t }) {onToggle: (t) => e.setCensored(t)})}),- /* @__PURE__ */ (0, V.jsx)(XR, {+ /* @__PURE__ */ (0, V.jsx)(YR, {index: 6,tab: t.tab,- children: /* @__PURE__ */ (0, V.jsx)(Xbe, {+ children: /* @__PURE__ */ (0, V.jsx)(Zbe, {host: e,machine: t.machine})@@ -52999,7 +52999,7 @@ function Vbe({ host: e, view: t }) {})});}-function Hbe(e, t) {+function Ube(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = je("arrow-up", "arrow-down", "a", {@@ -53009,18 +53009,18 @@ function Hbe(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function Ube({ host: e, tab: t, epoch: n }) {+function Wbe({ 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, V.jsxs)(XR, {+ return /* @__PURE__ */ (0, V.jsxs)(YR, {index: 1,tab: t,children: [- /* @__PURE__ */ (0, V.jsx)(QR, {+ /* @__PURE__ */ (0, V.jsx)(ZR, {title: "每批作品",description: "首页每次加载的作品数量。",children: /* @__PURE__ */ (0, V.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, V.jsx)(IR, {+ children: /* @__PURE__ */ (0, V.jsx)(FR, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -53030,7 +53030,7 @@ function Ube({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, V.jsx)(QR, {+ /* @__PURE__ */ (0, V.jsx)(ZR, {title: "默认排序",kind: "sort",description: /* @__PURE__ */ (0, V.jsx)("small", {@@ -53039,19 +53039,19 @@ function Ube({ host: e, tab: t, epoch: n }) {}),children: /* @__PURE__ */ (0, V.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, V.jsx)(PR, {+ children: [/* @__PURE__ */ (0, V.jsx)(NR, {id: "defaultSortSetting",label: "默认排序",- options: Tbe,+ options: Ebe,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, V.jsx)(PR, {+ }), /* @__PURE__ */ (0, V.jsx)(NR, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: Ebe,+ options: Dbe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -53060,7 +53060,7 @@ function Ube({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => Hbe(e, o)+ decorate: (e) => Ube(e, o)})]})}),@@ -53077,29 +53077,29 @@ function Ube({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, V.jsx)(QR, {+ /* @__PURE__ */ (0, V.jsx)(ZR, {title: "JAV 默认封面",description: "首页、接着看和 Mix 等位置共用;缺图时使用另一种封面。",- children: /* @__PURE__ */ (0, V.jsx)(NR, {+ children: /* @__PURE__ */ (0, V.jsx)(MR, {id: "javImageSetting",name: "jav-image",legend: "JAV 默认封面",- options: kbe,+ options: Abe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",text: !0,epoch: n,onChoose: (t) => {- r.javImage = OC(t), i(), e.changed("javImage");+ r.javImage = DC(t), i(), e.changed("javImage");}})}),- /* @__PURE__ */ (0, V.jsx)(QR, {+ /* @__PURE__ */ (0, V.jsx)(ZR, {title: "视频封面默认大小",kind: "related",description: "首页和 JAV 等视频列表共用;小图展示完整封套,大图展示完整正封。",- children: /* @__PURE__ */ (0, V.jsx)(NR, {+ children: /* @__PURE__ */ (0, V.jsx)(MR, {id: "javSizeSetting",name: "video-size",legend: "视频封面默认大小",@@ -53112,7 +53112,7 @@ function Ube({ host: e, tab: t, epoch: n }) {onChoose: (t) => e.setVideoLayout(t)})}),- /* @__PURE__ */ (0, V.jsx)(ZR, {+ /* @__PURE__ */ (0, V.jsx)(XR, {id: "feedAutoScrollSetting",title: "新作自动滚动",checked: r.feedAutoScroll,@@ -53121,7 +53121,7 @@ function Ube({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- Abe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, V.jsx)(Wbe, {+ jbe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, V.jsx)(Gbe, {host: e,id: t,settingKey: n,@@ -53133,8 +53133,8 @@ function Ube({ host: e, tab: t, epoch: n }) {]});}-function Wbe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {- let s = Aj(), [c, l] = (0, B.useState)(null), u = (0, B.useRef)(null), d = e.store.value, f = (t) => {+function Gbe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {+ let s = kj(), [c, l] = (0, B.useState)(null), u = (0, B.useRef)(null), d = e.store.value, f = (t) => {l(t), Ue(u.current), s.mutate({ [n]: t }, {onSuccess: (i) => {d[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);@@ -53162,28 +53162,28 @@ function Wbe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a})]});}-function Gbe({ host: e, tab: t, epoch: n }) {+function Kbe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, V.jsxs)(XR, {+ return /* @__PURE__ */ (0, V.jsxs)(YR, {index: 2,tab: t,children: [- /* @__PURE__ */ (0, V.jsx)(QR, {+ /* @__PURE__ */ (0, V.jsx)(ZR, {title: "悬停放大",description: "转圈完成后进入放大预览。",children: /* @__PURE__ */ (0, V.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, V.jsx)(IR, {+ children: /* @__PURE__ */ (0, V.jsx)(FR, {id: "hoverDelaySetting",label: "悬停放大",value: r.hoverDelaySeconds,onApply: (t) => {- r.hoverDelaySeconds = jR(t, 0, 60, 5), i(), e.changed("hoverDelay");+ r.hoverDelaySeconds = AR(t, 0, 60, 5), i(), e.changed("hoverDelay");}}, n)})}),- /* @__PURE__ */ (0, V.jsx)(ZR, {+ /* @__PURE__ */ (0, V.jsx)(XR, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: r.detailAutoplay,@@ -53192,7 +53192,7 @@ function Gbe({ host: e, tab: t, epoch: n }) {r.detailAutoplay = e, i();}}),- /* @__PURE__ */ (0, V.jsx)(ZR, {+ /* @__PURE__ */ (0, V.jsx)(XR, {id: "miniplayerSetting",title: "小窗播放",checked: r.miniplayer,@@ -53201,12 +53201,12 @@ function Gbe({ host: e, tab: t, epoch: n }) {r.miniplayer = t, i(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, V.jsx)(QR, {+ /* @__PURE__ */ (0, V.jsx)(ZR, {title: "快进 / 快退",description: "卡片预览和详情播放器共用。",children: /* @__PURE__ */ (0, V.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, V.jsx)(IR, {+ children: /* @__PURE__ */ (0, V.jsx)(FR, {id: "seekSecondsSetting",label: "快进 / 快退",value: r.seekSeconds,@@ -53216,13 +53216,13 @@ function Gbe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, V.jsx)(Kbe, { epoch: n }),- /* @__PURE__ */ (0, V.jsx)(QR, {+ /* @__PURE__ */ (0, V.jsx)(qbe, { epoch: n }),+ /* @__PURE__ */ (0, V.jsx)(ZR, {title: "相关推荐",description: "详情下方一次显示的相似作品数量。",children: /* @__PURE__ */ (0, V.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, V.jsx)(IR, {+ children: /* @__PURE__ */ (0, V.jsx)(FR, {id: "relatedLimitSetting",label: "相关推荐",value: r.relatedLimit,@@ -53235,26 +53235,26 @@ function Gbe({ host: e, tab: t, epoch: n }) {]});}-function Kbe({ epoch: e }) {- let t = TS({- queryKey: Dj,- queryFn: ({ signal: e }) => kj(e)- }), n = Eue(), r = n.reset;+function qbe({ epoch: e }) {+ let t = wS({+ queryKey: Ej,+ queryFn: ({ signal: e }) => Oj(e)+ }), n = Due(), r = n.reset;(0, B.useEffect)(() => {r();}, [e, r]);- let i = t.data?.mode || "off", a = n.isPending ? ez() : t.isFetching ? Pe("正在读取状态") : n.isError ? nz(tz(n.error, "保存失败")) : t.isError ? nz(`状态未取得:${tz(t.error, String(t.error))}`) : t.data ? nz(Oue(t.data)) : "读取运行状态…";- return /* @__PURE__ */ (0, V.jsx)(QR, {+ let i = t.data?.mode || "off", a = n.isPending ? $R() : t.isFetching ? Pe("正在读取状态") : n.isError ? tz(ez(n.error, "保存失败")) : t.isError ? tz(`状态未取得:${ez(t.error, String(t.error))}`) : t.data ? tz(kue(t.data)) : "读取运行状态…";+ return /* @__PURE__ */ (0, V.jsx)(ZR, {title: "视频缩略图采集",- description: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("small", { children: "拖动进度条时按时间点看画面。精准每 10 秒一张,粗略每 30 秒一张;两小时的片子约 720 / 240 张,占 20–100 / 7–35 MB。只采集本机磁盘上的片子,网盘上的每张都要回源拉一次。" }), /* @__PURE__ */ (0, V.jsx)($R, {+ description: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("small", { children: "拖动进度条时按时间点看画面。精准每 10 秒一张,粗略每 30 秒一张;两小时的片子约 720 / 240 张,占 20–100 / 7–35 MB。只采集本机磁盘上的片子,网盘上的每张都要回源拉一次。" }), /* @__PURE__ */ (0, V.jsx)(QR, {id: "videoThumbnailState","aria-live": "polite",html: a})] }),- children: /* @__PURE__ */ (0, V.jsx)(PR, {+ children: /* @__PURE__ */ (0, V.jsx)(NR, {id: "videoThumbnailSetting",label: "视频缩略图采集",- options: Dbe,+ options: Obe,value: n.isPending || n.isError ? n.variables ?? i : i,disabled: n.isPending || t.isFetching,epoch: e,@@ -53262,26 +53262,26 @@ function Kbe({ epoch: e }) {})});}-function qbe({ host: e, epoch: t }) {- let n = e.store.value, r = Aj();- return /* @__PURE__ */ (0, V.jsx)(QR, {+function Jbe({ host: e, epoch: t }) {+ let n = e.store.value, r = kj();+ return /* @__PURE__ */ (0, V.jsx)(ZR, {title: "搜索记录",description: "保存在 Peach 账本,所有访问端同步。",children: /* @__PURE__ */ (0, V.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, V.jsx)(IR, {+ children: /* @__PURE__ */ (0, V.jsx)(FR, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,onApply: (t) => {- n.searchHistoryLimit = jR(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ n.searchHistoryLimit = AR(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });}}, t)})});}-function Jbe({ host: e, tab: t, epoch: n }) {- let r = e.store.value, i = Aj(), o = Aj(), [s, c] = (0, B.useState)("");+function Ybe({ host: e, tab: t, epoch: n }) {+ let r = e.store.value, i = kj(), o = kj(), [s, c] = (0, B.useState)("");(0, B.useEffect)(() => {c("");}, [n]);@@ -53291,22 +53291,22 @@ function Jbe({ host: e, tab: t, epoch: n }) {typeof t.followInitialDays == "number" && (r.followInitialDays = t.followInitialDays), e.store.save(), c("已保存,适用于尚未开始采集的来源。"), e.receipt("已保存首次采集历史范围");},onError: (t) => {- c(tz(t, "")), e.failure("保存首次采集历史范围", t);+ c(ez(t, "")), e.failure("保存首次采集历史范围", t);}}));};- return /* @__PURE__ */ (0, V.jsxs)(XR, {+ return /* @__PURE__ */ (0, V.jsxs)(YR, {index: 4,tab: t,children: [- /* @__PURE__ */ (0, V.jsx)(QR, {+ /* @__PURE__ */ (0, V.jsx)(ZR, {title: "首次采集历史范围",description: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("small", { children: "按发布时间限制新来源首次导入的内容;范围内不足 30 条时补到 30 条。没有日期的条目仍会导入;已有内容不受影响,支持历史分页的来源可手动加载更早。" }), /* @__PURE__ */ (0, V.jsx)("small", {id: "followInitialDaysState","aria-live": "polite",children: s})] }),- children: /* @__PURE__ */ (0, V.jsx)(PR, {+ children: /* @__PURE__ */ (0, V.jsx)(NR, {id: "followInitialDaysSetting",label: "首次采集历史范围",options: e.followInitialRanges,@@ -53316,14 +53316,14 @@ function Jbe({ host: e, tab: t, epoch: n }) {onPick: (e) => l(Number(e))})}),- /* @__PURE__ */ (0, V.jsx)(Ybe, { epoch: n }),- /* @__PURE__ */ (0, V.jsx)(QR, {+ /* @__PURE__ */ (0, V.jsx)(Xbe, { epoch: n }),+ /* @__PURE__ */ (0, V.jsx)(ZR, {title: "头像与站点图标刷新",description: "创作者头像、来源图标和外链圆标保存在本机,到期后下次显示时重新取一次;视频与图片不保存。",- children: /* @__PURE__ */ (0, V.jsx)(PR, {+ children: /* @__PURE__ */ (0, V.jsx)(NR, {id: "metadataRefreshSetting",label: "头像与站点图标刷新",- options: Obe,+ options: kbe,value: String(r.metadataRefreshDays),epoch: n,onPick: (t) => {@@ -53335,25 +53335,25 @@ function Jbe({ host: e, tab: t, epoch: n }) {]});}-function Ybe({ epoch: e }) {- let t = TS({- queryKey: Ej,- queryFn: ({ signal: e }) => Oj(e)- }), n = Tue(), r = n.reset;+function Xbe({ epoch: e }) {+ let t = wS({+ queryKey: Tj,+ queryFn: ({ signal: e }) => Dj(e)+ }), n = Eue(), r = n.reset;(0, B.useEffect)(() => {r();}, [e, r]);- let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? ez() : t.isFetching ? Pe("正在读取状态") : n.isError ? nz(tz(n.error, "保存失败")) : t.isError ? nz(`状态未取得:${tz(t.error, String(t.error))}`) : i ? nz(Due(i)) : "读取运行状态…";- return /* @__PURE__ */ (0, V.jsx)(QR, {+ let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? $R() : t.isFetching ? Pe("正在读取状态") : n.isError ? tz(ez(n.error, "保存失败")) : t.isError ? tz(`状态未取得:${ez(t.error, String(t.error))}`) : i ? tz(Oue(i)) : "读取运行状态…";+ return /* @__PURE__ */ (0, V.jsx)(ZR, {title: "关注自动更新",- description: /* @__PURE__ */ (0, V.jsx)($R, {+ description: /* @__PURE__ */ (0, V.jsx)(QR, {id: "followScheduleState","aria-live": "polite",html: o}),children: /* @__PURE__ */ (0, V.jsx)("div", {id: "followScheduleSetting",- children: /* @__PURE__ */ (0, V.jsx)(IR, {+ children: /* @__PURE__ */ (0, V.jsx)(FR, {id: "followScheduleSetting",label: "关注自动更新",value: i && !a ? i.enabled ? i.interval_minutes : 0 : null,@@ -53363,13 +53363,13 @@ function Ybe({ epoch: e }) {})});}-function Xbe({ host: e, machine: t }) {+function Zbe({ host: e, machine: t }) {return t === "summary" ? /* @__PURE__ */ (0, V.jsx)("div", {id: "machineSettings",children: /* @__PURE__ */ (0, V.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, V.jsx)(_be, { openConfiguration: () => {- qR(), e.openConfiguration();+ children: /* @__PURE__ */ (0, V.jsx)(vbe, { openConfiguration: () => {+ KR(), e.openConfiguration();} })})}, "summary") : t === "note" ? /* @__PURE__ */ (0, V.jsx)("div", {@@ -53377,73 +53377,73 @@ function Xbe({ host: e, machine: t }) {dangerouslySetInnerHTML: { __html: Ie("媒体文件夹、端口、代理与更新只能在运行 Peach 服务的那台设备上改:在它的浏览器里打开配置页。", { label: "在服务端设备修改" }) }}, "note") : /* @__PURE__ */ (0, V.jsx)("div", { id: "machineSettings" }, "none");}-function nz(e) {+function tz(e) {return e.replace(/[&<>"']/g, (e) => `&#${e.charCodeAt(0)};`);}//#endregion//#region src/react/sidebar/sidebar-island.tsx-var rz = "__home__", Zbe = {+var nz = "__home__", Qbe = {creator: 26,tag: 30,tech: 16-}, iz = 180, az = null, oz = {+}, rz = 180, iz = null, az = {props: {content: null,filters: {},latest: null},epoch: 0-}, sz = /* @__PURE__ */ new Set();-function Qbe(e) {- return sz.add(e), () => {- sz.delete(e);+}, oz = /* @__PURE__ */ new Set();+function $be(e) {+ return oz.add(e), () => {+ oz.delete(e);};}-function cz() {- for (let e of [...sz]) e();+function sz() {+ for (let e of [...oz]) e();}-var $be = {+var exe = {render(e) {- oz = {- ...oz,+ az = {+ ...az,props: e- }, (0, $f.flushSync)(cz);+ }, (0, $f.flushSync)(sz);},navChanged() {- oz = {- ...oz,- epoch: oz.epoch + 1- }, (0, $f.flushSync)(cz);+ az = {+ ...az,+ epoch: az.epoch + 1+ }, (0, $f.flushSync)(sz);}};-function exe(e) {- return az = e, oz = {- ...oz,+function txe(e) {+ return iz = e, az = {+ ...az,props: {content: null,filters: {},latest: null}- }, $be;+ }, exe;}-function txe() {- let e = (0, B.useSyncExternalStore)(Qbe, () => oz);- return az ? /* @__PURE__ */ (0, V.jsx)(nxe, {- host: az,+function nxe() {+ let e = (0, B.useSyncExternalStore)($be, () => az);+ return iz ? /* @__PURE__ */ (0, V.jsx)(rxe, {+ host: iz,props: e.props,epoch: e.epoch}) : null;}-function nxe({ host: e, props: t, epoch: n }) {+function rxe({ host: e, props: t, epoch: n }) {let r = (0, B.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, V.jsx)(rxe, {+ /* @__PURE__ */ (0, V.jsx)(ixe, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, V.jsx)(axe, {+ t.content ? /* @__PURE__ */ (0, V.jsx)(oxe, {host: e,content: t.content,filters: t.filters,@@ -53451,8 +53451,8 @@ function nxe({ host: e, props: t, epoch: n }) {}) : null] });}-function rxe({ host: e, epoch: t, version: n }) {- let r = LR(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, B.useRef)(null), l = (0, B.useRef)(null), u = fD(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || rz : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function ixe({ host: e, epoch: t, version: n }) {+ let r = IR(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, B.useRef)(null), l = (0, B.useRef)(null), u = fD(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || nz : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, B.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());return [@@ -53470,7 +53470,7 @@ function rxe({ host: e, epoch: t, version: n }) {}, _ = (e) => ({draggable: !0,onDragStart: (t) => {- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || rz);+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || nz);},onDragOver: (t) => {if (f === null || f === e) return;@@ -53485,7 +53485,7 @@ function rxe({ host: e, epoch: t, version: n }) {t.preventDefault();let n = f, a = m?.key === e && m.after;g();- let o = n === null ? null : RR(i, n, e, a);+ let o = n === null ? null : LR(i, n, e, a);o && r(o);},onDragEnd: g@@ -53509,15 +53509,15 @@ function rxe({ host: e, epoch: t, version: n }) {src: "/peach-logo.png",alt: ""}) : /* @__PURE__ */ (0, V.jsx)(eT, { name: r }), /* @__PURE__ */ (0, V.jsx)("span", { children: n })]- }, t || rz))+ }, t || nz))}), v ? (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)("span", {"data-sidebar-glide": "","aria-hidden": "true",ref: l}), v) : null] });}-var lz = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function ixe(e) {+var cz = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function axe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -53530,7 +53530,7 @@ function ixe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function axe({ host: e, content: t, filters: n, latest: r }) {+function oxe({ 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(",")}`;(0, B.useLayoutEffect)(() => {t.kind === "catalog" && Le(e.scroll, "drawer");@@ -53539,8 +53539,8 @@ function axe({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? oxe(e, t.facets, n, r, i) : [sxe(e, t.tags, new Set(t.selected))], o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, V.jsx)(cxe, {+ let a = t.kind === "catalog" ? sxe(e, t.facets, n, r, i) : [cxe(e, t.tags, new Set(t.selected))], o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, V.jsx)(lxe, {title: e.title,kind: e.kind,active: e.active,@@ -53549,11 +53549,11 @@ function axe({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function oxe(e, t, n, r, i) {- let a = ixe(r), o = (t, r, i) => {+function sxe(e, t, n, r, i) {+ let a = axe(r), o = (t, r, i) => {if (!t.length) return null;- let o = lz(n, r);- return /* @__PURE__ */ (0, V.jsx)(fz, {+ let o = cz(n, r);+ return /* @__PURE__ */ (0, V.jsx)(dz, {rows: t,filterKey: r,multi: i,@@ -53563,7 +53563,7 @@ function oxe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = lz(n, l), p = c.some((e) => f.includes(e.value));+ let f = cz(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -53575,12 +53575,12 @@ function oxe(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, V.jsx)(uxe, {+ body: /* @__PURE__ */ (0, V.jsx)(dxe, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: Zbe[d],+ limit: Qbe[d],filterKey: l,selected: f,counts: a,@@ -53595,7 +53595,7 @@ function oxe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, V.jsx)(dxe, {+ body: /* @__PURE__ */ (0, V.jsx)(fxe, {host: e,filters: n})@@ -53609,7 +53609,7 @@ function oxe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, V.jsx)(pz, {+ body: /* @__PURE__ */ (0, V.jsx)(fz, {rows: t.followTags,host: e,selected: null,@@ -53618,12 +53618,12 @@ function oxe(e, t, n, r, i) {} : null];}-function sxe(e, t, n) {+function cxe(e, t, n) {return t.length ? {title: "内容标签",kind: "online",active: t.some((e) => n.has(e.value)),- body: /* @__PURE__ */ (0, V.jsx)(pz, {+ body: /* @__PURE__ */ (0, V.jsx)(fz, {rows: t,host: e,selected: n,@@ -53631,19 +53631,19 @@ function sxe(e, t, n) {})} : null;}-function uz(e, t) {+function lz(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function cxe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, B.useRef)(null), s = (0, B.useRef)(null), [c, l] = (0, B.useState)(() => uz(e, n)), u = (0, B.useRef)(!1);+function lxe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, B.useRef)(null), s = (0, B.useRef)(null), [c, l] = (0, B.useState)(() => lz(e, n)), u = (0, B.useRef)(!1);(0, B.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? uz(e, n) : c;+ let i = u.current ? lz(e, n) : c;u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("fcollapse") && r.classList.toggle("fcollapse-settled", i), l(i));}, [i]);let d = (t) => {@@ -53675,7 +53675,7 @@ function cxe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, V.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, V.jsx)(dz.Provider, {+ children: /* @__PURE__ */ (0, V.jsx)(uz.Provider, {value: d,children: a})@@ -53684,15 +53684,15 @@ function cxe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var dz = (0, B.createContext)(() => {});-function lxe({ dot: e }) {+var uz = (0, B.createContext)(() => {});+function uxe({ dot: e }) {return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, V.jsx)(eT, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, V.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, V.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function fz({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }) {+function dz({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }) {return /* @__PURE__ */ (0, V.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -53709,7 +53709,7 @@ function fz({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }title: e.offline,onClick: () => a.toggleChip(t, e.value, n),children: [- /* @__PURE__ */ (0, V.jsx)(lxe, { dot: e.dot }),+ /* @__PURE__ */ (0, V.jsx)(uxe, { dot: e.dot }),/* @__PURE__ */ (0, V.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -53724,8 +53724,8 @@ function fz({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }})});}-function uxe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, B.useContext)(dz), [d, f] = (0, B.useState)(null), [p, m] = (0, B.useState)(e);+function dxe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, B.useContext)(uz), [d, f] = (0, B.useState)(null), [p, m] = (0, B.useState)(e);p !== e && (m(e), f(null));let h = (0, B.useRef)(null), g = (0, B.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, B.useLayoutEffect)(() => {@@ -53740,7 +53740,7 @@ function uxe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("fcollapse"), Ae(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(fz, {+ }, [d, _]), /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(dz, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -53768,7 +53768,7 @@ function uxe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, schildren: /* @__PURE__ */ (0, V.jsx)(eT, { name: "chevron-down" })}) : null] });}-function pz({ rows: e, host: t, selected: n, badges: r }) {+function fz({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, V.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, V.jsxs)("button", {@@ -53789,10 +53789,10 @@ function pz({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var mz = (e, t) => e ? Math.min(iz, Number(e) / 60) : t;-function dxe({ host: e, filters: t }) {- let n = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [r, i] = (0, B.useState)(n), [a, o] = (0, B.useState)(() => [mz(t.dur_min, 0), mz(t.dur_max, iz)]), [s, c] = (0, B.useState)("max");- r !== n && (i(n), o([mz(t.dur_min, 0), mz(t.dur_max, iz)]));+var pz = (e, t) => e ? Math.min(rz, Number(e) / 60) : t;+function fxe({ host: e, filters: t }) {+ let n = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [r, i] = (0, B.useState)(n), [a, o] = (0, B.useState)(() => [pz(t.dur_min, 0), pz(t.dur_max, rz)]), [s, c] = (0, B.useState)("max");+ r !== n && (i(n), o([pz(t.dur_min, 0), pz(t.dur_max, rz)]));let [l, u] = a, d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = (0, B.useRef)(a);m.current = a;let h = (e, t) => {@@ -53805,11 +53805,11 @@ function dxe({ host: e, filters: t }) {}, [e]), (0, B.useLayoutEffect)(() => {let e = d.current;if (!e) return;- e.style.setProperty("--lo", `${l / iz * 100}%`), e.style.setProperty("--hi", `${u / iz * 100}%`);+ e.style.setProperty("--lo", `${l / rz * 100}%`), e.style.setProperty("--hi", `${u / rz * 100}%`);let t = e.getBoundingClientRect();e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {let n = e.dataset.rangeEnd === "max" ? u : l;- e.style.left = `${n / iz * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / rz * 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`);});@@ -53819,7 +53819,7 @@ function dxe({ host: e, filters: t }) {"data-range-end": e,"data-range-active": s === e ? "" : void 0,"aria-hidden": "true",- children: e === "max" && t >= iz ? "不限" : `${t} 分钟`+ children: e === "max" && t >= rz ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, V.jsx)("div", {"data-sidebar-duration": "",@@ -53834,7 +53834,7 @@ function dxe({ host: e, filters: t }) {id: "durMin",type: "range",min: "0",- max: iz,+ max: rz,step: "5",value: l,"aria-label": "最短时长(分钟)",@@ -53845,7 +53845,7 @@ function dxe({ host: e, filters: t }) {id: "durMax",type: "range",min: "0",- max: iz,+ max: rz,step: "5",value: u,"aria-label": "最长时长(分钟)",@@ -53860,14 +53860,14 @@ function dxe({ host: e, filters: t }) {}//#endregion//#region src/react/stats/stats.ts-var fxe = "/api/stats", hz = ["stats"], gz = (e) => G(fxe, e);-async function pxe(e) {+var pxe = "/api/stats", mz = ["stats"], hz = (e) => G(pxe, e);+async function mxe(e) {await z.fetchQuery({- queryKey: hz,- queryFn: () => gz(e)+ queryKey: mz,+ queryFn: () => hz(e)});}-var _z = (e, t) => t ? Math.round(e / t * 100) : 0, mxe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, vz = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, yz = (e) => (e.max_reached || 0) * 100, hxe = (e) => e.kind === "online" ? "在线直接观看" : vz(e) < yz(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", gxe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, _xe = (e) => Math.max(1, ...e) * 1.1, vxe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), yxe = {+var gz = (e, t) => t ? Math.round(e / t * 100) : 0, hxe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, _z = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, vz = (e) => (e.max_reached || 0) * 100, gxe = (e) => e.kind === "online" ? "在线直接观看" : _z(e) < vz(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", _xe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, vxe = (e) => Math.max(1, ...e) * 1.1, yxe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), bxe = {video: "视频",image: "图片",illustration: "插画",@@ -53875,18 +53875,18 @@ var _z = (e, t) => t ? Math.round(e / t * 100) : 0, mxe = (e) => e >= 3600 ? `${audio: "音频",account: "账号",other: "其它文件"-}, bxe = (e) => e.map((e) => ({- name: yxe[e.k] ?? e.k,+}, xxe = (e) => e.map((e) => ({+ name: bxe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), xxe = {+})).sort((e, t) => t.value - e.value), Sxe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, bz = (e, t = {}) => e.map((e) => ({+}, yz = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), Sxe = (e) => bz(e, xxe), Cxe = [+})), Cxe = (e) => yz(e, Sxe), wxe = [[1,1,@@ -53922,49 +53922,49 @@ var _z = (e, t) => t ? Math.round(e / t * 100) : 0, mxe = (e) => e >= 3600 ? `${Infinity,"≥10 次"]-], wxe = (e) => Cxe.map(([t, n, r]) => ({+], Txe = (e) => wxe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)-})), Txe = /* @__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 xz(e) {- return typeof e == "string" && Txe.includes(e);+})), Exe = /* @__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 bz(e) {+ return typeof e == "string" && Exe.includes(e);}//#endregion//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js-var Exe = /* @__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 Sz(e) {- return typeof e == "string" && Exe.has(e);+var Dxe = /* @__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 xz(e) {+ return typeof e == "string" && Dxe.has(e);}-function Cz(e) {+function Sz(e) {return typeof e == "string" && e.startsWith("data-");}-function wz(e) {+function Cz(e) {if (typeof e != "object" || !e) return {};var t = {};- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (Sz(n) || Cz(n)) && (t[n] = e[n]);+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (xz(n) || Sz(n)) && (t[n] = e[n]);return t;}-function Tz(e) {+function wz(e) {if (e == null) return null;if (/*#__PURE__*/ (0, B.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {var t = e.props;- return wz(t);+ return Cz(t);}- return typeof e == "object" && !Array.isArray(e) ? wz(e) : null;+ return typeof e == "object" && !Array.isArray(e) ? Cz(e) : null;}//#endregion//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js-function Ez(e) {+function Tz(e) {var t = {};- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (Sz(n) || Cz(n) || xz(n)) && (t[n] = e[n]);+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (xz(n) || Sz(n) || bz(n)) && (t[n] = e[n]);return t;}-function Dxe(e) {- return e == null ? null : /*#__PURE__*/ (0, B.isValidElement)(e) ? Ez(e.props) : typeof e == "object" && !Array.isArray(e) ? Ez(e) : null;+function Oxe(e) {+ return e == null ? null : /*#__PURE__*/ (0, B.isValidElement)(e) ? Tz(e.props) : typeof e == "object" && !Array.isArray(e) ? Tz(e) : null;}//#endregion//#region node_modules/recharts/es6/container/Surface.js-var Oxe = [+var kxe = ["children","width","height",@@ -53974,25 +53974,25 @@ var Oxe = ["title","desc"];-function Dz() {- return Dz = Object.assign ? Object.assign.bind() : function(e) {+function Ez() {+ return Ez = 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;- }, Dz.apply(null, arguments);+ }, Ez.apply(null, arguments);}-function kxe(e, t) {+function Axe(e, t) {if (e == null) return {};- var n, r, i = Axe(e, t);+ var n, r, i = jxe(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 Axe(e, t) {+function jxe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -54001,14 +54001,14 @@ function Axe(e, t) {}return n;}-var Oz = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = kxe(e, Oxe), d = a || {+var Dz = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Axe(e, kxe), d = a || {width: r,height: i,x: 0,y: 0}, f = _h("recharts-surface", o);- return /*#__PURE__*/ B.createElement("svg", Dz({}, Ez(u), {+ return /*#__PURE__*/ B.createElement("svg", Ez({}, Tz(u), {className: f,width: r,height: i,@@ -54016,26 +54016,26 @@ var Oz = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,ref: t}), /*#__PURE__*/ B.createElement("title", null, c), /*#__PURE__*/ B.createElement("desc", null, l), n);-}), jxe = ["children", "className"];-function kz() {- return kz = Object.assign ? Object.assign.bind() : function(e) {+}), Mxe = ["children", "className"];+function Oz() {+ return Oz = 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;- }, kz.apply(null, arguments);+ }, Oz.apply(null, arguments);}-function Mxe(e, t) {+function Nxe(e, t) {if (e == null) return {};- var n, r, i = Nxe(e, t);+ var n, r, i = Pxe(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 Nxe(e, t) {+function Pxe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -54044,39 +54044,39 @@ function Nxe(e, t) {}return n;}-var Az = /*#__PURE__*/ B.forwardRef((e, t) => {- var { children: n, className: r } = e, i = Mxe(e, jxe), a = _h("recharts-layer", r);- return /*#__PURE__*/ B.createElement("g", kz({ className: a }, Ez(i), { ref: t }), n);-}), jz = /*#__PURE__*/ (0, B.createContext)(null), Pxe = () => (0, B.useContext)(jz);+var kz = /*#__PURE__*/ B.forwardRef((e, t) => {+ var { children: n, className: r } = e, i = Nxe(e, Mxe), a = _h("recharts-layer", r);+ return /*#__PURE__*/ B.createElement("g", Oz({ className: a }, Tz(i), { ref: t }), n);+}), Az = /*#__PURE__*/ (0, B.createContext)(null), Fxe = () => (0, B.useContext)(Az);//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js-function Mz(e) {+function jz(e) {return function() {return e;};}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js-var Nz = Math.cos, Pz = Math.sin, Fz = Math.sqrt, Iz = Math.PI;-Iz / 2;-var Lz = 2 * Iz, Rz = Math.PI, zz = 2 * Rz, Bz = 1e-6, Fxe = zz - Bz;-function Vz(e) {+var Mz = Math.cos, Nz = Math.sin, Pz = Math.sqrt, Fz = Math.PI;+Fz / 2;+var Iz = 2 * Fz, Lz = Math.PI, Rz = 2 * Lz, zz = 1e-6, Ixe = Rz - zz;+function Bz(e) {this._ += e[0];for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];}-function Ixe(e) {+function Lxe(e) {let t = Math.floor(e);if (!(t >= 0)) throw Error(`invalid digits: ${e}`);- if (t > 15) return Vz;+ if (t > 15) return Bz;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 Hz = class {+var Vz = class {constructor(e) {- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? Vz : Ixe(e);+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? Bz : Lxe(e);}moveTo(e, t) {this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;@@ -54097,18 +54097,18 @@ var Hz = 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 > Bz) {- if (!(Math.abs(u * s - c * l) > Bz) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;+ else if (d > zz) {+ if (!(Math.abs(u * s - c * l) > zz) || !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((Rz - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > Bz && 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((Lz - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > zz && 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) > Bz || Math.abs(this._y1 - l) > Bz) && this._append`L${c},${l}`, n && (d < 0 && (d = d % zz + zz), d > Fxe ? 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 > Bz && this._append`A${n},${n},0,${+(d >= Rz)},${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) > zz || Math.abs(this._y1 - l) > zz) && this._append`L${c},${l}`, n && (d < 0 && (d = d % Rz + Rz), d > Ixe ? 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 > zz && this._append`A${n},${n},0,${+(d >= Lz)},${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`;@@ -54117,10 +54117,10 @@ var Hz = class {return this._;}};-Hz.prototype;+Vz.prototype;//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js-function Uz(e) {+function Hz(e) {let t = 3;return e.digits = function(n) {if (!arguments.length) return t;@@ -54131,18 +54131,18 @@ function Uz(e) {t = e;}return e;- }, () => new Hz(t);+ }, () => new Vz(t);}Array.prototype.slice;-function Wz(e) {+function Uz(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 Gz(e) {+function Wz(e) {this._context = e;}-Gz.prototype = {+Wz.prototype = {areaStart: function() {this._line = 0;},@@ -54165,33 +54165,33 @@ Gz.prototype = {}}};-function Kz(e) {- return new Gz(e);+function Gz(e) {+ return new Wz(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js-function qz(e) {+function Kz(e) {return e[0];}-function Jz(e) {+function qz(e) {return e[1];}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js-function Yz(e, t) {- var n = Mz(!0), r = null, i = Kz, a = null, o = Uz(s);- e = typeof e == "function" ? e : e === void 0 ? qz : Mz(e), t = typeof t == "function" ? t : t === void 0 ? Jz : Mz(t);+function Jz(e, t) {+ var n = jz(!0), r = null, i = Gz, a = null, o = Hz(s);+ e = typeof e == "function" ? e : e === void 0 ? Kz : jz(e), t = typeof t == "function" ? t : t === void 0 ? qz : jz(t);function s(s) {- var c, l = (s = Wz(s)).length, u, d = !1, f;+ var c, l = (s = Uz(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 : Mz(+t), s) : e;+ return arguments.length ? (e = typeof t == "function" ? t : jz(+t), s) : e;}, s.y = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : Mz(+e), s) : t;+ return arguments.length ? (t = typeof e == "function" ? e : jz(+e), s) : t;}, s.defined = function(e) {- return arguments.length ? (n = typeof e == "function" ? e : Mz(!!e), s) : n;+ return arguments.length ? (n = typeof e == "function" ? e : jz(!!e), s) : n;}, s.curve = function(e) {return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;}, s.context = function(e) {@@ -54200,11 +54200,11 @@ function Yz(e, t) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js-function Xz(e, t, n) {- var r = null, i = Mz(!0), a = null, o = Kz, s = null, c = Uz(l);- e = typeof e == "function" ? e : e === void 0 ? qz : Mz(+e), t = typeof t == "function" ? t : Mz(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? Jz : Mz(+n);+function Yz(e, t, n) {+ var r = null, i = jz(!0), a = null, o = Gz, s = null, c = Hz(l);+ e = typeof e == "function" ? e : e === void 0 ? Kz : jz(+e), t = typeof t == "function" ? t : jz(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? qz : jz(+n);function l(l) {- var u, d, f, p = (l = Wz(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);+ var u, d, f, p = (l = Uz(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();@@ -54218,20 +54218,20 @@ function Xz(e, t, n) {if (g) return s = null, g + "" || null;}function u() {- return Yz().defined(i).curve(o).context(a);+ return Jz().defined(i).curve(o).context(a);}return l.x = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : Mz(+t), r = null, l) : e;+ return arguments.length ? (e = typeof t == "function" ? t : jz(+t), r = null, l) : e;}, l.x0 = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : Mz(+t), l) : e;+ return arguments.length ? (e = typeof t == "function" ? t : jz(+t), l) : e;}, l.x1 = function(e) {- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : Mz(+e), l) : r;+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : jz(+e), l) : r;}, l.y = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : Mz(+e), n = null, l) : t;+ return arguments.length ? (t = typeof e == "function" ? e : jz(+e), n = null, l) : t;}, l.y0 = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : Mz(+e), l) : t;+ return arguments.length ? (t = typeof e == "function" ? e : jz(+e), l) : t;}, l.y1 = function(e) {- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : Mz(+e), l) : n;+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : jz(+e), l) : n;}, l.lineX0 = l.lineY0 = function() {return u().x(e).y(t);}, l.lineY1 = function() {@@ -54239,7 +54239,7 @@ function Xz(e, t, n) {}, l.lineX1 = function() {return u().x(r).y(t);}, l.defined = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : Mz(!!e), l) : i;+ return arguments.length ? (i = typeof e == "function" ? e : jz(!!e), l) : i;}, l.curve = function(e) {return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;}, l.context = function(e) {@@ -54248,7 +54248,7 @@ function Xz(e, t, n) {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js-var Zz = class {+var Xz = class {constructor(e, t) {this._context = e, this._x = t;}@@ -54275,70 +54275,70 @@ var Zz = class {this._x0 = e, this._y0 = t;}};-function Lxe(e) {- return new Zz(e, !0);-}function Rxe(e) {- return new Zz(e, !1);+ return new Xz(e, !0);+}+function zxe(e) {+ return new Xz(e, !1);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js-var Qz = { draw(e, t) {- let n = Fz(t / Iz);- e.moveTo(n, 0), e.arc(0, 0, n, 0, Lz);-} }, zxe = { draw(e, t) {- let n = Fz(t / 5) / 2;+var Zz = { draw(e, t) {+ let n = Pz(t / Fz);+ e.moveTo(n, 0), e.arc(0, 0, n, 0, Iz);+} }, Bxe = { draw(e, t) {+ let n = Pz(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();-} }, $z = Fz(1 / 3), Bxe = $z * 2, Vxe = { draw(e, t) {- let n = Fz(t / Bxe), r = n * $z;+} }, Qz = Pz(1 / 3), Vxe = Qz * 2, Hxe = { draw(e, t) {+ let n = Pz(t / Vxe), r = n * Qz;e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();-} }, Hxe = { draw(e, t) {- let n = Fz(t), r = -n / 2;+} }, Uxe = { draw(e, t) {+ let n = Pz(t), r = -n / 2;e.rect(r, r, n, n);-} }, Uxe = .8908130915292852, eB = Pz(Iz / 10) / Pz(7 * Iz / 10), Wxe = Pz(Lz / 10) * eB, Gxe = -Nz(Lz / 10) * eB, Kxe = { draw(e, t) {- let n = Fz(t * Uxe), r = Wxe * n, i = Gxe * n;+} }, Wxe = .8908130915292852, $z = Nz(Fz / 10) / Nz(7 * Fz / 10), Gxe = Nz(Iz / 10) * $z, Kxe = -Mz(Iz / 10) * $z, qxe = { draw(e, t) {+ let n = Pz(t * Wxe), r = Gxe * n, i = Kxe * n;e.moveTo(0, -n), e.lineTo(r, i);for (let t = 1; t < 5; ++t) {- let a = Lz * t / 5, o = Nz(a), s = Pz(a);+ let a = Iz * t / 5, o = Mz(a), s = Nz(a);e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);}e.closePath();-} }, tB = Fz(3), qxe = { draw(e, t) {- let n = -Fz(t / (tB * 3));- e.moveTo(0, n * 2), e.lineTo(-tB * n, -n), e.lineTo(tB * n, -n), e.closePath();-} }, nB = -.5, rB = Fz(3) / 2, iB = 1 / Fz(12), Jxe = (iB / 2 + 1) * 3, Yxe = { draw(e, t) {- let n = Fz(t / Jxe), r = n / 2, i = n * iB, a = r, o = n * iB + n, s = -a, c = o;- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(nB * r - rB * i, rB * r + nB * i), e.lineTo(nB * a - rB * o, rB * a + nB * o), e.lineTo(nB * s - rB * c, rB * s + nB * c), e.lineTo(nB * r + rB * i, nB * i - rB * r), e.lineTo(nB * a + rB * o, nB * o - rB * a), e.lineTo(nB * s + rB * c, nB * c - rB * s), e.closePath();+} }, eB = Pz(3), Jxe = { draw(e, t) {+ let n = -Pz(t / (eB * 3));+ e.moveTo(0, n * 2), e.lineTo(-eB * n, -n), e.lineTo(eB * n, -n), e.closePath();+} }, tB = -.5, nB = Pz(3) / 2, rB = 1 / Pz(12), Yxe = (rB / 2 + 1) * 3, Xxe = { draw(e, t) {+ let n = Pz(t / Yxe), r = n / 2, i = n * rB, a = r, o = n * rB + n, s = -a, c = o;+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(tB * r - nB * i, nB * r + tB * i), e.lineTo(tB * a - nB * o, nB * a + tB * o), e.lineTo(tB * s - nB * c, nB * s + tB * c), e.lineTo(tB * r + nB * i, tB * i - nB * r), e.lineTo(tB * a + nB * o, tB * o - nB * a), e.lineTo(tB * s + nB * c, tB * c - nB * s), e.closePath();} };//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js-function Xxe(e, t) {- let n = null, r = Uz(i);- e = typeof e == "function" ? e : Mz(e || Qz), t = typeof t == "function" ? t : Mz(t === void 0 ? 64 : +t);+function Zxe(e, t) {+ let n = null, r = Hz(i);+ e = typeof e == "function" ? e : jz(e || Zz), t = typeof t == "function" ? t : jz(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 : Mz(t), i) : e;+ return arguments.length ? (e = typeof t == "function" ? t : jz(t), i) : e;}, i.size = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : Mz(+e), i) : t;+ return arguments.length ? (t = typeof e == "function" ? e : jz(+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 aB() {}+function iB() {}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js-function oB(e, t, n) {+function aB(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 sB(e) {+function oB(e) {this._context = e;}-sB.prototype = {+oB.prototype = {areaStart: function() {this._line = 0;},@@ -54350,7 +54350,7 @@ sB.prototype = {},lineEnd: function() {switch (this._point) {- case 3: oB(this, this._x1, this._y1);+ case 3: aB(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;@@ -54364,22 +54364,22 @@ sB.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: oB(this, e, t);+ default: aB(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};-function Zxe(e) {- return new sB(e);+function Qxe(e) {+ return new oB(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js-function cB(e) {+function sB(e) {this._context = e;}-cB.prototype = {- areaStart: aB,- areaEnd: aB,+sB.prototype = {+ areaStart: iB,+ areaEnd: iB,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;},@@ -54405,20 +54405,20 @@ cB.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: oB(this, e, t);+ default: aB(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};-function Qxe(e) {- return new cB(e);+function $xe(e) {+ return new sB(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js-function lB(e) {+function cB(e) {this._context = e;}-lB.prototype = {+cB.prototype = {areaStart: function() {this._line = 0;},@@ -54445,22 +54445,22 @@ lB.prototype = {this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);break;case 3: this._point = 4;- default: oB(this, e, t);+ default: aB(this, e, t);}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}};-function $xe(e) {- return new lB(e);+function eSe(e) {+ return new cB(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js-function uB(e) {+function lB(e) {this._context = e;}-uB.prototype = {- areaStart: aB,- areaEnd: aB,+lB.prototype = {+ areaStart: iB,+ areaEnd: iB,lineStart: function() {this._point = 0;},@@ -54471,30 +54471,30 @@ uB.prototype = {e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));}};-function eSe(e) {- return new uB(e);+function tSe(e) {+ return new lB(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js-function dB(e) {+function uB(e) {return e < 0 ? -1 : 1;}-function fB(e, t, n) {+function dB(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 (dB(a) + dB(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;+ return (uB(a) + uB(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;}-function pB(e, t) {+function fB(e, t) {var n = e._x1 - e._x0;return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;}-function mB(e, t, n) {+function pB(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 hB(e) {+function mB(e) {this._context = e;}-hB.prototype = {+mB.prototype = {areaStart: function() {this._line = 0;},@@ -54509,7 +54509,7 @@ hB.prototype = {case 2:this._context.lineTo(this._x1, this._y1);break;- case 3: mB(this, this._t0, pB(this, this._t0));+ case 3: pB(this, this._t0, fB(this, this._t0));}(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;},@@ -54524,24 +54524,24 @@ hB.prototype = {this._point = 2;break;case 2:- this._point = 3, mB(this, pB(this, n = fB(this, e, t)), n);+ this._point = 3, pB(this, fB(this, n = dB(this, e, t)), n);break;- default: mB(this, this._t0, n = fB(this, e, t));+ default: pB(this, this._t0, n = dB(this, e, t));}this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;}}};-function gB(e) {- this._context = new _B(e);+function hB(e) {+ this._context = new gB(e);}-(gB.prototype = Object.create(hB.prototype)).point = function(e, t) {- hB.prototype.point.call(this, t, e);+(hB.prototype = Object.create(mB.prototype)).point = function(e, t) {+ mB.prototype.point.call(this, t, e);};-function _B(e) {+function gB(e) {this._context = e;}-_B.prototype = {+gB.prototype = {moveTo: function(e, t) {this._context.moveTo(t, e);},@@ -54555,18 +54555,18 @@ _B.prototype = {this._context.bezierCurveTo(t, e, r, n, a, i);}};-function tSe(e) {- return new hB(e);-}function nSe(e) {- return new gB(e);+ return new mB(e);+}+function rSe(e) {+ return new hB(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js-function vB(e) {+function _B(e) {this._context = e;}-vB.prototype = {+_B.prototype = {areaStart: function() {this._line = 0;},@@ -54580,7 +54580,7 @@ vB.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 = yB(e), i = yB(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 = vB(e), i = vB(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;},@@ -54588,7 +54588,7 @@ vB.prototype = {this._x.push(+e), this._y.push(+t);}};-function yB(e) {+function vB(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];@@ -54596,15 +54596,15 @@ function yB(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 rSe(e) {- return new vB(e);+function iSe(e) {+ return new _B(e);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js-function bB(e, t) {+function yB(e, t) {this._context = e, this._t = t;}-bB.prototype = {+yB.prototype = {areaStart: function() {this._line = 0;},@@ -54632,78 +54632,78 @@ bB.prototype = {this._x = e, this._y = t;}};-function iSe(e) {- return new bB(e, .5);-}function aSe(e) {- return new bB(e, 0);+ return new yB(e, .5);}function oSe(e) {- return new bB(e, 1);+ return new yB(e, 0);+}+function sSe(e) {+ return new yB(e, 1);}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js-function xB(e, t) {+function bB(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 SB(e) {+function xB(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 sSe(e, t) {+function cSe(e, t) {return e[t];}-function cSe(e) {+function lSe(e) {let t = [];return t.key = e, t;}-function lSe() {- var e = Mz([]), t = SB, n = xB, r = sSe;+function uSe() {+ var e = jz([]), t = xB, n = bB, r = cSe;function i(i) {- var a = Array.from(e.apply(this, arguments), cSe), o, s = a.length, c = -1, l;+ var a = Array.from(e.apply(this, arguments), lSe), 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 = Wz(t(a)); o < s; ++o) a[l[o]].index = o;+ for (o = 0, l = Uz(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 : Mz(Array.from(t)), i) : e;+ return arguments.length ? (e = typeof t == "function" ? t : jz(Array.from(t)), i) : e;}, i.value = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : Mz(+e), i) : r;+ return arguments.length ? (r = typeof e == "function" ? e : jz(+e), i) : r;}, i.order = function(e) {- return arguments.length ? (t = e == null ? SB : typeof e == "function" ? e : Mz(Array.from(e)), i) : t;+ return arguments.length ? (t = e == null ? xB : typeof e == "function" ? e : jz(Array.from(e)), i) : t;}, i.offset = function(e) {- return arguments.length ? (n = e ?? xB, i) : n;+ return arguments.length ? (n = e ?? bB, i) : n;}, i;}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js-function uSe(e, t) {+function dSe(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;}- xB(e, t);+ bB(e, t);}}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js-function dSe(e, t) {+function fSe(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;}- xB(e, t);+ bB(e, t);}}//#endregion//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js-function fSe(e, t) {+function pSe(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) {@@ -54715,53 +54715,53 @@ function fSe(e, t) {}i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);}- i[r - 1][1] += i[r - 1][0] = n, xB(e, t);+ i[r - 1][1] += i[r - 1][0] = n, bB(e, t);}}//#endregion//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs-function CB(e) {+function SB(e) {return e === "__proto__";}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs-var pSe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;-function wB(e) {+var mSe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;+function CB(e) {switch (typeof e) {case "number":case "symbol": return !1;- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : pSe.test(e);+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : mSe.test(e);default: return !1;}}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs-function TB(e) {+function wB(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 EB(e) {+function TB(e) {return typeof e == "symbol" || e instanceof Symbol;}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toString.mjs-function mSe(e) {- return e == null ? "" : DB(e);+function hSe(e) {+ return e == null ? "" : EB(e);}-function DB(e) {+function EB(e) {if (typeof e == "string") return e;- if (Array.isArray(e)) return e.map(DB).join(",");- if (EB(e)) return e.toString();+ if (Array.isArray(e)) return e.map(EB).join(",");+ if (TB(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 OB(e) {- if (Array.isArray(e)) return e.map(TB);+function DB(e) {+ if (Array.isArray(e)) return e.map(wB);if (typeof e == "symbol") return [e];- e = mSe(e);+ e = hSe(e);let t = [], n = e.length;if (n === 0) return t;let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;@@ -54789,100 +54789,100 @@ function OB(e) {}//#endregion//#region node_modules/es-toolkit/dist/compat/object/get.mjs-function kB(e, t, n) {+function OB(e, t, n) {if (e == null) return n;switch (typeof t) {case "string": {- if (CB(t)) return n;+ if (SB(t)) return n;let r = e[t];- return r === void 0 ? wB(t) && !Object.hasOwn(e, t) ? kB(e, OB(t), n) : n : r;+ return r === void 0 ? CB(t) && !Object.hasOwn(e, t) ? OB(e, DB(t), n) : n : r;}case "number":case "symbol": {- typeof t == "number" && (t = TB(t));+ typeof t == "number" && (t = wB(t));let r = e[t];return r === void 0 ? n : r;}default: {- if (Array.isArray(t)) return hSe(e, t, n);- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), CB(t)) return n;+ if (Array.isArray(t)) return gSe(e, t, n);+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), SB(t)) return n;let r = e[t];return r === void 0 ? n : r;}}}-function hSe(e, t, n) {+function gSe(e, t, n) {if (t.length === 0) return n;let r = e;for (let e = 0; e < t.length; e++) {- if (r == null || CB(t[e])) return n;+ if (r == null || SB(t[e])) return n;r = r[t[e]];}return r === void 0 ? n : r;}//#endregion//#region node_modules/recharts/es6/util/round.js-var gSe = 4;-function AB(e) {- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : gSe), n = Math.round(e * t) / t;+var _Se = 4;+function kB(e) {+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _Se), n = Math.round(e * t) / t;return Object.is(n, -0) ? 0 : n;}-function jB(e) {+function AB(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 + AB(i) + n;+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + kB(i) + n;}, "");}//#endregion//#region node_modules/recharts/es6/util/DataUtils.js-var MB = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, NB = (e) => typeof e == "number" && e != +e, PB = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !NB(e), FB = (e) => Z(e) || typeof e == "string", _Se = 0, IB = (e) => {- var t = ++_Se;+var jB = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, MB = (e) => typeof e == "number" && e != +e, NB = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !MB(e), PB = (e) => Z(e) || typeof e == "string", vSe = 0, FB = (e) => {+ var t = ++vSe;return `${e || ""}${t}`;-}, LB = function(e, t) {+}, IB = 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 (!Z(e) && typeof e != "string") return n;var i;- if (PB(e)) {+ if (NB(e)) {if (t == null) return n;var a = e.indexOf("%");i = t * parseFloat(e.slice(0, a)) / 100;} else i = +e;- return NB(i) && (i = n), r && t != null && i > t && (i = t), i;-}, RB = (e) => {+ return MB(i) && (i = n), r && t != null && i > t && (i = t), i;+}, LB = (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 zB(e, t, n) {- return Z(e) && Z(t) ? AB(e + n * (t - e)) : t;+function RB(e, t, n) {+ return Z(e) && Z(t) ? kB(e + n * (t - e)) : t;}-function BB(e, t, n) {- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : kB(e, t)) === n);+function zB(e, t, n) {+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : OB(e, t)) === n);}-var VB = (e) => e == null, HB = (e) => VB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;-function UB(e) {+var BB = (e) => e == null, VB = (e) => BB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;+function HB(e) {return e != null;}-function WB() {}+function UB() {}//#endregion//#region node_modules/recharts/es6/shape/Symbols.js-var vSe = [+var ySe = ["type","size","sizeType"];-function GB() {- return GB = Object.assign ? Object.assign.bind() : function(e) {+function WB() {+ return WB = 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;- }, GB.apply(null, arguments);+ }, WB.apply(null, arguments);}-function KB(e, t) {+function GB(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -54892,30 +54892,30 @@ function KB(e, t) {}return n;}-function qB(e) {+function KB(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? KB(Object(n), !0).forEach(function(t) {- ySe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KB(Object(n)).forEach(function(t) {+ t % 2 ? GB(Object(n), !0).forEach(function(t) {+ bSe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GB(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function ySe(e, t, n) {- return (t = bSe(t)) in e ? Object.defineProperty(e, t, {+function bSe(e, t, n) {+ return (t = xSe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function bSe(e) {- var t = xSe(e, "string");+function xSe(e) {+ var t = SSe(e, "string");return typeof t == "symbol" ? t : t + "";}-function xSe(e, t) {+function SSe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -54925,16 +54925,16 @@ function xSe(e, t) {}return (t === "string" ? String : Number)(e);}-function SSe(e, t) {+function CSe(e, t) {if (e == null) return {};- var n, r, i = CSe(e, t);+ var n, r, i = wSe(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 CSe(e, t) {+function wSe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -54943,68 +54943,68 @@ function CSe(e, t) {}return n;}-var JB = {- symbolCircle: Qz,- symbolCross: zxe,- symbolDiamond: Vxe,- symbolSquare: Hxe,- symbolStar: Kxe,- symbolTriangle: qxe,- symbolWye: Yxe-}, wSe = Math.PI / 180, TSe = (e) => JB[`symbol${HB(e)}`] || Qz, ESe = (e, t, n) => {+var qB = {+ symbolCircle: Zz,+ symbolCross: Bxe,+ symbolDiamond: Hxe,+ symbolSquare: Uxe,+ symbolStar: qxe,+ symbolTriangle: Jxe,+ symbolWye: Xxe+}, TSe = Math.PI / 180, ESe = (e) => qB[`symbol${VB(e)}`] || Zz, DSe = (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 * wSe;+ var r = 18 * TSe;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;}-}, DSe = (e, t) => {- JB[`symbol${HB(e)}`] = t;-}, YB = (e) => {- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = qB(qB({}, SSe(e, vSe)), {}, {+}, OSe = (e, t) => {+ qB[`symbol${VB(e)}`] = t;+}, JB = (e) => {+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = KB(KB({}, CSe(e, ySe)), {}, {type: t,size: n,sizeType: r}), a = "circle";typeof t == "string" && (a = t);var o = () => {- var e = TSe(a), t = Xxe().type(e).size(ESe(n, r, a))();+ var e = ESe(a), t = Zxe().type(e).size(DSe(n, r, a))();if (t !== null) return t;- }, { className: s, cx: c, cy: l } = i, u = Ez(i);- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ B.createElement("path", GB({}, u, {+ }, { className: s, cx: c, cy: l } = i, u = Tz(i);+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ B.createElement("path", WB({}, u, {className: _h("recharts-symbols", s),transform: `translate(${c}, ${l})`,d: o()})) : null;};-YB.registerSymbol = DSe;+JB.registerSymbol = OSe;//#endregion//#region node_modules/recharts/es6/util/types.js-var XB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, ZB = (e, t) => {+var YB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, XB = (e, t) => {if (!e || typeof e == "function" || typeof e == "boolean") return null;var n = e;if (/*#__PURE__*/ (0, B.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;var r = {};return Object.keys(n).forEach((e) => {- xz(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));+ bz(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));}), r;-}, OSe = (e, t, n) => (r) => (e(t, n, r), null), QB = (e, t, n) => {+}, kSe = (e, t, n) => (r) => (e(t, n, r), null), ZB = (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];- xz(i) && typeof a == "function" && (r ||= {}, r[i] = OSe(a, t, n));+ bz(i) && typeof a == "function" && (r ||= {}, r[i] = kSe(a, t, n));}), r;};//#endregion//#region node_modules/recharts/es6/util/resolveDefaultProps.js-function $B(e, t) {+function QB(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -55014,30 +55014,30 @@ function $B(e, t) {}return n;}-function kSe(e) {+function ASe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? $B(Object(n), !0).forEach(function(t) {- ASe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $B(Object(n)).forEach(function(t) {+ t % 2 ? QB(Object(n), !0).forEach(function(t) {+ jSe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QB(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function ASe(e, t, n) {- return (t = jSe(t)) in e ? Object.defineProperty(e, t, {+function jSe(e, t, n) {+ return (t = MSe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function jSe(e) {- var t = MSe(e, "string");+function MSe(e) {+ var t = NSe(e, "string");return typeof t == "symbol" ? t : t + "";}-function MSe(e, t) {+function NSe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -55047,22 +55047,22 @@ function MSe(e, t) {}return (t === "string" ? String : Number)(e);}-function eV(e, t) {- var n = kSe({}, e), r = t;+function $B(e, t) {+ var n = ASe({}, 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 tV() {- return tV = Object.assign ? Object.assign.bind() : function(e) {+function eV() {+ return eV = 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;- }, tV.apply(null, arguments);+ }, eV.apply(null, arguments);}-function nV(e, t) {+function tV(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -55072,30 +55072,30 @@ function nV(e, t) {}return n;}-function rV(e) {+function nV(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? nV(Object(n), !0).forEach(function(t) {- NSe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nV(Object(n)).forEach(function(t) {+ t % 2 ? tV(Object(n), !0).forEach(function(t) {+ PSe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tV(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function NSe(e, t, n) {- return (t = PSe(t)) in e ? Object.defineProperty(e, t, {+function PSe(e, t, n) {+ return (t = FSe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function PSe(e) {- var t = FSe(e, "string");+function FSe(e) {+ var t = ISe(e, "string");return typeof t == "symbol" ? t : t + "";}-function FSe(e, t) {+function ISe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -55105,7 +55105,7 @@ function FSe(e, t) {}return (t === "string" ? String : Number)(e);}-var iV = 32, ISe = {+var rV = 32, LSe = {align: "center",iconSize: 14,inactiveColor: "#ccc",@@ -55113,20 +55113,20 @@ var iV = 32, ISe = {verticalAlign: "middle",labelStyle: {}};-function LSe(e) {+function RSe(e) {if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);}-function RSe(e) {- var { data: t, iconType: n, inactiveColor: r } = e, i = iV / 2, a = iV / 6, o = iV / 3, s = t.inactive ? r : t.color, c = n ?? t.type;+function zSe(e) {+ var { data: t, iconType: n, inactiveColor: r } = e, i = rV / 2, a = rV / 6, o = rV / 3, s = t.inactive ? r : t.color, c = n ?? t.type;if (c === "none") return null;if (c === "plainline") return /*#__PURE__*/ B.createElement("line", {strokeWidth: 4,fill: "none",stroke: s,- strokeDasharray: LSe(t.payload),+ strokeDasharray: RSe(t.payload),x1: 0,y1: i,- x2: iV,+ x2: rV,y2: i,className: "recharts-legend-icon"});@@ -55136,35 +55136,35 @@ function RSe(e) {stroke: s,d: `M0,${i}h${o}A${a},${a},0,1,1,${2 * o},${i}- H${iV}M${2 * o},${i}+ H${rV}M${2 * o},${i}A${a},${a},0,1,1,${o},${i}`,className: "recharts-legend-icon"});if (c === "rect") return /*#__PURE__*/ B.createElement("path", {stroke: "none",fill: s,- d: `M0,${iV / 8}h${iV}v${iV * 3 / 4}h${-iV}z`,+ d: `M0,${rV / 8}h${rV}v${rV * 3 / 4}h${-rV}z`,className: "recharts-legend-icon"});if (/*#__PURE__*/ B.isValidElement(t.legendIcon)) {- var l = rV({}, t);+ var l = nV({}, t);return delete l.legendIcon, /*#__PURE__*/ B.cloneElement(t.legendIcon, l);}- return /*#__PURE__*/ B.createElement(YB, {+ return /*#__PURE__*/ B.createElement(JB, {fill: s,cx: i,cy: i,- size: iV,+ size: rV,sizeType: "diameter",type: c});}-function zSe(e) {+function BSe(e) {var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {x: 0,y: 0,- width: iV,- height: iV+ width: rV,+ height: rV}, l = {display: r === "horizontal" ? "inline-block" : "block",marginRight: 10@@ -55180,20 +55180,20 @@ function zSe(e) {inactive: t.inactive});if (t.type === "none") return null;- var p = typeof s == "object" ? rV({}, s) : {};+ var p = typeof s == "object" ? nV({}, s) : {};p.color = t.inactive ? a : p.color || t.color;var m = d ? d(t.value, t, r) : t.value;- return /*#__PURE__*/ B.createElement("li", tV({+ return /*#__PURE__*/ B.createElement("li", eV({className: f,style: l,key: `legend-item-${r}`- }, QB(e, t, r)), /*#__PURE__*/ B.createElement(Oz, {+ }, ZB(e, t, r)), /*#__PURE__*/ B.createElement(Dz, {width: n,height: n,viewBox: c,style: u,"aria-label": `${m} legend icon`- }, /*#__PURE__*/ B.createElement(RSe, {+ }, /*#__PURE__*/ B.createElement(zSe, {data: t,iconType: o,inactiveColor: a@@ -55203,8 +55203,8 @@ function zSe(e) {}, m));});}-var BSe = (e) => {- var t = eV(e, ISe), { payload: n, layout: r, align: i } = t;+var VSe = (e) => {+ var t = $B(e, LSe), { payload: n, layout: r, align: i } = t;if (!n || !n.length) return null;var a = {padding: 0,@@ -55214,11 +55214,11 @@ var BSe = (e) => {return /*#__PURE__*/ B.createElement("ul", {className: "recharts-default-legend",style: a- }, /*#__PURE__*/ B.createElement(zSe, tV({}, t, { payload: n })));+ }, /*#__PURE__*/ B.createElement(BSe, eV({}, t, { payload: n })));};//#endregion//#region node_modules/es-toolkit/dist/array/uniqBy.mjs-function VSe(e, t) {+function HSe(e, t) {let n = /* @__PURE__ */ new Map();for (let r = 0; r < e.length; r++) {let i = e[r], a = t(i, r, e);@@ -55228,77 +55228,77 @@ function VSe(e, t) {}//#endregion//#region node_modules/es-toolkit/dist/function/ary.mjs-function HSe(e, t) {+function USe(e, t) {return function(...n) {return e.apply(this, n.slice(0, t));};}//#endregion//#region node_modules/es-toolkit/dist/function/identity.mjs-function aV(e) {+function iV(e) {return e;}//#endregion//#region node_modules/es-toolkit/dist/predicate/isLength.mjs-function USe(e) {+function WSe(e) {return Number.isSafeInteger(e) && e >= 0;}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs-function oV(e) {- return e != null && typeof e != "function" && USe(e.length);+function aV(e) {+ return e != null && typeof e != "function" && WSe(e.length);}//#endregion//#region node_modules/es-toolkit/dist/compat/object/property.mjs-function sV(e) {+function GSe(e) {return function(t) {- return kB(t, e);+ return OB(t, e);};}//#endregion//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs-function cV(e) {+function oV(e) {return e == null || typeof e != "object" && typeof e != "function";}//#endregion//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs-function lV(e) {+function KSe(e) {return ArrayBuffer.isView(e) && !(e instanceof DataView);}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs-function uV(e) {+function qSe(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 dV(e) {+function sV(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 fV = "[object RegExp]", pV = "[object String]", mV = "[object Number]", hV = "[object Boolean]", gV = "[object Arguments]", WSe = "[object Symbol]", GSe = "[object Date]", KSe = "[object Map]", qSe = "[object Set]", JSe = "[object Array]", YSe = "[object ArrayBuffer]", XSe = "[object Object]", ZSe = "[object DataView]", QSe = "[object Uint8Array]", $Se = "[object Uint8ClampedArray]", eCe = "[object Uint16Array]", tCe = "[object Uint32Array]", nCe = "[object Int8Array]", rCe = "[object Int16Array]", iCe = "[object Int32Array]", aCe = "[object Float32Array]", oCe = "[object Float64Array]", _V = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {+var cV = "[object RegExp]", lV = "[object String]", uV = "[object Number]", dV = "[object Boolean]", fV = "[object Arguments]", JSe = "[object Symbol]", YSe = "[object Date]", XSe = "[object Map]", ZSe = "[object Set]", QSe = "[object Array]", $Se = "[object ArrayBuffer]", eCe = "[object Object]", tCe = "[object DataView]", nCe = "[object Uint8Array]", rCe = "[object Uint8ClampedArray]", iCe = "[object Uint16Array]", aCe = "[object Uint32Array]", oCe = "[object Int8Array]", sCe = "[object Int16Array]", cCe = "[object Int32Array]", lCe = "[object Float32Array]", uCe = "[object Float64Array]", pV = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {return this;})();//#endregion//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs-function sCe(e) {- return _V.Buffer !== void 0 && _V.Buffer.isBuffer(e);+function dCe(e) {+ return pV.Buffer !== void 0 && pV.Buffer.isBuffer(e);}//#endregion//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs-function cCe(e, t) {- return vV(e, void 0, e, /* @__PURE__ */ new Map(), t);+function fCe(e, t) {+ return mV(e, void 0, e, /* @__PURE__ */ new Map(), t);}-function vV(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {+function mV(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {let a = i?.(e, t, n, r);if (a !== void 0) return a;- if (cV(e)) return e;+ if (oV(e)) return e;if (r.has(e)) return r.get(e);if (Array.isArray(e)) {let t = Array(e.length);r.set(e, t);- for (let a = 0; a < e.length; a++) t[a] = vV(e[a], a, n, r, i);+ for (let a = 0; a < e.length; a++) t[a] = mV(e[a], a, n, r, i);return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;}if (e instanceof Date) return new Date(e.getTime());@@ -55309,132 +55309,132 @@ function vV(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {if (e instanceof Map) {let t = /* @__PURE__ */ new Map();r.set(e, t);- for (let [a, o] of e) t.set(a, vV(o, a, n, r, i));+ for (let [a, o] of e) t.set(a, mV(o, a, n, r, i));return t;}if (e instanceof Set) {let t = /* @__PURE__ */ new Set();r.set(e, t);- for (let a of e) t.add(vV(a, void 0, n, r, i));+ for (let a of e) t.add(mV(a, void 0, n, r, i));return t;}- if (sCe(e)) return e.subarray();- if (lV(e)) {+ if (dCe(e)) return e.subarray();+ if (KSe(e)) {let t = new (Object.getPrototypeOf(e)).constructor(e.length);r.set(e, t);- for (let a = 0; a < e.length; a++) t[a] = vV(e[a], a, n, r, i);+ for (let a = 0; a < e.length; a++) t[a] = mV(e[a], a, n, r, i);return t;}if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);if (e instanceof DataView) {let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);- return r.set(e, t), yV(t, e, n, r, i), t;+ return r.set(e, t), hV(t, e, n, r, i), t;}if (typeof File < "u" && e instanceof File) {let t = new File([e], e.name, { type: e.type });- return r.set(e, t), yV(t, e, n, r, i), t;+ return r.set(e, t), hV(t, e, n, r, i), t;}if (typeof Blob < "u" && e instanceof Blob) {let t = new Blob([e], { type: e.type });- return r.set(e, t), yV(t, e, n, r, i), t;+ return r.set(e, t), hV(t, e, n, r, i), t;}if (e instanceof Error) {let t = structuredClone(e);- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, yV(t, e, n, r, i), t;+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, hV(t, e, n, r, i), t;}if (e instanceof Boolean) {let t = new Boolean(e.valueOf());- return r.set(e, t), yV(t, e, n, r, i), t;+ return r.set(e, t), hV(t, e, n, r, i), t;}if (e instanceof Number) {let t = new Number(e.valueOf());- return r.set(e, t), yV(t, e, n, r, i), t;+ return r.set(e, t), hV(t, e, n, r, i), t;}if (e instanceof String) {let t = new String(e.valueOf());- return r.set(e, t), yV(t, e, n, r, i), t;+ return r.set(e, t), hV(t, e, n, r, i), t;}- if (typeof e == "object" && lCe(e)) {+ if (typeof e == "object" && pCe(e)) {let t = Object.create(Object.getPrototypeOf(e));- return r.set(e, t), yV(t, e, n, r, i), t;+ return r.set(e, t), hV(t, e, n, r, i), t;}return e;}-function yV(e, t, n = e, r, i) {- let a = [...Object.keys(t), ...uV(t)];+function hV(e, t, n = e, r, i) {+ let a = [...Object.keys(t), ...qSe(t)];for (let o = 0; o < a.length; o++) {let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);- (c == null || c.writable) && (e[s] = vV(t[s], s, n, r, i));+ (c == null || c.writable) && (e[s] = mV(t[s], s, n, r, i));}}-function lCe(e) {- switch (dV(e)) {- case gV:- case JSe:+function pCe(e) {+ switch (sV(e)) {+ case fV:+ case QSe:+ case $Se:+ case tCe:+ case dV:case YSe:- case ZSe:- case hV:- case GSe:- case aCe:+ case lCe:+ case uCe:case oCe:+ case sCe:+ case cCe:+ case XSe:+ case uV:+ case eCe:+ case cV:+ case ZSe:+ case lV:+ case JSe:case nCe:case rCe:case iCe:- case KSe:- case mV:- case XSe:- case fV:- case qSe:- case pV:- case WSe:- case QSe:- case $Se:- case eCe:- case tCe: return !0;+ case aCe: return !0;default: return !1;}}//#endregion//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs-function uCe(e) {- return vV(e, void 0, e, /* @__PURE__ */ new Map(), void 0);+function mCe(e) {+ return mV(e, void 0, e, /* @__PURE__ */ new Map(), void 0);}//#endregion//#region node_modules/es-toolkit/dist/compat/util/eq.mjs-function bV(e, t) {+function gV(e, t) {return e === t || Number.isNaN(e) && Number.isNaN(t);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs-function xV(e) {+function _V(e) {return e !== null && (typeof e == "object" || typeof e == "function");}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs-function SV(e, t, n) {- return typeof n == "function" ? CV(e, t, function e(t, r, i, a, o, s) {+function vV(e, t, n) {+ return typeof n == "function" ? yV(e, t, function e(t, r, i, a, o, s) {let c = n(t, r, i, a, o, s);- return c === void 0 ? CV(t, r, e, s, !1) : !!c;- }, /* @__PURE__ */ new Map(), !0) : SV(e, t, () => void 0);+ return c === void 0 ? yV(t, r, e, s, !1) : !!c;+ }, /* @__PURE__ */ new Map(), !0) : vV(e, t, () => void 0);}-function CV(e, t, n, r, i = !1) {+function yV(e, t, n, r, i = !1) {if (t === e) return !0;switch (typeof t) {- case "object": return dCe(e, t, n, r, i);- case "function": return Object.keys(t).length > 0 ? CV(e, { ...t }, n, r, i) : bV(e, t);- default: return xV(e) && i ? typeof t != "string" || t === "" : bV(e, t);+ case "object": return hCe(e, t, n, r, i);+ case "function": return Object.keys(t).length > 0 ? yV(e, { ...t }, n, r, i) : gV(e, t);+ default: return _V(e) && i ? typeof t != "string" || t === "" : gV(e, t);}}-function dCe(e, t, n, r, i = !1) {+function hCe(e, t, n, r, i = !1) {if (t == null) return !0;- if (Array.isArray(t)) return wV(e, t, n, r);- if (t instanceof Map) return fCe(e, t, n, r);- if (t instanceof Set) return pCe(e, t, n, r);+ if (Array.isArray(t)) return bV(e, t, n, r);+ if (t instanceof Map) return gCe(e, t, n, r);+ if (t instanceof Set) return _Ce(e, t, n, r);let a = Object.keys(t);if (e == null) return i && a.length === 0;- if (i) cV(e) && (e = Object(e));+ if (i) oV(e) && (e = Object(e));else {- let t = dV(e);+ let t = sV(e);if (t !== "[object Object]" && t !== "[object Arguments]") return !1;}if (a.length === 0) return !0;@@ -55450,13 +55450,13 @@ function dCe(e, t, n, r, i = !1) {r?.delete(t);}}-function fCe(e, t, n, r) {+function gCe(e, t, n, r) {if (t.size === 0) return !0;if (!(e instanceof Map)) return !1;for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;return !0;}-function wV(e, t, n, r) {+function bV(e, t, n, r) {if (t.length === 0) return !0;if (!Array.isArray(e)) return !1;let i = /* @__PURE__ */ new Set();@@ -55474,40 +55474,40 @@ function wV(e, t, n, r) {}return !0;}-function pCe(e, t, n, r) {- return t.size === 0 || e instanceof Set && wV([...e], [...t], n, r);+function _Ce(e, t, n, r) {+ return t.size === 0 || e instanceof Set && bV([...e], [...t], n, r);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs-function TV(e, t) {- return SV(e, t, () => void 0);+function xV(e, t) {+ return vV(e, t, () => void 0);}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs-function mCe(e) {- return e = uCe(e), (t) => TV(t, e);+function vCe(e) {+ return e = mCe(e), (t) => xV(t, e);}//#endregion//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs-function hCe(e, t) {- return cCe(e, (n, r, i, a) => {+function yCe(e, t) {+ return fCe(e, (n, r, i, a) => {let o = t?.(n, r, i, a);if (o !== void 0) return o;if (typeof e == "object") {- if (dV(e) === "[object Object]" && typeof e.constructor != "function") {+ if (sV(e) === "[object Object]" && typeof e.constructor != "function") {let t = {};- return a.set(e, t), yV(t, e, i, a), t;+ return a.set(e, t), hV(t, e, i, a), t;}switch (Object.prototype.toString.call(e)) {- case mV:- case pV:- case hV: {+ case uV:+ case lV:+ case dV: {let t = new e.constructor(e?.valueOf());- return yV(t, e), t;+ return hV(t, e), t;}- case gV: {+ case fV: {let t = {};- return yV(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;+ return hV(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;}default: return;}@@ -55516,79 +55516,79 @@ function hCe(e, t) {}//#endregion//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs-function gCe(e) {- return hCe(e);+function bCe(e) {+ return yCe(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs-var _Ce = /^(?:0|[1-9]\d*)$/;-function EV(e, t = 2 ** 53 - 1) {+var xCe = /^(?:0|[1-9]\d*)$/;+function SV(e, t = 2 ** 53 - 1) {switch (typeof e) {case "number": return Number.isInteger(e) && e >= 0 && e < t;case "symbol": return !1;- case "string": return _Ce.test(e);+ case "string": return xCe.test(e);}}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs-function vCe(e) {- return typeof e == "object" && !!e && dV(e) === "[object Arguments]";+function SCe(e) {+ return typeof e == "object" && !!e && sV(e) === "[object Arguments]";}//#endregion//#region node_modules/es-toolkit/dist/compat/object/has.mjs-function yCe(e, t) {+function CCe(e, t) {let n;- if (n = Array.isArray(t) ? t : typeof t == "string" && wB(t) && !(t in Object(e)) ? OB(t) : [t], n.length === 0) return !1;+ if (n = Array.isArray(t) ? t : typeof t == "string" && CB(t) && !(t in Object(e)) ? DB(t) : [t], n.length === 0) return !1;let r = e;for (let e = 0; e < n.length; e++) {- let t = TB(n[e]);- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || vCe(r)) && EV(t) && Number(t) < r.length)) return !1;+ let t = wB(n[e]);+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || SCe(r)) && SV(t) && Number(t) < r.length)) return !1;r = r[t];}return !0;}//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs-function bCe(e, t) {+function wCe(e, t) {switch (typeof e) {case "object":Object.is(e?.valueOf(), -0) && (e = "-0");break;- case "number": e = TB(e);+ case "number": e = wB(e);}- return t = gCe(t), function(n) {- let r = kB(n, e);- return r === void 0 ? yCe(n, e) : t === void 0 ? r === void 0 : TV(r, t);+ return t = bCe(t), function(n) {+ let r = OB(n, e);+ return r === void 0 ? CCe(n, e) : t === void 0 ? r === void 0 : xV(r, t);};}//#endregion//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs-function DV(e) {- if (e == null) return aV;+function CV(e) {+ if (e == null) return iV;switch (typeof e) {case "function": return e;- case "object": return Array.isArray(e) && e.length === 2 ? bCe(e[0], e[1]) : mCe(e);- default: return sV(e);+ case "object": return Array.isArray(e) && e.length === 2 ? wCe(e[0], e[1]) : vCe(e);+ default: return GSe(e);}}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs-function xCe(e) {+function TCe(e) {return e === 0 ? 0 : e;}//#endregion//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs-function OV(e, t = aV) {- return oV(e) ? VSe(Array.from(e), HSe(DV(t), 1)).map(xCe) : [];+function wV(e, t = iV) {+ return aV(e) ? HSe(Array.from(e), USe(CV(t), 1)).map(TCe) : [];}//#endregion//#region node_modules/recharts/es6/util/payload/getUniqPayload.js-function kV(e, t, n) {- return t === !0 ? OV(e, n) : typeof t == "function" ? OV(e, t) : e;+function TV(e, t, n) {+ return t === !0 ? wV(e, n) : typeof t == "function" ? wV(e, t) : e;}//#endregion//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var SCe = /* @__PURE__ */ xt(((e) => {+var ECe = /* @__PURE__ */ xt(((e) => {var t = Ot(), n = Uh();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -55633,60 +55633,60 @@ var SCe = /* @__PURE__ */ xt(((e) => {f.hasValue = !0, f.value = p;}, [p]), l(p), p;};-})), CCe = /* @__PURE__ */ xt(((e, t) => {- t.exports = SCe();-})), AV = /*#__PURE__*/ (0, B.createContext)(null), wCe = CCe(), TCe = (e) => e, jV = () => {- var e = (0, B.useContext)(AV);- return e ? e.store.dispatch : TCe;-}, MV = () => {}, ECe = () => MV, DCe = (e, t) => e === t;+})), DCe = /* @__PURE__ */ xt(((e, t) => {+ t.exports = ECe();+})), EV = /*#__PURE__*/ (0, B.createContext)(null), OCe = DCe(), kCe = (e) => e, DV = () => {+ var e = (0, B.useContext)(EV);+ return e ? e.store.dispatch : kCe;+}, OV = () => {}, ACe = () => OV, jCe = (e, t) => e === t;function Q(e) {- var t = (0, B.useContext)(AV), n = (0, B.useMemo)(() => t ? (t) => {+ var t = (0, B.useContext)(EV), n = (0, B.useMemo)(() => t ? (t) => {if (t != null) return e(t);- } : MV, [t, e]);- return (0, wCe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : ECe, t ? t.store.getState : MV, t ? t.store.getState : MV, n, DCe);+ } : OV, [t, e]);+ return (0, OCe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : ACe, t ? t.store.getState : OV, t ? t.store.getState : OV, n, jCe);}//#endregion//#region node_modules/reselect/dist/reselect.mjs-function OCe(e, t = `expected a function, instead received ${typeof e}`) {+function MCe(e, t = `expected a function, instead received ${typeof e}`) {if (typeof e != "function") throw TypeError(t);}-function kCe(e, t = `expected an object, instead received ${typeof e}`) {+function NCe(e, t = `expected an object, instead received ${typeof e}`) {if (typeof e != "object") throw TypeError(t);}-function ACe(e, t = "expected all items to be functions, instead received the following types: ") {+function PCe(e, t = "expected all items to be functions, instead received the following types: ") {if (!e.every((e) => typeof e == "function")) {let n = e.map((e) => typeof e == "function" ? `function ${e.name || "unnamed"}()` : typeof e).join(", ");throw TypeError(`${t}[${n}]`);}}-var NV = (e) => Array.isArray(e) ? e : [e];-function jCe(e) {+var kV = (e) => Array.isArray(e) ? e : [e];+function FCe(e) {let t = Array.isArray(e[0]) ? e[0] : e;- return ACe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;+ return PCe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;}-function MCe(e, t) {+function ICe(e, t) {let n = [], { length: r } = e;for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));return n;}-var NCe = class {+var LCe = class {constructor(e) {this.value = e;}deref() {return this.value;}-}, PCe = typeof WeakRef < "u" ? WeakRef : NCe, FCe = 0, PV = 1;-function FV() {+}, RCe = typeof WeakRef < "u" ? WeakRef : LCe, zCe = 0, AV = 1;+function jV() {return {- s: FCe,+ s: zCe,v: void 0,o: null,p: null};}-function IV(e, t = {}) {- let n = FV(), { resultEqualityCheck: r } = t, i, a = 0;+function MV(e, t = {}) {+ let n = jV(), { resultEqualityCheck: r } = t, i, a = 0;function o() {let t = n, { length: o } = arguments;for (let e = 0, n = o; e < n; e++) {@@ -55695,43 +55695,43 @@ function IV(e, t = {}) {let e = t.o;e === null && (t.o = e = /* @__PURE__ */ new WeakMap());let r = e.get(n);- r === void 0 ? (t = FV(), e.set(n, t)) : t = r;+ r === void 0 ? (t = jV(), e.set(n, t)) : t = r;} else {let e = t.p;e === null && (t.p = e = /* @__PURE__ */ new Map());let r = e.get(n);- r === void 0 ? (t = FV(), e.set(n, t)) : t = r;+ r === void 0 ? (t = jV(), e.set(n, t)) : t = r;}}let s = t, c;- if (t.s === PV) c = t.v;+ if (t.s === AV) c = t.v;else if (c = e.apply(null, arguments), a++, r) {let e = i?.deref?.() ?? i;- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new PCe(c) : c;+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new RCe(c) : c;}- return s.s = PV, s.v = c, c;+ return s.s = AV, s.v = c, c;}return o.clearCache = () => {- n = FV(), o.resetResultsCount();+ n = jV(), o.resetResultsCount();}, o.resultsCount = () => a, o.resetResultsCount = () => {a = 0;}, o;}-function ICe(e, ...t) {+function BCe(e, ...t) {let n = typeof e == "function" ? {memoize: e,memoizeOptions: t} : e, r = (...e) => {let t = 0, r = 0, i, a = {}, o = e.pop();- typeof o == "object" && (a = o, o = e.pop()), OCe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = IV, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {+ typeof o == "object" && (a = o, o = e.pop()), MCe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = MV, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {...n,...a- }, f = NV(c), p = NV(u), m = jCe(e), h = s(function() {+ }, f = kV(c), p = kV(u), m = FCe(e), h = s(function() {return t++, o.apply(null, arguments);}, ...f), g = l(function() {r++;- let e = MCe(m, arguments);+ let e = ICe(m, arguments);return i = h.apply(null, e), i;}, ...p);return Object.assign(g, {@@ -55753,14 +55753,14 @@ function ICe(e, ...t) {};return Object.assign(r, { withTypes: () => r }), r;}-var $ = /* @__PURE__ */ ICe(IV), LCe = Object.assign((e, t = $) => {- kCe(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);+var $ = /* @__PURE__ */ BCe(MV), VCe = Object.assign((e, t = $) => {+ NCe(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let n = Object.keys(e);return t(n.map((t) => e[t]), (...e) => e.reduce((e, t, r) => (e[n[r]] = t, e), {}));-}, { withTypes: () => LCe });+}, { withTypes: () => VCe });//#endregion//#region node_modules/es-toolkit/dist/array/flatten.mjs-function RCe(e, t = 1) {+function HCe(e, t = 1) {let n = [], r = Math.floor(t), i = (e, t) => {for (let a = 0; a < e.length; a++) {let o = e[a];@@ -55771,17 +55771,17 @@ function RCe(e, t = 1) {}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs-function LV(e, t, n) {- return xV(n) && (typeof t == "number" && oV(n) && EV(t) && t < n.length || typeof t == "string" && t in n) ? bV(n[t], e) : !1;+function NV(e, t, n) {+ return _V(n) && (typeof t == "number" && aV(n) && SV(t) && t < n.length || typeof t == "string" && t in n) ? gV(n[t], e) : !1;}//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs-function RV(e) {+function PV(e) {return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;}-var zCe = (e, t, n) => {+var UCe = (e, t, n) => {if (e !== t) {- let r = RV(e), i = RV(t);+ let r = PV(e), i = PV(t);if (r === i && r === 0) {if (e < t) return n === "desc" ? 1 : -1;if (e > t) return n === "desc" ? -1 : 1;@@ -55789,15 +55789,15 @@ var zCe = (e, t, n) => {return n === "desc" ? i - r : r - i;}return 0;-}, BCe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, VCe = /^\w*$/;-function HCe(e, t) {- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || EB(e) ? !0 : typeof e == "string" && (VCe.test(e) || !BCe.test(e)) || t != null && Object.hasOwn(t, e);+}, WCe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, GCe = /^\w*$/;+function KCe(e, t) {+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || TB(e) ? !0 : typeof e == "string" && (GCe.test(e) || !WCe.test(e)) || t != null && Object.hasOwn(t, e);}//#endregion//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs-function UCe(e, t, n, r) {+function qCe(e, t, n, r) {if (e == null) return [];- n = r ? void 0 : n, Array.isArray(e) || (e = oV(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 = aV(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]];@@ -55805,16 +55805,16 @@ function UCe(e, t, n, r) {}, a = (e, t) => {if (e == null) return t;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) || HCe(e) ? e : {+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || KCe(e) ? e : {key: e,- path: OB(e)+ path: DB(e)}));return e.map((e) => ({original: e,criteria: o.map((t) => a(t, e))})).slice().sort((e, t) => {for (let r = 0; r < o.length; r++) {- let i = zCe(e.criteria[r], t.criteria[r], n[r]);+ let i = UCe(e.criteria[r], t.criteria[r], n[r]);if (i !== 0) return i;}return 0;@@ -55822,25 +55822,25 @@ function UCe(e, t, n, r) {}//#endregion//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs-function zV(e, ...t) {+function FV(e, ...t) {let n = t.length;- return n > 1 && LV(e, t[0], t[1]) ? t = [] : n > 2 && LV(t[0], t[1], t[2]) && (t = [t[0]]), UCe(e, RCe(t), ["asc"]);+ return n > 1 && NV(e, t[0], t[1]) ? t = [] : n > 2 && NV(t[0], t[1], t[2]) && (t = [t[0]]), qCe(e, HCe(t), ["asc"]);}//#endregion//#region node_modules/recharts/es6/state/selectors/legendSelectors.js-var BV = (e) => e.legend.settings, WCe = (e) => e.legend.size, GCe = $([(e) => e.legend.payload, BV], (e, t) => {+var IV = (e) => e.legend.settings, JCe = (e) => e.legend.size, YCe = $([(e) => e.legend.payload, IV], (e, t) => {var { itemSorter: n } = t, r = e.flat(1);- return n ? zV(r, n) : r;+ return n ? FV(r, n) : r;});//#endregion//#region node_modules/recharts/es6/context/legendPayloadContext.js-function KCe() {- return Q(GCe);+function XCe() {+ return Q(YCe);}//#endregion//#region node_modules/recharts/es6/util/useElementOffset.js-var VV = 1;-function HV() {+var LV = 1;+function RV() {var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, B.useState)({height: 0,left: 0,@@ -55855,7 +55855,7 @@ function HV() {top: r.top,width: r.width};- (Math.abs(i.height - t.height) > VV || Math.abs(i.left - t.left) > VV || Math.abs(i.top - t.top) > VV || Math.abs(i.width - t.width) > VV) && n({+ (Math.abs(i.height - t.height) > LV || Math.abs(i.left - t.left) > LV || Math.abs(i.top - t.top) > LV || Math.abs(i.width - t.width) > LV) && n({height: i.height,left: i.left,top: i.top,@@ -55872,26 +55872,26 @@ function HV() {}//#endregion//#region node_modules/redux/dist/redux.mjs-function UV(e) {+function zV(e) {return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;}-var WV = typeof Symbol == "function" && Symbol.observable || "@@observable", GV = () => Math.random().toString(36).substring(7).split("").join("."), KV = {- INIT: `@@redux/INIT${/* @__PURE__ */ GV()}`,- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ GV()}`,- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${GV()}`+var BV = typeof Symbol == "function" && Symbol.observable || "@@observable", VV = () => Math.random().toString(36).substring(7).split("").join("."), HV = {+ INIT: `@@redux/INIT${/* @__PURE__ */ VV()}`,+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ VV()}`,+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${VV()}`};-function qV(e) {+function UV(e) {if (typeof e != "object" || !e) return !1;let t = e;for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;}-function JV(e, t, n) {- if (typeof e != "function") throw Error(UV(2));- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(UV(0));+function WV(e, t, n) {+ if (typeof e != "function") throw Error(zV(2));+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(zV(0));if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {- if (typeof n != "function") throw Error(UV(1));- return n(JV)(e, t);+ if (typeof n != "function") throw Error(zV(1));+ return n(WV)(e, t);}let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;function l() {@@ -55900,27 +55900,27 @@ function JV(e, t, n) {}));}function u() {- if (c) throw Error(UV(3));+ if (c) throw Error(zV(3));return i;}function d(e) {- if (typeof e != "function") throw Error(UV(4));- if (c) throw Error(UV(5));+ if (typeof e != "function") throw Error(zV(4));+ if (c) throw Error(zV(5));let t = !0;l();let n = s++;return o.set(n, e), function() {if (t) {- if (c) throw Error(UV(6));+ if (c) throw Error(zV(6));t = !1, l(), o.delete(n), a = null;}};}function f(e) {- if (!qV(e)) throw Error(UV(7));- if (e.type === void 0) throw Error(UV(8));- if (typeof e.type != "string") throw Error(UV(17));- if (c) throw Error(UV(9));+ if (!UV(e)) throw Error(zV(7));+ if (e.type === void 0) throw Error(zV(8));+ if (typeof e.type != "string") throw Error(zV(17));+ if (c) throw Error(zV(9));try {c = !0, i = r(i, e);} finally {@@ -55931,41 +55931,41 @@ function JV(e, t, n) {}), e;}function p(e) {- if (typeof e != "function") throw Error(UV(10));- r = e, f({ type: KV.REPLACE });+ if (typeof e != "function") throw Error(zV(10));+ r = e, f({ type: HV.REPLACE });}function m() {let e = d;return {subscribe(t) {- if (typeof t != "object" || !t) throw Error(UV(11));+ if (typeof t != "object" || !t) throw Error(zV(11));function n() {let e = t;e.next && e.next(u());}return n(), { unsubscribe: e(n) };},- [WV]() {+ [BV]() {return this;}};}- return f({ type: KV.INIT }), {+ return f({ type: HV.INIT }), {dispatch: f,subscribe: d,getState: u,replaceReducer: p,- [WV]: m+ [BV]: m};}-function qCe(e) {+function ZCe(e) {Object.keys(e).forEach((t) => {let n = e[t];- if (n(void 0, { type: KV.INIT }) === void 0) throw Error(UV(12));- if (n(void 0, { type: KV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(UV(13));+ if (n(void 0, { type: HV.INIT }) === void 0) throw Error(zV(12));+ if (n(void 0, { type: HV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(zV(13));});}-function YV(e) {+function GV(e) {let t = Object.keys(e), n = {};for (let r = 0; r < t.length; r++) {let i = t[r];@@ -55973,7 +55973,7 @@ function YV(e) {}let r = Object.keys(n), i;try {- qCe(n);+ ZCe(n);} catch (e) {i = e;}@@ -55982,124 +55982,124 @@ function YV(e) {let a = !1, o = {};for (let i = 0; i < r.length; i++) {let s = r[i], c = n[s], l = e[s], u = c(l, t);- if (u === void 0) throw t && t.type, Error(UV(14));+ if (u === void 0) throw t && t.type, Error(zV(14));o[s] = u, a ||= u !== l;}return a ||= r.length !== Object.keys(e).length, a ? o : e;};}-function XV(...e) {+function KV(...e) {return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));}-function JCe(...e) {+function QCe(...e) {return (t) => (n, r) => {let i = t(n, r), a = () => {- throw Error(UV(15));+ throw Error(zV(15));}, o = {getState: i.getState,dispatch: (e, ...t) => a(e, ...t)};- return a = XV(...e.map((e) => e(o)))(i.dispatch), {+ return a = KV(...e.map((e) => e(o)))(i.dispatch), {...i,dispatch: a};};}-function ZV(e) {- return qV(e) && "type" in e && typeof e.type == "string";+function qV(e) {+ return UV(e) && "type" in e && typeof e.type == "string";}//#endregion//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs-var QV = Symbol.for("immer-nothing"), $V = Symbol.for("immer-draftable"), eH = Symbol.for("immer-state");-function tH(e, ...t) {+var JV = Symbol.for("immer-nothing"), YV = Symbol.for("immer-draftable"), XV = Symbol.for("immer-state");+function ZV(e, ...t) {throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);}-var nH = Object, rH = nH.getPrototypeOf, iH = "constructor", aH = "prototype", oH = "configurable", sH = "enumerable", cH = "writable", lH = "value", uH = (e) => !!e && !!e[eH];-function dH(e) {- return e ? pH(e) || yH(e) || !!e[$V] || !!e[iH]?.[$V] || bH(e) || xH(e) : !1;-}-var YCe = nH[aH][iH].toString(), fH = /* @__PURE__ */ new WeakMap();-function pH(e) {- if (!e || !SH(e)) return !1;- let t = rH(e);- if (t === null || t === nH[aH]) return !0;- let n = nH.hasOwnProperty.call(t, iH) && t[iH];+var QV = Object, $V = QV.getPrototypeOf, eH = "constructor", tH = "prototype", nH = "configurable", rH = "enumerable", iH = "writable", aH = "value", oH = (e) => !!e && !!e[XV];+function sH(e) {+ return e ? lH(e) || hH(e) || !!e[YV] || !!e[eH]?.[YV] || gH(e) || _H(e) : !1;+}+var $Ce = QV[tH][eH].toString(), cH = /* @__PURE__ */ new WeakMap();+function lH(e) {+ if (!e || !vH(e)) return !1;+ let t = $V(e);+ if (t === null || t === QV[tH]) return !0;+ let n = QV.hasOwnProperty.call(t, eH) && t[eH];if (n === Object) return !0;- if (!CH(n)) return !1;- let r = fH.get(n);- return r === void 0 && (r = Function.toString.call(n), fH.set(n, r)), r === YCe;+ if (!yH(n)) return !1;+ let r = cH.get(n);+ return r === void 0 && (r = Function.toString.call(n), cH.set(n, r)), r === $Ce;}-function mH(e, t, n = !0) {- hH(e) === 0 ? (n ? Reflect.ownKeys(e) : nH.keys(e)).forEach((n) => {+function uH(e, t, n = !0) {+ dH(e) === 0 ? (n ? Reflect.ownKeys(e) : QV.keys(e)).forEach((n) => {t(n, e[n], e);}) : e.forEach((n, r) => t(r, n, e));}-function hH(e) {- let t = e[eH];- return t ? t.type_ : yH(e) ? 1 : bH(e) ? 2 : xH(e) ? 3 : 0;+function dH(e) {+ let t = e[XV];+ return t ? t.type_ : hH(e) ? 1 : gH(e) ? 2 : _H(e) ? 3 : 0;}-var gH = (e, t, n = hH(e)) => n === 2 ? e.has(t) : nH[aH].hasOwnProperty.call(e, t), _H = (e, t, n = hH(e)) => n === 2 ? e.get(t) : e[t], vH = (e, t, n, r = hH(e)) => {+var fH = (e, t, n = dH(e)) => n === 2 ? e.has(t) : QV[tH].hasOwnProperty.call(e, t), pH = (e, t, n = dH(e)) => n === 2 ? e.get(t) : e[t], mH = (e, t, n, r = dH(e)) => {r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;};-function XCe(e, t) {+function ewe(e, t) {return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;}-var yH = Array.isArray, bH = (e) => e instanceof Map, xH = (e) => e instanceof Set, SH = (e) => typeof e == "object", CH = (e) => typeof e == "function", wH = (e) => typeof e == "boolean";-function ZCe(e) {+var hH = Array.isArray, gH = (e) => e instanceof Map, _H = (e) => e instanceof Set, vH = (e) => typeof e == "object", yH = (e) => typeof e == "function", bH = (e) => typeof e == "boolean";+function twe(e) {let t = +e;return Number.isInteger(t) && String(t) === e;}-var TH = (e) => e.copy_ || e.base_, EH = (e) => e.modified_ ? e.copy_ : e.base_;-function DH(e, t) {- if (bH(e)) return new Map(e);- if (xH(e)) return new Set(e);- if (yH(e)) return Array[aH].slice.call(e);- let n = pH(e);+var xH = (e) => e.copy_ || e.base_, SH = (e) => e.modified_ ? e.copy_ : e.base_;+function CH(e, t) {+ if (gH(e)) return new Map(e);+ if (_H(e)) return new Set(e);+ if (hH(e)) return Array[tH].slice.call(e);+ let n = lH(e);if (t === !0 || t === "class_only" && !n) {- let t = nH.getOwnPropertyDescriptors(e);- delete t[eH];+ let t = QV.getOwnPropertyDescriptors(e);+ delete t[XV];let n = Reflect.ownKeys(t);for (let r = 0; r < n.length; r++) {let i = n[r], a = t[i];- a[cH] === !1 && (a[cH] = !0, a[oH] = !0), (a.get || a.set) && (t[i] = {- [oH]: !0,- [cH]: !0,- [sH]: a[sH],- [lH]: e[i]+ a[iH] === !1 && (a[iH] = !0, a[nH] = !0), (a.get || a.set) && (t[i] = {+ [nH]: !0,+ [iH]: !0,+ [rH]: a[rH],+ [aH]: e[i]});}- return nH.create(rH(e), t);+ return QV.create($V(e), t);}{- let t = rH(e);+ let t = $V(e);if (t !== null && n) return { ...e };- let r = nH.create(t);- return nH.assign(r, e);- }-}-function OH(e, t = !1) {- return AH(e) || uH(e) || !dH(e) ? e : (hH(e) > 1 && nH.defineProperties(e, {- set: kH,- add: kH,- clear: kH,- delete: kH- }), nH.freeze(e), t && mH(e, (e, t) => {- OH(t, !0);+ let r = QV.create(t);+ return QV.assign(r, e);+ }+}+function wH(e, t = !1) {+ return EH(e) || oH(e) || !sH(e) ? e : (dH(e) > 1 && QV.defineProperties(e, {+ set: TH,+ add: TH,+ clear: TH,+ delete: TH+ }), QV.freeze(e), t && uH(e, (e, t) => {+ wH(t, !0);}, !1), e);}-function QCe() {- tH(2);+function nwe() {+ ZV(2);}-var kH = { [lH]: QCe };-function AH(e) {- return e === null || !SH(e) || nH.isFrozen(e);+var TH = { [aH]: nwe };+function EH(e) {+ return e === null || !vH(e) || QV.isFrozen(e);}-var jH = "MapSet", MH = "Patches", NH = "ArrayMethods", PH = {};-function FH(e) {- let t = PH[e];- return t || tH(0, e), t;+var DH = "MapSet", OH = "Patches", kH = "ArrayMethods", AH = {};+function jH(e) {+ let t = AH[e];+ return t || ZV(0, e), t;}-var IH = (e) => !!PH[e], LH, RH = () => LH, $Ce = (e, t) => ({+var MH = (e) => !!AH[e], NH, PH = () => NH, rwe = (e, t) => ({drafts_: [],parent_: e,immer_: t,@@ -56107,114 +56107,114 @@ var IH = (e) => !!PH[e], LH, RH = () => LH, $Ce = (e, t) => ({unfinalizedDrafts_: 0,handledSet_: /* @__PURE__ */ new Set(),processedForPatches_: /* @__PURE__ */ new Set(),- mapSetPlugin_: IH(jH) ? FH(jH) : void 0,- arrayMethodsPlugin_: IH(NH) ? FH(NH) : void 0+ mapSetPlugin_: MH(DH) ? jH(DH) : void 0,+ arrayMethodsPlugin_: MH(kH) ? jH(kH) : void 0});-function zH(e, t) {- t && (e.patchPlugin_ = FH(MH), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);+function FH(e, t) {+ t && (e.patchPlugin_ = jH(OH), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);}-function BH(e) {- VH(e), e.drafts_.forEach(ewe), e.drafts_ = null;+function IH(e) {+ LH(e), e.drafts_.forEach(iwe), e.drafts_ = null;}-function VH(e) {- e === LH && (LH = e.parent_);+function LH(e) {+ e === NH && (NH = e.parent_);}-var HH = (e) => LH = $Ce(LH, e);-function ewe(e) {- let t = e[eH];+var RH = (e) => NH = rwe(NH, e);+function iwe(e) {+ let t = e[XV];t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;}-function UH(e, t) {+function zH(e, t) {t.unfinalizedDrafts_ = t.drafts_.length;let n = t.drafts_[0];if (e !== void 0 && e !== n) {- n[eH].modified_ && (BH(t), tH(4)), dH(e) && (e = WH(t, e));+ n[XV].modified_ && (IH(t), ZV(4)), sH(e) && (e = BH(t, e));let { patchPlugin_: r } = t;- r && r.generateReplacementPatches_(n[eH].base_, e, t);- } else e = WH(t, n);- return twe(t, e, !0), BH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === QV ? void 0 : e;-}-function WH(e, t) {- if (AH(t)) return t;- let n = t[eH];- if (!n) return YH(t, e.handledSet_, e);- if (!KH(n, e)) return t;+ r && r.generateReplacementPatches_(n[XV].base_, e, t);+ } else e = BH(t, n);+ return awe(t, e, !0), IH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === JV ? void 0 : e;+}+function BH(e, t) {+ if (EH(t)) return t;+ let n = t[XV];+ if (!n) return GH(t, e.handledSet_, e);+ if (!HH(n, e)) return t;if (!n.modified_) return n.base_;if (!n.finalized_) {let { callbacks_: t } = n;if (t) for (; t.length > 0;) t.pop()(e);- JH(n, e);+ WH(n, e);}return n.copy_;}-function twe(e, t, n = !1) {- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && OH(t, n);+function awe(e, t, n = !1) {+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && wH(t, n);}-function GH(e) {+function VH(e) {e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;}-var KH = (e, t) => e.scope_ === t, nwe = [];-function qH(e, t, n, r) {- let i = TH(e), a = e.type_;- if (r !== void 0 && _H(i, r, a) === t) {- vH(i, r, n, a);+var HH = (e, t) => e.scope_ === t, owe = [];+function UH(e, t, n, r) {+ let i = xH(e), a = e.type_;+ if (r !== void 0 && pH(i, r, a) === t) {+ mH(i, r, n, a);return;}if (!e.draftLocations_) {let t = e.draftLocations_ = /* @__PURE__ */ new Map();- mH(i, (e, n) => {- if (uH(n)) {+ uH(i, (e, n) => {+ if (oH(n)) {let r = t.get(n) || [];r.push(e), t.set(n, r);}});}- let o = e.draftLocations_.get(t) ?? nwe;- for (let e of o) vH(i, e, n, a);+ let o = e.draftLocations_.get(t) ?? owe;+ for (let e of o) mH(i, e, n, a);}-function rwe(e, t, n) {+function swe(e, t, n) {e.callbacks_.push(function(r) {let i = t;- if (!i || !KH(i, r)) return;+ if (!i || !HH(i, r)) return;r.mapSetPlugin_?.fixSetContents(i);- let a = EH(i);- qH(e, i.draft_ ?? i, a, n), JH(i, r);+ let a = SH(i);+ UH(e, i.draft_ ?? i, a, n), WH(i, r);});}-function JH(e, t) {+function WH(e, t) {if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {let { patchPlugin_: n } = t;if (n) {let r = n.getPath(e);r && n.generatePatches_(e, r, t);}- GH(e);+ VH(e);}}-function iwe(e, t, n) {+function cwe(e, t, n) {let { scope_: r } = e;- if (uH(n)) {- let i = n[eH];- KH(i, r) && i.callbacks_.push(function() {- tU(e), qH(e, n, EH(i), t);+ if (oH(n)) {+ let i = n[XV];+ HH(i, r) && i.callbacks_.push(function() {+ ZH(e), UH(e, n, SH(i), t);});- } else dH(n) && e.callbacks_.push(function() {- let i = TH(e);- e.type_ === 3 ? i.has(n) && YH(n, r.handledSet_, r) : _H(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && YH(_H(e.copy_, t, e.type_), r.handledSet_, r);+ } else sH(n) && e.callbacks_.push(function() {+ let i = xH(e);+ e.type_ === 3 ? i.has(n) && GH(n, r.handledSet_, r) : pH(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && GH(pH(e.copy_, t, e.type_), r.handledSet_, r);});}-function YH(e, t, n) {- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || uH(e) || t.has(e) || !dH(e) || AH(e) ? e : (t.add(e), mH(e, (r, i) => {- if (uH(i)) {- let t = i[eH];- KH(t, n) && (vH(e, r, EH(t), e.type_), GH(t));- } else dH(i) && YH(i, t, n);+function GH(e, t, n) {+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || oH(e) || t.has(e) || !sH(e) || EH(e) ? e : (t.add(e), uH(e, (r, i) => {+ if (oH(i)) {+ let t = i[XV];+ HH(t, n) && (mH(e, r, SH(t), e.type_), VH(t));+ } else sH(i) && GH(i, t, n);}), e);}-function awe(e, t) {- let n = yH(e), r = {+function lwe(e, t) {+ let n = hH(e), r = {type_: +!!n,- scope_: t ? t.scope_ : RH(),+ scope_: t ? t.scope_ : PH(),modified_: !1,finalized_: !1,assigned_: void 0,@@ -56225,108 +56225,108 @@ function awe(e, t) {revoke_: null,isManual_: !1,callbacks_: void 0- }, i = r, a = XH;- n && (i = [r], a = ZH);+ }, i = r, a = KH;+ n && (i = [r], a = qH);let { revoke: o, proxy: s } = Proxy.revocable(i, a);return r.draft_ = s, r.revoke_ = o, [s, r];}-var XH = {+var KH = {get(e, t) {- if (t === eH) return e;+ if (t === XV) return e;let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);- let i = TH(e);- if (!gH(i, t, e.type_)) return swe(e, i, t);+ let i = xH(e);+ if (!fH(i, t, e.type_)) return dwe(e, i, t);let a = i[t];- if (e.finalized_ || !dH(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && ZCe(t)) return a;- if (a === QH(e.base_, t) || owe(e, t, a)) {- tU(e);- let n = e.type_ === 1 ? +t : t, r = nU(e.scope_, a, e, n);+ if (e.finalized_ || !sH(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && twe(t)) return a;+ if (a === JH(e.base_, t) || uwe(e, t, a)) {+ ZH(e);+ let n = e.type_ === 1 ? +t : t, r = QH(e.scope_, a, e, n);return e.copy_[n] = r;}return a;},has(e, t) {- return t in TH(e);+ return t in xH(e);},ownKeys(e) {- return Reflect.ownKeys(TH(e));+ return Reflect.ownKeys(xH(e));},set(e, t, n) {- let r = $H(TH(e), t);+ let r = YH(xH(e), t);if (r?.set) return r.set.call(e.draft_, n), !0;if (!e.modified_) {- let r = QH(TH(e), t), i = r?.[eH];+ let r = JH(xH(e), t), i = r?.[XV];if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;- if (XCe(n, r) && (n !== void 0 || gH(e.base_, t, e.type_))) return !0;- tU(e), eU(e);+ if (ewe(n, r) && (n !== void 0 || fH(e.base_, t, e.type_))) return !0;+ ZH(e), XH(e);}- return e.copy_[t] === n && (n !== void 0 || gH(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), iwe(e, t, n), !0);+ return e.copy_[t] === n && (n !== void 0 || fH(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), cwe(e, t, n), !0);},deleteProperty(e, t) {- return tU(e), QH(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), eU(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;+ return ZH(e), JH(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), XH(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;},getOwnPropertyDescriptor(e, t) {- let n = TH(e), r = Reflect.getOwnPropertyDescriptor(n, t);+ let n = xH(e), r = Reflect.getOwnPropertyDescriptor(n, t);return r && {- [cH]: !0,- [oH]: e.type_ !== 1 || t !== "length",- [sH]: r[sH],- [lH]: n[t]+ [iH]: !0,+ [nH]: e.type_ !== 1 || t !== "length",+ [rH]: r[rH],+ [aH]: n[t]};},defineProperty() {- tH(11);+ ZV(11);},getPrototypeOf(e) {- return rH(e.base_);+ return $V(e.base_);},setPrototypeOf() {- tH(12);+ ZV(12);}-}, ZH = {};-for (let e in XH) {- let t = XH[e];- ZH[e] = function() {+}, qH = {};+for (let e in KH) {+ let t = KH[e];+ qH[e] = function() {let e = arguments;return e[0] = e[0][0], t.apply(this, e);};}-ZH.deleteProperty = function(e, t) {- return ZH.set.call(this, e, t, void 0);-}, ZH.set = function(e, t, n) {- return XH.set.call(this, e[0], t, n, e[0]);+qH.deleteProperty = function(e, t) {+ return qH.set.call(this, e, t, void 0);+}, qH.set = function(e, t, n) {+ return KH.set.call(this, e[0], t, n, e[0]);};-function QH(e, t) {- let n = e[eH];- return (n ? TH(n) : e)[t];+function JH(e, t) {+ let n = e[XV];+ return (n ? xH(n) : e)[t];}-function owe(e, t, n) {- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !dH(n) || n[eH] ? !1 : e.baseRefs_.has(n);+function uwe(e, t, n) {+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !sH(n) || n[XV] ? !1 : e.baseRefs_.has(n);}-function swe(e, t, n) {- let r = $H(t, n);- return r ? lH in r ? r[lH] : r.get?.call(e.draft_) : void 0;+function dwe(e, t, n) {+ let r = YH(t, n);+ return r ? aH in r ? r[aH] : r.get?.call(e.draft_) : void 0;}-function $H(e, t) {+function YH(e, t) {if (!(t in e)) return;- let n = rH(e);+ let n = $V(e);for (; n;) {let e = Object.getOwnPropertyDescriptor(n, t);if (e) return e;- n = rH(n);+ n = $V(n);}}-function eU(e) {- e.modified_ || (e.modified_ = !0, e.parent_ && eU(e.parent_));+function XH(e) {+ e.modified_ || (e.modified_ = !0, e.parent_ && XH(e.parent_));}-function tU(e) {- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), DH(e.base_, e.scope_.immer_.useStrictShallowCopy_));+function ZH(e) {+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), CH(e.base_, e.scope_.immer_.useStrictShallowCopy_));}-var cwe = class {+var fwe = class {constructor(e) {this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {- if (CH(e) && !CH(t)) {+ if (yH(e) && !yH(t)) {let n = t;t = e;let r = this;@@ -56334,30 +56334,30 @@ var cwe = class {return r.produce(e, (e) => t.call(this, e, ...i));};}- CH(t) || tH(6), n !== void 0 && !CH(n) && tH(7);+ yH(t) || ZV(6), n !== void 0 && !yH(n) && ZV(7);let r;- if (dH(e)) {- let i = HH(this), a = nU(i, e, void 0), o = !0;+ if (sH(e)) {+ let i = RH(this), a = QH(i, e, void 0), o = !0;try {r = t(a), o = !1;} finally {- o ? BH(i) : VH(i);+ o ? IH(i) : LH(i);}- return zH(i, n), UH(r, i);+ return FH(i, n), zH(r, i);}- if (!e || !SH(e)) {- if (r = t(e), r === void 0 && (r = e), r === QV && (r = void 0), this.autoFreeze_ && OH(r, !0), n) {+ if (!e || !vH(e)) {+ if (r = t(e), r === void 0 && (r = e), r === JV && (r = void 0), this.autoFreeze_ && wH(r, !0), n) {let t = [], i = [];- FH(MH).generateReplacementPatches_(e, r, {+ jH(OH).generateReplacementPatches_(e, r, {patches_: t,inversePatches_: i}), n(t, i);}return r;}- tH(1, e);+ ZV(1, e);}, this.produceWithPatches = (e, t) => {- if (CH(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));+ if (yH(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));let n, r;return [this.produce(e, t, (e, t) => {@@ -56366,18 +56366,18 @@ var cwe = class {n,r];- }, wH(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), wH(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), wH(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);+ }, bH(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), bH(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), bH(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);}createDraft(e) {- dH(e) || tH(8), uH(e) && (e = rU(e));- let t = HH(this), n = nU(t, e, void 0);- return n[eH].isManual_ = !0, VH(t), n;+ sH(e) || ZV(8), oH(e) && (e = $H(e));+ let t = RH(this), n = QH(t, e, void 0);+ return n[XV].isManual_ = !0, LH(t), n;}finishDraft(e, t) {- let n = e && e[eH];- (!n || !n.isManual_) && tH(9);+ let n = e && e[XV];+ (!n || !n.isManual_) && ZV(9);let { scope_: r } = n;- return zH(r, t), UH(void 0, r);+ return FH(r, t), zH(void 0, r);}setAutoFreeze(e) {this.autoFreeze_ = e;@@ -56401,48 +56401,48 @@ var cwe = class {}}n > -1 && (t = t.slice(n + 1));- let r = FH(MH).applyPatches_;- return uH(e) ? r(e, t) : this.produce(e, (e) => r(e, t));+ let r = jH(OH).applyPatches_;+ return oH(e) ? r(e, t) : this.produce(e, (e) => r(e, t));}};-function nU(e, t, n, r) {- let [i, a] = bH(t) ? FH(jH).proxyMap_(t, n) : xH(t) ? FH(jH).proxySet_(t, n) : awe(t, n);- return (n?.scope_ ?? RH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? rwe(n, a, r) : a.callbacks_.push(function(e) {+function QH(e, t, n, r) {+ let [i, a] = gH(t) ? jH(DH).proxyMap_(t, n) : _H(t) ? jH(DH).proxySet_(t, n) : lwe(t, n);+ return (n?.scope_ ?? PH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? swe(n, a, r) : a.callbacks_.push(function(e) {e.mapSetPlugin_?.fixSetContents(a);let { patchPlugin_: t } = e;a.modified_ && t && t.generatePatches_(a, [], e);}), i;}-function rU(e) {- return uH(e) || tH(10, e), iU(e);+function $H(e) {+ return oH(e) || ZV(10, e), eU(e);}-function iU(e) {- if (!dH(e) || AH(e)) return e;- let t = e[eH], n, r = !0;+function eU(e) {+ if (!sH(e) || EH(e)) return e;+ let t = e[XV], n, r = !0;if (t) {if (!t.modified_) return t.base_;- t.finalized_ = !0, n = DH(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();- } else n = DH(e, !0);- return mH(n, (e, t) => {- vH(n, e, iU(t));+ t.finalized_ = !0, n = CH(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();+ } else n = CH(e, !0);+ return uH(n, (e, t) => {+ mH(n, e, eU(t));}, r), t && (t.finalized_ = !1), n;}globalThis.Iterator?.from;-var aU = new cwe().produce;+var tU = new fwe().produce;//#endregion//#region node_modules/redux-thunk/dist/redux-thunk.mjs-function oU(e) {+function nU(e) {return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);}-var lwe = oU(), uwe = oU, dwe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {- if (arguments.length !== 0) return typeof arguments[0] == "object" ? XV : XV.apply(null, arguments);+var pwe = nU(), mwe = nU, hwe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? KV : KV.apply(null, arguments);};typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;-function sU(e, t) {+function rU(e, t) {function n(...n) {if (t) {let r = t(...n);- if (!r) throw Error(HU(0));+ if (!r) throw Error(RU(0));return {type: e,payload: r.payload,@@ -56455,9 +56455,9 @@ function sU(e, t) {payload: n[0]};}- return n.toString = () => `${e}`, n.type = e, n.match = (t) => ZV(t) && t.type === e, n;+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => qV(t) && t.type === e, n;}-var cU = class e extends Array {+var iU = class e extends Array {constructor(...t) {super(...t), Object.setPrototypeOf(this, e.prototype);}@@ -56471,29 +56471,29 @@ var cU = class e extends Array {return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));}};-function lU(e) {- return dH(e) ? aU(e, () => {}) : e;+function aU(e) {+ return sH(e) ? tU(e, () => {}) : e;}-function uU(e, t, n) {+function oU(e, t, n) {return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);}-function fwe(e) {+function gwe(e) {return typeof e == "boolean";}-var pwe = () => function(e) {- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new cU();- return t && (fwe(t) ? a.push(lwe) : a.push(uwe(t.extraArgument))), a;-}, dU = "RTK_autoBatch", fU = () => (e) => ({+var _we = () => function(e) {+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new iU();+ return t && (gwe(t) ? a.push(pwe) : a.push(mwe(t.extraArgument))), a;+}, sU = "RTK_autoBatch", cU = () => (e) => ({payload: e,- meta: { [dU]: !0 }-}), pU = (e) => (t) => {+ meta: { [sU]: !0 }+}), lU = (e) => (t) => {setTimeout(t, e);-}, mwe = (e, t) => (n) => {+}, vwe = (e, t) => (n) => {let r = !1, i = () => {r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());}, a = e(i), o = setTimeout(i, t);-}, mU = (e = { type: "raf" }) => (t) => (...n) => {- let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? mwe(window.requestAnimationFrame, 100) : pU(10) : e.type === "callback" ? e.queueNotification : pU(e.timeout), l = () => {+}, uU = (e = { type: "raf" }) => (t) => (...n) => {+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? vwe(window.requestAnimationFrame, 100) : lU(10) : e.type === "callback" ? e.queueNotification : lU(e.timeout), l = () => {o = !1, a && (a = !1, s.forEach((e) => e()));};return Object.assign({}, r, {@@ -56505,37 +56505,37 @@ var pwe = () => function(e) {},dispatch(e) {try {- return i = !e?.meta?.[dU], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);+ return i = !e?.meta?.[sU], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);} finally {i = !0;}}});-}, hwe = (e) => function(t) {- let { autoBatch: n = !0 } = t ?? {}, r = new cU(e);- return n && r.push(mU(typeof n == "object" ? n : void 0)), r;+}, ywe = (e) => function(t) {+ let { autoBatch: n = !0 } = t ?? {}, r = new iU(e);+ return n && r.push(uU(typeof n == "object" ? n : void 0)), r;};-function gwe(e) {- let t = pwe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;+function bwe(e) {+ let t = _we(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;if (typeof n == "function") c = n;- else if (qV(n)) c = YV(n);- else throw Error(HU(1));+ else if (UV(n)) c = GV(n);+ else throw Error(RU(1));let l;l = typeof r == "function" ? r(t) : t();- let u = XV;- i && (u = dwe({+ let u = KV;+ i && (u = hwe({trace: !1,...typeof i == "object" && i}));- let d = hwe(JCe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);- return JV(c, o, p);+ let d = ywe(QCe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);+ return WV(c, o, p);}-function hU(e) {+function dU(e) {let t = {}, n = [], r, i = {addCase(e, n) {let r = typeof e == "string" ? e : e.type;- if (!r) throw Error(HU(28));- if (r in t) throw Error(HU(29));+ if (!r) throw Error(RU(28));+ if (r in t) throw Error(RU(29));return t[r] = n, i;},addAsyncThunk(e, r) {@@ -56560,25 +56560,25 @@ function hU(e) {r];}-function _we(e) {+function xwe(e) {return typeof e == "function";}-function vwe(e, t) {- let [n, r, i] = hU(t), a;- if (_we(e)) a = () => lU(e());+function Swe(e, t) {+ let [n, r, i] = dU(t), a;+ if (xwe(e)) a = () => aU(e());else {- let t = lU(e);+ let t = aU(e);a = () => t;}function o(e = a(), t) {let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {if (n) {- if (uH(e)) {+ if (oH(e)) {let r = n(e, t);return r === void 0 ? e : r;}- if (dH(e)) return aU(e, (e) => n(e, t));+ if (sH(e)) return tU(e, (e) => n(e, t));{let r = n(e, t);if (r === void 0) {@@ -56593,20 +56593,20 @@ function vwe(e, t) {}return o.getInitialState = a, o;}-var ywe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", bwe = (e = 21) => {+var Cwe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", wwe = (e = 21) => {let t = "", n = e;- for (; n--;) t += ywe[Math.random() * 64 | 0];+ for (; n--;) t += Cwe[Math.random() * 64 | 0];return t;-}, xwe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");-function Swe(e, t) {+}, Twe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");+function Ewe(e, t) {return `${e}/${t}`;}-function Cwe({ creators: e } = {}) {- let t = e?.asyncThunk?.[xwe];+function Dwe({ creators: e } = {}) {+ let t = e?.asyncThunk?.[Twe];return function(e) {let { name: n, reducerPath: r = n } = e;- if (!n) throw Error(HU(11));- let i = (typeof e.reducers == "function" ? e.reducers(Twe()) : e.reducers) || {}, a = Object.keys(i), o = {+ if (!n) throw Error(RU(11));+ let i = (typeof e.reducers == "function" ? e.reducers(kwe()) : e.reducers) || {}, a = Object.keys(i), o = {sliceCaseReducersByName: {},sliceCaseReducersByType: {},actionCreators: {},@@ -56614,8 +56614,8 @@ function Cwe({ creators: e } = {}) {}, s = {addCase(e, t) {let n = typeof e == "string" ? e : e.type;- if (!n) throw Error(HU(12));- if (n in o.sliceCaseReducersByType) throw Error(HU(13));+ if (!n) throw Error(RU(12));+ if (n in o.sliceCaseReducersByType) throw Error(RU(13));return o.sliceCaseReducersByType[n] = t, s;},addMatcher(e, t) {@@ -56634,17 +56634,17 @@ function Cwe({ creators: e } = {}) {a.forEach((r) => {let a = i[r], o = {reducerName: r,- type: Swe(n, r),+ type: Ewe(n, r),createNotation: typeof e.reducers == "function"};- Dwe(a) ? kwe(o, a, s, t) : Ewe(o, a, s);+ jwe(a) ? Nwe(o, a, s, t) : Awe(o, a, s);});function c() {- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? hU(e.extraReducers) : [e.extraReducers], i = {+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? dU(e.extraReducers) : [e.extraReducers], i = {...t,...o.sliceCaseReducersByType};- return vwe(e.initialState, (e) => {+ return Swe(e.initialState, (e) => {for (let t in i) e.addCase(t, i[t]);for (let t of o.sliceMatchers) e.addMatcher(t.matcher, t.reducer);for (let t of n) e.addMatcher(t.matcher, t.reducer);@@ -56661,12 +56661,12 @@ function Cwe({ creators: e } = {}) {function h(t, n = !1) {function r(e) {let i = e[t];- return i === void 0 && n && (i = uU(d, r, m)), i;+ return i === void 0 && n && (i = oU(d, r, m)), i;}function i(t = l) {- return uU(uU(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {+ return oU(oU(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {let r = {};- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = wwe(a, t, () => uU(d, t, m), n);+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = Owe(a, t, () => oU(d, t, m), n);return r;});}@@ -56700,15 +56700,15 @@ function Cwe({ creators: e } = {}) {return g;};}-function wwe(e, t, n, r) {+function Owe(e, t, n, r) {function i(i, ...a) {let o = t(i);return o === void 0 && r && (o = n()), e(o, ...a);}return i.unwrapped = e, i;}-var gU = /* @__PURE__ */ Cwe();-function Twe() {+var fU = /* @__PURE__ */ Dwe();+function kwe() {function e(e, t) {return {_reducerDefinitionType: "asyncThunk",@@ -56732,57 +56732,57 @@ function Twe() {asyncThunk: e};}-function Ewe({ type: e, reducerName: t, createNotation: n }, r, i) {+function Awe({ type: e, reducerName: t, createNotation: n }, r, i) {let a, o;if ("reducer" in r) {- if (n && !Owe(r)) throw Error(HU(17));+ if (n && !Mwe(r)) throw Error(RU(17));a = r.reducer, o = r.prepare;} else a = r;- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? sU(e, o) : sU(e));+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? rU(e, o) : rU(e));}-function Dwe(e) {+function jwe(e) {return e._reducerDefinitionType === "asyncThunk";}-function Owe(e) {+function Mwe(e) {return e._reducerDefinitionType === "reducerWithPrepare";}-function kwe({ type: e, reducerName: t }, n, r, i) {- if (!i) throw Error(HU(18));+function Nwe({ type: e, reducerName: t }, n, r, i) {+ if (!i) throw Error(RU(18));let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {- fulfilled: o || _U,- pending: s || _U,- rejected: c || _U,- settled: l || _U+ fulfilled: o || pU,+ pending: s || pU,+ rejected: c || pU,+ settled: l || pU});}-function _U() {}-var Awe = "task", vU = "listener", yU = "completed", bU = "cancelled", jwe = `task-${bU}`, Mwe = `task-${yU}`, xU = `${vU}-${bU}`, Nwe = `${vU}-${yU}`, SU = class {+function pU() {}+var Pwe = "task", mU = "listener", hU = "completed", gU = "cancelled", Fwe = `task-${gU}`, Iwe = `task-${hU}`, _U = `${mU}-${gU}`, Lwe = `${mU}-${hU}`, vU = class {constructor(e) {- this.code = e, this.message = `${Awe} ${bU} (reason: ${e})`;+ this.code = e, this.message = `${Pwe} ${gU} (reason: ${e})`;}code;name = "TaskAbortError";message;-}, CU = (e, t) => {- if (typeof e != "function") throw TypeError(HU(32));-}, wU = () => {}, TU = (e, t = wU) => (e.catch(t), e), EU = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), DU = (e) => {- if (e.aborted) throw new SU(e.reason);+}, yU = (e, t) => {+ if (typeof e != "function") throw TypeError(RU(32));+}, bU = () => {}, xU = (e, t = bU) => (e.catch(t), e), SU = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), CU = (e) => {+ if (e.aborted) throw new vU(e.reason);};-function OU(e, t) {- let n = wU;+function wU(e, t) {+ let n = bU;return new Promise((r, i) => {- let a = () => i(new SU(e.reason));+ let a = () => i(new vU(e.reason));if (e.aborted) {a();return;}- n = EU(e, a), t.finally(() => n()).then(r, i);+ n = SU(e, a), t.finally(() => n()).then(r, i);}).finally(() => {- n = wU;+ n = bU;});}-var Pwe = async (e, t) => {+var Rwe = async (e, t) => {try {return await Promise.resolve(), {status: "ok",@@ -56790,40 +56790,40 @@ var Pwe = async (e, t) => {};} catch (e) {return {- status: e instanceof SU ? "cancelled" : "rejected",+ status: e instanceof vU ? "cancelled" : "rejected",error: e};} finally {t?.();}-}, kU = (e) => (t) => TU(OU(e, t).then((t) => (DU(e), t))), AU = (e) => {- let t = kU(e);+}, TU = (e) => (t) => xU(wU(e, t).then((t) => (CU(e), t))), EU = (e) => {+ let t = TU(e);return (e) => t(new Promise((t) => setTimeout(t, e)));-}, { assign: jU } = Object, MU = {}, NU = "listenerMiddleware", Fwe = (e, t) => {- let n = (t) => EU(e, () => t.abort(e.reason));+}, { assign: DU } = Object, OU = {}, kU = "listenerMiddleware", zwe = (e, t) => {+ let n = (t) => SU(e, () => t.abort(e.reason));return (r, i) => {- CU(r, "taskExecutor");+ yU(r, "taskExecutor");let a = new AbortController();n(a);- let o = Pwe(async () => {- DU(e), DU(a.signal);+ let o = Rwe(async () => {+ CU(e), CU(a.signal);let t = await r({- pause: kU(a.signal),- delay: AU(a.signal),+ pause: TU(a.signal),+ delay: EU(a.signal),signal: a.signal});- return DU(a.signal), t;- }, () => a.abort(Mwe));- return i?.autoJoin && t.push(o.catch(wU)), {- result: kU(e)(o),+ return CU(a.signal), t;+ }, () => a.abort(Iwe));+ return i?.autoJoin && t.push(o.catch(bU)), {+ result: TU(e)(o),cancel() {- a.abort(jwe);+ a.abort(Fwe);}};};-}, Iwe = (e, t) => {+}, Bwe = (e, t) => {let n = async (n, r) => {- DU(t);+ CU(t);let i = () => {}, a = [new Promise((t, r) => {let a = e({predicate: n,@@ -56841,47 +56841,47 @@ var Pwe = async (e, t) => {})];r != null && a.push(new Promise((e) => setTimeout(e, r, null)));try {- let e = await OU(t, Promise.race(a));- return DU(t), e;+ let e = await wU(t, Promise.race(a));+ return CU(t), e;} finally {i();}};- return ((e, t) => TU(n(e, t)));-}, PU = (e) => {+ return ((e, t) => xU(n(e, t)));+}, AU = (e) => {let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;- if (t) i = sU(t).match;+ if (t) i = rU(t).match;else if (n) t = n.type, i = n.match;else if (r) i = r;- else if (!i) throw Error(HU(21));- return CU(a, "options.listener"), {+ else if (!i) throw Error(RU(21));+ return yU(a, "options.listener"), {predicate: i,type: t,effect: a};-}, FU = /* @__PURE__ */ jU((e) => {- let { type: t, predicate: n, effect: r } = PU(e);+}, jU = /* @__PURE__ */ DU((e) => {+ let { type: t, predicate: n, effect: r } = AU(e);return {- id: bwe(),+ id: wwe(),effect: r,type: t,predicate: n,pending: /* @__PURE__ */ new Set(),unsubscribe: () => {- throw Error(HU(22));+ throw Error(RU(22));}};-}, { withTypes: () => FU }), IU = (e, t) => {- let { type: n, effect: r, predicate: i } = PU(t);+}, { withTypes: () => jU }), MU = (e, t) => {+ let { type: n, effect: r, predicate: i } = AU(t);return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);-}, LU = (e) => {+}, NU = (e) => {e.pending.forEach((e) => {- e.abort(xU);+ e.abort(_U);});-}, Lwe = (e, t) => () => {- for (let e of t.keys()) LU(e);+}, Vwe = (e, t) => () => {+ for (let e of t.keys()) NU(e);e.clear();-}, RU = (e, t, n) => {+}, PU = (e, t, n) => {try {e(t, n);} catch (e) {@@ -56889,74 +56889,74 @@ var Pwe = async (e, t) => {throw e;}, 0);}-}, zU = /* @__PURE__ */ jU(/* @__PURE__ */ sU(`${NU}/add`), { withTypes: () => zU }), Rwe = /* @__PURE__ */ sU(`${NU}/removeAll`), BU = /* @__PURE__ */ jU(/* @__PURE__ */ sU(`${NU}/remove`), { withTypes: () => BU }), zwe = (...e) => {- console.error(`${NU}/error`, ...e);-}, VU = (e = {}) => {+}, FU = /* @__PURE__ */ DU(/* @__PURE__ */ rU(`${kU}/add`), { withTypes: () => FU }), Hwe = /* @__PURE__ */ rU(`${kU}/removeAll`), IU = /* @__PURE__ */ DU(/* @__PURE__ */ rU(`${kU}/remove`), { withTypes: () => IU }), Uwe = (...e) => {+ console.error(`${kU}/error`, ...e);+}, LU = (e = {}) => {let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {let t = n.get(e) ?? 0;n.set(e, t + 1);}, i = (e) => {let t = n.get(e) ?? 1;t === 1 ? n.delete(e) : n.set(e, t - 1);- }, { extra: a, onError: o = zwe } = e;- CU(o, "onError");+ }, { extra: a, onError: o = Uwe } = e;+ yU(o, "onError");let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {- e.unsubscribe(), t?.cancelActive && LU(e);+ e.unsubscribe(), t?.cancelActive && NU(e);}), c = ((e) => {- let n = IU(t, e) ?? FU(e);+ let n = MU(t, e) ?? jU(e);return s(n);});- jU(c, { withTypes: () => c });+ DU(c, { withTypes: () => c });let l = (e) => {- let n = IU(t, e);- return n && (n.unsubscribe(), e.cancelActive && LU(n)), !!n;+ let n = MU(t, e);+ return n && (n.unsubscribe(), e.cancelActive && NU(n)), !!n;};- jU(l, { withTypes: () => l });+ DU(l, { withTypes: () => l });let u = async (e, n, s, l) => {- let u = new AbortController(), d = Iwe(c, u.signal), f = [];+ let u = new AbortController(), d = Bwe(c, u.signal), f = [];try {- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, jU({}, s, {+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, DU({}, s, {getOriginalState: l,condition: (e, t) => d(e, t).then(Boolean),take: d,- delay: AU(u.signal),- pause: kU(u.signal),+ delay: EU(u.signal),+ pause: TU(u.signal),extra: a,signal: u.signal,- fork: Fwe(u.signal, f),+ fork: zwe(u.signal, f),unsubscribe: e.unsubscribe,subscribe: () => {t.set(e.id, e);},cancelActiveListeners: () => {e.pending.forEach((e, t, n) => {- e !== u && (e.abort(xU), n.delete(e));+ e !== u && (e.abort(_U), n.delete(e));});},cancel: () => {- u.abort(xU), e.pending.delete(u);+ u.abort(_U), e.pending.delete(u);},throwIfCancelled: () => {- DU(u.signal);+ CU(u.signal);}})));} catch (e) {- e instanceof SU || RU(o, e, { raisedBy: "effect" });+ e instanceof vU || PU(o, e, { raisedBy: "effect" });} finally {- await Promise.all(f), u.abort(Nwe), i(e), e.pending.delete(u);+ await Promise.all(f), u.abort(Lwe), i(e), e.pending.delete(u);}- }, d = Lwe(t, n);+ }, d = Vwe(t, n);return {middleware: (e) => (n) => (r) => {- if (!ZV(r)) return n(r);- if (zU.match(r)) return c(r.payload);- if (Rwe.match(r)) {+ if (!qV(r)) return n(r);+ if (FU.match(r)) return c(r.payload);+ if (Hwe.match(r)) {d();return;}- if (BU.match(r)) return l(r.payload);+ if (IU.match(r)) return l(r.payload);let i = e.getState(), a = () => {- if (i === MU) throw Error(HU(23));+ if (i === OU) throw Error(RU(23));return i;}, s;try {@@ -56967,13 +56967,13 @@ var Pwe = async (e, t) => {try {s = t.predicate(r, n, i);} catch (e) {- s = !1, RU(o, e, { raisedBy: "predicate" });+ s = !1, PU(o, e, { raisedBy: "predicate" });}s && u(t, r, e, a);}}} finally {- i = MU;+ i = OU;}return s;},@@ -56982,12 +56982,12 @@ var Pwe = async (e, t) => {clearListeners: d};};-function HU(e) {+function RU(e) {return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;}//#endregion//#region node_modules/recharts/es6/state/layoutSlice.js-var UU = gU({+var zU = fU({name: "chartLayout",initialState: {layoutType: "horizontal",@@ -57015,23 +57015,23 @@ var UU = gU({e.scale = t.payload;}}-}), { setMargin: Bwe, setLayout: Vwe, setChartSize: Hwe, setScale: Uwe } = UU.actions, Wwe = UU.reducer;+}), { setMargin: Wwe, setLayout: Gwe, setChartSize: Kwe, setScale: qwe } = zU.actions, Jwe = zU.reducer;//#endregion//#region node_modules/recharts/es6/util/getSliced.js-function WU(e, t, n) {+function BU(e, t, n) {return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;}//#endregion//#region node_modules/recharts/es6/util/isWellBehavedNumber.js-function GU(e) {+function VU(e) {return Number.isFinite(e);}-function KU(e) {+function HU(e) {return typeof e == "number" && e > 0 && Number.isFinite(e);}//#endregion//#region node_modules/recharts/es6/util/ChartUtils.js-function qU(e, t) {+function UU(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -57041,30 +57041,30 @@ function qU(e, t) {}return n;}-function JU(e) {+function WU(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? qU(Object(n), !0).forEach(function(t) {- Gwe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : qU(Object(n)).forEach(function(t) {+ t % 2 ? UU(Object(n), !0).forEach(function(t) {+ Ywe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UU(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Gwe(e, t, n) {- return (t = Kwe(t)) in e ? Object.defineProperty(e, t, {+function Ywe(e, t, n) {+ return (t = Xwe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Kwe(e) {- var t = qwe(e, "string");+function Xwe(e) {+ var t = Zwe(e, "string");return typeof t == "symbol" ? t : t + "";}-function qwe(e, t) {+function Zwe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -57074,63 +57074,63 @@ function qwe(e, t) {}return (t === "string" ? String : Number)(e);}-function YU(e, t, n) {- return VB(e) || VB(t) ? n : FB(t) ? kB(e, t, n) : typeof t == "function" ? t(e) : n;+function GU(e, t, n) {+ return BB(e) || BB(t) ? n : PB(t) ? OB(e, t, n) : typeof t == "function" ? t(e) : n;}-var Jwe = (e, t, n) => {+var Qwe = (e, t, n) => {if (t && n) {var { width: r, height: i } = n, { align: a, verticalAlign: o, layout: s } = t;- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return JU(JU({}, e), {}, { [a]: e[a] + (r || 0) });- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return JU(JU({}, e), {}, { [o]: e[o] + (i || 0) });+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return WU(WU({}, e), {}, { [a]: e[a] + (r || 0) });+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return WU(WU({}, e), {}, { [o]: e[o] + (i || 0) });}return e;-}, XU = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", ZU = (e, t, n, r) => {+}, KU = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", qU = (e, t, n, r) => {if (r) return e.map((e) => e.coordinate);var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));return i || o.push(t), a || o.push(n), o;-}, QU = (e, t, n) => {+}, JU = (e, t, n) => {if (!e) return null;var { duplicateDomain: r, type: i, range: a, scale: o, realScaleType: s, isCategorical: c, categoricalDomain: l, tickCount: u, ticks: d, niceTicks: f, axisType: p } = e;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 ? MB(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {+ return h = p === "angleAxis" && a && a.length >= 2 ? jB(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 GU(i) ? {+ return VU(i) ? {coordinate: i + h,value: e,offset: h,index: t} : null;- }).filter(UB) : c && l ? l.map((e, t) => {+ }).filter(HB) : c && l ? l.map((e, t) => {var n = o.map(e);- return GU(n) ? {+ return VU(n) ? {coordinate: n + h,value: e,index: t,offset: h} : null;- }).filter(UB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {+ }).filter(HB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {var n = o.map(e);- return GU(n) ? {+ return VU(n) ? {coordinate: n + h,value: e,index: t,offset: h} : null;- }).filter(UB) : o.domain().map((e, t) => {+ }).filter(HB) : o.domain().map((e, t) => {var n = o.map(e);- return GU(n) ? {+ return VU(n) ? {coordinate: n + h,value: r ? r[e] : e,index: t,offset: h} : null;- }).filter(UB);-}, $U = (e, t) => {+ }).filter(HB);+}, YU = (e, t) => {if (!t || t.length !== 2 || !Z(t[0]) || !Z(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 (!Z(e[0]) || e[0] < n) && (i[0] = n), (!Z(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;-}, Ywe = {+}, $we = {sign: (e) => {var t = e.length;if (!(t <= 0)) {@@ -57138,16 +57138,16 @@ var Jwe = (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 = NB(c) ? l : c;+ var c = s[1], l = s[0], u = MB(c) ? l : c;u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);}}}},- expand: uSe,- none: xB,- silhouette: dSe,- wiggle: fSe,+ expand: dSe,+ none: bB,+ silhouette: fSe,+ wiggle: pSe,positive: (e) => {var t = e.length;if (!(t <= 0)) {@@ -57155,70 +57155,70 @@ var Jwe = (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 = NB(o[1]) ? o[0] : o[1];+ var s = MB(o[1]) ? o[0] : o[1];s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);}}}}-}, Xwe = (e, t, n) => {- var r = Ywe[n] ?? xB, i = lSe().keys(t).value((e, t) => Number(YU(e, t, 0))).order(SB).offset(r)(e);+}, eTe = (e, t, n) => {+ var r = $we[n] ?? bB, i = uSe().keys(t).value((e, t) => Number(GU(e, t, 0))).order(xB).offset(r)(e);return i.forEach((n, r) => {n.forEach((n, i) => {- var a = YU(e[i], t[r], 0);+ var a = GU(e[i], t[r], 0);Array.isArray(a) && a.length === 2 && Z(a[0]) && Z(a[1]) && (n[0] = a[0], n[1] = a[1]);});}), i;};-function eW(e) {+function XU(e) {return e == null ? void 0 : String(e);}-function tW(e) {+function ZU(e) {var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;if (t.type === "category") {- if (!t.allowDuplicatedCategory && t.dataKey && !VB(i[t.dataKey])) {- var s = BB(n, "value", i[t.dataKey]);+ if (!t.allowDuplicatedCategory && t.dataKey && !BB(i[t.dataKey])) {+ var s = zB(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 = YU(i, VB(o) ? t.dataKey : o), l = t.scale.map(c);+ var c = GU(i, BB(o) ? t.dataKey : o), l = t.scale.map(c);return Z(l) ? l : null;}-var nW = (e) => {+var QU = (e) => {var { axis: t, ticks: n, offset: r, bandSize: i, entry: a, index: o } = e;if (t.type === "category") return n[o] ? n[o].coordinate + r : null;- var s = YU(a, t.dataKey, t.scale.domain()[o]);- if (VB(s)) return null;+ var s = GU(a, t.dataKey, t.scale.domain()[o]);+ if (BB(s)) return null;var c = t.scale.map(s);return Z(c) ? c - i / 2 + r : null;-}, rW = (e) => {+}, $U = (e) => {var { numericAxis: t } = e, n = t.scale.domain();if (t.type === "number") {var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;}return n[0];-}, Zwe = (e) => {+}, tTe = (e) => {var t = e.flat(2).filter(Z);return [Math.min(...t), Math.max(...t)];-}, Qwe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], $we = (e, t, n) => {- if (e != null) return Qwe(Object.keys(e).reduce((r, i) => {+}, nTe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], rTe = (e, t, n) => {+ if (e != null) return nTe(Object.keys(e).reduce((r, i) => {var a = e[i];if (!a) return r;var { stackedData: o } = a, s = o.reduce((e, r) => {- var i = Zwe(WU(r, t, n));- return !GU(i[0]) || !GU(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];+ var i = tTe(BU(r, t, n));+ return !VU(i[0]) || !VU(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];}, [Infinity, -Infinity]);return [Math.min(s[0], r[0]), Math.max(s[1], r[1])];}, [Infinity, -Infinity]));-}, iW = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, aW = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, oW = (e, t, n) => {+}, eW = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, tW = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, nW = (e, t, n) => {if (e && e.scale && e.scale.bandwidth) {var r = e.scale.bandwidth();if (!n || r > 0) return r;}if (e && t && t.length >= 2) {- for (var i = zV(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {+ for (var i = FV(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {var c = i[o], l = i[o - 1];a = Math.min((c?.coordinate || 0) - (l?.coordinate || 0), a);}@@ -57226,26 +57226,26 @@ var nW = (e) => {}return n ? void 0 : 0;};-function sW(e) {+function rW(e) {var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;- return JU(JU({}, t), {}, {+ return WU(WU({}, t), {}, {dataKey: n,payload: r,value: i,name: a});}-function cW(e, t) {+function iW(e, t) {if (e) return String(e);if (typeof t == "string") return t;}-var eTe = (e, t) => {+var iTe = (e, t) => {if (t === "horizontal") return e.relativeX;if (t === "vertical") return e.relativeY;-}, tTe = (e, t) => t === "centric" ? e.angle : e.radius, lW = (e) => e.layout.width, uW = (e) => e.layout.height, nTe = (e) => e.layout.scale, dW = (e) => e.layout.margin, fW = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), pW = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), rTe = "data-recharts-item-index";+}, aTe = (e, t) => t === "centric" ? e.angle : e.radius, aW = (e) => e.layout.width, oW = (e) => e.layout.height, oTe = (e) => e.layout.scale, sW = (e) => e.layout.margin, cW = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), lW = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), sTe = "data-recharts-item-index";//#endregion//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js-function mW(e, t) {+function uW(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -57255,30 +57255,30 @@ function mW(e, t) {}return n;}-function hW(e) {+function dW(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? mW(Object(n), !0).forEach(function(t) {- iTe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mW(Object(n)).forEach(function(t) {+ t % 2 ? uW(Object(n), !0).forEach(function(t) {+ cTe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uW(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function iTe(e, t, n) {- return (t = aTe(t)) in e ? Object.defineProperty(e, t, {+function cTe(e, t, n) {+ return (t = lTe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function aTe(e) {- var t = oTe(e, "string");+function lTe(e) {+ var t = uTe(e, "string");return typeof t == "symbol" ? t : t + "";}-function oTe(e, t) {+function uTe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -57288,58 +57288,58 @@ function oTe(e, t) {}return (t === "string" ? String : Number)(e);}-var sTe = (e) => e.brush.height;-function cTe(e) {- return pW(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);+var dTe = (e) => e.brush.height;+function fTe(e) {+ return lW(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);}-function lTe(e) {- return pW(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);-}-function uTe(e) {- return fW(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);-}-function dTe(e) {- return fW(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);-}-var gW = $([- lW,- uW,- dW,- sTe,- cTe,- lTe,- uTe,+function pTe(e) {+ return lW(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);+}+function mTe(e) {+ return cW(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);+}+function hTe(e) {+ return cW(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);+}+var fW = $([+ aW,+ oW,+ sW,dTe,- BV,- WCe+ fTe,+ pTe,+ mTe,+ hTe,+ IV,+ JCe], (e, t, n, r, i, a, o, s, c, l) => {var u = {left: (n.left || 0) + i,right: (n.right || 0) + a- }, d = hW(hW({}, {+ }, d = dW(dW({}, {top: (n.top || 0) + o,bottom: (n.bottom || 0) + s}), u), f = d.bottom;- d.bottom += r, d = Jwe(d, c, l);+ d.bottom += r, d = Qwe(d, c, l);var p = e - d.left - d.right, m = t - d.top - d.bottom;- return hW(hW({ brushBottom: f }, d), {}, {+ return dW(dW({ brushBottom: f }, d), {}, {width: Math.max(p, 0),height: Math.max(m, 0)});-}), fTe = $(gW, (e) => ({+}), gTe = $(fW, (e) => ({x: e.left,y: e.top,width: e.width,height: e.height-})), _W = $(lW, uW, (e, t) => ({+})), pW = $(aW, oW, (e, t) => ({x: 0,y: 0,width: e,height: t-})), pTe = /*#__PURE__*/ (0, B.createContext)(null), vW = () => (0, B.useContext)(pTe) != null, yW = (e) => e.brush, bW = $([- yW,- gW,- dW+})), _Te = /*#__PURE__*/ (0, B.createContext)(null), mW = () => (0, B.useContext)(_Te) != null, hW = (e) => e.brush, gW = $([+ hW,+ fW,+ sW], (e, t, n) => ({height: e.height,x: Z(e.x) ? e.x : t.left,@@ -57348,7 +57348,7 @@ var gW = $([}));//#endregion//#region node_modules/es-toolkit/dist/function/debounce.mjs-function mTe(e, t, { signal: n, edges: r } = {}) {+function vTe(e, t, { signal: n, edges: r } = {}) {let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {a !== null && (e.apply(i, a), i = void 0, a = null);}, l = () => {@@ -57373,11 +57373,11 @@ function mTe(e, t, { signal: n, edges: r } = {}) {}//#endregion//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs-function hTe(e, t = 0, n = {}) {+function yTe(e, t = 0, n = {}) {typeof n != "object" && (n = {});let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];r && (o[0] = "leading"), i && (o[1] = "trailing");- let s, c = null, l = mTe(function(...t) {+ let s, c = null, l = vTe(function(...t) {s = e.apply(this, t), c = null;}, t, { edges: o }), u = function(...t) {return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);@@ -57386,9 +57386,9 @@ function hTe(e, t = 0, n = {}) {}//#endregion//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs-function gTe(e, t = 0, n = {}) {+function bTe(e, t = 0, n = {}) {let { leading: r = !0, trailing: i = !0 } = n;- return hTe(e, t, {+ return yTe(e, t, {leading: r,maxWait: t,trailing: i@@ -57396,7 +57396,7 @@ function gTe(e, t = 0, n = {}) {}//#endregion//#region node_modules/recharts/es6/util/LogUtils.js-var xW = function(e, t) {+var _W = function(e, t) {var n = [...arguments].slice(2);if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");@@ -57405,7 +57405,7 @@ var xW = function(e, t) {console.warn(t.replace(/%s/g, () => n[r++]));}}-}, SW = {+}, vW = {width: "100%",height: "100%",debounce: 0,@@ -57414,45 +57414,45 @@ var xW = function(e, t) {width: -1,height: -1}-}, CW = (e, t, n) => {- var { width: r = SW.width, height: i = SW.height, aspect: a, maxHeight: o } = n, s = PB(r) ? e : Number(r), c = PB(i) ? t : Number(i);+}, yW = (e, t, n) => {+ var { width: r = vW.width, height: i = vW.height, aspect: a, maxHeight: o } = n, s = NB(r) ? e : Number(r), c = NB(i) ? t : Number(i);return a && a > 0 && (s ? c = s / a : c && (s = c * a), o && c != null && c > o && (c = o)), {calculatedWidth: s,calculatedHeight: c};-}, _Te = {+}, xTe = {width: 0,height: 0,overflow: "visible"-}, vTe = {+}, STe = {width: 0,overflowX: "visible"-}, yTe = {+}, CTe = {height: 0,overflowY: "visible"-}, bTe = {}, xTe = (e) => {- var { width: t, height: n } = e, r = PB(t), i = PB(n);- return r && i ? _Te : r ? vTe : i ? yTe : bTe;+}, wTe = {}, TTe = (e) => {+ var { width: t, height: n } = e, r = NB(t), i = NB(n);+ return r && i ? xTe : r ? STe : i ? CTe : wTe;};-function STe(e) {+function ETe(e) {var { width: t, height: n, aspect: r } = e, i = t, a = n;- return i === void 0 && a === void 0 ? (i = SW.width, a = SW.height) : i === void 0 ? i = r && r > 0 ? void 0 : SW.width : a === void 0 && (a = r && r > 0 ? void 0 : SW.height), {+ return i === void 0 && a === void 0 ? (i = vW.width, a = vW.height) : i === void 0 ? i = r && r > 0 ? void 0 : vW.width : a === void 0 && (a = r && r > 0 ? void 0 : vW.height), {width: i,height: a};}//#endregion//#region node_modules/recharts/es6/component/ResponsiveContainer.js-function wW() {- return wW = Object.assign ? Object.assign.bind() : function(e) {+function bW() {+ return bW = 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;- }, wW.apply(null, arguments);+ }, bW.apply(null, arguments);}-function TW(e, t) {+function xW(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -57462,30 +57462,30 @@ function TW(e, t) {}return n;}-function EW(e) {+function SW(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? TW(Object(n), !0).forEach(function(t) {- CTe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TW(Object(n)).forEach(function(t) {+ t % 2 ? xW(Object(n), !0).forEach(function(t) {+ DTe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xW(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function CTe(e, t, n) {- return (t = wTe(t)) in e ? Object.defineProperty(e, t, {+function DTe(e, t, n) {+ return (t = OTe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function wTe(e) {- var t = TTe(e, "string");+function OTe(e) {+ var t = kTe(e, "string");return typeof t == "symbol" ? t : t + "";}-function TTe(e, t) {+function kTe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -57495,19 +57495,19 @@ function TTe(e, t) {}return (t === "string" ? String : Number)(e);}-var DW = /*#__PURE__*/ (0, B.createContext)(SW.initialDimension);-function ETe(e) {- return KU(e.width) && KU(e.height);+var CW = /*#__PURE__*/ (0, B.createContext)(vW.initialDimension);+function ATe(e) {+ return HU(e.width) && HU(e.height);}-function OW(e) {+function wW(e) {var { children: t, width: n, height: r } = e, i = (0, B.useMemo)(() => ({width: n,height: r}), [n, r]);- return ETe(i) ? /*#__PURE__*/ B.createElement(DW.Provider, { value: i }, t) : null;+ return ATe(i) ? /*#__PURE__*/ B.createElement(CW.Provider, { value: i }, t) : null;}-var kW = () => (0, B.useContext)(DW), DTe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var { aspect: n, initialDimension: r = SW.initialDimension, width: i, height: a, minWidth: o = SW.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = SW.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, B.useRef)(null), g = (0, B.useRef)();+var TW = () => (0, B.useContext)(CW), jTe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var { aspect: n, initialDimension: r = vW.initialDimension, width: i, height: a, minWidth: o = vW.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = vW.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, B.useRef)(null), g = (0, B.useRef)();g.current = p, (0, B.useImperativeHandle)(t, () => h.current);var [_, v] = (0, B.useState)({containerWidth: r.width,@@ -57522,7 +57522,7 @@ var kW = () => (0, B.useContext)(DW), DTe = /*#__PURE__*/ (0, B.forwardRef)((e,});}, []);(0, B.useEffect)(() => {- if (h.current == null || typeof ResizeObserver > "u") return WB;+ if (h.current == null || typeof ResizeObserver > "u") return UB;var e = (e) => {var t, n = e[0];if (n != null) {@@ -57530,7 +57530,7 @@ var kW = () => (0, B.useContext)(DW), DTe = /*#__PURE__*/ (0, B.forwardRef)((e,y(r, i), (t = g.current) == null || t.call(g, r, i);}};- u > 0 && (e = gTe(e, u, {+ u > 0 && (e = bTe(e, u, {trailing: !0,leading: !1}));@@ -57540,17 +57540,17 @@ var kW = () => (0, B.useContext)(DW), DTe = /*#__PURE__*/ (0, B.forwardRef)((e,};}, [y, u]);var { containerWidth: b, containerHeight: x } = _;- xW(!n || n > 0, "The aspect(%s) must be greater than zero.", n);- var { calculatedWidth: S, calculatedHeight: C } = CW(b, x, {+ _W(!n || n > 0, "The aspect(%s) must be greater than zero.", n);+ var { calculatedWidth: S, calculatedHeight: C } = yW(b, x, {width: i,height: a,aspect: n,maxHeight: c});- return xW(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ B.createElement("div", {+ return _W(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ B.createElement("div", {id: d ? `${d}` : void 0,className: _h("recharts-responsive-container", f),- style: EW(EW({}, m), {}, {+ style: SW(SW({}, m), {}, {width: i,height: a,minWidth: o,@@ -57558,30 +57558,30 @@ var kW = () => (0, B.useContext)(DW), DTe = /*#__PURE__*/ (0, B.forwardRef)((e,maxHeight: c}),ref: h- }, /*#__PURE__*/ B.createElement("div", { style: xTe({+ }, /*#__PURE__*/ B.createElement("div", { style: TTe({width: i,height: a- }) }, /*#__PURE__*/ B.createElement(OW, {+ }) }, /*#__PURE__*/ B.createElement(wW, {width: S,height: C}, l)));-}), AW = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var n = kW();- if (KU(n.width) && KU(n.height)) return e.children;- var { width: r, height: i } = STe({+}), EW = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var n = TW();+ if (HU(n.width) && HU(n.height)) return e.children;+ var { width: r, height: i } = ETe({width: e.width,height: e.height,aspect: e.aspect- }), { calculatedWidth: a, calculatedHeight: o } = CW(void 0, void 0, {+ }), { calculatedWidth: a, calculatedHeight: o } = yW(void 0, void 0, {width: r,height: i,aspect: e.aspect,maxHeight: e.maxHeight});- return Z(a) && Z(o) ? /*#__PURE__*/ B.createElement(OW, {+ return Z(a) && Z(o) ? /*#__PURE__*/ B.createElement(wW, {width: a,height: o- }, e.children) : /*#__PURE__*/ B.createElement(DTe, wW({}, e, {+ }, e.children) : /*#__PURE__*/ B.createElement(jTe, bW({}, e, {width: r,height: i,ref: t@@ -57589,7 +57589,7 @@ var kW = () => (0, B.useContext)(DW), DTe = /*#__PURE__*/ (0, B.forwardRef)((e,});//#endregion//#region node_modules/recharts/es6/context/chartLayoutContext.js-function jW(e) {+function DW(e) {if (e) return {x: e.x,y: e.y,@@ -57599,15 +57599,15 @@ function jW(e) {height: e.height};}-var MW = () => {- var e = vW(), t = Q(fTe), n = Q(bW), r = Q(yW)?.padding;+var OW = () => {+ var e = mW(), t = Q(gTe), n = Q(gW), r = Q(hW)?.padding;return !e || !n || !r ? t : {width: n.width - r.left - r.right,height: n.height - r.top - r.bottom,x: r.left,y: r.top};-}, OTe = {+}, MTe = {top: 0,bottom: 0,left: 0,@@ -57615,16 +57615,16 @@ var MW = () => {width: 0,height: 0,brushBottom: 0-}, NW = () => Q(gW) ?? OTe, PW = () => Q(lW), FW = () => Q(uW), kTe = () => Q((e) => e.layout.margin), IW = (e) => e.layout.layoutType, LW = () => Q(IW), RW = () => {- var e = LW();+}, kW = () => Q(fW) ?? MTe, AW = () => Q(aW), jW = () => Q(oW), NTe = () => Q((e) => e.layout.margin), MW = (e) => e.layout.layoutType, NW = () => Q(MW), PW = () => {+ var e = NW();if (e === "horizontal" || e === "vertical") return e;-}, zW = (e) => {+}, FW = (e) => {var t = e.layout.layoutType;if (t === "centric" || t === "radial") return t;-}, BW = () => Q(zW), ATe = () => LW() !== void 0, VW = (e) => {- var t = jV(), n = vW(), { width: r, height: i } = e, a = kW(), o = r, s = i;+}, IW = () => Q(FW), PTe = () => NW() !== void 0, LW = (e) => {+ var t = DV(), n = mW(), { width: r, height: i } = e, a = TW(), o = r, s = i;return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, B.useEffect)(() => {- !n && KU(o) && KU(s) && t(Hwe({+ !n && HU(o) && HU(s) && t(Kwe({width: o,height: s}));@@ -57634,64 +57634,64 @@ var MW = () => {o,s]), null;-}, HW = Symbol.for("immer-nothing"), UW = Symbol.for("immer-draftable"), WW = Symbol.for("immer-state");-function GW(e, ...t) {+}, RW = Symbol.for("immer-nothing"), zW = Symbol.for("immer-draftable"), BW = Symbol.for("immer-state");+function VW(e, ...t) {throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);}-var KW = Object.getPrototypeOf;-function qW(e) {- return !!e && !!e[WW];+var HW = Object.getPrototypeOf;+function UW(e) {+ return !!e && !!e[BW];}-function JW(e) {- return e ? XW(e) || Array.isArray(e) || !!e[UW] || !!e.constructor?.[UW] || tG(e) || nG(e) : !1;+function WW(e) {+ return e ? KW(e) || Array.isArray(e) || !!e[zW] || !!e.constructor?.[zW] || ZW(e) || QW(e) : !1;}-var jTe = Object.prototype.constructor.toString(), YW = /* @__PURE__ */ new WeakMap();-function XW(e) {+var FTe = Object.prototype.constructor.toString(), GW = /* @__PURE__ */ new WeakMap();+function KW(e) {if (!e || typeof e != "object") return !1;let t = Object.getPrototypeOf(e);if (t === null || t === Object.prototype) return !0;let n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;if (n === Object) return !0;if (typeof n != "function") return !1;- let r = YW.get(n);- return r === void 0 && (r = Function.toString.call(n), YW.set(n, r)), r === jTe;+ let r = GW.get(n);+ return r === void 0 && (r = Function.toString.call(n), GW.set(n, r)), r === FTe;}-function ZW(e, t, n = !0) {- QW(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {+function qW(e, t, n = !0) {+ JW(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {t(n, e[n], e);}) : e.forEach((n, r) => t(r, n, e));}-function QW(e) {- let t = e[WW];- return t ? t.type_ : Array.isArray(e) ? 1 : tG(e) ? 2 : nG(e) ? 3 : 0;+function JW(e) {+ let t = e[BW];+ return t ? t.type_ : Array.isArray(e) ? 1 : ZW(e) ? 2 : QW(e) ? 3 : 0;}-function $W(e, t) {- return QW(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);+function YW(e, t) {+ return JW(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);}-function eG(e, t, n) {- let r = QW(e);+function XW(e, t, n) {+ let r = JW(e);r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;}-function MTe(e, t) {+function ITe(e, t) {return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;}-function tG(e) {+function ZW(e) {return e instanceof Map;}-function nG(e) {+function QW(e) {return e instanceof Set;}-function rG(e) {+function $W(e) {return e.copy_ || e.base_;}-function iG(e, t) {- if (tG(e)) return new Map(e);- if (nG(e)) return new Set(e);+function eG(e, t) {+ if (ZW(e)) return new Map(e);+ if (QW(e)) return new Set(e);if (Array.isArray(e)) return Array.prototype.slice.call(e);- let n = XW(e);+ let n = KW(e);if (t === !0 || t === "class_only" && !n) {let t = Object.getOwnPropertyDescriptors(e);- delete t[WW];+ delete t[BW];let n = Reflect.ownKeys(t);for (let r = 0; r < n.length; r++) {let i = n[r], a = t[i];@@ -57702,40 +57702,40 @@ function iG(e, t) {value: e[i]});}- return Object.create(KW(e), t);+ return Object.create(HW(e), t);}{- let t = KW(e);+ let t = HW(e);if (t !== null && n) return { ...e };let r = Object.create(t);return Object.assign(r, e);}}-function aG(e, t = !1) {- return sG(e) || qW(e) || !JW(e) ? e : (QW(e) > 1 && Object.defineProperties(e, {- set: oG,- add: oG,- clear: oG,- delete: oG- }), Object.freeze(e), t && Object.values(e).forEach((e) => aG(e, !0)), e);+function tG(e, t = !1) {+ return rG(e) || UW(e) || !WW(e) ? e : (JW(e) > 1 && Object.defineProperties(e, {+ set: nG,+ add: nG,+ clear: nG,+ delete: nG+ }), Object.freeze(e), t && Object.values(e).forEach((e) => tG(e, !0)), e);}-function NTe() {- GW(2);+function LTe() {+ VW(2);}-var oG = { value: NTe };-function sG(e) {+var nG = { value: LTe };+function rG(e) {return typeof e != "object" || !e || Object.isFrozen(e);}-var PTe = {};-function cG(e) {- let t = PTe[e];- return t || GW(0, e), t;+var RTe = {};+function iG(e) {+ let t = RTe[e];+ return t || VW(0, e), t;}-var lG;-function uG() {- return lG;+var aG;+function oG() {+ return aG;}-function FTe(e, t) {+function zTe(e, t) {return {drafts_: [],parent_: e,@@ -57744,62 +57744,62 @@ function FTe(e, t) {unfinalizedDrafts_: 0};}-function dG(e, t) {- t && (cG("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);+function sG(e, t) {+ t && (iG("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);}-function fG(e) {- pG(e), e.drafts_.forEach(ITe), e.drafts_ = null;+function cG(e) {+ lG(e), e.drafts_.forEach(BTe), e.drafts_ = null;}-function pG(e) {- e === lG && (lG = e.parent_);+function lG(e) {+ e === aG && (aG = e.parent_);}-function mG(e) {- return lG = FTe(lG, e);+function uG(e) {+ return aG = zTe(aG, e);}-function ITe(e) {- let t = e[WW];+function BTe(e) {+ let t = e[BW];t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;}-function hG(e, t) {+function dG(e, t) {t.unfinalizedDrafts_ = t.drafts_.length;let n = t.drafts_[0];- return e !== void 0 && e !== n ? (n[WW].modified_ && (fG(t), GW(4)), JW(e) && (e = gG(t, e), t.parent_ || vG(t, e)), t.patches_ && cG("Patches").generateReplacementPatches_(n[WW].base_, e, t.patches_, t.inversePatches_)) : e = gG(t, n, []), fG(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === HW ? void 0 : e;+ return e !== void 0 && e !== n ? (n[BW].modified_ && (cG(t), VW(4)), WW(e) && (e = fG(t, e), t.parent_ || mG(t, e)), t.patches_ && iG("Patches").generateReplacementPatches_(n[BW].base_, e, t.patches_, t.inversePatches_)) : e = fG(t, n, []), cG(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === RW ? void 0 : e;}-function gG(e, t, n) {- if (sG(t)) return t;- let r = e.immer_.shouldUseStrictIteration(), i = t[WW];- if (!i) return ZW(t, (r, a) => _G(e, i, t, r, a, n), r), t;+function fG(e, t, n) {+ if (rG(t)) return t;+ let r = e.immer_.shouldUseStrictIteration(), i = t[BW];+ if (!i) return qW(t, (r, a) => pG(e, i, t, r, a, n), r), t;if (i.scope_ !== e) return t;- if (!i.modified_) return vG(e, i.base_, !0), i.base_;+ if (!i.modified_) return mG(e, i.base_, !0), i.base_;if (!i.finalized_) {i.finalized_ = !0, i.scope_.unfinalizedDrafts_--;let t = i.copy_, a = t, o = !1;- i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), ZW(a, (r, a) => _G(e, i, t, r, a, n, o), r), vG(e, t, !1), n && e.patches_ && cG("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);+ i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), qW(a, (r, a) => pG(e, i, t, r, a, n, o), r), mG(e, t, !1), n && e.patches_ && iG("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);}return i.copy_;}-function _G(e, t, n, r, i, a, o) {+function pG(e, t, n, r, i, a, o) {if (i == null || typeof i != "object" && !o) return;- let s = sG(i);+ let s = rG(i);if (!(s && !o)) {- if (qW(i)) {- let o = gG(e, i, a && t && t.type_ !== 3 && !$W(t.assigned_, r) ? a.concat(r) : void 0);- if (eG(n, r, o), qW(o)) e.canAutoFreeze_ = !1;+ if (UW(i)) {+ let o = fG(e, i, a && t && t.type_ !== 3 && !YW(t.assigned_, r) ? a.concat(r) : void 0);+ if (XW(n, r, o), UW(o)) e.canAutoFreeze_ = !1;else return;} else o && n.add(i);- if (JW(i) && !s) {+ if (WW(i) && !s) {if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;- gG(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (tG(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && vG(e, i);+ fG(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (ZW(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && mG(e, i);}}}-function vG(e, t, n = !1) {- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && aG(t, n);+function mG(e, t, n = !1) {+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && tG(t, n);}-function LTe(e, t) {+function VTe(e, t) {let n = Array.isArray(e), r = {type_: +!!n,- scope_: t ? t.scope_ : uG(),+ scope_: t ? t.scope_ : oG(),modified_: !1,finalized_: !1,assigned_: {},@@ -57809,41 +57809,41 @@ function LTe(e, t) {copy_: null,revoke_: null,isManual_: !1- }, i = r, a = yG;- n && (i = [r], a = bG);+ }, i = r, a = hG;+ n && (i = [r], a = gG);let { revoke: o, proxy: s } = Proxy.revocable(i, a);return r.draft_ = s, r.revoke_ = o, s;}-var yG = {+var hG = {get(e, t) {- if (t === WW) return e;- let n = rG(e);- if (!$W(n, t)) return RTe(e, n, t);+ if (t === BW) return e;+ let n = $W(e);+ if (!YW(n, t)) return HTe(e, n, t);let r = n[t];- return e.finalized_ || !JW(r) ? r : r === xG(e.base_, t) ? (wG(e), e.copy_[t] = TG(r, e)) : r;+ return e.finalized_ || !WW(r) ? r : r === _G(e.base_, t) ? (bG(e), e.copy_[t] = xG(r, e)) : r;},has(e, t) {- return t in rG(e);+ return t in $W(e);},ownKeys(e) {- return Reflect.ownKeys(rG(e));+ return Reflect.ownKeys($W(e));},set(e, t, n) {- let r = SG(rG(e), t);+ let r = vG($W(e), t);if (r?.set) return r.set.call(e.draft_, n), !0;if (!e.modified_) {- let r = xG(rG(e), t), i = r?.[WW];+ let r = _G($W(e), t), i = r?.[BW];if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;- if (MTe(n, r) && (n !== void 0 || $W(e.base_, t))) return !0;- wG(e), CG(e);+ if (ITe(n, r) && (n !== void 0 || YW(e.base_, t))) return !0;+ bG(e), yG(e);}return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_[t] = !0, !0);},deleteProperty(e, t) {- return xG(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, wG(e), CG(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;+ return _G(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, bG(e), yG(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;},getOwnPropertyDescriptor(e, t) {- let n = rG(e), r = Reflect.getOwnPropertyDescriptor(n, t);+ let n = $W(e), r = Reflect.getOwnPropertyDescriptor(n, t);return r && {writable: !0,configurable: e.type_ !== 1 || t !== "length",@@ -57852,48 +57852,48 @@ var yG = {};},defineProperty() {- GW(11);+ VW(11);},getPrototypeOf(e) {- return KW(e.base_);+ return HW(e.base_);},setPrototypeOf() {- GW(12);+ VW(12);}-}, bG = {};-ZW(yG, (e, t) => {- bG[e] = function() {+}, gG = {};+qW(hG, (e, t) => {+ gG[e] = function() {return arguments[0] = arguments[0][0], t.apply(this, arguments);};-}), bG.deleteProperty = function(e, t) {- return bG.set.call(this, e, t, void 0);-}, bG.set = function(e, t, n) {- return yG.set.call(this, e[0], t, n, e[0]);+}), gG.deleteProperty = function(e, t) {+ return gG.set.call(this, e, t, void 0);+}, gG.set = function(e, t, n) {+ return hG.set.call(this, e[0], t, n, e[0]);};-function xG(e, t) {- let n = e[WW];- return (n ? rG(n) : e)[t];+function _G(e, t) {+ let n = e[BW];+ return (n ? $W(n) : e)[t];}-function RTe(e, t, n) {- let r = SG(t, n);+function HTe(e, t, n) {+ let r = vG(t, n);return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;}-function SG(e, t) {+function vG(e, t) {if (!(t in e)) return;- let n = KW(e);+ let n = HW(e);for (; n;) {let e = Object.getOwnPropertyDescriptor(n, t);if (e) return e;- n = KW(n);+ n = HW(n);}}-function CG(e) {- e.modified_ || (e.modified_ = !0, e.parent_ && CG(e.parent_));+function yG(e) {+ e.modified_ || (e.modified_ = !0, e.parent_ && yG(e.parent_));}-function wG(e) {- e.copy_ ||= iG(e.base_, e.scope_.immer_.useStrictShallowCopy_);+function bG(e) {+ e.copy_ ||= eG(e.base_, e.scope_.immer_.useStrictShallowCopy_);}-var zTe = class {+var UTe = class {constructor(e) {this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {if (typeof e == "function" && typeof t != "function") {@@ -57904,25 +57904,25 @@ var zTe = class {return r.produce(e, (e) => t.call(this, e, ...i));};}- typeof t != "function" && GW(6), n !== void 0 && typeof n != "function" && GW(7);+ typeof t != "function" && VW(6), n !== void 0 && typeof n != "function" && VW(7);let r;- if (JW(e)) {- let i = mG(this), a = TG(e, void 0), o = !0;+ if (WW(e)) {+ let i = uG(this), a = xG(e, void 0), o = !0;try {r = t(a), o = !1;} finally {- o ? fG(i) : pG(i);+ o ? cG(i) : lG(i);}- return dG(i, n), hG(r, i);+ return sG(i, n), dG(r, i);}if (!e || typeof e != "object") {- if (r = t(e), r === void 0 && (r = e), r === HW && (r = void 0), this.autoFreeze_ && aG(r, !0), n) {+ if (r = t(e), r === void 0 && (r = e), r === RW && (r = void 0), this.autoFreeze_ && tG(r, !0), n) {let t = [], i = [];- cG("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);+ iG("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);}return r;}- GW(1, e);+ VW(1, e);}, this.produceWithPatches = (e, t) => {if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));let n, r;@@ -57936,15 +57936,15 @@ var zTe = class {}, typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof e?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy), typeof e?.useStrictIteration == "boolean" && this.setUseStrictIteration(e.useStrictIteration);}createDraft(e) {- JW(e) || GW(8), qW(e) && (e = BTe(e));- let t = mG(this), n = TG(e, void 0);- return n[WW].isManual_ = !0, pG(t), n;+ WW(e) || VW(8), UW(e) && (e = WTe(e));+ let t = uG(this), n = xG(e, void 0);+ return n[BW].isManual_ = !0, lG(t), n;}finishDraft(e, t) {- let n = e && e[WW];- (!n || !n.isManual_) && GW(9);+ let n = e && e[BW];+ (!n || !n.isManual_) && VW(9);let { scope_: r } = n;- return dG(r, t), hG(void 0, r);+ return sG(r, t), dG(void 0, r);}setAutoFreeze(e) {this.autoFreeze_ = e;@@ -57968,35 +57968,35 @@ var zTe = class {}}n > -1 && (t = t.slice(n + 1));- let r = cG("Patches").applyPatches_;- return qW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));+ let r = iG("Patches").applyPatches_;+ return UW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));}};-function TG(e, t) {- let n = tG(e) ? cG("MapSet").proxyMap_(e, t) : nG(e) ? cG("MapSet").proxySet_(e, t) : LTe(e, t);- return (t ? t.scope_ : uG()).drafts_.push(n), n;+function xG(e, t) {+ let n = ZW(e) ? iG("MapSet").proxyMap_(e, t) : QW(e) ? iG("MapSet").proxySet_(e, t) : VTe(e, t);+ return (t ? t.scope_ : oG()).drafts_.push(n), n;}-function BTe(e) {- return qW(e) || GW(10, e), EG(e);+function WTe(e) {+ return UW(e) || VW(10, e), SG(e);}-function EG(e) {- if (!JW(e) || sG(e)) return e;- let t = e[WW], n, r = !0;+function SG(e) {+ if (!WW(e) || rG(e)) return e;+ let t = e[BW], n, r = !0;if (t) {if (!t.modified_) return t.base_;- t.finalized_ = !0, n = iG(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();- } else n = iG(e, !0);- return ZW(n, (e, t) => {- eG(n, e, EG(t));+ t.finalized_ = !0, n = eG(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();+ } else n = eG(e, !0);+ return qW(n, (e, t) => {+ XW(n, e, SG(t));}, r), t && (t.finalized_ = !1), n;}-new zTe().produce;-function DG(e) {+new UTe().produce;+function CG(e) {return e;}//#endregion//#region node_modules/recharts/es6/state/legendSlice.js-var OG = gU({+var wG = fU({name: "legend",initialState: {settings: {@@ -58020,43 +58020,43 @@ var OG = gU({},addLegendPayload: {reducer(e, t) {- e.payload.push(DG(t.payload));+ e.payload.push(CG(t.payload));},- prepare: fU()+ prepare: cU()},replaceLegendPayload: {reducer(e, t) {- var { prev: n, next: r } = t.payload, i = rU(e).payload.indexOf(DG(n));- i > -1 && (e.payload[i] = DG(r));+ var { prev: n, next: r } = t.payload, i = $H(e).payload.indexOf(CG(n));+ i > -1 && (e.payload[i] = CG(r));},- prepare: fU()+ prepare: cU()},removeLegendPayload: {reducer(e, t) {- var n = rU(e).payload.indexOf(DG(t.payload));+ var n = $H(e).payload.indexOf(CG(t.payload));n > -1 && e.payload.splice(n, 1);},- prepare: fU()+ prepare: cU()}}-}), { setLegendSize: kG, setLegendSettings: VTe, addLegendPayload: AG, replaceLegendPayload: jG, removeLegendPayload: MG } = OG.actions, HTe = OG.reducer, UTe = /* @__PURE__ */ xt(((e) => {+}), { setLegendSize: TG, setLegendSettings: GTe, addLegendPayload: EG, replaceLegendPayload: DG, removeLegendPayload: OG } = wG.actions, KTe = wG.reducer, qTe = /* @__PURE__ */ xt(((e) => {var t = Ot();t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;}));(/* @__PURE__ */ xt(((e, t) => {- t.exports = UTe();+ t.exports = qTe();})))();-function WTe(e) {+function JTe(e) {e();}-function GTe() {+function YTe() {let e = null, t = null;return {clear() {e = null, t = null;},notify() {- WTe(() => {+ JTe(() => {let t = e;for (; t;) t.callback(), t = t.next;});@@ -58078,12 +58078,12 @@ function GTe() {}};}-var NG = {+var kG = {notify() {},get: () => []};-function KTe(e, t) {- let n, r = NG, i = 0, a = !1;+function XTe(e, t) {+ let n, r = kG, i = 0, a = !1;function o(e) {u();let t = r.subscribe(e), n = !1;@@ -58101,10 +58101,10 @@ function KTe(e, t) {return a;}function u() {- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = GTe());+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = YTe());}function d() {- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = NG);+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = kG);}function f() {a || (a = !0, u());@@ -58123,44 +58123,44 @@ function KTe(e, t) {};return m;}-var qTe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, JTe = typeof navigator < "u" && navigator.product === "ReactNative", YTe = qTe || JTe ? B.useLayoutEffect : B.useEffect;-function PG(e, t) {+var ZTe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, QTe = typeof navigator < "u" && navigator.product === "ReactNative", $Te = ZTe || QTe ? B.useLayoutEffect : B.useEffect;+function AG(e, t) {return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;}-function XTe(e, t) {- if (PG(e, t)) return !0;+function eEe(e, t) {+ if (AG(e, t)) return !0;if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;let n = Object.keys(e), r = Object.keys(t);if (n.length !== r.length) return !1;- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !PG(e[n[r]], t[n[r]])) return !1;+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !AG(e[n[r]], t[n[r]])) return !1;return !0;}-var ZTe = /* @__PURE__ */ Symbol.for("react-redux-context"), QTe = typeof globalThis < "u" ? globalThis : {};-function $Te() {+var tEe = /* @__PURE__ */ Symbol.for("react-redux-context"), nEe = typeof globalThis < "u" ? globalThis : {};+function rEe() {if (!B.createContext) return {};- let e = QTe[ZTe] ??= /* @__PURE__ */ new Map(), t = e.get(B.createContext);+ let e = nEe[tEe] ??= /* @__PURE__ */ new Map(), t = e.get(B.createContext);return t || (t = B.createContext(null), e.set(B.createContext, t)), t;}-var eEe = /* @__PURE__ */ $Te();-function tEe(e) {+var iEe = /* @__PURE__ */ rEe();+function aEe(e) {let { children: t, context: n, serverState: r, store: i } = e, a = B.useMemo(() => {- let e = KTe(i);+ let e = XTe(i);return {store: i,subscription: e,getServerState: r ? () => r : void 0};}, [i, r]), o = B.useMemo(() => i.getState(), [i]);- YTe(() => {+ $Te(() => {let { subscription: e } = a;return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {e.tryUnsubscribe(), e.onStateChange = void 0;};}, [a, o]);- let s = n || eEe;+ let s = n || iEe;return /* @__PURE__ */ B.createElement(s.Provider, { value: a }, t);}-var nEe = tEe, rEe = /* @__PURE__ */ new Set([+var oEe = aEe, sEe = /* @__PURE__ */ new Set(["axisLine","tickLine","activeBar",@@ -58183,29 +58183,29 @@ var nEe = tEe, rEe = /* @__PURE__ */ new Set(["radius","throttledEvents"]);-function iEe(e, t) {+function cEe(e, t) {return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;}-function FG(e, t) {- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (rEe.has(n)) {+function jG(e, t) {+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (sEe.has(n)) {if (e[n] == null && t[n] == null) continue;- if (!XTe(e[n], t[n])) return !1;- } else if (!iEe(e[n], t[n])) return !1;+ if (!eEe(e[n], t[n])) return !1;+ } else if (!cEe(e[n], t[n])) return !1;return !0;}//#endregion//#region node_modules/recharts/es6/component/Legend.js-var aEe = ["contextPayload"];-function IG() {- return IG = Object.assign ? Object.assign.bind() : function(e) {+var lEe = ["contextPayload"];+function MG() {+ return MG = 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;- }, IG.apply(null, arguments);+ }, MG.apply(null, arguments);}-function LG(e, t) {+function NG(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -58215,30 +58215,30 @@ function LG(e, t) {}return n;}-function RG(e) {+function PG(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? LG(Object(n), !0).forEach(function(t) {- oEe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LG(Object(n)).forEach(function(t) {+ t % 2 ? NG(Object(n), !0).forEach(function(t) {+ uEe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NG(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function oEe(e, t, n) {- return (t = sEe(t)) in e ? Object.defineProperty(e, t, {+function uEe(e, t, n) {+ return (t = dEe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function sEe(e) {- var t = cEe(e, "string");+function dEe(e) {+ var t = fEe(e, "string");return typeof t == "symbol" ? t : t + "";}-function cEe(e, t) {+function fEe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -58248,16 +58248,16 @@ function cEe(e, t) {}return (t === "string" ? String : Number)(e);}-function lEe(e, t) {+function pEe(e, t) {if (e == null) return {};- var n, r, i = uEe(e, t);+ var n, r, i = mEe(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 uEe(e, t) {+function mEe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -58266,36 +58266,36 @@ function uEe(e, t) {}return n;}-function dEe(e) {+function hEe(e) {return e.value;}-function fEe(e) {- var { contextPayload: t } = e, n = lEe(e, aEe), r = kV(t, e.payloadUniqBy, dEe), i = RG(RG({}, n), {}, { payload: r });- return /*#__PURE__*/ B.isValidElement(e.content) ? /*#__PURE__*/ B.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ B.createElement(e.content, i) : /*#__PURE__*/ B.createElement(BSe, i);+function gEe(e) {+ var { contextPayload: t } = e, n = pEe(e, lEe), r = TV(t, e.payloadUniqBy, hEe), i = PG(PG({}, n), {}, { payload: r });+ return /*#__PURE__*/ B.isValidElement(e.content) ? /*#__PURE__*/ B.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ B.createElement(e.content, i) : /*#__PURE__*/ B.createElement(VSe, i);}-function pEe(e, t, n, r, i, a) {+function _Ee(e, t, n, r, i, a) {var { layout: o, align: s, verticalAlign: c } = t, l, u;- return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), RG(RG({}, l), u);+ return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), PG(PG({}, l), u);}-function mEe(e) {- var t = jV();+function vEe(e) {+ var t = DV();return (0, B.useEffect)(() => {- t(VTe(e));+ t(GTe(e));}, [t, e]), null;}-function hEe(e) {- var t = jV();- return (0, B.useEffect)(() => (t(kG(e)), () => {- t(kG({+function yEe(e) {+ var t = DV();+ return (0, B.useEffect)(() => (t(TG(e)), () => {+ t(TG({width: 0,height: 0}));}), [t, e]), null;}-function gEe(e, t, n, r) {+function bEe(e, t, n, r) {return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;}-var _Ee = {+var xEe = {align: "center",iconSize: 14,inactiveColor: "#ccc",@@ -58303,28 +58303,28 @@ var _Ee = {layout: "horizontal",verticalAlign: "bottom"};-function vEe(e) {- var t = eV(e, _Ee), n = KCe(), r = Pxe(), i = kTe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = HV([n]), d = PW(), f = FW();+function SEe(e) {+ var t = $B(e, xEe), n = XCe(), r = Fxe(), i = NTe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = RV([n]), d = AW(), f = jW();if (d == null || f == null) return null;- var p = d - (i?.left || 0) - (i?.right || 0), m = gEe(t.layout, o, a, p), h = c ? s : RG(RG({+ var p = d - (i?.left || 0) - (i?.right || 0), m = bEe(t.layout, o, a, p), h = c ? s : PG(PG({position: "absolute",width: m?.width || a || "auto",height: m?.height || o || "auto"- }, pEe(s, t, i, d, f, l)), s), g = c ?? r;+ }, _Ee(s, t, i, d, f, l)), s), g = c ?? r;if (g == null || n == null) return null;var _ = /*#__PURE__*/ B.createElement("div", {className: "recharts-legend-wrapper",style: h,ref: u- }, /*#__PURE__*/ B.createElement(mEe, {+ }, /*#__PURE__*/ B.createElement(vEe, {layout: t.layout,align: t.align,verticalAlign: t.verticalAlign,itemSorter: t.itemSorter- }), !c && /*#__PURE__*/ B.createElement(hEe, {+ }), !c && /*#__PURE__*/ B.createElement(yEe, {width: l.width,height: l.height- }), /*#__PURE__*/ B.createElement(fEe, IG({}, t, m, {+ }), /*#__PURE__*/ B.createElement(gEe, MG({}, t, m, {margin: i,chartWidth: d,chartHeight: f,@@ -58332,20 +58332,20 @@ function vEe(e) {})));return /*#__PURE__*/ (0, $f.createPortal)(_, g);}-var zG = /*#__PURE__*/ B.memo(vEe, FG);-zG.displayName = "Legend";+var FG = /*#__PURE__*/ B.memo(SEe, jG);+FG.displayName = "Legend";//#endregion//#region node_modules/recharts/es6/component/DefaultTooltipContent.js-function BG() {- return BG = Object.assign ? Object.assign.bind() : function(e) {+function IG() {+ return IG = 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;- }, BG.apply(null, arguments);+ }, IG.apply(null, arguments);}-function VG(e, t) {+function LG(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -58355,30 +58355,30 @@ function VG(e, t) {}return n;}-function HG(e) {+function RG(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? VG(Object(n), !0).forEach(function(t) {- yEe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : VG(Object(n)).forEach(function(t) {+ t % 2 ? LG(Object(n), !0).forEach(function(t) {+ CEe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LG(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function yEe(e, t, n) {- return (t = bEe(t)) in e ? Object.defineProperty(e, t, {+function CEe(e, t, n) {+ return (t = wEe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function bEe(e) {- var t = xEe(e, "string");+function wEe(e) {+ var t = TEe(e, "string");return typeof t == "symbol" ? t : t + "";}-function xEe(e, t) {+function TEe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -58388,10 +58388,10 @@ function xEe(e, t) {}return (t === "string" ? String : Number)(e);}-function SEe(e) {- return Array.isArray(e) && FB(e[0]) && FB(e[1]) ? e.join(" ~ ") : e;+function EEe(e) {+ return Array.isArray(e) && PB(e[0]) && PB(e[1]) ? e.join(" ~ ") : e;}-var UG = {+var zG = {separator: " : ",contentStyle: {margin: 0,@@ -58409,30 +58409,30 @@ var UG = {labelStyle: {},accessibilityLayer: !1};-function CEe(e, t) {- return t == null ? e : zV(e, t);+function DEe(e, t) {+ return t == null ? e : FV(e, t);}-var wEe = (e) => {- var { separator: t = UG.separator, contentStyle: n, itemStyle: r, labelStyle: i = UG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = UG.accessibilityLayer } = e, p = () => {+var OEe = (e) => {+ var { separator: t = zG.separator, contentStyle: n, itemStyle: r, labelStyle: i = zG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = zG.accessibilityLayer } = e, p = () => {if (a && a.length) {var e = {padding: 0,margin: 0- }, n = CEe(a, s).map((e, n) => {+ }, n = DEe(a, s).map((e, n) => {if (e.type === "none") return null;- var i = e.formatter || o || SEe, { value: s, name: c } = e, l = s, u = c;+ var i = e.formatter || o || EEe, { value: s, name: c } = e, l = s, u = c;if (i) {var d = i(s, c, e, n, a);if (Array.isArray(d)) [l, u] = d;else if (d != null) l = d;else return null;}- var f = HG(HG({}, UG.itemStyle), {}, { color: e.color || UG.itemStyle.color }, r);+ var f = RG(RG({}, zG.itemStyle), {}, { color: e.color || zG.itemStyle.color }, r);return /*#__PURE__*/ B.createElement("li", {className: "recharts-tooltip-item",key: `tooltip-item-${n}`,style: f- }, FB(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, FB(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));+ }, PB(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, PB(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));});return /*#__PURE__*/ B.createElement("ul", {className: "recharts-tooltip-item-list",@@ -58440,30 +58440,30 @@ var wEe = (e) => {}, n);}return null;- }, m = HG(HG({}, UG.contentStyle), n), h = HG({ margin: 0 }, i), g = !VB(u), _ = g ? u : "", v = _h("recharts-default-tooltip", c), y = _h("recharts-tooltip-label", l);+ }, m = RG(RG({}, zG.contentStyle), n), h = RG({ margin: 0 }, i), g = !BB(u), _ = g ? u : "", v = _h("recharts-default-tooltip", c), y = _h("recharts-tooltip-label", l);g && d && a != null && (_ = d(u, a));var b = f ? {role: "status","aria-live": "assertive"} : {};- return /*#__PURE__*/ B.createElement("div", BG({+ return /*#__PURE__*/ B.createElement("div", IG({className: v,style: m}, b), /*#__PURE__*/ B.createElement("p", {className: y,style: h}, /*#__PURE__*/ B.isValidElement(_) ? _ : `${_}`), p());-}, WG = "recharts-tooltip-wrapper", TEe = { visibility: "hidden" };-function EEe(e) {+}, BG = "recharts-tooltip-wrapper", kEe = { visibility: "hidden" };+function AEe(e) {var { coordinate: t, translateX: n, translateY: r } = e;- return _h(WG, {- [`${WG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,- [`${WG}-left`]: Z(n) && t && Z(t.x) && n < t.x,- [`${WG}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,- [`${WG}-top`]: Z(r) && t && Z(t.y) && r < t.y+ return _h(BG, {+ [`${BG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,+ [`${BG}-left`]: Z(n) && t && Z(t.x) && n < t.x,+ [`${BG}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,+ [`${BG}-top`]: Z(r) && t && Z(t.y) && r < t.y});}-function GG(e) {+function VG(e) {var { allowEscapeViewBox: t, coordinate: n, key: r, offset: i, position: a, reverseDirection: o, tooltipDimension: s, viewBox: c, viewBoxDimension: l } = e;if (a && Z(a[r])) return a[r];var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;@@ -58471,13 +58471,13 @@ function GG(e) {var f = c[r];return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);}-function DEe(e) {+function jEe(e) {var { translateX: t, translateY: n, useTranslate3d: r } = e;return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };}-function OEe(e) {+function MEe(e) {var { allowEscapeViewBox: t, coordinate: n, offsetTop: r, offsetLeft: i, position: a, reverseDirection: o, tooltipBox: s, useTranslate3d: c, viewBox: l } = e, u, d, f;- return s.height > 0 && s.width > 0 && n ? (d = GG({+ return s.height > 0 && s.width > 0 && n ? (d = VG({allowEscapeViewBox: t,coordinate: n,key: "x",@@ -58487,7 +58487,7 @@ function OEe(e) {tooltipDimension: s.width,viewBox: l,viewBoxDimension: l.width- }), f = GG({+ }), f = VG({allowEscapeViewBox: t,coordinate: n,key: "y",@@ -58497,27 +58497,27 @@ function OEe(e) {tooltipDimension: s.height,viewBox: l,viewBoxDimension: l.height- }), u = DEe({+ }), u = jEe({translateX: d,translateY: f,useTranslate3d: c- })) : u = TEe, {+ })) : u = kEe, {cssProperties: u,- cssClasses: EEe({+ cssClasses: AEe({translateX: d,translateY: f,coordinate: n})};}-var KG = {+var HG = {devToolsEnabled: !0,isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)};//#endregion//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js-function qG() {- var [e, t] = (0, B.useState)(() => KG.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);+function UG() {+ var [e, t] = (0, B.useState)(() => HG.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);return (0, B.useEffect)(() => {if (window.matchMedia) {var e = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => {@@ -58531,7 +58531,7 @@ function qG() {}//#endregion//#region node_modules/recharts/es6/component/TooltipBoundingBox.js-function JG(e, t) {+function WG(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -58541,30 +58541,30 @@ function JG(e, t) {}return n;}-function YG(e) {+function GG(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? JG(Object(n), !0).forEach(function(t) {- kEe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : JG(Object(n)).forEach(function(t) {+ t % 2 ? WG(Object(n), !0).forEach(function(t) {+ NEe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : WG(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function kEe(e, t, n) {- return (t = AEe(t)) in e ? Object.defineProperty(e, t, {+function NEe(e, t, n) {+ return (t = PEe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function AEe(e) {- var t = jEe(e, "string");+function PEe(e) {+ var t = FEe(e, "string");return typeof t == "symbol" ? t : t + "";}-function jEe(e, t) {+function FEe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -58574,11 +58574,11 @@ function jEe(e, t) {}return (t === "string" ? String : Number)(e);}-function MEe(e) {+function IEe(e) {if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;}-function NEe(e) {- var t = qG(), [n, r] = B.useState(() => ({+function LEe(e) {+ var t = UG(), [n, r] = B.useState(() => ({dismissed: !1,dismissedAtCoordinate: {x: 0,@@ -58598,8 +58598,8 @@ function NEe(e) {return document.addEventListener("keydown", t), () => {document.removeEventListener("keydown", t);};- }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(YG(YG({}, n), {}, { dismissed: !1 }));- var { cssClasses: i, cssProperties: a } = OEe({+ }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(GG(GG({}, n), {}, { dismissed: !1 }));+ var { cssClasses: i, cssProperties: a } = MEe({allowEscapeViewBox: e.allowEscapeViewBox,coordinate: e.coordinate,offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,@@ -58612,7 +58612,7 @@ function NEe(e) {},useTranslate3d: e.useTranslate3d,viewBox: e.viewBox- }), o = YG(YG({}, e.hasPortalFromProps ? {} : YG(YG({ transition: MEe({+ }), o = GG(GG({}, e.hasPortalFromProps ? {} : GG(GG({ transition: IEe({prefersReducedMotion: t,isAnimationActive: e.isAnimationActive,active: e.active,@@ -58632,19 +58632,19 @@ function NEe(e) {ref: e.innerRef}, e.children);}-var PEe = /*#__PURE__*/ B.memo(NEe), XG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;+var REe = /*#__PURE__*/ B.memo(LEe), KG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;//#endregion//#region node_modules/recharts/es6/shape/Curve.js-function ZG() {- return ZG = Object.assign ? Object.assign.bind() : function(e) {+function qG() {+ return qG = 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;- }, ZG.apply(null, arguments);+ }, qG.apply(null, arguments);}-function QG(e, t) {+function JG(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -58654,30 +58654,30 @@ function QG(e, t) {}return n;}-function $G(e) {+function YG(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? QG(Object(n), !0).forEach(function(t) {- FEe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QG(Object(n)).forEach(function(t) {+ t % 2 ? JG(Object(n), !0).forEach(function(t) {+ zEe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : JG(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function FEe(e, t, n) {- return (t = IEe(t)) in e ? Object.defineProperty(e, t, {+function zEe(e, t, n) {+ return (t = BEe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function IEe(e) {- var t = LEe(e, "string");+function BEe(e) {+ var t = VEe(e, "string");return typeof t == "symbol" ? t : t + "";}-function LEe(e, t) {+function VEe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -58687,40 +58687,40 @@ function LEe(e, t) {}return (t === "string" ? String : Number)(e);}-var eK = {- curveBasisClosed: Qxe,- curveBasisOpen: $xe,- curveBasis: Zxe,- curveBumpX: Lxe,- curveBumpY: Rxe,- curveLinearClosed: eSe,- curveLinear: Kz,- curveMonotoneX: tSe,- curveMonotoneY: nSe,- curveNatural: rSe,- curveStep: iSe,- curveStepAfter: oSe,- curveStepBefore: aSe-}, tK = (e) => GU(e.x) && GU(e.y), nK = (e) => e.base != null && tK(e.base) && tK(e), rK = (e) => e.x, iK = (e) => e.y, REe = (e, t) => {+var XG = {+ curveBasisClosed: $xe,+ curveBasisOpen: eSe,+ curveBasis: Qxe,+ curveBumpX: Rxe,+ curveBumpY: zxe,+ curveLinearClosed: tSe,+ curveLinear: Gz,+ curveMonotoneX: nSe,+ curveMonotoneY: rSe,+ curveNatural: iSe,+ curveStep: aSe,+ curveStepAfter: sSe,+ curveStepBefore: oSe+}, ZG = (e) => VU(e.x) && VU(e.y), QG = (e) => e.base != null && ZG(e.base) && ZG(e), $G = (e) => e.x, eK = (e) => e.y, HEe = (e, t) => {if (typeof e == "function") return e;- var n = `curve${HB(e)}`;+ var n = `curve${VB(e)}`;if ((n === "curveMonotone" || n === "curveBump") && t) {- var r = eK[`${n}${t === "vertical" ? "Y" : "X"}`];+ var r = XG[`${n}${t === "vertical" ? "Y" : "X"}`];if (r) return r;}- return eK[n] || Kz;-}, aK = {+ return XG[n] || Gz;+}, tK = {connectNulls: !1,type: "linear"-}, zEe = (e) => {- var { type: t = aK.type, points: n = [], baseLine: r, layout: i, connectNulls: a = aK.connectNulls } = e, o = REe(t, i), s = a ? n.filter(tK) : n;+}, UEe = (e) => {+ var { type: t = tK.type, points: n = [], baseLine: r, layout: i, connectNulls: a = tK.connectNulls } = e, o = HEe(t, i), s = a ? n.filter(ZG) : n;if (Array.isArray(r)) {- var c, l = n.map((e, t) => $G($G({}, e), {}, { base: r[t] }));- return c = i === "vertical" ? Xz().y(iK).x1(rK).x0((e) => e.base.x) : Xz().x(rK).y1(iK).y0((e) => e.base.y), c.defined(nK).curve(o)(a ? l.filter(nK) : l);+ var c, l = n.map((e, t) => YG(YG({}, e), {}, { base: r[t] }));+ return c = i === "vertical" ? Yz().y(eK).x1($G).x0((e) => e.base.x) : Yz().x($G).y1(eK).y0((e) => e.base.y), c.defined(QG).curve(o)(a ? l.filter(QG) : l);}- return (i === "vertical" && Z(r) ? Xz().y(iK).x1(rK).x0(r) : Z(r) ? Xz().x(rK).y1(iK).y0(r) : Yz().x(rK).y(iK)).defined(tK).curve(o)(s);-}, oK = (e) => {- var { className: t, points: n, path: r, pathRef: i } = e, a = LW();+ return (i === "vertical" && Z(r) ? Yz().y(eK).x1($G).x0(r) : Z(r) ? Yz().x($G).y1(eK).y0(r) : Jz().x($G).y(eK)).defined(ZG).curve(o)(s);+}, nK = (e) => {+ var { className: t, points: n, path: r, pathRef: i } = e, a = NW();if ((!n || !n.length) && !r) return null;var o = {type: e.type,@@ -58728,13 +58728,13 @@ var eK = {baseLine: e.baseLine,layout: e.layout || a,connectNulls: e.connectNulls- }, s = n && n.length ? zEe(o) : r;- return /*#__PURE__*/ B.createElement("path", ZG({}, wz(e), ZB(e), {+ }, s = n && n.length ? UEe(o) : r;+ return /*#__PURE__*/ B.createElement("path", qG({}, Cz(e), XB(e), {className: _h("recharts-curve", t),d: s === null ? void 0 : s,ref: i}));-}, BEe = [+}, WEe = ["x","y","top",@@ -58743,16 +58743,16 @@ var eK = {"height","className"];-function sK() {- return sK = Object.assign ? Object.assign.bind() : function(e) {+function rK() {+ return rK = 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;- }, sK.apply(null, arguments);+ }, rK.apply(null, arguments);}-function cK(e, t) {+function iK(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -58762,30 +58762,30 @@ function cK(e, t) {}return n;}-function VEe(e) {+function GEe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? cK(Object(n), !0).forEach(function(t) {- HEe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cK(Object(n)).forEach(function(t) {+ t % 2 ? iK(Object(n), !0).forEach(function(t) {+ KEe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iK(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function HEe(e, t, n) {- return (t = UEe(t)) in e ? Object.defineProperty(e, t, {+function KEe(e, t, n) {+ return (t = qEe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function UEe(e) {- var t = WEe(e, "string");+function qEe(e) {+ var t = JEe(e, "string");return typeof t == "symbol" ? t : t + "";}-function WEe(e, t) {+function JEe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -58795,16 +58795,16 @@ function WEe(e, t) {}return (t === "string" ? String : Number)(e);}-function GEe(e, t) {+function YEe(e, t) {if (e == null) return {};- var n, r, i = KEe(e, t);+ var n, r, i = XEe(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 KEe(e, t) {+function XEe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -58813,8 +58813,8 @@ function KEe(e, t) {}return n;}-var qEe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, JEe = (e) => {- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = GEe(e, BEe), l = VEe({+var ZEe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, QEe = (e) => {+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = YEe(e, WEe), l = GEe({x: t,y: n,top: r,@@ -58822,14 +58822,14 @@ var qEe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, JEe = (e) => {width: a,height: o}, c);- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ B.createElement("path", sK({}, Ez(l), {+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ B.createElement("path", rK({}, Tz(l), {className: _h("recharts-cross", s),- d: qEe(t, n, a, o, r, i)+ d: ZEe(t, n, a, o, r, i)}));};//#endregion//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js-function YEe(e, t, n, r) {+function $Ee(e, t, n, r) {var i = r / 2;return {stroke: "none",@@ -58842,7 +58842,7 @@ function YEe(e, t, n, r) {}//#endregion//#region node_modules/recharts/es6/animation/util.js-function lK(e, t) {+function aK(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -58852,30 +58852,30 @@ function lK(e, t) {}return n;}-function uK(e) {+function oK(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? lK(Object(n), !0).forEach(function(t) {- XEe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lK(Object(n)).forEach(function(t) {+ t % 2 ? aK(Object(n), !0).forEach(function(t) {+ eDe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aK(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function XEe(e, t, n) {- return (t = ZEe(t)) in e ? Object.defineProperty(e, t, {+function eDe(e, t, n) {+ return (t = tDe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function ZEe(e) {- var t = QEe(e, "string");+function tDe(e) {+ var t = nDe(e, "string");return typeof t == "symbol" ? t : t + "";}-function QEe(e, t) {+function nDe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -58885,10 +58885,10 @@ function QEe(e, t) {}return (t === "string" ? String : Number)(e);}-var $Ee = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), dK = (e, t, n) => e.map((e) => `${$Ee(e)} ${t}ms ${n}`).join(","), eDe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), fK = (e, t) => Object.keys(t).reduce((n, r) => uK(uK({}, n), {}, { [r]: e(r, t[r]) }), {});+var rDe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), sK = (e, t, n) => e.map((e) => `${rDe(e)} ${t}ms ${n}`).join(","), iDe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), cK = (e, t) => Object.keys(t).reduce((n, r) => oK(oK({}, n), {}, { [r]: e(r, t[r]) }), {});//#endregion//#region node_modules/recharts/es6/animation/configUpdate.js-function pK(e, t) {+function lK(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -58898,30 +58898,30 @@ function pK(e, t) {}return n;}-function mK(e) {+function uK(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? pK(Object(n), !0).forEach(function(t) {- tDe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pK(Object(n)).forEach(function(t) {+ t % 2 ? lK(Object(n), !0).forEach(function(t) {+ aDe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lK(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function tDe(e, t, n) {- return (t = nDe(t)) in e ? Object.defineProperty(e, t, {+function aDe(e, t, n) {+ return (t = oDe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function nDe(e) {- var t = rDe(e, "string");+function oDe(e) {+ var t = sDe(e, "string");return typeof t == "symbol" ? t : t + "";}-function rDe(e, t) {+function sDe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -58931,51 +58931,51 @@ function rDe(e, t) {}return (t === "string" ? String : Number)(e);}-var hK = (e, t, n) => e + (t - e) * n, gK = (e) => {+var dK = (e, t, n) => e + (t - e) * n, fK = (e) => {var { from: t, to: n } = e;return t !== n;-}, _K = (e, t, n) => {- var r = fK((t, n) => {- if (gK(n)) {+}, pK = (e, t, n) => {+ var r = cK((t, n) => {+ if (fK(n)) {var [r, i] = e(n.from, n.to, n.velocity);- return mK(mK({}, n), {}, {+ return uK(uK({}, n), {}, {from: r,velocity: i});}return n;}, t);- return n < 1 ? fK((e, t) => gK(t) && r[e] != null ? mK(mK({}, t), {}, {- velocity: hK(t.velocity, r[e].velocity, n),- from: hK(t.from, r[e].from, n)- }) : t, t) : _K(e, r, n - 1);+ return n < 1 ? cK((e, t) => fK(t) && r[e] != null ? uK(uK({}, t), {}, {+ velocity: dK(t.velocity, r[e].velocity, n),+ from: dK(t.from, r[e].from, n)+ }) : t, t) : pK(e, r, n - 1);};-function iDe(e, t, n, r, i, a) {- var o, s = r.reduce((n, r) => mK(mK({}, n), {}, { [r]: {+function cDe(e, t, n, r, i, a) {+ var o, s = r.reduce((n, r) => uK(uK({}, n), {}, { [r]: {from: e[r],velocity: 0,to: t[r]- } }), {}), c = () => fK((e, t) => t.from, s), l = () => !Object.values(s).filter(gK).length, u = null, d = (r) => {+ } }), {}), c = () => cK((e, t) => t.from, s), l = () => !Object.values(s).filter(fK).length, u = null, d = (r) => {o ||= r;var f = (r - o) / n.dt;- s = _K(n, s, f), i(mK(mK(mK({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));+ s = pK(n, s, f), i(uK(uK(uK({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));};return () => (u = a.setTimeout(d), () => {var e;(e = u) == null || e();});}-function aDe(e, t, n, r, i, a, o) {+function lDe(e, t, n, r, i, a, o) {var s = null, c = i.reduce((n, r) => {var i = e[r], a = t[r];- return i == null || a == null ? n : mK(mK({}, n), {}, { [r]: [i, a] });+ return i == null || a == null ? n : uK(uK({}, n), {}, { [r]: [i, a] });}, {}), l, u = (i) => {l ||= i;- var d = (i - l) / r, f = fK((e, t) => hK(...t, n(d)), c);- if (a(mK(mK(mK({}, e), t), f)), d < 1) s = o.setTimeout(u);+ var d = (i - l) / r, f = cK((e, t) => dK(...t, n(d)), c);+ if (a(uK(uK(uK({}, e), t), f)), d < 1) s = o.setTimeout(u);else {- var p = fK((e, t) => hK(...t, n(1)), c);- a(mK(mK(mK({}, e), t), p));+ var p = cK((e, t) => dK(...t, n(1)), c);+ a(uK(uK(uK({}, e), t), p));}};return () => (s = o.setTimeout(u), () => {@@ -58983,15 +58983,15 @@ function aDe(e, t, n, r, i, a, o) {(e = s) == null || e();});}-var oDe = (e, t, n, r, i, a) => {- var o = eDe(e, t);- return n == null ? () => (i(mK(mK({}, e), t)), () => {}) : n.isStepper === !0 ? iDe(e, t, n, o, i, a) : aDe(e, t, n, r, o, i, a);-}, vK = (e, t) => [+var uDe = (e, t, n, r, i, a) => {+ var o = iDe(e, t);+ return n == null ? () => (i(uK(uK({}, e), t)), () => {}) : n.isStepper === !0 ? cDe(e, t, n, o, i, a) : lDe(e, t, n, r, o, i, a);+}, mK = (e, t) => [0,3 * e,3 * t - 6 * e,3 * e - 3 * t + 1-], yK = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), bK = (e, t) => (n) => yK(vK(e, t), n), sDe = (e, t) => (n) => yK([...vK(e, t).map((e, t) => e * t).slice(1), 0], n), cDe = (e) => {+], hK = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), gK = (e, t) => (n) => hK(mK(e, t), n), dDe = (e, t) => (n) => hK([...mK(e, t).map((e, t) => e * t).slice(1), 0], n), fDe = (e) => {var t, n = e.split("(");if (n.length !== 2 || n[0] !== "cubic-bezier") return null;var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");@@ -59003,7 +59003,7 @@ var oDe = (e, t, n, r, i, a) => {i[2],i[3]];-}, lDe = function() {+}, pDe = function() {var e = [...arguments];if (e.length === 1) switch (e[0]) {case "linear": return [@@ -59037,7 +59037,7 @@ var oDe = (e, t, n, r, i, a) => {1];default:- var t = cDe(e[0]);+ var t = fDe(e[0]);if (t) return t;}return e.length === 4 ? e : [@@ -59046,8 +59046,8 @@ var oDe = (e, t, n, r, i, a) => {1,1];-}, uDe = (e, t, n, r) => {- var i = bK(e, n), a = bK(t, r), o = sDe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {+}, mDe = (e, t, n, r) => {+ var i = gK(e, n), a = gK(t, r), o = dDe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {var c = i(n) - t, l = o(n);if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);@@ -59056,29 +59056,29 @@ var oDe = (e, t, n, r, i, a) => {return a(n);};return c.isStepper = !1, c;-}, xK = function() {- return uDe(...lDe(...arguments));-}, dDe = function() {+}, _K = function() {+ return mDe(...pDe(...arguments));+}, hDe = function() {var { stiff: e = 100, damping: t = 8, dt: n = 17 } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = (r, i, a) => {var o = a + (-(r - i) * e - a * t) * n / 1e3, s = a * n / 1e3 + r;return Math.abs(s - i) < 1e-4 && Math.abs(o) < 1e-4 ? [i, 0] : [s, o];};return r.isStepper = !0, r.dt = n, r;-}, fDe = (e) => {+}, gDe = (e) => {if (typeof e == "string") switch (e) {case "ease":case "ease-in-out":case "ease-out":case "ease-in":- case "linear": return xK(e);- case "spring": return dDe();- default: if (e.split("(")[0] === "cubic-bezier") return xK(e);+ case "linear": return _K(e);+ case "spring": return hDe();+ default: if (e.split("(")[0] === "cubic-bezier") return _K(e);}return typeof e == "function" ? e : null;};//#endregion//#region node_modules/recharts/es6/animation/AnimationManager.js-function pDe(e) {+function _De(e) {var t, n = () => null, r = !1, i = null, a = (o) => {if (!r) {if (Array.isArray(o)) {@@ -59109,7 +59109,7 @@ function pDe(e) {}//#endregion//#region node_modules/recharts/es6/animation/timeoutController.js-var mDe = class {+var vDe = class {setTimeout(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {a - n >= t ? e(a) : typeof requestAnimationFrame == "function" && (r = requestAnimationFrame(i));@@ -59121,14 +59121,14 @@ var mDe = class {};//#endregion//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js-function hDe() {- return pDe(new mDe());+function yDe() {+ return _De(new vDe());}//#endregion//#region node_modules/recharts/es6/animation/useAnimationManager.js-var gDe = /*#__PURE__*/ (0, B.createContext)(hDe);-function _De(e, t) {- var n = (0, B.useContext)(gDe);+var bDe = /*#__PURE__*/ (0, B.createContext)(yDe);+function xDe(e, t) {+ var n = (0, B.useContext)(bDe);return (0, B.useMemo)(() => t ?? n(e), [e,t,@@ -59137,7 +59137,7 @@ function _De(e, t) {}//#endregion//#region node_modules/recharts/es6/animation/JavascriptAnimate.js-var vDe = {+var SDe = {begin: 0,duration: 1e3,easing: "ease",@@ -59145,14 +59145,14 @@ var vDe = {canBegin: !0,onAnimationEnd: () => {},onAnimationStart: () => {}-}, SK = { t: 0 }, CK = { t: 1 };-function wK(e) {- var t = eV(e, vDe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = qG(), d = n === "auto" ? !KG.isSsr && !u : n, f = _De(t.animationId, t.animationManager), [p, m] = (0, B.useState)(d ? SK : CK), h = (0, B.useRef)(null);+}, vK = { t: 0 }, yK = { t: 1 };+function bK(e) {+ var t = $B(e, SDe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = UG(), d = n === "auto" ? !HG.isSsr && !u : n, f = xDe(t.animationId, t.animationManager), [p, m] = (0, B.useState)(d ? vK : yK), h = (0, B.useRef)(null);return (0, B.useEffect)(() => {- d || m(CK);+ d || m(yK);}, [d]), (0, B.useEffect)(() => {- if (!d || !r) return WB;- var e = oDe(SK, CK, fDe(a), i, m, f.getTimeoutController());+ if (!d || !r) return UB;+ var e = uDe(vK, yK, gDe(a), i, m, f.getTimeoutController());return f.start([c,o,@@ -59177,14 +59177,14 @@ function wK(e) {}//#endregion//#region node_modules/recharts/es6/util/useAnimationId.js-function TK(e) {- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, B.useRef)(IB(t)), r = (0, B.useRef)(e);- return r.current !== e && (n.current = IB(t), r.current = e), n.current;+function xK(e) {+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, B.useRef)(FB(t)), r = (0, B.useRef)(e);+ return r.current !== e && (n.current = FB(t), r.current = e), n.current;}//#endregion//#region node_modules/recharts/es6/shape/Rectangle.js-var yDe = ["radius"], bDe = ["radius"], xDe, SDe, CDe, wDe, TDe, EDe, DDe, ODe, kDe, ADe;-function EK(e, t) {+var CDe = ["radius"], wDe = ["radius"], TDe, EDe, DDe, ODe, kDe, ADe, jDe, MDe, NDe, PDe;+function SK(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -59194,30 +59194,30 @@ function EK(e, t) {}return n;}-function DK(e) {+function CK(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? EK(Object(n), !0).forEach(function(t) {- jDe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EK(Object(n)).forEach(function(t) {+ t % 2 ? SK(Object(n), !0).forEach(function(t) {+ FDe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SK(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function jDe(e, t, n) {- return (t = MDe(t)) in e ? Object.defineProperty(e, t, {+function FDe(e, t, n) {+ return (t = IDe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function MDe(e) {- var t = NDe(e, "string");+function IDe(e) {+ var t = LDe(e, "string");return typeof t == "symbol" ? t : t + "";}-function NDe(e, t) {+function LDe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -59227,25 +59227,25 @@ function NDe(e, t) {}return (t === "string" ? String : Number)(e);}-function OK() {- return OK = Object.assign ? Object.assign.bind() : function(e) {+function wK() {+ return wK = 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;- }, OK.apply(null, arguments);+ }, wK.apply(null, arguments);}-function kK(e, t) {+function TK(e, t) {if (e == null) return {};- var n, r, i = PDe(e, t);+ var n, r, i = RDe(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 PDe(e, t) {+function RDe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -59254,11 +59254,11 @@ function PDe(e, t) {}return n;}-function AK(e, t) {+function EK(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var jK = (e, t, n, r, i) => {- var a = AB(n), o = AB(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 DK = (e, t, n, r, i) => {+ var a = kB(n), o = kB(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,@@ -59269,44 +59269,44 @@ var jK = (e, t, n, r, i) => {var h = i[p] ?? 0;f[p] = h > s ? s : h;}- d = jB(xDe ||= AK([+ d = AB(TDe ||= EK(["M",",",""- ]), e, t + c * f[0]), f[0] > 0 && (d += jB(SDe ||= AK([+ ]), e, t + c * f[0]), f[0] > 0 && (d += AB(EDe ||= EK(["A ",",",",0,0,",",",",",""- ]), f[0], f[0], u, e + l * f[0], t)), d += jB(CDe ||= AK([+ ]), f[0], f[0], u, e + l * f[0], t)), d += AB(DDe ||= EK(["L ",",",""- ]), e + n - l * f[1], t), f[1] > 0 && (d += jB(wDe ||= AK([+ ]), e + n - l * f[1], t), f[1] > 0 && (d += AB(ODe ||= EK(["A ",",",",0,0,",",\n ",",",""- ]), f[1], f[1], u, e + n, t + c * f[1])), d += jB(TDe ||= AK([+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += AB(kDe ||= EK(["L ",",",""- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += jB(EDe ||= AK([+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += AB(ADe ||= EK(["A ",",",",0,0,",",\n ",",",""- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += jB(DDe ||= AK([+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += AB(jDe ||= EK(["L ",",",""- ]), e + l * f[3], t + r), f[3] > 0 && (d += jB(ODe ||= AK([+ ]), e + l * f[3], t + r), f[3] > 0 && (d += AB(MDe ||= EK(["A ",",",",0,0,",@@ -59316,8 +59316,8 @@ var jK = (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 = jB(kDe ||= AK(/* @__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 = jB(ADe ||= AK([+ d = AB(NDe ||= EK(/* @__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 = AB(PDe ||= EK(["M ",","," h ",@@ -59326,7 +59326,7 @@ var jK = (e, t, n, r, i) => {" Z"]), e, t, n, r, -n);return d;-}, MK = {+}, OK = {x: 0,y: 0,width: 0,@@ -59337,15 +59337,15 @@ var jK = (e, t, n, r, i) => {animationBegin: 0,animationDuration: 1500,animationEasing: "ease"-}, NK = (e) => {- var t = eV(e, MK), n = (0, B.useRef)(null), [r, i] = (0, B.useState)(-1);+}, kK = (e) => {+ var t = $B(e, OK), n = (0, B.useRef)(null), [r, i] = (0, B.useState)(-1);(0, B.useEffect)(() => {if (n.current && n.current.getTotalLength) try {var e = n.current.getTotalLength();e && i(e);} catch {}}, []);- var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, B.useRef)(s), _ = (0, B.useRef)(c), v = (0, B.useRef)(a), y = (0, B.useRef)(o), b = TK((0, B.useMemo)(() => ({+ var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, B.useRef)(s), _ = (0, B.useRef)(c), v = (0, B.useRef)(a), y = (0, B.useRef)(o), b = xK((0, B.useMemo)(() => ({x: a,y: o,width: s,@@ -59361,19 +59361,19 @@ var jK = (e, t, n, r, i) => {if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;var x = _h("recharts-rectangle", u);if (!h) {- var S = Ez(t), { radius: C } = S, w = kK(S, yDe);- return /*#__PURE__*/ B.createElement("path", OK({}, w, {- x: AB(a),- y: AB(o),- width: AB(s),- height: AB(c),+ var S = Tz(t), { radius: C } = S, w = TK(S, CDe);+ return /*#__PURE__*/ B.createElement("path", wK({}, w, {+ x: kB(a),+ y: kB(o),+ width: kB(s),+ height: kB(c),radius: typeof l == "number" ? l : void 0,className: x,- d: jK(a, o, s, c, l)+ d: DK(a, o, s, c, l)}));}- var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = dK(["strokeDasharray"], f, typeof d == "string" ? d : MK.animationEasing);- return /*#__PURE__*/ B.createElement(wK, {+ var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = sK(["strokeDasharray"], f, typeof d == "string" ? d : OK.animationEasing);+ return /*#__PURE__*/ B.createElement(bK, {animationId: b,key: b,canBegin: r > 0,@@ -59382,24 +59382,24 @@ var jK = (e, t, n, r, i) => {isActive: h,begin: p}, (e) => {- var r = zB(T, s, e), i = zB(E, c, e), u = zB(D, a, e), d = zB(O, o, e);+ var r = RB(T, s, e), i = RB(E, c, e), u = RB(D, a, e), d = RB(O, o, e);n.current && (g.current = r, _.current = i, v.current = u, y.current = d);var f = m ? e > 0 ? {transition: j,strokeDasharray: A- } : { strokeDasharray: k } : { strokeDasharray: A }, p = Ez(t), { radius: h } = p, b = kK(p, bDe);- return /*#__PURE__*/ B.createElement("path", OK({}, b, {+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = Tz(t), { radius: h } = p, b = TK(p, wDe);+ return /*#__PURE__*/ B.createElement("path", wK({}, b, {radius: typeof l == "number" ? l : void 0,className: x,- d: jK(u, d, r, i, l),+ d: DK(u, d, r, i, l),ref: n,- style: DK(DK({}, f), t.style)+ style: CK(CK({}, f), t.style)}));});};//#endregion//#region node_modules/recharts/es6/util/PolarUtils.js-function PK(e, t) {+function AK(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -59409,30 +59409,30 @@ function PK(e, t) {}return n;}-function FK(e) {+function jK(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? PK(Object(n), !0).forEach(function(t) {- FDe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PK(Object(n)).forEach(function(t) {+ t % 2 ? AK(Object(n), !0).forEach(function(t) {+ zDe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AK(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function FDe(e, t, n) {- return (t = IDe(t)) in e ? Object.defineProperty(e, t, {+function zDe(e, t, n) {+ return (t = BDe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function IDe(e) {- var t = LDe(e, "string");+function BDe(e) {+ var t = VDe(e, "string");return typeof t == "symbol" ? t : t + "";}-function LDe(e, t) {+function VDe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -59442,10 +59442,10 @@ function LDe(e, t) {}return (t === "string" ? String : Number)(e);}-var IK = Math.PI / 180, LK = (e) => e * Math.PI / 180, RDe = (e) => e * 180 / Math.PI, RK = (e, t, n, r) => ({- x: e + Math.cos(-IK * r) * n,- y: t + Math.sin(-IK * r) * n-}), zDe = function(e, t) {+var MK = Math.PI / 180, NK = (e) => e * Math.PI / 180, HDe = (e) => e * 180 / Math.PI, PK = (e, t, n, r) => ({+ x: e + Math.cos(-MK * r) * n,+ y: t + Math.sin(-MK * r) * n+}), UDe = function(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {top: 0,right: 0,@@ -59456,11 +59456,11 @@ var IK = Math.PI / 180, LK = (e) => e * Math.PI / 180, RDe = (e) => e * 180 / MabrushBottom: 0};return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;-}, BDe = (e, t) => {+}, WDe = (e, t) => {var { x: n, y: r } = e, { x: i, y: a } = t;return Math.sqrt((n - i) ** 2 + (r - a) ** 2);-}, VDe = (e, t) => {- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = BDe({+}, GDe = (e, t) => {+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = WDe({x: n,y: r}, {@@ -59474,25 +59474,25 @@ var IK = Math.PI / 180, LK = (e) => e * Math.PI / 180, RDe = (e) => e * 180 / Mavar s = (n - i) / o, c = Math.acos(s);return r > a && (c = 2 * Math.PI - c), {radius: o,- angle: RDe(c),+ angle: HDe(c),angleInRadian: c};-}, HDe = (e) => {+}, KDe = (e) => {var { startAngle: t, endAngle: n } = e, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);return {startAngle: t - a * 360,endAngle: n - a * 360};-}, UDe = (e, t) => {+}, qDe = (e, t) => {var { startAngle: n, endAngle: r } = t, i = Math.floor(n / 360), a = Math.floor(r / 360);return e + Math.min(i, a) * 360;-}, WDe = (e, t) => {- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = VDe({+}, JDe = (e, t) => {+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = GDe({x: n,y: r}, t), { innerRadius: o, outerRadius: s } = t;if (i < o || i > s || i === 0) return null;- var { startAngle: c, endAngle: l } = HDe(t), u = a, d;+ var { startAngle: c, endAngle: l } = KDe(t), u = a, d;if (c <= l) {for (; u > l;) u -= 360;for (; u < c;) u += 360;@@ -59502,17 +59502,17 @@ var IK = Math.PI / 180, LK = (e) => e * Math.PI / 180, RDe = (e) => e * 180 / Mafor (; u < l;) u += 360;d = u >= l && u <= c;}- return d ? FK(FK({}, t), {}, {+ return d ? jK(jK({}, t), {}, {radius: i,- angle: UDe(u, t)+ angle: qDe(u, t)}) : null;};//#endregion//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js-function zK(e) {+function FK(e) {var { cx: t, cy: n, radius: r, startAngle: i, endAngle: a } = e;return {- points: [RK(t, n, r, i), RK(t, n, r, a)],+ points: [PK(t, n, r, i), PK(t, n, r, a)],cx: t,cy: n,radius: r,@@ -59522,29 +59522,29 @@ function zK(e) {}//#endregion//#region node_modules/recharts/es6/shape/Sector.js-var GDe, KDe, qDe, JDe, YDe, XDe, ZDe;-function BK() {- return BK = Object.assign ? Object.assign.bind() : function(e) {+var YDe, XDe, ZDe, QDe, $De, eOe, tOe;+function IK() {+ return IK = 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;- }, BK.apply(null, arguments);+ }, IK.apply(null, arguments);}-function VK(e, t) {+function LK(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) => {- var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / IK, d = c ? i : i + a * u, f = RK(t, n, l, d), p = RK(t, n, r, d), m = c ? i - a * u : i;+var nOe = (e, t) => jB(t - e) * Math.min(Math.abs(t - e), 359.999), RK = (e) => {+ var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / MK, d = c ? i : i + a * u, f = PK(t, n, l, d), p = PK(t, n, r, d), m = c ? i - a * u : i;return {center: f,circleTangency: p,- lineTangency: RK(t, n, l * Math.cos(u * IK), m),+ lineTangency: PK(t, n, l * Math.cos(u * MK), m),theta: u};-}, UK = (e) => {- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = QDe(a, o), c = a + s, l = RK(t, n, i, a), u = RK(t, n, i, c), d = jB(GDe ||= VK([+}, zK = (e) => {+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = nOe(a, o), c = a + s, l = PK(t, n, i, a), u = PK(t, n, i, c), d = AB(YDe ||= LK(["M ",",","\n A ",@@ -59556,8 +59556,8 @@ var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) =>"\n "]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);if (r > 0) {- var f = RK(t, n, r, a), p = RK(t, n, r, c);- d += jB(KDe ||= VK([+ var f = PK(t, n, r, a), p = PK(t, n, r, c);+ d += AB(XDe ||= LK(["L ",",","\n A ",@@ -59568,14 +59568,14 @@ var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) =>","," Z"]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);- } else d += jB(qDe ||= VK([+ } else d += AB(ZDe ||= LK(["L ",","," Z"]), t, n);return d;-}, $De = (e) => {- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = MB(l - c), { circleTangency: d, lineTangency: f, theta: p } = HK({+}, rOe = (e) => {+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = jB(l - c), { circleTangency: d, lineTangency: f, theta: p } = RK({cx: t,cy: n,radius: i,@@ -59583,7 +59583,7 @@ var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) =>sign: u,cornerRadius: a,cornerIsExternal: s- }), { circleTangency: m, lineTangency: h, theta: g } = HK({+ }), { circleTangency: m, lineTangency: h, theta: g } = RK({cx: t,cy: n,radius: i,@@ -59592,7 +59592,7 @@ var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) =>cornerRadius: a,cornerIsExternal: s}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;- if (_ < 0) return o ? jB(JDe ||= VK([+ if (_ < 0) return o ? AB(QDe ||= LK(["M ",",","\n a",@@ -59602,7 +59602,7 @@ var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) =>",",",0,0,1,",",0\n "- ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : UK({+ ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : zK({cx: t,cy: n,innerRadius: r,@@ -59610,7 +59610,7 @@ var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) =>startAngle: c,endAngle: l});- var v = jB(YDe ||= VK([+ var v = AB($De ||= LK(["M ",",","\n A",@@ -59632,7 +59632,7 @@ var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) =>"\n "]), f.x, f.y, a, a, +(u < 0), d.x, d.y, i, i, +(_ > 180), +(u < 0), m.x, m.y, a, a, +(u < 0), h.x, h.y);if (r > 0) {- var { circleTangency: y, lineTangency: b, theta: x } = HK({+ var { circleTangency: y, lineTangency: b, theta: x } = RK({cx: t,cy: n,radius: r,@@ -59641,7 +59641,7 @@ var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) =>isExternal: !0,cornerRadius: a,cornerIsExternal: s- }), { circleTangency: S, lineTangency: C, theta: w } = HK({+ }), { circleTangency: S, lineTangency: C, theta: w } = RK({cx: t,cy: n,radius: r,@@ -59652,7 +59652,7 @@ var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) =>cornerIsExternal: s}), T = s ? Math.abs(c - l) : Math.abs(c - l) - x - w;if (T < 0 && a === 0) return `${v}L${t},${n}Z`;- v += jB(XDe ||= VK([+ v += AB(eOe ||= LK(["L",",","\n A",@@ -59673,13 +59673,13 @@ var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) =>",","Z"]), C.x, C.y, a, a, +(u < 0), S.x, S.y, r, r, +(T > 180), +(u > 0), y.x, y.y, a, a, +(u < 0), b.x, b.y);- } else v += jB(ZDe ||= VK([+ } else v += AB(tOe ||= LK(["L",",","Z"]), t, n);return v;-}, eOe = {+}, iOe = {cx: 0,cy: 0,innerRadius: 0,@@ -59689,10 +59689,10 @@ var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) =>cornerRadius: 0,forceCornerRadius: !1,cornerIsExternal: !1-}, WK = (e) => {- var t = eV(e, eOe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;+}, BK = (e) => {+ var t = $B(e, iOe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;if (a < i || l === u) return null;- var f = _h("recharts-sector", d), p = a - i, m = LB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? $De({+ var f = _h("recharts-sector", d), p = a - i, m = IB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? rOe({cx: n,cy: r,innerRadius: i,@@ -59702,7 +59702,7 @@ var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) =>cornerIsExternal: c,startAngle: l,endAngle: u- }) : UK({+ }) : zK({cx: n,cy: r,innerRadius: i,@@ -59710,14 +59710,14 @@ var QDe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 359.999), HK = (e) =>startAngle: l,endAngle: u});- return /*#__PURE__*/ B.createElement("path", BK({}, Ez(t), {+ return /*#__PURE__*/ B.createElement("path", IK({}, Tz(t), {className: f,d: h}));};//#endregion//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js-function tOe(e, t, n) {+function aOe(e, t, n) {if (e === "horizontal") return [{x: t.x,y: n.top@@ -59732,9 +59732,9 @@ function tOe(e, t, n) {x: n.left + n.width,y: t.y}];- if (XB(t)) {+ if (YB(t)) {if (e === "centric") {- var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = RK(r, i, a, s), l = RK(r, i, o, s);+ var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = PK(r, i, a, s), l = PK(r, i, o, s);return [{x: c.x,y: c.y@@ -59743,30 +59743,30 @@ function tOe(e, t, n) {y: l.y}];}- return zK(t);+ return FK(t);}}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs-function nOe(e) {- return EB(e) ? NaN : Number(e);+function oOe(e) {+ return TB(e) ? NaN : Number(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs-function GK(e) {- return e ? (e = nOe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;+function VK(e) {+ return e ? (e = oOe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;}//#endregion//#region node_modules/es-toolkit/dist/compat/math/range.mjs-function KK(e, t, n) {- n && typeof n != "number" && LV(e, t, n) && (t = n = void 0), e = GK(e), t === void 0 ? (t = e, e = 0) : t = GK(t), n = n === void 0 ? e < t ? 1 : -1 : GK(n);+function HK(e, t, n) {+ n && typeof n != "number" && NV(e, t, n) && (t = n = void 0), e = VK(e), t === void 0 ? (t = e, e = 0) : t = VK(t), n = n === void 0 ? e < t ? 1 : -1 : VK(n);let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);for (let t = 0; t < r; t++) i[t] = e, e += n;return i;}//#endregion//#region node_modules/recharts/es6/state/selectors/dataSelectors.js-var qK = (e) => e.chartData, JK = $([qK], (e) => {+var UK = (e) => e.chartData, WK = $([UK], (e) => {var t = e.chartData == null ? 0 : e.chartData.length - 1;return {chartData: e.chartData,@@ -59774,35 +59774,35 @@ var qK = (e) => e.chartData, JK = $([qK], (e) => {dataEndIndex: t,dataStartIndex: 0};-}), YK = (e, t, n, r) => r ? JK(e) : qK(e), XK = (e, t, n) => n ? JK(e) : qK(e);+}), GK = (e, t, n, r) => r ? WK(e) : UK(e), KK = (e, t, n) => n ? WK(e) : UK(e);//#endregion//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js-function ZK(e) {+function qK(e) {if (Array.isArray(e) && e.length === 2) {var [t, n] = e;- if (GU(t) && GU(n)) return !0;+ if (VU(t) && VU(n)) return !0;}return !1;}-function QK(e, t, n) {+function JK(e, t, n) {return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];}-function $K(e, t) {+function YK(e, t) {if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {var [n, r] = e, i, a;- if (GU(n)) i = n;+ if (VU(n)) i = n;else if (typeof n == "function") return;- if (GU(r)) a = r;+ if (VU(r)) a = r;else if (typeof r == "function") return;var o = [i, a];- if (ZK(o)) return o;+ if (qK(o)) return o;}}-function rOe(e, t, n) {+function sOe(e, t, n) {if (!(!n && t == null)) {if (typeof e == "function" && t != null) try {var r = e(t, n);- if (ZK(r)) return QK(r, t, n);+ if (qK(r)) return JK(r, t, n);} catch {}if (Array.isArray(e) && e.length === 2) {var [i, a] = e, o, s;@@ -59811,8 +59811,8 @@ function rOe(e, t, n) {else if (typeof i == "function") try {t != null && (o = i(t?.[0]));} catch {}- else if (typeof i == "string" && iW.test(i)) {- var c = iW.exec(i);+ else if (typeof i == "string" && eW.test(i)) {+ var c = eW.exec(i);if (c == null || c[1] == null || t == null) o = void 0;else {var l = +c[1];@@ -59824,8 +59824,8 @@ function rOe(e, t, n) {else if (typeof a == "function") try {t != null && (s = a(t?.[1]));} catch {}- else if (typeof a == "string" && aW.test(a)) {- var u = aW.exec(a);+ else if (typeof a == "string" && tW.test(a)) {+ var u = tW.exec(a);if (u == null || u[1] == null || t == null) s = void 0;else {var d = +u[1];@@ -59833,13 +59833,13 @@ function rOe(e, t, n) {}} else s = t?.[1];var f = [o, s];- if (ZK(f)) return t == null ? f : QK(f, t, n);+ if (qK(f)) return t == null ? f : JK(f, t, n);}}}//#endregion//#region node_modules/recharts/es6/util/scale/util/arithmetic.js-var eq = /* @__PURE__ */ Tt((/* @__PURE__ */ xt(((e, t) => {+var XK = /* @__PURE__ */ Tt((/* @__PURE__ */ xt(((e, t) => {(function(e) {var n = 1e9, r = {precision: 20,@@ -60215,75 +60215,75 @@ var eq = /* @__PURE__ */ Tt((/* @__PURE__ */ xt(((e, t) => {}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);})(e);})))());-function tq(e) {- return e === 0 ? 1 : Math.floor(new eq.default(e).abs().log(10).toNumber()) + 1;+function ZK(e) {+ return e === 0 ? 1 : Math.floor(new XK.default(e).abs().log(10).toNumber()) + 1;}-function nq(e, t, n) {- for (var r = new eq.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;+function QK(e, t, n) {+ for (var r = new XK.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;return a;}//#endregion//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js-var rq = (e) => {+var $K = (e) => {var [t, n] = e, [r, i] = [t, n];return t > n && ([r, i] = [n, t]), [r, i];-}, iq = (e, t, n) => {- if (e.lte(0)) return new eq.default(0);- var r = tq(e.toNumber()), i = new eq.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new eq.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);- return t ? new eq.default(s.toNumber()) : new eq.default(Math.ceil(s.toNumber()));-}, aq = (e, t, n) => {- if (e.lte(0)) return new eq.default(0);+}, eq = (e, t, n) => {+ if (e.lte(0)) return new XK.default(0);+ var r = ZK(e.toNumber()), i = new XK.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new XK.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);+ return t ? new XK.default(s.toNumber()) : new XK.default(Math.ceil(s.toNumber()));+}, tq = (e, t, n) => {+ if (e.lte(0)) return new XK.default(0);var r = [1,2,2.5,5- ], i = e.toNumber(), a = Math.floor(new eq.default(i).abs().log(10).toNumber()), o = new eq.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);+ ], i = e.toNumber(), a = Math.floor(new XK.default(i).abs().log(10).toNumber()), o = new XK.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);if (c === -1 && (o = o.mul(10), c = 0), c += n, c >= r.length) {var l = Math.floor(c / r.length);- c %= r.length, o = o.mul(new eq.default(10).pow(l));+ c %= r.length, o = o.mul(new XK.default(10).pow(l));}- var u = r[c] ?? 1, d = new eq.default(u).mul(o);- return t ? d : new eq.default(Math.ceil(d.toNumber()));-}, iOe = (e, t, n) => {- var r = new eq.default(1), i = new eq.default(e);+ var u = r[c] ?? 1, d = new XK.default(u).mul(o);+ return t ? d : new XK.default(Math.ceil(d.toNumber()));+}, cOe = (e, t, n) => {+ var r = new XK.default(1), i = new XK.default(e);if (!i.isint() && n) {var a = Math.abs(e);- a < 1 ? (r = new eq.default(10).pow(tq(e) - 1), i = new eq.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new eq.default(Math.floor(e)));- } else e === 0 ? i = new eq.default(Math.floor((t - 1) / 2)) : n || (i = new eq.default(Math.floor(e)));- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new eq.default(c - o).mul(r)).toNumber());+ a < 1 ? (r = new XK.default(10).pow(ZK(e) - 1), i = new XK.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new XK.default(Math.floor(e)));+ } else e === 0 ? i = new XK.default(Math.floor((t - 1) / 2)) : n || (i = new XK.default(Math.floor(e)));+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new XK.default(c - o).mul(r)).toNumber());return s;-}, oq = function(e, t, n, r) {- var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : iq;+}, nq = function(e, t, n, r) {+ var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : eq;if (!Number.isFinite((t - e) / (n - 1))) return {- step: new eq.default(0),- tickMin: new eq.default(0),- tickMax: new eq.default(0)- };- var o = a(new eq.default(t).sub(e).div(n - 1), r, i), s;- e <= 0 && t >= 0 ? s = new eq.default(0) : (s = new eq.default(e).add(t).div(2), s = s.sub(new eq.default(s).mod(o)));- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new eq.default(t).sub(s).div(o).toNumber()), u = c + l + 1;- return u > n ? oq(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {+ step: new XK.default(0),+ tickMin: new XK.default(0),+ tickMax: new XK.default(0)+ };+ var o = a(new XK.default(t).sub(e).div(n - 1), r, i), s;+ e <= 0 && t >= 0 ? s = new XK.default(0) : (s = new XK.default(e).add(t).div(2), s = s.sub(new XK.default(s).mod(o)));+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new XK.default(t).sub(s).div(o).toNumber()), u = c + l + 1;+ return u > n ? nq(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {step: o,- tickMin: s.sub(new eq.default(c).mul(o)),- tickMax: s.add(new eq.default(l).mul(o))+ tickMin: s.sub(new XK.default(c).mul(o)),+ tickMax: s.add(new XK.default(l).mul(o))});-}, sq = function(e) {- var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = rq([t, n]);+}, rq = function(e) {+ var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = $K([t, n]);if (s === -Infinity || c === Infinity) {var l = c === Infinity ? [s, ...Array(r - 1).fill(Infinity)] : [...Array(r - 1).fill(-Infinity), c];return t > n ? l.reverse() : l;}- if (s === c) return iOe(s, r, i);- var { step: u, tickMin: d, tickMax: f } = oq(s, c, o, i, 0, a === "snap125" ? aq : iq), p = nq(d, f.add(new eq.default(.1).mul(u)), u);+ if (s === c) return cOe(s, r, i);+ var { step: u, tickMin: d, tickMax: f } = nq(s, c, o, i, 0, a === "snap125" ? tq : eq), p = QK(d, f.add(new XK.default(.1).mul(u)), u);return t > n ? p.reverse() : p;-}, cq = function(e, t) {- var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = rq([n, r]);+}, iq = function(e, t) {+ var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = $K([n, r]);if (o === -Infinity || s === Infinity) return [n, r];if (o === s) return [o];- var c = a === "snap125" ? aq : iq, l = Math.max(t, 2), u = c(new eq.default(s).sub(o).div(l - 1), i, 0), d = [...nq(new eq.default(o), new eq.default(s), u), s];+ var c = a === "snap125" ? tq : eq, l = Math.max(t, 2), u = c(new XK.default(s).sub(o).div(l - 1), i, 0), d = [...QK(new XK.default(o), new XK.default(s), u), s];return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;-}, lq = (e) => e.rootProps.maxBarSize, uq = (e) => e.rootProps.barGap, dq = (e) => e.rootProps.barCategoryGap, fq = (e) => e.rootProps.barSize, pq = (e) => e.rootProps.stackOffset, mq = (e) => e.rootProps.reverseStackOrder, hq = (e) => e.options.chartName, gq = (e) => e.rootProps.syncId, _q = (e) => e.rootProps.syncMethod, vq = (e) => e.options.eventEmitter, aOe = (e) => e.rootProps.baseValue, yq = {+}, aq = (e) => e.rootProps.maxBarSize, oq = (e) => e.rootProps.barGap, sq = (e) => e.rootProps.barCategoryGap, cq = (e) => e.rootProps.barSize, lq = (e) => e.rootProps.stackOffset, uq = (e) => e.rootProps.reverseStackOrder, dq = (e) => e.options.chartName, fq = (e) => e.rootProps.syncId, pq = (e) => e.rootProps.syncMethod, mq = (e) => e.options.eventEmitter, lOe = (e) => e.rootProps.baseValue, hq = {grid: -100,barBackground: -50,area: 100,@@ -60296,7 +60296,7 @@ var rq = (e) => {cursorLine: 1100,activeDot: 1200,label: 2e3-}, bq = {+}, gq = {allowDecimals: !1,allowDuplicatedCategory: !0,allowDataOverflow: !1,@@ -60317,8 +60317,8 @@ var rq = (e) => {tickLine: !0,tickSize: 8,type: "auto",- zIndex: yq.axis-}, xq = {+ zIndex: hq.axis+}, _q = {allowDataOverflow: !1,allowDecimals: !1,allowDuplicatedCategory: !0,@@ -60337,19 +60337,19 @@ var rq = (e) => {tickCount: 5,tickLine: !0,type: "auto",- zIndex: yq.axis-}, Sq = (e, t) => {+ zIndex: hq.axis+}, vq = (e, t) => {if (!(!e || !t)) return e != null && e.reversed ? [t[1], t[0]] : t;};//#endregion//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js-function Cq(e, t, n) {+function yq(e, t, n) {if (n !== "auto") return n;- if (e != null) return XU(e, t) ? "category" : "number";+ if (e != null) return KU(e, t) ? "category" : "number";}//#endregion//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js-function wq(e, t) {+function bq(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -60359,30 +60359,30 @@ function wq(e, t) {}return n;}-function Tq(e) {+function xq(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? wq(Object(n), !0).forEach(function(t) {- oOe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wq(Object(n)).forEach(function(t) {+ t % 2 ? bq(Object(n), !0).forEach(function(t) {+ uOe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bq(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function oOe(e, t, n) {- return (t = sOe(t)) in e ? Object.defineProperty(e, t, {+function uOe(e, t, n) {+ return (t = dOe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function sOe(e) {- var t = cOe(e, "string");+function dOe(e) {+ var t = fOe(e, "string");return typeof t == "symbol" ? t : t + "";}-function cOe(e, t) {+function fOe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -60392,81 +60392,81 @@ function cOe(e, t) {}return (t === "string" ? String : Number)(e);}-var Eq = {- allowDataOverflow: bq.allowDataOverflow,- allowDecimals: bq.allowDecimals,+var Sq = {+ allowDataOverflow: gq.allowDataOverflow,+ allowDecimals: gq.allowDecimals,allowDuplicatedCategory: !1,dataKey: void 0,domain: void 0,- id: bq.angleAxisId,+ id: gq.angleAxisId,includeHidden: !1,name: void 0,- reversed: bq.reversed,- scale: bq.scale,- tick: bq.tick,+ reversed: gq.reversed,+ scale: gq.scale,+ tick: gq.tick,tickCount: void 0,ticks: void 0,- type: bq.type,+ type: gq.type,unit: void 0,niceTicks: "auto"-}, Dq = {- allowDataOverflow: xq.allowDataOverflow,- allowDecimals: xq.allowDecimals,- allowDuplicatedCategory: xq.allowDuplicatedCategory,+}, Cq = {+ allowDataOverflow: _q.allowDataOverflow,+ allowDecimals: _q.allowDecimals,+ allowDuplicatedCategory: _q.allowDuplicatedCategory,dataKey: void 0,domain: void 0,- id: xq.radiusAxisId,- includeHidden: xq.includeHidden,+ id: _q.radiusAxisId,+ includeHidden: _q.includeHidden,name: void 0,- reversed: xq.reversed,- scale: xq.scale,- tick: xq.tick,- tickCount: xq.tickCount,+ reversed: _q.reversed,+ scale: _q.scale,+ tick: _q.tick,+ tickCount: _q.tickCount,ticks: void 0,- type: xq.type,+ type: _q.type,unit: void 0,niceTicks: "auto"-}, Oq = $([(e, t) => {+}, wq = $([(e, t) => {if (t != null) return e.polarAxis.angleAxis[t];-}, zW], (e, t) => {+}, FW], (e, t) => {if (e != null) return e;- var n = Cq(t, "angleAxis", Eq.type) ?? "category";- return Tq(Tq({}, Eq), {}, { type: n });-}), kq = $([(e, t) => e.polarAxis.radiusAxis[t], zW], (e, t) => {+ var n = yq(t, "angleAxis", Sq.type) ?? "category";+ return xq(xq({}, Sq), {}, { type: n });+}), Tq = $([(e, t) => e.polarAxis.radiusAxis[t], FW], (e, t) => {if (e != null) return e;- var n = Cq(t, "radiusAxis", Dq.type) ?? "category";- return Tq(Tq({}, Dq), {}, { type: n });-}), Aq = (e) => e.polarOptions, jq = $([- lW,- uW,- gW-], zDe), Mq = $([Aq, jq], (e, t) => {- if (e != null) return LB(e.innerRadius, t, 0);-}), Nq = $([Aq, jq], (e, t) => {- if (e != null) return LB(e.outerRadius, t, t * .8);-}), Pq = $([Aq], (e) => {+ var n = yq(t, "radiusAxis", Cq.type) ?? "category";+ return xq(xq({}, Cq), {}, { type: n });+}), Eq = (e) => e.polarOptions, Dq = $([+ aW,+ oW,+ fW+], UDe), Oq = $([Eq, Dq], (e, t) => {+ if (e != null) return IB(e.innerRadius, t, 0);+}), kq = $([Eq, Dq], (e, t) => {+ if (e != null) return IB(e.outerRadius, t, t * .8);+}), Aq = $([Eq], (e) => {if (e == null) return [0, 0];var { startAngle: t, endAngle: n } = e;return [t, n];-}), lOe = $([Oq, Pq], Sq), Fq = $([- jq,- Mq,- Nq+}), pOe = $([wq, Aq], vq), jq = $([+ Dq,+ Oq,+ kq], (e, t, n) => {if (e != null && t != null && n != null) return [t, n];-}), uOe = $([kq, Fq], Sq), Iq = $([- IW,- Aq,- Mq,- Nq,- lW,- uW+}), mOe = $([Tq, jq], vq), Mq = $([+ MW,+ Eq,+ Oq,+ kq,+ aW,+ oW], (e, t, n, r, i, a) => {if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {var { cx: o, cy: s, startAngle: c, endAngle: l } = t;return {- cx: LB(o, i, i / 2),- cy: LB(s, a, a / 2),+ cx: IB(o, i, i / 2),+ cy: IB(s, a, a / 2),innerRadius: n,outerRadius: r,startAngle: c,@@ -60474,22 +60474,22 @@ var Eq = {clockWise: !1};}-}), Lq = (e, t) => t, Rq = (e, t, n) => n;+}), Nq = (e, t) => t, Pq = (e, t, n) => n;//#endregion//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js-function zq(e) {+function Fq(e) {return e?.id;}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js-function Bq(e, t, n) {+function Iq(e, t, n) {var { chartData: r = [] } = t, { allowDuplicatedCategory: i, dataKey: a } = n, o = /* @__PURE__ */ new Map();return e.forEach((e) => {var t = e.data ?? r;if (t != null && t.length !== 0) {- var n = zq(e);+ var n = Fq(e);t.forEach((t, r) => {- var s = a == null || i ? r : String(YU(t, a, null)), c = YU(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};+ var s = a == null || i ? r : String(GU(t, a, null)), c = GU(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};Object.assign(l, { [n]: c }), o.set(s, l);});}@@ -60497,18 +60497,18 @@ function Bq(e, t, n) {}//#endregion//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js-function Vq(e) {+function Lq(e) {return "stackId" in e && e.stackId != null && e.dataKey != null;}//#endregion//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js-var Hq = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];+var Rq = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];//#endregion//#region node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js-function Uq(e, t) {+function zq(e, t) {return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;}-function dOe(e, t) {+function hOe(e, t) {if (e.length === t.length) {for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;return !0;@@ -60517,13 +60517,13 @@ function dOe(e, t) {}//#endregion//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js-var Wq = (e) => {- var t = IW(e);+var Bq = (e) => {+ var t = MW(e);return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";-}, Gq = (e) => e.tooltip.settings.axisId;+}, Vq = (e) => e.tooltip.settings.axisId;//#endregion//#region node_modules/recharts/es6/util/scale/RechartsScale.js-function Kq(e) {+function Hq(e) {if (e != null) {var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];return {@@ -60564,13 +60564,13 @@ function Kq(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js-var qq = (e, t) => {+var Uq = (e, t) => {if (t != null) switch (e) {case "linear":- if (!ZK(t)) {+ if (!qK(t)) {for (var n, r, i = 0; i < t.length; i++) {var a = t[i];- GU(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));+ VU(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));}return n !== void 0 && r !== void 0 ? [n, r] : void 0;}@@ -60580,14 +60580,14 @@ var qq = (e, t) => {};//#endregion//#region node_modules/d3-array/src/ascending.js-function Jq(e, t) {+function Wq(e, t) {return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;}//#endregion//#region node_modules/d3-array/src/bisector.js-function Yq(e) {+function Gq(e) {let t = e, n = e;- e.length === 1 && (t = (t, n) => e(t) - n, n = fOe(e));+ e.length === 1 && (t = (t, n) => e(t) - n, n = gOe(e));function r(e, t, r, i) {for (r ??= 0, i ??= e.length; r < i;) {let a = r + i >>> 1;@@ -60613,15 +60613,15 @@ function Yq(e) {right: i};}-function fOe(e) {- return (t, n) => Jq(e(t), n);+function gOe(e) {+ return (t, n) => Wq(e(t), n);}//#endregion//#region node_modules/d3-array/src/number.js-function Xq(e) {+function Kq(e) {return e === null ? NaN : +e;}-function* pOe(e, t) {+function* _Oe(e, t) {if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);else {let n = -1;@@ -60630,52 +60630,52 @@ function* pOe(e, t) {}//#endregion//#region node_modules/d3-array/src/bisect.js-var Zq = Yq(Jq), Qq = Zq.right;-Zq.left, Yq(Xq).center;+var qq = Gq(Wq), Jq = qq.right;+qq.left, Gq(Kq).center;//#endregion//#region node_modules/internmap/src/index.js-var $q = class extends Map {- constructor(e, t = gOe) {+var Yq = class extends Map {+ constructor(e, t = bOe) {if (super(), Object.defineProperties(this, {_intern: { value: /* @__PURE__ */ new Map() },_key: { value: t }}), e != null) for (let [t, n] of e) this.set(t, n);}get(e) {- return super.get(eJ(this, e));+ return super.get(Xq(this, e));}has(e) {- return super.has(eJ(this, e));+ return super.has(Xq(this, e));}set(e, t) {- return super.set(mOe(this, e), t);+ return super.set(vOe(this, e), t);}delete(e) {- return super.delete(hOe(this, e));+ return super.delete(yOe(this, e));}};-function eJ({ _intern: e, _key: t }, n) {+function Xq({ _intern: e, _key: t }, n) {let r = t(n);return e.has(r) ? e.get(r) : n;}-function mOe({ _intern: e, _key: t }, n) {+function vOe({ _intern: e, _key: t }, n) {let r = t(n);return e.has(r) ? e.get(r) : (e.set(r, n), n);}-function hOe({ _intern: e, _key: t }, n) {+function yOe({ _intern: e, _key: t }, n) {let r = t(n);return e.has(r) && (n = e.get(n), e.delete(r)), n;}-function gOe(e) {+function bOe(e) {return typeof e == "object" && e ? e.valueOf() : e;}//#endregion//#region node_modules/d3-array/src/ticks.js-var tJ = Math.sqrt(50), nJ = Math.sqrt(10), rJ = Math.sqrt(2);-function iJ(e, t, n) {+var Zq = Math.sqrt(50), Qq = Math.sqrt(10), $q = Math.sqrt(2);+function eJ(e, t, n) {var r, i = -1, a, o, s;if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];- if ((r = t < e) && (a = e, e = t, t = a), (s = aJ(e, t, n)) === 0 || !isFinite(s)) return [];+ if ((r = t < e) && (a = e, e = t, t = a), (s = tJ(e, t, n)) === 0 || !isFinite(s)) return [];if (s > 0) {let n = Math.round(e / s), r = Math.round(t / s);for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;@@ -60686,17 +60686,17 @@ function iJ(e, t, n) {}return r && o.reverse(), o;}-function aJ(e, t, n) {+function tJ(e, t, n) {var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;- return i >= 0 ? (a >= tJ ? 10 : a >= nJ ? 5 : a >= rJ ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= tJ ? 10 : a >= nJ ? 5 : a >= rJ ? 2 : 1);+ return i >= 0 ? (a >= Zq ? 10 : a >= Qq ? 5 : a >= $q ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= Zq ? 10 : a >= Qq ? 5 : a >= $q ? 2 : 1);}-function oJ(e, t, n) {+function nJ(e, t, n) {var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;- return a >= tJ ? i *= 10 : a >= nJ ? i *= 5 : a >= rJ && (i *= 2), t < e ? -i : i;+ return a >= Zq ? i *= 10 : a >= Qq ? i *= 5 : a >= $q && (i *= 2), t < e ? -i : i;}//#endregion//#region node_modules/d3-array/src/max.js-function sJ(e, t) {+function rJ(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);else {@@ -60707,7 +60707,7 @@ function sJ(e, t) {}//#endregion//#region node_modules/d3-array/src/min.js-function cJ(e, t) {+function iJ(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);else {@@ -60718,36 +60718,36 @@ function cJ(e, t) {}//#endregion//#region node_modules/d3-array/src/quickselect.js-function lJ(e, t, n = 0, r = e.length - 1, i = Jq) {+function aJ(e, t, n = 0, r = e.length - 1, i = Wq) {for (; r > n;) {if (r - n > 600) {let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);- lJ(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);+ aJ(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);}let a = e[t], o = n, s = r;- for (uJ(e, n, t), i(e[r], a) > 0 && uJ(e, n, r); o < s;) {- for (uJ(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;+ for (oJ(e, n, t), i(e[r], a) > 0 && oJ(e, n, r); o < s;) {+ for (oJ(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;for (; i(e[s], a) > 0;) --s;}- i(e[n], a) === 0 ? uJ(e, n, s) : (++s, uJ(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);+ i(e[n], a) === 0 ? oJ(e, n, s) : (++s, oJ(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);}return e;}-function uJ(e, t, n) {+function oJ(e, t, n) {let r = e[t];e[t] = e[n], e[n] = r;}//#endregion//#region node_modules/d3-array/src/quantile.js-function _Oe(e, t, n) {- if (e = Float64Array.from(pOe(e, n)), r = e.length) {- if ((t = +t) <= 0 || r < 2) return cJ(e);- if (t >= 1) return sJ(e);- var r, i = (r - 1) * t, a = Math.floor(i), o = sJ(lJ(e, a).subarray(0, a + 1));- return o + (cJ(e.subarray(a + 1)) - o) * (i - a);+function xOe(e, t, n) {+ if (e = Float64Array.from(_Oe(e, n)), r = e.length) {+ if ((t = +t) <= 0 || r < 2) return iJ(e);+ if (t >= 1) return rJ(e);+ var r, i = (r - 1) * t, a = Math.floor(i), o = rJ(aJ(e, a).subarray(0, a + 1));+ return o + (iJ(e.subarray(a + 1)) - o) * (i - a);}}-function vOe(e, t, n = Xq) {+function SOe(e, t, n = Kq) {if (r = e.length) {if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);if (t >= 1) return +n(e[r - 1], r - 1, e);@@ -60757,14 +60757,14 @@ function vOe(e, t, n = Xq) {}//#endregion//#region node_modules/d3-array/src/range.js-function yOe(e, t, n) {+function COe(e, t, n) {e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;return a;}//#endregion//#region node_modules/d3-array/src/sum.js-function dJ(e, t) {+function sJ(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -60775,7 +60775,7 @@ function dJ(e, t) {}//#endregion//#region node_modules/d3-scale/src/init.js-function fJ(e, t) {+function cJ(e, t) {switch (arguments.length) {case 0: break;case 1:@@ -60785,7 +60785,7 @@ function fJ(e, t) {}return this;}-function pJ(e, t) {+function lJ(e, t) {switch (arguments.length) {case 0: break;case 1:@@ -60797,20 +60797,20 @@ function pJ(e, t) {}//#endregion//#region node_modules/d3-scale/src/ordinal.js-var mJ = Symbol("implicit");-function hJ() {- var e = new $q(), t = [], n = [], r = mJ;+var uJ = Symbol("implicit");+function dJ() {+ var e = new Yq(), t = [], n = [], r = uJ;function i(i) {let a = e.get(i);if (a === void 0) {- if (r !== mJ) return r;+ if (r !== uJ) return r;e.set(i, a = t.push(i) - 1);}return n[a % n.length];}return i.domain = function(n) {if (!arguments.length) return t.slice();- t = [], e = new $q();+ t = [], e = new Yq();for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);return i;}, i.range = function(e) {@@ -60818,18 +60818,18 @@ function hJ() {}, i.unknown = function(e) {return arguments.length ? (r = e, i) : r;}, i.copy = function() {- return hJ(t, n).unknown(r);- }, fJ.apply(i, arguments), i;+ return dJ(t, n).unknown(r);+ }, cJ.apply(i, arguments), i;}//#endregion//#region node_modules/d3-scale/src/band.js-function gJ() {- var e = hJ().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;+function fJ() {+ var e = dJ().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;delete e.unknown;function d() {var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));- var m = yOe(e).map(function(e) {+ var m = COe(e).map(function(e) {return f + a * e;});return n(d ? m.reverse() : m);@@ -60855,32 +60855,32 @@ function gJ() {}, e.align = function(e) {return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;}, e.copy = function() {- return gJ(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);- }, fJ.apply(d(), arguments);+ return fJ(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);+ }, cJ.apply(d(), arguments);}-function _J(e) {+function pJ(e) {var t = e.copy;return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {- return _J(t());+ return pJ(t());}, e;}-function bOe() {- return _J(gJ.apply(null, arguments).paddingInner(1));+function wOe() {+ return pJ(fJ.apply(null, arguments).paddingInner(1));}//#endregion//#region node_modules/d3-color/src/define.js-function vJ(e, t, n) {+function mJ(e, t, n) {e.prototype = t.prototype = n, n.constructor = e;}-function yJ(e, t) {+function hJ(e, t) {var n = Object.create(e.prototype);for (var r in t) n[r] = t[r];return n;}//#endregion//#region node_modules/d3-color/src/color.js-function bJ() {}-var xJ = .7, SJ = 1 / xJ, CJ = "\\s*([+-]?\\d+)\\s*", wJ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", TJ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", xOe = /^#([0-9a-f]{3,8})$/, SOe = RegExp(`^rgb\\(${CJ},${CJ},${CJ}\\)$`), COe = RegExp(`^rgb\\(${TJ},${TJ},${TJ}\\)$`), wOe = RegExp(`^rgba\\(${CJ},${CJ},${CJ},${wJ}\\)$`), TOe = RegExp(`^rgba\\(${TJ},${TJ},${TJ},${wJ}\\)$`), EOe = RegExp(`^hsl\\(${wJ},${TJ},${TJ}\\)$`), DOe = RegExp(`^hsla\\(${wJ},${TJ},${TJ},${wJ}\\)$`), EJ = {+function gJ() {}+var _J = .7, vJ = 1 / _J, yJ = "\\s*([+-]?\\d+)\\s*", bJ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", xJ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", TOe = /^#([0-9a-f]{3,8})$/, EOe = RegExp(`^rgb\\(${yJ},${yJ},${yJ}\\)$`), DOe = RegExp(`^rgb\\(${xJ},${xJ},${xJ}\\)$`), OOe = RegExp(`^rgba\\(${yJ},${yJ},${yJ},${bJ}\\)$`), kOe = RegExp(`^rgba\\(${xJ},${xJ},${xJ},${bJ}\\)$`), AOe = RegExp(`^hsl\\(${bJ},${xJ},${xJ}\\)$`), jOe = RegExp(`^hsla\\(${bJ},${xJ},${xJ},${bJ}\\)$`), SJ = {aliceblue: 15792383,antiquewhite: 16444375,aqua: 65535,@@ -61030,170 +61030,170 @@ var xJ = .7, SJ = 1 / xJ, CJ = "\\s*([+-]?\\d+)\\s*", wJ = "\\s*([+-]?(?:\\d*\\.yellow: 16776960,yellowgreen: 10145074};-vJ(bJ, kJ, {+mJ(gJ, TJ, {copy(e) {return Object.assign(new this.constructor(), this, e);},displayable() {return this.rgb().displayable();},- hex: DJ,- formatHex: DJ,- formatHex8: OOe,- formatHsl: kOe,- formatRgb: OJ,- toString: OJ+ hex: CJ,+ formatHex: CJ,+ formatHex8: MOe,+ formatHsl: NOe,+ formatRgb: wJ,+ toString: wJ});-function DJ() {+function CJ() {return this.rgb().formatHex();}-function OOe() {+function MOe() {return this.rgb().formatHex8();}-function kOe() {- return BJ(this).formatHsl();+function NOe() {+ return IJ(this).formatHsl();}-function OJ() {+function wJ() {return this.rgb().formatRgb();}-function kJ(e) {+function TJ(e) {var t, n;- return e = (e + "").trim().toLowerCase(), (t = xOe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? AJ(t) : n === 3 ? new NJ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? jJ(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? jJ(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = SOe.exec(e)) ? new NJ(t[1], t[2], t[3], 1) : (t = COe.exec(e)) ? new NJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = wOe.exec(e)) ? jJ(t[1], t[2], t[3], t[4]) : (t = TOe.exec(e)) ? jJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = EOe.exec(e)) ? zJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = DOe.exec(e)) ? zJ(t[1], t[2] / 100, t[3] / 100, t[4]) : EJ.hasOwnProperty(e) ? AJ(EJ[e]) : e === "transparent" ? new NJ(NaN, NaN, NaN, 0) : null;+ return e = (e + "").trim().toLowerCase(), (t = TOe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? EJ(t) : n === 3 ? new kJ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? DJ(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? DJ(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = EOe.exec(e)) ? new kJ(t[1], t[2], t[3], 1) : (t = DOe.exec(e)) ? new kJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = OOe.exec(e)) ? DJ(t[1], t[2], t[3], t[4]) : (t = kOe.exec(e)) ? DJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = AOe.exec(e)) ? FJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = jOe.exec(e)) ? FJ(t[1], t[2] / 100, t[3] / 100, t[4]) : SJ.hasOwnProperty(e) ? EJ(SJ[e]) : e === "transparent" ? new kJ(NaN, NaN, NaN, 0) : null;}-function AJ(e) {- return new NJ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);+function EJ(e) {+ return new kJ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);}-function jJ(e, t, n, r) {- return r <= 0 && (e = t = n = NaN), new NJ(e, t, n, r);+function DJ(e, t, n, r) {+ return r <= 0 && (e = t = n = NaN), new kJ(e, t, n, r);}-function AOe(e) {- return e instanceof bJ || (e = kJ(e)), e ? (e = e.rgb(), new NJ(e.r, e.g, e.b, e.opacity)) : new NJ();+function POe(e) {+ return e instanceof gJ || (e = TJ(e)), e ? (e = e.rgb(), new kJ(e.r, e.g, e.b, e.opacity)) : new kJ();}-function MJ(e, t, n, r) {- return arguments.length === 1 ? AOe(e) : new NJ(e, t, n, r ?? 1);+function OJ(e, t, n, r) {+ return arguments.length === 1 ? POe(e) : new kJ(e, t, n, r ?? 1);}-function NJ(e, t, n, r) {+function kJ(e, t, n, r) {this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;}-vJ(NJ, MJ, yJ(bJ, {+mJ(kJ, OJ, hJ(gJ, {brighter(e) {- return e = e == null ? SJ : SJ ** +e, new NJ(this.r * e, this.g * e, this.b * e, this.opacity);+ return e = e == null ? vJ : vJ ** +e, new kJ(this.r * e, this.g * e, this.b * e, this.opacity);},darker(e) {- return e = e == null ? xJ : xJ ** +e, new NJ(this.r * e, this.g * e, this.b * e, this.opacity);+ return e = e == null ? _J : _J ** +e, new kJ(this.r * e, this.g * e, this.b * e, this.opacity);},rgb() {return this;},clamp() {- return new NJ(LJ(this.r), LJ(this.g), LJ(this.b), IJ(this.opacity));+ return new kJ(NJ(this.r), NJ(this.g), NJ(this.b), MJ(this.opacity));},displayable() {return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;},- hex: PJ,- formatHex: PJ,- formatHex8: jOe,- formatRgb: FJ,- toString: FJ+ hex: AJ,+ formatHex: AJ,+ formatHex8: FOe,+ formatRgb: jJ,+ toString: jJ}));-function PJ() {- return `#${RJ(this.r)}${RJ(this.g)}${RJ(this.b)}`;+function AJ() {+ return `#${PJ(this.r)}${PJ(this.g)}${PJ(this.b)}`;}-function jOe() {- return `#${RJ(this.r)}${RJ(this.g)}${RJ(this.b)}${RJ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;+function FOe() {+ return `#${PJ(this.r)}${PJ(this.g)}${PJ(this.b)}${PJ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;}-function FJ() {- let e = IJ(this.opacity);- return `${e === 1 ? "rgb(" : "rgba("}${LJ(this.r)}, ${LJ(this.g)}, ${LJ(this.b)}${e === 1 ? ")" : `, ${e})`}`;+function jJ() {+ let e = MJ(this.opacity);+ return `${e === 1 ? "rgb(" : "rgba("}${NJ(this.r)}, ${NJ(this.g)}, ${NJ(this.b)}${e === 1 ? ")" : `, ${e})`}`;}-function IJ(e) {+function MJ(e) {return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));}-function LJ(e) {+function NJ(e) {return Math.max(0, Math.min(255, Math.round(e) || 0));}-function RJ(e) {- return e = LJ(e), (e < 16 ? "0" : "") + e.toString(16);+function PJ(e) {+ return e = NJ(e), (e < 16 ? "0" : "") + e.toString(16);}-function zJ(e, t, n, r) {- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new VJ(e, t, n, r);+function FJ(e, t, n, r) {+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new LJ(e, t, n, r);}-function BJ(e) {- if (e instanceof VJ) return new VJ(e.h, e.s, e.l, e.opacity);- if (e instanceof bJ || (e = kJ(e)), !e) return new VJ();- if (e instanceof VJ) return e;+function IJ(e) {+ if (e instanceof LJ) return new LJ(e.h, e.s, e.l, e.opacity);+ if (e instanceof gJ || (e = TJ(e)), !e) return new LJ();+ if (e instanceof LJ) return e;e = e.rgb();var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;- return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new VJ(o, s, c, e.opacity);+ return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new LJ(o, s, c, e.opacity);}-function MOe(e, t, n, r) {- return arguments.length === 1 ? BJ(e) : new VJ(e, t, n, r ?? 1);+function IOe(e, t, n, r) {+ return arguments.length === 1 ? IJ(e) : new LJ(e, t, n, r ?? 1);}-function VJ(e, t, n, r) {+function LJ(e, t, n, r) {this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;}-vJ(VJ, MOe, yJ(bJ, {+mJ(LJ, IOe, hJ(gJ, {brighter(e) {- return e = e == null ? SJ : SJ ** +e, new VJ(this.h, this.s, this.l * e, this.opacity);+ return e = e == null ? vJ : vJ ** +e, new LJ(this.h, this.s, this.l * e, this.opacity);},darker(e) {- return e = e == null ? xJ : xJ ** +e, new VJ(this.h, this.s, this.l * e, this.opacity);+ return e = e == null ? _J : _J ** +e, new LJ(this.h, this.s, this.l * e, this.opacity);},rgb() {var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;- return new NJ(WJ(e >= 240 ? e - 240 : e + 120, i, r), WJ(e, i, r), WJ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);+ return new kJ(BJ(e >= 240 ? e - 240 : e + 120, i, r), BJ(e, i, r), BJ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);},clamp() {- return new VJ(HJ(this.h), UJ(this.s), UJ(this.l), IJ(this.opacity));+ return new LJ(RJ(this.h), zJ(this.s), zJ(this.l), MJ(this.opacity));},displayable() {return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;},formatHsl() {- let e = IJ(this.opacity);- return `${e === 1 ? "hsl(" : "hsla("}${HJ(this.h)}, ${UJ(this.s) * 100}%, ${UJ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;+ let e = MJ(this.opacity);+ return `${e === 1 ? "hsl(" : "hsla("}${RJ(this.h)}, ${zJ(this.s) * 100}%, ${zJ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;}}));-function HJ(e) {+function RJ(e) {return e = (e || 0) % 360, e < 0 ? e + 360 : e;}-function UJ(e) {+function zJ(e) {return Math.max(0, Math.min(1, e || 0));}-function WJ(e, t, n) {+function BJ(e, t, n) {return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;}//#endregion//#region node_modules/d3-interpolate/src/constant.js-var GJ = (e) => () => e;+var VJ = (e) => () => e;//#endregion//#region node_modules/d3-interpolate/src/color.js-function NOe(e, t) {+function LOe(e, t) {return function(n) {return e + n * t;};}-function POe(e, t, n) {+function ROe(e, t, n) {return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {return (e + r * t) ** +n;};}-function FOe(e) {- return (e = +e) == 1 ? KJ : function(t, n) {- return n - t ? POe(t, n, e) : GJ(isNaN(t) ? n : t);+function zOe(e) {+ return (e = +e) == 1 ? HJ : function(t, n) {+ return n - t ? ROe(t, n, e) : VJ(isNaN(t) ? n : t);};}-function KJ(e, t) {+function HJ(e, t) {var n = t - e;- return n ? NOe(e, n) : GJ(isNaN(e) ? t : e);+ return n ? LOe(e, n) : VJ(isNaN(e) ? t : e);}//#endregion//#region node_modules/d3-interpolate/src/rgb.js-var qJ = (function e(t) {- var n = FOe(t);+var UJ = (function e(t) {+ var n = zOe(t);function r(e, t) {- var r = n((e = MJ(e)).r, (t = MJ(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = KJ(e.opacity, t.opacity);+ var r = n((e = OJ(e)).r, (t = OJ(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = HJ(e.opacity, t.opacity);return function(t) {return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";};@@ -61202,7 +61202,7 @@ var qJ = (function e(t) {})(1);//#endregion//#region node_modules/d3-interpolate/src/numberArray.js-function IOe(e, t) {+function BOe(e, t) {t ||= [];var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;return function(a) {@@ -61210,14 +61210,14 @@ function IOe(e, t) {return r;};}-function LOe(e) {+function VOe(e) {return ArrayBuffer.isView(e) && !(e instanceof DataView);}//#endregion//#region node_modules/d3-interpolate/src/array.js-function ROe(e, t) {+function HOe(e, t) {var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;- for (o = 0; o < r; ++o) i[o] = ZJ(e[o], t[o]);+ for (o = 0; o < r; ++o) i[o] = qJ(e[o], t[o]);for (; o < n; ++o) a[o] = t[o];return function(e) {for (o = 0; o < r; ++o) a[o] = i[o](e);@@ -61226,7 +61226,7 @@ function ROe(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/date.js-function zOe(e, t) {+function UOe(e, t) {var n = /* @__PURE__ */ new Date();return e = +e, t = +t, function(r) {return n.setTime(e * (1 - r) + t * r), n;@@ -61234,16 +61234,16 @@ function zOe(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/number.js-function JJ(e, t) {+function WJ(e, t) {return e = +e, t = +t, function(n) {return e * (1 - n) + t * n;};}//#endregion//#region node_modules/d3-interpolate/src/object.js-function BOe(e, t) {+function WOe(e, t) {var n = {}, r = {}, i;- for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = ZJ(e[i], t[i]) : r[i] = t[i];+ for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = qJ(e[i], t[i]) : r[i] = t[i];return function(e) {for (i in n) r[i] = n[i](e);return r;@@ -61251,45 +61251,45 @@ function BOe(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/string.js-var YJ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, XJ = new RegExp(YJ.source, "g");-function VOe(e) {+var GJ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, KJ = new RegExp(GJ.source, "g");+function GOe(e) {return function() {return e;};}-function HOe(e) {+function KOe(e) {return function(t) {return e(t) + "";};}-function UOe(e, t) {- var n = YJ.lastIndex = XJ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];- for (e += "", t += ""; (r = YJ.exec(e)) && (i = XJ.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({+function qOe(e, t) {+ var n = GJ.lastIndex = KJ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];+ for (e += "", t += ""; (r = GJ.exec(e)) && (i = KJ.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({i: o,- x: JJ(r, i)- })), n = XJ.lastIndex;- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? HOe(c[0].x) : VOe(t) : (t = c.length, function(e) {+ x: WJ(r, i)+ })), n = KJ.lastIndex;+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? KOe(c[0].x) : GOe(t) : (t = c.length, function(e) {for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);return s.join("");});}//#endregion//#region node_modules/d3-interpolate/src/value.js-function ZJ(e, t) {+function qJ(e, t) {var n = typeof t, r;- return t == null || n === "boolean" ? GJ(t) : (n === "number" ? JJ : n === "string" ? (r = kJ(t)) ? (t = r, qJ) : UOe : t instanceof kJ ? qJ : t instanceof Date ? zOe : LOe(t) ? IOe : Array.isArray(t) ? ROe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? BOe : JJ)(e, t);+ return t == null || n === "boolean" ? VJ(t) : (n === "number" ? WJ : n === "string" ? (r = TJ(t)) ? (t = r, UJ) : qOe : t instanceof TJ ? UJ : t instanceof Date ? UOe : VOe(t) ? BOe : Array.isArray(t) ? HOe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? WOe : WJ)(e, t);}//#endregion//#region node_modules/d3-interpolate/src/round.js-function QJ(e, t) {+function JJ(e, t) {return e = +e, t = +t, function(n) {return Math.round(e * (1 - n) + t * n);};}//#endregion//#region node_modules/d3-interpolate/src/piecewise.js-function WOe(e, t) {- t === void 0 && (t = e, e = ZJ);+function JOe(e, t) {+ t === void 0 && (t = e, e = qJ);for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);return function(e) {var t = Math.max(0, Math.min(r - 1, Math.floor(e *= r)));@@ -61298,69 +61298,69 @@ function WOe(e, t) {}//#endregion//#region node_modules/d3-scale/src/constant.js-function GOe(e) {+function YOe(e) {return function() {return e;};}//#endregion//#region node_modules/d3-scale/src/number.js-function $J(e) {+function YJ(e) {return +e;}//#endregion//#region node_modules/d3-scale/src/continuous.js-var eY = [0, 1];-function tY(e) {+var XJ = [0, 1];+function ZJ(e) {return e;}-function nY(e, t) {+function QJ(e, t) {return (t -= e = +e) ? function(n) {return (n - e) / t;- } : GOe(isNaN(t) ? NaN : .5);+ } : YOe(isNaN(t) ? NaN : .5);}-function KOe(e, t) {+function XOe(e, t) {var n;return e > t && (n = e, e = t, t = n), function(n) {return Math.max(e, Math.min(t, n));};}-function qOe(e, t, n) {+function ZOe(e, t, n) {var r = e[0], i = e[1], a = t[0], o = t[1];- return i < r ? (r = nY(i, r), a = n(o, a)) : (r = nY(r, i), a = n(a, o)), function(e) {+ return i < r ? (r = QJ(i, r), a = n(o, a)) : (r = QJ(r, i), a = n(a, o)), function(e) {return a(r(e));};}-function JOe(e, t, n) {+function QOe(e, t, n) {var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;- for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = nY(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);+ for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = QJ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);return function(t) {- var n = Qq(e, t, 1, r) - 1;+ var n = Jq(e, t, 1, r) - 1;return a[n](i[n](t));};}-function rY(e, t) {+function $J(e, t) {return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());}-function iY() {- var e = eY, t = eY, n = ZJ, r, i, a, o = tY, s, c, l;+function eY() {+ var e = XJ, t = XJ, n = qJ, r, i, a, o = ZJ, s, c, l;function u() {var n = Math.min(e.length, t.length);- return o !== tY && (o = KOe(e[0], e[n - 1])), s = n > 2 ? JOe : qOe, c = l = null, d;+ return o !== ZJ && (o = XOe(e[0], e[n - 1])), s = n > 2 ? QOe : ZOe, c = l = null, d;}function d(i) {return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));}return d.invert = function(n) {- return o(i((l ||= s(t, e.map(r), JJ))(n)));+ return o(i((l ||= s(t, e.map(r), WJ))(n)));}, d.domain = function(t) {- return arguments.length ? (e = Array.from(t, $J), u()) : e.slice();+ return arguments.length ? (e = Array.from(t, YJ), u()) : e.slice();}, d.range = function(e) {return arguments.length ? (t = Array.from(e), u()) : t.slice();}, d.rangeRound = function(e) {- return t = Array.from(e), n = QJ, u();+ return t = Array.from(e), n = JJ, u();}, d.clamp = function(e) {- return arguments.length ? (o = e ? !0 : tY, u()) : o !== tY;+ return arguments.length ? (o = e ? !0 : ZJ, u()) : o !== ZJ;}, d.interpolate = function(e) {return arguments.length ? (n = e, u()) : n;}, d.unknown = function(e) {@@ -61369,27 +61369,27 @@ function iY() {return r = e, i = t, u();};}-function aY() {- return iY()(tY, tY);+function tY() {+ return eY()(ZJ, ZJ);}//#endregion//#region node_modules/d3-format/src/formatDecimal.js-function YOe(e) {+function $Oe(e) {return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);}-function oY(e, t) {+function nY(e, t) {if (!isFinite(e) || e === 0) return null;var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];}//#endregion//#region node_modules/d3-format/src/exponent.js-function sY(e) {- return e = oY(Math.abs(e)), e ? e[1] : NaN;+function rY(e) {+ return e = nY(Math.abs(e)), e ? e[1] : NaN;}//#endregion//#region node_modules/d3-format/src/formatGroup.js-function XOe(e, t) {+function eke(e, t) {return function(n, r) {for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];return a.reverse().join(t);@@ -61397,7 +61397,7 @@ function XOe(e, t) {}//#endregion//#region node_modules/d3-format/src/formatNumerals.js-function ZOe(e) {+function tke(e) {return function(t) {return t.replace(/[0-9]/g, function(t) {return e[+t];@@ -61406,11 +61406,11 @@ function ZOe(e) {}//#endregion//#region node_modules/d3-format/src/formatSpecifier.js-var QOe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;-function cY(e) {- if (!(t = QOe.exec(e))) throw Error("invalid format: " + e);+var nke = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;+function iY(e) {+ if (!(t = nke.exec(e))) throw Error("invalid format: " + e);var t;- return new lY({+ return new aY({fill: t[1],align: t[2],sign: t[3],@@ -61423,16 +61423,16 @@ function cY(e) {type: t[10]});}-cY.prototype = lY.prototype;-function lY(e) {+iY.prototype = aY.prototype;+function aY(e) {this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";}-lY.prototype.toString = function() {+aY.prototype.toString = function() {return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;};//#endregion//#region node_modules/d3-format/src/formatTrim.js-function $Oe(e) {+function rke(e) {out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {case ".":r = i = n;@@ -61448,46 +61448,46 @@ function $Oe(e) {}//#endregion//#region node_modules/d3-format/src/formatPrefixAuto.js-var uY;-function eke(e, t) {- var n = oY(e, t);- if (!n) return uY = void 0, e.toPrecision(t);- var r = n[0], i = n[1], a = i - (uY = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;- return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + oY(e, Math.max(0, t + a - 1))[0];+var oY;+function ike(e, t) {+ var n = nY(e, t);+ if (!n) return oY = void 0, e.toPrecision(t);+ var r = n[0], i = n[1], a = i - (oY = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;+ return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + nY(e, Math.max(0, t + a - 1))[0];}//#endregion//#region node_modules/d3-format/src/formatRounded.js-function dY(e, t) {- var n = oY(e, t);+function sY(e, t) {+ var n = nY(e, t);if (!n) return e + "";var r = n[0], i = n[1];return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");}//#endregion//#region node_modules/d3-format/src/formatTypes.js-var fY = {+var cY = {"%": (e, t) => (e * 100).toFixed(t),b: (e) => Math.round(e).toString(2),c: (e) => e + "",- d: YOe,+ d: $Oe,e: (e, t) => e.toExponential(t),f: (e, t) => e.toFixed(t),g: (e, t) => e.toPrecision(t),o: (e) => Math.round(e).toString(8),- p: (e, t) => dY(e * 100, t),- r: dY,- s: eke,+ p: (e, t) => sY(e * 100, t),+ r: sY,+ s: ike,X: (e) => Math.round(e).toString(16).toUpperCase(),x: (e) => Math.round(e).toString(16)};//#endregion//#region node_modules/d3-format/src/identity.js-function pY(e) {+function lY(e) {return e;}//#endregion//#region node_modules/d3-format/src/locale.js-var mY = Array.prototype.map, hY = [+var uY = Array.prototype.map, dY = ["y","z","a",@@ -61506,13 +61506,13 @@ var mY = Array.prototype.map, hY = ["Z","Y"];-function tke(e) {- var t = e.grouping === void 0 || e.thousands === void 0 ? pY : XOe(mY.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? pY : ZOe(mY.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";+function ake(e) {+ var t = e.grouping === void 0 || e.thousands === void 0 ? lY : eke(uY.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? lY : tke(uY.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";function l(e, l) {- e = cY(e);+ e = iY(e);var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;- y === "n" ? (g = !0, y = "g") : fY[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");- var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = fY[y], C = /[defgprs%]/.test(y);+ y === "n" ? (g = !0, y = "g") : cY[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = cY[y], C = /[defgprs%]/.test(y);_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));function w(e) {var n = b, r = x, o, l, p;@@ -61520,7 +61520,7 @@ function tke(e) {else {e = +e;var w = e < 0 || 1 / e < 0;- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = $Oe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && uY !== void 0 ? hY[8 + uY / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = rke(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && oY !== void 0 ? dY[8 + oY / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);break;@@ -61548,7 +61548,7 @@ function tke(e) {}, w;}function u(e, t) {- var n = Math.max(-8, Math.min(8, Math.floor(sY(t) / 3))) * 3, r = 10 ** -n, i = l((e = cY(e), e.type = "f", e), { suffix: hY[8 + n / 3] });+ var n = Math.max(-8, Math.min(8, Math.floor(rY(t) / 3))) * 3, r = 10 ** -n, i = l((e = iY(e), e.type = "f", e), { suffix: dY[8 + n / 3] });return function(e) {return i(r * e);};@@ -61560,65 +61560,65 @@ function tke(e) {}//#endregion//#region node_modules/d3-format/src/defaultLocale.js-var gY, _Y, vY;-nke({+var fY, pY, mY;+oke({thousands: ",",grouping: [3],currency: ["$", ""]});-function nke(e) {- return gY = tke(e), _Y = gY.format, vY = gY.formatPrefix, gY;+function oke(e) {+ return fY = ake(e), pY = fY.format, mY = fY.formatPrefix, fY;}//#endregion//#region node_modules/d3-format/src/precisionFixed.js-function rke(e) {- return Math.max(0, -sY(Math.abs(e)));+function ske(e) {+ return Math.max(0, -rY(Math.abs(e)));}//#endregion//#region node_modules/d3-format/src/precisionPrefix.js-function ike(e, t) {- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(sY(t) / 3))) * 3 - sY(Math.abs(e)));+function cke(e, t) {+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(rY(t) / 3))) * 3 - rY(Math.abs(e)));}//#endregion//#region node_modules/d3-format/src/precisionRound.js-function ake(e, t) {- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, sY(t) - sY(e)) + 1;+function lke(e, t) {+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, rY(t) - rY(e)) + 1;}//#endregion//#region node_modules/d3-scale/src/tickFormat.js-function yY(e, t, n, r) {- var i = oJ(e, t, n), a;- switch (r = cY(r ?? ",f"), r.type) {+function hY(e, t, n, r) {+ var i = nJ(e, t, n), a;+ switch (r = iY(r ?? ",f"), r.type) {case "s":var o = Math.max(Math.abs(e), Math.abs(t));- return r.precision == null && !isNaN(a = ike(i, o)) && (r.precision = a), vY(r, o);+ return r.precision == null && !isNaN(a = cke(i, o)) && (r.precision = a), mY(r, o);case "":case "e":case "g":case "p":case "r":- r.precision == null && !isNaN(a = ake(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));+ r.precision == null && !isNaN(a = lke(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));break;case "f":- case "%": r.precision == null && !isNaN(a = rke(i)) && (r.precision = a - (r.type === "%") * 2);+ case "%": r.precision == null && !isNaN(a = ske(i)) && (r.precision = a - (r.type === "%") * 2);}- return _Y(r);+ return pY(r);}//#endregion//#region node_modules/d3-scale/src/linear.js-function bY(e) {+function gY(e) {var t = e.domain;return e.ticks = function(e) {var n = t();- return iJ(n[0], n[n.length - 1], e ?? 10);+ return eJ(n[0], n[n.length - 1], e ?? 10);}, e.tickFormat = function(e, n) {var r = t();- return yY(r[0], r[r.length - 1], e ?? 10, n);+ return hY(r[0], r[r.length - 1], e ?? 10, n);}, e.nice = function(n) {n ??= 10;var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {- if (l = aJ(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);+ if (l = tJ(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;else break;@@ -61627,64 +61627,64 @@ function bY(e) {return e;}, e;}-function xY() {- var e = aY();+function _Y() {+ var e = tY();return e.copy = function() {- return rY(e, xY());- }, fJ.apply(e, arguments), bY(e);+ return $J(e, _Y());+ }, cJ.apply(e, arguments), gY(e);}//#endregion//#region node_modules/d3-scale/src/identity.js-function SY(e) {+function vY(e) {var t;function n(e) {return e == null || isNaN(e = +e) ? t : e;}return n.invert = n, n.domain = n.range = function(t) {- return arguments.length ? (e = Array.from(t, $J), n) : e.slice();+ return arguments.length ? (e = Array.from(t, YJ), n) : e.slice();}, n.unknown = function(e) {return arguments.length ? (t = e, n) : t;}, n.copy = function() {- return SY(e).unknown(t);- }, e = arguments.length ? Array.from(e, $J) : [0, 1], bY(n);+ return vY(e).unknown(t);+ }, e = arguments.length ? Array.from(e, YJ) : [0, 1], gY(n);}//#endregion//#region node_modules/d3-scale/src/nice.js-function CY(e, t) {+function yY(e, t) {e = e.slice();var n = 0, r = e.length - 1, i = e[n], a = e[r], o;return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;}//#endregion//#region node_modules/d3-scale/src/log.js-function wY(e) {+function bY(e) {return Math.log(e);}-function TY(e) {+function xY(e) {return Math.exp(e);}-function oke(e) {+function uke(e) {return -Math.log(-e);}-function ske(e) {+function dke(e) {return -Math.exp(-e);}-function cke(e) {+function fke(e) {return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;}-function lke(e) {- return e === 10 ? cke : e === Math.E ? Math.exp : (t) => e ** +t;+function pke(e) {+ return e === 10 ? fke : e === Math.E ? Math.exp : (t) => e ** +t;}-function uke(e) {+function mke(e) {return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);}-function EY(e) {+function SY(e) {return (t, n) => -e(-t, n);}-function DY(e) {- let t = e(wY, TY), n = t.domain, r = 10, i, a;+function CY(e) {+ let t = e(bY, xY), n = t.domain, r = 10, i, a;function o() {- return i = uke(r), a = lke(r), n()[0] < 0 ? (i = EY(i), a = EY(a), e(oke, ske)) : e(wY, TY), t;+ return i = mke(r), a = pke(r), n()[0] < 0 ? (i = SY(i), a = SY(a), e(uke, dke)) : e(bY, xY), t;}return t.base = function(e) {return arguments.length ? (r = +e, o()) : r;@@ -61704,100 +61704,100 @@ function DY(e) {if (f > s) break;m.push(f);}- m.length * 2 < p && (m = iJ(o, s, p));- } else m = iJ(l, u, Math.min(u - l, p)).map(a);+ m.length * 2 < p && (m = eJ(o, s, p));+ } else m = eJ(l, u, Math.min(u - l, p)).map(a);return c ? m.reverse() : m;}, t.tickFormat = (e, n) => {- if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = cY(n)).precision == null && (n.trim = !0), n = _Y(n)), e === Infinity) return n;+ if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = iY(n)).precision == null && (n.trim = !0), n = pY(n)), e === Infinity) return n;let o = Math.max(1, r * e / t.ticks().length);return (e) => {let t = e / a(Math.round(i(e)));return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";};- }, t.nice = () => n(CY(n(), {+ }, t.nice = () => n(yY(n(), {floor: (e) => a(Math.floor(i(e))),ceil: (e) => a(Math.ceil(i(e)))})), t;}-function OY() {- let e = DY(iY()).domain([1, 10]);- return e.copy = () => rY(e, OY()).base(e.base()), fJ.apply(e, arguments), e;+function wY() {+ let e = CY(eY()).domain([1, 10]);+ return e.copy = () => $J(e, wY()).base(e.base()), cJ.apply(e, arguments), e;}//#endregion//#region node_modules/d3-scale/src/symlog.js-function kY(e) {+function TY(e) {return function(t) {return Math.sign(t) * Math.log1p(Math.abs(t / e));};}-function AY(e) {+function EY(e) {return function(t) {return Math.sign(t) * Math.expm1(Math.abs(t)) * e;};}-function jY(e) {- var t = 1, n = e(kY(t), AY(t));+function DY(e) {+ var t = 1, n = e(TY(t), EY(t));return n.constant = function(n) {- return arguments.length ? e(kY(t = +n), AY(t)) : t;- }, bY(n);+ return arguments.length ? e(TY(t = +n), EY(t)) : t;+ }, gY(n);}-function MY() {- var e = jY(iY());+function OY() {+ var e = DY(eY());return e.copy = function() {- return rY(e, MY()).constant(e.constant());- }, fJ.apply(e, arguments);+ return $J(e, OY()).constant(e.constant());+ }, cJ.apply(e, arguments);}//#endregion//#region node_modules/d3-scale/src/pow.js-function NY(e) {+function kY(e) {return function(t) {return t < 0 ? -((-t) ** +e) : t ** +e;};}-function dke(e) {+function hke(e) {return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);}-function fke(e) {+function gke(e) {return e < 0 ? -e * e : e * e;}-function PY(e) {- var t = e(tY, tY), n = 1;+function AY(e) {+ var t = e(ZJ, ZJ), n = 1;function r() {- return n === 1 ? e(tY, tY) : n === .5 ? e(dke, fke) : e(NY(n), NY(1 / n));+ return n === 1 ? e(ZJ, ZJ) : n === .5 ? e(hke, gke) : e(kY(n), kY(1 / n));}return t.exponent = function(e) {return arguments.length ? (n = +e, r()) : n;- }, bY(t);+ }, gY(t);}-function FY() {- var e = PY(iY());+function jY() {+ var e = AY(eY());return e.copy = function() {- return rY(e, FY()).exponent(e.exponent());- }, fJ.apply(e, arguments), e;+ return $J(e, jY()).exponent(e.exponent());+ }, cJ.apply(e, arguments), e;}-function pke() {- return FY.apply(null, arguments).exponent(.5);+function _ke() {+ return jY.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/d3-scale/src/radial.js-function IY(e) {+function MY(e) {return Math.sign(e) * e * e;}-function mke(e) {+function vke(e) {return Math.sign(e) * Math.sqrt(Math.abs(e));}-function LY() {- var e = aY(), t = [0, 1], n = !1, r;+function NY() {+ var e = tY(), t = [0, 1], n = !1, r;function i(t) {- var i = mke(e(t));+ var i = vke(e(t));return isNaN(i) ? r : n ? Math.round(i) : i;}return i.invert = function(t) {- return e.invert(IY(t));+ return e.invert(MY(t));}, i.domain = function(t) {return arguments.length ? (e.domain(t), i) : e.domain();}, i.range = function(n) {- return arguments.length ? (e.range((t = Array.from(n, $J)).map(IY)), i) : t.slice();+ return arguments.length ? (e.range((t = Array.from(n, YJ)).map(MY)), i) : t.slice();}, i.rangeRound = function(e) {return i.range(e).round(!0);}, i.round = function(e) {@@ -61807,20 +61807,20 @@ function LY() {}, i.unknown = function(e) {return arguments.length ? (r = e, i) : r;}, i.copy = function() {- return LY(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);- }, fJ.apply(i, arguments), bY(i);+ return NY(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);+ }, cJ.apply(i, arguments), gY(i);}//#endregion//#region node_modules/d3-scale/src/quantile.js-function RY() {+function PY() {var e = [], t = [], n = [], r;function i() {var r = 0, i = Math.max(1, t.length);- for (n = Array(i - 1); ++r < i;) n[r - 1] = vOe(e, r / i);+ for (n = Array(i - 1); ++r < i;) n[r - 1] = SOe(e, r / i);return a;}function a(e) {- return e == null || isNaN(e = +e) ? r : t[Qq(n, e)];+ return e == null || isNaN(e = +e) ? r : t[Jq(n, e)];}return a.invertExtent = function(r) {var i = t.indexOf(r);@@ -61829,7 +61829,7 @@ function RY() {if (!arguments.length) return e.slice();e = [];for (let n of t) n != null && !isNaN(n = +n) && e.push(n);- return e.sort(Jq), i();+ return e.sort(Wq), i();}, a.range = function(e) {return arguments.length ? (t = Array.from(e), i()) : t.slice();}, a.unknown = function(e) {@@ -61837,15 +61837,15 @@ function RY() {}, a.quantiles = function() {return n.slice();}, a.copy = function() {- return RY().domain(e).range(t).unknown(r);- }, fJ.apply(a, arguments);+ return PY().domain(e).range(t).unknown(r);+ }, cJ.apply(a, arguments);}//#endregion//#region node_modules/d3-scale/src/quantize.js-function zY() {+function FY() {var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;function o(e) {- return e != null && e <= e ? i[Qq(r, e, 0, n)] : a;+ return e != null && e <= e ? i[Jq(r, e, 0, n)] : a;}function s() {var i = -1;@@ -61864,15 +61864,15 @@ function zY() {}, o.thresholds = function() {return r.slice();}, o.copy = function() {- return zY().domain([e, t]).range(i).unknown(a);- }, fJ.apply(bY(o), arguments);+ return FY().domain([e, t]).range(i).unknown(a);+ }, cJ.apply(gY(o), arguments);}//#endregion//#region node_modules/d3-scale/src/threshold.js-function BY() {+function IY() {var e = [.5], t = [0, 1], n, r = 1;function i(i) {- return i != null && i <= i ? t[Qq(e, i, 0, r)] : n;+ return i != null && i <= i ? t[Jq(e, i, 0, r)] : n;}return i.domain = function(n) {return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();@@ -61884,13 +61884,13 @@ function BY() {}, i.unknown = function(e) {return arguments.length ? (n = e, i) : n;}, i.copy = function() {- return BY().domain(e).range(t).unknown(n);- }, fJ.apply(i, arguments);+ return IY().domain(e).range(t).unknown(n);+ }, cJ.apply(i, arguments);}//#endregion//#region node_modules/d3-time/src/interval.js-var VY = /* @__PURE__ */ new Date(), HY = /* @__PURE__ */ new Date();-function UY(e, t, n, r) {+var LY = /* @__PURE__ */ new Date(), RY = /* @__PURE__ */ new Date();+function zY(e, t, n, r) {function i(t) {return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;}@@ -61905,226 +61905,226 @@ function UY(e, t, n, r) {o.push(s = /* @__PURE__ */ new Date(+n)), t(n, a), e(n);while (s < n && n < r);return o;- }, i.filter = (n) => UY((t) => {+ }, i.filter = (n) => zY((t) => {if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);}, (e, r) => {if (e >= e) {if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););else for (; --r >= 0;) for (; t(e, 1), !n(e););}- }), n && (i.count = (t, r) => (VY.setTime(+t), HY.setTime(+r), e(VY), e(HY), Math.floor(n(VY, HY))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;+ }), n && (i.count = (t, r) => (LY.setTime(+t), RY.setTime(+r), e(LY), e(RY), Math.floor(n(LY, RY))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;}//#endregion//#region node_modules/d3-time/src/millisecond.js-var WY = UY(() => {}, (e, t) => {+var BY = zY(() => {}, (e, t) => {e.setTime(+e + t);}, (e, t) => t - e);-WY.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? UY((t) => {+BY.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? zY((t) => {t.setTime(Math.floor(t / e) * e);}, (t, n) => {t.setTime(+t + n * e);-}, (t, n) => (n - t) / e) : WY), WY.range;+}, (t, n) => (n - t) / e) : BY), BY.range;//#endregion//#region node_modules/d3-time/src/duration.js-var GY = 1e3, KY = GY * 60, qY = KY * 60, JY = qY * 24, YY = JY * 7, XY = JY * 30, ZY = JY * 365, QY = UY((e) => {+var VY = 1e3, HY = VY * 60, UY = HY * 60, WY = UY * 24, GY = WY * 7, KY = WY * 30, qY = WY * 365, JY = zY((e) => {e.setTime(e - e.getMilliseconds());}, (e, t) => {- e.setTime(+e + t * GY);-}, (e, t) => (t - e) / GY, (e) => e.getUTCSeconds());-QY.range;+ e.setTime(+e + t * VY);+}, (e, t) => (t - e) / VY, (e) => e.getUTCSeconds());+JY.range;//#endregion//#region node_modules/d3-time/src/minute.js-var $Y = UY((e) => {- e.setTime(e - e.getMilliseconds() - e.getSeconds() * GY);+var YY = zY((e) => {+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * VY);}, (e, t) => {- e.setTime(+e + t * KY);-}, (e, t) => (t - e) / KY, (e) => e.getMinutes());-$Y.range;-var eX = UY((e) => {+ e.setTime(+e + t * HY);+}, (e, t) => (t - e) / HY, (e) => e.getMinutes());+YY.range;+var XY = zY((e) => {e.setUTCSeconds(0, 0);}, (e, t) => {- e.setTime(+e + t * KY);-}, (e, t) => (t - e) / KY, (e) => e.getUTCMinutes());-eX.range;+ e.setTime(+e + t * HY);+}, (e, t) => (t - e) / HY, (e) => e.getUTCMinutes());+XY.range;//#endregion//#region node_modules/d3-time/src/hour.js-var tX = UY((e) => {- e.setTime(e - e.getMilliseconds() - e.getSeconds() * GY - e.getMinutes() * KY);+var ZY = zY((e) => {+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * VY - e.getMinutes() * HY);}, (e, t) => {- e.setTime(+e + t * qY);-}, (e, t) => (t - e) / qY, (e) => e.getHours());-tX.range;-var nX = UY((e) => {+ e.setTime(+e + t * UY);+}, (e, t) => (t - e) / UY, (e) => e.getHours());+ZY.range;+var QY = zY((e) => {e.setUTCMinutes(0, 0, 0);}, (e, t) => {- e.setTime(+e + t * qY);-}, (e, t) => (t - e) / qY, (e) => e.getUTCHours());-nX.range;+ e.setTime(+e + t * UY);+}, (e, t) => (t - e) / UY, (e) => e.getUTCHours());+QY.range;//#endregion//#region node_modules/d3-time/src/day.js-var rX = UY((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * KY) / JY, (e) => e.getDate() - 1);-rX.range;-var iX = UY((e) => {+var $Y = zY((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * HY) / WY, (e) => e.getDate() - 1);+$Y.range;+var eX = zY((e) => {e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t);-}, (e, t) => (t - e) / JY, (e) => e.getUTCDate() - 1);-iX.range;-var aX = UY((e) => {+}, (e, t) => (t - e) / WY, (e) => e.getUTCDate() - 1);+eX.range;+var tX = zY((e) => {e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t);-}, (e, t) => (t - e) / JY, (e) => Math.floor(e / JY));-aX.range;+}, (e, t) => (t - e) / WY, (e) => Math.floor(e / WY));+tX.range;//#endregion//#region node_modules/d3-time/src/week.js-function oX(e) {- return UY((t) => {+function nX(e) {+ return zY((t) => {t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);}, (e, t) => {e.setDate(e.getDate() + t * 7);- }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * KY) / YY);+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * HY) / GY);}-var sX = oX(0), cX = oX(1), hke = oX(2), gke = oX(3), lX = oX(4), _ke = oX(5), vke = oX(6);-sX.range, cX.range, hke.range, gke.range, lX.range, _ke.range, vke.range;-function uX(e) {- return UY((t) => {+var rX = nX(0), iX = nX(1), yke = nX(2), bke = nX(3), aX = nX(4), xke = nX(5), Ske = nX(6);+rX.range, iX.range, yke.range, bke.range, aX.range, xke.range, Ske.range;+function oX(e) {+ return zY((t) => {t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t * 7);- }, (e, t) => (t - e) / YY);+ }, (e, t) => (t - e) / GY);}-var dX = uX(0), fX = uX(1), yke = uX(2), bke = uX(3), pX = uX(4), xke = uX(5), Ske = uX(6);-dX.range, fX.range, yke.range, bke.range, pX.range, xke.range, Ske.range;+var sX = oX(0), cX = oX(1), Cke = oX(2), wke = oX(3), lX = oX(4), Tke = oX(5), Eke = oX(6);+sX.range, cX.range, Cke.range, wke.range, lX.range, Tke.range, Eke.range;//#endregion//#region node_modules/d3-time/src/month.js-var mX = UY((e) => {+var uX = zY((e) => {e.setDate(1), e.setHours(0, 0, 0, 0);}, (e, t) => {e.setMonth(e.getMonth() + t);}, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());-mX.range;-var hX = UY((e) => {+uX.range;+var dX = zY((e) => {e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCMonth(e.getUTCMonth() + t);}, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());-hX.range;+dX.range;//#endregion//#region node_modules/d3-time/src/year.js-var gX = UY((e) => {+var fX = zY((e) => {e.setMonth(0, 1), e.setHours(0, 0, 0, 0);}, (e, t) => {e.setFullYear(e.getFullYear() + t);}, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());-gX.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : UY((t) => {+fX.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : zY((t) => {t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);}, (t, n) => {t.setFullYear(t.getFullYear() + n * e);-}), gX.range;-var _X = UY((e) => {+}), fX.range;+var pX = zY((e) => {e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCFullYear(e.getUTCFullYear() + t);}, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());-_X.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : UY((t) => {+pX.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : zY((t) => {t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);}, (t, n) => {t.setUTCFullYear(t.getUTCFullYear() + n * e);-}), _X.range;+}), pX.range;//#endregion//#region node_modules/d3-time/src/ticks.js-function vX(e, t, n, r, i, a) {+function mX(e, t, n, r, i, a) {let o = [[- QY,+ JY,1,- GY+ VY],[- QY,+ JY,5,- 5 * GY+ 5 * VY],[- QY,+ JY,15,- 15 * GY+ 15 * VY],[- QY,+ JY,30,- 30 * GY+ 30 * VY],[a,1,- KY+ HY],[a,5,- 5 * KY+ 5 * HY],[a,15,- 15 * KY+ 15 * HY],[a,30,- 30 * KY+ 30 * HY],[i,1,- qY+ UY],[i,3,- 3 * qY+ 3 * UY],[i,6,- 6 * qY+ 6 * UY],[i,12,- 12 * qY+ 12 * UY],[r,1,- JY+ WY],[r,2,- 2 * JY+ 2 * WY],[n,1,- YY+ GY],[t,1,- XY+ KY],[t,3,- 3 * XY+ 3 * KY],[e,1,- ZY+ qY]];function s(e, t, n) {@@ -62134,32 +62134,32 @@ function vX(e, t, n, r, i, a) {return r ? a.reverse() : a;}function c(t, n, r) {- let i = Math.abs(n - t) / r, a = Yq(([, , e]) => e).right(o, i);- if (a === o.length) return e.every(oJ(t / ZY, n / ZY, r));- if (a === 0) return WY.every(Math.max(oJ(t, n, r), 1));+ let i = Math.abs(n - t) / r, a = Gq(([, , e]) => e).right(o, i);+ if (a === o.length) return e.every(nJ(t / qY, n / qY, r));+ if (a === 0) return BY.every(Math.max(nJ(t, n, r), 1));let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];return s.every(c);}return [s, c];}-var [Cke, wke] = vX(_X, hX, dX, aX, nX, eX), [Tke, Eke] = vX(gX, mX, sX, rX, tX, $Y);+var [Dke, Oke] = mX(pX, dX, sX, tX, QY, XY), [kke, Ake] = mX(fX, uX, rX, $Y, ZY, YY);//#endregion//#region node_modules/d3-time-format/src/locale.js-function yX(e) {+function hX(e) {if (0 <= e.y && e.y < 100) {var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);return t.setFullYear(e.y), t;}return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L);}-function bX(e) {+function gX(e) {if (0 <= e.y && e.y < 100) {var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L));return t.setUTCFullYear(e.y), t;}return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));}-function xX(e, t, n) {+function _X(e, t, n) {return {y: e,m: t,@@ -62170,133 +62170,133 @@ function xX(e, t, n) {L: 0};}-function Dke(e) {- var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = TX(i), u = EX(i), d = TX(a), f = EX(a), p = TX(o), m = EX(o), h = TX(s), g = EX(s), _ = TX(c), v = EX(c), y = {+function jke(e) {+ var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = xX(i), u = SX(i), d = xX(a), f = SX(a), p = xX(o), m = SX(o), h = xX(s), g = SX(s), _ = xX(c), v = SX(c), y = {a: N,A: P,b: ee,B: F,c: null,- d: jX,- e: jX,- f: Xke,- g: oAe,- G: cAe,- H: qke,- I: Jke,- j: Yke,- L: MX,- m: Zke,- M: Qke,+ d: DX,+ e: DX,+ f: eAe,+ g: lAe,+ G: dAe,+ H: Zke,+ I: Qke,+ j: $ke,+ L: OX,+ m: tAe,+ M: nAe,p: I,q: te,- Q: zX,- s: BX,- S: $ke,- u: eAe,- U: tAe,- V: nAe,- w: rAe,- W: iAe,+ Q: FX,+ s: IX,+ S: rAe,+ u: iAe,+ U: aAe,+ V: oAe,+ w: sAe,+ W: cAe,x: null,X: null,- y: aAe,- Y: sAe,- Z: lAe,- "%": RX+ y: AX,+ Y: uAe,+ Z: fAe,+ "%": PX}, b = {a: ne,A: re,b: ie,B: ae,c: null,- d: PX,- e: PX,- f: pAe,- g: SAe,- G: wAe,- H: uAe,- I: dAe,- j: fAe,- L: FX,- m: mAe,- M: hAe,+ d: jX,+ e: jX,+ f: gAe,+ g: EAe,+ G: OAe,+ H: pAe,+ I: mAe,+ j: hAe,+ L: MX,+ m: _Ae,+ M: vAe,p: oe,q: se,- Q: zX,- s: BX,- S: gAe,- u: _Ae,- U: vAe,- V: yAe,- w: bAe,- W: xAe,+ Q: FX,+ s: IX,+ S: yAe,+ u: bAe,+ U: xAe,+ V: SAe,+ w: CAe,+ W: wAe,x: null,X: null,- y: LX,- Y: CAe,- Z: TAe,- "%": RX+ y: TAe,+ Y: DAe,+ Z: kAe,+ "%": PX}, x = {a: E,A: D,b: O,B: k,c: A,- d: kX,- e: kX,- f: Uke,- g: OX,- G: DX,- H: AX,- I: AX,- j: zke,- L: Hke,- m: Rke,- M: Bke,+ d: TX,+ e: TX,+ f: qke,+ g: wX,+ G: CX,+ H: EX,+ I: EX,+ j: Uke,+ L: Kke,+ m: Hke,+ M: Wke,p: T,- q: Lke,- Q: Gke,- s: Kke,- S: Vke,- u: Mke,- U: Nke,- V: Pke,- w: jke,- W: Fke,+ q: Vke,+ Q: Yke,+ s: Xke,+ S: Gke,+ u: Ike,+ U: Lke,+ V: Rke,+ w: Fke,+ W: zke,x: j,X: M,- y: OX,- Y: DX,- Z: Ike,- "%": Wke+ y: wX,+ Y: CX,+ Z: Bke,+ "%": Jke};y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);function S(e, t) {return function(n) {var r = [], i = -1, a = 0, o = e.length, s, c, l;- for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = SX[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = vX[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);return r.push(e.slice(a, i)), r.join("");};}function C(e, t) {return function(n) {- var r = xX(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;+ var r = _X(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;if (i != n.length) return null;if ("Q" in r) return new Date(r.Q);if ("s" in r) return new Date(r.s * 1e3 + ("L" in r ? r.L : 0));if (t && !("Z" in r) && (r.Z = 0), "p" in r && (r.H = r.H % 12 + r.p * 12), r.m === void 0 && (r.m = "q" in r ? r.q : 0), "V" in r) {if (r.V < 1 || r.V > 53) return null;- "w" in r || (r.w = 1), "Z" in r ? (a = bX(xX(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? fX.ceil(a) : fX(a), a = iX.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = yX(xX(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? cX.ceil(a) : cX(a), a = rX.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);- } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? bX(xX(r.y, 0, 1)).getUTCDay() : yX(xX(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);- return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, bX(r)) : yX(r);+ "w" in r || (r.w = 1), "Z" in r ? (a = gX(_X(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? cX.ceil(a) : cX(a), a = eX.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = hX(_X(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? iX.ceil(a) : iX(a), a = $Y.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);+ } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? gX(_X(r.y, 0, 1)).getUTCDay() : hX(_X(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);+ return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, gX(r)) : hX(r);};}function w(e, t, n, r) {for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {if (r >= o) return -1;if (s = t.charCodeAt(i++), s === 37) {- if (s = t.charAt(i++), c = x[s in SX ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;+ if (s = t.charAt(i++), c = x[s in vX ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;} else if (s != n.charCodeAt(r++)) return -1;}return r;@@ -62393,244 +62393,244 @@ function Dke(e) {}};}-var SX = {+var vX = {"-": "",_: " ",0: "0"-}, CX = /^\s*\d+/, Oke = /^%/, kke = /[\\^$*+?|[\]().{}]/g;-function wX(e, t, n) {+}, yX = /^\s*\d+/, Mke = /^%/, Nke = /[\\^$*+?|[\]().{}]/g;+function bX(e, t, n) {var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;return r + (a < n ? Array(n - a + 1).join(t) + i : i);}-function Ake(e) {- return e.replace(kke, "\\$&");+function Pke(e) {+ return e.replace(Nke, "\\$&");}-function TX(e) {- return RegExp("^(?:" + e.map(Ake).join("|") + ")", "i");+function xX(e) {+ return RegExp("^(?:" + e.map(Pke).join("|") + ")", "i");}-function EX(e) {+function SX(e) {return new Map(e.map((e, t) => [e.toLowerCase(), t]));}-function jke(e, t, n) {- var r = CX.exec(t.slice(n, n + 1));+function Fke(e, t, n) {+ var r = yX.exec(t.slice(n, n + 1));return r ? (e.w = +r[0], n + r[0].length) : -1;}-function Mke(e, t, n) {- var r = CX.exec(t.slice(n, n + 1));+function Ike(e, t, n) {+ var r = yX.exec(t.slice(n, n + 1));return r ? (e.u = +r[0], n + r[0].length) : -1;}-function Nke(e, t, n) {- var r = CX.exec(t.slice(n, n + 2));+function Lke(e, t, n) {+ var r = yX.exec(t.slice(n, n + 2));return r ? (e.U = +r[0], n + r[0].length) : -1;}-function Pke(e, t, n) {- var r = CX.exec(t.slice(n, n + 2));+function Rke(e, t, n) {+ var r = yX.exec(t.slice(n, n + 2));return r ? (e.V = +r[0], n + r[0].length) : -1;}-function Fke(e, t, n) {- var r = CX.exec(t.slice(n, n + 2));+function zke(e, t, n) {+ var r = yX.exec(t.slice(n, n + 2));return r ? (e.W = +r[0], n + r[0].length) : -1;}-function DX(e, t, n) {- var r = CX.exec(t.slice(n, n + 4));+function CX(e, t, n) {+ var r = yX.exec(t.slice(n, n + 4));return r ? (e.y = +r[0], n + r[0].length) : -1;}-function OX(e, t, n) {- var r = CX.exec(t.slice(n, n + 2));+function wX(e, t, n) {+ var r = yX.exec(t.slice(n, n + 2));return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;}-function Ike(e, t, n) {+function Bke(e, t, n) {var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;}-function Lke(e, t, n) {- var r = CX.exec(t.slice(n, n + 1));+function Vke(e, t, n) {+ var r = yX.exec(t.slice(n, n + 1));return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;}-function Rke(e, t, n) {- var r = CX.exec(t.slice(n, n + 2));+function Hke(e, t, n) {+ var r = yX.exec(t.slice(n, n + 2));return r ? (e.m = r[0] - 1, n + r[0].length) : -1;}-function kX(e, t, n) {- var r = CX.exec(t.slice(n, n + 2));+function TX(e, t, n) {+ var r = yX.exec(t.slice(n, n + 2));return r ? (e.d = +r[0], n + r[0].length) : -1;}-function zke(e, t, n) {- var r = CX.exec(t.slice(n, n + 3));+function Uke(e, t, n) {+ var r = yX.exec(t.slice(n, n + 3));return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;}-function AX(e, t, n) {- var r = CX.exec(t.slice(n, n + 2));+function EX(e, t, n) {+ var r = yX.exec(t.slice(n, n + 2));return r ? (e.H = +r[0], n + r[0].length) : -1;}-function Bke(e, t, n) {- var r = CX.exec(t.slice(n, n + 2));+function Wke(e, t, n) {+ var r = yX.exec(t.slice(n, n + 2));return r ? (e.M = +r[0], n + r[0].length) : -1;}-function Vke(e, t, n) {- var r = CX.exec(t.slice(n, n + 2));+function Gke(e, t, n) {+ var r = yX.exec(t.slice(n, n + 2));return r ? (e.S = +r[0], n + r[0].length) : -1;}-function Hke(e, t, n) {- var r = CX.exec(t.slice(n, n + 3));+function Kke(e, t, n) {+ var r = yX.exec(t.slice(n, n + 3));return r ? (e.L = +r[0], n + r[0].length) : -1;}-function Uke(e, t, n) {- var r = CX.exec(t.slice(n, n + 6));+function qke(e, t, n) {+ var r = yX.exec(t.slice(n, n + 6));return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;}-function Wke(e, t, n) {- var r = Oke.exec(t.slice(n, n + 1));+function Jke(e, t, n) {+ var r = Mke.exec(t.slice(n, n + 1));return r ? n + r[0].length : -1;}-function Gke(e, t, n) {- var r = CX.exec(t.slice(n));+function Yke(e, t, n) {+ var r = yX.exec(t.slice(n));return r ? (e.Q = +r[0], n + r[0].length) : -1;}-function Kke(e, t, n) {- var r = CX.exec(t.slice(n));+function Xke(e, t, n) {+ var r = yX.exec(t.slice(n));return r ? (e.s = +r[0], n + r[0].length) : -1;}-function jX(e, t) {- return wX(e.getDate(), t, 2);-}-function qke(e, t) {- return wX(e.getHours(), t, 2);-}-function Jke(e, t) {- return wX(e.getHours() % 12 || 12, t, 2);-}-function Yke(e, t) {- return wX(1 + rX.count(gX(e), e), t, 3);-}-function MX(e, t) {- return wX(e.getMilliseconds(), t, 3);-}-function Xke(e, t) {- return MX(e, t) + "000";+function DX(e, t) {+ return bX(e.getDate(), t, 2);}function Zke(e, t) {- return wX(e.getMonth() + 1, t, 2);+ return bX(e.getHours(), t, 2);}function Qke(e, t) {- return wX(e.getMinutes(), t, 2);+ return bX(e.getHours() % 12 || 12, t, 2);}function $ke(e, t) {- return wX(e.getSeconds(), t, 2);+ return bX(1 + $Y.count(fX(e), e), t, 3);}-function eAe(e) {- var t = e.getDay();- return t === 0 ? 7 : t;+function OX(e, t) {+ return bX(e.getMilliseconds(), t, 3);}-function tAe(e, t) {- return wX(sX.count(gX(e) - 1, e), t, 2);+function eAe(e, t) {+ return OX(e, t) + "000";}-function NX(e) {- var t = e.getDay();- return t >= 4 || t === 0 ? lX(e) : lX.ceil(e);+function tAe(e, t) {+ return bX(e.getMonth() + 1, t, 2);}function nAe(e, t) {- return e = NX(e), wX(lX.count(gX(e), e) + (gX(e).getDay() === 4), t, 2);+ return bX(e.getMinutes(), t, 2);}-function rAe(e) {- return e.getDay();+function rAe(e, t) {+ return bX(e.getSeconds(), t, 2);}-function iAe(e, t) {- return wX(cX.count(gX(e) - 1, e), t, 2);+function iAe(e) {+ var t = e.getDay();+ return t === 0 ? 7 : t;}function aAe(e, t) {- return wX(e.getFullYear() % 100, t, 2);+ return bX(rX.count(fX(e) - 1, e), t, 2);+}+function kX(e) {+ var t = e.getDay();+ return t >= 4 || t === 0 ? aX(e) : aX.ceil(e);}function oAe(e, t) {- return e = NX(e), wX(e.getFullYear() % 100, t, 2);+ return e = kX(e), bX(aX.count(fX(e), e) + (fX(e).getDay() === 4), t, 2);}-function sAe(e, t) {- return wX(e.getFullYear() % 1e4, t, 4);+function sAe(e) {+ return e.getDay();}function cAe(e, t) {- var n = e.getDay();- return e = n >= 4 || n === 0 ? lX(e) : lX.ceil(e), wX(e.getFullYear() % 1e4, t, 4);+ return bX(iX.count(fX(e) - 1, e), t, 2);}-function lAe(e) {- var t = e.getTimezoneOffset();- return (t > 0 ? "-" : (t *= -1, "+")) + wX(t / 60 | 0, "0", 2) + wX(t % 60, "0", 2);+function AX(e, t) {+ return bX(e.getFullYear() % 100, t, 2);}-function PX(e, t) {- return wX(e.getUTCDate(), t, 2);+function lAe(e, t) {+ return e = kX(e), bX(e.getFullYear() % 100, t, 2);}function uAe(e, t) {- return wX(e.getUTCHours(), t, 2);+ return bX(e.getFullYear() % 1e4, t, 4);}function dAe(e, t) {- return wX(e.getUTCHours() % 12 || 12, t, 2);+ var n = e.getDay();+ return e = n >= 4 || n === 0 ? aX(e) : aX.ceil(e), bX(e.getFullYear() % 1e4, t, 4);}-function fAe(e, t) {- return wX(1 + iX.count(_X(e), e), t, 3);+function fAe(e) {+ var t = e.getTimezoneOffset();+ return (t > 0 ? "-" : (t *= -1, "+")) + bX(t / 60 | 0, "0", 2) + bX(t % 60, "0", 2);}-function FX(e, t) {- return wX(e.getUTCMilliseconds(), t, 3);+function jX(e, t) {+ return bX(e.getUTCDate(), t, 2);}function pAe(e, t) {- return FX(e, t) + "000";+ return bX(e.getUTCHours(), t, 2);}function mAe(e, t) {- return wX(e.getUTCMonth() + 1, t, 2);+ return bX(e.getUTCHours() % 12 || 12, t, 2);}function hAe(e, t) {- return wX(e.getUTCMinutes(), t, 2);+ return bX(1 + eX.count(pX(e), e), t, 3);+}+function MX(e, t) {+ return bX(e.getUTCMilliseconds(), t, 3);}function gAe(e, t) {- return wX(e.getUTCSeconds(), t, 2);+ return MX(e, t) + "000";}-function _Ae(e) {- var t = e.getUTCDay();- return t === 0 ? 7 : t;+function _Ae(e, t) {+ return bX(e.getUTCMonth() + 1, t, 2);}function vAe(e, t) {- return wX(dX.count(_X(e) - 1, e), t, 2);-}-function IX(e) {- var t = e.getUTCDay();- return t >= 4 || t === 0 ? pX(e) : pX.ceil(e);+ return bX(e.getUTCMinutes(), t, 2);}function yAe(e, t) {- return e = IX(e), wX(pX.count(_X(e), e) + (_X(e).getUTCDay() === 4), t, 2);+ return bX(e.getUTCSeconds(), t, 2);}function bAe(e) {- return e.getUTCDay();+ var t = e.getUTCDay();+ return t === 0 ? 7 : t;}function xAe(e, t) {- return wX(fX.count(_X(e) - 1, e), t, 2);+ return bX(sX.count(pX(e) - 1, e), t, 2);}-function LX(e, t) {- return wX(e.getUTCFullYear() % 100, t, 2);+function NX(e) {+ var t = e.getUTCDay();+ return t >= 4 || t === 0 ? lX(e) : lX.ceil(e);}function SAe(e, t) {- return e = IX(e), wX(e.getUTCFullYear() % 100, t, 2);+ return e = NX(e), bX(lX.count(pX(e), e) + (pX(e).getUTCDay() === 4), t, 2);}-function CAe(e, t) {- return wX(e.getUTCFullYear() % 1e4, t, 4);+function CAe(e) {+ return e.getUTCDay();}function wAe(e, t) {+ return bX(cX.count(pX(e) - 1, e), t, 2);+}+function TAe(e, t) {+ return bX(e.getUTCFullYear() % 100, t, 2);+}+function EAe(e, t) {+ return e = NX(e), bX(e.getUTCFullYear() % 100, t, 2);+}+function DAe(e, t) {+ return bX(e.getUTCFullYear() % 1e4, t, 4);+}+function OAe(e, t) {var n = e.getUTCDay();- return e = n >= 4 || n === 0 ? pX(e) : pX.ceil(e), wX(e.getUTCFullYear() % 1e4, t, 4);+ return e = n >= 4 || n === 0 ? lX(e) : lX.ceil(e), bX(e.getUTCFullYear() % 1e4, t, 4);}-function TAe() {+function kAe() {return "+0000";}-function RX() {+function PX() {return "%";}-function zX(e) {+function FX(e) {return +e;}-function BX(e) {+function IX(e) {return Math.floor(e / 1e3);}//#endregion//#region node_modules/d3-time-format/src/defaultLocale.js-var VX, HX, UX;-EAe({+var LX, RX, zX;+AAe({dateTime: "%x, %X",date: "%-m/%-d/%Y",time: "%-I:%M:%S %p",@@ -62682,26 +62682,26 @@ EAe({"Dec"]});-function EAe(e) {- return VX = Dke(e), HX = VX.format, VX.parse, UX = VX.utcFormat, VX.utcParse, VX;+function AAe(e) {+ return LX = jke(e), RX = LX.format, LX.parse, zX = LX.utcFormat, LX.utcParse, LX;}//#endregion//#region node_modules/d3-scale/src/time.js-function DAe(e) {+function jAe(e) {return new Date(e);}-function OAe(e) {+function MAe(e) {return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);}-function WX(e, t, n, r, i, a, o, s, c, l) {- var u = aY(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");+function BX(e, t, n, r, i, a, o, s, c, l) {+ var u = tY(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");function x(e) {return (c(e) < e ? p : s(e) < e ? m : o(e) < e ? h : a(e) < e ? g : r(e) < e ? i(e) < e ? _ : v : n(e) < e ? y : b)(e);}return u.invert = function(e) {return new Date(d(e));}, u.domain = function(e) {- return arguments.length ? f(Array.from(e, OAe)) : f().map(DAe);+ return arguments.length ? f(Array.from(e, MAe)) : f().map(jAe);}, u.ticks = function(t) {var n = f();return e(n[0], n[n.length - 1], t ?? 10);@@ -62709,23 +62709,23 @@ function WX(e, t, n, r, i, a, o, s, c, l) {return t == null ? x : l(t);}, u.nice = function(e) {var n = f();- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(CY(n, e)) : u;+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(yY(n, e)) : u;}, u.copy = function() {- return rY(u, WX(e, t, n, r, i, a, o, s, c, l));+ return $J(u, BX(e, t, n, r, i, a, o, s, c, l));}, u;}-function kAe() {- return fJ.apply(WX(Tke, Eke, gX, mX, sX, rX, tX, $Y, QY, HX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);+function NAe() {+ return cJ.apply(BX(kke, Ake, fX, uX, rX, $Y, ZY, YY, JY, RX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);}//#endregion//#region node_modules/d3-scale/src/utcTime.js-function AAe() {- return fJ.apply(WX(Cke, wke, _X, hX, dX, iX, nX, eX, QY, UX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);+function PAe() {+ return cJ.apply(BX(Dke, Oke, pX, dX, sX, eX, QY, XY, JY, zX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);}//#endregion//#region node_modules/d3-scale/src/sequential.js-function GX() {- var e = 0, t = 1, n, r, i, a, o = tY, s = !1, c;+function VX() {+ var e = 0, t = 1, n, r, i, a, o = ZJ, s = !1, c;function l(e) {return e == null || isNaN(e = +e) ? c : o(i === 0 ? .5 : (e = (a(e) - n) * i, s ? Math.max(0, Math.min(1, e)) : e));}@@ -62742,68 +62742,68 @@ function GX() {return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];};}- return l.range = u(ZJ), l.rangeRound = u(QJ), l.unknown = function(e) {+ return l.range = u(qJ), l.rangeRound = u(JJ), l.unknown = function(e) {return arguments.length ? (c = e, l) : c;}, function(o) {return a = o, n = o(e), r = o(t), i = n === r ? 0 : 1 / (r - n), l;};}-function KX(e, t) {+function HX(e, t) {return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());}-function qX() {- var e = bY(GX()(tY));+function UX() {+ var e = gY(VX()(ZJ));return e.copy = function() {- return KX(e, qX());- }, pJ.apply(e, arguments);+ return HX(e, UX());+ }, lJ.apply(e, arguments);}-function JX() {- var e = DY(GX()).domain([1, 10]);+function WX() {+ var e = CY(VX()).domain([1, 10]);return e.copy = function() {- return KX(e, JX()).base(e.base());- }, pJ.apply(e, arguments);+ return HX(e, WX()).base(e.base());+ }, lJ.apply(e, arguments);}-function YX() {- var e = jY(GX());+function GX() {+ var e = DY(VX());return e.copy = function() {- return KX(e, YX()).constant(e.constant());- }, pJ.apply(e, arguments);+ return HX(e, GX()).constant(e.constant());+ }, lJ.apply(e, arguments);}-function XX() {- var e = PY(GX());+function KX() {+ var e = AY(VX());return e.copy = function() {- return KX(e, XX()).exponent(e.exponent());- }, pJ.apply(e, arguments);+ return HX(e, KX()).exponent(e.exponent());+ }, lJ.apply(e, arguments);}-function jAe() {- return XX.apply(null, arguments).exponent(.5);+function FAe() {+ return KX.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/d3-scale/src/sequentialQuantile.js-function ZX() {- var e = [], t = tY;+function qX() {+ var e = [], t = ZJ;function n(n) {- if (n != null && !isNaN(n = +n)) return t((Qq(e, n, 1) - 1) / (e.length - 1));+ if (n != null && !isNaN(n = +n)) return t((Jq(e, n, 1) - 1) / (e.length - 1));}return n.domain = function(t) {if (!arguments.length) return e.slice();e = [];for (let n of t) n != null && !isNaN(n = +n) && e.push(n);- return e.sort(Jq), n;+ return e.sort(Wq), n;}, n.interpolator = function(e) {return arguments.length ? (t = e, n) : t;}, n.range = function() {return e.map((n, r) => t(r / (e.length - 1)));}, n.quantiles = function(t) {- return Array.from({ length: t + 1 }, (n, r) => _Oe(e, r / t));+ return Array.from({ length: t + 1 }, (n, r) => xOe(e, r / t));}, n.copy = function() {- return ZX(t).domain(e);- }, pJ.apply(n, arguments);+ return qX(t).domain(e);+ }, lJ.apply(n, arguments);}//#endregion//#region node_modules/d3-scale/src/diverging.js-function QX() {- var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = tY, u, d = !1, f;+function JX() {+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = ZJ, u, d = !1, f;function p(e) {return isNaN(e = +e) ? f : (e = .5 + ((e = +u(e)) - a) * (r * e < r * a ? s : c), l(d ? Math.max(0, Math.min(1, e)) : e));}@@ -62821,7 +62821,7 @@ function QX() {function m(e) {return function(t) {var n, r, i;- return arguments.length ? ([n, r, i] = t, l = WOe(e, [+ return arguments.length ? ([n, r, i] = t, l = JOe(e, [n,r,i@@ -62832,121 +62832,121 @@ function QX() {];};}- return p.range = m(ZJ), p.rangeRound = m(QJ), p.unknown = function(e) {+ return p.range = m(qJ), p.rangeRound = m(JJ), p.unknown = function(e) {return arguments.length ? (f = e, p) : f;}, function(l) {return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;};}-function $X() {- var e = bY(QX()(tY));+function YX() {+ var e = gY(JX()(ZJ));return e.copy = function() {- return KX(e, $X());- }, pJ.apply(e, arguments);+ return HX(e, YX());+ }, lJ.apply(e, arguments);}-function eZ() {- var e = DY(QX()).domain([+function XX() {+ var e = CY(JX()).domain([.1,1,10]);return e.copy = function() {- return KX(e, eZ()).base(e.base());- }, pJ.apply(e, arguments);+ return HX(e, XX()).base(e.base());+ }, lJ.apply(e, arguments);}-function tZ() {- var e = jY(QX());+function ZX() {+ var e = DY(JX());return e.copy = function() {- return KX(e, tZ()).constant(e.constant());- }, pJ.apply(e, arguments);+ return HX(e, ZX()).constant(e.constant());+ }, lJ.apply(e, arguments);}-function nZ() {- var e = PY(QX());+function QX() {+ var e = AY(JX());return e.copy = function() {- return KX(e, nZ()).exponent(e.exponent());- }, pJ.apply(e, arguments);+ return HX(e, QX()).exponent(e.exponent());+ }, lJ.apply(e, arguments);}-function MAe() {- return nZ.apply(null, arguments).exponent(.5);+function IAe() {+ return QX.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/victory-vendor/es/d3-scale.js-var rZ = /* @__PURE__ */ St({- scaleBand: () => gJ,- scaleDiverging: () => $X,- scaleDivergingLog: () => eZ,- scaleDivergingPow: () => nZ,- scaleDivergingSqrt: () => MAe,- scaleDivergingSymlog: () => tZ,- scaleIdentity: () => SY,- scaleImplicit: () => mJ,- scaleLinear: () => xY,- scaleLog: () => OY,- scaleOrdinal: () => hJ,- scalePoint: () => bOe,- scalePow: () => FY,- scaleQuantile: () => RY,- scaleQuantize: () => zY,- scaleRadial: () => LY,- scaleSequential: () => qX,- scaleSequentialLog: () => JX,- scaleSequentialPow: () => XX,- scaleSequentialQuantile: () => ZX,- scaleSequentialSqrt: () => jAe,- scaleSequentialSymlog: () => YX,- scaleSqrt: () => pke,- scaleSymlog: () => MY,- scaleThreshold: () => BY,- scaleTime: () => kAe,- scaleUtc: () => AAe,- tickFormat: () => yY+var $X = /* @__PURE__ */ St({+ scaleBand: () => fJ,+ scaleDiverging: () => YX,+ scaleDivergingLog: () => XX,+ scaleDivergingPow: () => QX,+ scaleDivergingSqrt: () => IAe,+ scaleDivergingSymlog: () => ZX,+ scaleIdentity: () => vY,+ scaleImplicit: () => uJ,+ scaleLinear: () => _Y,+ scaleLog: () => wY,+ scaleOrdinal: () => dJ,+ scalePoint: () => wOe,+ scalePow: () => jY,+ scaleQuantile: () => PY,+ scaleQuantize: () => FY,+ scaleRadial: () => NY,+ scaleSequential: () => UX,+ scaleSequentialLog: () => WX,+ scaleSequentialPow: () => KX,+ scaleSequentialQuantile: () => qX,+ scaleSequentialSqrt: () => FAe,+ scaleSequentialSymlog: () => GX,+ scaleSqrt: () => _ke,+ scaleSymlog: () => OY,+ scaleThreshold: () => IY,+ scaleTime: () => NAe,+ scaleUtc: () => PAe,+ tickFormat: () => hY});//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js-function NAe(e) {- if (e in rZ) return rZ[e]();- var t = `scale${HB(e)}`;- if (t in rZ) return rZ[t]();+function LAe(e) {+ if (e in $X) return $X[e]();+ var t = `scale${VB(e)}`;+ if (t in $X) return $X[t]();}-function iZ(e, t, n) {+function eZ(e, t, n) {if (typeof e == "function") return e.copy().domain(t).range(n);if (e != null) {- var r = NAe(e);+ var r = LAe(e);if (r != null) return r.domain(t).range(n), r;}}-function aZ(e, t, n, r) {- if (n != null && r != null) return typeof e.scale == "function" ? iZ(e.scale, n, r) : iZ(t, n, r);+function tZ(e, t, n, r) {+ if (n != null && r != null) return typeof e.scale == "function" ? eZ(e.scale, n, r) : eZ(t, n, r);}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js-function PAe(e) {- return `scale${HB(e)}`;+function RAe(e) {+ return `scale${VB(e)}`;}-function FAe(e) {- return PAe(e) in rZ;+function zAe(e) {+ return RAe(e) in $X;}-var oZ = (e, t, n) => {+var nZ = (e, t, n) => {if (e != null) {var { scale: r, type: i } = e;if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";- if (typeof r == "string") return FAe(r) ? r : "point";+ if (typeof r == "string") return zAe(r) ? r : "point";}};//#endregion//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js-function IAe(e, t) {+function BAe(e, t) {for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {var a = Math.floor((n + r) / 2);(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;}return n;}-function sZ(e, t) {+function rZ(e, t) {if (e) {var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();if (!(n.length === 0 || i.length < 2)) return (e) => {- var t = IAe(r, e);+ var t = BAe(r, e);if (t <= 0) return n[0];if (t >= n.length) return n[n.length - 1];var i = r[t - 1] ?? 0, a = r[t] ?? 0;@@ -62956,12 +62956,12 @@ function sZ(e, t) {}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js-function LAe(e) {- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : sZ(e, void 0);+function VAe(e) {+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : rZ(e, void 0);}//#endregion//#region node_modules/recharts/es6/state/selectors/axisSelectors.js-function cZ(e, t) {+function iZ(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -62971,30 +62971,30 @@ function cZ(e, t) {}return n;}-function lZ(e) {+function aZ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? cZ(Object(n), !0).forEach(function(t) {- RAe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cZ(Object(n)).forEach(function(t) {+ t % 2 ? iZ(Object(n), !0).forEach(function(t) {+ HAe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iZ(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function RAe(e, t, n) {- return (t = zAe(t)) in e ? Object.defineProperty(e, t, {+function HAe(e, t, n) {+ return (t = UAe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function zAe(e) {- var t = BAe(e, "string");+function UAe(e) {+ var t = WAe(e, "string");return typeof t == "symbol" ? t : t + "";}-function BAe(e, t) {+function WAe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -63004,7 +63004,7 @@ function BAe(e, t) {}return (t === "string" ? String : Number)(e);}-var uZ = [0, "auto"], dZ = {+var oZ = [0, "auto"], sZ = {allowDataOverflow: !1,allowDecimals: !0,allowDuplicatedCategory: !0,@@ -63033,13 +63033,13 @@ var uZ = [0, "auto"], dZ = {type: "category",unit: void 0,niceTicks: "auto"-}, fZ = (e, t) => e.cartesianAxis.xAxis[t], pZ = (e, t) => fZ(e, t) ?? dZ, mZ = {+}, cZ = (e, t) => e.cartesianAxis.xAxis[t], lZ = (e, t) => cZ(e, t) ?? sZ, uZ = {allowDataOverflow: !1,allowDecimals: !0,allowDuplicatedCategory: !0,angle: 0,dataKey: void 0,- domain: uZ,+ domain: oZ,hide: !0,id: 0,includeHidden: !1,@@ -63062,7 +63062,7 @@ var uZ = [0, "auto"], dZ = {unit: void 0,niceTicks: "auto",width: 60-}, hZ = (e, t) => e.cartesianAxis.yAxis[t], gZ = (e, t) => hZ(e, t) ?? mZ, VAe = {+}, dZ = (e, t) => e.cartesianAxis.yAxis[t], fZ = (e, t) => dZ(e, t) ?? uZ, GAe = {domain: [0, "auto"],includeHidden: !1,reversed: !1,@@ -63075,31 +63075,31 @@ var uZ = [0, "auto"], dZ = {scale: "auto",type: "number",unit: ""-}, _Z = (e, t) => e.cartesianAxis.zAxis[t] ?? VAe, vZ = (e, t, n) => {+}, pZ = (e, t) => e.cartesianAxis.zAxis[t] ?? GAe, mZ = (e, t, n) => {switch (t) {- case "xAxis": return pZ(e, n);- case "yAxis": return gZ(e, n);- case "zAxis": return _Z(e, n);- case "angleAxis": return Oq(e, n);- case "radiusAxis": return kq(e, n);+ case "xAxis": return lZ(e, n);+ case "yAxis": return fZ(e, n);+ case "zAxis": return pZ(e, n);+ case "angleAxis": return wq(e, n);+ case "radiusAxis": return Tq(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, HAe = (e, t, n) => {+}, KAe = (e, t, n) => {switch (t) {- case "xAxis": return pZ(e, n);- case "yAxis": return gZ(e, n);+ case "xAxis": return lZ(e, n);+ case "yAxis": return fZ(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, yZ = (e, t, n) => {+}, hZ = (e, t, n) => {switch (t) {- case "xAxis": return pZ(e, n);- case "yAxis": return gZ(e, n);- case "angleAxis": return Oq(e, n);- case "radiusAxis": return kq(e, n);+ case "xAxis": return lZ(e, n);+ case "yAxis": return fZ(e, n);+ case "angleAxis": return wq(e, n);+ case "radiusAxis": return Tq(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, bZ = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");-function xZ(e, t) {+}, gZ = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");+function _Z(e, t) {return (n) => {switch (e) {case "xAxis": return "xAxisId" in n && n.xAxisId === t;@@ -63111,58 +63111,58 @@ function xZ(e, t) {}};}-var SZ = (e) => e.graphicalItems.cartesianItems, UAe = $([Lq, Rq], xZ), CZ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), wZ = $([- SZ,+var vZ = (e) => e.graphicalItems.cartesianItems, qAe = $([Nq, Pq], _Z), yZ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), bZ = $([vZ,- UAe-], CZ, { memoizeOptions: { resultEqualityCheck: Uq } }), TZ = $([wZ], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(Vq)), EZ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), WAe = $([wZ], EZ), DZ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), GAe = $([wZ], DZ, { memoizeOptions: { resultEqualityCheck: Uq } }), OZ = (e, t) => {+ mZ,+ qAe+], yZ, { memoizeOptions: { resultEqualityCheck: zq } }), xZ = $([bZ], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(Lq)), SZ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), JAe = $([bZ], SZ), CZ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), YAe = $([bZ], CZ, { memoizeOptions: { resultEqualityCheck: zq } }), wZ = (e, t) => {var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;return e.length > 0 ? e : n.slice(r, i + 1);-}, kZ = $([GAe, YK], OZ), AZ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: YU(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: YU(e, t.dataKey) })), jZ = $([- kZ,- vZ,- wZ-], AZ);-function MZ(e) {- if (FB(e) || e instanceof Date) {+}, TZ = $([YAe, GK], wZ), EZ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: GU(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: GU(e, t.dataKey) })), DZ = $([+ TZ,+ mZ,+ bZ+], EZ);+function OZ(e) {+ if (PB(e) || e instanceof Date) {var t = Number(e);- if (GU(t)) return t;+ if (VU(t)) return t;}}-function NZ(e) {+function kZ(e) {if (Array.isArray(e)) {- var t = [MZ(e[0]), MZ(e[1])];- return ZK(t) ? t : void 0;+ var t = [OZ(e[0]), OZ(e[1])];+ return qK(t) ? t : void 0;}- var n = MZ(e);+ var n = OZ(e);if (n != null) return [n, n];}-function PZ(e) {- return e.map(MZ).filter(UB);+function AZ(e) {+ return e.map(OZ).filter(HB);}-function KAe(e, t) {- var n = MZ(e), r = MZ(t);+function XAe(e, t) {+ var n = OZ(e), r = OZ(t);return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;}-var qAe = $([jZ], (e) => e?.map((e) => e.value).sort(KAe));-function FZ(e, t) {+var ZAe = $([DZ], (e) => e?.map((e) => e.value).sort(XAe));+function jZ(e, t) {switch (e) {case "xAxis": return t.direction === "x";case "yAxis": return t.direction === "y";default: return !1;}}-function JAe(e, t, n) {- return !n || typeof t != "number" || NB(t) || !n.length ? [] : PZ(n.flatMap((n) => {- var r = YU(e, n.dataKey), i, a;- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!GU(i) || !GU(a))) return [t - i, t + a];+function QAe(e, t, n) {+ return !n || typeof t != "number" || MB(t) || !n.length ? [] : AZ(n.flatMap((n) => {+ var r = GU(e, n.dataKey), i, a;+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!VU(i) || !VU(a))) return [t - i, t + a];}));}-var IZ = (e) => yZ(e, Wq(e), Gq(e)), LZ = $([IZ], (e) => e?.dataKey), YAe = $([- TZ,- YK,- IZ-], Bq), RZ = (e, t, n, r) => {+var MZ = (e) => hZ(e, Bq(e), Vq(e)), NZ = $([MZ], (e) => e?.dataKey), $Ae = $([+ xZ,+ GK,+ MZ+], Iq), PZ = (e, t, n, r) => {var i = t.reduce((e, t) => {if (t.stackId == null) return e;var n = e[t.stackId];@@ -63171,168 +63171,168 @@ var IZ = (e) => yZ(e, Wq(e), Gq(e)), LZ = $([IZ], (e) => e?.dataKey), YAe = $([return Object.fromEntries(Object.entries(i).map((t) => {var [i, a] = t, o = r ? [...a].reverse() : a;return [i, {- stackedData: Xwe(e, o.map(zq), n),+ stackedData: eTe(e, o.map(Fq), n),graphicalItems: o}];}));-}, zZ = $([- YAe,- TZ,- pq,- mq-], RZ), BZ = (e, t, n, r) => {+}, FZ = $([+ $Ae,+ xZ,+ lq,+ uq+], PZ), IZ = (e, t, n, r) => {var { dataStartIndex: i, dataEndIndex: a } = t;if (r == null && n !== "zAxis") {- var o = $we(e, i, a);+ var o = rTe(e, i, a);if (o == null || o[0] !== 0 || o[1] !== 0) return o;}-}, XAe = $([vZ], (e) => e.allowDataOverflow), VZ = (e) => {- if (e == null || !("domain" in e)) return uZ;+}, eje = $([mZ], (e) => e.allowDataOverflow), LZ = (e) => {+ if (e == null || !("domain" in e)) return oZ;if (e.domain != null) return e.domain;if ("ticks" in e && e.ticks != null) {if (e.type === "number") {- var t = PZ(e.ticks);+ var t = AZ(e.ticks);return [Math.min(...t), Math.max(...t)];}if (e.type === "category") return e.ticks.map(String);}- return e?.domain ?? uZ;-}, HZ = $([vZ], VZ), UZ = $([HZ, XAe], $K), ZAe = $([- zZ,- qK,- Lq,- UZ-], BZ, { memoizeOptions: { resultEqualityCheck: Hq } }), WZ = (e) => e.errorBars, QAe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => FZ(n, e)), GZ = function() {+ return e?.domain ?? oZ;+}, RZ = $([mZ], LZ), zZ = $([RZ, eje], YK), tje = $([+ FZ,+ UK,+ Nq,+ zZ+], IZ, { memoizeOptions: { resultEqualityCheck: Rq } }), BZ = (e) => e.errorBars, nje = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => jZ(n, e)), VZ = function() {var e = [...arguments].filter(Boolean);if (e.length !== 0) {var t = e.flat();return [Math.min(...t), Math.max(...t)];}-}, KZ = (e, t, n, r, i) => {+}, HZ = (e, t, n, r, i) => {var a, o;if (n.length > 0 && e.forEach((e) => {n.forEach((n) => {- var s = r[n.id]?.filter((e) => FZ(i, e)), c = YU(e, t.dataKey ?? n.dataKey), l = JAe(e, c, s);+ var s = r[n.id]?.filter((e) => jZ(i, e)), c = GU(e, t.dataKey ?? n.dataKey), l = QAe(e, c, s);if (l.length >= 2) {var u = Math.min(...l), d = Math.max(...l);(a == null || u < a) && (a = u), (o == null || d > o) && (o = d);}- var f = NZ(c);+ var f = kZ(c);f != null && (a = a == null ? f[0] : Math.min(a, f[0]), o = o == null ? f[1] : Math.max(o, f[1]));});}), t?.dataKey != null && e.forEach((e) => {- var n = NZ(YU(e, t.dataKey));+ var n = kZ(GU(e, t.dataKey));n != null && (a = a == null ? n[0] : Math.min(a, n[0]), o = o == null ? n[1] : Math.max(o, n[1]));- }), GU(a) && GU(o)) return [a, o];-}, $Ae = $([- kZ,- vZ,- WAe,- WZ,- Lq-], KZ, { memoizeOptions: { resultEqualityCheck: Hq } });-function eje(e) {+ }), VU(a) && VU(o)) return [a, o];+}, rje = $([+ TZ,+ mZ,+ JAe,+ BZ,+ Nq+], HZ, { memoizeOptions: { resultEqualityCheck: Rq } });+function ije(e) {var { value: t } = e;- if (FB(t) || t instanceof Date) return t;-}-var tje = (e, t, n) => {- var r = e.map(eje).filter((e) => e != null);- return n && (t.dataKey == null || t.allowDuplicatedCategory && RB(r)) ? KK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));-}, qZ = (e) => e.referenceElements.dots, JZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), nje = $([- qZ,- Lq,- Rq-], JZ), YZ = (e) => e.referenceElements.areas, rje = $([- YZ,- Lq,- Rq-], JZ), XZ = (e) => e.referenceElements.lines, ije = $([- XZ,- Lq,- Rq-], JZ), ZZ = (e, t) => {+ if (PB(t) || t instanceof Date) return t;+}+var aje = (e, t, n) => {+ var r = e.map(ije).filter((e) => e != null);+ return n && (t.dataKey == null || t.allowDuplicatedCategory && LB(r)) ? HK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));+}, UZ = (e) => e.referenceElements.dots, WZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), oje = $([+ UZ,+ Nq,+ Pq+], WZ), GZ = (e) => e.referenceElements.areas, sje = $([+ GZ,+ Nq,+ Pq+], WZ), KZ = (e) => e.referenceElements.lines, cje = $([+ KZ,+ Nq,+ Pq+], WZ), qZ = (e, t) => {if (e != null) {- var n = PZ(e.map((e) => t === "xAxis" ? e.x : e.y));+ var n = AZ(e.map((e) => t === "xAxis" ? e.x : e.y));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, aje = $(nje, Lq, ZZ), QZ = (e, t) => {+}, lje = $(oje, Nq, qZ), JZ = (e, t) => {if (e != null) {- var n = PZ(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));+ var n = AZ(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, oje = $([rje, Lq], QZ);-function sje(e) {- if (e.x != null) return PZ([e.x]);+}, uje = $([sje, Nq], JZ);+function dje(e) {+ if (e.x != null) return AZ([e.x]);var t = e.segment?.map((e) => e.x);- return t == null || t.length === 0 ? [] : PZ(t);+ return t == null || t.length === 0 ? [] : AZ(t);}-function cje(e) {- if (e.y != null) return PZ([e.y]);+function fje(e) {+ if (e.y != null) return AZ([e.y]);var t = e.segment?.map((e) => e.y);- return t == null || t.length === 0 ? [] : PZ(t);+ return t == null || t.length === 0 ? [] : AZ(t);}-var $Z = (e, t) => {+var YZ = (e, t) => {if (e != null) {- var n = e.flatMap((e) => t === "xAxis" ? sje(e) : cje(e));+ var n = e.flatMap((e) => t === "xAxis" ? dje(e) : fje(e));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, lje = $(aje, $([ije, Lq], $Z), oje, (e, t, n) => GZ(e, n, t)), eQ = (e, t, n, r, i, a, o, s) => n ?? rOe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? GZ(r, a, i) : GZ(a, i), e.allowDataOverflow), uje = $([- vZ,- HZ,- UZ,- ZAe,- $Ae,- lje,- IW,- Lq-], eQ, { memoizeOptions: { resultEqualityCheck: Hq } }), dje = [0, 1], tQ = (e, t, n, r, i, a, o) => {+}, pje = $(lje, $([cje, Nq], YZ), uje, (e, t, n) => VZ(e, n, t)), XZ = (e, t, n, r, i, a, o, s) => n ?? sOe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? VZ(r, a, i) : VZ(a, i), e.allowDataOverflow), mje = $([+ mZ,+ RZ,+ zZ,+ tje,+ rje,+ pje,+ MW,+ Nq+], XZ, { memoizeOptions: { resultEqualityCheck: Rq } }), hje = [0, 1], ZZ = (e, t, n, r, i, a, o) => {if (e != null && n != null && n.length !== 0 || o !== void 0) {- var { dataKey: s, type: c } = e, l = XU(t, a);- return l && s == null ? KK(0, n?.length ?? 0) : c === "category" ? tje(r, e, l) : i === "expand" ? dje : o;+ var { dataKey: s, type: c } = e, l = KU(t, a);+ return l && s == null ? HK(0, n?.length ?? 0) : c === "category" ? aje(r, e, l) : i === "expand" ? hje : o;}-}, nQ = $([- vZ,- IW,- kZ,- jZ,- pq,- Lq,- uje-], tQ), rQ = $([- vZ,- bZ,- hq-], oZ), iQ = (e, t, n) => {+}, QZ = $([+ mZ,+ MW,+ TZ,+ DZ,+ lq,+ Nq,+ mje+], ZZ), $Z = $([+ mZ,+ gZ,+ dq+], nZ), eQ = (e, t, n) => {var { niceTicks: r } = t;if (r !== "none") {- var i = VZ(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && ZK(e)) {- if (a) return sq(e, t.tickCount, t.allowDecimals, r);- if (t.type === "number") return cq(e, t.tickCount, t.allowDecimals, r);+ var i = LZ(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && qK(e)) {+ if (a) return rq(e, t.tickCount, t.allowDecimals, r);+ if (t.type === "number") return iq(e, t.tickCount, t.allowDecimals, r);}if (r === "auto" && n === "linear" && t != null && t.tickCount) {- if (a && ZK(e)) return sq(e, t.tickCount, t.allowDecimals, "adaptive");- if (t.type === "number" && ZK(e)) return cq(e, t.tickCount, t.allowDecimals, "adaptive");+ if (a && qK(e)) return rq(e, t.tickCount, t.allowDecimals, "adaptive");+ if (t.type === "number" && qK(e)) return iq(e, t.tickCount, t.allowDecimals, "adaptive");}}-}, aQ = $([- nQ,- yZ,- rQ-], iQ), oQ = (e, t, n, r) => {- if (r !== "angleAxis" && e?.type === "number" && ZK(t) && Array.isArray(n) && n.length > 0) {+}, tQ = $([+ QZ,+ hZ,+ $Z+], eQ), nQ = (e, t, n, r) => {+ if (r !== "angleAxis" && e?.type === "number" && qK(t) && Array.isArray(n) && n.length > 0) {var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;return [Math.min(i, a), Math.max(o, s)];}return t;-}, fje = $([- vZ,- nQ,- aQ,- Lq-], oQ), sQ = $($(jZ, vZ, (e, t) => {+}, gje = $([+ mZ,+ QZ,+ tQ,+ Nq+], nQ), rQ = $($(DZ, mZ, (e, t) => {if (!(!t || t.type !== "number")) {- var n = Infinity, r = Array.from(PZ(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];+ var n = Infinity, r = Array.from(AZ(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];if (i == null || a == null) return Infinity;var o = a - i;if (o === 0) return Infinity;@@ -63345,22 +63345,22 @@ var $Z = (e, t) => {}return n / o;}-}), IW, dq, gW, (e, t, n, r, i) => i, (e, t, n, r, i) => {- if (!GU(e)) return 0;+}), MW, sq, fW, (e, t, n, r, i) => i, (e, t, n, r, i) => {+ if (!VU(e)) return 0;var a = t === "vertical" ? r.height : r.width;if (i === "gap") return e * a / 2;if (i === "no-gap") {- var o = LB(n, e * a), s = e * a / 2;+ var o = IB(n, e * a), s = e * a / 2;return s - o - (s - o) / a * o;}return 0;-}), pje = (e, t, n) => {- var r = pZ(e, t);- return r == null || typeof r.padding != "string" ? 0 : sQ(e, "xAxis", t, n, r.padding);-}, mje = (e, t, n) => {- var r = gZ(e, t);- return r == null || typeof r.padding != "string" ? 0 : sQ(e, "yAxis", t, n, r.padding);-}, hje = $(pZ, pje, (e, t) => {+}), _je = (e, t, n) => {+ var r = lZ(e, t);+ return r == null || typeof r.padding != "string" ? 0 : rQ(e, "xAxis", t, n, r.padding);+}, vje = (e, t, n) => {+ var r = fZ(e, t);+ return r == null || typeof r.padding != "string" ? 0 : rQ(e, "yAxis", t, n, r.padding);+}, yje = $(lZ, _je, (e, t) => {if (e == null) return {left: 0,right: 0@@ -63373,7 +63373,7 @@ var $Z = (e, t) => {left: (n.left ?? 0) + t,right: (n.right ?? 0) + t};-}), gje = $(gZ, mje, (e, t) => {+}), bje = $(fZ, vje, (e, t) => {if (e == null) return {top: 0,bottom: 0@@ -63386,98 +63386,98 @@ var $Z = (e, t) => {top: (n.top ?? 0) + t,bottom: (n.bottom ?? 0) + t};-}), _je = $([+}), xje = $([+ fW,+ yje,gW,- hje,- bW,- yW,+ hW,(e, t, n) => n], (e, t, n, r, i) => {var { padding: a } = r;return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];-}), vje = $([+}), Sje = $([+ fW,+ MW,+ bje,gW,- IW,- gje,- bW,- yW,+ hW,(e, t, n) => n], (e, t, n, r, i, a) => {var { padding: o } = i;return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];-}), cQ = (e, t, n, r) => {+}), iQ = (e, t, n, r) => {switch (t) {- case "xAxis": return _je(e, n, r);- case "yAxis": return vje(e, n, r);- case "zAxis": return _Z(e, n)?.range;- case "angleAxis": return Pq(e);- case "radiusAxis": return Fq(e, n);+ case "xAxis": return xje(e, n, r);+ case "yAxis": return Sje(e, n, r);+ case "zAxis": return pZ(e, n)?.range;+ case "angleAxis": return Aq(e);+ case "radiusAxis": return jq(e, n);default: return;}-}, lQ = $([vZ, cQ], Sq), uQ = $([- vZ,- rQ,- $([rQ, fje], qq),- lQ-], aZ), dQ = (e, t, n, r) => {+}, aQ = $([mZ, iQ], vq), oQ = $([+ mZ,+ $Z,+ $([$Z, gje], Uq),+ aQ+], tZ), sQ = (e, t, n, r) => {if (n != null && n.dataKey != null) {var { type: i, scale: a } = n;- if (XU(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);- }-}, fQ = $([- IW,- jZ,- yZ,- Lq-], dQ), pQ = $([uQ], Kq);-$([uQ], LAe), $([uQ, qAe], sZ), $([- wZ,- WZ,- Lq-], QAe);-function mQ(e, t) {+ if (KU(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);+ }+}, cQ = $([+ MW,+ DZ,+ hZ,+ Nq+], sQ), lQ = $([oQ], Hq);+$([oQ], VAe), $([oQ, ZAe], rZ), $([+ bZ,+ BZ,+ Nq+], nje);+function uQ(e, t) {return e.id < t.id ? -1 : +(e.id > t.id);}-var hQ = (e, t) => t, gQ = (e, t, n) => n, yje = $(fW, hQ, gQ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(mQ)), bje = $(pW, hQ, gQ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(mQ)), _Q = (e, t) => ({+var dQ = (e, t) => t, fQ = (e, t, n) => n, Cje = $(cW, dQ, fQ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(uQ)), wje = $(lW, dQ, fQ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(uQ)), pQ = (e, t) => ({width: e.width,height: t.height-}), xje = (e, t) => ({+}), Tje = (e, t) => ({width: typeof t.width == "number" ? t.width : 60,height: e.height-}), vQ = $(gW, pZ, _Q), Sje = (e, t, n) => {+}), mQ = $(fW, lZ, pQ), Eje = (e, t, n) => {switch (t) {case "top": return e.top;case "bottom": return n - e.bottom;default: return 0;}-}, Cje = (e, t, n) => {+}, Dje = (e, t, n) => {switch (t) {case "left": return e.left;case "right": return n - e.right;default: return 0;}-}, wje = $(uW, gW, yje, hQ, gQ, (e, t, n, r, i) => {+}, Oje = $(oW, fW, Cje, dQ, fQ, (e, t, n, r, i) => {var a = {}, o;return n.forEach((n) => {- var s = _Q(t, n);- o ??= Sje(t, r, e);+ var s = pQ(t, n);+ o ??= Eje(t, r, e);var c = r === "top" && !i || r === "bottom" && i;a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;}), a;-}), Tje = $(lW, gW, bje, hQ, gQ, (e, t, n, r, i) => {+}), kje = $(aW, fW, wje, dQ, fQ, (e, t, n, r, i) => {var a = {}, o;return n.forEach((n) => {- var s = xje(t, n);- o ??= Cje(t, r, e);+ var s = Tje(t, n);+ o ??= Dje(t, r, e);var c = r === "left" && !i || r === "right" && i;a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;}), a;-}), Eje = $([- gW,- pZ,+}), Aje = $([+ fW,+ lZ,(e, t) => {- var n = pZ(e, t);- if (n != null) return wje(e, n.orientation, n.mirror);+ var n = lZ(e, t);+ if (n != null) return Oje(e, n.orientation, n.mirror);},(e, t) => t], (e, t, n, r) => {@@ -63491,12 +63491,12 @@ var hQ = (e, t) => t, gQ = (e, t, n) => n, yje = $(fW, hQ, gQ, (e, t, n) => e.fiy: i};}-}), Dje = $([- gW,- gZ,+}), jje = $([+ fW,+ fZ,(e, t) => {- var n = gZ(e, t);- if (n != null) return Tje(e, n.orientation, n.mirror);+ var n = fZ(e, t);+ if (n != null) return kje(e, n.orientation, n.mirror);},(e, t) => t], (e, t, n, r) => {@@ -63510,38 +63510,38 @@ var hQ = (e, t) => t, gQ = (e, t, n) => n, yje = $(fW, hQ, gQ, (e, t, n) => e.fiy: e.top};}-}), yQ = $(gW, gZ, (e, t) => ({+}), hQ = $(fW, fZ, (e, t) => ({width: typeof t.width == "number" ? t.width : 60,height: e.height-})), bQ = (e, t, n) => {+})), gQ = (e, t, n) => {switch (t) {- case "xAxis": return vQ(e, n).width;- case "yAxis": return yQ(e, n).height;+ case "xAxis": return mQ(e, n).width;+ case "yAxis": return hQ(e, n).height;default: return;}-}, xQ = (e, t, n, r) => {+}, _Q = (e, t, n, r) => {if (n != null) {- var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = XU(e, r), c = t.map((e) => e.value);- if (o && s && a === "category" && i && RB(c)) return c;+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = KU(e, r), c = t.map((e) => e.value);+ if (o && s && a === "category" && i && LB(c)) return c;}-}, SQ = $([- IW,- jZ,- vZ,- Lq-], xQ), CQ = $([- IW,- HAe,- rQ,- pQ,- SQ,- fQ,+}, vQ = $([+ MW,+ DZ,+ mZ,+ Nq+], _Q), yQ = $([+ MW,+ KAe,+ $Z,+ lQ,+ vQ,cQ,- aQ,- Lq+ iQ,+ tQ,+ Nq], (e, t, n, r, i, a, o, s, c) => {if (t != null) {- var l = XU(e, c);+ var l = KU(e, c);return {angle: t.angle,interval: t.interval,@@ -63563,107 +63563,107 @@ var hQ = (e, t) => t, gQ = (e, t, n) => n, yje = $(fW, hQ, gQ, (e, t, n) => e.fiscale: r};}-}), wQ = (e, t, n, r, i, a, o, s, c) => {+}), bQ = (e, t, n, r, i, a, o, s, c) => {if (t != null && r != null) {- var l = XU(e, c), { type: u, ticks: d, tickCount: f } = t, 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 ? MB(a[0] - a[1]) * 2 * m : m;+ var l = KU(e, c), { type: u, ticks: d, tickCount: f } = t, 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 ? jB(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);- return GU(i) ? {+ return VU(i) ? {index: t,coordinate: i + m,value: e,offset: m} : null;- }).filter(UB) : l && s ? s.map((e, t) => {+ }).filter(HB) : l && s ? s.map((e, t) => {var n = r.map(e);- return GU(n) ? {+ return VU(n) ? {coordinate: n + m,value: e,index: t,offset: m} : null;- }).filter(UB) : r.ticks ? r.ticks(f).map((e, t) => {+ }).filter(HB) : r.ticks ? r.ticks(f).map((e, t) => {var n = r.map(e);- return GU(n) ? {+ return VU(n) ? {coordinate: n + m,value: e,index: t,offset: m} : null;- }).filter(UB) : r.domain().map((e, t) => {+ }).filter(HB) : r.domain().map((e, t) => {var n = r.map(e);- return GU(n) ? {+ return VU(n) ? {coordinate: n + m,value: o ? o[e] : e,index: t,offset: m} : null;- }).filter(UB);- }-}, TQ = $([- IW,- yZ,- rQ,- pQ,- aQ,+ }).filter(HB);+ }+}, xQ = $([+ MW,+ hZ,+ $Z,+ lQ,+ tQ,+ iQ,+ vQ,cQ,- SQ,- fQ,- Lq-], wQ), EQ = (e, t, n, r, i, a, o) => {+ Nq+], bQ), SQ = (e, t, n, r, i, a, o) => {if (t != null && n != null && r != null && r[0] !== r[1]) {- var s = XU(e, o), { tickCount: c } = t, l = 0;- return l = o === "angleAxis" && r?.length >= 2 ? MB(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {+ var s = KU(e, o), { tickCount: c } = t, l = 0;+ return l = o === "angleAxis" && r?.length >= 2 ? jB(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {var r = n.map(e);- return GU(r) ? {+ return VU(r) ? {coordinate: r + l,value: e,index: t,offset: l} : null;- }).filter(UB) : n.ticks ? n.ticks(c).map((e, t) => {+ }).filter(HB) : n.ticks ? n.ticks(c).map((e, t) => {var r = n.map(e);- return GU(r) ? {+ return VU(r) ? {coordinate: r + l,value: e,index: t,offset: l} : null;- }).filter(UB) : n.domain().map((e, t) => {+ }).filter(HB) : n.domain().map((e, t) => {var r = n.map(e);- return GU(r) ? {+ return VU(r) ? {coordinate: r + l,value: i ? i[e] : e,index: t,offset: l} : null;- }).filter(UB);- }-}, DQ = $([- IW,- yZ,- pQ,+ }).filter(HB);+ }+}, CQ = $([+ MW,+ hZ,+ lQ,+ iQ,+ vQ,cQ,- SQ,- fQ,- Lq-], EQ), OQ = $(vZ, pQ, (e, t) => {- if (e != null && t != null) return lZ(lZ({}, e), {}, { scale: t });+ Nq+], SQ), wQ = $(mZ, lQ, (e, t) => {+ if (e != null && t != null) return aZ(aZ({}, e), {}, { scale: t });});-$((e, t, n) => _Z(e, n), $([$([- vZ,- rQ,- nQ,- lQ-], aZ)], Kq), (e, t) => {- if (e != null && t != null) return lZ(lZ({}, e), {}, { scale: t });+$((e, t, n) => pZ(e, n), $([$([+ mZ,+ $Z,+ QZ,+ aQ+], tZ)], Hq), (e, t) => {+ if (e != null && t != null) return aZ(aZ({}, e), {}, { scale: t });});-var Oje = $([- IW,- fW,- pW+var Mje = $([+ MW,+ cW,+ lW], (e, t, n) => {switch (e) {case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";@@ -63685,41 +63685,41 @@ $([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {});//#endregion//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js-var kQ = (e) => e.options.defaultTooltipEventType, AQ = (e) => e.options.validateTooltipEventTypes;-function jQ(e, t, n) {+var TQ = (e) => e.options.defaultTooltipEventType, EQ = (e) => e.options.validateTooltipEventTypes;+function DQ(e, t, n) {if (e == null) return t;var r = e ? "axis" : "item";return n == null ? t : n.includes(r) ? r : t;}-function MQ(e, t) {- return jQ(t, kQ(e), AQ(e));+function OQ(e, t) {+ return DQ(t, TQ(e), EQ(e));}-function kje(e) {- return Q((t) => MQ(t, e));+function Nje(e) {+ return Q((t) => OQ(t, e));}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js-var NQ = (e, t) => {+var kQ = (e, t) => {var n, r = Number(t);- if (!(NB(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;-}, Aje = (e) => e.tooltip.settings, PQ = {+ if (!(MB(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;+}, Pje = (e) => e.tooltip.settings, AQ = {active: !1,index: null,dataKey: void 0,graphicalItemId: void 0,coordinate: void 0-}, FQ = gU({+}, jQ = fU({name: "tooltip",initialState: {itemInteraction: {- click: PQ,- hover: PQ+ click: AQ,+ hover: AQ},axisInteraction: {- click: PQ,- hover: PQ+ click: AQ,+ hover: AQ},- keyboardInteraction: PQ,+ keyboardInteraction: AQ,syncInteraction: {active: !1,index: null,@@ -63741,23 +63741,23 @@ var NQ = (e, t) => {reducers: {addTooltipEntrySettings: {reducer(e, t) {- e.tooltipItemPayloads.push(DG(t.payload));+ e.tooltipItemPayloads.push(CG(t.payload));},- prepare: fU()+ prepare: cU()},replaceTooltipEntrySettings: {reducer(e, t) {- var { prev: n, next: r } = t.payload, i = rU(e).tooltipItemPayloads.indexOf(DG(n));- i > -1 && (e.tooltipItemPayloads[i] = DG(r));+ var { prev: n, next: r } = t.payload, i = $H(e).tooltipItemPayloads.indexOf(CG(n));+ i > -1 && (e.tooltipItemPayloads[i] = CG(r));},- prepare: fU()+ prepare: cU()},removeTooltipEntrySettings: {reducer(e, t) {- var n = rU(e).tooltipItemPayloads.indexOf(DG(t.payload));+ var n = $H(e).tooltipItemPayloads.indexOf(CG(t.payload));n > -1 && e.tooltipItemPayloads.splice(n, 1);},- prepare: fU()+ prepare: cU()},setTooltipSettingsState(e, t) {e.settings = t.payload;@@ -63787,10 +63787,10 @@ var NQ = (e, t) => {e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;}}-}), { addTooltipEntrySettings: jje, replaceTooltipEntrySettings: Mje, removeTooltipEntrySettings: Nje, setTooltipSettingsState: Pje, setActiveMouseOverItemIndex: IQ, mouseLeaveItem: Fje, mouseLeaveChart: LQ, setActiveClickItemIndex: Ije, setMouseOverAxisIndex: RQ, setMouseClickAxisIndex: Lje, setSyncInteraction: zQ, setKeyboardInteraction: BQ } = FQ.actions, Rje = FQ.reducer;+}), { addTooltipEntrySettings: Fje, replaceTooltipEntrySettings: Ije, removeTooltipEntrySettings: Lje, setTooltipSettingsState: Rje, setActiveMouseOverItemIndex: MQ, mouseLeaveItem: zje, mouseLeaveChart: NQ, setActiveClickItemIndex: Bje, setMouseOverAxisIndex: PQ, setMouseClickAxisIndex: Vje, setSyncInteraction: FQ, setKeyboardInteraction: IQ } = jQ.actions, Hje = jQ.reducer;//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js-function VQ(e, t) {+function LQ(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -63800,30 +63800,30 @@ function VQ(e, t) {}return n;}-function HQ(e) {+function RQ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? VQ(Object(n), !0).forEach(function(t) {- zje(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : VQ(Object(n)).forEach(function(t) {+ t % 2 ? LQ(Object(n), !0).forEach(function(t) {+ Uje(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LQ(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function zje(e, t, n) {- return (t = Bje(t)) in e ? Object.defineProperty(e, t, {+function Uje(e, t, n) {+ return (t = Wje(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Bje(e) {- var t = Vje(e, "string");+function Wje(e) {+ var t = Gje(e, "string");return typeof t == "symbol" ? t : t + "";}-function Vje(e, t) {+function Gje(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -63833,22 +63833,22 @@ function Vje(e, t) {}return (t === "string" ? String : Number)(e);}-function Hje(e, t, n) {+function Kje(e, t, n) {return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;}-function Uje(e) {+function qje(e) {return e.index != null;}-var UQ = (e, t, n, r) => {- if (t == null) return PQ;- var i = Hje(e, t, n);- if (i == null) return PQ;+var zQ = (e, t, n, r) => {+ if (t == null) return AQ;+ var i = Kje(e, t, n);+ if (i == null) return AQ;if (i.active) return i;if (e.keyboardInteraction.active) return e.keyboardInteraction;if (e.syncInteraction.active && e.syncInteraction.index != null) return e.syncInteraction;var a = e.settings.active === !0;- if (Uje(i)) {- if (a) return HQ(HQ({}, i), {}, { active: !0 });+ if (qje(i)) {+ if (a) return RQ(RQ({}, i), {}, { active: !0 });} else if (r != null) return {active: !0,coordinate: void 0,@@ -63856,11 +63856,11 @@ var UQ = (e, t, n, r) => {index: r,graphicalItemId: void 0};- return HQ(HQ({}, PQ), {}, { coordinate: i.coordinate });+ return RQ(RQ({}, AQ), {}, { coordinate: i.coordinate });};//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js-function Wje(e) {+function Jje(e) {if (typeof e == "number") return Number.isFinite(e) ? e : void 0;if (e instanceof Date) {var t = e.valueOf();@@ -63869,25 +63869,25 @@ function Wje(e) {var n = Number(e);return Number.isFinite(n) ? n : void 0;}-function Gje(e, t) {- var n = Wje(e), r = t[0], i = t[1];+function Yje(e, t) {+ var n = Jje(e), r = t[0], i = t[1];return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);}-function Kje(e, t, n) {+function Xje(e, t, n) {if (n == null || t == null) return !0;- var r = YU(e, t);- return r == null || !ZK(n) || Gje(r, n);+ var r = GU(e, t);+ return r == null || !qK(n) || Yje(r, n);}-var WQ = (e, t, n, r) => {+var BQ = (e, t, n, r) => {var i = e?.index;if (i == null) return null;var a = Number(i);- if (!GU(a)) return i;+ if (!VU(a)) return i;var o = 0, s = Infinity;t.length > 0 && (s = t.length - 1);var c = Math.max(o, Math.min(a, s)), l = t[c];- return l == null || Kje(l, n, r) ? String(c) : null;-}, GQ = (e, t, n, r, i, a, o) => {+ return l == null || Xje(l, n, r) ? String(c) : null;+}, VQ = (e, t, n, r, i, a, o) => {if (a != null) {var s = o[0]?.getPosition(a);if (s != null) return s;@@ -63903,7 +63903,7 @@ var WQ = (e, t, n, r) => {};}}-}, KQ = (e, t, n, r) => {+}, HQ = (e, t, n, r) => {if (t === "axis") return e.tooltipItemPayloads;if (e.tooltipItemPayloads.length === 0) return [];var i = n === "hover" ? e.itemInteraction.hover.graphicalItemId : e.itemInteraction.click.graphicalItemId;@@ -63913,10 +63913,10 @@ var WQ = (e, t, n, r) => {return a == null ? [] : [a];}return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);-}, qQ = (e) => e.options.tooltipPayloadSearcher, JQ = (e) => e.tooltip;+}, UQ = (e) => e.options.tooltipPayloadSearcher, WQ = (e) => e.tooltip;//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js-function YQ(e, t) {+function GQ(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -63926,30 +63926,30 @@ function YQ(e, t) {}return n;}-function XQ(e) {+function KQ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? YQ(Object(n), !0).forEach(function(t) {- qje(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YQ(Object(n)).forEach(function(t) {+ t % 2 ? GQ(Object(n), !0).forEach(function(t) {+ Zje(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GQ(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function qje(e, t, n) {- return (t = Jje(t)) in e ? Object.defineProperty(e, t, {+function Zje(e, t, n) {+ return (t = Qje(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Jje(e) {- var t = Yje(e, "string");+function Qje(e) {+ var t = $je(e, "string");return typeof t == "symbol" ? t : t + "";}-function Yje(e, t) {+function $je(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -63959,222 +63959,222 @@ function Yje(e, t) {}return (t === "string" ? String : Number)(e);}-function Xje(e) {+function eMe(e) {if (typeof e == "string" || typeof e == "number") return e;}-function Zje(e) {+function tMe(e) {if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;}-function Qje(e) {+function nMe(e) {if (typeof e == "string" || typeof e == "number") return e;if (typeof e == "function") return (t) => e(t);}-function ZQ(e) {+function qQ(e) {if (typeof e == "string") return e;}-function $je(e) {+function rMe(e) {if (!(typeof e != "object" || !e)) return {- name: "name" in e ? Xje(e.name) : void 0,- unit: "unit" in e ? Zje(e.unit) : void 0,- dataKey: "dataKey" in e ? Qje(e.dataKey) : void 0,+ name: "name" in e ? eMe(e.name) : void 0,+ unit: "unit" in e ? tMe(e.unit) : void 0,+ dataKey: "dataKey" in e ? nMe(e.dataKey) : void 0,payload: "payload" in e ? e.payload : void 0,- color: "color" in e ? ZQ(e.color) : void 0,- fill: "fill" in e ? ZQ(e.fill) : void 0+ color: "color" in e ? qQ(e.color) : void 0,+ fill: "fill" in e ? qQ(e.fill) : void 0};}-function eMe(e, t) {+function iMe(e, t) {return e ?? t;}-var QQ = (e, t, n, r, i, a, o) => {+var JQ = (e, t, n, r, i, a, o) => {if (t != null && a != null) {var { chartData: s, computedData: c, dataStartIndex: l, dataEndIndex: u } = n;return e.reduce((e, n) => {- var { dataDefinedOnItem: d, settings: f } = n, p = eMe(d, s), m = Array.isArray(p) ? WU(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? BB(m, r, i) : a(m, t, c, g);+ var { dataDefinedOnItem: d, settings: f } = n, p = iMe(d, s), m = Array.isArray(p) ? BU(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? zB(m, r, i) : a(m, t, c, g);return Array.isArray(_) ? _.forEach((t) => {- var n = $je(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = XQ(XQ({}, f), {}, {+ var n = rMe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = KQ(KQ({}, f), {}, {name: r,unit: n?.unit,color: n?.color ?? f?.color,fill: n?.fill ?? f?.fill});- e.push(sW({+ e.push(rW({tooltipEntrySettings: o,dataKey: i,payload: a,- value: YU(a, i),+ value: GU(a, i),name: r == null ? void 0 : String(r)}));- }) : e.push(sW({+ }) : e.push(rW({tooltipEntrySettings: f,dataKey: h,payload: _,- value: YU(_, h),- name: YU(_, g) ?? f?.name+ value: GU(_, h),+ name: GU(_, g) ?? f?.name})), e;}, []);}-}, $Q = $([- IZ,- bZ,- hq-], oZ), e$ = $([+}, YQ = $([+ MZ,+ gZ,+ dq+], nZ), XQ = $([$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),- IZ,- $([Wq, Gq], xZ)-], CZ, { memoizeOptions: { resultEqualityCheck: Uq } }), tMe = $([e$], (e) => e.filter(Vq)), t$ = $([$([e$], DZ, { memoizeOptions: { resultEqualityCheck: Uq } }), qK], OZ), nMe = $([- tMe,- qK,- IZ-], Bq), n$ = $([- t$,- IZ,- e$-], AZ), r$ = $([IZ], VZ), i$ = $([r$, $([IZ], (e) => e.allowDataOverflow)], $K), rMe = $([+ MZ,+ $([Bq, Vq], _Z)+], yZ, { memoizeOptions: { resultEqualityCheck: zq } }), aMe = $([XQ], (e) => e.filter(Lq)), ZQ = $([$([XQ], CZ, { memoizeOptions: { resultEqualityCheck: zq } }), UK], wZ), oMe = $([+ aMe,+ UK,+ MZ+], Iq), QQ = $([+ ZQ,+ MZ,+ XQ+], EZ), $Q = $([MZ], LZ), e$ = $([$Q, $([MZ], (e) => e.allowDataOverflow)], YK), sMe = $([$([- nMe,- $([e$], (e) => e.filter(Vq)),- pq,- mq- ], RZ),- qK,- Wq,- i$-], BZ), iMe = $([- t$,- IZ,- $([e$], EZ),- WZ,- Wq-], KZ, { memoizeOptions: { resultEqualityCheck: Hq } }), aMe = $([$([- qZ,- Wq,- Gq-], JZ), Wq], ZZ), oMe = $([$([- YZ,- Wq,- Gq-], JZ), Wq], QZ), a$ = $([- IZ,- IW,- t$,- n$,- pq,- Wq,+ oMe,+ $([XQ], (e) => e.filter(Lq)),+ lq,+ uq+ ], PZ),+ UK,+ Bq,+ e$+], IZ), cMe = $([+ ZQ,+ MZ,+ $([XQ], SZ),+ BZ,+ Bq+], HZ, { memoizeOptions: { resultEqualityCheck: Rq } }), lMe = $([$([+ UZ,+ Bq,+ Vq+], WZ), Bq], qZ), uMe = $([$([+ GZ,+ Bq,+ Vq+], WZ), Bq], JZ), t$ = $([+ MZ,+ MW,+ ZQ,+ QQ,+ lq,+ Bq,$([- IZ,- r$,- i$,- rMe,- iMe,+ MZ,+ $Q,+ e$,+ sMe,+ cMe,$([- aMe,+ lMe,$([$([- XZ,- Wq,- Gq- ], JZ), Wq], $Z),- oMe- ], GZ),- IW,- Wq- ], eQ)-], tQ), sMe = $([- IZ,- a$,+ KZ,+ Bq,+ Vq+ ], WZ), Bq], YZ),+ uMe+ ], VZ),+ MW,+ Bq+ ], XZ)+], ZZ), dMe = $([+ MZ,+ t$,$([- a$,- IZ,- $Q- ], iQ),- Wq-], oQ), o$ = (e) => cQ(e, Wq(e), Gq(e), !1), s$ = $([IZ, o$], Sq), c$ = $([$([- IZ,- $Q,- sMe,- s$-], aZ)], Kq), l$ = $([- IW,- IZ,- $Q,- c$,- o$,+ t$,+ MZ,+ YQ+ ], eQ),+ Bq+], nQ), n$ = (e) => iQ(e, Bq(e), Vq(e), !1), r$ = $([MZ, n$], vq), i$ = $([$([+ MZ,+ YQ,+ dMe,+ r$+], tZ)], Hq), a$ = $([+ MW,+ MZ,+ YQ,+ i$,+ n$,$([- IW,- n$,- IZ,- Wq- ], xQ),+ MW,+ QQ,+ MZ,+ Bq+ ], _Q),$([- IW,- n$,- IZ,- Wq- ], dQ),- Wq+ MW,+ QQ,+ MZ,+ Bq+ ], sQ),+ Bq], (e, t, n, r, i, a, o, s) => {if (t) {- var { type: c } = t, l = XU(e, s);+ var { type: c } = t, l = KU(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 ? MB(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? jB(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {var n = r.map(e);- return GU(n) ? {+ return VU(n) ? {coordinate: n + d,value: e,index: t,offset: d} : null;- }).filter(UB) : r.domain().map((e, t) => {+ }).filter(HB) : r.domain().map((e, t) => {var n = r.map(e);- return GU(n) ? {+ return VU(n) ? {coordinate: n + d,value: a ? a[e] : e,index: t,offset: d} : null;- }).filter(UB);+ }).filter(HB);}}-}), u$ = $([- kQ,- AQ,- Aje-], (e, t, n) => jQ(n.shared, e, t)), d$ = (e) => e.tooltip.settings.trigger, f$ = (e) => e.tooltip.settings.defaultIndex, p$ = $([- JQ,- u$,- d$,- f$-], UQ), m$ = $([- p$,- t$,- LZ,- a$-], WQ), h$ = $([l$, m$], NQ), g$ = $([p$], (e) => {+}), o$ = $([+ TQ,+ EQ,+ Pje+], (e, t, n) => DQ(n.shared, e, t)), s$ = (e) => e.tooltip.settings.trigger, c$ = (e) => e.tooltip.settings.defaultIndex, l$ = $([+ WQ,+ o$,+ s$,+ c$+], zQ), u$ = $([+ l$,+ ZQ,+ NZ,+ t$+], BQ), d$ = $([a$, u$], kQ), f$ = $([l$], (e) => {if (e) return e.dataKey;-}), cMe = $([p$], (e) => {+}), fMe = $([l$], (e) => {if (e) return e.graphicalItemId;-}), _$ = $([- JQ,+}), p$ = $([+ WQ,+ o$,+ s$,+ c$+], HQ), pMe = $([l$, $([+ aW,+ oW,+ MW,+ fW,+ a$,+ c$,+ p$+], VQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), mMe = $([l$], (e) => e?.active ?? !1), hMe = $([$([+ p$,u$,+ UK,+ NZ,d$,- f$-], KQ), lMe = $([p$, $([- lW,- uW,- IW,- gW,- l$,- f$,- _$-], GQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), uMe = $([p$], (e) => e?.active ?? !1), dMe = $([$([- _$,- m$,- qK,- LZ,- h$,- qQ,- u$-], QQ)], (e) => {+ UQ,+ o$+], JQ)], (e) => {if (e != null) {var t = e.map((e) => e.payload).filter((e) => e != null);return Array.from(new Set(t));@@ -64182,7 +64182,7 @@ var QQ = (e, t, n, r, i, a, o) => {});//#endregion//#region node_modules/recharts/es6/context/useTooltipAxis.js-function v$(e, t) {+function m$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64192,30 +64192,30 @@ function v$(e, t) {}return n;}-function y$(e) {+function h$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? v$(Object(n), !0).forEach(function(t) {- fMe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v$(Object(n)).forEach(function(t) {+ t % 2 ? m$(Object(n), !0).forEach(function(t) {+ gMe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function fMe(e, t, n) {- return (t = pMe(t)) in e ? Object.defineProperty(e, t, {+function gMe(e, t, n) {+ return (t = _Me(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function pMe(e) {- var t = mMe(e, "string");+function _Me(e) {+ var t = vMe(e, "string");return typeof t == "symbol" ? t : t + "";}-function mMe(e, t) {+function vMe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64225,13 +64225,13 @@ function mMe(e, t) {}return (t === "string" ? String : Number)(e);}-var hMe = () => Q(IZ), gMe = () => {- var e = hMe(), t = Q(l$), n = Q(c$);- return oW(!e || !n ? void 0 : y$(y$({}, e), {}, { scale: n }), t);+var yMe = () => Q(MZ), bMe = () => {+ var e = yMe(), t = Q(a$), n = Q(i$);+ return nW(!e || !n ? void 0 : h$(h$({}, e), {}, { scale: n }), t);};//#endregion//#region node_modules/recharts/es6/util/getActiveCoordinate.js-function b$(e, t) {+function g$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64241,30 +64241,30 @@ function b$(e, t) {}return n;}-function x$(e) {+function _$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? b$(Object(n), !0).forEach(function(t) {- _Me(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b$(Object(n)).forEach(function(t) {+ t % 2 ? g$(Object(n), !0).forEach(function(t) {+ xMe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function _Me(e, t, n) {- return (t = vMe(t)) in e ? Object.defineProperty(e, t, {+function xMe(e, t, n) {+ return (t = SMe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function vMe(e) {- var t = yMe(e, "string");+function SMe(e) {+ var t = CMe(e, "string");return typeof t == "symbol" ? t : t + "";}-function yMe(e, t) {+function CMe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64274,7 +64274,7 @@ function yMe(e, t) {}return (t === "string" ? String : Number)(e);}-var bMe = (e, t, n, r) => {+var wMe = (e, t, n, r) => {var i = t.find((e) => e && e.index === n);if (i) {if (e === "horizontal") return {@@ -64290,18 +64290,18 @@ var bMe = (e, t, n, r) => {x: 0,y: 0};-}, xMe = (e, t, n, r) => {+}, TMe = (e, t, n, r) => {var i = t.find((e) => e && e.index === n);if (i) {if (e === "centric") {var a = i.coordinate, { radius: o } = r;- return x$(x$(x$({}, r), RK(r.cx, r.cy, o, a)), {}, {+ return _$(_$(_$({}, r), PK(r.cx, r.cy, o, a)), {}, {angle: a,radius: o});}var s = i.coordinate, { angle: c } = r;- return x$(x$(x$({}, r), RK(r.cx, r.cy, s, c)), {}, {+ return _$(_$(_$({}, r), PK(r.cx, r.cy, s, c)), {}, {angle: c,radius: s});@@ -64320,19 +64320,19 @@ var bMe = (e, t, n, r) => {y: 0};};-function SMe(e, t) {+function EMe(e, t) {var { relativeX: n, relativeY: r } = e;return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;}-var S$ = (e, t, n, r, i) => {+var v$ = (e, t, n, r, i) => {var a = t?.length ?? 0;if (a <= 1 || e == null) return 0;if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 0; o < a; o++) {var s = o > 0 ? n[o - 1]?.coordinate : n[a - 1]?.coordinate, c = n[o]?.coordinate, l = o >= a - 1 ? n[0]?.coordinate : n[o + 1]?.coordinate, u = void 0;if (s != null && c != null && l != null) {- if (MB(c - s) !== MB(l - c)) {+ if (jB(c - s) !== jB(l - c)) {var d = [];- if (MB(l - c) === MB(i[1] - i[0])) {+ if (jB(l - c) === jB(i[1] - i[0])) {u = l;var f = c + i[1] - i[0];d[0] = Math.min(f, (f + s) / 2), d[1] = Math.max(f, (f + s) / 2);@@ -64357,78 +64357,78 @@ var S$ = (e, t, n, r, i) => {}}return -1;-}, C$ = () => Q(hq), w$ = (e, t) => t, T$ = (e, t, n) => n, E$ = (e, t, n, r) => r, CMe = $(l$, (e) => zV(e, (e) => e.coordinate)), D$ = $([- JQ,- w$,- T$,- E$-], UQ), O$ = $([- D$,- t$,- LZ,- a$-], WQ), wMe = (e, t, n) => {+}, y$ = () => Q(dq), b$ = (e, t) => t, x$ = (e, t, n) => n, S$ = (e, t, n, r) => r, DMe = $(a$, (e) => FV(e, (e) => e.coordinate)), C$ = $([+ WQ,+ b$,+ x$,+ S$+], zQ), w$ = $([+ C$,+ ZQ,+ NZ,+ t$+], BQ), OMe = (e, t, n) => {if (t != null) {- var r = JQ(e);+ var r = WQ(e);return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;}-}, k$ = $([- JQ,- w$,+}, T$ = $([+ WQ,+ b$,+ x$,+ S$+], HQ), E$ = $([+ aW,+ oW,+ MW,+ fW,+ a$,+ S$,+ T$+], VQ), kMe = $([C$, E$], (e, t) => e.coordinate ?? t), D$ = $([a$, w$], kQ), AMe = $([T$,- E$-], KQ), A$ = $([- lW,- uW,- IW,- gW,- l$,- E$,- k$-], GQ), TMe = $([D$, A$], (e, t) => e.coordinate ?? t), j$ = $([l$, O$], NQ), EMe = $([- k$,- O$,- qK,- LZ,- j$,- qQ,- w$-], QQ), DMe = $([D$, O$], (e, t) => ({+ w$,+ UK,+ NZ,+ D$,+ UQ,+ b$+], JQ), jMe = $([C$, w$], (e, t) => ({isActive: e.active && t != null,activeIndex: t-})), OMe = (e, t, n, r, i, a, o) => {- if (!(!e || !n || !r || !i) && SMe(e, o)) {- var s = S$(eTe(e, t), a, i, n, r), c = bMe(t, i, s, e);+})), MMe = (e, t, n, r, i, a, o) => {+ if (!(!e || !n || !r || !i) && EMe(e, o)) {+ var s = v$(iTe(e, t), a, i, n, r), c = wMe(t, i, s, e);return {activeIndex: String(s),activeCoordinate: c};}-}, kMe = (e, t, n, r, i, a, o) => {+}, NMe = (e, t, n, r, i, a, o) => {if (!(!e || !r || !i || !a || !n)) {- var s = WDe(e, n);+ var s = JDe(e, n);if (s) {- var c = S$(tTe(s, t), o, a, r, i), l = xMe(t, a, c, s);+ var c = v$(aTe(s, t), o, a, r, i), l = TMe(t, a, c, s);return {activeIndex: String(c),activeCoordinate: l};}}-}, AMe = (e, t, n, r, i, a, o, s) => {- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? OMe(e, t, r, i, a, o, s) : kMe(e, t, n, r, i, a, o);-}, jMe = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {+}, PMe = (e, t, n, r, i, a, o, s) => {+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? MMe(e, t, r, i, a, o, s) : NMe(e, t, n, r, i, a, o);+}, FMe = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {if (t != null) {var r = e[t];if (r != null) return n ? r.panoramaElement : r.element;}-}), MMe = $((e) => e.zIndex.zIndexMap, (e) => {- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(yq));+}), IMe = $((e) => e.zIndex.zIndexMap, (e) => {+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(hq));return Array.from(new Set(t)).sort((e, t) => e - t);-}, { memoizeOptions: { resultEqualityCheck: dOe } });+}, { memoizeOptions: { resultEqualityCheck: hOe } });//#endregion//#region node_modules/recharts/es6/state/zIndexSlice.js-function M$(e, t) {+function O$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64438,30 +64438,30 @@ function M$(e, t) {}return n;}-function N$(e) {+function k$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? M$(Object(n), !0).forEach(function(t) {- NMe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M$(Object(n)).forEach(function(t) {+ t % 2 ? O$(Object(n), !0).forEach(function(t) {+ LMe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function NMe(e, t, n) {- return (t = PMe(t)) in e ? Object.defineProperty(e, t, {+function LMe(e, t, n) {+ return (t = RMe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function PMe(e) {- var t = FMe(e, "string");+function RMe(e) {+ var t = zMe(e, "string");return typeof t == "symbol" ? t : t + "";}-function FMe(e, t) {+function zMe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64471,17 +64471,17 @@ function FMe(e, t) {}return (t === "string" ? String : Number)(e);}-var IMe = { zIndexMap: Object.values(yq).reduce((e, t) => N$(N$({}, e), {}, { [t]: {+var BMe = { zIndexMap: Object.values(hq).reduce((e, t) => k$(k$({}, e), {}, { [t]: {element: void 0,panoramaElement: void 0,consumers: 0-} }), {}) }, LMe = new Set(Object.values(yq));-function RMe(e) {- return LMe.has(e);+} }), {}) }, VMe = new Set(Object.values(hq));+function HMe(e) {+ return VMe.has(e);}-var P$ = gU({+var A$ = fU({name: "zIndex",- initialState: IMe,+ initialState: BMe,reducers: {registerZIndexPortal: {reducer: (e, t) => {@@ -64492,61 +64492,61 @@ var P$ = gU({panoramaElement: void 0};},- prepare: fU()+ prepare: cU()},unregisterZIndexPortal: {reducer: (e, t) => {var { zIndex: n } = t.payload;- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !RMe(n) && delete e.zIndexMap[n]);+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !HMe(n) && delete e.zIndexMap[n]);},- prepare: fU()+ prepare: cU()},registerZIndexPortalElement: {reducer: (e, t) => {var { zIndex: n, element: r, isPanorama: i } = t.payload;- e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = DG(r) : e.zIndexMap[n].element = DG(r) : e.zIndexMap[n] = {+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = CG(r) : e.zIndexMap[n].element = CG(r) : e.zIndexMap[n] = {consumers: 0,- element: i ? void 0 : DG(r),- panoramaElement: i ? DG(r) : void 0+ element: i ? void 0 : CG(r),+ panoramaElement: i ? CG(r) : void 0};},- prepare: fU()+ prepare: cU()},unregisterZIndexPortalElement: {reducer: (e, t) => {var { zIndex: n } = t.payload;e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);},- prepare: fU()+ prepare: cU()}}-}), { registerZIndexPortal: zMe, unregisterZIndexPortal: BMe, registerZIndexPortalElement: VMe, unregisterZIndexPortalElement: HMe } = P$.actions, UMe = P$.reducer;+}), { registerZIndexPortal: UMe, unregisterZIndexPortal: WMe, registerZIndexPortalElement: GMe, unregisterZIndexPortalElement: KMe } = A$.actions, qMe = A$.reducer;//#endregion//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js-function F$(e) {- var { zIndex: t, children: n } = e, r = ATe() && t !== void 0 && t !== 0, i = vW(), a = jV();- (0, B.useLayoutEffect)(() => r ? (a(zMe({ zIndex: t })), () => {- a(BMe({ zIndex: t }));- }) : WB, [+function j$(e) {+ var { zIndex: t, children: n } = e, r = PTe() && t !== void 0 && t !== 0, i = mW(), a = DV();+ (0, B.useLayoutEffect)(() => r ? (a(UMe({ zIndex: t })), () => {+ a(WMe({ zIndex: t }));+ }) : UB, [a,t,r]);- var o = Q((e) => jMe(e, t, i));+ var o = Q((e) => FMe(e, t, i));return r ? o ? /*#__PURE__*/ (0, $f.createPortal)(n, o) : null : n;}//#endregion//#region node_modules/recharts/es6/component/Cursor.js-function I$() {- return I$ = Object.assign ? Object.assign.bind() : function(e) {+function M$() {+ return M$ = 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;- }, I$.apply(null, arguments);+ }, M$.apply(null, arguments);}-function L$(e, t) {+function N$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64556,30 +64556,30 @@ function L$(e, t) {}return n;}-function R$(e) {+function P$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? L$(Object(n), !0).forEach(function(t) {- WMe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L$(Object(n)).forEach(function(t) {+ t % 2 ? N$(Object(n), !0).forEach(function(t) {+ JMe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function WMe(e, t, n) {- return (t = GMe(t)) in e ? Object.defineProperty(e, t, {+function JMe(e, t, n) {+ return (t = YMe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function GMe(e) {- var t = KMe(e, "string");+function YMe(e) {+ var t = XMe(e, "string");return typeof t == "symbol" ? t : t + "";}-function KMe(e, t) {+function XMe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64589,18 +64589,18 @@ function KMe(e, t) {}return (t === "string" ? String : Number)(e);}-function qMe(e) {+function ZMe(e) {var { cursor: t, cursorComp: n, cursorProps: r } = e;return /*#__PURE__*/ (0, B.isValidElement)(t) ? /*#__PURE__*/ (0, B.cloneElement)(t, r) : /*#__PURE__*/ (0, B.createElement)(n, r);}-function JMe(e) {+function QMe(e) {var { coordinate: t, payload: n, index: r, offset: i, tooltipAxisBandSize: a, layout: o, cursor: s, tooltipEventType: c, chartName: l } = e, u = t, d = n, f = r;if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;var p, m, h;- if (l === "ScatterChart") p = u, m = JEe, h = yq.cursorLine;- else if (l === "BarChart") p = YEe(o, u, i, a), m = NK, h = yq.cursorRectangle;- else if (o === "radial" && XB(u)) {- var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = zK(u);+ if (l === "ScatterChart") p = u, m = QEe, h = hq.cursorLine;+ else if (l === "BarChart") p = $Ee(o, u, i, a), m = kK, h = hq.cursorRectangle;+ else if (o === "radial" && YB(u)) {+ var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = FK(u);p = {cx: g,cy: _,@@ -64608,25 +64608,25 @@ function JMe(e) {endAngle: b,innerRadius: v,outerRadius: v- }, m = WK, h = yq.cursorLine;- } else p = { points: tOe(o, u, i) }, m = oK, h = yq.cursorLine;- var x = typeof s == "object" && "className" in s ? s.className : void 0, S = R$(R$(R$(R$({+ }, m = BK, h = hq.cursorLine;+ } else p = { points: aOe(o, u, i) }, m = nK, h = hq.cursorLine;+ var x = typeof s == "object" && "className" in s ? s.className : void 0, S = P$(P$(P$(P$({stroke: "#ccc",pointerEvents: "none"- }, i), p), Tz(s)), {}, {+ }, i), p), wz(s)), {}, {payload: d,payloadIndex: f,className: _h("recharts-tooltip-cursor", x)});- return /*#__PURE__*/ B.createElement(F$, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ B.createElement(qMe, {+ return /*#__PURE__*/ B.createElement(j$, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ B.createElement(ZMe, {cursor: s,cursorComp: m,cursorProps: S}));}-function YMe(e) {- var t = gMe(), n = NW(), r = LW(), i = C$();- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ B.createElement(JMe, I$({}, e, {+function $Me(e) {+ var t = bMe(), n = kW(), r = NW(), i = y$();+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ B.createElement(QMe, M$({}, e, {offset: n,layout: r,tooltipAxisBandSize: t,@@ -64635,7 +64635,7 @@ function YMe(e) {}//#endregion//#region node_modules/recharts/es6/context/tooltipPortalContext.js-var z$ = /*#__PURE__*/ (0, B.createContext)(null), XMe = () => (0, B.useContext)(z$), ZMe = (/* @__PURE__ */ Tt((/* @__PURE__ */ xt(((e, t) => {+var F$ = /*#__PURE__*/ (0, B.createContext)(null), eNe = () => (0, B.useContext)(F$), tNe = (/* @__PURE__ */ Tt((/* @__PURE__ */ xt(((e, t) => {var n = Object.prototype.hasOwnProperty, r = "~";function i() {}Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));@@ -64722,12 +64722,12 @@ var z$ = /*#__PURE__*/ (0, B.createContext)(null), XMe = () => (0, B.useContext)var t;return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);-})))(), 1)).default, B$ = new ZMe(), V$ = "recharts.syncEvent.tooltip", H$ = "recharts.syncEvent.brush", U$ = (e, t) => {+})))(), 1)).default, I$ = new tNe(), L$ = "recharts.syncEvent.tooltip", R$ = "recharts.syncEvent.brush", z$ = (e, t) => {if (t && Array.isArray(e)) {var n = Number.parseInt(t, 10);- if (!NB(n)) return e[n];+ if (!MB(n)) return e[n];}-}, W$ = gU({+}, B$ = fU({name: "options",initialState: {chartName: "",@@ -64738,13 +64738,13 @@ var z$ = /*#__PURE__*/ (0, B.createContext)(null), XMe = () => (0, B.useContext)reducers: { createEventEmitter: (e) => {e.eventEmitter ??= Symbol("rechartsEventEmitter");} }-}), QMe = W$.reducer, { createEventEmitter: $Me } = W$.actions;+}), nNe = B$.reducer, { createEventEmitter: rNe } = B$.actions;//#endregion//#region node_modules/recharts/es6/synchronisation/syncSelectors.js-function eNe(e) {+function iNe(e) {return e.tooltip.syncInteraction;}-var G$ = gU({+var V$ = fU({name: "chartData",initialState: {chartData: void 0,@@ -64754,7 +64754,7 @@ var G$ = gU({},reducers: {setChartData(e, t) {- if (e.chartData = DG(t.payload), t.payload == null) {+ if (e.chartData = CG(t.payload), t.payload == null) {e.dataStartIndex = 0, e.dataEndIndex = 0;return;}@@ -64768,8 +64768,8 @@ var G$ = gU({n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);}}-}), { setChartData: K$, setDataStartEndIndexes: tNe, setComputedData: nNe } = G$.actions, rNe = G$.reducer, iNe = ["x", "y"];-function q$(e, t) {+}), { setChartData: H$, setDataStartEndIndexes: aNe, setComputedData: oNe } = V$.actions, sNe = V$.reducer, cNe = ["x", "y"];+function U$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64779,30 +64779,30 @@ function q$(e, t) {}return n;}-function J$(e) {+function W$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? q$(Object(n), !0).forEach(function(t) {- aNe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q$(Object(n)).forEach(function(t) {+ t % 2 ? U$(Object(n), !0).forEach(function(t) {+ lNe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function aNe(e, t, n) {- return (t = oNe(t)) in e ? Object.defineProperty(e, t, {+function lNe(e, t, n) {+ return (t = uNe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function oNe(e) {- var t = sNe(e, "string");+function uNe(e) {+ var t = dNe(e, "string");return typeof t == "symbol" ? t : t + "";}-function sNe(e, t) {+function dNe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64812,16 +64812,16 @@ function sNe(e, t) {}return (t === "string" ? String : Number)(e);}-function cNe(e, t) {+function fNe(e, t) {if (e == null) return {};- var n, r, i = lNe(e, t);+ var n, r, i = pNe(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 lNe(e, t) {+function pNe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -64830,20 +64830,20 @@ function lNe(e, t) {}return n;}-function uNe() {- var e = Q(gq), t = Q(vq), n = jV(), r = Q(_q), i = Q(l$), a = LW(), o = MW(), s = Q((e) => e.rootProps.className);+function mNe() {+ var e = Q(fq), t = Q(mq), n = DV(), r = Q(pq), i = Q(a$), a = NW(), o = OW(), s = Q((e) => e.rootProps.className);(0, B.useEffect)(() => {- if (e == null) return WB;+ if (e == null) return UB;var s = (s, c, l) => {if (t !== l && e === s) {if (r === "index") {var u;if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {- var d = c.payload.coordinate, { x: f, y: p } = d, m = cNe(d, iNe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = J$(J$({}, m), {}, {+ var d = c.payload.coordinate, { x: f, y: p } = d, m = fNe(d, cNe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = W$(W$({}, m), {}, {x: o.x + (_ ? (f - h) / _ : 0) * o.width,y: o.y + (v ? (p - g) / v : 0) * o.height});- n(J$(J$({}, c), {}, { payload: J$(J$({}, c.payload), {}, { coordinate: y }) }));+ n(W$(W$({}, c), {}, { payload: W$(W$({}, c.payload), {}, { coordinate: y }) }));} else n(c);return;}@@ -64859,7 +64859,7 @@ function uNe() {})] : r === "value" && (b = i.find((e) => String(e.value) === c.payload.label));var { coordinate: x } = c.payload;if (b == null || c.payload.active === !1 || x == null || o == null) {- n(zQ({+ n(FQ({active: !1,coordinate: void 0,dataKey: void 0,@@ -64874,7 +64874,7 @@ function uNe() {x: a === "horizontal" ? b.coordinate : w,y: a === "horizontal" ? T : b.coordinate};- n(zQ({+ n(FQ({active: c.payload.active,coordinate: E,dataKey: c.payload.dataKey,@@ -64886,8 +64886,8 @@ function uNe() {}}};- return B$.on(V$, s), () => {- B$.off(V$, s);+ return I$.on(L$, s), () => {+ I$.off(L$, s);};}, [s,@@ -64900,15 +64900,15 @@ function uNe() {o]);}-function dNe() {- var e = Q(gq), t = Q(vq), n = jV();+function hNe() {+ var e = Q(fq), t = Q(mq), n = DV();(0, B.useEffect)(() => {- if (e == null) return WB;+ if (e == null) return UB;var r = (r, i, a) => {- t !== a && e === r && n(tNe(i));+ t !== a && e === r && n(aNe(i));};- return B$.on(H$, r), () => {- B$.off(H$, r);+ return I$.on(R$, r), () => {+ I$.off(R$, r);};}, [n,@@ -64916,17 +64916,17 @@ function dNe() {e]);}-function fNe() {- var e = jV();+function gNe() {+ var e = DV();(0, B.useEffect)(() => {- e($Me());- }, [e]), uNe(), dNe();+ e(rNe());+ }, [e]), mNe(), hNe();}-function pNe(e, t, n, r, i, a) {- var o = Q((n) => wMe(n, e, t)), s = Q(cMe), c = Q(vq), l = Q(gq), u = Q(_q), d = Q(eNe)?.active, f = MW();+function _Ne(e, t, n, r, i, a) {+ var o = Q((n) => OMe(n, e, t)), s = Q(fMe), c = Q(mq), l = Q(fq), u = Q(pq), d = Q(iNe)?.active, f = OW();(0, B.useEffect)(() => {if (!d && l != null && c != null) {- var e = zQ({+ var e = FQ({active: a,coordinate: n,dataKey: o,@@ -64935,7 +64935,7 @@ function pNe(e, t, n, r, i, a) {sourceViewBox: f,graphicalItemId: s});- B$.emit(V$, l, e, c);+ I$.emit(L$, l, e, c);}}, [d,@@ -64953,7 +64953,7 @@ function pNe(e, t, n, r, i, a) {}//#endregion//#region node_modules/recharts/es6/component/Tooltip.js-function Y$(e, t) {+function G$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64963,30 +64963,30 @@ function Y$(e, t) {}return n;}-function X$(e) {+function K$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? Y$(Object(n), !0).forEach(function(t) {- mNe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y$(Object(n)).forEach(function(t) {+ t % 2 ? G$(Object(n), !0).forEach(function(t) {+ vNe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function mNe(e, t, n) {- return (t = hNe(t)) in e ? Object.defineProperty(e, t, {+function vNe(e, t, n) {+ return (t = yNe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function hNe(e) {- var t = gNe(e, "string");+function yNe(e) {+ var t = bNe(e, "string");return typeof t == "symbol" ? t : t + "";}-function gNe(e, t) {+function bNe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64996,13 +64996,13 @@ function gNe(e, t) {}return (t === "string" ? String : Number)(e);}-function _Ne(e) {+function xNe(e) {return e.dataKey;}-function vNe(e, t) {- return /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ B.createElement(e, t) : /*#__PURE__*/ B.createElement(wEe, t);+function SNe(e, t) {+ return /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ B.createElement(e, t) : /*#__PURE__*/ B.createElement(OEe, t);}-var Z$ = [], yNe = {+var q$ = [], CNe = {allowEscapeViewBox: {x: !1,y: !1@@ -65028,10 +65028,10 @@ var Z$ = [], yNe = {useTranslate3d: !1,wrapperStyle: {}};-function bNe(e) {- var t = eV(e, yNe), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = jV(), S = typeof v == "number" ? String(v) : v;+function wNe(e) {+ var t = $B(e, CNe), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = DV(), S = typeof v == "number" ? String(v) : v;(0, B.useEffect)(() => {- x(Pje({+ x(Rje({shared: g,trigger: _,axisId: b,@@ -65046,20 +65046,20 @@ function bNe(e) {n,S]);- var C = MW(), w = XG(), T = kje(g), { activeIndex: E, isActive: D } = Q((e) => DMe(e, T, _, S)) ?? {}, O = Q((e) => EMe(e, T, _, S)), k = Q((e) => j$(e, T, _, S)), A = Q((e) => TMe(e, T, _, S)), j = O, M = XMe(), N = n ?? D ?? !1, [P, ee] = HV([j, N]), F = T === "axis" ? k : void 0;- pNe(T, _, A, F, E, N);+ var C = OW(), w = KG(), T = Nje(g), { activeIndex: E, isActive: D } = Q((e) => jMe(e, T, _, S)) ?? {}, O = Q((e) => AMe(e, T, _, S)), k = Q((e) => D$(e, T, _, S)), A = Q((e) => kMe(e, T, _, S)), j = O, M = eNe(), N = n ?? D ?? !1, [P, ee] = RV([j, N]), F = T === "axis" ? k : void 0;+ _Ne(T, _, A, F, E, N);var I = y ?? M;if (I == null || C == null || T == null) return null;- var te = j ?? Z$;- N || (te = Z$), s && te.length && (te = kV(te.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, _Ne));- var ne = te.length > 0, re = X$(X$({}, t), {}, {+ var te = j ?? q$;+ N || (te = q$), s && te.length && (te = TV(te.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, xNe));+ var ne = te.length > 0, re = K$(K$({}, t), {}, {payload: te,label: F,active: N,activeIndex: E,coordinate: A,accessibilityLayer: w- }), ie = /*#__PURE__*/ B.createElement(PEe, {+ }), ie = /*#__PURE__*/ B.createElement(REe, {allowEscapeViewBox: r,animationDuration: i,animationEasing: a,@@ -65076,8 +65076,8 @@ function bNe(e) {lastBoundingBox: P,innerRef: ee,hasPortalFromProps: !!y- }, vNe(o, re));- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ (0, $f.createPortal)(ie, I), N && /*#__PURE__*/ B.createElement(YMe, {+ }, SNe(o, re));+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ (0, $f.createPortal)(ie, I), N && /*#__PURE__*/ B.createElement($Me, {cursor: h,tooltipEventType: T,coordinate: A,@@ -65087,23 +65087,23 @@ function bNe(e) {}//#endregion//#region node_modules/recharts/es6/component/Cell.js-var Q$ = (e) => null;-Q$.displayName = "Cell";+var J$ = (e) => null;+J$.displayName = "Cell";//#endregion//#region node_modules/recharts/es6/util/LRUCache.js-function xNe(e, t, n) {- return (t = SNe(t)) in e ? Object.defineProperty(e, t, {+function TNe(e, t, n) {+ return (t = ENe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function SNe(e) {- var t = CNe(e, "string");+function ENe(e) {+ var t = DNe(e, "string");return typeof t == "symbol" ? t : t + "";}-function CNe(e, t) {+function DNe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -65113,9 +65113,9 @@ function CNe(e, t) {}return (t === "string" ? String : Number)(e);}-var wNe = class {+var ONe = class {constructor(e) {- xNe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;+ TNe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;}get(e) {var t = this.cache.get(e);@@ -65138,7 +65138,7 @@ var wNe = class {};//#endregion//#region node_modules/recharts/es6/util/DOMUtils.js-function $$(e, t) {+function Y$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -65148,30 +65148,30 @@ function $$(e, t) {}return n;}-function TNe(e) {+function kNe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? $$(Object(n), !0).forEach(function(t) {- ENe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $$(Object(n)).forEach(function(t) {+ t % 2 ? Y$(Object(n), !0).forEach(function(t) {+ ANe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function ENe(e, t, n) {- return (t = DNe(t)) in e ? Object.defineProperty(e, t, {+function ANe(e, t, n) {+ return (t = jNe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function DNe(e) {- var t = ONe(e, "string");+function jNe(e) {+ var t = MNe(e, "string");return typeof t == "symbol" ? t : t + "";}-function ONe(e, t) {+function MNe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -65181,10 +65181,10 @@ function ONe(e, t) {}return (t === "string" ? String : Number)(e);}-var e1 = TNe({}, {+var X$ = kNe({}, {cacheSize: 2e3,enableCache: !0-}), t1 = new wNe(e1.cacheSize), kNe = {+}), Z$ = new ONe(X$.cacheSize), NNe = {position: "absolute",top: "-20000px",left: 0,@@ -65192,14 +65192,14 @@ var e1 = TNe({}, {margin: 0,border: "none",whiteSpace: "pre"-}, n1 = "recharts_measurement_span";-function ANe(e, t) {+}, Q$ = "recharts_measurement_span";+function PNe(e, t) {return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;}-var r1 = (e, t) => {+var $$ = (e, t) => {try {- var n = document.getElementById(n1);- n || (n = document.createElement("span"), n.setAttribute("id", n1), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, kNe, t), n.textContent = `${e}`;+ var n = document.getElementById(Q$);+ n || (n = document.createElement("span"), n.setAttribute("id", Q$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, NNe, t), n.textContent = `${e}`;var r = n.getBoundingClientRect();return {width: r.width,@@ -65211,31 +65211,31 @@ var r1 = (e, t) => {height: 0};}-}, i1 = function(e) {+}, e1 = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};- if (e == null || KG.isSsr) return {+ if (e == null || HG.isSsr) return {width: 0,height: 0};- if (!e1.enableCache) return r1(e, t);- var n = ANe(e, t), r = t1.get(n);+ if (!X$.enableCache) return $$(e, t);+ var n = PNe(e, t), r = Z$.get(n);if (r) return r;- var i = r1(e, t);- return t1.set(n, i), i;-}, a1;-function jNe(e, t, n) {- return (t = MNe(t)) in e ? Object.defineProperty(e, t, {+ var i = $$(e, t);+ return Z$.set(n, i), i;+}, t1;+function FNe(e, t, n) {+ return (t = INe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function MNe(e) {- var t = NNe(e, "string");+function INe(e) {+ var t = LNe(e, "string");return typeof t == "symbol" ? t : t + "";}-function NNe(e, t) {+function LNe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -65245,7 +65245,7 @@ function NNe(e, t) {}return (t === "string" ? String : Number)(e);}-var o1 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, s1 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, PNe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, FNe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, INe = {+var n1 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, r1 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, RNe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, zNe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, BNe = {cm: 96 / 2.54,mm: 96 / 25.4,pt: 96 / 72,@@ -65253,7 +65253,7 @@ var o1 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, s1 = /(in: 96,Q: 96 / 101.6,px: 1-}, LNe = [+}, VNe = ["cm","mm","pt",@@ -65262,20 +65262,20 @@ var o1 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, s1 = /("Q","px"];-function RNe(e) {- return LNe.includes(e);+function HNe(e) {+ return VNe.includes(e);}-var c1 = "NaN";-function zNe(e, t) {- return e * INe[t];+var i1 = "NaN";+function UNe(e, t) {+ return e * BNe[t];}-var l1 = class e {+var a1 = class e {static parse(t) {- var [, n, r] = FNe.exec(t) ?? [];+ var [, n, r] = zNe.exec(t) ?? [];return n == null ? e.NaN : new e(parseFloat(n), r ?? "");}constructor(e, t) {- this.num = e, this.unit = t, this.num = e, this.unit = t, NB(e) && (this.unit = ""), t !== "" && !PNe.test(t) && (this.num = NaN, this.unit = ""), RNe(t) && (this.num = zNe(e, t), this.unit = "px");+ this.num = e, this.unit = t, this.num = e, this.unit = t, MB(e) && (this.unit = ""), t !== "" && !RNe.test(t) && (this.num = NaN, this.unit = ""), HNe(t) && (this.num = UNe(e, t), this.unit = "px");}add(t) {return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");@@ -65293,50 +65293,50 @@ var l1 = class e {return `${this.num}${this.unit}`;}isNaN() {- return NB(this.num);+ return MB(this.num);}};-a1 = l1, jNe(l1, "NaN", new a1(NaN, ""));-function u1(e) {- if (e == null || e.includes(c1)) return c1;+t1 = a1, FNe(a1, "NaN", new t1(NaN, ""));+function o1(e) {+ if (e == null || e.includes(i1)) return i1;for (var t = e; t.includes("*") || t.includes("/");) {- var [, n, r, i] = o1.exec(t) ?? [], a = l1.parse(n ?? ""), o = l1.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);- if (s.isNaN()) return c1;- t = t.replace(o1, s.toString());+ var [, n, r, i] = n1.exec(t) ?? [], a = a1.parse(n ?? ""), o = a1.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);+ if (s.isNaN()) return i1;+ t = t.replace(n1, s.toString());}for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {- var [, c, l, u] = s1.exec(t) ?? [], d = l1.parse(c ?? ""), f = l1.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);- if (p.isNaN()) return c1;- t = t.replace(s1, p.toString());+ var [, c, l, u] = r1.exec(t) ?? [], d = a1.parse(c ?? ""), f = a1.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);+ if (p.isNaN()) return i1;+ t = t.replace(r1, p.toString());}return t;}-var d1 = /\(([^()]*)\)/;-function BNe(e) {- for (var t = e, n; (n = d1.exec(t)) != null;) {+var s1 = /\(([^()]*)\)/;+function WNe(e) {+ for (var t = e, n; (n = s1.exec(t)) != null;) {var [, r] = n;- t = t.replace(d1, u1(r));+ t = t.replace(s1, o1(r));}return t;}-function VNe(e) {+function GNe(e) {var t = e.replace(/\s+/g, "");- return t = BNe(t), t = u1(t), t;+ return t = WNe(t), t = o1(t), t;}-function HNe(e) {+function KNe(e) {try {- return VNe(e);+ return GNe(e);} catch {- return c1;+ return i1;}}-function f1(e) {- var t = HNe(e.slice(5, -1));- return t === c1 ? "" : t;+function c1(e) {+ var t = KNe(e.slice(5, -1));+ return t === i1 ? "" : t;}//#endregion//#region node_modules/recharts/es6/component/Text.js-var UNe = [+var qNe = ["x","y","lineHeight",@@ -65345,32 +65345,32 @@ var UNe = ["scaleToFit","textAnchor","verticalAnchor"-], WNe = [+], JNe = ["dx","dy","angle","className","breakAll"];-function p1() {- return p1 = Object.assign ? Object.assign.bind() : function(e) {+function l1() {+ return l1 = 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;- }, p1.apply(null, arguments);+ }, l1.apply(null, arguments);}-function m1(e, t) {+function u1(e, t) {if (e == null) return {};- var n, r, i = GNe(e, t);+ var n, r, i = YNe(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 GNe(e, t) {+function YNe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -65379,28 +65379,28 @@ function GNe(e, t) {}return n;}-var h1 = /[ \f\n\r\t\v\u2028\u2029]+/, g1 = (e) => {+var d1 = /[ \f\n\r\t\v\u2028\u2029]+/, f1 = (e) => {var { children: t, breakAll: n, style: r } = e;try {var i = [];- return VB(t) || (i = n ? t.toString().split("") : t.toString().split(h1)), {+ return BB(t) || (i = n ? t.toString().split("") : t.toString().split(d1)), {wordsWithComputedWidth: i.map((e) => ({word: e,- width: i1(e, r).width+ width: e1(e, r).width})),- spaceWidth: n ? 0 : i1("\xA0", r).width+ spaceWidth: n ? 0 : e1("\xA0", r).width};} catch {return null;}};-function _1(e) {+function p1(e) {return e === "start" || e === "middle" || e === "end" || e === "inherit";}-function KNe(e) {- return VB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";+function XNe(e) {+ return BB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";}-var v1 = (e, t, n, r) => e.reduce((e, i) => {+var m1 = (e, t, n, r) => e.reduce((e, i) => {var { word: a, width: o } = i, s = e[e.length - 1];if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;else {@@ -65411,20 +65411,20 @@ var v1 = (e, t, n, r) => e.reduce((e, i) => {e.push(c);}return e;-}, []), y1 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), qNe = "…", b1 = (e, t, n, r, i, a, o, s) => {- var c = g1({+}, []), h1 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), ZNe = "…", g1 = (e, t, n, r, i, a, o, s) => {+ var c = f1({breakAll: n,style: r,- children: e.slice(0, t) + qNe+ children: e.slice(0, t) + ZNe});if (!c) return [!1, []];- var l = v1(c.wordsWithComputedWidth, a, o, s);- return [l.length > i || y1(l).width > Number(a), l];-}, JNe = (e, t, n, r, i) => {- var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = v1(t, r, n, i);- if (!l || i || !(d.length > a || y1(d).width > Number(r))) return d;+ var l = m1(c.wordsWithComputedWidth, a, o, s);+ return [l.length > i || h1(l).width > Number(a), l];+}, QNe = (e, t, n, r, i) => {+ var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = m1(t, r, n, i);+ if (!l || i || !(d.length > a || h1(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), [_, v] = b1(u, g - 1, c, s, a, r, n, i), [y] = b1(u, g, c, s, a, r, n, i);+ var g = Math.floor((f + p) / 2), [_, v] = g1(u, g - 1, c, s, a, r, n, i), [y] = g1(u, g, c, s, a, r, n, i);if (!_ && !y && (f = g + 1), _ && y && (p = g - 1), !_ && y) {h = v;break;@@ -65432,13 +65432,13 @@ var v1 = (e, t, n, r) => e.reduce((e, i) => {m++;}return h || d;-}, x1 = (e) => [{- words: VB(e) ? [] : e.toString().split(h1),+}, _1 = (e) => [{+ words: BB(e) ? [] : e.toString().split(d1),width: void 0-}], YNe = (e) => {+}], $Ne = (e) => {var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;- if ((t || n) && !KG.isSsr) {- var s, c, l = g1({+ if ((t || n) && !HG.isSsr) {+ var s, c, l = f1({breakAll: a,children: r,style: i@@ -65446,28 +65446,28 @@ var v1 = (e, t, n, r) => e.reduce((e, i) => {if (l) {var { wordsWithComputedWidth: u, spaceWidth: d } = l;s = u, c = d;- } else return x1(r);- return JNe({+ } else return _1(r);+ return QNe({breakAll: a,children: r,maxLines: o,style: i}, s, c, t, !!n);}- return x1(r);-}, S1 = "#808080", XNe = {+ return _1(r);+}, v1 = "#808080", ePe = {angle: 0,breakAll: !1,capHeight: "0.71em",- fill: S1,+ fill: v1,lineHeight: "1em",scaleToFit: !1,textAnchor: "start",verticalAnchor: "end",x: 0,y: 0-}, C1 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var n = eV(e, XNe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = m1(n, UNe), f = (0, B.useMemo)(() => YNe({+}, y1 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var n = $B(e, ePe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = u1(n, qNe), f = (0, B.useMemo)(() => $Ne({breakAll: d.breakAll,children: d.children,maxLines: d.maxLines,@@ -65481,32 +65481,32 @@ var v1 = (e, t, n, r) => e.reduce((e, i) => {c,d.style,d.width- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = m1(d, WNe);- if (!FB(r) || !FB(i) || f.length === 0) return null;+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = u1(d, JNe);+ if (!PB(r) || !PB(i) || f.length === 0) return null;var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);- if (!GU(y) || !GU(b)) return null;+ if (!VU(y) || !VU(b)) return null;var x;switch (u) {case "start":- x = f1(`calc(${o})`);+ x = c1(`calc(${o})`);break;case "middle":- x = f1(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);+ x = c1(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);break;- default: x = f1(`calc(${f.length - 1} * -${a})`);+ default: x = c1(`calc(${f.length - 1} * -${a})`);}var S = [], C = f[0];if (c && C != null) {var w = C.width, { width: T } = d;S.push(`scale(${Z(T) && Z(w) ? T / w : 1})`);}- return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ B.createElement("text", p1({}, Ez(v), {+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ B.createElement("text", l1({}, Tz(v), {ref: t,x: y,y: b,className: _h("recharts-text", g),textAnchor: l,- fill: s.includes("url") ? S1 : s+ fill: s.includes("url") ? v1 : s}), f.map((e, t) => {var n = e.words.join(_ ? "" : " ");return /*#__PURE__*/ B.createElement("tspan", {@@ -65516,10 +65516,10 @@ var v1 = (e, t, n, r) => e.reduce((e, i) => {}, n);}));});-C1.displayName = "Text";+y1.displayName = "Text";//#endregion//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js-function w1(e, t) {+function b1(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -65529,30 +65529,30 @@ function w1(e, t) {}return n;}-function T1(e) {+function x1(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? w1(Object(n), !0).forEach(function(t) {- ZNe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w1(Object(n)).forEach(function(t) {+ t % 2 ? b1(Object(n), !0).forEach(function(t) {+ tPe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b1(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function ZNe(e, t, n) {- return (t = QNe(t)) in e ? Object.defineProperty(e, t, {+function tPe(e, t, n) {+ return (t = nPe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function QNe(e) {- var t = $Ne(e, "string");+function nPe(e) {+ var t = rPe(e, "string");return typeof t == "symbol" ? t : t + "";}-function $Ne(e, t) {+function rPe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -65562,8 +65562,8 @@ function $Ne(e, t) {}return (t === "string" ? String : Number)(e);}-var ePe = (e) => {- var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = jW(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;+var iPe = (e) => {+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = DW(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;if (n === "top") {var T = {x: d + l / 2,@@ -65604,68 +65604,68 @@ var ePe = (e) => {width: m,height: c} : {};- return n === "insideLeft" ? T1({+ return n === "insideLeft" ? x1({x: p + x,y: s + c / 2,horizontalAnchor: C,verticalAnchor: "middle"- }, k) : n === "insideRight" ? T1({+ }, k) : n === "insideRight" ? x1({x: p + m - x,y: s + c / 2,horizontalAnchor: S,verticalAnchor: "middle"- }, k) : n === "insideTop" ? T1({+ }, k) : n === "insideTop" ? x1({x: d + l / 2,y: s + _,horizontalAnchor: "middle",verticalAnchor: y- }, k) : n === "insideBottom" ? T1({+ }, k) : n === "insideBottom" ? x1({x: f + u / 2,y: s + c - _,horizontalAnchor: "middle",verticalAnchor: v- }, k) : n === "insideTopLeft" ? T1({+ }, k) : n === "insideTopLeft" ? x1({x: d + x,y: s + _,horizontalAnchor: C,verticalAnchor: y- }, k) : n === "insideTopRight" ? T1({+ }, k) : n === "insideTopRight" ? x1({x: d + l - x,y: s + _,horizontalAnchor: S,verticalAnchor: y- }, k) : n === "insideBottomLeft" ? T1({+ }, k) : n === "insideBottomLeft" ? x1({x: f + x,y: s + c - _,horizontalAnchor: C,verticalAnchor: v- }, k) : n === "insideBottomRight" ? T1({+ }, k) : n === "insideBottomRight" ? x1({x: f + u - x,y: s + c - _,horizontalAnchor: S,verticalAnchor: v- }, k) : n && typeof n == "object" && (Z(n.x) || PB(n.x)) && (Z(n.y) || PB(n.y)) ? T1({- x: o + LB(n.x, m),- y: s + LB(n.y, c),+ }, k) : n && typeof n == "object" && (Z(n.x) || NB(n.x)) && (Z(n.y) || NB(n.y)) ? x1({+ x: o + IB(n.x, m),+ y: s + IB(n.y, c),horizontalAnchor: "end",verticalAnchor: "end"- }, k) : T1({+ }, k) : x1({x: h,y: s + c / 2,horizontalAnchor: "middle",verticalAnchor: "middle"}, k);-}, tPe = ["labelRef"], nPe = ["content"];-function E1(e, t) {+}, aPe = ["labelRef"], oPe = ["content"];+function S1(e, t) {if (e == null) return {};- var n, r, i = rPe(e, t);+ var n, r, i = sPe(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 rPe(e, t) {+function sPe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -65674,7 +65674,7 @@ function rPe(e, t) {}return n;}-function D1(e, t) {+function C1(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -65684,30 +65684,30 @@ function D1(e, t) {}return n;}-function O1(e) {+function w1(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? D1(Object(n), !0).forEach(function(t) {- iPe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D1(Object(n)).forEach(function(t) {+ t % 2 ? C1(Object(n), !0).forEach(function(t) {+ cPe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C1(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function iPe(e, t, n) {- return (t = aPe(t)) in e ? Object.defineProperty(e, t, {+function cPe(e, t, n) {+ return (t = lPe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function aPe(e) {- var t = oPe(e, "string");+function lPe(e) {+ var t = uPe(e, "string");return typeof t == "symbol" ? t : t + "";}-function oPe(e, t) {+function uPe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -65717,16 +65717,16 @@ function oPe(e, t) {}return (t === "string" ? String : Number)(e);}-function k1() {- return k1 = Object.assign ? Object.assign.bind() : function(e) {+function T1() {+ return T1 = 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;- }, k1.apply(null, arguments);+ }, T1.apply(null, arguments);}-var A1 = /*#__PURE__*/ (0, B.createContext)(null), j1 = (e) => {+var E1 = /*#__PURE__*/ (0, B.createContext)(null), D1 = (e) => {var { x: t, y: n, upperWidth: r, lowerWidth: i, width: a, height: o, children: s } = e, c = (0, B.useMemo)(() => ({x: t,y: n,@@ -65742,11 +65742,11 @@ var A1 = /*#__PURE__*/ (0, B.createContext)(null), j1 = (e) => {a,o]);- return /*#__PURE__*/ B.createElement(A1.Provider, { value: c }, s);-}, M1 = () => {- var e = (0, B.useContext)(A1), t = MW();- return e || (t ? jW(t) : void 0);-}, N1 = /*#__PURE__*/ (0, B.createContext)(null), sPe = (e) => {+ return /*#__PURE__*/ B.createElement(E1.Provider, { value: c }, s);+}, O1 = () => {+ var e = (0, B.useContext)(E1), t = OW();+ return e || (t ? DW(t) : void 0);+}, k1 = /*#__PURE__*/ (0, B.createContext)(null), dPe = (e) => {var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, B.useMemo)(() => ({cx: t,cy: n,@@ -65764,15 +65764,15 @@ var A1 = /*#__PURE__*/ (0, B.createContext)(null), j1 = (e) => {o,s]);- return /*#__PURE__*/ B.createElement(N1.Provider, { value: l }, c);-}, P1 = () => {- var e = (0, B.useContext)(N1), t = Q(Iq);+ return /*#__PURE__*/ B.createElement(k1.Provider, { value: l }, c);+}, A1 = () => {+ var e = (0, B.useContext)(k1), t = Q(Mq);return e || t;-}, cPe = (e) => {- var { value: t, formatter: n } = e, r = VB(e.children) ? t : e.children;+}, fPe = (e) => {+ var { value: t, formatter: n } = e, r = BB(e.children) ? t : e.children;return typeof n == "function" ? n(r) : r;-}, F1 = (e) => e != null && typeof e == "function", lPe = (e, t) => MB(t - e) * Math.min(Math.abs(t - e), 360), uPe = (e, t, n, r, i) => {- var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = lPe(d, f), g = h >= 0 ? 1 : -1, _, v;+}, j1 = (e) => e != null && typeof e == "function", pPe = (e, t) => jB(t - e) * Math.min(Math.abs(t - e), 360), mPe = (e, t, n, r, i) => {+ var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = pPe(d, f), g = h >= 0 ? 1 : -1, _, v;switch (t) {case "insideStart":_ = d + g * a, v = p;@@ -65786,20 +65786,20 @@ var A1 = /*#__PURE__*/ (0, B.createContext)(null), j1 = (e) => {default: throw Error(`Unsupported position ${t}`);}v = h <= 0 ? v : !v;- var y = RK(s, c, m, _), b = RK(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}+ var y = PK(s, c, m, _), b = PK(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}A${m},${m},0,1,${+!v},- ${b.x},${b.y}`, S = VB(e.id) ? IB("recharts-radial-line-") : e.id;- return /*#__PURE__*/ B.createElement("text", k1({}, r, {+ ${b.x},${b.y}`, S = BB(e.id) ? FB("recharts-radial-line-") : e.id;+ return /*#__PURE__*/ B.createElement("text", T1({}, r, {dominantBaseline: "central",className: _h("recharts-radial-bar-label", o)}), /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("path", {id: S,d: x})), /*#__PURE__*/ B.createElement("textPath", { xlinkHref: `#${S}` }, n));-}, dPe = (e, t, n) => {+}, hPe = (e, t, n) => {var { cx: r, cy: i, innerRadius: a, outerRadius: o, startAngle: s, endAngle: c } = e, l = (s + c) / 2;if (n === "outside") {- var { x: u, y: d } = RK(r, i, o + t, l);+ var { x: u, y: d } = PK(r, i, o + t, l);return {x: u,y: d,@@ -65825,22 +65825,22 @@ var A1 = /*#__PURE__*/ (0, B.createContext)(null), j1 = (e) => {textAnchor: "middle",verticalAnchor: "end"};- var { x: f, y: p } = RK(r, i, (a + o) / 2, l);+ var { x: f, y: p } = PK(r, i, (a + o) / 2, l);return {x: f,y: p,textAnchor: "middle",verticalAnchor: "middle"};-}, I1 = (e) => e != null && "cx" in e && Z(e.cx), fPe = {+}, M1 = (e) => e != null && "cx" in e && Z(e.cx), gPe = {angle: 0,offset: 5,- zIndex: yq.label,+ zIndex: hq.label,position: "middle",textBreakAll: !1};-function pPe(e) {- if (!I1(e)) return e;+function _Pe(e) {+ if (!M1(e)) return e;var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;return {x: t - r,@@ -65851,100 +65851,100 @@ function pPe(e) {height: i};}-function L1(e) {- var t = eV(e, fPe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = P1(), f = M1(), p = n == null ? i === "center" ? f : d ?? f : I1(n) ? n : jW(n), m, h, g = pPe(p);- if (!p || VB(a) && VB(o) && !/*#__PURE__*/ (0, B.isValidElement)(s) && typeof s != "function") return null;- var _ = O1(O1({}, t), {}, { viewBox: p });+function N1(e) {+ var t = $B(e, gPe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = A1(), f = O1(), p = n == null ? i === "center" ? f : d ?? f : M1(n) ? n : DW(n), m, h, g = _Pe(p);+ if (!p || BB(a) && BB(o) && !/*#__PURE__*/ (0, B.isValidElement)(s) && typeof s != "function") return null;+ var _ = w1(w1({}, t), {}, { viewBox: p });if (/*#__PURE__*/ (0, B.isValidElement)(s)) {- var { labelRef: v } = _, y = E1(_, tPe);+ var { labelRef: v } = _, y = S1(_, aPe);return /*#__PURE__*/ (0, B.cloneElement)(s, y);}if (typeof s == "function") {- var { content: b } = _, x = E1(_, nPe);+ var { content: b } = _, x = S1(_, oPe);if (m = /*#__PURE__*/ (0, B.createElement)(s, x), /*#__PURE__*/ (0, B.isValidElement)(m)) return m;- } else m = cPe(t);- var S = Ez(t);- if (I1(p)) {- if (i === "insideStart" || i === "insideEnd" || i === "end") return uPe(t, i, m, S, p);- h = dPe(p, t.offset, t.position);+ } else m = fPe(t);+ var S = Tz(t);+ if (M1(p)) {+ if (i === "insideStart" || i === "insideEnd" || i === "end") return mPe(t, i, m, S, p);+ h = hPe(p, t.offset, t.position);} else {if (!g) return null;- var C = ePe({+ var C = iPe({viewBox: g,position: i,offset: t.offset,- parentViewBox: I1(r) ? void 0 : r,+ parentViewBox: M1(r) ? void 0 : r,clamp: !0});- h = O1(O1({+ h = w1(w1({x: C.x,y: C.y,textAnchor: C.horizontalAnchor,verticalAnchor: C.verticalAnchor}, C.width === void 0 ? {} : { width: C.width }), C.height === void 0 ? {} : { height: C.height });}- return /*#__PURE__*/ B.createElement(F$, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(C1, k1({+ return /*#__PURE__*/ B.createElement(j$, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(y1, T1({ref: u,className: _h("recharts-label", c)}, S, h, {- textAnchor: _1(S.textAnchor) ? S.textAnchor : h.textAnchor,+ textAnchor: p1(S.textAnchor) ? S.textAnchor : h.textAnchor,breakAll: l}), m));}-L1.displayName = "Label";-var R1 = (e, t, n) => {+N1.displayName = "Label";+var P1 = (e, t, n) => {if (!e) return null;var r = {viewBox: t,labelRef: n};- return e === !0 ? /*#__PURE__*/ B.createElement(L1, k1({ key: "label-implicit" }, r)) : FB(e) ? /*#__PURE__*/ B.createElement(L1, k1({+ return e === !0 ? /*#__PURE__*/ B.createElement(N1, T1({ key: "label-implicit" }, r)) : PB(e) ? /*#__PURE__*/ B.createElement(N1, T1({key: "label-implicit",value: e- }, r)) : /*#__PURE__*/ (0, B.isValidElement)(e) ? e.type === L1 ? /*#__PURE__*/ (0, B.cloneElement)(e, O1({ key: "label-implicit" }, r)) : /*#__PURE__*/ B.createElement(L1, k1({+ }, r)) : /*#__PURE__*/ (0, B.isValidElement)(e) ? e.type === N1 ? /*#__PURE__*/ (0, B.cloneElement)(e, w1({ key: "label-implicit" }, r)) : /*#__PURE__*/ B.createElement(N1, T1({key: "label-implicit",content: e- }, r)) : F1(e) ? /*#__PURE__*/ B.createElement(L1, k1({+ }, r)) : j1(e) ? /*#__PURE__*/ B.createElement(N1, T1({key: "label-implicit",content: e- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ B.createElement(L1, k1({}, e, { key: "label-implicit" }, r)) : null;+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ B.createElement(N1, T1({}, e, { key: "label-implicit" }, r)) : null;};-function z1(e) {+function F1(e) {var { label: t, labelRef: n } = e;- return R1(t, M1(), n) || null;+ return P1(t, O1(), n) || null;}-function mPe(e) {+function vPe(e) {var { label: t } = e;- return R1(t, P1()) || null;+ return P1(t, A1()) || null;}//#endregion//#region node_modules/recharts/es6/component/LabelList.js-var hPe = ["valueAccessor"], gPe = [+var yPe = ["valueAccessor"], bPe = ["dataKey","clockWise","id","textBreakAll","zIndex"];-function B1() {- return B1 = Object.assign ? Object.assign.bind() : function(e) {+function I1() {+ return I1 = 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;- }, B1.apply(null, arguments);+ }, I1.apply(null, arguments);}-function V1(e, t) {+function L1(e, t) {if (e == null) return {};- var n, r, i = _Pe(e, t);+ var n, r, i = xPe(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 _Pe(e, t) {+function xPe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -65953,21 +65953,21 @@ function _Pe(e, t) {}return n;}-var vPe = (e) => {+var SPe = (e) => {var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;- if (KNe(t)) return t;-}, H1 = /*#__PURE__*/ (0, B.createContext)(void 0), U1 = H1.Provider, W1 = /*#__PURE__*/ (0, B.createContext)(void 0), yPe = W1.Provider;-function bPe() {- return (0, B.useContext)(H1);-}-function xPe() {- return (0, B.useContext)(W1);-}-function G1(e) {- var { valueAccessor: t = vPe } = e, n = V1(e, hPe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = V1(n, gPe), l = bPe(), u = xPe(), d = l || u;- return !d || !d.length ? null : /*#__PURE__*/ B.createElement(F$, { zIndex: s ?? yq.label }, /*#__PURE__*/ B.createElement(Az, { className: "recharts-label-list" }, d.map((e, i) => {- var s = VB(r) ? t(e, i) : YU(e.payload, r), l = VB(a) ? {} : { id: `${a}-${i}` };- return /*#__PURE__*/ B.createElement(L1, B1({ key: `label-${i}` }, Ez(e), c, l, {+ if (XNe(t)) return t;+}, R1 = /*#__PURE__*/ (0, B.createContext)(void 0), z1 = R1.Provider, B1 = /*#__PURE__*/ (0, B.createContext)(void 0), CPe = B1.Provider;+function wPe() {+ return (0, B.useContext)(R1);+}+function TPe() {+ return (0, B.useContext)(B1);+}+function V1(e) {+ var { valueAccessor: t = SPe } = e, n = L1(e, yPe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = L1(n, bPe), l = wPe(), u = TPe(), d = l || u;+ return !d || !d.length ? null : /*#__PURE__*/ B.createElement(j$, { zIndex: s ?? hq.label }, /*#__PURE__*/ B.createElement(kz, { className: "recharts-label-list" }, d.map((e, i) => {+ var s = BB(r) ? t(e, i) : GU(e.payload, r), l = BB(a) ? {} : { id: `${a}-${i}` };+ return /*#__PURE__*/ B.createElement(N1, I1({ key: `label-${i}` }, Tz(e), c, l, {fill: n.fill ?? e.fill,parentViewBox: e.parentViewBox,value: s,@@ -65978,41 +65978,41 @@ function G1(e) {}));})));}-G1.displayName = "LabelList";-function K1(e) {+V1.displayName = "LabelList";+function H1(e) {var { label: t } = e;- return t ? t === !0 ? /*#__PURE__*/ B.createElement(G1, { key: "labelList-implicit" }) : /*#__PURE__*/ B.isValidElement(t) || F1(t) ? /*#__PURE__*/ B.createElement(G1, {+ return t ? t === !0 ? /*#__PURE__*/ B.createElement(V1, { key: "labelList-implicit" }) : /*#__PURE__*/ B.isValidElement(t) || j1(t) ? /*#__PURE__*/ B.createElement(V1, {key: "labelList-implicit",content: t- }) : typeof t == "object" ? /*#__PURE__*/ B.createElement(G1, B1({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;+ }) : typeof t == "object" ? /*#__PURE__*/ B.createElement(V1, I1({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;}//#endregion//#region node_modules/recharts/es6/shape/Polygon.js-var SPe = [+var EPe = ["points","className","baseLinePoints","connectNulls"-], CPe;-function q1() {- return q1 = Object.assign ? Object.assign.bind() : function(e) {+], DPe;+function U1() {+ return U1 = 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;- }, q1.apply(null, arguments);+ }, U1.apply(null, arguments);}-function wPe(e, t) {+function OPe(e, t) {if (e == null) return {};- var n, r, i = TPe(e, t);+ var n, r, i = kPe(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 TPe(e, t) {+function kPe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -66021,23 +66021,23 @@ function TPe(e, t) {}return n;}-function EPe(e, t) {+function APe(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var J1 = (e) => e != null && e.x === +e.x && e.y === +e.y, DPe = function() {+var W1 = (e) => e != null && e.x === +e.x && e.y === +e.y, jPe = function() {var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];e.forEach((e) => {var n = t[t.length - 1];- J1(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);+ W1(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);});var n = e[0], r = t[t.length - 1];- J1(n) && r && r.push(n);+ W1(n) && r && r.push(n);var i = t[t.length - 1];return i && i.length <= 0 && (t = t.slice(0, -1)), t;-}, Y1 = (e, t) => {- var n = DPe(e);+}, G1 = (e, t) => {+ var n = jPe(e);t && (n = [n.reduce((e, t) => [...e, ...t], [])]);- var r = n.map((e) => e.reduce((e, t, n) => jB(CPe ||= EPe([+ var r = n.map((e) => e.reduce((e, t, n) => AB(DPe ||= APe(["","","",@@ -66045,29 +66045,29 @@ var J1 = (e) => e != null && e.x === +e.x && e.y === +e.y, DPe = function() {""]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");return n.length === 1 ? `${r}Z` : r;-}, OPe = (e, t, n) => {- var r = Y1(e, n);- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${Y1(Array.from(t).reverse(), n).slice(1)}`;-}, X1 = (e) => {- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = wPe(e, SPe);+}, MPe = (e, t, n) => {+ var r = G1(e, n);+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${G1(Array.from(t).reverse(), n).slice(1)}`;+}, K1 = (e) => {+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = OPe(e, EPe);if (!t || !t.length) return null;var o = _h("recharts-polygon", n);if (r && r.length) {- var s = a.stroke && a.stroke !== "none", c = OPe(t, r, i);- return /*#__PURE__*/ B.createElement("g", { className: o }, /*#__PURE__*/ B.createElement("path", q1({}, Ez(a), {+ var s = a.stroke && a.stroke !== "none", c = MPe(t, r, i);+ return /*#__PURE__*/ B.createElement("g", { className: o }, /*#__PURE__*/ B.createElement("path", U1({}, Tz(a), {fill: c.slice(-1) === "Z" ? a.fill : "none",stroke: "none",d: c- })), s ? /*#__PURE__*/ B.createElement("path", q1({}, Ez(a), {+ })), s ? /*#__PURE__*/ B.createElement("path", U1({}, Tz(a), {fill: "none",- d: Y1(t, i)- })) : null, s ? /*#__PURE__*/ B.createElement("path", q1({}, Ez(a), {+ d: G1(t, i)+ })) : null, s ? /*#__PURE__*/ B.createElement("path", U1({}, Tz(a), {fill: "none",- d: Y1(r, i)+ d: G1(r, i)})) : null);}- var l = Y1(t, i);- return /*#__PURE__*/ B.createElement("path", q1({}, Ez(a), {+ var l = G1(t, i);+ return /*#__PURE__*/ B.createElement("path", U1({}, Tz(a), {fill: l.slice(-1) === "Z" ? a.fill : "none",className: o,d: l@@ -66075,111 +66075,111 @@ var J1 = (e) => e != null && e.x === +e.x && e.y === +e.y, DPe = function() {};//#endregion//#region node_modules/recharts/es6/shape/Dot.js-function Z1() {- return Z1 = Object.assign ? Object.assign.bind() : function(e) {+function q1() {+ return q1 = 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;- }, Z1.apply(null, arguments);+ }, q1.apply(null, arguments);}-var Q1 = (e) => {+var J1 = (e) => {var { cx: t, cy: n, r, className: i } = e, a = _h("recharts-dot", i);- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ B.createElement("circle", Z1({}, wz(e), ZB(e), {+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ B.createElement("circle", q1({}, Cz(e), XB(e), {className: a,cx: t,cy: n,r})) : null;-}, $1 = (e) => e.graphicalItems.polarItems, e0 = $([- $1,- vZ,- $([Lq, Rq], xZ)-], CZ), t0 = $([$([e0], DZ), JK], OZ), n0 = $([- t0,- vZ,- e0-], AZ);+}, Y1 = (e) => e.graphicalItems.polarItems, X1 = $([+ Y1,+ mZ,+ $([Nq, Pq], _Z)+], yZ), Z1 = $([$([X1], CZ), WK], wZ), Q1 = $([+ Z1,+ mZ,+ X1+], EZ);$([- t0,- vZ,- e0+ Z1,+ mZ,+ X1], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({- value: YU(e, t.dataKey ?? n.dataKey),+ value: GU(e, t.dataKey ?? n.dataKey),errorDomain: []}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({value: e,errorDomain: []})) : e.map((e) => ({- value: YU(e, t.dataKey),+ value: GU(e, t.dataKey),errorDomain: []})));-var r0 = () => void 0, i0 = $([- vZ,- IW,- t0,- n0,- pq,- Lq,+var $1 = () => void 0, e0 = $([+ mZ,+ MW,+ Z1,+ Q1,+ lq,+ Nq,$([- vZ,- HZ,- UZ,- r0,+ mZ,+ RZ,+ zZ,+ $1,$([- t0,- vZ,- e0,- WZ,- Lq- ], KZ),- r0,- IW,- Lq- ], eQ)-], tQ), a0 = $([- i0,- yZ,- rQ-], iQ), kPe = $([rQ, $([- vZ,- i0,- a0,- Lq-], oQ)], qq), o0 = (e, t, n) => {+ Z1,+ mZ,+ X1,+ BZ,+ Nq+ ], HZ),+ $1,+ MW,+ Nq+ ], XZ)+], ZZ), t0 = $([+ e0,+ hZ,+ $Z+], eQ), NPe = $([$Z, $([+ mZ,+ e0,+ t0,+ Nq+], nQ)], Uq), n0 = (e, t, n) => {switch (t) {- case "angleAxis": return Oq(e, n);- case "radiusAxis": return kq(e, n);+ case "angleAxis": return wq(e, n);+ case "radiusAxis": return Tq(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, s0 = (e, t, n) => {+}, r0 = (e, t, n) => {switch (t) {- case "angleAxis": return lOe(e, n);- case "radiusAxis": return uOe(e, n);+ case "angleAxis": return pOe(e, n);+ case "radiusAxis": return mOe(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, c0 = $([$([- o0,- rQ,- kPe,- s0-], aZ)], Kq), l0 = $([- IW,+}, i0 = $([$([n0,- yZ,- Lq-], dQ), u0 = $([- IW,- o0,- rQ,- c0,+ $Z,+ NPe,+ r0+], tZ)], Hq), a0 = $([+ MW,+ Q1,+ hZ,+ Nq+], sQ), o0 = $([+ MW,+ n0,+ $Z,+ i0,+ t0,+ r0,+ vQ,a0,- s0,- SQ,- l0,- Lq-], wQ), APe = $([u0], (e) => {+ Nq+], bQ), PPe = $([o0], (e) => {if (e) {var t = /* @__PURE__ */ new Map();return e.forEach((e) => {@@ -66187,19 +66187,19 @@ var r0 = () => void 0, i0 = $([t.has(n) || t.set(n, e);}), Array.from(t.values());}-}), jPe = $([- IW,- o0,- c0,- s0,- SQ,- l0,- Lq-], EQ), MPe = $([(e, t) => u0(e, "angleAxis", t, !1)], (e) => {+}), FPe = $([+ MW,+ n0,+ i0,+ r0,+ vQ,+ a0,+ Nq+], SQ), IPe = $([(e, t) => o0(e, "angleAxis", t, !1)], (e) => {if (e) return e.map((e) => e.coordinate);-}), NPe = $([(e, t) => u0(e, "radiusAxis", t, !1)], (e) => {+}), LPe = $([(e, t) => o0(e, "radiusAxis", t, !1)], (e) => {if (e) return e.map((e) => e.coordinate);-}), PPe = [+}), RPe = ["gridType","radialLines","angleAxisId",@@ -66212,16 +66212,16 @@ var r0 = () => void 0, i0 = $(["polarRadius","zIndex"];-function FPe(e, t) {+function zPe(e, t) {if (e == null) return {};- var n, r, i = IPe(e, t);+ var n, r, i = BPe(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 IPe(e, t) {+function BPe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -66230,16 +66230,16 @@ function IPe(e, t) {}return n;}-function d0() {- return d0 = Object.assign ? Object.assign.bind() : function(e) {+function s0() {+ return s0 = 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;- }, d0.apply(null, arguments);+ }, s0.apply(null, arguments);}-function f0(e, t) {+function c0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -66249,30 +66249,30 @@ function f0(e, t) {}return n;}-function p0(e) {+function l0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? f0(Object(n), !0).forEach(function(t) {- LPe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f0(Object(n)).forEach(function(t) {+ t % 2 ? c0(Object(n), !0).forEach(function(t) {+ VPe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c0(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function LPe(e, t, n) {- return (t = RPe(t)) in e ? Object.defineProperty(e, t, {+function VPe(e, t, n) {+ return (t = HPe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function RPe(e) {- var t = zPe(e, "string");+function HPe(e) {+ var t = UPe(e, "string");return typeof t == "symbol" ? t : t + "";}-function zPe(e, t) {+function UPe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -66282,69 +66282,69 @@ function zPe(e, t) {}return (t === "string" ? String : Number)(e);}-var BPe = (e, t, n, r) => {+var WPe = (e, t, n, r) => {var i = "";return r.forEach((r, a) => {- var o = RK(t, n, e, r);+ var o = PK(t, n, e, r);i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;}), i += "Z", i;-}, VPe = (e) => {+}, GPe = (e) => {var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;if (!a || !a.length || !o) return null;- var s = p0({ stroke: "#ccc" }, wz(e));+ var s = l0({ stroke: "#ccc" }, Cz(e));return /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {- var a = RK(t, n, r, e), o = RK(t, n, i, e);- return /*#__PURE__*/ B.createElement("line", d0({ key: `line-${e}` }, s, {+ var a = PK(t, n, r, e), o = PK(t, n, i, e);+ return /*#__PURE__*/ B.createElement("line", s0({ key: `line-${e}` }, s, {x1: a.x,y1: a.y,x2: o.x,y2: o.y}));}));-}, m0 = (e) => {- var { cx: t, cy: n, radius: r } = e, i = p0({+}, u0 = (e) => {+ var { cx: t, cy: n, radius: r } = e, i = l0({stroke: "#ccc",fill: "none"- }, wz(e));- return /*#__PURE__*/ B.createElement("circle", d0({}, i, {+ }, Cz(e));+ return /*#__PURE__*/ B.createElement("circle", s0({}, i, {className: _h("recharts-polar-grid-concentric-circle", e.className),cx: t,cy: n,r}));-}, h0 = (e) => {- var { radius: t } = e, n = p0({+}, d0 = (e) => {+ var { radius: t } = e, n = l0({stroke: "#ccc",fill: "none"- }, wz(e));- return /*#__PURE__*/ B.createElement("path", d0({}, n, {+ }, Cz(e));+ return /*#__PURE__*/ B.createElement("path", s0({}, n, {className: _h("recharts-polar-grid-concentric-polygon", e.className),- d: BPe(t, e.cx, e.cy, e.polarAngles)+ d: WPe(t, e.cx, e.cy, e.polarAngles)}));-}, HPe = (e) => {+}, KPe = (e) => {var { polarRadius: t, gridType: n } = e;if (!t || !t.length) return null;var r = Math.max(...t), i = e.fill && e.fill !== "none";- return /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ B.createElement(m0, d0({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ B.createElement(h0, d0({}, e, { radius: r })), t.map((t, r) => {+ return /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ B.createElement(u0, s0({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ B.createElement(d0, s0({}, e, { radius: r })), t.map((t, r) => {var i = r;- return n === "circle" ? /*#__PURE__*/ B.createElement(m0, d0({ key: i }, e, {+ return n === "circle" ? /*#__PURE__*/ B.createElement(u0, s0({ key: i }, e, {fill: "none",radius: t- })) : /*#__PURE__*/ B.createElement(h0, d0({ key: i }, e, {+ })) : /*#__PURE__*/ B.createElement(d0, s0({ key: i }, e, {fill: "none",radius: t}));}));-}, UPe = {+}, qPe = {angleAxisId: 0,radiusAxisId: 0,gridType: "polygon",radialLines: !0,- zIndex: yq.grid-}, g0 = (e) => {- var t = eV(e, UPe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = FPe(t, PPe), m = Q(Iq), h = Q((e) => MPe(e, i)), g = Q((e) => NPe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;+ zIndex: hq.grid+}, f0 = (e) => {+ var t = $B(e, qPe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = zPe(t, RPe), m = Q(Mq), h = Q((e) => IPe(e, i)), g = Q((e) => LPe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;if (_ == null || v == null) return null;- var y = p0({+ var y = l0({cx: m?.cx ?? o ?? 0,cy: m?.cy ?? s ?? 0,innerRadius: m?.innerRadius ?? c ?? 0,@@ -66353,13 +66353,13 @@ var BPe = (e, t, n, r) => {polarRadius: v,zIndex: f}, p), { outerRadius: b } = y;- return b <= 0 ? null : /*#__PURE__*/ B.createElement(F$, { zIndex: y.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ B.createElement(HPe, d0({+ return b <= 0 ? null : /*#__PURE__*/ B.createElement(j$, { zIndex: y.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ B.createElement(KPe, s0({gridType: n,radialLines: r}, y, {polarAngles: _,polarRadius: v- })), /*#__PURE__*/ B.createElement(VPe, d0({+ })), /*#__PURE__*/ B.createElement(GPe, s0({gridType: n,radialLines: r}, y, {@@ -66367,19 +66367,19 @@ var BPe = (e, t, n, r) => {polarRadius: v}))));};-g0.displayName = "PolarGrid";+f0.displayName = "PolarGrid";//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs-function _0(e) {+function p0(e) {return Array.isArray(e) ? e : Array.from(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs-function WPe(e, t = aV) {+function JPe(e, t = iV) {if (e == null) return;- let n = _0(e);+ let n = p0(e);if (n.length === 0) return;- let r = DV(t), i, a;+ let r = CV(t), i, a;for (let e = 0; e < n.length; e++) {let t = n[e], o = r(t, e, n);o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);@@ -66388,11 +66388,11 @@ function WPe(e, t = aV) {}//#endregion//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs-function GPe(e, t = aV) {+function YPe(e, t = iV) {if (e == null) return;- let n = _0(e);+ let n = p0(e);if (n.length === 0) return;- let r = DV(t), i, a;+ let r = CV(t), i, a;for (let e = 0; e < n.length; e++) {let t = n[e], o = r(t, e, n);o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);@@ -66401,7 +66401,7 @@ function GPe(e, t = aV) {}//#endregion//#region node_modules/recharts/es6/state/polarAxisSlice.js-var v0 = gU({+var m0 = fU({name: "polarAxis",initialState: {radiusAxis: {},@@ -66409,47 +66409,47 @@ var v0 = gU({},reducers: {addRadiusAxis(e, t) {- e.radiusAxis[t.payload.id] = DG(t.payload);+ e.radiusAxis[t.payload.id] = CG(t.payload);},removeRadiusAxis(e, t) {delete e.radiusAxis[t.payload.id];},addAngleAxis(e, t) {- e.angleAxis[t.payload.id] = DG(t.payload);+ e.angleAxis[t.payload.id] = CG(t.payload);},removeAngleAxis(e, t) {delete e.angleAxis[t.payload.id];}}-}), { addRadiusAxis: KPe, removeRadiusAxis: qPe, addAngleAxis: JPe, removeAngleAxis: YPe } = v0.actions, XPe = v0.reducer;+}), { addRadiusAxis: XPe, removeRadiusAxis: ZPe, addAngleAxis: QPe, removeAngleAxis: $Pe } = m0.actions, eFe = m0.reducer;//#endregion//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js-function y0(e) {+function h0(e) {return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";}//#endregion//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js-var ZPe = ["type"], QPe = [+var tFe = ["type"], nFe = ["cx","cy","angle","axisLine"-], $Pe = [+], rFe = ["angle","tickFormatter","stroke","tick"];-function b0() {- return b0 = Object.assign ? Object.assign.bind() : function(e) {+function g0() {+ return g0 = 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;- }, b0.apply(null, arguments);+ }, g0.apply(null, arguments);}-function x0(e, t) {+function _0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -66459,30 +66459,30 @@ function x0(e, t) {}return n;}-function S0(e) {+function v0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? x0(Object(n), !0).forEach(function(t) {- eFe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x0(Object(n)).forEach(function(t) {+ t % 2 ? _0(Object(n), !0).forEach(function(t) {+ iFe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _0(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function eFe(e, t, n) {- return (t = tFe(t)) in e ? Object.defineProperty(e, t, {+function iFe(e, t, n) {+ return (t = aFe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function tFe(e) {- var t = nFe(e, "string");+function aFe(e) {+ var t = oFe(e, "string");return typeof t == "symbol" ? t : t + "";}-function nFe(e, t) {+function oFe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -66492,16 +66492,16 @@ function nFe(e, t) {}return (t === "string" ? String : Number)(e);}-function C0(e, t) {+function y0(e, t) {if (e == null) return {};- var n, r, i = rFe(e, t);+ var n, r, i = sFe(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 rFe(e, t) {+function sFe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -66510,20 +66510,20 @@ function rFe(e, t) {}return n;}-var iFe = "radiusAxis";-function aFe(e) {- var t = jV(), n = BW(), r = (0, B.useMemo)(() => {- var { type: t } = e, r = C0(e, ZPe), i = Cq(n, "radiusAxis", t);- if (i != null) return S0(S0({}, r), {}, { type: i });+var cFe = "radiusAxis";+function lFe(e) {+ var t = DV(), n = IW(), r = (0, B.useMemo)(() => {+ var { type: t } = e, r = y0(e, tFe), i = yq(n, "radiusAxis", t);+ if (i != null) return v0(v0({}, r), {}, { type: i });}, [e, n]);- return (0, B.useEffect)(() => r == null ? WB : (t(KPe(r)), () => {- t(qPe(r));+ return (0, B.useEffect)(() => r == null ? UB : (t(XPe(r)), () => {+ t(ZPe(r));}), [t, r]), null;}-var oFe = (e, t, n, r) => {+var uFe = (e, t, n, r) => {var { coordinate: i } = e;- return RK(n, r, i, t);-}, sFe = (e) => {+ return PK(n, r, i, t);+}, dFe = (e) => {var t;switch (e) {case "left":@@ -66535,49 +66535,49 @@ var oFe = (e, t, n, r) => {default: t = "middle";}return t;-}, cFe = (e, t, n, r) => {- var i = WPe(r, (e) => e.coordinate || 0);+}, fFe = (e, t, n, r) => {+ var i = JPe(r, (e) => e.coordinate || 0);return {cx: t,cy: n,startAngle: e,endAngle: e,- innerRadius: GPe(r, (e) => e.coordinate || 0)?.coordinate || 0,+ innerRadius: YPe(r, (e) => e.coordinate || 0)?.coordinate || 0,outerRadius: i?.coordinate || 0,clockWise: !1};-}, lFe = (e, t) => {- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = C0(e, QPe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = RK(n, r, s[0], i), l = RK(n, r, s[1], i), u = S0(S0(S0({}, wz(o)), {}, { fill: "none" }, wz(a)), {}, {+}, pFe = (e, t) => {+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = y0(e, nFe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = PK(n, r, s[0], i), l = PK(n, r, s[1], i), u = v0(v0(v0({}, Cz(o)), {}, { fill: "none" }, Cz(a)), {}, {x1: c.x,y1: c.y,x2: l.x,y2: l.y});- return /*#__PURE__*/ B.createElement("line", b0({ className: "recharts-polar-radius-axis-line" }, u));-}, uFe = (e, t, n) => /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ B.createElement(C1, b0({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), dFe = (e, t) => {- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = C0(e, $Pe), s = sFe(e.orientation), c = wz(o), l = Tz(a), u = t.map((t, o) => {- var u = oFe(t, e.angle, e.cx, e.cy), d = S0(S0(S0(S0({+ return /*#__PURE__*/ B.createElement("line", g0({ className: "recharts-polar-radius-axis-line" }, u));+}, mFe = (e, t, n) => /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ B.createElement(y1, g0({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), hFe = (e, t) => {+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = y0(e, rFe), s = dFe(e.orientation), c = Cz(o), l = wz(a), u = t.map((t, o) => {+ var u = uFe(t, e.angle, e.cx, e.cy), d = v0(v0(v0(v0({textAnchor: s,transform: `rotate(${90 - n}, ${u.x}, ${u.y})`}, c), {}, {stroke: "none",fill: i}, l), {}, { index: o }, u), {}, { payload: t });- return /*#__PURE__*/ B.createElement(Az, b0({- className: _h("recharts-polar-radius-axis-tick", y0(a)),+ return /*#__PURE__*/ B.createElement(kz, g0({+ className: _h("recharts-polar-radius-axis-tick", h0(a)),key: `tick-${t.coordinate}`- }, QB(e, t, o)), uFe(a, d, r ? r(t.value, o) : t.value));+ }, ZB(e, t, o)), mFe(a, d, r ? r(t.value, o) : t.value));});- return /*#__PURE__*/ B.createElement(Az, { className: "recharts-polar-radius-axis-ticks" }, u);-}, fFe = (e) => {- var { radiusAxisId: t } = e, n = Q(Iq), r = Q((e) => c0(e, "radiusAxis", t)), i = Q((e) => u0(e, "radiusAxis", t, !1));+ return /*#__PURE__*/ B.createElement(kz, { className: "recharts-polar-radius-axis-ticks" }, u);+}, gFe = (e) => {+ var { radiusAxisId: t } = e, n = Q(Mq), r = Q((e) => i0(e, "radiusAxis", t)), i = Q((e) => o0(e, "radiusAxis", t, !1));if (n == null || !i || !i.length || r == null) return null;- var a = S0(S0({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;- return /*#__PURE__*/ B.createElement(F$, { zIndex: a.zIndex }, /*#__PURE__*/ B.createElement(Az, { className: _h("recharts-polar-radius-axis", iFe, a.className) }, s && lFe(a, i), o && dFe(a, i), /*#__PURE__*/ B.createElement(sPe, cFe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ B.createElement(mPe, { label: a.label }), a.children)));+ var a = v0(v0({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;+ return /*#__PURE__*/ B.createElement(j$, { zIndex: a.zIndex }, /*#__PURE__*/ B.createElement(kz, { className: _h("recharts-polar-radius-axis", cFe, a.className) }, s && pFe(a, i), o && hFe(a, i), /*#__PURE__*/ B.createElement(dPe, fFe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ B.createElement(vPe, { label: a.label }), a.children)));};-function w0(e) {- var t = eV(e, xq);- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(aFe, {+function b0(e) {+ var t = $B(e, _q);+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(lFe, {domain: t.domain,id: t.radiusAxisId,scale: t.scale,@@ -66594,22 +66594,22 @@ function w0(e) {ticks: t.ticks,tickCount: t.tickCount,tick: t.tick- }), /*#__PURE__*/ B.createElement(fFe, t));+ }), /*#__PURE__*/ B.createElement(gFe, t));}-w0.displayName = "PolarRadiusAxis";+b0.displayName = "PolarRadiusAxis";//#endregion//#region node_modules/recharts/es6/polar/PolarAngleAxis.js-var pFe = ["children", "type"], mFe = ["ref"];-function T0() {- return T0 = Object.assign ? Object.assign.bind() : function(e) {+var _Fe = ["children", "type"], vFe = ["ref"];+function x0() {+ return x0 = 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;- }, T0.apply(null, arguments);+ }, x0.apply(null, arguments);}-function E0(e, t) {+function S0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -66619,30 +66619,30 @@ function E0(e, t) {}return n;}-function D0(e) {+function C0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? E0(Object(n), !0).forEach(function(t) {- hFe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E0(Object(n)).forEach(function(t) {+ t % 2 ? S0(Object(n), !0).forEach(function(t) {+ yFe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S0(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function hFe(e, t, n) {- return (t = gFe(t)) in e ? Object.defineProperty(e, t, {+function yFe(e, t, n) {+ return (t = bFe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function gFe(e) {- var t = _Fe(e, "string");+function bFe(e) {+ var t = xFe(e, "string");return typeof t == "symbol" ? t : t + "";}-function _Fe(e, t) {+function xFe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -66652,16 +66652,16 @@ function _Fe(e, t) {}return (t === "string" ? String : Number)(e);}-function O0(e, t) {+function w0(e, t) {if (e == null) return {};- var n, r, i = vFe(e, t);+ var n, r, i = SFe(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 vFe(e, t) {+function SFe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -66670,47 +66670,47 @@ function vFe(e, t) {}return n;}-var k0 = 1e-5, yFe = Math.cos(LK(45)), bFe = "angleAxis";-function xFe(e) {- var t = jV(), n = BW(), r = (0, B.useMemo)(() => {- var { children: t, type: r } = e, i = O0(e, pFe), a = Cq(n, "angleAxis", r);- if (a != null) return D0(D0({}, i), {}, { type: a });- }, [e, n]), i = r === Q((e) => Oq(e, r?.id));- return (0, B.useEffect)(() => r == null ? WB : (t(JPe(r)), () => {- t(YPe(r));+var T0 = 1e-5, CFe = Math.cos(NK(45)), wFe = "angleAxis";+function TFe(e) {+ var t = DV(), n = IW(), r = (0, B.useMemo)(() => {+ var { children: t, type: r } = e, i = w0(e, _Fe), a = yq(n, "angleAxis", r);+ if (a != null) return C0(C0({}, i), {}, { type: a });+ }, [e, n]), i = r === Q((e) => wq(e, r?.id));+ return (0, B.useEffect)(() => r == null ? UB : (t(QPe(r)), () => {+ t($Pe(r));}), [t, r]), i ? e.children : null;}-var SFe = (e, t) => {- var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = RK(n, r, i, e.coordinate), l = RK(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);+var EFe = (e, t) => {+ var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = PK(n, r, i, e.coordinate), l = PK(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);return {x1: c.x,y1: c.y,x2: l.x,y2: l.y};-}, CFe = (e, t) => {- var n = Math.cos(LK(-e.coordinate));- return n > k0 ? t === "outer" ? "start" : "end" : n < -k0 ? t === "outer" ? "end" : "start" : "middle";-}, wFe = (e) => {- var t = Math.cos(LK(-e.coordinate)), n = Math.sin(LK(-e.coordinate));- return Math.abs(t) <= yFe ? n > 0 ? "start" : "end" : "middle";-}, TFe = (e) => {+}, DFe = (e, t) => {+ var n = Math.cos(NK(-e.coordinate));+ return n > T0 ? t === "outer" ? "start" : "end" : n < -T0 ? t === "outer" ? "end" : "start" : "middle";+}, OFe = (e) => {+ var t = Math.cos(NK(-e.coordinate)), n = Math.sin(NK(-e.coordinate));+ return Math.abs(t) <= CFe ? n > 0 ? "start" : "end" : "middle";+}, kFe = (e) => {var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;if (!a) return null;- var s = D0(D0({}, wz(e)), {}, { fill: "none" }, wz(a));- if (i === "circle") return /*#__PURE__*/ B.createElement(Q1, T0({ className: "recharts-polar-angle-axis-line" }, s, {+ var s = C0(C0({}, Cz(e)), {}, { fill: "none" }, Cz(a));+ if (i === "circle") return /*#__PURE__*/ B.createElement(J1, x0({ className: "recharts-polar-angle-axis-line" }, s, {cx: t,cy: n,r}));- var c = o.map((e) => RK(t, n, r, e.coordinate));- return /*#__PURE__*/ B.createElement(X1, T0({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));-}, EFe = (e) => {+ var c = o.map((e) => PK(t, n, r, e.coordinate));+ return /*#__PURE__*/ B.createElement(K1, x0({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));+}, AFe = (e) => {var { tick: t, tickProps: n, value: r } = e;- return t ? /*#__PURE__*/ B.isValidElement(t) ? /*#__PURE__*/ B.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ B.createElement(C1, T0({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;-}, DFe = (e) => {- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = wz(e), { ref: s } = o, c = O0(o, mFe), l = Tz(t), u = D0(D0({}, c), {}, { fill: "none" }, wz(n)), d = a.map((a, o) => {- var s = SFe(a, e), d = CFe(a, e.orientation), f = wFe(a), p = D0(D0(D0({}, c), {}, {+ return t ? /*#__PURE__*/ B.isValidElement(t) ? /*#__PURE__*/ B.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ B.createElement(y1, x0({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;+}, jFe = (e) => {+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = Cz(e), { ref: s } = o, c = w0(o, vFe), l = wz(t), u = C0(C0({}, c), {}, { fill: "none" }, Cz(n)), d = a.map((a, o) => {+ var s = EFe(a, e), d = DFe(a, e.orientation), f = OFe(a), p = C0(C0(C0({}, c), {}, {textAnchor: d,verticalAnchor: f,stroke: "none",@@ -66721,28 +66721,28 @@ var SFe = (e, t) => {x: s.x2,y: s.y2});- return /*#__PURE__*/ B.createElement(Az, T0({- className: _h("recharts-polar-angle-axis-tick", y0(t)),+ return /*#__PURE__*/ B.createElement(kz, x0({+ className: _h("recharts-polar-angle-axis-tick", h0(t)),key: `tick-${a.coordinate}`- }, QB(e, a, o)), n && /*#__PURE__*/ B.createElement("line", T0({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ B.createElement(EFe, {+ }, ZB(e, a, o)), n && /*#__PURE__*/ B.createElement("line", x0({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ B.createElement(AFe, {tick: t,tickProps: p,value: r ? r(a.value, o) : a.value}));});- return /*#__PURE__*/ B.createElement(Az, { className: "recharts-polar-angle-axis-ticks" }, d);-}, OFe = (e) => {- var { angleAxisId: t } = e, n = Q(Iq), r = Q((e) => c0(e, "angleAxis", t)), i = vW(), a = Q((e) => APe(e, "angleAxis", t, i));+ return /*#__PURE__*/ B.createElement(kz, { className: "recharts-polar-angle-axis-ticks" }, d);+}, MFe = (e) => {+ var { angleAxisId: t } = e, n = Q(Mq), r = Q((e) => i0(e, "angleAxis", t)), i = mW(), a = Q((e) => PPe(e, "angleAxis", t, i));if (n == null || !a || !a.length || r == null) return null;- var o = D0(D0(D0({}, e), {}, { scale: r }, n), {}, {+ var o = C0(C0(C0({}, e), {}, { scale: r }, n), {}, {radius: n.outerRadius,ticks: a});- return /*#__PURE__*/ B.createElement(F$, { zIndex: o.zIndex }, /*#__PURE__*/ B.createElement(Az, { className: _h("recharts-polar-angle-axis", bFe, o.className) }, /*#__PURE__*/ B.createElement(TFe, o), /*#__PURE__*/ B.createElement(DFe, o)));+ return /*#__PURE__*/ B.createElement(j$, { zIndex: o.zIndex }, /*#__PURE__*/ B.createElement(kz, { className: _h("recharts-polar-angle-axis", wFe, o.className) }, /*#__PURE__*/ B.createElement(kFe, o), /*#__PURE__*/ B.createElement(jFe, o)));};-function A0(e) {- var t = eV(e, bq);- return /*#__PURE__*/ B.createElement(xFe, {+function E0(e) {+ var t = $B(e, gq);+ return /*#__PURE__*/ B.createElement(TFe, {id: t.angleAxisId,scale: t.scale,type: t.type,@@ -66759,12 +66759,12 @@ function A0(e) {ticks: t.ticks,tick: t.tick,domain: t.domain- }, /*#__PURE__*/ B.createElement(OFe, t));+ }, /*#__PURE__*/ B.createElement(MFe, t));}-A0.displayName = "PolarAngleAxis";+E0.displayName = "PolarAngleAxis";//#endregion//#region node_modules/react-is/cjs/react-is.production.js-var kFe = /* @__PURE__ */ xt(((e) => {+var NFe = /* @__PURE__ */ xt(((e) => {var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");function m(e) {if (typeof e == "object" && e) {@@ -66793,26 +66793,26 @@ var kFe = /* @__PURE__ */ xt(((e) => {e.isFragment = function(e) {return m(e) === r;};-})), AFe = (/* @__PURE__ */ xt(((e, t) => {- t.exports = kFe();-})))(), j0 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", M0 = null, N0 = null, P0 = (e) => {- if (e === M0 && Array.isArray(N0)) return N0;+})), PFe = (/* @__PURE__ */ xt(((e, t) => {+ t.exports = NFe();+})))(), D0 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", O0 = null, k0 = null, A0 = (e) => {+ if (e === O0 && Array.isArray(k0)) return k0;var t = [];return B.Children.forEach(e, (e) => {- VB(e) || ((0, AFe.isFragment)(e) ? t = t.concat(P0(e.props.children)) : t.push(e));- }), N0 = t, M0 = e, t;+ BB(e) || ((0, PFe.isFragment)(e) ? t = t.concat(A0(e.props.children)) : t.push(e));+ }), k0 = t, O0 = e, t;};-function F0(e, t) {+function j0(e, t) {var n = [], r = [];- return r = Array.isArray(t) ? t.map((e) => j0(e)) : [j0(t)], P0(e).forEach((e) => {- var t = kB(e, "type.displayName") || kB(e, "type.name");+ return r = Array.isArray(t) ? t.map((e) => D0(e)) : [D0(t)], A0(e).forEach((e) => {+ var t = OB(e, "type.displayName") || OB(e, "type.name");t && r.indexOf(t) !== -1 && n.push(e);}), n;}-var I0 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;+var M0 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs-function jFe(e) {+function FFe(e) {if (typeof e != "object" || !e) return !1;if (Object.getPrototypeOf(e) === null) return !0;if (Object.prototype.toString.call(e) !== "[object Object]") {@@ -66825,8 +66825,8 @@ function jFe(e) {}//#endregion//#region node_modules/recharts/es6/shape/Trapezoid.js-var MFe, NFe, PFe, FFe, IFe;-function L0(e, t) {+var IFe, LFe, RFe, zFe, BFe;+function N0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -66836,30 +66836,30 @@ function L0(e, t) {}return n;}-function R0(e) {+function P0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? L0(Object(n), !0).forEach(function(t) {- LFe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L0(Object(n)).forEach(function(t) {+ t % 2 ? N0(Object(n), !0).forEach(function(t) {+ VFe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N0(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function LFe(e, t, n) {- return (t = RFe(t)) in e ? Object.defineProperty(e, t, {+function VFe(e, t, n) {+ return (t = HFe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function RFe(e) {- var t = zFe(e, "string");+function HFe(e) {+ var t = UFe(e, "string");return typeof t == "symbol" ? t : t + "";}-function zFe(e, t) {+function UFe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -66869,42 +66869,42 @@ function zFe(e, t) {}return (t === "string" ? String : Number)(e);}-function z0() {- return z0 = Object.assign ? Object.assign.bind() : function(e) {+function F0() {+ return F0 = 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;- }, z0.apply(null, arguments);+ }, F0.apply(null, arguments);}-function B0(e, t) {+function I0(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var V0 = (e, t, n, r, i) => {- var a = n - r, o = jB(MFe ||= B0([+var L0 = (e, t, n, r, i) => {+ var a = n - r, o = AB(IFe ||= I0(["M ",",",""]), e, t);- return o += jB(NFe ||= B0([+ return o += AB(LFe ||= I0(["L ",",",""- ]), e + n, t), o += jB(PFe ||= B0([+ ]), e + n, t), o += AB(RFe ||= I0(["L ",",",""- ]), e + n - a / 2, t + i), o += jB(FFe ||= B0([+ ]), e + n - a / 2, t + i), o += AB(zFe ||= I0(["L ",",",""- ]), e + n - a / 2 - r, t + i), o += jB(IFe ||= B0([+ ]), e + n - a / 2 - r, t + i), o += AB(BFe ||= I0(["L ",","," Z"]), e, t), o;-}, BFe = {+}, WFe = {x: 0,y: 0,upperWidth: 0,@@ -66914,8 +66914,8 @@ var V0 = (e, t, n, r, i) => {animationBegin: 0,animationDuration: 1500,animationEasing: "ease"-}, VFe = (e) => {- var t = eV(e, BFe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, B.useRef)(null), [p, m] = (0, B.useState)(-1), h = (0, B.useRef)(i), g = (0, B.useRef)(a), _ = (0, B.useRef)(o), v = (0, B.useRef)(n), y = (0, B.useRef)(r), b = TK(e, "trapezoid-");+}, GFe = (e) => {+ var t = $B(e, WFe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, B.useRef)(null), [p, m] = (0, B.useState)(-1), h = (0, B.useRef)(i), g = (0, B.useRef)(a), _ = (0, B.useRef)(o), v = (0, B.useRef)(n), y = (0, B.useRef)(r), b = xK(e, "trapezoid-");if ((0, B.useEffect)(() => {if (f.current && f.current.getTotalLength) try {var e = f.current.getTotalLength();@@ -66923,12 +66923,12 @@ var V0 = (e, t, n, r, i) => {} catch {}}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;var x = _h("recharts-trapezoid", s);- if (!d) return /*#__PURE__*/ B.createElement("g", null, /*#__PURE__*/ B.createElement("path", z0({}, Ez(t), {+ if (!d) return /*#__PURE__*/ B.createElement("g", null, /*#__PURE__*/ B.createElement("path", F0({}, Tz(t), {className: x,- d: V0(n, r, i, a, o)+ d: L0(n, r, i, a, o)})));- var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = dK(["strokeDasharray"], l, c);- return /*#__PURE__*/ B.createElement(wK, {+ var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = sK(["strokeDasharray"], l, c);+ return /*#__PURE__*/ B.createElement(bK, {animationId: b,key: b,canBegin: p > 0,@@ -66937,35 +66937,35 @@ var V0 = (e, t, n, r, i) => {isActive: d,begin: u}, (e) => {- var s = zB(S, i, e), c = zB(C, a, e), l = zB(w, o, e), u = zB(T, n, e), d = zB(E, r, e);+ var s = RB(S, i, e), c = RB(C, a, e), l = RB(w, o, e), u = RB(T, n, e), d = RB(E, r, e);f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);var p = e > 0 ? {transition: k,strokeDasharray: O} : { strokeDasharray: D };- return /*#__PURE__*/ B.createElement("path", z0({}, Ez(t), {+ return /*#__PURE__*/ B.createElement("path", F0({}, Tz(t), {className: x,- d: V0(u, d, s, c, l),+ d: L0(u, d, s, c, l),ref: f,- style: R0(R0({}, p), t.style)+ style: P0(P0({}, p), t.style)}));});-}, HFe = [+}, KFe = ["option","shapeType","activeClassName","inActiveClassName"];-function UFe(e, t) {+function qFe(e, t) {if (e == null) return {};- var n, r, i = WFe(e, t);+ var n, r, i = JFe(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 WFe(e, t) {+function JFe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -66974,7 +66974,7 @@ function WFe(e, t) {}return n;}-function H0(e, t) {+function R0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -66984,30 +66984,30 @@ function H0(e, t) {}return n;}-function U0(e) {+function z0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? H0(Object(n), !0).forEach(function(t) {- GFe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H0(Object(n)).forEach(function(t) {+ t % 2 ? R0(Object(n), !0).forEach(function(t) {+ YFe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R0(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function GFe(e, t, n) {- return (t = KFe(t)) in e ? Object.defineProperty(e, t, {+function YFe(e, t, n) {+ return (t = XFe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function KFe(e) {- var t = qFe(e, "string");+function XFe(e) {+ var t = ZFe(e, "string");return typeof t == "symbol" ? t : t + "";}-function qFe(e, t) {+function ZFe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -67017,68 +67017,68 @@ function qFe(e, t) {}return (t === "string" ? String : Number)(e);}-function JFe(e, t) {- return U0(U0({}, t), e);+function QFe(e, t) {+ return z0(z0({}, t), e);}-function YFe(e, t) {+function $Fe(e, t) {return e === "symbols";}-function W0(e) {+function B0(e) {var { shapeType: t, elementProps: n } = e;switch (t) {- case "rectangle": return /*#__PURE__*/ B.createElement(NK, n);- case "trapezoid": return /*#__PURE__*/ B.createElement(VFe, n);- case "sector": return /*#__PURE__*/ B.createElement(WK, n);+ case "rectangle": return /*#__PURE__*/ B.createElement(kK, n);+ case "trapezoid": return /*#__PURE__*/ B.createElement(GFe, n);+ case "sector": return /*#__PURE__*/ B.createElement(BK, n);case "symbols":- if (YFe(t, n)) return /*#__PURE__*/ B.createElement(YB, n);+ if ($Fe(t, n)) return /*#__PURE__*/ B.createElement(JB, n);break;- case "curve": return /*#__PURE__*/ B.createElement(oK, n);+ case "curve": return /*#__PURE__*/ B.createElement(nK, n);default: return null;}}-function XFe(e) {+function eIe(e) {return /*#__PURE__*/ (0, B.isValidElement)(e) ? e.props : e;}-function G0(e) {- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = UFe(e, HFe), o;- if (/*#__PURE__*/ (0, B.isValidElement)(t)) o = /*#__PURE__*/ (0, B.cloneElement)(t, U0(U0({}, a), XFe(t)));+function V0(e) {+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = qFe(e, KFe), o;+ if (/*#__PURE__*/ (0, B.isValidElement)(t)) o = /*#__PURE__*/ (0, B.cloneElement)(t, z0(z0({}, a), eIe(t)));else if (typeof t == "function") o = t(a, a.index);- else if (jFe(t) && typeof t != "boolean") {- var s = JFe(t, a);- o = /*#__PURE__*/ B.createElement(W0, {+ else if (FFe(t) && typeof t != "boolean") {+ var s = QFe(t, a);+ o = /*#__PURE__*/ B.createElement(B0, {shapeType: n,elementProps: s});} else {var c = a;- o = /*#__PURE__*/ B.createElement(W0, {+ o = /*#__PURE__*/ B.createElement(B0, {shapeType: n,elementProps: c});}- return a.isActive ? /*#__PURE__*/ B.createElement(Az, { className: r }, o) : /*#__PURE__*/ B.createElement(Az, { className: i }, o);+ return a.isActive ? /*#__PURE__*/ B.createElement(kz, { className: r }, o) : /*#__PURE__*/ B.createElement(kz, { className: i }, o);}//#endregion//#region node_modules/recharts/es6/context/tooltipContext.js-var K0 = (e, t, n) => {- var r = jV();+var H0 = (e, t, n) => {+ var r = DV();return (i, a) => (o) => {- e?.(i, a, o), r(IQ({+ e?.(i, a, o), r(MQ({activeIndex: String(a),activeDataKey: t,activeCoordinate: i.tooltipPosition,activeGraphicalItemId: n}));};-}, q0 = (e) => {- var t = jV();+}, U0 = (e) => {+ var t = DV();return (n, r) => (i) => {- e?.(n, r, i), t(Fje());+ e?.(n, r, i), t(zje());};-}, J0 = (e, t, n) => {- var r = jV();+}, W0 = (e, t, n) => {+ var r = DV();return (i, a) => (o) => {- e?.(i, a, o), r(Ije({+ e?.(i, a, o), r(Bje({activeIndex: String(a),activeDataKey: t,activeCoordinate: i.tooltipPosition,@@ -67088,10 +67088,10 @@ var K0 = (e, t, n) => {};//#endregion//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js-function Y0(e) {- var { tooltipEntrySettings: t } = e, n = jV(), r = vW(), i = (0, B.useRef)(null);+function G0(e) {+ var { tooltipEntrySettings: t } = e, n = DV(), r = mW(), i = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {- r || (i.current === null ? n(jje(t)) : i.current !== t && n(Mje({+ r || (i.current === null ? n(Fje(t)) : i.current !== t && n(Ije({prev: i.current,next: t})), i.current = t);@@ -67100,15 +67100,15 @@ function Y0(e) {n,r]), (0, B.useLayoutEffect)(() => () => {- i.current &&= (n(Nje(i.current)), null);+ i.current &&= (n(Lje(i.current)), null);}, [n]), null;}//#endregion//#region node_modules/recharts/es6/state/SetLegendPayload.js-function X0(e) {- var { legendPayload: t } = e, n = jV(), r = vW(), i = (0, B.useRef)(null);+function K0(e) {+ var { legendPayload: t } = e, n = DV(), r = mW(), i = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {- r || (i.current === null ? n(AG(t)) : i.current !== t && n(jG({+ r || (i.current === null ? n(EG(t)) : i.current !== t && n(DG({prev: i.current,next: t})), i.current = t);@@ -67117,13 +67117,13 @@ function X0(e) {r,t]), (0, B.useLayoutEffect)(() => () => {- i.current &&= (n(MG(i.current)), null);+ i.current &&= (n(OG(i.current)), null);}, [n]), null;}-function Z0(e) {- var { legendPayload: t } = e, n = jV(), r = Q(IW), i = (0, B.useRef)(null);+function q0(e) {+ var { legendPayload: t } = e, n = DV(), r = Q(MW), i = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {- (r === "centric" || r === "radial") && (i.current === null ? n(AG(t)) : i.current !== t && n(jG({+ (r === "centric" || r === "radial") && (i.current === null ? n(EG(t)) : i.current !== t && n(DG({prev: i.current,next: t})), i.current = t);@@ -67132,27 +67132,27 @@ function Z0(e) {r,t]), (0, B.useLayoutEffect)(() => () => {- i.current &&= (n(MG(i.current)), null);+ i.current &&= (n(OG(i.current)), null);}, [n]), null;}//#endregion//#region node_modules/recharts/es6/util/useId.js-var ZFe = B.useId ?? (() => {- var [e] = B.useState(() => IB("uid-"));+var tIe = B.useId ?? (() => {+ var [e] = B.useState(() => FB("uid-"));return e;});//#endregion//#region node_modules/recharts/es6/util/useUniqueId.js-function QFe(e, t) {- var n = ZFe();+function nIe(e, t) {+ var n = tIe();return t || (e ? `${e}-${n}` : n);}//#endregion//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js-var $Fe = /*#__PURE__*/ (0, B.createContext)(void 0), Q0 = (e) => {- var { id: t, type: n, children: r } = e, i = QFe(`recharts-${n}`, t);- return /*#__PURE__*/ B.createElement($Fe.Provider, { value: i }, r(i));-}, $0 = gU({+var rIe = /*#__PURE__*/ (0, B.createContext)(void 0), J0 = (e) => {+ var { id: t, type: n, children: r } = e, i = nIe(`recharts-${n}`, t);+ return /*#__PURE__*/ B.createElement(rIe.Provider, { value: i }, r(i));+}, Y0 = fU({name: "graphicalItems",initialState: {cartesianItems: [],@@ -67161,80 +67161,80 @@ var $Fe = /*#__PURE__*/ (0, B.createContext)(void 0), Q0 = (e) => {reducers: {addCartesianGraphicalItem: {reducer(e, t) {- e.cartesianItems.push(DG(t.payload));+ e.cartesianItems.push(CG(t.payload));},- prepare: fU()+ prepare: cU()},replaceCartesianGraphicalItem: {reducer(e, t) {- var { prev: n, next: r } = t.payload, i = rU(e).cartesianItems.indexOf(DG(n));- i > -1 && (e.cartesianItems[i] = DG(r));+ var { prev: n, next: r } = t.payload, i = $H(e).cartesianItems.indexOf(CG(n));+ i > -1 && (e.cartesianItems[i] = CG(r));},- prepare: fU()+ prepare: cU()},removeCartesianGraphicalItem: {reducer(e, t) {- var n = rU(e).cartesianItems.indexOf(DG(t.payload));+ var n = $H(e).cartesianItems.indexOf(CG(t.payload));n > -1 && e.cartesianItems.splice(n, 1);},- prepare: fU()+ prepare: cU()},addPolarGraphicalItem: {reducer(e, t) {- e.polarItems.push(DG(t.payload));+ e.polarItems.push(CG(t.payload));},- prepare: fU()+ prepare: cU()},removePolarGraphicalItem: {reducer(e, t) {- var n = rU(e).polarItems.indexOf(DG(t.payload));+ var n = $H(e).polarItems.indexOf(CG(t.payload));n > -1 && e.polarItems.splice(n, 1);},- prepare: fU()+ prepare: cU()},replacePolarGraphicalItem: {reducer(e, t) {- var { prev: n, next: r } = t.payload, i = rU(e).polarItems.indexOf(DG(n));- i > -1 && (e.polarItems[i] = DG(r));+ var { prev: n, next: r } = t.payload, i = $H(e).polarItems.indexOf(CG(n));+ i > -1 && (e.polarItems[i] = CG(r));},- prepare: fU()+ prepare: cU()}}-}), { addCartesianGraphicalItem: eIe, replaceCartesianGraphicalItem: tIe, removeCartesianGraphicalItem: nIe, addPolarGraphicalItem: rIe, removePolarGraphicalItem: iIe, replacePolarGraphicalItem: aIe } = $0.actions, oIe = $0.reducer, e2 = /*#__PURE__*/ (0, B.memo)((e) => {- var t = jV(), n = (0, B.useRef)(null);+}), { addCartesianGraphicalItem: iIe, replaceCartesianGraphicalItem: aIe, removeCartesianGraphicalItem: oIe, addPolarGraphicalItem: sIe, removePolarGraphicalItem: cIe, replacePolarGraphicalItem: lIe } = Y0.actions, uIe = Y0.reducer, X0 = /*#__PURE__*/ (0, B.memo)((e) => {+ var t = DV(), n = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {- n.current === null ? t(eIe(e)) : n.current !== e && t(tIe({+ n.current === null ? t(iIe(e)) : n.current !== e && t(aIe({prev: n.current,next: e})), n.current = e;}, [t, e]), (0, B.useLayoutEffect)(() => () => {- n.current &&= (t(nIe(n.current)), null);+ n.current &&= (t(oIe(n.current)), null);}, [t]), null;-}), t2 = /*#__PURE__*/ (0, B.memo)((e) => {- var t = jV(), n = (0, B.useRef)(null);+}), Z0 = /*#__PURE__*/ (0, B.memo)((e) => {+ var t = DV(), n = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {- n.current === null ? t(rIe(e)) : n.current !== e && t(aIe({+ n.current === null ? t(sIe(e)) : n.current !== e && t(lIe({prev: n.current,next: e})), n.current = e;}, [t, e]), (0, B.useLayoutEffect)(() => () => {- n.current &&= (t(iIe(n.current)), null);+ n.current &&= (t(cIe(n.current)), null);}, [t]), null;});//#endregion//#region node_modules/es-toolkit/dist/array/last.mjs-function sIe(e) {+function dIe(e) {return e[e.length - 1];}//#endregion//#region node_modules/es-toolkit/dist/compat/array/last.mjs-function cIe(e) {- if (!(!oV(e) || e.length === 0)) return sIe(_0(e));+function fIe(e) {+ if (!(!aV(e) || e.length === 0)) return dIe(p0(e));}//#endregion//#region node_modules/recharts/es6/component/Dots.js-var lIe = ["points"];-function n2(e, t) {+var pIe = ["points"];+function Q0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -67244,30 +67244,30 @@ function n2(e, t) {}return n;}-function r2(e) {+function $0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? n2(Object(n), !0).forEach(function(t) {- uIe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n2(Object(n)).forEach(function(t) {+ t % 2 ? Q0(Object(n), !0).forEach(function(t) {+ mIe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q0(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function uIe(e, t, n) {- return (t = dIe(t)) in e ? Object.defineProperty(e, t, {+function mIe(e, t, n) {+ return (t = hIe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function dIe(e) {- var t = fIe(e, "string");+function hIe(e) {+ var t = gIe(e, "string");return typeof t == "symbol" ? t : t + "";}-function fIe(e, t) {+function gIe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -67277,25 +67277,25 @@ function fIe(e, t) {}return (t === "string" ? String : Number)(e);}-function i2() {- return i2 = Object.assign ? Object.assign.bind() : function(e) {+function e2() {+ return e2 = 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;- }, i2.apply(null, arguments);+ }, e2.apply(null, arguments);}-function pIe(e, t) {+function _Ie(e, t) {if (e == null) return {};- var n, r, i = mIe(e, t);+ var n, r, i = vIe(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 mIe(e, t) {+function vIe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -67304,21 +67304,21 @@ function mIe(e, t) {}return n;}-function hIe(e) {+function yIe(e) {var { option: t, dotProps: n, className: r } = e;if (/*#__PURE__*/ (0, B.isValidElement)(t)) return /*#__PURE__*/ (0, B.cloneElement)(t, n);if (typeof t == "function") return t(n);- var i = _h(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = pIe(a, lIe);- return /*#__PURE__*/ B.createElement(Q1, i2({}, s, { className: i }));+ var i = _h(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = _Ie(a, pIe);+ return /*#__PURE__*/ B.createElement(J1, e2({}, s, { className: i }));}-function gIe(e, t) {+function bIe(e, t) {return e == null ? !1 : t ? !0 : e.length === 1;}-function a2(e) {- var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = yq.scatter } = e;- if (!gIe(t, n)) return null;- var u = I0(n), d = Dxe(n), f = t.map((e, r) => {- var s = r2(r2(r2({ r: 3 }, o), d), {}, {+function t2(e) {+ var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = hq.scatter } = e;+ if (!bIe(t, n)) return null;+ var u = M0(n), d = Oxe(n), f = t.map((e, r) => {+ var s = $0($0($0({ r: 3 }, o), d), {}, {index: r,cx: e.x ?? void 0,cy: e.y ?? void 0,@@ -67327,18 +67327,18 @@ function a2(e) {payload: e.payload,points: t});- return /*#__PURE__*/ B.createElement(hIe, {+ return /*#__PURE__*/ B.createElement(yIe, {key: `dot-${r}`,option: n,dotProps: s,className: i});}), p = {};- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ B.createElement(F$, { zIndex: l }, /*#__PURE__*/ B.createElement(Az, i2({ className: r }, p), f));+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ B.createElement(j$, { zIndex: l }, /*#__PURE__*/ B.createElement(kz, e2({ className: r }, p), f));}//#endregion//#region node_modules/recharts/es6/state/cartesianAxisSlice.js-function o2(e, t) {+function n2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -67348,30 +67348,30 @@ function o2(e, t) {}return n;}-function s2(e) {+function r2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? o2(Object(n), !0).forEach(function(t) {- _Ie(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o2(Object(n)).forEach(function(t) {+ t % 2 ? n2(Object(n), !0).forEach(function(t) {+ xIe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function _Ie(e, t, n) {- return (t = vIe(t)) in e ? Object.defineProperty(e, t, {+function xIe(e, t, n) {+ return (t = SIe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function vIe(e) {- var t = yIe(e, "string");+function SIe(e) {+ var t = CIe(e, "string");return typeof t == "symbol" ? t : t + "";}-function yIe(e, t) {+function CIe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -67381,7 +67381,7 @@ function yIe(e, t) {}return (t === "string" ? String : Number)(e);}-var c2 = gU({+var i2 = fU({name: "cartesianAxis",initialState: {xAxis: {},@@ -67391,60 +67391,60 @@ var c2 = gU({reducers: {addXAxis: {reducer(e, t) {- e.xAxis[t.payload.id] = DG(t.payload);+ e.xAxis[t.payload.id] = CG(t.payload);},- prepare: fU()+ prepare: cU()},replaceXAxis: {reducer(e, t) {var { prev: n, next: r } = t.payload;- e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = DG(r));+ e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = CG(r));},- prepare: fU()+ prepare: cU()},removeXAxis: {reducer(e, t) {delete e.xAxis[t.payload.id];},- prepare: fU()+ prepare: cU()},addYAxis: {reducer(e, t) {- e.yAxis[t.payload.id] = DG(t.payload);+ e.yAxis[t.payload.id] = CG(t.payload);},- prepare: fU()+ prepare: cU()},replaceYAxis: {reducer(e, t) {var { prev: n, next: r } = t.payload;- e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = DG(r));+ e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = CG(r));},- prepare: fU()+ prepare: cU()},removeYAxis: {reducer(e, t) {delete e.yAxis[t.payload.id];},- prepare: fU()+ prepare: cU()},addZAxis: {reducer(e, t) {- e.zAxis[t.payload.id] = DG(t.payload);+ e.zAxis[t.payload.id] = CG(t.payload);},- prepare: fU()+ prepare: cU()},replaceZAxis: {reducer(e, t) {var { prev: n, next: r } = t.payload;- e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = DG(r));+ e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = CG(r));},- prepare: fU()+ prepare: cU()},removeZAxis: {reducer(e, t) {delete e.zAxis[t.payload.id];},- prepare: fU()+ prepare: cU()},updateYAxisWidth(e, t) {var { id: n, width: r } = t.payload, i = e.yAxis[n];@@ -67452,22 +67452,22 @@ var c2 = gU({var a = i.widthHistory || [];if (a.length === 3 && a[0] === a[2] && r === a[1] && r !== i.width && Math.abs(r - (a[0] ?? 0)) <= 1) return;var o = [...a, r].slice(-3);- e.yAxis[n] = s2(s2({}, i), {}, {+ e.yAxis[n] = r2(r2({}, i), {}, {width: r,widthHistory: o});}}}-}), { addXAxis: bIe, replaceXAxis: xIe, removeXAxis: SIe, addYAxis: CIe, replaceYAxis: wIe, removeYAxis: TIe, addZAxis: EIe, replaceZAxis: DIe, removeZAxis: OIe, updateYAxisWidth: kIe } = c2.actions, AIe = c2.reducer, jIe = $([- $([gW], (e) => ({+}), { addXAxis: wIe, replaceXAxis: TIe, removeXAxis: EIe, addYAxis: DIe, replaceYAxis: OIe, removeYAxis: kIe, addZAxis: AIe, replaceZAxis: jIe, removeZAxis: MIe, updateYAxisWidth: NIe } = i2.actions, PIe = i2.reducer, FIe = $([+ $([fW], (e) => ({top: e.top,bottom: e.bottom,left: e.left,right: e.right})),- lW,- uW+ aW,+ oW], (e, t, n) => {if (!(!e || t == null || n == null)) return {x: e.left,@@ -67475,10 +67475,10 @@ var c2 = gU({width: Math.max(0, t - e.left - e.right),height: Math.max(0, n - e.top - e.bottom)};-}), l2 = () => Q(jIe), MIe = () => Q(dMe);+}), a2 = () => Q(FIe), IIe = () => Q(hMe);//#endregion//#region node_modules/recharts/es6/component/ActivePoints.js-function u2(e, t) {+function o2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -67488,30 +67488,30 @@ function u2(e, t) {}return n;}-function d2(e) {+function s2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? u2(Object(n), !0).forEach(function(t) {- NIe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u2(Object(n)).forEach(function(t) {+ t % 2 ? o2(Object(n), !0).forEach(function(t) {+ LIe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function NIe(e, t, n) {- return (t = PIe(t)) in e ? Object.defineProperty(e, t, {+function LIe(e, t, n) {+ return (t = RIe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function PIe(e) {- var t = FIe(e, "string");+function RIe(e) {+ var t = zIe(e, "string");return typeof t == "symbol" ? t : t + "";}-function FIe(e, t) {+function zIe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -67521,10 +67521,10 @@ function FIe(e, t) {}return (t === "string" ? String : Number)(e);}-var IIe = (e) => {+var BIe = (e) => {var { point: t, childIndex: n, mainColor: r, activeDot: i, dataKey: a, clipPath: o } = e;if (i === !1 || t.x == null || t.y == null) return null;- var s = d2(d2(d2({}, {+ var s = s2(s2(s2({}, {index: n,dataKey: a,cx: t.x,@@ -67535,17 +67535,17 @@ var IIe = (e) => {stroke: "#fff",payload: t.payload,value: t.value- }), Tz(i)), ZB(i)), c = /*#__PURE__*/ (0, B.isValidElement)(i) ? /*#__PURE__*/ (0, B.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ B.createElement(Q1, s);- return /*#__PURE__*/ B.createElement(Az, {+ }), wz(i)), XB(i)), c = /*#__PURE__*/ (0, B.isValidElement)(i) ? /*#__PURE__*/ (0, B.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ B.createElement(J1, s);+ return /*#__PURE__*/ B.createElement(kz, {className: "recharts-active-dot",clipPath: o}, c);};-function f2(e) {- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = yq.activeDot } = e, s = Q(m$), c = MIe();+function c2(e) {+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = hq.activeDot } = e, s = Q(u$), c = IIe();if (t == null || c == null) return null;var l = t.find((e) => c.includes(e.payload));- return VB(l) ? null : /*#__PURE__*/ B.createElement(F$, { zIndex: o }, /*#__PURE__*/ B.createElement(IIe, {+ return BB(l) ? null : /*#__PURE__*/ B.createElement(j$, { zIndex: o }, /*#__PURE__*/ B.createElement(BIe, {point: l,childIndex: Number(s),mainColor: n,@@ -67556,7 +67556,7 @@ function f2(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/radarSelectors.js-function p2(e, t) {+function l2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -67566,30 +67566,30 @@ function p2(e, t) {}return n;}-function m2(e) {+function u2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? p2(Object(n), !0).forEach(function(t) {- LIe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p2(Object(n)).forEach(function(t) {+ t % 2 ? l2(Object(n), !0).forEach(function(t) {+ VIe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function LIe(e, t, n) {- return (t = RIe(t)) in e ? Object.defineProperty(e, t, {+function VIe(e, t, n) {+ return (t = HIe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function RIe(e) {- var t = zIe(e, "string");+function HIe(e) {+ var t = UIe(e, "string");return typeof t == "symbol" ? t : t + "";}-function zIe(e, t) {+function UIe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -67599,16 +67599,16 @@ function zIe(e, t) {}return (t === "string" ? String : Number)(e);}-var h2 = (e, t) => c0(e, "radiusAxis", t), BIe = $([h2], (e) => {+var d2 = (e, t) => i0(e, "radiusAxis", t), WIe = $([d2], (e) => {if (e != null) return { scale: e };-}), VIe = $([kq, h2], (e, t) => {- if (e != null && t != null) return m2(m2({}, e), {}, { scale: t });-}), HIe = (e, t, n, r) => u0(e, "radiusAxis", t, r), g2 = (e, t, n) => Oq(e, n), _2 = (e, t, n) => c0(e, "angleAxis", n), UIe = $([g2, _2], (e, t) => {- if (e != null && t != null) return m2(m2({}, e), {}, { scale: t });-}), WIe = (e, t, n, r) => u0(e, "angleAxis", n, r), GIe = $([- g2,- _2,- Iq+}), GIe = $([Tq, d2], (e, t) => {+ if (e != null && t != null) return u2(u2({}, e), {}, { scale: t });+}), KIe = (e, t, n, r) => o0(e, "radiusAxis", t, r), f2 = (e, t, n) => wq(e, n), p2 = (e, t, n) => i0(e, "angleAxis", n), qIe = $([f2, p2], (e, t) => {+ if (e != null && t != null) return u2(u2({}, e), {}, { scale: t });+}), JIe = (e, t, n, r) => o0(e, "angleAxis", n, r), YIe = $([+ f2,+ p2,+ Mq], (e, t, n) => {if (n != null && t != null) return {scale: t,@@ -67617,40 +67617,40 @@ var h2 = (e, t) => c0(e, "radiusAxis", t), BIe = $([h2], (e) => {cx: n.cx,cy: n.cy};-}), KIe = (e, t, n, r, i) => i, qIe = $([- IW,- VIe,- HIe,- UIe,- WIe-], (e, t, n, r, i) => XU(e, "radiusAxis") ? oW(t, n, !1) : oW(r, i, !1)), JIe = $([- BIe,+}), XIe = (e, t, n, r, i) => i, ZIe = $([+ MW,GIe,- JK,- $([$1, KIe], (e, t) => {+ KIe,+ qIe,+ JIe+], (e, t, n, r, i) => KU(e, "radiusAxis") ? nW(t, n, !1) : nW(r, i, !1)), QIe = $([+ WIe,+ YIe,+ WK,+ $([Y1, XIe], (e, t) => {if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;}),- qIe+ ZIe], (e, t, n, r, i) => {var { chartData: a, dataStartIndex: o, dataEndIndex: s } = n;- if (e != null && t != null && a != null && i != null && r != null) return iLe({+ if (e != null && t != null && a != null && i != null && r != null) return cLe({radiusAxis: e,angleAxis: t,displayedData: a.slice(o, s + 1),dataKey: r,bandSize: i});-}), YIe = ["id"];-function v2() {- return v2 = Object.assign ? Object.assign.bind() : function(e) {+}), $Ie = ["id"];+function m2() {+ return m2 = 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;- }, v2.apply(null, arguments);+ }, m2.apply(null, arguments);}-function y2(e, t) {+function h2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -67660,30 +67660,30 @@ function y2(e, t) {}return n;}-function b2(e) {+function g2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? y2(Object(n), !0).forEach(function(t) {- XIe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y2(Object(n)).forEach(function(t) {+ t % 2 ? h2(Object(n), !0).forEach(function(t) {+ eLe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function XIe(e, t, n) {- return (t = ZIe(t)) in e ? Object.defineProperty(e, t, {+function eLe(e, t, n) {+ return (t = tLe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function ZIe(e) {- var t = QIe(e, "string");+function tLe(e) {+ var t = nLe(e, "string");return typeof t == "symbol" ? t : t + "";}-function QIe(e, t) {+function nLe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -67693,16 +67693,16 @@ function QIe(e, t) {}return (t === "string" ? String : Number)(e);}-function $Ie(e, t) {+function rLe(e, t) {if (e == null) return {};- var n, r, i = eLe(e, t);+ var n, r, i = iLe(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 eLe(e, t) {+function iLe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -67711,42 +67711,42 @@ function eLe(e, t) {}return n;}-function x2(e, t) {+function _2(e, t) {return e && e !== "none" ? e : t;}-var tLe = (e) => {+var aLe = (e) => {var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;return [{inactive: o,dataKey: t,type: a,- color: x2(r, i),- value: cW(n, t),+ color: _2(r, i),+ value: iW(n, t),payload: e}];-}, nLe = /*#__PURE__*/ B.memo((e) => {+}, oLe = /*#__PURE__*/ B.memo((e) => {var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, tooltipType: s, id: c } = e, l = {dataDefinedOnItem: void 0,- getPosition: WB,+ getPosition: UB,settings: {stroke: n,strokeWidth: r,fill: i,nameKey: void 0,dataKey: t,- name: cW(a, t),+ name: iW(a, t),hide: o,type: s,- color: x2(n, i),+ color: _2(n, i),unit: "",graphicalItemId: c}};- return /*#__PURE__*/ B.createElement(Y0, { tooltipEntrySettings: l });+ return /*#__PURE__*/ B.createElement(G0, { tooltipEntrySettings: l });});-function rLe(e) {- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = wz($Ie(n, YIe));- return /*#__PURE__*/ B.createElement(a2, {+function sLe(e) {+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = Cz(rLe(n, $Ie));+ return /*#__PURE__*/ B.createElement(t2, {points: t,dot: r,className: "recharts-radar-dots",@@ -67755,11 +67755,11 @@ function rLe(e) {baseProps: o});}-function iLe(e) {+function cLe(e) {var { radiusAxis: t, angleAxis: n, displayedData: r, dataKey: i, bandSize: a } = e, { cx: o, cy: s } = n, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;r.forEach((e, r) => {- var a = YU(e, n.dataKey, r), d = YU(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? cIe(d) : d, m = VB(p) ? 0 : t.scale.map(p) ?? 0;- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(b2(b2({}, RK(o, s, m, f)), {}, {+ var a = GU(e, n.dataKey, r), d = GU(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? fIe(d) : d, m = BB(p) ? 0 : t.scale.map(p) ?? 0;+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(g2(g2({}, PK(o, s, m, f)), {}, {name: a,value: d,cx: o,@@ -67772,8 +67772,8 @@ function iLe(e) {var d = [];return c && l.forEach((e) => {if (Array.isArray(e.value)) {- var n = e.value[0], r = VB(n) ? 0 : t.scale.map(n) ?? 0;- d.push(b2(b2({}, e), {}, { radius: r }, RK(o, s, r, e.angle)));+ var n = e.value[0], r = BB(n) ? 0 : t.scale.map(n) ?? 0;+ d.push(g2(g2({}, e), {}, { radius: r }, PK(o, s, r, e.angle)));} else d.push(e);}), {points: l,@@ -67781,7 +67781,7 @@ function iLe(e) {baseLinePoints: d};}-function aLe(e) {+function lLe(e) {var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {var t = {x: e.x,@@ -67791,7 +67791,7 @@ function aLe(e) {upperWidth: 0,height: 0};- return b2(b2({}, t), {}, {+ return g2(g2({}, t), {}, {value: e.value ?? "",payload: e.payload,parentViewBox: void 0,@@ -67799,12 +67799,12 @@ function aLe(e) {fill: void 0});});- return /*#__PURE__*/ B.createElement(U1, { value: t ? i : void 0 }, r);+ return /*#__PURE__*/ B.createElement(z1, { value: t ? i : void 0 }, r);}-function oLe(e) {+function uLe(e) {var { points: t, baseLinePoints: n, props: r } = e;if (t == null) return null;- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ B.isValidElement(i) ? /*#__PURE__*/ B.cloneElement(i, b2(b2({}, r), {}, { points: t })) : typeof i == "function" ? i(b2(b2({}, r), {}, { points: t })) : /*#__PURE__*/ B.createElement(X1, v2({}, Ez(r), {+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ B.isValidElement(i) ? /*#__PURE__*/ B.cloneElement(i, g2(g2({}, r), {}, { points: t })) : typeof i == "function" ? i(g2(g2({}, r), {}, { points: t })) : /*#__PURE__*/ B.createElement(K1, m2({}, Tz(r), {onMouseEnter: (e) => {var { onMouseEnter: t } = r;t && t(r, e);@@ -67817,31 +67817,31 @@ function oLe(e) {baseLinePoints: a ? n : void 0,connectNulls: o}));- return /*#__PURE__*/ B.createElement(Az, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ B.createElement(rLe, {+ return /*#__PURE__*/ B.createElement(kz, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ B.createElement(sLe, {props: r,points: t}));}-var S2 = (e, t, n) => (r, i) => {+var v2 = (e, t, n) => (r, i) => {var a = e && e[Math.floor(i * t)];- return a ? b2(b2({}, r), {}, {- x: zB(a.x, r.x, n),- y: zB(a.y, r.y, n)- }) : b2(b2({}, r), {}, {- x: zB(r.cx, r.x, n),- y: zB(r.cy, r.y, n)+ return a ? g2(g2({}, r), {}, {+ x: RB(a.x, r.x, n),+ y: RB(a.y, r.y, n)+ }) : g2(g2({}, r), {}, {+ x: RB(r.cx, r.x, n),+ y: RB(r.cy, r.y, n)});};-function sLe(e) {- var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = TK(t, "recharts-radar-"), [_, v] = (0, B.useState)(!1), y = !_, b = (0, B.useCallback)(() => {+function dLe(e) {+ var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = xK(t, "recharts-radar-"), [_, v] = (0, B.useState)(!1), y = !_, b = (0, B.useCallback)(() => {typeof u == "function" && u(), v(!1);}, [u]), x = (0, B.useCallback)(() => {typeof d == "function" && d(), v(!0);}, [d]);- return /*#__PURE__*/ B.createElement(aLe, {+ return /*#__PURE__*/ B.createElement(lLe, {showLabels: y,points: i- }, /*#__PURE__*/ B.createElement(wK, {+ }, /*#__PURE__*/ B.createElement(bK, {animationId: g,begin: s,duration: c,@@ -67851,23 +67851,23 @@ function sLe(e) {onAnimationEnd: b,onAnimationStart: x}, (e) => {- var o = e === 1 ? i : i.map(S2(f, m, e)), s = e === 1 ? a : a?.map(S2(p, h, e));- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ B.createElement(oLe, {+ var o = e === 1 ? i : i.map(v2(f, m, e)), s = e === 1 ? a : a?.map(v2(p, h, e));+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ B.createElement(uLe, {points: o,baseLinePoints: s,props: t});- }), /*#__PURE__*/ B.createElement(K1, { label: t.label }), t.children);+ }), /*#__PURE__*/ B.createElement(H1, { label: t.label }), t.children);}-function cLe(e) {+function fLe(e) {var t = (0, B.useRef)(void 0), n = (0, B.useRef)(void 0);- return /*#__PURE__*/ B.createElement(sLe, {+ return /*#__PURE__*/ B.createElement(dLe, {props: e,previousPointsRef: t,previousBaseLinePointsRef: n});}-var lLe = {+var pLe = {activeDot: !0,angleAxisId: 0,animationBegin: 0,@@ -67879,33 +67879,33 @@ var lLe = {label: !1,legendType: "rect",radiusAxisId: 0,- zIndex: yq.area+ zIndex: hq.area};-function uLe(e) {+function mLe(e) {var { hide: t, className: n, points: r } = e;if (t) return null;var i = _h("recharts-radar", n);- return /*#__PURE__*/ B.createElement(F$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(Az, { className: i }, /*#__PURE__*/ B.createElement(cLe, e)), /*#__PURE__*/ B.createElement(f2, {+ return /*#__PURE__*/ B.createElement(j$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(kz, { className: i }, /*#__PURE__*/ B.createElement(fLe, e)), /*#__PURE__*/ B.createElement(c2, {points: r,- mainColor: x2(e.stroke, e.fill),+ mainColor: _2(e.stroke, e.fill),itemDataKey: e.dataKey,activeDot: e.activeDot}));}-function dLe(e) {- var t = vW(), n = Q((n) => JIe(n, e.radiusAxisId, e.angleAxisId, t, e.id));- return n?.points == null ? null : /*#__PURE__*/ B.createElement(uLe, v2({}, e, {+function hLe(e) {+ var t = mW(), n = Q((n) => QIe(n, e.radiusAxisId, e.angleAxisId, t, e.id));+ return n?.points == null ? null : /*#__PURE__*/ B.createElement(mLe, m2({}, e, {points: n?.points,baseLinePoints: n?.baseLinePoints,isRange: n?.isRange}));}-function C2(e) {- var t = eV(e, lLe);- return /*#__PURE__*/ B.createElement(Q0, {+function y2(e) {+ var t = $B(e, pLe);+ return /*#__PURE__*/ B.createElement(J0, {id: t.id,type: "radar"- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(t2, {+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(Z0, {type: "radar",id: e,data: void 0,@@ -67913,7 +67913,7 @@ function C2(e) {hide: t.hide,angleAxisId: t.angleAxisId,radiusAxisId: t.radiusAxisId- }), /*#__PURE__*/ B.createElement(Z0, { legendPayload: tLe(t) }), /*#__PURE__*/ B.createElement(nLe, {+ }), /*#__PURE__*/ B.createElement(q0, { legendPayload: aLe(t) }), /*#__PURE__*/ B.createElement(oLe, {dataKey: t.dataKey,stroke: t.stroke,strokeWidth: t.strokeWidth,@@ -67922,33 +67922,33 @@ function C2(e) {hide: t.hide,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ B.createElement(dLe, v2({}, t, { id: e }))));+ }), /*#__PURE__*/ B.createElement(hLe, m2({}, t, { id: e }))));}-C2.displayName = "Radar";+y2.displayName = "Radar";//#endregion//#region node_modules/recharts/es6/util/RadialBarUtils.js-function w2() {- return w2 = Object.assign ? Object.assign.bind() : function(e) {+function b2() {+ return b2 = 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;- }, w2.apply(null, arguments);+ }, b2.apply(null, arguments);}-function T2(e) {+function x2(e) {return typeof e == "string" ? parseInt(e, 10) : e;}-function E2(e) {- return /*#__PURE__*/ B.createElement(G0, w2({ shapeType: "sector" }, e));+function S2(e) {+ return /*#__PURE__*/ B.createElement(V0, b2({ shapeType: "sector" }, e));}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js-var D2 = (e, t, n) => {+var C2 = (e, t, n) => {var r = n ?? e;- if (!VB(r)) return LB(r, t, 0);-}, O2 = (e, t, n) => {- var r = {}, i = e.filter(Vq), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {+ if (!BB(r)) return IB(r, t, 0);+}, w2 = (e, t, n) => {+ var r = {}, i = e.filter(Lq), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {var n = e[t.stackId];return n ??= [], n.push(t), e[t.stackId] = n, e;}, r), s = Object.entries(o).map((e) => {@@ -67956,18 +67956,18 @@ var D2 = (e, t, n) => {return {stackId: r,dataKeys: i.map((e) => e.dataKey),- barSize: D2(t, n, i[0]?.barSize)+ barSize: C2(t, n, i[0]?.barSize)};}), c = a.map((e) => ({stackId: void 0,dataKeys: [e.dataKey].filter((e) => e != null),- barSize: D2(t, n, e.barSize)+ barSize: C2(t, n, e.barSize)}));return [...s, ...c];};//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js-function k2(e, t) {+function T2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -67977,30 +67977,30 @@ function k2(e, t) {}return n;}-function A2(e) {+function E2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? k2(Object(n), !0).forEach(function(t) {- fLe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k2(Object(n)).forEach(function(t) {+ t % 2 ? T2(Object(n), !0).forEach(function(t) {+ gLe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function fLe(e, t, n) {- return (t = pLe(t)) in e ? Object.defineProperty(e, t, {+function gLe(e, t, n) {+ return (t = _Le(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function pLe(e) {- var t = mLe(e, "string");+function _Le(e) {+ var t = vLe(e, "string");return typeof t == "symbol" ? t : t + "";}-function mLe(e, t) {+function vLe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -68010,11 +68010,11 @@ function mLe(e, t) {}return (t === "string" ? String : Number)(e);}-function hLe(e, t, n, r, i) {+function yLe(e, t, n, r, i) {var a = r.length;if (!(a < 1)) {- var o = LB(e, n, 0, !0), s, c = [];- if (GU(r[0]?.barSize)) {+ var o = IB(e, n, 0, !0), s, c = [];+ if (VU(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);var f = {@@ -68033,11 +68033,11 @@ function hLe(e, t, n, r, i) {return f = n.position, r;}, c);} else {- var p = LB(t, n, 0, !0);+ var p = IB(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 >>= 0);- var h = GU(i) ? Math.min(m, i) : m;+ var h = VU(i) ? Math.min(m, i) : m;s = r.reduce((e, t, n) => [...e, {stackId: t.stackId,dataKeys: t.dataKeys,@@ -68050,11 +68050,11 @@ function hLe(e, t, n, r, i) {return s;}}-var j2 = (e, t, n, r, i, a, o) => {- var s = VB(o) ? t : o, c = hLe(n, r, i === a ? a : i, e, s);- return i !== a && c != null && (c = c.map((e) => A2(A2({}, e), {}, { position: A2(A2({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;-}, M2 = (e, t) => {- var n = zq(t);+var D2 = (e, t, n, r, i, a, o) => {+ var s = BB(o) ? t : o, c = yLe(n, r, i === a ? a : i, e, s);+ return i !== a && c != null && (c = c.map((e) => E2(E2({}, e), {}, { position: E2(E2({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;+}, O2 = (e, t) => {+ var n = Fq(t);if (!(!e || n == null || t == null)) {var { stackId: r } = t;if (r != null) {@@ -68065,7 +68065,7 @@ var j2 = (e, t, n, r, i, a, o) => {}}}-}, N2 = (e, t) => {+}, k2 = (e, t) => {if (e != null && t != null) {var n = e.find((e) => e.stackId === t.stackId && t.dataKey != null && e.dataKeys.includes(t.dataKey));if (n != null) return n.position;@@ -68073,7 +68073,7 @@ var j2 = (e, t, n, r, i, a, o) => {};//#endregion//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js-function P2(e, t) {+function A2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -68083,30 +68083,30 @@ function P2(e, t) {}return n;}-function F2(e) {+function j2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? P2(Object(n), !0).forEach(function(t) {- gLe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P2(Object(n)).forEach(function(t) {+ t % 2 ? A2(Object(n), !0).forEach(function(t) {+ bLe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function gLe(e, t, n) {- return (t = _Le(t)) in e ? Object.defineProperty(e, t, {+function bLe(e, t, n) {+ return (t = xLe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function _Le(e) {- var t = vLe(e, "string");+function xLe(e) {+ var t = SLe(e, "string");return typeof t == "symbol" ? t : t + "";}-function vLe(e, t) {+function SLe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -68116,81 +68116,81 @@ function vLe(e, t) {}return (t === "string" ? String : Number)(e);}-var I2 = $([(e, t) => kq(e, t), (e, t) => c0(e, "radiusAxis", t)], (e, t) => {- if (e != null && t != null) return F2(F2({}, e), {}, { scale: t });-}), L2 = (e, t) => jPe(e, "radiusAxis", t, !1), R2 = $([(e, t, n) => Oq(e, n), (e, t, n) => c0(e, "angleAxis", n)], (e, t) => {- if (e != null && t != null) return F2(F2({}, e), {}, { scale: t });-}), z2 = (e, t, n) => u0(e, "angleAxis", n, !1), B2 = $([$1, (e, t, n, r) => r], (e, t) => {+var M2 = $([(e, t) => Tq(e, t), (e, t) => i0(e, "radiusAxis", t)], (e, t) => {+ if (e != null && t != null) return j2(j2({}, e), {}, { scale: t });+}), N2 = (e, t) => FPe(e, "radiusAxis", t, !1), P2 = $([(e, t, n) => wq(e, n), (e, t, n) => i0(e, "angleAxis", n)], (e, t) => {+ if (e != null && t != null) return j2(j2({}, e), {}, { scale: t });+}), F2 = (e, t, n) => o0(e, "angleAxis", n, !1), I2 = $([Y1, (e, t, n, r) => r], (e, t) => {if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;-}), V2 = $([- IW,- I2,- L2,- R2,- z2-], (e, t, n, r, i) => XU(e, "radiusAxis") ? oW(t, n, !1) : oW(r, i, !1)), yLe = $([- R2,- I2,- IW+}), L2 = $([+ MW,+ M2,+ N2,+ P2,+ F2+], (e, t, n, r, i) => KU(e, "radiusAxis") ? nW(t, n, !1) : nW(r, i, !1)), CLe = $([+ P2,+ M2,+ MW], (e, t, n) => {var r = n === "radial" ? e : t;- if (r != null && r.scale != null) return rW({ numericAxis: r });-}), bLe = (e, t, n, r, i) => i, xLe = (e, t, n, r, i) => n, SLe = (e, t, n, r, i) => t, H2 = (e, t, n, r, i) => r.maxBarSize, U2 = (e) => e.type === "radialBar", CLe = $([$([+ if (r != null && r.scale != null) return $U({ numericAxis: r });+}), wLe = (e, t, n, r, i) => i, TLe = (e, t, n, r, i) => n, ELe = (e, t, n, r, i) => t, R2 = (e, t, n, r, i) => r.maxBarSize, z2 = (e) => e.type === "radialBar", DLe = $([$([$([$([- IW,- $1,- xLe,- SLe- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(U2)),- fq,+ MW,+ Y1,+ TLe,+ ELe+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(z2)),+ cq,() => void 0- ], O2),- lq,- uq,- dq,+ ], w2),+ aq,+ oq,+ sq,$([- IW,- lq,- R2,- z2,- I2,- L2,- H2+ MW,+ aq,+ P2,+ F2,+ M2,+ N2,+ R2], (e, t, n, r, i, a, o) => {- var s = VB(o) ? t : o;- return e === "centric" ? oW(n, r, !0) ?? s ?? 0 : oW(i, a, !0) ?? s ?? 0;+ var s = BB(o) ? t : o;+ return e === "centric" ? nW(n, r, !0) ?? s ?? 0 : nW(i, a, !0) ?? s ?? 0;}),- V2,- H2-], j2), B2], N2), W2 = $([e0], (e) => e.filter(U2).filter(Vq)), G2 = $([+ L2,+ R2+], D2), I2], k2), B2 = $([X1], (e) => e.filter(z2).filter(Lq)), V2 = $([$([- W2,- JK,- IZ- ], Bq),- W2,- pq,- mq-], RZ), wLe = $([- R2,- z2,+ B2,+ WK,+ MZ+ ], Iq),+ B2,+ lq,+ uq+], PZ), OLe = $([+ P2,+ F2,+ M2,+ N2,+ UK,I2,L2,- qK,- B2,- V2,- IW,- yLe,- Iq,- bLe,+ MW,CLe,- $([(e, t, n) => IW(e) === "centric" ? G2(e, "radiusAxis", t) : G2(e, "angleAxis", n), B2], M2)+ Mq,+ wLe,+ DLe,+ $([(e, t, n) => MW(e) === "centric" ? V2(e, "radiusAxis", t) : V2(e, "angleAxis", n), I2], O2)], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {var { chartData: p, dataStartIndex: m, dataEndIndex: h } = i;if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];var { dataKey: g, minPointSize: _ } = a, { cx: v, cy: y, startAngle: b, endAngle: x } = l;- return VLe({+ return GLe({angleAxis: e,angleAxisTicks: t,bandSize: o,@@ -68211,7 +68211,7 @@ var I2 = $([(e, t) => kq(e, t), (e, t) => c0(e, "radiusAxis", t)], (e, t) => {stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,startAngle: b});-}), TLe = $([JK, (e, t) => t], (e, t) => {+}), kLe = $([WK, (e, t) => t], (e, t) => {var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;if (n == null) return [];var a = n.slice(r, i + 1);@@ -68224,31 +68224,31 @@ var I2 = $([(e, t) => kq(e, t), (e, t) => c0(e, "radiusAxis", t)], (e, t) => {});//#endregion//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js-function K2(e, t) {- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && GU(e.zIndex) ? e.zIndex : t;+function H2(e, t) {+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && VU(e.zIndex) ? e.zIndex : t;}//#endregion//#region node_modules/recharts/es6/polar/RadialBar.js-var ELe = [+var ALe = ["shape","activeShape","cornerRadius","id"-], DLe = [+], jLe = ["onMouseEnter","onClick","onMouseLeave"-], OLe = ["value", "background"];-function q2() {- return q2 = Object.assign ? Object.assign.bind() : function(e) {+], MLe = ["value", "background"];+function U2() {+ return U2 = 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;- }, q2.apply(null, arguments);+ }, U2.apply(null, arguments);}-function J2(e, t) {+function W2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -68258,30 +68258,30 @@ function J2(e, t) {}return n;}-function Y2(e) {+function G2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? J2(Object(n), !0).forEach(function(t) {- kLe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J2(Object(n)).forEach(function(t) {+ t % 2 ? W2(Object(n), !0).forEach(function(t) {+ NLe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function kLe(e, t, n) {- return (t = ALe(t)) in e ? Object.defineProperty(e, t, {+function NLe(e, t, n) {+ return (t = PLe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function ALe(e) {- var t = jLe(e, "string");+function PLe(e) {+ var t = FLe(e, "string");return typeof t == "symbol" ? t : t + "";}-function jLe(e, t) {+function FLe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -68291,16 +68291,16 @@ function jLe(e, t) {}return (t === "string" ? String : Number)(e);}-function X2(e, t) {+function K2(e, t) {if (e == null) return {};- var n, r, i = MLe(e, t);+ var n, r, i = ILe(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 MLe(e, t) {+function ILe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -68309,8 +68309,8 @@ function MLe(e, t) {}return n;}-var Z2 = [];-function NLe(e) {+var q2 = [];+function LLe(e) {var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({value: e.value,payload: e.payload,@@ -68327,15 +68327,15 @@ function NLe(e) {},fill: e.fill}));- return /*#__PURE__*/ B.createElement(yPe, { value: t ? i : void 0 }, r);+ return /*#__PURE__*/ B.createElement(CPe, { value: t ? i : void 0 }, r);}-function PLe(e) {- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = X2(n, ELe), l = wz(c), u = Q(m$), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = X2(n, DLe), h = K0(d, n.dataKey, s), g = q0(p), _ = J0(f, n.dataKey, s);- return t == null ? null : /*#__PURE__*/ B.createElement(NLe, {+function RLe(e) {+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = K2(n, ALe), l = Cz(c), u = Q(u$), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = K2(n, jLe), h = H0(d, n.dataKey, s), g = U0(p), _ = W0(f, n.dataKey, s);+ return t == null ? null : /*#__PURE__*/ B.createElement(LLe, {showLabels: r,sectors: t}, t.map((e, t) => {- var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = Y2(Y2(Y2(Y2({}, l), {}, { cornerRadius: T2(o) }, e), QB(m, e, t)), {}, {+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = G2(G2(G2(G2({}, l), {}, { cornerRadius: x2(o) }, e), ZB(m, e, t)), {}, {onMouseEnter: r,onMouseLeave: s,onClick: d,@@ -68346,19 +68346,19 @@ function PLe(e) {option: n ? a : i,index: t});- return n ? /*#__PURE__*/ B.createElement(F$, {- zIndex: yq.activeBar,+ return n ? /*#__PURE__*/ B.createElement(j$, {+ zIndex: hq.activeBar,key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`- }, /*#__PURE__*/ B.createElement(E2, f)) : /*#__PURE__*/ B.createElement(E2, q2({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));- }), /*#__PURE__*/ B.createElement(K1, { label: n.label }), n.children);+ }, /*#__PURE__*/ B.createElement(S2, f)) : /*#__PURE__*/ B.createElement(S2, U2({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));+ }), /*#__PURE__*/ B.createElement(H1, { label: n.label }), n.children);}-function FLe(e) {- var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = TK(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, B.useState)(!1), m = (0, B.useCallback)(() => {+function zLe(e) {+ var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = xK(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, B.useState)(!1), m = (0, B.useCallback)(() => {typeof c == "function" && c(), p(!1);}, [c]), h = (0, B.useCallback)(() => {typeof l == "function" && l(), p(!0);}, [l]);- return /*#__PURE__*/ B.createElement(wK, {+ return /*#__PURE__*/ B.createElement(bK, {animationId: u,begin: a,duration: o,@@ -68368,37 +68368,37 @@ function FLe(e) {onAnimationEnd: m,key: u}, (e) => {- var i = e === 1 ? r : (r ?? Z2).map((t, n) => {+ var i = e === 1 ? r : (r ?? q2).map((t, n) => {var r = d && d[n];- if (r) return Y2(Y2({}, t), {}, {- startAngle: zB(r.startAngle, t.startAngle, e),- endAngle: zB(r.endAngle, t.endAngle, e)+ if (r) return G2(G2({}, t), {}, {+ startAngle: RB(r.startAngle, t.startAngle, e),+ endAngle: RB(r.endAngle, t.endAngle, e)});var { endAngle: i, startAngle: a } = t;- return Y2(Y2({}, t), {}, { endAngle: zB(a, i, e) });+ return G2(G2({}, t), {}, { endAngle: RB(a, i, e) });});- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ B.createElement(PLe, {- sectors: i ?? Z2,+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ B.createElement(RLe, {+ sectors: i ?? q2,allOtherRadialBarProps: t,showLabels: !f});});}-function ILe(e) {+function BLe(e) {var t = (0, B.useRef)(null);- return /*#__PURE__*/ B.createElement(FLe, {+ return /*#__PURE__*/ B.createElement(zLe, {props: e,previousSectorsRef: t});}-function LLe(e) {- var t = Q((t) => TLe(t, e.legendType));- return /*#__PURE__*/ B.createElement(Z0, { legendPayload: t ?? [] });+function VLe(e) {+ var t = Q((t) => kLe(t, e.legendType));+ return /*#__PURE__*/ B.createElement(q0, { legendPayload: t ?? [] });}-var RLe = /*#__PURE__*/ B.memo((e) => {+var HLe = /*#__PURE__*/ B.memo((e) => {var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {dataDefinedOnItem: n,- getPosition: WB,+ getPosition: UB,settings: {graphicalItemId: l,stroke: r,@@ -68406,45 +68406,45 @@ var RLe = /*#__PURE__*/ B.memo((e) => {fill: s,nameKey: void 0,dataKey: t,- name: cW(a, t),+ name: iW(a, t),hide: o,type: c,color: s,unit: ""}};- return /*#__PURE__*/ B.createElement(Y0, { tooltipEntrySettings: u });-}), zLe = class extends B.PureComponent {+ return /*#__PURE__*/ B.createElement(G0, { tooltipEntrySettings: u });+}), ULe = class extends B.PureComponent {renderBackground(e) {if (e == null) return null;- var { cornerRadius: t } = this.props, n = Tz(this.props.background);- return /*#__PURE__*/ B.createElement(F$, { zIndex: K2(this.props.background, yq.barBackground) }, e.map((e, r) => {- var { value: i, background: a } = e, o = X2(e, OLe);+ var { cornerRadius: t } = this.props, n = wz(this.props.background);+ return /*#__PURE__*/ B.createElement(j$, { zIndex: H2(this.props.background, hq.barBackground) }, e.map((e, r) => {+ var { value: i, background: a } = e, o = K2(e, MLe);if (!a) return null;- var s = Y2(Y2(Y2(Y2(Y2({ cornerRadius: T2(t) }, o), {}, { fill: "#eee" }, a), n), QB(this.props, e, r)), {}, {+ var s = G2(G2(G2(G2(G2({ cornerRadius: x2(t) }, o), {}, { fill: "#eee" }, a), n), ZB(this.props, e, r)), {}, {index: r,className: _h("recharts-radial-bar-background-sector", String(n?.className)),option: a,isActive: !1});- return /*#__PURE__*/ B.createElement(E2, q2({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));+ return /*#__PURE__*/ B.createElement(S2, U2({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));}));}render() {var { hide: e, sectors: t, className: n, background: r } = this.props;if (e) return null;var i = _h("recharts-area", n);- return /*#__PURE__*/ B.createElement(F$, { zIndex: this.props.zIndex }, /*#__PURE__*/ B.createElement(Az, { className: i }, r && /*#__PURE__*/ B.createElement(Az, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ B.createElement(Az, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ B.createElement(ILe, this.props))));+ return /*#__PURE__*/ B.createElement(j$, { zIndex: this.props.zIndex }, /*#__PURE__*/ B.createElement(kz, { className: i }, r && /*#__PURE__*/ B.createElement(kz, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ B.createElement(kz, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ B.createElement(BLe, this.props))));}};-function BLe(e) {- var t = B.useMemo(() => F0(e.children, Q$), [e.children]), n = B.useMemo(() => ({+function WLe(e) {+ var t = B.useMemo(() => j0(e.children, J$), [e.children]), n = B.useMemo(() => ({data: void 0,hide: !1,id: e.id,dataKey: e.dataKey,minPointSize: e.minPointSize,- stackId: eW(e.stackId),+ stackId: XU(e.stackId),maxBarSize: e.maxBarSize,barSize: e.barSize,type: "radialBar",@@ -68459,8 +68459,8 @@ function BLe(e) {e.barSize,e.angleAxisId,e.radiusAxisId- ]), r = Q((r) => wLe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? Z2;- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(RLe, {+ ]), r = Q((r) => OLe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? q2;+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(HLe, {dataKey: e.dataKey,sectors: r,stroke: e.stroke,@@ -68470,9 +68470,9 @@ function BLe(e) {fill: e.fill,tooltipType: e.tooltipType,id: e.id- }), /*#__PURE__*/ B.createElement(zLe, q2({}, e, { sectors: r })));+ }), /*#__PURE__*/ B.createElement(ULe, U2({}, e, { sectors: r })));}-var Q2 = {+var J2 = {angleAxisId: 0,animationBegin: 0,animationDuration: 1500,@@ -68487,14 +68487,14 @@ var Q2 = {legendType: "rect",minPointSize: 0,radiusAxisId: 0,- zIndex: yq.bar+ zIndex: hq.bar};-function VLe(e) {+function GLe(e) {var { displayedData: t, stackedData: n, dataStartIndex: r, stackedDomain: i, dataKey: a, baseValue: o, layout: s, radiusAxis: c, radiusAxisTicks: l, bandSize: u, pos: d, angleAxis: f, minPointSize: p, cx: m, cy: h, angleAxisTicks: g, cells: _, startAngle: v, endAngle: y } = e;- return g == null || l == null ? Z2 : (t ?? []).map((e, t) => {+ return g == null || l == null ? q2 : (t ?? []).map((e, t) => {var b, x, S, C, w, T;- if (n ? b = $U(n[r + t], i) : (b = YU(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {- if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = nW({+ if (n ? b = YU(n[r + t], i) : (b = GU(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {+ if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = QU({axis: c,ticks: l,bandSize: u,@@ -68505,7 +68505,7 @@ function VLe(e) {S = x + d.size;var E = w - C;if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {- var D = MB(E || p) * (Math.abs(p) - Math.abs(E));+ var D = jB(E || p) * (Math.abs(p) - Math.abs(E));w += D;}T = { background: {@@ -68517,7 +68517,7 @@ function VLe(e) {endAngle: y} };}- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = nW({+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = QU({axis: f,ticks: g,bandSize: u,@@ -68528,11 +68528,11 @@ function VLe(e) {w = C + d.size;var O = S - x;if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {- var k = MB(O || p) * (Math.abs(p) - Math.abs(O));+ var k = jB(O || p) * (Math.abs(p) - Math.abs(O));S += k;}}- return Y2(Y2(Y2({}, e), T), {}, {+ return G2(G2(G2({}, e), T), {}, {payload: e,value: n ? b : b[1],cx: m,@@ -68544,38 +68544,38 @@ function VLe(e) {}, _ && _[t] && _[t].props);});}-function $2(e) {- var t = eV(e, Q2);- return /*#__PURE__*/ B.createElement(Q0, {+function Y2(e) {+ var t = $B(e, J2);+ return /*#__PURE__*/ B.createElement(J0, {id: t.id,type: "radialBar"- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(t2, {+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(Z0, {type: "radialBar",id: e,data: void 0,dataKey: t.dataKey,- hide: t.hide ?? Q2.hide,- angleAxisId: t.angleAxisId ?? Q2.angleAxisId,- radiusAxisId: t.radiusAxisId ?? Q2.radiusAxisId,- stackId: eW(t.stackId),+ hide: t.hide ?? J2.hide,+ angleAxisId: t.angleAxisId ?? J2.angleAxisId,+ radiusAxisId: t.radiusAxisId ?? J2.radiusAxisId,+ stackId: XU(t.stackId),barSize: t.barSize,minPointSize: t.minPointSize,maxBarSize: t.maxBarSize- }), /*#__PURE__*/ B.createElement(LLe, t), /*#__PURE__*/ B.createElement(BLe, q2({}, t, { id: e }))));+ }), /*#__PURE__*/ B.createElement(VLe, t), /*#__PURE__*/ B.createElement(WLe, U2({}, t, { id: e }))));}-$2.displayName = "RadialBar";+Y2.displayName = "RadialBar";//#endregion//#region node_modules/recharts/es6/context/chartDataContext.js-var e4 = (e) => {- var { chartData: t } = e, n = jV(), r = vW();- return (0, B.useEffect)(() => r ? () => {} : (n(K$(t)), () => {- n(K$(void 0));+var X2 = (e) => {+ var { chartData: t } = e, n = DV(), r = mW();+ return (0, B.useEffect)(() => r ? () => {} : (n(H$(t)), () => {+ n(H$(void 0));}), [t,n,r]), null;-}, t4 = {+}, Z2 = {x: 0,y: 0,width: 0,@@ -68586,13 +68586,13 @@ var e4 = (e) => {bottom: 0,left: 0}-}, n4 = gU({+}, Q2 = fU({name: "brush",- initialState: t4,+ initialState: Z2,reducers: { setBrushSettings(e, t) {- return t.payload == null ? t4 : t.payload;+ return t.payload == null ? Z2 : t.payload;} }-}), { setBrushSettings: HLe } = n4.actions, ULe = n4.reducer, WLe = (e, t) => {+}), { setBrushSettings: KLe } = Q2.actions, qLe = Q2.reducer, JLe = (e, t) => {var { x: n, y: r } = e, { x: i, y: a } = t;return {x: Math.min(n, i),@@ -68600,9 +68600,9 @@ var e4 = (e) => {width: Math.abs(i - n),height: Math.abs(a - r)};-}, GLe = (e) => {+}, YLe = (e) => {var { x1: t, y1: n, x2: r, y2: i } = e;- return WLe({+ return JLe({x: t,y: n}, {@@ -68610,13 +68610,13 @@ var e4 = (e) => {y: i});};-function KLe(e) {+function XLe(e) {return (e % 180 + 180) % 180;}-var qLe = function(e) {- var { width: t, height: n } = e, r = KLe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);+var ZLe = function(e) {+ var { width: t, height: n } = e, r = XLe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);return Math.abs(a);-}, r4 = gU({+}, $2 = fU({name: "referenceElements",initialState: {dots: [],@@ -68628,35 +68628,35 @@ var qLe = function(e) {e.dots.push(t.payload);},removeDot: (e, t) => {- var n = rU(e).dots.findIndex((e) => e === t.payload);+ var n = $H(e).dots.findIndex((e) => e === t.payload);n !== -1 && e.dots.splice(n, 1);},addArea: (e, t) => {e.areas.push(t.payload);},removeArea: (e, t) => {- var n = rU(e).areas.findIndex((e) => e === t.payload);+ var n = $H(e).areas.findIndex((e) => e === t.payload);n !== -1 && e.areas.splice(n, 1);},addLine: (e, t) => {- e.lines.push(DG(t.payload));+ e.lines.push(CG(t.payload));},removeLine: (e, t) => {- var n = rU(e).lines.findIndex((e) => e === t.payload);+ var n = $H(e).lines.findIndex((e) => e === t.payload);n !== -1 && e.lines.splice(n, 1);}}-}), { addDot: JLe, removeDot: YLe, addArea: XLe, removeArea: ZLe, addLine: QLe, removeLine: $Le } = r4.actions, eRe = r4.reducer, i4 = /*#__PURE__*/ (0, B.createContext)(void 0), tRe = (e) => {- var { children: t } = e, [n] = (0, B.useState)(`${IB("recharts")}-clip`), r = l2();+}), { addDot: QLe, removeDot: $Le, addArea: eRe, removeArea: tRe, addLine: nRe, removeLine: rRe } = $2.actions, iRe = $2.reducer, e4 = /*#__PURE__*/ (0, B.createContext)(void 0), aRe = (e) => {+ var { children: t } = e, [n] = (0, B.useState)(`${FB("recharts")}-clip`), r = a2();if (r == null) return null;var { x: i, y: a, width: o, height: s } = r;- return /*#__PURE__*/ B.createElement(i4.Provider, { value: n }, /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("clipPath", { id: n }, /*#__PURE__*/ B.createElement("rect", {+ return /*#__PURE__*/ B.createElement(e4.Provider, { value: n }, /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("clipPath", { id: n }, /*#__PURE__*/ B.createElement("rect", {x: i,y: a,height: s,width: o}))), t);-}, nRe = () => (0, B.useContext)(i4), rRe = class {+}, oRe = () => (0, B.useContext)(e4), sRe = class {constructor(e) {var { x: t, y: n } = e;this.xAxisScale = t, this.yAxisScale = n;@@ -68682,7 +68682,7 @@ var qLe = function(e) {};//#endregion//#region node_modules/recharts/es6/cartesian/ReferenceLine.js-function a4(e, t) {+function t4(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -68692,30 +68692,30 @@ function a4(e, t) {}return n;}-function o4(e) {+function n4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? a4(Object(n), !0).forEach(function(t) {- iRe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : a4(Object(n)).forEach(function(t) {+ t % 2 ? t4(Object(n), !0).forEach(function(t) {+ cRe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t4(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function iRe(e, t, n) {- return (t = aRe(t)) in e ? Object.defineProperty(e, t, {+function cRe(e, t, n) {+ return (t = lRe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function aRe(e) {- var t = oRe(e, "string");+function lRe(e) {+ var t = uRe(e, "string");return typeof t == "symbol" ? t : t + "";}-function oRe(e, t) {+function uRe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -68725,27 +68725,27 @@ function oRe(e, t) {}return (t === "string" ? String : Number)(e);}-function s4() {- return s4 = Object.assign ? Object.assign.bind() : function(e) {+function r4() {+ return r4 = 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;- }, s4.apply(null, arguments);+ }, r4.apply(null, arguments);}-var sRe = (e, t) => {+var dRe = (e, t) => {var n;if (/*#__PURE__*/ B.isValidElement(e)) n = /*#__PURE__*/ B.cloneElement(e, t);else if (typeof e == "function") n = e(t);else {- if (!GU(t.x1) || !GU(t.y1) || !GU(t.x2) || !GU(t.y2)) return null;- n = /*#__PURE__*/ B.createElement("line", s4({}, t, { className: "recharts-reference-line-line" }));+ if (!VU(t.x1) || !VU(t.y1) || !VU(t.x2) || !VU(t.y2)) return null;+ n = /*#__PURE__*/ B.createElement("line", r4({}, t, { className: "recharts-reference-line-line" }));}return n;-}, cRe = (e, t, n, r, i, a) => {+}, fRe = (e, t, n, r, i, a) => {var { x: o, width: s } = a, c = i.map(e, { position: n });- if (!GU(c) || t === "discard" && !i.isInRange(c)) return null;+ if (!VU(c) || t === "discard" && !i.isInRange(c)) return null;var l = [{x: o + s,y: c@@ -68754,9 +68754,9 @@ var sRe = (e, t) => {y: c}];return r === "left" ? l.reverse() : l;-}, lRe = (e, t, n, r, i, a) => {+}, pRe = (e, t, n, r, i, a) => {var { y: o, height: s } = a, c = i.map(e, { position: n });- if (!GU(c) || t === "discard" && !i.isInRange(c)) return null;+ if (!VU(c) || t === "discard" && !i.isInRange(c)) return null;var l = [{x: c,y: o + s@@ -68765,7 +68765,7 @@ var sRe = (e, t) => {y: o}];return r === "top" ? l.reverse() : l;-}, uRe = (e, t, n, r) => {+}, mRe = (e, t, n, r) => {var i = [r.mapWithFallback(e[0], {position: n,fallback: "rangeMin"@@ -68774,43 +68774,43 @@ var sRe = (e, t) => {fallback: "rangeMax"})];return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;-}, dRe = (e, t, n, r, i, a, o) => {- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = FB(s);- return FB(c) ? cRe(c, u, r, a, t, n) : d ? lRe(s, u, r, i, e, n) : l != null && l.length === 2 ? uRe(l, u, r, new rRe({+}, hRe = (e, t, n, r, i, a, o) => {+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = PB(s);+ return PB(c) ? fRe(c, u, r, a, t, n) : d ? pRe(s, u, r, i, e, n) : l != null && l.length === 2 ? mRe(l, u, r, new sRe({x: e,y: t})) : null;};-function fRe(e) {- var t = jV();- return (0, B.useEffect)(() => (t(QLe(e)), () => {- t($Le(e));+function gRe(e) {+ var t = DV();+ return (0, B.useEffect)(() => (t(nRe(e)), () => {+ t(rRe(e));})), null;}-function pRe(e) {- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = vW(), s = nRe(), c = Q((e) => pZ(e, t)), l = Q((e) => gZ(e, n)), u = Q((e) => pQ(e, "xAxis", t, o)), d = Q((e) => pQ(e, "yAxis", n, o)), f = MW();+function _Re(e) {+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = mW(), s = oRe(), c = Q((e) => lZ(e, t)), l = Q((e) => fZ(e, n)), u = Q((e) => lQ(e, "xAxis", t, o)), d = Q((e) => lQ(e, "yAxis", n, o)), f = OW();if (!s || !f || c == null || l == null || u == null || d == null) return null;- var p = dRe(u, d, f, e.position, c.orientation, l.orientation, e);+ var p = hRe(u, d, f, e.position, c.orientation, l.orientation, e);if (!p) return null;var m = p[0], h = p[1];if (m == null || h == null) return null;- var { x: g, y: _ } = m, { x: v, y } = h, b = o4(o4({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, Ez(e)), {}, {+ var { x: g, y: _ } = m, { x: v, y } = h, b = n4(n4({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, Tz(e)), {}, {x1: g,y1: _,x2: v,y2: y- }), x = GLe({+ }), x = YLe({x1: g,y1: _,x2: v,y2: y});- return /*#__PURE__*/ B.createElement(F$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(Az, { className: _h("recharts-reference-line", i) }, sRe(r, b), /*#__PURE__*/ B.createElement(j1, s4({}, x, {+ return /*#__PURE__*/ B.createElement(j$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(kz, { className: _h("recharts-reference-line", i) }, dRe(r, b), /*#__PURE__*/ B.createElement(D1, r4({}, x, {lowerWidth: x.width,upperWidth: x.width- }), /*#__PURE__*/ B.createElement(z1, { label: e.label }), e.children)));+ }), /*#__PURE__*/ B.createElement(F1, { label: e.label }), e.children)));}-var mRe = {+var vRe = {ifOverflow: "discard",xAxisId: 0,yAxisId: 0,@@ -68820,23 +68820,23 @@ var mRe = {fillOpacity: 1,strokeWidth: 1,position: "middle",- zIndex: yq.line+ zIndex: hq.line};-function c4(e) {- var t = eV(e, mRe);- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(fRe, {+function i4(e) {+ var t = $B(e, vRe);+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(gRe, {yAxisId: t.yAxisId,xAxisId: t.xAxisId,ifOverflow: t.ifOverflow,x: t.x,y: t.y,segment: t.segment- }), /*#__PURE__*/ B.createElement(pRe, t));+ }), /*#__PURE__*/ B.createElement(_Re, t));}-c4.displayName = "ReferenceLine";+i4.displayName = "ReferenceLine";//#endregion//#region node_modules/recharts/es6/util/getEveryNth.js-function l4(e, t) {+function a4(e, t) {if (t < 1) return [];if (t === 1) return e;for (var n = [], r = 0; r < e.length; r += t) {@@ -68847,13 +68847,13 @@ function l4(e, t) {}//#endregion//#region node_modules/recharts/es6/util/TickUtils.js-function hRe(e, t, n) {- return qLe({+function yRe(e, t, n) {+ return ZLe({width: e.width + t.width,height: e.height + t.height}, n);}-function gRe(e, t, n) {+function bRe(e, t, n) {var r = n === "width", { x: i, y: a, width: o, height: s } = e;return t === 1 ? {start: r ? i : a,@@ -68863,33 +68863,33 @@ function gRe(e, t, n) {end: r ? i : a};}-function u4(e, t, n, r, i) {+function o4(e, t, n, r, i) {if (e * t < e * r || e * t > e * i) return !1;var a = n();return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;}-function _Re(e, t) {- return l4(e, t + 1);+function xRe(e, t) {+ return a4(e, t + 1);}//#endregion//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js-function vRe(e, t, n, r, i) {+function SRe(e, t, n, r, i) {for (var a = (r || []).slice(), { start: o, end: s } = t, c = 0, l = 1, u = o, d = function() {var t = r?.[c];- if (t === void 0) return { v: l4(r, l) };- var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || u4(e, p, f, u, s);+ if (t === void 0) return { v: a4(r, l) };+ var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || o4(e, p, f, u, s);m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);}, f; l <= a.length;) if (f = d(), f) return f.v;return [];}-function yRe(e, t, n, r, i) {+function CRe(e, t, n, r, i) {var a = (r || []).slice().length;if (a === 0) return [];for (var { start: o, end: s } = t, c = 1; c <= a; c++) {for (var l = (a - 1) % c, u = o, d = !0, f = function() {var t = r[m];if (t == null) return 0;- var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || u4(e, f, c, u, s);+ var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || o4(e, f, c, u, s);if (!p) return d = !1, 1;p && (u = f + e * (c() / 2 + i));}, p, m = l; m < a && (p = f(), p === 0 || p !== 1); m += c);@@ -68905,7 +68905,7 @@ function yRe(e, t, n, r, i) {}//#endregion//#region node_modules/recharts/es6/cartesian/getTicks.js-function d4(e, t) {+function s4(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -68915,30 +68915,30 @@ function d4(e, t) {}return n;}-function f4(e) {+function c4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? d4(Object(n), !0).forEach(function(t) {- bRe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : d4(Object(n)).forEach(function(t) {+ t % 2 ? s4(Object(n), !0).forEach(function(t) {+ wRe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s4(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function bRe(e, t, n) {- return (t = xRe(t)) in e ? Object.defineProperty(e, t, {+function wRe(e, t, n) {+ return (t = TRe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function xRe(e) {- var t = SRe(e, "string");+function TRe(e) {+ var t = ERe(e, "string");return typeof t == "symbol" ? t : t + "";}-function SRe(e, t) {+function ERe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -68948,26 +68948,26 @@ function SRe(e, t) {}return (t === "string" ? String : Number)(e);}-function CRe(e, t, n, r, i) {+function DRe(e, t, n, r, i) {for (var a = (r || []).slice(), o = a.length, { start: s } = t, { end: c } = t, l = function(t) {var r = a[t];if (r == null) return 1;var l = r, u, d = () => (u === void 0 && (u = n(r, t)), u);if (t === o - 1) {var f = e * (l.coordinate + e * d() / 2 - c);- a[t] = l = f4(f4({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });- } else a[t] = l = f4(f4({}, l), {}, { tickCoord: l.coordinate });- l.tickCoord != null && u4(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = f4(f4({}, l), {}, { isShow: !0 }));+ a[t] = l = c4(c4({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });+ } else a[t] = l = c4(c4({}, l), {}, { tickCoord: l.coordinate });+ l.tickCoord != null && o4(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = c4(c4({}, l), {}, { isShow: !0 }));}, u = o - 1; u >= 0; u--) if (l(u)) continue;return a;}-function wRe(e, t, n, r, i, a) {+function ORe(e, t, n, r, i, a) {var o = (r || []).slice(), s = o.length, { start: c, end: l } = t;if (a) {var u = r[s - 1];if (u != null) {var d = n(u, s - 1), f = e * (u.coordinate + e * d / 2 - l);- o[s - 1] = u = f4(f4({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && u4(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = f4(f4({}, u), {}, { isShow: !0 }));+ o[s - 1] = u = c4(c4({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && o4(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = c4(c4({}, u), {}, { isShow: !0 }));}}for (var p = a ? s - 1 : s, m = function(t) {@@ -68976,17 +68976,17 @@ function wRe(e, t, n, r, i, a) {var a = r, s, u = () => (s === void 0 && (s = n(r, t)), s);if (t === 0) {var d = e * (a.coordinate - e * u() / 2 - c);- o[t] = a = f4(f4({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });- } else o[t] = a = f4(f4({}, a), {}, { tickCoord: a.coordinate });- a.tickCoord != null && u4(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = f4(f4({}, a), {}, { isShow: !0 }));+ o[t] = a = c4(c4({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });+ } else o[t] = a = c4(c4({}, a), {}, { tickCoord: a.coordinate });+ a.tickCoord != null && o4(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = c4(c4({}, a), {}, { isShow: !0 }));}, h = 0; h < p; h++) if (m(h)) continue;return o;}-function p4(e, t, n) {+function l4(e, t, n) {var { tick: r, ticks: i, viewBox: a, minTickGap: o, orientation: s, interval: c, tickFormatter: l, unit: u, angle: d } = e;if (!i || !i.length || !r) return [];- if (Z(c) || KG.isSsr) return _Re(i, Z(c) ? c : 0) ?? [];- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? i1(u, {+ if (Z(c) || HG.isSsr) return xRe(i, Z(c) ? c : 0) ?? [];+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? e1(u, {fontSize: t,letterSpacing: n}) : {@@ -68994,19 +68994,19 @@ function p4(e, t, n) {height: 0}, h = (e, r) => {var i = typeof l == "function" ? l(e.value, r) : e.value;- return p === "width" ? hRe(i1(i, {+ return p === "width" ? yRe(e1(i, {fontSize: t,letterSpacing: n- }), m, d) : i1(i, {+ }), m, d) : e1(i, {fontSize: t,letterSpacing: n})[p];- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? MB(_.coordinate - g.coordinate) : 1, y = gRe(a, v, p);- return c === "equidistantPreserveStart" ? vRe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? yRe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? wRe(v, y, h, i, o, c === "preserveStartEnd") : CRe(v, y, h, i, o), f.filter((e) => e.isShow));+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? jB(_.coordinate - g.coordinate) : 1, y = bRe(a, v, p);+ return c === "equidistantPreserveStart" ? SRe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? CRe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? ORe(v, y, h, i, o, c === "preserveStartEnd") : DRe(v, y, h, i, o), f.filter((e) => e.isShow));}//#endregion//#region node_modules/recharts/es6/util/YAxisUtils.js-var TRe = (e) => {+var kRe = (e) => {var { ticks: t, label: n, labelGapWithTick: r = 5, tickSize: i = 0, tickMargin: a = 0 } = e, o = 0;if (t) {Array.from(t).forEach((e) => {@@ -69019,7 +69019,7 @@ var TRe = (e) => {return Math.round(l);}return 0;-}, m4 = gU({+}, u4 = fU({name: "renderedTicks",initialState: {xAxis: {},@@ -69028,14 +69028,14 @@ var TRe = (e) => {reducers: {setRenderedTicks: (e, t) => {var { axisType: n, axisId: r, ticks: i } = t.payload;- e[n][r] = DG(i);+ e[n][r] = CG(i);},removeRenderedTicks: (e, t) => {var { axisType: n, axisId: r } = t.payload;delete e[n][r];}}-}), { setRenderedTicks: ERe, removeRenderedTicks: DRe } = m4.actions, ORe = m4.reducer, kRe = [+}), { setRenderedTicks: ARe, removeRenderedTicks: jRe } = u4.actions, MRe = u4.reducer, NRe = ["axisLine","width","height",@@ -69045,16 +69045,16 @@ var TRe = (e) => {"axisType","axisId"];-function ARe(e, t) {+function PRe(e, t) {if (e == null) return {};- var n, r, i = jRe(e, t);+ var n, r, i = FRe(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 jRe(e, t) {+function FRe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -69063,16 +69063,16 @@ function jRe(e, t) {}return n;}-function h4() {- return h4 = Object.assign ? Object.assign.bind() : function(e) {+function d4() {+ return d4 = 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;- }, h4.apply(null, arguments);+ }, d4.apply(null, arguments);}-function g4(e, t) {+function f4(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -69082,30 +69082,30 @@ function g4(e, t) {}return n;}-function _4(e) {+function p4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? g4(Object(n), !0).forEach(function(t) {- MRe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g4(Object(n)).forEach(function(t) {+ t % 2 ? f4(Object(n), !0).forEach(function(t) {+ IRe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f4(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function MRe(e, t, n) {- return (t = NRe(t)) in e ? Object.defineProperty(e, t, {+function IRe(e, t, n) {+ return (t = LRe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function NRe(e) {- var t = PRe(e, "string");+function LRe(e) {+ var t = RRe(e, "string");return typeof t == "symbol" ? t : t + "";}-function PRe(e, t) {+function RRe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -69115,7 +69115,7 @@ function PRe(e, t) {}return (t === "string" ? String : Number)(e);}-var v4 = {+var m4 = {x: 0,y: 0,width: 0,@@ -69137,15 +69137,15 @@ var v4 = {tickSize: 6,tickMargin: 2,interval: "preserveEnd",- zIndex: yq.axis+ zIndex: hq.axis};-function FRe(e) {+function zRe(e) {var { x: t, y: n, width: r, height: i, orientation: a, mirror: o, axisLine: s, otherSvgProps: c } = e;if (!s) return null;- var l = _4(_4(_4({}, c), wz(s)), {}, { fill: "none" });+ var l = p4(p4(p4({}, c), Cz(s)), {}, { fill: "none" });if (a === "top" || a === "bottom") {var u = +(a === "top" && !o || a === "bottom" && o);- l = _4(_4({}, l), {}, {+ l = p4(p4({}, l), {}, {x1: t,y1: n + u * i,x2: t + r,@@ -69153,16 +69153,16 @@ function FRe(e) {});} else {var d = +(a === "left" && !o || a === "right" && o);- l = _4(_4({}, l), {}, {+ l = p4(p4({}, l), {}, {x1: t + d * r,y1: n,x2: t + d * r,y2: n + i});}- return /*#__PURE__*/ B.createElement("line", h4({}, l, { className: _h("recharts-cartesian-axis-line", kB(s, "className")) }));+ return /*#__PURE__*/ B.createElement("line", d4({}, l, { className: _h("recharts-cartesian-axis-line", OB(s, "className")) }));}-function IRe(e, t, n, r, i, a, o, s, c) {+function BRe(e, t, n, r, i, a, o, s, c) {var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = Z(e.tickCoord) ? e.tickCoord : e.coordinate;switch (a) {case "top":@@ -69189,14 +69189,14 @@ function IRe(e, t, n, r, i, a, o, s, c) {}};}-function LRe(e, t) {+function VRe(e, t) {switch (e) {case "left": return t ? "start" : "end";case "right": return t ? "end" : "start";default: return "middle";}}-function RRe(e, t) {+function HRe(e, t) {switch (e) {case "left":case "right": return "middle";@@ -69204,19 +69204,19 @@ function RRe(e, t) {default: return t ? "end" : "start";}}-function zRe(e) {+function URe(e) {var { option: t, tickProps: n, value: r } = e, i, a = _h(n.className, "recharts-cartesian-axis-tick-value");- if (/*#__PURE__*/ B.isValidElement(t)) i = /*#__PURE__*/ B.cloneElement(t, _4(_4({}, n), {}, { className: a }));- else if (typeof t == "function") i = t(_4(_4({}, n), {}, { className: a }));+ if (/*#__PURE__*/ B.isValidElement(t)) i = /*#__PURE__*/ B.cloneElement(t, p4(p4({}, n), {}, { className: a }));+ else if (typeof t == "function") i = t(p4(p4({}, n), {}, { className: a }));else {var o = "recharts-cartesian-axis-tick-value";- typeof t != "boolean" && (o = _h(o, y0(t))), i = /*#__PURE__*/ B.createElement(C1, h4({}, n, { className: o }), r);+ typeof t != "boolean" && (o = _h(o, h0(t))), i = /*#__PURE__*/ B.createElement(y1, d4({}, n, { className: o }), r);}return i;}-function BRe(e) {- var { ticks: t, axisType: n, axisId: r } = e, i = jV();- return (0, B.useEffect)(() => r == null || n == null ? WB : (i(ERe({+function WRe(e) {+ var { ticks: t, axisType: n, axisId: r } = e, i = DV();+ return (0, B.useEffect)(() => r == null || n == null ? UB : (i(ARe({ticks: t.map((e) => ({value: e.value,coordinate: e.coordinate,@@ -69226,7 +69226,7 @@ function BRe(e) {axisId: r,axisType: n})), () => {- i(DRe({+ i(jRe({axisId: r,axisType: n}));@@ -69237,17 +69237,17 @@ function BRe(e) {n]), null;}-var VRe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = p4(_4(_4({}, b), {}, { ticks: n }), v, y), T = wz(b), E = Tz(r), D = _1(T.textAnchor) ? T.textAnchor : LRe(u, d), O = RRe(u, d), k = {};+var GRe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = l4(p4(p4({}, b), {}, { ticks: n }), v, y), T = Cz(b), E = wz(r), D = p1(T.textAnchor) ? T.textAnchor : VRe(u, d), O = HRe(u, d), k = {};typeof i == "object" && (k = i);- var A = _4(_4({}, T), {}, { fill: "none" }, k), j = w.map((e) => _4({ entry: e }, IRe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {+ var A = p4(p4({}, T), {}, { fill: "none" }, k), j = w.map((e) => p4({ entry: e }, BRe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {var { entry: t, line: n } = e;- return /*#__PURE__*/ B.createElement(Az, {+ return /*#__PURE__*/ B.createElement(kz, {className: "recharts-cartesian-axis-tick",key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`- }, i && /*#__PURE__*/ B.createElement("line", h4({}, A, n, { className: _h("recharts-cartesian-axis-tick-line", kB(i, "className")) })));+ }, i && /*#__PURE__*/ B.createElement("line", d4({}, A, n, { className: _h("recharts-cartesian-axis-tick-line", OB(i, "className")) })));}), N = j.map((e, t) => {- var { entry: n, tick: i } = e, u = _4(_4({}, _4(_4(_4(_4({ verticalAnchor: O }, T), {}, {+ var { entry: n, tick: i } = e, u = p4(p4({}, p4(p4(p4(p4({ verticalAnchor: O }, T), {}, {textAnchor: D,stroke: "none",fill: a@@ -69258,26 +69258,26 @@ var VRe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {tickFormatter: o,padding: c}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);- return /*#__PURE__*/ B.createElement(Az, h4({+ return /*#__PURE__*/ B.createElement(kz, d4({className: "recharts-cartesian-axis-tick-label",key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`- }, QB(x, n, t)), r && /*#__PURE__*/ B.createElement(zRe, {+ }, ZB(x, n, t)), r && /*#__PURE__*/ B.createElement(URe, {option: r,tickProps: u,value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`}));});- return /*#__PURE__*/ B.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ B.createElement(BRe, {+ return /*#__PURE__*/ B.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ B.createElement(WRe, {ticks: w,axisId: C,axisType: S- }), N.length > 0 && /*#__PURE__*/ B.createElement(F$, { zIndex: yq.label }, /*#__PURE__*/ B.createElement("g", {+ }), N.length > 0 && /*#__PURE__*/ B.createElement(j$, { zIndex: hq.label }, /*#__PURE__*/ B.createElement("g", {className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,ref: t}, N)), M.length > 0 && /*#__PURE__*/ B.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));-}), HRe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = ARe(e, kRe), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(""), h = (0, B.useRef)(null);- (0, B.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => TRe({+}), KRe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = PRe(e, NRe), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(""), h = (0, B.useRef)(null);+ (0, B.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => kRe({ticks: h.current,label: e.labelRef?.current,labelGapWithTick: 5,@@ -69295,7 +69295,7 @@ var VRe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {}}}, [d, p]);- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ B.createElement(F$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(Az, { className: _h("recharts-cartesian-axis", a) }, /*#__PURE__*/ B.createElement(FRe, {+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ B.createElement(j$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(kz, { className: _h("recharts-cartesian-axis", a) }, /*#__PURE__*/ B.createElement(zRe, {x: e.x,y: e.y,width: r,@@ -69303,8 +69303,8 @@ var VRe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {orientation: e.orientation,mirror: e.mirror,axisLine: n,- otherSvgProps: wz(e)- }), /*#__PURE__*/ B.createElement(VRe, {+ otherSvgProps: Cz(e)+ }), /*#__PURE__*/ B.createElement(GRe, {ref: g,axisType: c,events: u,@@ -69328,32 +69328,32 @@ var VRe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {x: e.x,y: e.y,axisId: l- }), /*#__PURE__*/ B.createElement(j1, {+ }), /*#__PURE__*/ B.createElement(D1, {x: e.x,y: e.y,width: e.width,height: e.height,lowerWidth: e.width,upperWidth: e.width- }, /*#__PURE__*/ B.createElement(z1, {+ }, /*#__PURE__*/ B.createElement(F1, {label: e.label,labelRef: e.labelRef}), e.children)));-}), y4 = /*#__PURE__*/ B.forwardRef((e, t) => {- var n = eV(e, v4);- return /*#__PURE__*/ B.createElement(HRe, h4({}, n, { ref: t }));+}), h4 = /*#__PURE__*/ B.forwardRef((e, t) => {+ var n = $B(e, m4);+ return /*#__PURE__*/ B.createElement(KRe, d4({}, n, { ref: t }));});-y4.displayName = "CartesianAxis";+h4.displayName = "CartesianAxis";//#endregion//#region node_modules/recharts/es6/cartesian/CartesianGrid.js-var URe = [+var qRe = ["x1","y1","x2","y2","key"-], WRe = ["offset"], GRe = ["xAxisId", "yAxisId"], KRe = ["xAxisId", "yAxisId"];-function b4(e, t) {+], JRe = ["offset"], YRe = ["xAxisId", "yAxisId"], XRe = ["xAxisId", "yAxisId"];+function g4(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -69363,30 +69363,30 @@ function b4(e, t) {}return n;}-function x4(e) {+function _4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? b4(Object(n), !0).forEach(function(t) {- qRe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b4(Object(n)).forEach(function(t) {+ t % 2 ? g4(Object(n), !0).forEach(function(t) {+ ZRe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g4(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function qRe(e, t, n) {- return (t = JRe(t)) in e ? Object.defineProperty(e, t, {+function ZRe(e, t, n) {+ return (t = QRe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function JRe(e) {- var t = YRe(e, "string");+function QRe(e) {+ var t = $Re(e, "string");return typeof t == "symbol" ? t : t + "";}-function YRe(e, t) {+function $Re(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -69396,25 +69396,25 @@ function YRe(e, t) {}return (t === "string" ? String : Number)(e);}-function S4() {- return S4 = Object.assign ? Object.assign.bind() : function(e) {+function v4() {+ return v4 = 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;- }, S4.apply(null, arguments);+ }, v4.apply(null, arguments);}-function C4(e, t) {+function y4(e, t) {if (e == null) return {};- var n, r, i = XRe(e, t);+ var n, r, i = eze(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 XRe(e, t) {+function eze(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -69423,7 +69423,7 @@ function XRe(e, t) {}return n;}-var ZRe = (e) => {+var tze = (e) => {var { fill: t } = e;if (!t || t === "none") return null;var { fillOpacity: n, x: r, y: i, width: a, height: o, ry: s } = e;@@ -69439,13 +69439,13 @@ var ZRe = (e) => {className: "recharts-cartesian-grid-bg"});};-function w4(e) {+function b4(e) {var { option: t, lineItemProps: n } = e, r;if (/*#__PURE__*/ B.isValidElement(t)) r = /*#__PURE__*/ B.cloneElement(t, n);else if (typeof t == "function") r = t(n);else {- var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = wz(C4(n, URe)) ?? {}, { offset: u } = l, d = C4(l, WRe);- r = /*#__PURE__*/ B.createElement("line", S4({}, d, {+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = Cz(y4(n, qRe)) ?? {}, { offset: u } = l, d = y4(l, JRe);+ r = /*#__PURE__*/ B.createElement("line", v4({}, d, {x1: i,y1: a,x2: o,@@ -69456,11 +69456,11 @@ function w4(e) {}return r;}-function QRe(e) {+function nze(e) {var { x: t, width: n, horizontal: r = !0, horizontalPoints: i } = e;if (!r || !i || !i.length) return null;- var { xAxisId: a, yAxisId: o } = e, s = C4(e, GRe), c = i.map((e, i) => {- var a = x4(x4({}, s), {}, {+ var { xAxisId: a, yAxisId: o } = e, s = y4(e, YRe), c = i.map((e, i) => {+ var a = _4(_4({}, s), {}, {x1: t,y1: e,x2: t + n,@@ -69468,7 +69468,7 @@ function QRe(e) {key: `line-${i}`,index: i});- return /*#__PURE__*/ B.createElement(w4, {+ return /*#__PURE__*/ B.createElement(b4, {key: `line-${i}`,option: r,lineItemProps: a@@ -69476,11 +69476,11 @@ function QRe(e) {});return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);}-function $Re(e) {+function rze(e) {var { y: t, height: n, vertical: r = !0, verticalPoints: i } = e;if (!r || !i || !i.length) return null;- var { xAxisId: a, yAxisId: o } = e, s = C4(e, KRe), c = i.map((e, i) => {- var a = x4(x4({}, s), {}, {+ var { xAxisId: a, yAxisId: o } = e, s = y4(e, XRe), c = i.map((e, i) => {+ var a = _4(_4({}, s), {}, {x1: e,y1: t,x2: e,@@ -69488,7 +69488,7 @@ function $Re(e) {key: `line-${i}`,index: i});- return /*#__PURE__*/ B.createElement(w4, {+ return /*#__PURE__*/ B.createElement(b4, {option: r,lineItemProps: a,key: `line-${i}`@@ -69496,7 +69496,7 @@ function $Re(e) {});return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);}-function eze(e) {+function ize(e) {var { horizontalFill: t, fillOpacity: n, x: r, y: i, width: a, height: o, horizontalPoints: s, horizontal: c = !0 } = e;if (!c || !t || !t.length || s == null) return null;var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);@@ -69519,7 +69519,7 @@ function eze(e) {});return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);}-function tze(e) {+function aze(e) {var { vertical: t = !0, verticalFill: n, fillOpacity: r, x: i, y: a, width: o, height: s, verticalPoints: c } = e;if (!t || !n || !n.length) return null;var l = c.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);@@ -69542,10 +69542,10 @@ function tze(e) {});return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);}-var nze = (e, t) => {+var oze = (e, t) => {var { xAxis: n, width: r, height: i, offset: a } = e;- return ZU(p4(x4(x4(x4({}, v4), n), {}, {- ticks: QU(n, !0),+ return qU(l4(_4(_4(_4({}, m4), n), {}, {+ ticks: JU(n, !0),viewBox: {x: 0,y: 0,@@ -69553,10 +69553,10 @@ var nze = (e, t) => {height: i}})), a.left, a.left + a.width, t);-}, rze = (e, t) => {+}, sze = (e, t) => {var { yAxis: n, width: r, height: i, offset: a } = e;- return ZU(p4(x4(x4(x4({}, v4), n), {}, {- ticks: QU(n, !0),+ return qU(l4(_4(_4(_4({}, m4), n), {}, {+ ticks: JU(n, !0),viewBox: {x: 0,y: 0,@@ -69564,7 +69564,7 @@ var nze = (e, t) => {height: i}})), a.top, a.top + a.height, t);-}, ize = {+}, cze = {horizontal: !0,vertical: !0,horizontalPoints: [],@@ -69576,36 +69576,36 @@ var nze = (e, t) => {xAxisId: 0,yAxisId: 0,syncWithTicks: !1,- zIndex: yq.grid+ zIndex: hq.grid};-function T4(e) {- var t = PW(), n = FW(), r = NW(), i = x4(x4({}, eV(e, ize)), {}, {+function x4(e) {+ var t = AW(), n = jW(), r = kW(), i = _4(_4({}, $B(e, cze)), {}, {x: Z(e.x) ? e.x : r.left,y: Z(e.y) ? e.y : r.top,width: Z(e.width) ? e.width : r.width,height: Z(e.height) ? e.height : r.height- }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = vW(), h = Q((e) => CQ(e, "xAxis", a, m)), g = Q((e) => CQ(e, "yAxis", o, m));- if (!KU(l) || !KU(u) || !Z(s) || !Z(c)) return null;- var _ = i.verticalCoordinatesGenerator || nze, v = i.horizontalCoordinatesGenerator || rze, { horizontalPoints: y, verticalPoints: b } = i;+ }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = mW(), h = Q((e) => yQ(e, "xAxis", a, m)), g = Q((e) => yQ(e, "yAxis", o, m));+ if (!HU(l) || !HU(u) || !Z(s) || !Z(c)) return null;+ var _ = i.verticalCoordinatesGenerator || oze, v = i.horizontalCoordinatesGenerator || sze, { horizontalPoints: y, verticalPoints: b } = i;if ((!y || !y.length) && typeof v == "function") {var x = f && f.length, S = v({- yAxis: g ? x4(x4({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,+ yAxis: g ? _4(_4({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,width: t ?? l,height: n ?? u,offset: r}, x ? !0 : d);- xW(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);+ _W(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);}if ((!b || !b.length) && typeof _ == "function") {var C = p && p.length, w = _({- xAxis: h ? x4(x4({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,+ xAxis: h ? _4(_4({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,width: t ?? l,height: n ?? u,offset: r}, C ? !0 : d);- xW(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);+ _W(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);}- return /*#__PURE__*/ B.createElement(F$, { zIndex: i.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ B.createElement(ZRe, {+ return /*#__PURE__*/ B.createElement(j$, { zIndex: i.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ B.createElement(tze, {fill: i.fill,fillOpacity: i.fillOpacity,x: i.x,@@ -69613,22 +69613,22 @@ function T4(e) {width: i.width,height: i.height,ry: i.ry- }), /*#__PURE__*/ B.createElement(eze, S4({}, i, { horizontalPoints: y })), /*#__PURE__*/ B.createElement(tze, S4({}, i, { verticalPoints: b })), /*#__PURE__*/ B.createElement(QRe, S4({}, i, {+ }), /*#__PURE__*/ B.createElement(ize, v4({}, i, { horizontalPoints: y })), /*#__PURE__*/ B.createElement(aze, v4({}, i, { verticalPoints: b })), /*#__PURE__*/ B.createElement(nze, v4({}, i, {offset: r,horizontalPoints: y,xAxis: h,yAxis: g- })), /*#__PURE__*/ B.createElement($Re, S4({}, i, {+ })), /*#__PURE__*/ B.createElement(rze, v4({}, i, {offset: r,verticalPoints: b,xAxis: h,yAxis: g}))));}-T4.displayName = "CartesianGrid";+x4.displayName = "CartesianGrid";//#endregion//#region node_modules/recharts/es6/state/errorBarSlice.js-var E4 = gU({+var S4 = fU({name: "errorBars",initialState: {},reducers: {@@ -69645,17 +69645,17 @@ var E4 = gU({e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));}}-}), { addErrorBar: aze, replaceErrorBar: oze, removeErrorBar: sze } = E4.actions, cze = E4.reducer, lze = ["children"];-function uze(e, t) {+}), { addErrorBar: lze, replaceErrorBar: uze, removeErrorBar: dze } = S4.actions, fze = S4.reducer, pze = ["children"];+function mze(e, t) {if (e == null) return {};- var n, r, i = dze(e, t);+ var n, r, i = hze(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 hze(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -69664,7 +69664,7 @@ function dze(e, t) {}return n;}-var fze = /*#__PURE__*/ (0, B.createContext)({+var gze = /*#__PURE__*/ (0, B.createContext)({data: [],xAxisId: "xAxis-0",yAxisId: "yAxis-0",@@ -69675,22 +69675,22 @@ var fze = /*#__PURE__*/ (0, B.createContext)({}),errorBarOffset: 0});-function D4(e) {- var { children: t } = e, n = uze(e, lze);- return /*#__PURE__*/ B.createElement(fze.Provider, { value: n }, t);+function C4(e) {+ var { children: t } = e, n = mze(e, pze);+ return /*#__PURE__*/ B.createElement(gze.Provider, { value: n }, t);}//#endregion//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js-function O4(e, t) {- var n = Q((t) => pZ(t, e)), r = Q((e) => gZ(e, t)), i = n?.allowDataOverflow ?? dZ.allowDataOverflow, a = r?.allowDataOverflow ?? mZ.allowDataOverflow;+function w4(e, t) {+ var n = Q((t) => lZ(t, e)), r = Q((e) => fZ(e, t)), i = n?.allowDataOverflow ?? sZ.allowDataOverflow, a = r?.allowDataOverflow ?? uZ.allowDataOverflow;return {needClip: i || a,needClipX: i,needClipY: a};}-function k4(e) {- var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = l2(), { needClipX: a, needClipY: o, needClip: s } = O4(t, n);+function T4(e) {+ var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = a2(), { needClipX: a, needClipY: o, needClip: s } = w4(t, n);if (!s || !i) return null;var { x: c, y: l, width: u, height: d } = i;return /*#__PURE__*/ B.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ B.createElement("rect", {@@ -69702,30 +69702,30 @@ function k4(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/lineSelectors.js-var A4 = (e, t, n, r) => OQ(e, "xAxis", t, r), j4 = (e, t, n, r) => DQ(e, "xAxis", t, r), M4 = (e, t, n, r) => OQ(e, "yAxis", n, r), N4 = (e, t, n, r) => DQ(e, "yAxis", n, r), pze = $([- IW,- A4,- M4,- j4,- N4-], (e, t, n, r, i) => XU(e, "xAxis") ? oW(t, r, !1) : oW(n, i, !1)), mze = (e, t, n, r, i) => i;-function hze(e) {+var E4 = (e, t, n, r) => wQ(e, "xAxis", t, r), D4 = (e, t, n, r) => CQ(e, "xAxis", t, r), O4 = (e, t, n, r) => wQ(e, "yAxis", n, r), k4 = (e, t, n, r) => CQ(e, "yAxis", n, r), _ze = $([+ MW,+ E4,+ O4,+ D4,+ k4+], (e, t, n, r, i) => KU(e, "xAxis") ? nW(t, r, !1) : nW(n, i, !1)), vze = (e, t, n, r, i) => i;+function yze(e) {return e.type === "line";}-var gze = $([- IW,- A4,- M4,- j4,- N4,- $([SZ, mze], (e, t) => e.filter(hze).find((e) => e.id === t)),- pze,- YK+var bze = $([+ MW,+ E4,+ O4,+ D4,+ k4,+ $([vZ, vze], (e, t) => e.filter(yze).find((e) => e.id === t)),+ _ze,+ GK], (e, t, n, r, i, a, o, s) => {var { chartData: c, dataStartIndex: l, dataEndIndex: u } = s;if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {var { dataKey: d, data: f } = a, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);- if (p != null) return Ize({+ if (p != null) return Bze({layout: e,xAxis: t,yAxis: n,@@ -69739,8 +69739,8 @@ var gze = $([});//#endregion//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js-function P4(e) {- var t = Tz(e), n = 3, r = 2;+function A4(e) {+ var t = wz(e), n = 3, r = 2;if (t != null) {var { r: i, strokeWidth: a } = t, o = Number(i), s = Number(a);return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {@@ -69755,13 +69755,13 @@ function P4(e) {}//#endregion//#region node_modules/recharts/es6/cartesian/Line.js-var _ze = ["id"], vze = [+var xze = ["id"], Sze = ["type","layout","connectNulls","needClip","shape"-], yze = [+], Cze = ["activeDot","animateNewValues","animationBegin",@@ -69777,16 +69777,16 @@ var _ze = ["id"], vze = ["yAxisId","id"];-function F4() {- return F4 = Object.assign ? Object.assign.bind() : function(e) {+function j4() {+ return j4 = 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;- }, F4.apply(null, arguments);+ }, j4.apply(null, arguments);}-function I4(e, t) {+function M4(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -69796,30 +69796,30 @@ function I4(e, t) {}return n;}-function L4(e) {+function N4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? I4(Object(n), !0).forEach(function(t) {- bze(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I4(Object(n)).forEach(function(t) {+ t % 2 ? M4(Object(n), !0).forEach(function(t) {+ wze(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M4(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 wze(e, t, n) {+ return (t = Tze(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 Tze(e) {+ var t = Eze(e, "string");return typeof t == "symbol" ? t : t + "";}-function Sze(e, t) {+function Eze(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -69829,16 +69829,16 @@ function Sze(e, t) {}return (t === "string" ? String : Number)(e);}-function R4(e, t) {+function P4(e, t) {if (e == null) return {};- var n, r, i = Cze(e, t);+ var n, r, i = Dze(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 Cze(e, t) {+function Dze(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -69847,27 +69847,27 @@ function Cze(e, t) {}return n;}-var wze = (e) => {+var Oze = (e) => {var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;return [{inactive: a,dataKey: t,type: i,color: r,- value: cW(n, t),+ value: iW(n, t),payload: e}];-}, Tze = /*#__PURE__*/ B.memo((e) => {+}, kze = /*#__PURE__*/ B.memo((e) => {var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {dataDefinedOnItem: n,- getPosition: WB,+ getPosition: UB,settings: {stroke: r,strokeWidth: i,fill: a,dataKey: t,nameKey: void 0,- name: cW(o, t),+ name: iW(o, t),hide: s,type: l,color: r,@@ -69875,15 +69875,15 @@ var wze = (e) => {graphicalItemId: u}};- return /*#__PURE__*/ B.createElement(Y0, { tooltipEntrySettings: d });-}), z4 = (e, t) => `${t}px ${e}px`;-function Eze(e, t) {+ return /*#__PURE__*/ B.createElement(G0, { tooltipEntrySettings: d });+}), F4 = (e, t) => `${t}px ${e}px`;+function Aze(e, t) {for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);return r;}-var Dze = (e, t, n) => {+var jze = (e, t, n) => {var r = n.reduce((e, t) => e + t, 0);- if (!r) return z4(t, e);+ if (!r) return F4(t, e);for (var i = Math.floor(e / r), a = e % r, o = [], s = 0, c = 0; s < n.length; c += (l = n[s]) ?? 0, ++s) {var l, u = n[s];if (u != null && c + u > a) {@@ -69893,14 +69893,14 @@ var Dze = (e, t, n) => {}var d = o.length % 2 == 0 ? [0, t] : [t];return [- ...Eze(n, i),+ ...Aze(n, i),...o,...d].map((e) => `${e}px`).join(", ");};-function Oze(e) {- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = wz(R4(r, _ze));- return /*#__PURE__*/ B.createElement(a2, {+function Mze(e) {+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = Cz(P4(r, xze));+ return /*#__PURE__*/ B.createElement(t2, {points: n,dot: i,className: "recharts-line-dots",@@ -69911,7 +69911,7 @@ function Oze(e) {clipPathId: t});}-function kze(e) {+function Nze(e) {var { showLabels: t, children: n, points: r } = e, i = (0, B.useMemo)(() => r?.map((e) => {var t = {x: e.x ?? 0,@@ -69921,7 +69921,7 @@ function kze(e) {upperWidth: 0,height: 0};- return L4(L4({}, t), {}, {+ return N4(N4({}, t), {}, {value: e.value,payload: e.payload,viewBox: t,@@ -69929,10 +69929,10 @@ function kze(e) {fill: void 0});}), [r]);- return /*#__PURE__*/ B.createElement(U1, { value: t ? i : void 0 }, n);+ return /*#__PURE__*/ B.createElement(z1, { value: t ? i : void 0 }, n);}-function B4(e) {- var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = L4(L4({}, Ez(R4(a, vze))), {}, {+function I4(e) {+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = N4(N4({}, Tz(P4(a, Sze))), {}, {fill: "none",className: "recharts-line-curve",clipPath: l ? `url(#clipPath-${t})` : void 0,@@ -69942,34 +69942,34 @@ function B4(e) {connectNulls: c,strokeDasharray: i ?? a.strokeDasharray});- return /*#__PURE__*/ B.createElement(B.Fragment, null, r?.length > 1 && /*#__PURE__*/ B.createElement(G0, F4({+ return /*#__PURE__*/ B.createElement(B.Fragment, null, r?.length > 1 && /*#__PURE__*/ B.createElement(V0, j4({shapeType: "curve",option: u- }, d, { pathRef: n })), /*#__PURE__*/ B.createElement(Oze, {+ }, d, { pathRef: n })), /*#__PURE__*/ B.createElement(Mze, {points: r,clipPathId: t,props: a}));}-function Aze(e) {+function Pze(e) {try {return e && e.getTotalLength && e.getTotalLength() || 0;} catch {return 0;}}-function jze(e) {- var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = TK(o, "recharts-line-"), y = (0, B.useRef)(v), [b, x] = (0, B.useState)(!1), S = !b, C = (0, B.useCallback)(() => {+function Fze(e) {+ var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = xK(o, "recharts-line-"), y = (0, B.useRef)(v), [b, x] = (0, B.useState)(!1), S = !b, C = (0, B.useCallback)(() => {typeof h == "function" && h(), x(!1);}, [h]), w = (0, B.useCallback)(() => {typeof g == "function" && g(), x(!0);- }, [g]), T = Aze(r.current), E = (0, B.useRef)(0);+ }, [g]), T = Pze(r.current), E = (0, B.useRef)(0);y.current !== v && (E.current = a.current, y.current = v);var D = E.current;- return /*#__PURE__*/ B.createElement(kze, {+ return /*#__PURE__*/ B.createElement(Nze, {points: o,showLabels: S- }, n.children, /*#__PURE__*/ B.createElement(wK, {+ }, n.children, /*#__PURE__*/ B.createElement(bK, {animationId: v,begin: l,duration: u,@@ -69979,26 +69979,26 @@ function jze(e) {onAnimationStart: w,key: v}, (e) => {- var l = zB(D, T + D, e), u = Math.min(l, T), d = c ? s ? Dze(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : z4(T, u) : s == null ? void 0 : String(s);+ var l = RB(D, T + D, e), u = Math.min(l, T), d = c ? s ? jze(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : F4(T, u) : s == null ? void 0 : String(s);if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {var r = Math.floor(n * h);if (_[r]) {var i = _[r];- return L4(L4({}, t), {}, {- x: zB(i.x, t.x, e),- y: zB(i.y, t.y, e)+ return N4(N4({}, t), {}, {+ x: RB(i.x, t.x, e),+ y: RB(i.y, t.y, e)});}- return f ? L4(L4({}, t), {}, {- x: zB(p * 2, t.x, e),- y: zB(m / 2, t.y, e)- }) : L4(L4({}, t), {}, {+ return f ? N4(N4({}, t), {}, {+ x: RB(p * 2, t.x, e),+ y: RB(m / 2, t.y, e)+ }) : N4(N4({}, t), {}, {x: t.x,y: t.y});});- return i.current = g, /*#__PURE__*/ B.createElement(B4, {+ return i.current = g, /*#__PURE__*/ B.createElement(I4, {props: n,points: g,clipPathId: t,@@ -70006,18 +70006,18 @@ function jze(e) {strokeDasharray: d});}- return /*#__PURE__*/ B.createElement(B4, {+ return /*#__PURE__*/ B.createElement(I4, {props: n,points: o,clipPathId: t,pathRef: r,strokeDasharray: d});- }), /*#__PURE__*/ B.createElement(K1, { label: n.label }));+ }), /*#__PURE__*/ B.createElement(H1, { label: n.label }));}-function Mze(e) {+function Ize(e) {var { clipPathId: t, props: n } = e, r = (0, B.useRef)(null), i = (0, B.useRef)(0), a = (0, B.useRef)(null);- return /*#__PURE__*/ B.createElement(jze, {+ return /*#__PURE__*/ B.createElement(Fze, {props: n,clipPathId: t,previousPointsRef: r,@@ -70025,17 +70025,17 @@ function Mze(e) {pathRef: a});}-var Nze = (e, t) => ({+var Lze = (e, t) => ({x: e.x ?? void 0,y: e.y ?? void 0,value: e.value,- errorVal: YU(e.payload, t)-}), Pze = class extends B.Component {+ errorVal: GU(e.payload, t)+}), Rze = class extends B.Component {render() {var { hide: e, dot: t, points: n, className: r, xAxisId: i, yAxisId: a, top: o, left: s, width: c, height: l, id: u, needClip: d, zIndex: f } = this.props;if (e) return null;- var p = _h("recharts-line", r), m = u, { r: h, strokeWidth: g } = P4(t), _ = I0(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;- return /*#__PURE__*/ B.createElement(F$, { zIndex: f }, /*#__PURE__*/ B.createElement(Az, { className: p }, d && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(k4, {+ var p = _h("recharts-line", r), m = u, { r: h, strokeWidth: g } = A4(t), _ = M0(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;+ return /*#__PURE__*/ B.createElement(j$, { zIndex: f }, /*#__PURE__*/ B.createElement(kz, { className: p }, d && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(T4, {clipPathId: m,xAxisId: i,yAxisId: a@@ -70044,16 +70044,16 @@ var Nze = (e, t) => ({y: o - v / 2,width: c + v,height: l + v- }))), /*#__PURE__*/ B.createElement(D4, {+ }))), /*#__PURE__*/ B.createElement(C4, {xAxisId: i,yAxisId: a,data: n,- dataPointFormatter: Nze,+ dataPointFormatter: Lze,errorBarOffset: 0- }, /*#__PURE__*/ B.createElement(Mze, {+ }, /*#__PURE__*/ B.createElement(Ize, {props: this.props,clipPathId: m- }))), /*#__PURE__*/ B.createElement(f2, {+ }))), /*#__PURE__*/ B.createElement(c2, {activeDot: this.props.activeDot,points: n,mainColor: this.props.stroke,@@ -70061,7 +70061,7 @@ var Nze = (e, t) => ({clipPath: y}));}-}, V4 = {+}, L4 = {activeDot: !0,animateNewValues: !0,animationBegin: 0,@@ -70078,14 +70078,14 @@ var Nze = (e, t) => ({strokeWidth: 1,xAxisId: 0,yAxisId: 0,- zIndex: yq.line,+ zIndex: hq.line,type: "linear"};-function Fze(e) {- var t = eV(e, V4), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = R4(t, yze), { needClip: _ } = O4(p, m), v = l2(), y = LW(), b = vW(), x = Q((e) => gze(e, p, m, b, h));+function zze(e) {+ var t = $B(e, L4), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = P4(t, Cze), { needClip: _ } = w4(p, m), v = a2(), y = NW(), b = mW(), x = Q((e) => bze(e, p, m, b, h));if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;var { height: S, width: C, x: w, y: T } = v;- return /*#__PURE__*/ B.createElement(Pze, F4({}, g, {+ return /*#__PURE__*/ B.createElement(Rze, j4({}, g, {id: h,connectNulls: s,dot: c,@@ -70109,23 +70109,23 @@ function Fze(e) {needClip: _}));}-function Ize(e) {+function Bze(e) {var { layout: t, xAxis: n, yAxis: r, xAxisTicks: i, yAxisTicks: a, dataKey: o, bandSize: s, displayedData: c } = e;return c.map((e, c) => {- var l = YU(e, o);+ var l = GU(e, o);if (t === "horizontal") return {- x: tW({+ x: ZU({axis: n,ticks: i,bandSize: s,entry: e,index: c}),- y: (VB(l) ? null : r.scale.map(l)) ?? null,+ y: (BB(l) ? null : r.scale.map(l)) ?? null,value: l,payload: e};- var u = VB(l) ? null : n.scale.map(l), d = tW({+ var u = BB(l) ? null : n.scale.map(l), d = ZU({axis: r,ticks: a,bandSize: s,@@ -70140,12 +70140,12 @@ function Ize(e) {};}).filter(Boolean);}-function Lze(e) {- var t = eV(e, V4), n = vW();- return /*#__PURE__*/ B.createElement(Q0, {+function Vze(e) {+ var t = $B(e, L4), n = mW();+ return /*#__PURE__*/ B.createElement(J0, {id: t.id,type: "line"- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(X0, { legendPayload: wze(t) }), /*#__PURE__*/ B.createElement(Tze, {+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(K0, { legendPayload: Oze(t) }), /*#__PURE__*/ B.createElement(kze, {dataKey: t.dataKey,data: t.data,stroke: t.stroke,@@ -70156,7 +70156,7 @@ function Lze(e) {unit: t.unit,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ B.createElement(e2, {+ }), /*#__PURE__*/ B.createElement(X0, {type: "line",id: e,data: t.data,@@ -70166,50 +70166,50 @@ function Lze(e) {dataKey: t.dataKey,hide: t.hide,isPanorama: n- }), /*#__PURE__*/ B.createElement(Fze, F4({}, t, { id: e }))));+ }), /*#__PURE__*/ B.createElement(zze, j4({}, t, { id: e }))));}-var H4 = /*#__PURE__*/ B.memo(Lze, FG);-H4.displayName = "Line";+var R4 = /*#__PURE__*/ B.memo(Vze, jG);+R4.displayName = "Line";//#endregion//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js-function U4(e, t) {+function z4(e, t) {return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.xAxisId ?? 0;}-function W4(e, t) {+function B4(e, t) {return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.yAxisId ?? 0;}//#endregion//#region node_modules/recharts/es6/state/selectors/areaSelectors.js-var G4 = (e, t, n) => OQ(e, "xAxis", U4(e, t), n), K4 = (e, t, n) => DQ(e, "xAxis", U4(e, t), n), q4 = (e, t, n) => OQ(e, "yAxis", W4(e, t), n), J4 = (e, t, n) => DQ(e, "yAxis", W4(e, t), n), Rze = $([- IW,- G4,- q4,- K4,- J4-], (e, t, n, r, i) => XU(e, "xAxis") ? oW(t, r, !1) : oW(n, i, !1)), Y4 = $([SZ, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), X4 = (e) => XU(IW(e), "xAxis") ? "yAxis" : "xAxis", zze = (e, t) => X4(e) === "yAxis" ? W4(e, t) : U4(e, t), Bze = $([- IW,- G4,- q4,- K4,- J4,- $([Y4, (e, t, n) => zZ(e, X4(e), zze(e, t), n)], (e, t) => {+var V4 = (e, t, n) => wQ(e, "xAxis", z4(e, t), n), H4 = (e, t, n) => CQ(e, "xAxis", z4(e, t), n), U4 = (e, t, n) => wQ(e, "yAxis", B4(e, t), n), W4 = (e, t, n) => CQ(e, "yAxis", B4(e, t), n), Hze = $([+ MW,+ V4,+ U4,+ H4,+ W4+], (e, t, n, r, i) => KU(e, "xAxis") ? nW(t, r, !1) : nW(n, i, !1)), G4 = $([vZ, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), K4 = (e) => KU(MW(e), "xAxis") ? "yAxis" : "xAxis", Uze = (e, t) => K4(e) === "yAxis" ? B4(e, t) : z4(e, t), Wze = $([+ MW,+ V4,+ U4,+ H4,+ W4,+ $([G4, (e, t, n) => FZ(e, K4(e), Uze(e, t), n)], (e, t) => {if (e != null && t != null) {- var { stackId: n } = e, r = zq(e);+ var { stackId: n } = e, r = Fq(e);if (n != null && r != null) {var i = (t[n]?.stackedData)?.find((e) => e.key === r);if (i != null) return i.map((e) => [e[0], e[1]]);}}}),- XK,- Rze,- Y4,- aOe+ KK,+ Hze,+ G4,+ lOe], (e, t, n, r, i, a, o, s, c, l) => {var { chartData: u, dataStartIndex: d, dataEndIndex: f } = o;if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {var { data: p } = c, m = p && p.length > 0 ? p : u?.slice(d, f + 1);- if (m != null) return oBe({+ if (m != null) return uBe({layout: e,xAxis: t,yAxis: n,@@ -70223,7 +70223,7 @@ var G4 = (e, t, n) => OQ(e, "xAxis", U4(e, t), n), K4 = (e, t, n) => DQ(e, "xAxibandSize: s});}-}), Vze = ["id"], Hze = [+}), Gze = ["id"], Kze = ["activeDot","animationBegin","animationDuration",@@ -70239,25 +70239,25 @@ var G4 = (e, t, n) => OQ(e, "xAxis", U4(e, t), n), K4 = (e, t, n) => DQ(e, "xAxi"xAxisId","yAxisId"];-function Z4() {- return Z4 = Object.assign ? Object.assign.bind() : function(e) {+function q4() {+ return q4 = 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;- }, Z4.apply(null, arguments);+ }, q4.apply(null, arguments);}-function Q4(e, t) {+function J4(e, t) {if (e == null) return {};- var n, r, i = Uze(e, t);+ var n, r, i = qze(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 Uze(e, t) {+function qze(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -70266,7 +70266,7 @@ function Uze(e, t) {}return n;}-function $4(e, t) {+function Y4(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -70276,30 +70276,30 @@ function $4(e, t) {}return n;}-function e3(e) {+function X4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? $4(Object(n), !0).forEach(function(t) {- Wze(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $4(Object(n)).forEach(function(t) {+ t % 2 ? Y4(Object(n), !0).forEach(function(t) {+ Jze(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y4(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Wze(e, t, n) {- return (t = Gze(t)) in e ? Object.defineProperty(e, t, {+function Jze(e, t, n) {+ return (t = Yze(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Gze(e) {- var t = Kze(e, "string");+function Yze(e) {+ var t = Xze(e, "string");return typeof t == "symbol" ? t : t + "";}-function Kze(e, t) {+function Xze(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -70309,42 +70309,42 @@ function Kze(e, t) {}return (t === "string" ? String : Number)(e);}-function t3(e, t) {+function Z4(e, t) {return e && e !== "none" ? e : t;}-var qze = (e) => {+var Zze = (e) => {var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;return [{inactive: o,dataKey: t,type: a,- color: t3(r, i),- value: cW(n, t),+ color: Z4(r, i),+ value: iW(n, t),payload: e}];-}, Jze = /*#__PURE__*/ B.memo((e) => {+}, Qze = /*#__PURE__*/ B.memo((e) => {var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {dataDefinedOnItem: n,- getPosition: WB,+ getPosition: UB,settings: {stroke: r,strokeWidth: i,fill: a,dataKey: t,nameKey: void 0,- name: cW(o, t),+ name: iW(o, t),hide: s,type: l,- color: t3(r, a),+ color: Z4(r, a),unit: c,graphicalItemId: u}};- return /*#__PURE__*/ B.createElement(Y0, { tooltipEntrySettings: d });+ return /*#__PURE__*/ B.createElement(G0, { tooltipEntrySettings: d });});-function Yze(e) {- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = wz(r);- return /*#__PURE__*/ B.createElement(a2, {+function $ze(e) {+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = Cz(r);+ return /*#__PURE__*/ B.createElement(t2, {points: n,dot: a,className: "recharts-area-dots",@@ -70355,7 +70355,7 @@ function Yze(e) {clipPathId: t});}-function Xze(e) {+function eBe(e) {var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {var t = {x: e.x ?? 0,@@ -70365,7 +70365,7 @@ function Xze(e) {upperWidth: 0,height: 0};- return e3(e3({}, t), {}, {+ return X4(X4({}, t), {}, {value: e.value,payload: e.payload,parentViewBox: void 0,@@ -70373,11 +70373,11 @@ function Xze(e) {fill: void 0});});- return /*#__PURE__*/ B.createElement(U1, { value: t ? i : void 0 }, n);+ return /*#__PURE__*/ B.createElement(z1, { value: t ? i : void 0 }, n);}-function n3(e) {- var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = Q4(a, Vze), p = wz(f), m = Ez(f);- return /*#__PURE__*/ B.createElement(B.Fragment, null, t?.length > 1 && /*#__PURE__*/ B.createElement(Az, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ B.createElement(oK, Z4({}, m, {+function Q4(e) {+ var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = J4(a, Gze), p = Cz(f), m = Tz(f);+ return /*#__PURE__*/ B.createElement(B.Fragment, null, t?.length > 1 && /*#__PURE__*/ B.createElement(kz, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ B.createElement(nK, q4({}, m, {id: d,points: t,connectNulls: l,@@ -70386,29 +70386,29 @@ function n3(e) {layout: o,stroke: "none",className: "recharts-area-area"- })), c !== "none" && /*#__PURE__*/ B.createElement(oK, Z4({}, p, {+ })), c !== "none" && /*#__PURE__*/ B.createElement(nK, q4({}, p, {className: "recharts-area-curve",layout: o,type: s,connectNulls: l,fill: "none",points: t- })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ B.createElement(oK, Z4({}, p, {+ })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ B.createElement(nK, q4({}, p, {className: "recharts-area-curve",layout: o,type: s,connectNulls: l,fill: "none",points: n- }))), /*#__PURE__*/ B.createElement(Yze, {+ }))), /*#__PURE__*/ B.createElement($ze, {points: t,props: f,clipPathId: i}));}-function Zze(e) {+function tBe(e) {var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;- if (!GU(a) || !GU(o)) return null;+ if (!VU(a) || !VU(o)) return null;var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), Z(c) ? /*#__PURE__*/ B.createElement("rect", {x: 0,@@ -70417,9 +70417,9 @@ function Zze(e) {height: Math.floor(s)}) : null;}-function Qze(e) {+function nBe(e) {var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;- if (!GU(a) || !GU(o)) return null;+ if (!VU(a) || !VU(o)) return null;var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), Z(c) ? /*#__PURE__*/ B.createElement("rect", {x: a < o ? a : a - s,@@ -70428,35 +70428,35 @@ function Qze(e) {height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))}) : null;}-function $ze(e) {+function rBe(e) {var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;- return n === "vertical" ? /*#__PURE__*/ B.createElement(Zze, {+ return n === "vertical" ? /*#__PURE__*/ B.createElement(tBe, {alpha: t,points: r,baseLine: i,strokeWidth: a- }) : /*#__PURE__*/ B.createElement(Qze, {+ }) : /*#__PURE__*/ B.createElement(nBe, {alpha: t,points: r,baseLine: i,strokeWidth: a});}-function eBe(e) {- var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = TK((0, B.useMemo)(() => ({+function iBe(e) {+ var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = xK((0, B.useMemo)(() => ({points: o,baseLine: s- }), [o, s]), "recharts-area-"), h = RW(), [g, _] = (0, B.useState)(!1), v = !g, y = (0, B.useCallback)(() => {+ }), [o, s]), "recharts-area-"), h = PW(), [g, _] = (0, B.useState)(!1), v = !g, y = (0, B.useCallback)(() => {typeof p == "function" && p(), _(!1);}, [p]), b = (0, B.useCallback)(() => {typeof f == "function" && f(), _(!0);}, [f]);if (h == null) return null;var x = i.current, S = a.current;- return /*#__PURE__*/ B.createElement(Xze, {+ return /*#__PURE__*/ B.createElement(eBe, {showLabels: v,points: o- }, r.children, /*#__PURE__*/ B.createElement(wK, {+ }, r.children, /*#__PURE__*/ B.createElement(bK, {animationId: m,begin: l,duration: u,@@ -70471,24 +70471,24 @@ function eBe(e) {var r = Math.floor(n * l);if (x[r]) {var i = x[r];- return e3(e3({}, t), {}, {- x: zB(i.x, t.x, e),- y: zB(i.y, t.y, e)+ return X4(X4({}, t), {}, {+ x: RB(i.x, t.x, e),+ y: RB(i.y, t.y, e)});}return t;- }), d = Z(s) ? zB(S, s, e) : VB(s) || NB(s) ? zB(S, 0, e) : s.map((t, n) => {+ }), d = Z(s) ? RB(S, s, e) : BB(s) || MB(s) ? RB(S, 0, e) : s.map((t, n) => {var r = Math.floor(n * l);if (Array.isArray(S) && S[r]) {var i = S[r];- return e3(e3({}, t), {}, {- x: zB(i.x, t.x, e),- y: zB(i.y, t.y, e)+ return X4(X4({}, t), {}, {+ x: RB(i.x, t.x, e),+ y: RB(i.y, t.y, e)});}return t;});- return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ B.createElement(n3, {+ return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ B.createElement(Q4, {points: u,baseLine: d,needClip: t,@@ -70496,24 +70496,24 @@ function eBe(e) {props: r});}- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ B.createElement(Az, null, c && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ B.createElement($ze, {+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ B.createElement(kz, null, c && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ B.createElement(rBe, {alpha: e,points: o,baseLine: s,layout: h,strokeWidth: r.strokeWidth- }))), /*#__PURE__*/ B.createElement(Az, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ B.createElement(n3, {+ }))), /*#__PURE__*/ B.createElement(kz, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ B.createElement(Q4, {points: o,baseLine: s,needClip: t,clipPathId: n,props: r})));- }), /*#__PURE__*/ B.createElement(K1, { label: r.label }));+ }), /*#__PURE__*/ B.createElement(H1, { label: r.label }));}-function tBe(e) {+function aBe(e) {var { needClip: t, clipPathId: n, props: r } = e, i = (0, B.useRef)(null), a = (0, B.useRef)();- return /*#__PURE__*/ B.createElement(eBe, {+ return /*#__PURE__*/ B.createElement(iBe, {needClip: t,clipPathId: n,props: r,@@ -70521,12 +70521,12 @@ function tBe(e) {previousBaselineRef: a});}-var nBe = class extends B.PureComponent {+var oBe = class extends B.PureComponent {render() {var { hide: e, dot: t, points: n, className: r, top: i, left: a, needClip: o, xAxisId: s, yAxisId: c, width: l, height: u, id: d, baseLine: f, zIndex: p } = this.props;if (e) return null;- var m = _h("recharts-area", r), h = d, { r: g, strokeWidth: _ } = P4(t), v = I0(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;- return /*#__PURE__*/ B.createElement(F$, { zIndex: p }, /*#__PURE__*/ B.createElement(Az, { className: m }, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(k4, {+ var m = _h("recharts-area", r), h = d, { r: g, strokeWidth: _ } = A4(t), v = M0(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;+ return /*#__PURE__*/ B.createElement(j$, { zIndex: p }, /*#__PURE__*/ B.createElement(kz, { className: m }, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(T4, {clipPathId: h,xAxisId: s,yAxisId: c@@ -70535,25 +70535,25 @@ var nBe = class extends B.PureComponent {y: i - y / 2,width: l + y,height: u + y- }))), /*#__PURE__*/ B.createElement(tBe, {+ }))), /*#__PURE__*/ B.createElement(aBe, {needClip: o,clipPathId: h,props: this.props- })), /*#__PURE__*/ B.createElement(f2, {+ })), /*#__PURE__*/ B.createElement(c2, {points: n,- mainColor: t3(this.props.stroke, this.props.fill),+ mainColor: Z4(this.props.stroke, this.props.fill),itemDataKey: this.props.dataKey,activeDot: this.props.activeDot,clipPath: b- }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ B.createElement(f2, {+ }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ B.createElement(c2, {points: f,- mainColor: t3(this.props.stroke, this.props.fill),+ mainColor: Z4(this.props.stroke, this.props.fill),itemDataKey: this.props.dataKey,activeDot: this.props.activeDot,clipPath: b}));}-}, rBe = {+}, sBe = {activeDot: !0,animationBegin: 0,animationDuration: 1500,@@ -70571,13 +70571,13 @@ var nBe = class extends B.PureComponent {label: !1,xAxisId: 0,yAxisId: 0,- zIndex: yq.area+ zIndex: hq.area};-function iBe(e) {- var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = Q4(e, Hze), g = LW(), _ = C$(), { needClip: v } = O4(p, m), y = vW(), { points: b, isRange: x, baseLine: S } = Q((t) => Bze(t, e.id, y)) ?? {}, C = l2();+function cBe(e) {+ var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = J4(e, Kze), g = NW(), _ = y$(), { needClip: v } = w4(p, m), y = mW(), { points: b, isRange: x, baseLine: S } = Q((t) => Wze(t, e.id, y)) ?? {}, C = a2();if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;var { height: w, width: T, x: E, y: D } = C;- return !b || !b.length ? null : /*#__PURE__*/ B.createElement(nBe, Z4({}, h, {+ return !b || !b.length ? null : /*#__PURE__*/ B.createElement(oBe, q4({}, h, {activeDot: t,animationBegin: n,animationDuration: r,@@ -70603,7 +70603,7 @@ function iBe(e) {yAxisId: m}));}-var aBe = (e, t, n, r, i) => {+var lBe = (e, t, n, r, i) => {var a = n ?? t;if (Z(a)) return a;var o = e === "horizontal" ? i : r, s = o.scale.domain();@@ -70613,17 +70613,17 @@ var aBe = (e, t, n, r, i) => {}return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];};-function oBe(e) {- var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = aBe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {+function uBe(e) {+ var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = lBe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {var a;if (m) a = i[u + n];else {- var o = YU(e, r);+ var o = GU(e, r);Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];}- var l = a?.[1] ?? null, v = l == null || m && !t && YU(e, r) == null;+ var l = a?.[1] ?? null, v = l == null || m && !t && GU(e, r) == null;return g ? {- x: tW({+ x: ZU({axis: s,ticks: d,bandSize: p,@@ -70635,7 +70635,7 @@ function oBe(e) {payload: e} : {x: v ? null : s.scale.map(l) ?? null,- y: tW({+ y: ZU({axis: c,ticks: f,bandSize: p,@@ -70663,12 +70663,12 @@ function oBe(e) {isRange: _};}-function sBe(e) {- var t = eV(e, rBe), n = vW();- return /*#__PURE__*/ B.createElement(Q0, {+function dBe(e) {+ var t = $B(e, sBe), n = mW();+ return /*#__PURE__*/ B.createElement(J0, {id: t.id,type: "area"- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(X0, { legendPayload: qze(t) }), /*#__PURE__*/ B.createElement(Jze, {+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(K0, { legendPayload: Zze(t) }), /*#__PURE__*/ B.createElement(Qze, {dataKey: t.dataKey,data: t.data,stroke: t.stroke,@@ -70679,7 +70679,7 @@ function sBe(e) {unit: t.unit,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ B.createElement(e2, {+ }), /*#__PURE__*/ B.createElement(X0, {type: "area",id: e,data: t.data,@@ -70687,115 +70687,115 @@ function sBe(e) {xAxisId: t.xAxisId,yAxisId: t.yAxisId,zAxisId: 0,- stackId: eW(t.stackId),+ stackId: XU(t.stackId),hide: t.hide,barSize: void 0,baseValue: t.baseValue,isPanorama: n,connectNulls: t.connectNulls- }), /*#__PURE__*/ B.createElement(iBe, Z4({}, t, { id: e }))));+ }), /*#__PURE__*/ B.createElement(cBe, q4({}, t, { id: e }))));}-var r3 = /*#__PURE__*/ B.memo(sBe, FG);-r3.displayName = "Area";+var $4 = /*#__PURE__*/ B.memo(dBe, jG);+$4.displayName = "Area";//#endregion//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js-var cBe = "Invariant failed";-function lBe(e, t) {- if (!e) throw Error(cBe);+var fBe = "Invariant failed";+function pBe(e, t) {+ if (!e) throw Error(fBe);}//#endregion//#region node_modules/recharts/es6/util/BarUtils.js-function i3() {- return i3 = Object.assign ? Object.assign.bind() : function(e) {+function e3() {+ return e3 = 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;- }, i3.apply(null, arguments);+ }, e3.apply(null, arguments);}-function a3(e) {- return /*#__PURE__*/ B.createElement(G0, i3({+function t3(e) {+ return /*#__PURE__*/ B.createElement(V0, e3({shapeType: "rectangle",activeClassName: "recharts-active-bar",inActiveClassName: "recharts-inactive-bar"}, e));}-var uBe = function(e) {+var mBe = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;return (n, r) => {if (Z(e)) return e;- var i = Z(n) || VB(n);- return i ? e(n, r) : (!i && lBe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);+ var i = Z(n) || BB(n);+ return i ? e(n, r) : (!i && pBe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);};-}, dBe = (e, t, n) => n, o3 = $([SZ, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), fBe = $([o3], (e) => e?.maxBarSize), pBe = (e, t, n, r) => r, mBe = $([- IW,- SZ,- U4,- W4,- dBe-], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), hBe = (e, t, n) => {- var r = IW(e), i = U4(e, t), a = W4(e, t);- if (i != null && a != null) return r === "horizontal" ? zZ(e, "yAxis", a, n) : zZ(e, "xAxis", i, n);-}, gBe = $([- mBe,- fq,+}, hBe = (e, t, n) => n, n3 = $([vZ, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), gBe = $([n3], (e) => e?.maxBarSize), _Be = (e, t, n, r) => r, vBe = $([+ MW,+ vZ,+ z4,+ B4,+ hBe+], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), yBe = (e, t, n) => {+ var r = MW(e), i = z4(e, t), a = B4(e, t);+ if (i != null && a != null) return r === "horizontal" ? FZ(e, "yAxis", a, n) : FZ(e, "xAxis", i, n);+}, bBe = $([+ vBe,+ cq,(e, t) => {- var n = IW(e), r = U4(e, t), i = W4(e, t);- if (r != null && i != null) return n === "horizontal" ? bQ(e, "xAxis", r) : bQ(e, "yAxis", i);+ var n = MW(e), r = z4(e, t), i = B4(e, t);+ if (r != null && i != null) return n === "horizontal" ? gQ(e, "xAxis", r) : gQ(e, "yAxis", i);}-], O2), _Be = (e, t, n) => {- var r = o3(e, t);+], w2), xBe = (e, t, n) => {+ var r = n3(e, t);if (r == null) return 0;- var i = U4(e, t), a = W4(e, t);+ var i = z4(e, t), a = B4(e, t);if (i == null || a == null) return 0;- var o = IW(e), s = lq(e), { maxBarSize: c } = r, l = VB(c) ? s : c, u, d;- return o === "horizontal" ? (u = OQ(e, "xAxis", i, n), d = DQ(e, "xAxis", i, n)) : (u = OQ(e, "yAxis", a, n), d = DQ(e, "yAxis", a, n)), oW(u, d, !0) ?? l ?? 0;-}, s3 = (e, t, n) => {- var r = IW(e), i = U4(e, t), a = W4(e, t);+ var o = MW(e), s = aq(e), { maxBarSize: c } = r, l = BB(c) ? s : c, u, d;+ return o === "horizontal" ? (u = wQ(e, "xAxis", i, n), d = CQ(e, "xAxis", i, n)) : (u = wQ(e, "yAxis", a, n), d = CQ(e, "yAxis", a, n)), nW(u, d, !0) ?? l ?? 0;+}, r3 = (e, t, n) => {+ var r = MW(e), i = z4(e, t), a = B4(e, t);if (i != null && a != null) {var o, s;- return r === "horizontal" ? (o = OQ(e, "xAxis", i, n), s = DQ(e, "xAxis", i, n)) : (o = OQ(e, "yAxis", a, n), s = DQ(e, "yAxis", a, n)), oW(o, s);+ return r === "horizontal" ? (o = wQ(e, "xAxis", i, n), s = CQ(e, "xAxis", i, n)) : (o = wQ(e, "yAxis", a, n), s = CQ(e, "yAxis", a, n)), nW(o, s);}-}, vBe = $([- gW,- _W,+}, SBe = $([+ fW,+ pW,(e, t, n) => {- var r = U4(e, t);- if (r != null) return OQ(e, "xAxis", r, n);+ var r = z4(e, t);+ if (r != null) return wQ(e, "xAxis", r, n);},(e, t, n) => {- var r = W4(e, t);- if (r != null) return OQ(e, "yAxis", r, n);+ var r = B4(e, t);+ if (r != null) return wQ(e, "yAxis", r, n);},(e, t, n) => {- var r = U4(e, t);- if (r != null) return DQ(e, "xAxis", r, n);+ var r = z4(e, t);+ if (r != null) return CQ(e, "xAxis", r, n);},(e, t, n) => {- var r = W4(e, t);- if (r != null) return DQ(e, "yAxis", r, n);+ var r = B4(e, t);+ if (r != null) return CQ(e, "yAxis", r, n);},$([$([- gBe,- lq,- uq,- dq,- _Be,- s3,- fBe- ], j2), o3], N2),- IW,- XK,- s3,- $([hBe, o3], M2),- o3,- pBe+ bBe,+ aq,+ oq,+ sq,+ xBe,+ r3,+ gBe+ ], D2), n3], k2),+ MW,+ KK,+ r3,+ $([yBe, n3], O2),+ n3,+ _Be], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {var { chartData: p, dataStartIndex: m, dataEndIndex: h } = c;if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {var { data: g } = d, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);- if (_ != null) return KBe({+ if (_ != null) return XBe({layout: s,barSettings: d,pos: o,@@ -70812,26 +70812,26 @@ var uBe = function(e) {dataStartIndex: m});}-}), yBe = ["index"];-function c3() {- return c3 = Object.assign ? Object.assign.bind() : function(e) {+}), CBe = ["index"];+function i3() {+ return i3 = 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;- }, c3.apply(null, arguments);+ }, i3.apply(null, arguments);}-function bBe(e, t) {+function wBe(e, t) {if (e == null) return {};- var n, r, i = xBe(e, t);+ var n, r, i = TBe(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 xBe(e, t) {+function TBe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -70840,45 +70840,45 @@ function xBe(e, t) {}return n;}-var l3 = /*#__PURE__*/ (0, B.createContext)(void 0), SBe = (e) => {- var t = (0, B.useContext)(l3);+var a3 = /*#__PURE__*/ (0, B.createContext)(void 0), EBe = (e) => {+ var t = (0, B.useContext)(a3);if (t != null) return t.stackId;- if (e != null) return eW(e);-}, CBe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, wBe = (e) => {- var t = (0, B.useContext)(l3);+ if (e != null) return XU(e);+}, DBe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, OBe = (e) => {+ var t = (0, B.useContext)(a3);if (t != null) {var { stackId: n } = t;- return `url(#${CBe(n, e)})`;+ return `url(#${DBe(n, e)})`;}-}, u3 = (e) => {- var { index: t } = e, n = bBe(e, yBe), r = wBe(t);- return /*#__PURE__*/ B.createElement(Az, c3({+}, o3 = (e) => {+ var { index: t } = e, n = wBe(e, CBe), r = OBe(t);+ return /*#__PURE__*/ B.createElement(kz, i3({className: "recharts-bar-stack-layer",clipPath: r}, n));-}, TBe = [+}, kBe = ["onMouseEnter","onMouseLeave","onClick"-], EBe = [+], ABe = ["value","background","tooltipPosition"-], DBe = ["id"], OBe = [+], jBe = ["id"], MBe = ["onMouseEnter","onClick","onMouseLeave"];-function d3() {- return d3 = Object.assign ? Object.assign.bind() : function(e) {+function s3() {+ return s3 = 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;- }, d3.apply(null, arguments);+ }, s3.apply(null, arguments);}-function f3(e, t) {+function c3(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -70888,30 +70888,30 @@ function f3(e, t) {}return n;}-function p3(e) {+function l3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? f3(Object(n), !0).forEach(function(t) {- kBe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f3(Object(n)).forEach(function(t) {+ t % 2 ? c3(Object(n), !0).forEach(function(t) {+ NBe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c3(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function kBe(e, t, n) {- return (t = ABe(t)) in e ? Object.defineProperty(e, t, {+function NBe(e, t, n) {+ return (t = PBe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function ABe(e) {- var t = jBe(e, "string");+function PBe(e) {+ var t = FBe(e, "string");return typeof t == "symbol" ? t : t + "";}-function jBe(e, t) {+function FBe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -70921,16 +70921,16 @@ function jBe(e, t) {}return (t === "string" ? String : Number)(e);}-function m3(e, t) {+function u3(e, t) {if (e == null) return {};- var n, r, i = MBe(e, t);+ var n, r, i = IBe(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 MBe(e, t) {+function IBe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -70939,27 +70939,27 @@ function MBe(e, t) {}return n;}-var NBe = (e) => {+var LBe = (e) => {var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;return [{inactive: a,dataKey: t,type: i,color: r,- value: cW(n, t),+ value: iW(n, t),payload: e}];-}, PBe = /*#__PURE__*/ B.memo((e) => {+}, RBe = /*#__PURE__*/ B.memo((e) => {var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, unit: s, tooltipType: c, id: l } = e, u = {dataDefinedOnItem: void 0,- getPosition: WB,+ getPosition: UB,settings: {stroke: n,strokeWidth: r,fill: i,dataKey: t,nameKey: void 0,- name: cW(a, t),+ name: iW(a, t),hide: o,type: c,color: i,@@ -70967,19 +70967,19 @@ var NBe = (e) => {graphicalItemId: l}};- return /*#__PURE__*/ B.createElement(Y0, { tooltipEntrySettings: u });+ return /*#__PURE__*/ B.createElement(G0, { tooltipEntrySettings: u });});-function FBe(e) {- var t = Q(m$), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = m3(a, TBe), u = K0(o, r, a.id), d = q0(s), f = J0(c, r, a.id);+function zBe(e) {+ var t = Q(u$), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = u3(a, kBe), u = H0(o, r, a.id), d = U0(s), f = W0(c, r, a.id);if (!i || n == null) return null;- var p = Tz(i);- return /*#__PURE__*/ B.createElement(F$, { zIndex: K2(i, yq.barBackground) }, n.map((e, n) => {- var { value: a, background: o, tooltipPosition: s } = e, c = m3(e, EBe);+ var p = wz(i);+ return /*#__PURE__*/ B.createElement(j$, { zIndex: H2(i, hq.barBackground) }, n.map((e, n) => {+ var { value: a, background: o, tooltipPosition: s } = e, c = u3(e, ABe);if (!o) return null;- var m = u(e, n), h = d(e, n), g = f(e, n), _ = p3(p3(p3(p3(p3({+ var m = u(e, n), h = d(e, n), g = f(e, n), _ = l3(l3(l3(l3(l3({option: i,isActive: String(n) === t- }, c), {}, { fill: "#eee" }, o), p), QB(l, e, n)), {}, {+ }, c), {}, { fill: "#eee" }, o), p), ZB(l, e, n)), {}, {onMouseEnter: m,onMouseLeave: h,onClick: g,@@ -70987,10 +70987,10 @@ function FBe(e) {index: n,className: "recharts-bar-background-rectangle"});- return /*#__PURE__*/ B.createElement(a3, d3({ key: `background-bar-${n}` }, _));+ return /*#__PURE__*/ B.createElement(t3, s3({ key: `background-bar-${n}` }, _));}));}-function IBe(e) {+function BBe(e) {var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {var t = {x: e.x,@@ -71000,7 +71000,7 @@ function IBe(e) {upperWidth: e.width,height: e.height};- return p3(p3({}, t), {}, {+ return l3(l3({}, t), {}, {value: e.value,payload: e.payload,parentViewBox: e.parentViewBox,@@ -71008,10 +71008,10 @@ function IBe(e) {fill: e.fill});});- return /*#__PURE__*/ B.createElement(U1, { value: t ? i : void 0 }, n);+ return /*#__PURE__*/ B.createElement(z1, { value: t ? i : void 0 }, n);}-function LBe(e) {- var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(m$), c = Q(g$), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, B.useState)(!1), [f, p] = (0, B.useState)(!1);+function VBe(e) {+ var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(u$), c = Q(f$), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, B.useState)(!1), [f, p] = (0, B.useState)(!1);(0, B.useEffect)(() => {var e;return l ? (d(!0), e = requestAnimationFrame(() => {@@ -71022,42 +71022,42 @@ function LBe(e) {}, [l]);var m = (0, B.useCallback)(() => {l || d(!1);- }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ B.createElement(a3, d3({}, r, { name: String(r.name) }, i, {+ }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ B.createElement(t3, s3({}, r, { name: String(r.name) }, i, {isActive: h,option: _,index: a,dataKey: o,onTransitionEnd: m}));- return g ? /*#__PURE__*/ B.createElement(F$, { zIndex: yq.activeBar }, /*#__PURE__*/ B.createElement(u3, { index: i.originalDataIndex }, v)) : v;+ return g ? /*#__PURE__*/ B.createElement(j$, { zIndex: hq.activeBar }, /*#__PURE__*/ B.createElement(o3, { index: i.originalDataIndex }, v)) : v;}-function RBe(e) {+function HBe(e) {var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;- return /*#__PURE__*/ B.createElement(a3, d3({}, n, { name: String(n.name) }, r, {+ return /*#__PURE__*/ B.createElement(t3, s3({}, n, { name: String(n.name) }, r, {isActive: !1,option: t,index: i,dataKey: a}));}-function zBe(e) {- var { data: t, props: n } = e, r = wz(n) ?? {}, { id: i } = r, a = m3(r, DBe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = m3(n, OBe), p = K0(l, s, i), m = q0(d), h = J0(u, s, i);- return t ? /*#__PURE__*/ B.createElement(B.Fragment, null, t.map((e, t) => /*#__PURE__*/ B.createElement(u3, d3({+function UBe(e) {+ var { data: t, props: n } = e, r = Cz(n) ?? {}, { id: i } = r, a = u3(r, jBe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = u3(n, MBe), p = H0(l, s, i), m = U0(d), h = W0(u, s, i);+ return t ? /*#__PURE__*/ B.createElement(B.Fragment, null, t.map((e, t) => /*#__PURE__*/ B.createElement(o3, s3({index: e.originalDataIndex,key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,className: "recharts-bar-rectangle"- }, QB(f, e, t), {+ }, ZB(f, e, t), {onMouseEnter: p(e, t),onMouseLeave: m(e, t),onClick: h(e, t)- }), c ? /*#__PURE__*/ B.createElement(LBe, {+ }), c ? /*#__PURE__*/ B.createElement(VBe, {shape: o,activeBar: c,baseProps: a,entry: e,index: t,dataKey: s- }) : /*#__PURE__*/ B.createElement(RBe, {+ }) : /*#__PURE__*/ B.createElement(HBe, {shape: o,baseProps: a,entry: e,@@ -71065,16 +71065,16 @@ function zBe(e) {dataKey: s})))) : null;}-function BBe(e) {- var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = TK(t, "recharts-bar-"), [p, m] = (0, B.useState)(!1), h = !p, g = (0, B.useCallback)(() => {+function WBe(e) {+ var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = xK(t, "recharts-bar-"), [p, m] = (0, B.useState)(!1), h = !p, g = (0, B.useCallback)(() => {typeof l == "function" && l(), m(!1);}, [l]), _ = (0, B.useCallback)(() => {typeof u == "function" && u(), m(!0);}, [u]);- return /*#__PURE__*/ B.createElement(IBe, {+ return /*#__PURE__*/ B.createElement(BBe, {showLabels: h,rects: r- }, /*#__PURE__*/ B.createElement(wK, {+ }, /*#__PURE__*/ B.createElement(bK, {animationId: f,begin: o,duration: s,@@ -71086,69 +71086,69 @@ function BBe(e) {}, (e) => {var a = e === 1 ? r : r?.map((t, n) => {var r = d && d[n];- if (r) return p3(p3({}, t), {}, {- x: zB(r.x, t.x, e),- y: zB(r.y, t.y, e),- width: zB(r.width, t.width, e),- height: zB(r.height, t.height, e)+ if (r) return l3(l3({}, t), {}, {+ x: RB(r.x, t.x, e),+ y: RB(r.y, t.y, e),+ width: RB(r.width, t.width, e),+ height: RB(r.height, t.height, e)});if (i === "horizontal") {- var a = zB(0, t.height, e), o = zB(t.stackedBarStart, t.y, e);- return p3(p3({}, t), {}, {+ var a = RB(0, t.height, e), o = RB(t.stackedBarStart, t.y, e);+ return l3(l3({}, t), {}, {y: o,height: a});}- var s = zB(0, t.width, e), c = zB(t.stackedBarStart, t.x, e);- return p3(p3({}, t), {}, {+ var s = RB(0, t.width, e), c = RB(t.stackedBarStart, t.x, e);+ return l3(l3({}, t), {}, {width: s,x: c});});- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ B.createElement(Az, null, /*#__PURE__*/ B.createElement(zBe, {+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ B.createElement(kz, null, /*#__PURE__*/ B.createElement(UBe, {props: t,data: a}));- }), /*#__PURE__*/ B.createElement(K1, { label: t.label }), t.children);+ }), /*#__PURE__*/ B.createElement(H1, { label: t.label }), t.children);}-function VBe(e) {+function GBe(e) {var t = (0, B.useRef)(null);- return /*#__PURE__*/ B.createElement(BBe, {+ return /*#__PURE__*/ B.createElement(WBe, {previousRectanglesRef: t,props: e});}-var h3 = 0, HBe = (e, t) => {+var d3 = 0, KBe = (e, t) => {var n = Array.isArray(e.value) ? e.value[1] : e.value;return {x: e.x,y: e.y,value: n,- errorVal: YU(e, t)+ errorVal: GU(e, t)};-}, UBe = class extends B.PureComponent {+}, qBe = class extends B.PureComponent {render() {var { hide: e, data: t, dataKey: n, className: r, xAxisId: i, yAxisId: a, needClip: o, background: s, id: c } = this.props;if (e || t == null) return null;var l = _h("recharts-bar", r), u = c;- return /*#__PURE__*/ B.createElement(Az, {+ return /*#__PURE__*/ B.createElement(kz, {className: l,id: c- }, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(k4, {+ }, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(T4, {clipPathId: u,xAxisId: i,yAxisId: a- })), /*#__PURE__*/ B.createElement(Az, {+ })), /*#__PURE__*/ B.createElement(kz, {className: "recharts-bar-rectangles",clipPath: o ? `url(#clipPath-${u})` : void 0- }, /*#__PURE__*/ B.createElement(FBe, {+ }, /*#__PURE__*/ B.createElement(zBe, {data: t,dataKey: n,background: s,allOtherBarProps: this.props- }), /*#__PURE__*/ B.createElement(VBe, this.props)));+ }), /*#__PURE__*/ B.createElement(GBe, this.props)));}-}, WBe = {+}, JBe = {activeBar: !1,animationBegin: 0,animationDuration: 400,@@ -71158,22 +71158,22 @@ var h3 = 0, HBe = (e, t) => {isAnimationActive: "auto",label: !1,legendType: "rect",- minPointSize: h3,+ minPointSize: d3,xAxisId: 0,yAxisId: 0,- zIndex: yq.bar+ zIndex: hq.bar};-function GBe(e) {- var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = O4(t, n), f = LW(), p = vW(), m = F0(e.children, Q$), h = Q((t) => vBe(t, e.id, p, m));+function YBe(e) {+ var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = w4(t, n), f = NW(), p = mW(), m = j0(e.children, J$), h = Q((t) => SBe(t, e.id, p, m));if (f !== "vertical" && f !== "horizontal") return null;var g, _ = h?.[0];- return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ B.createElement(D4, {+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ B.createElement(C4, {xAxisId: t,yAxisId: n,data: h,- dataPointFormatter: HBe,+ dataPointFormatter: KBe,errorBarOffset: g- }, /*#__PURE__*/ B.createElement(UBe, d3({}, e, {+ }, /*#__PURE__*/ B.createElement(qBe, s3({}, e, {layout: f,needClip: d,data: h,@@ -71189,20 +71189,20 @@ function GBe(e) {isAnimationActive: u})));}-function KBe(e) {- var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = rW({ numericAxis: _ }), b = _.scale.map(y);+function XBe(e) {+ var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = $U({ numericAxis: _ }), b = _.scale.map(y);return f.map((e, f) => {var _, x, S, C, w, T;if (d) {var E = d[f + g];if (E == null) return null;- _ = $U(E, v);- } else _ = YU(e, n), Array.isArray(_) || (_ = [y, _]);- var D = uBe(r, h3)(_[1], f);+ _ = YU(E, v);+ } else _ = GU(e, n), Array.isArray(_) || (_ = [y, _]);+ var D = mBe(r, d3)(_[1], f);if (t === "horizontal") {var O = c.scale.map(_[0]), k = c.scale.map(_[1]);if (O == null || k == null) return null;- x = nW({+ x = QU({axis: s,ticks: l,bandSize: o,@@ -71211,19 +71211,19 @@ function KBe(e) {index: f}), S = k ?? O ?? void 0, C = a.size;var A = O - k;- if (w = NB(A) ? 0 : A, T = {+ if (w = MB(A) ? 0 : A, T = {x,y: p.top,width: C,height: p.height}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {- var j = MB(w || D) * (Math.abs(D) - Math.abs(w));+ var j = jB(w || D) * (Math.abs(D) - Math.abs(w));S -= j, w += j;}} else {var M = s.scale.map(_[0]), N = s.scale.map(_[1]);if (M == null || N == null) return null;- if (x = M, S = nW({+ if (x = M, S = QU({axis: c,ticks: u,bandSize: o,@@ -71236,11 +71236,11 @@ function KBe(e) {width: p.width,height: w}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {- var P = MB(C || D) * (Math.abs(D) - Math.abs(C));+ var P = jB(C || D) * (Math.abs(D) - Math.abs(C));C += P;}}- return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : p3(p3({}, e), {}, {+ return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : l3(l3({}, e), {}, {stackedBarStart: b,x,y: S,@@ -71258,12 +71258,12 @@ function KBe(e) {}, m && m[f] && m[f].props);}).filter(Boolean);}-function qBe(e) {- var t = eV(e, WBe), n = SBe(t.stackId), r = vW();- return /*#__PURE__*/ B.createElement(Q0, {+function ZBe(e) {+ var t = $B(e, JBe), n = EBe(t.stackId), r = mW();+ return /*#__PURE__*/ B.createElement(J0, {id: t.id,type: "bar"- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(X0, { legendPayload: NBe(t) }), /*#__PURE__*/ B.createElement(PBe, {+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(K0, { legendPayload: LBe(t) }), /*#__PURE__*/ B.createElement(RBe, {dataKey: t.dataKey,stroke: t.stroke,strokeWidth: t.strokeWidth,@@ -71273,7 +71273,7 @@ function qBe(e) {unit: t.unit,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ B.createElement(e2, {+ }), /*#__PURE__*/ B.createElement(X0, {type: "bar",id: e,data: void 0,@@ -71288,23 +71288,23 @@ function qBe(e) {maxBarSize: t.maxBarSize,isPanorama: r,hasCustomShape: t.shape != null- }), /*#__PURE__*/ B.createElement(F$, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(GBe, d3({}, t, { id: e })))));+ }), /*#__PURE__*/ B.createElement(j$, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(YBe, s3({}, t, { id: e })))));}-var g3 = /*#__PURE__*/ B.memo(qBe, FG);-g3.displayName = "Bar";+var f3 = /*#__PURE__*/ B.memo(ZBe, jG);+f3.displayName = "Bar";//#endregion//#region node_modules/recharts/es6/util/axisPropsAreEqual.js-var JBe = ["domain", "range"], YBe = ["domain", "range"];-function _3(e, t) {+var QBe = ["domain", "range"], $Be = ["domain", "range"];+function p3(e, t) {if (e == null) return {};- var n, r, i = XBe(e, t);+ var n, r, i = eVe(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 XBe(e, t) {+function eVe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -71313,31 +71313,31 @@ function XBe(e, t) {}return n;}-function v3(e, t) {+function m3(e, t) {return e === t ? !0 : Array.isArray(e) && e.length === 2 && Array.isArray(t) && t.length === 2 ? e[0] === t[0] && e[1] === t[1] : !1;}-function y3(e, t) {+function h3(e, t) {if (e === t) return !0;- var { domain: n, range: r } = e, i = _3(e, JBe), { domain: a, range: o } = t, s = _3(t, YBe);- return !v3(n, a) || !v3(r, o) ? !1 : FG(i, s);+ var { domain: n, range: r } = e, i = p3(e, QBe), { domain: a, range: o } = t, s = p3(t, $Be);+ return !m3(n, a) || !m3(r, o) ? !1 : jG(i, s);}//#endregion//#region node_modules/recharts/es6/cartesian/XAxis.js-var ZBe = ["type"], QBe = [+var tVe = ["type"], nVe = ["dangerouslySetInnerHTML","ticks","scale"-], $Be = ["id", "scale"];-function b3() {- return b3 = Object.assign ? Object.assign.bind() : function(e) {+], rVe = ["id", "scale"];+function g3() {+ return g3 = 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;- }, b3.apply(null, arguments);+ }, g3.apply(null, arguments);}-function x3(e, t) {+function _3(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -71347,30 +71347,30 @@ function x3(e, t) {}return n;}-function S3(e) {+function v3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? x3(Object(n), !0).forEach(function(t) {- eVe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x3(Object(n)).forEach(function(t) {+ t % 2 ? _3(Object(n), !0).forEach(function(t) {+ iVe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _3(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function eVe(e, t, n) {- return (t = tVe(t)) in e ? Object.defineProperty(e, t, {+function iVe(e, t, n) {+ return (t = aVe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function tVe(e) {- var t = nVe(e, "string");+function aVe(e) {+ var t = oVe(e, "string");return typeof t == "symbol" ? t : t + "";}-function nVe(e, t) {+function oVe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -71380,16 +71380,16 @@ function nVe(e, t) {}return (t === "string" ? String : Number)(e);}-function C3(e, t) {+function y3(e, t) {if (e == null) return {};- var n, r, i = rVe(e, t);+ var n, r, i = sVe(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 rVe(e, t) {+function sVe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -71398,24 +71398,24 @@ function rVe(e, t) {}return n;}-function iVe(e) {- var t = jV(), n = (0, B.useRef)(null), r = RW(), { type: i } = e, a = C3(e, ZBe), o = Cq(r, "xAxis", i), s = (0, B.useMemo)(() => {- if (o != null) return S3(S3({}, a), {}, { type: o });+function cVe(e) {+ var t = DV(), n = (0, B.useRef)(null), r = PW(), { type: i } = e, a = y3(e, tVe), o = yq(r, "xAxis", i), s = (0, B.useMemo)(() => {+ if (o != null) return v3(v3({}, a), {}, { type: o });}, [a, o]);return (0, B.useLayoutEffect)(() => {- s != null && (n.current === null ? t(bIe(s)) : n.current !== s && t(xIe({+ s != null && (n.current === null ? t(wIe(s)) : n.current !== s && t(TIe({prev: n.current,next: s})), n.current = s);}, [s, t]), (0, B.useLayoutEffect)(() => () => {- n.current &&= (t(SIe(n.current)), null);+ n.current &&= (t(EIe(n.current)), null);}, [t]), null;}-var aVe = (e) => {- var { xAxisId: t, className: n } = e, r = Q(_W), i = vW(), a = "xAxis", o = Q((e) => TQ(e, a, t, i)), s = Q((e) => vQ(e, t)), c = Q((e) => Eje(e, t)), l = Q((e) => fZ(e, t));+var lVe = (e) => {+ var { xAxisId: t, className: n } = e, r = Q(pW), i = mW(), a = "xAxis", o = Q((e) => xQ(e, a, t, i)), s = Q((e) => mQ(e, t)), c = Q((e) => Aje(e, t)), l = Q((e) => cZ(e, t));if (s == null || c == null || l == null) return null;- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = C3(e, QBe), { id: m, scale: h } = l, g = C3(l, $Be);- return /*#__PURE__*/ B.createElement(y4, b3({}, p, g, {+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = y3(e, nVe), { id: m, scale: h } = l, g = y3(l, rVe);+ return /*#__PURE__*/ B.createElement(h4, g3({}, p, g, {x: c.x,y: c.y,width: s.width,@@ -71426,33 +71426,33 @@ var aVe = (e) => {axisType: a,axisId: t}));-}, oVe = {- allowDataOverflow: dZ.allowDataOverflow,- allowDecimals: dZ.allowDecimals,- allowDuplicatedCategory: dZ.allowDuplicatedCategory,- angle: dZ.angle,- axisLine: v4.axisLine,- height: dZ.height,+}, uVe = {+ allowDataOverflow: sZ.allowDataOverflow,+ allowDecimals: sZ.allowDecimals,+ allowDuplicatedCategory: sZ.allowDuplicatedCategory,+ angle: sZ.angle,+ axisLine: m4.axisLine,+ height: sZ.height,hide: !1,- includeHidden: dZ.includeHidden,- interval: dZ.interval,+ includeHidden: sZ.includeHidden,+ interval: sZ.interval,label: !1,- minTickGap: dZ.minTickGap,- mirror: dZ.mirror,- orientation: dZ.orientation,- padding: dZ.padding,- reversed: dZ.reversed,- scale: dZ.scale,- tick: dZ.tick,- tickCount: dZ.tickCount,- tickLine: v4.tickLine,- tickSize: v4.tickSize,- type: dZ.type,- niceTicks: dZ.niceTicks,+ minTickGap: sZ.minTickGap,+ mirror: sZ.mirror,+ orientation: sZ.orientation,+ padding: sZ.padding,+ reversed: sZ.reversed,+ scale: sZ.scale,+ tick: sZ.tick,+ tickCount: sZ.tickCount,+ tickLine: m4.tickLine,+ tickSize: m4.tickSize,+ type: sZ.type,+ niceTicks: sZ.niceTicks,xAxisId: 0-}, w3 = /*#__PURE__*/ B.memo((e) => {- var t = eV(e, oVe);- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(iVe, {+}, b3 = /*#__PURE__*/ B.memo((e) => {+ var t = $B(e, uVe);+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(cVe, {allowDataOverflow: t.allowDataOverflow,allowDecimals: t.allowDecimals,allowDuplicatedCategory: t.allowDuplicatedCategory,@@ -71478,26 +71478,26 @@ var aVe = (e) => {type: t.type,unit: t.unit,niceTicks: t.niceTicks- }), /*#__PURE__*/ B.createElement(aVe, t));-}, y3);-w3.displayName = "XAxis";+ }), /*#__PURE__*/ B.createElement(lVe, t));+}, h3);+b3.displayName = "XAxis";//#endregion//#region node_modules/recharts/es6/cartesian/YAxis.js-var sVe = ["type"], cVe = [+var dVe = ["type"], fVe = ["dangerouslySetInnerHTML","ticks","scale"-], lVe = ["id", "scale"];-function T3() {- return T3 = Object.assign ? Object.assign.bind() : function(e) {+], pVe = ["id", "scale"];+function x3() {+ return x3 = 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;- }, T3.apply(null, arguments);+ }, x3.apply(null, arguments);}-function E3(e, t) {+function S3(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -71507,30 +71507,30 @@ function E3(e, t) {}return n;}-function D3(e) {+function C3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? E3(Object(n), !0).forEach(function(t) {- uVe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E3(Object(n)).forEach(function(t) {+ t % 2 ? S3(Object(n), !0).forEach(function(t) {+ mVe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S3(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function uVe(e, t, n) {- return (t = dVe(t)) in e ? Object.defineProperty(e, t, {+function mVe(e, t, n) {+ return (t = hVe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function dVe(e) {- var t = fVe(e, "string");+function hVe(e) {+ var t = gVe(e, "string");return typeof t == "symbol" ? t : t + "";}-function fVe(e, t) {+function gVe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -71540,16 +71540,16 @@ function fVe(e, t) {}return (t === "string" ? String : Number)(e);}-function O3(e, t) {+function w3(e, t) {if (e == null) return {};- var n, r, i = pVe(e, t);+ var n, r, i = _Ve(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 pVe(e, t) {+function _Ve(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -71558,27 +71558,27 @@ function pVe(e, t) {}return n;}-function mVe(e) {- var t = jV(), n = (0, B.useRef)(null), r = RW(), { type: i } = e, a = O3(e, sVe), o = Cq(r, "yAxis", i), s = (0, B.useMemo)(() => {- if (o != null) return D3(D3({}, a), {}, { type: o });+function vVe(e) {+ var t = DV(), n = (0, B.useRef)(null), r = PW(), { type: i } = e, a = w3(e, dVe), o = yq(r, "yAxis", i), s = (0, B.useMemo)(() => {+ if (o != null) return C3(C3({}, a), {}, { type: o });}, [o, a]);return (0, B.useLayoutEffect)(() => {- s != null && (n.current === null ? t(CIe(s)) : n.current !== s && t(wIe({+ s != null && (n.current === null ? t(DIe(s)) : n.current !== s && t(OIe({prev: n.current,next: s})), n.current = s);}, [s, t]), (0, B.useLayoutEffect)(() => () => {- n.current &&= (t(TIe(n.current)), null);+ n.current &&= (t(kIe(n.current)), null);}, [t]), null;}-function hVe(e) {- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = Q(_W), c = vW(), l = jV(), u = "yAxis", d = Q((e) => yQ(e, t)), f = Q((e) => Dje(e, t)), p = Q((e) => TQ(e, u, t, c)), m = Q((e) => hZ(e, t));+function yVe(e) {+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = Q(pW), c = mW(), l = DV(), u = "yAxis", d = Q((e) => hQ(e, t)), f = Q((e) => jje(e, t)), p = Q((e) => xQ(e, u, t, c)), m = Q((e) => dZ(e, t));if ((0, B.useLayoutEffect)(() => {- if (!(r !== "auto" || !d || F1(i) || /*#__PURE__*/ (0, B.isValidElement)(i) || m == null)) {+ if (!(r !== "auto" || !d || j1(i) || /*#__PURE__*/ (0, B.isValidElement)(i) || m == null)) {var e = a.current;if (e) {var n = e.getCalculatedWidth();- Math.round(d.width) !== Math.round(n) && l(kIe({+ Math.round(d.width) !== Math.round(n) && l(NIe({id: t,width: n}));@@ -71593,8 +71593,8 @@ function hVe(e) {r,m]), d == null || f == null || m == null) return null;- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = O3(e, cVe), { id: y, scale: b } = m, x = O3(m, lVe);- return /*#__PURE__*/ B.createElement(y4, T3({}, v, x, {+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = w3(e, fVe), { id: y, scale: b } = m, x = w3(m, pVe);+ return /*#__PURE__*/ B.createElement(h4, x3({}, v, x, {ref: a,labelRef: o,x: f.x,@@ -71609,33 +71609,33 @@ function hVe(e) {axisId: t}));}-var gVe = {- allowDataOverflow: mZ.allowDataOverflow,- allowDecimals: mZ.allowDecimals,- allowDuplicatedCategory: mZ.allowDuplicatedCategory,- angle: mZ.angle,- axisLine: v4.axisLine,+var bVe = {+ allowDataOverflow: uZ.allowDataOverflow,+ allowDecimals: uZ.allowDecimals,+ allowDuplicatedCategory: uZ.allowDuplicatedCategory,+ angle: uZ.angle,+ axisLine: m4.axisLine,hide: !1,- includeHidden: mZ.includeHidden,- interval: mZ.interval,+ includeHidden: uZ.includeHidden,+ interval: uZ.interval,label: !1,- minTickGap: mZ.minTickGap,- mirror: mZ.mirror,- orientation: mZ.orientation,- padding: mZ.padding,- reversed: mZ.reversed,- scale: mZ.scale,- tick: mZ.tick,- tickCount: mZ.tickCount,- tickLine: v4.tickLine,- tickSize: v4.tickSize,- type: mZ.type,- niceTicks: mZ.niceTicks,- width: mZ.width,+ minTickGap: uZ.minTickGap,+ mirror: uZ.mirror,+ orientation: uZ.orientation,+ padding: uZ.padding,+ reversed: uZ.reversed,+ scale: uZ.scale,+ tick: uZ.tick,+ tickCount: uZ.tickCount,+ tickLine: m4.tickLine,+ tickSize: m4.tickSize,+ type: uZ.type,+ niceTicks: uZ.niceTicks,+ width: uZ.width,yAxisId: 0-}, k3 = /*#__PURE__*/ B.memo((e) => {- var t = eV(e, gVe);- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(mVe, {+}, T3 = /*#__PURE__*/ B.memo((e) => {+ var t = $B(e, bVe);+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(vVe, {interval: t.interval,id: t.yAxisId,scale: t.scale,@@ -71661,27 +71661,27 @@ var gVe = {tick: t.tick,tickFormatter: t.tickFormatter,niceTicks: t.niceTicks- }), /*#__PURE__*/ B.createElement(hVe, t));-}, y3);-k3.displayName = "YAxis";-var A3 = $([+ }), /*#__PURE__*/ B.createElement(yVe, t));+}, h3);+T3.displayName = "YAxis";+var E3 = $([(e, t) => t,- IW,- Iq,- Wq,- s$,- l$,- CMe,- gW-], AMe);+ MW,+ Mq,+ Bq,+ r$,+ a$,+ DMe,+ fW+], PMe);//#endregion//#region node_modules/recharts/es6/util/getRelativeCoordinate.js-function _Ve(e) {+function xVe(e) {return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";}-function j3(e) {+function D3(e) {var t = e.currentTarget.getBoundingClientRect(), n, r;- if (_Ve(e)) {+ if (xVe(e)) {var i = e.currentTarget.getBBox();n = i.width > 0 ? t.width / i.width : 1, r = i.height > 0 ? t.height / i.height : 1;} else {@@ -71696,55 +71696,55 @@ function j3(e) {}//#endregion//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js-var M3 = sU("mouseClick"), N3 = VU();-N3.startListening({- actionCreator: M3,+var O3 = rU("mouseClick"), k3 = LU();+k3.startListening({+ actionCreator: O3,effect: (e, t) => {- var n = e.payload, r = A3(t.getState(), j3(n));- r?.activeIndex != null && t.dispatch(Lje({+ var n = e.payload, r = E3(t.getState(), D3(n));+ r?.activeIndex != null && t.dispatch(Vje({activeIndex: r.activeIndex,activeDataKey: void 0,activeCoordinate: r.activeCoordinate}));}});-var P3 = sU("mouseMove"), F3 = VU(), I3 = null, L3 = null, R3 = null;-F3.startListening({- actionCreator: P3,+var A3 = rU("mouseMove"), j3 = LU(), M3 = null, N3 = null, P3 = null;+j3.startListening({+ actionCreator: A3,effect: (e, t) => {var n = e.payload, { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i?.includes("mousemove");- I3 !== null && (cancelAnimationFrame(I3), I3 = null), L3 !== null && (typeof r != "number" || !a) && (clearTimeout(L3), L3 = null), R3 = j3(n);+ M3 !== null && (cancelAnimationFrame(M3), M3 = null), N3 !== null && (typeof r != "number" || !a) && (clearTimeout(N3), N3 = null), P3 = D3(n);var o = () => {- var e = t.getState(), n = MQ(e, e.tooltip.settings.shared);- if (!R3) {- I3 = null, L3 = null;+ var e = t.getState(), n = OQ(e, e.tooltip.settings.shared);+ if (!P3) {+ M3 = null, N3 = null;return;}if (n === "axis") {- var r = A3(e, R3);- r?.activeIndex == null ? t.dispatch(LQ()) : t.dispatch(RQ({+ var r = E3(e, P3);+ r?.activeIndex == null ? t.dispatch(NQ()) : t.dispatch(PQ({activeIndex: r.activeIndex,activeDataKey: void 0,activeCoordinate: r.activeCoordinate}));}- I3 = null, L3 = null;+ M3 = null, N3 = null;};if (!a) {o();return;}- r === "raf" ? I3 = requestAnimationFrame(o) : typeof r == "number" && L3 === null && (L3 = setTimeout(o, r));+ r === "raf" ? M3 = requestAnimationFrame(o) : typeof r == "number" && N3 === null && (N3 = setTimeout(o, r));}});//#endregion//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js-function vVe(e, t) {+function SVe(e, t) {return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;}//#endregion//#region node_modules/recharts/es6/state/rootPropsSlice.js-var z3 = {+var F3 = {accessibilityLayer: !0,barCategoryGap: "10%",barGap: 4,@@ -71756,70 +71756,70 @@ var z3 = {syncMethod: "index",baseValue: void 0,reverseStackOrder: !1-}, B3 = gU({+}, I3 = fU({name: "rootProps",- initialState: z3,+ initialState: F3,reducers: { updateOptions: (e, t) => {- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? z3.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;+ e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? F3.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;} }-}), yVe = B3.reducer, { updateOptions: bVe } = B3.actions, V3 = gU({+}), CVe = I3.reducer, { updateOptions: wVe } = I3.actions, L3 = fU({name: "polarOptions",initialState: null,reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }-}), { updatePolarOptions: xVe } = V3.actions, SVe = V3.reducer, H3 = sU("keyDown"), U3 = sU("focus"), W3 = sU("blur"), G3 = VU(), K3 = null, q3 = null, J3 = null;-G3.startListening({- actionCreator: H3,+}), { updatePolarOptions: TVe } = L3.actions, EVe = L3.reducer, R3 = rU("keyDown"), z3 = rU("focus"), B3 = rU("blur"), V3 = LU(), H3 = null, U3 = null, W3 = null;+V3.startListening({+ actionCreator: R3,effect: (e, t) => {- J3 = e.payload, K3 !== null && (cancelAnimationFrame(K3), K3 = null);+ W3 = e.payload, H3 !== null && (cancelAnimationFrame(H3), H3 = null);var { throttleDelay: n, throttledEvents: r } = t.getState().eventSettings, i = r === "all" || r.includes("keydown");- q3 !== null && (typeof n != "number" || !i) && (clearTimeout(q3), q3 = null);+ U3 !== null && (typeof n != "number" || !i) && (clearTimeout(U3), U3 = null);var a = () => {try {var e = t.getState();if (e.rootProps.accessibilityLayer === !1) return;- var { keyboardInteraction: n } = e.tooltip, r = J3;+ var { keyboardInteraction: n } = e.tooltip, r = W3;if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;- var i = WQ(n, t$(e), LZ(e), a$(e)), a = i == null ? -1 : Number(i);+ var i = BQ(n, ZQ(e), NZ(e), t$(e)), a = i == null ? -1 : Number(i);if (!Number.isFinite(a) || a < 0) return;- var o = l$(e);+ var o = a$(e);if (r === "Enter") {- var s = A$(e, "axis", "hover", String(n.index));- t.dispatch(BQ({+ var s = E$(e, "axis", "hover", String(n.index));+ t.dispatch(IQ({active: !n.active,activeIndex: n.index,activeCoordinate: s}));return;}- var c = Oje(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;+ var c = Mje(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;if (o == null || l >= o.length || l < 0) return;- var u = A$(e, "axis", "hover", String(l));- t.dispatch(BQ({+ var u = E$(e, "axis", "hover", String(l));+ t.dispatch(IQ({active: !0,activeIndex: l.toString(),activeCoordinate: u}));} finally {- K3 = null, q3 = null;+ H3 = null, U3 = null;}};if (!i) {a();return;}- n === "raf" ? K3 = requestAnimationFrame(a) : typeof n == "number" && q3 === null && (a(), J3 = null, q3 = setTimeout(() => {- J3 ? a() : (q3 = null, K3 = null);+ n === "raf" ? H3 = requestAnimationFrame(a) : typeof n == "number" && U3 === null && (a(), W3 = null, U3 = setTimeout(() => {+ W3 ? a() : (U3 = null, H3 = null);}, n));}-}), G3.startListening({- actionCreator: U3,+}), V3.startListening({+ actionCreator: z3,effect: (e, t) => {var n = t.getState();if (n.rootProps.accessibilityLayer !== !1) {var { keyboardInteraction: r } = n.tooltip;if (!r.active && r.index == null) {- var i = "0", a = A$(n, "axis", "hover", String(i));- t.dispatch(BQ({+ var i = "0", a = E$(n, "axis", "hover", String(i));+ t.dispatch(IQ({active: !0,activeIndex: i,activeCoordinate: a@@ -71827,13 +71827,13 @@ G3.startListening({}}}-}), G3.startListening({- actionCreator: W3,+}), V3.startListening({+ actionCreator: B3,effect: (e, t) => {var n = t.getState();if (n.rootProps.accessibilityLayer !== !1) {var { keyboardInteraction: r } = n.tooltip;- r.active && t.dispatch(BQ({+ r.active && t.dispatch(IQ({active: !1,activeIndex: r.index,activeCoordinate: r.coordinate@@ -71843,7 +71843,7 @@ G3.startListening({});//#endregion//#region node_modules/recharts/es6/util/createEventProxy.js-function Y3(e) {+function G3(e) {e.persist();var { currentTarget: t } = e;return new Proxy(e, { get: (e, n) => {@@ -71854,36 +71854,36 @@ function Y3(e) {}//#endregion//#region node_modules/recharts/es6/state/externalEventsMiddleware.js-var X3 = sU("externalEvent"), Z3 = VU(), Q3 = /* @__PURE__ */ new Map(), $3 = /* @__PURE__ */ new Map(), e6 = /* @__PURE__ */ new Map();-Z3.startListening({- actionCreator: X3,+var K3 = rU("externalEvent"), q3 = LU(), J3 = /* @__PURE__ */ new Map(), Y3 = /* @__PURE__ */ new Map(), X3 = /* @__PURE__ */ new Map();+q3.startListening({+ actionCreator: K3,effect: (e, t) => {var { handler: n, reactEvent: r } = e.payload;if (n != null) {- var i = r.type, a = Y3(r);- e6.set(i, {+ var i = r.type, a = G3(r);+ X3.set(i, {handler: n,reactEvent: a});- var o = Q3.get(i);- o !== void 0 && (cancelAnimationFrame(o), Q3.delete(i));- var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = $3.get(i);- d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), $3.delete(i));+ var o = J3.get(i);+ o !== void 0 && (cancelAnimationFrame(o), J3.delete(i));+ var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = Y3.get(i);+ d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), Y3.delete(i));var f = () => {- var e = e6.get(i);+ var e = X3.get(i);try {if (!e) return;var { handler: n, reactEvent: r } = e, a = t.getState(), o = {- activeCoordinate: lMe(a),- activeDataKey: g$(a),- activeIndex: m$(a),- activeLabel: h$(a),- activeTooltipIndex: m$(a),- isTooltipActive: uMe(a)+ activeCoordinate: pMe(a),+ activeDataKey: f$(a),+ activeIndex: u$(a),+ activeLabel: d$(a),+ activeTooltipIndex: u$(a),+ isTooltipActive: mMe(a)};n && n(o, r);} finally {- Q3.delete(i), $3.delete(i), e6.delete(i);+ J3.delete(i), Y3.delete(i), X3.delete(i);}};if (!u) {@@ -71892,19 +71892,19 @@ Z3.startListening({}if (s === "raf") {var p = requestAnimationFrame(f);- Q3.set(i, p);+ J3.set(i, p);} else if (typeof s == "number") {- if (!$3.has(i)) {+ if (!Y3.has(i)) {f();var m = setTimeout(f, s);- $3.set(i, m);+ Y3.set(i, m);}} else f();}}});-var CVe = $([- $([JQ], (e) => e.tooltipItemPayloads),+var DVe = $([+ $([WQ], (e) => e.tooltipItemPayloads),(e, t) => t,(e, t, n) => n], (e, t, n) => {@@ -71915,65 +71915,65 @@ var CVe = $([if (i != null) return i(t);}}-}), t6 = sU("touchMove"), n6 = VU(), r6 = null, i6 = null, a6 = null, o6 = null;-n6.startListening({- actionCreator: t6,+}), Z3 = rU("touchMove"), Q3 = LU(), $3 = null, e6 = null, t6 = null, n6 = null;+Q3.startListening({+ actionCreator: Z3,effect: (e, t) => {var n = e.payload;if (n.touches != null && n.touches.length !== 0) {- o6 = Y3(n);+ n6 = G3(n);var { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i.includes("touchmove");- r6 !== null && (cancelAnimationFrame(r6), r6 = null), i6 !== null && (typeof r != "number" || !a) && (clearTimeout(i6), i6 = null), a6 = Array.from(n.touches).map((e) => j3({+ $3 !== null && (cancelAnimationFrame($3), $3 = null), e6 !== null && (typeof r != "number" || !a) && (clearTimeout(e6), e6 = null), t6 = Array.from(n.touches).map((e) => D3({clientX: e.clientX,clientY: e.clientY,currentTarget: n.currentTarget}));var o = () => {- if (o6 != null) {- var e = t.getState(), n = MQ(e, e.tooltip.settings.shared);+ if (n6 != null) {+ var e = t.getState(), n = OQ(e, e.tooltip.settings.shared);if (n === "axis") {- var r = a6?.[0];+ var r = t6?.[0];if (r == null) {- r6 = null, i6 = null;+ $3 = null, e6 = null;return;}- var i = A3(e, r);- i?.activeIndex != null && t.dispatch(RQ({+ var i = E3(e, r);+ i?.activeIndex != null && t.dispatch(PQ({activeIndex: i.activeIndex,activeDataKey: void 0,activeCoordinate: i.activeCoordinate}));} else if (n === "item") {- var a = o6.touches[0];+ var a = n6.touches[0];if (document.elementFromPoint == null || a == null) return;var o = document.elementFromPoint(a.clientX, a.clientY);if (!o || !o.getAttribute) return;- var s = o.getAttribute(rTe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = e$(e).find((e) => e.id === c);+ var s = o.getAttribute(sTe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = XQ(e).find((e) => e.id === c);if (s == null || l == null || c == null) return;- var { dataKey: u } = l, d = CVe(e, s, c);- t.dispatch(IQ({+ var { dataKey: u } = l, d = DVe(e, s, c);+ t.dispatch(MQ({activeDataKey: u,activeIndex: s,activeCoordinate: d,activeGraphicalItemId: c}));}- r6 = null, i6 = null;+ $3 = null, e6 = null;}};if (!a) {o();return;}- r === "raf" ? r6 = requestAnimationFrame(o) : typeof r == "number" && i6 === null && (o(), o6 = null, i6 = setTimeout(() => {- o6 ? o() : (i6 = null, r6 = null);+ r === "raf" ? $3 = requestAnimationFrame(o) : typeof r == "number" && e6 === null && (o(), n6 = null, e6 = setTimeout(() => {+ n6 ? o() : (e6 = null, $3 = null);}, r));}}});//#endregion//#region node_modules/recharts/es6/state/eventSettingsSlice.js-var s6 = {+var r6 = {throttleDelay: "raf",throttledEvents: ["mousemove",@@ -71982,33 +71982,33 @@ var s6 = {"scroll","wheel"]-}, c6 = gU({+}, i6 = fU({name: "eventSettings",- initialState: s6,+ initialState: r6,reducers: { setEventSettings: (e, t) => {- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = DG(t.payload.throttledEvents));+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = CG(t.payload.throttledEvents));} }-}), { setEventSettings: wVe } = c6.actions, TVe = c6.reducer, EVe = YV({- brush: ULe,- cartesianAxis: AIe,- chartData: rNe,- errorBars: cze,- eventSettings: TVe,- graphicalItems: oIe,- layout: Wwe,- legend: HTe,- options: QMe,- polarAxis: XPe,- polarOptions: SVe,- referenceElements: eRe,- renderedTicks: ORe,- rootProps: yVe,- tooltip: Rje,- zIndex: UMe-}), DVe = function(e) {+}), { setEventSettings: OVe } = i6.actions, kVe = i6.reducer, AVe = GV({+ brush: qLe,+ cartesianAxis: PIe,+ chartData: sNe,+ errorBars: fze,+ eventSettings: kVe,+ graphicalItems: uIe,+ layout: Jwe,+ legend: KTe,+ options: nNe,+ polarAxis: eFe,+ polarOptions: EVe,+ referenceElements: iRe,+ renderedTicks: MRe,+ rootProps: CVe,+ tooltip: Hje,+ zIndex: qMe+}), jVe = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";- return gwe({- reducer: EVe,+ return bwe({+ reducer: AVe,preloadedState: e,middleware: (e) => e({serializableCheck: !1,@@ -72018,40 +72018,40 @@ var s6 = {"production"].includes("es6")}).concat([- N3.middleware,- F3.middleware,- G3.middleware,- Z3.middleware,- n6.middleware+ k3.middleware,+ j3.middleware,+ V3.middleware,+ q3.middleware,+ Q3.middleware]),enhancers: (e) => {var t = e;- return typeof e == "function" && (t = e()), t.concat(mU({ type: "raf" }));+ return typeof e == "function" && (t = e()), t.concat(uU({ type: "raf" }));},- devTools: KG.devToolsEnabled && {- serialize: { replacer: vVe },+ devTools: HG.devToolsEnabled && {+ serialize: { replacer: SVe },name: `recharts-${t}`}});};//#endregion//#region node_modules/recharts/es6/state/RechartsStoreProvider.js-function l6(e) {- var { preloadedState: t, children: n, reduxStoreName: r } = e, i = vW(), a = (0, B.useRef)(null);+function a6(e) {+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = mW(), a = (0, B.useRef)(null);if (i) return n;- a.current ??= DVe(t, r);- var o = AV;- return /*#__PURE__*/ B.createElement(nEe, {+ a.current ??= jVe(t, r);+ var o = EV;+ return /*#__PURE__*/ B.createElement(oEe, {context: o,store: a.current}, n);}//#endregion//#region node_modules/recharts/es6/state/ReportMainChartProps.js-function OVe(e) {- var { layout: t, margin: n } = e, r = jV(), i = vW();+function MVe(e) {+ var { layout: t, margin: n } = e, r = DV(), i = mW();return (0, B.useEffect)(() => {- i || (r(Vwe(t)), r(Bwe(n)));+ i || (r(Gwe(t)), r(Wwe(n)));}, [r,i,@@ -72059,31 +72059,31 @@ function OVe(e) {n]), null;}-var u6 = /*#__PURE__*/ (0, B.memo)(OVe, FG);+var o6 = /*#__PURE__*/ (0, B.memo)(MVe, jG);//#endregion//#region node_modules/recharts/es6/state/ReportChartProps.js-function d6(e) {- var t = jV();+function s6(e) {+ var t = DV();return (0, B.useEffect)(() => {- t(bVe(e));+ t(wVe(e));}, [t, e]), null;}-var f6 = /*#__PURE__*/ (0, B.memo)((e) => {- var t = jV();+var c6 = /*#__PURE__*/ (0, B.memo)((e) => {+ var t = DV();return (0, B.useEffect)(() => {- t(wVe(e));+ t(OVe(e));}, [t, e]), null;-}, FG);+}, jG);//#endregion//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js-function p6(e) {- var { zIndex: t, isPanorama: n } = e, r = (0, B.useRef)(null), i = jV();- return (0, B.useLayoutEffect)(() => (r.current && i(VMe({+function l6(e) {+ var { zIndex: t, isPanorama: n } = e, r = (0, B.useRef)(null), i = DV();+ return (0, B.useLayoutEffect)(() => (r.current && i(GMe({zIndex: t,element: r.current,isPanorama: n})), () => {- i(HMe({+ i(KMe({zIndex: t,isPanorama: n}));@@ -72097,15 +72097,15 @@ function p6(e) {className: `recharts-zIndex-layer_${t}`});}-function m6(e) {- var { children: t, isPanorama: n } = e, r = Q(MMe);+function u6(e) {+ var { children: t, isPanorama: n } = e, r = Q(IMe);if (!r || r.length === 0) return t;var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);- return /*#__PURE__*/ B.createElement(B.Fragment, null, i.map((e) => /*#__PURE__*/ B.createElement(p6, {+ return /*#__PURE__*/ B.createElement(B.Fragment, null, i.map((e) => /*#__PURE__*/ B.createElement(l6, {key: e,zIndex: e,isPanorama: n- })), t, a.map((e) => /*#__PURE__*/ B.createElement(p6, {+ })), t, a.map((e) => /*#__PURE__*/ B.createElement(l6, {key: e,zIndex: e,isPanorama: n@@ -72113,17 +72113,17 @@ function m6(e) {}//#endregion//#region node_modules/recharts/es6/container/RootSurface.js-var kVe = ["children"];-function AVe(e, t) {+var NVe = ["children"];+function PVe(e, t) {if (e == null) return {};- var n, r, i = jVe(e, t);+ var n, r, i = FVe(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 jVe(e, t) {+function FVe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -72132,55 +72132,55 @@ function jVe(e, t) {}return n;}-function h6() {- return h6 = Object.assign ? Object.assign.bind() : function(e) {+function d6() {+ return d6 = 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;- }, h6.apply(null, arguments);+ }, d6.apply(null, arguments);}-var MVe = {+var IVe = {width: "100%",height: "100%",display: "block"-}, NVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var n = PW(), r = FW(), i = XG();- if (!KU(n) || !KU(r)) return null;+}, LVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var n = AW(), r = jW(), i = KG();+ if (!HU(n) || !HU(r)) return null;var { children: a, otherAttributes: o, title: s, desc: c } = e, 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__*/ B.createElement(Oz, h6({}, 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__*/ B.createElement(Dz, d6({}, o, {title: s,desc: c,role: u,tabIndex: l,width: n,height: r,- style: MVe,+ style: IVe,ref: t}), a);-}), PVe = (e) => {- var { children: t } = e, n = Q(bW);+}), RVe = (e) => {+ var { children: t } = e, n = Q(gW);if (!n) return null;var { width: r, height: i, y: a, x: o } = n;- return /*#__PURE__*/ B.createElement(Oz, {+ return /*#__PURE__*/ B.createElement(Dz, {width: r,height: i,x: o,y: a}, t);-}, g6 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var { children: n } = e, r = AVe(e, kVe);- return vW() ? /*#__PURE__*/ B.createElement(PVe, null, /*#__PURE__*/ B.createElement(m6, { isPanorama: !0 }, n)) : /*#__PURE__*/ B.createElement(NVe, h6({ ref: t }, r), /*#__PURE__*/ B.createElement(m6, { isPanorama: !1 }, n));+}, f6 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var { children: n } = e, r = PVe(e, NVe);+ return mW() ? /*#__PURE__*/ B.createElement(RVe, null, /*#__PURE__*/ B.createElement(u6, { isPanorama: !0 }, n)) : /*#__PURE__*/ B.createElement(LVe, d6({ ref: t }, r), /*#__PURE__*/ B.createElement(u6, { isPanorama: !1 }, n));});//#endregion//#region node_modules/recharts/es6/util/useReportScale.js-function FVe() {- var e = jV(), [t, n] = (0, B.useState)(null), r = Q(nTe);+function zVe() {+ var e = DV(), [t, n] = (0, B.useState)(null), r = Q(oTe);return (0, B.useEffect)(() => {if (t != null) {var n = t.getBoundingClientRect().width / t.offsetWidth;- GU(n) && n !== r && e(Uwe(n));+ VU(n) && n !== r && e(qwe(n));}}, [t,@@ -72190,7 +72190,7 @@ function FVe() {}//#endregion//#region node_modules/recharts/es6/chart/RechartsWrapper.js-function _6(e, t) {+function p6(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -72200,30 +72200,30 @@ function _6(e, t) {}return n;}-function IVe(e) {+function BVe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? _6(Object(n), !0).forEach(function(t) {- LVe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _6(Object(n)).forEach(function(t) {+ t % 2 ? p6(Object(n), !0).forEach(function(t) {+ VVe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p6(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function LVe(e, t, n) {- return (t = RVe(t)) in e ? Object.defineProperty(e, t, {+function VVe(e, t, n) {+ return (t = HVe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function RVe(e) {- var t = zVe(e, "string");+function HVe(e) {+ var t = UVe(e, "string");return typeof t == "symbol" ? t : t + "";}-function zVe(e, t) {+function UVe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -72233,17 +72233,17 @@ function zVe(e, t) {}return (t === "string" ? String : Number)(e);}-function v6() {- return v6 = Object.assign ? Object.assign.bind() : function(e) {+function m6() {+ return m6 = 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;- }, v6.apply(null, arguments);+ }, m6.apply(null, arguments);}-var BVe = () => (fNe(), null);-function y6(e) {+var WVe = () => (gNe(), null);+function h6(e) {if (typeof e == "number") return e;if (typeof e == "string") {var t = parseFloat(e);@@ -72251,10 +72251,10 @@ function y6(e) {}return 0;}-var VVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+var GVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {var n = (0, B.useRef)(null), [r, i] = (0, B.useState)({- containerWidth: y6(e.style?.width),- containerHeight: y6(e.style?.height)+ containerWidth: h6(e.style?.width),+ containerHeight: h6(e.style?.height)}), a = (0, B.useCallback)((e, t) => {i((n) => {var r = Math.round(e), i = Math.round(t);@@ -72279,14 +72279,14 @@ var VVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {}, [t, a]);return (0, B.useEffect)(() => () => {n.current?.disconnect();- }, [a]), /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(VW, {+ }, [a]), /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(LW, {width: r.containerWidth,height: r.containerHeight- }), /*#__PURE__*/ B.createElement("div", v6({ ref: o }, e)));-}), HVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ }), /*#__PURE__*/ B.createElement("div", m6({ ref: o }, e)));+}), KVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {var { width: n, height: r } = e, [i, a] = (0, B.useState)({- containerWidth: y6(n),- containerHeight: y6(r)+ containerWidth: h6(n),+ containerHeight: h6(r)}), o = (0, B.useCallback)((e, t) => {a((n) => {var r = Math.round(e), i = Math.round(t);@@ -72301,32 +72301,32 @@ var VVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {o(n, r);}}, [t, o]);- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(VW, {+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(LW, {width: i.containerWidth,height: i.containerHeight- }), /*#__PURE__*/ B.createElement("div", v6({ ref: s }, e)));-}), UVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ }), /*#__PURE__*/ B.createElement("div", m6({ ref: s }, e)));+}), qVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {var { width: n, height: r } = e;- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(VW, {+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(LW, {width: n,height: r- }), /*#__PURE__*/ B.createElement("div", v6({ ref: t }, e)));-}), WVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ }), /*#__PURE__*/ B.createElement("div", m6({ ref: t }, e)));+}), JVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {var { width: n, height: r } = e;- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ B.createElement(HVe, v6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ B.createElement(UVe, v6({}, e, {+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ B.createElement(KVe, m6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ B.createElement(qVe, m6({}, e, {width: n,height: r,ref: t- })) : /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(VW, {+ })) : /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(LW, {width: n,height: r- }), /*#__PURE__*/ B.createElement("div", v6({ ref: t }, e)));+ }), /*#__PURE__*/ B.createElement("div", m6({ ref: t }, e)));});-function GVe(e) {- return e ? VVe : WVe;+function YVe(e) {+ return e ? GVe : JVe;}-var KVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, B.useRef)(null), x = jV(), [S, C] = (0, B.useState)(null), [w, T] = (0, B.useState)(null), E = FVe(), D = kW(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, B.useCallback)((e) => {+var XVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, B.useRef)(null), x = DV(), [S, C] = (0, B.useState)(null), [w, T] = (0, B.useState)(null), E = zVe(), D = TW(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, B.useCallback)((e) => {E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);}, [E,@@ -72334,58 +72334,58 @@ var KVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {C,T]), j = (0, B.useCallback)((e) => {- x(M3(e)), x(X3({+ x(O3(e)), x(K3({handler: a,reactEvent: e}));}, [x, a]), M = (0, B.useCallback)((e) => {- x(P3(e)), x(X3({+ x(A3(e)), x(K3({handler: l,reactEvent: e}));}, [x, l]), N = (0, B.useCallback)((e) => {- x(LQ()), x(X3({+ x(NQ()), x(K3({handler: u,reactEvent: e}));}, [x, u]), P = (0, B.useCallback)((e) => {- x(P3(e)), x(X3({+ x(A3(e)), x(K3({handler: d,reactEvent: e}));}, [x, d]), ee = (0, B.useCallback)(() => {- x(U3());+ x(z3());}, [x]), F = (0, B.useCallback)(() => {- x(W3());+ x(B3());}, [x]), I = (0, B.useCallback)((e) => {- x(H3(e.key));+ x(R3(e.key));}, [x]), te = (0, B.useCallback)((e) => {- x(X3({+ x(K3({handler: o,reactEvent: e}));}, [x, o]), ne = (0, B.useCallback)((e) => {- x(X3({+ x(K3({handler: s,reactEvent: e}));}, [x, s]), re = (0, B.useCallback)((e) => {- x(X3({+ x(K3({handler: c,reactEvent: e}));}, [x, c]), ie = (0, B.useCallback)((e) => {- x(X3({+ x(K3({handler: f,reactEvent: e}));}, [x, f]), ae = (0, B.useCallback)((e) => {- x(X3({+ x(K3({handler: h,reactEvent: e}));}, [x, h]), oe = (0, B.useCallback)((e) => {- y && x(t6(e)), x(X3({+ y && x(Z3(e)), x(K3({handler: m,reactEvent: e}));@@ -72394,16 +72394,16 @@ var KVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {y,m]), se = (0, B.useCallback)((e) => {- x(X3({+ x(K3({handler: p,reactEvent: e}));- }, [x, p]), ce = GVe(v);- return /*#__PURE__*/ B.createElement(z$.Provider, { value: S }, /*#__PURE__*/ B.createElement(jz.Provider, { value: w }, /*#__PURE__*/ B.createElement(ce, {+ }, [x, p]), ce = YVe(v);+ return /*#__PURE__*/ B.createElement(F$.Provider, { value: S }, /*#__PURE__*/ B.createElement(Az.Provider, { value: w }, /*#__PURE__*/ B.createElement(ce, {width: O ?? g?.width,height: k ?? g?.height,className: _h("recharts-wrapper", r),- style: IVe({+ style: BVe({position: "relative",cursor: "default",width: O,@@ -72424,8 +72424,8 @@ var KVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {onTouchMove: oe,onTouchStart: ae,ref: A- }, /*#__PURE__*/ B.createElement(BVe, null), n)));-}), qVe = [+ }, /*#__PURE__*/ B.createElement(WVe, null), n)));+}), ZVe = ["width","height","responsive",@@ -72436,16 +72436,16 @@ var KVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {"title","desc"];-function JVe(e, t) {+function QVe(e, t) {if (e == null) return {};- var n, r, i = YVe(e, t);+ var n, r, i = $Ve(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 YVe(e, t) {+function $Ve(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -72454,16 +72454,16 @@ function YVe(e, t) {}return n;}-var b6 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = wz(JVe(e, qVe));- return c ? /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(VW, {+var g6 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = Cz(QVe(e, ZVe));+ return c ? /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(LW, {width: n,height: r- }), /*#__PURE__*/ B.createElement(g6, {+ }), /*#__PURE__*/ B.createElement(f6, {otherAttributes: d,title: l,desc: u- }, a)) : /*#__PURE__*/ B.createElement(KVe, {+ }, a)) : /*#__PURE__*/ B.createElement(XVe, {className: o,style: s,width: n,@@ -72480,25 +72480,25 @@ var b6 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {onTouchStart: e.onTouchStart,onTouchMove: e.onTouchMove,onTouchEnd: e.onTouchEnd- }, /*#__PURE__*/ B.createElement(g6, {+ }, /*#__PURE__*/ B.createElement(f6, {otherAttributes: d,title: l,desc: u,ref: t- }, /*#__PURE__*/ B.createElement(tRe, null, a)));+ }, /*#__PURE__*/ B.createElement(aRe, null, a)));});//#endregion//#region node_modules/recharts/es6/chart/CartesianChart.js-function x6() {- return x6 = Object.assign ? Object.assign.bind() : function(e) {+function _6() {+ return _6 = 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;- }, x6.apply(null, arguments);+ }, _6.apply(null, arguments);}-function S6(e, t) {+function v6(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -72508,30 +72508,30 @@ function S6(e, t) {}return n;}-function XVe(e) {+function eHe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? S6(Object(n), !0).forEach(function(t) {- ZVe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S6(Object(n)).forEach(function(t) {+ t % 2 ? v6(Object(n), !0).forEach(function(t) {+ tHe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v6(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function ZVe(e, t, n) {- return (t = QVe(t)) in e ? Object.defineProperty(e, t, {+function tHe(e, t, n) {+ return (t = nHe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function QVe(e) {- var t = $Ve(e, "string");+function nHe(e) {+ var t = rHe(e, "string");return typeof t == "symbol" ? t : t + "";}-function $Ve(e, t) {+function rHe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -72541,7 +72541,7 @@ function $Ve(e, t) {}return (t === "string" ? String : Number)(e);}-var eHe = XVe({+var iHe = eHe({accessibilityLayer: !0,barCategoryGap: "10%",barGap: 4,@@ -72556,24 +72556,24 @@ var eHe = XVe({reverseStackOrder: !1,stackOffset: "none",syncMethod: "index"-}, s6), C6 = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- var n = eV(e.categoricalChartProps, eHe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {+}, r6), y6 = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ var n = $B(e.categoricalChartProps, iHe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {chartName: r,defaultTooltipEventType: i,validateTooltipEventTypes: a,tooltipPayloadSearcher: o,eventEmitter: void 0};- return /*#__PURE__*/ B.createElement(l6, {+ return /*#__PURE__*/ B.createElement(a6, {preloadedState: { options: c },reduxStoreName: s.id ?? r- }, /*#__PURE__*/ B.createElement(e4, { chartData: s.data }), /*#__PURE__*/ B.createElement(u6, {+ }, /*#__PURE__*/ B.createElement(X2, { chartData: s.data }), /*#__PURE__*/ B.createElement(o6, {layout: n.layout,margin: n.margin- }), /*#__PURE__*/ B.createElement(f6, {+ }), /*#__PURE__*/ B.createElement(c6, {throttleDelay: n.throttleDelay,throttledEvents: n.throttledEvents- }), /*#__PURE__*/ B.createElement(d6, {+ }), /*#__PURE__*/ B.createElement(s6, {baseValue: n.baseValue,accessibilityLayer: n.accessibilityLayer,barCategoryGap: n.barCategoryGap,@@ -72585,52 +72585,52 @@ var eHe = XVe({syncMethod: n.syncMethod,className: n.className,reverseStackOrder: n.reverseStackOrder- }), /*#__PURE__*/ B.createElement(b6, x6({}, n, { ref: t })));-}), tHe = ["axis"], nHe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(C6, {+ }), /*#__PURE__*/ B.createElement(g6, _6({}, n, { ref: t })));+}), aHe = ["axis"], oHe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(y6, {chartName: "LineChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: tHe,- tooltipPayloadSearcher: U$,+ validateTooltipEventTypes: aHe,+ tooltipPayloadSearcher: z$,categoricalChartProps: e,ref: t-})), rHe = ["axis", "item"], w6 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(C6, {+})), sHe = ["axis", "item"], b6 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(y6, {chartName: "BarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: rHe,- tooltipPayloadSearcher: U$,+ validateTooltipEventTypes: sHe,+ tooltipPayloadSearcher: z$,categoricalChartProps: e,ref: t}));//#endregion//#region node_modules/recharts/es6/state/ReportPolarOptions.js-function iHe(e) {- var t = jV();+function cHe(e) {+ var t = DV();return (0, B.useEffect)(() => {- t(xVe(e));+ t(TVe(e));}, [t, e]), null;}//#endregion//#region node_modules/recharts/es6/chart/PolarChart.js-var aHe = ["layout"];-function T6() {- return T6 = Object.assign ? Object.assign.bind() : function(e) {+var lHe = ["layout"];+function x6() {+ return x6 = 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;- }, T6.apply(null, arguments);+ }, x6.apply(null, arguments);}-function oHe(e, t) {+function uHe(e, t) {if (e == null) return {};- var n, r, i = sHe(e, t);+ var n, r, i = dHe(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 sHe(e, t) {+function dHe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -72639,7 +72639,7 @@ function sHe(e, t) {}return n;}-function E6(e, t) {+function S6(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -72649,30 +72649,30 @@ function E6(e, t) {}return n;}-function cHe(e) {+function fHe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? E6(Object(n), !0).forEach(function(t) {- lHe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E6(Object(n)).forEach(function(t) {+ t % 2 ? S6(Object(n), !0).forEach(function(t) {+ pHe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S6(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function lHe(e, t, n) {- return (t = uHe(t)) in e ? Object.defineProperty(e, t, {+function pHe(e, t, n) {+ return (t = mHe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function uHe(e) {- var t = dHe(e, "string");+function mHe(e) {+ var t = hHe(e, "string");return typeof t == "symbol" ? t : t + "";}-function dHe(e, t) {+function hHe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -72682,7 +72682,7 @@ function dHe(e, t) {}return (t === "string" ? String : Number)(e);}-var D6 = cHe({+var C6 = fHe({accessibilityLayer: !0,stackOffset: "none",barCategoryGap: "10%",@@ -72701,24 +72701,24 @@ var D6 = cHe({cy: "50%",innerRadius: 0,outerRadius: "80%"-}, s6), O6 = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- var n = eV(e.categoricalChartProps, D6), { layout: r } = n, i = oHe(n, aHe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {+}, r6), w6 = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ var n = $B(e.categoricalChartProps, C6), { layout: r } = n, i = uHe(n, lHe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {chartName: a,defaultTooltipEventType: o,validateTooltipEventTypes: s,tooltipPayloadSearcher: c,eventEmitter: void 0};- return /*#__PURE__*/ B.createElement(l6, {+ return /*#__PURE__*/ B.createElement(a6, {preloadedState: { options: l },reduxStoreName: n.id ?? a- }, /*#__PURE__*/ B.createElement(e4, { chartData: n.data }), /*#__PURE__*/ B.createElement(u6, {+ }, /*#__PURE__*/ B.createElement(X2, { chartData: n.data }), /*#__PURE__*/ B.createElement(o6, {layout: r,margin: n.margin- }), /*#__PURE__*/ B.createElement(f6, {+ }), /*#__PURE__*/ B.createElement(c6, {throttleDelay: n.throttleDelay,throttledEvents: n.throttledEvents- }), /*#__PURE__*/ B.createElement(d6, {+ }), /*#__PURE__*/ B.createElement(s6, {baseValue: void 0,accessibilityLayer: n.accessibilityLayer,barCategoryGap: n.barCategoryGap,@@ -72730,18 +72730,18 @@ var D6 = cHe({syncMethod: n.syncMethod,className: n.className,reverseStackOrder: n.reverseStackOrder- }), /*#__PURE__*/ B.createElement(iHe, {+ }), /*#__PURE__*/ B.createElement(cHe, {cx: n.cx,cy: n.cy,startAngle: n.startAngle,endAngle: n.endAngle,innerRadius: n.innerRadius,outerRadius: n.outerRadius- }), /*#__PURE__*/ B.createElement(b6, T6({}, i, { ref: t })));+ }), /*#__PURE__*/ B.createElement(g6, x6({}, i, { ref: t })));});//#endregion//#region node_modules/recharts/es6/chart/RadarChart.js-function k6(e, t) {+function T6(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -72751,30 +72751,30 @@ function k6(e, t) {}return n;}-function A6(e) {+function E6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? k6(Object(n), !0).forEach(function(t) {- fHe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k6(Object(n)).forEach(function(t) {+ t % 2 ? T6(Object(n), !0).forEach(function(t) {+ gHe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T6(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function fHe(e, t, n) {- return (t = pHe(t)) in e ? Object.defineProperty(e, t, {+function gHe(e, t, n) {+ return (t = _He(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function pHe(e) {- var t = mHe(e, "string");+function _He(e) {+ var t = vHe(e, "string");return typeof t == "symbol" ? t : t + "";}-function mHe(e, t) {+function vHe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -72784,31 +72784,31 @@ function mHe(e, t) {}return (t === "string" ? String : Number)(e);}-var hHe = ["axis"], gHe = A6(A6({}, D6), {}, {+var yHe = ["axis"], bHe = E6(E6({}, C6), {}, {layout: "centric",startAngle: 90,endAngle: -270-}), _He = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var n = eV(e, gHe);- return /*#__PURE__*/ B.createElement(O6, {+}), xHe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var n = $B(e, bHe);+ return /*#__PURE__*/ B.createElement(w6, {chartName: "RadarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: hHe,- tooltipPayloadSearcher: U$,+ validateTooltipEventTypes: yHe,+ tooltipPayloadSearcher: z$,categoricalChartProps: n,ref: t});-}), vHe = ["axis"], yHe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(C6, {+}), SHe = ["axis"], CHe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(y6, {chartName: "AreaChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: vHe,- tooltipPayloadSearcher: U$,+ validateTooltipEventTypes: SHe,+ tooltipPayloadSearcher: z$,categoricalChartProps: e,ref: t}));//#endregion//#region node_modules/recharts/es6/chart/RadialBarChart.js-function j6(e, t) {+function D6(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -72818,30 +72818,30 @@ function j6(e, t) {}return n;}-function M6(e) {+function O6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? j6(Object(n), !0).forEach(function(t) {- bHe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j6(Object(n)).forEach(function(t) {+ t % 2 ? D6(Object(n), !0).forEach(function(t) {+ wHe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D6(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function bHe(e, t, n) {- return (t = xHe(t)) in e ? Object.defineProperty(e, t, {+function wHe(e, t, n) {+ return (t = THe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function xHe(e) {- var t = SHe(e, "string");+function THe(e) {+ var t = EHe(e, "string");return typeof t == "symbol" ? t : t + "";}-function SHe(e, t) {+function EHe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -72851,59 +72851,59 @@ function SHe(e, t) {}return (t === "string" ? String : Number)(e);}-var CHe = ["axis", "item"], wHe = M6(M6({}, D6), {}, {+var DHe = ["axis", "item"], OHe = O6(O6({}, C6), {}, {layout: "radial",startAngle: 0,endAngle: 360-}), THe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var n = eV(e, wHe);- return /*#__PURE__*/ B.createElement(O6, {+}), kHe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var n = $B(e, OHe);+ return /*#__PURE__*/ B.createElement(w6, {chartName: "RadialBarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: CHe,- tooltipPayloadSearcher: U$,+ validateTooltipEventTypes: DHe,+ tooltipPayloadSearcher: z$,categoricalChartProps: n,ref: t});});//#endregion//#region src/react/charts/cn.ts-function N6(...e) {+function k6(...e) {return hE(_h(e));}//#endregion//#region src/react/evilcharts/registry/ui/recharts-chart.tsx-var P6 = {+var A6 = {light: "",dark: ".dark"-}, F6 = Object.keys(P6);-function EHe(e) {- for (let [t, n] of Object.entries(e)) if (n.colors && !F6.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${F6.join(", ")}). Received empty object or invalid keys.`);+}, j6 = Object.keys(A6);+function AHe(e) {+ for (let [t, n] of Object.entries(e)) if (n.colors && !j6.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${j6.join(", ")}). Received empty object or invalid keys.`);}-var I6 = B.createContext(null);-function L6() {- let e = B.useContext(I6);+var M6 = B.createContext(null);+function N6() {+ let e = B.useContext(M6);if (!e) throw Error("useChart must be used within a <ChartContainer />");return e;}-function R6({ id: e, config: t, initialDimension: n = {+function P6({ id: e, config: t, initialDimension: n = {width: 320,height: 200}, className: r, children: i, footer: a, ...o }) {let s = B.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;- return EHe(t), /* @__PURE__ */ (0, V.jsx)(I6.Provider, {+ return AHe(t), /* @__PURE__ */ (0, V.jsx)(M6.Provider, {value: { config: t },children: /* @__PURE__ */ (0, V.jsxs)("div", {"data-slot": "chart","data-chart": c,- className: N6("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),+ className: k6("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),...o,children: [- /* @__PURE__ */ (0, V.jsx)(B6, {+ /* @__PURE__ */ (0, V.jsx)(I6, {id: c,config: t}),- /* @__PURE__ */ (0, V.jsx)(AW, {+ /* @__PURE__ */ (0, V.jsx)(EW, {className: "min-h-0 w-full flex-1",initialDimension: n,children: i@@ -72913,7 +72913,7 @@ function R6({ id: e, config: t, initialDimension: n = {})});}-function z6({ isLoading: e }) {+function F6({ isLoading: e }) {return e ? /* @__PURE__ */ (0, V.jsx)("div", {className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center",children: /* @__PURE__ */ (0, V.jsxs)("div", {@@ -72922,7 +72922,7 @@ function z6({ isLoading: e }) {})}) : null;}-function DHe(e, t) {+function jHe(e, t) {let n = e.length;if (n >= t) return e.slice(0, t);let r = [], i = Math.floor(t / n), a = t % n;@@ -72932,46 +72932,46 @@ function DHe(e, t) {}return r;}-var B6 = ({ id: e, config: t }) => {+var I6 = ({ id: e, config: t }) => {let n = Object.entries(t).filter(([, e]) => e.colors);if (!n.length) return null;let r = (e) => n.flatMap(([t, n]) => {let r = n.colors?.[e];- return !r || !Array.isArray(r) || r.length === 0 ? [] : DHe(r, H6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);- }).filter(Boolean).join("\n"), i = Object.entries(P6).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");+ return !r || !Array.isArray(r) || r.length === 0 ? [] : jHe(r, R6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);+ }).filter(Boolean).join("\n"), i = Object.entries(A6).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");return /* @__PURE__ */ (0, V.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });};-function V6(e, t, n) {+function L6(e, t, n) {if (typeof t != "object" || !t) return;let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];}-function H6(e) {+function R6(e) {if (!e.colors) return 1;- let t = F6.map((t) => e.colors?.[t]?.length ?? 0);+ let t = j6.map((t) => e.colors?.[t]?.length ?? 0);return Math.max(...t, 1);}-var OHe = (e = 10, t = 0, n = 70) => {+var MHe = (e = 10, t = 0, n = 70) => {let r = n - t;return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));-}, kHe = {+}, NHe = {sm: "rounded-sm",md: "rounded-md",lg: "rounded-lg",xl: "rounded-xl"-}, AHe = {+}, PHe = {default: "bg-background","frosted-glass": "bg-background/70 backdrop-blur-sm"};-function U6({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {- let { config: h } = L6(), g = B.useMemo(() => {+function z6({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {+ let { config: h } = N6(), g = B.useMemo(() => {if (i || !t?.length) return null;- let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = V6(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;+ let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = L6(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;return s ? /* @__PURE__ */ (0, V.jsx)("div", {- className: N6("font-medium", c),+ className: k6("font-medium", c),children: s(a, t)}) : a ? /* @__PURE__ */ (0, V.jsx)("div", {- className: N6("font-medium", c),+ className: k6("font-medium", c),children: a}) : null;}, [@@ -72986,23 +72986,23 @@ function U6({ active: e, payload: t, className: n, indicator: r = "dot", hideLabif (!e || !t?.length) return /* @__PURE__ */ (0, V.jsx)("span", { className: "p-4" });let _ = t.length === 1 && r !== "dot";return /* @__PURE__ */ (0, V.jsxs)("div", {- className: N6("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", kHe[p], AHe[m], n),+ className: k6("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", NHe[p], PHe[m], n),children: [_ ? null : g, /* @__PURE__ */ (0, V.jsx)("div", {className: "grid gap-1.5",children: t.filter((e) => e.type !== "none").map((e, t) => {- let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = V6(h, e, n), o = i ? H6(i) : 1;+ let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = L6(h, e, n), o = i ? R6(i) : 1;return /* @__PURE__ */ (0, V.jsx)("div", {- className: N6("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),+ className: k6("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),children: l && e?.value !== void 0 && e.name ? l(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, V.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, V.jsx)("div", {- className: N6("shrink-0 rounded-[2px]", {+ className: k6("shrink-0 rounded-[2px]", {"h-2.5 w-2.5": r === "dot","w-1": r === "line","w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed","my-0.5": _ && r === "dashed"}),- style: jHe(n, o)+ style: FHe(n, o)}), /* @__PURE__ */ (0, V.jsxs)("div", {- className: N6("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),+ className: k6("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "grid gap-1.5",children: [_ ? g : null, /* @__PURE__ */ (0, V.jsx)("span", {@@ -73019,27 +73019,27 @@ function U6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab})]});}-function jHe(e, t) {+function FHe(e, t) {return t <= 1 ? { background: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };}-var W6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, V.jsx)(bNe, {+var B6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, V.jsx)(wNe, {animationDuration: e,...t});//#endregion//#region src/react/evilcharts/registry/ui/recharts-legend.tsx-function G6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {- let { config: u } = L6();+function V6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {+ let { config: u } = N6();return r?.length ? /* @__PURE__ */ (0, V.jsx)("div", {- className: N6("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),+ className: k6("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),children: r.filter((e) => e.type !== "none").map((e) => {- let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = V6(u, e, r), a = o === null || o === r, d = i ? H6(i) : 1;+ let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = L6(u, e, r), a = o === null || o === r, d = i ? R6(i) : 1;return /* @__PURE__ */ (0, V.jsxs)("div", {- className: N6("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),+ className: k6("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),onClick: () => {c && s?.(o === r ? null : r);},- children: [i?.icon && !t ? /* @__PURE__ */ (0, V.jsx)(i.icon, {}) : /* @__PURE__ */ (0, V.jsx)(MHe, {+ children: [i?.icon && !t ? /* @__PURE__ */ (0, V.jsx)(i.icon, {}) : /* @__PURE__ */ (0, V.jsx)(IHe, {variant: l,dataKey: r,colorsCount: d@@ -73048,8 +73048,8 @@ function G6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl})}) : null;}-function MHe({ variant: e, dataKey: t, colorsCount: n }) {- let r = NHe(t, n), i = PHe(t, n);+function IHe({ variant: e, dataKey: t, colorsCount: n }) {+ let r = LHe(t, n), i = RHe(t, n);switch (e) {case "square": return /* @__PURE__ */ (0, V.jsx)("div", {className: "h-2 w-2 shrink-0",@@ -73081,10 +73081,10 @@ function MHe({ variant: e, dataKey: t, colorsCount: n }) {});}}-function NHe(e, t) {+function LHe(e, t) {return t <= 1 ? { backgroundColor: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };}-function PHe(e, t) {+function RHe(e, t) {let n = {WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite: "xor",@@ -73099,12 +73099,12 @@ function PHe(e, t) {...n};}-var K6 = zG, q6 = () => null, J6 = {+var H6 = FG, U6 = () => null, W6 = {stiffness: 300,damping: 35,mass: .8};-function FHe({ range: e, totalPoints: t, containerRef: n, commit: r }) {+function zHe({ range: e, totalPoints: t, containerRef: n, commit: r }) {let i = B.useRef(null), [a, o] = B.useState(!1), s = (0, B.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, B.useCallback)((t, n) => {t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {type: n,@@ -73150,7 +73150,7 @@ function FHe({ range: e, totalPoints: t, containerRef: n, commit: r }) {])};}-function IHe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {+function BHe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {let x = B.useRef(null), S = B.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = B.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = B.useState(() => ({startIndex: Math.max(0, Math.min(p, C - 1)),endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))@@ -73184,7 +73184,7 @@ function IHe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "startIndex: n,endIndex: r};- }, [C, v]), { isDragging: A, bind: j } = FHe({+ }, [C, v]), { isDragging: A, bind: j } = zHe({range: E,totalPoints: C,containerRef: x,@@ -73211,7 +73211,7 @@ function IHe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "]);let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, P = C > 1 ? M.endIndex / (C - 1) * 100 : 100, ee = Hf(N), F = Hf(P);ee.get() !== N && ee.set(N), F.get() !== P && F.set(P);- let I = Yf(ee, J6), te = Yf(F, J6), ne = Gf(I, (e) => `${e}%`), re = Gf(te, (e) => `${e}%`), ie = Gf(I, (e) => `${e}%`), ae = Gf(te, (e) => `${Math.max(0, 100 - e)}%`), oe = Hf(`${Math.max(0, P - N)}%`), se = (0, B.useCallback)(() => {+ let I = Yf(ee, W6), te = Yf(F, W6), ne = Gf(I, (e) => `${e}%`), re = Gf(te, (e) => `${e}%`), ie = Gf(I, (e) => `${e}%`), ae = Gf(te, (e) => `${Math.max(0, 100 - e)}%`), oe = Hf(`${Math.max(0, P - N)}%`), se = (0, B.useCallback)(() => {oe.set(`${Math.max(0, te.get() - I.get())}%`);}, [I,@@ -73231,16 +73231,16 @@ function IHe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "return C === 0 ? null : /* @__PURE__ */ (0, V.jsxs)("div", {ref: x,"data-chart": b ? void 0 : w,- className: N6("group relative select-none", o),+ className: k6("group relative select-none", o),style: { height: a },children: [- !b && /* @__PURE__ */ (0, V.jsx)(B6, {+ !b && /* @__PURE__ */ (0, V.jsx)(I6, {id: w,config: t}),/* @__PURE__ */ (0, V.jsx)("div", {className: "absolute inset-0 overflow-hidden rounded-md",- children: /* @__PURE__ */ (0, V.jsx)(LHe, {+ children: /* @__PURE__ */ (0, V.jsx)(VHe, {data: e,keys: S,chartConfig: t,@@ -73269,13 +73269,13 @@ function IHe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "},...j("middle")}),- /* @__PURE__ */ (0, V.jsx)(Y6, {+ /* @__PURE__ */ (0, V.jsx)(G6, {side: "left",position: ne,label: y ? ce(M.startIndex) : void 0,bind: j("left")}),- /* @__PURE__ */ (0, V.jsx)(Y6, {+ /* @__PURE__ */ (0, V.jsx)(G6, {side: "right",position: re,label: y ? ce(M.endIndex) : void 0,@@ -73284,16 +73284,16 @@ function IHe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "]});}-function Y6({ side: e, position: t, label: n, bind: r }) {+function G6({ side: e, position: t, label: n, bind: r }) {let i = e === "left";return /* @__PURE__ */ (0, V.jsxs)(ep.div, {className: "absolute inset-y-0 z-10",style: { left: t },children: [/* @__PURE__ */ (0, V.jsx)("div", {- className: N6("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),+ className: k6("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),...r,children: /* @__PURE__ */ (0, V.jsx)("div", {- className: N6("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),+ className: k6("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),children: /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-[2px]",children: [@@ -73304,15 +73304,15 @@ function Y6({ side: e, position: t, label: n, bind: r }) {})})}), n && /* @__PURE__ */ (0, V.jsx)("div", {- className: N6("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),+ className: k6("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),children: n})]});}-function LHe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {+function VHe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {let u = B.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({dataKey: e,- colorsCount: H6(t)+ colorsCount: R6(t)})), [n, t]), d = s === "dashed" || s === "animated-dashed" ? "4 4" : void 0, f = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [r === "area" && /* @__PURE__ */ (0, V.jsxs)("linearGradient", {id: `${a}-zm-vertical-fade`,x1: "0",@@ -73366,10 +73366,10 @@ function LHe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart})})] })] }, e);})] });- if (r === "line") return /* @__PURE__ */ (0, V.jsx)(AW, {+ if (r === "line") return /* @__PURE__ */ (0, V.jsx)(EW, {width: "100%",height: "100%",- children: /* @__PURE__ */ (0, V.jsxs)(nHe, {+ children: /* @__PURE__ */ (0, V.jsxs)(oHe, {data: e,margin: {top: 4,@@ -73377,7 +73377,7 @@ function LHe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartbottom: 0,left: 0},- children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, V.jsx)(H4, {+ children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, V.jsx)(R4, {type: i,dataKey: e,stroke: `url(#${a}-zm-${e})`,@@ -73393,10 +73393,10 @@ function LHe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart});if (r === "bar") {let n = l ?? 3;- return /* @__PURE__ */ (0, V.jsx)(AW, {+ return /* @__PURE__ */ (0, V.jsx)(EW, {width: "100%",height: "100%",- children: /* @__PURE__ */ (0, V.jsxs)(w6, {+ children: /* @__PURE__ */ (0, V.jsxs)(b6, {data: e,margin: {top: 2,@@ -73406,7 +73406,7 @@ function LHe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart},barGap: 2,barSize: 14,- children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, V.jsx)(g3, {+ children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, V.jsx)(f3, {dataKey: e,fill: `url(#${a}-zm-${e})`,fillOpacity: .35,@@ -73422,10 +73422,10 @@ function LHe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart})});}- return /* @__PURE__ */ (0, V.jsx)(AW, {+ return /* @__PURE__ */ (0, V.jsx)(EW, {width: "100%",height: "100%",- children: /* @__PURE__ */ (0, V.jsxs)(yHe, {+ children: /* @__PURE__ */ (0, V.jsxs)(CHe, {data: e,margin: {top: 4,@@ -73433,7 +73433,7 @@ function LHe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartbottom: 0,left: 0},- children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, V.jsx)(r3, {+ children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, V.jsx)($4, {type: i,dataKey: e,stroke: `url(#${a}-zm-${e})`,@@ -73451,7 +73451,7 @@ function LHe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart})});}-function RHe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {+function HHe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {let [r, i] = B.useState({startIndex: t,endIndex: n ?? Math.max(0, e.length - 1)@@ -73475,7 +73475,7 @@ function RHe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {}};}-var zHe = {+var UHe = {dots: ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {id: e,x: "0",@@ -73647,9 +73647,9 @@ var zHe = {})})};-function X6({ variant: e }) {- let t = (0, B.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = zHe[e];- return /* @__PURE__ */ (0, V.jsxs)(F$, {+function K6({ variant: e }) {+ let t = (0, B.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = UHe[e];+ return /* @__PURE__ */ (0, V.jsxs)(j$, {zIndex: -1,children: [/* @__PURE__ */ (0, V.jsxs)("defs", { children: [/* @__PURE__ */ (0, V.jsx)(a, { id: n }),@@ -73679,20 +73679,20 @@ function X6({ variant: e }) {}//#endregion//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx-var Z6 = 2, BHe = "loading", VHe = 2e3, HHe = "evil-stacked", UHe = .5, WHe = .05, GHe = [+var q6 = 2, WHe = "loading", GHe = 2e3, KHe = "evil-stacked", qHe = .5, JHe = .05, YHe = [0,.7,.5,1-], Q6 = (0, B.createContext)(null);-function $6() {- let e = (0, B.use)(Q6);+], J6 = (0, B.createContext)(null);+function Y6() {+ let e = (0, B.use)(J6);if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");return e;}-function e8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = Z6, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {- let _ = (0, B.useId)().replace(/:/g, ""), [v] = (0, B.useState)(() => Date.now()), [y, b] = (0, B.useState)(f), [x, S] = (0, B.useState)(!1), { loadingData: C, onShimmerExit: w } = uUe(m, h), { visibleData: T, brushProps: E } = RHe({ data: t }), D = (0, B.useMemo)(() => {- let e = B.Children.toArray(n), t = e.find((e) => (0, B.isValidElement)(e) && e.type === q6), r = (0, B.isValidElement)(t) ? t.props : {};+function X6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = q6, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {+ let _ = (0, B.useId)().replace(/:/g, ""), [v] = (0, B.useState)(() => Date.now()), [y, b] = (0, B.useState)(f), [x, S] = (0, B.useState)(!1), { loadingData: C, onShimmerExit: w } = mUe(m, h), { visibleData: T, brushProps: E } = HHe({ data: t }), D = (0, B.useMemo)(() => {+ let e = B.Children.toArray(n), t = e.find((e) => (0, B.isValidElement)(e) && e.type === U6), r = (0, B.isValidElement)(t) ? t.props : {};return {slot: {present: (0, B.isValidElement)(t),@@ -73700,7 +73700,7 @@ function e8({ config: e, data: t, children: n, className: r, chartProps: i, stacformatLabel: r.formatLabel,onChange: r.onChange},- chartChildren: e.filter((e) => !((0, B.isValidElement)(e) && e.type === q6))+ chartChildren: e.filter((e) => !((0, B.isValidElement)(e) && e.type === U6))};}, [n]), O = D.slot.present, k = a === "stacked" || a === "percent", A = o === "horizontal", j = O && !m ? T : t, M = (0, B.useCallback)((e) => {b(e), p?.(e);@@ -73729,12 +73729,12 @@ function e8({ config: e, data: t, children: n, className: r, chartProps: i, stacM,x]);- return /* @__PURE__ */ (0, V.jsx)(Q6, {+ return /* @__PURE__ */ (0, V.jsx)(J6, {value: N,- children: /* @__PURE__ */ (0, V.jsxs)(R6, {+ children: /* @__PURE__ */ (0, V.jsxs)(P6, {className: r,config: e,- footer: O && !m && /* @__PURE__ */ (0, V.jsx)(IHe, {+ footer: O && !m && /* @__PURE__ */ (0, V.jsx)(BHe, {data: t,chartConfig: e,xDataKey: g,@@ -73750,7 +73750,7 @@ function e8({ config: e, data: t, children: n, className: r, chartProps: i, stacE.onChange(e), D.slot.onChange?.(e);}}),- children: [/* @__PURE__ */ (0, V.jsx)(z6, { isLoading: m }), /* @__PURE__ */ (0, V.jsxs)(w6, {+ children: [/* @__PURE__ */ (0, V.jsx)(F6, { isLoading: m }), /* @__PURE__ */ (0, V.jsxs)(b6, {id: _,accessibilityLayer: !0,layout: A ? "vertical" : "horizontal",@@ -73762,10 +73762,10 @@ function e8({ config: e, data: t, children: n, className: r, chartProps: i, staconMouseLeave: () => S(!1),...i,children: [- d && /* @__PURE__ */ (0, V.jsx)(X6, { variant: d }),- /* @__PURE__ */ (0, V.jsx)(c4, { color: "white" }),+ d && /* @__PURE__ */ (0, V.jsx)(K6, { variant: d }),+ /* @__PURE__ */ (0, V.jsx)(i4, { color: "white" }),D.chartChildren,- m && /* @__PURE__ */ (0, V.jsx)(dUe, {+ m && /* @__PURE__ */ (0, V.jsx)(hUe, {chartId: _,onShimmerExit: w})@@ -73774,8 +73774,8 @@ function e8({ config: e, data: t, children: n, className: r, chartProps: i, stac})});}-function KHe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {- let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = $6(), b = (0, B.useId)().replace(/:/g, ""), x = Xf();+function XHe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {+ let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = Y6(), b = (0, B.useId)().replace(/:/g, ""), x = Xf();if (f) return null;let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {id: b,@@ -73795,65 +73795,65 @@ function KHe({ dataKey: e, variant: t = "default", radius: n, animationType: r,i && v(C ? null : e);}};- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(g3, {+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(f3, {dataKey: e,- stackId: u ? HHe : void 0,+ stackId: u ? KHe : void 0,fill: `url(#${b}-colors-${e})`,radius: S,isAnimationActive: !1,style: i || a ? { cursor: "pointer" } : void 0,- shape: (e) => /* @__PURE__ */ (0, V.jsx)(t8, {+ shape: (e) => /* @__PURE__ */ (0, V.jsx)(Z6, {...e,...T,animationType: w}),- activeBar: (e) => /* @__PURE__ */ (0, V.jsx)(t8, {+ activeBar: (e) => /* @__PURE__ */ (0, V.jsx)(Z6, {...e,...T,animationType: "none"}),...c}), /* @__PURE__ */ (0, V.jsxs)("defs", { children: [- /* @__PURE__ */ (0, V.jsx)(tUe, {+ /* @__PURE__ */ (0, V.jsx)(aUe, {id: b,dataKey: e,config: l}),- t === "hatched" && /* @__PURE__ */ (0, V.jsx)(nUe, {+ t === "hatched" && /* @__PURE__ */ (0, V.jsx)(oUe, {id: b,dataKey: e}),- t === "duotone" && /* @__PURE__ */ (0, V.jsx)(iUe, {+ t === "duotone" && /* @__PURE__ */ (0, V.jsx)(cUe, {id: b,dataKey: e,config: l}),- t === "duotone-reverse" && /* @__PURE__ */ (0, V.jsx)(aUe, {+ t === "duotone-reverse" && /* @__PURE__ */ (0, V.jsx)(lUe, {id: b,dataKey: e,config: l}),- t === "gradient" && /* @__PURE__ */ (0, V.jsx)(oUe, {+ t === "gradient" && /* @__PURE__ */ (0, V.jsx)(uUe, {id: b,dataKey: e}),- t === "stripped" && /* @__PURE__ */ (0, V.jsx)(sUe, {+ t === "stripped" && /* @__PURE__ */ (0, V.jsx)(dUe, {id: b,dataKey: e}),- s && /* @__PURE__ */ (0, V.jsx)(rUe, {+ s && /* @__PURE__ */ (0, V.jsx)(sUe, {id: b,dataKey: e}),- o && /* @__PURE__ */ (0, V.jsx)(cUe, {+ o && /* @__PURE__ */ (0, V.jsx)(fUe, {id: b,dataKey: e})] })] });}-function qHe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {- let { isLoading: o, isHorizontal: s } = $6();- return o ? null : /* @__PURE__ */ (0, V.jsx)(w3, {+function ZHe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {+ let { isLoading: o, isHorizontal: s } = Y6();+ return o ? null : /* @__PURE__ */ (0, V.jsx)(b3, {tickLine: e,axisLine: t,tickMargin: n,@@ -73862,9 +73862,9 @@ function qHe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap...a});}-function JHe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {- let { isLoading: s, isHorizontal: c } = $6();- return s ? null : /* @__PURE__ */ (0, V.jsx)(k3, {+function QHe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {+ let { isLoading: s, isHorizontal: c } = Y6();+ return s ? null : /* @__PURE__ */ (0, V.jsx)(T3, {tickLine: e,axisLine: t,tickMargin: n,@@ -73874,33 +73874,33 @@ function JHe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap...o});}-function YHe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {- let { isHorizontal: i } = $6();- return /* @__PURE__ */ (0, V.jsx)(T4, {+function $He({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {+ let { isHorizontal: i } = Y6();+ return /* @__PURE__ */ (0, V.jsx)(x4, {strokeDasharray: e,vertical: t ?? i,horizontal: n ?? !i,...r});}-function XHe({ variant: e, roundness: t, defaultIndex: n }) {- let { isLoading: r, selectedDataKey: i } = $6();- return r ? null : /* @__PURE__ */ (0, V.jsx)(W6, {+function eUe({ variant: e, roundness: t, defaultIndex: n }) {+ let { isLoading: r, selectedDataKey: i } = Y6();+ return r ? null : /* @__PURE__ */ (0, V.jsx)(B6, {cursor: !1,defaultIndex: n,- content: /* @__PURE__ */ (0, V.jsx)(U6, {+ content: /* @__PURE__ */ (0, V.jsx)(z6, {selected: i,roundness: t,variant: e})});}-function ZHe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {- let { selectedDataKey: i, selectDataKey: a } = $6();- return /* @__PURE__ */ (0, V.jsx)(K6, {+function tUe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {+ let { selectedDataKey: i, selectDataKey: a } = Y6();+ return /* @__PURE__ */ (0, V.jsx)(H6, {verticalAlign: n,align: t,- content: /* @__PURE__ */ (0, V.jsx)(G6, {+ content: /* @__PURE__ */ (0, V.jsx)(V6, {selected: i,onSelectChange: a,isClickable: r,@@ -73908,8 +73908,8 @@ function ZHe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick})});}-var t8 = (e) => {- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = QHe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : $He(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = eUe({+var Z6 = (e) => {+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = nUe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : rUe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = iUe({isClickable: d,selectedDataKey: _,dataKey: o,@@ -73921,7 +73921,7 @@ var t8 = (e) => {c,0,0- ] : c, A = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(NK, {+ ] : c, A = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(kK, {x: t,y: n,width: r,@@ -73932,7 +73932,7 @@ var t8 = (e) => {filter: E,stroke: S ? `url(#${a}-colors-${o})` : void 0,strokeWidth: S ? 1 : void 0- }), C && /* @__PURE__ */ (0, V.jsx)(NK, {+ }), C && /* @__PURE__ */ (0, V.jsx)(kK, {x: t,y: n - 4,width: r,@@ -73943,7 +73943,7 @@ var t8 = (e) => {return /* @__PURE__ */ (0, V.jsxs)("g", {style: O,onClick: b,- children: [/* @__PURE__ */ (0, V.jsx)(NK, {+ children: [/* @__PURE__ */ (0, V.jsx)(kK, {...e,fill: "transparent"}), w ? /* @__PURE__ */ (0, V.jsx)(ep.g, {@@ -73954,7 +73954,7 @@ var t8 = (e) => {children: A}) : A]});-}, QHe = (e, t, n, r, i) => {+}, nUe = (e, t, n, r, i) => {if (e === "none" || t < 0 || n <= 0) return null;let a = n - 1, o = a / 2, s;switch (e) {@@ -73969,11 +73969,11 @@ var t8 = (e) => {break;default: s = t;}- let c = s * WHe * 1e3, l = UHe * 1e3, u = c + l, d = Date.now() - i;+ let c = s * JHe * 1e3, l = qHe * 1e3, u = c + l, d = Date.now() - i;if (d >= u) return null;let f = d <= c ? 0 : (d - c) / l, p = {duration: (u - Math.max(d, c)) / 1e3,- ease: GHe,+ ease: YHe,delay: Math.max(0, c - d) / 1e3};return r ? {@@ -73987,7 +73987,7 @@ var t8 = (e) => {transition: p,style: { originY: 1 }};-}, $He = (e, t, n) => {+}, rUe = (e, t, n) => {switch (e) {case "hatched": return `url(#${t}-hatched-${n})`;case "duotone": return `url(#${t}-duotone-${n})`;@@ -73996,11 +73996,11 @@ var t8 = (e) => {case "stripped": return `url(#${t}-stripped-${n})`;default: return `url(#${t}-colors-${n})`;}-}, eUe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {+}, iUe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;return r && i ? a ? o : o * .3 : o;-}, tUe = ({ id: e, dataKey: t, config: n }) => {- let r = H6(n[t] ?? {});+}, aUe = ({ id: e, dataKey: t, config: n }) => {+ let r = R6(n[t] ?? {});return /* @__PURE__ */ (0, V.jsx)("linearGradient", {id: `${e}-colors-${t}`,x1: "0",@@ -74021,7 +74021,7 @@ var t8 = (e) => {}, i);})});-}, nUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [+}, oUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("pattern", {id: `${e}-hatched-mask-pattern`,x: "0",@@ -74062,7 +74062,7 @@ var t8 = (e) => {mask: `url(#${e}-hatched-mask-${t})`})})-] }), rUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [+] }), sUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("pattern", {id: `${e}-buffer-hatched-mask-pattern`,x: "0",@@ -74103,8 +74103,8 @@ var t8 = (e) => {mask: `url(#${e}-buffer-hatched-mask-${t})`})})-] }), iUe = ({ id: e, dataKey: t, config: n }) => {- let r = H6(n[t] ?? {});+] }), cUe = ({ id: e, dataKey: t, config: n }) => {+ let r = R6(n[t] ?? {});return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("linearGradient", {id: `${e}-duotone-mask-gradient-${t}`,@@ -74171,8 +74171,8 @@ var t8 = (e) => {})})] });-}, aUe = ({ id: e, dataKey: t, config: n }) => {- let r = H6(n[t] ?? {});+}, lUe = ({ id: e, dataKey: t, config: n }) => {+ let r = R6(n[t] ?? {});return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("linearGradient", {id: `${e}-duotone-reverse-mask-gradient-${t}`,@@ -74239,7 +74239,7 @@ var t8 = (e) => {})})] });-}, oUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [+}, uUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("linearGradient", {id: `${e}-gradient-mask-gradient`,x1: "0",@@ -74276,7 +74276,7 @@ var t8 = (e) => {mask: `url(#${e}-gradient-mask-${t})`})})-] }), sUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [+] }), dUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("linearGradient", {id: `${e}-stripped-mask-gradient`,x1: "0",@@ -74313,7 +74313,7 @@ var t8 = (e) => {mask: `url(#${e}-stripped-mask-${t})`})})-] }), cUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)("filter", {+] }), fUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)("filter", {id: `${e}-bar-glow-${t}`,x: "-100%",y: "-100%",@@ -74333,35 +74333,35 @@ var t8 = (e) => {}),/* @__PURE__ */ (0, V.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, V.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, V.jsx)("feMergeNode", { in: "SourceGraphic" })] })]-}), lUe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {+}), pUe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {let a = i / (e - 1), o = t + Math.sin(a * Math.PI) ** 2 * (n - t);return {offset: `${(a * 100).toFixed(0)}%`,opacity: Number(o.toFixed(3))};});-function uUe(e, t = 12) {+function mUe(e, t = 12) {let [n, r] = (0, B.useState)(!1), i = (0, B.useCallback)(() => {e && r((e) => !e);}, [e]);return {- loadingData: (0, B.useMemo)(() => OHe(t, 20, 80), [t, n]),+ loadingData: (0, B.useMemo)(() => MHe(t, 20, 80), [t, n]),onShimmerExit: i};}-var dUe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(g3, {- dataKey: BHe,+var hUe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(f3, {+ dataKey: WHe,fill: "currentColor",fillOpacity: .15,- radius: Z6,+ radius: q6,isAnimationActive: !1,legendType: "none",style: { mask: `url(#${e}-loading-mask)` }-}), /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)(fUe, {+}), /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)(gUe, {chartId: e,onShimmerExit: t-}) })] }), fUe = ({ chartId: e, onShimmerExit: t }) => {- let n = lUe(), r = (0, B.useRef)(-1);+}) })] }), gUe = ({ chartId: e, onShimmerExit: t }) => {+ let n = pUe(), r = (0, B.useRef)(-1);return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("linearGradient", {id: `${e}-loading-mask-gradient`,@@ -74392,7 +74392,7 @@ var dUe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Frinitial: { x: -1 },animate: { x: 2 },transition: {- duration: VHe / 1e3,+ duration: GHe / 1e3,ease: "linear",repeat: Infinity,repeatType: "loop"@@ -74414,11 +74414,11 @@ var dUe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fr})] });};-e8.Bar = KHe, e8.XAxis = qHe, e8.YAxis = JHe, e8.Grid = YHe, e8.Tooltip = XHe, e8.Legend = ZHe, e8.Brush = q6;+X6.Bar = XHe, X6.XAxis = ZHe, X6.YAxis = QHe, X6.Grid = $He, X6.Tooltip = eUe, X6.Legend = tUe, X6.Brush = U6;//#endregion//#region src/react/charts/chart-card.tsx-var n8 = `${xE({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;-function r8({ title: e, figure: t, note: n }) {+var Q6 = `${xE({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;+function $6({ title: e, figure: t, note: n }) {return /* @__PURE__ */ (0, V.jsxs)("header", {className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",children: [/* @__PURE__ */ (0, V.jsxs)("span", {@@ -74436,24 +74436,24 @@ function r8({ title: e, figure: t, note: n }) {})]});}-var i8 = [+var e8 = ["var(--color-chart-1)","var(--color-chart-2)","var(--color-chart-3)","var(--color-chart-4)","var(--color-chart-5)","var(--color-chart-6)"-], a8 = (e) => ({ light: [e] }), o8 = (e) => `s${e}`;-function pUe(e) {- return Object.fromEntries(e.map((e, t) => [o8(t), {+], t8 = (e) => ({ light: [e] }), n8 = (e) => `s${e}`;+function _Ue(e) {+ return Object.fromEntries(e.map((e, t) => [n8(t), {label: e,- colors: a8(i8[t % i8.length])+ colors: t8(e8[t % e8.length])}]));}//#endregion//#region src/react/charts/chart-tip.tsx-var s8 = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";-function c8({ swatch: e, name: t, value: n }) {+var r8 = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";+function i8({ swatch: e, name: t, value: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex w-full items-center gap-2",children: [e, /* @__PURE__ */ (0, V.jsxs)("div", {@@ -74468,33 +74468,33 @@ function c8({ swatch: e, name: t, value: n }) {})]});}-var l8 = "size-2.5 shrink-0 rounded-xs";-function mUe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {- let { config: o } = L6(), s = (t ?? []).filter((e) => e.type !== "none");+var a8 = "size-2.5 shrink-0 rounded-xs";+function vUe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {+ let { config: o } = N6(), s = (t ?? []).filter((e) => e.type !== "none");if (!e || !s.length) return /* @__PURE__ */ (0, V.jsx)("span", { className: "p-4" });let c = a || typeof n != "string" ? null : o[n]?.label ?? n;return /* @__PURE__ */ (0, V.jsxs)("div", {- className: s8,+ className: r8,children: [c ? /* @__PURE__ */ (0, V.jsx)("div", {className: "font-medium text-foreground",children: c}) : null, s.map((e, t) => {- let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = V6(o, e, a), c = i ? n[i] : e.value;- return /* @__PURE__ */ (0, V.jsx)(c8, {+ let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = L6(o, e, a), c = i ? n[i] : e.value;+ return /* @__PURE__ */ (0, V.jsx)(i8, {name: s?.label ?? e.name,value: Number(c ?? 0),swatch: /* @__PURE__ */ (0, V.jsx)("i", {- className: l8,+ className: a8,style: { background: `var(--color-${a}-0)` }})}, a + t);})]});}-function u8({ nameKey: e, valueKey: t, hideLabel: n }) {- return /* @__PURE__ */ (0, V.jsx)(W6, {+function o8({ nameKey: e, valueKey: t, hideLabel: n }) {+ return /* @__PURE__ */ (0, V.jsx)(B6, {cursor: !1,- content: /* @__PURE__ */ (0, V.jsx)(mUe, {+ content: /* @__PURE__ */ (0, V.jsx)(vUe, {nameKey: e,valueKey: t,hideLabel: n@@ -74503,12 +74503,12 @@ function u8({ nameKey: e, valueKey: t, hideLabel: n }) {}//#endregion//#region src/react/charts/bar-card.tsx-var d8 = [0, (e) => e * 1.2], f8 = (e) => ({+var s8 = [0, (e) => e * 1.2], c8 = (e) => ({position: e,className: "fill-text-secondary",formatter: (e) => Number(e).toLocaleString()});-function p8({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {+function l8({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {let o = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({name: e.name,value: e.value@@ -74516,53 +74516,53 @@ function p8({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertif (!s) return null;let c = a === "horizontal";return /* @__PURE__ */ (0, V.jsxs)("section", {- className: n8,+ className: Q6,"aria-label": e,- children: [/* @__PURE__ */ (0, V.jsx)(r8, {+ children: [/* @__PURE__ */ (0, V.jsx)($6, {title: e,figure: s.toLocaleString(),note: t- }), /* @__PURE__ */ (0, V.jsxs)(e8, {+ }), /* @__PURE__ */ (0, V.jsxs)(X6, {data: o,config: { value: {label: n,- colors: a8(i)+ colors: t8(i)} },layout: a,barRadius: 4,className: c ? "aspect-auto h-64 flex-none text-text-secondary" : "aspect-auto h-56 flex-none text-text-secondary",children: [- /* @__PURE__ */ (0, V.jsx)(e8.Grid, {}),- c ? /* @__PURE__ */ (0, V.jsx)(e8.YAxis, {+ /* @__PURE__ */ (0, V.jsx)(X6.Grid, {}),+ c ? /* @__PURE__ */ (0, V.jsx)(X6.YAxis, {dataKey: "name",interval: 0- }) : /* @__PURE__ */ (0, V.jsx)(e8.XAxis, {+ }) : /* @__PURE__ */ (0, V.jsx)(X6.XAxis, {dataKey: "name",interval: 0}),- c ? /* @__PURE__ */ (0, V.jsx)(e8.XAxis, {+ c ? /* @__PURE__ */ (0, V.jsx)(X6.XAxis, {hide: !0,- domain: d8- }) : /* @__PURE__ */ (0, V.jsx)(e8.YAxis, {+ domain: s8+ }) : /* @__PURE__ */ (0, V.jsx)(X6.YAxis, {hide: !0,- domain: d8+ domain: s8}),- /* @__PURE__ */ (0, V.jsx)(e8.Bar, {+ /* @__PURE__ */ (0, V.jsx)(X6.Bar, {dataKey: "value",enableHoverHighlight: !0,barProps: {dataKey: "value",- label: f8(c ? "right" : "top")+ label: c8(c ? "right" : "top")}}),- /* @__PURE__ */ (0, V.jsx)(u8, {})+ /* @__PURE__ */ (0, V.jsx)(o8, {})]})]});}//#endregion//#region src/react/charts/heat.ts-var m8 = [+var u8 = ["周一","周二","周三",@@ -74570,8 +74570,8 @@ var m8 = ["周五","周六","周日"-], h8 = (e, t) => e ? Math.max(.12, e / t) : 0;-function hUe(e) {+], d8 = (e, t) => e ? Math.max(.12, e / t) : 0;+function yUe(e) {let t = Array.from({ length: 7 }, () => Array(24).fill(0));for (let n of e?.hours || []) {let { weekday: e, hour: r, count: i } = n;@@ -74581,14 +74581,14 @@ function hUe(e) {return {cells: t.flatMap((e, t) => e.map((e, n) => ({key: `${t}-${n}`,- label: `${m8[t]} ${n}:00`,+ label: `${u8[t]} ${n}:00`,count: e,- share: h8(e, r)+ share: d8(e, r)}))),total: n.reduce((e, t) => e + t, 0)};}-function gUe(e) {+function bUe(e) {let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {cells: [],total: 0,@@ -74606,7 +74606,7 @@ function gUe(e) {key: r,label: r,count: s,- share: h8(s, o)+ share: d8(s, o)};});return {@@ -74618,7 +74618,7 @@ function gUe(e) {}//#endregion//#region src/react/charts/heat-card.tsx-var g8 = 14, _8 = 17, v8 = {+var f8 = 14, p8 = 17, m8 = {4: {fill: "fill-chart-4",dot: "bg-chart-4"@@ -74627,42 +74627,42 @@ var g8 = 14, _8 = 17, v8 = {fill: "fill-chart-5",dot: "bg-chart-5"}-}, _Ue = {+}, xUe = {start: "translate-x-0",center: "-translate-x-1/2",end: "-translate-x-full"};-function vUe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {+function SUe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {return /* @__PURE__ */ (0, V.jsxs)("div", {"aria-hidden": !0,style: {left: `${r}%`,top: `${i}%`},- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${s8} ${_Ue[a]}`,+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${r8} ${xUe[a]}`,children: [/* @__PURE__ */ (0, V.jsx)("div", {className: "font-medium text-foreground",children: e.label- }), /* @__PURE__ */ (0, V.jsx)(c8, {+ }), /* @__PURE__ */ (0, V.jsx)(i8, {name: t,value: e.count,- swatch: /* @__PURE__ */ (0, V.jsx)("i", { className: `${l8} ${v8[n].dot}` })+ swatch: /* @__PURE__ */ (0, V.jsx)("i", { className: `${a8} ${m8[n].dot}` })})]});}-function y8({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {- let [l, u] = (0, B.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * _8, m = f + a * _8, h = (e) => ({- x: d + e % i * _8,- y: f + Math.floor(e / i) * _8- }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + g8 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {+function h8({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {+ let [l, u] = (0, B.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * p8, m = f + a * p8, h = (e) => ({+ x: d + e % i * p8,+ y: f + Math.floor(e / i) * p8+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + f8 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {start: _.x,- center: _.x + g8 / 2,- end: _.x + g8+ center: _.x + f8 / 2,+ end: _.x + f8}[y] : 0;return /* @__PURE__ */ (0, V.jsxs)("section", {- className: n8,+ className: Q6,children: [- /* @__PURE__ */ (0, V.jsx)(r8, {+ /* @__PURE__ */ (0, V.jsx)($6, {title: e,figure: (g ? g.count : r).toLocaleString(),note: g ? g.label : t.unit@@ -74685,19 +74685,19 @@ function y8({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:"aria-label": `${e.label},${e.count} ${t.cellUnit}`,x: r,y: i,- width: g8,- height: g8,+ width: f8,+ height: f8,rx: 3,fillOpacity: e.share || 1,opacity: l >= 0 && l !== n ? .4 : 1,- className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${v8[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",+ className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${m8[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",onPointerEnter: () => u(n),onFocus: () => u(n),onBlur: () => u(-1)}, e.key);})]})- }), g && _ ? /* @__PURE__ */ (0, V.jsx)(vUe, {+ }), g && _ ? /* @__PURE__ */ (0, V.jsx)(SUe, {cell: g,series: t.series,tone: c,@@ -74713,24 +74713,24 @@ function y8({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:]});}-var yUe = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [m8.map((e, t) => /* @__PURE__ */ (0, V.jsx)("text", {+var CUe = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [u8.map((e, t) => /* @__PURE__ */ (0, V.jsx)("text", {x: 0,- y: 18 + t * _8 + 7,+ y: 18 + t * p8 + 7,dominantBaseline: "middle",className: "fill-text-secondary text-caption-1-regular",children: e}, e)), Array.from({ length: 24 }, (e, t) => t % 2 ? null : /* @__PURE__ */ (0, V.jsx)("text", {- x: 30 + t * _8,+ x: 30 + t * p8,y: 8,dominantBaseline: "middle",className: "fill-text-secondary text-caption-1-regular",children: t}, t))] });-function b8({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {- let o = hUe(e), s = gUe(e);+function g8({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {+ let o = yUe(e), s = bUe(e);return s.cells.length ? /* @__PURE__ */ (0, V.jsxs)("div", {className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",- children: [/* @__PURE__ */ (0, V.jsx)(y8, {+ children: [/* @__PURE__ */ (0, V.jsx)(h8, {title: t,words: r,tone: i,@@ -74738,9 +74738,9 @@ function b8({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: atotal: o.total,columns: 24,rows: 7,- axis: yUe,+ axis: CUe,footer: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })- }), /* @__PURE__ */ (0, V.jsx)(y8, {+ }), /* @__PURE__ */ (0, V.jsx)(h8, {title: n,words: r,tone: i,@@ -74751,7 +74751,7 @@ function b8({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: afooter: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, V.jsx)("span", { children: s.end })] })})]}) : a ? /* @__PURE__ */ (0, V.jsxs)("section", {- className: n8,+ className: Q6,children: [/* @__PURE__ */ (0, V.jsx)("h3", {className: "text-title-2-medium text-text-primary",children: t@@ -74763,7 +74763,7 @@ function b8({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a}//#endregion//#region src/react/components/expandable-ranking.tsx-function x8({ children: e, className: t = "", previewCount: n = 10 }) {+function _8({ children: e, className: t = "", previewCount: n = 10 }) {let r = (0, B.useId)(), i = (0, B.useRef)(null), [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(!1), l = B.Children.toArray(e), u = l.length > n;(0, B.useLayoutEffect)(() => {let e = i.current;@@ -74810,14 +74810,14 @@ function x8({ children: e, className: t = "", previewCount: n = 10 }) {}//#endregion//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx-var bUe = "30%", xUe = "100%", S8 = 5, C8 = 14, SUe = 5, w8 = 1500, T8 = (0, B.createContext)(null);-function E8() {- let e = (0, B.use)(T8);+var wUe = "30%", TUe = "100%", v8 = 5, y8 = 14, EUe = 5, b8 = 1500, x8 = (0, B.createContext)(null);+function S8() {+ let e = (0, B.use)(x8);if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");return e;}-function D8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = bUe, outerRadius: l = xUe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {- let m = (0, B.useId)().replace(/:/g, ""), [h, g] = (0, B.useState)(u), _ = kUe(f), v = EUe(o), y = (0, B.useCallback)((e, t) => {+function C8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = wUe, outerRadius: l = TUe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {+ let m = (0, B.useId)().replace(/:/g, ""), [h, g] = (0, B.useState)(u), _ = NUe(f), v = AUe(o), y = (0, B.useCallback)((e, t) => {g(e), d?.(e === null ? null : {dataKey: e,value: t ?? 0@@ -74844,12 +74844,12 @@ function D8({ config: e, data: t, nameKey: n, children: r, className: i, chartPrh,y]);- return /* @__PURE__ */ (0, V.jsx)(T8, {+ return /* @__PURE__ */ (0, V.jsx)(x8, {value: x,- children: /* @__PURE__ */ (0, V.jsxs)(R6, {+ children: /* @__PURE__ */ (0, V.jsxs)(P6, {className: i,config: e,- children: [/* @__PURE__ */ (0, V.jsx)(z6, { isLoading: f }), /* @__PURE__ */ (0, V.jsxs)(THe, {+ children: [/* @__PURE__ */ (0, V.jsx)(F6, { isLoading: f }), /* @__PURE__ */ (0, V.jsxs)(kHe, {id: m,data: f ? _ : b,innerRadius: c,@@ -74860,16 +74860,16 @@ function D8({ config: e, data: t, nameKey: n, children: r, className: i, chartPrcy: v.cy,...a,children: [- s != null && s > 0 && /* @__PURE__ */ (0, V.jsx)(A0, {+ s != null && s > 0 && /* @__PURE__ */ (0, V.jsx)(E0, {type: "number",domain: [0, s],tick: !1,axisLine: !1}),- p && /* @__PURE__ */ (0, V.jsx)(X6, { variant: p }),+ p && /* @__PURE__ */ (0, V.jsx)(K6, { variant: p }),r,- f && /* @__PURE__ */ (0, V.jsx)(AUe, {}),- /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)(DUe, {+ f && /* @__PURE__ */ (0, V.jsx)(PUe, {}),+ /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)(jUe, {config: e,chartId: m}) })@@ -74878,9 +74878,9 @@ function D8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr})});}-function CUe({ dataKey: e, cornerRadius: t = S8, barSize: n = C8, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {- let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = E8();- return s ? null : /* @__PURE__ */ (0, V.jsx)($2, {+function DUe({ dataKey: e, cornerRadius: t = v8, barSize: n = y8, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {+ let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = S8();+ return s ? null : /* @__PURE__ */ (0, V.jsx)(Y2, {dataKey: e,cornerRadius: t,barSize: n,@@ -74894,7 +74894,7 @@ function CUe({ dataKey: e, cornerRadius: t = S8, barSize: n = C8, showBackground},shape: (e) => {let t = e[o], n = c === null || c === t;- return /* @__PURE__ */ (0, V.jsx)(WK, {+ return /* @__PURE__ */ (0, V.jsx)(BK, {...e,opacity: i && !n ? .15 : 1,className: "transition-opacity duration-200"@@ -74903,12 +74903,12 @@ function CUe({ dataKey: e, cornerRadius: t = S8, barSize: n = C8, showBackground...a});}-function wUe({ variant: e, roundness: t, defaultIndex: n }) {- let { nameKey: r, isLoading: i } = E8();- return i ? null : /* @__PURE__ */ (0, V.jsx)(W6, {+function OUe({ variant: e, roundness: t, defaultIndex: n }) {+ let { nameKey: r, isLoading: i } = S8();+ return i ? null : /* @__PURE__ */ (0, V.jsx)(B6, {defaultIndex: n,cursor: !1,- content: /* @__PURE__ */ (0, V.jsx)(U6, {+ content: /* @__PURE__ */ (0, V.jsx)(z6, {nameKey: r,hideLabel: !0,roundness: t,@@ -74916,12 +74916,12 @@ function wUe({ variant: e, roundness: t, defaultIndex: n }) {})});}-function TUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {- let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = E8();- return a ? null : /* @__PURE__ */ (0, V.jsx)(K6, {+function kUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {+ let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = S8();+ return a ? null : /* @__PURE__ */ (0, V.jsx)(H6, {verticalAlign: n,align: t,- content: /* @__PURE__ */ (0, V.jsx)(G6, {+ content: /* @__PURE__ */ (0, V.jsx)(V6, {selected: o,onSelectChange: s,isClickable: r,@@ -74930,7 +74930,7 @@ function TUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC})});}-function EUe(e) {+function AUe(e) {switch (e) {case "semi": return {startAngle: 180,@@ -74946,8 +74946,8 @@ function EUe(e) {};}}-var DUe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, V.jsx)(V.Fragment, { children: Object.entries(e).map(([e, n]) => {- let r = H6(n);+var jUe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, V.jsx)(V.Fragment, { children: Object.entries(e).map(([e, n]) => {+ let r = R6(n);return /* @__PURE__ */ (0, V.jsx)("linearGradient", {id: `${t}-radial-colors-${e}`,x1: "0",@@ -74969,47 +74969,47 @@ var DUe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, V.jsx)(V.Fragment,})}, `${t}-radial-colors-${e}`);}) });-function OUe() {- return Array.from({ length: SUe }, (e, t) => ({+function MUe() {+ return Array.from({ length: EUe }, (e, t) => ({name: `loading${t}`,value: 40 + Math.random() * 60}));}-function kUe(e) {+function NUe(e) {let [t, n] = (0, B.useState)(0);return (0, B.useEffect)(() => {if (!e) return;let t = setInterval(() => {n((e) => e + 1);- }, w8);+ }, b8);return () => clearInterval(t);- }, [e]), (0, B.useMemo)(() => OUe(), [t]);+ }, [e]), (0, B.useMemo)(() => MUe(), [t]);}-var AUe = () => /* @__PURE__ */ (0, V.jsx)($2, {+var PUe = () => /* @__PURE__ */ (0, V.jsx)(Y2, {dataKey: "value",- cornerRadius: S8,- barSize: C8,+ cornerRadius: v8,+ barSize: y8,background: !0,isAnimationActive: !0,- animationDuration: w8,+ animationDuration: b8,animationEasing: "ease-in-out",- shape: (e) => /* @__PURE__ */ (0, V.jsx)(WK, {+ shape: (e) => /* @__PURE__ */ (0, V.jsx)(BK, {...e,fill: "currentColor",fillOpacity: .25})});-D8.RadialBar = CUe, D8.Tooltip = wUe, D8.Legend = TUe;+C8.RadialBar = DUe, C8.Tooltip = OUe, C8.Legend = kUe;//#endregion//#region src/react/stats/radial-card.tsx-var jUe = [+var FUe = ["bg-chart-1","bg-chart-2","bg-chart-3","bg-chart-4","bg-chart-5","bg-chart-6"-], MUe = [+], IUe = ["aria-pressed:bg-chart-1/10 aria-pressed:ring-chart-1","aria-pressed:bg-chart-2/10 aria-pressed:ring-chart-2","aria-pressed:bg-chart-3/10 aria-pressed:ring-chart-3",@@ -75017,15 +75017,15 @@ var jUe = ["aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5","aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"];-function O8({ title: e, rows: t, unit: n = "个视频" }) {+function w8({ title: e, rows: t, unit: n = "个视频" }) {let [r, i] = (0, B.useState)(-1), [a, o] = (0, B.useState)(-1), s = t.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (!s.length) return null;let c = a >= 0 ? a : r, l = s.reduce((e, t) => e + t.value, 0), u = s[c], d = (e) => i((t) => t === e ? -1 : e), f = s.map((e, t) => ({- slice: o8(t),+ slice: n8(t),value: e.value}));return /* @__PURE__ */ (0, V.jsxs)("section", {- className: n8,+ className: Q6,children: [/* @__PURE__ */ (0, V.jsxs)("header", {className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",@@ -75047,18 +75047,18 @@ function O8({ title: e, rows: t, unit: n = "个视频" }) {role: "img","aria-label": e,onPointerLeave: () => o(-1),- children: /* @__PURE__ */ (0, V.jsxs)(D8, {+ children: /* @__PURE__ */ (0, V.jsxs)(C8, {data: f,nameKey: "slice",- config: pUe(s.map((e) => e.name)),- max: _xe(s.map((e) => e.value)),+ config: _Ue(s.map((e) => e.name)),+ max: vxe(s.map((e) => e.value)),innerRadius: "22%",className: "aspect-auto h-75 max-sm:h-65",- children: [/* @__PURE__ */ (0, V.jsx)(D8.RadialBar, {+ children: [/* @__PURE__ */ (0, V.jsx)(C8.RadialBar, {dataKey: "value",- barSize: vxe(s.length),+ barSize: yxe(s.length),radialBarProps: {- shape: (e) => /* @__PURE__ */ (0, V.jsx)(WK, {+ shape: (e) => /* @__PURE__ */ (0, V.jsx)(BK, {...e,opacity: c >= 0 && c !== e.index ? .3 : 1,className: "cursor-pointer transition-opacity duration-200"@@ -75066,7 +75066,7 @@ function O8({ title: e, rows: t, unit: n = "个视频" }) {onClick: (e, t) => d(t),onMouseEnter: (e, t) => o(t)}- }), /* @__PURE__ */ (0, V.jsx)(u8, {+ }), /* @__PURE__ */ (0, V.jsx)(o8, {nameKey: "slice",hideLabel: !0})]@@ -75082,13 +75082,13 @@ function O8({ title: e, rows: t, unit: n = "个视频" }) {onPointerLeave: () => o(-1),onFocus: () => o(t),onBlur: () => o(-1),- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${MUe[t % 6]}`,+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${IUe[t % 6]}`,children: [/* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, V.jsx)("i", {"aria-hidden": !0,- className: `size-3 shrink-0 rounded-sm ${jUe[t % 6]}`+ className: `size-3 shrink-0 rounded-sm ${FUe[t % 6]}`}), e.name]}),/* @__PURE__ */ (0, V.jsx)("b", {@@ -75107,8 +75107,8 @@ function O8({ title: e, rows: t, unit: n = "个视频" }) {}//#endregion//#region src/react/stats/stats-page.tsx-var NUe = 10, k8 = i8[5], PUe = i8[4], FUe = `${xE()} flex flex-col gap-4`, IUe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", LUe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", RUe = "开始播放后,这里会显示最近的真实观看证据。", zUe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", BUe = "添加媒体文件夹后,这里会显示存储空间。";-function A8({ term: e, value: t }) {+var LUe = 10, T8 = e8[5], RUe = e8[4], zUe = `${xE()} flex flex-col gap-4`, BUe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", VUe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", HUe = "开始播放后,这里会显示最近的真实观看证据。", UUe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", WUe = "添加媒体文件夹后,这里会显示存储空间。";+function E8({ term: e, value: t }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",children: [/* @__PURE__ */ (0, V.jsx)("span", {@@ -75120,7 +75120,7 @@ function A8({ term: e, value: t }) {})]});}-function j8({ term: e, value: t, total: n }) {+function D8({ term: e, value: t, total: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",children: [/* @__PURE__ */ (0, V.jsxs)("p", {@@ -75129,7 +75129,7 @@ function j8({ term: e, value: t, total: n }) {className: "tabular-nums",children: [t.toLocaleString(), /* @__PURE__ */ (0, V.jsxs)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: [_z(t, n), "%"]+ children: [gz(t, n), "%"]})]})]}), /* @__PURE__ */ (0, V.jsx)(EE, {@@ -75139,7 +75139,7 @@ function j8({ term: e, value: t, total: n }) {})]});}-function M8({ term: e, figure: t, unit: n }) {+function O8({ term: e, figure: t, unit: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-64 md:pr-6 md:pb-0",children: [@@ -75158,28 +75158,28 @@ function M8({ term: e, figure: t, unit: n }) {]});}-function N8({ headline: e, children: t }) {+function k8({ headline: e, children: t }) {return /* @__PURE__ */ (0, V.jsxs)("div", {- className: `${FUe} md:flex-row md:gap-6`,+ className: `${zUe} md:flex-row md:gap-6`,children: [e, /* @__PURE__ */ (0, V.jsx)("div", {className: "min-w-0 grow",children: t})]});}-function VUe({ data: e, configurable: t, openMediaSettings: n }) {+function GUe({ data: e, configurable: t, openMediaSettings: n }) {return e.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "inline-grid w-full gap-5 md:grid-cols-2",- children: [/* @__PURE__ */ (0, V.jsx)(O8, {+ children: [/* @__PURE__ */ (0, V.jsx)(w8, {title: "网盘与本地",rows: e.by_loc.map((e) => ({name: se[e.k] ?? e.k,value: e.videos,detail: pe(e.bytes)}))- }), /* @__PURE__ */ (0, V.jsx)(O8, {+ }), /* @__PURE__ */ (0, V.jsx)(w8, {title: "媒体库",rows: e.by_library.map((e) => ({name: e.name,@@ -75190,27 +75190,27 @@ function VUe({ data: e, configurable: t, openMediaSettings: n }) {}), /* @__PURE__ */ (0, V.jsxs)("div", {className: "inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3",children: [- /* @__PURE__ */ (0, V.jsx)(p8, {+ /* @__PURE__ */ (0, V.jsx)(l8, {title: "时长",unit: "个视频",series: "视频",- color: k8,- rows: Sxe(e.by_length)+ color: T8,+ rows: Cxe(e.by_length)}),- /* @__PURE__ */ (0, V.jsx)(p8, {+ /* @__PURE__ */ (0, V.jsx)(l8, {title: "画质",unit: "个视频",series: "视频",- color: k8,- rows: bz(e.by_quality)+ color: T8,+ rows: yz(e.by_quality)}),- /* @__PURE__ */ (0, V.jsx)(p8, {+ /* @__PURE__ */ (0, V.jsx)(l8, {title: "文件类型",unit: "个条目",series: "条目",- color: k8,+ color: T8,layout: "horizontal",- rows: bxe(e.by_medium)+ rows: xxe(e.by_medium)})]})]@@ -75228,11 +75228,11 @@ function VUe({ data: e, configurable: t, openMediaSettings: n }) {size: "small",children: "添加关注"})] }),- children: IUe+ children: BUe});}-function HUe({ data: e }) {- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(b8, {+function KUe({ data: e }) {+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(g8, {activity: e.play_activity,title: "播放时间",dailyTitle: "每日播放",@@ -75242,40 +75242,40 @@ function HUe({ data: e }) {cellUnit: "个作品"},tone: 5- }), /* @__PURE__ */ (0, V.jsx)(p8, {+ }), /* @__PURE__ */ (0, V.jsx)(l8, {title: "播放次数",unit: "个作品",series: "作品",- color: PUe,- rows: wxe(e.replays)+ color: RUe,+ rows: Txe(e.replays)})] });}-function UUe({ attribution: e }) {+function qUe({ attribution: e }) {let t = e.videos;return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col",children: [- /* @__PURE__ */ (0, V.jsx)(j8, {+ /* @__PURE__ */ (0, V.jsx)(D8, {term: "有创作者",value: e.creator,total: t}),- /* @__PURE__ */ (0, V.jsx)(j8, {+ /* @__PURE__ */ (0, V.jsx)(D8, {term: "有番号",value: e.code,total: t}),- /* @__PURE__ */ (0, V.jsx)(j8, {+ /* @__PURE__ */ (0, V.jsx)(D8, {term: "有厂牌",value: e.studio,total: t}),- /* @__PURE__ */ (0, V.jsx)(j8, {+ /* @__PURE__ */ (0, V.jsx)(D8, {term: "已抽帧",value: e.thumb,total: t}),- /* @__PURE__ */ (0, V.jsx)(j8, {+ /* @__PURE__ */ (0, V.jsx)(D8, {term: "已探测时长",value: e.duration,total: t@@ -75283,7 +75283,7 @@ function UUe({ attribution: e }) {]});}-function WUe({ volume: e }) {+function JUe({ volume: e }) {let t = e.total, n = e.used ?? 0;return /* @__PURE__ */ (0, V.jsxs)("article", {className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",@@ -75300,7 +75300,7 @@ function WUe({ volume: e }) {className: "whitespace-nowrap tabular-nums",children: [pe(n), /* @__PURE__ */ (0, V.jsxs)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: [_z(n, t), "%"]+ children: [gz(n, t), "%"]})]})]}),@@ -75322,10 +75322,10 @@ function WUe({ volume: e }) {]});}-function GUe({ volumes: e, configurable: t, openMediaSettings: n }) {+function YUe({ volumes: e, configurable: t, openMediaSettings: n }) {return e.length ? /* @__PURE__ */ (0, V.jsx)("div", {className: "flex flex-col",- children: e.map((e) => /* @__PURE__ */ (0, V.jsx)(WUe, { volume: e }, `${e.kind}:${e.label}`))+ children: e.map((e) => /* @__PURE__ */ (0, V.jsx)(JUe, { volume: e }, `${e.kind}:${e.label}`))}) : /* @__PURE__ */ (0, V.jsx)(SE, {shell: "plain",icon: _T,@@ -75335,12 +75335,12 @@ function GUe({ volumes: e, configurable: t, openMediaSettings: n }) {onClick: n,children: "添加媒体文件夹"}) : void 0,- children: BUe+ children: WUe});}-function KUe({ tags: e, tagLabel: t, onTag: n }) {- return e.length ? /* @__PURE__ */ (0, V.jsx)(x8, {- previewCount: NUe,+function XUe({ tags: e, tagLabel: t, onTag: n }) {+ return e.length ? /* @__PURE__ */ (0, V.jsx)(_8, {+ previewCount: LUe,className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",children: e.map((e, r) => /* @__PURE__ */ (0, V.jsx)("li", {className: "min-w-0",@@ -75374,14 +75374,14 @@ function KUe({ tags: e, tagLabel: t, onTag: n }) {size: "small",children: "补全资料"}),- children: LUe+ children: VUe});}-function qUe({ rows: e }) {+function ZUe({ rows: e }) {return e.length ? /* @__PURE__ */ (0, V.jsx)("div", {className: "flex flex-col gap-5",children: e.map((e) => {- let t = vz(e);+ let t = _z(e);return /* @__PURE__ */ (0, V.jsxs)("article", {className: "flex flex-wrap items-center gap-x-6 gap-y-2",children: [/* @__PURE__ */ (0, V.jsxs)("div", {@@ -75389,14 +75389,14 @@ function qUe({ rows: e }) {children: [/* @__PURE__ */ (0, V.jsx)("h3", {className: "min-w-0 text-body-2-medium text-text-primary",children: /* @__PURE__ */ (0, V.jsx)("a", {- href: gxe(e),+ href: _xe(e),"data-middle-truncate": !0,className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",children: e.name})}), /* @__PURE__ */ (0, V.jsxs)("p", {className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",- children: [/* @__PURE__ */ (0, V.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, V.jsx)("span", { children: hxe(e) })]+ children: [/* @__PURE__ */ (0, V.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, V.jsx)("span", { children: gxe(e) })]})]}), /* @__PURE__ */ (0, V.jsxs)("div", {className: "min-w-0 basis-40",@@ -75405,7 +75405,7 @@ function qUe({ rows: e }) {value: t}), /* @__PURE__ */ (0, V.jsx)("small", {className: "mt-1.5 block text-caption-1-regular text-text-secondary",- children: `真实 ${t.toFixed(0)}% · 到达 ${yz(e).toFixed(0)}%`+ children: `真实 ${t.toFixed(0)}% · 到达 ${vz(e).toFixed(0)}%`})]})]}, `${e.kind}:${e.id}`);@@ -75420,10 +75420,10 @@ function qUe({ rows: e }) {size: "small",children: "浏览馆藏"}),- children: RUe+ children: HUe});}-function JUe({ sources: e, videos: t }) {+function QUe({ sources: e, videos: t }) {return e.length ? /* @__PURE__ */ (0, V.jsx)("div", {className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",children: e.map((e) => /* @__PURE__ */ (0, V.jsxs)("article", {@@ -75463,17 +75463,17 @@ function JUe({ sources: e, videos: t }) {size: "small",children: "补全资料"}),- children: zUe+ children: UUe});}-function P8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {+function A8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {return /* @__PURE__ */ (0, V.jsx)(qk, {id: e,- className: nM({+ className: tM({interactive: !0,selectable: !0}),- children: /* @__PURE__ */ (0, V.jsx)(oM, {+ children: /* @__PURE__ */ (0, V.jsx)(aM, {label: t,icon: i,accent: a,@@ -75482,17 +75482,17 @@ function P8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {})});}-function YUe(e) {- let t = TS({- queryKey: hz,- queryFn: ({ signal: e }) => gz(e)+function $Ue(e) {+ let t = wS({+ queryKey: mz,+ queryFn: ({ signal: e }) => hz(e)}), n = t.data;if (!n) return /* @__PURE__ */ (0, V.jsx)(wE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",title: "馆藏统计读取失败",children: t.error ? W(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 = _z(n.tag_cov, n.attribution.videos);+ 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 = gz(n.tag_cov, n.attribution.videos);return /* @__PURE__ */ (0, V.jsxs)(wE, { children: [/* @__PURE__ */ (0, V.jsx)("p", {className: "text-caption-1-regular text-text-secondary",@@ -75504,9 +75504,9 @@ function YUe(e) {children: [/* @__PURE__ */ (0, V.jsxs)(Kk, {"aria-label": "统计视图",- className: rM,+ className: nM,children: [- /* @__PURE__ */ (0, V.jsx)(P8, {+ /* @__PURE__ */ (0, V.jsx)(A8, {id: "inventory",label: "馆藏视频",icon: pT,@@ -75514,15 +75514,15 @@ function YUe(e) {figure: a.toLocaleString(),detail: pe(o)}),- /* @__PURE__ */ (0, V.jsx)(P8, {+ /* @__PURE__ */ (0, V.jsx)(A8, {id: "viewing",label: "看过",icon: gT,accent: 1,figure: r.played.toLocaleString(),- detail: mxe(r.play_seconds)+ detail: hxe(r.play_seconds)}),- /* @__PURE__ */ (0, V.jsx)(P8, {+ /* @__PURE__ */ (0, V.jsx)(A8, {id: "coverage",label: "内容标签",icon: bT,@@ -75530,7 +75530,7 @@ function YUe(e) {figure: `${s}%`,detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`}),- /* @__PURE__ */ (0, V.jsx)(P8, {+ /* @__PURE__ */ (0, V.jsx)(A8, {id: "storage",label: "使用空间",icon: _T,@@ -75542,7 +75542,7 @@ function YUe(e) {}),/* @__PURE__ */ (0, V.jsx)(Jk, {id: "inventory",- children: /* @__PURE__ */ (0, V.jsx)(VUe, {+ children: /* @__PURE__ */ (0, V.jsx)(GUe, {data: n,...e})@@ -75550,8 +75550,8 @@ function YUe(e) {/* @__PURE__ */ (0, V.jsxs)(Jk, {id: "viewing",className: "flex flex-col gap-5",- children: [/* @__PURE__ */ (0, V.jsx)(N8, {- headline: /* @__PURE__ */ (0, V.jsx)(M8, {+ children: [/* @__PURE__ */ (0, V.jsx)(k8, {+ headline: /* @__PURE__ */ (0, V.jsx)(O8, {term: "观看",figure: r.played.toLocaleString(),unit: "个作品有播放记录"@@ -75559,62 +75559,62 @@ function YUe(e) {children: /* @__PURE__ */ (0, V.jsxs)("div", {className: "inline-grid w-full gap-3 sm:grid-cols-2",children: [- /* @__PURE__ */ (0, V.jsx)(A8, {+ /* @__PURE__ */ (0, V.jsx)(E8, {term: "馆藏观看",value: r.library_played}),- /* @__PURE__ */ (0, V.jsx)(A8, {+ /* @__PURE__ */ (0, V.jsx)(E8, {term: "在线直接观看",value: r.online_played}),- /* @__PURE__ */ (0, V.jsx)(A8, {+ /* @__PURE__ */ (0, V.jsx)(E8, {term: "高潮计数",value: r.o_total}),- /* @__PURE__ */ (0, V.jsx)(A8, {+ /* @__PURE__ */ (0, V.jsx)(E8, {term: "快进扫过",value: r.skimmed}),- /* @__PURE__ */ (0, V.jsx)(A8, {+ /* @__PURE__ */ (0, V.jsx)(E8, {term: "喜欢",value: r.liked}),- /* @__PURE__ */ (0, V.jsx)(A8, {+ /* @__PURE__ */ (0, V.jsx)(E8, {term: "明确不喜欢",value: r.dislike}),- /* @__PURE__ */ (0, V.jsx)(A8, {+ /* @__PURE__ */ (0, V.jsx)(E8, {term: "看过了",value: r.seen}),- /* @__PURE__ */ (0, V.jsx)(A8, {+ /* @__PURE__ */ (0, V.jsx)(E8, {term: "回收站",value: r.trash})]})- }), /* @__PURE__ */ (0, V.jsx)(HUe, { data: n })]+ }), /* @__PURE__ */ (0, V.jsx)(KUe, { data: n })]}),/* @__PURE__ */ (0, V.jsx)(Jk, {id: "coverage",- children: /* @__PURE__ */ (0, V.jsx)(N8, {- headline: /* @__PURE__ */ (0, V.jsx)(M8, {+ children: /* @__PURE__ */ (0, V.jsx)(k8, {+ headline: /* @__PURE__ */ (0, V.jsx)(O8, {term: "内容标签覆盖",figure: `${s}%`,unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`}),- children: /* @__PURE__ */ (0, V.jsx)(UUe, { attribution: n.attribution })+ children: /* @__PURE__ */ (0, V.jsx)(qUe, { attribution: n.attribution })})}),/* @__PURE__ */ (0, V.jsx)(Jk, {id: "storage",- children: /* @__PURE__ */ (0, V.jsx)(N8, {- headline: /* @__PURE__ */ (0, V.jsx)(M8, {+ children: /* @__PURE__ */ (0, V.jsx)(k8, {+ headline: /* @__PURE__ */ (0, V.jsx)(O8, {term: "使用空间",figure: String(i.measured),unit: "个卷已取得容量"}),- children: /* @__PURE__ */ (0, V.jsx)(GUe, {+ children: /* @__PURE__ */ (0, V.jsx)(YUe, {volumes: n.storage_volumes,...e})@@ -75628,23 +75628,23 @@ function YUe(e) {children: [/* @__PURE__ */ (0, V.jsx)("div", {className: "px-4 pt-3",- children: /* @__PURE__ */ (0, V.jsxs)(Zk, {+ children: /* @__PURE__ */ (0, V.jsxs)(Xk, {"aria-label": "统计维度",- className: $k,+ className: Qk,children: [/* @__PURE__ */ (0, V.jsx)(qk, {id: "tags",- className: eA,+ className: $k,children: "内容标签"}),/* @__PURE__ */ (0, V.jsx)(qk, {id: "recent",- className: eA,+ className: $k,children: "最近看过"}),/* @__PURE__ */ (0, V.jsx)(qk, {id: "sources",- className: eA,+ className: $k,children: "标签来源"})]@@ -75653,7 +75653,7 @@ function YUe(e) {/* @__PURE__ */ (0, V.jsx)(Jk, {id: "tags",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, V.jsx)(KUe, {+ children: /* @__PURE__ */ (0, V.jsx)(XUe, {tags: n.top_tags,...e})@@ -75661,12 +75661,12 @@ function YUe(e) {/* @__PURE__ */ (0, V.jsx)(Jk, {id: "recent",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, V.jsx)(qUe, { rows: n.recent })+ children: /* @__PURE__ */ (0, V.jsx)(ZUe, { rows: n.recent })}),/* @__PURE__ */ (0, V.jsx)(Jk, {id: "sources",className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, V.jsx)(JUe, {+ children: /* @__PURE__ */ (0, V.jsx)(QUe, {sources: n.tag_source,videos: n.attribution.videos})@@ -75677,66 +75677,66 @@ function YUe(e) {}//#endregion//#region node_modules/d3-sankey/src/align.js-function XUe(e, t) {+function eWe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}//#endregion//#region node_modules/d3-sankey/src/constant.js-function F8(e) {+function j8(e) {return function() {return e;};}//#endregion//#region node_modules/d3-sankey/src/sankey.js-function I8(e, t) {- return R8(e.source, t.source) || e.index - t.index;+function M8(e, t) {+ return P8(e.source, t.source) || e.index - t.index;}-function L8(e, t) {- return R8(e.target, t.target) || e.index - t.index;+function N8(e, t) {+ return P8(e.target, t.target) || e.index - t.index;}-function R8(e, t) {+function P8(e, t) {return e.y0 - t.y0;}-function z8(e) {+function F8(e) {return e.value;}-function ZUe(e) {+function tWe(e) {return e.index;}-function QUe(e) {+function nWe(e) {return e.nodes;}-function $Ue(e) {+function rWe(e) {return e.links;}-function B8(e, t) {+function I8(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function V8({ nodes: e }) {+function L8({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function eWe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = ZUe, c = XUe, l, u, d = QUe, f = $Ue, p = 6;+function iWe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = tWe, c = eWe, l, u, d = nWe, f = rWe, p = 6;function m() {let e = {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), V8(e), e;+ return h(e), g(e), _(e), v(e), x(e), L8(e), e;}m.update = function(e) {- return V8(e), e;+ return L8(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : F8(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : j8(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : F8(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : j8(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -75744,9 +75744,9 @@ function eWe() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : F8(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : j8(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : F8(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : j8(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -75762,12 +75762,12 @@ function eWe() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = B8(n, t)), typeof i != "object" && (i = r.target = B8(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = I8(n, t)), typeof i != "object" && (i = r.target = I8(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);}if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);}function g({ nodes: e }) {- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(dJ(t.sourceLinks, z8), dJ(t.targetLinks, z8)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(sJ(t.sourceLinks, F8), sJ(t.targetLinks, F8)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -75792,7 +75792,7 @@ function eWe() {}}function y({ nodes: t }) {- let r = sJ(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = rJ(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);for (let n of t) {let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];@@ -75801,7 +75801,7 @@ function eWe() {return o;}function b(e) {- let n = cJ(e, (e) => (r - t - (e.length - 1) * o) / dJ(e, z8));+ let n = iJ(e, (e) => (r - t - (e.length - 1) * o) / sJ(e, F8));for (let i of e) {let e = t;for (let t of i) {@@ -75818,7 +75818,7 @@ function eWe() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (sJ(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (rJ(n, (e) => e.length) - 1)), b(n);for (let e = 0; e < p; ++e) {let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);C(n, t, r), S(n, t, r);@@ -75837,7 +75837,7 @@ function eWe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(R8), w(i, n);+ l === void 0 && i.sort(P8), w(i, n);}}function C(e, t, n) {@@ -75853,7 +75853,7 @@ function eWe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(R8), w(i, n);+ l === void 0 && i.sort(P8), w(i, n);}}function w(e, n) {@@ -75874,12 +75874,12 @@ function eWe() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(L8);- for (let { target: { targetLinks: t } } of e) t.sort(I8);+ for (let { source: { sourceLinks: e } } of t) e.sort(N8);+ for (let { target: { targetLinks: t } } of e) t.sort(M8);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(L8), n.sort(I8);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(N8), n.sort(M8);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -75909,15 +75909,15 @@ function eWe() {}//#endregion//#region node_modules/d3-path/src/path.js-var H8 = Math.PI, U8 = 2 * H8, W8 = 1e-6, tWe = U8 - W8;-function G8() {+var R8 = Math.PI, z8 = 2 * R8, B8 = 1e-6, aWe = z8 - B8;+function V8() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function K8() {- return new G8();+function H8() {+ return new V8();}-G8.prototype = K8.prototype = {- constructor: G8,+V8.prototype = H8.prototype = {+ constructor: V8,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -75938,11 +75938,11 @@ G8.prototype = K8.prototype = {var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (i < 0) throw Error("negative radius: " + i);if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);- else if (d > W8) {- if (!(Math.abs(u * s - c * l) > W8) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > B8) {+ if (!(Math.abs(u * s - c * l) > B8) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);else {- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((H8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > W8 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((R8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > B8 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);}}},@@ -75950,7 +75950,7 @@ G8.prototype = K8.prototype = {e = +e, t = +t, n = +n, a = !!a;var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;if (n < 0) throw Error("negative radius: " + n);- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > W8 || Math.abs(this._y1 - l) > W8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % U8 + U8), d > tWe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > W8 && (this._ += "A" + n + "," + n + ",0," + +(d >= H8) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > B8 || Math.abs(this._y1 - l) > B8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % z8 + z8), d > aWe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > B8 && (this._ += "A" + n + "," + n + ",0," + +(d >= R8) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));},rect: function(e, t, n, r) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";@@ -75961,90 +75961,90 @@ G8.prototype = K8.prototype = {};//#endregion//#region node_modules/d3-shape/src/constant.js-function q8(e) {+function U8(e) {return function() {return e;};}//#endregion//#region node_modules/d3-shape/src/point.js-function nWe(e) {+function oWe(e) {return e[0];}-function rWe(e) {+function sWe(e) {return e[1];}//#endregion//#region node_modules/d3-shape/src/array.js-var iWe = Array.prototype.slice;+var cWe = Array.prototype.slice;//#endregion//#region node_modules/d3-shape/src/link/index.js-function aWe(e) {+function lWe(e) {return e.source;}-function oWe(e) {+function uWe(e) {return e.target;}-function sWe(e) {- var t = aWe, n = oWe, r = nWe, i = rWe, a = null;+function dWe(e) {+ var t = lWe, n = uWe, r = oWe, i = sWe, a = null;function o() {- var o, s = iWe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = K8(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ var o, s = cWe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = H8(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;}return o.source = function(e) {return arguments.length ? (t = e, o) : t;}, o.target = function(e) {return arguments.length ? (n = e, o) : n;}, o.x = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : q8(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : U8(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : q8(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : U8(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function cWe(e, t, n, r, i) {+function fWe(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function lWe() {- return sWe(cWe);+function pWe() {+ return dWe(fWe);}//#endregion//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function uWe(e) {+function mWe(e) {return [e.source.x1, e.y0];}-function dWe(e) {+function hWe(e) {return [e.target.x0, e.y1];}-function fWe() {- return lWe().source(uWe).target(dWe);+function gWe() {+ return pWe().source(mWe).target(hWe);}//#endregion//#region src/react/taste/taste.ts-var pWe = "/api/taste", J8 = "/api/taste/refresh", mWe = "/api/taste/import", hWe = "/api/taste/source", Y8 = (e) => ["taste", e], gWe = ["taste", "refresh"], _We = [+var _We = "/api/taste", W8 = "/api/taste/refresh", vWe = "/api/taste/import", yWe = "/api/taste/source", G8 = (e) => ["taste", e], bWe = ["taste", "refresh"], xWe = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], X8 = (e, t) => G(`${pWe}?window=${e}`, t), vWe = (e) => G(J8, e);-async function yWe(e, t) {+], K8 = (e, t) => G(`${_We}?window=${e}`, t), SWe = (e) => G(W8, e);+async function CWe(e, t) {await z.fetchQuery({- queryKey: Y8(e),- queryFn: () => X8(e, t)+ queryKey: G8(e),+ queryFn: () => K8(e, t)});}-var bWe = (e) => K(J8, {+var wWe = (e) => K(W8, {window: e,background: !0-}), xWe = (e, t) => K(hWe, {+}), TWe = (e, t) => K(yWe, {operation: "remove",source_key: e,window: t});-async function SWe(e) {- let t = await fetch(mWe, {+async function EWe(e) {+ let t = await fetch(vWe, {method: "POST",credentials: "same-origin",headers: {@@ -76058,39 +76058,39 @@ async function SWe(e) {} catch {}if (!t.ok) {let e = n?.error;- throw new jS(e || `导入失败(${t.status})`, t.status, n);+ throw new AS(e || `导入失败(${t.status})`, t.status, n);}return n;}-var CWe = 1e4, Z8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", wWe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, TWe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function EWe(e) {+var DWe = 1e4, q8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", OWe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, kWe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function AWe(e) {if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();let t = [];return e.web_visits && t.push(`浏览 ${e.web_visits}`), e.peach_items && t.push(`Peach ${e.peach_items}`), t.join(" · ");}-function DWe(e) {- let t = e.map(TWe), n = Math.max(1, ...t);+function jWe(e) {+ let t = e.map(kWe), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var Q8 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var J8 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({name: e.name,value: Number(e.score)})).sort((e, t) => t.value - e.value).slice(0, t);-function OWe(e) {- let t = Q8(e, 6);+function MWe(e) {+ let t = J8(e, 6);return t.length < 3 ? [] : t;}-var $8 = {+var Y8 = {width: 720,height: 435-}, e5 = {+}, X8 = {source: 145,target: 545};-function kWe(e = []) {+function NWe(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = eWe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({+ let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = iWe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({nodes: [...n.map((e) => ({id: `source:${e}`,name: e,@@ -76105,7 +76105,7 @@ function kWe(e = []) {target: `target:${e.target}`,value: e.value}))- }), a = t.reduce((e, t) => e + t.value, 0), o = fWe();+ }), a = t.reduce((e, t) => e + t.value, 0), o = gWe();return {nodes: i.nodes.map((e) => ({id: e.id,@@ -76135,11 +76135,11 @@ function kWe(e = []) {total: a};}-var AWe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, t5 = B.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {+var PWe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, Z8 = B.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {let c = B.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;if (e === void 0 || t === void 0) return null;switch (o) {- case "border": return /* @__PURE__ */ (0, V.jsx)(r5, {+ case "border": return /* @__PURE__ */ (0, V.jsx)($8, {cx: e,cy: t,dotId: c,@@ -76148,7 +76148,7 @@ var AWe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, t5 = B.memo(functioclassName: i,maskId: s});- case "colored-border": return /* @__PURE__ */ (0, V.jsx)(i5, {+ case "colored-border": return /* @__PURE__ */ (0, V.jsx)(e5, {cx: e,cy: t,dotId: c,@@ -76157,7 +76157,7 @@ var AWe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, t5 = B.memo(functioclassName: i,maskId: s});- default: return /* @__PURE__ */ (0, V.jsx)(n5, {+ default: return /* @__PURE__ */ (0, V.jsx)(Q8, {cx: e,cy: t,dotId: c,@@ -76167,7 +76167,7 @@ var AWe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, t5 = B.memo(functiomaskId: s});}-}), n5 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, V.jsxs)("g", {+}), Q8 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, V.jsxs)("g", {className: a,mask: o ? `url(#${o})` : void 0,children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)("clipPath", {@@ -76187,9 +76187,9 @@ var AWe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, t5 = B.memo(functioclipPath: `url(#dot-clip-${n})`})]}));-n5.displayName = "DefaultDot";-var r5 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, V.jsxs)("g", {- className: N6(a, "text-background"),+Q8.displayName = "DefaultDot";+var $8 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, V.jsxs)("g", {+ className: k6(a, "text-background"),mask: o ? `url(#${o})` : void 0,children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)("clipPath", {@@ -76225,9 +76225,9 @@ var r5 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class}) })]}));-r5.displayName = "PrimaryBorderDot";-var i5 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, V.jsxs)("g", {- className: N6(a, "text-background"),+$8.displayName = "PrimaryBorderDot";+var e5 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, V.jsxs)("g", {+ className: k6(a, "text-background"),mask: o ? `url(#${o})` : void 0,children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)("clipPath", {@@ -76255,17 +76255,17 @@ var i5 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class})]}));-i5.displayName = "ColoredBorderDot";+e5.displayName = "ColoredBorderDot";//#endregion//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx-var jWe = 1, MWe = .3, NWe = 6, a5 = 1500, o5 = "value", s5 = (0, B.createContext)(null);-function c5() {- let e = (0, B.use)(s5);+var FWe = 1, IWe = .3, LWe = 6, t5 = 1500, n5 = "value", r5 = (0, B.createContext)(null);+function i5() {+ let e = (0, B.use)(r5);if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");return e;}-function l5({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {- let u = (0, B.useId)().replace(/:/g, ""), [d, f] = (0, B.useState)(o), p = KWe(c, l), m = (0, B.useCallback)((e) => {+function a5({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {+ let u = (0, B.useId)().replace(/:/g, ""), [d, f] = (0, B.useState)(o), p = XWe(c, l), m = (0, B.useCallback)((e) => {f(e), s?.(e);}, [s]), h = (0, B.useMemo)(() => ({config: e,@@ -76278,37 +76278,37 @@ function l5({ config: e, data: t, children: n, className: r, chartProps: i, backd,m]);- return /* @__PURE__ */ (0, V.jsx)(s5, {+ return /* @__PURE__ */ (0, V.jsx)(r5, {value: h,- children: /* @__PURE__ */ (0, V.jsxs)(R6, {+ children: /* @__PURE__ */ (0, V.jsxs)(P6, {className: r,config: e,- children: [/* @__PURE__ */ (0, V.jsx)(z6, { isLoading: c }), /* @__PURE__ */ (0, V.jsxs)(_He, {+ children: [/* @__PURE__ */ (0, V.jsx)(F6, { isLoading: c }), /* @__PURE__ */ (0, V.jsxs)(xHe, {id: u,data: c ? p : t,...i,children: [- a && /* @__PURE__ */ (0, V.jsx)(X6, { variant: a }),+ a && /* @__PURE__ */ (0, V.jsx)(K6, { variant: a }),n,- c && /* @__PURE__ */ (0, V.jsx)(qWe, {})+ c && /* @__PURE__ */ (0, V.jsx)(ZWe, {})]})]})});}-function PWe({ dataKey: e, variant: t = "filled", fillOpacity: n = MWe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {- let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = c5(), d = (0, B.useId)().replace(/:/g, "");+function RWe({ dataKey: e, variant: t = "filled", fillOpacity: n = IWe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {+ let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = i5(), d = (0, B.useId)().replace(/:/g, "");if (c) return null;let f = i && l !== null && l !== e, p = {stroke: f ? .2 : 1,fill: f ? .1 : 1,dot: f ? .2 : 1- }, m = t === "filled", { dot: h, activeDot: g } = BWe(a, d, e, p.dot);- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(C2, {+ }, m = t === "filled", { dot: h, activeDot: g } = WWe(a, d, e, p.dot);+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(y2, {dataKey: e,stroke: `url(#${d}-radar-stroke-${e})`,strokeOpacity: p.stroke,- strokeWidth: jWe,+ strokeWidth: FWe,fill: m ? `url(#${d}-radar-fill-${e})` : "none",fillOpacity: m ? n * p.fill : 0,dot: h,@@ -76321,30 +76321,30 @@ function PWe({ dataKey: e, variant: t = "filled", fillOpacity: n = MWe, isGlowin},...o}), /* @__PURE__ */ (0, V.jsxs)("defs", { children: [- /* @__PURE__ */ (0, V.jsx)(VWe, {+ /* @__PURE__ */ (0, V.jsx)(GWe, {id: d,dataKey: e,config: s}),- /* @__PURE__ */ (0, V.jsx)(HWe, {+ /* @__PURE__ */ (0, V.jsx)(KWe, {id: d,dataKey: e,config: s}),- m && /* @__PURE__ */ (0, V.jsx)(UWe, {+ m && /* @__PURE__ */ (0, V.jsx)(qWe, {id: d,dataKey: e,config: s}),- r && /* @__PURE__ */ (0, V.jsx)(WWe, {+ r && /* @__PURE__ */ (0, V.jsx)(JWe, {id: d,dataKey: e})] })] });}-var u5 = () => null, d5 = () => null;-function FWe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {- return /* @__PURE__ */ (0, V.jsx)(g0, {+var o5 = () => null, s5 = () => null;+function zWe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {+ return /* @__PURE__ */ (0, V.jsx)(f0, {gridType: e,stroke: t,strokeOpacity: n,@@ -76352,47 +76352,47 @@ function FWe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit...i});}-function IWe({ tick: e = {+function BWe({ tick: e = {fill: "currentColor",fontSize: 12}, tickLine: t = !1, ...n }) {- let { isLoading: r } = c5();- return r ? null : /* @__PURE__ */ (0, V.jsx)(A0, {+ let { isLoading: r } = i5();+ return r ? null : /* @__PURE__ */ (0, V.jsx)(E0, {tick: e,tickLine: t,...n});}-function LWe({ tick: e = {+function VWe({ tick: e = {fill: "currentColor",fontSize: 10}, tickLine: t = !1, axisLine: n = !1, ...r }) {- let { isLoading: i } = c5();- return i ? null : /* @__PURE__ */ (0, V.jsx)(w0, {+ let { isLoading: i } = i5();+ return i ? null : /* @__PURE__ */ (0, V.jsx)(b0, {tick: e,tickLine: t,axisLine: n,...r});}-function RWe({ variant: e, roundness: t, defaultIndex: n }) {- let { isLoading: r, selectedDataKey: i } = c5();- return r ? null : /* @__PURE__ */ (0, V.jsx)(W6, {+function HWe({ variant: e, roundness: t, defaultIndex: n }) {+ let { isLoading: r, selectedDataKey: i } = i5();+ return r ? null : /* @__PURE__ */ (0, V.jsx)(B6, {defaultIndex: n,cursor: !1,- content: /* @__PURE__ */ (0, V.jsx)(U6, {+ content: /* @__PURE__ */ (0, V.jsx)(z6, {selected: i,roundness: t,variant: e})});}-function zWe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {- let { isLoading: i, selectedDataKey: a, selectDataKey: o } = c5();- return i ? null : /* @__PURE__ */ (0, V.jsx)(K6, {+function UWe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {+ let { isLoading: i, selectedDataKey: a, selectDataKey: o } = i5();+ return i ? null : /* @__PURE__ */ (0, V.jsx)(H6, {verticalAlign: n,align: t,- content: /* @__PURE__ */ (0, V.jsx)(G6, {+ content: /* @__PURE__ */ (0, V.jsx)(V6, {selected: a,onSelectChange: o,isClickable: r,@@ -76400,22 +76400,22 @@ function zWe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC})});}-var BWe = (e, t, n, r) => {+var WWe = (e, t, n, r) => {let i = !1, a = !1;return B.Children.forEach(e, (e) => {if ((0, B.isValidElement)(e)) {- if (e.type === u5) {+ if (e.type === o5) {let { variant: a } = e.props;- i = /* @__PURE__ */ (0, V.jsx)(t5, {+ i = /* @__PURE__ */ (0, V.jsx)(Z8, {type: a,dataKey: n,chartId: t,fillOpacity: r});}- if (e.type === d5) {+ if (e.type === s5) {let { variant: i } = e.props;- a = /* @__PURE__ */ (0, V.jsx)(t5, {+ a = /* @__PURE__ */ (0, V.jsx)(Z8, {type: i,dataKey: n,chartId: t,@@ -76427,7 +76427,7 @@ var BWe = (e, t, n, r) => {dot: i,activeDot: a};-}, f5 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("stop", {+}, c5 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("stop", {offset: "0%",stopColor: `var(--color-${e}-0)`,stopOpacity: n?.[0]@@ -76442,46 +76442,46 @@ var BWe = (e, t, n, r) => {stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,stopOpacity: n?.[i]}, a);-}) }), VWe = ({ id: e, dataKey: t, config: n }) => {- let r = H6(n[t] ?? {});+}) }), GWe = ({ id: e, dataKey: t, config: n }) => {+ let r = R6(n[t] ?? {});return /* @__PURE__ */ (0, V.jsx)("linearGradient", {id: `${e}-colors-${t}`,x1: "0",y1: "0",x2: "1",y2: "0",- children: /* @__PURE__ */ (0, V.jsx)(f5, {+ children: /* @__PURE__ */ (0, V.jsx)(c5, {dataKey: t,colorsCount: r})});-}, HWe = ({ id: e, dataKey: t, config: n }) => {- let r = H6(n[t] ?? {});+}, KWe = ({ id: e, dataKey: t, config: n }) => {+ let r = R6(n[t] ?? {});return /* @__PURE__ */ (0, V.jsx)("linearGradient", {id: `${e}-radar-stroke-${t}`,x1: "0",y1: "0",x2: "1",y2: "1",- children: /* @__PURE__ */ (0, V.jsx)(f5, {+ children: /* @__PURE__ */ (0, V.jsx)(c5, {dataKey: t,colorsCount: r})});-}, UWe = ({ id: e, dataKey: t, config: n }) => {- let r = H6(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);+}, qWe = ({ id: e, dataKey: t, config: n }) => {+ let r = R6(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);return /* @__PURE__ */ (0, V.jsx)("radialGradient", {id: `${e}-radar-fill-${t}`,cx: "50%",cy: "50%",r: "50%",- children: /* @__PURE__ */ (0, V.jsx)(f5, {+ children: /* @__PURE__ */ (0, V.jsx)(c5, {dataKey: t,colorsCount: r,opacities: i})});-}, WWe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)("filter", {+}, JWe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)("filter", {id: `${e}-radar-glow-${t}`,x: "-50%",y: "-50%",@@ -76501,7 +76501,7 @@ var BWe = (e, t, n, r) => {}),/* @__PURE__ */ (0, V.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, V.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, V.jsx)("feMergeNode", { in: "SourceGraphic" })] })]-}), GWe = (e) => [+}), YWe = (e) => ["A","B","C",@@ -76510,20 +76510,20 @@ var BWe = (e, t, n, r) => {"F"].slice(0, e).map((e) => ({skill: e,- [o5]: 30 + Math.random() * 70+ [n5]: 30 + Math.random() * 70}));-function KWe(e, t = NWe) {+function XWe(e, t = LWe) {let [n, r] = (0, B.useState)(0);return (0, B.useEffect)(() => {if (!e) return;let t = setInterval(() => {r((e) => e + 1);- }, a5);+ }, t5);return () => clearInterval(t);- }, [e]), (0, B.useMemo)(() => GWe(t), [t, n]);+ }, [e]), (0, B.useMemo)(() => YWe(t), [t, n]);}-var qWe = () => /* @__PURE__ */ (0, V.jsx)(C2, {- dataKey: o5,+var ZWe = () => /* @__PURE__ */ (0, V.jsx)(y2, {+ dataKey: n5,stroke: "currentColor",strokeOpacity: .3,strokeWidth: 2,@@ -76531,30 +76531,30 @@ var qWe = () => /* @__PURE__ */ (0, V.jsx)(C2, {fillOpacity: .1,dot: !1,isAnimationActive: !0,- animationDuration: a5,+ animationDuration: t5,animationEasing: "ease-in-out"});-l5.Radar = PWe, l5.Dot = u5, l5.ActiveDot = d5, l5.PolarGrid = FWe, l5.PolarAngleAxis = IWe, l5.PolarRadiusAxis = LWe, l5.Tooltip = RWe, l5.Legend = zWe;+a5.Radar = RWe, a5.Dot = o5, a5.ActiveDot = s5, a5.PolarGrid = zWe, a5.PolarAngleAxis = BWe, a5.PolarRadiusAxis = VWe, a5.Tooltip = HWe, a5.Legend = UWe;//#endregion//#region src/react/taste/charts.tsx-var JWe = [+var QWe = ["stroke-chart-1","stroke-chart-2","stroke-chart-3","stroke-chart-4","stroke-chart-5","stroke-chart-6"-], YWe = [+], $We = ["fill-chart-1","fill-chart-2","fill-chart-3","fill-chart-4","fill-chart-5","fill-chart-6"-], p5 = { value: {+], l5 = { value: {label: "标签命中",- colors: a8(i8[3])-} }, XWe = [+ colors: t8(e8[3])+} }, eGe = ["min-h-24","min-h-24","min-h-24",@@ -76564,78 +76564,78 @@ var JWe = ["min-h-52","min-h-60","min-h-64"-], ZWe = 26, QWe = { radius: p5.value }, $We = (e, t) => Math.sqrt(e / t);-function eGe({ rows: e, label: t }) {- let n = OWe(e);+], tGe = 26, nGe = { radius: l5.value }, rGe = (e, t) => Math.sqrt(e / t);+function iGe({ rows: e, label: t }) {+ let n = MWe(e);if (!n.length) return null;let r = n[0].value, i = n.map((e) => ({...e,- radius: $We(e.value, r)+ radius: rGe(e.value, r)}));return /* @__PURE__ */ (0, V.jsx)("div", {role: "img","aria-label": `${t}:${i.map((e) => e.name).join(",")}`,- children: /* @__PURE__ */ (0, V.jsxs)(l5, {+ children: /* @__PURE__ */ (0, V.jsxs)(a5, {data: i,- config: QWe,+ config: nGe,chartProps: { outerRadius: "58%" },className: "aspect-auto h-70 text-text-secondary",children: [- /* @__PURE__ */ (0, V.jsx)(l5.PolarGrid, {}),- /* @__PURE__ */ (0, V.jsx)(l5.PolarAngleAxis, { dataKey: "name" }),- /* @__PURE__ */ (0, V.jsx)(l5.PolarRadiusAxis, {+ /* @__PURE__ */ (0, V.jsx)(a5.PolarGrid, {}),+ /* @__PURE__ */ (0, V.jsx)(a5.PolarAngleAxis, { dataKey: "name" }),+ /* @__PURE__ */ (0, V.jsx)(a5.PolarRadiusAxis, {domain: [0, 1],allowDecimals: !0,tick: !1}),- /* @__PURE__ */ (0, V.jsx)(l5.Radar, { dataKey: "radius" }),- /* @__PURE__ */ (0, V.jsx)(u8, { valueKey: "value" })+ /* @__PURE__ */ (0, V.jsx)(a5.Radar, { dataKey: "radius" }),+ /* @__PURE__ */ (0, V.jsx)(o8, { valueKey: "value" })]})});}-function tGe({ rows: e, label: t }) {- let n = Q8(e, 8);+function aGe({ rows: e, label: t }) {+ let n = J8(e, 8);return n.length ? /* @__PURE__ */ (0, V.jsx)("section", {"aria-label": t,- className: `flex grow flex-col ${XWe[n.length]}`,- children: /* @__PURE__ */ (0, V.jsxs)(e8, {+ className: `flex grow flex-col ${eGe[n.length]}`,+ children: /* @__PURE__ */ (0, V.jsxs)(X6, {data: n,- config: p5,+ config: l5,layout: "horizontal",barRadius: 4,- chartProps: { maxBarSize: ZWe },+ chartProps: { maxBarSize: tGe },className: "aspect-auto text-text-secondary",children: [- /* @__PURE__ */ (0, V.jsx)(e8.YAxis, {+ /* @__PURE__ */ (0, V.jsx)(X6.YAxis, {dataKey: "name",interval: 0}),- /* @__PURE__ */ (0, V.jsx)(e8.XAxis, {+ /* @__PURE__ */ (0, V.jsx)(X6.XAxis, {hide: !0,- domain: d8+ domain: s8}),- /* @__PURE__ */ (0, V.jsx)(e8.Bar, {+ /* @__PURE__ */ (0, V.jsx)(X6.Bar, {dataKey: "value",enableHoverHighlight: !0,barProps: {dataKey: "value",- label: f8("right")+ label: c8("right")}}),- /* @__PURE__ */ (0, V.jsx)(u8, {})+ /* @__PURE__ */ (0, V.jsx)(o8, {})]})}) : null;}-function nGe({ flows: e }) {- let [t, n] = (0, B.useState)(null), r = kWe(e);+function oGe({ flows: e }) {+ let [t, n] = (0, B.useState)(null), r = NWe(e);if (!r) return null;let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;return /* @__PURE__ */ (0, V.jsxs)("section", {- className: n8,+ className: Q6,children: [- /* @__PURE__ */ (0, V.jsx)(r8, {+ /* @__PURE__ */ (0, V.jsx)($6, {title: "创作者线索来源",figure: (t ? t.value : r.total).toLocaleString(),note: t ? t.label : "条线索"@@ -76643,7 +76643,7 @@ function nGe({ flows: e }) {/* @__PURE__ */ (0, V.jsx)("div", {className: "min-w-0 overflow-x-auto",children: /* @__PURE__ */ (0, V.jsxs)("svg", {- viewBox: `0 0 ${$8.width} ${$8.height}`,+ viewBox: `0 0 ${Y8.width} ${Y8.height}`,fill: "none",role: "img","aria-label": "来源网站与创作者线索",@@ -76657,7 +76657,7 @@ function nGe({ flows: e }) {"aria-label": `${e.label}:${e.value} 条线索`,fillOpacity: 0,strokeOpacity: a(e, e.label) ? .55 : .08,- className: `outline-none transition-opacity ${JWe[e.color]}`,+ className: `outline-none transition-opacity ${QWe[e.color]}`,onPointerEnter: () => n({value: e.value,label: e.label,@@ -76691,15 +76691,15 @@ function nGe({ flows: e }) {width: 10,height: e.height,rx: 5,- className: e.side === "source" ? YWe[e.color] : "fill-text-secondary"+ className: e.side === "source" ? $We[e.color] : "fill-text-secondary"}), /* @__PURE__ */ (0, V.jsxs)("text", {- x: e5[e.side],+ x: X8[e.side],y: e.y + e.height / 2,textAnchor: e.side === "source" ? "end" : "start",dominantBaseline: "middle",className: "fill-text-secondary text-caption-1-regular",- children: [AWe(e.name), /* @__PURE__ */ (0, V.jsx)("tspan", {- x: e5[e.side],+ children: [PWe(e.name), /* @__PURE__ */ (0, V.jsx)("tspan", {+ x: X8[e.side],dy: 15,children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`})]@@ -76716,11 +76716,11 @@ function nGe({ flows: e }) {}//#endregion//#region src/react/taste/taste-page.tsx-var rGe = 10, m5 = hE(lM, uM, "text-body-2-medium"), h5 = `${xE()} flex flex-col gap-4`, g5 = "rounded-xl bg-background-primary-default p-3", iGe = "读取运行 Peach 的这台电脑上的浏览记录", aGe = "导入或读取浏览记录后,这里会列出已采集设备。", oGe = "馆藏里暂时没有对得上浏览信号的标签。", sGe = "采集浏览记录后,这里会显示聚合后的口味证据。", cGe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", lGe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", uGe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", dGe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", fGe = "这个数据源将不再用于口味分析。原始导出文件保留。", _5 = "peach-taste-guide-dismissed";-function v5({ icon: e, term: t, figure: n, detail: r, accent: i }) {+var sGe = 10, u5 = hE(cM, lM, "text-body-2-medium"), d5 = `${xE()} flex flex-col gap-4`, f5 = "rounded-xl bg-background-primary-default p-3", cGe = "读取运行 Peach 的这台电脑上的浏览记录", lGe = "导入或读取浏览记录后,这里会列出已采集设备。", uGe = "馆藏里暂时没有对得上浏览信号的标签。", dGe = "采集浏览记录后,这里会显示聚合后的口味证据。", fGe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", pGe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", mGe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", hGe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", gGe = "这个数据源将不再用于口味分析。原始导出文件保留。", p5 = "peach-taste-guide-dismissed";+function m5({ icon: e, term: t, figure: n, detail: r, accent: i }) {return /* @__PURE__ */ (0, V.jsx)("div", {- className: nM(),- children: /* @__PURE__ */ (0, V.jsx)(oM, {+ className: tM(),+ children: /* @__PURE__ */ (0, V.jsx)(aM, {label: t,icon: e,accent: i,@@ -76729,7 +76729,7 @@ function v5({ icon: e, term: t, figure: n, detail: r, accent: i }) {})});}-function y5({ name: e, domain: t }) {+function h5({ name: e, domain: t }) {return /* @__PURE__ */ (0, V.jsxs)("span", {className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",children: [e.slice(0, 1).toUpperCase(), /* @__PURE__ */ (0, V.jsx)("img", {@@ -76743,22 +76743,22 @@ function y5({ name: e, domain: t }) {})]});}-function pGe({ html: e }) {+function _Ge({ html: e }) {return /* @__PURE__ */ (0, V.jsx)("span", {- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${$I}`,+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${QI}`,dangerouslySetInnerHTML: { __html: e }});}-function mGe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {+function vGe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {if (!e.length) return /* @__PURE__ */ (0, V.jsx)(SE, {shell: "plain",icon: CT,title: "暂无足够证据",children: r});- let a = DWe(e);- return /* @__PURE__ */ (0, V.jsx)(x8, {- previewCount: rGe,+ let a = jWe(e);+ return /* @__PURE__ */ (0, V.jsx)(_8, {+ previewCount: sGe,className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",children: e.map((e, r) => {let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [@@ -76777,15 +76777,15 @@ function mGe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",children: r + 1}),- n === "domain" ? /* @__PURE__ */ (0, V.jsx)(y5, {+ n === "domain" ? /* @__PURE__ */ (0, V.jsx)(h5, {name: e.name,domain: e.name}) : null,- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, V.jsx)(y5, {+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, V.jsx)(h5, {name: e.name,domain: s}) : null,- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, V.jsx)(pGe, { html: w(e.name, e.entity_id ? {+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, V.jsx)(_Ge, { html: w(e.name, e.entity_id ? {id: e.entity_id,has_image: !!e.has_image,image_version: e.image_version,@@ -76798,7 +76798,7 @@ function mGe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {children: e.name}), /* @__PURE__ */ (0, V.jsx)("small", {className: "text-caption-1-regular text-text-secondary",- children: EWe(e)+ children: AWe(e)})]}),o ? /* @__PURE__ */ (0, V.jsx)(cT, {@@ -76821,31 +76821,31 @@ function mGe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {})});}-function b5({ label: e, panels: t, onSignal: n }) {+function g5({ label: e, panels: t, onSignal: n }) {return /* @__PURE__ */ (0, V.jsxs)(Gk, {className: `${xE({ padding: "none" })} flex flex-col`,children: [/* @__PURE__ */ (0, V.jsx)("div", {className: "px-4 pt-3",- children: /* @__PURE__ */ (0, V.jsx)(Zk, {+ children: /* @__PURE__ */ (0, V.jsx)(Xk, {"aria-label": e,- className: $k,+ className: Qk,children: t.map((e) => /* @__PURE__ */ (0, V.jsx)(qk, {id: e.id,- className: eA,+ className: $k,children: e.name}, e.id))})}), t.map((e) => /* @__PURE__ */ (0, V.jsx)(Jk, {id: e.id,className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, V.jsx)(mGe, {+ children: /* @__PURE__ */ (0, V.jsx)(vGe, {...e.props,onSignal: n})}, e.id))]});}-function hGe({ data: e, onSignal: t, navigate: n }) {+function yGe({ data: e, onSignal: t, navigate: n }) {let r = e.analysis;if (!r?.headline) return null;let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({@@ -76860,7 +76860,7 @@ function hGe({ data: e, onSignal: t, navigate: n }) {act: () => n(e.route)}))];return /* @__PURE__ */ (0, V.jsxs)("section", {- className: h5,+ className: d5,"aria-label": "口味总结",children: [/* @__PURE__ */ (0, V.jsxs)("header", {@@ -76886,7 +76886,7 @@ function hGe({ data: e, onSignal: t, navigate: n }) {r.points?.length ? /* @__PURE__ */ (0, V.jsx)("div", {className: "inline-grid w-full gap-3 sm:grid-cols-2",children: r.points.map((e) => /* @__PURE__ */ (0, V.jsxs)("div", {- className: `flex min-w-0 flex-col gap-1 ${g5}`,+ className: `flex min-w-0 flex-col gap-1 ${f5}`,children: [/* @__PURE__ */ (0, V.jsx)("span", {className: "text-caption-1-regular text-text-secondary",children: e.label@@ -76901,7 +76901,7 @@ function hGe({ data: e, onSignal: t, navigate: n }) {children: a.map((e) => /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",onClick: e.act,- className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${g5} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,+ className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${f5} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: [/* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 grow flex-col gap-1",children: [/* @__PURE__ */ (0, V.jsx)("b", {@@ -76920,15 +76920,15 @@ function hGe({ data: e, onSignal: t, navigate: n }) {shell: "plain",icon: CT,title: "还没有可探索的入口",- children: oGe+ children: uGe})]});}-function gGe({ onboarding: e, done: t }) {+function bGe({ onboarding: e, done: t }) {let [n, r] = (0, B.useState)(() => {try {- return localStorage.getItem(_5) === "1";+ return localStorage.getItem(p5) === "1";} catch {return !1;}@@ -76944,11 +76944,11 @@ function gGe({ onboarding: e, done: t }) {children: [/* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: lGe+ children: pGe}),/* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: uGe+ children: mGe}),/* @__PURE__ */ (0, V.jsxs)("ul", {className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",@@ -76978,7 +76978,7 @@ function gGe({ onboarding: e, done: t }) {}),/* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: dGe+ children: hGe}),/* @__PURE__ */ (0, V.jsx)("span", {className: "self-start",@@ -76987,7 +76987,7 @@ function gGe({ onboarding: e, done: t }) {size: "small",onClick: () => {try {- localStorage.setItem(_5, "1");+ localStorage.setItem(p5, "1");} catch {}r(!0);},@@ -76998,7 +76998,7 @@ function gGe({ onboarding: e, done: t }) {})});}-function _Ge({ busy: e, onRefresh: t, onImport: n }) {+function xGe({ busy: e, onRefresh: t, onImport: n }) {let r = (0, B.useRef)(null), [i, a] = (0, B.useState)(!1), o = (e) => {a(!1), e();};@@ -77008,7 +77008,7 @@ function _Ge({ busy: e, onRefresh: t, onImport: n }) {"data-variant": "primary",children: [/* @__PURE__ */ (0, V.jsx)(J, {leadingIcon: fT,- title: iGe,+ title: cGe,onClick: t,...X(e),children: "读取浏览器历史"@@ -77030,13 +77030,13 @@ function _Ge({ busy: e, onRefresh: t, onImport: n }) {onOpenChange: a,placement: "bottom end",offset: 4,- className: cM,- children: /* @__PURE__ */ (0, V.jsxs)(sM, {+ className: sM,+ children: /* @__PURE__ */ (0, V.jsxs)(oM, {"aria-label": "更多取得浏览记录的方式",className: "flex w-52 flex-col gap-1 outline-none",children: [/* @__PURE__ */ (0, V.jsxs)("button", {type: "button",- className: m5,+ className: u5,onClick: () => o(t),children: [/* @__PURE__ */ (0, V.jsx)(fT, {"aria-hidden": !0,@@ -77044,7 +77044,7 @@ function _Ge({ busy: e, onRefresh: t, onImport: n }) {}), "读取浏览器历史"]}), /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",- className: m5,+ className: u5,onClick: () => o(n),children: [/* @__PURE__ */ (0, V.jsx)(wT, {"aria-hidden": !0,@@ -77054,15 +77054,15 @@ function _Ge({ busy: e, onRefresh: t, onImport: n }) {})})] });}-function vGe({ sources: e, window: t, toast: n }) {- let r = OS({- mutationFn: (e) => xWe(e, t),+function SGe({ sources: e, window: t, toast: n }) {+ let r = DS({+ mutationFn: (e) => TWe(e, t),onSuccess: (e) => {- z.setQueryData(Y8(t), e.dashboard), n("已移除口味数据源");+ z.setQueryData(G8(t), e.dashboard), n("已移除口味数据源");}});return /* @__PURE__ */ (0, V.jsxs)("section", {- className: h5,+ className: d5,"aria-label": "数据源",children: [/* @__PURE__ */ (0, V.jsx)("h3", {@@ -77076,7 +77076,7 @@ function vGe({ sources: e, window: t, toast: n }) {e.length ? /* @__PURE__ */ (0, V.jsx)("div", {className: "inline-grid w-full gap-2 sm:grid-cols-2",children: e.map((e) => /* @__PURE__ */ (0, V.jsxs)("div", {- className: `flex min-w-0 items-center gap-3 ${g5}`,+ className: `flex min-w-0 items-center gap-3 ${f5}`,children: [/* @__PURE__ */ (0, V.jsx)("span", {className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",@@ -77108,7 +77108,7 @@ function vGe({ sources: e, window: t, toast: n }) {onClick: () => {r.isPending || Te({title: "移除口味数据源",- body: fGe,+ body: gGe,confirmLabel: "移除口味数据源",onConfirm: () => r.mutateAsync(e.source_key)});@@ -77120,28 +77120,28 @@ function vGe({ sources: e, window: t, toast: n }) {shell: "plain",icon: pT,title: "还没有数据源",- children: aGe+ children: lGe})]});}-function yGe(e) {- let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, B.useState)("all"), [s, c] = (0, B.useState)("browser"), l = (0, B.useRef)(null), u = TS({- queryKey: Y8(a),- queryFn: ({ signal: e }) => X8(a, e),- placeholderData: AS.keepPreviousData- }), { job: d, running: f, outcome: p, start: m } = DM({- queryKey: gWe,- queryFn: ({ signal: e }) => vWe(e),- start: () => bWe(a),- idlePollMs: CWe,+function CGe(e) {+ let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, B.useState)("all"), [s, c] = (0, B.useState)("browser"), l = (0, B.useRef)(null), u = wS({+ queryKey: G8(a),+ queryFn: ({ signal: e }) => K8(a, e),+ placeholderData: kS.keepPreviousData+ }), { job: d, running: f, outcome: p, start: m } = EM({+ queryKey: bWe,+ queryFn: ({ signal: e }) => SWe(e),+ start: () => wWe(a),+ idlePollMs: DWe,onFinish: (e) => {e.status !== "failed" && (z.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));}- }), h = OS({- mutationFn: (e) => SWe(e),+ }), h = DS({+ mutationFn: (e) => EWe(e),onSuccess: (e) => {- z.setQueryData(Y8("all"), e.dashboard), o("all"), r("已导入口味数据");+ z.setQueryData(G8("all"), e.dashboard), o("all"), r("已导入口味数据");}}), g = (e) => {let t = e.currentTarget.files?.[0];@@ -77163,33 +77163,33 @@ function yGe(e) {children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-3",- children: [/* @__PURE__ */ (0, V.jsxs)(Zk, {+ children: [/* @__PURE__ */ (0, V.jsxs)(Xk, {"aria-label": "口味证据来源",- className: $k,+ className: Qk,children: [/* @__PURE__ */ (0, V.jsx)(qk, {id: "browser",- className: eA,+ className: $k,children: "浏览器记录"}), /* @__PURE__ */ (0, V.jsx)(qk, {id: "peach",- className: eA,+ className: $k,children: "Peach 内部"})]}), /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, V.jsx)(wM, {+ /* @__PURE__ */ (0, V.jsx)(CM, {"aria-label": "分析范围",selectedKey: a,onSelectionChange: (e) => {e !== null && o(String(e));},- children: _We.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(TM, {+ children: xWe.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(wM, {id: e,children: t}, e))}),- /* @__PURE__ */ (0, V.jsx)(_Ge, {+ /* @__PURE__ */ (0, V.jsx)(xGe, {busy: f || m.isPending || h.isPending,onRefresh: _,onImport: () => l.current?.click()@@ -77205,7 +77205,7 @@ function yGe(e) {]})]}),- /* @__PURE__ */ (0, V.jsx)(gGe, {+ /* @__PURE__ */ (0, V.jsx)(bGe, {onboarding: i,done: !!(y.history_sources || v.updated_at)}),@@ -77213,12 +77213,12 @@ function yGe(e) {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",children: [- f ? /* @__PURE__ */ (0, V.jsx)(bM, {+ f ? /* @__PURE__ */ (0, V.jsx)(yM, {label: d?.message || "正在读取浏览记录并更新口味分析",value: d?.checked,total: d?.total}) : null,- h.isPending ? /* @__PURE__ */ (0, V.jsx)(bM, { label: "正在导入历史文件" }) : null,+ h.isPending ? /* @__PURE__ */ (0, V.jsx)(yM, { label: "正在导入历史文件" }) : null,D ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",children: D@@ -77230,29 +77230,29 @@ function yGe(e) {className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, V.jsxs)("div", {- className: rM,+ className: nM,children: [- /* @__PURE__ */ (0, V.jsx)(v5, {+ /* @__PURE__ */ (0, V.jsx)(m5, {accent: 0,icon: vT,term: "浏览记录",figure: Number(y.history_visits || 0).toLocaleString(),- detail: `${y.history_sources || 0} 个数据源 · ${Z8(y.range_start)}—${Z8(y.range_end)}`+ detail: `${y.history_sources || 0} 个数据源 · ${q8(y.range_start)}—${q8(y.range_end)}`}),- /* @__PURE__ */ (0, V.jsx)(v5, {+ /* @__PURE__ */ (0, V.jsx)(m5, {accent: 1,icon: bT,term: "口味维度",figure: C.length.toLocaleString(),detail: C[0]?.name || "尚无主维度"}),- /* @__PURE__ */ (0, V.jsx)(v5, {+ /* @__PURE__ */ (0, V.jsx)(m5, {accent: 2,icon: CT,term: "浏览候选",figure: w.length.toLocaleString()}),- /* @__PURE__ */ (0, V.jsx)(v5, {+ /* @__PURE__ */ (0, V.jsx)(m5, {accent: 3,icon: pT,term: "私有导出",@@ -77262,7 +77262,7 @@ function yGe(e) {]}),/* @__PURE__ */ (0, V.jsxs)("section", {- className: `${h5} md:flex-row md:gap-6`,+ className: `${d5} md:flex-row md:gap-6`,"aria-label": "浏览器画像",children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex shrink-0 flex-col gap-2 pb-5 md:w-80 md:pr-6 md:pb-0",@@ -77271,29 +77271,29 @@ function yGe(e) {className: "text-caption-1-regular text-text-secondary",children: "浏览器画像"}),- /* @__PURE__ */ (0, V.jsx)(eGe, {+ /* @__PURE__ */ (0, V.jsx)(iGe, {rows: C,label: "主要口味维度"}),/* @__PURE__ */ (0, V.jsx)("small", {className: "text-caption-1-regular text-text-secondary",- children: v.updated_at ? `更新于 ${Z8(v.updated_at)}` : "尚未采集浏览记录"+ children: v.updated_at ? `更新于 ${q8(v.updated_at)}` : "尚未采集浏览记录"})]}), /* @__PURE__ */ (0, V.jsx)("div", {className: "flex min-w-0 grow flex-col",- children: C.length ? /* @__PURE__ */ (0, V.jsx)(tGe, {+ children: C.length ? /* @__PURE__ */ (0, V.jsx)(aGe, {rows: C,label: "口味维度排名"}) : /* @__PURE__ */ (0, V.jsx)(SE, {shell: "plain",icon: CT,title: "暂无口味维度",- children: sGe+ children: dGe})})]}),- /* @__PURE__ */ (0, V.jsx)(b8, {+ /* @__PURE__ */ (0, V.jsx)(g8, {activity: v.activity,title: "浏览活跃时间",dailyTitle: "每日活跃",@@ -77305,8 +77305,8 @@ function yGe(e) {tone: 4,empty: "还没有可用于分析的口味网站访问记录。"}),- /* @__PURE__ */ (0, V.jsx)(nGe, { flows: v.creator_flows }),- /* @__PURE__ */ (0, V.jsx)(b5, {+ /* @__PURE__ */ (0, V.jsx)(oGe, { flows: v.creator_flows }),+ /* @__PURE__ */ (0, V.jsx)(g5, {label: "浏览器口味维度",onSignal: t,panels: [@@ -77347,7 +77347,7 @@ function yGe(e) {rows: w,kind: "",visual: "none",- empty: cGe+ empty: fGe}}]@@ -77359,28 +77359,28 @@ function yGe(e) {className: "flex flex-col gap-5",children: [/* @__PURE__ */ (0, V.jsxs)("div", {- className: rM,+ className: nM,children: [- /* @__PURE__ */ (0, V.jsx)(v5, {+ /* @__PURE__ */ (0, V.jsx)(m5, {accent: 0,icon: gT,term: "Peach 看过",figure: Number(y.peach_items || 0).toLocaleString(),- detail: wWe(y.peach_seconds || 0)+ detail: OWe(y.peach_seconds || 0)}),- /* @__PURE__ */ (0, V.jsx)(v5, {+ /* @__PURE__ */ (0, V.jsx)(m5, {accent: 1,icon: xae,term: "喜欢",figure: Number(y.liked || 0).toLocaleString()}),- /* @__PURE__ */ (0, V.jsx)(v5, {+ /* @__PURE__ */ (0, V.jsx)(m5, {accent: 2,icon: bae,term: "不合口味",figure: Number(y.disliked || 0).toLocaleString()}),- /* @__PURE__ */ (0, V.jsx)(v5, {+ /* @__PURE__ */ (0, V.jsx)(m5, {accent: 3,icon: bT,term: "有标签",@@ -77389,7 +77389,7 @@ function yGe(e) {]}),/* @__PURE__ */ (0, V.jsxs)("section", {- className: `${h5} md:flex-row md:gap-6`,+ className: `${d5} md:flex-row md:gap-6`,"aria-label": "Peach 观看",children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",@@ -77409,18 +77409,18 @@ function yGe(e) {]}), /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 grow flex-col",- children: [/* @__PURE__ */ (0, V.jsx)(x5, {+ children: [/* @__PURE__ */ (0, V.jsx)(_5, {term: "有标签",value: T,rest: b.untagged || 0- }), /* @__PURE__ */ (0, V.jsx)(x5, {+ }), /* @__PURE__ */ (0, V.jsx)(_5, {term: "有身份",value: E,rest: b.unidentified || 0})]})]}),- /* @__PURE__ */ (0, V.jsx)(b5, {+ /* @__PURE__ */ (0, V.jsx)(g5, {label: "Peach 口味维度",onSignal: t,panels: [@@ -77460,19 +77460,19 @@ function yGe(e) {})]}),- /* @__PURE__ */ (0, V.jsx)(hGe, {+ /* @__PURE__ */ (0, V.jsx)(yGe, {data: v,onSignal: t,navigate: n}),- /* @__PURE__ */ (0, V.jsx)(vGe, {+ /* @__PURE__ */ (0, V.jsx)(SGe, {sources: v.sources || [],window: a,toast: r})] });}-function x5({ term: e, value: t, rest: n }) {+function _5({ term: e, value: t, rest: n }) {let r = Math.max(t + n, 1);return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",@@ -77494,18 +77494,18 @@ function x5({ term: e, value: t, rest: n }) {}//#endregion//#region src/react/router/managed-routes.tsx-function bGe(e, t, n) {+function wGe(e, t, n) {if (e === "duplicates") {n("/duplicates");return;}let r = t.managePath(e);- C5(r) ? n(r) : t.openManage(e);+ y5(r) ? n(r) : t.openManage(e);}-var S5 = {+var v5 = {"/stats": {- prefetch: (e, t) => pxe(t),- page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(YUe, {+ prefetch: (e, t) => mxe(t),+ page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)($Ue, {tagLabel: ot,onTag: t.openTag,configurable: e.configurable,@@ -77515,8 +77515,8 @@ var S5 = {})},"/taste": {- prefetch: (e, t) => yWe("all", t),- page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(yGe, {+ prefetch: (e, t) => CWe("all", t),+ page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(CGe, {onSignal: t.openTasteSignal,navigate: n,toast: (e) => t.receipt(e),@@ -77524,8 +77524,8 @@ var S5 = {})},"/review": {- prefetch: (e, t) => hue(t),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(Vve, {+ prefetch: (e, t) => gue(t),+ page: (e, t) => /* @__PURE__ */ (0, V.jsx)(Hve, {...e,route: t.routeReview,openItem: t.openItem,@@ -77535,24 +77535,24 @@ var S5 = {})},"/data-cleanup": {- prefetch: (e, t) => nde(t),- page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(_fe, {+ prefetch: (e, t) => rde(t),+ page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(vfe, {failure: t.failure,- open: (e) => bGe(e, t, n),+ open: (e) => wGe(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)})},"/duplicates": {- prefetch: (e, t) => Ale(t),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(pme, {+ prefetch: (e, t) => jle(t),+ page: (e, t) => /* @__PURE__ */ (0, V.jsx)(mme, {openItem: t.openItem,failure: t.failure,toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})})},"/quality-goals": {- prefetch: (e, t) => Jle(t),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(Tve, {+ prefetch: (e, t) => Yle(t),+ page: (e, t) => /* @__PURE__ */ (0, V.jsx)(Eve, {openItem: t.openItem,javTitleHtml: at,javDisplayName: it,@@ -77561,20 +77561,20 @@ var S5 = {})},"/scraping": {- prefetch: (e, t) => Jve(t),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(tye, { toast: (e) => t.toast(e) })+ prefetch: (e, t) => Yve(t),+ page: (e, t) => /* @__PURE__ */ (0, V.jsx)(nye, { toast: (e) => t.toast(e) })},"/configuration": {- prefetch: (e, t) => hR(t),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(pbe, {+ prefetch: (e, t) => mR(t),+ page: (e, t) => /* @__PURE__ */ (0, V.jsx)(mbe, {receipt: (e) => t.receipt(e),reopenTutorial: t.reopenTutorial,section: e.section ?? ""})},"/diagnostics": {- prefetch: (e, t) => mme(t),- page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(vme, {+ prefetch: (e, t) => hme(t),+ page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(yme, {navigate: n,openItem: t.openItem,receipt: (e) => t.receipt(e),@@ -77588,8 +77588,8 @@ var S5 = {page: () => /* @__PURE__ */ (0, V.jsx)(Yoe, {})},"/follow-manage": {- prefetch: (e, t) => Xme(t, e.tab),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(E_e, {+ prefetch: (e, t) => Zme(t, e.tab),+ page: (e, t) => /* @__PURE__ */ (0, V.jsx)(D_e, {...e,route: t.routeFollowManage,savePreference: t.saveFollowPreference,@@ -77597,10 +77597,10 @@ var S5 = {openFollow: t.openFollow})}-}, C5 = (e) => Object.hasOwn(S5, e), w5 = {+}, y5 = (e) => Object.hasOwn(v5, e), b5 = {"/playlists": {- prefetch: (e, t) => dve(t),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(Cve, {+ prefetch: (e, t) => fve(t),+ page: (e, t) => /* @__PURE__ */ (0, V.jsx)(wve, {revision: e.revision,openPlaylist: t.openPlaylist,openEntity: t.openEntity,@@ -77609,12 +77609,12 @@ var S5 = {})},"/follow": {- prefetch: (e, t) => ihe(e, t),- page: (e) => /* @__PURE__ */ (0, V.jsx)(Ohe, { ...e })+ prefetch: (e, t) => ahe(e, t),+ page: (e) => /* @__PURE__ */ (0, V.jsx)(khe, { ...e })}-}, T5 = (e) => Object.hasOwn(w5, e), E5 = {- prefetch: (e, t) => Rfe(e, t),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(H_e, {+}, x5 = (e) => Object.hasOwn(b5, e), S5 = {+ prefetch: (e, t) => zfe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, V.jsx)(U_e, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -77627,55 +77627,55 @@ var S5 = {openFollowAuthor: t.openFollowAuthor,openFollowTag: t.openFollowTag})-}, D5 = {- "/performers": E5,- "/creators": E5,- "/studios": E5,- "/agencies": E5,- "/tags": E5-}, O5 = {- prefetch: (e) => Dfe(e),- page: (e) => /* @__PURE__ */ (0, V.jsx)(ime, { ...e })-}, k5 = {- "/performers/*": O5,- "/studios/*": O5,- "/creators/*": O5,- "/series/*": O5,- "/agencies/*": O5-}, A5 = {+}, C5 = {+ "/performers": S5,+ "/creators": S5,+ "/studios": S5,+ "/agencies": S5,+ "/tags": S5+}, w5 = {+ prefetch: (e) => Ofe(e),+ page: (e) => /* @__PURE__ */ (0, V.jsx)(ame, { ...e })+}, T5 = {+ "/performers/*": w5,+ "/studios/*": w5,+ "/creators/*": w5,+ "/series/*": w5,+ "/agencies/*": w5+}, E5 = {"/": {- prefetch: (e, t) => jre(e, t),- page: (e) => /* @__PURE__ */ (0, V.jsx)(wA, { ...e })+ prefetch: (e, t) => Mre(e, t),+ page: (e) => /* @__PURE__ */ (0, V.jsx)(CA, { ...e })},"/junk-files": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, V.jsx)(rve, { ...e })+ page: (e) => /* @__PURE__ */ (0, V.jsx)(ive, { ...e })}-}, j5 = (e) => Object.hasOwn(A5, e), xGe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, V.jsx)(lve, { ...e }) : /* @__PURE__ */ (0, V.jsx)(SM, { ...e }), M5 = {+}, D5 = (e) => Object.hasOwn(E5, e), TGe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, V.jsx)(uve, { ...e }) : /* @__PURE__ */ (0, V.jsx)(xM, { ...e }), O5 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, V.jsx)($ce, { ...e })+ page: (e) => /* @__PURE__ */ (0, V.jsx)(ele, { ...e })},"feed-new": {- prefetch: (e) => Sfe(e),- page: (e) => /* @__PURE__ */ (0, V.jsx)(yme, { ...e })+ prefetch: (e) => Cfe(e),+ page: (e) => /* @__PURE__ */ (0, V.jsx)(bme, { ...e })},"library-processing": {- prefetch: (e, t) => LA(t),- page: (e) => /* @__PURE__ */ (0, V.jsx)(xGe, { ...e })+ prefetch: (e, t) => IA(t),+ page: (e) => /* @__PURE__ */ (0, V.jsx)(TGe, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, V.jsx)(oye, { ...e })+ page: (e) => /* @__PURE__ */ (0, V.jsx)(sye, { ...e })}-}, N5 = (e) => Object.hasOwn(M5, e), P5 = {+}, k5 = (e) => Object.hasOwn(O5, e), A5 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, V.jsx)(Ane, {})+ page: () => /* @__PURE__ */ (0, V.jsx)(jne, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, V.jsx)(Nne, {})+ page: () => /* @__PURE__ */ (0, V.jsx)(Pne, {})},"manage-header": {prefetch: async () => {},@@ -77687,47 +77687,47 @@ var S5 = {},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, V.jsx)(Rbe, {})+ page: () => /* @__PURE__ */ (0, V.jsx)(zbe, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, V.jsx)(txe, {})+ page: () => /* @__PURE__ */ (0, V.jsx)(nxe, {})}-}, F5 = (e) => Object.hasOwn(P5, e), SGe = [+}, j5 = (e) => Object.hasOwn(A5, e), EGe = ["/","/unseen","/watch-later","/flagged","/trash","/junk-files"-], CGe = [- ...Object.keys(S5),- ...Object.keys(w5),- ...Object.keys(D5),- ...Object.keys(k5),- ...SGe-], I5 = (e) => C5(e) || T5(e) || Object.hasOwn(D5, e) || Object.hasOwn(k5, e) || j5(e) || N5(e) || F5(e);-function L5(e) {- return C5(e) ? S5[e] : T5(e) ? w5[e] : j5(e) ? A5[e] : N5(e) ? M5[e] : F5(e) ? P5[e] : Object.hasOwn(D5, e) ? D5[e] : k5[e];+], DGe = [+ ...Object.keys(v5),+ ...Object.keys(b5),+ ...Object.keys(C5),+ ...Object.keys(T5),+ ...EGe+], M5 = (e) => y5(e) || x5(e) || Object.hasOwn(C5, e) || Object.hasOwn(T5, e) || D5(e) || k5(e) || j5(e);+function N5(e) {+ return y5(e) ? v5[e] : x5(e) ? b5[e] : D5(e) ? E5[e] : k5(e) ? O5[e] : j5(e) ? A5[e] : Object.hasOwn(C5, e) ? C5[e] : T5[e];}-function wGe(e, t, n) {- return I5(e) ? L5(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function OGe(e, t, n) {+ return M5(e) ? N5(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function TGe(e, t, n, r) {- return L5(e).page(t, n, r);+function kGe(e, t, n, r) {+ return N5(e).page(t, n, r);}//#endregion//#region node_modules/react-router/dist/production/lib/router/url.js-var EGe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, DGe = /^[\\/]{2}/;-function OGe(e, t) {+var AGe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, jGe = /^[\\/]{2}/;+function MGe(e, t) {return t + e.replace(/\\/g, "/");}//#endregion//#region node_modules/react-router/dist/production/lib/router/history.js-function R5(e, t) {+function P5(e, t) {if (e === !1 || e == null) throw Error(t);}-function z5(e, t) {+function F5(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -77735,10 +77735,10 @@ function z5(e, t) {} catch {}}}-function kGe({ pathname: e = "/", search: t = "", hash: n = "" }) {+function NGe({ pathname: e = "/", search: t = "", hash: n = "" }) {return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;}-function B5(e) {+function I5(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -77750,21 +77750,21 @@ function B5(e) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/utils.js-function AGe(e, t, n = "/") {- return jGe(e, t, n, !1);+function PGe(e, t, n = "/") {+ return FGe(e, t, n, !1);}-function jGe(e, t, n, r, i) {- let a = q5((typeof t == "string" ? B5(t) : t).pathname || "/", n);+function FGe(e, t, n, r, i) {+ let a = U5((typeof t == "string" ? I5(t) : t).pathname || "/", n);if (a == null) return null;- let o = i ?? MGe(e), s = null, c = GGe(a);- for (let e = 0; s == null && e < o.length; ++e) s = WGe(o[e], c, r);+ let o = i ?? IGe(e), s = null, c = YGe(a);+ for (let e = 0; s == null && e < o.length; ++e) s = JGe(o[e], c, r);return s;}-function MGe(e) {- let t = V5(e);- return NGe(t), t;+function IGe(e) {+ let t = L5(e);+ return LGe(t), t;}-function V5(e, t = [], n = [], r = "", i = !1) {+function L5(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {let c = {relativePath: s === void 0 ? e.path || "" : s,@@ -77774,14 +77774,14 @@ function V5(e, t = [], n = [], r = "", i = !1) {};if (c.relativePath.startsWith("/")) {if (!c.relativePath.startsWith(r) && o) return;- R5(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);+ P5(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);}- let l = Z5([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && (R5(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), V5(e.children, t, u, l, o)), !(e.path == null && !e.index) && t.push({+ let l = q5([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (P5(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), L5(e.children, t, u, l, o)), !(e.path == null && !e.index) && t.push({path: l,- score: HGe(l, e.index),+ score: KGe(l, e.index),routesMeta: u.map((e, t) => {- let [n, r] = K5(e.relativePath, e.caseSensitive, t === u.length - 1);+ let [n, r] = H5(e.relativePath, e.caseSensitive, t === u.length - 1);return {...e,matcher: n,@@ -77792,68 +77792,68 @@ function V5(e, t = [], n = [], r = "", i = !1) {};return e.forEach((e, t) => {if (e.path === "" || !e.path?.includes("?")) a(e, t);- else for (let n of H5(e.path)) a(e, t, !0, n);+ else for (let n of R5(e.path)) a(e, t, !0, n);}), t;}-function H5(e) {+function R5(e) {let t = e.split("/");if (t.length === 0) return [];let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");if (r.length === 0) return i ? [a, ""] : [a];- let o = H5(r.join("/")), s = [];+ let o = R5(r.join("/")), s = [];return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);}-function NGe(e) {- e.sort((e, t) => e.score === t.score ? UGe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);+function LGe(e) {+ e.sort((e, t) => e.score === t.score ? qGe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var PGe = /^:[\w-]+$/, FGe = /^:[\w-]+/, IGe = 3.5, LGe = 3, RGe = 2, zGe = 1, BGe = 10, VGe = -2, U5 = (e) => e === "*";-function HGe(e, t) {+var RGe = /^:[\w-]+$/, zGe = /^:[\w-]+/, BGe = 3.5, VGe = 3, HGe = 2, UGe = 1, WGe = 10, GGe = -2, z5 = (e) => e === "*";+function KGe(e, t) {let n = e.split("/"), r = n.length;- return n.some(U5) && (r += VGe), t && (r += RGe), n.filter((e) => !U5(e)).reduce((e, t) => e + (PGe.test(t) ? LGe : FGe.test(t) ? IGe : t === "" ? zGe : BGe), r);+ return n.some(z5) && (r += GGe), t && (r += HGe), n.filter((e) => !z5(e)).reduce((e, t) => e + (RGe.test(t) ? VGe : zGe.test(t) ? BGe : t === "" ? UGe : WGe), r);}-function UGe(e, t) {+function qGe(e, t) {return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;}-function WGe(e, t, n = !1) {+function JGe(e, t, n = !1) {let { routesMeta: r } = e, i = {}, a = "/", o = [];for (let e = 0; e < r.length; ++e) {let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {path: s.relativePath,caseSensitive: s.caseSensitive,end: c- }, d = s.matcher && s.compiledParams ? G5(u, l, s.matcher, s.compiledParams) : W5(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = W5({+ }, d = s.matcher && s.compiledParams ? V5(u, l, s.matcher, s.compiledParams) : B5(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = B5({path: s.relativePath,caseSensitive: s.caseSensitive,end: !1}, l)), !d) return null;Object.assign(i, d.params), o.push({params: i,- pathname: Z5([a, d.pathname]),- pathnameBase: XGe(Z5([a, d.pathnameBase])),+ pathname: q5([a, d.pathname]),+ pathnameBase: eKe(q5([a, d.pathnameBase])),route: f- }), d.pathnameBase !== "/" && (a = Z5([a, d.pathnameBase]));+ }), d.pathnameBase !== "/" && (a = q5([a, d.pathnameBase]));}return o;}-function W5(e, t) {+function B5(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = K5(e.path, e.caseSensitive, e.end);- return G5(e, t, n, r);+ let [n, r] = H5(e.path, e.caseSensitive, e.end);+ return V5(e, t, n, r);}-function G5(e, t, n, r) {+function V5(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = Q5(a, 1), s = i.slice(1);+ let a = i[0], o = J5(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = Q5(a.slice(0, a.length - e.length), 1);+ o = J5(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -77863,8 +77863,8 @@ function G5(e, t, n, r) {pattern: e};}-function K5(e, t = !1, n = !0) {- z5(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);+function H5(e, t = !1, n = !0) {+ F5(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {if (r.push({paramName: t,@@ -77877,46 +77877,46 @@ function K5(e, t = !1, n = !0) {}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];}-function GGe(e) {+function YGe(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {- return z5(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;+ return F5(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;}}-function q5(e, t) {+function U5(e, t) {if (t === "/") return e;if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);return r && r !== "/" ? null : e.slice(n) || "/";}-function KGe(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? B5(e) : e, a;- return n ? (n = X5(n), a = n.startsWith("/") || n.startsWith("\\") ? J5(n.substring(1), "/") : J5(n, t)) : a = t, {+function XGe(e, t = "/") {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? I5(e) : e, a;+ return n ? (n = K5(n), a = n.startsWith("/") || n.startsWith("\\") ? W5(n.substring(1), "/") : W5(n, t)) : a = t, {pathname: a,- search: ZGe(r),- hash: QGe(i)+ search: tKe(r),+ hash: nKe(i)};}-function J5(e, t) {- let n = Q5(t).split("/");+function W5(e, t) {+ let n = J5(t).split("/");return e.split("/").forEach((e) => {e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);}), n.length > 1 ? n.join("/") : "/";}-function Y5(e, t, n, r) {+function G5(e, t, n, r) {return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;}-function qGe(e) {+function ZGe(e) {return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);}-function JGe(e) {- let t = qGe(e);+function QGe(e) {+ let t = ZGe(e);return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);}-function YGe(e, t, n, r = !1) {+function $Ge(e, t, n, r = !1) {let i;- typeof e == "string" ? i = B5(e) : (i = { ...e }, R5(!i.pathname || !i.pathname.includes("?"), Y5("?", "pathname", "search", i)), R5(!i.pathname || !i.pathname.includes("#"), Y5("#", "pathname", "hash", i)), R5(!i.search || !i.search.includes("#"), Y5("#", "search", "hash", i)));+ typeof e == "string" ? i = I5(e) : (i = { ...e }, P5(!i.pathname || !i.pathname.includes("?"), G5("?", "pathname", "search", i)), P5(!i.pathname || !i.pathname.includes("#"), G5("#", "pathname", "hash", i)), P5(!i.search || !i.search.includes("#"), G5("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;if (o == null) s = n;else {@@ -77928,16 +77928,16 @@ function YGe(e, t, n, r = !1) {}s = e >= 0 ? t[e] : "/";}- let c = KGe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ let c = XGe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var X5 = (e) => e.replace(/[\\/]{2,}/g, "/"), Z5 = (e) => X5(e.join("/"));-function Q5(e, t = 0) {+var K5 = (e) => e.replace(/[\\/]{2,}/g, "/"), q5 = (e) => K5(e.join("/"));+function J5(e, t = 0) {let n = e.length;for (; n > t && e.charCodeAt(n - 1) === 47;) n--;return n === e.length ? e : e.slice(0, n);}-var XGe = (e) => Q5(e).replace(/^\/*/, "/"), ZGe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, QGe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, $Ge = class {+var eKe = (e) => J5(e).replace(/^\/*/, "/"), tKe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, nKe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, rKe = class {status;statusText;data;@@ -77947,26 +77947,26 @@ var XGe = (e) => Q5(e).replace(/^\/*/, "/"), ZGe = (e) => !e || e === "?" ? "" :this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;}};-function eKe(e) {+function iKe(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function tKe(e) {- return Z5(e.map((e) => e.route.path).filter(Boolean)) || "/";+function aKe(e) {+ return q5(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var $5 = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function nKe(e, t) {+var Y5 = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+function oKe(e, t) {let n = e;- if (typeof n != "string" || !EGe.test(n)) return {+ if (typeof n != "string" || !AGe.test(n)) return {absoluteURL: void 0,isExternal: !1,to: n};let r = n, i = !1;- if ($5) try {- let e = new URL(window.location.href), r = DGe.test(n) ? new URL(OGe(n, e.protocol)) : new URL(n), a = q5(r.pathname, t);+ if (Y5) try {+ let e = new URL(window.location.href), r = jGe.test(n) ? new URL(MGe(n, e.protocol)) : new URL(n), a = U5(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {- z5(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ F5(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);}return {absoluteURL: r,@@ -77976,45 +77976,45 @@ function nKe(e, t) {}//#endregion//#region node_modules/react-router/dist/production/lib/router/navigation.js-var e7 = new URL("http://localhost");-function t7(e) {+var X5 = new URL("http://localhost");+function Z5(e) {if (e.createURL) return e.createURL("/");try {- return new URL(e.createHref("/"), e7);+ return new URL(e.createHref("/"), X5);} catch {- return e7;+ return X5;}}-function n7(e, t) {+function Q5(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function rKe(e, t) {+function sKe(e, t) {if (e.startsWith("//")) return !0;let n = t.protocol.toLowerCase();return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;}-function r7(e, t, n, r) {+function $5(e, t, n, r) {let i = null;try {i = e == null ? null : new URL(e, n);} catch {}- let a = new URL(t, n), o = i != null && !n7(i, n), s = !n7(a, n);+ let a = new URL(t, n), o = i != null && !Q5(i, n), s = !Q5(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !rKe(e, i) || !n7(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !sKe(e, i) || !Q5(i, a))) throw Error("External navigation is not allowed");}//#endregion//#region node_modules/react-router/dist/production/lib/router/router.js-var i7 = [+var e7 = ["POST","PUT","PATCH","DELETE"];-new Set(i7);-var iKe = ["GET", ...i7];-new Set(iKe);-var aKe = [+new Set(e7);+var cKe = ["GET", ...e7];+new Set(cKe);+var lKe = ["about:","blob:","chrome:",@@ -78026,85 +78026,85 @@ var aKe = ["filesystem:","javascript:"];-function oKe(e) {+function uKe(e) {try {- return aKe.includes(new URL(e).protocol);+ return lKe.includes(new URL(e).protocol);} catch {return !1;}}//#endregion//#region node_modules/react-router/dist/production/lib/context.js-var a7 = B.createContext(null);-a7.displayName = "DataRouter";-var sKe = B.createContext(null);-sKe.displayName = "DataRouterState";-var o7 = B.createContext(null);-o7.displayName = "DataRouterData";-var cKe = B.createContext(null);-cKe.displayName = "DataRouterNavigation";-var lKe = B.createContext(!1), uKe = B.createContext({ isTransitioning: !1 });-uKe.displayName = "ViewTransition";+var t7 = B.createContext(null);+t7.displayName = "DataRouter";var dKe = B.createContext(null);-dKe.displayName = "Fetchers";+dKe.displayName = "DataRouterState";+var n7 = B.createContext(null);+n7.displayName = "DataRouterData";var fKe = B.createContext(null);-fKe.displayName = "Await";-var s7 = B.createContext(null);-s7.displayName = "Navigation";-var c7 = B.createContext(null);-c7.displayName = "Location";-var l7 = B.createContext({+fKe.displayName = "DataRouterNavigation";+var pKe = B.createContext(!1), mKe = B.createContext({ isTransitioning: !1 });+mKe.displayName = "ViewTransition";+var hKe = B.createContext(null);+hKe.displayName = "Fetchers";+var gKe = B.createContext(null);+gKe.displayName = "Await";+var r7 = B.createContext(null);+r7.displayName = "Navigation";+var i7 = B.createContext(null);+i7.displayName = "Location";+var a7 = B.createContext({outlet: null,matches: [],isDataRoute: !1});-l7.displayName = "Route";-var u7 = B.createContext(!1);-u7.displayName = "IsDataRoute";-var d7 = B.createContext(void 0);-d7.displayName = "RouteId";-var f7 = B.createContext(null);-f7.displayName = "RouteError";+a7.displayName = "Route";+var o7 = B.createContext(!1);+o7.displayName = "IsDataRoute";+var s7 = B.createContext(void 0);+s7.displayName = "RouteId";+var c7 = B.createContext(null);+c7.displayName = "RouteError";//#endregion//#region node_modules/react-router/dist/production/lib/errors.js-var p7 = "REACT_ROUTER_ERROR", pKe = "REDIRECT", mKe = "ROUTE_ERROR_RESPONSE";-function hKe(e) {- if (e.startsWith(`${p7}:${pKe}:{`)) try {+var l7 = "REACT_ROUTER_ERROR", _Ke = "REDIRECT", vKe = "ROUTE_ERROR_RESPONSE";+function yKe(e) {+ if (e.startsWith(`${l7}:${_Ke}:{`)) try {let t = JSON.parse(e.slice(28));if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;} catch {}}-function gKe(e) {- if (e.startsWith(`${p7}:${mKe}:{`)) try {+function bKe(e) {+ if (e.startsWith(`${l7}:${vKe}:{`)) try {let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new $Ge(t.status, t.statusText, t.data);+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new rKe(t.status, t.statusText, t.data);} catch {}}//#endregion//#region node_modules/react-router/dist/production/lib/hooks.js-function m7() {- return B.useContext(c7) != null;+function u7() {+ return B.useContext(i7) != null;}-function h7() {- return R5(m7(), "useLocation() may be used only in the context of a <Router> component."), B.useContext(c7).location;+function d7() {+ return P5(u7(), "useLocation() may be used only in the context of a <Router> component."), B.useContext(i7).location;}-var g7 = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";-function _Ke() {- return B.useContext(u7) ? kKe() : vKe();+var f7 = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";+function xKe() {+ return B.useContext(o7) ? NKe() : SKe();}-function vKe() {- R5(m7(), "useNavigate() may be used only in the context of a <Router> component.");- let e = B.useContext(a7), { basename: t, navigator: n } = B.useContext(s7), { matches: r } = B.useContext(l7), { pathname: i } = h7(), a = JSON.stringify(JGe(r)), o = B.useRef(!1);+function SKe() {+ P5(u7(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = B.useContext(t7), { basename: t, navigator: n } = B.useContext(r7), { matches: r } = B.useContext(a7), { pathname: i } = d7(), a = JSON.stringify(QGe(r)), o = B.useRef(!1);return B.useLayoutEffect(() => {o.current = !0;}), B.useCallback((r, s = {}) => {- if (z5(o.current, g7), !o.current) return;+ if (F5(o.current, f7), !o.current) return;if (typeof r == "number") {n.go(r);return;}- let c = YGe(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : Z5([t, c.pathname])), r7(typeof r == "string" ? r : kGe(r), n.createHref(c), t7(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ let c = $Ge(r, JSON.parse(a), i, s.relative === "path");+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : q5([t, c.pathname])), $5(typeof r == "string" ? r : NGe(r), n.createHref(c), Z5(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,n,@@ -78114,19 +78114,19 @@ function vKe() {]);}B.createContext(null);-function yKe(e, t) {- return _7(e, t);+function CKe(e, t) {+ return p7(e, t);}-function _7(e, t, n) {- R5(m7(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = B.useContext(s7), { matches: i } = B.useContext(l7), a = i[i.length - 1], o = a ? a.params : {};+function p7(e, t, n) {+ P5(u7(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = B.useContext(r7), { matches: i } = B.useContext(a7), a = i[i.length - 1], o = a ? a.params : {};a && a.pathname;let s = a ? a.pathnameBase : "/";a && a.route;- let c = h7(), l;+ let c = d7(), l;if (t) {- let e = typeof t == "string" ? B5(t) : t;- R5(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;+ let e = typeof t == "string" ? I5(t) : t;+ P5(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;} else l = c;let u = l.pathname || "/", d = u;if (s !== "/") {@@ -78134,13 +78134,13 @@ function _7(e, t, n) {d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");}let f;- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : AGe(e, { pathname: d });- let p = TKe(f && f.map((e) => Object.assign({}, e, {+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : PGe(e, { pathname: d });+ let p = kKe(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),- pathname: Z5([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : Z5([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])+ pathname: q5([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : q5([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])})), i, n);- return t && p ? /* @__PURE__ */ B.createElement(c7.Provider, { value: {+ return t && p ? /* @__PURE__ */ B.createElement(i7.Provider, { value: {location: {pathname: "/",search: "",@@ -78153,14 +78153,14 @@ function _7(e, t, n) {navigationType: "POP"} }, p) : p;}-function bKe() {- let e = OKe(), t = eKe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;+function wKe() {+ let e = MKe(), t = iKe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;return /* @__PURE__ */ B.createElement(B.Fragment, null, /* @__PURE__ */ B.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ B.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ B.createElement("pre", { style: {padding: "0.5rem",backgroundColor: "rgba(200,200,200, 0.5)"} }, n) : null, null);}-var xKe = /* @__PURE__ */ B.createElement(bKe, null), SKe = class extends B.Component {+var TKe = /* @__PURE__ */ B.createElement(wKe, null), EKe = class extends B.Component {constructor(e) {super(e), this.state = {location: e.location,@@ -78168,7 +78168,7 @@ var xKe = /* @__PURE__ */ B.createElement(bKe, null), SKe = class extends B.Comperror: e.error};}- static contextType = lKe;+ static contextType = pKe;static getDerivedStateFromError(e) {return { error: e };}@@ -78189,30 +78189,30 @@ var xKe = /* @__PURE__ */ B.createElement(bKe, null), SKe = class extends B.Comprender() {let e = this.state.error;if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = gKe(e.digest);+ let t = bKe(e.digest);t && (e = t);}- let t = e === void 0 ? this.props.children : /* @__PURE__ */ B.createElement(l7.Provider, { value: this.props.routeContext }, /* @__PURE__ */ B.createElement(u7.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ B.createElement(d7.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ B.createElement(f7.Provider, {+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ B.createElement(a7.Provider, { value: this.props.routeContext }, /* @__PURE__ */ B.createElement(o7.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ B.createElement(s7.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ B.createElement(c7.Provider, {value: e,children: this.props.component}))));- return this.context ? /* @__PURE__ */ B.createElement(CKe, { error: e }, t) : t;+ return this.context ? /* @__PURE__ */ B.createElement(DKe, { error: e }, t) : t;}-}, v7 = /* @__PURE__ */ new WeakMap();-function CKe({ children: e, error: t }) {- let { basename: n, navigator: r } = B.useContext(s7);+}, m7 = /* @__PURE__ */ new WeakMap();+function DKe({ children: e, error: t }) {+ let { basename: n, navigator: r } = B.useContext(r7);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = hKe(t.digest);+ let e = yKe(t.digest);if (e) {- let i = v7.get(t);+ let i = m7.get(t);if (i) throw i;- let a = nKe(e.location, n), o = a.absoluteURL || a.to;- if (r7(e.location, o, t7(r), "allow-explicit"), oKe(o)) throw Error("Invalid redirect location");- if ($5 && !v7.get(t)) {+ let a = oKe(e.location, n), o = a.absoluteURL || a.to;+ if ($5(e.location, o, Z5(r), "allow-explicit"), uKe(o)) throw Error("Invalid redirect location");+ if (Y5 && !m7.get(t)) {if (a.isExternal || e.reloadDocument) window.location.href = o;else {let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));- throw v7.set(t, n), n;+ throw m7.set(t, n), n;}}return /* @__PURE__ */ B.createElement("meta", {@@ -78223,11 +78223,11 @@ function CKe({ children: e, error: t }) {}return e;}-function wKe({ routeContext: e, match: t, children: n }) {- let r = B.useContext(a7);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ B.createElement(l7.Provider, { value: e }, /* @__PURE__ */ B.createElement(u7.Provider, { value: e.isDataRoute }, /* @__PURE__ */ B.createElement(d7.Provider, { value: t.route.id }, n)));+function OKe({ routeContext: e, match: t, children: n }) {+ let r = B.useContext(t7);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ B.createElement(a7.Provider, { value: e }, /* @__PURE__ */ B.createElement(o7.Provider, { value: e.isDataRoute }, /* @__PURE__ */ B.createElement(s7.Provider, { value: t.route.id }, n)));}-function TKe(e, t = [], n) {+function kKe(e, t = [], n) {let r = n?.state;if (e == null) {if (!r) return null;@@ -78238,7 +78238,7 @@ function TKe(e, t = [], n) {let i = e, a = r?.errors;if (a != null) {let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);- R5(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));+ P5(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));}let o = !1, s = -1;if (n && r) {@@ -78258,16 +78258,16 @@ function TKe(e, t = [], n) {c(e, {location: r.location,params: r.matches?.[0]?.params ?? {},- pattern: tKe(r.matches),+ pattern: aKe(r.matches),errorInfo: t});} : void 0;return i.reduceRight((e, n, c) => {let u, d = !1, f = null, p = null;- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || xKe, o && (s < 0 && c === 0 ? (AKe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || TKe, o && (s < 0 && c === 0 ? (PKe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));let m = t.concat(i.slice(0, c + 1)), h = () => {let t;- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ B.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ B.createElement(wKe, {+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ B.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ B.createElement(OKe, {match: n,routeContext: {outlet: e,@@ -78277,7 +78277,7 @@ function TKe(e, t = [], n) {children: t});};- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ B.createElement(SKe, {+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ B.createElement(EKe, {location: r.location,revalidation: r.revalidation,component: f,@@ -78292,44 +78292,44 @@ function TKe(e, t = [], n) {}) : h();}, null);}-function y7(e) {+function h7(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}-function EKe(e) {- let t = B.useContext(a7);- return R5(t, y7(e)), t;+function AKe(e) {+ let t = B.useContext(t7);+ return P5(t, h7(e)), t;}-function DKe(e) {- let t = B.useContext(o7);- return R5(t, y7(e)), t;+function jKe(e) {+ let t = B.useContext(n7);+ return P5(t, h7(e)), t;}-function b7(e) {- let t = B.useContext(d7);- return R5(t, `${e} can only be used on routes that contain a unique "id"`), t;+function g7(e) {+ let t = B.useContext(s7);+ return P5(t, `${e} can only be used on routes that contain a unique "id"`), t;}-function OKe() {- let e = B.useContext(f7), t = DKe("useRouteError"), n = b7("useRouteError");+function MKe() {+ let e = B.useContext(c7), t = jKe("useRouteError"), n = g7("useRouteError");return e === void 0 ? t.errors?.[n] : e;}-function kKe() {- let { router: e } = EKe("useNavigate"), t = b7("useNavigate"), n = B.useRef(!1);+function NKe() {+ let { router: e } = AKe("useNavigate"), t = g7("useNavigate"), n = B.useRef(!1);return B.useLayoutEffect(() => {n.current = !0;}), B.useCallback(async (r, i = {}) => {- z5(n.current, g7), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ F5(n.current, f7), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {fromRouteId: t,...i}));}, [e, t]);}-var x7 = {};-function AKe(e, t, n) {- !t && !x7[e] && (x7[e] = !0, z5(!1, n));+var _7 = {};+function PKe(e, t, n) {+ !t && !_7[e] && (_7[e] = !0, F5(!1, n));}-B.memo(jKe);-function jKe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = B.useContext(a7);- return R5(a, "You must render this element inside a <DataRouterContext.Provider> element"), _7(e, void 0, {+B.memo(FKe);+function FKe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+ let a = B.useContext(t7);+ return P5(a, "You must render this element inside a <DataRouterContext.Provider> element"), p7(e, void 0, {router: a.router,manifest: t,state: n,@@ -78337,11 +78337,11 @@ function jKe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {onError: i});}-function S7(e) {- R5(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");+function v7(e) {+ P5(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");}-function MKe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- R5(!m7(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");+function IKe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+ P5(!u7(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = B.useMemo(() => ({basename: s,navigator: i,@@ -78354,9 +78354,9 @@ function MKe({ basename: e = "/", children: t = null, location: n, navigationTypa,o]);- typeof n == "string" && (n = B5(n));+ typeof n == "string" && (n = I5(n));let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = B.useMemo(() => {- let e = q5(l, s);+ let e = U5(l, s);return e == null ? null : {location: {pathname: e,@@ -78378,27 +78378,27 @@ function MKe({ basename: e = "/", children: t = null, location: n, navigationTypr,m]);- return z5(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ B.createElement(s7.Provider, { value: c }, /* @__PURE__ */ B.createElement(c7.Provider, {+ return F5(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ B.createElement(r7.Provider, { value: c }, /* @__PURE__ */ B.createElement(i7.Provider, {children: t,value: h}));}-function C7({ children: e, location: t }) {- return yKe(w7(e), t);+function y7({ children: e, location: t }) {+ return CKe(b7(e), t);}B.Component;-function w7(e, t = []) {+function b7(e, t = []) {let n = [];return B.Children.forEach(e, (e, r) => {if (!B.isValidElement(e)) return;let i = [...t, r];if (e.type === B.Fragment) {- n.push.apply(n, w7(e.props.children, i));+ n.push.apply(n, b7(e.props.children, i));return;}- R5(e.type === S7, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);+ P5(e.type === v7, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let a = e.props;- R5(!a.index || !a.children, "An index route cannot have child routes.");+ P5(!a.index || !a.children, "An index route cannot have child routes.");let o = {id: a.id || i.join("-"),caseSensitive: a.caseSensitive,@@ -78417,22 +78417,22 @@ function w7(e, t = []) {handle: a.handle,lazy: a.lazy};- a.children && (o.children = w7(a.children, i)), n.push(o);+ a.children && (o.children = b7(a.children, i)), n.push(o);}), n;}//#endregion//#region src/react/providers.tsx-var T7 = null;-function NKe() {- return T7?.isConnected || (T7 = document.createElement("div"), T7.className = "peach-react", T7.dataset.reactOverlays = "", document.body.append(T7)), T7;+var x7 = null;+function LKe() {+ return x7?.isConnected || (x7 = document.createElement("div"), x7.className = "peach-react", x7.dataset.reactOverlays = "", document.body.append(x7)), x7;}-function E7({ children: e }) {- return /* @__PURE__ */ (0, V.jsx)(uS, {+function S7({ children: e }) {+ return /* @__PURE__ */ (0, V.jsx)(lS, {client: z,children: /* @__PURE__ */ (0, V.jsx)(rd, {reducedMotion: "user",children: /* @__PURE__ */ (0, V.jsx)(Qv, {- getContainer: NKe,+ getContainer: LKe,children: e})})@@ -78440,12 +78440,12 @@ function E7({ children: e }) {}//#endregion//#region src/react/router/router.tsx-var D7 = (0, B.createContext)(0), O7 = (0, B.createContext)(null);-function PKe({ children: e }) {+var C7 = (0, B.createContext)(0), w7 = (0, B.createContext)(null);+function RKe({ children: e }) {let [t, n] = (0, B.useState)(() => ft.navigation);- return (0, B.useLayoutEffect)(() => (n(ft.navigation), ft.listen(n)), []), /* @__PURE__ */ (0, V.jsx)(D7.Provider, {+ return (0, B.useLayoutEffect)(() => (n(ft.navigation), ft.listen(n)), []), /* @__PURE__ */ (0, V.jsx)(C7.Provider, {value: t.seq,- children: /* @__PURE__ */ (0, V.jsx)(MKe, {+ children: /* @__PURE__ */ (0, V.jsx)(IKe, {location: t.location,navigationType: t.action,navigator: ft,@@ -78453,44 +78453,44 @@ function PKe({ children: e }) {})});}-function FKe() {- let e = (0, B.useContext)(D7);+function zKe() {+ let e = (0, B.useContext)(C7);return (0, B.useLayoutEffect)(() => {queueMicrotask(() => pt(e));}, [e]), null;}-function IKe({ target: e }) {- let t = _Ke();+function BKe({ target: e }) {+ let t = xKe();return (0, B.useLayoutEffect)(() => {e.current = t;}), null;}-function LKe(e, t, n) {+function VKe(e, t, n) {let r = new URL(e, window.location.href);- if (!C5(r.pathname)) {+ if (!y5(r.pathname)) {t.navigate(e);return;}n(`${r.pathname}${r.search}${r.hash}`);}-function RKe() {- let e = (0, B.useContext)(O7), [t, n] = (0, B.useState)(dt), r = (0, B.useRef)(null);+function HKe() {+ let e = (0, B.useContext)(w7), [t, n] = (0, B.useState)(dt), r = (0, B.useRef)(null);(0, B.useLayoutEffect)(() => (n(dt()), ut((e, t) => {t ? (0, $f.flushSync)(() => n(e)) : n(e);})), []);let i = (0, B.useMemo)(() => (t) => {- e && r.current && LKe(t, e, r.current);+ e && r.current && VKe(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(IKe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, V.jsx)(zKe, {+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(BKe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, V.jsx)(UKe, {entry: t,- children: /* @__PURE__ */ (0, V.jsx)(BKe, {+ children: /* @__PURE__ */ (0, V.jsx)(WKe, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var zKe = class extends B.Component {+var UKe = class extends B.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };@@ -78501,67 +78501,67 @@ var zKe = class extends B.Component {render() {return this.state.failed ? null : this.props.children;}-}, BKe = (0, B.memo)(function({ entry: e, actions: t, go: n }) {- return I5(e.path) ? (0, $f.createPortal)(TGe(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, WKe = (0, B.memo)(function({ entry: e, actions: t, go: n }) {+ return M5(e.path) ? (0, $f.createPortal)(kGe(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function VKe({ children: e }) {- let t = h7(), n = ct(t.state);- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)(C7, {+function GKe({ children: e }) {+ let t = d7(), n = ct(t.state);+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)(y7, {location: n ?? t,children: [- CGe.map((e) => /* @__PURE__ */ (0, V.jsx)(S7, {+ DGe.map((e) => /* @__PURE__ */ (0, V.jsx)(v7, {path: e,element: null}, e)),- /* @__PURE__ */ (0, V.jsx)(S7, {+ /* @__PURE__ */ (0, V.jsx)(v7, {path: "/resource-sync",element: null}),- /* @__PURE__ */ (0, V.jsx)(S7, {+ /* @__PURE__ */ (0, V.jsx)(v7, {path: "*",element: e})]- }), /* @__PURE__ */ (0, V.jsxs)(C7, { children: [st.map((e) => /* @__PURE__ */ (0, V.jsx)(S7, {+ }), /* @__PURE__ */ (0, V.jsxs)(y7, { children: [st.map((e) => /* @__PURE__ */ (0, V.jsx)(v7, {path: e,element: null- }, e)), /* @__PURE__ */ (0, V.jsx)(S7, {+ }, e)), /* @__PURE__ */ (0, V.jsx)(v7, {path: "*",element: null})] })] });}-function HKe({ children: e, actions: t = null }) {- return /* @__PURE__ */ (0, V.jsx)(E7, { children: /* @__PURE__ */ (0, V.jsx)(O7.Provider, {+function KKe({ children: e, actions: t = null }) {+ return /* @__PURE__ */ (0, V.jsx)(S7, { children: /* @__PURE__ */ (0, V.jsx)(w7.Provider, {value: t,- children: /* @__PURE__ */ (0, V.jsxs)(PKe, { children: [- /* @__PURE__ */ (0, V.jsx)(FKe, {}),- /* @__PURE__ */ (0, V.jsx)(RKe, {}),- /* @__PURE__ */ (0, V.jsx)(VKe, { children: e })+ children: /* @__PURE__ */ (0, V.jsxs)(RKe, { children: [+ /* @__PURE__ */ (0, V.jsx)(zKe, {}),+ /* @__PURE__ */ (0, V.jsx)(HKe, {}),+ /* @__PURE__ */ (0, V.jsx)(GKe, { children: e })] })}) });}-var UKe = { onCaughtError: (e) => {+var qKe = { onCaughtError: (e) => {globalThis.reportError?.(e);-} }, k7 = null;-function WKe(e) {- if (k7) return;- k7 = (0, ON.createRoot)(document.createElement("div"), UKe);- let t = k7;- (0, $f.flushSync)(() => t.render(/* @__PURE__ */ (0, V.jsx)(HKe, { actions: e })));+} }, T7 = null;+function JKe(e) {+ if (T7) return;+ T7 = (0, DN.createRoot)(document.createElement("div"), qKe);+ let t = T7;+ (0, $f.flushSync)(() => t.render(/* @__PURE__ */ (0, V.jsx)(KKe, { actions: e })));}//#endregion//#region src/board-skeleton.ts-var A7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, GKe = () => `${A7("80%")}${A7("48%")}`, KKe = (e, t) => e.repeat(t);-function qKe() {- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${A7("85%")}${A7("65%")}${KKe(GKe(), 4)}</div></aside></div>`;+var E7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, YKe = () => `${E7("80%")}${E7("48%")}`, XKe = (e, t) => e.repeat(t);+function ZKe() {+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${E7("85%")}${E7("65%")}${XKe(YKe(), 4)}</div></aside></div>`;}//#endregion//#region src/react/follow-detail/follow-detail.ts-var j7 = (e) => ["follow-item", e], JKe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, YKe = "/api/follow/save", XKe = "/api/follow/media/hide";-async function M7(e, t) {- let n = await G(JKe(e), t);+var D7 = (e) => ["follow-item", e], QKe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, $Ke = "/api/follow/save", eqe = "/api/follow/media/hide";+async function O7(e, t) {+ let n = await G(QKe(e), t);for (let t of n.groups || []) {- let r = OF(t).find((t) => t.id === e);+ let r = DF(t).find((t) => t.id === e);if (r) return {item: r,group: t,@@ -78571,21 +78571,21 @@ async function M7(e, t) {}throw Error("这条关注内容已不存在");}-async function ZKe(e, t) {- let n = j7(e.id), r = ahe(e.id), i = z.getQueryData(wF) ? null : z.fetchQuery({- queryKey: wF,- queryFn: () => TF(t)+async function k7(e, t) {+ let n = D7(e.id), r = ohe(e.id), i = z.getQueryData(CF) ? null : z.fetchQuery({+ queryKey: CF,+ queryFn: () => wF(t)});r ? z.setQueryData(n, {...r,item: r.item}) : await z.fetchQuery({queryKey: n,- queryFn: () => M7(e.id, t)+ queryFn: () => O7(e.id, t)}), await i;}-function QKe(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 && NF(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);+function tqe(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 && MF(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);return {embedded: i,selected: s,@@ -78599,32 +78599,32 @@ function QKe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var $Ke = (e) => OF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), eqe = {+var nqe = (e) => DF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), rqe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, tqe = {+}, iqe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function nqe(e) {+function aqe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return eqe[t] || t;+ return rqe[t] || t;} catch {return "外部文件页";}}-function N7(e, t) {- return tqe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function A7(e, t) {+ return iqe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function rqe(e, t, n = "") {+function oqe(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;@@ -78633,56 +78633,56 @@ function rqe(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var iqe = (e) => String(e.name || "").trim(), P7 = (e, t) => e.tag_types?.[t] || "unknown", aqe = /* @__PURE__ */ new Set([+var sqe = (e) => String(e.name || "").trim(), j7 = (e, t) => e.tag_types?.[t] || "unknown", cqe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function oqe(e, t) {- let n = P7(e, t);- return `r34-${aqe.has(n) ? n : "general"}`;+function lqe(e, t) {+ let n = j7(e, t);+ return `r34-${cqe.has(n) ? n : "general"}`;}-var F7 = [+var M7 = ["copyright","character","artist","general","metadata"];-function sqe(e, t) {+function uqe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = F7.indexOf(P7(e, t));- return n < 0 ? F7.length : n;+ let n = M7.indexOf(j7(e, t));+ return n < 0 ? M7.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function cqe(e, t) {+function dqe(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 lqe = (e, t) => ({+var fqe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), I7 = (e) => e?.size ? { size: e.size } : {};-function uqe(e, t) {+}), N7 = (e) => e?.size ? { size: e.size } : {};+function pqe(e, t) {let { images: n, kind: r, src: i, selected: a } = t;return n.length ? n.map((t, r) => ({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: N7(t, e),- ...I7(t),+ source: A7(t, e),+ ...N7(t),position: r + 1,total: n.length})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: N7(a, e),- ...I7(a),+ source: A7(a, e),+ ...N7(a),position: 1,total: 1}] : e.thumb_url ? [{@@ -78694,11 +78694,19 @@ function uqe(e, t) {total: 1}] : [];}-var dqe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";+var mqe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";//#endregion//#region src/react/components/mix-queue.tsx-function L7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {- return /* @__PURE__ */ (0, V.jsxs)("aside", {+function P7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+ let c = (0, B.useRef)(null), l = (0, B.useCallback)((e) => {+ c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);+ }, [a]);+ return (0, B.useLayoutEffect)(() => {+ let e = c.current, t = e?.querySelector("[data-mix-item][aria-current=\"true\"]");+ if (!e || !t) return;+ let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();+ (r.top < n.top || r.bottom > n.bottom) && (e.scrollTop += r.top - n.top - (n.height - r.height) / 2), (r.left < n.left || r.right > n.right) && (e.scrollLeft += r.left - n.left - (n.width - r.width) / 2);+ }, []), /* @__PURE__ */ (0, V.jsxs)("aside", {"data-mix-queue": "","data-queue-kind": e,...s,@@ -78720,12 +78728,12 @@ function L7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]}), /* @__PURE__ */ (0, V.jsx)("div", {"data-mix-list": "",- ref: a,+ ref: l,children: o})]});}-function R7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function F7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, V.jsx)("span", {"data-mix-item-text": "",children: a@@ -78748,29 +78756,29 @@ function R7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var fqe = ({ label: e, count: t }) => /* @__PURE__ */ (0, V.jsxs)("h3", {+var hqe = ({ label: e, count: t }) => /* @__PURE__ */ (0, V.jsxs)("h3", {"data-mix-group-label": "",children: [e," ",/* @__PURE__ */ (0, V.jsx)("span", { children: t })]-}), z7 = (e) => Number(e) > 0, pqe = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("span", {+}), I7 = (e) => Number(e) > 0, gqe = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), B7 = R("external-link", "externalmark");-function mqe(e) {- let { id: t, actions: n } = e, r = TS({- queryKey: j7(t),- queryFn: ({ signal: e }) => M7(t, e)- }), i = TS({- queryKey: wF,- queryFn: ({ signal: e }) => TF(e)+}), L7 = R("external-link", "externalmark");+function _qe(e) {+ let { id: t, actions: n } = e, r = wS({+ queryKey: D7(t),+ queryFn: ({ signal: e }) => O7(t, e)+ }), i = wS({+ queryKey: CF,+ queryFn: ({ signal: e }) => wF(e)}), a = (0, B.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, B.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, V.jsx)(hqe, {+ return r.data ? /* @__PURE__ */ (0, V.jsx)(vqe, {...e,data: r.data,- context: lqe(r.data, a),+ context: fqe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, V.jsx)("div", {@@ -78779,9 +78787,9 @@ function mqe(e) {children: /* @__PURE__ */ (0, V.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, V.jsx)(V7, { onClose: n.close }), /* @__PURE__ */ (0, V.jsx)("div", {+ children: [/* @__PURE__ */ (0, V.jsx)(R7, { onClose: n.close }), /* @__PURE__ */ (0, V.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? /* @__PURE__ */ (0, V.jsx)(mA, {+ children: r.isError ? /* @__PURE__ */ (0, V.jsx)(pA, {message: ye(r.error),onRetry: () => void r.refetch()}) : null@@ -78789,7 +78797,7 @@ function mqe(e) {})});}-var V7 = ({ onClose: e }) => /* @__PURE__ */ (0, V.jsx)("button", {+var R7 = ({ onClose: e }) => /* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -78798,8 +78806,8 @@ var V7 = ({ onClose: e }) => /* @__PURE__ */ (0, V.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function hqe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {- let { item: s, group: c } = e, l = QKe(s, c, n, i), u = yqe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, B.useState)({+function vqe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {+ let { item: s, group: c } = e, l = tqe(s, c, n, i), u = Sqe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, B.useState)({key: "",kind: ""}), m = {@@ -78819,20 +78827,20 @@ function hqe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hels,l.kind]);- let h = !l.embedded.length && l.collection ? $Ke(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, V.jsx)(G7, {+ let h = !l.embedded.length && l.collection ? nqe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, V.jsx)(H7, {item: s,current: l.selected.index,helpers: a,actions: o,onMedia: r- }) : l.collection ? h ? /* @__PURE__ */ (0, V.jsx)(G7, {+ }) : l.collection ? h ? /* @__PURE__ */ (0, V.jsx)(H7, {item: h,current: null,helpers: a,actions: o,onMedia: r,currentId: s.id- }) : /* @__PURE__ */ (0, V.jsx)(_qe, {+ }) : /* @__PURE__ */ (0, V.jsx)(bqe, {group: l.collection,itemId: s.id,helpers: a,@@ -78843,7 +78851,7 @@ function hqe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel"data-with-queue": g ? "" : void 0,"data-follow-detail": "",children: [- /* @__PURE__ */ (0, V.jsx)(gqe, {+ /* @__PURE__ */ (0, V.jsx)(yqe, {item: s,media: l,helpers: a,@@ -78852,7 +78860,7 @@ function hqe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helissues: m}, d),g,- /* @__PURE__ */ (0, V.jsx)(vqe, {+ /* @__PURE__ */ (0, V.jsx)(xqe, {item: s,data: e,context: t,@@ -78865,8 +78873,8 @@ function hqe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel]});}-function gqe({ 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, B.useRef)(null), [p, m] = (0, B.useState)(null), h = uqe(e, t), g = o?.thumb_url || e.thumb_url || "", _ = e.playable && a === "video", v = e.playable && a === "image" ? s : e.thumb_url || "", y = e.playable && a === "image" && g && g !== s ? g : "", [b, x] = (0, B.useState)(v), S = (0, B.useRef)({+function yqe({ 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, B.useRef)(null), [p, m] = (0, B.useState)(null), h = pqe(e, t), g = o?.thumb_url || e.thumb_url || "", _ = e.playable && a === "video", v = e.playable && a === "image" ? s : e.thumb_url || "", y = e.playable && a === "image" && g && g !== s ? g : "", [b, x] = (0, B.useState)(v), S = (0, B.useRef)({item: e,selected: o}), C = (0, B.useRef)(i.failed);@@ -78896,14 +78904,14 @@ function gqe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"--follow-image-arrow-inset": p === null ? void 0 : `${p}px`},children: [- /* @__PURE__ */ (0, V.jsx)(V7, { onClose: n.close }),+ /* @__PURE__ */ (0, V.jsx)(R7, { onClose: n.close }),_ ? null : v ? /* @__PURE__ */ (0, V.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": h.length ? "" : void 0,src: b,alt: e.title,referrerPolicy: "no-referrer",- onClick: h.length ? () => void PN(Math.max(0, l), h) : void 0,+ onClick: h.length ? () => void NN(Math.max(0, l), h) : void 0,onError: () => {if (y && b !== y) {x(y), i.thumbFallback();@@ -78915,7 +78923,7 @@ function gqe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, V.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: zF(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: RF(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, V.jsx)("span", { children: "没有可用预览" })]}),u ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [@@ -78954,11 +78962,11 @@ function gqe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var H7 = ({ kind: e }) => /* @__PURE__ */ (0, V.jsx)("span", {+var z7 = ({ kind: e }) => /* @__PURE__ */ (0, V.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }});-function U7({ src: e }) {+function B7({ src: e }) {let [t, n] = (0, B.useState)(!1);return t ? null : /* @__PURE__ */ (0, V.jsx)("img", {src: e,@@ -78968,14 +78976,14 @@ function U7({ src: e }) {onError: () => n(!0)});}-function W7(e) {+function V7(e) {return (0, B.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function _qe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = NF(e), a = W7(n);- return /* @__PURE__ */ (0, V.jsx)(L7, {+function bqe({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = MF(e), a = V7(n);+ return /* @__PURE__ */ (0, V.jsx)(P7, {kind: "collection","data-follow-queue": "",title: "视频合集",@@ -78983,12 +78991,12 @@ function _qe({ group: e, itemId: t, helpers: n, actions: r }) {listRef: a,summary: `${e.primary.title || "未命名合集"} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = rqe(e, n, i ? n.provider_label : ""), o = i ? zF(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, V.jsxs)(R7, {+ let i = e.duplicates.includes(n), a = oqe(e, n, i ? n.provider_label : ""), o = i ? RF(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, V.jsxs)(F7, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, V.jsx)(U7, { src: n.thumb_url }) : /* @__PURE__ */ (0, V.jsx)(H7, { kind: "video" }), z7(n.duration) ? /* @__PURE__ */ (0, V.jsx)("i", {+ pic: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, V.jsx)(B7, { src: n.thumb_url }) : /* @__PURE__ */ (0, V.jsx)(z7, { kind: "video" }), I7(n.duration) ? /* @__PURE__ */ (0, V.jsx)("i", {className: "mono","data-mix-item-duration": "",children: fe(n.duration)@@ -79006,15 +79014,15 @@ function _qe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, V.jsx)("time", {dateTime: n.published_at || "",- children: KF(n)+ children: GF(n)})]})]}, n.id);})});}-function G7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = W7(r), c = [];+function H7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = V7(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -79024,26 +79032,26 @@ function G7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, c.push(n)), n.items.push(e);});let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);- return /* @__PURE__ */ (0, V.jsx)(L7, {+ return /* @__PURE__ */ (0, V.jsx)(P7, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,summary: `${e.title || "未命名内容"} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, V.jsx)(fqe, {+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, V.jsx)(hqe, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, V.jsxs)(R7, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, V.jsxs)(F7, {current: n.index === t,"data-follow-media-owner": e.id,"data-follow-media-item": n.index,"data-media-kind": n.media_kind || "",onClick: () => l(n),- pic: n.thumb_url ? /* @__PURE__ */ (0, V.jsx)(U7, { src: n.thumb_url }) : /* @__PURE__ */ (0, V.jsx)(H7, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, V.jsx)(B7, { src: n.thumb_url }) : /* @__PURE__ */ (0, V.jsx)(z7, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, V.jsx)("b", {"data-middle-truncate": "",- children: iqe(n)+ children: sqe(n)}), /* @__PURE__ */ (0, V.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -79051,13 +79059,13 @@ function G7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function vqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function xqe({ 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 = WF(d, e), p = HF(e, cqe(e, t.sources), n), m = p.credited ? "" : e.author && me(e.author) !== me(p.author) ? e.author : "", h = GF(e, n), g = sqe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {+ }, f = UF(d, e), p = VF(e, dqe(e, t.sources), n), m = p.credited ? "" : e.author && me(e.author) !== me(p.author) ? e.author : "", h = WF(e, n), g = uqe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -79073,7 +79081,7 @@ function vqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-title": "","data-follow-detail-name": "","data-reveal-line": "",- dangerouslySetInnerHTML: { __html: UF(d, e) + L(e.title) }+ dangerouslySetInnerHTML: { __html: HF(d, e) + L(e.title) }}), e.url ? /* @__PURE__ */ (0, V.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -79081,7 +79089,7 @@ function vqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: B7 }+ dangerouslySetInnerHTML: { __html: L7 }}) : null]}),/* @__PURE__ */ (0, V.jsxs)("div", {@@ -79100,8 +79108,8 @@ function vqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, V.jsx)("span", { children: KF(e) }),- z7(e.duration) ? /* @__PURE__ */ (0, V.jsx)("span", { children: fe(e.duration) }) : null,+ /* @__PURE__ */ (0, V.jsx)("span", { children: GF(e) }),+ I7(e.duration) ? /* @__PURE__ */ (0, V.jsx)("span", { children: fe(e.duration) }) : null,f ? /* @__PURE__ */ (0, V.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -79134,9 +79142,9 @@ function vqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [nqe(e), /* @__PURE__ */ (0, V.jsx)("span", {+ children: [aqe(e), /* @__PURE__ */ (0, V.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: B7 }+ dangerouslySetInnerHTML: { __html: L7 }})]}, e))}) : null,@@ -79235,7 +79243,7 @@ function vqe({ 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, V.jsx)(U7, { src: e.thumb_url }) : /* @__PURE__ */ (0, V.jsx)(pqe, { name: "image-off" }), /* @__PURE__ */ (0, V.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, V.jsx)(B7, { src: e.thumb_url }) : /* @__PURE__ */ (0, V.jsx)(gqe, { name: "image-off" }), /* @__PURE__ */ (0, V.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]}, e.index))})]}) : null,@@ -79249,7 +79257,7 @@ function vqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-follow-detail-tags": "",children: g.map((t) => /* @__PURE__ */ (0, V.jsx)("button", {type: "button",- "data-tag-cat": oqe(e, t),+ "data-tag-cat": lqe(e, t),"data-follow-tag": t,onClick: () => s.openTag(t),children: o.tagLabel(t)@@ -79259,8 +79267,8 @@ function vqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function yqe(e, t, n) {- let r = e.id, i = j7(r), [a, o] = (0, B.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, B.useState)(""), l = (e, t) => o((n) => {+function Sqe(e, t, n) {+ let r = e.id, i = D7(r), [a, o] = (0, B.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, B.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {@@ -79270,17 +79278,17 @@ function yqe(e, t, n) {...t.item,status: e}- }), she(r, e);+ }), che(r, e);}, d = (e) => {c(ye(e) || "操作失败"), t.failure("更新关注状态", e);- }, f = OS({- mutationFn: ({ to: e }) => K(LP, {+ }, f = DS({+ mutationFn: ({ to: e }) => K(IP, {item: r,to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && hL(), t.toast(dqe(n), { undo: i === "saved" ? void 0 : async () => {- await K(LP, {+ u(n), c(""), n === "ignored" && mL(), t.toast(mqe(n), { undo: i === "saved" ? void 0 : async () => {+ await K(IP, {item: r,to: i}), u(i);@@ -79288,16 +79296,16 @@ function yqe(e, t, n) {},onError: d,onSettled: (e, t, { to: n }) => l(n, !1)- }), p = OS({- mutationFn: () => K(YKe, { item: r }),+ }), p = DS({+ mutationFn: () => K($Ke, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到账本");},onError: d,onSettled: () => l("save", !1)- }), m = OS({+ }), m = DS({mutationFn: async ({ index: e, hidden: t }) => {- await K(XKe, {+ await K(eqe, {item: r,media: e,hidden: t@@ -79308,17 +79316,17 @@ function yqe(e, t, n) {},onSuccess: (e, { hidden: r, next: a }) => {let o = z.getQueryData(i);- o && ohe(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");+ o && she(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");},onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)- }), h = TS({- queryKey: g_e(r),- queryFn: ({ signal: e }) => y_e(r, e)- }).data?.want ?? null, g = OS({- mutationFn: async (e) => (e ? await mL([e.id]) : await pL({ follow: r }), !e),+ }), h = wS({+ queryKey: __e(r),+ queryFn: ({ signal: e }) => b_e(r, e)+ }).data?.want ?? null, g = DS({+ mutationFn: async (e) => (e ? await pL([e.id]) : await fL({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), hL();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), mL();},onError: d,onSettled: () => l("want", !1)@@ -79358,25 +79366,25 @@ function yqe(e, t, n) {}//#endregion//#region src/react/components/overlay-host.ts-function bqe(e) {+function Cqe(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 xqe(e) {+function wqe(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return bqe(n ?? t.body);+ return Cqe(n ?? t.body);}//#endregion//#region src/react/cover-crop/cover-crop.ts-var Sqe = "/api/cover-crop", Cqe = (e, t) => K(Sqe, {+var Tqe = "/api/cover-crop", Eqe = (e, t) => K(Tqe, {code: e,box: t});//#endregion//#region src/react/cover-crop/cover-crop-page.tsx-function K7({ className: e }) {+function U7({ className: e }) {return /* @__PURE__ */ (0, V.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -79389,7 +79397,7 @@ function K7({ className: e }) {children: /* @__PURE__ */ (0, V.jsx)("use", { href: "#i-crop" })});}-function wqe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function Dqe({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, B.useState)(!1), o = (0, B.useRef)(null);return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("button", {ref: o,@@ -79400,15 +79408,15 @@ function wqe({ 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, V.jsx)(K7, { className: "size-3.75" })+ children: /* @__PURE__ */ (0, V.jsx)(U7, { className: "size-3.75" })}), /* @__PURE__ */ (0, V.jsx)(Qv, {- getContainer: () => xqe(o.current),- children: /* @__PURE__ */ (0, V.jsx)(JN, {+ getContainer: () => wqe(o.current),+ children: /* @__PURE__ */ (0, V.jsx)(qN, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, V.jsx)(Tqe, {+ children: /* @__PURE__ */ (0, V.jsx)(Oqe, {code: e,coverUrl: t,box: n,@@ -79418,9 +79426,9 @@ function wqe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function Tqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, B.useState)(null), [s, c] = (0, B.useState)(null), [l, u] = (0, B.useState)(!0), d = gM(), f = OS({- mutationFn: (t) => Cqe(e, t),+function Oqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, B.useState)(null), [s, c] = (0, B.useState)(null), [l, u] = (0, B.useState)(!0), d = hM(), f = DS({+ mutationFn: (t) => Eqe(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -79432,15 +79440,15 @@ function Tqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : upe(e, kC);- c(WN(t, e, null));+ } : dpe(e, OC);+ c(UN(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, V.jsx)(YN, { children: /* @__PURE__ */ (0, V.jsx)(K7, { className: "size-6" }) }),+ /* @__PURE__ */ (0, V.jsx)(JN, { children: /* @__PURE__ */ (0, V.jsx)(U7, { className: "size-6" }) }),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [@@ -79459,7 +79467,7 @@ function Tqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, V.jsx)(vM, {+ /* @__PURE__ */ (0, V.jsx)(_M, {icon: dT,size: "small","aria-label": "关闭",@@ -79470,24 +79478,24 @@ function Tqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, V.jsx)("div", {ref: d,className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",- children: /* @__PURE__ */ (0, V.jsx)(ZN, {+ children: /* @__PURE__ */ (0, V.jsx)(XN, {src: t,- aspect: l ? kC : null,+ aspect: l ? OC : null,box: s,size: a,label: `${e} 的正封取景框`,onSize: (e) => {- HN(e) && p(e);+ VN(e) && p(e);},onBox: c})}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, V.jsx)(QI, {+ children: [/* @__PURE__ */ (0, V.jsx)(ZI, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(WN(s, a, kC));+ u(e), e && s && a && c(UN(s, a, OC));},children: /* @__PURE__ */ (0, V.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -79516,21 +79524,21 @@ function Tqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}//#endregion//#region src/react/item-detail/item-detail-page.tsx-var q7 = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("span", {+var W7 = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), J7 = ({ html: e }) => /* @__PURE__ */ (0, V.jsx)("span", {+}), G7 = ({ html: e }) => /* @__PURE__ */ (0, V.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }});-function Eqe(e) {- let { queue: t, actions: n } = e, r = TS({- queryKey: t ? IC(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => GC(t, e.helpers, n),+function kqe(e) {+ let { queue: t, actions: n } = e, r = wS({+ queryKey: t ? FC(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => WC(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? JC(i, e.id) : t ? null : e.id, o = TS({- queryKey: FC(a ?? 0),- queryFn: ({ signal: e }) => WC(a, e),+ }), i = t && r.data || null, a = i ? qC(i, e.id) : t ? null : e.id, o = wS({+ queryKey: PC(a ?? 0),+ queryFn: ({ signal: e }) => UC(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -79541,9 +79549,9 @@ function Eqe(e) {children: /* @__PURE__ */ (0, V.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, V.jsx)(Y7, { onClose: n.close }), /* @__PURE__ */ (0, V.jsx)("div", {+ children: [/* @__PURE__ */ (0, V.jsx)(K7, { onClose: n.close }), /* @__PURE__ */ (0, V.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, V.jsx)(mA, {+ children: e ? /* @__PURE__ */ (0, V.jsx)(pA, {message: ye(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -79553,13 +79561,13 @@ function Eqe(e) {})});}- return /* @__PURE__ */ (0, V.jsx)(Dqe, {+ return /* @__PURE__ */ (0, V.jsx)(Aqe, {...e,- item: Vre(o.data, i),+ item: Hre(o.data, i),queue: i}, o.data.id);}-var Y7 = ({ onClose: e }) => /* @__PURE__ */ (0, V.jsx)("button", {+var K7 = ({ onClose: e }) => /* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -79568,12 +79576,12 @@ var Y7 = ({ onClose: e }) => /* @__PURE__ */ (0, V.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function Dqe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = Uqe(t, r, i.tagLabel), o = (0, B.useRef)(t);+function Aqe(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = Kqe(t, r, i.tagLabel), o = (0, B.useRef)(t);(0, B.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, B.useEffect)(() => {- n?.kind === "playlist" && K(LC, {+ n?.kind === "playlist" && K(IC, {action: "progress",id: n.playlistId,asset_id: t.id@@ -79585,19 +79593,19 @@ function Dqe(e) {"data-with-queue": n ? "" : void 0,"data-item-detail": "",children: [- /* @__PURE__ */ (0, V.jsx)(Oqe, {+ /* @__PURE__ */ (0, V.jsx)(jqe, {item: t,gate: s,helpers: i,actions: r}),- n ? /* @__PURE__ */ (0, V.jsx)(Aqe, {+ n ? /* @__PURE__ */ (0, V.jsx)(Nqe, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- /* @__PURE__ */ (0, V.jsx)(Nqe, {+ /* @__PURE__ */ (0, V.jsx)(Iqe, {item: t,queue: n,write: a,@@ -79605,9 +79613,9 @@ function Dqe(e) {actions: r})]- }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, V.jsx)(Hqe, { ...e }) : null] });+ }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, V.jsx)(Gqe, { ...e }) : null] });}-function Oqe({ item: e, gate: t, helpers: n, actions: r }) {+function jqe({ item: e, gate: t, helpers: n, actions: r }) {let [i, a] = (0, B.useState)(t ? "" : "auto"), o = (0, B.useRef)(null), s = (0, B.useRef)(e);(0, B.useLayoutEffect)(() => {let e = o.current;@@ -79618,7 +79626,7 @@ function Oqe({ item: e, gate: t, helpers: n, actions: r }) {ref: o,"data-stage-media": "","data-item-media": t || "video",- children: [/* @__PURE__ */ (0, V.jsx)(Y7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, V.jsx)(kqe, {+ children: [/* @__PURE__ */ (0, V.jsx)(K7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, V.jsx)(Mqe, {item: e,badge: c,helpers: n,@@ -79628,7 +79636,7 @@ function Oqe({ item: e, gate: t, helpers: n, actions: r }) {role: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, V.jsx)(J7, { html: c }),+ /* @__PURE__ */ (0, V.jsx)(G7, { html: c }),/* @__PURE__ */ (0, V.jsx)("b", { children: "在线资产" }),/* @__PURE__ */ (0, V.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, V.jsx)("button", {@@ -79643,11 +79651,11 @@ function Oqe({ item: e, gate: t, helpers: n, actions: r }) {id: "gate","data-item-gate": "metered",onClick: () => a("clicked"),- children: [/* @__PURE__ */ (0, V.jsx)(J7, { html: c }), /* @__PURE__ */ (0, V.jsxs)("span", { children: ["点此开始拉流 · ", pe(e.size || 0)] })]+ children: [/* @__PURE__ */ (0, V.jsx)(G7, { html: c }), /* @__PURE__ */ (0, V.jsxs)("span", { children: ["点此开始拉流 · ", pe(e.size || 0)] })]}) : null]});}-function kqe({ item: e, badge: t, helpers: n, actions: r }) {+function Mqe({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, B.useState)(!1), [o, s] = (0, B.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -79658,7 +79666,7 @@ function kqe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, V.jsx)(J7, { html: t }),+ /* @__PURE__ */ (0, V.jsx)(G7, { html: t }),/* @__PURE__ */ (0, V.jsx)("b", { children: "脱盘模式" }),/* @__PURE__ */ (0, V.jsx)("span", { children: n.offlineReason(e.location || "") }),/* @__PURE__ */ (0, V.jsx)("button", {@@ -79672,8 +79680,8 @@ function kqe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function Aqe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Zre(e), a = (0, B.useRef)(null), o = Mqe(e, t, r), s = (0, B.useRef)(o);+function Nqe({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = Zre(e), a = (0, B.useRef)(null), o = Fqe(e, t, r), s = (0, B.useRef)(o);s.current = o;let c = (0, B.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -79681,7 +79689,7 @@ function Aqe({ 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 = jqe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, V.jsx)("button", {+ }, [n, e.kind]), l = Pqe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表",@@ -79700,7 +79708,7 @@ function Aqe({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, V.jsx)(L7, {+ return /* @__PURE__ */ (0, V.jsx)(P7, {kind: e.kind,title: i.title,summary: i.summary,@@ -79712,8 +79720,8 @@ function Aqe({ queue: e, itemId: t, helpers: n, actions: r }) {className: `javedition ${Yre[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && qC(i);- return /* @__PURE__ */ (0, V.jsxs)(R7, {+ }) : null, s = e.kind === "playlist" && KC(i);+ return /* @__PURE__ */ (0, V.jsxs)(F7, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -79723,25 +79731,25 @@ function Aqe({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(J7, { html: I(i, n.javImage()) }), /* @__PURE__ */ (0, V.jsx)("i", {+ pic: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(G7, { html: I(i, n.javImage()) }), /* @__PURE__ */ (0, V.jsx)("i", {className: "mono","data-mix-item-duration": "",children: fe(i.duration)})] }),- lead: /* @__PURE__ */ (0, V.jsx)(J7, { html: F(i) }),+ lead: /* @__PURE__ */ (0, V.jsx)(G7, { html: F(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, V.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, V.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, V.jsx)(q7, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "grip-vertical" })}), /* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, V.jsx)(q7, { name: "x" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, V.jsxs)("span", {@@ -79758,8 +79766,8 @@ function Aqe({ queue: e, itemId: t, helpers: n, actions: r }) {})});}-function jqe(e, t) {- let n = OS({ mutationFn: (t) => K(LC, {+function Pqe(e, t) {+ let n = DS({ mutationFn: (t) => K(IC, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -79772,14 +79780,14 @@ function jqe(e, t) {save: (e) => n.mutateAsync(e)});}-function Mqe(e, t, n) {- let r = IC({+function Fqe(e, t, n) {+ let r = FC({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (z.setQueryData(r, KC(e)), e), a = (t) => K(LC, {+ }), i = (e) => (z.setQueryData(r, GC(e)), e), a = (t) => K(IC, {id: e.playlistId,...t- }).then((e) => e.playlist), o = OS({+ }).then((e) => e.playlist), o = DS({mutationFn: (e) => a({action: "reorder",asset_ids: e@@ -79839,7 +79847,7 @@ function Mqe(e, t, n) {}};}-function Nqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function Iqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, B.useState)(!1);return /* @__PURE__ */ (0, V.jsx)("div", {"data-stage-side": "",@@ -79847,7 +79855,7 @@ function Nqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, V.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, V.jsx)(Pqe, {+ /* @__PURE__ */ (0, V.jsx)(Lqe, {item: e,queue: t,helpers: r,@@ -79859,7 +79867,7 @@ function Nqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, V.jsx)(Iqe, {+ /* @__PURE__ */ (0, V.jsx)(zqe, {item: e,write: n}),@@ -79870,7 +79878,7 @@ function Nqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [/* @__PURE__ */ (0, V.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, V.jsx)(q7, { name: "monitor" }), /* @__PURE__ */ (0, V.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, V.jsx)(W7, { name: "monitor" }), /* @__PURE__ */ (0, V.jsxs)("span", { children: [e.width || "?","×",e.height || "?"@@ -79878,11 +79886,11 @@ function Nqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}),/* @__PURE__ */ (0, V.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, V.jsx)(q7, { name: "hard-drive" }), /* @__PURE__ */ (0, V.jsx)("span", { children: pe(e.size || 0) })]+ children: [/* @__PURE__ */ (0, V.jsx)(W7, { name: "hard-drive" }), /* @__PURE__ */ (0, V.jsx)("span", { children: pe(e.size || 0) })]}),e.release_date ? /* @__PURE__ */ (0, V.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, V.jsx)(q7, { name: "calendar" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, V.jsx)(W7, { name: "calendar" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",@@ -79890,22 +79898,22 @@ function Nqe({ 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, V.jsx)(q7, { name: "globe" }), /* @__PURE__ */ (0, V.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, V.jsx)(W7, { name: "globe" }), /* @__PURE__ */ (0, V.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- /* @__PURE__ */ (0, V.jsx)(Lqe, {+ /* @__PURE__ */ (0, V.jsx)(Bqe, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, V.jsx)(Rqe, {+ /* @__PURE__ */ (0, V.jsx)(Vqe, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, V.jsx)(Bqe, { item: e }),+ /* @__PURE__ */ (0, V.jsx)(Uqe, { item: e }),/* @__PURE__ */ (0, V.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -79919,7 +79927,7 @@ function Nqe({ 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, V.jsx)(q7, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "thumbs-up" })}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button",@@ -79931,7 +79939,7 @@ function Nqe({ 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, V.jsx)(q7, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "notebook-pen" })}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button",@@ -79942,7 +79950,7 @@ function Nqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, V.jsx)(q7, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "thumbs-down" })}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button",@@ -79953,7 +79961,7 @@ function Nqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, V.jsx)(q7, { name: "eye" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "eye" })}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button",@@ -79964,7 +79972,7 @@ function Nqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, V.jsx)(q7, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button",@@ -79973,7 +79981,7 @@ function Nqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, V.jsx)(q7, { name: "playlist" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "playlist" })}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button",@@ -79984,7 +79992,7 @@ function Nqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, V.jsx)(q7, { name: "sparkles" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "sparkles" })}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button",@@ -79995,11 +80003,11 @@ function Nqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, V.jsx)(q7, { name: "trash" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "trash" })})]}),- /* @__PURE__ */ (0, V.jsx)(Vqe, {+ /* @__PURE__ */ (0, V.jsx)(Wqe, {item: e,open: s,write: n@@ -80010,7 +80018,7 @@ function Nqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, V.jsx)(q7, { name: "sperm" }),+ /* @__PURE__ */ (0, V.jsx)(W7, { name: "sperm" }),/* @__PURE__ */ (0, V.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, V.jsx)("b", {className: "mono",@@ -80023,7 +80031,7 @@ function Nqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function Pqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+function Lqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {let a = (0, B.useRef)(null), [o, s] = (0, B.useState)(!1), [c, l] = (0, B.useState)(!1);(0, B.useLayoutEffect)(() => {let e = a.current;@@ -80060,23 +80068,23 @@ function Pqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: u,- children: /* @__PURE__ */ (0, V.jsx)(q7, { name: o ? "chevron-up" : "chevron-down" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: o ? "chevron-up" : "chevron-down" })}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, V.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, V.jsx)(wqe, {+ children: /* @__PURE__ */ (0, V.jsx)(Dqe, {code: e.cover_key || e.code || "",coverUrl: D(e),box: e.poster_box || null,onSaved: (t) => {z.invalidateQueries({- queryKey: FC(e.id),+ queryKey: PC(e.id),exact: !0- }), PC((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), NC((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, V.jsx)(Fqe, {+ e.location === "online" ? null : /* @__PURE__ */ (0, V.jsx)(Rqe, {id: e.id,actions: r,onStatus: i@@ -80086,7 +80094,7 @@ function Pqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function Fqe({ id: e, actions: t, onStatus: n }) {+function Rqe({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, B.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -80116,10 +80124,10 @@ function Fqe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, V.jsx)(q7, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "folder-sync" })})] });}-function Iqe({ item: e, write: t }) {+function zqe({ item: e, write: t }) {let n = XC(e.rating);return /* @__PURE__ */ (0, V.jsxs)("div", {id: "detailRating",@@ -80143,7 +80151,7 @@ function Iqe({ item: e, write: t }) {"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,...t.busyAttrs(`rate:${e}`),onClick: () => t.rate(e),- children: /* @__PURE__ */ (0, V.jsx)(q7, { name: "star" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "star" })}, e))}), /* @__PURE__ */ (0, V.jsx)("span", {"data-rating-value": "",@@ -80152,7 +80160,7 @@ function Iqe({ item: e, write: t }) {})]});}-function Lqe({ item: e, actions: t }) {+function Bqe({ item: e, actions: t }) {let n = (0, B.useMemo)(() => Ure(e), [e]), [r, i] = (0, B.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r, o = e === "performer" ? /* @__PURE__ */ (0, V.jsx)("span", {"data-id-face": "",@@ -80216,7 +80224,7 @@ function Lqe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, V.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, V.jsx)(q7, { name: "user-round" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "user-round" })}), /* @__PURE__ */ (0, V.jsx)("span", {"data-id-name": "",children: "未归属"@@ -80262,18 +80270,18 @@ function Lqe({ item: e, actions: t }) {"data-entity-name": e.name,title: e.name,onClick: () => t.openEntity("series", e.name),- children: [/* @__PURE__ */ (0, V.jsx)(q7, { name: "tags" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e.name })]+ children: [/* @__PURE__ */ (0, V.jsx)(W7, { name: "tags" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e.name })]}, e.name) : /* @__PURE__ */ (0, V.jsxs)("span", {"data-series-link": "",title: e.name,- children: [/* @__PURE__ */ (0, V.jsx)(q7, { name: "tags" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e.name })]+ children: [/* @__PURE__ */ (0, V.jsx)(W7, { name: "tags" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e.name })]}, e.name))})]}) : null]});}-function Rqe({ item: e, write: t, helpers: n, actions: r }) {+function Vqe({ item: e, write: t, helpers: n, actions: r }) {let i = Kre(e, n);return /* @__PURE__ */ (0, V.jsxs)("div", {"data-stage-tags": "",@@ -80293,16 +80301,16 @@ function Rqe({ 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, V.jsx)(q7, { name: "x" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, V.jsx)(zqe, {+ }, e.k)), /* @__PURE__ */ (0, V.jsx)(Hqe, {item: e,write: t,helpers: n})]});}-function zqe({ item: e, write: t, helpers: n }) {+function Hqe({ item: e, write: t, helpers: n }) {let r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(!1), [s, c] = (0, B.useState)(!1), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(-1), h = (0, B.useCallback)(() => {i.current && De(i.current), c(!1);}, []);@@ -80357,7 +80365,7 @@ function zqe({ item: e, write: t, helpers: n }) {"aria-pressed": i,onClick: () => v(t, i),children: [- /* @__PURE__ */ (0, V.jsx)(q7, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, V.jsx)(W7, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, V.jsx)("span", {"data-pick-name": "",children: n.tagLabel(t.k)@@ -80380,7 +80388,7 @@ function zqe({ item: e, write: t, helpers: n }) {onClick: () => {i.current && (ze(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));},- children: /* @__PURE__ */ (0, V.jsx)(q7, { name: "plus" })+ children: /* @__PURE__ */ (0, V.jsx)(W7, { name: "plus" })}), /* @__PURE__ */ (0, V.jsxs)("div", {ref: i,id: "tagPicker",@@ -80390,7 +80398,7 @@ function zqe({ item: e, write: t, helpers: n }) {hidden: !0,children: [/* @__PURE__ */ (0, V.jsxs)("label", {"data-tag-search": "",- children: [/* @__PURE__ */ (0, V.jsx)(q7, { name: "search" }), /* @__PURE__ */ (0, V.jsx)("input", {+ children: [/* @__PURE__ */ (0, V.jsx)(W7, { name: "search" }), /* @__PURE__ */ (0, V.jsx)("input", {ref: a,id: "tagPickSearch",maxLength: 80,@@ -80431,7 +80439,7 @@ function zqe({ item: e, write: t, helpers: n }) {onClick: () => {h(), t.addTag(g.create);},- children: [/* @__PURE__ */ (0, V.jsx)(q7, { name: "plus" }), /* @__PURE__ */ (0, V.jsxs)("span", {+ children: [/* @__PURE__ */ (0, V.jsx)(W7, { name: "plus" }), /* @__PURE__ */ (0, V.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -80446,7 +80454,7 @@ function zqe({ item: e, write: t, helpers: n }) {})]})] });}-function Bqe({ item: e }) {+function Uqe({ item: e }) {let t = nie(e);return /* @__PURE__ */ (0, V.jsxs)("div", {"data-item-trace": "",@@ -80481,7 +80489,7 @@ function Bqe({ item: e }) {})]});}-function Vqe({ item: e, open: t, write: n }) {+function Wqe({ item: e, open: t, write: n }) {let [r, i] = (0, B.useState)(e.like_reason || ""), a = (0, B.useRef)(null);(0, B.useEffect)(() => {t && a.current?.focus();@@ -80520,10 +80528,10 @@ function Vqe({ item: e, open: t, write: n }) {})]});}-function Hqe(e) {- let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = TS({- queryKey: Rre(t.id, n),- queryFn: async ({ signal: e }) => (await G(Bre(t.id, n), e)).items || []+function Gqe(e) {+ let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = wS({+ queryKey: zre(t.id, n),+ queryFn: async ({ signal: e }) => (await G(Vre(t.id, n), e)).items || []}), [o] = (0, B.useState)(() => r.relatedSkeletonHtml()), s = (0, B.useCallback)((e) => {e && (ke(e), r.wireDrag(e));}, [r]);@@ -80536,7 +80544,7 @@ function Hqe(e) {ref: s,id: "nrow","data-related-row": "",- children: a.data ? /* @__PURE__ */ (0, V.jsx)(wA, {+ children: a.data ? /* @__PURE__ */ (0, V.jsx)(CA, {mode: "items",variant: "next",items: a.data,@@ -80549,12 +80557,12 @@ function Hqe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : a.isError ? null : /* @__PURE__ */ (0, V.jsx)(J7, { html: o })+ }) : a.isError ? null : /* @__PURE__ */ (0, V.jsx)(G7, { html: o })})]});}-function Uqe(e, t, n) {- let r = e.id, i = FC(r), [a, o] = (0, B.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), d = (e, t) => o((n) => {+function Kqe(e, t, n) {+ let r = e.id, i = PC(r), [a, o] = (0, B.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), f = () => z.getQueryData(i) || e, p = (e) => {@@ -80570,11 +80578,11 @@ function Uqe(e, t, n) {rating: t.rating,o_count: t.o_count};- return NC(r, n), t;+ return MC(r, n), t;}, m = (e, t) => K(e, {id: r,...t- }), h = OS({+ }), h = DS({mutationFn: ({ run: e }) => e(),onError: (e, { action: n }) => t.failure(n, e),onSettled: (e, t, { name: n }) => d(n, !1)@@ -80585,7 +80593,7 @@ function Uqe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(RC, t === void 0 ? { kind: e } : {+ let n = await m(LC, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -80617,9 +80625,9 @@ function Uqe(e, t, n) {} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);}),later: () => g("later", "更新稍后看", async () => {- let e = await m(BC, {});+ let e = await m(zC, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(BC, {})).watch_later });+ p({ watch_later: (await m(zC, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -80629,9 +80637,9 @@ function Uqe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(VC, { wanted: !e.wanted });+ }), r = await m(BC, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(VC, e));+ n(await m(BC, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -80645,7 +80653,7 @@ function Uqe(e, t, n) {});u("保存中…");try {- o(await m(HC, {+ o(await m(VC, {liked: a,reason: i}));@@ -80655,7 +80663,7 @@ function Uqe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(HC, r));+ o(await m(VC, r));} });});},@@ -80665,7 +80673,7 @@ function Uqe(e, t, n) {tag: e.k})).ok) throw Error("标签未删除");p((t) => QC(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(zC, {+ await m(RC, {operation: "add",tag: e.k}), p((t) => $C(t, e));@@ -80681,7 +80689,7 @@ function Uqe(e, t, n) {k: r,cat: "general"})), qre(r), t.toast(`已添加标签「${n(r)}」`, { undo: async () => {- await m(zC, {+ await m(RC, {operation: "remove",tag: r}), p((e) => QC(e, r));@@ -80692,31 +80700,31 @@ function Uqe(e, t, n) {}//#endregion//#region src/react/stage/stage-player.ts-var X7 = null, Z7 = null, Q7 = null, $7 = null, e9 = null, t9 = !1, n9 = 0, r9 = null, i9 = () => !1, a9 = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function Wqe(e, t) {- X7 = e, i9 = () => t.isOpen(), r9 = () => t.requestClose(), Yne({+var q7 = null, J7 = null, Y7 = null, X7 = null, Z7 = null, Q7 = !1, $7 = 0, e9 = null, t9 = () => !1, n9 = (e, t, n) => `${e}:${t}:${n ?? ""}`;+function qqe(e, t) {+ q7 = e, t9 = () => t.isOpen(), e9 = () => t.requestClose(), Xne({...e.player,stage: () => document.getElementById("stage")- }), Xne({- inMiniplayer: (e) => Z7?.player === e,- kind: (e) => Z7?.player === e ? Z7.kind : Q7?.kind ?? $7?.kind ?? "item",- expand: () => C9(),- toMiniplayer: () => w9()- }), o9 || (o9 = !0, addEventListener("pagehide", () => fC()));-}-var o9 = !1;-function s9() {- if (!X7) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return X7;-}-function c9(e) {- $7 = e;-}-var Gqe = () => $7;-function l9(e, t) {- let { kind: n, item: r, media: i = null } = t, a = a9(n, r.id, i?.index ?? null);- if (Z7 && Z7.key === a) return Kqe(e, Z7);- Z7 && S9();+ }), Zne({+ inMiniplayer: (e) => J7?.player === e,+ kind: (e) => J7?.player === e ? J7.kind : Y7?.kind ?? X7?.kind ?? "item",+ expand: () => x9(),+ toMiniplayer: () => S9()+ }), r9 || (r9 = !0, addEventListener("pagehide", () => dC()));+}+var r9 = !1;+function i9() {+ if (!q7) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return q7;+}+function a9(e) {+ X7 = e;+}+var Jqe = () => X7;+function o9(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = n9(n, r.id, i?.index ?? null);+ if (J7 && J7.key === a) return Yqe(e, J7);+ J7 && b9();let o = {player: null,kind: n,@@ -80724,28 +80732,28 @@ function l9(e, t) {mediaIndex: i?.index ?? null,key: a};- Q7 = o;+ Y7 = 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 = EC(s, {+ let c = TC(s, {kind: n,item: r,media: i,autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- Q7 === o && (o.player = e);+ Y7 === o && (o.player = e);},- handedOff: (e) => Z7?.player === e+ handedOff: (e) => J7?.player === e});return () => {- let e = !!o.player && Z7?.player === o.player;- Q7 === o && (Q7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), fC());+ let e = !!o.player && J7?.player === o.player;+ Y7 === o && (Y7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), dC());};}-function Kqe(e, t) {+function Yqe(e, t) {let { player: n } = t;- b9(t), Z7 = null, x9(), n.el().classList.remove("vjs-peach-mini"), wC(e), e.append(n.el()), VS(n);+ v9(t), J7 = null, y9(), n.el().classList.remove("vjs-peach-mini"), CC(e), e.append(n.el()), BS(n);let r = {player: n,kind: t.kind,@@ -80753,23 +80761,23 @@ function Kqe(e, t) {mediaIndex: t.mediaIndex,key: t.key};- Q7 = r;- let i = TC(n, e);- return HS(n), () => {- Q7 === r && (Q7 = null), i(), Z7?.player !== n && (BS() === n && VS(null), iC(n), fC());+ Y7 = r;+ let i = wC(n, e);+ return VS(n), () => {+ Y7 === r && (Y7 = null), i(), J7?.player !== n && (zS() === n && BS(null), rC(n), dC());};}-var u9 = () => {- let e = Q7?.player;+var s9 = () => {+ let e = Y7?.player;return e && !e.isDisposed() ? e : null;};-function qqe(e) {- let t = t9;- t9 = !1, Z7?.pending && S9();- let n = Q7, r = n?.player, i = $7;- if (!n || !r || r.isDisposed() || !i || !e9) return;- let a = s9().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && Qqe({+function Xqe(e) {+ let t = Q7;+ Q7 = !1, J7?.pending && b9();+ let n = Y7, r = n?.player, i = X7;+ if (!n || !r || r.isDisposed() || !i || !Z7) return;+ let a = i9().player.settings();+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && eJe({player: r,kind: n.kind,item: n.item,@@ -80777,52 +80785,52 @@ function qqe(e) {key: n.key}, i);}-function Jqe(e, t) {- if (t9 = !1, Z7) {- if (Z7.kind === e && Z7.item.id === t) {- Z7.pending = !0, x9();+function c9(e, t) {+ if (Q7 = !1, J7) {+ if (J7.kind === e && J7.item.id === t) {+ J7.pending = !0, y9();return;}- S9();+ b9();}}-function d9(e) {- e9 = e, e9 && v9();+function l9(e) {+ Z7 = e, Z7 && g9();}-var f9 = () => !!Z7 && !Z7.pending && !Z7.player.isDisposed();-function Yqe() {- return f9() ? e9?.frame.querySelector("video") ?? null : null;+var u9 = () => !!J7 && !J7.pending && !J7.player.isDisposed();+function Zqe() {+ return u9() ? Z7?.frame.querySelector("video") ?? null : null;}-function Xqe() {- return i9() ? document.getElementById("stage")?.querySelector("video") ?? null : Yqe();+function Qqe() {+ return t9() ? document.getElementById("stage")?.querySelector("video") ?? null : Zqe();}-function p9(e) {- e9 && (e9.title.textContent = e.title || "", e9.sub.textContent = e.sub || "", e9.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+function d9(e) {+ Z7 && (Z7.title.textContent = e.title || "", Z7.sub.textContent = e.sub || "", Z7.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function m9(e = Z7?.item) {- if (!e9) return;- let t = e9.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- e9.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function f9(e = J7?.item) {+ if (!Z7) return;+ let t = Z7.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ Z7.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-function h9() {- let e = Z7?.player;- if (!e || e.isDisposed() || !e9) return;+function p9() {+ let e = J7?.player;+ if (!e || e.isDisposed() || !Z7) return;let t = e.paused();- e9.play.setAttribute("aria-label", t ? "播放" : "暂停"), e9.play.querySelector("[data-icon-swap]") || (e9.play.innerHTML = je("player-pause", "player-play", t ? "b" : "a")), Ge(e9.play, t ? "b" : "a");+ Z7.play.setAttribute("aria-label", t ? "播放" : "暂停"), Z7.play.querySelector("[data-icon-swap]") || (Z7.play.innerHTML = je("player-pause", "player-play", t ? "b" : "a")), Ge(Z7.play, t ? "b" : "a");}+function m9() {+ let e = J7?.player;+ if (!e || e.isDisposed() || !Z7) return;+ let t = ve(J7?.item.duration) || ve(e.duration());+ Z7.time.textContent = `${de(e.currentTime())} / ${t ? de(t) : "0:00"}`;+}+var h9 = () => Math.max(1, Number(i9().player.settings().seekSeconds) || 10);function g9() {- let e = Z7?.player;- if (!e || e.isDisposed() || !e9) return;- let t = ve(Z7?.item.duration) || ve(e.duration());- e9.time.textContent = `${de(e.currentTime())} / ${t ? de(t) : "0:00"}`;-}-var _9 = () => Math.max(1, Number(s9().player.settings().seekSeconds) || 10);-function v9() {- if (!e9 || !X7) return;- let e = _9();- for (let [t, n] of [[e9.back, `后退 ${e} 秒`], [e9.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;-}-function y9(e) {+ if (!Z7 || !q7) return;+ let e = h9();+ for (let [t, n] of [[Z7.back, `后退 ${e} 秒`], [Z7.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function _9(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -80834,17 +80842,17 @@ function y9(e) {"play","pause","ended"- ], h9), t([+ ], p9), t(["timeupdate","durationchange","loadedmetadata"- ], g9), t("loadedmetadata", () => m9()), h9(), g9(), m9(), v9();+ ], m9), t("loadedmetadata", () => f9()), p9(), m9(), f9(), g9();}-function b9(e) {+function v9(e) {e.off.forEach((e) => e()), e.off = [];}-function Zqe() {- let e = e9?.root;+function $qe() {+ let e = Z7?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -80852,8 +80860,8 @@ function Zqe() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function x9() {- let e = e9?.root;+function y9() {+ let e = Z7?.root;if (e) {e.hidden = !0;for (let t of [@@ -80864,77 +80872,77 @@ function x9() {e.style.transform = "";}}-function Qqe(e, t) {- if (!e9) return;+function eJe(e, t) {+ if (!Z7) return;let n = {...e,meta: t,off: [],pending: !1};- Z7 = n, n9++, e.player.el().classList.add("vjs-peach-mini"), e9.frame.prepend(e.player.el()), p9(t), y9(n), Zqe(), HS(e.player);+ J7 = n, $7++, e.player.el().classList.add("vjs-peach-mini"), Z7.frame.prepend(e.player.el()), d9(t), _9(n), $qe(), VS(e.player);}-function S9() {- let e = Z7;- e && b9(e), Z7 = null, n9++;+function b9() {+ let e = J7;+ e && v9(e), J7 = null, $7++;let t = e?.player ?? null;- t && BS() === t && VS(null), iC(t), t && fC(), e9?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), RS(), x9();+ t && zS() === t && BS(null), rC(t), t && dC(), Z7?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), LS(), y9();}-function C9() {- if (!f9() || !Z7) return;- let { kind: e, item: t, mediaIndex: n } = Z7;- s9().expand(e, t.id, n);+function x9() {+ if (!u9() || !J7) return;+ let { kind: e, item: t, mediaIndex: n } = J7;+ i9().expand(e, t.id, n);}-function w9() {- if (f9() && !i9()) {- C9();+function S9() {+ if (u9() && !t9()) {+ x9();return;}- i9() && u9() && r9 && (t9 = !0, r9());+ t9() && s9() && e9 && (Q7 = !0, e9());}-function $qe() {- let e = Z7?.player;+function tJe() {+ let e = J7?.player;!e || e.isDisposed() || (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function T9(e) {- let t = Z7?.player;+function C9(e) {+ let t = J7?.player;if (!t || t.isDisposed()) return;- let n = ve(t.duration()) || ve(Z7?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + _9() * e);+ let n = ve(t.duration()) || ve(J7?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + h9() * e);t.currentTime(n ? Math.min(n, r) : r);}-function E9(e) {- return !(!f9() || !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 || s9().sourceOffline(String(e.location ?? "")));+function w9(e) {+ return !(!u9() || !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 || i9().sourceOffline(String(e.location ?? "")));}-async function eJe(e) {- if (!f9() || !Z7 || !e9) return;- let t = ++n9, n = await ce(`/api/item?id=${e}`).catch(() => null);- if (t !== n9 || !f9() || !Z7 || !e9 || !n || n.error) return;- if (!E9(n)) {- s9().openItem(e);+async function nJe(e) {+ if (!u9() || !J7 || !Z7) return;+ let t = ++$7, n = await ce(`/api/item?id=${e}`).catch(() => null);+ if (t !== $7 || !u9() || !J7 || !Z7 || !n || n.error) return;+ if (!w9(n)) {+ i9().openItem(e);return;}- let r = Z7;- b9(r), BS() === r.player && VS(null), iC(r.player), fC(), e9.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = J7;+ v9(r), zS() === r.player && BS(null), rC(r.player), dC(), Z7.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", e9.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", Z7.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- p9(a), EC(i, {+ d9(a), TC(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== n9) {- r && BS() === r && VS(null), iC(r);+ if (t !== $7) {+ r && zS() === r && BS(null), rC(r);return;}if (!r) {- S9(), s9().openItem(e);+ b9(), i9().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -80943,26 +80951,26 @@ async function eJe(e) {kind: "item",item: n,mediaIndex: null,- key: a9("item", n.id, null),+ key: n9("item", n.id, null),meta: a,off: [],pending: !1};- Z7 = i, y9(i);+ J7 = i, _9(i);}- }), m9(n);+ }), f9(n);}//#endregion//#region src/react/stage/miniplayer.tsx-var D9 = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("svg", {+var T9 = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, V.jsx)("use", { href: `#i-${e}` })-}), tJe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, O9 = (e) => (t) => {+}), rJe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, E9 = (e) => (t) => {t.stopPropagation(), e();-}, nJe = (0, B.memo)(function() {+}, iJe = (0, B.memo)(function() {let e = (0, B.useRef)(null), t = (0, B.useRef)(null), n = (0, B.useRef)(null), r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = (0, B.useRef)(null), l = (0, B.useRef)(null);- return (0, B.useLayoutEffect)(() => (d9({+ return (0, B.useLayoutEffect)(() => (l9({root: e.current,frame: n.current,play: r.current,@@ -80972,7 +80980,7 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => d9(null)), []), (0, B.useEffect)(() => iJe(e.current, t.current), []), /* @__PURE__ */ (0, V.jsx)("aside", {+ }), () => l9(null)), []), (0, B.useEffect)(() => oJe(e.current, t.current), []), /* @__PURE__ */ (0, V.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -80996,24 +81004,24 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: O9(C9),- children: /* @__PURE__ */ (0, V.jsx)(D9, { name: "maximize-2" })+ onClick: E9(x9),+ children: /* @__PURE__ */ (0, V.jsx)(T9, { name: "maximize-2" })}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: O9(S9),- children: /* @__PURE__ */ (0, V.jsx)(D9, { name: "x" })+ onClick: E9(b9),+ children: /* @__PURE__ */ (0, V.jsx)(T9, { name: "x" })}),/* @__PURE__ */ (0, V.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: O9(() => T9(-1)),- children: /* @__PURE__ */ (0, V.jsx)(D9, { name: "rotate-ccw" })+ onClick: E9(() => C9(-1)),+ children: /* @__PURE__ */ (0, V.jsx)(T9, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, V.jsx)("button", {ref: r,@@ -81022,16 +81030,16 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: O9($qe),- dangerouslySetInnerHTML: tJe+ onClick: E9(tJe),+ dangerouslySetInnerHTML: rJe}),/* @__PURE__ */ (0, V.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: O9(() => T9(1)),- children: /* @__PURE__ */ (0, V.jsx)(D9, { name: "rotate-cw" })+ onClick: E9(() => C9(1)),+ children: /* @__PURE__ */ (0, V.jsx)(T9, { name: "rotate-cw" })}),/* @__PURE__ */ (0, V.jsx)("span", {ref: i,@@ -81048,7 +81056,7 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => C9(),+ onClick: () => x9(),children: [/* @__PURE__ */ (0, V.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -81062,7 +81070,7 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("svg", {})});});-function rJe(e, t, n) {+function aJe(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@@ -81084,7 +81092,7 @@ function rJe(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function iJe(e, t) {+function oJe(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 = {@@ -81110,7 +81118,7 @@ function iJe(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), rJe(e, i.dx, i.dy));+ }, 0), aJe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -81122,65 +81130,65 @@ function iJe(e, t) {}//#endregion//#region src/react/stage/stage.tsx-var k9 = null, A9 = null, j9 = null, M9 = null, N9 = 0, P9 = null, F9 = !1, I9 = !1, L9 = () => {+var D9 = null, O9 = null, k9 = null, A9 = null, j9 = 0, M9 = null, N9 = !1, P9 = !1, F9 = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function R9() {- if (!k9) throw Error("舞台还没有接上宿主(configureStage)");- return k9;+function I9() {+ if (!D9) throw Error("舞台还没有接上宿主(configureStage)");+ return D9;}-function aJe() {- return (!A9 || !j9?.isConnected) && (A9?.unmount(), j9 = document.createElement("div"), j9.dataset.stageHost = "", document.body.append(j9), A9 = (0, ON.createRoot)(j9)), A9;+function sJe() {+ return (!O9 || !k9?.isConnected) && (O9?.unmount(), k9 = document.createElement("div"), k9.dataset.stageHost = "", document.body.append(k9), O9 = (0, DN.createRoot)(k9)), O9;}-function z9() {- let e = aJe();- (0, $f.flushSync)(() => e.render(/* @__PURE__ */ (0, V.jsx)(E7, { children: /* @__PURE__ */ (0, V.jsx)(oJe, { view: M9 }) })));+function L9() {+ let e = sJe();+ (0, $f.flushSync)(() => e.render(/* @__PURE__ */ (0, V.jsx)(S7, { children: /* @__PURE__ */ (0, V.jsx)(cJe, { view: A9 }) })));}-function oJe({ view: e }) {- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [e ? /* @__PURE__ */ (0, V.jsx)(sJe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, V.jsx)(nJe, {})] });+function cJe({ view: e }) {+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [e ? /* @__PURE__ */ (0, V.jsx)(lJe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, V.jsx)(iJe, {})] });}-var B9 = () => /* @__PURE__ */ (0, V.jsx)("div", {+var R9 = () => /* @__PURE__ */ (0, V.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: qKe() }+ dangerouslySetInnerHTML: { __html: ZKe() }});-function V9(e) {+function z9(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 sJe({ view: e }) {+function lJe({ view: e }) {let t = (0, B.useRef)(null);(0, B.useLayoutEffect)(() => {let e = t.current, n = (e) => {- e.preventDefault(), H9();+ e.preventDefault(), B9();};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, V.jsx)(Eqe, { ...r.props }) : /* @__PURE__ */ (0, V.jsx)(mqe, { ...r.props });+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, V.jsx)(kqe, { ...r.props }) : /* @__PURE__ */ (0, V.jsx)(_qe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, V.jsxs)("dialog", {ref: t,id: "stage","data-stage": "","aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), H9());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), B9());},onPointerDown: (e) => {- I9 = V9(e);+ P9 = z9(e);},onClick: (e) => {- I9 && V9(e) && H9();+ P9 && z9(e) && B9();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, V.jsx)(B9, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, V.jsx)(R9, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, V.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, V.jsx)(B9, {})+ children: /* @__PURE__ */ (0, V.jsx)(R9, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, V.jsx)("div", {"data-stage-scroll": "",@@ -81192,32 +81200,32 @@ function sJe({ view: e }) {]});}-function H9() {- !M9 || F9 || (F9 = !0, M9.request.actions.close());+function B9() {+ !A9 || N9 || (N9 = !0, A9.request.actions.close());}-function U9(e, t) {- let n = L9();+function V9(e, t) {+ let n = F9();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function cJe(e) {+function H9(e) {let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => R9().player.settings();+ }, r = () => I9().player.settings();if (e.kind === "item") {let { kind: t, resume: i, actions: a, ...o } = e, s = {...a,- close: H9,+ close: B9,present: (e, t) => {let n = e.performers;- c9({+ a9({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), U9(r().ambientMode, r().theaterMode), a.present(e, t);+ }), V9(r().ambientMode, r().theaterMode), a.present(e, t);},- mountPlayer: (e, t, r, i) => l9(e, {+ mountPlayer: (e, t, r, i) => o9(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -81235,16 +81243,16 @@ function cJe(e) {}let { kind: i, resume: a, actions: o, ...s } = e, c = {...o,- close: H9,+ close: B9,present: (e, t) => {- c9({+ a9({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), U9(t === "video" && r().ambientMode, t === "video" && r().theaterMode), o.present(e, t);+ }), V9(t === "video" && r().ambientMode, t === "video" && r().theaterMode), o.present(e, t);},- mountPlayer: (e, t, r, i) => l9(e, {+ mountPlayer: (e, t, r, i) => o9(e, {kind: "follow",item: t,media: r,@@ -81261,48 +81269,75 @@ function cJe(e) {}};}-function lJe(e, t) {+function uJe(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"), M9?.generation === t && M9.phase === "reveal" && (M9 = {- ...M9,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), A9?.generation === t && A9.phase === "reveal" && (A9 = {+ ...A9,phase: "content"- }, z9());+ }, L9());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-async function uJe(e) {- M9 && W9({ miniplayer: !1 });- let t = ++N9, n = new AbortController();- P9 = n, F9 = !1, I9 = !1, Jqe(e.kind, e.id ?? NaN), M9 = {- generation: t,+function U9(e) {+ let t = F9();+ return !A9 || A9.content.kind !== e || N9 || !t?.open || t.hasAttribute("data-closing") ? null : t;+}+async function dJe(e) {+ let t = U9(e.kind);+ if (t) {+ await fJe(e, t);+ return;+ }+ A9 && W9({ miniplayer: !1 });+ let n = ++j9, r = new AbortController();+ M9 = r, N9 = !1, P9 = !1, c9(e.kind, e.id ?? NaN), A9 = {+ generation: n,request: e,- content: cJe(e),+ content: H9(e),phase: "skeleton"- }, z9();- let r = L9();- if (!r) return;- ke(r), document.body.setAttribute("data-detail-open", ""), r.open || r.showModal();- let i = M9.content;+ }, L9();+ let i = F9();+ if (!i) return;+ ke(i), document.body.setAttribute("data-detail-open", ""), i.open || i.showModal();+ let a = A9.content;+ try {+ a.kind === "item" ? await JC(a.props, r.signal) : await k7(a.props, r.signal);+ } catch {+ if (r.signal.aborted) return;+ }+ if (n !== j9 || !A9) return;+ let o = !!i.querySelector(".skeleton-awaiting");+ A9 = {+ ...A9,+ phase: o ? "content" : "reveal"+ }, L9(), o || uJe(i, n), Be(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ let s = document.activeElement;+ (s === i || !i.contains(s)) && i.querySelector("#closeStage")?.focus();+}+async function fJe(e, t) {+ let n = ++j9;+ M9?.abort();+ let r = new AbortController();+ M9 = r, P9 = !1;+ let i = H9(e);try {- i.kind === "item" ? await Hre(i.props, n.signal) : await ZKe(i.props, n.signal);+ i.kind === "item" ? await JC(i.props, r.signal) : await k7(i.props, r.signal);} catch {- if (n.signal.aborted) return;- }- if (t !== N9 || !M9) return;- let a = !!r.querySelector(".skeleton-awaiting");- M9 = {- ...M9,- phase: a ? "content" : "reveal"- }, z9(), a || lJe(r, t), Be(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");- let o = document.activeElement;- (o === r || !r.contains(o)) && r.querySelector("#closeStage")?.focus();-}-function dJe() {- let e = L9();+ if (r.signal.aborted) return;+ }+ n !== j9 || !A9 || U9(e.kind) !== t || (c9(e.kind, e.id ?? NaN), ie(t), LS(), A9 = {+ ...A9,+ request: e,+ content: i,+ phase: "content"+ }, L9(), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Be(t, ":scope>:not([data-stage-fade]) [data-reveal-line]"));+}+function pJe() {+ let e = F9();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();@@ -81313,76 +81348,77 @@ function dJe() {}));}function W9({ miniplayer: e = !0 } = {}) {- if (N9++, P9?.abort(), P9 = null, qqe(e), !M9) return;- let t = L9();- t && ie(t), RS(), t?.open && t.close(), M9 = null, F9 = !1, I9 = !1, z9(), c9(null), document.body.removeAttribute("data-detail-open");+ if (j9++, M9?.abort(), M9 = null, Xqe(e), !A9) return;+ let t = F9();+ t && ie(t), LS(), t?.open && t.close(), A9 = null, N9 = !1, P9 = !1, L9(), a9(null), document.body.removeAttribute("data-detail-open");}-function fJe(e) {- !M9 || M9.content.kind !== "item" || (M9 = {- ...M9,+function mJe(e) {+ !A9 || A9.content.kind !== "item" || (A9 = {+ ...A9,content: {kind: "item",props: {- ...M9.content.props,+ ...A9.content.props,...e}}- }, z9());+ }, L9());}-function pJe() {- let e = Gqe(), t = e?.kind === "item" ? e.item : null, n = t ? O(t, R9().player.settings().javImage) : "";+function hJe() {+ let e = Jqe(), t = e?.kind === "item" ? e.item : null, n = t ? O(t, I9().player.settings().javImage) : "";if (!n) return;- let r = u9();+ let r = s9();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var mJe = {- open: uJe,- update: fJe,- exit: dJe,+var gJe = {+ open: dJe,+ update: mJe,+ exit: pJe,dispose: W9,- requestClose: H9,- repaintPoster: pJe,- isOpen: () => !!M9,- activeVideo: () => Xqe(),+ requestClose: B9,+ repaintPoster: hJe,+ isOpen: () => !!A9,+ showing: () => A9 && U9(A9.content.kind) ? A9.content.kind : null,+ activeVideo: () => Qqe(),toggleTheater: () => {- M9 && rC(!R9().player.settings().theaterMode);+ A9 && nC(!I9().player.settings().theaterMode);},- toggleMiniplayer: () => w9(),- closeMiniplayer: () => S9(),- miniplayerActive: () => f9(),- miniplayerTakesCard: (e) => E9(e),+ toggleMiniplayer: () => S9(),+ closeMiniplayer: () => b9(),+ miniplayerActive: () => u9(),+ miniplayerTakesCard: (e) => w9(e),miniplayerPlay: (e) => {- eJe(e);+ nJe(e);}};-function hJe(e) {- return k9 = e, Wqe(e, {- isOpen: () => !!M9,- requestClose: H9- }), z9(), mJe;+function _Je(e) {+ return D9 = e, qqe(e, {+ isOpen: () => !!A9,+ requestClose: B9+ }), L9(), gJe;}//#endregion//#region node_modules/sonner/dist/index.mjs-function gJe(e) {+function vJe(e) {if (!e || typeof document > "u") return;let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));}-var _Je = (e) => {+var yJe = (e) => {switch (e) {- case "success": return bJe;- case "info": return SJe;- case "warning": return xJe;- case "error": return CJe;+ case "success": return SJe;+ case "info": return wJe;+ case "warning": return CJe;+ case "error": return TJe;default: return null;}-}, vJe = Array(12).fill(0), yJe = ({ visible: e, className: t }) => /*#__PURE__*/ B.createElement("div", {+}, bJe = Array(12).fill(0), xJe = ({ visible: e, className: t }) => /*#__PURE__*/ B.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ B.createElement("div", { className: "sonner-spinner" }, vJe.map((e, t) => /*#__PURE__*/ B.createElement("div", {+}, /*#__PURE__*/ B.createElement("div", { className: "sonner-spinner" }, bJe.map((e, t) => /*#__PURE__*/ B.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), bJe = /*#__PURE__*/ B.createElement("svg", {+})))), SJe = /*#__PURE__*/ B.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -81393,7 +81429,7 @@ var _Je = (e) => {fillRule: "evenodd",d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule: "evenodd"-})), xJe = /*#__PURE__*/ B.createElement("svg", {+})), CJe = /*#__PURE__*/ B.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -81404,7 +81440,7 @@ var _Je = (e) => {fillRule: "evenodd",d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule: "evenodd"-})), SJe = /*#__PURE__*/ B.createElement("svg", {+})), wJe = /*#__PURE__*/ B.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -81415,7 +81451,7 @@ var _Je = (e) => {fillRule: "evenodd",d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule: "evenodd"-})), CJe = /*#__PURE__*/ B.createElement("svg", {+})), TJe = /*#__PURE__*/ B.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -81426,7 +81462,7 @@ var _Je = (e) => {fillRule: "evenodd",d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule: "evenodd"-})), wJe = /*#__PURE__*/ B.createElement("svg", {+})), EJe = /*#__PURE__*/ B.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -81447,7 +81483,7 @@ var _Je = (e) => {y1: "6",x2: "18",y2: "18"-})), TJe = () => {+})), DJe = () => {let [e, t] = B.useState(document.hidden);return B.useEffect(() => {let e = () => {@@ -81455,7 +81491,7 @@ var _Je = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, EJe = 1, DJe = 100, G9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : EJe++, K9 = new class {+}, OJe = 1, kJe = 100, G9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : OJe++, K9 = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -81465,7 +81501,7 @@ var _Je = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - DJe;+ let e = this.toasts.length - kJe;e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));}, this.create = (e) => {let { message: t, ...n } = e, r = G9(e), i = this.pendingDismissals.get(r);@@ -81543,7 +81579,7 @@ var _Je = (e) => {type: "default",message: e});- else if (kJe(e) && !e.ok) {+ else if (jJe(e) && !e.ok) {i = !1;let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !B.isValidElement(r) ? r : { message: r };this.create({@@ -81596,7 +81632,7 @@ var _Je = (e) => {}), n;}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();}-}(), OJe = (e, t) => K9.message(e, t), kJe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", q9 = Object.assign(OJe, {+}(), AJe = (e, t) => K9.message(e, t), jJe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", q9 = Object.assign(AJe, {success: K9.success,info: K9.info,warning: K9.warning,@@ -81610,20 +81646,20 @@ var _Je = (e) => {getHistory: () => K9.toasts,getToasts: () => K9.getActiveToasts()});-gJe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");+vJe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function J9(e) {return e.label !== void 0;}-var AJe = 3, jJe = "24px", MJe = "16px", Y9 = 4e3, NJe = 356, PJe = 14, FJe = 45, IJe = 200;+var MJe = 3, NJe = "24px", PJe = "16px", Y9 = 4e3, FJe = 356, IJe = 14, LJe = 45, RJe = 200;function X9(...e) {return e.filter(Boolean).join(" ");}-function LJe(e) {+function zJe(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var RJe = (e) => {- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = B.useState(null), [O, k] = B.useState(null), [A, j] = B.useState(!1), [M, N] = B.useState(!1), [P, ee] = B.useState(!1), [F, I] = B.useState(!1), [te, ne] = B.useState(!1), [re, ie] = B.useState(0), [ae, oe] = B.useState(0), se = B.useRef(n.duration || y || Y9), ce = B.useRef(null), le = B.useRef(null), ue = c === 0, L = c + 1 <= o, de = n.type, fe = de ?? "default", pe = n.dismissible !== !1, me = n.className || "", R = n.descriptionClassName || "", he = B.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = B.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = B.useMemo(() => n.duration || y || Y9, [n.duration, y]), ve = B.useRef(0), ye = B.useRef(0), be = B.useRef(0), xe = B.useRef(null), [Se, Ce] = b.split("-"), we = B.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = TJe(), Ee = B.useMemo(() => e.swipeDirections ?? LJe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = de === "loading";+var BJe = (e) => {+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = B.useState(null), [O, k] = B.useState(null), [A, j] = B.useState(!1), [M, N] = B.useState(!1), [P, ee] = B.useState(!1), [F, I] = B.useState(!1), [te, ne] = B.useState(!1), [re, ie] = B.useState(0), [ae, oe] = B.useState(0), se = B.useRef(n.duration || y || Y9), ce = B.useRef(null), le = B.useRef(null), ue = c === 0, L = c + 1 <= o, de = n.type, fe = de ?? "default", pe = n.dismissible !== !1, me = n.className || "", R = n.descriptionClassName || "", he = B.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = B.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = B.useMemo(() => n.duration || y || Y9, [n.duration, y]), ve = B.useRef(0), ye = B.useRef(0), be = B.useRef(0), xe = B.useRef(null), [Se, Ce] = b.split("-"), we = B.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = DJe(), Ee = B.useMemo(() => e.swipeDirections ?? zJe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = de === "loading";ye.current = B.useMemo(() => he * x + we, [he, we]), B.useEffect(() => {se.current = _e;}, [_e]), B.useEffect(() => {@@ -81664,7 +81700,7 @@ var RJe = (e) => {let ke = B.useCallback(() => {N(!0), ie(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, IJe);+ }, RJe);}, [n,d,@@ -81697,12 +81733,12 @@ var RJe = (e) => {return w?.loading ? /*#__PURE__*/ B.createElement("div", {className: X9(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": de === "loading"- }, w.loading) : /*#__PURE__*/ B.createElement(yJe, {+ }, w.loading) : /*#__PURE__*/ B.createElement(xJe, {className: X9(C?.loader, n?.classNames?.loader),visible: de === "loading"});}- let je = n.icon || w?.[de] || _Je(de);+ let je = n.icon || w?.[de] || yJe(de);return /*#__PURE__*/ B.createElement("li", {tabIndex: 0,ref: le,@@ -81749,7 +81785,7 @@ var RJe = (e) => {if (F || !pe) return;xe.current = null;let e = Number(le.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(le.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ce.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;- if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= FJe || a > .11)) {+ if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= LJe || a > .11)) {ie(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), I(!0);return;}@@ -81790,7 +81826,7 @@ var RJe = (e) => {ke(), n.onDismiss == null || n.onDismiss.call(n, n);},className: X9(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? wJe) : null, (de || n.icon || n.promise) && n.icon !== null && (w?.[de] !== null || n.icon) ? /*#__PURE__*/ B.createElement("div", {+ }, w?.close ?? EJe) : null, (de || n.icon || n.promise) && n.icon !== null && (w?.[de] !== null || n.icon) ? /*#__PURE__*/ B.createElement("div", {"data-icon": "",className: X9(C?.icon, n?.classNames?.icon)}, de === "loading" ? n.icon || Ae() : n.promise ? Ae() : null, de === "loading" ? null : je) : null, /*#__PURE__*/ B.createElement("div", {@@ -81825,10 +81861,10 @@ function Z9() {let e = document.documentElement.getAttribute("dir");return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;}-function zJe(e, t) {+function VJe(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? MJe : jJe;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? PJe : NJe;function o(e) {["top",@@ -81849,8 +81885,8 @@ function zJe(e, t) {}) : o(a);}), n;}-var BJe = /*#__PURE__*/ B.forwardRef(function(e, t) {- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = AJe, toastOptions: g, dir: _ = Z9(), gap: v = PJe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = B.useState([]), w = B.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = B.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = B.useState([]), [O, k] = B.useState(!1), [A, j] = B.useState(!1), [M, N] = B.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), P = B.useRef(null), ee = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), F = B.useRef(null), I = B.useRef(!1), te = B.useCallback((e) => {+var HJe = /*#__PURE__*/ B.forwardRef(function(e, t) {+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = MJe, toastOptions: g, dir: _ = Z9(), gap: v = IJe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = B.useState([]), w = B.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = B.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = B.useState([]), [O, k] = B.useState(!1), [A, j] = B.useState(!1), [M, N] = B.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), P = B.useRef(null), ee = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), F = B.useRef(null), I = B.useRef(!1), te = B.useCallback((e) => {C((t) => (t.find((t) => t.id === e.id)?.delete || K9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);return B.useEffect(() => K9.subscribe((e) => {@@ -81936,10 +81972,10 @@ var BJe = /*#__PURE__*/ B.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${E[0]?.height || 0}px`,- "--width": `${NJe}px`,+ "--width": `${FJe}px`,"--gap": `${v}px`,...m,- ...zJe(l, u)+ ...VJe(l, u)},onBlur: (e) => {I.current && !e.currentTarget.contains(e.relatedTarget) && (I.current = !1, F.current &&= (F.current.focus({ preventScroll: !0 }), null));@@ -81957,7 +81993,7 @@ var BJe = /*#__PURE__*/ B.forwardRef(function(e, t) {e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);},onPointerUp: () => j(!1)- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ B.createElement(RJe, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ B.createElement(BJe, {key: n.id,icons: y,index: i,@@ -81991,8 +82027,8 @@ var BJe = /*#__PURE__*/ B.forwardRef(function(e, t) {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), $9 = !1, VJe = (e, t) => {- $9 || ($9 = !0, (0, ON.createRoot)(e).render(/* @__PURE__ */ (0, V.jsx)(BJe, {+}), $9 = !1, UJe = (e, t) => {+ $9 || ($9 = !0, (0, DN.createRoot)(e).render(/* @__PURE__ */ (0, V.jsx)(HJe, {position: "bottom-right",closeButton: !0,gap: 8,@@ -82013,7 +82049,7 @@ var BJe = /*#__PURE__*/ B.forwardRef(function(e, t) {error: Q9(t.error, !1)}})));-}, HJe = (e, t) => {+}, WJe = (e, t) => {let n = t.alert ? q9.error : q9.success, r = t.action;n(/* @__PURE__ */ (0, V.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,@@ -82027,4 +82063,4 @@ var BJe = /*#__PURE__*/ B.forwardRef(function(e, t) {});};//#endregion-export { kne as configureBatchDock, Mne as configureGlowPicker, Fie as configureImmerse, Kie as configureManageHeader, WKe as configureRouter, Lbe as configureSettingsPanel, exe as configureSidebar, hJe as configureStage, VJe as mountToaster, wGe as prefetchManagedRoute, HJe as showToast };+export { Ane as configureBatchDock, Nne as configureGlowPicker, Fie as configureImmerse, Kie as configureManageHeader, JKe as configureRouter, Rbe as configureSettingsPanel, txe as configureSidebar, _Je as configureStage, UJe as mountToaster, OGe as prefetchManagedRoute, WJe as showToast };