Peach: Local-first video metadata scraper and media manager.
feat(frontend): 设置面板收进路由树的常驻表
longmeidaobe6b7a25b7b1
diff --git a/docs/FRONTEND.md b/docs/FRONTEND.mdindex 651de6cb8..861558bb0 100644--- a/docs/FRONTEND.md+++ b/docs/FRONTEND.md@@ -200,7 +200,7 @@ URL 都从它来,它被缓存住就没人看得到新产物。| `11-identity.css` | 身份组、演员与系列链接、重复项、质量清单、复核对照 || `12-cards.css` | 壳自己画的卡片(垃圾文件、新作)、悬停预览层与密度 || `15-detail.css` | 壳画的源文件管理(定位与目录对账) |-| `16-settings.css` | 设置面板打开时的页面锁滚(面板归 `settings-panel` 岛) |+| `16-settings.css` | 设置面板打开时的页面锁滚(面板归常驻面 `settings-panel`) || `17-overlay.css` | Toast 与审查遮挡 || `18-chips.css` | 产地选择与详情里次要操作的标签按钮(侧栏筛选标签归 `sidebar` 岛) || `19-immersive.css` | 加载更多、空状态、选择条与批量条、窄屏总表(沉浸模式归常驻面 `immerse`) |@@ -295,19 +295,23 @@ await openManagedRoute('search', props, {container: $('#searchMenu'), isCurrent:```- 登记键是「面」:页面用路径(`/stats`、`/performers/*`、`/`),附属面用名字(`catalog-filter`、`feed-new`、- `library-processing`、`search`),常驻面也用名字(`batch-dock`、`glow-picker`、`manage-header`、`immerse`),三者- 不重叠。路由树按键查 `managed-routes.tsx` 里的同一组表,每条是 `{prefetch, page}`;附属面与常驻面不进- `<Routes>`,也不进 `ROUTED_PATHS`。+ `library-processing`、`search`),常驻面也用名字(`batch-dock`、`glow-picker`、`manage-header`、`immerse`、+ `settings-panel`),三者不重叠。路由树按键查 `managed-routes.tsx` 里的同一组表,每条是 `{prefetch, page}`;+ 附属面与常驻面不进 `<Routes>`,也不进 `ROUTED_PATHS`。- 常驻面是不跟某一页走的那几座,登记在常驻表 `RESIDENT_ROUTES` 里,由 `islands.ts` 的 `loadXxx(host)` 经- `openResidentSurface(name, container, place?)` 打开一次(沉浸模式在第一次打开时,其余几座在壳启动时):没有首屏- 取数,一直算当前页,宿主就是那个常驻节点本身(`[data-batch-dock]`、`#boardGlowMenu`、`[data-manage-header]`、- `[data-immerse-host]`),组件直接画成它的子节点,DOM 和各自建根时一样,不包 `.peach-react`。壳照旧经命令式+ `openResidentSurface(name, container, place?)` 打开一次(沉浸模式与设置面板在第一次打开时,其余几座在壳启动+ 时):没有首屏取数,一直算当前页,宿主就是那个常驻节点本身(`[data-batch-dock]`、`#boardGlowMenu`、+ `[data-manage-header]`、`[data-immerse-host]`、`[data-settings-host]`),组件直接画成它的子节点,DOM 和各自+ 建根时一样,不包 `.peach-react`。壳照旧经命令式句柄说话:组件订阅自己模块里的 store,句柄写 store 再 `flushSync` 通知,返回时已经画好;`loadXxx` 等这一面画上才交出句柄。宿主里先有壳的启动骨架时(管理区页头),`openResidentSurface` 的 `place` 在画首帧的同一个任务里清掉骨架,句柄交出之前骨架上的点击归壳;宿主不在壳的页面里时(沉浸模式),`loadImmerse` 新建`[data-immerse-host]`,`place` 在画首帧(藏着的外框)的同一个任务里把它挂到 body 末尾。沉浸的句柄`open(startId)` 里骨架、列表与播放器那几次绘制都在返回前画完;方向键、改窗口大小与离开页面的监听挂在模块上,- 不随组件卸掉。常驻面从不收,只有错误边界会卸它的组件,宿主始终留在文档里。+ 不随组件卸掉。设置面板在第一次按齿轮时才装载:`loadSettingsPanel` 建一枚 `[data-settings-host]`,`place` 把它+ 放进 `document.body` 末尾,路由树在同一个任务里画出收着的面板,之后开合只换 `hidden`;`open(section)` 写 store+ 当场画完,锁滚、取数与焦点紧跟在后面,`isOpen()` 读的是同一份 store。常驻面从不收,只有错误边界会卸它的组件,+ 宿主始终留在文档里。- `openManagedRoute(key, props, options)` 是 async 且**取完数才画**。壳已经铺了骨架,页面若先画一个空容器再自己转圈,同一次进入就会出现两段等待态。它先收起同一容器里的上一面,`prefetch(props, signal)` 把首屏写进共用的 Query 缓存,取齐后在同一个任务里换掉骨架、放进 `.peach-react` 宿主(或 `options.place` 排好的diff --git a/frontend/src/history/managed.ts b/frontend/src/history/managed.tsindex 07048561c..26d56222e 100644--- a/frontend/src/history/managed.ts+++ b/frontend/src/history/managed.ts@@ -9,8 +9,8 @@* 要一直画着;附属面由壳按各自的路由判据收,搜索下拉壳从不收。页面跟着这里登记的那一条走,不跟着* 地址匹配走:详情舞台压在页面上时地址是 `/item/:id`,页面要留着。*- * 常驻面(批量条、配色卡、管理区页头、沉浸模式)不跟某一页走,经 `openResidentSurface` 打开:没有首屏取数、- * 一直算当前页,宿主就是那个常驻节点。它们从不收;只有错误边界会卸掉它的组件,而且只卸组件、不撤宿主。+ * 常驻面(批量条、配色卡、管理区页头、沉浸模式、设置面板)不跟某一页走,经 `openResidentSurface` 打开:没有+ * 首屏取数、一直算当前页,宿主就是那个常驻节点。它们从不收;只有错误边界会卸掉它的组件,而且只卸组件、不撤宿主。** 登记键是「面」:页面用路径(`/stats`、`/performers/*`、`/`),附属面与常驻面用名字(`search`、* `batch-dock`),两者不重叠,路由树按键查同一组表(`react/router/managed-routes.tsx`)。@@ -132,7 +132,7 @@ export async function openManagedRoute(path: string, props: object, options: Man** `place` 在画首帧的同一个任务里把宿主交给路由树,返回的仍须是这个节点本身;不给就原样交出。宿主里先有* 壳的启动骨架时(管理区页头),由它清掉骨架:骨架一直留到首帧画上的那一刻,中间没有一帧空白。宿主是新建、- * 还不在文档里的节点时(沉浸模式),由它挂进文档,节点与首帧一起出现。+ * 还不在文档里的节点时(沉浸模式、设置面板),由它挂进文档,节点与首帧一起出现。** 每座只在壳启动(或第一次用到)时打开一次。之后壳经它的命令式句柄推内容,组件订阅自己的 store;* 抛错后错误边界只卸组件,这一面空到刷新为止,句柄照旧可调、不抛。 */diff --git a/frontend/src/islands.ts b/frontend/src/islands.tsindex 42d7157e8..854f42ce3 100644--- a/frontend/src/islands.ts+++ b/frontend/src/islands.ts@@ -56,14 +56,20 @@ export function loadStage(host: ReactBundle.StageHost): Promise<ReactBundle.Stag}export const stageApi = (): ReactBundle.StageApi | null => stageReady;-/* 设置面板岛(`react/settings-panel/`):同舞台岛一样只交命令式入口。第一次按齿轮时才装载 React 包、- * 接上宿主;之后 `settingsPanelApi()` 同步可取,包还没装载时是 null——那时面板必然没开过。 */+/* 设置面板(`react/settings-panel/`,常驻面 `settings-panel`):只交命令式入口。第一次按齿轮时才装载 React 包,+ * 建宿主 `[data-settings-host]`,路由树打开这一面时由 `place` 把它放进 body 末尾、在同一个任务里画出收着的面板;+ * 画上之后句柄才交出去:从那一刻起 `settingsPanelApi()` 同步可取,`open` 返回时面板已经画好。句柄还没交出时+ * 它返回 null——那时面板必然没开过。 */let settingsPanel: Promise<ReactBundle.SettingsPanelApi> | null = null;let settingsPanelReady: ReactBundle.SettingsPanelApi | null = null;export function loadSettingsPanel(host: ReactBundle.SettingsPanelHost): Promise<ReactBundle.SettingsPanelApi> {- settingsPanel ??= import('@peach/react').then((bundle) => {- settingsPanelReady = bundle.configureSettingsPanel(host);- return settingsPanelReady;+ settingsPanel ??= import('@peach/react').then(async (bundle) => {+ const api = bundle.configureSettingsPanel(host);+ const root = document.createElement('div');+ root.dataset.settingsHost = '';+ await openResidentSurface('settings-panel', root, (node) => { document.body.append(node); return node });+ settingsPanelReady = api;+ return api;});return settingsPanel;}diff --git a/frontend/src/react/bundle.d.ts b/frontend/src/react/bundle.d.tsindex 1106dbbae..8a4e4dbda 100644--- a/frontend/src/react/bundle.d.ts+++ b/frontend/src/react/bundle.d.ts@@ -473,7 +473,8 @@ export type {SettingsEffect, SettingsPanelApi, SettingsPanelHost,} from './settings-panel/settings-panel-api';-/** 接上壳给的宿主,拿回设置面板岛的命令式入口(`settings-panel/settings-panel.tsx`)。只调一次。 */+/** 接上壳给的宿主,拿回设置面板的命令式入口(`settings-panel/settings-panel.tsx`)。只调一次;这一面由+ * `islands.ts` 的 `loadSettingsPanel` 接着经常驻表的 `openResidentSurface` 在路由树里打开。 */export declare function configureSettingsPanel(host: SettingsPanelHost): SettingsPanelApi;export type { ImmerseApi, ImmerseHost } from './immerse/immerse-api';diff --git a/frontend/src/react/entry.tsx b/frontend/src/react/entry.tsxindex c2bb14c56..e8464cc85 100644--- a/frontend/src/react/entry.tsx+++ b/frontend/src/react/entry.tsx@@ -1,6 +1,6 @@/* React 子树的构建入口(`web/dist/peach-react.js`),按 `bundle.d.ts` 的签名导出命令式入口。页面与页面里的- * 附属面都由路由树画(`router/`),常驻层各有自己的 `configureXxx`:已收进常驻表的批量条、配色卡、管理区页头- * 与沉浸模式交出句柄或宿主、由路由树画,其余几座各建一棵根。共享缓存、减弱动效与弹出层容器见+ * 附属面都由路由树画(`router/`),常驻层各有自己的 `configureXxx`:已收进常驻表的批量条、配色卡、管理区页头、+ * 沉浸模式与设置面板交出句柄或宿主、由路由树画,其余几座各建一棵根。共享缓存、减弱动效与弹出层容器见* `providers.tsx`。 */import './styles.css';diff --git a/frontend/src/react/router/managed-routes.tsx b/frontend/src/react/router/managed-routes.tsxindex 07080ca50..d5cf752c7 100644--- a/frontend/src/react/router/managed-routes.tsx+++ b/frontend/src/react/router/managed-routes.tsx@@ -56,6 +56,7 @@ import { ScrapingPage } from '../scraping/scraping-page';import { SearchPage } from '../search/search-page';import { prefetchConfiguration } from '../settings/configuration';import { ConfigurationPage } from '../settings/configuration-page';+import { SettingsPanelSurface } from '../settings-panel/settings-panel';import { prefetchStats } from '../stats/stats';import { StatsPage } from '../stats/stats-page';import { DEFAULT_WINDOW, prefetchTaste } from '../taste/taste';@@ -280,7 +281,7 @@ const isSurfaceName = (key: string): key is SurfaceName => Object.hasOwn(SURFACE那个节点。从不收,只有错误边界会卸它的组件,宿主照旧留在文档里。打开不带 props:壳经命令式句柄推内容,组件订阅自己模块里的 store,句柄里的绘制同步做完。管理区页头的宿主里先有壳的启动骨架,打开时由 `place`在画出首帧的同一个任务里清掉;沉浸的宿主不在壳的页面里,第一次打开时新建,由 `place` 在画出首帧的同一个- 任务里挂到 body 末尾。 */+ 任务里挂到 body 末尾;设置面板的宿主在第一次打开时才有,由 `place` 在同一个任务里放进 body 末尾。 */export const RESIDENT_ROUTES: ResidentRouteTable = {'batch-dock': {prefetch: async () => {},@@ -298,6 +299,10 @@ export const RESIDENT_ROUTES: ResidentRouteTable = {prefetch: async () => {},page: () => <ImmerseSurface />,},+ 'settings-panel': {+ prefetch: async () => {},+ page: () => <SettingsPanelSurface />,+ },};const isResidentName = (key: string): key is ResidentName => Object.hasOwn(RESIDENT_ROUTES, key);/** 画着 `#grid` 那两页时地址可能落在的路径:首页、三个筛选态、回收站与垃圾文件。只进 `<Routes>` 的声明,diff --git a/frontend/src/react/router/router.tsx b/frontend/src/react/router/router.tsxindex 36690bda5..fd34854f7 100644--- a/frontend/src/react/router/router.tsx+++ b/frontend/src/react/router/router.tsx@@ -1,6 +1,6 @@/* 客户端导航(ADR-0031「React Router 外壳阶段接管」):React Router 的 Declarative 模式接管 history。* 管理区那几页、播放列表页与关注页、索引页与资料页、目录网格与垃圾队列,以及页面里的附属面(首页筛选条、- * 首页新作行、目录页处理横幅、顶栏搜索下拉)与常驻面(底部批量条、侧栏配色卡、管理区页头、沉浸模式)+ * 首页新作行、目录页处理横幅、顶栏搜索下拉)与常驻面(底部批量条、侧栏配色卡、管理区页头、沉浸模式、设置面板)* (`managed-routes.tsx`)由这棵树画,* 其余页面仍由壳的 `ROUTES` 表打开。*diff --git a/frontend/src/react/router/shell-actions.ts b/frontend/src/react/router/shell-actions.tsindex 2d0473131..9c50782d5 100644--- a/frontend/src/react/router/shell-actions.ts+++ b/frontend/src/react/router/shell-actions.ts@@ -152,13 +152,15 @@ export interface SurfaceOpenProps {export type SurfaceName = keyof SurfaceOpenProps;/** 常驻面,按名字登记、宿主就是那个常驻节点:底部批量条(`[data-batch-dock]`)、侧栏配色卡(`#boardGlowMenu`)、- * 管理区页头(`[data-manage-header]`)与沉浸模式(body 末尾的 `[data-immerse-host]`)。打开时不带 props- * (`openResidentSurface`),内容由壳经各自的命令式句柄推进组件自己的 store。 */+ * 管理区页头(`[data-manage-header]`)、沉浸模式(body 末尾的 `[data-immerse-host]`)与设置面板+ * (`[data-settings-host]`,第一次打开时放进 body 末尾)。打开时不带 props(`openResidentSurface`),内容由壳经+ * 各自的命令式句柄推进组件自己的 store。 */export interface ResidentOpenProps {'batch-dock': Record<string, never>;'glow-picker': Record<string, never>;'manage-header': Record<string, never>;immerse: Record<string, never>;+ 'settings-panel': Record<string, never>;}export type ResidentName = keyof ResidentOpenProps;diff --git a/frontend/src/react/settings-panel/settings-panel-api.ts b/frontend/src/react/settings-panel/settings-panel-api.tsindex 4769ce2c6..650797044 100644--- a/frontend/src/react/settings-panel/settings-panel-api.ts+++ b/frontend/src/react/settings-panel/settings-panel-api.ts@@ -1,4 +1,4 @@-/* 设置面板岛(`settings-panel.tsx`)与壳之间的接缝。+/* 设置面板(常驻面 `settings-panel`,`settings-panel.tsx`)与壳之间的接缝。** 界面偏好只有一份:壳在启动时归一化好的 `appSettings`,经 `createSettingsStore` 递进来* (`frontend/src/settings-store.ts`)。面板读 `store.value`、原地改字段、`store.save()` 落盘,diff --git a/frontend/src/react/settings-panel/settings-panel.css b/frontend/src/react/settings-panel/settings-panel.cssindex 6e18fc97c..477e675c8 100644--- a/frontend/src/react/settings-panel/settings-panel.css+++ b/frontend/src/react/settings-panel/settings-panel.css@@ -1,4 +1,4 @@-/* 设置面板岛(`settings-panel.tsx`):遮罩、两栏卡片、左栏分区、一组组设置行,以及面板里的+/* 设置面板(常驻面 `settings-panel`,`settings-panel.tsx`):遮罩、两栏卡片、左栏分区、一组组设置行,以及面板里的* 光晕参数、侧栏排序与数值控件。** 面板不在 `.peach-react` 里,行里的开关、下拉、分段与拉条是全站共用的遗留控件,它们自己的外观diff --git a/frontend/src/react/settings-panel/settings-panel.tsx b/frontend/src/react/settings-panel/settings-panel.tsxindex 7f29cf90e..8e35a4170 100644--- a/frontend/src/react/settings-panel/settings-panel.tsx+++ b/frontend/src/react/settings-panel/settings-panel.tsx@@ -1,11 +1,13 @@-/* 设置面板岛:顶栏齿轮打开的那一屏浮层,左栏分区、右边一组组设置行。+/* 设置面板:顶栏齿轮打开的那一屏浮层,左栏分区、右边一组组设置行。*- * 面板常驻:第一次打开时在 body 末尾建一枚 `[data-settings-host]` 挂上根,之后开合只换- * `hidden`,分区、滚动位置之外的状态跨次打开保留。界面偏好读写的是壳递进来的那一份- * `appSettings`(`host.store`),改完一项用 `host.changed(effect)` 告诉壳跟着做什么;跟账本走的+ * 常驻面 `settings-panel`(`router/managed-routes.tsx` 的常驻表):第一次打开时壳的 `loadSettingsPanel` 建一枚+ * `[data-settings-host]`,常驻面的 `place` 把它放进 body 末尾,路由树在同一个任务里把面板画成它的子节点。+ * 之后开合只换 `hidden`,分区、滚动位置之外的状态跨次打开保留。壳经 `configureSettingsPanel` 给的句柄开合:+ * 句柄写本模块的 store 再 `flushSync` 通知,返回时面板已经画好,锁滚、取数与焦点紧跟在后面。界面偏好读写的是+ * 壳递进来的那一份 `appSettings`(`host.store`),改完一项用 `host.changed(effect)` 告诉壳跟着做什么;跟账本走的* 那几项经 `/api/settings` 写(`settings-data.ts`)。*- * 面板不在 `.peach-react` 里:行、开关、下拉、拉条与色块都是全站共用的遗留控件,外观由+ * 宿主不在 `.peach-react` 里:行、开关、下拉、拉条与色块都是全站共用的遗留控件,外观由* `settings-panel.css` 与遗留样式表给。只有「这台电脑」那一格的摘要卡是 BoardUI,单独套一层。** 每次打开都像重新进一次这一屏:共用控件重画、数值框回到当前值、两份机器状态重取。@@ -14,7 +16,6 @@ import {useEffect, useLayoutEffect, useRef, useState, useSyncExternalStore,type KeyboardEvent, type ReactNode,} from 'react';-import { createRoot, type Root } from 'react-dom/client';import { flushSync } from 'react-dom';import { useQuery } from '@tanstack/react-query';@@ -26,7 +27,6 @@ import {import { normalizeJavImage } from '../../jav-artwork';import { boundedPreference } from '../../number-setting';-import { Providers } from '../providers';import { prefetchConfiguration } from '../settings/configuration';import { ConfigurationSummary } from '../settings/configuration-summary';import { GlowSettings } from './glow-settings';@@ -73,32 +73,25 @@ type Machine = 'none' | 'note' | 'summary';interface View { open: boolean; closing: boolean; epoch: number; tab: number; machine: Machine }let host: SettingsPanelHost | null = null;-let root: Root | null = null;-let container: HTMLElement | null = null;let view: View = { open: false, closing: false, epoch: 0, tab: 0, machine: 'none' };let transition = 0;let returnFocus: Element | null = null;+const listeners = new Set<() => void>();-function panelRoot(): Root {- if (!root || !container?.isConnected) {- root?.unmount();- container = document.createElement('div');- container.dataset.settingsHost = '';- document.body.append(container);- root = createRoot(container);- }- return root;+function subscribe(listener: () => void): () => void {+ listeners.add(listener);+ return () => { listeners.delete(listener) };}-function paint(): void {- const current = host;- if (!current) return;- flushSync(() => panelRoot().render(<Providers><SettingsPanel host={current} view={view} /></Providers>));+function notify(): void {+ for (const listener of [...listeners]) listener();}+/* 写进 store 当场画完:句柄返回时面板已经是新的样子,紧跟着的锁滚、取数与焦点读的都是画好的 DOM。+ 这一面抛错、被错误边界卸掉之后没人订阅,写进来的只进 store,不画、不抛。 */function update(patch: Partial<View>): void {view = { ...view, ...patch };- paint();+ flushSync(notify);}/* 「这台电脑」:能在这台设备上改配置时放摘要卡,否则一句话说清去哪儿改。摘要卡一旦挂上就留着;@@ -124,7 +117,7 @@ function open(section = ''): void {document.documentElement.style.overflow = 'hidden';document.body.classList.add('settings-open');const requested = SECTIONS.findIndex(([title]) => title === section);- /* 先发取数再挂根:第一次打开时查询还不存在,这一趟由 `fetchQuery` 建起来,组件挂上去读到+ /* 先发取数再画:第一次打开时查询还不存在,这一趟由 `fetchQuery` 建起来,组件画出来读到的就是在途的这一份,不会再发第二趟。 */const remote = refreshPanelData();update({ open: true, closing: false, epoch: view.epoch + 1, tab: requested >= 0 ? requested : view.tab });@@ -146,7 +139,7 @@ function close(): void {returnFocus = null;};if (matchMedia('(prefers-reduced-motion: reduce)').matches) { queueMicrotask(finish); return }- container?.querySelector('[data-settings-card]')?.addEventListener('animationend', finish, { once: true });+ document.querySelector('#settingsPanel > [data-settings-card]')?.addEventListener('animationend', finish, { once: true });setTimeout(finish, 380);}@@ -157,12 +150,19 @@ const api: SettingsPanelApi = {reveal: (selector) => queueMicrotask(() => document.querySelector(selector)?.scrollIntoView({ block: 'nearest' })),};+/** 接上壳给的宿主,拿回设置面板的命令式入口。只调一次;壳的 `loadSettingsPanel` 接着在路由树里打开这一面,+ * 画上(收着的)面板之后才交出句柄。 */export function configureSettingsPanel(next: SettingsPanelHost): SettingsPanelApi {host = next;- paint();return api;}+/** 常驻表里的那一面:读本模块的 store,宿主还没接上时不画。 */+export function SettingsPanelSurface() {+ const shown = useSyncExternalStore(subscribe, () => view);+ return host ? <SettingsPanel host={host} view={shown} /> : null;+}+function trapTab(event: KeyboardEvent<HTMLElement>): void {if (event.key !== 'Tab') return;/* 没选中的分区整块 hidden,里面的控件拿不到焦点;圈的两头只在看得见的控件里找。 */diff --git a/frontend/test/react/settings-panel.test.tsx b/frontend/test/react/settings-panel.test.tsxindex bc19ce0a0..83e84a3fb 100644--- a/frontend/test/react/settings-panel.test.tsx+++ b/frontend/test/react/settings-panel.test.tsx@@ -1,27 +1,107 @@-/* 设置面板(`settings-panel` 岛)与壳之间的接缝:每一项改完只落一次盘、只报自己那一个效果名,- * 拉条拖动中只排重画、松手才落盘,面板 DOM 只建一次。开合、焦点、写接口与像素在真浏览器里验,- * 见 `e2e/settings-panel.test.ts` 与 `e2e/design.test.ts`。 */+/* 设置面板(常驻面 `settings-panel`)与壳之间的接缝:每一项改完只落一次盘、只报自己那一个效果名,+ * 拉条拖动中只排重画、松手才落盘,面板 DOM 只建一次;以及它作为常驻面(`RESIDENT_ROUTES['settings-panel']`)+ * 在路由树里的行为:宿主 `[data-settings-host]` 第一次打开时放进 body 末尾、不包 `.peach-react`,画上之后句柄+ * 才交出,`open` 返回时面板已经画好,抛错只卸组件。开合动效、焦点圈、写接口与像素在真浏览器里验,见+ * `e2e/settings-panel.test.ts` 与 `e2e/design.test.ts`。 */import { act } from 'react';+import { createRoot } from 'react-dom/client';import { notifyManager } from '@tanstack/react-query';-import { afterEach, beforeEach, describe, expect, it, vi, type Mock } from 'vitest';+import { afterEach, beforeAll, beforeEach, describe, expect, it, vi, type Mock } from 'vitest';import { normalizeHomeGlow } from '@peach/appearance';-import { queryClient } from '../../src/react/query';-import { configureSettingsPanel } from '../../src/react/settings-panel/settings-panel';-import type { PanelSettings, SettingsEffect, SettingsPanelApi } from '../../src/react/settings-panel/settings-panel-api';+import type { BatchDockApi, BatchDockHost } from '../../src/react/batch-dock/batch-dock-api';+import type { ShellActions } from '../../src/react/router/shell-actions';+import type {+ PanelSettings, SettingsEffect, SettingsPanelApi, SettingsPanelHost,+} from '../../src/react/settings-panel/settings-panel-api';import { createSettingsStore } from '../../src/settings-store';import { click, settle } from './render';notifyManager.setScheduler((notify) => notify());-interface Stage {- api: SettingsPanelApi;- changed: Mock<(effect: SettingsEffect) => void>;- save: Mock<() => void>;- setHighContrast: Mock<(on: boolean) => void>;- value: PanelSettings;+// 首次导入会编译路由表带进来的整棵页面子树,编译等待使用独立的有限窗口;之后每条用例重新装载只重跑模块。+const REACT_IMPORT_TIMEOUT_MS = 30_000;++type ActFlag = { IS_REACT_ACT_ENVIRONMENT?: boolean };++beforeAll(async () => { await import('../../src/react/router/router') }, REACT_IMPORT_TIMEOUT_MS);++/* 左栏分区的字形换成一层能当场决定抛不抛的包装:用例中途改 `glyph.broken`,就是「下一次绘制抛错」。 */+const glyph = vi.hoisted(() => ({ broken: false }));+vi.mock(import('../../src/react/settings-panel/icon'), async (importOriginal) => {+ const actual = await importOriginal();+ return {+ ...actual,+ RemixIcon: (props: Parameters<typeof actual.RemixIcon>[0]) => {+ if (glyph.broken) throw new Error('设置面板画不出来');+ return actual.RemixIcon(props);+ },+ };+});++/* 壳那一侧的 `islands.ts` 按 `@peach/react` 引产物;React 子树的类型配置不映射这个名字,所以这里不让类型检查+ 跟进去,只按壳用的几个入口取。运行时 Vitest 把它指到 `entry.tsx`。 */+type ShellIslands = {+ loadSettingsPanel(host: SettingsPanelHost): Promise<SettingsPanelApi>;+ settingsPanelApi(): SettingsPanelApi | null;+ loadBatchDock(host: BatchDockHost): Promise<BatchDockApi>;+};+const ISLANDS_MODULE = '../../src/islands';++async function load() {+ vi.resetModules();+ window.history.replaceState(null, '', '/');+ const [history, router, routes, query, islands] = await Promise.all([+ import('../../src/history'), import('../../src/react/router/router'), import('../../src/react/router/managed-routes'),+ import('../../src/react/query'), import(/* @vite-ignore */ ISLANDS_MODULE) as Promise<ShellIslands>,+ ]);+ return { ...history, ...router, ...routes, queryClient: query.queryClient, islands };+}+type Loaded = Awaited<ReturnType<typeof load>>;++const unmounts: Array<() => void> = [];+beforeEach(() => {+ /* 不放动画:关上当场收起。 */+ vi.stubGlobal('matchMedia', (query: string) => ({+ matches: query.includes('reduce'), media: query, addEventListener: () => {}, removeEventListener: () => {},+ }));+ vi.stubGlobal('fetch', vi.fn(async () => ({ ok: true, status: 200, json: async () => ({}) })));+});+afterEach(async () => {+ (globalThis as ActFlag).IS_REACT_ACT_ENVIRONMENT = true;+ for (const unmount of unmounts.splice(0)) await act(async () => { unmount() });+ document.body.innerHTML = '';+ document.body.className = '';+ document.documentElement.style.overflow = '';+ glyph.broken = false;+ vi.unstubAllGlobals();+ vi.restoreAllMocks();+});++function shellActions(): ShellActions {+ return {+ openItem: vi.fn(), openEntity: vi.fn(), openTag: vi.fn(), openTasteSignal: vi.fn(), navigate: vi.fn(),+ openManage: vi.fn(), managePath: vi.fn(() => ''), openFollow: vi.fn(), receipt: vi.fn(), toast: vi.fn(),+ failure: vi.fn(), revealSource: vi.fn(async () => ''), reopenTutorial: vi.fn(async () => {}),+ requestConfigurationSection: vi.fn(), requestCloudDownload: vi.fn(), routeReview: vi.fn(),+ routeFollowManage: vi.fn(), saveFollowPreference: vi.fn(), srcBadge: () => '', routeIndex: vi.fn(),+ savePeopleLayout: vi.fn(), exitSelectMode: vi.fn(), personAvatar: vi.fn(() => ({ html: '', face: '' })),+ authorAvatar: vi.fn(() => ''), showIndexTags: vi.fn(), openFollowAuthor: vi.fn(), openFollowTag: vi.fn(),+ openPlaylist: vi.fn(), canFlip: vi.fn(() => true),+ };+}++/** 壳启动时先画路由树(根的选项与 `configureRouter` 同一份);接上取数单独一步,用例可以把它往后放。 */+async function mountRouter(r: Loaded) {+ const root = createRoot(document.createElement('div'), r.ROUTER_ROOT_OPTIONS);+ await act(async () => { root.render(<r.RouterRoot actions={shellActions()} />) });+ unmounts.push(() => root.unmount());+ unmounts.push(() => r.queryClient.clear());+}+async function connect(r: Loaded) {+ await act(async () => { r.connectManagedRoutes(Promise.resolve(r.prefetchManagedRoute)) });}const settings = (): PanelSettings => ({@@ -32,13 +112,15 @@ const settings = (): PanelSettings => ({relatedLimit: 24, searchHistoryLimit: 10, followInitialDays: 30, metadataRefreshDays: 30,});-function stage(): Stage {+/** 壳 `settingsHost()` 交进来的那一份。 */+function panelHost() {const value = settings();const store = createSettingsStore('peach.settings.v1', value);const save = vi.spyOn(store, 'save') as unknown as Mock<() => void>;const changed = vi.fn<(effect: SettingsEffect) => void>();const setHighContrast = vi.fn<(on: boolean) => void>();- const api = configureSettingsPanel({+ const attached = vi.fn<(panel: HTMLElement) => void>();+ const host: SettingsPanelHost = {store, changed, sound: () => {},navCatalog: [['', '首页', 'house']],themeOptions: [['system', '跟随系统', 'monitor'], ['light', '浅色', 'sun'], ['dark', '深色', 'moon']],@@ -46,25 +128,26 @@ function stage(): Stage {followInitialRanges: [['30', '30 天']],videoLayout: () => 'small', setVideoLayout: () => {},censored: () => false, setCensored: () => {}, highContrast: () => false, setHighContrast,- receipt: () => {}, failure: () => {}, syncRemote: () => {}, openConfiguration: () => {}, attached: () => {},+ receipt: () => {}, failure: () => {}, syncRemote: () => {}, openConfiguration: () => {}, attached,configurable: async () => false,- });- return { api, changed, save, setHighContrast, value };+ };+ return { host, value, save, changed, setHighContrast, attached };}-const effects = (changed: Stage['changed']) => changed.mock.calls.map(([effect]) => effect);--beforeEach(() => {- /* 不放动画:关上当场收起。 */- vi.stubGlobal('matchMedia', (query: string) => ({- matches: query.includes('reduce'), media: query, addEventListener: () => {}, removeEventListener: () => {},- }));- vi.stubGlobal('fetch', vi.fn(async () => ({ ok: true, status: 200, json: async () => ({}) })));-});+/** 照壳的 `openSettings` 接上:路由树在启动时就画着,第一次按齿轮才装载。 */+async function setup() {+ const r = await load();+ await mountRouter(r);+ await connect(r);+ const shell = panelHost();+ let api!: SettingsPanelApi;+ await act(async () => { api = await r.islands.loadSettingsPanel(shell.host) });+ return { r, api, ...shell };+}+type Stage = Awaited<ReturnType<typeof setup>>;-afterEach(async () => {- queryClient.clear();-});+const effects = (changed: Stage['changed']) => changed.mock.calls.map(([effect]) => effect);+const settingsRoot = () => document.querySelector<HTMLElement>('[data-settings-host]');async function open(current: Stage, section?: string): Promise<HTMLElement> {await act(async () => current.api.open(section));@@ -77,9 +160,17 @@ async function close(current: Stage): Promise<void> {await settle();}+/** 收下每一次上报;`console.error` 只静音,不数条数。 */+function watchReports() {+ const reported = vi.fn();+ vi.stubGlobal('reportError', reported);+ vi.spyOn(console, 'error').mockImplementation(() => {});+ return reported;+}+describe('设置面板与壳的接缝', () => {it('每一个开关只落一次盘、只报自己那一个效果名', async () => {- const current = stage();+ const current = await setup();const panel = await open(current);for (const [id, field, effect] of [['uiSoundsSetting', 'uiSounds', 'uiSounds'], ['groupCollapseSetting', 'groupCollapse', 'groupCollapse'],@@ -103,7 +194,7 @@ describe('设置面板与壳的接缝', () => {});it('「增加对比度」是一枚开关:按下交给壳切实色背景', async () => {- const current = stage();+ const current = await setup();const panel = await open(current);const contrast = panel.querySelector<HTMLInputElement>('#glassContrastSetting')!;expect([contrast.getAttribute('role'), panel.querySelector('label[for="glassContrastSetting"] b')?.textContent])@@ -114,7 +205,7 @@ describe('设置面板与壳的接缝', () => {});it('拖动光晕拉条:每一步只叫壳排一帧重画,不落盘;松手那一下才落盘', async () => {- const current = stage();+ const current = await setup();const panel = await open(current);const root = panel.querySelector<HTMLElement>('[data-glow-dial="strength"]')!;const slider = root.querySelector<HTMLElement>('[data-dial-slider]')!;@@ -139,7 +230,7 @@ describe('设置面板与壳的接缝', () => {});it('关上再开是同一棵面板:DOM 只建一次,光晕参数区不重建', async () => {- const current = stage();+ const current = await setup();const panel = await open(current);const glow = panel.querySelector('#homeGlowControls');const dial = panel.querySelector('[data-glow-dial="speed"]');@@ -153,3 +244,88 @@ describe('设置面板与壳的接缝', () => {await close(current);});});++describe('常驻面', () => {+ it('第一次装载:画上之前没有宿主、句柄为 null;画上之后宿主在 body 末尾、不包 .peach-react,面板收着,句柄才交出', async () => {+ const r = await load();+ await mountRouter(r);+ const shell = panelHost();+ let loaded: Promise<SettingsPanelApi> | null = null;+ await act(async () => { loaded = r.islands.loadSettingsPanel(shell.host) });+ expect(settingsRoot(), '路由树还没接上取数,宿主还没放进文档').toBeNull();+ expect(r.islands.settingsPanelApi()).toBeNull();++ await connect(r);+ let api: SettingsPanelApi | null = null;+ await act(async () => { api = await loaded });+ expect(r.islands.settingsPanelApi()).toBe(api);+ const host = settingsRoot()!;+ expect(host.parentElement).toBe(document.body);+ expect(document.body.lastElementChild).toBe(host);+ expect(r.managedEntry(host)?.path).toBe('settings-panel');+ expect(host.querySelector(':scope > .peach-react')).toBeNull();+ const panel = host.querySelector<HTMLElement>(':scope > section#settingsPanel')!;+ expect(panel.hidden).toBe(true);+ expect(api!.isOpen()).toBe(false);+ expect(shell.attached.mock.calls, '左栏玻璃在面板第一次进 DOM 时挂一次').toEqual([[panel]]);+ });++ it('open 返回时面板已画好、isOpen 为真、页面锁住;焦点在同一轮微任务里落到关闭钮,关上后还给打开前那一枚', async () => {+ const current = await setup();+ const trigger = document.createElement('button');+ document.body.prepend(trigger);+ trigger.focus();+ /* 不包 act:act 会把 flushSync 推到它结束时,看不出句柄自己同步没有。 */+ (globalThis as ActFlag).IS_REACT_ACT_ENVIRONMENT = false;+ current.api.open('浏览');+ const panel = document.querySelector<HTMLElement>('#settingsPanel')!;+ expect([panel.hidden, panel.querySelector('#settingsTitle')?.textContent, current.api.isOpen()])+ .toEqual([false, '浏览', true]);+ expect([document.documentElement.style.overflow, document.body.classList.contains('settings-open')])+ .toEqual(['hidden', true]);+ expect(document.activeElement).toBe(trigger);+ await Promise.resolve();+ expect(document.activeElement?.id).toBe('settingsClose');++ current.api.close();+ expect([panel.hasAttribute('data-closing'), current.api.isOpen()]).toEqual([true, true]);+ await Promise.resolve();+ expect([panel.hidden, current.api.isOpen(), document.documentElement.style.overflow,+ document.body.classList.contains('settings-open')]).toEqual([true, false, '', false]);+ expect(document.activeElement).toBe(trigger);+ await settle();+ });++ it('抛错只卸组件、宿主还在,批量条照画;之后句柄照旧可调、不抛,只报一次', async () => {+ const reported = watchReports();+ const current = await setup();+ const host = settingsRoot()!;+ const dockRoot = document.createElement('div');+ dockRoot.setAttribute('data-batch-dock', '');+ document.body.append(dockRoot);+ let dock!: BatchDockApi;+ await act(async () => { dock = await current.r.islands.loadBatchDock({ root: dockRoot, run: vi.fn() }) });++ glyph.broken = true;+ await act(async () => { current.api.open() });+ expect(reported).toHaveBeenCalledTimes(1);+ expect(reported).toHaveBeenCalledWith(expect.objectContaining({ message: '设置面板画不出来' }));+ expect(host.isConnected, '宿主不撤').toBe(true);+ expect(host.childNodes.length, '组件卸掉了').toBe(0);+ expect(current.r.managedTaken(host)).toBe(false);+ expect(current.r.managedEntries().map((entry) => entry.path), '别的面照画').toEqual(['batch-dock']);+ await act(async () => { dock.render({ count: 2, context: 'catalog', junkDismissed: false }) });+ expect(dockRoot.querySelector('[data-selection-dock] [role="status"]')?.textContent).toBe('已选 2 项');++ /* 壳照旧经 Escape 收、经齿轮开:不抛、不重开、不再上报。 */+ await act(async () => { expect(() => current.api.close()).not.toThrow() });+ await settle();+ glyph.broken = false;+ await act(async () => { expect(() => current.api.open('浏览')).not.toThrow() });+ await settle();+ expect(reported, '确定性抛错只报那一次').toHaveBeenCalledTimes(1);+ expect(host.childNodes.length, '空到刷新为止,不自愈').toBe(0);+ await act(async () => { current.api.close() });+ await settle();+ });+});diff --git a/web/app.js b/web/app.jsindex b30c38b78..b3f6a25eb 100644--- a/web/app.js+++ b/web/app.js@@ -522,7 +522,7 @@ watchSystemTheme();/* 光晕、玻璃面与强调色写到页面上(`frontend/src/appearance/glow.ts`),第一帧之前同步写一次。侧栏那枚配色钮、它的配色卡与设置面板都订阅同一份 store,点哪一处改的配色另两处当场跟上。 */paintHomeGlowNow();applyGlassFaces();applyAccent();-/* 设置面板归 React 岛(`frontend/src/react/settings-panel/`)。岛只改 `appSettings` 的字段并落盘,+/* 设置面板归常驻面 `settings-panel`(`frontend/src/react/settings-panel/`),由路由树画。它只改 `appSettings` 的字段并落盘,改完用效果名告诉这里跟着做什么:重画网格、重取目录、换主题、重排侧栏都还是壳的事。 */const settingsEffects={theme:()=>applyTheme(),diff --git a/web/css/01-base.css b/web/css/01-base.cssindex cf31e6509..e8bbf9144 100644--- a/web/css/01-base.css+++ b/web/css/01-base.css@@ -104,7 +104,7 @@--frost-panel:rgba(250,250,250,.92); --frost-light:rgba(255,255,255,.86);/* 盖住整页的弹层共用这一档遮罩:设置面板和作品详情浮窗底下都是同一片馆藏,压成两种深浅只会让人以为自己打开的是两种东西。取值沿用设置面板在 Board UI 一版里的实际渲染- (`settings-panel` 岛的 `[data-settings-panel]`),两档主题同值、不带模糊。 */+ (常驻面 `settings-panel` 的 `[data-settings-panel]`),两档主题同值、不带模糊。 */--scrim:rgba(0,0,0,.7);--overlay-5:rgba(0,0,0,.05);--border-10:rgba(0,0,0,.10);--border-15:rgba(0,0,0,.15);/* 输入框静止那条边。2026-09-05 实测 vercel.com 的输入框:静止 1px 的diff --git a/web/css/16-settings.css b/web/css/16-settings.cssindex 35a366629..77dfa8c3c 100644--- a/web/css/16-settings.css+++ b/web/css/16-settings.css@@ -1,5 +1,5 @@-/* 设置面板打开时锁住背后的页面。面板本身归 `settings-panel` 岛,样式在- `frontend/src/react/settings-panel/settings-panel.css`;类名由岛开合时挂在 body 上。 */+/* 设置面板打开时锁住背后的页面。面板本身归常驻面 `settings-panel`,样式在+ `frontend/src/react/settings-panel/settings-panel.css`;类名由它的句柄开合时挂在 body 上。 */body.settings-open{overflow:hidden}/* 页面滚动条属于 html 而不只是 body:锁住 body 后文档根仍可滚,打开弹层时背后的页滚动条还在,弹层自身加上它就是两条。 */diff --git a/web/dist/peach-react.js b/web/dist/peach-react.jsindex 3f17d14d3..af3a83fa5 100644--- a/web/dist/peach-react.js+++ b/web/dist/peach-react.js@@ -12405,7 +12405,7 @@ function Zte(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function Qte(e, t, n) {+function ax(e, t, n) {let r = ix.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = V_({ style: {position: "fixed",top: 0,@@ -12441,8 +12441,8 @@ function Qte(e, t, n) {}};}-function ax(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, B.useRef)(null), c = (0, B.useRef)(null), { containerProps: l, selectProps: u } = Qte({+function Qte(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, B.useRef)(null), c = (0, B.useRef)(null), { containerProps: l, selectProps: u } = ax({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -15197,14 +15197,14 @@ function oC(e, t) {type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function sC(e) {+function hre(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function cC(e, t) {- let n = sC(e);+async function sC(e, t) {+ let n = hre(e);if (n) return n;try {let n = await ce(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -15215,7 +15215,7 @@ async function cC(e, t) {} catch {}return oC(e, t);}-function lC(e) {+function cC(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -15224,21 +15224,21 @@ function lC(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var uC = "";-function dC() {- return uC;+var lC = "";+function uC() {+ return lC;}-function fC() {- return uC ||= aC(), uC;+function dC() {+ return lC ||= aC(), lC;}-var hre = (e) => oC(e, fC()), gre = (e) => cC(e, fC());-function pC() {- let e = uC;- e && (uC = "", lC(e));+var fC = (e) => oC(e, dC()), pC = (e) => sC(e, dC());+function mC() {+ let e = lC;+ e && (lC = "", cC(e));}//#endregion//#region src/player/telemetry.ts-function mC(e, t, n = {}) {+function hC(e, t, n = {}) {if (!t) return;let r = 0, i = 0, a = 0, o = null;t.addEventListener("seeking", () => {@@ -15286,7 +15286,7 @@ function mC(e, t, n = {}) {u(), l(!1);}, { once: !0 }), c();}-function _re(e, t) {+function gre(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 _re(e, t) {}//#endregion//#region src/player/videojs.ts-var hC = "/vendor/videojs/8.24.1/", gC = (e) => new Promise((t, n) => {+var gC = "/vendor/videojs/8.24.1/", _C = (e) => new Promise((t, n) => {let r = document.head.querySelector(`script[src="${e}"]`);if (r?.dataset.loaded) {t();@@ -15334,20 +15334,20 @@ var hC = "/vendor/videojs/8.24.1/", gC = (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));-}), _C = () => globalThis.videojs, vC = null;-function yC() {- let e = _C();- return e ? Promise.resolve(e) : (vC ??= gC(`${hC}video.min.js`).then(() => gC(`${hC}lang/zh-CN.js`)).then(() => {- let e = _C();+}), vC = () => globalThis.videojs, yC = null;+function bC() {+ let e = vC();+ return e ? Promise.resolve(e) : (yC ??= _C(`${gC}video.min.js`).then(() => _C(`${gC}lang/zh-CN.js`)).then(() => {+ let e = vC();if (!e) throw Error("videojs unavailable");return e;}).catch((e) => {- throw vC = null, e;- }), vC);+ throw yC = null, e;+ }), yC);}//#endregion//#region src/player/immerse-player.ts-var vre = {+var _re = {controls: !1,preload: "auto",posterImage: !1,@@ -15359,37 +15359,37 @@ var vre = {errorDisplay: !1,textTrackSettings: !1};-function yre(e, t) {+function vre(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([cC(n, r), yC().catch(() => null)]).then(([o, s]) => {+ return Promise.all([sC(n, r), bC().catch(() => null)]).then(([o, s]) => {if (a) return;let c = oC(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, vre);+ let t = s(e, _re);i = t, l && t.one("error", () => {a || t.src(c);}), t.src(o);}- mC(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ hC(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, lC(r), i ? iC(i) : (e.pause(), e.removeAttribute("src"), e.load()));+ a || (a = !0, cC(r), i ? iC(i) : (e.pause(), e.removeAttribute("src"), e.load()));};}//#endregion//#region src/player/detail-player.ts-var bC = /* @__PURE__ */ new WeakMap(), xC = null, SC = null, CC = null;-function wC() {- xC &&= (clearInterval(xC), null), SC &&= (clearInterval(SC), null), CC &&= (clearTimeout(CC), null);+var xC = /* @__PURE__ */ new WeakMap(), SC = null, CC = null, wC = null;+function TC() {+ SC &&= (clearInterval(SC), null), CC &&= (clearInterval(CC), null), wC &&= (clearTimeout(wC), null);}-async function bre(e, t, n, r = {}) {+async function yre(e, t, n, r = {}) {let i = BS();if (i && !i.isDisposed()) return i;let a = PS(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : gre(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : pC(e), c;try {- c = await yC();+ c = await bC();} catch {return t.controls = !0, s().then((e) => {t.src = e.src, n && t.play().catch(() => {});@@ -15432,10 +15432,10 @@ async function bre(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- bC.set(l, y), y.updateStats = () => {+ xC.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 = dC(), 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 = 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;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);m = S;@@ -15484,15 +15484,15 @@ async function bre(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = QS(l, e.id, dC(), r ? null : p), a = r ? $S(i) : are(i, US(t));+ let i = QS(l, e.id, uC(), r ? null : p), a = r ? $S(i) : are(i, US(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(), SC && clearInterval(SC), SC = setInterval(S, 500));+ !e || !e.isConnected || (e.hidden = !1, S(), CC && clearInterval(CC), CC = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (CC && clearTimeout(CC), CC = setTimeout(() => {- e.hidden = !0, SC &&= (clearInterval(SC), null);+ e && (wC && clearTimeout(wC), wC = setTimeout(() => {+ e.hidden = !0, CC &&= (clearInterval(CC), null);}, 1400));};return l.on([@@ -15504,7 +15504,7 @@ async function bre(e, t, n, r = {}) {S(), w();}), l.on("error", () => {if (b && !x && !l.isDisposed()) {- x = !0, b = !1, l.src(hre(e)), n && l.play()?.catch(() => {});+ x = !0, b = !1, l.src(fC(e)), n && l.play()?.catch(() => {});return;}r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {@@ -15528,14 +15528,14 @@ async function bre(e, t, n, r = {}) {}), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var xre = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function TC(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", xre), e.querySelector(":scope > #playerStatsBtn")) return;+var bre = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function EC(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", bre), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");n.innerHTML = ire(), e.insertBefore(n.content, t);}-function EC(e, t) {- let n = bC.get(e);+function DC(e, t) {+ let n = xC.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -15547,14 +15547,14 @@ function EC(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), xC &&= (clearInterval(xC), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), SC &&= (clearInterval(SC), 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(), xC && clearInterval(xC), xC = setInterval(n.updateStats, 1e3);+ document.dispatchEvent(new CustomEvent(JS, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), SC && clearInterval(SC), SC = setInterval(n.updateStats, 1e3);};let t = (t) => {t.detail !== "stats" && e();@@ -15562,14 +15562,14 @@ function EC(e, t) {document.addEventListener(JS, t), s = () => document.removeEventListener(JS, 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, wC()));+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, TC()));};return e.one("dispose", d), d;}-function DC(e, t) {- if (t.kind === "immerse") return yre(e, t);+function OC(e, t) {+ if (t.kind === "immerse") return vre(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 && TC(c, e);+ c && EC(c, e);let l = { resume: t.resume ?? null };if (n === "follow") l = {...l,@@ -15589,16 +15589,16 @@ function DC(e, t) {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), mC(r, e, {+ }, { once: !0 }), hC(r, e, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"});}let u = null, d = !1, f = () => {}, p = () => {- f(), !(!u || a?.(u)) && (BS() === u && (VS(null), wC()), iC(u));+ f(), !(!u || a?.(u)) && (BS() === u && (VS(null), TC()), iC(u));};- return bre(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {+ return yre(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {if (u = t, d) {p();return;@@ -15607,45 +15607,45 @@ function DC(e, t) {o?.(null);return;}- c && (f = EC(t, c)), n === "follow" && _re(r, e), o?.(t);+ c && (f = DC(t, c)), n === "follow" && gre(r, e), o?.(t);}), () => {d = !0, p();};}//#endregion//#region src/player/playback.ts-function OC(e) {+function kC(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function Sre(e, t) {+function xre(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 kC(e) {+function AC(e) {return e === "thumbnail" ? "thumbnail" : "cover";}-function Cre(e, t) {- return e.is_jav && e.code && e.has_cover && (kC(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";+function Sre(e, t) {+ return e.is_jav && e.code && e.has_cover && (AC(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";}-var AC = .704;-function jC(e, t) {+var jC = .704;+function MC(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var wre = (e, t) => [+var Cre = (e, t) => ["catalog-grid","catalog",e,t-], Tre = (e, t) => [+], wre = (e, t) => ["catalog-grid","entity",e,t];-async function Ere(e, t, n, r, i) {+async function Tre(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 Ere(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 Dre = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Ore = (e, t) => {+var Ere = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Dre = (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 MC(e) {- let t = jC(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function NC(e) {+ let t = MC(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: wre(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => Ere(t, e, n, r, i),+ queryKey: Cre(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => Tre(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: Dre(n)+ getNextPageParam: Ere(n)};}-function kre(e) {+function Ore(e) {return {- queryKey: Tre(e.entityKey || "", e.revision || 0),+ queryKey: wre(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -15685,12 +15685,12 @@ function kre(e) {};},initialPageParam: 0,- getNextPageParam: Ore+ getNextPageParam: Dre};}-async function Are(e, t) {+async function kre(e, t) {if (e.mode !== "catalog") return;- let n = MC(e);+ let n = NC(e);await z.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({@@ -15699,7 +15699,7 @@ async function Are(e, t) {})});}-function jre(e, t, n) {+function Are(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -15714,24 +15714,24 @@ function jre(e, t, n) {return !0;}) : [...e];}-var NC = (e, t) => !!e && !!Cre(e, t);-function Mre(e, t) {- let n = (e) => NC(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) => NC(e, t)) || e[e.length - 1];+var PC = (e, t) => !!e && !!Sre(e, t);+function jre(e, t) {+ let n = (e) => PC(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) => PC(e, t)) || e[e.length - 1];}-function Nre(e, { collapse: t, mix: n, javImage: r }) {+function Mre(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 = jre(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = Are(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 = Mre(e, r);+ let t = jre(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -15744,16 +15744,16 @@ function Nre(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function Pre(e, t, n) {+function Nre(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 Fre(e, t) {+function Pre(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 Ire(e, t) {+function Fre(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 Ire(e, t) {strip: null}), r;}-function PC(e, t) {- FC((t) => t.id === e, t);-}function FC(e, t) {+ IC((t) => t.id === e, t);+}+function IC(e, t) {z.setQueriesData({queryKey: ["catalog-grid"],predicate: (e) => Array.isArray(e.state.data?.pages)@@ -15786,31 +15786,31 @@ function FC(e, t) {}//#endregion//#region src/react/item-detail/item-detail.ts-var IC = (e) => ["item", e], LC = (e) => [+var LC = (e) => ["item", e], RC = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], Lre = (e, t) => [+], Ire = (e, t) => ["item-related",e,t-], Rre = (e) => `/api/item?id=${e}`, zre = (e, t) => `/api/related?id=${e}&limit=${t}`, RC = "/api/playlist", zC = "/api/feedback", BC = "/api/item-tag", VC = "/api/watch-later", HC = "/api/quality-goal", UC = "/api/preference", WC = class extends Error {};-async function GC(e, t) {- let n = await G(Rre(e), t);- if (n.error) throw new WC(n.error);+], Lre = (e) => `/api/item?id=${e}`, Rre = (e, t) => `/api/related?id=${e}&limit=${t}`, zC = "/api/playlist", BC = "/api/feedback", VC = "/api/item-tag", HC = "/api/watch-later", UC = "/api/quality-goal", WC = "/api/preference", GC = class extends Error {};+async function KC(e, t) {+ let n = await G(Lre(e), t);+ if (n.error) throw new GC(n.error);return n;}-async function KC(e, t, n) {+async function qC(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([GC(r, n), t.mixRelated(r)]);- return z.setQueryData(IC(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([KC(r, n), t.mixRelated(r)]);+ return z.setQueryData(LC(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 qC(await G(`${RC}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return JC(await G(`${zC}?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 KC(e, t, n) {items: r.items};}-var qC = (e) => ({+var JC = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), JC = (e) => e.disposal === "vanished";-function YC(e, t) {+}), YC = (e) => e.disposal === "vanished";+function XC(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !JC(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !YC(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 Bre(e, t) {+function zre(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 Bre(e, t) {part_label: n};}-async function Vre(e, t) {+async function Bre(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = LC(n);+ let o = RC(n);try {let r = n.fresh ? void 0 : z.getQueryData(o);a = !r && n.kind === "mix", i = r || await z.fetchQuery({queryKey: o,- queryFn: () => KC(n, e.helpers, t),+ queryFn: () => qC(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -15860,20 +15860,20 @@ async function Vre(e, t) {return;}}- let o = i ? YC(i, e.id) : e.id;+ let o = i ? XC(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(IC(o)) : void 0;+ let s, c = a && o === i?.seedId ? z.getQueryData(LC(o)) : void 0;try {s = c || await z.fetchQuery({- queryKey: IC(o),- queryFn: () => GC(o, t),+ queryKey: LC(o),+ queryFn: () => KC(o, t),staleTime: 0});} catch (e) {- if (e instanceof WC) {+ if (e instanceof GC) {r.redirect({ kind: "gone" });return;}@@ -15884,7 +15884,7 @@ async function Vre(e, t) {id: Number(s.follow_item_id)});}-function Hre(e) {+function Vre(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {let t = me(e.name);return !e.name || n.has(t) ? !1 : (n.add(t), !0);@@ -15906,42 +15906,42 @@ function Hre(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-var XC = (e) => Math.min(Math.max(e || 0, 0), 100), ZC = (e) => Math.round(XC(e) / 20), Ure = (e) => {- let t = ZC(e);+var ZC = (e) => Math.min(Math.max(e || 0, 0), 100), QC = (e) => Math.round(ZC(e) / 20), Hre = (e) => {+ let t = QC(e);return t ? `${t} 星` : "未评分";-}, Wre = (e, t) => {+}, Ure = (e, t) => {let n = t * 20;return n === (e || 0) ? 0 : n;};-function Gre(e, t) {+function Wre(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {let r = me(t.tagLabel(e.k)), i = n.get(r);(!i || me(e.k) === r && me(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var QC = (e, t) => (e.tags || []).some((e) => me(e.k) === me(t)), $C = (e, t) => ({+var $C = (e, t) => (e.tags || []).some((e) => me(e.k) === me(t)), ew = (e, t) => ({...e,tags: (e.tags || []).filter((e) => me(e.k) !== me(t))-}), ew = (e, t) => QC(e, t.k) ? e : {+}), tw = (e, t) => $C(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, tw = "peach.recentTags";-function nw() {+}, nw = "peach.recentTags";+function rw() {try {- let e = JSON.parse(localStorage.getItem(tw) || "[]");+ let e = JSON.parse(localStorage.getItem(nw) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function Kre(e) {+function Gre(e) {try {- let t = nw().filter((t) => me(t) !== me(e));- localStorage.setItem(tw, JSON.stringify([e, ...t].slice(0, 12)));+ let t = rw().filter((t) => me(t) !== me(e));+ localStorage.setItem(nw, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function qre(e, t, n) {+function Kre(e, t, n) {let r = me(e), i = new Map(t.map((e) => [me(e.k), e])), a = t.filter((e) => !r || me(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(me(e)) || {k: e,n: 0@@ -15952,73 +15952,73 @@ function qre(e, t, n) {create: r && !s ? e.trim() : ""};}-var Jre = {+var qre = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, Yre = {+}, Jre = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function Xre(e) {+function Yre(e) {let t = e.items.length, n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;return {- title: Yre[e.kind],+ title: Jre[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var rw = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, Zre = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${L(rw(e.part_label))}</small>` : "";-function Qre(e, t, n, r) {+var iw = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, Xre = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${L(iw(e.part_label))}</small>` : "";+function Zre(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var $re = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function eie(e, t) {+var Qre = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function $re(e, t) {return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";}-function tie(e) {+function eie(e) {let t = Number(e.duration) > 0 ? Number(e.duration) : 0;return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;}-function iw(e, t) {+function aw(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}//#endregion//#region src/react/immerse/immerse.ts-var nie = (e, t, n) => [+var tie = (e, t, n) => ["immerse-list",e,t,n];-function rie(e) {+function nie(e) {let t = new URLSearchParams();for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();}-var iie = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));-function aie(e, t = Math.random) {+var rie = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));+function iie(e, t = Math.random) {for (let n = e.length - 1; n > 0; n--) {let r = Math.floor(t() * (n + 1));[e[n], e[r]] = [e[r], e[n]];}return e;}-async function oie(e, t) {- return aie(((await G(`/api/items?${e}`)).items || []).filter((e) => iie(e, t)));+async function aie(e, t) {+ return iie(((await G(`/api/items?${e}`)).items || []).filter((e) => rie(e, t)));}-var aw = (e) => z.ensureQueryData({- queryKey: IC(e),- queryFn: ({ signal: t }) => GC(e, t)+var ow = (e) => z.ensureQueryData({+ queryKey: LC(e),+ queryFn: ({ signal: t }) => KC(e, t)});-function sie(e, t) {+function oie(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function cie(e) {+function sie(e) {let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";return {who: n,@@ -16027,318 +16027,318 @@ function cie(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function lie(e, t, n) {+function cie(e, t, n) {if (!e || !t || !n || !Number.isFinite(n)) return null;let r = e / t;return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";}-function uie(e, t) {+function lie(e, t) {return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);}-var die = 15e3, ow = {+var uie = 15e3, sw = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, sw = null, cw = null, lw = ow, uw = /* @__PURE__ */ new Set(), dw = 0, fw = 0, pw = 0, mw = "", hw = [], gw = 0, _w = !1, vw = !1, yw = null, bw = /* @__PURE__ */ new Set(), xw = "", Sw = null, Cw = 0, ww = null, Tw = !1;-function Ew() {- if (!sw) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return sw;+}, cw = null, lw = null, uw = sw, dw = /* @__PURE__ */ new Set(), fw = 0, pw = 0, mw = 0, hw = "", gw = [], _w = 0, vw = !1, yw = !1, bw = null, xw = /* @__PURE__ */ new Set(), Sw = "", Cw = null, ww = 0, Tw = null, Ew = !1;+function Dw() {+ if (!cw) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return cw;}-function fie(e) {- return uw.add(e), () => {- uw.delete(e);+function die(e) {+ return dw.add(e), () => {+ dw.delete(e);};}-function pie() {- for (let e of [...uw]) e();-}-function Dw() {- (0, $f.flushSync)(pie);+function fie() {+ for (let e of [...dw]) e();}function Ow() {- let e = Sw ? ZS(Sw.id) : 0;- return e ? `${xw} · ${$S(e)}` : xw;+ (0, $f.flushSync)(fie);+}+function kw() {+ let e = Cw ? ZS(Cw.id) : 0;+ return e ? `${Sw} · ${$S(e)}` : Sw;}-function kw(e, t = null) {- if (clearInterval(Cw), Cw = 0, e === null) {- lw = {- ...lw,+function Aw(e, t = null) {+ if (clearInterval(ww), ww = 0, e === null) {+ uw = {+ ...uw,loading: null- }, Dw();+ }, Ow();return;}- xw = e, Sw = t, lw = {- ...lw,- loading: Ow()- }, Dw(), Cw = window.setInterval(() => {- Sw = hw[gw] ?? null, lw = {- ...lw,- loading: Ow()- }, Dw();+ Sw = e, Cw = t, uw = {+ ...uw,+ loading: kw()+ }, Ow(), ww = window.setInterval(() => {+ Cw = gw[_w] ?? null, uw = {+ ...uw,+ loading: kw()+ }, Ow();}, 500);}-function mie(e) {+function pie(e) {let t = document.createElement("div");t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);let n = document.createElement("video");- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), cw.track.append(t);+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), lw.track.append(t);let r = aC(), i = () => {}, a = {el: t,video: n,session: r,- release: () => lC(r),+ release: () => cC(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return bw.add(a), a;+ return xw.add(a), a;}-function hie(e, t) {+function mie(e, t) {return new Promise((n) => {- e.release = DC(e.video, {+ e.release = OC(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- lw.open && Iw(1);+ uw.open && Lw(1);}}), e.gone.then(n);});}-function Aw(e) {- !e || e.disposed || (e.disposed = !0, bw.delete(e), e.leave(), e.release(), e.el.remove(), yw === e && (yw = null));+function jw(e) {+ !e || e.disposed || (e.disposed = !0, xw.delete(e), e.leave(), e.release(), e.el.remove(), bw === e && (bw = null));}-var jw = [+var Mw = ["loadeddata","canplay","error"];-function gie(e) {+function hie(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), jw.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), Mw.forEach((e) => t.removeEventListener(e, i)), n());};- jw.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, die);+ Mw.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, uie);e.gone.then(i);});}-function Mw(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = lie(e.videoWidth, e.videoHeight, n);+function Nw(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = cie(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var Nw = () => cw?.track.querySelectorAll("video").forEach(Mw);-function _ie(e) {- delete e.dataset.fit, e.readyState >= 1 ? Mw(e) : e.addEventListener("loadedmetadata", () => Mw(e), { once: !0 });+var Pw = () => lw?.track.querySelectorAll("video").forEach(Nw);+function gie(e) {+ delete e.dataset.fit, e.readyState >= 1 ? Nw(e) : e.addEventListener("loadedmetadata", () => Nw(e), { once: !0 });}-function vie(e) {- lw = {- ...lw,+function _ie(e) {+ uw = {+ ...uw,wide: e- }, Dw(), Nw();+ }, Ow(), Pw();}-var Pw = () => {- let e = mw;+var Fw = () => {+ let e = hw;return z.fetchQuery({- queryKey: nie(e, fw, pw),- queryFn: () => oie(e, Ew().sourceOffline),+ queryKey: tie(e, pw, mw),+ queryFn: () => aie(e, Dw().sourceOffline),staleTime: Infinity});};-function yie(e, t) {+function vie(e, t) {let n = () => ve(e.duration) || ve(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && cw && (cw.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), ww = {+ t && lw && (lw.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), Tw = {video: e,duration: n};}-async function Fw(e = 0) {- let t = hw[gw];- if (!t || _w) return;- let n = dw;- Ew().route(t.id), _w = !0, kw(e ? "切换中…" : "加载中…", t);+async function Iw(e = 0) {+ let t = gw[_w];+ if (!t || vw) return;+ let n = fw;+ Dw().route(t.id), vw = !0, Aw(e ? "切换中…" : "加载中…", t);let r = null;try {- if (await aw(t.id).catch((e) => {- if (!(e instanceof WC)) throw e;- }), n !== dw) return;- let i = yw, a = !!(e && i);- a || Aw(i);- let o = mie(a ? e > 0 ? 100 : -100 : 0);- if (r = o, _ie(o.video), await hie(o, t), await gie(o), o.disposed || (vie(uie(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await ow(t.id).catch((e) => {+ if (!(e instanceof GC)) throw e;+ }), n !== fw) return;+ let i = bw, a = !!(e && i);+ a || jw(i);+ let o = pie(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, gie(o.video), await mie(o, t), await hie(o), o.disposed || (_ie(lie(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";- })), await new Promise((e) => setTimeout(e, 210)), Aw(i), o.el.style.transform = ""), o.disposed)) return;- yw = o, r = null, o.video.play()?.catch(() => {}), lw = {- ...lw,+ })), await new Promise((e) => setTimeout(e, 210)), jw(i), o.el.style.transform = ""), o.disposed)) return;+ bw = o, r = null, o.video.play()?.catch(() => {}), uw = {+ ...uw,idle: !1,shown: {item: t,- index: gw,- length: hw.length+ index: _w,+ length: gw.length}- }, yie(o.video, t), K("/api/play", { id: t.id }).catch(() => {}), kw(null);+ }, vie(o.video, t), K("/api/play", { id: t.id }).catch(() => {}), Aw(null);} catch {- Aw(r), n === dw && kw(null);+ jw(r), n === fw && Aw(null);} finally {- n === dw && (_w = !1);+ n === fw && (vw = !1);}}-async function Iw(e) {- if (_w || !lw.open) return;- let t = dw;- if (gw += e, kw("切换中…", hw[gw] ?? null), gw >= hw.length - 3 && !vw) {- vw = !0;+async function Lw(e) {+ if (vw || !uw.open) return;+ let t = fw;+ if (_w += e, Aw("切换中…", gw[_w] ?? null), _w >= gw.length - 3 && !yw) {+ yw = !0;try {- pw += 1;- let e = await Pw();- t === dw && (hw = sie(hw, e));+ mw += 1;+ let e = await Fw();+ t === fw && (gw = oie(gw, e));} catch {} finally {- vw = !1;+ yw = !1;}}- t === dw && (gw >= hw.length && (gw = 0), gw < 0 && (gw = hw.length - 1), await Fw(e));+ t === fw && (_w >= gw.length && (_w = 0), _w < 0 && (_w = gw.length - 1), await Iw(e));}-async function bie(e) {- let t = ++dw;- Lw(), fw += 1, pw = 0, mw = rie(Ew().filters()), z.removeQueries({ queryKey: ["immerse-list"] }), lw = {- ...lw,+async function yie(e) {+ let t = ++fw;+ Rw(), pw += 1, mw = 0, hw = nie(Dw().filters()), z.removeQueries({ queryKey: ["immerse-list"] }), uw = {+ ...uw,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), kw("加载内容…");+ }, document.body.setAttribute("data-immerse-open", ""), Aw("加载内容…");try {- let n = await Pw();+ let n = await Fw();if (e && !n.some((t) => t.id === e)) {- let t = await aw(e).catch((e) => {- if (e instanceof WC) return null;+ let t = await ow(e).catch((e) => {+ if (e instanceof GC) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== dw) return;- if (hw = n, !hw.length) {- Rw(), Ew().warn("当前筛选下没有可直接播放的内容");+ if (t !== fw) return;+ if (gw = n, !gw.length) {+ zw(), Dw().warn("当前筛选下没有可直接播放的内容");return;}- gw = Math.max(0, hw.findIndex((t) => t.id === e)), await Fw();+ _w = Math.max(0, gw.findIndex((t) => t.id === e)), await Iw();} catch {- if (t !== dw) return;- kw(null), Rw();+ if (t !== fw) return;+ Aw(null), zw();}}-function Lw() {- clearInterval(Cw), Cw = 0, Ww(), Hw = null, ww = null, Tw = !1, [...bw].forEach(Aw), _w = !1;-}function Rw() {- lw.open && (dw++, Lw(), lw = ow, document.body.removeAttribute("data-immerse-open"), Dw(), Ew().closed());+ clearInterval(ww), ww = 0, Gw(), Uw = null, Tw = null, Ew = !1, [...xw].forEach(jw), vw = !1;+}+function zw() {+ uw.open && (fw++, Rw(), uw = sw, document.body.removeAttribute("data-immerse-open"), Ow(), Dw().closed());}-var zw = 0, Bw = null, Vw = 0, Hw = null, Uw = 0;-function Ww() {- clearTimeout(zw), zw = 0, Bw = null;+var Bw = 0, Vw = null, Hw = 0, Uw = null, Ww = 0;+function Gw() {+ clearTimeout(Bw), Bw = 0, Vw = null;}-function xie(e) {- let t = yw?.video;+function bie(e) {+ let t = bw?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- if (Bw && Bw.side === n && r - Bw.at <= 280) {- Ww(), Sre(t, Ew().seekSeconds() * n);+ if (Vw && Vw.side === n && r - Vw.at <= 280) {+ Gw(), xre(t, Dw().seekSeconds() * n);return;}- zw && (clearTimeout(zw), zw = 0, OC(t)), Bw = {+ Bw && (clearTimeout(Bw), Bw = 0, kC(t)), Vw = {side: n,at: r- }, zw = window.setTimeout(() => {- zw = 0, Bw = null, lw.open && OC(yw?.video);+ }, Bw = window.setTimeout(() => {+ Bw = 0, Vw = null, uw.open && kC(bw?.video);}, 280);}-function Sie() {- Date.now() < Vw || OC(yw?.video);-}-var Gw = (e) => cw?.bar.toggleAttribute("data-scrubbing", e);-function Kw(e) {- cw && (cw.progress.style.width = `${(e * 100).toFixed(2)}%`);+function xie() {+ Date.now() < Hw || kC(bw?.video);}+var Kw = (e) => lw?.bar.toggleAttribute("data-scrubbing", e);function qw(e) {+ lw && (lw.progress.style.width = `${(e * 100).toFixed(2)}%`);+}+function Jw(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- Hw = null;+ Uw = null;return;}- let n = yw?.video;- Hw = {+ let n = bw?.video;+ Uw = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function Jw(e) {- if (!Hw || e.touches.length !== 1) return;- let t = e.touches[0].clientX - Hw.x, n = e.touches[0].clientY - Hw.y;- if (!Hw.axis) {+function Yw(e) {+ if (!Uw || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - Uw.x, n = e.touches[0].clientY - Uw.y;+ if (!Uw.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- Hw.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", Hw.axis === "x" && Gw(!0);+ Uw.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", Uw.axis === "x" && Kw(!0);}- if (Hw.axis !== "x") return;- let r = yw?.video, i = r && r.duration || 0;- i && (e.preventDefault(), Hw.to = Math.min(i, Math.max(0, Hw.from + t / window.innerWidth * i)), Kw(Hw.to / i));+ if (Uw.axis !== "x") return;+ let r = bw?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), Uw.to = Math.min(i, Math.max(0, Uw.from + t / window.innerWidth * i)), qw(Uw.to / i));}-function Yw(e) {- if (!Hw) return;- let t = Hw;- if (Hw = null, Vw = Date.now() + 700, Gw(!1), t.axis === "x") {- let e = yw?.video;+function Xw(e) {+ if (!Uw) return;+ let t = Uw;+ if (Uw = null, Hw = Date.now() + 700, Kw(!1), t.axis === "x") {+ let e = bw?.video;e && t.to != null && (e.currentTime = t.to);return;}let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;if (Math.abs(i) > 60) {- Ww(), Iw(i > 0 ? 1 : -1);+ Gw(), Lw(i > 0 ? 1 : -1);return;}- Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), xie(n.clientX));+ Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), bie(n.clientX));}-function Xw() {- Hw = null, Gw(!1);+function Zw() {+ Uw = null, Kw(!1);}-function Zw(e) {+function Qw(e) {let t = Date.now();- t - Uw < 260 || (Uw = t, Iw(e.deltaY > 0 ? 1 : -1));+ t - Ww < 260 || (Ww = t, Lw(e.deltaY > 0 ? 1 : -1));}-function Qw(e) {- let t = cw.bar.getBoundingClientRect();+function $w(e) {+ let t = lw.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}+function Sie(e) {+ Tw?.duration() && (Ew = !0, Kw(!0), e.currentTarget.setPointerCapture(e.pointerId), qw($w(e)), e.preventDefault());+}function Cie(e) {- ww?.duration() && (Tw = !0, Gw(!0), e.currentTarget.setPointerCapture(e.pointerId), Kw(Qw(e)), e.preventDefault());+ Ew && qw($w(e));}function wie(e) {- Tw && Kw(Qw(e));+ if (!Ew) return;+ Ew = !1, Kw(!1);+ let t = Tw?.duration();+ Tw && t && (Tw.video.currentTime = t * $w(e));}-function Tie(e) {- if (!Tw) return;- Tw = !1, Gw(!1);- let t = ww?.duration();- ww && t && (ww.video.currentTime = t * Qw(e));+function Tie() {+ Ew = !1, Kw(!1);}-function Eie() {- Tw = !1, Gw(!1);-}-async function $w(e, t) {- let n = await K(zC, {+async function eT(e, t) {+ let n = await K(BC, {id: e,kind: t- }), r = z.getQueryData(IC(e));- if (!r) return PC(e, {+ }), r = z.getQueryData(LC(e));+ if (!r) return FC(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -16347,7 +16347,7 @@ async function $w(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return z.setQueryData(IC(e), i), PC(e, {+ return z.setQueryData(LC(e), i), FC(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -16355,7 +16355,7 @@ async function $w(e, t) {o_count: i.o_count}), n;}-var Die = [+var Eie = [{kind: "dislike",glyph: "thumbs-down",@@ -16372,31 +16372,31 @@ var Die = [label: "记一次高潮"}];-function eT(e) {+function tT(e) {return TS({- queryKey: IC(e ?? 0),- queryFn: ({ signal: t }) => GC(e, t),+ queryKey: LC(e ?? 0),+ queryFn: ({ signal: t }) => KC(e, t),enabled: e != null,staleTime: Infinity}).data;}-function Oie({ kind: e, glyph: t, label: n, id: r }) {- let i = eT(r), a = OS({+function Die({ kind: e, glyph: t, label: n, id: r }) {+ let i = tT(r), a = OS({mutationFn: async (t) => {- let n = z.getQueryData(IC(t))?.feedback || null;+ let n = z.getQueryData(LC(t))?.feedback || null;return {- result: await $w(t, e),+ result: await eT(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- Ew().toast(iw(e, t), { undo: async () => {- e === "o" ? await $w(r, "o-undo") : (t.feedback && await $w(r, t.feedback), n && await $w(r, n));+ Dw().toast(aw(e, t), { undo: async () => {+ e === "o" ? await eT(r, "o-undo") : (t.feedback && await eT(r, t.feedback), n && await eT(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- Iw(1);+ Lw(1);}, 260);},- onError: (e) => Ew().failure("更新反馈", e)+ onError: (e) => Dw().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, V.jsxs)("div", {"data-immerse-action": "",@@ -16427,11 +16427,11 @@ function Oie({ kind: e, glyph: t, label: n, id: r }) {})]});}-function kie({ shown: e }) {- let t = e?.item ?? null, n = eT(t?.id ?? null), r = n ? cie(n) : null, i = Ew(), a = (e) => {- e.preventDefault(), n && (Rw(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function Oie({ shown: e }) {+ let t = e?.item ?? null, n = tT(t?.id ?? null), r = n ? sie(n) : null, i = Dw(), a = (e) => {+ e.preventDefault(), n && (zw(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (Rw(), i.openItem(t.id));+ t && (zw(), i.openItem(t.id));}, s = r ? w(r.name, r.ref, ae(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, V.jsxs)("div", {"data-immerse-ui": "",@@ -16460,18 +16460,18 @@ function kie({ shown: e }) {})]});}-var Aie = { __html: Ke("媒体加载中") };-function jie({ view: e }) {+var kie = { __html: Ke("媒体加载中") };+function Aie({ view: e }) {let t = (0, B.useRef)(null), n = (0, B.useRef)(null), r = (0, B.useRef)(null), i = (0, B.useRef)(null);(0, B.useLayoutEffect)(() => {let e = t.current;- return cw = {+ return lw = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", qw, { passive: !0 }), e.addEventListener("touchmove", Jw, { passive: !1 }), e.addEventListener("touchend", Yw, { passive: !1 }), e.addEventListener("touchcancel", Xw, { passive: !0 }), e.addEventListener("wheel", Zw, { passive: !0 }), () => {- e.removeEventListener("touchstart", qw), e.removeEventListener("touchmove", Jw), e.removeEventListener("touchend", Yw), e.removeEventListener("touchcancel", Xw), e.removeEventListener("wheel", Zw), cw = null;+ }, e.addEventListener("touchstart", Jw, { passive: !0 }), e.addEventListener("touchmove", Yw, { passive: !1 }), e.addEventListener("touchend", Xw, { passive: !1 }), e.addEventListener("touchcancel", Zw, { passive: !0 }), e.addEventListener("wheel", Qw, { passive: !0 }), () => {+ e.removeEventListener("touchstart", Jw), e.removeEventListener("touchmove", Yw), e.removeEventListener("touchend", Xw), e.removeEventListener("touchcancel", Zw), e.removeEventListener("wheel", Qw), lw = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -16488,10 +16488,10 @@ function jie({ view: e }) {children: [/* @__PURE__ */ (0, V.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: Sie+ onClick: xie}), /* @__PURE__ */ (0, V.jsx)("div", {"data-immerse-actions": "",- children: Die.map((e) => /* @__PURE__ */ (0, V.jsx)(Oie, {+ children: Eie.map((e) => /* @__PURE__ */ (0, V.jsx)(Die, {...e,id: a}, e.kind))@@ -16504,7 +16504,7 @@ function jie({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, V.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: Aie+ dangerouslySetInnerHTML: kie}), /* @__PURE__ */ (0, V.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, V.jsx)("button", {@@ -16512,7 +16512,7 @@ function jie({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: Rw,+ onClick: zw,children: /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, V.jsx)("use", { href: "#i-x" })@@ -16521,75 +16521,75 @@ function jie({ view: e }) {/* @__PURE__ */ (0, V.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: Cie,- onPointerMove: wie,- onPointerUp: Tie,- onPointerCancel: Eie,+ onPointerDown: Sie,+ onPointerMove: Cie,+ onPointerUp: wie,+ onPointerCancel: Tie,children: /* @__PURE__ */ (0, V.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, V.jsx)(kie, { shown: e.shown })+ /* @__PURE__ */ (0, V.jsx)(Oie, { shown: e.shown })]});}-var Mie = {- open: bie,- close: Rw,- isOpen: () => lw.open,- activeVideo: () => lw.open ? yw?.video ?? null : null+var jie = {+ open: yie,+ close: zw,+ isOpen: () => uw.open,+ activeVideo: () => uw.open ? bw?.video ?? null : null};-function Nie(e) {- if (!lw.open) return;+function Mie(e) {+ if (!uw.open) return;let t = e.target;- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && Iw(1), e.key === "ArrowUp" && Iw(-1));+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && Lw(1), e.key === "ArrowUp" && Lw(-1));}-function Pie(e) {- let t = !sw;- return sw = e, t && (document.addEventListener("keydown", Nie), addEventListener("resize", () => {- lw.open && Nw();+function Nie(e) {+ let t = !cw;+ return cw = e, t && (document.addEventListener("keydown", Mie), addEventListener("resize", () => {+ uw.open && Pw();}), addEventListener("pagehide", () => {- bw.forEach((e) => lC(e.session));- })), Mie;+ xw.forEach((e) => cC(e.session));+ })), jie;}-function Fie() {- let e = (0, B.useSyncExternalStore)(fie, () => lw);- return sw ? /* @__PURE__ */ (0, V.jsx)(jie, { view: e }) : null;+function Pie() {+ let e = (0, B.useSyncExternalStore)(die, () => uw);+ return cw ? /* @__PURE__ */ (0, V.jsx)(Aie, { view: e }) : null;}//#endregion//#region src/manage-header.ts-var Iie = {+var Fie = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/scraping": "来源和凭证"-}, Lie = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), Rie = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;-function zie(e) {+}, Iie = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), Lie = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;+function Rie(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = Iie[e.path] ?? "";+ let n = Fie[e.path] ?? "";return {title: e.path === "/diagnostics" ? "系统诊断" : e.section === "cleanup" && n || t[1],crumb: n,- compact: Lie.has(e.path) || e.section === "configuration",+ compact: Iie.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: Rie(e.trash),+ text: Lie(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var Bie = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";+var zie = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";//#endregion//#region src/react/settings-panel/icon.tsx-function tT({ name: e }) {+function nT({ 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 Vie({ name: e }) {+function Bie({ name: e }) {return /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -16598,37 +16598,37 @@ function Vie({ name: e }) {}//#endregion//#region src/react/manage-header/manage-header-island.tsx-var nT = null, rT = null, iT = /* @__PURE__ */ new Set();-function Hie(e) {- return iT.add(e), () => {- iT.delete(e);+var rT = null, iT = null, aT = /* @__PURE__ */ new Set();+function Vie(e) {+ return aT.add(e), () => {+ aT.delete(e);};}-function Uie() {- for (let e of [...iT]) e();+function Hie() {+ for (let e of [...aT]) e();}-var Wie = { render(e) {- rT = e, (0, $f.flushSync)(Uie);+var Uie = { render(e) {+ iT = e, (0, $f.flushSync)(Hie);} };-function Gie(e) {- return nT = e, rT = null, Wie;+function Wie(e) {+ return rT = e, iT = null, Uie;}-function Kie() {- let e = (0, B.useSyncExternalStore)(Hie, () => rT);- return nT && e ? /* @__PURE__ */ (0, V.jsx)(qie, {- host: nT,+function Gie() {+ let e = (0, B.useSyncExternalStore)(Vie, () => iT);+ return rT && e ? /* @__PURE__ */ (0, V.jsx)(Kie, {+ host: rT,props: e}) : null;}-function qie({ host: e, props: t }) {- let n = zie(t);+function Kie({ host: e, props: t }) {+ let n = Rie(t);return n ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsx)(Jie, {+ /* @__PURE__ */ (0, V.jsx)(qie, {host: e,section: t.section,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, V.jsx)(Yie, {+ n.crumb ? /* @__PURE__ */ (0, V.jsx)(Jie, {host: e,label: n.crumb}) : null,@@ -16637,29 +16637,29 @@ function qie({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, V.jsx)(Xie, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, V.jsx)(Yie, {host: e,lede: n.lede})] }) : null;}-var aT = null;-function oT(e, t, n) {+var oT = null;+function sT(e, t, n) {e.style.setProperty("--tab-x", `${t}px`), e.style.setProperty("--tab-width", `${n}px`);}-function Jie({ host: e, section: t, menu: n }) {+function qie({ host: e, section: t, menu: n }) {let r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = () => {let e = r.current, t = i.current;if (!e || !t) return;let n = e.querySelector("button[aria-pressed=\"true\"]");- n && !n.offsetWidth || (oT(t, n?.offsetLeft ?? 0, n?.offsetWidth ?? 0), n && (aT = {+ n && !n.offsetWidth || (sT(t, n?.offsetLeft ?? 0, n?.offsetWidth ?? 0), n && (oT = {x: n.offsetLeft,width: n.offsetWidth}));};return (0, B.useLayoutEffect)(() => {let e = r.current, t = i.current;- aT ? oT(t, aT.x, aT.width) : a();+ oT ? sT(t, oT.x, oT.width) : a();let n = 0, o = requestAnimationFrame(() => {t.setAttribute("data-ready", ""), n = requestAnimationFrame(a);}), s = new ResizeObserver(a);@@ -16682,7 +16682,7 @@ function Jie({ host: e, section: t, menu: n }) {"aria-pressed": a,"aria-current": a ? "page" : void 0,onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, V.jsx)(tT, { name: i }), /* @__PURE__ */ (0, V.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, V.jsx)(nT, { name: i }), /* @__PURE__ */ (0, V.jsx)("span", { children: r })]}, n);}), /* @__PURE__ */ (0, V.jsx)("span", {ref: i,@@ -16692,7 +16692,7 @@ function Jie({ host: e, section: t, menu: n }) {})});}-function Yie({ host: e, label: t }) {+function Jie({ host: e, label: t }) {return /* @__PURE__ */ (0, V.jsx)("nav", {"data-manage-crumb": "","aria-label": "Breadcrumb",@@ -16702,20 +16702,20 @@ function Yie({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, V.jsx)(tT, { name: "chevron-right" })] }), /* @__PURE__ */ (0, V.jsx)("li", {+ }), /* @__PURE__ */ (0, V.jsx)(nT, { name: "chevron-right" })] }), /* @__PURE__ */ (0, V.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, V.jsx)("span", { children: t })})] })});}-function Xie({ host: e, lede: t }) {+function Yie({ host: e, lede: t }) {return /* @__PURE__ */ (0, V.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, V.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: Bie }- }) : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(Zie, { text: t.text }), t.total ? /* @__PURE__ */ (0, V.jsx)("button", {+ dangerouslySetInnerHTML: { __html: zie }+ }) : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(Xie, { text: t.text }), t.total ? /* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -16725,7 +16725,7 @@ function Xie({ host: e, lede: t }) {}) : null] })});}-function Zie({ text: e }) {+function Xie({ text: e }) {let t = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {qe(t.current, e);@@ -16736,7 +16736,7 @@ function Zie({ text: e }) {}//#endregion//#region node_modules/@remixicon/react/index.mjs-var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+var Zie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16744,7 +16744,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), $ie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16752,7 +16752,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), sT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), cT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16760,7 +16760,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), cT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), lT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16768,7 +16768,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), lT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), uT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16776,7 +16776,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), eae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), $ie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16784,7 +16784,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), uT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), dT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16792,7 +16792,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), tae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), eae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16800,7 +16800,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), dT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), fT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16808,7 +16808,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), nae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), tae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16816,7 +16816,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), fT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), pT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16824,7 +16824,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), pT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), mT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16832,7 +16832,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), mT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), hT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16840,7 +16840,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), hT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), gT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16848,7 +16848,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), gT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), _T = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16856,7 +16856,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), rae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), nae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16864,7 +16864,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), _T = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), vT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16872,7 +16872,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), vT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), yT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16880,7 +16880,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), iae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), rae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16888,7 +16888,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), aae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), iae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16896,7 +16896,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M13 12H16L12 16L8 12H11V8H13V12ZM15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918Z" })), oae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M13 12H16L12 16L8 12H11V8H13V12ZM15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918Z" })), aae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16904,7 +16904,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), sae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), oae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16912,7 +16912,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), cae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), sae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16920,7 +16920,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), lae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), cae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16928,7 +16928,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), yT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), bT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16936,7 +16936,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), bT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), xT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16944,7 +16944,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), lae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16952,7 +16952,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), dae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16960,7 +16960,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), fae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), dae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16968,7 +16968,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), pae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), fae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16976,7 +16976,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), mae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), pae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16984,7 +16984,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), xT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), ST = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16992,7 +16992,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), hae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), mae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17000,7 +17000,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), ST = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), CT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17008,7 +17008,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), CT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), wT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17016,7 +17016,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), wT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), TT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17024,7 +17024,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), TT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), ET = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17032,7 +17032,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), gae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), hae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17040,7 +17040,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), _ae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), gae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17048,7 +17048,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), vae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), _ae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17056,7 +17056,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), yae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), vae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17064,7 +17064,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), ET = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), DT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17072,7 +17072,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), DT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), OT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17080,7 +17080,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), bae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), yae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17088,7 +17088,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), xae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), bae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17096,7 +17096,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M17 6C16.4477 6 16 5.55228 16 5C16 4.44772 16.4477 4 17 4C17.5523 4 18 4.44772 18 5C18 5.55228 17.5523 6 17 6ZM17 8C18.6569 8 20 6.65685 20 5C20 3.34315 18.6569 2 17 2C15.3431 2 14 3.34315 14 5C14 6.65685 15.3431 8 17 8ZM7 3C4.79086 3 3 4.79086 3 7V9H5V7C5 5.89543 5.89543 5 7 5H10V3H7ZM17 21C19.2091 21 21 19.2091 21 17V15H19V17C19 18.1046 18.1046 19 17 19H14V21H17ZM8 13C8 12.4477 7.55228 12 7 12C6.44772 12 6 12.4477 6 13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13ZM10 13C10 14.6569 8.65685 16 7 16C5.34315 16 4 14.6569 4 13C4 11.3431 5.34315 10 7 10C8.65685 10 10 11.3431 10 13ZM17 11C15.8954 11 15 11.8954 15 13H13C13 10.7909 14.7909 9 17 9C19.2091 9 21 10.7909 21 13H19C19 11.8954 18.1046 11 17 11ZM5 21C5 19.8954 5.89543 19 7 19C8.10457 19 9 19.8954 9 21H11C11 18.7909 9.20914 17 7 17C4.79086 17 3 18.7909 3 21H5Z" })), Sae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {+}, B.createElement("path", { d: "M17 6C16.4477 6 16 5.55228 16 5C16 4.44772 16.4477 4 17 4C17.5523 4 18 4.44772 18 5C18 5.55228 17.5523 6 17 6ZM17 8C18.6569 8 20 6.65685 20 5C20 3.34315 18.6569 2 17 2C15.3431 2 14 3.34315 14 5C14 6.65685 15.3431 8 17 8ZM7 3C4.79086 3 3 4.79086 3 7V9H5V7C5 5.89543 5.89543 5 7 5H10V3H7ZM17 21C19.2091 21 21 19.2091 21 17V15H19V17C19 18.1046 18.1046 19 17 19H14V21H17ZM8 13C8 12.4477 7.55228 12 7 12C6.44772 12 6 12.4477 6 13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13ZM10 13C10 14.6569 8.65685 16 7 16C5.34315 16 4 14.6569 4 13C4 11.3431 5.34315 10 7 10C8.65685 10 10 11.3431 10 13ZM17 11C15.8954 11 15 11.8954 15 13H13C13 10.7909 14.7909 9 17 9C19.2091 9 21 10.7909 21 13H19C19 11.8954 18.1046 11 17 11ZM5 21C5 19.8954 5.89543 19 7 19C8.10457 19 9 19.8954 9 21H11C11 18.7909 9.20914 17 7 17C4.79086 17 3 18.7909 3 21H5Z" })), xae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -17104,100 +17104,100 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfill: e,...r,className: "remixicon " + (n || "")-}, B.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), Cae = (e, t) => {+}, B.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), Sae = (e, t) => {let n = Array(e.length + t.length);for (let t = 0; t < e.length; t++) n[t] = e[t];for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];return n;-}, wae = (e, t) => ({+}, Cae = (e, t) => ({classGroupId: e,validator: t-}), OT = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), kT = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), kT = "-", AT = [], Tae = "arbitrary..", Eae = (e) => {- let t = Oae(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), AT = "-", jT = [], wae = "arbitrary..", Tae = (e) => {+ let t = Dae(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return Dae(e);- let n = e.split(kT);- return jT(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return Eae(e);+ let n = e.split(AT);+ return MT(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? Cae(i, t) : t : i || AT;+ return t ? i ? Sae(i, t) : t : i || jT;}- return n[e] || AT;+ return n[e] || jT;}};-}, jT = (e, t, n) => {+}, MT = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = jT(e, t + 1, i);+ let n = MT(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(kT) : e.slice(t).join(kT), s = a.length;+ let o = t === 0 ? e.join(AT) : e.slice(t).join(AT), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, Dae = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, Eae = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);- return r ? Tae + r : void 0;-})(), Oae = (e) => {+ return r ? wae + r : void 0;+})(), Dae = (e) => {let { theme: t, classGroups: n } = e;- return kae(n, t);-}, kae = (e, t) => {- let n = OT();+ return Oae(n, t);+}, Oae = (e, t) => {+ let n = kT();for (let r in e) {let i = e[r];- MT(i, n, r, t);+ NT(i, n, r, t);}return n;-}, MT = (e, t, n, r) => {+}, NT = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- Aae(i, t, n, r);+ kae(i, t, n, r);}-}, Aae = (e, t, n, r) => {+}, kae = (e, t, n, r) => {if (typeof e == "string") {- jae(e, t, n);+ Aae(e, t, n);return;}if (typeof e == "function") {- Mae(e, t, n, r);+ jae(e, t, n, r);return;}- Nae(e, t, n, r);-}, jae = (e, t, n) => {- let r = e === "" ? t : NT(t, e);+ Mae(e, t, n, r);+}, Aae = (e, t, n) => {+ let r = e === "" ? t : PT(t, e);r.classGroupId = n;-}, Mae = (e, t, n, r) => {- if (Pae(e)) {- MT(e(r), t, n, r);+}, jae = (e, t, n, r) => {+ if (Nae(e)) {+ NT(e(r), t, n, r);return;}- t.validators === null && (t.validators = []), t.validators.push(wae(n, e));-}, Nae = (e, t, n, r) => {+ t.validators === null && (t.validators = []), t.validators.push(Cae(n, e));+}, Mae = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- MT(o, NT(t, a), n, r);+ NT(o, PT(t, a), n, r);}-}, NT = (e, t) => {- let n = e, r = t.split(kT), i = r.length;+}, PT = (e, t) => {+ let n = e, r = t.split(AT), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = OT(), n.nextPart.set(t, i)), n = i;+ i || (i = kT(), n.nextPart.set(t, i)), n = i;}return n;-}, Pae = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Fae = (e) => {+}, Nae = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Pae = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -17215,19 +17215,19 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Be in n ? n[e] = t : i(e, t);}};-}, PT = "!", FT = ":", Iae = [], IT = (e, t, n, r, i) => ({+}, FT = "!", IT = ":", Fae = [], LT = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), Lae = (e) => {+}), Iae = (e) => {let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {let t = [], n = 0, r = 0, i = 0, a, o = e.length;for (let s = 0; s < o; s++) {let o = e[s];if (n === 0 && r === 0) {- if (o === FT) {+ if (o === IT) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -17239,13 +17239,13 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bo === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;}let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;- s.endsWith(PT) ? (c = s.slice(0, -1), l = !0) : s.startsWith(PT) && (c = s.slice(1), l = !0);+ s.endsWith(FT) ? (c = s.slice(0, -1), l = !0) : s.startsWith(FT) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return IT(t, l, c, u);+ return LT(t, l, c, u);};if (t) {- let e = t + FT, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : IT(Iae, !1, t, void 0, !0);+ let e = t + IT, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : LT(Fae, !1, t, void 0, !0);}if (n) {let e = r;@@ -17255,7 +17255,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B});}return r;-}, Rae = (e) => {+}, Lae = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -17267,18 +17267,18 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, zae = (e) => ({- cache: Fae(e.cacheSize),- parseClassName: Lae(e),- sortModifiers: Rae(e),- postfixLookupClassGroupIds: Bae(e),- ...Eae(e)-}), Bae = (e) => {+}, Rae = (e) => ({+ cache: Pae(e.cacheSize),+ parseClassName: Iae(e),+ sortModifiers: Lae(e),+ postfixLookupClassGroupIds: zae(e),+ ...Tae(e)+}), zae = (e) => {let t = Object.create(null), n = e.postfixLookupClassGroups;if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;return t;-}, Vae = /\s+/, Hae = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Vae), l = "";+}, Bae = /\s+/, Vae = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Bae), l = "";for (let e = c.length - 1; e >= 0; --e) {let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);if (u) {@@ -17302,7 +17302,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + PT : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + FT : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -17313,34 +17313,34 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bl = t + (l.length > 0 ? " " + l : l);}return l;-}, Uae = (...e) => {+}, Hae = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = LT(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = RT(n)) && (i && (i += " "), i += r);return i;-}, LT = (e) => {+}, RT = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = LT(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = RT(e[r])) && (n && (n += " "), n += t);return n;-}, RT = (e, ...t) => {- let n, r, i, a, o = (o) => (n = zae(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, zT = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = Rae(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {let t = r(e);if (t) return t;- let a = Hae(e, n);+ let a = Vae(e, n);return i(e, a), a;};- return a = o, (...e) => a(Uae(...e));-}, Wae = [], zT = (e) => {- let t = (t) => t[e] || Wae;+ return a = o, (...e) => a(Hae(...e));+}, Uae = [], BT = (e) => {+ let t = (t) => t[e] || Uae;return t.isThemeGetter = !0, t.themeKey = e, t;-}, BT = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, VT = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Gae = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Kae = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, qae = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Jae = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Yae = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xae = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, HT = (e) => Gae.test(e), UT = (e) => !!e && !Number.isNaN(Number(e)), WT = (e) => !!e && Number.isInteger(Number(e)), GT = (e) => e.endsWith("%") && UT(e.slice(0, -1)), KT = (e) => Kae.test(e), qT = () => !0, Zae = (e) => qae.test(e) && !Jae.test(e), JT = () => !1, Qae = (e) => Yae.test(e), $ae = (e) => Xae.test(e), eoe = (e) => !q(e) && !$T(e), toe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), noe = (e) => rE(e, sE, JT), q = (e) => BT.test(e), YT = (e) => rE(e, cE, Zae), XT = (e) => rE(e, uoe, UT), roe = (e) => rE(e, uE, qT), ioe = (e) => rE(e, lE, JT), ZT = (e) => rE(e, aE, JT), aoe = (e) => rE(e, oE, $ae), QT = (e) => rE(e, dE, Qae), $T = (e) => VT.test(e), eE = (e) => iE(e, cE), ooe = (e) => iE(e, lE), tE = (e) => iE(e, aE), soe = (e) => iE(e, sE), coe = (e) => iE(e, oE), nE = (e) => iE(e, dE, !0), loe = (e) => iE(e, uE, !0), rE = (e, t, n) => {- let r = BT.exec(e);- return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, iE = (e, t, n = !1) => {+}, VT = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, HT = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Wae = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Gae = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Kae = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, qae = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Jae = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Yae = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, UT = (e) => Wae.test(e), WT = (e) => !!e && !Number.isNaN(Number(e)), GT = (e) => !!e && Number.isInteger(Number(e)), KT = (e) => e.endsWith("%") && WT(e.slice(0, -1)), qT = (e) => Gae.test(e), JT = () => !0, Xae = (e) => Kae.test(e) && !qae.test(e), YT = () => !1, Zae = (e) => Jae.test(e), Qae = (e) => Yae.test(e), $ae = (e) => !q(e) && !eE(e), eoe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), toe = (e) => iE(e, cE, YT), q = (e) => VT.test(e), XT = (e) => iE(e, lE, Xae), ZT = (e) => iE(e, loe, WT), noe = (e) => iE(e, dE, JT), roe = (e) => iE(e, uE, YT), QT = (e) => iE(e, oE, YT), ioe = (e) => iE(e, sE, Qae), $T = (e) => iE(e, fE, Zae), eE = (e) => HT.test(e), tE = (e) => aE(e, lE), aoe = (e) => aE(e, uE), nE = (e) => aE(e, oE), ooe = (e) => aE(e, cE), soe = (e) => aE(e, sE), rE = (e) => aE(e, fE, !0), coe = (e) => aE(e, dE, !0), iE = (e, t, n) => {let r = VT.exec(e);+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;+}, aE = (e, t, n = !1) => {+ let r = HT.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, aE = (e) => e === "position" || e === "percentage", oE = (e) => e === "image" || e === "url", sE = (e) => e === "length" || e === "size" || e === "bg-size", cE = (e) => e === "length", uoe = (e) => e === "number", lE = (e) => e === "family-name", uE = (e) => e === "number" || e === "weight", dE = (e) => e === "shadow", fE = () => {- let e = zT("color"), t = zT("font"), n = zT("text"), r = zT("font-weight"), i = zT("tracking"), a = zT("leading"), o = zT("breakpoint"), s = zT("container"), c = zT("spacing"), l = zT("radius"), u = zT("shadow"), d = zT("inset-shadow"), f = zT("text-shadow"), p = zT("drop-shadow"), m = zT("blur"), h = zT("perspective"), g = zT("aspect"), _ = zT("ease"), v = zT("animate"), y = () => [+}, oE = (e) => e === "position" || e === "percentage", sE = (e) => e === "image" || e === "url", cE = (e) => e === "length" || e === "size" || e === "bg-size", lE = (e) => e === "length", loe = (e) => e === "number", uE = (e) => e === "family-name", dE = (e) => e === "number" || e === "weight", fE = (e) => e === "shadow", pE = () => {+ let e = BT("color"), t = BT("font"), n = BT("text"), r = BT("font-weight"), i = BT("tracking"), a = BT("leading"), o = BT("breakpoint"), s = BT("container"), c = BT("spacing"), l = BT("radius"), u = BT("shadow"), d = BT("inset-shadow"), f = BT("text-shadow"), p = BT("drop-shadow"), m = BT("blur"), h = BT("perspective"), g = BT("aspect"), _ = BT("ease"), v = BT("animate"), y = () => ["auto","avoid","all",@@ -17365,7 +17365,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"left-bottom"], x = () => [...b(),- $T,+ eE,q], S = () => ["auto",@@ -17378,42 +17378,42 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"contain","none"], w = () => [- $T,+ eE,q,c], T = () => [- HT,+ UT,"full","auto",...w()], E = () => [- WT,+ GT,"none","subgrid",- $T,+ eE,q], D = () => ["auto",{ span: ["full",- WT,- $T,+ GT,+ eE,q] },- WT,- $T,+ GT,+ eE,q], O = () => [- WT,+ GT,"auto",- $T,+ eE,q], k = () => ["auto","min","max","fr",- $T,+ eE,q], A = () => ["start",@@ -17434,7 +17434,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"center-safe","end-safe"], M = () => ["auto", ...w()], N = () => [- HT,+ UT,"auto","full","dvw",@@ -17449,7 +17449,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B...w()], P = () => [s,- HT,+ UT,"screen","full","dvw",@@ -17460,7 +17460,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"fit",...w()], ee = () => [- HT,+ UT,"screen","full","lh",@@ -17473,13 +17473,13 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B...w()], F = () => [e,- $T,+ eE,q], I = () => [...b(),- tE,- ZT,- { position: [$T, q] }+ nE,+ QT,+ { position: [eE, q] }], te = () => ["no-repeat", { repeat: ["","x",@@ -17490,25 +17490,25 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"auto","cover","contain",- soe,- noe,- { size: [$T, q] }+ ooe,+ toe,+ { size: [eE, q] }], re = () => [- GT,- eE,- YT+ KT,+ tE,+ XT], ie = () => ["","none","full",l,- $T,+ eE,q], ae = () => ["",- UT,- eE,- YT+ WT,+ tE,+ XT], oe = () => ["solid","dashed",@@ -17532,32 +17532,32 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"color","luminosity"], ce = () => [- UT,- GT,- tE,- ZT+ WT,+ KT,+ nE,+ QT], le = () => ["","none",m,- $T,+ eE,q], ue = () => ["none",- UT,- $T,+ WT,+ eE,q], L = () => ["none",- UT,- $T,+ WT,+ eE,q], de = () => [- UT,- $T,+ WT,+ eE,q], fe = () => [- HT,+ UT,"full",...w()];@@ -17571,17 +17571,17 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"bounce"],aspect: ["video"],- blur: [KT],- breakpoint: [KT],- color: [qT],- container: [KT],- "drop-shadow": [KT],+ blur: [qT],+ breakpoint: [qT],+ color: [JT],+ container: [qT],+ "drop-shadow": [qT],ease: ["in","out","in-out"],- font: [eoe],+ font: [$ae],"font-weight": ["thin","extralight",@@ -17593,7 +17593,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"extrabold","black"],- "inset-shadow": [KT],+ "inset-shadow": [qT],leading: ["none","tight",@@ -17610,11 +17610,11 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"distant","none"],- radius: [KT],- shadow: [KT],- spacing: ["px", UT],- text: [KT],- "text-shadow": [KT],+ radius: [qT],+ shadow: [qT],+ spacing: ["px", WT],+ text: [qT],+ "text-shadow": [qT],tracking: ["tighter","tight",@@ -17628,9 +17628,9 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Baspect: [{ aspect: ["auto","square",- HT,+ UT,q,- $T,+ eE,g] }],container: ["container"],@@ -17638,15 +17638,15 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"","normal","size",- $T,+ eE,q] }],- "container-named": [toe],+ "container-named": [eoe],columns: [{ columns: [- UT,+ WT,"auto",q,- $T,+ eE,s] }],"break-after": [{ "break-after": y() }],@@ -17743,13 +17743,13 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"collapse"],z: [{ z: [- WT,+ GT,"auto",- $T,+ eE,q] }],basis: [{ basis: [- HT,+ UT,"full","auto",s,@@ -17767,8 +17767,8 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"wrap-reverse"] }],flex: [{ flex: [+ WT,UT,- HT,"auto","initial","none",@@ -17776,22 +17776,22 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B] }],grow: [{ grow: ["",- UT,- $T,+ WT,+ eE,q] }],shrink: [{ shrink: ["",- UT,- $T,+ WT,+ eE,q] }],order: [{ order: [- WT,+ GT,"first","last","none",- $T,+ eE,q] }],"grid-cols": [{ "grid-cols": E() }],@@ -17899,15 +17899,15 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"font-size": [{ text: ["base",n,- eE,- YT+ tE,+ XT] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- loe,- roe+ coe,+ noe] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -17919,12 +17919,12 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"expanded","extra-expanded","ultra-expanded",- GT,+ KT,q] }],"font-family": [{ font: [- ooe,- ioe,+ aoe,+ roe,t] }],"font-features": [{ "font-features": [q] }],@@ -17936,14 +17936,14 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- $T,+ eE,q] }],"line-clamp": [{ "line-clamp": [- UT,+ WT,"none",- $T,- XT+ eE,+ ZT] }],leading: [{ leading: ["none",@@ -17952,7 +17952,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B] }],"list-image": [{ "list-image": ["none",- $T,+ eE,q] }],"list-style-position": [{ list: ["inside", "outside"] }],@@ -17960,7 +17960,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"disc","decimal","none",- $T,+ eE,q] }],"text-alignment": [{ text: [@@ -17981,17 +17981,17 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B],"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- UT,+ WT,"from-font","auto",- $T,- YT+ eE,+ XT] }],"text-decoration-color": [{ decoration: F() }],"underline-offset": [{ "underline-offset": [- UT,+ WT,"auto",- $T,+ eE,q] }],"text-transform": [@@ -18013,8 +18013,8 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- WT,- $T,+ GT,+ eE,q] }],"vertical-align": [{ align: [@@ -18026,7 +18026,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"text-bottom","sub","super",- $T,+ eE,q] }],whitespace: [{ whitespace: [@@ -18055,7 +18055,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B] }],content: [{ content: ["none",- $T,+ eE,q] }],"bg-attachment": [{ bg: [@@ -18091,24 +18091,24 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"l","tl"] },- WT,- $T,+ GT,+ eE,q],radial: ["",- $T,+ eE,q],conic: ["",- WT,- $T,+ GT,+ eE,q]},- coe,- aoe+ soe,+ ioe] }],"bg-color": [{ bg: F() }],"gradient-from-pos": [{ from: re() }],@@ -18175,15 +18175,15 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"hidden"] }],"outline-offset": [{ "outline-offset": [- UT,- $T,+ WT,+ eE,q] }],"outline-w": [{ outline: ["",- UT,- eE,- YT+ WT,+ tE,+ XT] }],"outline-color": [{ outline: F() }],shadow: [{ shadow: [@@ -18191,34 +18191,34 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"inner","none",u,- nE,- QT+ rE,+ $T] }],"shadow-color": [{ shadow: F() }],"inset-shadow": [{ "inset-shadow": ["none",d,- nE,- QT+ rE,+ $T] }],"inset-shadow-color": [{ "inset-shadow": F() }],"ring-w": [{ ring: ae() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: F() }],- "ring-offset-w": [{ "ring-offset": [UT, YT] }],+ "ring-offset-w": [{ "ring-offset": [WT, XT] }],"ring-offset-color": [{ "ring-offset": F() }],"inset-ring-w": [{ "inset-ring": ae() }],"inset-ring-color": [{ "inset-ring": F() }],"text-shadow": [{ "text-shadow": ["none",f,- nE,- QT+ rE,+ $T] }],"text-shadow-color": [{ "text-shadow": F() }],opacity: [{ opacity: [- UT,- $T,+ WT,+ eE,q] }],"mix-blend": [{ "mix-blend": [@@ -18241,7 +18241,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [UT] }],+ "mask-image-linear-pos": [{ "mask-linear": [WT] }],"mask-image-linear-from-pos": [{ "mask-linear-from": ce() }],"mask-image-linear-to-pos": [{ "mask-linear-to": ce() }],"mask-image-linear-from-color": [{ "mask-linear-from": F() }],@@ -18270,7 +18270,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"mask-image-y-to-pos": [{ "mask-y-to": ce() }],"mask-image-y-from-color": [{ "mask-y-from": F() }],"mask-image-y-to-color": [{ "mask-y-to": F() }],- "mask-image-radial": [{ "mask-radial": [$T, q] }],+ "mask-image-radial": [{ "mask-radial": [eE, q] }],"mask-image-radial-from-pos": [{ "mask-radial-from": ce() }],"mask-image-radial-to-pos": [{ "mask-radial-to": ce() }],"mask-image-radial-from-color": [{ "mask-radial-from": F() }],@@ -18281,7 +18281,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Bfarthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [UT] }],+ "mask-image-conic-pos": [{ "mask-conic": [WT] }],"mask-image-conic-from-pos": [{ "mask-conic-from": ce() }],"mask-image-conic-to-pos": [{ "mask-conic-to": ce() }],"mask-image-conic-from-color": [{ "mask-conic-from": F() }],@@ -18305,110 +18305,110 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- $T,+ eE,q] }],filter: [{ filter: ["","none",- $T,+ eE,q] }],blur: [{ blur: le() }],brightness: [{ brightness: [- UT,- $T,+ WT,+ eE,q] }],contrast: [{ contrast: [- UT,- $T,+ WT,+ eE,q] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- nE,- QT+ rE,+ $T] }],"drop-shadow-color": [{ "drop-shadow": F() }],grayscale: [{ grayscale: ["",- UT,- $T,+ WT,+ eE,q] }],"hue-rotate": [{ "hue-rotate": [- UT,- $T,+ WT,+ eE,q] }],invert: [{ invert: ["",- UT,- $T,+ WT,+ eE,q] }],saturate: [{ saturate: [- UT,- $T,+ WT,+ eE,q] }],sepia: [{ sepia: ["",- UT,- $T,+ WT,+ eE,q] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- $T,+ eE,q] }],"backdrop-blur": [{ "backdrop-blur": le() }],"backdrop-brightness": [{ "backdrop-brightness": [- UT,- $T,+ WT,+ eE,q] }],"backdrop-contrast": [{ "backdrop-contrast": [- UT,- $T,+ WT,+ eE,q] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- UT,- $T,+ WT,+ eE,q] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- UT,- $T,+ WT,+ eE,q] }],"backdrop-invert": [{ "backdrop-invert": ["",- UT,- $T,+ WT,+ eE,q] }],"backdrop-opacity": [{ "backdrop-opacity": [- UT,- $T,+ WT,+ eE,q] }],"backdrop-saturate": [{ "backdrop-saturate": [- UT,- $T,+ WT,+ eE,q] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- UT,- $T,+ WT,+ eE,q] }],"border-collapse": [{ border: ["collapse", "separate"] }],@@ -18425,38 +18425,38 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"shadow","transform","none",- $T,+ eE,q] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- UT,+ WT,"initial",- $T,+ eE,q] }],ease: [{ ease: ["linear","initial",_,- $T,+ eE,q] }],delay: [{ delay: [- UT,- $T,+ WT,+ eE,q] }],animate: [{ animate: ["none",v,- $T,+ eE,q] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- $T,+ eE,q] }],"perspective-origin": [{ "perspective-origin": x() }],@@ -18473,7 +18473,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"skew-x": [{ "skew-x": de() }],"skew-y": [{ "skew-y": de() }],transform: [{ transform: [- $T,+ eE,q,"","none",@@ -18488,8 +18488,8 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"translate-z": [{ "translate-z": fe() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- WT,- $T,+ GT,+ eE,q] }],accent: [{ accent: F() }],@@ -18540,7 +18540,7 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"nwse-resize","zoom-in","zoom-out",- $T,+ eE,q] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],@@ -18627,15 +18627,15 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"scroll","contents","transform",- $T,+ eE,q] }],fill: [{ fill: ["none", ...F()] }],"stroke-w": [{ stroke: [- UT,- eE,- YT,- XT+ WT,+ tE,+ XT,+ ZT] }],stroke: [{ stroke: ["none", ...F()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -18893,16 +18893,16 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"selection"]};-}, doe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (pE(e, "cacheSize", t), pE(e, "prefix", n), pE(e, "experimentalParseClassName", r), mE(e.theme, a.theme), mE(e.classGroups, a.classGroups), mE(e.conflictingClassGroups, a.conflictingClassGroups), mE(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), pE(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), pE(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), hE(e.theme, i.theme), hE(e.classGroups, i.classGroups), hE(e.conflictingClassGroups, i.conflictingClassGroups), hE(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), gE(e, i, "postfixLookupClassGroups"), gE(e, i, "orderSensitiveModifiers"), e), pE = (e, t, n) => {+}, uoe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (mE(e, "cacheSize", t), mE(e, "prefix", n), mE(e, "experimentalParseClassName", r), hE(e.theme, a.theme), hE(e.classGroups, a.classGroups), hE(e.conflictingClassGroups, a.conflictingClassGroups), hE(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), mE(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), mE(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), gE(e.theme, i.theme), gE(e.classGroups, i.classGroups), gE(e.conflictingClassGroups, i.conflictingClassGroups), gE(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), _E(e, i, "postfixLookupClassGroups"), _E(e, i, "orderSensitiveModifiers"), e), mE = (e, t, n) => {n !== void 0 && (e[t] = n);-}, mE = (e, t) => {- if (t) for (let n in t) pE(e, n, t[n]);}, hE = (e, t) => {- if (t) for (let n in t) gE(e, t, n);-}, gE = (e, t, n) => {+ if (t) for (let n in t) mE(e, n, t[n]);+}, gE = (e, t) => {+ if (t) for (let n in t) _E(e, t, n);+}, _E = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, foe = (e, ...t) => typeof e == "function" ? RT(fE, e, ...t) : RT(() => doe(fE(), e), ...t), poe = [+}, doe = (e, ...t) => typeof e == "function" ? zT(pE, e, ...t) : zT(() => uoe(pE(), e), ...t), foe = ["large-title","display-1","display-2",@@ -18916,18 +18916,18 @@ var Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B"body-2","caption-1","caption-2"-], moe = [+], poe = ["regular","medium","semibold","bold"-], _E = foe({ extend: { classGroups: { "font-size": [{ text: poe.flatMap((e) => moe.map((t) => `${e}-${t}`)) }] } } });-function vE(e) {+], vE = doe({ extend: { classGroups: { "font-size": [{ text: foe.flatMap((e) => poe.map((t) => `${e}-${t}`)) }] } } });+function yE(e) {return e;}//#endregion//#region src/react/boardui/components/base/badges/chip.tsx-var yE = vE({+var bE = yE({base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",variant: {bold: "py-0.5 text-body-medium",@@ -18946,16 +18946,16 @@ var yE = vE({soft: "bg-background-secondary-default text-text-secondary"}});-function bE({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function xE({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, V.jsx)("span", {ref: r,- className: _E(yE.base, yE.variant[e], yE.color[t], n),+ className: vE(bE.base, bE.variant[e], bE.color[t], n),...i});}//#endregion//#region src/react/boardui/components/base/buttons/button.tsx-var xE = vE({+var SE = yE({base: ["inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden","font-sans select-none cursor-pointer",@@ -19014,40 +19014,40 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, V.jsxs)("button", {ref: c,type: s,- className: _E(xE.base, xE.size[t], xE.variant[e], n && xE.iconOnlySize[t], o),+ className: vE(SE.base, SE.size[t], SE.variant[e], n && SE.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, V.jsx)(r, {- className: xE.icon[t],+ className: SE.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, V.jsx)("span", {- className: xE.label[t],+ className: SE.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, V.jsx)(i, {- className: xE.icon[t],+ className: SE.icon[t],"aria-hidden": !0}) : null]});}-function SE({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function CE({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, V.jsxs)("a", {ref: s,- className: _E(xE.base, xE.size[t], xE.variant[e], n && xE.iconOnlySize[t], o),+ className: vE(SE.base, SE.size[t], SE.variant[e], n && SE.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, V.jsx)(r, {- className: xE.icon[t],+ className: SE.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, V.jsx)("span", {- className: xE.label[t],+ className: SE.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, V.jsx)(i, {- className: xE.icon[t],+ className: SE.icon[t],"aria-hidden": !0}) : null]@@ -19055,47 +19055,47 @@ function SE({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead}//#endregion//#region src/react/components/card.tsx-var hoe = "min-w-0", goe = {+var moe = "min-w-0", hoe = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, _oe = {+}, goe = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, voe = {+}, _oe = {line: "border border-border-button-default",soft: "border border-separator-border"-}, yoe = {+}, voe = {none: "",default: "p-5"-}, boe = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", xoe = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";-function CE(e = {}) {+}, yoe = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", boe = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";+function wE(e = {}) {let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");return [- hoe,- goe[t],- _oe[s],- yoe[n],- a ? voe[a] : "",- r ? boe : "",- i ? xoe : "",+ moe,+ hoe[t],+ goe[s],+ voe[n],+ a ? _oe[a] : "",+ r ? yoe : "",+ i ? boe : "",o ?? ""].filter(Boolean).join(" ");}//#endregion//#region src/react/components/empty-state.tsx-var Soe = {+var xoe = {page: "min-h-80 justify-center rounded-floating border border-separator-border bg-background-secondary-default px-6 py-12",plain: "px-6 py-12",inset: "min-h-40 justify-center rounded-xl bg-background-secondary-default px-4 py-4"};-function wE({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {+function TE({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {let a = i === "page";return /* @__PURE__ */ (0, V.jsxs)("div", {"data-empty-state": "",- className: `flex flex-col items-center gap-2 text-center ${Soe[i]}`,+ className: `flex flex-col items-center gap-2 text-center ${xoe[i]}`,children: [a ? /* @__PURE__ */ (0, V.jsx)("span", {"aria-hidden": !0,@@ -19125,7 +19125,7 @@ function wE({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {}//#endregion//#region src/react/components/loading-dots.tsx-function TE({ label: e, inline: t = !1 }) {+function EE({ label: e, inline: t = !1 }) {let n = /* @__PURE__ */ (0, V.jsxs)("span", {"aria-hidden": !0,className: "inline-flex items-center gap-1",@@ -19191,7 +19191,7 @@ function Y({ tone: e, title: t, action: n, extra: r, children: i }) {}//#endregion//#region src/react/components/page.tsx-function EE({ children: e }) {+function DE({ children: e }) {return /* @__PURE__ */ (0, V.jsx)("div", {className: "mx-auto flex w-full max-w-board flex-col gap-8",children: e@@ -19199,21 +19199,21 @@ function EE({ children: e }) {}//#endregion//#region src/react/components/progress.tsx-var DE = 100, Coe = .4;-function OE({ label: e, value: t, max: n = 100, stops: r = [] }) {- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * DE;+var OE = 100, Soe = .4;+function kE({ label: e, value: t, max: n = 100, stops: r = [] }) {+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * OE;return /* @__PURE__ */ (0, V.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": n,"aria-valuenow": t,- viewBox: `0 0 ${DE} 1`,+ viewBox: `0 0 ${OE} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, V.jsx)("rect", {- width: DE,+ width: OE,height: 1,className: "fill-background-tertiary-default"}),@@ -19224,7 +19224,7 @@ function OE({ label: e, value: t, max: n = 100, stops: r = [] }) {}),r.map((e) => /* @__PURE__ */ (0, V.jsx)("rect", {x: a(e),- width: Coe,+ width: Soe,height: 1,className: "fill-background-secondary-default"}, e))@@ -19241,7 +19241,7 @@ function X(e) {}//#endregion//#region src/react/settings/use-action.ts-function kE(e = "") {+function AE(e = "") {let t = (0, B.useRef)(null), [n, r] = (0, B.useState)(""), [i, a] = (0, B.useState)(e);(0, B.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -19267,12 +19267,12 @@ function kE(e = "") {}//#endregion//#region node_modules/react-aria-components/dist/private/utils.mjs-var AE = Symbol("default");-function jE({ values: e, children: t }) {+var jE = Symbol("default");+function ME({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ B.createElement(n.Provider, { value: r }, t);return t;}-function ME(e) {+function NE(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, B.useMemo)(() => {let e, l, u;@@ -19306,11 +19306,11 @@ function ME(e) {c]);}-function NE(e, t) {+function PE(e, t) {let n = (0, B.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || AE;+ let e = t || jE;if (!n.slots[e]) {let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";throw Error(`${r} Valid slot names are ${e}.`);@@ -19319,8 +19319,8 @@ function NE(e, t) {}return n;}-function PE(e, t, n) {- let { ref: r, ...i } = NE(n, e.slot) || {}, a = Nh((0, B.useMemo)(() => mh(t, r), [t, r])), o = U(i, e);+function FE(e, t, n) {+ let { ref: r, ...i } = PE(n, e.slot) || {}, a = Nh((0, B.useMemo)(() => mh(t, r), [t, r])), o = U(i, e);return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {let n = typeof i.style == "function" ? i.style(t) : i.style, r = {...t.defaultStyle,@@ -19338,7 +19338,7 @@ function PE(e, t, n) {...e.style}), [o, a];}-function FE(e = !0) {+function IE(e = !0) {let [t, n] = (0, B.useState)(e), r = (0, B.useRef)(!1), i = (0, B.useCallback)((e) => {r.current = !0, n(!!e);}, []);@@ -19346,12 +19346,12 @@ function FE(e = !0) {r.current || n(!1);}, []), [i, t];}-function IE(e) {+function LE(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function woe(e, t, n) {+function Coe(e, t, n) {let { render: r, ...i } = t, a = (0, B.useRef)(null), o = (0, B.useMemo)(() => mh(n, a), [n, a]);Hp(() => {}, [e, r]);let s = {@@ -19360,19 +19360,19 @@ function woe(e, t, n) {};return r ? r(s, void 0) : /*#__PURE__*/ B.createElement(e, s);}-var LE = {}, RE = new Proxy({}, { get(e, t) {+var RE = {}, zE = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = LE[t];- return n || (n = /*#__PURE__*/ (0, B.forwardRef)(woe.bind(null, t)), LE[t] = n), n;-} }), zE = /*#__PURE__*/ (0, B.createContext)(null), BE = /*#__PURE__*/ (0, B.createContext)(null), VE = /*#__PURE__*/ (0, B.createContext)(null), HE = {+ let n = RE[t];+ return n || (n = /*#__PURE__*/ (0, B.forwardRef)(Coe.bind(null, t)), RE[t] = n), n;+} }), BE = /*#__PURE__*/ (0, B.createContext)(null), VE = /*#__PURE__*/ (0, B.createContext)(null), HE = /*#__PURE__*/ (0, B.createContext)(null), UE = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return UE(e, null, t);+ return WE(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return UE(e, t, n);+ return WE(e, t, n);}};-function UE(e, t, n) {+function WE(e, t, n) {return dp({items: t ? e.getChildren(t.key) : e,dependencies: [n],@@ -19383,11 +19383,11 @@ function UE(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, Toe(e, t, n));+ }), r, woe(e, t, n));}});}-function Toe(e, t, n) {+function woe(e, t, n) {let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);let o = t.nextKey == null ? null : e.getItem(t.nextKey);@@ -19406,24 +19406,24 @@ function Toe(e, t, n) {}return s;}-var WE = /*#__PURE__*/ (0, B.createContext)(HE);-function GE(e) {+var GE = /*#__PURE__*/ (0, B.createContext)(UE);+function KE(e) {return (0, B.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}//#endregion//#region node_modules/react-aria-components/dist/private/Label.mjs-var KE = /*#__PURE__*/ (0, B.createContext)({}), Eoe = /*#__PURE__*/ Bh(function(e, t) {- [e, t] = PE(e, t, KE);- let { elementType: n = "label", ...r } = e, i = RE[n];+var qE = /*#__PURE__*/ (0, B.createContext)({}), Toe = /*#__PURE__*/ Bh(function(e, t) {+ [e, t] = FE(e, t, qE);+ let { elementType: n = "label", ...r } = e, i = zE[n];return /*#__PURE__*/ B.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), Doe = /*#__PURE__*/ (0, B.createContext)(null), qE = /*#__PURE__*/ (0, B.createContext)({}), JE = /*#__PURE__*/ Bh(function(e, t) {- [e, t] = PE(e, t, qE);+}), Eoe = /*#__PURE__*/ (0, B.createContext)(null), JE = /*#__PURE__*/ (0, B.createContext)({}), YE = /*#__PURE__*/ Bh(function(e, t) {+ [e, t] = FE(e, t, JE);let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Aee(e, t);- i = koe(i, r);+ i = Ooe(i, r);let { focusProps: o, isFocused: s, isFocusVisible: c } = ry(e), { hoverProps: l, isHovered: u } = sy({...e,isDisabled: e.isDisabled || r@@ -19434,7 +19434,7 @@ var KE = /*#__PURE__*/ (0, B.createContext)({}), Eoe = /*#__PURE__*/ Bh(functionisFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = ME({+ }, f = NE({...e,values: d,defaultClassName: "react-aria-Button"@@ -19451,7 +19451,7 @@ var KE = /*#__PURE__*/ (0, B.createContext)({}), Eoe = /*#__PURE__*/ Bh(functionp]);let _ = Eg(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ B.createElement(RE.button, {+ return delete _.onClick, /*#__PURE__*/ B.createElement(zE.button, {...U(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -19465,62 +19465,62 @@ var KE = /*#__PURE__*/ (0, B.createContext)({}), Eoe = /*#__PURE__*/ Bh(function"data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ B.createElement(Doe.Provider, { value: { id: m } }, f.children));-}), Ooe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function koe(e, t) {+ }, /*#__PURE__*/ B.createElement(Eoe.Provider, { value: { id: m } }, f.children));+}), Doe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function Ooe(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !Ooe.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !Doe.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}//#endregion//#region node_modules/react-aria-components/dist/private/Heading.mjs-var YE = /*#__PURE__*/ (0, B.createContext)({}), XE = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- [e, t] = PE(e, t, YE);- let { children: n, level: r = 3, className: i, ...a } = e, o = RE[`h${r}`];+var XE = /*#__PURE__*/ (0, B.createContext)({}), ZE = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ [e, t] = FE(e, t, XE);+ let { children: n, level: r = 3, className: i, ...a } = e, o = zE[`h${r}`];return /*#__PURE__*/ B.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), ZE = /*#__PURE__*/ (0, B.createContext)({}), Aoe = /*#__PURE__*/ Bh(function(e, t) {- [e, t] = PE(e, t, ZE);- let { elementType: n = "span", ...r } = e, i = RE[n];+}), QE = /*#__PURE__*/ (0, B.createContext)({}), koe = /*#__PURE__*/ Bh(function(e, t) {+ [e, t] = FE(e, t, QE);+ let { elementType: n = "span", ...r } = e, i = zE[n];return /*#__PURE__*/ B.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), QE = /*#__PURE__*/ (0, B.createContext)(null), $E = /*#__PURE__*/ (0, B.createContext)(null), eD = /*#__PURE__*/ (0, B.createContext)(null), tD = /*#__PURE__*/ (0, B.createContext)(null), joe = /*#__PURE__*/ (0, B.createContext)(null), nD = /*#__PURE__*/ (0, B.createContext)(null);-function Moe(e, t) {- let { validationBehavior: n } = NE($E) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, B.useContext)(joe), a = Nh((0, B.useMemo)(() => mh(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...IE(e),+}), $E = /*#__PURE__*/ (0, B.createContext)(null), eD = /*#__PURE__*/ (0, B.createContext)(null), tD = /*#__PURE__*/ (0, B.createContext)(null), nD = /*#__PURE__*/ (0, B.createContext)(null), Aoe = /*#__PURE__*/ (0, B.createContext)(null), rD = /*#__PURE__*/ (0, B.createContext)(null);+function joe(e, t) {+ let { validationBehavior: n } = PE(eD) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, B.useContext)(Aoe), a = Nh((0, B.useMemo)(() => mh(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...LE(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};return [i ? $ee(o, i, a) : N_(o, R_(e), a), a];}-var Noe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+var Moe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = PE(r, t, eD);- let [i, a] = Moe(e, n);- return /*#__PURE__*/ B.createElement(nD.Provider, { value: {+ [e, t] = FE(r, t, tD);+ let [i, a] = joe(e, n);+ return /*#__PURE__*/ B.createElement(rD.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ B.createElement(Poe, {+ } }, /*#__PURE__*/ B.createElement(Noe, {...e,ref: t}));-}), Poe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, B.useContext)(nD), { isFocused: p, isFocusVisible: m, focusProps: h } = ry(), g = a || o, { hoverProps: _, isHovered: v } = sy({+}), Noe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, B.useContext)(rD), { isFocused: p, isFocusVisible: m, focusProps: h } = ry(), g = a || o, { hoverProps: _, isHovered: v } = sy({...e,isDisabled: g- }), y = ME({+ }), y = NE({...e,defaultClassName: u,values: {@@ -19536,7 +19536,7 @@ var Noe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {isRequired: f || !1}}), b = Eg(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ B.createElement(RE.label, {+ return delete b.id, delete b.onClick, /*#__PURE__*/ B.createElement(zE.label, {...U(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -19554,8 +19554,8 @@ var Noe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {...U(r, h),ref: l})), y.children);-}), rD = /*#__PURE__*/ (0, B.createContext)({}), Foe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- [e, t] = PE(e, t, rD);+}), iD = /*#__PURE__*/ (0, B.createContext)({}), Poe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ [e, t] = FE(e, t, iD);let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";let { hoverProps: l, isHovered: u } = sy({@@ -19563,7 +19563,7 @@ var Noe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = ry({ within: !0 }), m = ME({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = ry({ within: !0 }), m = NE({...e,values: {isHovered: u,@@ -19574,7 +19574,7 @@ var Noe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ B.createElement(RE.div, {+ return /*#__PURE__*/ B.createElement(zE.div, {...U(c, p, l),...m,ref: t,@@ -19587,18 +19587,18 @@ var Noe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), iD = /*#__PURE__*/ (0, B.createContext)({}), Ioe = (e) => {+}), aD = /*#__PURE__*/ (0, B.createContext)({}), Foe = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Loe = /*#__PURE__*/ Bh(function(e, t) {- [e, t] = PE(e, t, iD);+}, Ioe = /*#__PURE__*/ Bh(function(e, t) {+ [e, t] = FE(e, t, aD);let { hoverProps: n, isHovered: r } = sy({...e,isDisabled: e.disabled}), { isFocused: i, isFocusVisible: a, focusProps: o } = ry({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = ME({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = NE({...e,values: {isHovered: r,@@ -19609,8 +19609,8 @@ var Noe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ B.createElement(RE.input, {- ...U(Ioe(e), o, n),+ return /*#__PURE__*/ B.createElement(zE.input, {+ ...U(Foe(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -19619,8 +19619,8 @@ var Noe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), aD = {};-aD = {+}), oD = {};+oD = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",@@ -19628,8 +19628,8 @@ aD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var oD = {};-oD = {+var sD = {};+sD = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",@@ -19637,8 +19637,8 @@ oD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var sD = {};-sD = {+var cD = {};+cD = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",@@ -19646,8 +19646,8 @@ sD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var cD = {};-cD = {+var lD = {};+lD = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",@@ -19655,8 +19655,8 @@ cD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var lD = {};-lD = {+var uD = {};+uD = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",@@ -19664,8 +19664,8 @@ lD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var uD = {};-uD = {+var dD = {};+dD = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",@@ -19673,8 +19673,8 @@ uD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs-var dD = {};-dD = {+var fD = {};+fD = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",@@ -19682,8 +19682,8 @@ dD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var fD = {};-fD = {+var pD = {};+pD = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",@@ -19691,8 +19691,8 @@ fD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var pD = {};-pD = {+var mD = {};+mD = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",@@ -19700,8 +19700,8 @@ pD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var mD = {};-mD = {+var hD = {};+hD = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",@@ -19709,8 +19709,8 @@ mD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var hD = {};-hD = {+var gD = {};+gD = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",@@ -19718,8 +19718,8 @@ hD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var gD = {};-gD = {+var _D = {};+_D = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",@@ -19727,8 +19727,8 @@ gD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var _D = {};-_D = {+var vD = {};+vD = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",@@ -19736,8 +19736,8 @@ _D = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var vD = {};-vD = {+var yD = {};+yD = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",@@ -19745,8 +19745,8 @@ vD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var yD = {};-yD = {+var bD = {};+bD = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",@@ -19754,8 +19754,8 @@ yD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var bD = {};-bD = {+var xD = {};+xD = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",@@ -19763,8 +19763,8 @@ bD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var xD = {};-xD = {+var SD = {};+SD = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",@@ -19772,8 +19772,8 @@ xD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var SD = {};-SD = {+var CD = {};+CD = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",@@ -19781,8 +19781,8 @@ SD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var CD = {};-CD = {+var wD = {};+wD = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",@@ -19790,8 +19790,8 @@ CD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var wD = {};-wD = {+var TD = {};+TD = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",@@ -19799,8 +19799,8 @@ wD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var TD = {};-TD = {+var ED = {};+ED = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",@@ -19808,8 +19808,8 @@ TD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var ED = {};-ED = {+var DD = {};+DD = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",@@ -19817,8 +19817,8 @@ ED = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var DD = {};-DD = {+var OD = {};+OD = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -19826,8 +19826,8 @@ DD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var OD = {};-OD = {+var kD = {};+kD = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",@@ -19835,8 +19835,8 @@ OD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var kD = {};-kD = {+var AD = {};+AD = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",@@ -19844,8 +19844,8 @@ kD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var AD = {};-AD = {+var jD = {};+jD = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",@@ -19853,8 +19853,8 @@ AD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var jD = {};-jD = {+var MD = {};+MD = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",@@ -19862,8 +19862,8 @@ jD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var MD = {};-MD = {+var ND = {};+ND = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",@@ -19871,8 +19871,8 @@ MD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var ND = {};-ND = {+var PD = {};+PD = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",@@ -19880,8 +19880,8 @@ ND = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var PD = {};-PD = {+var FD = {};+FD = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",@@ -19889,8 +19889,8 @@ PD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var FD = {};-FD = {+var ID = {};+ID = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",@@ -19898,8 +19898,8 @@ FD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var ID = {};-ID = {+var LD = {};+LD = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",@@ -19907,8 +19907,8 @@ ID = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var LD = {};-LD = {+var RD = {};+RD = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",@@ -19916,8 +19916,8 @@ LD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var RD = {};-RD = {+var zD = {};+zD = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",@@ -19925,52 +19925,52 @@ RD = {};//#endregion//#region node_modules/react-aria-components/dist/private/intlStrings.mjs-var zD = {};-zD = {- "ar-AE": aD,- "bg-BG": oD,- "cs-CZ": sD,- "da-DK": cD,- "de-DE": lD,- "el-GR": uD,- "en-US": dD,- "es-ES": fD,- "et-EE": pD,- "fi-FI": mD,- "fr-FR": hD,- "he-IL": gD,- "hr-HR": _D,- "hu-HU": vD,- "it-IT": yD,- "ja-JP": bD,- "ko-KR": xD,- "lt-LT": SD,- "lv-LV": CD,- "nb-NO": wD,- "nl-NL": TD,- "pl-PL": ED,- "pt-BR": DD,- "pt-PT": OD,- "ro-RO": kD,- "ru-RU": AD,- "sk-SK": jD,- "sl-SI": MD,- "sr-SP": ND,- "sv-SE": PD,- "tr-TR": FD,- "uk-UA": ID,- "zh-CN": LD,- "zh-TW": RD+var BD = {};+BD = {+ "ar-AE": oD,+ "bg-BG": sD,+ "cs-CZ": cD,+ "da-DK": lD,+ "de-DE": uD,+ "el-GR": dD,+ "en-US": fD,+ "es-ES": pD,+ "et-EE": mD,+ "fi-FI": hD,+ "fr-FR": gD,+ "he-IL": _D,+ "hr-HR": vD,+ "hu-HU": yD,+ "it-IT": bD,+ "ja-JP": xD,+ "ko-KR": SD,+ "lt-LT": CD,+ "lv-LV": wD,+ "nb-NO": TD,+ "nl-NL": ED,+ "pl-PL": DD,+ "pt-BR": OD,+ "pt-PT": kD,+ "ro-RO": AD,+ "ru-RU": jD,+ "sk-SK": MD,+ "sl-SI": ND,+ "sr-SP": PD,+ "sv-SE": FD,+ "tr-TR": ID,+ "uk-UA": LD,+ "zh-CN": RD,+ "zh-TW": zD};//#endregion//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var BD = /*#__PURE__*/ (0, B.createContext)({}), VD = /*#__PURE__*/ (0, B.createContext)(null), Roe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- let { render: n } = (0, B.useContext)(VD);+var VD = /*#__PURE__*/ (0, B.createContext)({}), HD = /*#__PURE__*/ (0, B.createContext)(null), Loe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ let { render: n } = (0, B.useContext)(HD);return /*#__PURE__*/ B.createElement(B.Fragment, null, n(e, t));});-function HD(e, t) {+function UD(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, B.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ B.createElement(Roe, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ B.createElement(Loe, { target: e });}, [t?.target,r,@@ -19978,7 +19978,7 @@ function HD(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function UD(e, t, n) {+function WD(e, t, n) {let r = e.focusedKey, i = null;if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {let e = n.collection.getKeyAfter(i), t = null;@@ -20001,14 +20001,14 @@ function UD(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Header.mjs-var WD = /*#__PURE__*/ (0, B.createContext)({}), zoe = /*#__PURE__*/ (0, B.createContext)(null);-function GD(e) {+var GD = /*#__PURE__*/ (0, B.createContext)({}), Roe = /*#__PURE__*/ (0, B.createContext)(null);+function KD(e) {let t = (0, B.useRef)({});- return /*#__PURE__*/ B.createElement(zoe.Provider, { value: t }, e.children);+ return /*#__PURE__*/ B.createElement(Roe.Provider, { value: t }, e.children);}//#endregion//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var KD = /*#__PURE__*/ (0, B.createContext)({ isSelected: !1 }), qD = /*#__PURE__*/ (0, B.createContext)({}), Boe = /*#__PURE__*/ tg(class extends tp {+var qD = /*#__PURE__*/ (0, B.createContext)({ isSelected: !1 }), JD = /*#__PURE__*/ (0, B.createContext)({}), zoe = /*#__PURE__*/ tg(class extends tp {static {this.type = "separator";}@@ -20021,10 +20021,10 @@ var KD = /*#__PURE__*/ (0, B.createContext)({ isSelected: !1 }), qD = /*#__PURE_return null;}}, function(e, t) {- [e, t] = PE(e, t, qD);+ [e, t] = FE(e, t, JD);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = RE[c], { separatorProps: u } = $te({+ let l = zE[c], { separatorProps: u } = $te({...s,elementType: n,orientation: r@@ -20040,13 +20040,13 @@ var KD = /*#__PURE__*/ (0, B.createContext)({ isSelected: !1 }), qD = /*#__PURE_});//#endregion//#region node_modules/react-aria/dist/private/utils/inertValue.mjs-function JD(e) {+function YD(e) {let t = B.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}//#endregion//#region node_modules/react-stately/dist/private/list/ListCollection.mjs-var YD = class {+var XD = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -20090,20 +20090,20 @@ var YD = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, XD = class e extends Set {+}, ZD = class e extends Set {constructor(t, n, r) {super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);}};//#endregion//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function Voe(e, t) {+function Boe(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function ZD(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, B.useRef)(!1), [, s] = (0, B.useState)(!1), c = (0, B.useRef)(null), l = (0, B.useRef)(null), [, u] = (0, B.useState)(null), [d, f] = L_((0, B.useMemo)(() => QD(e.selectedKeys), [e.selectedKeys]), (0, B.useMemo)(() => QD(e.defaultSelectedKeys, new XD()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, B.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, B.useState)(i);+function QD(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, B.useRef)(!1), [, s] = (0, B.useState)(!1), c = (0, B.useRef)(null), l = (0, B.useRef)(null), [, u] = (0, B.useState)(null), [d, f] = L_((0, B.useMemo)(() => $D(e.selectedKeys), [e.selectedKeys]), (0, B.useMemo)(() => $D(e.defaultSelectedKeys, new ZD()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, B.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, B.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, B.useRef)(i);return (0, B.useEffect)(() => {@@ -20130,18 +20130,18 @@ function ZD(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !Voe(e, d)) && f(e);+ (r || !Boe(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function QD(e, t) {- return e ? e === "all" ? "all" : new XD(e) : t;+function $D(e, t) {+ return e ? e === "all" ? "all" : new ZD(e) : t;}//#endregion//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var $D = class e {+var eO = class e {constructor(e, t, n) {this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;}@@ -20224,10 +20224,10 @@ var $D = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new XD([t], t, t);+ if (this.state.selectedKeys === "all") n = new ZD([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new XD(e, r, t);+ n = new ZD(e, r, t);for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);}@@ -20261,19 +20261,19 @@ var $D = class e {}let t = this.getKey(e);if (t == null) return;- let n = new XD(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new ZD(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);}replaceSelection(e) {if (this.selectionMode === "none") return;let t = this.getKey(e);if (t == null) return;- let n = this.canSelectItem(t) ? new XD([t], t, t) : new XD();+ let n = this.canSelectItem(t) ? new ZD([t], t, t) : new ZD();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new XD();+ let t = new ZD();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -20296,7 +20296,7 @@ var $D = class e {!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");}clearSelection() {- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new XD());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new ZD());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -20337,9 +20337,9 @@ var $D = class e {fullCollection: this.fullCollection ?? this.collection});}-}, Hoe = class {+}, Voe = class {build(e, t) {- return this.context = t, eO(() => this.iterateCollection(e));+ return this.context = t, tO(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -20421,10 +20421,10 @@ var $D = class e {...a,key: l,index: s,- wrapper: Uoe(e.wrapper, a.wrapper)+ wrapper: Hoe(e.wrapper, a.wrapper)}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];for (let t of u) {- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${tO(t.type)}> in <${tO(r?.type ?? "unknown parent type")}>. Only <${tO(e.type)}> is supported.`);+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${nO(t.type)}> in <${nO(r?.type ?? "unknown parent type")}>. Only <${nO(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -20446,7 +20446,7 @@ var $D = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: eO(function* () {+ childNodes: tO(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -20465,7 +20465,7 @@ var $D = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function eO(e) {+function tO(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -20473,18 +20473,18 @@ function eO(e) {for (let e of n) t.push(e), yield e;} };}-function Uoe(e, t) {+function Hoe(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function tO(e) {+function nO(e) {return e[0].toUpperCase() + e.slice(1);}//#endregion//#region node_modules/react-stately/dist/private/collections/useCollection.mjs-function nO(e, t, n) {- let r = (0, B.useMemo)(() => new Hoe(), []), { children: i, items: a, collection: o } = e;+function rO(e, t, n) {+ let r = (0, B.useMemo)(() => new Voe(), []), { children: i, items: a, collection: o } = e;return (0, B.useMemo)(() => o || t(r.build({children: i,items: a@@ -20499,27 +20499,27 @@ function nO(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/list/useListState.mjs-function rO(e) {- let { filter: t, layoutDelegate: n } = e, r = ZD(e), i = (0, B.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = nO(e, (0, B.useCallback)((e) => t ? new YD(t(e)) : new YD(e), [t]), (0, B.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, B.useMemo)(() => new $D(a, r, { layoutDelegate: n }), [+function iO(e) {+ let { filter: t, layoutDelegate: n } = e, r = QD(e), i = (0, B.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = rO(e, (0, B.useCallback)((e) => t ? new XD(t(e)) : new XD(e), [t]), (0, B.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, B.useMemo)(() => new eO(a, r, { layoutDelegate: n }), [a,r,n]);- return iO(a, o), {+ return aO(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function Woe(e, t) {+function Uoe(e, t) {let n = (0, B.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return iO(n, r), {+ return aO(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function iO(e, t) {+function aO(e, t) {let n = (0, B.useRef)(null);(0, B.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -20547,7 +20547,7 @@ function iO(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function aO(e, t) {+function oO(e, t) {let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, B.useRef)(null), s = ug((e) => {for (let t of e) t.isIntersecting && r && r();});@@ -20571,42 +20571,42 @@ function aO(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/ListBox.mjs-var oO = /*#__PURE__*/ (0, B.createContext)(null), sO = /*#__PURE__*/ (0, B.createContext)(null), Goe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- [e, t] = PE(e, t, oO);- let n = (0, B.useContext)(sO);- return n ? /*#__PURE__*/ B.createElement(cO, {+var sO = /*#__PURE__*/ (0, B.createContext)(null), cO = /*#__PURE__*/ (0, B.createContext)(null), Woe = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ [e, t] = FE(e, t, sO);+ let n = (0, B.useContext)(cO);+ return n ? /*#__PURE__*/ B.createElement(lO, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ B.createElement(qh, { content: /*#__PURE__*/ B.createElement(ag, e) }, (n) => /*#__PURE__*/ B.createElement(Koe, {+ }) : /*#__PURE__*/ B.createElement(qh, { content: /*#__PURE__*/ B.createElement(ag, e) }, (n) => /*#__PURE__*/ B.createElement(Goe, {props: e,listBoxRef: t,collection: n}));});-function Koe({ props: e, listBoxRef: t, collection: n }) {+function Goe({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, B.useContext)(WE), i = rO({+ let { layoutDelegate: r } = (0, B.useContext)(GE), i = iO({...e,layoutDelegate: r});- return /*#__PURE__*/ B.createElement(cO, {+ return /*#__PURE__*/ B.createElement(lO, {state: i,props: e,listBoxRef: t});}-function cO({ state: e, props: t, listBoxRef: n }) {- [t, n] = PE(t, n, zE);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Woe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = vg(), { disabledBehavior: p, disabledKeys: m } = l, h = Xv({+function lO({ state: e, props: t, listBoxRef: n }) {+ [t, n] = FE(t, n, BE);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Uoe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = vg(), { disabledBehavior: p, disabledKeys: m } = l, h = Xv({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, B.useContext)(WE), b = (0, B.useMemo)(() => t.keyboardDelegate || new Q_({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, B.useContext)(GE), b = (0, B.useMemo)(() => t.keyboardDelegate || new Q_({collection: c,collator: h,ref: n,@@ -20667,7 +20667,7 @@ function cO({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, N = ME({+ }, N = NE({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -20678,7 +20678,7 @@ function cO({ state: e, props: t, listBoxRef: n }) {style: { display: "contents" }}, t.renderEmptyState(M)));let ee = Eg(t, { global: !0 });- return /*#__PURE__*/ B.createElement(Yg, null, /*#__PURE__*/ B.createElement(RE.div, {+ return /*#__PURE__*/ B.createElement(Yg, null, /*#__PURE__*/ B.createElement(zE.div, {...U(ee, N, x, O, w?.collectionProps),ref: n,slot: t.slot || void 0,@@ -20689,52 +20689,52 @@ function cO({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": A || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ B.createElement(jE, { values: [- [oO, t],- [sO, s],- [BD, {+ }, /*#__PURE__*/ B.createElement(ME, { values: [+ [sO, t],+ [cO, s],+ [VD, {dragAndDropHooks: r,dragState: S,dropState: C}],- [qD, { elementType: "div" }],- [VD, { render: Yoe }],- [VE, {+ [JD, { elementType: "div" }],+ [HD, { render: Joe }],+ [HE, {name: "ListBoxSection",- render: qoe+ render: Koe}]- ] }, /*#__PURE__*/ B.createElement(GD, null, /*#__PURE__*/ B.createElement(y, {+ ] }, /*#__PURE__*/ B.createElement(KD, null, /*#__PURE__*/ B.createElement(y, {collection: c,scrollRef: n,- persistedKeys: UD(l, r, C),- renderDropIndicator: HD(r, C)+ persistedKeys: WD(l, r, C),+ renderDropIndicator: UD(r, C)}))), P, E));}-function qoe(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, B.useContext)(sO), { dragAndDropHooks: a, dropState: o } = (0, B.useContext)(BD), { CollectionBranch: s } = (0, B.useContext)(WE), [c, l] = FE(), { headingProps: u, groupProps: d } = Dte({+function Koe(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, B.useContext)(cO), { dragAndDropHooks: a, dropState: o } = (0, B.useContext)(VD), { CollectionBranch: s } = (0, B.useContext)(GE), [c, l] = IE(), { headingProps: u, groupProps: d } = Dte({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = ME({+ }), f = NE({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0}), p = Eg(e, { global: !0 });- return delete p.id, /*#__PURE__*/ B.createElement(RE.section, {+ return delete p.id, /*#__PURE__*/ B.createElement(zE.section, {...U(p, f, d),ref: t- }, /*#__PURE__*/ B.createElement(WD.Provider, { value: {+ }, /*#__PURE__*/ B.createElement(GD.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ B.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: HD(a, o)+ renderDropIndicator: UD(a, o)})));}-var Joe = /*#__PURE__*/ tg(ip, function(e, t, n) {- let r = Nh(t), i = (0, B.useContext)(sO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, B.useContext)(BD), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Ote({+var qoe = /*#__PURE__*/ tg(ip, function(e, t, n) {+ let r = Nh(t), i = (0, B.useContext)(cO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, B.useContext)(VD), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Ote({key: n.key,"aria-label": e?.["aria-label"]}, i, r), { hoverProps: p, isHovered: m } = sy({@@ -20753,7 +20753,7 @@ var Joe = /*#__PURE__*/ tg(ip, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = ME({+ let y = o && o.isDragging(n.key), b = NE({...e,id: void 0,children: e.children,@@ -20771,7 +20771,7 @@ var Joe = /*#__PURE__*/ tg(ip, function(e, t, n) {(0, B.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? RE.a : RE.div, S = Eg(e, { global: !0 });+ let x = e.href ? zE.a : zE.div, S = Eg(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ B.createElement(x, {...U(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -20785,29 +20785,29 @@ var Joe = /*#__PURE__*/ tg(ip, function(e, t, n) {"data-dragging": y || void 0,"data-drop-target": v?.isDropTarget || void 0,"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode- }, /*#__PURE__*/ B.createElement(jE, { values: [[ZE, { slots: {- [AE]: u,+ }, /*#__PURE__*/ B.createElement(ME, { values: [[QE, { slots: {+ [jE]: u,label: u,description: d- } }], [KD, { isSelected: f.isSelected }]] }, b.children));+ } }], [qD, { isSelected: f.isSelected }]] }, b.children));});-function Yoe(e, t) {+function Joe(e, t) {t = Nh(t);- let { dragAndDropHooks: n, dropState: r } = (0, B.useContext)(BD), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ B.createElement(Zoe, {+ let { dragAndDropHooks: n, dropState: r } = (0, B.useContext)(VD), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ B.createElement(Xoe, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function Xoe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = ME({+function Yoe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = NE({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(RE.div, {+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(zE.div, {...n,...a,role: "option",@@ -20815,10 +20815,10 @@ function Xoe(e, t) {"data-drop-target": r || void 0}));}-var Zoe = /*#__PURE__*/ (0, B.forwardRef)(Xoe);+var Xoe = /*#__PURE__*/ (0, B.forwardRef)(Yoe);tg(rp, function(e, t, n) {- let r = (0, B.useContext)(sO), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, B.useRef)(null);- aO((0, B.useMemo)(() => ({+ let r = (0, B.useContext)(cO), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, B.useRef)(null);+ oO((0, B.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -20828,7 +20828,7 @@ tg(rp, function(e, t, n) {o,r?.collection]), c);- let l = ME({+ let l = NE({...s,id: void 0,children: n.rendered,@@ -20841,7 +20841,7 @@ tg(rp, function(e, t, n) {width: 0,height: 0},- inert: JD(!0)+ inert: YD(!0)}, /*#__PURE__*/ B.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -20850,7 +20850,7 @@ tg(rp, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(RE.div, {+ })), i && l.children && /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(zE.div, {...U(Eg(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",@@ -20859,10 +20859,10 @@ tg(rp, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var Qoe = /*#__PURE__*/ (0, B.createContext)({ placement: "bottom" });+var Zoe = /*#__PURE__*/ (0, B.createContext)({ placement: "bottom" });//#endregion//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function lO(e) {+function uO(e) {let [t, n] = L_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, B.useState)(null);return {isOpen: t,@@ -20882,13 +20882,13 @@ function lO(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/animation.mjs-function uO(e, t = !0) {+function dO(e, t = !0) {let [n, r] = (0, B.useState)(!0), i = n && t;return Hp(() => {if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, i]), fO(e, i, (0, B.useCallback)(() => r(!1), [])), i;+ }, [e, i]), pO(e, i, (0, B.useCallback)(() => r(!1), [])), i;}-function dO(e, t) {+function fO(e, t) {let [n, r] = (0, B.useState)(t ? "open" : "closed");switch (n) {case "open":@@ -20898,11 +20898,11 @@ function dO(e, t) {case "exiting": t && r("open");}let i = n === "exiting";- return fO(e, i, (0, B.useCallback)(() => {+ return pO(e, i, (0, B.useCallback)(() => {r((e) => e === "exiting" ? "closed" : e);}, [])), i;}-function fO(e, t, n) {+function pO(e, t, n) {Hp(() => {if (t && e.current) {if (!("getAnimations" in e.current)) {@@ -20931,9 +20931,9 @@ function fO(e, t, n) {}//#endregion//#region node_modules/react-aria-components/dist/private/Popover.mjs-var pO = /*#__PURE__*/ (0, B.createContext)(null), mO = /*#__PURE__*/ (0, B.createContext)(null), hO = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- [e, t] = PE(e, t, pO);- let n = (0, B.useContext)(TO), r = lO(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = dO(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Vh(), { direction: c } = vg();+var mO = /*#__PURE__*/ (0, B.createContext)(null), hO = /*#__PURE__*/ (0, B.createContext)(null), gO = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ [e, t] = FE(e, t, mO);+ let n = (0, B.useContext)(EO), r = uO(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = fO(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Vh(), { direction: c } = vg();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -20944,7 +20944,7 @@ var pO = /*#__PURE__*/ (0, B.createContext)(null), mO = /*#__PURE__*/ (0, B.creadefaultChildren: null})), /*#__PURE__*/ B.createElement(B.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ B.createElement($oe, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ B.createElement(Qoe, {...e,triggerRef: e.triggerRef,state: i,@@ -20953,13 +20953,13 @@ var pO = /*#__PURE__*/ (0, B.createContext)(null), mO = /*#__PURE__*/ (0, B.creadir: c});});-function $oe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useContext)(mO), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Jte({+function Qoe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useContext)(hO), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Jte({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), m = i.popoverRef, h = uO(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = ME({+ }, e), m = i.popoverRef, h = dO(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = NE({...i,defaultClassName: "react-aria-Popover",values: {@@ -20994,7 +20994,7 @@ function $oe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,..._.style,"--trigger-width": _.style?.["--trigger-width"] || S- }, E = /*#__PURE__*/ B.createElement(RE.div, {+ }, E = /*#__PURE__*/ B.createElement(zE.div, {...U(Eg(i, { global: !0 }), l),..._,id: y ? i.id : void 0,@@ -21010,7 +21010,7 @@ function $oe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": f,"data-entering": g || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ B.createElement(Nb, { onDismiss: e.close }), /*#__PURE__*/ B.createElement(Qoe.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ B.createElement(Nb, { onDismiss: e.close }), /*#__PURE__*/ B.createElement(Zoe.Provider, { value: {...d,placement: f,ref: a@@ -21035,15 +21035,15 @@ function $oe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ B.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ B.createElement(mO.Provider, { value: o }, E)));+ }, /*#__PURE__*/ B.createElement(hO.Provider, { value: o }, E)));}//#endregion//#region node_modules/react-aria-components/dist/private/Keyboard.mjs-var ese = /*#__PURE__*/ (0, B.createContext)({});+var $oe = /*#__PURE__*/ (0, B.createContext)({});//#endregion//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function gO(e) {- let t = lO(e), [n, r] = (0, B.useState)(null), [i, a] = (0, B.useState)([]), o = () => {+function _O(e) {+ let t = uO(e), [n, r] = (0, B.useState)(null), [i, a] = (0, B.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -21069,7 +21069,7 @@ function gO(e) {}//#endregion//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var tse = class {+var ese = class {constructor(e, { expandedKeys: t } = {}) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();let n = (e) => {@@ -21113,8 +21113,8 @@ var tse = class {};//#endregion//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs-function nse(e) {- let { onExpandedChange: t } = e, [n, r] = L_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = ZD(e), a = (0, B.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = nO(e, (0, B.useCallback)((e) => new tse(e, { expandedKeys: n }), [n]), null);+function tse(e) {+ let { onExpandedChange: t } = e, [n, r] = L_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = QD(e), a = (0, B.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = rO(e, (0, B.useCallback)((e) => new ese(e, { expandedKeys: n }), [n]), null);return (0, B.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -21122,32 +21122,32 @@ function nse(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(rse(n, e));+ r(nse(n, e));},setExpandedKeys: r,- selectionManager: new $D(o, i)+ selectionManager: new eO(o, i)};}-function rse(e, t) {+function nse(e, t) {let n = new Set(e);return n.has(t) ? n.delete(t) : n.add(t), n;}//#endregion//#region node_modules/react-aria-components/dist/private/Menu.mjs-var _O = /*#__PURE__*/ (0, B.createContext)(null), vO = /*#__PURE__*/ (0, B.createContext)(null), yO = /*#__PURE__*/ (0, B.createContext)(null), bO = /*#__PURE__*/ (0, B.createContext)(null);-function ise(e) {- let t = gO(e), n = (0, B.useRef)(null), { menuTriggerProps: r, menuProps: i } = Iv({+var vO = /*#__PURE__*/ (0, B.createContext)(null), yO = /*#__PURE__*/ (0, B.createContext)(null), bO = /*#__PURE__*/ (0, B.createContext)(null), xO = /*#__PURE__*/ (0, B.createContext)(null);+function rse(e) {+ let t = _O(e), n = (0, B.useRef)(null), { menuTriggerProps: r, menuProps: i } = Iv({...e,type: "menu"}, t, n), a = (0, B.useRef)(null);- return Vh() ? null : /*#__PURE__*/ B.createElement(jE, { values: [- [_O, {+ return Vh() ? null : /*#__PURE__*/ B.createElement(ME, { values: [+ [vO, {...i,ref: a}],- [TO, t],- [yO, t],- [pO, {+ [EO, t],+ [bO, t],+ [mO, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -21161,7 +21161,7 @@ function ise(e) {isPressed: t.isOpen}, e.children));}-var ase = /*#__PURE__*/ (0, B.createContext)(null);+var ise = /*#__PURE__*/ (0, B.createContext)(null);(class extends tp {static {this.type = "submenutrigger";@@ -21175,24 +21175,24 @@ var ase = /*#__PURE__*/ (0, B.createContext)(null);return null;}});-var ose = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- return [e, t] = PE(e, t, _O), /*#__PURE__*/ B.createElement(qh, { content: /*#__PURE__*/ B.createElement(ag, e) }, (n) => /*#__PURE__*/ B.createElement(sse, {+var ase = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ return [e, t] = FE(e, t, vO), /*#__PURE__*/ B.createElement(qh, { content: /*#__PURE__*/ B.createElement(ag, e) }, (n) => /*#__PURE__*/ B.createElement(ose, {props: e,collection: n,menuRef: t}));});-function sse({ props: e, collection: t, menuRef: n }) {- [e, n] = PE(e, n, zE);- let { filter: r, ...i } = e, a = (0, B.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = nse({+function ose({ props: e, collection: t, menuRef: n }) {+ [e, n] = FE(e, n, BE);+ let { filter: r, ...i } = e, a = (0, B.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = tse({...e,collection: a,children: void 0- }), s = (0, B.useContext)(yO), { isVirtualized: c, CollectionRoot: l } = (0, B.useContext)(WE), { menuProps: u } = kte({+ }), s = (0, B.useContext)(bO), { isVirtualized: c, CollectionRoot: l } = (0, B.useContext)(GE), { menuProps: u } = kte({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = ME({+ }, o, n), d = NE({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -21203,35 +21203,35 @@ function sse({ props: e, collection: t, menuRef: n }) {style: { display: "contents" }}, e.renderEmptyState()));let p = Eg(e, { global: !0 });- return /*#__PURE__*/ B.createElement(Yg, null, /*#__PURE__*/ B.createElement(RE.div, {+ return /*#__PURE__*/ B.createElement(Yg, null, /*#__PURE__*/ B.createElement(zE.div, {...U(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ B.createElement(jE, { values: [- [vO, o],- [qD, { elementType: "div" }],- [VE, {+ }, /*#__PURE__*/ B.createElement(ME, { values: [+ [yO, o],+ [JD, { elementType: "div" }],+ [HE, {name: "MenuSection",- render: xO+ render: SO}],- [ase, {+ [ise, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [CO, { shouldCloseOnSelect: e.shouldCloseOnSelect }],- [zE, null],+ [wO, { shouldCloseOnSelect: e.shouldCloseOnSelect }],[BE, null],- [bO, o.selectionManager],- [yO, s ?? gO({})]- ] }, /*#__PURE__*/ B.createElement(GD, null, /*#__PURE__*/ B.createElement(l, {+ [VE, null],+ [xO, o.selectionManager],+ [bO, s ?? _O({})]+ ] }, /*#__PURE__*/ B.createElement(KD, null, /*#__PURE__*/ B.createElement(l, {collection: o.collection,- persistedKeys: GE(o.selectionManager.focusedKey),+ persistedKeys: KE(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var cse = class extends $D {+var sse = class extends eO {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -21251,11 +21251,11 @@ var cse = class extends $D {return this.parent.childFocusStrategy;}};-function xO(e, t, n, r = "react-aria-MenuSection") {- let i = (0, B.useContext)(vO), { CollectionBranch: a } = (0, B.useContext)(WE), [o, s] = FE(), { headingProps: c, groupProps: l } = jte({+function SO(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, B.useContext)(yO), { CollectionBranch: a } = (0, B.useContext)(GE), [o, s] = IE(), { headingProps: c, groupProps: l } = jte({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = ME({+ }), u = NE({...e,id: void 0,children: void 0,@@ -21263,31 +21263,31 @@ function xO(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, B.useContext)(bO), f = ZD(e), p = e.selectionMode == null ? d : new cse(d, f), m = NE(CO)?.shouldCloseOnSelect, h = Eg(e, { global: !0 });- return delete h.id, /*#__PURE__*/ B.createElement(RE.section, {+ }), d = (0, B.useContext)(xO), f = QD(e), p = e.selectionMode == null ? d : new sse(d, f), m = PE(wO)?.shouldCloseOnSelect, h = Eg(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ B.createElement(zE.section, {...U(h, u, l),ref: t- }, /*#__PURE__*/ B.createElement(jE, { values: [- [WD, {+ }, /*#__PURE__*/ B.createElement(ME, { values: [+ [GD, {...c,ref: o}],- [bO, p],- [CO, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [xO, p],+ [wO, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ B.createElement(a, {collection: i.collection,parent: n})));}-var SO = /*#__PURE__*/ ng(ap, xO), CO = /*#__PURE__*/ (0, B.createContext)(null), wO = /*#__PURE__*/ tg(ip, function(e, t, n) {- [e, t] = PE(e, t, CO);- let r = NE(CO)?.id, i = (0, B.useContext)(vO), a = Nh(t), o = (0, B.useContext)(bO), { isVirtualized: s } = (0, B.useContext)(WE), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Ate({+var CO = /*#__PURE__*/ ng(ap, SO), wO = /*#__PURE__*/ (0, B.createContext)(null), TO = /*#__PURE__*/ tg(ip, function(e, t, n) {+ [e, t] = FE(e, t, wO);+ let r = PE(wO)?.id, i = (0, B.useContext)(yO), a = Nh(t), o = (0, B.useContext)(xO), { isVirtualized: s } = (0, B.useContext)(GE), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Ate({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = sy({ isDisabled: f.isDisabled }), h = ME({+ }, i, a), { hoverProps: p, isHovered: m } = sy({ isDisabled: f.isDisabled }), h = NE({...e,id: void 0,children: n.rendered,@@ -21301,7 +21301,7 @@ var SO = /*#__PURE__*/ ng(ap, xO), CO = /*#__PURE__*/ (0, B.createContext)(null)hasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? RE.a : RE.div, _ = Eg(e, { global: !0 });+ }), g = e.href ? zE.a : zE.div, _ = Eg(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ B.createElement(g, {...U(_, h, c, p),ref: a,@@ -21314,19 +21314,19 @@ var SO = /*#__PURE__*/ ng(ap, xO), CO = /*#__PURE__*/ (0, B.createContext)(null)"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,"data-has-submenu": !!e["aria-haspopup"] || void 0,"data-open": e["aria-expanded"] === "true" || void 0- }, /*#__PURE__*/ B.createElement(jE, { values: [- [ZE, { slots: {- [AE]: l,+ }, /*#__PURE__*/ B.createElement(ME, { values: [+ [QE, { slots: {+ [jE]: l,label: l,description: u} }],- [ese, d],- [KD, { isSelected: f.isSelected }]+ [$oe, d],+ [qD, { isSelected: f.isSelected }]] }, h.children));});tg(rp, function(e, t, n) {- let r = (0, B.useContext)(vO), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, B.useRef)(null);- aO((0, B.useMemo)(() => ({+ let r = (0, B.useContext)(yO), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, B.useRef)(null);+ oO((0, B.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -21336,7 +21336,7 @@ tg(rp, function(e, t, n) {o,r?.collection]), c);- let l = ME({+ let l = NE({...s,id: void 0,children: n.rendered,@@ -21349,7 +21349,7 @@ tg(rp, function(e, t, n) {width: 0,height: 0},- inert: JD(!0)+ inert: YD(!0)}, /*#__PURE__*/ B.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -21358,7 +21358,7 @@ tg(rp, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(RE.div, {+ })), i && l.children && /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(zE.div, {...U(Eg(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",@@ -21367,56 +21367,56 @@ tg(rp, function(e, t, n) {});//#endregion//#region node_modules/react-aria-components/dist/private/Dialog.mjs-var lse = /*#__PURE__*/ (0, B.createContext)(null), TO = /*#__PURE__*/ (0, B.createContext)(null), EO = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+var cse = /*#__PURE__*/ (0, B.createContext)(null), EO = /*#__PURE__*/ (0, B.createContext)(null), DO = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = PE(e, t, lse);+ [e, t] = FE(e, t, cse);let { dialogProps: r, titleProps: i, contentProps: a } = hte({...e,"aria-labelledby": n- }, t), o = (0, B.useContext)(TO);+ }, t), o = (0, B.useContext)(EO);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = ME({+ let s = NE({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }}), c = Eg(e, { global: !0 });- return /*#__PURE__*/ B.createElement(RE.section, {+ return /*#__PURE__*/ B.createElement(zE.section, {...U(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ B.createElement(jE, { values: [- [YE, { slots: {- [AE]: {},+ }, /*#__PURE__*/ B.createElement(ME, { values: [+ [XE, { slots: {+ [jE]: {},title: {...i,level: 2}} }],- [ZE, { slots: {- [AE]: {},+ [QE, { slots: {+ [jE]: {},description: a} }],- [qE, { slots: {- [AE]: {},+ [JE, { slots: {+ [jE]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), DO = typeof document < "u" && window.visualViewport;-function use() {+}), OO = typeof document < "u" && window.visualViewport;+function lse() {let e = Om(), [t, n] = (0, B.useState)(() => e ? {width: 0,height: 0- } : OO());+ } : kO());return (0, B.useEffect)(() => {let e = (e) => {n((t) => e.width === t.width && e.height === t.height ? t : e);}, t = () => {- DO && DO.scale > 1 || e(OO());+ OO && OO.scale > 1 || e(kO());}, r, i = (t) => {- DO && DO.scale > 1 || lg(H(t)) && (r = requestAnimationFrame(() => {+ OO && OO.scale > 1 || lg(H(t)) && (r = requestAnimationFrame(() => {let t = kp();(!t || !lg(t)) && e({width: document.documentElement.clientWidth,@@ -21424,26 +21424,26 @@ function use() {});}));};- return e(OO()), em() && nm() && window.addEventListener("blur", i, !0), DO ? DO.addEventListener("resize", t) : window.addEventListener("resize", t), () => {- cancelAnimationFrame(r), em() && nm() && window.removeEventListener("blur", i, !0), DO ? DO.removeEventListener("resize", t) : window.removeEventListener("resize", t);+ return e(kO()), em() && nm() && window.addEventListener("blur", i, !0), OO ? OO.addEventListener("resize", t) : window.addEventListener("resize", t), () => {+ cancelAnimationFrame(r), em() && nm() && window.removeEventListener("blur", i, !0), OO ? OO.removeEventListener("resize", t) : window.removeEventListener("resize", t);};}, []), t;}-function OO() {+function kO() {return {- width: DO ? Math.min(DO.width * DO.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: DO ? DO.height * DO.scale : document.documentElement.clientHeight+ width: OO ? Math.min(OO.width * OO.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: OO ? OO.height * OO.scale : document.documentElement.clientHeight};}//#endregion//#region node_modules/react-aria-components/dist/private/Modal.mjs-var dse = /*#__PURE__*/ (0, B.createContext)(null), kO = /*#__PURE__*/ (0, B.createContext)(null), fse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- if ((0, B.useContext)(kO)) return /*#__PURE__*/ B.createElement(jO, {+var use = /*#__PURE__*/ (0, B.createContext)(null), AO = /*#__PURE__*/ (0, B.createContext)(null), dse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ if ((0, B.useContext)(AO)) return /*#__PURE__*/ B.createElement(MO, {...e,modalRef: t}, e.children);let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;- return /*#__PURE__*/ B.createElement(AO, {+ return /*#__PURE__*/ B.createElement(jO, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -21453,15 +21453,15 @@ var dse = /*#__PURE__*/ (0, B.createContext)(null), kO = /*#__PURE__*/ (0, B.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ B.createElement(jO, {+ }, /*#__PURE__*/ B.createElement(MO, {...f,modalRef: t}, s));});-function pse(e, t) {- [e, t] = PE(e, t, dse);- let n = (0, B.useContext)(TO), r = lO(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Nh(t), o = (0, B.useRef)(null), s = dO(a, i.isOpen), c = dO(o, i.isOpen), l = s || c || e.isExiting || !1, u = Om();- return !i.isOpen && !l || u ? null : /*#__PURE__*/ B.createElement(mse, {+function fse(e, t) {+ [e, t] = FE(e, t, use);+ let n = (0, B.useContext)(EO), r = uO(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Nh(t), o = (0, B.useRef)(null), s = fO(a, i.isOpen), c = fO(o, i.isOpen), l = s || c || e.isExiting || !1, u = Om();+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ B.createElement(pse, {...e,state: i,isExiting: l,@@ -21469,9 +21469,9 @@ function pse(e, t) {modalRef: o});}-var AO = /*#__PURE__*/ (0, B.forwardRef)(pse);-function mse({ UNSTABLE_portalContainer: e, ...t }) {- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Ite(t, r, n), o = uO(t.overlayRef) || t.isEntering || !1, s = ME({+var jO = /*#__PURE__*/ (0, B.forwardRef)(fse);+function pse({ UNSTABLE_portalContainer: e, ...t }) {+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Ite(t, r, n), o = dO(t.overlayRef) || t.isEntering || !1, s = NE({...t,defaultClassName: "react-aria-ModalOverlay",values: {@@ -21479,7 +21479,7 @@ function mse({ UNSTABLE_portalContainer: e, ...t }) {isExiting: t.isExiting,state: r}- }), c = use(), l, u;+ }), c = lse(), l, u;if (typeof document < "u") {let e = m_(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;l = e.scrollWidth - t, u = e.scrollHeight - n;@@ -21494,22 +21494,22 @@ function mse({ UNSTABLE_portalContainer: e, ...t }) {return /*#__PURE__*/ B.createElement(ty, {isExiting: t.isExiting,portalContainer: e- }, /*#__PURE__*/ B.createElement(RE.div, {+ }, /*#__PURE__*/ B.createElement(zE.div, {...U(Eg(t, { global: !0 }), a),...s,style: d,ref: t.overlayRef,"data-entering": o || void 0,"data-exiting": t.isExiting || void 0- }, /*#__PURE__*/ B.createElement(jE, { values: [[kO, {+ }, /*#__PURE__*/ B.createElement(ME, { values: [[AO, {modalProps: i,modalRef: n,isExiting: t.isExiting,isDismissable: t.isDismissable- }], [TO, r]] }, s.children)));+ }], [EO, r]] }, s.children)));}-function jO(e) {- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, B.useContext)(kO), a = (0, B.useContext)(TO), o = Nh((0, B.useMemo)(() => mh(e.modalRef, n), [e.modalRef, n])), s = uO(o), c = ME({+function MO(e) {+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, B.useContext)(AO), a = (0, B.useContext)(EO), o = Nh((0, B.useMemo)(() => mh(e.modalRef, n), [e.modalRef, n])), s = dO(o), c = NE({...e,defaultClassName: "react-aria-Modal",values: {@@ -21518,7 +21518,7 @@ function jO(e) {state: a}});- return /*#__PURE__*/ B.createElement(RE.div, {+ return /*#__PURE__*/ B.createElement(zE.div, {...U(Eg(e, { global: !0 }), t),...c,ref: o,@@ -21528,9 +21528,9 @@ function jO(e) {}//#endregion//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var hse = Math.round(Math.random() * 1e10), gse = 0;-function _se(e) {- let t = (0, B.useMemo)(() => e.name || `radio-group-${hse}-${++gse}`, [e.name]), [n, r] = L_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, B.useState)(n), [a, o] = (0, B.useState)(null), s = O_({+var mse = Math.round(Math.random() * 1e10), hse = 0;+function gse(e) {+ let t = (0, B.useMemo)(() => e.name || `radio-group-${mse}-${++hse}`, [e.name]), [n, r] = L_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, B.useState)(n), [a, o] = (0, B.useState)(null), s = O_({...e,value: n}), c = (t) => {@@ -21553,16 +21553,16 @@ function _se(e) {}//#endregion//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs-var vse = /*#__PURE__*/ (0, B.createContext)(null), yse = /*#__PURE__*/ (0, B.createContext)(null), MO = /*#__PURE__*/ (0, B.createContext)(null), NO = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- [e, t] = PE(e, t, vse);- let { validationBehavior: n } = NE($E) || {}, r = e.validationBehavior ?? n ?? "native", i = _se({+var _se = /*#__PURE__*/ (0, B.createContext)(null), vse = /*#__PURE__*/ (0, B.createContext)(null), NO = /*#__PURE__*/ (0, B.createContext)(null), PO = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ [e, t] = FE(e, t, _se);+ let { validationBehavior: n } = PE(eD) || {}, r = e.validationBehavior ?? n ?? "native", i = gse({...e,validationBehavior: r- }), [a, o] = FE(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Xte({+ }), [a, o] = IE(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Xte({...e,label: o,validationBehavior: r- }, i), f = ME({+ }, i), f = NE({...e,values: {orientation: e.orientation || "vertical",@@ -21574,7 +21574,7 @@ var vse = /*#__PURE__*/ (0, B.createContext)(null), yse = /*#__PURE__*/ (0, B.cr},defaultClassName: "react-aria-RadioGroup"}), p = Eg(e, { global: !0 });- return /*#__PURE__*/ B.createElement(RE.div, {+ return /*#__PURE__*/ B.createElement(zE.div, {...U(p, f, s),ref: t,slot: e.slot || void 0,@@ -21583,39 +21583,39 @@ var vse = /*#__PURE__*/ (0, B.createContext)(null), yse = /*#__PURE__*/ (0, B.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ B.createElement(jE, { values: [- [MO, i],- [KE, {+ }, /*#__PURE__*/ B.createElement(ME, { values: [+ [NO, i],+ [qE, {...c,ref: a,elementType: "span"}],- [ZE, { slots: {+ [QE, { slots: {description: l,errorMessage: u} }],- [QE, d]- ] }, /*#__PURE__*/ B.createElement(GD, null, f.children)));-}), PO = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ [$E, d]+ ] }, /*#__PURE__*/ B.createElement(KD, null, f.children)));+}), FO = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = PE(r, t, yse);- let i = B.useContext(MO), a = Nh((0, B.useMemo)(() => mh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Yte({- ...IE(e),+ [e, t] = FE(r, t, vse);+ let i = B.useContext(NO), a = Nh((0, B.useMemo)(() => mh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Yte({+ ...LE(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ B.createElement(FO.Provider, { value: {+ return /*#__PURE__*/ B.createElement(IO.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ B.createElement(bse, {+ } }, /*#__PURE__*/ B.createElement(yse, {...e,ref: t}));-}), FO = /*#__PURE__*/ (0, B.createContext)(null), bse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, B.useContext)(FO), l = B.useContext(MO), { isFocused: u, isFocusVisible: d, focusProps: f } = ry(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = sy({+}), IO = /*#__PURE__*/ (0, B.createContext)(null), yse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, B.useContext)(IO), l = B.useContext(NO), { isFocused: u, isFocusVisible: d, focusProps: f } = ry(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = sy({...e,isDisabled: p- }), g = ME({+ }), g = NE({...e,defaultClassName: s,values: {@@ -21630,7 +21630,7 @@ var vse = /*#__PURE__*/ (0, B.createContext)(null), yse = /*#__PURE__*/ (0, B.crisRequired: l.isRequired}}), _ = Eg(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ B.createElement(RE.label, {+ return delete _.id, delete _.onClick, /*#__PURE__*/ B.createElement(zE.label, {...U(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -21649,8 +21649,8 @@ var vse = /*#__PURE__*/ (0, B.createContext)(null), yse = /*#__PURE__*/ (0, B.cr});//#endregion//#region node_modules/react-stately/dist/private/select/useSelectState.mjs-function xse(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = lO(e), [i, a] = (0, B.useState)(null), o = (0, B.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function bse(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = uO(e), [i, a] = (0, B.useState)(null), o = (0, B.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t@@ -21666,12 +21666,12 @@ function xse(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = rO({+ }, d = iO({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, B.useMemo)(() => Sse(l), [l]),+ selectedKeys: (0, B.useMemo)(() => xse(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -21708,16 +21708,16 @@ function xse(e) {setFocused: g};}-function Sse(e) {+function xse(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}//#endregion//#region node_modules/react-aria-components/dist/private/Select.mjs-function Cse(e) {+function Sse(e) {return e && e.__esModule ? e.default : e;}-var IO = /*#__PURE__*/ (0, B.createContext)(null), LO = /*#__PURE__*/ (0, B.createContext)(null), wse = /*#__PURE__*/ Bh(function(e, t) {- [e, t] = PE(e, t, IO);+var LO = /*#__PURE__*/ (0, B.createContext)(null), RO = /*#__PURE__*/ (0, B.createContext)(null), Cse = /*#__PURE__*/ Bh(function(e, t) {+ [e, t] = FE(e, t, LO);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, B.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -21732,24 +21732,24 @@ var IO = /*#__PURE__*/ (0, B.createContext)(null), LO = /*#__PURE__*/ (0, B.creai,a]);- return /*#__PURE__*/ B.createElement(qh, { content: o }, (n) => /*#__PURE__*/ B.createElement(Ese, {+ return /*#__PURE__*/ B.createElement(qh, { content: o }, (n) => /*#__PURE__*/ B.createElement(Tse, {props: e,collection: n,selectRef: t}));-}), Tse = [- KE,+}), wse = [qE,- ZE+ JE,+ QE];-function Ese({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = NE($E) || {}, i = e.validationBehavior ?? r ?? "native", a = xse({+function Tse({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = PE(eD) || {}, i = e.validationBehavior ?? r ?? "native", a = bse({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = ry({ within: !0 }), c = (0, B.useRef)(null), [l, u] = FE(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Zte({- ...IE(e),+ }), { isFocusVisible: o, focusProps: s } = ry({ within: !0 }), c = (0, B.useRef)(null), [l, u] = IE(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Zte({+ ...LE(e),label: u,validationBehavior: i}, a, c), y = (0, B.useMemo)(() => ({@@ -21766,48 +21766,48 @@ function Ese({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = ME({+ ]), b = NE({...e,values: y,defaultClassName: "react-aria-Select"}), x = Eg(e, { global: !0 });delete x.id;let S = (0, B.useRef)(null);- return /*#__PURE__*/ B.createElement(jE, { values: [- [IO, e],- [LO, a],- [RO, p],- [KE, {+ return /*#__PURE__*/ B.createElement(ME, { values: [+ [LO, e],+ [RO, a],+ [zO, p],+ [qE, {...d,ref: l,elementType: "span"}],- [qE, {+ [JE, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [TO, a],- [pO, {+ [EO, a],+ [mO, {trigger: "Select",triggerRef: c,scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: Tse+ clearContexts: wse}],- [oO, {+ [sO, {...m,ref: S}],- [sO, a],- [ZE, { slots: {+ [cO, a],+ [QE, { slots: {description: h,errorMessage: g} }],- [QE, v]- ] }, /*#__PURE__*/ B.createElement(RE.div, {+ [$E, v]+ ] }, /*#__PURE__*/ B.createElement(zE.div, {...U(x, b, s),ref: t,slot: e.slot || void 0,@@ -21817,14 +21817,14 @@ function Ese({ props: e, selectRef: t, collection: n }) {"data-disabled": e.isDisabled || void 0,"data-invalid": v.isInvalid || void 0,"data-required": e.isRequired || void 0- }, b.children, /*#__PURE__*/ B.createElement(ax, {+ }, b.children, /*#__PURE__*/ B.createElement(Qte, {..._,autoComplete: e.autoComplete})));}-for (var RO = /*#__PURE__*/ (0, B.createContext)(null), Dse = /*#__PURE__*/ Bh(function(e, t) {- [e, t] = PE(e, t, RO);- let n = (0, B.useContext)(LO), { placeholder: r } = NE(IO), i = n.selectedItems.map((e) => {+for (var zO = /*#__PURE__*/ (0, B.createContext)(null), Ese = /*#__PURE__*/ Bh(function(e, t) {+ [e, t] = FE(e, t, zO);+ let n = (0, B.useContext)(RO), { placeholder: r } = PE(LO), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -21851,7 +21851,7 @@ for (var RO = /*#__PURE__*/ (0, B.createContext)(null), Dse = /*#__PURE__*/ Bh(fa,o,i- ]), u = wg(Cse(zD), "react-aria-components"), d = ME({+ ]), u = wg(Sse(BD), "react-aria-components"), d = NE({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -21863,32 +21863,32 @@ for (var RO = /*#__PURE__*/ (0, B.createContext)(null), Dse = /*#__PURE__*/ Bh(fstate: n}}), f = Eg(e, { global: !0 });- return /*#__PURE__*/ B.createElement(RE.span, {+ return /*#__PURE__*/ B.createElement(zE.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ B.createElement(ZE.Provider, { value: void 0 }, d.children));-}), Ose = /*#__PURE__*/ (0, B.createContext)(null), zO = /*#__PURE__*/ (0, B.createContext)(null), kse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ B.createElement(QE.Provider, { value: void 0 }, d.children));+}), Dse = /*#__PURE__*/ (0, B.createContext)(null), BO = /*#__PURE__*/ (0, B.createContext)(null), Ose = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = PE(r, t, Ose);+ [e, t] = FE(r, t, Dse);let i = Nh((0, B.useMemo)(() => mh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = R_(e), o = ene({- ...IE(e),+ ...LE(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ B.createElement(jE, { values: [[zO, a], [BO, {+ return /*#__PURE__*/ B.createElement(ME, { values: [[BO, a], [VO, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ B.createElement(Ase, {+ }]] }, /*#__PURE__*/ B.createElement(kse, {...e,ref: t}));-}), BO = /*#__PURE__*/ (0, B.createContext)(null), Ase = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, B.useContext)(BO), { isFocused: f, isFocusVisible: p, focusProps: m } = ry(), h = a || o, g = (0, B.useContext)(zO), { hoverProps: _, isHovered: v } = sy({+}), VO = /*#__PURE__*/ (0, B.createContext)(null), kse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, B.useContext)(VO), { isFocused: f, isFocusVisible: p, focusProps: m } = ry(), h = a || o, g = (0, B.useContext)(BO), { hoverProps: _, isHovered: v } = sy({...e,isDisabled: h- }), y = ME({+ }), y = NE({...e,defaultClassName: u,values: {@@ -21904,7 +21904,7 @@ for (var RO = /*#__PURE__*/ (0, B.createContext)(null), Dse = /*#__PURE__*/ Bh(fstate: g}}), b = Eg(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ B.createElement(RE.label, {+ return delete b.id, delete b.onClick, /*#__PURE__*/ B.createElement(zE.label, {...U(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -21921,7 +21921,7 @@ for (var RO = /*#__PURE__*/ (0, B.createContext)(null), Dse = /*#__PURE__*/ Bh(f...U(r, m),ref: l})), y.children);-}), VO = 10, HO = 5, jse = class {+}), HO = 10, UO = 5, Ase = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -21931,7 +21931,7 @@ for (var RO = /*#__PURE__*/ (0, B.createContext)(null), Dse = /*#__PURE__*/ Bh(f}resolveDropTarget(e, t, n, r) {let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;- if (Math.abs(a) > HO && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > VO && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > UO && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > HO && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {let t = this.state.collection.getKeyBefore(e.key);for (; t != null;) {let e = this.state.collection.getItem(t);@@ -22010,11 +22010,11 @@ for (var RO = /*#__PURE__*/ (0, B.createContext)(null), Dse = /*#__PURE__*/ Bh(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > HO && i) {+ if (Math.abs(r - c.lastSwitchY) > UO && i) {let t = c.preferredTargetIndex || 0;i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;}- if (l > VO && a) {+ if (l > HO && a) {let t = c.preferredTargetIndex || 0;a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;}@@ -22029,7 +22029,7 @@ for (var RO = /*#__PURE__*/ (0, B.createContext)(null), Dse = /*#__PURE__*/ Bh(fboundaryContext: null};}-}, Mse = class {+}, jse = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -22099,8 +22099,8 @@ for (var RO = /*#__PURE__*/ (0, B.createContext)(null), Dse = /*#__PURE__*/ Bh(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, UO = "row-header-column-" + Math.random().toString(36).slice(2), WO = "row-header-column-" + Math.random().toString(36).slice(2); UO === WO;) WO = "row-header-column-" + Math.random().toString(36).slice(2);-function GO(e, t) {+}, WO = "row-header-column-" + Math.random().toString(36).slice(2), GO = "row-header-column-" + Math.random().toString(36).slice(2); WO === GO;) GO = "row-header-column-" + Math.random().toString(36).slice(2);+function KO(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -22184,13 +22184,13 @@ function GO(e, t) {textValue: ""}));}-var Nse = class extends Mse {+var Mse = class extends jse {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: UO,+ key: WO,value: null,textValue: "",level: 0,@@ -22205,7 +22205,7 @@ var Nse = class extends Mse {if (n?.showDragButtons) {let e = {type: "column",- key: WO,+ key: GO,value: null,textValue: "",level: 0,@@ -22232,7 +22232,7 @@ var Nse = class extends Mse {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = GO(s, a);+ let l = KO(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -22293,8 +22293,8 @@ var Nse = class extends Mse {};//#endregion//#region node_modules/react-stately/dist/private/grid/useGridState.mjs-function Pse(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || ZD(e), i = (0, B.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function Nse(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || QD(e), i = (0, B.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;r.setFocusedKey = (e, r) => {if (n === "cell" && e != null) {let n = t.getItem(e);@@ -22305,7 +22305,7 @@ function Pse(e) {}a(e, r);};- let o = (0, B.useMemo)(() => new $D(t, r), [t, r]), s = (0, B.useRef)(null);+ let o = (0, B.useMemo)(() => new eO(t, r), [t, r]), s = (0, B.useRef)(null);return (0, B.useEffect)(() => {if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;@@ -22344,11 +22344,11 @@ function Pse(e) {}//#endregion//#region node_modules/react-stately/dist/private/table/useTableState.mjs-var Fse = {+var Pse = {ascending: "descending",descending: "ascending"};-function Ise(e) {+function Fse(e) {let [t, n] = (0, B.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, B.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -22359,7 +22359,7 @@ function Ise(e) {i,r,a- ]), c = nO(e, (0, B.useCallback)((e) => new Nse(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Pse({+ ]), c = rO(e, (0, B.useCallback)((e) => new Mse(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Nse({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"@@ -22375,7 +22375,7 @@ function Ise(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? Fse[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? Pse[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -22388,7 +22388,7 @@ function Ise(e) {treeColumn: o};}-function Lse(e, t) {+function Ise(e, t) {let n = (0, B.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -22398,7 +22398,7 @@ function Lse(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Table.mjs-var Rse = class extends op {+var Lse = class extends op {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -22413,7 +22413,7 @@ var Rse = class extends op {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new QO(-2);+ return new $O(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -22439,7 +22439,7 @@ var Rse = class extends op {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = GO(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");+ if (this.headerRows = KO(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");}get columnCount() {return this.columns.length;@@ -22520,11 +22520,11 @@ var Rse = class extends op {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new YO(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new XO(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, zse = /*#__PURE__*/ (0, B.createContext)(null), Bse = /*#__PURE__*/ (0, B.createContext)(null), KO = /*#__PURE__*/ (0, B.createContext)(null), qO = /*#__PURE__*/ (0, B.createContext)(null), Vse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- [e, t] = PE(e, t, Bse);- let n = ZD(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, B.useMemo)(() => ({+}, Rse = /*#__PURE__*/ (0, B.createContext)(null), zse = /*#__PURE__*/ (0, B.createContext)(null), qO = /*#__PURE__*/ (0, B.createContext)(null), JO = /*#__PURE__*/ (0, B.createContext)(null), Bse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ [e, t] = FE(e, t, zse);+ let n = QD(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, B.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -22534,26 +22534,26 @@ var Rse = class extends op {i,a,o- ]), c = /*#__PURE__*/ B.createElement(Wse.Provider, { value: s }, /*#__PURE__*/ B.createElement(ag, e));+ ]), c = /*#__PURE__*/ B.createElement(Use.Provider, { value: s }, /*#__PURE__*/ B.createElement(ag, e));return /*#__PURE__*/ B.createElement(qh, {content: c,- createCollection: () => new Rse()- }, (r) => /*#__PURE__*/ B.createElement(Use, {+ createCollection: () => new Lse()+ }, (r) => /*#__PURE__*/ B.createElement(Hse, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), Hse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, B.useContext)(WE);- return n ? /*#__PURE__*/ B.createElement(RE.div, {+}), Vse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, B.useContext)(GE);+ return n ? /*#__PURE__*/ B.createElement(zE.div, {...e,ref: t- }) : /*#__PURE__*/ B.createElement(RE.table, {+ }) : /*#__PURE__*/ B.createElement(zE.table, {...e,ref: t});-}), JO = {+}), YO = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -22563,26 +22563,26 @@ var Rse = class extends op {rtl: "ArrowRight"}};-function Use({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = PE(e, t, zE);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, B.useContext)(zse);+function Hse({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = FE(e, t, BE);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, B.useContext)(Rse);t = Nh((0, B.useMemo)(() => mh(t, c?.tableRef), [t, c?.tableRef]));let [l, u] = L_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, B.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = Ise({+ let d = Fse({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = Lse(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, B.useContext)(WE), { dragAndDropHooks: _ } = e, { gridProps: v } = one({+ }), f = Ise(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, B.useContext)(GE), { dragAndDropHooks: _ } = e, { gridProps: v } = one({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, B.useRef)(b), (0, B.useRef)(x), (0, B.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, D = (0, B.useRef)(null), { direction: O } = vg(), [k] = (0, B.useState)(() => new jse());+ let S, C, w, T = !1, E = null, D = (0, B.useRef)(null), { direction: O } = vg(), [k] = (0, B.useState)(() => new Ase());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -22617,12 +22617,12 @@ function Use({ props: e, forwardedRef: t, selectionState: n, collection: r }) {let t = C?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = d.collection.getItem(t.key);- (e.key === JO.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === JO.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === YO.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === YO.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);}}}, C, t), T = C.isDropTarget({ type: "root" });}- let { focusProps: A, isFocused: j, isFocusVisible: M } = ry(), N = ME({+ let { focusProps: A, isFocused: j, isFocusVisible: M } = ry(), N = NE({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -22639,18 +22639,18 @@ function Use({ props: e, forwardedRef: t, selectionState: n, collection: r }) {width: "min-content"}));let I = Eg(e, { global: !0 });- return /*#__PURE__*/ B.createElement(jE, { values: [- [KO, f],- [qO, F],- [BD, {+ return /*#__PURE__*/ B.createElement(ME, { values: [+ [qO, f],+ [JO, F],+ [VD, {dragAndDropHooks: _,dragState: S,dropState: C}],- [VD, { render: ece }],- [zE, null],- [BE, null]- ] }, /*#__PURE__*/ B.createElement(Yg, null, /*#__PURE__*/ B.createElement(Hse, {+ [HD, { render: $se }],+ [BE, null],+ [VE, null]+ ] }, /*#__PURE__*/ B.createElement(Yg, null, /*#__PURE__*/ B.createElement(Vse, {...U(I, N, v, A, w?.collectionProps),style: ee,ref: t,@@ -22660,31 +22660,31 @@ function Use({ props: e, forwardedRef: t, selectionState: n, collection: r }) {"data-drop-target": T || void 0,"data-focused": j || void 0,"data-focus-visible": M || void 0- }, /*#__PURE__*/ B.createElement(GD, null, /*#__PURE__*/ B.createElement(g, {+ }, /*#__PURE__*/ B.createElement(KD, null, /*#__PURE__*/ B.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: UD(y, _, C)+ persistedKeys: WD(y, _, C)})))), E);}-var Wse = /*#__PURE__*/ (0, B.createContext)(null), YO = class extends tp {+var Use = /*#__PURE__*/ (0, B.createContext)(null), XO = class extends tp {static {this.type = "tableheader";}-}, Gse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, B.useContext)(WE);- return n ? /*#__PURE__*/ B.createElement(RE.div, {+}, Wse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, B.useContext)(GE);+ return n ? /*#__PURE__*/ B.createElement(zE.div, {...e,ref: t- }) : /*#__PURE__*/ B.createElement(RE.thead, {+ }) : /*#__PURE__*/ B.createElement(zE.thead, {...e,ref: t});-}), XO = /*#__PURE__*/ ng(YO, (e, t) => {- let n = (0, B.useContext)(KO).collection, r = dp({+}), ZO = /*#__PURE__*/ ng(XO, (e, t) => {+ let n = (0, B.useContext)(qO).collection, r = dp({items: n.headerRows,children: (0, B.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ B.createElement(qse, { item: e });+ case "headerrow": return /*#__PURE__*/ B.createElement(Kse, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])@@ -22692,13 +22692,13 @@ var Wse = /*#__PURE__*/ (0, B.createContext)(null), YO = class extends tp {onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = ME({+ }), s = NE({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ B.createElement(Gse, {+ return /*#__PURE__*/ B.createElement(Wse, {...U(Eg(e, { global: !0 }), i, a),...s,ref: t,@@ -22707,8 +22707,8 @@ var Wse = /*#__PURE__*/ (0, B.createContext)(null), YO = class extends tp {}, (e) => /*#__PURE__*/ B.createElement(ag, {dependencies: e.dependencies,items: e.columns-}, e.children)), Kse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, B.useContext)(WE);+}, e.children)), Gse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, B.useContext)(GE);return n ? /*#__PURE__*/ B.createElement("div", {...e,ref: t@@ -22717,41 +22717,41 @@ var Wse = /*#__PURE__*/ (0, B.createContext)(null), YO = class extends tp {ref: t});});-function qse({ item: e }) {- let t = (0, B.useRef)(null), n = (0, B.useContext)(KO), { isVirtualized: r, CollectionBranch: i } = (0, B.useContext)(WE), { rowProps: a } = une({+function Kse({ item: e }) {+ let t = (0, B.useRef)(null), n = (0, B.useContext)(qO), { isVirtualized: r, CollectionBranch: i } = (0, B.useContext)(GE), { rowProps: a } = une({node: e,isVirtualized: r}, n, t), { checkboxProps: o } = _ne(n);- return /*#__PURE__*/ B.createElement(Kse, {+ return /*#__PURE__*/ B.createElement(Gse, {...a,ref: t- }, /*#__PURE__*/ B.createElement(jE, { values: [[eD, { slots: { selection: o } }], [tD, { slots: { selection: o } }]] }, /*#__PURE__*/ B.createElement(i, {+ }, /*#__PURE__*/ B.createElement(ME, { values: [[tD, { slots: { selection: o } }], [nD, { slots: { selection: o } }]] }, /*#__PURE__*/ B.createElement(i, {collection: n.collection,parent: e})));}-var Jse = class extends tp {+var qse = class extends tp {static {this.type = "column";}-}, Yse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, B.useContext)(WE);- return n ? /*#__PURE__*/ B.createElement(RE.div, {+}, Jse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, B.useContext)(GE);+ return n ? /*#__PURE__*/ B.createElement(zE.div, {...e,ref: t- }) : /*#__PURE__*/ B.createElement(RE.th, {+ }) : /*#__PURE__*/ B.createElement(zE.th, {...e,ref: t});-}), ZO = /*#__PURE__*/ tg(Jse, (e, t, n) => {- let r = Nh(t), i = (0, B.useContext)(KO), { isVirtualized: a } = (0, B.useContext)(WE), { columnHeaderProps: o, isPressed: s } = lne({+}), QO = /*#__PURE__*/ tg(qse, (e, t, n) => {+ let r = Nh(t), i = (0, B.useContext)(qO), { isVirtualized: a } = (0, B.useContext)(GE), { columnHeaderProps: o, isPressed: s } = lne({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = ry(), d = (0, B.useContext)(qO), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = ry(), d = (0, B.useContext)(JO), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = sy({ isDisabled: !e.allowsSorting }), h = ME({+ let { hoverProps: p, isHovered: m } = sy({ isDisabled: !e.allowsSorting }), h = NE({...e,id: void 0,children: n.rendered,@@ -22778,7 +22778,7 @@ var Jse = class extends tp {width: d.getColumnWidth(n.key)});let _ = Eg(e, { global: !0 });- return delete _.id, /*#__PURE__*/ B.createElement(Yse, {+ return delete _.id, /*#__PURE__*/ B.createElement(Jse, {...U(_, o, u, p),...h,style: g,@@ -22790,28 +22790,28 @@ var Jse = class extends tp {"data-resizing": f || void 0,"data-allows-sorting": n.props.allowsSorting || void 0,"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0- }, /*#__PURE__*/ B.createElement(jE, { values: [[Xse, {+ }, /*#__PURE__*/ B.createElement(ME, { values: [[Yse, {column: n,triggerRef: r- }], [WE, HE]] }, h.children));-}), Xse = /*#__PURE__*/ (0, B.createContext)(null), QO = class extends np {+ }], [GE, UE]] }, h.children));+}), Yse = /*#__PURE__*/ (0, B.createContext)(null), $O = class extends np {static {this.type = "tablebody";}-}, Zse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, B.useContext)(WE);- return n ? /*#__PURE__*/ B.createElement(RE.div, {+}, Xse = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, B.useContext)(GE);+ return n ? /*#__PURE__*/ B.createElement(zE.div, {...e,ref: t- }) : /*#__PURE__*/ B.createElement(RE.tbody, {+ }) : /*#__PURE__*/ B.createElement(zE.tbody, {...e,ref: t});-}), $O = /*#__PURE__*/ ng(QO, (e, t, n) => {- let r = (0, B.useContext)(KO), { isVirtualized: i } = (0, B.useContext)(WE), a = r.collection, { CollectionBranch: o } = (0, B.useContext)(WE), { dragAndDropHooks: s, dropState: c } = (0, B.useContext)(BD), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), ek = /*#__PURE__*/ ng($O, (e, t, n) => {+ let r = (0, B.useContext)(qO), { isVirtualized: i } = (0, B.useContext)(GE), a = r.collection, { CollectionBranch: o } = (0, B.useContext)(GE), { dragAndDropHooks: s, dropState: c } = (0, B.useContext)(VD), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = ME({+ }, p = NE({...e,id: void 0,children: void 0,@@ -22820,25 +22820,25 @@ var Jse = class extends tp {}), m, h = a.columnCount;if (d && e.renderEmptyState && r) {let t = {}, n = {}, r = {};- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ B.createElement(tk, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ B.createElement(nk, {role: "row",...t,style: r- }, /*#__PURE__*/ B.createElement(rk, {+ }, /*#__PURE__*/ B.createElement(ik, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}let { rowGroupProps: g } = Zx(), _ = Eg(e, { global: !0 });- return /*#__PURE__*/ B.createElement(Zse, {+ return /*#__PURE__*/ B.createElement(Xse, {...U(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ B.createElement(ace, null), /*#__PURE__*/ B.createElement(o, {+ }, l && /*#__PURE__*/ B.createElement(ice, null), /*#__PURE__*/ B.createElement(o, {collection: a,parent: n,- renderDropIndicator: HD(s, c)+ renderDropIndicator: UD(s, c)}), m);});(class extends np {@@ -22846,7 +22846,7 @@ var Jse = class extends tp {this.type = "tablefooter";}});-var ek = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), Qse = class extends tp {+var tk = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), Zse = class extends tp {static {this.type = "item";}@@ -22858,17 +22858,17 @@ var ek = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), Qs}return null;}-}, tk = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, B.useContext)(WE);- return n ? /*#__PURE__*/ B.createElement(RE.div, {+}, nk = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, B.useContext)(GE);+ return n ? /*#__PURE__*/ B.createElement(zE.div, {...e,ref: t- }) : /*#__PURE__*/ B.createElement(RE.tr, {+ }) : /*#__PURE__*/ B.createElement(zE.tr, {...e,ref: t});-}), nk = /*#__PURE__*/ ng(Qse, (e, t, n) => {- let r = Nh(t), i = (0, B.useContext)(KO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, B.useContext)(BD), { isVirtualized: c, CollectionBranch: l } = (0, B.useContext)(WE), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = pne({+}), rk = /*#__PURE__*/ ng(Zse, (e, t, n) => {+ let r = Nh(t), i = (0, B.useContext)(qO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, B.useContext)(VD), { isVirtualized: c, CollectionBranch: l } = (0, B.useContext)(GE), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = pne({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c@@ -22892,7 +22892,7 @@ var ek = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), Qs(0, B.useEffect)(() => {o && E.current;}, []);- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = ME({+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = NE({...k,id: void 0,defaultClassName: "react-aria-Row",@@ -22914,10 +22914,10 @@ var ek = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), Qslevel: n.level + 1}}), N = Eg(e, { global: !0 });- return delete N.id, delete N.onClick, /*#__PURE__*/ B.createElement(B.Fragment, null, C && !C.isHidden && /*#__PURE__*/ B.createElement(tk, {+ return delete N.id, delete N.onClick, /*#__PURE__*/ B.createElement(B.Fragment, null, C && !C.isHidden && /*#__PURE__*/ B.createElement(nk, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ B.createElement(rk, {+ }, /*#__PURE__*/ B.createElement(ik, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -22926,7 +22926,7 @@ var ek = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), Qs...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ B.createElement(tk, {+ }))), /*#__PURE__*/ B.createElement(nk, {...U(N, M, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,@@ -22942,17 +22942,17 @@ var ek = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), Qs"data-expanded": j || void 0,"data-has-child-items": A || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ B.createElement(jE, { values: [- [eD, { slots: {- [AE]: {},+ }, /*#__PURE__*/ B.createElement(ME, { values: [+ [tD, { slots: {+ [jE]: {},selection: x} }],- [tD, { slots: {- [AE]: {},+ [nD, { slots: {+ [jE]: {},selection: x} }],- [qE, { slots: {- [AE]: {},+ [JE, { slots: {+ [jE]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -22960,8 +22960,8 @@ var ek = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), Qsstyle: { pointerEvents: "none" }}} }],- [KD, { isSelected: p.isSelected }],- [ek, { isFocusVisibleWithinRow: _ }]+ [qD, { isSelected: p.isSelected }],+ [tk, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ B.createElement(l, {collection: i.collection,parent: n@@ -22974,21 +22974,21 @@ var ek = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), Qsitems: e.columns,idScope: e.id}, e.children);-}), $se = class extends tp {+}), Qse = class extends tp {static {this.type = "cell";}-}, rk = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, B.useContext)(WE);- return n ? /*#__PURE__*/ B.createElement(RE.div, {+}, ik = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, B.useContext)(GE);+ return n ? /*#__PURE__*/ B.createElement(zE.div, {...e,ref: t- }) : /*#__PURE__*/ B.createElement(RE.td, {+ }) : /*#__PURE__*/ B.createElement(zE.td, {...e,ref: t});-}), ik = /*#__PURE__*/ tg($se, (e, t, n) => {- let r = Nh(t), i = (0, B.useContext)(KO), { dragState: a } = (0, B.useContext)(BD), { isVirtualized: o } = (0, B.useContext)(WE);+}), ak = /*#__PURE__*/ tg(Qse, (e, t, n) => {+ let r = Nh(t), i = (0, B.useContext)(qO), { dragState: a } = (0, B.useContext)(VD), { isVirtualized: o } = (0, B.useContext)(GE);n.column = i.collection.columns[n.index];let { gridCellProps: s, isPressed: c } = sne({node: n,@@ -22996,7 +22996,7 @@ var ek = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), QsisVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = ry(), { hoverProps: f, isHovered: p } = sy({}), { isFocusVisibleWithinRow: m } = (0, B.useContext)(ek), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = ME({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = ry(), { hoverProps: f, isHovered: p } = sy({}), { isFocusVisibleWithinRow: m } = (0, B.useContext)(tk), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = NE({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -23016,7 +23016,7 @@ var ek = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), QsisTreeColumn: n.column.key === i.treeColumn}}), S = Eg(e, { global: !0 });- return delete S.id, /*#__PURE__*/ B.createElement(rk, {+ return delete S.id, /*#__PURE__*/ B.createElement(ik, {...U(S, x, s, d, f),ref: r,"data-focused": l || void 0,@@ -23030,14 +23030,14 @@ var ek = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), Qs"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ B.createElement(WE.Provider, { value: HE }, x.children));+ }, /*#__PURE__*/ B.createElement(GE.Provider, { value: UE }, x.children));});-function ece(e, t) {+function $se(e, t) {t = Nh(t);- let { dragAndDropHooks: n, dropState: r } = (0, B.useContext)(BD), i = (0, B.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+ let { dragAndDropHooks: n, dropState: r } = (0, B.useContext)(VD), i = (0, B.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);if (o) return null;let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;- return /*#__PURE__*/ B.createElement(ice, {+ return /*#__PURE__*/ B.createElement(rce, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -23046,40 +23046,40 @@ function ece(e, t) {ref: t});}-var tce = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, B.useContext)(WE);- return n ? /*#__PURE__*/ B.createElement(RE.div, {+var ece = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, B.useContext)(GE);+ return n ? /*#__PURE__*/ B.createElement(zE.div, {...e,ref: t- }) : /*#__PURE__*/ B.createElement(RE.tr, {+ }) : /*#__PURE__*/ B.createElement(zE.tr, {...e,ref: t});-}), nce = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, B.useContext)(WE);- return n ? /*#__PURE__*/ B.createElement(RE.div, {+}), tce = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, B.useContext)(GE);+ return n ? /*#__PURE__*/ B.createElement(zE.div, {...e,ref: t- }) : /*#__PURE__*/ B.createElement(RE.td, {+ }) : /*#__PURE__*/ B.createElement(zE.td, {...e,ref: t});});-function rce(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, B.useContext)(KO), { visuallyHiddenProps: c } = V_(), l = ME({+function nce(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, B.useContext)(qO), { visuallyHiddenProps: c } = V_(), l = NE({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ B.createElement(tce, {+ return /*#__PURE__*/ B.createElement(ece, {...Eg(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ B.createElement(nce, {+ }, /*#__PURE__*/ B.createElement(tce, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -23090,14 +23090,14 @@ function rce(e, t) {ref: i}), l.children));}-var ice = /*#__PURE__*/ (0, B.forwardRef)(rce);-function ace() {- let e = (0, B.useContext)(KO), { dragAndDropHooks: t, dropState: n } = (0, B.useContext)(BD), r = (0, B.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = V_();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ B.createElement(tk, {+var rce = /*#__PURE__*/ (0, B.forwardRef)(nce);+function ice() {+ let e = (0, B.useContext)(qO), { dragAndDropHooks: t, dropState: n } = (0, B.useContext)(VD), r = (0, B.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = V_();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ B.createElement(nk, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ B.createElement(rk, {+ }, /*#__PURE__*/ B.createElement(ik, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -23109,8 +23109,8 @@ function ace() {})));}tg(rp, function(e, t, n) {- let r = (0, B.useContext)(KO), { isVirtualized: i } = (0, B.useContext)(WE), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, B.useRef)(null);- aO((0, B.useMemo)(() => ({+ let r = (0, B.useContext)(qO), { isVirtualized: i } = (0, B.useContext)(GE), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, B.useRef)(null);+ oO((0, B.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -23120,7 +23120,7 @@ tg(rp, function(e, t, n) {s,r?.collection]), u);- let d = ME({+ let d = NE({...c,id: void 0,children: n.rendered,@@ -23128,10 +23128,10 @@ tg(rp, function(e, t, n) {defaultStyle: { "--table-row-level": n.level + 1 },values: void 0}), f = {}, p = {}, m = {};- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(tk, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(nk, {style: { height: 0 },- inert: JD(!0)- }, /*#__PURE__*/ B.createElement(rk, { style: {+ inert: YD(!0)+ }, /*#__PURE__*/ B.createElement(ik, { style: {padding: 0,border: 0} }, /*#__PURE__*/ B.createElement("div", {@@ -23142,14 +23142,14 @@ tg(rp, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ B.createElement(tk, {+ }))), a && d.children && /*#__PURE__*/ B.createElement(nk, {...U(Eg(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ B.createElement(rk, {+ }, /*#__PURE__*/ B.createElement(ik, {role: "rowheader",...p,style: m@@ -23157,8 +23157,8 @@ tg(rp, function(e, t, n) {});//#endregion//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function oce(e) {- let [t, n] = L_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, B.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = rO({+function ace(e) {+ let [t, n] = L_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, B.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = iO({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -23181,24 +23181,24 @@ function oce(e) {}//#endregion//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function sce(e) {- let t = oce({+function oce(e) {+ let t = ace({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? ak(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? ok(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, B.useRef)(i);return (0, B.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = ak(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = ok(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;}), {...t,isDisabled: e.isDisabled || !1};}-function ak(e, t) {+function ok(e, t) {let n = null;if (e) {for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);@@ -23208,20 +23208,20 @@ function ak(e, t) {}//#endregion//#region node_modules/react-aria-components/dist/private/Tabs.mjs-var ok = /*#__PURE__*/ (0, B.createContext)(null), sk = /*#__PURE__*/ (0, B.createContext)(null), ck = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- [e, t] = PE(e, t, ok);+var sk = /*#__PURE__*/ (0, B.createContext)(null), ck = /*#__PURE__*/ (0, B.createContext)(null), lk = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ [e, t] = FE(e, t, sk);let { children: n, orientation: r = "horizontal" } = e;return n = (0, B.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ B.createElement(qh, { content: n }, (n) => /*#__PURE__*/ B.createElement(cce, {+ }) : n, [n, r]), /*#__PURE__*/ B.createElement(qh, { content: n }, (n) => /*#__PURE__*/ B.createElement(sce, {props: e,collection: n,tabsRef: t}));});-function cce({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = sce({+function sce({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = oce({...e,collection: n,children: void 0@@ -23233,12 +23233,12 @@ function cce({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = ME({+ ]), l = NE({...e,defaultClassName: "react-aria-Tabs",values: c}), u = Eg(e, { global: !0 });- return /*#__PURE__*/ B.createElement(RE.div, {+ return /*#__PURE__*/ B.createElement(zE.div, {...U(u, l, a),ref: t,slot: e.slot || void 0,@@ -23246,20 +23246,20 @@ function cce({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ B.createElement(jE, { values: [[ok, e], [sk, i]] }, l.children));+ }, /*#__PURE__*/ B.createElement(ME, { values: [[sk, e], [ck, i]] }, l.children));}-var lk = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- return (0, B.useContext)(sk) ? /*#__PURE__*/ B.createElement(lce, {+var uk = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ return (0, B.useContext)(ck) ? /*#__PURE__*/ B.createElement(cce, {props: e,forwardedRef: t}) : /*#__PURE__*/ B.createElement(ag, e);});-function lce({ props: e, forwardedRef: t }) {- let n = (0, B.useContext)(sk), { CollectionRoot: r } = (0, B.useContext)(WE), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = NE(ok), o = Nh(t), { tabListProps: s } = bne({+function cce({ props: e, forwardedRef: t }) {+ let n = (0, B.useContext)(ck), { CollectionRoot: r } = (0, B.useContext)(GE), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = PE(sk), o = Nh(t), { tabListProps: s } = bne({...e,orientation: i,keyboardActivation: a- }, n, o), c = ME({+ }, n, o), c = NE({...e,children: null,defaultClassName: "react-aria-TabList",@@ -23268,21 +23268,21 @@ function lce({ props: e, forwardedRef: t }) {state: n}}), l = Eg(e, { global: !0 });- return delete l.id, /*#__PURE__*/ B.createElement(RE.div, {+ return delete l.id, /*#__PURE__*/ B.createElement(zE.div, {...U(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ B.createElement(GD, null, /*#__PURE__*/ B.createElement(r, {+ }, /*#__PURE__*/ B.createElement(KD, null, /*#__PURE__*/ B.createElement(r, {collection: n.collection,- persistedKeys: GE(n.selectionManager.focusedKey)+ persistedKeys: KE(n.selectionManager.focusedKey)})));}-var uk = /*#__PURE__*/ tg(class extends tp {+var dk = /*#__PURE__*/ tg(class extends tp {static {this.type = "item";}}, (e, t, n) => {- let r = (0, B.useContext)(sk), i = Nh(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = vne({+ let r = (0, B.useContext)(ck), i = Nh(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = vne({key: n.key,...e}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = ry(), { hoverProps: f, isHovered: p } = sy({@@ -23290,7 +23290,7 @@ var uk = /*#__PURE__*/ tg(class extends tp {onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = ME({+ }), m = NE({...e,id: void 0,children: n.rendered,@@ -23303,7 +23303,7 @@ var uk = /*#__PURE__*/ tg(class extends tp {isPressed: c,isHovered: p}- }), h = n.props.href ? RE.a : RE.div, g = Eg(e, { global: !0 });+ }), h = n.props.href ? zE.a : zE.div, g = Eg(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ B.createElement(h, {...U(g, m, a, l, f),ref: i,@@ -23313,26 +23313,26 @@ var uk = /*#__PURE__*/ tg(class extends tp {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ B.createElement(KD.Provider, { value: { isSelected: o } }, m.children));-}), dk = /*#__PURE__*/ Bh(function(e, t) {- let n = (0, B.useContext)(sk), r = Nh(t), i = n.selectedKey === e.id, [a, o] = (0, B.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ B.createElement(qD.Provider, { value: { isSelected: o } }, m.children));+}), fk = /*#__PURE__*/ Bh(function(e, t) {+ let n = (0, B.useContext)(ck), r = Nh(t), i = n.selectedKey === e.id, [a, o] = (0, B.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = dO(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ B.createElement(uce, {+ let s = fO(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ B.createElement(lce, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function uce(e) {- let t = (0, B.useContext)(sk), { 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 = uO(r) && !i, p = ME({+function lce(e) {+ let t = (0, B.useContext)(ck), { 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 = dO(r) && !i, p = NE({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: JD(!d),+ isInert: YD(!d),isEntering: f,isExiting: a,state: t@@ -23340,31 +23340,31 @@ function uce(e) {}), m = Eg(o, { global: !0 });delete m.id;let h = d ? U(m, s, c, p) : U(m, p);- return /*#__PURE__*/ B.createElement(RE.div, {+ return /*#__PURE__*/ B.createElement(zE.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: JD(!d || e.inert),+ inert: YD(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ B.createElement(jE, { values: [[ok, null], [sk, null]] }, /*#__PURE__*/ B.createElement(WE.Provider, { value: HE }, p.children)));+ }, /*#__PURE__*/ B.createElement(ME, { values: [[sk, null], [ck, null]] }, /*#__PURE__*/ B.createElement(GE.Provider, { value: UE }, p.children)));}//#endregion//#region node_modules/react-aria-components/dist/private/TextArea.mjs-var dce = /*#__PURE__*/ (0, B.createContext)({}), fce = /*#__PURE__*/ (0, B.createContext)(null), pce = /*#__PURE__*/ Bh(function(e, t) {- [e, t] = PE(e, t, fce);- let { validationBehavior: n } = NE($E) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, B.useRef)(null);- [e, i] = PE(e, i, BE);- let [a, o] = FE(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, B.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = ete({- ...IE(e),+var uce = /*#__PURE__*/ (0, B.createContext)({}), dce = /*#__PURE__*/ (0, B.createContext)(null), fce = /*#__PURE__*/ Bh(function(e, t) {+ [e, t] = FE(e, t, dce);+ let { validationBehavior: n } = PE(eD) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, B.useRef)(null);+ [e, i] = FE(e, i, VE);+ let [a, o] = IE(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, B.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = ete({+ ...LE(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, B.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = ME({+ }, [i]), h = NE({...e,values: {isDisabled: e.isDisabled || !1,@@ -23374,7 +23374,7 @@ var dce = /*#__PURE__*/ (0, B.createContext)({}), fce = /*#__PURE__*/ (0, B.crea},defaultClassName: "react-aria-TextField"}), g = Eg(e, { global: !0 });- return delete g.id, /*#__PURE__*/ B.createElement(RE.div, {+ return delete g.id, /*#__PURE__*/ B.createElement(zE.div, {...g,...h,ref: t,@@ -23383,38 +23383,38 @@ var dce = /*#__PURE__*/ (0, B.createContext)({}), fce = /*#__PURE__*/ (0, B.crea"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ B.createElement(jE, { values: [- [KE, {+ }, /*#__PURE__*/ B.createElement(ME, { values: [+ [qE, {...l,ref: a}],- [iD, {+ [aD, {...u,ref: m}],- [dce, {+ [uce, {...u,ref: m}],- [rD, {+ [iD, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [ZE, { slots: {+ [QE, { slots: {description: d,errorMessage: f} }],- [QE, p]+ [$E, p]] }, h.children));});//#endregion//#region src/react/boardui/components/base/input/label.tsx-function mce({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, V.jsxs)(Eoe, {+function pce({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, V.jsxs)(Toe, {"data-label": "true",...a,- className: _E("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: vE("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, V.jsx)("span", {@@ -23422,7 +23422,7 @@ function mce({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, V.jsx)(dae, {+ n && /* @__PURE__ */ (0, V.jsx)(uae, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -23431,33 +23431,33 @@ function mce({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child}//#endregion//#region src/react/boardui/components/base/input/hint-text.tsx-function fk({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, V.jsx)(Aoe, {+function pk({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, V.jsx)(koe, {slot: e ? "errorMessage" : "description",...n,- className: _E("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: vE("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}//#endregion//#region src/react/boardui/components/base/input/input.tsx-var pk = (0, B.createContext)({});-function mk({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, V.jsx)(pk.Provider, {+var mk = (0, B.createContext)({});+function hk({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, V.jsx)(mk.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, V.jsx)(pce, {+ children: /* @__PURE__ */ (0, V.jsx)(fce, {...a,"data-input-size": e,- className: _E("group flex h-max w-full flex-col items-start gap-1", r),+ className: vE("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}-mk.displayName = "TextField";-var hk = vE({+hk.displayName = "TextField";+var gk = yE({field: ["relative flex w-full items-center","rounded-2lg",@@ -23486,44 +23486,44 @@ var hk = vE({].join(" "),icon: "size-5 shrink-0"});-function gk({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, B.useContext)(pk), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, V.jsx)(Foe, {+function _k({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, B.useContext)(mk), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, V.jsx)(Poe, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => _E(hk.field, d ? hk.fieldWithAddonSize[u] : hk.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 }) => vE(gk.field, d ? gk.fieldWithAddonSize[u] : gk.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: hk.content,+ className: gk.content,children: [/* @__PURE__ */ (0, V.jsxs)("div", {- className: hk.leftSection,+ className: gk.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, V.jsx)(t, {- className: hk.icon,+ className: gk.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, V.jsx)(Loe, {+ }) : null, /* @__PURE__ */ (0, V.jsx)(Ioe, {ref: o,...c,- className: _E(hk.input, l.inputClassName, a)+ className: vE(gk.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, V.jsx)(n, {- className: hk.icon,+ className: gk.icon,"aria-hidden": !0}) : null]})});}-gk.displayName = "InputBase";-function _k({ 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)(mk, {+_k.displayName = "InputBase";+function vk({ 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)(hk, {...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)(mce, {+ e && /* @__PURE__ */ (0, V.jsx)(pce, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, V.jsx)(gk, {+ /* @__PURE__ */ (0, V.jsx)(_k, {ref: c,groupRef: l,placeholder: r,@@ -23532,17 +23532,17 @@ function _k({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, V.jsx)(fk, {+ t && /* @__PURE__ */ (0, V.jsx)(pk, {isInvalid: d,children: t})] })});}-_k.displayName = "Input";+vk.displayName = "Input";//#endregion//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var vk = [+var yk = ["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",@@ -23550,10 +23550,10 @@ var vk = ["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(" "), hce = "w-[266px]", gce = "flex w-full flex-col gap-1 outline-none", yk = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), bk = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+].join(" "), mce = "w-[266px]", hce = "flex w-full flex-col gap-1 outline-none", bk = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), xk = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";//#endregion//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function _ce(e) {+function gce(e) {return /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -23567,7 +23567,7 @@ function _ce(e) {})});}-function vce(e) {+function _ce(e) {return /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -23581,7 +23581,7 @@ function vce(e) {}//#endregion//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function yce(e, t, n) {+function vce(e, t, n) {(0, B.useEffect)(() => {if (!e) return;let r = (e) => {@@ -23595,7 +23595,7 @@ function yce(e, t, n) {n]);}-function bce(e, t) {+function yce(e, t) {let n = (0, B.useRef)(!1);return (0, B.useEffect)(() => {if (!e) return;@@ -23609,33 +23609,33 @@ function bce(e, t) {}//#endregion//#region src/react/boardui/components/base/select/select.tsx-var xk = (0, B.createContext)("md");-function Sk({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var Sk = (0, B.createContext)("md");+function Ck({ 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);- yce(d, () => f(!1), [l, u]);- let p = bce(d, l);- return /* @__PURE__ */ (0, V.jsx)(wse, {+ vce(d, () => f(!1), [l, u]);+ let p = yce(d, l);+ return /* @__PURE__ */ (0, V.jsx)(Cse, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: _E("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)(JE, {+ className: vE("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)(YE, {ref: l,- className: _E("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),- children: [/* @__PURE__ */ (0, V.jsx)(Dse, {- className: _E("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: vE("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),+ children: [/* @__PURE__ */ (0, V.jsx)(Ese, {+ className: vE("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, V.jsx)(_ce, { className: _E("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, V.jsx)(hO, {+ }), /* @__PURE__ */ (0, V.jsx)(gce, { className: vE("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, V.jsx)(gO, {ref: u,isNonModal: !0,offset: 4,- className: _E(hce, vk, "p-2", n),- children: /* @__PURE__ */ (0, V.jsx)(Goe, {+ className: vE(mce, yk, "p-2", n),+ children: /* @__PURE__ */ (0, V.jsx)(Woe, {items: a,- className: _E(gce, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, V.jsx)(xk.Provider, {+ className: vE(hce, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, V.jsx)(Sk.Provider, {value: r,children: i})@@ -23643,31 +23643,31 @@ function Sk({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function Ck({ className: e, children: t, ...n }) {- let r = (0, B.useContext)(xk);- return /* @__PURE__ */ (0, V.jsx)(Joe, {+function wk({ className: e, children: t, ...n }) {+ let r = (0, B.useContext)(Sk);+ return /* @__PURE__ */ (0, V.jsx)(qoe, {...n,- className: (t) => _E(yk, 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) => vE(bk, 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/boardui/components/application/settings/settings-rows.tsx-function wk({ className: e, children: t }) {+function Tk({ className: e, children: t }) {return /* @__PURE__ */ (0, V.jsx)("div", {- className: _E("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: vE("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function Tk({ className: e, children: t }) {+function Ek({ className: e, children: t }) {return /* @__PURE__ */ (0, V.jsx)("p", {- className: _E("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: vE("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function Ek({ label: e, description: t, children: n }) {+function Dk({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {- className: _E("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),+ className: vE("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, V.jsx)("p", {@@ -23682,7 +23682,7 @@ function Ek({ label: e, description: t, children: n }) {}//#endregion//#region src/react/boardui/components/base/buttons/link-button.tsx-var Dk = vE({+var Ok = yE({base: ["inline-flex items-center justify-center gap-1 whitespace-nowrap","font-sans select-none cursor-pointer rounded-sm",@@ -23706,15 +23706,15 @@ var Dk = vE({secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")}});-function Ok({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = _E(Dk.base, Dk.size[t], Dk.variant[e], a), l = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [+function kk({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = vE(Ok.base, Ok.size[t], Ok.variant[e], a), l = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [n ? /* @__PURE__ */ (0, V.jsx)(n, {- className: Dk.icon[t],+ className: Ok.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, V.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, V.jsx)(r, {- className: Dk.icon[t],+ className: Ok.icon[t],"aria-hidden": !0}) : null] });@@ -23741,14 +23741,14 @@ function Ok({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili}//#endregion//#region src/react/settings/section.tsx-function kk({ title: e, id: t, aside: n, onSubmit: r, children: i }) {+function Ak({ title: e, id: t, aside: n, onSubmit: r, children: i }) {let a = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [n ? /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, V.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, V.jsx)(Tk, { children: e })+ children: /* @__PURE__ */ (0, V.jsx)(Ek, { children: e })}), n]- }) : /* @__PURE__ */ (0, V.jsx)(Tk, { children: e }), /* @__PURE__ */ (0, V.jsx)(wk, { children: i })] });+ }) : /* @__PURE__ */ (0, V.jsx)(Ek, { children: e }), /* @__PURE__ */ (0, V.jsx)(Tk, { children: i })] });return r ? /* @__PURE__ */ (0, V.jsx)("form", {id: t,"aria-label": e,@@ -23763,13 +23763,13 @@ function kk({ title: e, id: t, aside: n, onSubmit: r, children: i }) {children: a});}-function Ak({ children: e }) {+function jk({ children: e }) {return /* @__PURE__ */ (0, V.jsx)("div", {className: "flex flex-col",children: e});}-function jk({ divided: e = !1, children: t }) {+function Mk({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, V.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",children: t@@ -23778,7 +23778,7 @@ function jk({ divided: e = !1, children: t }) {children: t});}-function Mk({ status: e, children: t }) {+function Nk({ status: e, children: t }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3",children: [e ? /* @__PURE__ */ (0, V.jsx)("div", {@@ -23787,34 +23787,34 @@ function Mk({ status: e, children: t }) {}) : null, t]});}-function Nk({ role: e, children: t }) {+function Pk({ role: e, children: t }) {return /* @__PURE__ */ (0, V.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function Pk({ children: e }) {+function Fk({ children: e }) {return /* @__PURE__ */ (0, V.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function Fk({ children: e }) {+function Ik({ children: e }) {return /* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function Ik({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, V.jsx)(Ok, {+function Lk({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, V.jsx)(kk, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: _T,+ trailingIcon: vT,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, V.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -23822,13 +23822,13 @@ function Ik({ href: e, children: t, leadingIcon: n }) {})});}-function Lk({ children: e }) {+function Rk({ children: e }) {return /* @__PURE__ */ (0, V.jsx)("dl", {className: "flex flex-col",children: e});}-function Rk({ term: e, children: t }) {+function zk({ term: e, children: t }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",children: [/* @__PURE__ */ (0, V.jsx)("dt", {@@ -23840,7 +23840,7 @@ function Rk({ term: e, children: t }) {})]});}-function zk({ summary: e, defaultOpen: t = !1, children: n }) {+function Bk({ summary: e, defaultOpen: t = !1, children: n }) {let r = (0, B.useId)(), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(!1), [s, c] = (0, B.useState)(t);return /* @__PURE__ */ (0, V.jsxs)("details", {ref: (e) => {@@ -23853,7 +23853,7 @@ function zk({ summary: e, defaultOpen: t = !1, children: n }) {e.preventDefault(), !(!i.current || !a.current) && (We(i.current, a.current, !s), c(!s));},className: "flex w-fit cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: [/* @__PURE__ */ (0, V.jsx)(lT, {+ children: [/* @__PURE__ */ (0, V.jsx)(uT, {"aria-hidden": !0,className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"}), e]@@ -23868,7 +23868,7 @@ function zk({ summary: e, defaultOpen: t = !1, children: n }) {})]});}-function xce({ name: e }) {+function bce({ name: e }) {return /* @__PURE__ */ (0, V.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -23877,22 +23877,22 @@ function xce({ name: e }) {children: /* @__PURE__ */ (0, V.jsx)("use", { href: `#i-${e}` })});}-function Bk({ mark: e }) {+function Vk({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, V.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-4 shrink-0"- }) : /* @__PURE__ */ (0, V.jsx)(xce, { name: e });+ }) : /* @__PURE__ */ (0, V.jsx)(bce, { name: e });}//#endregion//#region src/react/activity/tasks.ts-var Vk = "/api/tasks", Hk = ["tasks"], Sce = (e, t) => G(`${Vk}?${new URLSearchParams({+var Hk = "/api/tasks", Uk = ["tasks"], xce = (e, t) => G(`${Hk}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function Uk(...e) {+function Wk(...e) {let t = /* @__PURE__ */ new Map();for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);return [...t.values()].sort((e, t) => {@@ -23900,26 +23900,26 @@ function Uk(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var Cce = 2e3, wce = 1e4, Tce = (e) => e?.running.length ? Cce : wce, Wk = (e) => G(Vk, e);-async function Ece(e) {+var Sce = 2e3, Cce = 1e4, wce = (e) => e?.running.length ? Sce : Cce, Gk = (e) => G(Hk, e);+async function Tce(e) {await z.fetchQuery({- queryKey: Hk,- queryFn: () => Wk(e)+ queryKey: Uk,+ queryFn: () => Gk(e)});}-var Gk = {+var Kk = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, Dce = {+}, Ece = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "被打断"-}, Oce = (e) => Dce[e] || e, kce = {+}, Dce = (e) => Ece[e] || e, Oce = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -23949,7 +23949,7 @@ var Gk = {source: "来源",cover_network: "封面连不上图片主机"};-function Ace(e) {+function kce(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -23958,7 +23958,7 @@ function Ace(e) {}return t;}-function jce(e, t) {+function Ace(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -23980,19 +23980,19 @@ function jce(e, t) {}return n;}-var Mce = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Kk = (e) => e.status === "pending" || e.status === "running";-function Nce(e) {+var jce = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), qk = (e) => e.status === "pending" || e.status === "running";+function Mce(e) {let t = `${e.task_label}:`, n = e.progress_label || "", r = n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n, i = e.progress_total || 0;- return [r, e.error || Yk(e.result_summary) || (Kk(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");+ return [r, e.error || Xk(e.result_summary) || (qk(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");}-function qk(e) {+function Jk(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;let n = Math.floor(t / 60);return n < 60 ? `${n} 分 ${t % 60} 秒` : `${Math.floor(n / 60)} 小时 ${n % 60} 分`;}-function Jk(e) {+function Yk(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -24002,7 +24002,7 @@ function Jk(e) {minute: "2-digit"});}-var Pce = /* @__PURE__ */ new Set([+var Nce = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -24011,23 +24011,23 @@ var Pce = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function Yk(e) {- return Object.entries(e || {}).filter(([e, t]) => !Pce.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${kce[e] || e} ${t}`).join(" · ");+function Xk(e) {+ return Object.entries(e || {}).filter(([e, t]) => !Nce.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Oce[e] || e} ${t}`).join(" · ");}//#endregion//#region src/react/activity/resource-search.tsx-function Fce({ className: e }) {+function Pce({ className: e }) {return /* @__PURE__ */ (0, V.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: Ke("") }});}-function Ice(e) {+function Fce(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function Lce({ initialCode: e, reason: t, choose: n }) {- let [r, i] = (0, B.useState)(e), [a, o] = (0, B.useState)(() => Ice(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)(""), _ = kE(), v = () => {+function Ice({ initialCode: e, reason: t, choose: n }) {+ let [r, i] = (0, B.useState)(e), [a, o] = (0, B.useState)(() => Fce(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)(""), _ = AE(), v = () => {if (!r.trim() || _.busy) return;let e = new URLSearchParams({code: r.trim(),@@ -24044,17 +24044,17 @@ function Lce({ initialCode: e, reason: t, choose: n }) {"aria-busy": !!_.busy,className: "flex min-w-0 flex-col gap-4",children: [- t ? /* @__PURE__ */ (0, V.jsxs)(Nk, { children: [+ t ? /* @__PURE__ */ (0, V.jsxs)(Pk, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: "搜索资源",value: r,maxLength: 80,placeholder: "输入番号,按回车搜索",- leadingIcon: _.busy ? Fce : TT,+ leadingIcon: _.busy ? Pce : ET,isReadOnly: !!_.busy,"aria-busy": !!_.busy,onChange: i,@@ -24064,7 +24064,7 @@ function Lce({ initialCode: e, reason: t, choose: n }) {}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, V.jsx)(Fk, { children: "优先寻找" }), /* @__PURE__ */ (0, V.jsxs)(Sk, {+ children: [/* @__PURE__ */ (0, V.jsx)(Ik, { children: "优先寻找" }), /* @__PURE__ */ (0, V.jsxs)(Ck, {"aria-label": "优先寻找",selectedKey: a,isDisabled: !!_.busy,@@ -24072,15 +24072,15 @@ function Lce({ initialCode: e, reason: t, choose: n }) {e !== null && o(String(e));},children: [- /* @__PURE__ */ (0, V.jsx)(Ck, {+ /* @__PURE__ */ (0, V.jsx)(wk, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, V.jsx)(Ck, {+ /* @__PURE__ */ (0, V.jsx)(wk, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, V.jsx)(Ck, {+ /* @__PURE__ */ (0, V.jsx)(wk, {id: "uncensored",children: "无码"})@@ -24089,33 +24089,33 @@ function Lce({ initialCode: e, reason: t, choose: n }) {}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, V.jsx)(_k, {+ children: [/* @__PURE__ */ (0, V.jsx)(vk, {label: "最小体积(GiB)",inputMode: "decimal",value: s,onChange: c- }), /* @__PURE__ */ (0, V.jsx)(_k, {+ }), /* @__PURE__ */ (0, V.jsx)(vk, {label: "最大体积(GiB)",inputMode: "decimal",value: l,onChange: u})]}),- /* @__PURE__ */ (0, V.jsx)(Nk, { children: "只查询已启用的自配索引器;最多显示 5 个有做种的候选。清晰度、字幕与无码标记取自来源标题。" }),- _.busy ? /* @__PURE__ */ (0, V.jsx)(Nk, {+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: "只查询已启用的自配索引器;最多显示 5 个有做种的候选。清晰度、字幕与无码标记取自来源标题。" }),+ _.busy ? /* @__PURE__ */ (0, V.jsx)(Pk, {role: "status",children: "正在搜索资源"}) : null,- _.error ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: _.error }) : null,- d?.error ? /* @__PURE__ */ (0, V.jsx)(Nk, {+ _.error ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: _.error }) : null,+ d?.error ? /* @__PURE__ */ (0, V.jsx)(Pk, {role: "status",children: d.error}) : null,- d?.state === "ready" && !d.items.length ? /* @__PURE__ */ (0, V.jsx)(Nk, {+ d?.state === "ready" && !d.items.length ? /* @__PURE__ */ (0, V.jsx)(Pk, {role: "status",children: "没有符合条件的资源。"}) : null,- d?.warnings.map((e) => /* @__PURE__ */ (0, V.jsx)(Nk, { children: e }, e)),+ d?.warnings.map((e) => /* @__PURE__ */ (0, V.jsx)(Pk, { children: e }, e)),d?.items.length ? /* @__PURE__ */ (0, V.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: d.items.map((e) => /* @__PURE__ */ (0, V.jsxs)("li", {@@ -24125,7 +24125,7 @@ function Lce({ initialCode: e, reason: t, choose: n }) {className: "break-words text-body-2-medium text-text-primary",children: e.name}),- /* @__PURE__ */ (0, V.jsx)(Nk, { children: [+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: [`${(e.size / 1024 ** 3).toFixed(2)} GiB`,`${e.seeders} 个做种`,e.resolution ? `${e.resolution}p` : "",@@ -24151,23 +24151,23 @@ function Lce({ initialCode: e, reason: t, choose: n }) {}//#endregion//#region src/react/activity/downloads-panel.tsx-var Xk = "/api/downloads", Zk = ["downloads"], Rce = "/api/downloads/cancel", zce = (e) => e?.tasks.some((e) => e.cancellable) ? 5e3 : 3e4, Bce = {+var Zk = "/api/downloads", Qk = ["downloads"], Lce = "/api/downloads/cancel", Rce = (e) => e?.tasks.some((e) => e.cancellable) ? 5e3 : 3e4, zce = {ingested: "lime",failed: "rose",cancelled: "yellow",stalled: "yellow"-}, Vce = {+}, Bce = {submitted: "已提交,远端开始下载后这里会显示进度。",adopted: "这个磁力已经有任务了,接着跟进那一条,没有重复提交。",adopted_remote: "远端已经有同一个任务,已接管,没有再扣配额。",refused: "这个资源被判为违规,不再提交。",failed: "提交没有成功。"-}, Hce = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, Qk = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";-function Uce({ prefill: e }) {+}, Vce = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, $k = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";+function Hce({ prefill: e }) {let t = TS({- queryKey: Zk,- queryFn: ({ signal: e }) => G(`${Xk}?limit=50`, e),- refetchInterval: (e) => zce(e.state.data)+ queryKey: Qk,+ queryFn: ({ signal: e }) => G(`${Zk}?limit=50`, e),+ refetchInterval: (e) => Rce(e.state.data)}), n = t.data;if (!n) return t.error ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",@@ -24179,7 +24179,7 @@ function Uce({ prefill: e }) {tone: "error",children: W(t.error)}) : null,- n.available ? r.length ? /* @__PURE__ */ (0, V.jsx)(Wce, {+ n.available ? r.length ? /* @__PURE__ */ (0, V.jsx)(Uce, {snapshot: n,prefill: e}) : /* @__PURE__ */ (0, V.jsx)(Y, {@@ -24192,15 +24192,15 @@ function Uce({ prefill: e }) {n.tasks.length ? /* @__PURE__ */ (0, V.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: n.tasks.map((e) => /* @__PURE__ */ (0, V.jsx)(Kce, {+ children: n.tasks.map((e) => /* @__PURE__ */ (0, V.jsx)(Gce, {task: e,writable: n.available}, e.id))}) : null] });}-function Wce({ snapshot: e, prefill: t }) {- let n = lS(), r = e.providers.filter((e) => e.configured), [i, a] = (0, B.useState)(r[0].key), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(t?.code ?? ""), [u, d] = (0, B.useState)(r[0].target), [f, p] = (0, B.useState)(null), m = kE(), h = (0, B.useRef)(null);+function Uce({ snapshot: e, prefill: t }) {+ let n = lS(), r = e.providers.filter((e) => e.configured), [i, a] = (0, B.useState)(r[0].key), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(t?.code ?? ""), [u, d] = (0, B.useState)(r[0].target), [f, p] = (0, B.useState)(null), m = AE(), h = (0, B.useRef)(null);(0, B.useEffect)(() => {t && h.current?.focus();}, [t]);@@ -24220,21 +24220,21 @@ function Wce({ snapshot: e, prefill: t }) {title: t?.title,origin: t?.origin};- p(null), m.run("submit", (e) => K(Xk, r, "POST", e), (e) => {- p(e), e.ok && s(""), n.invalidateQueries({ queryKey: Zk });+ p(null), m.run("submit", (e) => K(Zk, r, "POST", e), (e) => {+ p(e), e.ok && s(""), n.invalidateQueries({ queryKey: Qk });});},- children: /* @__PURE__ */ (0, V.jsxs)(wk, { children: [- /* @__PURE__ */ (0, V.jsxs)(jk, { children: [- /* @__PURE__ */ (0, V.jsx)(Lce, {+ children: /* @__PURE__ */ (0, V.jsxs)(Tk, { children: [+ /* @__PURE__ */ (0, V.jsxs)(Mk, { children: [+ /* @__PURE__ */ (0, V.jsx)(Ice, {initialCode: t?.code ?? "",reason: t?.searchReason,choose: (e, t) => {s(e), l(t), h.current?.focus();}}),- t?.title ? /* @__PURE__ */ (0, V.jsx)(Nk, { children: `给「${t.title}」找来的资源,下载完由推送发现登记入库。` }) : null,- /* @__PURE__ */ (0, V.jsx)(_k, {+ t?.title ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: `给「${t.title}」找来的资源,下载完由推送发现登记入库。` }) : null,+ /* @__PURE__ */ (0, V.jsx)(vk, {ref: h,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -24245,19 +24245,19 @@ function Wce({ snapshot: e, prefill: t }) {}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, V.jsx)(Fk, { children: "下载到" }), /* @__PURE__ */ (0, V.jsx)(Sk, {+ children: [/* @__PURE__ */ (0, V.jsx)(Ik, { children: "下载到" }), /* @__PURE__ */ (0, V.jsx)(Ck, {"aria-label": "下载到",selectedKey: i,onSelectionChange: (e) => {e !== null && _(String(e));},- children: r.map((e) => /* @__PURE__ */ (0, V.jsx)(Ck, {+ children: r.map((e) => /* @__PURE__ */ (0, V.jsx)(wk, {id: e.key,children: e.label}, e.key))})]}),- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: "目标目录",placeholder: g.target || "/云下载",autoComplete: "off",@@ -24266,7 +24266,7 @@ function Wce({ snapshot: e, prefill: t }) {value: u,onChange: d}),- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: "番号",placeholder: "可不填",autoComplete: "off",@@ -24275,15 +24275,15 @@ function Wce({ snapshot: e, prefill: t }) {onChange: l})] }),- f ? /* @__PURE__ */ (0, V.jsx)(jk, {+ f ? /* @__PURE__ */ (0, V.jsx)(Mk, {divided: !0,- children: /* @__PURE__ */ (0, V.jsx)(Gce, { result: f })+ children: /* @__PURE__ */ (0, V.jsx)(Wce, { result: f })}) : null,- m.error ? /* @__PURE__ */ (0, V.jsx)(jk, {+ m.error ? /* @__PURE__ */ (0, V.jsx)(Mk, {divided: !0,- children: /* @__PURE__ */ (0, V.jsx)(Pk, { children: m.error })+ children: /* @__PURE__ */ (0, V.jsx)(Fk, { children: m.error })}) : null,- /* @__PURE__ */ (0, V.jsx)(Mk, {+ /* @__PURE__ */ (0, V.jsx)(Nk, {status: i === "115" ? "115 每提交一次扣一条离线配额,重新提交也算。" : void 0,children: /* @__PURE__ */ (0, V.jsx)(J, {type: "submit",@@ -24295,23 +24295,23 @@ function Wce({ snapshot: e, prefill: t }) {] })});}-function Gce({ result: e }) {- let t = Qk(e.task), n = Vce[e.outcome];- return e.outcome === "failed" ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: t ? `${n}${t}` : n }) : e.outcome === "refused" ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: n }) : /* @__PURE__ */ (0, V.jsx)(Nk, {+function Wce({ result: e }) {+ let t = $k(e.task), n = Bce[e.outcome];+ return e.outcome === "failed" ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: t ? `${n}${t}` : n }) : e.outcome === "refused" ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: n }) : /* @__PURE__ */ (0, V.jsx)(Pk, {role: "status",children: n});}-function Kce({ task: e, writable: t }) {- let n = lS(), r = kE(), [i, a] = (0, B.useState)(!1), o = Qk(e), s = e.state === "failed", c = [+function Gce({ task: e, writable: t }) {+ let n = lS(), r = AE(), [i, a] = (0, B.useState)(!1), o = $k(e), s = e.state === "failed", c = [e.provider_label,e.code,e.target,- Jk(e.submitted_at)+ Yk(e.submitted_at)].filter(Boolean).join(" · "), l = () => {- n.invalidateQueries({ queryKey: Zk });+ n.invalidateQueries({ queryKey: Qk });}, u = () => {- r.run("cancel", (t) => K(Rce, { id: e.id }, "POST", t), l);+ r.run("cancel", (t) => K(Lce, { id: e.id }, "POST", t), l);}, d = () => {let t = {magnet: e.source_uri,@@ -24321,14 +24321,14 @@ function Kce({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => K(Xk, t, "POST", e), l);+ r.run("resubmit", (e) => K(Zk, t, "POST", e), l);}, f = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));};return /* @__PURE__ */ (0, V.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: CE({+ className: wE({padding: "none",bordered: "line",className: s ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -24340,9 +24340,9 @@ function Kce({ task: e, writable: t }) {className: "flex flex-wrap items-center gap-2",children: [/* @__PURE__ */ (0, V.jsx)("strong", {className: "min-w-0 break-words text-title-1-medium text-text-primary",- children: Hce(e)- }), /* @__PURE__ */ (0, V.jsx)(bE, {- color: Bce[e.state] ?? "neutral",+ children: Vce(e)+ }), /* @__PURE__ */ (0, V.jsx)(xE, {+ color: zce[e.state] ?? "neutral",children: e.state_label})]}),@@ -24350,7 +24350,7 @@ function Kce({ task: e, writable: t }) {className: "min-w-0 break-words text-caption-1-regular text-text-secondary",children: c}),- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, V.jsx)(OE, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, V.jsx)(kE, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -24359,7 +24359,7 @@ function Kce({ task: e, writable: t }) {className: "min-w-0 break-all text-caption-1-regular text-text-secondary",children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: r.error }) : null,/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-2 pt-1",children: [@@ -24397,23 +24397,23 @@ function Kce({ task: e, writable: t }) {}//#endregion//#region src/react/activity/activity-page.tsx-var qce = {+var Kce = {succeeded: "lime",failed: "rose",cancelled: "yellow",interrupted: "yellow"};-function $k({ status: e }) {- return /* @__PURE__ */ (0, V.jsx)(bE, {- color: qce[e] ?? "neutral",- children: Oce(e)+function eA({ status: e }) {+ return /* @__PURE__ */ (0, V.jsx)(xE, {+ color: Kce[e] ?? "neutral",+ children: Dce(e)});}-function eA({ rows: e }) {+function qce({ rows: e }) {return /* @__PURE__ */ (0, V.jsx)("ul", {className: "flex min-w-0 flex-col",children: e.map((e) => {- let t = Nce(e);+ let t = Mce(e);return /* @__PURE__ */ (0, V.jsxs)("li", {"data-status": e.status,"data-followup-key": e.followup_key,@@ -24423,7 +24423,7 @@ function eA({ rows: e }) {className: "min-w-0 break-words text-caption-1-regular text-text-primary",children: e.task_label}),- /* @__PURE__ */ (0, V.jsx)($k, { status: e.status }),+ /* @__PURE__ */ (0, V.jsx)(eA, { status: e.status }),t ? /* @__PURE__ */ (0, V.jsx)("span", {className: "min-w-0 break-words text-caption-1-regular text-text-secondary",children: t@@ -24438,7 +24438,7 @@ function tA({ run: e, meta: t, children: n, footer: r, followups: i }) {"data-status": e.status,"data-task-key": e.task_key,"data-run-id": e.id,- className: CE({+ className: wE({padding: "none",bordered: "line",className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -24452,7 +24452,7 @@ function tA({ run: e, meta: t, children: n, footer: r, followups: i }) {children: [/* @__PURE__ */ (0, V.jsx)("strong", {className: "min-w-0 break-words text-title-1-medium text-text-primary",children: e.task_label- }), /* @__PURE__ */ (0, V.jsx)($k, { status: e.status })]+ }), /* @__PURE__ */ (0, V.jsx)(eA, { status: e.status })]}),/* @__PURE__ */ (0, V.jsx)("p", {className: "text-caption-1-regular text-text-secondary",@@ -24461,7 +24461,7 @@ function tA({ run: e, meta: t, children: n, footer: r, followups: i }) {n]}),- i?.length ? /* @__PURE__ */ (0, V.jsx)(eA, { rows: i }) : null,+ i?.length ? /* @__PURE__ */ (0, V.jsx)(qce, { rows: i }) : null,r ? /* @__PURE__ */ (0, V.jsx)("div", {className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",children: /* @__PURE__ */ (0, V.jsx)("p", {@@ -24473,14 +24473,14 @@ function tA({ run: e, meta: t, children: n, footer: r, followups: i }) {});}function Jce({ run: e, followups: t }) {- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = qk(e.elapsed_seconds), o = [Gk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Jk(e.elapsed_seconds), o = [Kk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");return /* @__PURE__ */ (0, V.jsx)(tA, {run: e,meta: o,followups: t,children: n > 0 ? /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, V.jsx)(OE, {+ children: [/* @__PURE__ */ (0, V.jsx)(kE, {label: i,value: r,max: n@@ -24495,17 +24495,17 @@ function Jce({ run: e, followups: t }) {" 项"]})]- }) : /* @__PURE__ */ (0, V.jsx)(TE, { label: i })+ }) : /* @__PURE__ */ (0, V.jsx)(EE, { label: i })});}function nA({ run: e, followups: t, runs: n }) {- let r = Yk(e.result_summary), i = qk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [- Gk[e.trigger] || e.trigger,+ let r = Xk(e.result_summary), i = Jk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [+ Kk[e.trigger] || e.trigger,`近 ${n.length} 轮`,- `${Jk(a.finished_at)} – ${Jk(e.finished_at)}`+ `${Yk(a.finished_at)} – ${Yk(e.finished_at)}`] : [- Gk[e.trigger] || e.trigger,- Jk(e.finished_at),+ Kk[e.trigger] || e.trigger,+ Yk(e.finished_at),i && `用时 ${i}`]).filter(Boolean).join(" · ");return /* @__PURE__ */ (0, V.jsx)(tA, {@@ -24540,32 +24540,32 @@ function iA({ live: e = !1, children: t }) {}function Yce({ prefill: e }) {let t = TS({- queryKey: Hk,- queryFn: ({ signal: e }) => Wk(e),- refetchInterval: (e) => Tce(e.state.data)+ queryKey: Uk,+ queryFn: ({ signal: e }) => Gk(e),+ refetchInterval: (e) => wce(e.state.data)}), n = t.data, r = n?.finished, [i, a] = (0, B.useState)([]), [o, s] = (0, B.useState)(!1), [c, l] = (0, B.useState)(r);- r !== c && (l(r), i.length && c && a(Uk(i, c)));+ r !== c && (l(r), i.length && c && a(Wk(i, c)));let u = OS({- mutationFn: ({ oldest: e }) => Sce(e),+ mutationFn: ({ oldest: e }) => xce(e),onSuccess: (e, { shown: t }) => {- a((n) => Uk(n, t, e.finished || [])), s(!!e.finished_has_more);+ a((n) => Wk(n, t, e.finished || [])), s(!!e.finished_has_more);}}), d = t.error ? W(t.error) : "";- if (!n) return /* @__PURE__ */ (0, V.jsx)(EE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {+ if (!n) return /* @__PURE__ */ (0, V.jsx)(DE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",children: d || "读取任务中心失败"}) });- let f = Uk(n.finished || [], i), p = [+ let f = Wk(n.finished || [], i), p = [...n.running || [],...n.skipped || [],...f- ], m = Ace(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {+ ], m = kce(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {!u.isPending && v && u.mutate({oldest: v,shown: f});- }, x = _.filter((e) => m.get(e.id)?.some(Kk)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = jce(w, (e) => Mce(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;- return /* @__PURE__ */ (0, V.jsxs)(EE, { children: [+ }, x = _.filter((e) => m.get(e.id)?.some(qk)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Ace(w, (e) => jce(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;+ return /* @__PURE__ */ (0, V.jsxs)(DE, { children: [d ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",children: d@@ -24574,9 +24574,9 @@ function Yce({ prefill: e }) {tone: "warning",children: n.message || "账本上还没有任务中心的表"}) : null,- E ? /* @__PURE__ */ (0, V.jsx)(wE, {+ E ? /* @__PURE__ */ (0, V.jsx)(TE, {shell: "plain",- icon: bT,+ icon: xT,title: "还没有任务记录",children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"}) : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [@@ -24618,7 +24618,7 @@ function Yce({ prefill: e }) {y ? /* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: sT,+ leadingIcon: cT,className: "self-start",...X(u.isPending),onClick: b,@@ -24629,7 +24629,7 @@ function Yce({ prefill: e }) {] }),/* @__PURE__ */ (0, V.jsx)(rA, {title: "云下载",- children: /* @__PURE__ */ (0, V.jsx)(Uce, { prefill: e })+ children: /* @__PURE__ */ (0, V.jsx)(Hce, { prefill: e })})] });}@@ -24677,21 +24677,21 @@ function oA({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa"data-filter-glass": !0,"data-glass-pane": "",...c,- className: _E("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: vE("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,/* @__PURE__ */ (0, V.jsx)("div", {role: "group","aria-label": t,"data-filter-row": "top",- className: _E("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: vE("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),children: n}),/* @__PURE__ */ (0, V.jsx)("div", {ref: u,"data-filter-row": "bottom","aria-busy": l || void 0,- className: _E("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: vE("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r})]@@ -24703,7 +24703,7 @@ function sA({ children: e, pressed: t, onPress: n, className: r, ...i }) {type: "button",...i,"aria-pressed": t,- className: _E(Zce, r),+ className: vE(Zce, r),onClick: n,children: e});@@ -24866,14 +24866,14 @@ function uA(e) {//#region src/react/components/segmented.tsxfunction dA(e) {let t = uA("selection");- return /* @__PURE__ */ (0, V.jsx)(lk, {+ return /* @__PURE__ */ (0, V.jsx)(uk, {...e,ref: t});}function fA(e) {let t = uA("selection");- return /* @__PURE__ */ (0, V.jsx)(NO, {+ return /* @__PURE__ */ (0, V.jsx)(PO, {...e,ref: t});@@ -25077,7 +25077,7 @@ function sle({ text: e, busy: t }) {});}function xA({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, V.jsx)(NO, {+ return /* @__PURE__ */ (0, V.jsx)(PO, {name: e,"aria-label": t,orientation: "horizontal",@@ -25087,7 +25087,7 @@ function xA({ name: e, label: t, value: n, options: r, onChange: i }) {className: hA,children: r.map(([e, t, n]) => {let r = vA(n);- return /* @__PURE__ */ (0, V.jsx)(PO, {+ return /* @__PURE__ */ (0, V.jsx)(FO, {value: e,"aria-label": t,"data-glass-segment": "",@@ -25178,7 +25178,7 @@ function lle({ head: e, actions: t, helpers: n }) {//#region src/react/catalog-filter/catalog-filter-page.tsxvar wA = "";function ule(e) {- let t = !e.tiers, n = _le(e.comboHost);+ let t = !e.tiers, n = gle(e.comboHost);return /* @__PURE__ */ (0, V.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,@@ -25200,7 +25200,7 @@ function dle(e) {(0, B.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let l = !e.tiers, u = EA(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)(oA, {@@ -25272,7 +25272,7 @@ function ple(e) {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 = EA(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = EA(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);}, [@@ -25345,7 +25345,7 @@ function TA({ kind: e }) {}function hle({ 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)(gle, { count: e }), /* @__PURE__ */ (0, V.jsxs)("span", {+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(EA, { count: e }), /* @__PURE__ */ (0, V.jsxs)("span", {"data-entity-sorts": "",children: [/* @__PURE__ */ (0, V.jsx)(SA, {@@ -25368,7 +25368,7 @@ function hle({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {]})] });}-function gle({ count: e }) {+function EA({ 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) {@@ -25392,7 +25392,7 @@ function gle({ count: e }) {})}, "skeleton");}-function _le(e) {+function gle(e) {let [t, n] = (0, B.useState)(null);return (0, B.useLayoutEffect)(() => {if (!e) return;@@ -25402,7 +25402,7 @@ function _le(e) {};}, [e]), t;}-function EA(e, t, n, r, i) {+function DA(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -25448,7 +25448,7 @@ function EA(e, t, n, r, i) {}//#endregion//#region src/react/components/grid-reveal.tsx-function DA(e, t) {+function OA(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);@@ -25474,7 +25474,7 @@ function DA(e, t) {fading: n === "fade"};}-function OA({ message: e, onRetry: t }) {+function kA({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, V.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -25488,7 +25488,7 @@ function OA({ message: e, onRetry: t }) {}//#endregion//#region src/react/components/art-slot.tsx-function kA({ artwork: e, identity: t = e.html, relayout: n }) {+function AA({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, B.useState)({identity: t,artwork: e@@ -25508,24 +25508,24 @@ function kA({ artwork: e, identity: t = e.html, relayout: n }) {}//#endregion//#region src/react/components/media-card.tsx-var vle = 9 / 16;-function AA({ name: e }) {+var _le = 9 / 16;+function jA({ 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 yle = {+var vle = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"};-function jA(e, t, n) {- return t === "short" ? vle : o(n);+function MA(e, t, n) {+ return t === "short" ? _le : o(n);}-function ble(e) {+function yle(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", {@@ -25572,7 +25572,7 @@ function ble(e) {})};}-function xle() {+function ble() {return /* @__PURE__ */ (0, V.jsxs)("button", {type: "button","data-media-preview": "",@@ -25591,7 +25591,7 @@ function xle() {})]});}-function Sle({ item: e, actions: t }) {+function xle({ 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": "",@@ -25609,21 +25609,21 @@ function Sle({ item: e, actions: t }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, V.jsx)(AA, { name: o ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, V.jsx)(jA, { name: o ? "check" : "bookmark-plus" })})});}-function MA(e, t) {+function NA(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 Cle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {+function Sle({ 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 } = ble(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 } = yle(e), E = (e.follow_tags || e.tags || []).slice(0, 3), D = [e.feedback === "dislike" && "dislike",e.feedback === "seen" && "seen",e.disposal === "trash" && "dispose",@@ -25657,9 +25657,9 @@ function Cle({ 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(jA(e, t, n)) },+ style: { "--card-ratio": String(MA(e, t, n)) },children: [- g.html ? /* @__PURE__ */ (0, V.jsx)(kA, {+ g.html ? /* @__PURE__ */ (0, V.jsx)(AA, {artwork: g,identity: _,relayout: (e) => ne(e, h)@@ -25673,11 +25673,11 @@ function Cle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS}),/* @__PURE__ */ (0, V.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, V.jsx)(AA, { name: "check" })+ children: /* @__PURE__ */ (0, V.jsx)(jA, { name: "check" })}),/* @__PURE__ */ (0, V.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, V.jsx)(AA, { name: "trash" }), /* @__PURE__ */ (0, V.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, V.jsx)(jA, { name: "trash" }), /* @__PURE__ */ (0, V.jsx)("b", { children: "回收站" })]}),f ? /* @__PURE__ */ (0, V.jsx)("span", {"data-media-group": "",@@ -25704,8 +25704,8 @@ function Cle({ 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)(xle, {}),- /* @__PURE__ */ (0, V.jsx)(Sle, {+ /* @__PURE__ */ (0, V.jsx)(ble, {}),+ /* @__PURE__ */ (0, V.jsx)(xle, {item: e,actions: s}),@@ -25715,27 +25715,27 @@ function Cle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS/* @__PURE__ */ (0, V.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), MA(l.current, -a);+ e.stopPropagation(), NA(l.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, V.jsx)(AA, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, V.jsx)(jA, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), MA(l.current, a);+ e.stopPropagation(), NA(l.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, V.jsx)(AA, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, V.jsx)(jA, { name: "rotate-cw" })}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, V.jsx)(AA, { name: "expand" })+ children: /* @__PURE__ */ (0, V.jsx)(jA, { name: "expand" })})]})@@ -25811,8 +25811,8 @@ function Cle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS]});}-function wle({ 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") ? "网址快捷方式" : yle[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {+function Cle({ 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") ? "网址快捷方式" : vle[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) {@@ -25838,7 +25838,7 @@ function wle({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpchildren: [/* @__PURE__ */ (0, V.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, V.jsx)(AA, { name: f }), /* @__PURE__ */ (0, V.jsx)("b", { children: d })]+ children: [/* @__PURE__ */ (0, V.jsx)(jA, { name: f }), /* @__PURE__ */ (0, V.jsx)("b", { children: d })]}),l ? /* @__PURE__ */ (0, V.jsx)("span", {"data-media-art": "thumb",@@ -25850,11 +25850,11 @@ function wle({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp}),/* @__PURE__ */ (0, V.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, V.jsx)(AA, { name: "check" })+ children: /* @__PURE__ */ (0, V.jsx)(jA, { name: "check" })}),/* @__PURE__ */ (0, V.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, V.jsx)(AA, { name: "trash" }), /* @__PURE__ */ (0, V.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, V.jsx)(jA, { name: "trash" }), /* @__PURE__ */ (0, V.jsx)("b", { children: "回收站" })]}),/* @__PURE__ */ (0, V.jsx)("button", {type: "button",@@ -25864,7 +25864,7 @@ function wle({ 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)(AA, { 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)(jA, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, V.jsx)("span", { children: m })] })})]}), /* @__PURE__ */ (0, V.jsxs)("div", {@@ -25873,7 +25873,7 @@ function wle({ 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)(AA, { name: f })+ children: /* @__PURE__ */ (0, V.jsx)(jA, { name: f })}), /* @__PURE__ */ (0, V.jsxs)("div", {"data-media-text": "",children: [/* @__PURE__ */ (0, V.jsx)("span", {@@ -25902,17 +25902,17 @@ function wle({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp})]});}-function Tle(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, V.jsx)(wle, { ...e }) : /* @__PURE__ */ (0, V.jsx)(Cle, { ...e });+function wle(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, V.jsx)(Cle, { ...e }) : /* @__PURE__ */ (0, V.jsx)(Sle, { ...e });}-var NA = (0, B.memo)(Tle), Ele = 1100, Dle = 340, Ole = 5e3;-function kle(e, t, n) {+var PA = (0, B.memo)(wle), Tle = 1100, Ele = 340, Dle = 5e3;+function Ole(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, Ole);+ }, s = () => o(!1), c = setTimeout(s, Dle);t.cancels.add(s), i.onerror = s, i.onload = () => {if (!i.naturalWidth) {o(!1);@@ -25922,7 +25922,7 @@ function kle(e, t, n) {}, i.src = e;});}-function PA({ load: e, canFlip: t, referrerPolicy: n }) {+function FA({ 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,@@ -25964,11 +25964,11 @@ function PA({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => kle(t, e, n)));+ let s = await Promise.all(a.map((t) => Ole(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, Ele);+ p(), e.cycle = setInterval(p, Tle);}));};return (0, B.useEffect)(() => d, [d]), {@@ -25977,7 +25977,7 @@ function PA({ 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(Dle, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Ele, () => {e.armed = null, m();});},@@ -25988,8 +25988,8 @@ function PA({ load: e, canFlip: t, referrerPolicy: n }) {}//#endregion//#region src/react/components/mix-card.tsx-var FA = vA("play");-function Ale({ src: e }) {+var IA = vA("play");+function kle({ src: e }) {let [t, n] = (0, B.useState)(!1);return t ? null : /* @__PURE__ */ (0, V.jsx)("img", {"data-mix-poster": "",@@ -26002,8 +26002,8 @@ function Ale({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var IA = "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 jle({ faces: e, fallback: t, onOpenEntity: n }) {+var LA = "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 Ale({ 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", {@@ -26011,18 +26011,18 @@ function jle({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${IA} cursor-pointer outline-none`,+ className: `${LA} 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: `${IA} mt-0.5`,+ className: `${LA} mt-0.5`,children: t});}-function LA({ 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 = PA({+function RA({ 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 = FA({load: i,canFlip: a}), x = (0, B.useRef)(b.onPointerLeave);@@ -26049,11 +26049,11 @@ function LA({ 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)(kA, {+ f?.html ? /* @__PURE__ */ (0, V.jsx)(AA, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, V.jsx)(Ale, { src: r }, r) : /* @__PURE__ */ (0, V.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, V.jsx)(kle, { src: r }, r) : /* @__PURE__ */ (0, V.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -26083,7 +26083,7 @@ function LA({ 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)(FA, {+ children: [/* @__PURE__ */ (0, V.jsx)(IA, {"aria-hidden": !0,className: "size-3.75"}), g ?? `${n} 个视频`]@@ -26096,8 +26096,8 @@ function LA({ 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)(FA, {})- }) : /* @__PURE__ */ (0, V.jsx)(jle, {+ children: /* @__PURE__ */ (0, V.jsx)(IA, {})+ }) : /* @__PURE__ */ (0, V.jsx)(Ale, {faces: o,fallback: e.slice(0, 1),onOpenEntity: s@@ -26121,20 +26121,20 @@ function LA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:}//#endregion//#region src/react/catalog-grid/catalog-grid-page.tsx-function RA(e) {- if (e.mode === "items") return /* @__PURE__ */ (0, V.jsx)(Nle, { ...e });- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${jC(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- return /* @__PURE__ */ (0, V.jsx)(Ple, { ...e }, t);+function zA(e) {+ if (e.mode === "items") return /* @__PURE__ */ (0, V.jsx)(Mle, { ...e });+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${MC(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ return /* @__PURE__ */ (0, V.jsx)(Nle, { ...e }, t);}-function Mle({ name: e }) {+function jle({ 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 Nle(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)(NA, {+function Mle(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)(PA, {item: i,variant: r,layout: e.layout,@@ -26154,8 +26154,8 @@ function Nle(e) {children: i});}-function Ple(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? kre(e) : MC(e), s = i && e.initial ? {+function Nle(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Ore(e) : NC(e), s = i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -26175,7 +26175,7 @@ function Ple(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)(() => Nre(c.data?.pages || [], {+ let { tiles: u, pageStarts: d } = (0, B.useMemo)(() => Mre(c.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -26185,7 +26185,7 @@ function Ple(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 = DA(c.isPending, e.skeletonHtml), h = (0, B.useRef)(null), g = Fle(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 = OA(c.isPending, e.skeletonHtml), h = (0, B.useRef)(null), g = Ple(e, c.data, u, d, h);(0, B.useLayoutEffect)(() => {if (!c.data) return;let t = !0;@@ -26202,12 +26202,12 @@ function Ple(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)(Lle, {+ }, [c.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, V.jsx)(Ile, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, V.jsx)(NA, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, V.jsx)(PA, {item: i.item,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",layout: r,@@ -26224,7 +26224,7 @@ function Ple(e) {"data-grid-reveal": m.fading ? "" : void 0,children: [m.layer, (() => {if (c.isPending) return null;- if (!c.data) return /* @__PURE__ */ (0, V.jsx)(OA, {+ if (!c.data) return /* @__PURE__ */ (0, V.jsx)(kA, {message: ye(c.error),onRetry: () => void c.refetch()});@@ -26241,15 +26241,15 @@ function Ple(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: Ire(u, g).map((t) => /* @__PURE__ */ (0, V.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("div", {+ children: Fre(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)(Ile, {+ }), t.strip ? /* @__PURE__ */ (0, V.jsx)(Fle, {cut: t.strip,props: e,onOpen: y}) : null] }, t.start))- }), c.hasNextPage ? /* @__PURE__ */ (0, V.jsx)(zA, {+ }), c.hasNextPage ? /* @__PURE__ */ (0, V.jsx)(BA, {entity: i,load: b,enabled: () => e.canLoadMore?.() !== !1@@ -26257,7 +26257,7 @@ function Ple(e) {})()]});}-function zA({ entity: e, load: t, enabled: n, children: r }) {+function BA({ 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: ""@@ -26318,12 +26318,12 @@ function zA({ entity: e, load: t, enabled: n, children: r }) {...f,onClick: () => void u(!0),dangerouslySetInnerHTML: { __html: Pe("继续载入中…") }- }), s.error ? /* @__PURE__ */ (0, V.jsx)(OA, {+ }), s.error ? /* @__PURE__ */ (0, V.jsx)(kA, {message: s.error,onRetry: () => void u(!0)}) : null] });}-function Fle(e, t, n, r, i) {+function Ple(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;@@ -26332,7 +26332,7 @@ function Fle(e, t, n, r, i) {let r = new AbortController();d.current.push(r);let i = n - 1;- G(`/api/items?${Fre(e.filters || {}, l.current)}`, r.signal).then((e) => {+ G(`/api/items?${Pre(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];if (!t.length) {l.current = 0;@@ -26348,7 +26348,7 @@ function Fle(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 = Pre(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 = Nre(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, {@@ -26358,7 +26358,7 @@ function Fle(e, t, n, r, i) {}]);}, [s]), a;}-function Ile({ cut: e, props: t, onOpen: n }) {+function Fle({ cut: e, props: t, onOpen: n }) {let r = (0, B.useRef)(null), { wireDrag: i } = t;return (0, B.useEffect)(() => {r.current && i(r.current);@@ -26374,12 +26374,12 @@ function Ile({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, V.jsx)(Mle, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, V.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, V.jsx)(jle, { 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)(NA, {+ children: e.items.map((e) => /* @__PURE__ */ (0, V.jsx)(PA, {item: e,variant: "short",layout: t.layout,@@ -26393,17 +26393,17 @@ function Ile({ cut: e, props: t, onOpen: n }) {})]});}-function BA(e, t, n) {+function VA(e, t, n) {return N(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function Lle({ seed: e, layout: t, helpers: n, actions: r }) {+function Ile({ 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) => NC(e, t.javImage)).slice(0, 9);- return i.current = new Map(n.map((e) => [String(e.id), BA(e, t, !0).html])), n.map((e) => String(e.id));- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = BA(e, t, !1);- return /* @__PURE__ */ (0, V.jsx)(LA, {+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => PC(e, t.javImage)).slice(0, 9);+ return i.current = new Map(n.map((e) => [String(e.id), VA(e, t, !0).html])), n.map((e) => String(e.id));+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = VA(e, t, !1);+ return /* @__PURE__ */ (0, V.jsx)(RA, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -26413,12 +26413,12 @@ function Lle({ seed: e, layout: t, helpers: n, actions: r }) {wholeCard: !0,poster: null,artwork: l,- artworkIdentity: c === "small" ? l.html : BA(e, {+ artworkIdentity: c === "small" ? l.html : VA(e, {...t,size: "small"}, !1).html,relayoutArt: (e) => ne(e, c),- ratio: jA(e, "grid", t),+ ratio: MA(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -26430,31 +26430,31 @@ function Lle({ seed: e, layout: t, helpers: n, actions: r }) {}//#endregion//#region src/react/media-sources.ts-async function VA(e) {+async function HA(e) {await z.fetchQuery({queryKey: et,queryFn: () => nt(e)});}-var Rle = [+var Lle = ["local","115","pikpak"-], zle = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Ble = "/api/duplicates?limit=120", HA = ["duplicates"], UA = "/api/batch", WA = (e) => G(Ble, e);-async function Vle(e) {+], Rle = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), zle = "/api/duplicates?limit=120", UA = ["duplicates"], WA = "/api/batch", GA = (e) => G(zle, e);+async function Ble(e) {await Promise.all([z.fetchQuery({- queryKey: HA,- queryFn: () => WA(e)- }), VA(e)]);+ queryKey: UA,+ queryFn: () => GA(e)+ }), HA(e)]);}-var GA = {+var KA = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, Hle = (e, t) => t.filter((t) => e.some((e) => e.location === t)), KA = (e, t) => Hle(e, t).filter((t) => e.some((e) => e.location !== t)), Ule = (e, t) => t.filter((t) => e.some((e) => KA(e.files, [t]).length));-function Wle(e, t) {+}, Vle = (e, t) => t.filter((t) => e.some((e) => e.location === t)), qA = (e, t) => Vle(e, t).filter((t) => e.some((e) => e.location !== t)), Hle = (e, t) => t.filter((t) => e.some((e) => qA(e.files, [t]).length));+function Ule(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -26473,47 +26473,47 @@ function Wle(e, t) {}return n;}-function Gle(e, t) {+function Wle(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 qA(e, t) {- for (let n = 0; n < e.length; n += 200) await K(UA, {+async function JA(e, t) {+ for (let n = 0; n < e.length; n += 200) await K(WA, {ids: e.slice(n, n + 200),operation: t});}//#endregion//#region src/react/library-processing/library-processing.ts-var JA = "/api/library-processing", YA = ["library-processing"], XA = (e) => G(JA, e);-async function ZA(e) {+var YA = "/api/library-processing", XA = ["library-processing"], ZA = (e) => G(YA, e);+async function QA(e) {await z.fetchQuery({- queryKey: YA,- queryFn: () => XA(e)+ queryKey: XA,+ queryFn: () => ZA(e)});}-var Kle = 2e3, qle = 1e4, QA = "连接中断,正在重新读取处理进度";-function Jle(e, t) {- return e?.status === "running" ? Kle : t ? qle : !1;+var Gle = 2e3, Kle = 1e4, $A = "连接中断,正在重新读取处理进度";+function qle(e, t) {+ return e?.status === "running" ? Gle : t ? Kle : !1;}-var Yle = {+var Jle = {reading_local: "读取本地资料",querying_metadata: "查询外部资料",fetching_cover: "采集缺失封面",writing_candidates: "保存资料候选"-}, $A = {+}, ej = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function Xle(e) {- let t = Object.entries(e).filter(([e, t]) => $A[e] && t > 0).map(([e, t]) => `${$A[e]} ${t} 部`);+function Yle(e) {+ let t = Object.entries(e).filter(([e, t]) => ej[e] && t > 0).map(([e, t]) => `${ej[e]} ${t} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function ej(e) {- let t = Yle[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";+function tj(e) {+ let t = Jle[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 Zle(e) {+function Xle(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -26527,21 +26527,21 @@ function Zle(e) {log: e.issues_log || ""} : null;}-var tj = "peach.library-processing.announced", Qle = 120;-function $le(e, t, n) {+var nj = "peach.library-processing.announced", Zle = 120;+function Qle(e, t, n) {if (e.status !== "complete") return;- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Qle;+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Zle;if (!(!n && !r)) {try {- if (e.job_id && localStorage.getItem(tj) === e.job_id) return;- e.job_id && localStorage.setItem(tj, e.job_id);+ if (e.job_id && localStorage.getItem(nj) === e.job_id) return;+ e.job_id && localStorage.setItem(nj, 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 nj = "/api/media-repair", rj = ["media-repair"], ij = ["media-repair", "libraries"], eue = {+var rj = "/api/media-repair", ij = ["media-repair"], aj = ["media-repair", "libraries"], $le = {status: "idle",library: "",stage: "",@@ -26553,33 +26553,33 @@ var nj = "/api/media-repair", rj = ["media-repair"], ij = ["media-repair", "librmissing_tool: 0,skipped: 0,message: ""-}, aj = (e) => G(nj, e), oj = async (e) => (await G("/api/libraries", e)).libraries || [];-async function tue(e) {+}, oj = (e) => G(rj, e), sj = async (e) => (await G("/api/libraries", e)).libraries || [];+async function eue(e) {await Promise.all([z.fetchQuery({- queryKey: rj,- queryFn: () => aj(e)- }), z.fetchQuery({queryKey: ij,queryFn: () => oj(e)+ }), z.fetchQuery({+ queryKey: aj,+ queryFn: () => sj(e)})]);}-var sj = (e) => Number(e).toLocaleString();-function nue(e) {+var cj = (e) => Number(e).toLocaleString();+function tue(e) {if (e.status === "running") {- let t = e.total ? `${sj(e.checked)} / ${sj(e.total)}` : "准备中";+ let t = e.total ? `${cj(e.checked)} / ${cj(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${sj(e.repaired)} 部,${sj(e.failed)} 部修不了` : `修好 ${sj(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${cj(e.repaired)} 部,${cj(e.failed)} 部修不了` : `修好 ${cj(e.repaired)} 部` : "";}-var rue = (e) => `${sj(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, iue = "/api/quality-goals?limit=200", cj = ["quality-goals"], lj = (e) => G(iue, e);-async function aue(e) {+var nue = (e) => `${cj(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, rue = "/api/quality-goals?limit=200", lj = ["quality-goals"], uj = (e) => G(rue, e);+async function iue(e) {await z.fetchQuery({- queryKey: cj,- queryFn: () => lj(e)+ queryKey: lj,+ queryFn: () => uj(e)});}-var oue = (e) => e.has_cover ? D(e) : `/poster?id=${e.id}&c=4`;-function uj(e, t, n = 1) {+var aue = (e) => e.has_cover ? D(e) : `/poster?id=${e.id}&c=4`;+function dj(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;@@ -26599,21 +26599,21 @@ function uj(e, t, n = 1) {t];}-function dj(e, t) {+function fj(e, t) {return Math.max(1, Math.ceil(e / t));}-function fj(e, t) {+function pj(e, t) {return Math.min(Math.max(1, Math.floor(e) || 1), t);}//#endregion//#region src/selection.ts-function sue(e, t, n, r, i, a = i || !e.has(r)) {+function oue(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 pj(e) {+function mj(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);@@ -26622,7 +26622,7 @@ function pj(e) {}//#endregion//#region src/react/review/review.ts-var cue = "/api/review", lue = "/api/review/decision", uue = "/api/review/genre", mj = ["review"], hj = {+var sue = "/api/review", cue = "/api/review/decision", lue = "/api/review/genre", hj = ["review"], gj = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -26632,15 +26632,15 @@ var cue = "/api/review", lue = "/api/review/decision", uue = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, due = Object.keys(hj), fue = "metadata_fields", gj = (e) => typeof e == "string" && Object.hasOwn(hj, e), pue = {+}, uue = Object.keys(gj), due = "metadata_fields", _j = (e) => typeof e == "string" && Object.hasOwn(gj, e), fue = {creator_tags: "creator",western_identity: "creator"};-function mue(e, t) {+function pue(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 _j(e, t) {+function vj(e, t) {let n = /* @__PURE__ */ new Map();for (let r of e) {let e, i;@@ -26657,43 +26657,43 @@ function _j(e, t) {}return [...n.values()];}-function hue(e, t, n) {- return n && _j(e, t).find((e) => e.key === n)?.rows || e;+function mue(e, t, n) {+ return n && vj(e, t).find((e) => e.key === n)?.rows || e;}-function gue(e, t) {- let n = dj(e.length, 20), r = fj(t, n);+function hue(e, t) {+ let n = fj(e.length, 20), r = pj(t, n);return {page: r,pages: n,rows: e.slice((r - 1) * 20, r * 20)};}-function _ue(e) {+function gue(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 vue(e, t, n, r, i, a) {- return sue(e, t, n, r, i, a);+function _ue(e, t, n, r, i, a) {+ return oue(e, t, n, r, i, a);}-function vj(e, t) {+function yj(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}-function yj(e, t) {+function bj(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}-var bj = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function yue(e, t) {- let n = yj(e, t), r = bj(e, t);+var xj = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";+function vue(e, t) {+ let n = bj(e, t), r = xj(e, t);return r ? `${n} · ${r}` : n;}-var bue = (e) => e.reason || e.evidence || e.note || e.decision_note || "", xue = (e) => String(e.tags || "").split("|").filter(Boolean), Sue = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function Cue(e) {+var yue = (e) => e.reason || e.evidence || e.note || e.decision_note || "", bue = (e) => String(e.tags || "").split("|").filter(Boolean), xue = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function Sue(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function xj(e, t, n, r) {+function Sj(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -26709,19 +26709,19 @@ function xj(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var Sj = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", Cj = (e) => G(cue, e), wj = (e) => K(lue, e), wue = (e, t) => K(uue, {+var Cue = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", Cj = (e) => G(sue, e), wj = (e) => K(cue, e), wue = (e, t) => K(lue, {genre: e,tag: t});async function Tue(e) {await z.fetchQuery({- queryKey: mj,+ queryKey: hj,queryFn: () => Cj(e)});}function Tj(e, t) {let n = new Set(t);- n.size && z.setQueryData(mj, (t) => {+ n.size && z.setQueryData(hj, (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 : {@@ -26738,11 +26738,11 @@ function Tj(e, t) {});}var Eue = () => z.invalidateQueries({- queryKey: mj,+ queryKey: hj,exact: !0});function Due(e, t) {- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${pj(e.fetched_at)} 的缓存` : e?.error || t;+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${mj(e.fetched_at)} 的缓存` : e?.error || t;}//#endregion//#region src/react/data-cleanup/links.ts@@ -26809,7 +26809,7 @@ function Iue() {});}function Lue(e) {- return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${pj(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${pj(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";+ return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${mj(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${mj(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";}function Rue(e) {return e.status === "running" ? "正在采集,进度在活动页查看。" : e.status === "failed" ? `上一轮采集停下了:${e.stopped || "原因未取得"}` : e.status === "complete" ? e.stopped ? "上一轮采集已按停。" : "上一轮采集已完成。" : e.mode === "off" ? "关闭时不采集;已经生成的图留在盘上,清理走数据管理页。" : "选定档位后从最近看过的片子开始采集。";@@ -26870,7 +26870,7 @@ var Zj = "/api/resource-sync/scan", Qj = "/api/resource-sync/apply", $j = ["resoclean_cache: !0,scan_id: e,background: !0-}), rM = (e) => (e?.sources ?? []).some((e) => Rle.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);+}), rM = (e) => (e?.sources ?? []).some((e) => Lle.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);async function Que(e) {rM(z.getQueryData(tt)) && await Promise.all([z.fetchQuery({queryKey: $j,@@ -26917,7 +26917,7 @@ var ade = (e, t) => {return G(t ? `${dM}&library=${encodeURIComponent(t)}` : dM, e);}, gM = (e) => Number(e || 0).toLocaleString();function lde(e) {- let t = hj, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);+ let t = gj, 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(" · ")@@ -26930,7 +26930,7 @@ function ude(e) {}var dde = [[lM, ({ signal: e }) => pM(e)],- [cj, ({ signal: e }) => lj(e)],+ [lj, ({ signal: e }) => uj(e)],[fM, ({ signal: e }) => hM(e)],[Oj, ({ signal: e }) => Nj(e)],[kj, ({ signal: e }) => Pj(e)],@@ -26954,12 +26954,12 @@ async function fde(e) {queryFn: () => mM(e)}),z.fetchQuery({- queryKey: HA,- queryFn: () => WA(e)+ queryKey: UA,+ queryFn: () => GA(e)}),- VA(e).then(() => Que(e)),- ZA(e),- tue(e),+ HA(e).then(() => Que(e)),+ QA(e),+ eue(e),Uue(e)]);}@@ -26977,14 +26977,14 @@ var pde = ["bg-chart-8/10"];function _M(e = {}) {- return `${CE({+ return `${wE({...e,padding: "none"})} flex flex-col overflow-hidden pt-4 text-left`;}var vM = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", hde = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";function yM({ interactive: e = !1 } = {}) {- return CE({+ return wE({padding: "none",radius: "plain",interactive: e,@@ -27055,7 +27055,7 @@ function xM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {//#region src/react/components/menu-dialog.tsxfunction SM(e) {let t = uA("hover");- return /* @__PURE__ */ (0, V.jsx)(EO, {+ return /* @__PURE__ */ (0, V.jsx)(DO, {...e,ref: t});@@ -27066,7 +27066,7 @@ function SM(e) {}).medium;//#endregion//#region src/management.ts-var _de = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", vde = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", yde = CE({+var _de = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", vde = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", yde = wE({padding: "none",bordered: "line",className: "overflow-hidden"@@ -27079,7 +27079,7 @@ var _de = "扫描媒体文件夹,导入已有资料,采集缺失信息。两}, Sde = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", Cde = {neutral: "border-border-button-default bg-card-footer",error: "border-border-error-default bg-background-tertiary-error"-}, wde = CE({+}, wde = wE({padding: "none",radius: "surface",bordered: "line",@@ -27134,7 +27134,7 @@ function OM() {}//#endregion//#region src/react/boardui/components/base/buttons/icon-button.tsx-var kM = vE({+var kM = yE({base: ["relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg","bg-background-primary-default text-foreground-icon-primary",@@ -27159,7 +27159,7 @@ function AM({ icon: e, size: t = "medium", className: n, type: r = "button", refreturn /* @__PURE__ */ (0, V.jsx)("button", {ref: i,type: r,- className: _E(kM.base, kM.size[t], n),+ className: vE(kM.base, kM.size[t], n),...a,children: /* @__PURE__ */ (0, V.jsx)(e, {className: kM.icon[t],@@ -27205,7 +27205,7 @@ function jM({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, V.jsxs)("p", {- className: _E("min-w-0 break-all", n),+ className: vE("min-w-0 break-all", n),children: [t, e]}), /* @__PURE__ */ (0, V.jsx)(AM, {icon: Tde,@@ -27226,35 +27226,35 @@ function jM({ path: e, prefix: t, className: n, onRevealed: r }) {function MM({ 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" : CE({+ className: r ? "flex flex-col gap-1.5" : wE({variant: "outlined",padding: "none",className: "flex flex-col gap-1.5 px-4 py-3.5"}),- children: n && n > 0 ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(OE, {+ children: n && n > 0 ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(kE, {label: e,value: t,max: n}), /* @__PURE__ */ (0, V.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: e- })] }) : /* @__PURE__ */ (0, V.jsx)(TE, { label: e })+ })] }) : /* @__PURE__ */ (0, V.jsx)(EE, { label: e })});}//#endregion//#region src/react/library-processing/use-library-processing.tsfunction NM({ toast: e, mode: t, monitor: n }) {let r = t === "notice" || !!n, i = TS({- queryKey: YA,- queryFn: ({ signal: e }) => XA(e),- refetchInterval: (e) => Jle(e.state.data, r)+ queryKey: XA,+ queryFn: ({ signal: e }) => ZA(e),+ refetchInterval: (e) => qle(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") && $le(c, e, r);+ r && o(c), (r || t === "notice") && Qle(c, e, r);}, [c,t,@@ -27270,20 +27270,20 @@ function NM({ toast: e, mode: t, monitor: n }) {var Dde = [{label: "扫描并补全资料",- icon: hT,+ icon: gT,command: {}},{label: "只扫描",- icon: yT,+ icon: bT,command: { stage: "scan" }},{label: "只采集",- icon: lae,+ icon: cae,command: { stage: "collect" }}-], Ode = _E(yk, bk, "text-body-2-medium"), kde = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Ade = (e) => {+], Ode = vE(bk, xk, "text-body-2-medium"), kde = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Ade = (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} 张`];@@ -27298,14 +27298,14 @@ function Mde({ busy: e, onRun: t }) {"data-split-button": !0,"data-variant": "primary",children: [/* @__PURE__ */ (0, V.jsx)(J, {- leadingIcon: hT,+ leadingIcon: gT,onClick: () => a({}),...X(e),children: "扫描并补全资料"}), /* @__PURE__ */ (0, V.jsx)(J, {ref: n,iconOnly: !0,- leadingIcon: sT,+ leadingIcon: cT,"aria-label": "更多扫描与采集方式","aria-haspopup": "dialog","aria-expanded": r,@@ -27314,13 +27314,13 @@ function Mde({ busy: e, onRun: t }) {e || i(!0);}})]- }), /* @__PURE__ */ (0, V.jsx)(hO, {+ }), /* @__PURE__ */ (0, V.jsx)(gO, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "bottom end",offset: 4,- className: vk,+ className: yk,children: /* @__PURE__ */ (0, V.jsx)(SM, {"aria-label": "更多扫描与采集方式",className: "flex w-52 flex-col gap-1 outline-none",@@ -27337,7 +27337,7 @@ function Mde({ busy: e, onRun: t }) {})] });}function Nde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = Zle(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Xle(e.notes || {}), c = OM();+ let a = Xle(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Yle(e.notes || {}), c = OM();return /* @__PURE__ */ (0, V.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",@@ -27357,7 +27357,7 @@ function Nde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null,extra: a ? /* @__PURE__ */ (0, V.jsx)("div", {className: "mt-1.5 border-t border-current/20 pt-1.5",- children: /* @__PURE__ */ (0, V.jsxs)(zk, {+ children: /* @__PURE__ */ (0, V.jsxs)(Bk, {summary: a.label,children: [/* @__PURE__ */ (0, V.jsx)("div", {className: "relative",@@ -27422,15 +27422,15 @@ function Nde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}function PM(e) {let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = NM(e), o = OS({- mutationFn: (e) => K(JA, e),+ mutationFn: (e) => K(YA, e),onSuccess: (e) => {- a(), z.setQueryData(YA, e), z.invalidateQueries({ queryKey: YA });+ a(), z.setQueryData(XA, e), z.invalidateQueries({ queryKey: XA });}});(0, B.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? W(o.error) : r.isError ? r.data ? QA : W(r.error) : "", l = o.isPending || s.status === "running", u = ej(s), d = (e) => {+ let s = r.data ?? { status: "idle" }, c = o.error ? W(o.error) : r.isError ? r.data ? $A : W(r.error) : "", l = o.isPending || s.status === "running", u = tj(s), d = (e) => {l || (o.reset(), o.mutate(e));};return /* @__PURE__ */ (0, V.jsxs)("div", {@@ -27439,16 +27439,16 @@ function PM(e) {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsx)(Ok, {+ /* @__PURE__ */ (0, V.jsx)(kk, {href: "/scraping",size: "small",- trailingIcon: cT,+ trailingIcon: lT,children: "来源和凭证"}),- s.candidates ? /* @__PURE__ */ (0, V.jsx)(Ok, {+ s.candidates ? /* @__PURE__ */ (0, V.jsx)(kk, {href: "/review",size: "small",- trailingIcon: cT,+ trailingIcon: lT,children: "复核资料"}) : null,/* @__PURE__ */ (0, V.jsx)(Mde, {@@ -27530,32 +27530,32 @@ function IM(e) {}//#endregion//#region src/react/media-repair/media-repair-card.tsx-var Ide = (e) => Se[e] || e, LM = (e) => z.setQueryData(rj, e);+var Ide = (e) => Se[e] || e, LM = (e) => z.setQueryData(ij, e);function Lde() {let e = TS({- queryKey: rj,- queryFn: ({ signal: e }) => aj(e),+ queryKey: ij,+ queryFn: ({ signal: e }) => oj(e),refetchInterval: (e) => e.state.data?.status === "running" && FM}), t = TS({- queryKey: ij,- queryFn: ({ signal: e }) => oj(e)- }), [n, r] = (0, B.useState)(""), i = kE(), a = e.data ?? eue, 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 = () => {+ queryKey: aj,+ queryFn: ({ signal: e }) => sj(e)+ }), [n, r] = (0, B.useState)(""), i = AE(), a = e.data ?? $le, 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 () => LM(await K(nj, {+ onConfirm: async () => LM(await K(rj, {library: c.id,restart: !0}))});- }, u = () => void i.run("stop", (e) => K(nj, { stop: !0 }, "POST", e), LM), d = nue(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");+ }, u = () => void i.run("stop", (e) => K(rj, { stop: !0 }, "POST", e), LM), d = tue(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)(DM, {layout: "split",label: "媒体修复",- footer: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(Sk, {+ footer: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(Ck, {"aria-label": "媒体库",className: "w-48",selectedKey: c?.id ?? null,@@ -27563,10 +27563,10 @@ function Lde() {onSelectionChange: (e) => {e !== null && r(String(e));},- children: o.map((e) => /* @__PURE__ */ (0, V.jsxs)(Ck, {+ children: o.map((e) => /* @__PURE__ */ (0, V.jsxs)(wk, {id: e.id,textValue: e.name,- children: [/* @__PURE__ */ (0, V.jsx)(Bk, { mark: Ide(e.icon) }), e.name]+ children: [/* @__PURE__ */ (0, V.jsx)(Vk, { mark: Ide(e.icon) }), e.name]}, e.id))}), s ? /* @__PURE__ */ (0, V.jsx)(J, {onClick: u,@@ -27585,7 +27585,7 @@ function Lde() {className: "text-body-2-regular text-text-secondary",children: vde}),- s && a.total ? /* @__PURE__ */ (0, V.jsx)(OE, {+ s && a.total ? /* @__PURE__ */ (0, V.jsx)(kE, {label: "修复进度",value: a.checked,max: a.total@@ -27609,7 +27609,7 @@ function Lde() {f && a.missing_tool ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "warning",title: "缺少 untrunc",- children: rue(a)+ children: nue(a)}) : null,p ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",@@ -27639,7 +27639,7 @@ function zM({ state: e, size: t = "md" }) {let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = RM[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, V.jsx)("span", {"aria-hidden": !0,- className: _E("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? _E("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : _E("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: vE("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? vE("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : vE("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, V.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -27665,15 +27665,15 @@ function zM({ state: e, size: t = "md" }) {//#region src/react/boardui/components/base/checkbox/checkbox.tsxfunction BM({ className: e, children: t, size: n = "md", ref: r, ...i }) {let a = RM[n];- return /* @__PURE__ */ (0, V.jsx)(Noe, {+ return /* @__PURE__ */ (0, V.jsx)(Moe, {ref: r,...i,- className: (t) => _E("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ className: (t) => vE("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)(zM, {state: e,size: n}), t != null && /* @__PURE__ */ (0, V.jsx)("span", {- className: _E(a.label, "text-text-primary"),+ className: vE(a.label, "text-text-primary"),children: t})] })});@@ -27682,11 +27682,11 @@ function BM({ className: e, children: t, size: n = "md", ref: r, ...i }) {//#region src/react/boardui/components/base/table/table.tsxfunction VM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, V.jsx)("div", {- className: _E("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, V.jsx)(Vse, {+ className: vE("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, V.jsx)(Bse, {ref: r,...i,- className: _E("bui-table", e === "sm" && "bui-table-sm", t)+ className: vE("bui-table", e === "sm" && "bui-table-sm", t)})});}@@ -27768,8 +27768,8 @@ function qM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })/* @__PURE__ */ (0, V.jsx)(UM, { children: /* @__PURE__ */ (0, V.jsxs)(VM, {"aria-label": e,size: "sm",- children: [/* @__PURE__ */ (0, V.jsxs)(XO, { children: [- i ? /* @__PURE__ */ (0, V.jsx)(ZO, {+ children: [/* @__PURE__ */ (0, V.jsxs)(ZO, { children: [+ i ? /* @__PURE__ */ (0, V.jsx)(QO, {id: "pick",children: /* @__PURE__ */ (0, V.jsx)(BM, {slot: null,@@ -27779,44 +27779,44 @@ function qM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })onChange: (e) => i(e ? t.map((e) => e.id) : [])})}) : null,- /* @__PURE__ */ (0, V.jsx)(ZO, {+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "entity",isRowHeader: !0,children: "所属"}),- /* @__PURE__ */ (0, V.jsx)(ZO, {+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "kind",children: "类型"}),- /* @__PURE__ */ (0, V.jsx)(ZO, {+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "label",children: "标签"}),- /* @__PURE__ */ (0, V.jsx)(ZO, {+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "note",children: "结果"}),- /* @__PURE__ */ (0, V.jsx)(ZO, {+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "url",children: "地址"})- ] }), /* @__PURE__ */ (0, V.jsx)($O, { children: t.map((e) => /* @__PURE__ */ (0, V.jsxs)(nk, {+ ] }), /* @__PURE__ */ (0, V.jsx)(ek, { children: t.map((e) => /* @__PURE__ */ (0, V.jsxs)(rk, {id: e.id,children: [- i ? /* @__PURE__ */ (0, V.jsx)(ik, { children: /* @__PURE__ */ (0, V.jsx)(BM, {+ i ? /* @__PURE__ */ (0, V.jsx)(ak, { children: /* @__PURE__ */ (0, V.jsx)(BM, {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)(ik, { children: e.entity }),- /* @__PURE__ */ (0, V.jsx)(ik, { children: jj[e.link_kind] || e.link_kind }),- /* @__PURE__ */ (0, V.jsx)(ik, { children: e.label || "" }),- /* @__PURE__ */ (0, V.jsx)(ik, { children: /* @__PURE__ */ (0, V.jsx)("span", {+ /* @__PURE__ */ (0, V.jsx)(ak, { children: e.entity }),+ /* @__PURE__ */ (0, V.jsx)(ak, { children: jj[e.link_kind] || e.link_kind }),+ /* @__PURE__ */ (0, V.jsx)(ak, { children: e.label || "" }),+ /* @__PURE__ */ (0, V.jsx)(ak, { children: /* @__PURE__ */ (0, V.jsx)("span", {className: "tabular-nums text-text-error-primary",children: e.note}) }),- /* @__PURE__ */ (0, V.jsx)(ik, { children: /* @__PURE__ */ (0, V.jsxs)("a", {+ /* @__PURE__ */ (0, V.jsx)(ak, { children: /* @__PURE__ */ (0, V.jsxs)("a", {href: e.url,target: "_blank",rel: "noreferrer",@@ -27826,7 +27826,7 @@ function qM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })"data-middle-truncate": !0,className: "min-w-0 truncate",children: e.url- }), /* @__PURE__ */ (0, V.jsx)(_T, {+ }), /* @__PURE__ */ (0, V.jsx)(vT, {"aria-hidden": !0,className: "size-3.5 shrink-0"})]@@ -28199,20 +28199,20 @@ function Yde({ toast: e, failure: t }) {/* @__PURE__ */ (0, V.jsxs)("div", {className: "mt-3 flex flex-col gap-3",children: [- i.length ? /* @__PURE__ */ (0, V.jsx)(Sk, {+ i.length ? /* @__PURE__ */ (0, V.jsx)(Ck, {"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)(Ck, {+ children: i.map((e) => /* @__PURE__ */ (0, V.jsxs)(wk, {id: e.location,textValue: se[e.location] || e.location,- children: [/* @__PURE__ */ (0, V.jsx)(Bk, { mark: Se[e.location] || "database" }), se[e.location] || e.location]+ children: [/* @__PURE__ */ (0, V.jsx)(Vk, { mark: Se[e.location] || "database" }), se[e.location] || e.location]}, e.location))}) : null,- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: "文件名模板",placeholder: "{number}[ {title}]",value: d.file,@@ -28223,7 +28223,7 @@ function Yde({ toast: e, failure: t }) {f({ file: e }), m(null);}}),- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: "目录模板",placeholder: "留空表示原地改名",value: d.dir,@@ -28273,7 +28273,7 @@ var Xde = "/api/orphan-records", Zde = "/api/orphan-records/attach", JM = ["orph], $de = (e) => G(Xde, e), efe = (e, t) => K(Zde, {id: e,target: t-}), tfe = (e) => K(UA, {+}), tfe = (e) => K(WA, {ids: [e],operation: "delete"}), nfe = (e) => [@@ -28305,10 +28305,10 @@ function afe({ item: e, toast: t }) {onConfirm: () => a.mutateAsync()});}, s = i.isPending || a.isPending;- return /* @__PURE__ */ (0, V.jsxs)(nk, {+ return /* @__PURE__ */ (0, V.jsxs)(rk, {id: e.id,children: [- /* @__PURE__ */ (0, V.jsx)(ik, { children: /* @__PURE__ */ (0, V.jsxs)("span", {+ /* @__PURE__ */ (0, V.jsx)(ak, { children: /* @__PURE__ */ (0, V.jsxs)("span", {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",@@ -28334,18 +28334,18 @@ function afe({ item: e, toast: t }) {})]})]}) }),- /* @__PURE__ */ (0, V.jsx)(ik, { children: /* @__PURE__ */ (0, V.jsx)("span", {+ /* @__PURE__ */ (0, V.jsx)(ak, { children: /* @__PURE__ */ (0, V.jsx)("span", {className: "block min-w-44",children: YM(e.records)}) }),- /* @__PURE__ */ (0, V.jsx)(ik, { children: e.candidates.length ? /* @__PURE__ */ (0, V.jsx)(Sk, {+ /* @__PURE__ */ (0, V.jsx)(ak, { children: e.candidates.length ? /* @__PURE__ */ (0, V.jsx)(Ck, {"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)(Ck, {+ children: e.candidates.map((e) => /* @__PURE__ */ (0, V.jsx)(wk, {id: e.id,textValue: XM(e),children: XM(e)@@ -28354,7 +28354,7 @@ function afe({ item: e, toast: t }) {className: "text-text-secondary",children: "没有番号或文件名对得上的文件"}) }),- /* @__PURE__ */ (0, V.jsx)(ik, { children: /* @__PURE__ */ (0, V.jsxs)("span", {+ /* @__PURE__ */ (0, V.jsx)(ak, { children: /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex flex-wrap gap-2",children: [e.candidates.length ? /* @__PURE__ */ (0, V.jsx)(J, {size: "small",@@ -28406,25 +28406,25 @@ function ofe({ toast: e }) {}) : /* @__PURE__ */ (0, V.jsx)(UM, { children: /* @__PURE__ */ (0, V.jsxs)(VM, {"aria-label": "文件已消失的作品",size: "sm",- children: [/* @__PURE__ */ (0, V.jsxs)(XO, { children: [- /* @__PURE__ */ (0, V.jsx)(ZO, {+ children: [/* @__PURE__ */ (0, V.jsxs)(ZO, { children: [+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "item",isRowHeader: !0,children: "作品"}),- /* @__PURE__ */ (0, V.jsx)(ZO, {+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "records",children: "带的记录"}),- /* @__PURE__ */ (0, V.jsx)(ZO, {+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "target",children: "接到"}),- /* @__PURE__ */ (0, V.jsx)(ZO, {+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "actions",children: "操作"})- ] }), /* @__PURE__ */ (0, V.jsx)($O, { children: n.map((t) => /* @__PURE__ */ (0, V.jsx)(afe, {+ ] }), /* @__PURE__ */ (0, V.jsx)(ek, { children: n.map((t) => /* @__PURE__ */ (0, V.jsx)(afe, {item: t,toast: e}, t.id)) })]@@ -28447,7 +28447,7 @@ function ufe({ scan: e }) {className: yM(),children: /* @__PURE__ */ (0, V.jsx)(bM, {label: ede[e.location] || "媒体来源",- mark: /* @__PURE__ */ (0, V.jsx)(Bk, { mark: Se[e.location] ?? "database" }),+ mark: /* @__PURE__ */ (0, V.jsx)(Vk, { 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 ? "可访问" : "离线,已跳过"@@ -28662,8 +28662,8 @@ function nN({ section: e, label: t, icon: n, value: r, open: i }) {}var ffe = vA("square-check-big"), pfe = vA("sparkles"), mfe = vA("file-stack"), hfe = vA("file-archive"), gfe = vA("trash"), _fe = [lM,- cj,- HA+ lj,+ UA], vfe = () => {for (let e of _fe) z.invalidateQueries({queryKey: e,@@ -28675,11 +28675,11 @@ function yfe({ toast: e, failure: t, open: n }) {queryKey: lM,queryFn: ({ signal: e }) => pM(e)}), i = TS({- queryKey: cj,- queryFn: ({ signal: e }) => lj(e)+ queryKey: lj,+ queryFn: ({ signal: e }) => uj(e)}), a = TS({- queryKey: HA,- queryFn: ({ signal: e }) => WA(e)+ queryKey: UA,+ queryFn: ({ signal: e }) => GA(e)}), o = TS({queryKey: uM,queryFn: ({ signal: e }) => mM(e)@@ -28690,7 +28690,7 @@ function yfe({ toast: e, failure: t, open: n }) {queryKey: tt,queryFn: ({ signal: e }) => rt(e)}), l = (t) => e(t);- return /* @__PURE__ */ (0, V.jsxs)(EE, { children: [+ return /* @__PURE__ */ (0, V.jsxs)(DE, { children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: gde,children: [@@ -29093,7 +29093,7 @@ function AN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {...a,"data-index-cell": "",onClick: i,- className: CE({+ className: wE({radius: "plain",padding: "none",interactive: !0,@@ -38178,11 +38178,11 @@ function ope({ roster: e, props: t }) {});}function spe(e) {- let t = DA(!e.items, e.skeletonHtml);+ let t = OA(!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)(RA, {+ children: [t.layer, e.items ? /* @__PURE__ */ (0, V.jsx)(zA, {mode: "entity",entityKey: `${e.kind}:${e.name}`,revision: e.revision,@@ -38268,7 +38268,7 @@ function upe({ 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)(zA, {+ e.hasMore ? /* @__PURE__ */ (0, V.jsx)(BA, {entity: !0,load: i.loadMorePhotos,enabled: () => a?.() !== !1@@ -38453,24 +38453,24 @@ function ZN(e, t, n) {}//#endregion//#region src/react/components/modal-frame.tsx-var vpe = {+var QN = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal"};-function QN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {+function $N({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {let { isFocusVisible: a } = Zm();- return /* @__PURE__ */ (0, V.jsx)(AO, {+ return /* @__PURE__ */ (0, V.jsx)(jO, {isOpen: e,onOpenChange: t,isDismissable: !0,"data-modal-motion": "","data-motion-instant": a || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, V.jsx)(fse, {+ children: /* @__PURE__ */ (0, V.jsx)(dse, {"data-modal-surface": "",- className: `flex max-h-full w-full ${vpe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,- children: /* @__PURE__ */ (0, V.jsx)(EO, {+ className: `flex max-h-full w-full ${QN[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,+ children: /* @__PURE__ */ (0, V.jsx)(DO, {"aria-label": r,className: "flex min-h-0 flex-col outline-none",children: i@@ -38478,7 +38478,7 @@ function QN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {})});}-function $N({ children: e }) {+function eP({ 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",@@ -38487,7 +38487,7 @@ function $N({ children: e }) {}//#endregion//#region src/react/crop/crop-frame.tsx-var eP = .02, tP = 1.08;+var vpe = .02, tP = 1.08;function nP({ 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)(() => {@@ -38528,7 +38528,7 @@ function nP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o}function h(e) {if (!n || !r) return;- let a = Math.max(1, (n.x1 - n.x0) * eP), o = {+ let a = Math.max(1, (n.x1 - n.x0) * vpe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],@@ -38620,29 +38620,29 @@ function nP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o}//#endregion//#region src/react/avatar-picker/avatar-picker.ts-var rP = "/api/avatar-choices", iP = "/api/avatar-pick", ype = "/api/avatar-code-cover", bpe = "/avatar-choice", aP = (e, t) => [+var ype = "/api/avatar-choices", rP = "/api/avatar-pick", bpe = "/api/avatar-code-cover", xpe = "/avatar-choice", iP = (e, t) => ["avatar-choices",e,t-], oP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, sP = (e, t, n, r = "") => `${bpe}${oP(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), cP = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", xpe = (e, t, n) => G(rP + oP(e, t), n), Spe = (e) => K(ype, { code: e });-function lP(e, t, n) {+], aP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, oP = (e, t, n, r = "") => `${xpe}${aP(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), sP = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Spe = (e, t, n) => G(ype + aP(e, t), n), Cpe = (e) => K(bpe, { code: e });+function cP(e, t, n) {let r = t.width === e.width && t.height === e.height;return e.focus && r ? ppe(e.focus, t, n) : qN(t, n);}-var Cpe = (e) => e.crop && KN({+var wpe = (e) => e.crop && KN({width: e.width,height: e.height});-async function wpe(e, t, n) {+async function Tpe(e, t, n) {if (!("file" in n)) {- await K(iP, {+ await K(rP, {kind: e,id: t,...n});return;}- let r = n.file, i = await fetch(`${iP}${oP(e, t)}&name=${encodeURIComponent(r.name)}`, {+ let r = n.file, i = await fetch(`${rP}${aP(e, t)}&name=${encodeURIComponent(r.name)}`, {method: "POST",credentials: "same-origin",body: r@@ -38651,30 +38651,30 @@ async function wpe(e, t, n) {let a = await i.json().catch(() => null);throw new jS(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 uP = (e) => e.cast > 1, Ope = (e) => uP(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, kpe = {+var lP = (e) => e.cast > 1, kpe = (e) => lP(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}` : "") + (uP(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}` : "") + (lP(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",@@ -38684,17 +38684,17 @@ function Ppe({ kind: e, entityId: t, name: n, onPicked: r }) {"aria-label": `更换${n}的头像`,onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",- children: /* @__PURE__ */ (0, V.jsx)(Qie, {+ children: /* @__PURE__ */ (0, V.jsx)(Zie, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, V.jsx)(QN, {+ }), /* @__PURE__ */ (0, V.jsx)($N, {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,@@ -38703,50 +38703,50 @@ 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 = OM(), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(null), h = aP(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 = OM(), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(null), h = iP(e, t), g = (0, B.useRef)(!1), _ = TS({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: aP(e, t) });+ g.current && z.removeQueries({ queryKey: iP(e, t) });}, [e, t]);let v = OS({- mutationFn: (n) => wpe(e, t, n),+ mutationFn: (n) => Tpe(e, t, n),onSuccess: () => {g.current = !0, i(), r();}}), y = OS({- mutationFn: (e) => Spe(e),+ 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)($N, { children: /* @__PURE__ */ (0, V.jsx)(DT, { className: "size-6" }) }),+ /* @__PURE__ */ (0, V.jsx)(eP, { children: /* @__PURE__ */ (0, V.jsx)(OT, { className: "size-6" }) }),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, V.jsx)(XE, {+ children: [/* @__PURE__ */ (0, V.jsx)(ZE, {slot: "title",className: "text-title-3-semibold text-text-primary",children: p ? "框出头像那一块" : "更换头像"- }), !p && S.length ? /* @__PURE__ */ (0, V.jsxs)(bE, {+ }), !p && S.length ? /* @__PURE__ */ (0, V.jsxs)(xE, {color: "soft",children: [S.length, " 张可选"]}) : null]}),/* @__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",@@ -38759,13 +38759,13 @@ function Fpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {]}),/* @__PURE__ */ (0, V.jsx)(AM, {- icon: fT,+ icon: pT,size: "small","aria-label": "关闭",onClick: i})]- }), p ? /* @__PURE__ */ (0, V.jsx)(Lpe, {+ }), p ? /* @__PURE__ */ (0, V.jsx)(Rpe, {kind: e,entityId: t,choice: p,@@ -38789,7 +38789,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",@@ -38802,15 +38802,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: sP(e, t, n.ref, cP(n, n.ref)),+ /* @__PURE__ */ (0, V.jsx)(Lpe, {+ src: oP(e, t, n.ref, sP(n, n.ref)),choice: n}),/* @__PURE__ */ (0, V.jsx)("span", {@@ -38819,15 +38819,15 @@ function Fpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),n.current ? /* @__PURE__ */ (0, V.jsx)("span", {className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, V.jsx)(bE, {+ children: /* @__PURE__ */ (0, V.jsx)(xE, {variant: "caption",color: "gray",children: "在用"})}) : null,- uP(n) ? /* @__PURE__ */ (0, V.jsx)("span", {+ lP(n) ? /* @__PURE__ */ (0, V.jsx)("span", {className: "absolute top-1 right-1",- children: /* @__PURE__ */ (0, V.jsxs)(bE, {+ children: /* @__PURE__ */ (0, V.jsxs)(xE, {variant: "caption",color: "gray",children: [n.cast, " 人"]@@ -38846,7 +38846,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)(_k, {+ children: /* @__PURE__ */ (0, V.jsx)(vk, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -38881,7 +38881,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)(_k, {+ children: /* @__PURE__ */ (0, V.jsx)(vk, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -38901,7 +38901,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);@@ -38909,7 +38909,7 @@ function Ipe({ src: e, choice: t }) {let a = {width: t.width,height: t.height- }, o = Cpe(t) ? _pe(lP(t, a, Npe), a) : null, s = r ? !0 : void 0;+ }, o = wpe(t) ? _pe(cP(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", {@@ -38934,8 +38934,8 @@ 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 = cP(n, s), m = sP(e, t, s, p), h = OM();+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 = sP(n, s), m = oP(e, t, s, p), h = OM();function g(e) {c(e), u(null), f(null);}@@ -38950,7 +38950,7 @@ function Lpe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), KN(e) && f(s === n.ref ? lP(n, e, 1) : qN(e, 1));+ u(e), KN(e) && f(s === n.ref ? cP(n, e, 1) : qN(e, 1));},onBox: f}), o.length > 1 ? /* @__PURE__ */ (0, V.jsx)("div", {@@ -38964,7 +38964,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", {@@ -38998,7 +38998,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 dP({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+function uP({ 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);@@ -39032,12 +39032,12 @@ function dP({ 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 fP({ name: e }) {- let t = Rpe[e];+function dP({ 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",@@ -39047,19 +39047,19 @@ function fP({ name: e }) {}//#endregion//#region src/react/entity-hero/hero-pop.tsx-function pP(e, t) {+function fP(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 mP = (e) => !!e?.isConnected && e.matches(":popover-open");-function hP(e, t, n, r) {+var pP = (e) => !!e?.isConnected && e.matches(":popover-open");+function mP(e, t, n, r) {let i = (0, B.useRef)(r);i.current = r, (0, B.useEffect)(() => {if (!e) return;let r = () => {- t.current && mP(n.current) ? pP(t.current, n.current) : i.current();+ t.current && pP(n.current) ? fP(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -39073,17 +39073,17 @@ function hP(e, t, n, r) {n]);}-function gP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function hP({ 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, mP(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, pP(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), !(!s.current || !o.current || mP(s.current)) && (s.current.showPopover(), pP(o.current, s.current), l(!0));+ clearTimeout(d.current), !(!s.current || !o.current || pP(s.current)) && (s.current.showPopover(), fP(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 hP(c, o, s, f), (0, B.useEffect)(() => {+ return mP(c, o, s, f), (0, B.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -39109,7 +39109,7 @@ function gP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && mP(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && pP(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, V.jsxs)("div", {@@ -39127,16 +39127,16 @@ function gP({ 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 = () => {- mP(o.current) && o.current.hidePopover(), c(!1);+ pP(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- l.current || !o.current || !i.current || mP(o.current) || (o.current.showPopover(), pP(i.current, o.current), c(!0));+ l.current || !o.current || !i.current || pP(o.current) || (o.current.showPopover(), fP(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return hP(s, i, o, () => c(!1)), (0, B.useEffect)(() => {- i.current && mP(o.current) && pP(i.current, o.current);+ return mP(s, i, o, () => c(!1)), (0, B.useEffect)(() => {+ i.current && pP(o.current) && fP(i.current, o.current);}, [r]), /* @__PURE__ */ (0, V.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -39145,7 +39145,7 @@ function zpe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, V.jsx)(fP, { name: "rss" }),+ /* @__PURE__ */ (0, V.jsx)(dP, { name: "rss" }),/* @__PURE__ */ (0, V.jsx)("input", {ref: a,type: "checkbox",@@ -39180,29 +39180,29 @@ 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", "名字与别名");- }, []), /* @__PURE__ */ (0, V.jsxs)(ise, {+ }, []), /* @__PURE__ */ (0, V.jsxs)(rse, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, V.jsx)(JE, {+ children: [/* @__PURE__ */ (0, V.jsx)(YE, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, V.jsx)(fP, { name: "chevron-down" })- }), /* @__PURE__ */ (0, V.jsx)(hO, {+ children: /* @__PURE__ */ (0, V.jsx)(dP, { name: "chevron-down" })+ }), /* @__PURE__ */ (0, V.jsx)(gO, {placement: "bottom start",offset: 8,containerPadding: 8,- className: vk,+ className: yk,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, V.jsxs)(ose, {+ children: /* @__PURE__ */ (0, V.jsxs)(ase, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, V.jsx)(SO, {+ /* @__PURE__ */ (0, V.jsx)(CO, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -39210,31 +39210,31 @@ function Bpe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, V.jsxs)(wO, {+ children: t.map((e) => /* @__PURE__ */ (0, V.jsxs)(TO, {id: e,textValue: e,"data-namepick-name": e,- children: [/* @__PURE__ */ (0, V.jsx)(fP, { name: "check" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, V.jsx)(dP, { name: "check" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e })]}, e))}),- /* @__PURE__ */ (0, V.jsx)(Boe, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, V.jsx)(SO, { children: /* @__PURE__ */ (0, V.jsxs)(wO, {+ /* @__PURE__ */ (0, V.jsx)(zoe, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, V.jsx)(CO, { children: /* @__PURE__ */ (0, V.jsxs)(TO, {id: "alias",textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, V.jsx)(fP, { name: "plus" }), /* @__PURE__ */ (0, V.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, V.jsx)(dP, { name: "plus" }), /* @__PURE__ */ (0, V.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var Vpe = (e) => e === "studio" || e === "agency", _P = (e) => e === "performer" || e === "creator", Hpe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function Upe(e) {+var Hpe = (e) => e === "studio" || e === "agency", gP = (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 vP(e) {+function _P(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0@@ -39245,13 +39245,13 @@ function vP(e) {linked: !1} : null;}-function yP(e, t) {+function vP(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 bP = (e) => ({ site: he(e) });-function Wpe(e, t) {- let n = vP(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var yP = (e) => ({ site: he(e) });+function Gpe(e, t) {+ let n = _P(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -39261,7 +39261,7 @@ function Wpe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${yP(e, n)} · ${t}`+ title: `${vP(e, n)} · ${t}`};}let r = e.url || "";@@ -39269,11 +39269,11 @@ function Wpe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (_P(t) && e.link_kind !== "social") return {+ if (gP(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: yP(e, n),- mark: bP(e)+ title: vP(e, n),+ mark: yP(e)};if (e.link_kind === "social") {let t = le(r);@@ -39281,7 +39281,7 @@ function Wpe(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : bP(e)+ mark: t ? { brand: t } : yP(e)};}return {@@ -39289,13 +39289,13 @@ function Wpe(e, t) {url: r,title: e.label || "",text: _e(e, t, i),- mark: bP(e)+ mark: yP(e)};});return [...r, ...a];}-var xP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function Gpe(e) {+var bP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function Kpe(e) {return [["legal_name",@@ -39351,7 +39351,7 @@ function Gpe(e) {}]}] : []);}-function Kpe(e) {+function qpe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -39408,14 +39408,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 ? {@@ -39426,7 +39426,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,@@ -39436,8 +39436,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 = _P(e), c = Vpe(e), l = s ? Kpe(n.profile) : c ? Gpe(n.company_profile) : [], u = Wpe(n, e), d = xP(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 = gP(e), c = Hpe(e), l = s ? qpe(n.profile) : c ? Kpe(n.company_profile) : [], u = Gpe(n, e), d = bP(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)(() => {@@ -39450,7 +39450,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,@@ -39458,7 +39458,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,@@ -39471,14 +39471,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@@ -39499,9 +39499,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@@ -39510,11 +39510,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))@@ -39533,7 +39533,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@@ -39541,14 +39541,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)(dP, {+ }), i ? (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(uP, {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",@@ -39557,8 +39557,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 = vP(t), i = (e, t) => (r) => {+function $pe({ kind: e, entity: t, actions: n }) {+ let r = _P(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),@@ -39567,37 +39567,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)(SP, { entity: t }),+ /* @__PURE__ */ (0, V.jsx)(xP, { entity: t }),/* @__PURE__ */ (0, V.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, V.jsx)(fP, { name: "film" }), /* @__PURE__ */ (0, V.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, V.jsx)(dP, { name: "film" }), /* @__PURE__ */ (0, V.jsx)("span", { children: o })]}),a ? /* @__PURE__ */ (0, V.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, V.jsx)(fP, { name: "briefcase" }), /* @__PURE__ */ (0, V.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, V.jsx)(dP, { 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)(fP, { name: "id-card" }),+ /* @__PURE__ */ (0, V.jsx)(dP, { 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)(gP, {+ e.rest > 0 ? /* @__PURE__ */ (0, V.jsx)(hP, {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)) })@@ -39619,21 +39619,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)(SP, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, V.jsx)(xP, { entity: t }) : null,/* @__PURE__ */ (0, V.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, V.jsx)(fP, { name: "film" }), /* @__PURE__ */ (0, V.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, V.jsx)(dP, { 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)(fP, { name: "briefcase" }), /* @__PURE__ */ (0, V.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, V.jsx)(dP, { 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)(fP, { name: "clapperboard" }), /* @__PURE__ */ (0, V.jsx)("a", {+ children: [/* @__PURE__ */ (0, V.jsx)(dP, { name: "clapperboard" }), /* @__PURE__ */ (0, V.jsx)("a", {href: ue("studio", l.name),"data-studio-link": l.name,onClick: i("studio", l.name),@@ -39643,7 +39643,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)(fP, { name: "id-card" }), /* @__PURE__ */ (0, V.jsx)("span", {+ children: [/* @__PURE__ */ (0, V.jsx)(dP, { 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))@@ -39652,32 +39652,32 @@ function Qpe({ kind: e, entity: t, actions: n }) {]});}-function SP({ entity: e }) {+function xP({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, V.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, V.jsx)(fP, { name: "user-round" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, V.jsx)(dP, { 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)(fP, { 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)(dP, { 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)(gP, {+ }, e)), n ? /* @__PURE__ */ (0, V.jsx)(hP, {id: "entityTagPop",hook: "fact",rest: n,@@ -39692,10 +39692,10 @@ function tme({ tags: e }) {})}) : null] });}-function CP({ mark: e }) {+function SP({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, V.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, V.jsx)(fP, { name: e.brand })+ children: /* @__PURE__ */ (0, V.jsx)(dP, { 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", {@@ -39703,7 +39703,7 @@ function CP({ 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",@@ -39712,19 +39712,19 @@ function nme({ link: e }) {rel: "noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, V.jsx)(CP, { mark: e.mark })+ children: /* @__PURE__ */ (0, V.jsx)(SP, { 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)(CP, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, V.jsx)(SP, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, V.jsxs)("span", {"data-link": "private",title: e.label,- children: [/* @__PURE__ */ (0, V.jsx)(CP, { mark: { globe: !0 } }), /* @__PURE__ */ (0, V.jsxs)("span", {+ children: [/* @__PURE__ */ (0, V.jsx)(SP, { mark: { globe: !0 } }), /* @__PURE__ */ (0, V.jsxs)("span", {"data-link-label": "",children: ["来源 · ", e.label]})]@@ -39735,14 +39735,14 @@ function nme({ link: e }) {target: "_blank",rel: "noreferrer",title: e.title,- children: [/* @__PURE__ */ (0, V.jsx)(CP, { mark: e.mark }), /* @__PURE__ */ (0, V.jsx)("span", {+ children: [/* @__PURE__ */ (0, V.jsx)(SP, { 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);@@ -39760,33 +39760,33 @@ function rme({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, V.jsxs)("div", {"data-entry-marks": "",- children: [xP(e).map((e, t) => /* @__PURE__ */ (0, V.jsxs)("a", {+ children: [bP(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)(fP, { name: e.mark }) : /* @__PURE__ */ (0, V.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, V.jsx)(dP, { 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) {+function ame(e) {let { kind: t, name: n } = e, r = TS(pN(t, n)), i = !!r.data?.error, a = r.data?.redirect, { actions: o } = e;return (0, B.useLayoutEffect)(() => {i && o.missing();@@ -39802,17 +39802,17 @@ function ime(e) {o,a?.kind,a?.name- ]), r.isError ? /* @__PURE__ */ (0, V.jsx)(OA, {+ ]), r.isError ? /* @__PURE__ */ (0, V.jsx)(kA, {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 wP(e) {+function CP(e) {let [t, n] = (0, B.useState)({key: e,n: 1@@ -39824,14 +39824,14 @@ function wP(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) {+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 = kS(mN(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 || hN(p).length > 0, g = a.media === "photos" && h ? a : oN, [_, 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 = fN(e), E = TS(T), D = wP(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 = fN(e), E = TS(T), D = CP(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]);@@ -39844,7 +39844,7 @@ function sme(e) {}, j = (0, B.useCallback)((e, r) => dN(t, n, i, A, e, r), [D]), [M, N] = (0, B.useState)({}), P = g.set, ee = M[P] || "", F = kS({...mN(t, n, P, ee),enabled: S === "photos"- }), I = F.data?.pages[0], te = wP(JSON.stringify(cN(t, n, P, ee))), ne = (0, B.useMemo)(() => {+ }), I = F.data?.pages[0], te = CP(JSON.stringify(cN(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];@@ -40016,7 +40016,7 @@ function sme(e) {await z.fetchQuery(a).catch(() => null);return;}- let r = ame(), a = await z.fetchInfiniteQuery(mN(t, n, P, r)).catch(() => null);+ let r = ome(), a = await z.fetchInfiniteQuery(mN(t, n, P, r)).catch(() => null);!le.current || !a?.pages[0] || a.pages[0].error || N((e) => ({...e,[P]: r@@ -40077,7 +40077,7 @@ function sme(e) {Se = !E.data;let e = lN(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, hN(I).length) : Se = F.isPending;+ } else I && !I.error ? xe = ye ? `${I.title} · ${(I.total || 0).toLocaleString()} 张` : sme(I, hN(I).length) : Se = F.isPending;let Ce = (0, B.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -40094,7 +40094,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,@@ -40120,7 +40120,7 @@ function sme(e) {actions: R,helpers: he}), c.filter),- (0, $f.createPortal)(S === "videos" && E.isError ? /* @__PURE__ */ (0, V.jsx)(OA, {+ (0, $f.createPortal)(S === "videos" && E.isError ? /* @__PURE__ */ (0, V.jsx)(kA, {message: W(E.error),onRetry: () => {E.refetch();@@ -40151,7 +40151,7 @@ function sme(e) {}//#endregion//#region src/react/components/collection-summary.tsx-function TP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function wP({ 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@@ -40178,29 +40178,29 @@ function TP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !}//#endregion//#region src/react/duplicates/duplicates-page.tsx-var cme = vA("play"), lme = vA("file-stack"), ume = CE({+var lme = vA("play"), ume = vA("file-stack"), dme = wE({padding: "none",radius: "surface",className: "mb-6 overflow-hidden dark:bg-background-primary-default"-}), EP = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", DP = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", OP = "font-mono text-caption-1-regular leading-5 text-text-secondary", kP = () => {+}), TP = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", EP = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", DP = "font-mono text-caption-1-regular leading-5 text-text-secondary", OP = () => {z.invalidateQueries({- queryKey: HA,+ queryKey: UA,exact: !0}), z.invalidateQueries({queryKey: fM,exact: !0});};-function dme(e) {+function fme(e) {return e.identical ? /* @__PURE__ */ (0, V.jsx)("span", {- className: `${DP} text-(--keep)`,+ className: `${EP} text-(--keep)`,children: "sha1 一致"}) : /* @__PURE__ */ (0, V.jsx)("span", {- className: `${DP} text-text-secondary`,+ className: `${EP} 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",@@ -40210,7 +40210,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", {@@ -40234,55 +40234,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: `${EP} not-italic bg-background-primary-hover text-text-secondary`,+ className: `${TP} not-italic bg-background-primary-hover text-text-secondary`,children: "最大"}) : null, e.is_longest ? /* @__PURE__ */ (0, V.jsx)("i", {- className: `${EP} not-italic bg-(--keep)/22 text-(--keep)`,+ className: `${TP} not-italic bg-(--keep)/22 text-(--keep)`,children: "最长"}) : null]}) : null]}),/* @__PURE__ */ (0, V.jsxs)("span", {- className: `${OP} flex min-w-0 items-center gap-1.5`,- children: [/* @__PURE__ */ (0, V.jsx)(Bk, { mark: Se[e.location] || "database" }), /* @__PURE__ */ (0, V.jsx)("span", {+ className: `${DP} flex min-w-0 items-center gap-1.5`,+ children: [/* @__PURE__ */ (0, V.jsx)(Vk, { 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: OP,+ className: DP,children: pe(e.size || 0)}),/* @__PURE__ */ (0, V.jsx)("span", {- className: OP,+ className: DP,children: fe(e.duration)}),/* @__PURE__ */ (0, V.jsx)("span", {"data-middle-truncate": !0,title: e.path ?? "",- className: `${OP} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,+ className: `${DP} 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 }) {+function mme({ openItem: e, toast: t, failure: n }) {let r = TS({- queryKey: HA,- queryFn: ({ signal: e }) => WA(e)+ queryKey: UA,+ queryFn: ({ signal: e }) => GA(e)}), i = TS({queryKey: tt,queryFn: ({ signal: e }) => rt(e)}), [a, o] = (0, B.useState)(""), s = OS({- mutationFn: (e) => qA(e, "dispose"),+ mutationFn: (e) => JA(e, "dispose"),onSuccess: (e, r) => {- kP(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {+ OP(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {try {- await qA(r, "restore");+ await JA(r, "restore");} catch (e) {n("撤销移入回收站", e);} finally {- kP();+ OP();}} });},@@ -40296,12 +40296,12 @@ function pme({ openItem: e, toast: t, failure: n }) {children: r.error ? W(r.error) : "未取得重复文件列表,请刷新页面重试。"})});- let l = c.groups ?? [], u = zle(i.data), d = ({ groups: e, keep: t, key: n }) => {+ let l = c.groups ?? [], u = Rle(i.data), d = ({ groups: e, keep: t, key: n }) => {if (s.isPending) return;- let r = Wle(e, t);+ let r = Ule(e, t);r.length && Te({title: "移入回收站",- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${GA[t] ?? GA.largest}。文件共 ${pe(Gle(e, r))},记录可从回收站还原。`,+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${KA[t] ?? KA.largest}。文件共 ${pe(Wle(e, r))},记录可从回收站还原。`,confirmLabel: "移入回收站",onConfirm: () => (o(n), s.mutateAsync(r))});@@ -40309,7 +40309,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)(TP, {+ /* @__PURE__ */ (0, V.jsx)(wP, {label: "重复内容",figure: `${Number(c.total || 0).toLocaleString()} 组`,detail: `${c.files} 个文件 · 可回收 ${pe(c.reclaimable)}`@@ -40335,7 +40335,7 @@ function pme({ openItem: e, toast: t, failure: n }) {}),children: "全部保留最长"}),- Ule(l, u).map((e) => /* @__PURE__ */ (0, V.jsx)(cA, {+ Hle(l, u).map((e) => /* @__PURE__ */ (0, V.jsx)(cA, {busy: a === `all:${e}`,onPress: () => d({groups: l,@@ -40358,7 +40358,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: [@@ -40370,9 +40370,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: `${DP} text-text-secondary`,+ className: `${EP} text-text-secondary`,children: `跨盘 ${t.drives.join(" ")}`}) : null,/* @__PURE__ */ (0, V.jsxs)("span", {@@ -40400,7 +40400,7 @@ function pme({ openItem: e, toast: t, failure: n }) {}),children: "留最长"}),- KA(t.files, u).map((e) => /* @__PURE__ */ (0, V.jsx)(J, {+ qA(t.files, u).map((e) => /* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",size: "small",...f(i(e)),@@ -40425,13 +40425,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)(wE, {- icon: lme,+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {+ icon: ume,title: "没有找到重复文件",children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"})@@ -40440,23 +40440,23 @@ function pme({ openItem: e, toast: t, failure: n }) {}//#endregion//#region src/react/diagnostics/diagnostics.ts-var AP = ["diagnostics"], jP = (e) => G("/api/diagnostics", e);-async function mme(e) {+var kP = ["diagnostics"], AP = (e) => G("/api/diagnostics", e);+async function hme(e) {await z.fetchQuery({- queryKey: AP,- queryFn: () => jP(e),+ queryKey: kP,+ queryFn: () => AP(e),staleTime: 1e4});}//#endregion//#region src/react/diagnostics/diagnostics-page.tsx-var MP = {+var jP = {ok: "正常",warning: "需检查",failed: "需处理",unknown: "未取得",disabled: "未配置"-}, hme = [+}, gme = [["媒体库与挂载", ["media_mounts", "data_root"]],["数据库与迁移", ["database", "schema"]],["工具", ["ffmpeg"]],@@ -40467,8 +40467,8 @@ var MP = {"version"]],["后台任务", ["tasks"]]-], NP = (e) => new Date(e).toLocaleString();-function gme({ name: e, check: t, navigate: n, configure: r }) {+], MP = (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",@@ -40480,7 +40480,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: MP[t.status] ?? "未取得"+ children: jP[t.status] ?? "未取得"})]}),/* @__PURE__ */ (0, V.jsx)("p", {@@ -40500,14 +40500,14 @@ function gme({ name: e, check: t, navigate: n, configure: r }) {]});}-function _me({ group: e, openItem: t, receipt: n }) {- let r = kE(), i = OM(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");- return /* @__PURE__ */ (0, V.jsx)(zk, {+function vme({ group: e, openItem: t, receipt: n }) {+ let r = AE(), i = OM(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");+ return /* @__PURE__ */ (0, V.jsx)(Bk, {summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count} 项`}`,children: e.count === null ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "neutral",children: "清单未取得,请重新检查。"- }) : e.items.length ? /* @__PURE__ */ (0, V.jsxs)(jk, { children: [+ }) : e.items.length ? /* @__PURE__ */ (0, V.jsxs)(Mk, { children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2",children: [e.truncated ? /* @__PURE__ */ (0, V.jsxs)("span", {@@ -40542,20 +40542,20 @@ function _me({ group: e, openItem: t, receipt: n }) {}) }, e.id))})})- ] }) : /* @__PURE__ */ (0, V.jsx)(wE, {- icon: sae,+ ] }) : /* @__PURE__ */ (0, V.jsx)(TE, {+ icon: oae,title: "清单为空",shell: "plain",children: "没有需要处理的作品。"})});}-function vme(e) {+function yme(e) {let t = TS({- queryKey: AP,- queryFn: ({ signal: e }) => jP(e),+ queryKey: kP,+ queryFn: ({ signal: e }) => AP(e),staleTime: 1e4- }), n = kE(), [r, i] = (0, B.useState)(""), a = () => void n.run("refresh", async () => {+ }), n = AE(), [r, i] = (0, B.useState)(""), a = () => void n.run("refresh", async () => {let e = await t.refetch();if (e.error) throw e.error;return e.data;@@ -40576,27 +40576,27 @@ function vme(e) {tone: "error",children: r}) : null,- /* @__PURE__ */ (0, V.jsx)(kk, {+ /* @__PURE__ */ (0, V.jsx)(Ak, {title: "库健康",- children: /* @__PURE__ */ (0, V.jsxs)(jk, { children: [o.library.issue_at ? /* @__PURE__ */ (0, V.jsxs)("p", {+ children: /* @__PURE__ */ (0, V.jsxs)(Mk, { children: [o.library.issue_at ? /* @__PURE__ */ (0, V.jsxs)("p", {className: "text-body-2-regular text-text-secondary",- children: ["处理记录 · ", NP(o.library.issue_at)]- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, V.jsx)(_me, {+ children: ["处理记录 · ", MP(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)(kk, {+ gme.map(([t, n]) => /* @__PURE__ */ (0, V.jsx)(Ak, {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}, t) : null)}, t)),- /* @__PURE__ */ (0, V.jsx)(kk, {+ /* @__PURE__ */ (0, V.jsx)(Ak, {title: "来源会话",- children: /* @__PURE__ */ (0, V.jsxs)(jk, { children: [o.sources.map((e) => /* @__PURE__ */ (0, V.jsxs)("div", {+ children: /* @__PURE__ */ (0, V.jsxs)(Mk, { children: [o.sources.map((e) => /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-2",children: [/* @__PURE__ */ (0, V.jsxs)("h3", {@@ -40604,19 +40604,19 @@ function vme(e) {children: [e.label," · ",- MP[e.status]+ jP[e.status]]}),/* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-regular text-text-primary",children: e.reason}),- /* @__PURE__ */ (0, V.jsxs)(Lk, { children: [/* @__PURE__ */ (0, V.jsx)(Rk, {+ /* @__PURE__ */ (0, V.jsxs)(Rk, { children: [/* @__PURE__ */ (0, V.jsx)(zk, {term: "上次解析成功",- children: e.last_success_at ? NP(e.last_success_at) : "未取得"- }), /* @__PURE__ */ (0, V.jsx)(Rk, {+ children: e.last_success_at ? MP(e.last_success_at) : "未取得"+ }), /* @__PURE__ */ (0, V.jsx)(zk, {term: "冷却截止",- children: e.cooldown_until ? NP(e.cooldown_until) : "未在冷却"+ children: e.cooldown_until ? MP(e.cooldown_until) : "未在冷却"})] })]}, e.source)), /* @__PURE__ */ (0, V.jsx)("div", { children: /* @__PURE__ */ (0, V.jsx)(J, {@@ -40644,11 +40644,11 @@ function vme(e) {}//#endregion//#region src/react/feed-new/feed-new-page.tsx-function yme({ host: e, revision: t, helpers: n, actions: r }) {+function bme({ host: e, revision: t, helpers: n, actions: r }) {let i = TS(iN(null, n.feedRowHtml)), a = (0, B.useRef)(t);return (0, B.useEffect)(() => {a.current !== t && (a.current = t, z.invalidateQueries({ queryKey: rN(null) }));- }, [t]), (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(dP, {+ }, [t]), (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(uP, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,@@ -40658,7 +40658,7 @@ function yme({ host: e, revision: t, helpers: n, actions: r }) {}//#endregion//#region src/follow-sort.ts-var PP = [+var NP = [["checked", "检查时间"],["added", "添加时间"],["name", "创作者名称"],@@ -40666,7 +40666,7 @@ var PP = [["source", "来源名称"],["provider", "站点"],["status", "状态"]-], bme = "checked", FP = {+], xme = "checked", PP = {checked: "desc",added: "desc",name: "asc",@@ -40674,32 +40674,32 @@ var PP = [source: "asc",provider: "asc",status: "asc"-}, xme = (e) => PP.some(([t]) => t === e);-function IP(e, t) {- let n = xme(e) ? e : bme;+}, Sme = (e) => NP.some(([t]) => t === e);+function FP(e, t) {+ let n = Sme(e) ? e : xme;return {sort: n,- dir: t === "asc" || t === "desc" ? t : FP[n]+ dir: t === "asc" || t === "desc" ? t : PP[n]};}//#endregion//#region src/react/follow-manage/follow-manage.ts-var LP = "/api/follow", RP = "/api/follow/credentials", zP = "/api/follow/check", BP = "/api/follow/source", VP = "/api/follow/resolve", Sme = "/api/follow/suggest", HP = "/api/follow/author-alias", Cme = "/api/follow/credential", UP = "/api/follow/status", wme = "/api/feeds", WP = "/api/feeds/source", Tme = "/api/feeds/check", Eme = "/api/feeds/lookup", GP = ["follow-manage"], KP = ["follow-manage", "credentials"], Dme = ["follow-manage", "check"], Ome = ["follow-manage", "resolve"], qP = ["follow-manage", "feeds"], kme = (e) => [+var IP = "/api/follow", LP = "/api/follow/credentials", RP = "/api/follow/check", zP = "/api/follow/source", BP = "/api/follow/resolve", Cme = "/api/follow/suggest", VP = "/api/follow/author-alias", wme = "/api/follow/credential", HP = "/api/follow/status", Tme = "/api/feeds", UP = "/api/feeds/source", Eme = "/api/feeds/check", Dme = "/api/feeds/lookup", WP = ["follow-manage"], GP = ["follow-manage", "credentials"], Ome = ["follow-manage", "check"], kme = ["follow-manage", "resolve"], KP = ["follow-manage", "feeds"], Ame = (e) => ["follow-manage","suggest",e-], JP = [["default", "默认视图"], ["table", "表格视图"]], YP = [+], qP = [["default", "默认视图"], ["table", "表格视图"]], JP = [10,20,50,100-], Ame = Object.fromEntries(PP), XP = {+], jme = Object.fromEntries(NP), YP = {author: "name",source: "source",provider: "provider",status: "status",checked: "checked"-}, jme = (e) => JP.some(([t]) => t === e), Mme = (e) => YP.includes(Number(e)) ? Number(e) : 20, Nme = {+}, Mme = (e) => qP.some(([t]) => t === e), Nme = (e) => JP.includes(Number(e)) ? Number(e) : 20, Pme = {checked: ["从近到远", "从远到近"],added: ["从近到远", "从远到近"],name: ["倒序", "正序"],@@ -40707,25 +40707,25 @@ var LP = "/api/follow", RP = "/api/follow/credentials", zP = "/api/follow/check"source: ["倒序", "正序"],provider: ["倒序", "正序"],status: ["倒序", "正序"]-}, Pme = (e, t) => `按${Ame[e]}${Nme[e][t === "asc" ? 0 : 1]}排序`;-function ZP(e) {+}, Fme = (e, t) => `按${jme[e]}${Pme[e][t === "asc" ? 0 : 1]}排序`;+function XP(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 QP = (e) => e.last_status === "error" || e.last_status === "unauthorized", $P = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), eF = {- source: $P,- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || $P(e, t),- status: (e, t) => ZP(e) - ZP(t) || $P(e, t)-}, tF = (e) => Date.parse(e || "") || 0, nF = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();-function rF(e, t = []) {+var ZP = (e) => e.last_status === "error" || e.last_status === "unauthorized", QP = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), $P = {+ source: QP,+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || QP(e, t),+ status: (e, t) => XP(e) - XP(t) || QP(e, t)+}, eF = (e) => Date.parse(e || "") || 0, tF = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();+function nF(e, t = []) {if (!e.length) return "";- let n = (e) => String(e.author_name || "").trim() || nF(e.label), r = e.find((e) => e.entity_name);+ let n = (e) => String(e.author_name || "").trim() || tF(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 nF(i.canonical_name);+ if (i) return tF(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);@@ -40733,18 +40733,18 @@ function rF(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 iF(e) {+function rF(e) {let t = e.trim().match(/[A-Za-z0-9]/);return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();}-function aF(e) {+function iF(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 oF(e) {+function aF(e) {let t = [], n = /* @__PURE__ */ new Map();for (let r of e) {let e = r.author_key || `source:${r.id}`;@@ -40752,32 +40752,32 @@ function oF(e) {}return t.map((e) => n.get(e));}-function Ime(e, t, n, r = []) {- let i = oF(e), a = n === FP[t] ? 1 : -1, o = (e) => rF(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = eF[t];+function Lme(e, t, n, r = []) {+ let i = aF(e), a = n === PP[t] ? 1 : -1, o = (e) => nF(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = $P[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) => tF(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => tF(e.created_at)));+ let l = (e) => Math.max(...e.map((e) => eF(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => eF(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 = rF(e, r);+ let t = nF(e, r);return e.map((n) => ({source: n,group: e,author: t}));- }), a = eF[t];+ }), a = $P[t];if (a) {- let e = n === FP[t] ? 1 : -1;+ let e = n === PP[t] ? 1 : -1;i.sort((t, n) => e * a(t.source, n.source));}return i;}-function sF(e, t, n) {- let r = dj(e, t), i = fj(n, r), a = (i - 1) * t;+function oF(e, t, n) {+ let r = fj(e, t), i = pj(n, r), a = (i - 1) * t;return {page: i,pages: r,@@ -40786,91 +40786,91 @@ function sF(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 cF(e, t) {+function sF(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 lF(e, t, n) {+function cF(e, t, n) {let r = new Set(e);for (let e of t) n ? r.add(e) : r.delete(e);return r;}-var uF = (e) => G(`${LP}?summary=1`, e), dF = (e) => G(RP, e), zme = (e) => G(zP, e), Bme = (e) => G(VP, e), Vme = (e, t) => G(`${Sme}?q=${encodeURIComponent(e)}`, t), fF = (e) => K(zP, {+var lF = (e) => G(`${IP}?summary=1`, e), uF = (e) => G(LP, e), Bme = (e) => G(RP, e), Vme = (e) => G(BP, e), Hme = (e, t) => G(`${Cme}?q=${encodeURIComponent(e)}`, t), dF = (e) => K(RP, {...e?.length ? { sources: e } : {},background: !0-}), Hme = (e) => K(VP, {+}), Ume = (e) => K(BP, {lines: e,background: !0-}), pF = (e, t) => K(BP, {+}), fF = (e, t) => K(zP, {action: "enabled",id: e,enabled: t-}), mF = (e) => K(BP, {+}), pF = (e) => K(zP, {action: "remove",id: e-}), Ume = (e) => K(BP, {+}), Wme = (e) => K(zP, {action: "add",url: e.url,label: e.label,author: e.author || "",aliases: e.aliases || [],defer_check: !0-}), hF = (e, t) => K(HP, {+}), mF = (e, t) => K(VP, {action: "add",canonical: e,alias: t-}), Wme = (e) => K(HP, {+}), Gme = (e) => K(VP, {action: "remove",alias: e-}), Gme = (e, t) => K(Cme, {+}), Kme = (e, t) => K(wme, {provider: e,values: t-}), Kme = (e, t) => K(UP, {+}), qme = (e, t) => K(HP, {item: e,to: t-}), qme = () => G(`${LP}?status=new&limit=1000`);-async function gF(e) {- let t = await G(wme, e);+}), Jme = () => G(`${IP}?status=new&limit=1000`);+async function hF(e) {+ let t = await G(Tme, e);if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");return t;}-var _F = (e, t, n) => K(WP, {+var gF = (e, t, n) => K(UP, {action: "enabled",id: e,enabled: t-}, "POST", n), vF = (e, t) => K(WP, {+}, "POST", n), _F = (e, t) => K(UP, {action: "remove",id: e-}, "POST", t), yF = (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(WP, {+}, "POST", t), vF = (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(UP, {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: GP,- queryFn: () => uF(e)+ queryKey: WP,+ queryFn: () => lF(e)}),z.fetchQuery({- queryKey: KP,- queryFn: () => dF(e)+ queryKey: GP,+ queryFn: () => uF(e)}),t === "feeds" ? z.fetchQuery({- queryKey: qP,- queryFn: () => gF(e)+ queryKey: KP,+ queryFn: () => hF(e)}) : null]);}-function bF(e, t) {- z.setQueryData(GP, (n) => n && {+function yF(e, t) {+ z.setQueryData(WP, (n) => n && {...n,sources: n.sources.map((n) => n.id === e ? {...n,@@ -40878,24 +40878,24 @@ function bF(e, t) {} : n)});}-function xF(e) {+function bF(e) {let t = new Set(e);- z.setQueryData(GP, (e) => e && {+ z.setQueryData(WP, (e) => e && {...e,sources: e.sources.filter((e) => !t.has(e.id))});}-var SF = () => z.invalidateQueries({- queryKey: GP,+var xF = () => z.invalidateQueries({+ queryKey: WP,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 || "", CF = (e) => e.last_checked_at ? pj(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 || "", SF = (e) => e.last_checked_at ? mj(e.last_checked_at) : "未检查", the = /* @__PURE__ */ new Set(["fanbox","patreon","subscribestar",@@ -40908,50 +40908,50 @@ var Qme = (e) => (e?.results || []).filter((e) => !e.ok), $me = (e) => (e?.resul"gofile","f95zone","simpcity"-]), wF = (e) => ehe.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", the = {+]), CF = (e) => the.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", nhe = {required: "需要",optional: "可选",none: "不需要",blocked: "接不进来"-}, TF = (e) => !!e.present && !e.missing.length, nhe = [+}, wF = (e) => !!e.present && !e.missing.length, rhe = [["", "全部"],["new", "未看"],["saved", "已保存"],["ignored", "已忽略"]-], rhe = [+], ihe = [["new", "更新时间"],["hot", "热度"],["dur", "时长"]-], EF = {+], TF = {new: ["从新到旧", "从旧到新"],hot: ["从高到低", "从低到高"],dur: ["从长到短", "从短到长"]};-function DF(e, t) {+function EF(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}`);}-function OF(e, t) {+function DF(e, t) {return {queryKey: ["follow-feed",- DF(e, 0),+ EF(e, 0),t],- queryFn: ({ pageParam: t, signal: n }) => G(DF(e, t), n),+ queryFn: ({ pageParam: t, signal: n }) => G(EF(e, t), n),initialPageParam: 0,getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 300 : void 0,placeholderData: AS.keepPreviousData};}-var kF = ["follow-feed", "credentials"], AF = (e) => G(RP, e).catch(() => ({ providers: [] }));-async function ihe(e, t) {- let n = OF(e.view, e.revision);+var OF = ["follow-feed", "credentials"], kF = (e) => G(LP, e).catch(() => ({ providers: [] }));+async function ahe(e, t) {+ let n = DF(e.view, e.revision);z.removeQueries({queryKey: n.queryKey,exact: !0}), z.removeQueries({- queryKey: kF,+ queryKey: OF,exact: !0}), await Promise.all([z.fetchInfiniteQuery({queryKey: n.queryKey,@@ -40962,11 +40962,11 @@ async function ihe(e, t) {initialPageParam: 0,getNextPageParam: n.getNextPageParam}), z.fetchQuery({- queryKey: kF,- queryFn: () => AF(t)+ queryKey: OF,+ queryFn: () => kF(t)})]);}-function jF(e) {+function AF(e) {if (!e?.pages.length) return null;let t = e.pages, n = t[t.length - 1];return {@@ -40975,10 +40975,10 @@ function jF(e) {groups: t.flatMap((e) => e.groups || [])};}-function MF(e, t, n) {+function jF(e, t, n) {return [...e].sort((e, r) => be(n, t(e)) - be(n, t(r)) || String(t(e)).localeCompare(String(t(r))));}-function NF(e) {+function MF(e) {let t = /* @__PURE__ */ new Set();return [e.primary,@@ -40986,14 +40986,14 @@ function NF(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 = NF(t).find((t) => t.id === e);+ let n = MF(t).find((t) => t.id === e);if (n) return {item: n,group: t,@@ -41004,7 +41004,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)@@ -41014,7 +41014,7 @@ function ohe(e) {...t,groups: (t.groups || []).map((t) => {let n = (t) => t.id === e.id ? e : t;- return NF(t).some((t) => t.id === e.id) ? {+ return MF(t).some((t) => t.id === e.id) ? {...t,primary: n(t.primary),variants: t.variants.map(n),@@ -41024,39 +41024,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 && VF(n, null, e, t));+ }, (n) => n && BF(n, null, e, t));}-function PF(e) {- return NF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));+function NF(e) {+ return MF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));}-function FF(e) {+function PF(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 IF(e) {+function FF(e) {let t = /* @__PURE__ */ new Set();- return NF(e).forEach((e) => FF(e).forEach((e) => t.add(e))), t;+ return MF(e).forEach((e) => PF(e).forEach((e) => t.add(e))), t;}-function LF(e, t) {+function IF(e, t) {let n = t === "images" ? "image" : "video";- return PF(e).find((e) => FF(e).has(n)) || e.primary;+ return NF(e).find((e) => PF(e).has(n)) || e.primary;}-function RF(e) {- return PF(e).filter((e) => e.playable && e.media_kind === "video");+function LF(e) {+ return NF(e).filter((e) => e.playable && e.media_kind === "video");}-var zF = {+var RF = {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} ${zF[s] || zF.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} ${RF[s] || RF.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,@@ -41065,14 +41065,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 BF(e, t, n) {- return e === t ? EF[e] ? {+function zF(e, t, n) {+ return e === t ? TF[e] ? {sort: e,dir: n === "asc" ? "desc" : "asc"} : null : {@@ -41080,13 +41080,13 @@ function BF(e, t, n) {dir: "desc"};}-function uhe(e, t, n, r) {- let i = BF(e, n, r);+function dhe(e, t, n, r) {+ let i = zF(e, n, r);if (!i) return "";- let a = EF[i.sort];+ let a = TF[i.sort];return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;}-function VF(e, t, n, r) {+function BF(e, t, n, r) {let i = "", a = e.pages.map((e) => ({...e,groups: (e.groups || []).flatMap((e) => {@@ -41116,7 +41116,7 @@ function VF(e, t, n, r) {})};}-function dhe(e, t) {+function fhe(e, t) {let n = [];return e.author && n.push({kind: "创作者",@@ -41136,7 +41136,7 @@ function dhe(e, t) {label: e})), n;}-function fhe(e, t) {+function phe(e, t) {return t.kind === "创作者" ? {...e,author: ""@@ -41151,7 +41151,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;@@ -41160,7 +41160,7 @@ function phe(e, t) {}//#endregion//#region src/sidebar.ts-var mhe = [+var hhe = ["","follow","jav",@@ -41169,7 +41169,7 @@ var mhe = ["studios","flagged","manage"-], hhe = [+], ghe = ["playlists","immerse","stats",@@ -41179,77 +41179,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 HF = (e) => typeof e == "string" ? e : "", UF = (e) => e.aliases;-function WF(e, t = "") {- let n = wF(e);+var VF = (e) => typeof e == "string" ? e : "", HF = (e) => e.aliases;+function UF(e, t = "") {+ let n = CF(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${L(t)}"${t ? ` title="${L(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-var GF = (e, t) => rF(e, UF(t));-function KF(e, t) {- let { src: n, fallback: r } = aF(e), i = iF(t);+var WF = (e, t) => nF(e, HF(t));+function GF(e, t) {+ let { src: n, fallback: r } = iF(e), i = rF(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 qF(e, t, n) {- let r = UF(n), i = e.credit, a = i?.poster;+function KF(e, t, n) {+ let r = HF(n), i = e.credit, a = i?.poster;if (!a) {- let n = rF(t, r);+ let n = nF(t, r);return {- author: n || HF(e.author) || HF(e.source_label) || "创作者未取得",- avatar: KF(t, n),+ author: n || VF(e.author) || VF(e.source_label) || "创作者未取得",+ avatar: GF(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 && rF(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 && nF(c, r) || a;return {author: l,- avatar: KF(c, l),+ avatar: GF(c, l),credited: i.credited || ""};}-function JF(e, t = e.primary) {+function qF(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 = HF(e.primary.version);+ let i = VF(e.primary.version);i && n.push(r("version", L(i)));- let a = HF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = VF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function YF(e, t = e.primary) {+function JF(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]) => WF(e, t) || `<span>${L(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => UF(e, t) || `<span>${L(t)}</span>`).join("");return `<span data-follow-seealso="" title="另见 ${L([...n.values()].join("、"))}">另见 ${r}</span>`;}-function XF(e, t) {- let n = HF(e.media_error);+function YF(e, t) {+ let n = VF(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var ZF = (e) => e.published_at ? pj(e.published_at) : "时间未取得", QF = /* @__PURE__ */ new Set(), $F = [], eI = null;-function tI() {- if (eI = null, !$F.length) return;- let e = $F.splice(0, 200);+var XF = (e) => e.published_at ? mj(e.published_at) : "时间未取得", ZF = /* @__PURE__ */ new Set(), QF = [], $F = null;+function eI() {+ if ($F = null, !QF.length) return;+ let e = QF.splice(0, 200);ce("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), $F.length && (eI = setTimeout(tI, 800));+ }).catch(() => {}), QF.length && ($F = setTimeout(eI, 800));}-function _he(e, t, n, r) {+function vhe(e, t, n, r) {let i = `${e}:${t ?? ""}`;- QF.has(i) || (QF.add(i), $F.push(t === null ? {+ ZF.has(i) || (ZF.add(i), QF.push(t === null ? {item: e,width: n,height: r@@ -41258,15 +41258,15 @@ function _he(e, t, n, r) {width: n,height: r,media: t- }), eI ||= setTimeout(tI, 800));+ }), $F ||= setTimeout(eI, 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,@@ -41284,8 +41284,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 = LF(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" ? RF(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 = IF(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" ? LF(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,@@ -41293,7 +41293,7 @@ function xhe(e) {limit: 9}), S = (0, B.useRef)(x.faces);S.current = x.faces;- let C = PA({+ let C = FA({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -41301,7 +41301,7 @@ function xhe(e) {w.current = C.onPointerLeave;let T = (0, B.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), E = qF(u, n, i), D = ZF(u), O = (u.tags || []).slice(0, 3), k = XF(u, i), A = YF(t, u), j = u.status === "saved", M = (e) => {+ }, []), E = KF(u, n, i), D = XF(u), O = (u.tags || []).slice(0, 3), k = YF(u, i), A = JF(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);@@ -41334,7 +41334,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,@@ -41342,7 +41342,7 @@ function xhe(e) {onLearn: v}, p) : /* @__PURE__ */ (0, V.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: WF(u.resource_provider || u.provider) }+ dangerouslySetInnerHTML: { __html: UF(u.resource_provider || u.provider) }}),x.faces.length > 1 ? /* @__PURE__ */ (0, V.jsx)("div", {"data-mix-faces": "",@@ -41361,7 +41361,7 @@ function xhe(e) {"data-media-badge": "",title: u.provider_label,"aria-label": `来源:${u.provider_label || ""}`,- dangerouslySetInnerHTML: { __html: WF(u.provider) }+ dangerouslySetInnerHTML: { __html: UF(u.provider) }}),/* @__PURE__ */ (0, V.jsx)("span", {"data-media-check": "",@@ -41370,7 +41370,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,@@ -41452,7 +41452,7 @@ function xhe(e) {/* @__PURE__ */ (0, V.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: JF(t, u) + L(u.title) }+ dangerouslySetInnerHTML: { __html: qF(t, u) + L(u.title) }}),/* @__PURE__ */ (0, V.jsxs)("div", {"data-follow-byline": "",@@ -41463,7 +41463,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", {@@ -41499,10 +41499,10 @@ function xhe(e) {]});}-var She = (0, B.memo)(xhe), nI = () => /* @__PURE__ */ (0, V.jsx)("span", {+var Che = (0, B.memo)(She), tI = () => /* @__PURE__ */ (0, V.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), Che = vA("settings"), whe = vA("chevron-down"), The = vA("history"), Ehe = [[+}), whe = vA("settings"), The = vA("chevron-down"), Ehe = vA("history"), Dhe = [["fixed","固定比例","layout-grid"@@ -41511,19 +41511,19 @@ var She = (0, B.memo)(xhe), nI = () => /* @__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 = MF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = MF(o.works || [], (e) => e[0], n).slice(0, 24);+ let f = jF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = jF(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 = MF([...u], (e) => e[0], n).slice(0, 20);+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = jF([...u], (e) => e[0], n).slice(0, 20);t.tags.forEach((e) => {h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);});@@ -41531,7 +41531,7 @@ function Dhe(e, t, n) {videos: 0,images: 0};- r.forEach((e) => IF(e).forEach((e) => {+ r.forEach((e) => FF(e).forEach((e) => {g[e === "image" ? "images" : "videos"] += 1;}));let _ = t.media === "images" ? "image" : "video";@@ -41546,7 +41546,7 @@ function Dhe(e, t, n) {workRows: p,allCount: m,mediaCounts: g,- visible: r.filter((e) => IF(e).has(_)),+ visible: r.filter((e) => FF(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]])),@@ -41559,15 +41559,15 @@ function Dhe(e, t, n) {n]);}-function Ohe(e) {- let { view: t, seed: n, revision: r, actions: i } = e, a = OF(t, r), o = kS(a), s = TS({- queryKey: kF,- queryFn: ({ signal: e }) => AF(e)- }), c = (0, B.useMemo)(() => jF(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 = DF(t, r), o = kS(a), s = TS({+ queryKey: OF,+ queryFn: ({ signal: e }) => kF(e)+ }), c = (0, B.useMemo)(() => AF(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(NF).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(MF).map((e) => ({ tags: e.tags || [] }))), [d.visible]);(0, B.useEffect)(() => {p && i.loaded(m);}, [@@ -41575,20 +41575,20 @@ function Ohe(e) {m,i]);- let h = khe(e, !!c);- if (!c) return o.isError ? /* @__PURE__ */ (0, V.jsx)(OA, {+ let h = Ahe(e, !!c);+ if (!c) return o.isError ? /* @__PURE__ */ (0, V.jsx)(kA, {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, GF(t, u)])),+ authors: new Map([...d.authorSources].map(([e, t]) => [e, WF(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);@@ -41608,7 +41608,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: "管理关注"@@ -41625,20 +41625,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,@@ -41646,9 +41646,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: "",@@ -41656,11 +41656,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,@@ -41671,19 +41671,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)(zA, {+ children: /* @__PURE__ */ (0, V.jsxs)(BA, {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),@@ -41693,14 +41693,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@@ -41715,7 +41715,7 @@ function khe(e, t) {return m.current.helpers.jobProgress({host: e,active: () => t,- read: (e) => G(zP, e),+ read: (e) => G(RP, e),busy: (e) => {t && (f.current = e, s(e));},@@ -41740,7 +41740,7 @@ function khe(e, t) {f.current = !0, l(e ? "older" : "check");let t = !1;try {- let n = await K(zP, e ? {+ let n = await K(RP, e ? {older: !0,background: !0} : { background: !0 });@@ -41758,7 +41758,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);@@ -41775,16 +41775,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: KF(a, GF(a, n)) }+ dangerouslySetInnerHTML: { __html: GF(a, WF(a, n)) }}), /* @__PURE__ */ (0, V.jsx)("span", {"data-follow-name": "",- children: GF(a, n)+ children: WF(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);@@ -41805,7 +41805,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 = lA(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = lA(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);@@ -41863,7 +41863,7 @@ function Mhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: R(i) }}, e);})- }), /* @__PURE__ */ (0, V.jsx)(nI, {})] }) : null, /* @__PURE__ */ (0, V.jsxs)("div", {+ }), /* @__PURE__ */ (0, V.jsx)(tI, {})] }) : null, /* @__PURE__ */ (0, V.jsxs)("div", {ref: f,"data-entity-scroll": "",children: [/* @__PURE__ */ (0, V.jsxs)("div", {@@ -41872,7 +41872,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,@@ -41883,7 +41883,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)(nI, {}) : null]+ }, e)), v ? /* @__PURE__ */ (0, V.jsx)(tI, {}) : null]}), /* @__PURE__ */ (0, V.jsxs)("div", {ref: p,"data-entity-tags": "",@@ -41896,13 +41896,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: WF(t) }+ dangerouslySetInnerHTML: { __html: UF(t) }}, t)),- _.length && e.tagRows.length ? /* @__PURE__ */ (0, V.jsx)(nI, {}) : null,+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, V.jsx)(tI, {}) : null,e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, V.jsxs)(sA, {"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", {@@ -41924,7 +41924,7 @@ function Mhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {y ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(xA, {label: "图片布局",value: i.photoLayout,- options: Ehe,+ options: Dhe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",@@ -41941,7 +41941,7 @@ function Mhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- rhe.map(([e, n]) => {+ ihe.map(([e, n]) => {let r = t.sort === e, i = vA(t.dir === "asc" ? "arrow-up" : "arrow-down");return /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",@@ -41949,9 +41949,9 @@ function Mhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"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 = BF(e, t.sort, t.dir);+ let n = zF(e, t.sort, t.dir);n && a(n);},children: [n, r ? /* @__PURE__ */ (0, V.jsx)(i, { className: "size-3.5" }) : null]@@ -41961,7 +41961,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": "",@@ -41986,7 +41986,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) => {@@ -41995,12 +41995,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 = DA(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 = OA(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,@@ -42009,38 +42009,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(rI(t, a)),+ selected: r.selected.has(nI(t, a)),selectMode: r.selectMode,- busy: s.busy.get(rI(t, a)) || "",- failure: s.failures.get(rI(t, a)) || "",+ busy: s.busy.get(nI(t, a)) || "",+ failure: s.failures.get(nI(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 rI(e, t) {- return LF(e, t.media).id;+function nI(e, t) {+ return IF(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": "",@@ -42048,22 +42048,22 @@ 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 = OF(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 = DF(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 && VF(r, t, e, n));+ z.setQueryData(c, (r) => r && BF(r, t, e, n));}, d = () => void z.invalidateQueries({queryKey: c,exact: !0}), f = (e) => {- let t = jF(z.getQueryData(c));+ let t = AF(z.getQueryData(c));for (let n of t?.groups || []) for (let t of [n.primary,...n.variants,@@ -42071,13 +42071,13 @@ function zhe(e) {]) if (t.id === e) return t.status;return "new";}, p = OS({- mutationFn: ({ id: e, to: t }) => K(UP, {+ mutationFn: ({ id: e, to: t }) => K(HP, {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(UP, {+ u(t, n), d(), r.toast(zhe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ await K(HP, {item: t,to: i}), u(t, i), d();@@ -42122,8 +42122,8 @@ function zhe(e) {}//#endregion//#region src/react/follow-manage/source-view.tsx-function iI({ provider: e, label: t }) {- let n = wF(e), [r, i] = (0, B.useState)(!1);+function rI({ provider: e, label: t }) {+ let n = CF(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: "",@@ -42134,8 +42134,8 @@ function iI({ provider: e, label: t }) {className: "size-3.5 shrink-0 rounded-sm object-contain"}), t ? /* @__PURE__ */ (0, V.jsx)(H_, { children: t }) : null] });}-function aI({ group: e, name: t }) {- let { src: n, fallback: r } = aF(e), [i, a] = (0, B.useState)(0), o = [n, r].filter(Boolean)[i];+function iI({ group: e, name: t }) {+ let { src: n, fallback: r } = iF(e), [i, a] = (0, B.useState)(0), o = [n, r].filter(Boolean)[i];return o ? /* @__PURE__ */ (0, V.jsx)("img", {src: o,alt: "",@@ -42148,18 +42148,18 @@ function aI({ 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: iF(t)+ children: rF(t)});}-function oI({ source: e }) {- let t = QP(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";- return /* @__PURE__ */ (0, V.jsx)(bE, {+function aI({ source: e }) {+ let t = ZP(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";+ return /* @__PURE__ */ (0, V.jsx)(xE, {variant: "caption",color: t,- children: Fme(e)+ children: Ime(e)});}-function sI({ source: e }) {+function oI({ source: e }) {return /* @__PURE__ */ (0, V.jsxs)("a", {href: e.url,target: "_blank",@@ -42174,11 +42174,11 @@ function sI({ source: e }) {}//#endregion//#region src/react/follow-manage/add-source.tsx-var cI = _E(yk, bk, "text-body-2-medium"), Bhe = "粘贴来源链接,或输入创作者名、id…", Vhe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Hhe = "识别中…", Uhe = "站内没有查到来源", lI = (e, t) => `${e}:${t.url}`;-function Whe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {+var sI = vE(bk, xk, "text-body-2-medium"), Vhe = "粘贴来源链接,或输入创作者名、id…", Hhe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Uhe = "识别中…", Whe = "站内没有查到来源", cI = (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)(hO, {+ }, [t, r]), /* @__PURE__ */ (0, V.jsxs)(gO, {ref: t,triggerRef: e,isOpen: !0,@@ -42190,17 +42190,17 @@ function Whe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onCplacement: "bottom start",offset: 4,"aria-label": "来源建议",- className: _E(vk, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),+ className: vE(yk, "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)(TE, { label: "正在查找建议" })+ children: /* @__PURE__ */ (0, V.jsx)(EE, { label: "正在查找建议" })}) : null, n.map((e, t) => /* @__PURE__ */ (0, V.jsxs)(B.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, V.jsx)("div", {className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",children: e.group}), /* @__PURE__ */ (0, V.jsxs)("button", {type: "button","aria-current": t === r ? "true" : void 0,- className: t === r ? _E(cI, "bg-background-secondary-default") : cI,+ className: t === r ? vE(sI, "bg-background-secondary-default") : sI,onMouseDown: (e) => e.preventDefault(),onClick: () => a(e.value),children: [@@ -42220,7 +42220,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);@@ -42228,20 +42228,20 @@ function Ghe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(J, {ref: i,variant: "secondary",- leadingIcon: cae,+ leadingIcon: sae,"aria-haspopup": "dialog","aria-expanded": a,"aria-label": l,onClick: () => o(!0),children: l- }), /* @__PURE__ */ (0, V.jsx)(hO, {+ }), /* @__PURE__ */ (0, V.jsx)(gO, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom end",offset: 4,- className: vk,- children: /* @__PURE__ */ (0, V.jsxs)(EO, {+ className: yk,+ children: /* @__PURE__ */ (0, V.jsxs)(DO, {"aria-label": "来源筛选",className: "flex w-64 flex-col gap-1 outline-none",children: [s.length ? /* @__PURE__ */ (0, V.jsxs)("div", {@@ -42257,7 +42257,7 @@ function Ghe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {onClick: () => n(new Set(s.map((e) => e.provider_label))),children: "全不选"})]- }) : /* @__PURE__ */ (0, V.jsx)(Nk, { children: "暂无可用来源" }), s.map((e) => {+ }) : /* @__PURE__ */ (0, V.jsx)(Pk, { children: "暂无可用来源" }), s.map((e) => {let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex items-center gap-2",@@ -42266,7 +42266,7 @@ function Ghe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {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)(iI, { provider: e.provider }), e.provider_label]+ children: [/* @__PURE__ */ (0, V.jsx)(rI, { provider: e.provider }), e.provider_label]})}), n ? /* @__PURE__ */ (0, V.jsx)(J, {variant: "ghost",@@ -42282,7 +42282,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,@@ -42290,7 +42290,7 @@ function Khe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {});let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});return /* @__PURE__ */ (0, V.jsxs)("div", {- className: CE({+ className: wE({variant: "outlined",padding: "none",className: "flex flex-col gap-2 p-4"@@ -42301,7 +42301,7 @@ function Khe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {children: e.line}),a.length ? a.map((e) => {- let n = lI(t, e);+ let n = cI(t, e);return /* @__PURE__ */ (0, V.jsx)(BM, {isSelected: !e.known && !r.has(n),isDisabled: e.known,@@ -42309,7 +42309,7 @@ function Khe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {children: /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 flex-wrap items-center gap-1.5",children: [- /* @__PURE__ */ (0, V.jsx)(iI, { provider: e.provider }),+ /* @__PURE__ */ (0, V.jsx)(rI, { provider: e.provider }),/* @__PURE__ */ (0, V.jsx)("b", {className: "text-body-medium",children: e.provider_label@@ -42325,22 +42325,22 @@ function Khe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {]})}, n);- }) : /* @__PURE__ */ (0, V.jsx)(Nk, { children: Uhe }),+ }) : /* @__PURE__ */ (0, V.jsx)(Pk, { 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", {className: "text-caption-1-regular text-text-secondary",children: e.evidence- }), /* @__PURE__ */ (0, V.jsx)(Ik, {+ }), /* @__PURE__ */ (0, V.jsx)(Lk, {href: e.url,children: `${e.label}:${e.query}`})]}, e.url)),- o.length ? /* @__PURE__ */ (0, V.jsx)(Nk, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null+ o.length ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null]});}-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();@@ -42352,8 +42352,8 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:return () => clearTimeout(t);}, [a]);let D = TS({- queryKey: kme(l),- queryFn: ({ signal: e }) => Vme(l, e),+ 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,@@ -42361,9 +42361,9 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:n: t.n || 0,group: e.label}))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = IM({- queryKey: Ome,- queryFn: ({ signal: e }) => Bme(e),- start: (e) => Hme([e]),+ queryKey: kme,+ queryFn: ({ signal: e }) => Vme(e),+ start: (e) => Ume([e]),onStarted: () => S(/* @__PURE__ */ new Set()),onError: (e) => w(W(e)),onFinish: (e) => {@@ -42397,14 +42397,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: lI(t, e)+ key: cI(t, e)})).filter((e) => !x.has(e.key))), ie = OS({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)}`);@@ -42412,7 +42412,7 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:E((e) => e + 1);}if (n.length) try {- await fF(n);+ await dF(n);} catch (e) {t.push(W(e));}@@ -42422,7 +42422,7 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:};},onSuccess: (e) => {- if (SF(), e.failures.length) {+ if (xF(), e.failures.length) {w(e.failures.join(";"));return;}@@ -42431,7 +42431,7 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:onError: (e) => w(W(e))}), ae = e.suggestions || [], oe = !s.includes("/");return /* @__PURE__ */ (0, V.jsxs)("div", {- className: CE({+ className: wE({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -42451,15 +42451,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)(_k, {+ children: [/* @__PURE__ */ (0, V.jsx)(vk, {"aria-label": "来源链接、名字或 id",- placeholder: Bhe,+ placeholder: Vhe,value: a,- leadingIcon: TT,+ leadingIcon: ET,isDisabled: n,onChange: o,onKeyDown: te- }), F ? /* @__PURE__ */ (0, V.jsx)(Whe, {+ }), F ? /* @__PURE__ */ (0, V.jsx)(Ghe, {field: _,menu: v,options: O,@@ -42469,7 +42469,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,@@ -42489,7 +42489,7 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:className: "flex flex-col gap-3 empty:hidden",children: [A || M.isPending ? /* @__PURE__ */ (0, V.jsx)(MM, {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, {@@ -42501,8 +42501,8 @@ function qhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:ne.length ? /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, V.jsx)(Fk, { children: "查找结果" }),- ne.map((e, t) => /* @__PURE__ */ (0, V.jsx)(Khe, {+ /* @__PURE__ */ (0, V.jsx)(Ik, { children: "查找结果" }),+ ne.map((e, t) => /* @__PURE__ */ (0, V.jsx)(qhe, {row: e,at: t,hidden: y,@@ -42557,16 +42557,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}」,对应来源恢复为独立创作者组。`, uI = (e) => e.alias;-function Yhe(e, t, n) {+var Yhe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, lI = (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 dI({ sources: e, name: t, canonicalKey: n }) {+function uI({ sources: e, name: t, canonicalKey: n }) {return /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, V.jsx)(aI, {- group: Yhe(e, t, n),+ children: [/* @__PURE__ */ (0, V.jsx)(iI, {+ group: Xhe(e, t, n),name: t}), /* @__PURE__ */ (0, V.jsx)("b", {className: "text-body-medium",@@ -42574,15 +42574,15 @@ function dI({ sources: e, name: t, canonicalKey: n }) {})]});}-function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {+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 = OS({mutationFn: async (e) => {let t = 0;for (let n of e) {try {- await hF(n.canonical, n.alias);+ await mF(n.canonical, n.alias);} catch (n) {- throw t && SF(), Error(`${W(n)}(还有 ${e.length - t} 组没有合并)`);+ throw t && xF(), Error(`${W(n)}(还有 ${e.length - t} 组没有合并)`);}t += 1;}@@ -42592,19 +42592,19 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i};},onSuccess: (e) => {- c(""), o(/* @__PURE__ */ new Set()), SF(), i(`已合并 ${e.done} 组创作者别名`);+ c(""), o(/* @__PURE__ */ new Set()), xF(), i(`已合并 ${e.done} 组创作者别名`);},onError: (e) => c(W(e))}), m = OS({- mutationFn: (e) => hF(e.canonical, e.alias),+ mutationFn: (e) => mF(e.canonical, e.alias),onSuccess: () => {- c(""), u(""), f(""), SF(), i("已保存创作者别名");+ c(""), u(""), f(""), xF(), i("已保存创作者别名");},onError: (e) => c(W(e))}), h = OS({- mutationFn: (e) => Wme(e),+ mutationFn: (e) => Gme(e),onSuccess: () => {- c(""), SF(), i("已移除创作者别名");+ c(""), xF(), i("已移除创作者别名");},onError: (e) => c(W(e))}), g = (e, t) => {@@ -42614,9 +42614,9 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iconfirmLabel: t ? "合并全部别名" : "合并所选别名",onConfirm: () => p.mutateAsync(e)});- }, _ = t.filter((e) => a.has(uI(e))), v = t.length > 0 && _.length === t.length, y = X(p.isPending);+ }, _ = t.filter((e) => a.has(lI(e))), v = t.length > 0 && _.length === t.length, y = X(p.isPending);return /* @__PURE__ */ (0, V.jsxs)("div", {- className: CE({+ className: wE({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -42627,10 +42627,10 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, V.jsx)(Fk, { children: "手动添加别名" }), /* @__PURE__ */ (0, V.jsxs)("div", {+ children: [/* @__PURE__ */ (0, V.jsx)(Ik, { children: "手动添加别名" }), /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-end gap-2",children: [- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {"aria-label": "规范创作者名",placeholder: "规范创作者名",value: l,@@ -42638,7 +42638,7 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iisDisabled: r,className: "w-56"}),- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {"aria-label": "平台别名",placeholder: "平台别名",value: d,@@ -42659,13 +42659,13 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i]})]}),- s ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: s }) : null,+ s ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: s }) : null,t.length ? /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-2",children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, V.jsx)(Fk, { children: "待合并" }),+ /* @__PURE__ */ (0, V.jsx)(Ik, { children: "待合并" }),/* @__PURE__ */ (0, V.jsx)("span", {className: "mr-auto text-body-2-regular text-text-secondary",children: `${t.length} 组`@@ -42690,41 +42690,41 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}), /* @__PURE__ */ (0, V.jsx)(UM, { children: /* @__PURE__ */ (0, V.jsxs)(VM, {"aria-label": "待合并创作者别名",size: "sm",- children: [/* @__PURE__ */ (0, V.jsxs)(XO, { children: [- /* @__PURE__ */ (0, V.jsx)(ZO, {+ children: [/* @__PURE__ */ (0, V.jsxs)(ZO, { children: [+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "select",children: /* @__PURE__ */ (0, V.jsx)(BM, {slot: null,isSelected: v,isIndeterminate: _.length > 0 && !v,"aria-label": "全选待合并别名",- onChange: (e) => o(e ? new Set(t.map(uI)) : /* @__PURE__ */ new Set())+ onChange: (e) => o(e ? new Set(t.map(lI)) : /* @__PURE__ */ new Set())})}),- /* @__PURE__ */ (0, V.jsx)(ZO, {+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "canonical",children: "规范创作者"}),- /* @__PURE__ */ (0, V.jsx)(ZO, {+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "alias",isRowHeader: !0,children: "平台别名"}),- /* @__PURE__ */ (0, V.jsx)(ZO, {+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "evidence",children: "依据"}),- /* @__PURE__ */ (0, V.jsx)(ZO, {+ /* @__PURE__ */ (0, V.jsx)(QO, {id: "actions",children: "操作"})- ] }), /* @__PURE__ */ (0, V.jsx)($O, { children: t.map((e) => {- let t = uI(e);- return /* @__PURE__ */ (0, V.jsxs)(nk, {+ ] }), /* @__PURE__ */ (0, V.jsx)(ek, { children: t.map((e) => {+ let t = lI(e);+ return /* @__PURE__ */ (0, V.jsxs)(rk, {id: t,"data-board-selected": a.has(t) || void 0,children: [- /* @__PURE__ */ (0, V.jsx)(ik, { children: /* @__PURE__ */ (0, V.jsx)(BM, {+ /* @__PURE__ */ (0, V.jsx)(ak, { children: /* @__PURE__ */ (0, V.jsx)(BM, {slot: null,isSelected: a.has(t),"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,@@ -42733,16 +42733,16 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ie ? n.add(t) : n.delete(t), o(n);}}) }),- /* @__PURE__ */ (0, V.jsx)(ik, { children: /* @__PURE__ */ (0, V.jsx)(dI, {+ /* @__PURE__ */ (0, V.jsx)(ak, { children: /* @__PURE__ */ (0, V.jsx)(uI, {sources: n,name: e.canonical}) }),- /* @__PURE__ */ (0, V.jsx)(ik, { children: e.alias }),- /* @__PURE__ */ (0, V.jsx)(ik, { children: /* @__PURE__ */ (0, V.jsx)("span", {+ /* @__PURE__ */ (0, V.jsx)(ak, { children: e.alias }),+ /* @__PURE__ */ (0, V.jsx)(ak, { children: /* @__PURE__ */ (0, V.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: e.evidence}) }),- /* @__PURE__ */ (0, V.jsx)(ik, { children: /* @__PURE__ */ (0, V.jsx)(J, {+ /* @__PURE__ */ (0, V.jsx)(ak, { children: /* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",size: "small",disabled: r,@@ -42759,27 +42759,27 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: iclassName: "flex flex-col gap-2",children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, V.jsx)(Fk, { children: "已保存别名" }), /* @__PURE__ */ (0, V.jsx)("span", {+ children: [/* @__PURE__ */ (0, V.jsx)(Ik, { children: "已保存别名" }), /* @__PURE__ */ (0, V.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: `${e.length} 组`})]}), e.length ? /* @__PURE__ */ (0, V.jsx)(UM, { children: /* @__PURE__ */ (0, V.jsxs)(VM, {"aria-label": "已保存创作者别名",size: "sm",- children: [/* @__PURE__ */ (0, V.jsxs)(XO, { children: [/* @__PURE__ */ (0, V.jsx)(ZO, {+ children: [/* @__PURE__ */ (0, V.jsxs)(ZO, { children: [/* @__PURE__ */ (0, V.jsx)(QO, {id: "canonical",isRowHeader: !0,children: "规范创作者"- }), /* @__PURE__ */ (0, V.jsx)(ZO, {+ }), /* @__PURE__ */ (0, V.jsx)(QO, {id: "aliases",children: "平台别名"- })] }), /* @__PURE__ */ (0, V.jsx)($O, { children: e.map((e) => /* @__PURE__ */ (0, V.jsxs)(nk, {+ })] }), /* @__PURE__ */ (0, V.jsx)(ek, { children: e.map((e) => /* @__PURE__ */ (0, V.jsxs)(rk, {id: e.canonical_key,- children: [/* @__PURE__ */ (0, V.jsx)(ik, { children: /* @__PURE__ */ (0, V.jsx)(dI, {+ children: [/* @__PURE__ */ (0, V.jsx)(ak, { children: /* @__PURE__ */ (0, V.jsx)(uI, {sources: n,name: e.canonical_name,canonicalKey: e.canonical_key- }) }), /* @__PURE__ */ (0, V.jsx)(ik, { children: /* @__PURE__ */ (0, V.jsx)("span", {+ }) }), /* @__PURE__ */ (0, V.jsx)(ak, { children: /* @__PURE__ */ (0, V.jsx)("span", {className: "flex flex-wrap items-center gap-1.5",children: e.aliases.map((e) => /* @__PURE__ */ (0, V.jsxs)("span", {className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",@@ -42787,13 +42787,13 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: ivariant: "ghost",size: "xs",iconOnly: !0,- leadingIcon: fT,+ leadingIcon: pT,"aria-label": `移除别名 ${e.name}`,disabled: r,...X(h.isPending),onClick: () => void Te({title: "移除创作者别名",- body: Jhe(e.name),+ body: Yhe(e.name),confirmLabel: "移除创作者别名",onConfirm: () => h.mutateAsync(e.name)})@@ -42801,9 +42801,9 @@ function Xhe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i}, e.key))}) })]}, e.canonical_key)) })]- }) }) : /* @__PURE__ */ (0, V.jsx)(wE, {+ }) }) : /* @__PURE__ */ (0, V.jsx)(TE, {shell: "plain",- icon: DT,+ icon: OT,title: "还没有保存创作者别名",children: "填写规范创作者名和平台别名以添加。"})]@@ -42813,33 +42813,33 @@ 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 (TF(e)) return /* @__PURE__ */ (0, V.jsx)(bE, {+function rge({ row: e }) {+ if (wF(e)) return /* @__PURE__ */ (0, V.jsx)(xE, {variant: "caption",color: "lime",children: "已配置"});let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";- return /* @__PURE__ */ (0, V.jsx)(bE, {+ return /* @__PURE__ */ (0, V.jsx)(xE, {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 = TF(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 = wF(e), c = OS({+ mutationFn: (t) => Kme(e.provider, t),onSuccess: (e, t) => {if (e.note) {o(e.note);return;}o(""), i({}), z.invalidateQueries({- queryKey: KP,+ queryKey: GP,exact: !0}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");},@@ -42855,17 +42855,17 @@ function rge({ row: e, readOnly: t, toast: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, V.jsxs)(Nk, { children: [e.why, e.where ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [" ", /* @__PURE__ */ (0, V.jsx)(Ik, {+ /* @__PURE__ */ (0, V.jsxs)(Pk, { children: [e.why, e.where ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [" ", /* @__PURE__ */ (0, V.jsx)(Lk, {href: e.where,children: "去取"})] }) : null] }),- e.howto ? /* @__PURE__ */ (0, V.jsx)(Nk, { children: e.howto }) : null,+ e.howto ? /* @__PURE__ */ (0, V.jsx)(Pk, { 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)(_k, {+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, V.jsx)(vk, {type: "password",label: n,- placeholder: tge(e, n),+ placeholder: nge(e, n),autoComplete: "off",spellCheck: "false",isDisabled: t,@@ -42893,7 +42893,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({})@@ -42901,8 +42901,8 @@ function rge({ row: e, readOnly: t, toast: n }) {children: "清除"}) : null]}),- a ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: a }) : null,- (e.shared_fields || []).length ? /* @__PURE__ */ (0, V.jsx)(Nk, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,+ a ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: a }) : null,+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,e.path ? /* @__PURE__ */ (0, V.jsx)(jM, {path: e.path,className: "font-mono text-caption-1-regular text-text-tertiary",@@ -42911,18 +42911,18 @@ 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)(iI, { provider: e.provider })+ children: /* @__PURE__ */ (0, V.jsx)(rI, { provider: e.provider })}),/* @__PURE__ */ (0, V.jsx)("b", {className: "text-body-medium text-text-primary",@@ -42932,8 +42932,8 @@ function ige({ row: e, readOnly: t, toast: n }) {className: "text-caption-1-regular text-text-secondary",children: e.nature}) : null,- /* @__PURE__ */ (0, V.jsx)(nge, { row: e }),- e.missing.length ? /* @__PURE__ */ (0, V.jsx)(bE, {+ /* @__PURE__ */ (0, V.jsx)(rge, { row: e }),+ e.missing.length ? /* @__PURE__ */ (0, V.jsx)(xE, {variant: "caption",color: "rose",children: `缺 ${e.missing.join("、")}`@@ -42942,13 +42942,13 @@ function ige({ row: e, readOnly: t, toast: n }) {});return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, V.jsx)(Nk, { children: e.why }) : null]+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: e.why }) : null]}) : /* @__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)(zk, {- summary: TF(e) ? "修改凭据" : "填写凭据",- defaultOpen: e.requirement === "required" && !TF(e),- children: /* @__PURE__ */ (0, V.jsx)(rge, {+ children: [r, /* @__PURE__ */ (0, V.jsx)(Bk, {+ summary: wF(e) ? "修改凭据" : "填写凭据",+ defaultOpen: e.requirement === "required" && !wF(e),+ children: /* @__PURE__ */ (0, V.jsx)(ige, {row: e,readOnly: t,toast: n@@ -42956,10 +42956,10 @@ 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" && !TF(e));+function oge({ data: e, readOnly: t, toast: n }) {+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !wF(e));return r.length ? /* @__PURE__ */ (0, V.jsxs)("div", {- className: CE({+ className: wE({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -42994,12 +42994,12 @@ function age({ data: e, readOnly: t, toast: n }) {className: "text-body-medium text-text-secondary",children: e.title}), /* @__PURE__ */ (0, V.jsx)("div", {- className: CE({+ className: wE({variant: "outlined",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@@ -43011,11 +43011,11 @@ 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)(jM, {path: e.root,@@ -43026,16 +43026,16 @@ function age({ data: e, readOnly: t, toast: n }) {]})]- }) : /* @__PURE__ */ (0, V.jsx)(wE, {+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {shell: "plain",- icon: pae,+ icon: fae,title: "没有可配置的来源",children: "已接入的站点及其凭据状态会显示在这里。"});}//#endregion//#region node_modules/@tanstack/table-core/build/lib/index.mjs-function fI() {+function dI() {return {accessor: (e, t) => typeof e == "function" ? {...t,@@ -43048,24 +43048,24 @@ function fI() {group: (e) => e};}-function pI(e, t) {+function fI(e, t) {return typeof e == "function" ? e(t) : e;}-function mI(e, t) {+function pI(e, t) {return (n) => {t.setState((t) => ({...t,- [e]: pI(n, t[e])+ [e]: fI(n, t[e])}));};}-function hI(e) {+function mI(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);@@ -43075,7 +43075,7 @@ function sge(e, t) {};return r(e), n;}-function gI(e, t, n) {+function hI(e, t, n) {let r = [], i;return (a) => {let o;@@ -43097,21 +43097,21 @@ function gI(e, t, n) {return i;};}-function _I(e, t, n, r) {+function gI(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: gI(() => [+ getContext: hI(() => [e,n,t,@@ -43123,13 +43123,13 @@ function cge(e, t, n, r) {cell: r,getValue: r.getValue,renderValue: r.renderValue- }), _I(e.options, "debugCells", "cell.getContext"))+ }), gI(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@@ -43146,17 +43146,17 @@ function lge(e, t, n, r) {depth: n,columnDef: i,columns: [],- getFlatColumns: gI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], _I(e.options, "debugColumns", "column.getFlatColumns")),- getLeafColumns: gI(() => [e._getOrderColumnsFn()], (e) => {+ getFlatColumns: hI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], gI(e.options, "debugColumns", "column.getFlatColumns")),+ getLeafColumns: hI(() => [e._getOrderColumnsFn()], (e) => {var t;return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];- }, _I(e.options, "debugColumns", "column.getLeafColumns"))+ }, gI(e.options, "debugColumns", "column.getLeafColumns"))};for (let t of e._features) t.createColumn == null || t.createColumn(c, e);return c;}-var vI = "debugHeaders";-function yI(e, t, n) {+var _I = "debugHeaders";+function vI(e, t, n) {let r = {id: n.id ?? t.id,column: t,@@ -43184,42 +43184,42 @@ function yI(e, t, n) {t.createHeader == null || t.createHeader(r, e);}), r;}-var uge = { createTable: (e) => {- e.getHeaderGroups = gI(() => [+var dge = { createTable: (e) => {+ e.getHeaderGroups = hI(() => [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 bI(t, [+ return yI(t, [...a,...s,...o], e);- }, _I(e.options, vI, "getHeaderGroups")), e.getCenterHeaderGroups = gI(() => [+ }, gI(e.options, _I, "getHeaderGroups")), e.getCenterHeaderGroups = hI(() => [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))), bI(t, n, e, "center")), _I(e.options, vI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = gI(() => [+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), yI(t, n, e, "center")), gI(e.options, _I, "getCenterHeaderGroups")), e.getLeftHeaderGroups = hI(() => [e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left- ], (t, n, r) => bI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), _I(e.options, vI, "getLeftHeaderGroups")), e.getRightHeaderGroups = gI(() => [+ ], (t, n, r) => yI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), gI(e.options, _I, "getLeftHeaderGroups")), e.getRightHeaderGroups = hI(() => [e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right- ], (t, n, r) => bI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), _I(e.options, vI, "getRightHeaderGroups")), e.getFooterGroups = gI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), _I(e.options, vI, "getFooterGroups")), e.getLeftFooterGroups = gI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), _I(e.options, vI, "getLeftFooterGroups")), e.getCenterFooterGroups = gI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), _I(e.options, vI, "getCenterFooterGroups")), e.getRightFooterGroups = gI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), _I(e.options, vI, "getRightFooterGroups")), e.getFlatHeaders = gI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), _I(e.options, vI, "getFlatHeaders")), e.getLeftFlatHeaders = gI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), _I(e.options, vI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = gI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), _I(e.options, vI, "getCenterFlatHeaders")), e.getRightFlatHeaders = gI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), _I(e.options, vI, "getRightFlatHeaders")), e.getCenterLeafHeaders = gI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {+ ], (t, n, r) => yI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), gI(e.options, _I, "getRightHeaderGroups")), e.getFooterGroups = hI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), gI(e.options, _I, "getFooterGroups")), e.getLeftFooterGroups = hI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), gI(e.options, _I, "getLeftFooterGroups")), e.getCenterFooterGroups = hI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), gI(e.options, _I, "getCenterFooterGroups")), e.getRightFooterGroups = hI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), gI(e.options, _I, "getRightFooterGroups")), e.getFlatHeaders = hI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), gI(e.options, _I, "getFlatHeaders")), e.getLeftFlatHeaders = hI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), gI(e.options, _I, "getLeftFlatHeaders")), e.getCenterFlatHeaders = hI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), gI(e.options, _I, "getCenterFlatHeaders")), e.getRightFlatHeaders = hI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), gI(e.options, _I, "getRightFlatHeaders")), e.getCenterLeafHeaders = hI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {var t;return !((t = e.subHeaders) != null && t.length);- }), _I(e.options, vI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = gI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {+ }), gI(e.options, _I, "getCenterLeafHeaders")), e.getLeftLeafHeaders = hI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {var t;return !((t = e.subHeaders) != null && t.length);- }), _I(e.options, vI, "getLeftLeafHeaders")), e.getRightLeafHeaders = gI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {+ }), gI(e.options, _I, "getLeftLeafHeaders")), e.getRightLeafHeaders = hI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {var t;return !((t = e.subHeaders) != null && t.length);- }), _I(e.options, vI, "getRightLeafHeaders")), e.getLeafHeaders = gI(() => [+ }), gI(e.options, _I, "getRightLeafHeaders")), e.getLeafHeaders = hI(() => [e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()@@ -43227,9 +43227,9 @@ var uge = { createTable: (e) => {...e[0]?.headers ?? [],...t[0]?.headers ?? [],...n[0]?.headers ?? []- ].map((e) => e.getLeafHeaders()).flat(), _I(e.options, vI, "getLeafHeaders"));+ ].map((e) => e.getLeafHeaders()).flat(), gI(e.options, _I, "getLeafHeaders"));} };-function bI(e, t, n, r) {+function yI(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;@@ -43247,7 +43247,7 @@ function bI(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 = yI(n, c, {+ let i = vI(n, c, {id: [r,t,@@ -43264,7 +43264,7 @@ function bI(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) => yI(n, e, {+ s(t.map((e, t) => vI(n, e, {depth: i,index: t})), i - 1), o.reverse();@@ -43282,7 +43282,7 @@ function bI(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,@@ -43303,7 +43303,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;@@ -43314,95 +43314,95 @@ var dge = (e, t, n, r, i, a, o) => {}return e.reverse();},- getAllCells: gI(() => [e.getAllLeafColumns()], (t) => t.map((t) => cge(e, s, t, t.id)), _I(e.options, "debugRows", "getAllCells")),- _getAllCellsByColumnId: gI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), _I(e.options, "debugRows", "getAllCellsByColumnId"))+ getAllCells: hI(() => [e.getAllLeafColumns()], (t) => t.map((t) => lge(e, s, t, t.id)), gI(e.options, "debugRows", "getAllCells")),+ _getAllCellsByColumnId: hI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), gI(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();};-} }, xI = (e, t, n) => {+} }, bI = (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));};-xI.autoRemove = (e) => jI(e);-var SI = (e, t, n) => {+bI.autoRemove = (e) => AI(e);+var xI = (e, t, n) => {var r;return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));};-SI.autoRemove = (e) => jI(e);-var CI = (e, t, n) => {+xI.autoRemove = (e) => AI(e);+var SI = (e, t, n) => {var r;return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();};-CI.autoRemove = (e) => jI(e);-var wI = (e, t, n) => e.getValue(t)?.includes(n);-wI.autoRemove = (e) => jI(e);-var TI = (e, t, n) => !n.some((n) => {+SI.autoRemove = (e) => AI(e);+var CI = (e, t, n) => e.getValue(t)?.includes(n);+CI.autoRemove = (e) => AI(e);+var wI = (e, t, n) => !n.some((n) => {var r;return !((r = e.getValue(t)) != null && r.includes(n));});-TI.autoRemove = (e) => jI(e) || !(e != null && e.length);-var EI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));-EI.autoRemove = (e) => jI(e) || !(e != null && e.length);-var DI = (e, t, n) => e.getValue(t) === n;-DI.autoRemove = (e) => jI(e);-var OI = (e, t, n) => e.getValue(t) == n;-OI.autoRemove = (e) => jI(e);-var kI = (e, t, n) => {+wI.autoRemove = (e) => AI(e) || !(e != null && e.length);+var TI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));+TI.autoRemove = (e) => AI(e) || !(e != null && e.length);+var EI = (e, t, n) => e.getValue(t) === n;+EI.autoRemove = (e) => AI(e);+var DI = (e, t, n) => e.getValue(t) == n;+DI.autoRemove = (e) => AI(e);+var OI = (e, t, n) => {let [r, i] = n, a = e.getValue(t);return a >= r && a <= i;};-kI.resolveFilterValue = (e) => {+OI.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];-}, kI.autoRemove = (e) => jI(e) || jI(e[0]) && jI(e[1]);-var AI = {- includesString: xI,- includesStringSensitive: SI,- equalsString: CI,- arrIncludes: wI,- arrIncludesAll: TI,- arrIncludesSome: EI,- equals: DI,- weakEquals: OI,- inNumberRange: kI+}, OI.autoRemove = (e) => AI(e) || AI(e[0]) && AI(e[1]);+var kI = {+ includesString: bI,+ includesStringSensitive: xI,+ equalsString: SI,+ arrIncludes: CI,+ arrIncludesAll: wI,+ arrIncludesSome: TI,+ equals: EI,+ weakEquals: DI,+ inNumberRange: OI};-function jI(e) {+function AI(e) {return e == null || e === "";}-var pge = {+var mge = {getDefaultColumnDef: () => ({ filterFn: "auto" }),getInitialState: (e) => ({columnFilters: [],...e}),getDefaultOptions: (e) => ({- onColumnFiltersChange: mI("columnFilters", e),+ onColumnFiltersChange: pI("columnFilters", e),filterFromLeafRows: !1,maxLeafRowFilterDepth: 100}),createColumn: (e, t) => {e.getAutoFilterFn = () => {let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);- return typeof n == "string" ? AI.includesString : typeof n == "number" ? AI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? AI.equals : Array.isArray(n) ? AI.arrIncludes : AI.weakEquals;- }, e.getFilterFn = () => hI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? AI[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" ? kI.includesString : typeof n == "number" ? kI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? kI.equals : Array.isArray(n) ? kI.arrIncludes : kI.weakEquals;+ }, e.getFilterFn = () => mI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? kI[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 = pI(n, i ? i.value : void 0);- if (MI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = fI(n, i ? i.value : void 0);+ if (jI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];let o = {id: e.id,value: a@@ -43417,19 +43417,19 @@ var pge = {createTable: (e) => {e.setColumnFilters = (t) => {let n = e.getAllLeafColumns();- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => pI(t, e)?.filter((e) => {+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => fI(t, e)?.filter((e) => {let t = n.find((t) => t.id === e.id);- return !(t && MI(t.getFilterFn(), e.value, t));+ return !(t && jI(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 MI(e, t, n) {+function jI(e, t, n) {return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;}-var NI = {+var MI = {sum: (e, t, n) => n.reduce((t, n) => {let r = n.getValue(e);return t + (typeof r == "number" ? r : 0);@@ -43465,7 +43465,7 @@ var NI = {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];@@ -43473,7 +43473,7 @@ var NI = {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;@@ -43486,7 +43486,7 @@ var NI = {...e}),getDefaultOptions: (e) => ({- onGroupingChange: mI("grouping", e),+ onGroupingChange: pI("grouping", e),groupedColumnMode: "reorder"}),createColumn: (e, t) => {@@ -43499,11 +43499,11 @@ var NI = {};}, e.getAutoAggregationFn = () => {let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);- if (typeof n == "number") return NI.sum;- if (Object.prototype.toString.call(n) === "[object Date]") return NI.extent;+ if (typeof n == "number") return MI.sum;+ if (Object.prototype.toString.call(n) === "[object Date]") return MI.extent;}, e.getAggregationFn = () => {if (!e) throw Error();- return hI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? NI[e.columnDef.aggregationFn];+ return mI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? MI[e.columnDef.aggregationFn];};},createTable: (e) => {@@ -43525,27 +43525,27 @@ var NI = {};}};-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: mI("columnOrder", e) }),+ getDefaultOptions: (e) => ({ onColumnOrderChange: pI("columnOrder", e) }),createColumn: (e, t) => {- e.getIndex = gI((e) => [zI(t, e)], (t) => t.findIndex((t) => t.id === e.id), _I(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => zI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {- let r = zI(t, n);+ e.getIndex = hI((e) => [RI(t, e)], (t) => t.findIndex((t) => t.id === e.id), gI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => RI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {+ let r = RI(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 = gI(() => [+ }, e._getOrderColumnsFn = hI(() => [e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode@@ -43560,18 +43560,18 @@ var gge = {}i = [...i, ...n];}- return hge(i, t, n);- }, _I(e.options, "debugTable", "_getOrderColumnsFn"));+ return gge(i, t, n);+ }, gI(e.options, "debugTable", "_getOrderColumnsFn"));}-}, PI = () => ({+}, NI = () => ({left: [],right: []-}), _ge = {+}), vge = {getInitialState: (e) => ({- columnPinning: PI(),+ columnPinning: NI(),...e}),- getDefaultOptions: (e) => ({ onColumnPinningChange: mI("columnPinning", e) }),+ getDefaultOptions: (e) => ({ onColumnPinningChange: pI("columnPinning", e) }),createColumn: (e, t) => {e.pin = (n) => {let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);@@ -43595,75 +43595,75 @@ var gge = {};},createRow: (e, t) => {- e.getCenterVisibleCells = gI(() => [+ e.getCenterVisibleCells = hI(() => [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));- }, _I(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = gI(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({+ }, gI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = hI(() => [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"- })), _I(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = gI(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({+ })), gI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = hI(() => [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"- })), _I(t.options, "debugRows", "getRightVisibleCells"));+ })), gI(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 ? PI() : e.initialState?.columnPinning ?? PI()), e.getIsSomeColumnsPinned = (t) => {+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? NI() : e.initialState?.columnPinning ?? NI()), e.getIsSomeColumnsPinned = (t) => {let n = e.getState().columnPinning;return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);- }, e.getLeftLeafColumns = gI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), _I(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = gI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), _I(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = gI(() => [+ }, e.getLeftLeafColumns = hI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), gI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = hI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), gI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = hI(() => [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));- }, _I(e.options, "debugColumns", "getCenterLeafColumns"));+ }, gI(e.options, "debugColumns", "getCenterLeafColumns"));}};-function vge(e) {+function yge(e) {return e || (typeof document < "u" ? document : null);}-var FI = {+var PI = {size: 150,minSize: 20,maxSize: 2 ** 53 - 1-}, II = () => ({+}, FI = () => ({startOffset: null,startSize: null,deltaOffset: null,deltaPercentage: null,isResizingColumn: !1,columnSizingStart: []-}), yge = {- getDefaultColumnDef: () => FI,+}), bge = {+ getDefaultColumnDef: () => PI,getInitialState: (e) => ({columnSizing: {},- columnSizingInfo: II(),+ columnSizingInfo: FI(),...e}),getDefaultOptions: (e) => ({columnResizeMode: "onEnd",columnResizeDirection: "ltr",- onColumnSizingChange: mI("columnSizing", e),- onColumnSizingInfoChange: mI("columnSizingInfo", e)+ onColumnSizingChange: pI("columnSizing", e),+ onColumnSizingInfoChange: pI("columnSizingInfo", e)}),createColumn: (e, t) => {e.getSize = () => {let n = t.getState().columnSizing[e.id];- return Math.min(Math.max(e.columnDef.minSize ?? FI.minSize, n ?? e.columnDef.size ?? FI.size), e.columnDef.maxSize ?? FI.maxSize);- }, e.getStart = gI((e) => [+ return Math.min(Math.max(e.columnDef.minSize ?? PI.minSize, n ?? e.columnDef.size ?? PI.size), e.columnDef.maxSize ?? PI.maxSize);+ }, e.getStart = hI((e) => [e,- zI(t, e),+ RI(t, e),t.getState().columnSizing- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), _I(t.options, "debugColumns", "getStart")), e.getAfter = gI((e) => [+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), gI(t.options, "debugColumns", "getStart")), e.getAfter = hI((e) => [e,- zI(t, e),+ RI(t, e),t.getState().columnSizing- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), _I(t.options, "debugColumns", "getAfter")), e.resetSize = () => {+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), gI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {t.setColumnSizing((t) => {let { [e.id]: n, ...r } = t;return r;@@ -43685,8 +43685,8 @@ var FI = {}, e.getResizeHandler = (n) => {let r = t.getColumn(e.column.id), i = r?.getCanResize();return (a) => {- if (!r || !i || (a.persist == null || a.persist(), RI(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 = RI(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {+ if (!r || !i || (a.persist == null || a.persist(), LI(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 = LI(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) => {@@ -43711,7 +43711,7 @@ var FI = {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);@@ -43721,8 +43721,8 @@ var FI = {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;- RI(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;+ LI(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,@@ -43738,12 +43738,12 @@ var FI = {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 ? II() : e.initialState.columnSizingInfo ?? II());+ e.setColumnSizingInfo(t ? FI() : e.initialState.columnSizingInfo ?? FI());}, 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;}-}, LI = null;-function bge() {- if (typeof LI == "boolean") return LI;+}, II = null;+function xge() {+ if (typeof II == "boolean") return II;let e = !1;try {let t = { get passive() {@@ -43753,17 +43753,17 @@ function bge() {} catch {e = !1;}- return LI = e, LI;+ return II = e, II;}-function RI(e) {+function LI(e) {return e.type === "touchstart";}-var xge = {+var Sge = {getInitialState: (e) => ({columnVisibility: {},...e}),- getDefaultOptions: (e) => ({ onColumnVisibilityChange: mI("columnVisibility", e) }),+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: pI("columnVisibility", e) }),createColumn: (e, t) => {e.toggleVisibility = (n) => {e.getCanHide() && t.setColumnVisibility((t) => ({@@ -43778,7 +43778,7 @@ var xge = {};},createRow: (e, t) => {- e._getAllVisibleCells = gI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), _I(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = gI(() => [+ e._getAllVisibleCells = hI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), gI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = hI(() => [e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()@@ -43786,10 +43786,10 @@ var xge = {...e,...t,...n- ], _I(t.options, "debugRows", "getVisibleCells"));+ ], gI(t.options, "debugRows", "getVisibleCells"));},createTable: (e) => {- let t = (t, n) => gI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), _I(e.options, "debugColumns", t));+ let t = (t, n) => hI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), gI(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) => {@@ -43802,20 +43802,20 @@ var xge = {};}};-function zI(e, t) {+function RI(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: mI("globalFilter", e),+ onGlobalFilterChange: pI("globalFilter", e),globalFilterFn: "auto",getColumnCanGlobalFilter: (t) => {var n;@@ -43827,22 +43827,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 = () => AI.includesString, e.getGlobalFilterFn = () => {+ e.getGlobalAutoFilterFn = () => kI.includesString, e.getGlobalFilterFn = () => {let { globalFilterFn: t } = e.options;- return hI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? AI[t];+ return mI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? kI[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: mI("expanded", e),+ onExpandedChange: pI("expanded", e),paginateExpandedRows: !0}),createTable: (e) => {@@ -43913,18 +43913,18 @@ var Sge = { createTable: (e) => {};};}-}, BI = 0, VI = 10, HI = () => ({- pageIndex: BI,- pageSize: VI-}), Tge = {+}, zI = 0, BI = 10, VI = () => ({+ pageIndex: zI,+ pageSize: BI+}), Ege = {getInitialState: (e) => ({...e,pagination: {- ...HI(),+ ...VI(),...e?.pagination}}),- getDefaultOptions: (e) => ({ onPaginationChange: mI("pagination", e) }),+ getDefaultOptions: (e) => ({ onPaginationChange: pI("pagination", e) }),createTable: (e) => {let t = !1, n = !1;e._autoResetPageIndex = () => {@@ -43940,11 +43940,11 @@ var Sge = { createTable: (e) => {e.resetPageIndex(), n = !1;});}- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => pI(t, e)), e.resetPagination = (t) => {- e.setPagination(t ? HI() : e.initialState.pagination ?? HI());+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => fI(t, e)), e.resetPagination = (t) => {+ e.setPagination(t ? VI() : e.initialState.pagination ?? VI());}, e.setPageIndex = (t) => {e.setPagination((n) => {- let r = pI(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+ let r = fI(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@@ -43952,13 +43952,13 @@ var Sge = { createTable: (e) => {});}, e.resetPageIndex = (t) => {var n;- e.setPageIndex(t ? BI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? BI);+ e.setPageIndex(t ? zI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? zI);}, e.resetPageSize = (t) => {var n;- e.setPageSize(t ? VI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? VI);+ e.setPageSize(t ? BI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? BI);}, e.setPageSize = (t) => {e.setPagination((e) => {- let n = Math.max(1, pI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);+ let n = Math.max(1, fI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);return {...e,pageIndex: i,@@ -43966,28 +43966,28 @@ var Sge = { createTable: (e) => {};});}, e.setPageCount = (t) => e.setPagination((n) => {- let r = pI(t, e.options.pageCount ?? -1);+ let r = fI(t, e.options.pageCount ?? -1);return typeof r == "number" && (r = Math.max(-1, r)), {...n,pageCount: r};- }), e.getPageOptions = gI(() => [e.getPageCount()], (e) => {+ }), e.getPageOptions = hI(() => [e.getPageCount()], (e) => {let t = [];return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;- }, _I(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {+ }, gI(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;}-}, UI = () => ({+}, HI = () => ({top: [],bottom: []-}), Ege = {+}), Dge = {getInitialState: (e) => ({- rowPinning: UI(),+ rowPinning: HI(),...e}),- getDefaultOptions: (e) => ({ onRowPinningChange: mI("rowPinning", e) }),+ getDefaultOptions: (e) => ({ onRowPinningChange: pI("rowPinning", e) }),createRow: (e, t) => {e.pin = (n, r, i) => {let a = r ? e.getLeafRows().map((e) => {@@ -44026,7 +44026,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 ? UI() : e.initialState?.rowPinning ?? UI()), e.getIsSomeRowsPinned = (t) => {+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? HI() : e.initialState?.rowPinning ?? HI()), 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) => {@@ -44035,22 +44035,22 @@ var Sge = { createTable: (e) => {}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({...e,position: r- })), e.getTopRows = gI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), _I(e.options, "debugRows", "getTopRows")), e.getBottomRows = gI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), _I(e.options, "debugRows", "getBottomRows")), e.getCenterRows = gI(() => [+ })), e.getTopRows = hI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), gI(e.options, "debugRows", "getTopRows")), e.getBottomRows = hI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), gI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = hI(() => [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));- }, _I(e.options, "debugRows", "getCenterRows"));+ }, gI(e.options, "debugRows", "getCenterRows"));}-}, Dge = {+}, Oge = {getInitialState: (e) => ({rowSelection: {},...e}),getDefaultOptions: (e) => ({- onRowSelectionChange: mI("rowSelection", e),+ onRowSelectionChange: pI("rowSelection", e),enableRowSelection: !0,enableMultiRowSelection: !0,enableSubRowSelection: !0@@ -44069,21 +44069,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) => {- WI(i, t.id, r, !0, e);+ UI(i, t.id, r, !0, e);}), i;- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = gI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? GI(e, n) : {+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = hI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? WI(e, n) : {rows: [],flatRows: [],rowsById: {}- }, _I(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = gI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? GI(e, n) : {+ }, gI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = hI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? WI(e, n) : {rows: [],flatRows: [],rowsById: {}- }, _I(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = gI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? GI(e, n) : {+ }, gI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = hI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? WI(e, n) : {rows: [],flatRows: [],rowsById: {}- }, _I(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {+ }, gI(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 = () => {@@ -44107,17 +44107,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 WI(o, e.id, n, r?.selectChildren ?? !0, t), o;+ return UI(o, e.id, n, r?.selectChildren ?? !0, t), o;});}, e.getIsSelected = () => {let { rowSelection: n } = t.getState();- return KI(e, n);+ return GI(e, n);}, e.getIsSomeSelected = () => {let { rowSelection: n } = t.getState();- return qI(e, n) === "some";+ return KI(e, n) === "some";}, e.getIsAllSubRowsSelected = () => {let { rowSelection: n } = t.getState();- return qI(e, n) === "all";+ return KI(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) => {@@ -44125,16 +44125,16 @@ var Sge = { createTable: (e) => {};};}-}, WI = (e, t, n, r, i) => {+}, UI = (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) => WI(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) => UI(e, t.id, n, r, i));};-function GI(e, t) {+function WI(e, t) {let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {return e.map((e) => {var t;- let o = KI(e, n);+ let o = GI(e, n);if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {...e,subRows: a(e.subRows)@@ -44147,32 +44147,32 @@ function GI(e, t) {rowsById: i};}-function KI(e, t) {+function GI(e, t) {return t[e.id] ?? !1;}-function qI(e, t, n) {+function KI(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() && (KI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {- let n = qI(e, t);+ if (!(a && !i) && (e.getCanSelect() && (GI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {+ let n = KI(e, t);n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);}}), i ? "all" : a ? "some" : !1;}-var JI = /([0-9]+)/gm, Oge = (e, t, n) => ZI(XI(e.getValue(n)).toLowerCase(), XI(t.getValue(n)).toLowerCase()), kge = (e, t, n) => ZI(XI(e.getValue(n)), XI(t.getValue(n))), Age = (e, t, n) => YI(XI(e.getValue(n)).toLowerCase(), XI(t.getValue(n)).toLowerCase()), jge = (e, t, n) => YI(XI(e.getValue(n)), XI(t.getValue(n))), Mge = (e, t, n) => {+var qI = /([0-9]+)/gm, kge = (e, t, n) => XI(YI(e.getValue(n)).toLowerCase(), YI(t.getValue(n)).toLowerCase()), Age = (e, t, n) => XI(YI(e.getValue(n)), YI(t.getValue(n))), jge = (e, t, n) => JI(YI(e.getValue(n)).toLowerCase(), YI(t.getValue(n)).toLowerCase()), Mge = (e, t, n) => JI(YI(e.getValue(n)), YI(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) => YI(e.getValue(n), t.getValue(n));-function YI(e, t) {+}, Pge = (e, t, n) => JI(e.getValue(n), t.getValue(n));+function JI(e, t) {return e === t ? 0 : e > t ? 1 : -1;}-function XI(e) {+function YI(e) {return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";}-function ZI(e, t) {- let n = e.split(JI).filter(Boolean), r = t.split(JI).filter(Boolean);+function XI(e, t) {+ let n = e.split(qI).filter(Boolean), r = t.split(qI).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])) {@@ -44186,22 +44186,22 @@ function ZI(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 ZI = {+ 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: [],@@ -44212,7 +44212,7 @@ var QI = {sortUndefined: 1}),getDefaultOptions: (e) => ({- onSortingChange: mI("sorting", e),+ onSortingChange: pI("sorting", e),isMultiSortEvent: (e) => e.shiftKey}),createColumn: (e, t) => {@@ -44220,13 +44220,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(JI).length > 1)) return QI.alphanumeric;+ if (Object.prototype.toString.call(n) === "[object Date]") return ZI.datetime;+ if (typeof n == "string" && (r = !0, n.split(qI).length > 1)) return ZI.alphanumeric;}- return r ? QI.text : QI.basic;+ return r ? ZI.text : ZI.basic;}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {if (!e) throw Error();- return hI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? QI[e.columnDef.sortingFn];+ return mI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? ZI[e.columnDef.sortingFn];}, e.toggleSorting = (n, r) => {let i = e.getNextSortingOrder(), a = n != null;t.setSorting((o) => {@@ -44263,15 +44263,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 ?? {} };@@ -44297,7 +44297,7 @@ function Fge(e) {n.setState(n.initialState);},setOptions: (e) => {- let t = pI(e, n.options);+ let t = fI(e, n.options);n.options = i(t);},getState: () => n.options.state,@@ -44312,7 +44312,7 @@ function Fge(e) {if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();return r;},- _getDefaultColumnDef: gI(() => [n.options.defaultColumn], (e) => (e ??= {}, {+ _getDefaultColumnDef: hI(() => [n.options.defaultColumn], (e) => (e ??= {}, {header: (e) => {let t = e.header.column.columnDef;return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;@@ -44323,20 +44323,20 @@ function Fge(e) {},...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),...e- }), _I(e, "debugColumns", "_getDefaultColumnDef")),+ }), gI(e, "debugColumns", "_getDefaultColumnDef")),_getColumnDefs: () => n.options.columns,- getAllColumns: gI(() => [n._getColumnDefs()], (e) => {+ getAllColumns: hI(() => [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);- }, _I(e, "debugColumns", "getAllColumns")),- getAllFlatColumns: gI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), _I(e, "debugColumns", "getAllFlatColumns")),- _getAllFlatColumnsById: gI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), _I(e, "debugColumns", "getAllFlatColumnsById")),- getAllLeafColumns: gI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), _I(e, "debugColumns", "getAllLeafColumns")),+ }, gI(e, "debugColumns", "getAllColumns")),+ getAllFlatColumns: hI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), gI(e, "debugColumns", "getAllFlatColumns")),+ _getAllFlatColumnsById: hI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), gI(e, "debugColumns", "getAllFlatColumnsById")),+ getAllLeafColumns: hI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), gI(e, "debugColumns", "getAllLeafColumns")),getColumn: (e) => n._getAllFlatColumnsById()[e]};Object.assign(n, c);@@ -44346,8 +44346,8 @@ function Fge(e) {}return n;}-function $I() {- return (e) => gI(() => [e.options.data], (t) => {+function QI() {+ return (e) => hI(() => [e.options.data], (t) => {let n = {rows: [],flatRows: [],@@ -44356,7 +44356,7 @@ function $I() {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));@@ -44365,9 +44365,9 @@ function $I() {return o;};return n.rows = r(t), n;- }, _I(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));+ }, gI(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);@@ -44378,8 +44378,8 @@ function Ige(e) {rowsById: e.rowsById};}-function eL(e) {- return (e) => gI(() => [+function $I(e) {+ return (e) => hI(() => [e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows ? void 0 : e.getState().expanded@@ -44392,7 +44392,7 @@ function eL(e) {rows: a,flatRows: o,rowsById: s- } : Ige({+ } : Lge({rows: a,flatRows: o,rowsById: s@@ -44401,32 +44401,32 @@ function eL(e) {u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);};return u.rows.forEach(d), u;- }, _I(e.options, "debugTable", "getPaginationRowModel"));+ }, gI(e.options, "debugTable", "getPaginationRowModel"));}//#endregion//#region node_modules/@tanstack/react-table/build/lib/index.mjs-function tL(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 eL(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 nL(e) {+function tL(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,@@ -44441,7 +44441,7 @@ function nL(e) {}//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var Bge = vE({+var Vge = yE({sm: {track: "h-4 w-7",trackRadius: {@@ -44503,23 +44503,23 @@ var Bge = vE({}}});-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: _E("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? _E("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),+ className: vE("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? vE("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),children: /* @__PURE__ */ (0, V.jsx)("span", {- className: _E("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),- children: /* @__PURE__ */ (0, V.jsx)("span", { className: _E("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })+ className: vE("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),+ children: /* @__PURE__ */ (0, V.jsx)("span", { className: vE("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })})});}-function rL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, V.jsx)(kse, {+function nL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, V.jsx)(Ose, {ref: i,...a,- className: (t) => _E("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, {+ className: (t) => vE("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)(Hge, {state: e,size: n,shape: r@@ -44531,8 +44531,8 @@ function rL({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/components/legacy-avatar.ts-var iL = "[&_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 rL = "[&_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 {@@ -44551,7 +44551,7 @@ 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)(BM, {@@ -44564,7 +44564,7 @@ function Wge({ card: e, picked: t, onPick: n }) {className: "min-w-0 break-words",children: e.names.join("、")}),- e.record ? /* @__PURE__ */ (0, V.jsx)(bE, {+ e.record ? /* @__PURE__ */ (0, V.jsx)(xE, {variant: "caption",color: "neutral",children: e.record@@ -44575,16 +44575,16 @@ function Wge({ card: e, picked: t, onPick: n }) {}) : null]})- }), /* @__PURE__ */ (0, V.jsx)(Ik, {+ }), /* @__PURE__ */ (0, V.jsx)(Lk, {href: e.url,children: e.id})]});}-function Gge({ 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 = kE(), u = () => {+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 = AE(), 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) => {@@ -44592,12 +44592,12 @@ 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: CE({+ className: wE({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -44610,11 +44610,11 @@ 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)(_k, {+ children: /* @__PURE__ */ (0, V.jsx)(vk, {"aria-label": "女优名",- placeholder: Hge,+ placeholder: Uge,value: r,- leadingIcon: TT,+ leadingIcon: ET,isDisabled: e,onChange: i,onKeyDown: d@@ -44635,16 +44635,16 @@ function Gge({ readOnly: e, toast: t, onAdded: n }) {a ? /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, V.jsx)(Fk, { children: "JavDB 上的演员卡" }),- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, V.jsx)(Wge, {+ /* @__PURE__ */ (0, V.jsx)(Ik, { children: "JavDB 上的演员卡" }),+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, V.jsx)(Gge, {card: e,picked: s.has(e.id),onPick: (t) => c((n) => {let r = new Set(n);return t ? r.add(e.id) : r.delete(e.id), r;})- }, e.id)) : /* @__PURE__ */ (0, V.jsx)(Nk, { children: "JavDB 上没有搜到这个名字。" }),- a.candidates.length ? /* @__PURE__ */ (0, V.jsx)(Nk, {+ }, e.id)) : /* @__PURE__ */ (0, V.jsx)(Pk, { children: "JavDB 上没有搜到这个名字。" }),+ a.candidates.length ? /* @__PURE__ */ (0, V.jsx)(Pk, {role: "status",children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"}) : null,@@ -44671,19 +44671,19 @@ function Gge({ readOnly: e, toast: t, onAdded: n }) {}//#endregion//#region src/react/follow-manage/source-list.tsx-var Kge = Object.fromEntries(Object.entries(XP).map(([e, t]) => [t, e])), aL = 740;-function qge() {+var qge = Object.fromEntries(Object.entries(YP).map(([e, t]) => [t, e])), iL = 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 < aL));- r.observe(e), n.current = r, t(e.clientWidth < aL);+ let r = new ResizeObserver(() => t(e.clientWidth < iL));+ r.observe(e), n.current = r, t(e.clientWidth < iL);}, []);return (0, B.useEffect)(() => () => n.current?.disconnect(), []), [r, e];}-var Jge = {+var Yge = {select: "选择",author: "创作者",source: "来源",@@ -44692,7 +44692,7 @@ var Jge = {checked: "上次检查",actions: "操作"};-function oL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {+function aL({ 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",@@ -44706,7 +44706,7 @@ function oL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {}),/* @__PURE__ */ (0, V.jsx)("ul", {className: "flex flex-wrap items-center gap-1",- children: uj(e, t).map((t, r) => /* @__PURE__ */ (0, V.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, V.jsx)("span", {+ children: dj(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: "…"@@ -44729,7 +44729,7 @@ function oL({ 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",@@ -44744,7 +44744,7 @@ function Yge({ source: e, selected: t, onToggle: n, handlers: r }) {}),/* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 grow flex-col gap-0.5",- children: [/* @__PURE__ */ (0, V.jsx)(sI, { source: e }), e.last_error ? /* @__PURE__ */ (0, V.jsx)("small", {+ children: [/* @__PURE__ */ (0, V.jsx)(oI, { source: e }), e.last_error ? /* @__PURE__ */ (0, V.jsx)("small", {className: "text-caption-1-regular text-text-error-primary",children: e.last_error}) : null]@@ -44752,17 +44752,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)(iI, {+ children: /* @__PURE__ */ (0, V.jsx)(rI, {provider: e.provider,label: e.provider_label})}),- /* @__PURE__ */ (0, V.jsx)(oI, { source: e }),+ /* @__PURE__ */ (0, V.jsx)(aI, { source: e }),/* @__PURE__ */ (0, V.jsx)("span", {className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",- children: CF(e)+ children: SF(e)}),- /* @__PURE__ */ (0, V.jsx)(rL, {+ /* @__PURE__ */ (0, V.jsx)(nL, {"aria-label": `启用 ${e.label}`,isSelected: e.enabled,isDisabled: r.readOnly,@@ -44774,7 +44774,7 @@ function Yge({ source: e, selected: t, onToggle: n, handlers: r }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: CT,+ leadingIcon: wT,"aria-label": `检查 ${e.label} 的更新`,disabled: !e.enabled || r.readOnly,...X(r.busy),@@ -44783,7 +44783,7 @@ function Yge({ source: e, selected: t, onToggle: n, handlers: r }) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: gT,+ leadingIcon: _T,"aria-label": `移除 ${e.label}`,disabled: r.readOnly,onClick: () => r.remove(e)@@ -44792,11 +44792,11 @@ 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(QP).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = cF(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(ZP).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = sF(r, c);return /* @__PURE__ */ (0, V.jsxs)("section", {"aria-label": `${t} 的关注来源`,- className: CE({+ className: wE({variant: "raised",padding: "none",className: "flex flex-col overflow-hidden p-2"@@ -44806,7 +44806,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)(aI, {+ /* @__PURE__ */ (0, V.jsx)(iI, {group: e,name: t}),@@ -44818,7 +44818,7 @@ function Xge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: CT,+ leadingIcon: wT,"aria-label": `检查 ${t} 的全部来源`,disabled: !l.length || i.readOnly,...X(i.busy),@@ -44827,7 +44827,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)(iI, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, V.jsx)(H_, { children: `来源:${d}` })]+ children: [e.map((e) => /* @__PURE__ */ (0, V.jsx)(rI, { 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",@@ -44836,7 +44836,7 @@ function Xge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,/* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: dT,+ leadingIcon: fT,"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false","aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,onClick: () => o(!p.all),@@ -44847,7 +44847,7 @@ function Xge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,size: "small","aria-expanded": n,"aria-controls": f,- leadingIcon: n ? uT : sT,+ leadingIcon: n ? dT : cT,"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,onClick: () => a(!n),children: n ? "收起" : "展开"@@ -44857,7 +44857,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),@@ -44866,37 +44866,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 } = IM({- queryKey: Dme,- queryFn: ({ signal: e }) => zme(e),- start: (e) => fF(e),+ queryKey: Ome,+ queryFn: ({ signal: e }) => Bme(e),+ start: (e) => dF(e),onError: (e) => w(W(e)),onFinish: (e) => {- SF(), m(e.status === "failed" ? e.error || "检查失败" : Zme(e));+ xF(), m(e.status === "failed" ? e.error || "检查失败" : Qme(e));}}), j = (e) => {O || A.isPending || (w(""), A.mutate(e));- }, M = (e, t) => p(lF(s, [e], t)), N = (e, t) => p(lF(s, e, t)), P = OS({- mutationFn: (e) => mF(e),+ }, M = (e, t) => p(cF(s, [e], t)), N = (e, t) => p(cF(s, e, t)), P = OS({+ mutationFn: (e) => pF(e),onSuccess: (e, t) => {- xF([t]), p(lF(s, [t], !1)), m("已取消关注来源");+ bF([t]), p(cF(s, [t], !1)), m("已取消关注来源");},onError: (e) => w(W(e))}), ee = OS({- mutationFn: (e) => pF(e.id, e.enabled),+ mutationFn: (e) => fF(e.id, e.enabled),onSuccess: (e, t) => {- bF(t.id, { enabled: t.enabled }), w("");+ yF(t.id, { enabled: t.enabled }), w("");},onError: (e) => w(W(e))}), F = (e) => void Te({@@ -44908,7 +44908,7 @@ function Zge(e) {}), I = OS({mutationFn: async (e) => {let t = await ge(e.ids, 4, async (t) => {- e.action === "remove" ? await mF(t) : await pF(t, e.action === "enabled");+ e.action === "remove" ? await pF(t) : await fF(t, e.action === "enabled");});return {...e,@@ -44917,9 +44917,9 @@ function Zge(e) {};},onSuccess: (e) => {- if (e.action === "remove") xF(e.done);- else for (let t of e.done) bF(t, { enabled: e.action === "enabled" });- p(lF(s, e.done, !1));+ if (e.action === "remove") bF(e.done);+ else for (let t of e.done) yF(t, { enabled: e.action === "enabled" });+ p(cF(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)}`);@@ -44932,18 +44932,18 @@ function Zge(e) {onError: (e) => w(W(e))}), te = OS({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 (SF(), e.failed.length) {+ if (xF(), e.failed.length) {w(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);return;}@@ -44968,7 +44968,7 @@ function Zge(e) {readOnly: c};let ie = re.current, ae = (0, B.useMemo)(() => {- let e = fI(), t = (e) => () => Jge[e] || e;+ let e = dI(), t = (e) => () => Yge[e] || e;return [e.display({id: "select",@@ -44985,7 +44985,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)(aI, {+ children: [/* @__PURE__ */ (0, V.jsx)(iI, {group: e.row.original.group,name: e.row.original.author}), /* @__PURE__ */ (0, V.jsx)("span", {@@ -44999,7 +44999,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)(sI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, V.jsx)("small", {+ children: [/* @__PURE__ */ (0, V.jsx)(oI, { 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]@@ -45010,18 +45010,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)(iI, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]+ children: [/* @__PURE__ */ (0, V.jsx)(rI, { 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)(oI, { source: e.row.original.source })+ cell: (e) => /* @__PURE__ */ (0, V.jsx)(aI, { source: e.row.original.source })}),e.accessor((e) => e.source.last_checked_at || "", {id: "checked",header: t("checked"),- cell: (e) => CF(e.row.original.source)+ cell: (e) => SF(e.row.original.source)}),e.display({id: "actions",@@ -45029,7 +45029,7 @@ function Zge(e) {cell: (e) => /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex items-center gap-1",children: [- /* @__PURE__ */ (0, V.jsx)(rL, {+ /* @__PURE__ */ (0, V.jsx)(nL, {"aria-label": `启用 ${e.row.original.source.label}`,isSelected: e.row.original.source.enabled,isDisabled: ie.readOnly,@@ -45039,7 +45039,7 @@ function Zge(e) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: CT,+ leadingIcon: wT,"aria-label": `检查 ${e.row.original.source.label} 的更新`,disabled: !e.row.original.source.enabled || ie.readOnly,...X(ie.busy),@@ -45049,7 +45049,7 @@ function Zge(e) {variant: "secondary",size: "small",iconOnly: !0,- leadingIcon: gT,+ leadingIcon: _T,"aria-label": `移除 ${e.row.original.source.label}`,disabled: ie.readOnly,onClick: () => re.current.remove(e.row.original.source)@@ -45059,12 +45059,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 = sF(ce ? E.length : T.length, o, i), ue = nL({+ }, [n, r]), se = (0, B.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ce = a === "table", le = oF(ce ? E.length : T.length, o, i), ue = tL({data: E,columns: ae,getRowId: (e) => String(e.source.id),@@ -45081,7 +45081,7 @@ function Zge(e) {onSortingChange: (e) => {let t = (typeof e == "function" ? e(oe) : e)[0];if (!t) return;- let n = XP[t.id];+ let n = YP[t.id];n && l(n, t.desc ? "desc" : "asc");},onRowSelectionChange: (e) => {@@ -45095,11 +45095,11 @@ 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: $I(),- getPaginationRowModel: eL()- }), 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 = cF(s, de), pe = [...s], me = Qme(k), R = $me(k), he = T.length > 0 && y.size >= T.length;+ getCoreRowModel: QI(),+ getPaginationRowModel: $I()+ }), 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 = sF(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: CE({+ className: wE({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -45118,7 +45118,7 @@ function Zge(e) {}),/* @__PURE__ */ (0, V.jsx)(J, {variant: "primary",- leadingIcon: CT,+ leadingIcon: wT,disabled: c,"aria-label": "检查全部",iconOnly: S,@@ -45133,28 +45133,28 @@ function Zge(e) {children: [/* @__PURE__ */ (0, V.jsx)(J, {variant: "ghost",iconOnly: !0,- leadingIcon: mae,- "aria-label": JP[0][1],+ leadingIcon: pae,+ "aria-label": qP[0][1],"aria-pressed": !ce,onClick: () => d("default")}), /* @__PURE__ */ (0, V.jsx)(J, {variant: "ghost",iconOnly: !0,- leadingIcon: _ae,- "aria-label": JP[1][1],+ leadingIcon: gae,+ "aria-label": qP[1][1],"aria-pressed": ce,onClick: () => d("table")})]}),- /* @__PURE__ */ (0, V.jsx)(Sk, {+ /* @__PURE__ */ (0, V.jsx)(Ck, {"aria-label": "关注列表排序",selectedKey: n,onSelectionChange: (e) => {if (e === null) return;let t = String(e);- l(t, FP[t]);+ l(t, PP[t]);},- children: PP.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(Ck, {+ children: NP.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(wk, {id: e,children: t}, e))@@ -45162,14 +45162,14 @@ function Zge(e) {/* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",iconOnly: !0,- leadingIcon: r === "asc" ? eae : $ie,- "aria-label": Pme(n, r),+ leadingIcon: r === "asc" ? $ie : Qie,+ "aria-label": Fme(n, r),onClick: () => l(n, r === "asc" ? "desc" : "asc")}),ce ? null : /* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",iconOnly: S,- leadingIcon: he ? sT : uT,+ leadingIcon: he ? cT : dT,"aria-label": he ? "全部展开" : "全部收起",onClick: () => b(he ? /* @__PURE__ */ new Set() : new Set(T.map((e) => String(e[0].author_key || e[0].id)))),children: he ? "全部展开" : "全部收起"@@ -45280,9 +45280,9 @@ function Zge(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, V.jsx)(XO, { children: ue.getHeaderGroups()[0].headers.map((e) => {- let t = e.column.id in XP, n = tL(e.column.columnDef.header, e.getContext());- return /* @__PURE__ */ (0, V.jsx)(ZO, {+ children: [/* @__PURE__ */ (0, V.jsx)(ZO, { children: ue.getHeaderGroups()[0].headers.map((e) => {+ let t = e.column.id in YP, n = eL(e.column.columnDef.header, e.getContext());+ return /* @__PURE__ */ (0, V.jsx)(QO, {id: e.id,allowsSorting: t,isRowHeader: e.column.id === "source",@@ -45291,16 +45291,16 @@ function Zge(e) {children: [n, /* @__PURE__ */ (0, V.jsx)("span", {"data-sort-indicator": !0,"data-direction": e || void 0,- children: /* @__PURE__ */ (0, V.jsx)(vce, {})+ children: /* @__PURE__ */ (0, V.jsx)(_ce, {})})]}) : /* @__PURE__ */ (0, V.jsx)(H_, { children: n })}, e.id);- }) }), /* @__PURE__ */ (0, V.jsx)($O, {+ }) }), /* @__PURE__ */ (0, V.jsx)(ek, {renderEmptyState: () => "这一页没有来源",- children: L.map((e) => /* @__PURE__ */ (0, V.jsx)(nk, {+ children: L.map((e) => /* @__PURE__ */ (0, V.jsx)(rk, {id: e.id,"data-follow-selected": e.getIsSelected() || void 0,- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, V.jsx)(ik, { children: tL(e.column.columnDef.cell, e.getContext()) }, e.id))+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, V.jsx)(ak, { children: eL(e.column.columnDef.cell, e.getContext()) }, e.id))}, e.id))})]})@@ -45314,9 +45314,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: rF(e, _),+ name: nF(e, _),handlers: ie,selected: s,open: !y.has(t),@@ -45336,19 +45336,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)(Sk, {+ /* @__PURE__ */ (0, V.jsx)(Ck, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(o),onSelectionChange: (e) => {e !== null && ue.setPageSize(Number(e));},- children: YP.map((e) => /* @__PURE__ */ (0, V.jsx)(Ck, {+ children: JP.map((e) => /* @__PURE__ */ (0, V.jsx)(wk, {id: String(e),children: `每页 ${e} ${ce ? "条" : "位"}`}, e))}),- /* @__PURE__ */ (0, V.jsx)(oL, {+ /* @__PURE__ */ (0, V.jsx)(aL, {page: le.page,pages: le.pages,onPage: (e) => ue.setPageIndex(e - 1)@@ -45397,11 +45397,11 @@ function Zge(e) {]}) : null]- }) : /* @__PURE__ */ (0, V.jsx)(wE, {+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {shell: "plain",- icon: wT,+ icon: TT,title: "还没有关注来源",- actions: /* @__PURE__ */ (0, V.jsx)(SE, {+ actions: /* @__PURE__ */ (0, V.jsx)(CE, {variant: "primary",size: "small",href: "/follow-manage?tab=add",@@ -45412,7 +45412,7 @@ function Zge(e) {}//#endregion//#region src/react/follow-manage/feed-sources.tsx-var Qge = {+var $ge = {select: "选择",name: "名称",kind: "类型",@@ -45422,33 +45422,33 @@ var Qge = {fetched: "上次拉取",fresh: "上次新增",actions: "操作"-}, $ge = /* @__PURE__ */ new Set(["select", "actions"]), sL = () => z.invalidateQueries({- queryKey: qP,+}, e_e = /* @__PURE__ */ new Set(["select", "actions"]), oL = () => z.invalidateQueries({+ queryKey: KP,exact: !0-}), cL = (e) => e.name || e.url, e_e = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;-function t_e(e) {+}), sL = (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 }) {- return e.last_error ? /* @__PURE__ */ (0, V.jsx)(bE, {+function r_e({ source: e }) {+ return e.last_error ? /* @__PURE__ */ (0, V.jsx)(xE, {variant: "caption",color: "rose",children: "拉取失败"- }) : e.enabled ? /* @__PURE__ */ (0, V.jsx)(bE, {+ }) : e.enabled ? /* @__PURE__ */ (0, V.jsx)(xE, {variant: "caption",color: "lime",children: "正常"- }) : /* @__PURE__ */ (0, V.jsx)(bE, {+ }) : /* @__PURE__ */ (0, V.jsx)(xE, {variant: "caption",color: "neutral",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,@@ -45457,31 +45457,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 ${iL}`,- dangerouslySetInnerHTML: { __html: w(cL(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 ${rL}`,+ dangerouslySetInnerHTML: { __html: w(sL(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 lL(e, t) {+function cL(e, t) {let n = e.length === 1 ? e[0] : null;return Te({title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,- body: n ? `将移除订阅源「${cL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",+ body: n ? `将移除订阅源「${sL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",confirmLabel: n ? "移除订阅源" : "移除所选订阅源",danger: !0,onConfirm: t});}-function o_e({ readOnly: e, toast: t }) {+function s_e({ readOnly: e, toast: t }) {let n = TS({- queryKey: qP,- queryFn: ({ signal: e }) => gF(e)- }), r = kE(), 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 = sF(a.length, u, c);+ queryKey: KP,+ queryFn: ({ signal: e }) => hF(e)+ }), r = AE(), 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 = oF(a.length, u, c);(0, B.useEffect)(() => {l((e) => Math.min(e, f.pages));}, [f.pages]), (0, B.useEffect)(() => {@@ -45493,7 +45493,7 @@ function o_e({ readOnly: e, toast: t }) {let p = OS({mutationFn: async (e) => {let t = await ge(e.ids, 4, async (t) => {- e.action === "remove" ? await vF(t) : await _F(t, e.action === "enabled");+ e.action === "remove" ? await _F(t) : await gF(t, e.action === "enabled");});return {...e,@@ -45502,13 +45502,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()), sL(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {+ if (s(/* @__PURE__ */ new Set()), oL(), 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,@@ -45520,14 +45520,14 @@ function o_e({ readOnly: e, toast: t }) {readOnly: e,shared: m,busy: r.busy,- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => _F(e.id, t, n), () => void sL()),- fetch: (e) => void r.run(`check-${e.id}`, (t) => yF(t, [e.id]), () => void sL()),- remove: (e) => void lL([e], async () => {- await vF(e.id), t(`已移除订阅源「${cL(e)}」`), sL();+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => gF(e.id, t, n), () => void oL()),+ fetch: (e) => void r.run(`check-${e.id}`, (t) => vF(t, [e.id]), () => void oL()),+ remove: (e) => void cL([e], async () => {+ await _F(e.id), t(`已移除订阅源「${sL(e)}」`), oL();})};let g = (0, B.useMemo)(() => {- let e = fI(), t = (e) => () => Qge[e] || e;+ let e = dI(), t = (e) => () => $ge[e] || e;return [e.display({id: "select",@@ -45536,18 +45536,18 @@ function o_e({ readOnly: e, toast: t }) {slot: null,isSelected: e.row.getIsSelected(),onChange: (t) => e.row.toggleSelected(t),- "aria-label": `选择 ${cL(e.row.original)}`+ "aria-label": `选择 ${sL(e.row.original)}`})}),- e.accessor(cL, {+ e.accessor(sL, {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",@@ -45575,15 +45575,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", {@@ -45591,7 +45591,7 @@ function o_e({ readOnly: e, toast: t }) {children: e.getValue()})}),- e.accessor((e) => e.last_fetched_at ? pj(e.last_fetched_at) : "还没拉过", {+ e.accessor((e) => e.last_fetched_at ? mj(e.last_fetched_at) : "还没拉过", {id: "fetched",header: t("fetched"),cell: (e) => /* @__PURE__ */ (0, V.jsx)("span", {@@ -45613,8 +45613,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)(rL, {- "aria-label": `启用 ${cL(e.row.original)}`,+ /* @__PURE__ */ (0, V.jsx)(nL, {+ "aria-label": `启用 ${sL(e.row.original)}`,isSelected: e.row.original.enabled,isDisabled: h.current.readOnly,onChange: (t) => h.current.toggle(e.row.original, t)@@ -45623,8 +45623,8 @@ function o_e({ readOnly: e, toast: t }) {variant: "secondary",size: "xs",iconOnly: !0,- leadingIcon: CT,- "aria-label": `拉取 ${cL(e.row.original)}`,+ leadingIcon: wT,+ "aria-label": `拉取 ${sL(e.row.original)}`,disabled: h.current.readOnly,...X(h.current.busy === `check-${e.row.original.id}`),onClick: () => h.current.fetch(e.row.original)@@ -45633,8 +45633,8 @@ function o_e({ readOnly: e, toast: t }) {variant: "secondary",size: "xs",iconOnly: !0,- leadingIcon: gT,- "aria-label": `移除 ${cL(e.row.original)}`,+ leadingIcon: _T,+ "aria-label": `移除 ${sL(e.row.original)}`,disabled: h.current.readOnly,onClick: () => h.current.remove(e.row.original)})@@ -45642,7 +45642,7 @@ function o_e({ readOnly: e, toast: t }) {})})];- }, []), _ = (0, B.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = nL({+ }, []), _ = (0, B.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = tL({data: a,columns: g,getRowId: (e) => String(e.id),@@ -45658,27 +45658,27 @@ 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: $I(),- getPaginationRowModel: eL()+ getCoreRowModel: QI(),+ getPaginationRowModel: $I()});if (!i) return n.error ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",title: "打不开订阅源",children: W(n.error)- }) : /* @__PURE__ */ (0, V.jsx)(Nk, { children: "正在读订阅源。" });- let y = () => void r.run("check", (e) => yF(e), () => void sL()), b = (e) => s((t) => {+ }) : /* @__PURE__ */ (0, V.jsx)(Pk, { children: "正在读订阅源。" });+ let y = () => void r.run("check", (e) => vF(e), () => void oL()), 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 sL()+ onAdded: () => void oL()}), /* @__PURE__ */ (0, V.jsxs)("section", {"aria-label": "JAV 订阅列表",- className: CE({+ className: wE({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -45706,9 +45706,9 @@ 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: `${cL(e)} 拉取失败`,+ title: `${sL(e)} 拉取失败`,children: e.last_error- }, e.id)), r.error ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: r.error }) : null]+ }, e.id)), r.error ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: r.error }) : null]}) : null,/* @__PURE__ */ (0, V.jsxs)(tS, {visible: x.length > 0,@@ -45742,7 +45742,7 @@ function o_e({ readOnly: e, toast: t }) {size: "small",disabled: e,...X(p.isPending),- onClick: () => void lL(x, () => p.mutateAsync({+ onClick: () => void cL(x, () => p.mutateAsync({ids: x.map((e) => e.id),action: "remove"})),@@ -45761,21 +45761,21 @@ function o_e({ readOnly: e, toast: t }) {children: /* @__PURE__ */ (0, V.jsxs)(VM, {"aria-label": "JAV 订阅源",size: "sm",- children: [/* @__PURE__ */ (0, V.jsx)(XO, { children: v.getHeaderGroups()[0].headers.map((e) => {- let t = tL(e.column.columnDef.header, e.getContext());- return /* @__PURE__ */ (0, V.jsx)(ZO, {+ children: [/* @__PURE__ */ (0, V.jsx)(ZO, { children: v.getHeaderGroups()[0].headers.map((e) => {+ let t = eL(e.column.columnDef.header, e.getContext());+ return /* @__PURE__ */ (0, V.jsx)(QO, {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)($O, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, V.jsx)(nk, {+ }) }), /* @__PURE__ */ (0, V.jsx)(ek, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, V.jsx)(rk, {id: e.id,"data-follow-selected": e.getIsSelected() || void 0,- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, V.jsx)(ik, { children: tL(e.column.columnDef.cell, e.getContext()) }, e.id))+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, V.jsx)(ak, { children: eL(e.column.columnDef.cell, e.getContext()) }, e.id))}, e.id)) })]})- }) : /* @__PURE__ */ (0, V.jsx)(wE, {- icon: wT,+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {+ icon: TT,title: "还没有订阅源",shell: "plain",children: "在上面按女优名添加,或在人物页点「订阅新作」。"@@ -45787,19 +45787,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)(Sk, {+ /* @__PURE__ */ (0, V.jsx)(Ck, {"aria-label": "每页显示数量",size: "sm",selectedKey: String(u),onSelectionChange: (e) => {e !== null && (d(Number(e)), l(1));},- children: YP.map((e) => /* @__PURE__ */ (0, V.jsx)(Ck, {+ children: JP.map((e) => /* @__PURE__ */ (0, V.jsx)(wk, {id: String(e),children: `每页 ${e} 条`}, e))}),- /* @__PURE__ */ (0, V.jsx)(oL, {+ /* @__PURE__ */ (0, V.jsx)(aL, {label: "JAV 订阅分页",page: f.page,pages: f.pages,@@ -45821,29 +45821,29 @@ function o_e({ readOnly: e, toast: t }) {}//#endregion//#region src/react/wants/resource-cache.ts-var uL = "peach.want-resources.v1", dL = 864e5;-function fL(e, t = Date.now()) {+var lL = "peach.want-resources.v1", uL = 864e5;+function dL(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 * dL : 7 * dL;+ return i.setUTCDate(Math.min(a, o)), Number.isFinite(n) && n < i.getTime() ? 365 * uL : 7 * uL;}-function pL() {+function fL() {try {- let e = JSON.parse(localStorage.getItem(uL) || "[]");+ let e = JSON.parse(localStorage.getItem(lL) || "[]");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 s_e(e, t) {- let n = pL().find((t) => t.code === e);- return n && Date.now() - n.saved < fL(t) ? n : void 0;-}function c_e(e, t) {+ let n = fL().find((t) => t.code === e);+ return n && Date.now() - n.saved < dL(t) ? n : void 0;+}+function l_e(e, t) {if (t.state === "ready") try {- let n = pL().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem(uL, JSON.stringify([{+ let n = fL().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem(lL, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -45852,7 +45852,7 @@ function c_e(e, t) {}//#endregion//#region src/react/wants/want-magnets.tsx-function mL({ icon: e, children: t }) {+function pL({ icon: e, children: t }) {return /* @__PURE__ */ (0, V.jsxs)("span", {className: "inline-flex items-center gap-1",children: [/* @__PURE__ */ (0, V.jsx)(e, {@@ -45861,8 +45861,8 @@ function mL({ icon: e, children: t }) {}), t]});}-function l_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 = kE(), f = lS(), p = (0, B.useRef)(!1), m = (0, B.useMemo)(() => s_e(e.code || "", e.release_date), [e.code, e.release_date]);+function u_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 = AE(), f = lS(), p = (0, B.useRef)(!1), m = (0, B.useMemo)(() => c_e(e.code || "", e.release_date), [e.code, e.release_date]);(0, B.useEffect)(() => {if (!o.current || s) return;let e = new IntersectionObserver((t) => {@@ -45878,15 +45878,15 @@ function l_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", c_e(e.code || "", r), r;+ return p.current = n && r.state === "busy", l_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 : fL(e.release_date)) ? Infinity : 0,+ staleTime: (t) => Date.now() - t.state.dataUpdatedAt < (t.state.data?.state === "error" ? 6e4 : dL(e.release_date)) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => Date.now() - t.state.dataUpdatedAt >= (t.state.data?.state === "error" ? 6e4 : fL(e.release_date)) && "always",+ refetchOnMount: (t) => Date.now() - t.state.dataUpdatedAt >= (t.state.data?.state === "error" ? 6e4 : dL(e.release_date)) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});@@ -45895,7 +45895,7 @@ function l_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}, [h.data?.source_url, a]);let g = n?.providers.find((e) => e.key === r && e.configured), _ = (r) => {t || !n?.available || !g || r.protocol !== "magnet" || d.run(r.id, async (t) => {- let n = await K(Xk, {+ let n = await K(Zk, {magnet: r.uri,provider: g.key,target: g.target,@@ -45906,7 +45906,7 @@ function l_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourif (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");return n;}, (e) => {- u((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), f.invalidateQueries({ queryKey: Zk });+ u((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), f.invalidateQueries({ queryKey: Qk });});}, v = (e) => {d.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -45924,7 +45924,7 @@ function l_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}), /* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: CT,+ leadingIcon: wT,...X(y),onClick: () => {y || (p.current = !0, h.refetch());@@ -45932,7 +45932,7 @@ function l_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourchildren: "重新查询"})]}),- y ? /* @__PURE__ */ (0, V.jsx)(TE, { label: "正在查找资源链接…" }) : null,+ y ? /* @__PURE__ */ (0, V.jsx)(EE, { label: "正在查找资源链接…" }) : null,b ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",title: "资源链接未取得",@@ -45961,18 +45961,18 @@ function l_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourclassName: "flex min-w-0 flex-1 flex-col gap-1",children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, V.jsx)(bE, {+ children: [/* @__PURE__ */ (0, V.jsx)(xE, {variant: "caption",color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",children: /* @__PURE__ */ (0, V.jsxs)("span", {className: "inline-flex items-center gap-1",- children: [e.protocol === "magnet" ? /* @__PURE__ */ (0, V.jsx)(xae, {+ children: [e.protocol === "magnet" ? /* @__PURE__ */ (0, V.jsx)(bae, {"aria-hidden": !0,className: "size-3.5"- }) : e.protocol === "ed2k" ? /* @__PURE__ */ (0, V.jsx)(aae, {+ }) : e.protocol === "ed2k" ? /* @__PURE__ */ (0, V.jsx)(iae, {"aria-hidden": !0,className: "size-3.5"- }) : /* @__PURE__ */ (0, V.jsx)(xT, {+ }) : /* @__PURE__ */ (0, V.jsx)(ST, {"aria-hidden": !0,className: "size-3.5"}), e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ed2k" : "网页链接"]@@ -45984,24 +45984,24 @@ function l_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)(mL, {- icon: xT,+ /* @__PURE__ */ (0, V.jsx)(pL, {+ icon: ST,children: e.source}),- /* @__PURE__ */ (0, V.jsx)(mL, {- icon: yT,+ /* @__PURE__ */ (0, V.jsx)(pL, {+ icon: bT,children: e.size || "大小未知"}),- e.files ? /* @__PURE__ */ (0, V.jsx)(mL, {- icon: oae,+ e.files ? /* @__PURE__ */ (0, V.jsx)(pL, {+ icon: aae,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, V.jsx)(mL, {- icon: tae,+ /* @__PURE__ */ (0, V.jsx)(pL, {+ icon: eae,children: e.date ? `${e.source === "JavDB 评论" ? "评论" : "收录"} ${e.date}` : "日期未知"}),- e.attributes.map((e) => /* @__PURE__ */ (0, V.jsx)(mL, {- icon: ST,+ e.attributes.map((e) => /* @__PURE__ */ (0, V.jsx)(pL, {+ icon: CT,children: e}, e))]@@ -46009,11 +46009,11 @@ function l_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}), /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex shrink-0 flex-wrap gap-2",children: [- /* @__PURE__ */ (0, V.jsx)(SE, {+ /* @__PURE__ */ (0, V.jsx)(CE, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: _T,+ trailingIcon: vT,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -46022,7 +46022,7 @@ function l_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour/* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: iae,+ leadingIcon: rae,...X(d.busy === `copy:${e.id}`),onClick: () => v(e),children: "复制链接"@@ -46030,7 +46030,7 @@ function l_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSoure.protocol === "magnet" ? /* @__PURE__ */ (0, V.jsx)(J, {variant: "primary",size: "small",- leadingIcon: pT,+ leadingIcon: mT,disabled: t || !n?.available || !g || r,...X(d.busy === e.id),onClick: () => _(e),@@ -46043,7 +46043,7 @@ function l_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourreturn /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, V.jsx)(zk, {+ }), e.length > 3 ? /* @__PURE__ */ (0, V.jsx)(Bk, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, V.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -46056,41 +46056,41 @@ function l_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour}//#endregion//#region src/react/wants/wants.ts-var hL = "/api/wants", gL = ["wants"], u_e = (e) => [+var mL = "/api/wants", hL = ["wants"], d_e = (e) => ["wants","follow",e-], d_e = [+], f_e = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], f_e = (e) => G(hL, e), p_e = (e, t) => G(`${hL}?follow=${encodeURIComponent(e)}`, t), _L = (e, t) => K(hL, {+], p_e = (e) => G(mL, e), m_e = (e, t) => G(`${mL}?follow=${encodeURIComponent(e)}`, t), gL = (e, t) => K(mL, {action: "add",...e-}, "POST", t), vL = (e, t) => K(hL, {+}, "POST", t), _L = (e, t) => K(mL, {action: "remove",ids: e-}, "POST", t), m_e = (e, t) => K(hL, {+}, "POST", t), h_e = (e, t) => K(mL, {action: "reset",ids: e-}, "POST", t), yL = () => z.invalidateQueries({ queryKey: gL }), bL = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function h_e(e) {+}, "POST", t), vL = () => z.invalidateQueries({ queryKey: hL }), yL = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function g_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 g_e = {+var __e = {code: "手动添加",feed: "Feed 新作",follow: "关注"-}, xL = (e) => [+}, bL = (e) => [e.release_date,e.studio,e.performers,- g_e[e.origin]+ __e[e.origin]].filter(Boolean).join(" · ");-function __e({ want: e }) {+function v_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", {@@ -46106,37 +46106,37 @@ function __e({ want: e }) {}) : null]});}-function v_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {+function y_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,- className: CE({+ className: wE({bordered: "soft",className: "flex flex-col gap-4 max-sm:p-4"}),children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 items-start gap-4 max-sm:gap-3",- children: [/* @__PURE__ */ (0, V.jsx)(__e, { want: e }), /* @__PURE__ */ (0, V.jsxs)("div", {+ children: [/* @__PURE__ */ (0, V.jsx)(v_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: bL(e)+ children: yL(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]}),- xL(e) ? /* @__PURE__ */ (0, V.jsx)("p", {+ bL(e) ? /* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: xL(e)+ children: bL(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: h_e(e)+ children: g_e(e)}) : null,e.scrape_error ? /* @__PURE__ */ (0, V.jsxs)("p", {className: "text-caption-1-regular text-text-secondary",@@ -46145,11 +46145,11 @@ function v_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo/* @__PURE__ */ (0, V.jsxs)("div", {className: "mt-1 flex flex-wrap items-center gap-2",children: [- d ? /* @__PURE__ */ (0, V.jsx)(SE, {+ d ? /* @__PURE__ */ (0, V.jsx)(CE, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: _T,+ trailingIcon: vT,href: d,target: "_blank",rel: "noopener noreferrer",@@ -46158,7 +46158,7 @@ function v_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDoe.phase === "searching" || e.phase === "given_up" ? /* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: pT,+ leadingIcon: mT,disabled: t,onClick: a,children: "云下载"@@ -46174,7 +46174,7 @@ function v_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo/* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: gT,+ leadingIcon: _T,disabled: t,...X(n === `remove:${e.id}`),onClick: i,@@ -46184,7 +46184,7 @@ function v_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)(l_e, {+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, V.jsx)(u_e, {want: e,readOnly: t,downloads: o,@@ -46194,36 +46194,36 @@ function v_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo}) : null]});}-function y_e({ readOnly: e, toast: t, cloudDownload: n }) {- let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(""), s = kE(), c = TS({- queryKey: gL,- queryFn: ({ signal: e }) => f_e(e),+function b_e({ readOnly: e, toast: t, cloudDownload: n }) {+ let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(""), s = AE(), c = TS({+ queryKey: hL,+ queryFn: ({ signal: e }) => p_e(e),refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1}), l = () => {let n = r.trim();- !n || e || s.run("add", (e) => _L({ code: n }, e), (e) => {- t(e.created ? `已加入想要:${bL(e.want)}` : `${bL(e.want)} 已经在想要里`), i(""), yL();+ !n || e || s.run("add", (e) => gL({ code: n }, e), (e) => {+ t(e.created ? `已加入想要:${yL(e.want)}` : `${yL(e.want)} 已经在想要里`), i(""), vL();});}, u = (e) => {e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), l());}, d = (e) => {- s.run(`remove:${e.id}`, (t) => vL([e.id], t), () => {- t(`已移除:${bL(e)}`), yL();+ s.run(`remove:${e.id}`, (t) => _L([e.id], t), () => {+ t(`已移除:${yL(e)}`), vL();});}, f = (e) => {- s.run(`reset:${e.id}`, (t) => m_e([e.id], t), () => {- t(`${bL(e)} 回到待找`), yL();+ s.run(`reset:${e.id}`, (t) => h_e([e.id], t), () => {+ t(`${yL(e)} 回到待找`), vL();});}, p = c.data, m = p?.items || [], h = TS({- queryKey: Zk,- queryFn: ({ signal: e }) => G(`${Xk}?limit=100`, e),+ queryKey: Qk,+ queryFn: ({ signal: e }) => G(`${Zk}?limit=100`, e),enabled: m.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))}), g = h.data?.providers.filter((e) => e.configured) || [], _ = g.find((e) => e.key === a)?.key || g[0]?.key || "";return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-8",children: [/* @__PURE__ */ (0, V.jsxs)("div", {- className: CE({+ className: wE({padding: "none",className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"}),@@ -46236,7 +46236,7 @@ function y_e({ readOnly: e, toast: t, cloudDownload: n }) {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)(_k, {+ children: /* @__PURE__ */ (0, V.jsx)(vk, {"aria-label": "番号",placeholder: "输入番号,例如 SSIS-950",value: r,@@ -46252,7 +46252,7 @@ function y_e({ readOnly: e, toast: t, cloudDownload: n }) {children: "添加"})]}),- /* @__PURE__ */ (0, V.jsx)(Nk, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),s.error ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",title: "这一次没有完成",@@ -46265,7 +46265,7 @@ function y_e({ readOnly: e, toast: t, cloudDownload: n }) {title: "想要清单读取失败",children: W(c.error)}) : null,- p?.scraping ? /* @__PURE__ */ (0, V.jsx)(Nk, {+ p?.scraping ? /* @__PURE__ */ (0, V.jsx)(Pk, {role: "status",children: "正在给刚加入的番号取资料与封面。"}) : null,@@ -46276,16 +46276,16 @@ function y_e({ readOnly: e, toast: t, cloudDownload: n }) {className: "text-body-medium text-text-primary",children: "下载到"}),- /* @__PURE__ */ (0, V.jsx)(Sk, {+ /* @__PURE__ */ (0, V.jsx)(Ck, {"aria-label": "下载到",selectedKey: _,onSelectionChange: (e) => o(String(e)),- children: g.map((e) => /* @__PURE__ */ (0, V.jsx)(Ck, {+ children: g.map((e) => /* @__PURE__ */ (0, V.jsx)(wk, {id: e.key,children: e.label}, e.key))}),- /* @__PURE__ */ (0, V.jsx)(Nk, { children: g.find((e) => e.key === _)?.target || "使用已配置的目标目录" })+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: g.find((e) => e.key === _)?.target || "使用已配置的目标目录" })]}) : null,h.error ? /* @__PURE__ */ (0, V.jsx)(Y, {@@ -46301,13 +46301,13 @@ function y_e({ readOnly: e, toast: t, cloudDownload: n }) {tone: "neutral",children: "云下载只在账本写入端可用。"}) : null,- p && !m.length ? /* @__PURE__ */ (0, V.jsx)(wE, {+ p && !m.length ? /* @__PURE__ */ (0, V.jsx)(TE, {shell: "plain",- icon: gae,+ icon: hae,title: "还没有想要的作品",children: "在上面输入番号,或在 Feed 新作卡、关注详情上点「想要」。"}) : null,- d_e.map(([r, i]) => {+ f_e.map(([r, i]) => {let a = m.filter((e) => e.phase === r);return a.length ? /* @__PURE__ */ (0, V.jsxs)("section", {"aria-label": i,@@ -46321,7 +46321,7 @@ function y_e({ readOnly: e, toast: t, cloudDownload: n }) {})]}), /* @__PURE__ */ (0, V.jsx)("ul", {className: "flex flex-col gap-4",- children: a.map((r) => /* @__PURE__ */ (0, V.jsx)(v_e, {+ children: a.map((r) => /* @__PURE__ */ (0, V.jsx)(y_e, {want: r,readOnly: e,busy: s.busy,@@ -46344,16 +46344,16 @@ function y_e({ readOnly: e, toast: t, cloudDownload: n }) {}//#endregion//#region src/react/follow-manage/follow-manage-page.tsx-var SL = [+var xL = [["list", "关注列表"],["add", "添加关注"],["feeds", "JAV 订阅源"],["wants", "JAV 入库"],["source", "来源和凭证"]-], CL = (e) => SL.some(([t]) => t === e);-function wL({ term: e, figure: t, unit: n }) {+], SL = (e) => xL.some(([t]) => t === e);+function CL({ term: e, figure: t, unit: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {- className: CE({+ className: wE({padding: "none",className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"}),@@ -46369,23 +46369,23 @@ function wL({ term: e, figure: t, unit: n }) {})]});}-function b_e(e) {- let { route: t, savePreference: n, toast: r, openFollow: i, cloudDownload: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, B.useState)(CL(e.tab) ? e.tab : "list"), [d, f] = (0, B.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, B.useState)(() => IP(e.sort, e.dir).sort), [h, g] = (0, B.useState)(() => IP(e.sort, e.dir).dir), [_, v] = (0, B.useState)(jme(e.layout) ? e.layout : "default"), [y, b] = (0, B.useState)(Mme(e.pageSize)), [x, S] = (0, B.useState)(/* @__PURE__ */ new Set()), C = TS({+function x_e(e) {+ let { route: t, savePreference: n, toast: r, openFollow: i, cloudDownload: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, B.useState)(SL(e.tab) ? e.tab : "list"), [d, f] = (0, B.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, B.useState)(() => FP(e.sort, e.dir).sort), [h, g] = (0, B.useState)(() => FP(e.sort, e.dir).dir), [_, v] = (0, B.useState)(Mme(e.layout) ? e.layout : "default"), [y, b] = (0, B.useState)(Nme(e.pageSize)), [x, S] = (0, B.useState)(/* @__PURE__ */ new Set()), C = TS({+ queryKey: WP,+ queryFn: ({ signal: e }) => lF(e)+ }), w = TS({queryKey: GP,queryFn: ({ signal: e }) => uF(e)- }), w = TS({- queryKey: KP,- queryFn: ({ signal: e }) => dF(e)}), T = TS({- queryKey: qP,- queryFn: ({ signal: e }) => gF(e)+ queryKey: KP,+ queryFn: ({ signal: e }) => hF(e)}), E = C.data || { sources: [] }, D = w.data || {root: "",providers: []}, O = E.sources;(0, B.useEffect)(() => {S((e) => {- let t = Rme(e, O);+ let t = zme(e, O);return t.size === e.size ? e : t;});}, [O]);@@ -46395,10 +46395,10 @@ function b_e(e) {tab: e.tab ?? l,page: e.page ?? d,sort: n === "checked" ? "" : n,- dir: r === FP[n] ? "" : r+ dir: r === PP[n] ? "" : r});- }, A = oF(O), j = O.filter(QP).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !TF(e)).length, P = new Set((T.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;- return /* @__PURE__ */ (0, V.jsxs)(EE, { children: [+ }, A = aF(O), j = O.filter(ZP).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !wF(e)).length, P = new Set((T.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;+ return /* @__PURE__ */ (0, V.jsxs)(DE, { children: [o ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "warning",title: "本机只能浏览",@@ -46416,61 +46416,61 @@ function b_e(e) {className: hde,"aria-label": "关注概览",children: [- /* @__PURE__ */ (0, V.jsx)(wL, {+ /* @__PURE__ */ (0, V.jsx)(CL, {term: "关注创作者",figure: A.length,unit: "位"}),- /* @__PURE__ */ (0, V.jsx)(wL, {+ /* @__PURE__ */ (0, V.jsx)(CL, {term: "启用来源",figure: M,unit: `/ ${O.length}`}),- /* @__PURE__ */ (0, V.jsx)(wL, {+ /* @__PURE__ */ (0, V.jsx)(CL, {term: "检查失败",figure: j,unit: "个来源"}),- /* @__PURE__ */ (0, V.jsx)(wL, {+ /* @__PURE__ */ (0, V.jsx)(CL, {term: "未看更新",figure: E.counts?.new || 0,unit: "条"}),- /* @__PURE__ */ (0, V.jsx)(wL, {+ /* @__PURE__ */ (0, V.jsx)(CL, {term: "JAV 订阅",figure: P,unit: "位"}),- /* @__PURE__ */ (0, V.jsx)(wL, {+ /* @__PURE__ */ (0, V.jsx)(CL, {term: "未看新作",figure: T.data?.unread || 0,unit: "条"})]}),- /* @__PURE__ */ (0, V.jsxs)(ck, {+ /* @__PURE__ */ (0, V.jsxs)(lk, {selectedKey: l,onSelectionChange: (e) => {let t = String(e);- CL(t) && (u(t), k({ tab: t }));+ SL(t) && (u(t), k({ tab: t }));},className: "flex flex-col gap-6",children: [- /* @__PURE__ */ (0, V.jsx)(lk, {+ /* @__PURE__ */ (0, V.jsx)(uk, {"aria-label": "关注管理区域","data-section-nav": !0,"data-section-items": !0,className: "flex max-w-full flex-nowrap overflow-x-auto",- children: SL.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(uk, {+ children: xL.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(dk, {id: e,className: "cursor-pointer whitespace-nowrap",children: e === "source" && N ? `${t}(${N})` : t}, e))}),- /* @__PURE__ */ (0, V.jsx)(dk, {+ /* @__PURE__ */ (0, V.jsx)(fk, {id: "list",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, V.jsx)(Zge, {+ children: /* @__PURE__ */ (0, V.jsx)(Qge, {data: E,sort: p,dir: h,@@ -46500,10 +46500,10 @@ function b_e(e) {}})}),- /* @__PURE__ */ (0, V.jsxs)(dk, {+ /* @__PURE__ */ (0, V.jsxs)(fk, {id: "add",className: "flex flex-col gap-8",- children: [/* @__PURE__ */ (0, V.jsx)(qhe, {+ children: [/* @__PURE__ */ (0, V.jsx)(Jhe, {data: E,credentials: D,readOnly: o,@@ -46511,7 +46511,7 @@ function b_e(e) {openCredentials: () => {u("source"), k({ tab: "source" });}- }), /* @__PURE__ */ (0, V.jsx)(Xhe, {+ }), /* @__PURE__ */ (0, V.jsx)(Zhe, {groups: E.author_aliases || [],readOnly: o,toast: r,@@ -46519,27 +46519,27 @@ function b_e(e) {sources: E.sources})]}),- /* @__PURE__ */ (0, V.jsx)(dk, {+ /* @__PURE__ */ (0, V.jsx)(fk, {id: "feeds",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, V.jsx)(o_e, {+ children: /* @__PURE__ */ (0, V.jsx)(s_e, {readOnly: o,toast: r})}),- /* @__PURE__ */ (0, V.jsx)(dk, {+ /* @__PURE__ */ (0, V.jsx)(fk, {id: "wants",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, V.jsx)(y_e, {+ children: /* @__PURE__ */ (0, V.jsx)(b_e, {readOnly: o,toast: r,cloudDownload: a})}),- /* @__PURE__ */ (0, V.jsx)(dk, {+ /* @__PURE__ */ (0, V.jsx)(fk, {id: "source",className: "flex flex-col gap-4",- children: /* @__PURE__ */ (0, V.jsx)(age, {+ children: /* @__PURE__ */ (0, V.jsx)(oge, {data: D,readOnly: o,toast: r@@ -46551,15 +46551,15 @@ function b_e(e) {}//#endregion//#region src/react/components/board-tabs.tsx-function TL({ value: e }) {+function wL({ 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 x_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 EL({ tabs: e, value: t, label: n, onChange: r }) {+var S_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 TL({ 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;@@ -46594,7 +46594,7 @@ function EL({ tabs: e, value: t, label: n, onChange: r }) {"data-tab": e.value,"aria-selected": i,tabIndex: i ? 0 : -1,- className: x_e,+ className: S_e,onClick: () => {i || r(e.value);},@@ -46610,12 +46610,12 @@ function EL({ tabs: e, value: t, label: n, onChange: r }) {}//#endregion//#region src/react/index/index-tags.tsx-var DL = () => /* @__PURE__ */ (0, V.jsx)("span", {+var EL = () => /* @__PURE__ */ (0, V.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"});-function S_e({ tag: e, actions: t }) {+function C_e({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",@@ -46626,7 +46626,7 @@ function S_e({ tag: e, actions: t }) {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)(DL, {}),+ /* @__PURE__ */ (0, V.jsx)(EL, {}),/* @__PURE__ */ (0, V.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -46638,23 +46638,23 @@ function S_e({ tag: e, actions: t }) {]});}-function C_e({ groups: e, actions: t }) {+function w_e({ groups: e, actions: t }) {return /* @__PURE__ */ (0, V.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, V.jsxs)("section", {"data-alpha-group": r,- className: CE({+ className: wE({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),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)(TL, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, V.jsx)(wL, { 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)(S_e, {+ children: n.map((e) => /* @__PURE__ */ (0, V.jsx)(C_e, {tag: e,actions: t}, e.k))@@ -46662,8 +46662,8 @@ function C_e({ groups: e, actions: t }) {}, e))});}-var w_e = "\xA0";-function T_e({ tags: e, actions: t }) {+var T_e = "\xA0";+function E_e({ tags: e, actions: t }) {return /* @__PURE__ */ (0, V.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",@@ -46675,7 +46675,7 @@ function T_e({ tags: e, actions: t }) {"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 + w_e, /* @__PURE__ */ (0, V.jsx)("span", {+ children: [e.label + T_e, /* @__PURE__ */ (0, V.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",children: e.n.toLocaleString()@@ -46683,7 +46683,7 @@ function T_e({ tags: e, actions: t }) {}, e.k))});}-var E_e = [[+var D_e = [["cloud","标签云","tags"@@ -46692,7 +46692,7 @@ var E_e = [["字母表","text-aa"]];-function D_e({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {+function O_e({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {return /* @__PURE__ */ (0, V.jsx)(oA, {label: "标签筛选",topLabel: "标签类型",@@ -46701,7 +46701,7 @@ function D_e({ categories: e, category: t, online: n, readout: r, letters: i, vi"data-tag-cat": e === "all" ? "all" : ON(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, V.jsx)(DL, {}), r]+ children: [/* @__PURE__ */ (0, V.jsx)(EL, {}), r]}, e)),bottom: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("span", {@@ -46720,15 +46720,15 @@ function D_e({ categories: e, category: t, online: n, readout: r, letters: i, vichildren: e}, e))}) : null,- /* @__PURE__ */ (0, V.jsx)(NO, {+ /* @__PURE__ */ (0, V.jsx)(PO, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),className: `ml-auto ${hA}`,- children: E_e.map(([e, t, n]) => {+ children: D_e.map(([e, t, n]) => {let r = vA(n);- return /* @__PURE__ */ (0, V.jsx)(PO, {+ return /* @__PURE__ */ (0, V.jsx)(FO, {value: e,"aria-label": t,"data-glass-segment": "",@@ -46744,7 +46744,7 @@ function D_e({ categories: e, category: t, online: n, readout: r, letters: i, vi] })});}-function O_e({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+function k_e({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {return /* @__PURE__ */ (0, V.jsxs)(tS, {visible: e > 0,label: "所选标签操作",@@ -46782,7 +46782,7 @@ function O_e({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {}//#endregion//#region src/react/index/index-page.tsx-var k_e = [{+var A_e = [{value: "studios",label: "厂牌",symbol: "clapperboard"@@ -46790,7 +46790,7 @@ var k_e = [{value: "agencies",label: "事务所",symbol: "briefcase"-}], A_e = [{+}], j_e = [{value: "local",label: "本地",symbol: "hard-drive"@@ -46798,7 +46798,7 @@ var k_e = [{value: "online",label: "在线",symbol: "rss"-}], j_e = [+}], M_e = [{value: "performers",label: "艺人",@@ -46814,7 +46814,7 @@ var k_e = [{label: "在线",symbol: "rss"}-], M_e = {+], N_e = {people: [["big","大图 · 竖幅头像",@@ -46834,7 +46834,7 @@ var k_e = [{"layout-grid"]]};-function N_e({ kind: e, layout: t, onChange: n }) {+function P_e({ kind: e, layout: t, onChange: n }) {return /* @__PURE__ */ (0, V.jsx)(fA, {"aria-label": `${gN[e]}索引版式`,orientation: "horizontal",@@ -46842,9 +46842,9 @@ function N_e({ kind: e, layout: t, onChange: n }) {onChange: (e) => n(e),"data-index-layout": "",className: `flex-none max-board-narrow:order-3 ${pA}`,- children: M_e[SN(e) ? "company" : "people"].map(([e, t, n]) => {+ children: N_e[SN(e) ? "company" : "people"].map(([e, t, n]) => {let r = vA(n);- return /* @__PURE__ */ (0, V.jsx)(PO, {+ return /* @__PURE__ */ (0, V.jsx)(FO, {value: e,"aria-label": t,className: tle,@@ -46857,8 +46857,8 @@ function N_e({ kind: e, layout: t, onChange: n }) {})});}-var P_e = vA("search");-function F_e({ label: e, value: t, onQuery: n }) {+var F_e = vA("search");+function I_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) => {@@ -46873,15 +46873,15 @@ function F_e({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, V.jsx)(mk, {+ children: /* @__PURE__ */ (0, V.jsx)(hk, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, V.jsx)(gk, {+ children: /* @__PURE__ */ (0, V.jsx)(_k, {type: "search",- leadingIcon: P_e,+ leadingIcon: F_e,spellCheck: !1,autoComplete: "off",onKeyDown: (e) => {@@ -46891,7 +46891,7 @@ function F_e({ label: e, value: t, onQuery: n }) {})});}-function I_e(e) {+function L_e(e) {let [t, n] = (0, B.useState)(() => CN({kind: e.kind,q: e.q,@@ -46937,8 +46937,8 @@ function I_e(e) {u]), N = (t) => {i(t), e.savePreference({ layout: t });- }, P = u === "tags" ? /* @__PURE__ */ (0, V.jsx)(EL, {- tabs: A_e,+ }, P = u === "tags" ? /* @__PURE__ */ (0, V.jsx)(TL, {+ tabs: j_e,value: f,label: "词表",onChange: (e) => {@@ -46948,8 +46948,8 @@ function I_e(e) {view: e === "online" ? "alphabet" : p});}- }) : SN(u) ? /* @__PURE__ */ (0, V.jsx)(EL, {- tabs: k_e,+ }) : SN(u) ? /* @__PURE__ */ (0, V.jsx)(TL, {+ tabs: A_e,value: u,label: "公司类型",onChange: (e) => b({ kind: e })@@ -46986,7 +46986,7 @@ function I_e(e) {className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",children: S.isPending ? "" : T}) : null,- xN(u) ? /* @__PURE__ */ (0, V.jsx)(N_e, {+ xN(u) ? /* @__PURE__ */ (0, V.jsx)(P_e, {kind: u,layout: r,onChange: N@@ -46995,7 +46995,7 @@ function I_e(e) {"aria-hidden": !0,className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"}),- /* @__PURE__ */ (0, V.jsx)(F_e, {+ /* @__PURE__ */ (0, V.jsx)(I_e, {label: `过滤${h}`,value: d,onQuery: (e) => {@@ -47004,8 +47004,8 @@ function I_e(e) {})]}),- u === "performers" || u === "creators" ? /* @__PURE__ */ (0, V.jsx)(EL, {- tabs: j_e,+ u === "performers" || u === "creators" ? /* @__PURE__ */ (0, V.jsx)(TL, {+ tabs: M_e,value: _ ? "online" : u,label: "人物名册",onChange: (t) => {@@ -47028,7 +47028,7 @@ function I_e(e) {children: t}, e))}) : null,- u === "tags" ? /* @__PURE__ */ (0, V.jsx)(D_e, {+ u === "tags" ? /* @__PURE__ */ (0, V.jsx)(O_e, {categories: F,category: m,online: g,@@ -47053,7 +47053,7 @@ function I_e(e) {mode: p}) }});- if (S.isError) return /* @__PURE__ */ (0, V.jsx)(wE, {+ if (S.isError) return /* @__PURE__ */ (0, V.jsx)(TE, {icon: vA("search"),title: `没能读取${h}`,actions: /* @__PURE__ */ (0, V.jsx)(J, {@@ -47063,7 +47063,7 @@ function I_e(e) {}),children: ye(S.error)});- if (!C.length) return /* @__PURE__ */ (0, V.jsx)(R_e, {+ if (!C.length) return /* @__PURE__ */ (0, V.jsx)(z_e, {kind: u,filtered: !!d || m !== "all",online: g || _,@@ -47085,10 +47085,10 @@ function I_e(e) {picked: a,press: ee};- return p === "alphabet" ? /* @__PURE__ */ (0, V.jsx)(C_e, {+ return p === "alphabet" ? /* @__PURE__ */ (0, V.jsx)(w_e, {groups: M,actions: t- }) : /* @__PURE__ */ (0, V.jsx)(T_e, {+ }) : /* @__PURE__ */ (0, V.jsx)(E_e, {tags: j,actions: t});@@ -47103,13 +47103,13 @@ function I_e(e) {disabled: S.isFetchingNextPage,"aria-busy": S.isFetchingNextPage || void 0,onClick: () => void S.fetchNextPage(),- children: S.isFetchingNextPage ? /* @__PURE__ */ (0, V.jsx)(TE, {+ children: S.isFetchingNextPage ? /* @__PURE__ */ (0, V.jsx)(EE, {inline: !0,label: "继续载入中…"}) : "载入更多"})}) : null,- u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, V.jsx)(O_e, {+ u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, V.jsx)(k_e, {count: a.size,match: s,onMatch: c,@@ -47122,30 +47122,30 @@ function I_e(e) {]});}-var L_e = {+var R_e = {tags: "标签",performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所"};-function R_e({ kind: e, filtered: t, online: n, configurable: r }) {- if (t) return /* @__PURE__ */ (0, V.jsx)(wE, {+function z_e({ kind: e, filtered: t, online: n, configurable: r }) {+ if (t) return /* @__PURE__ */ (0, V.jsx)(TE, {icon: vA("search"),title: "没有符合条件的内容",- actions: /* @__PURE__ */ (0, V.jsx)(SE, {+ actions: /* @__PURE__ */ (0, V.jsx)(CE, {variant: "primary",href: "/?loc=&thumb=0",children: "查看全部内容"}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : L_e[e], a = /* @__PURE__ */ (0, V.jsx)(SE, {+ let i = n && e === "performers" ? "创作者" : R_e[e], a = /* @__PURE__ */ (0, V.jsx)(CE, {variant: !r || n ? "primary" : "secondary",href: "/follow-manage?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, V.jsx)(wE, {+ return /* @__PURE__ */ (0, V.jsx)(TE, {icon: vA(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,actions: n ? a : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [r ? /* @__PURE__ */ (0, V.jsx)(J, {@@ -47156,15 +47156,15 @@ function R_e({ kind: e, filtered: t, online: n, configurable: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var OL = {+var DL = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, z_e = (e) => OL[e.junk_kind || "other"] || OL.other;-function B_e(e) {+}, B_e = (e) => DL[e.junk_kind || "other"] || DL.other;+function V_e(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -47175,21 +47175,21 @@ function B_e(e) {glyph: "check"};}-var kL = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), V_e = (e, t) => [+var OL = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), H_e = (e, t) => ["junk-queue",e.view,e.kind,t];-function H_e({ kind: e, view: t }) {+function U_e({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function U_e(e, t) {- let n = await G(`/api/ads?${H_e(e)}`, t);+async function W_e(e, t) {+ let n = await G(`/api/ads?${U_e(e)}`, t);return {...n,items: n.items || []@@ -47197,19 +47197,19 @@ async function U_e(e, t) {}//#endregion//#region src/react/junk-queue/junk-card.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}` })});}-var jL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function W_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] = z_e(e), m = String(e.name || ""), h = B_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]") || jL(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var AL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function G_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] = B_e(e), m = String(e.name || ""), h = V_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]") || AL(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- if (t.stopPropagation(), jL(r, t)) {+ if (t.stopPropagation(), AL(r, t)) {t.preventDefault(), a.toggleSelection(e.id, t.shiftKey);return;}@@ -47251,7 +47251,7 @@ function W_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)(AL, { name: p }), /* @__PURE__ */ (0, V.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, V.jsx)(kL, { name: p }), /* @__PURE__ */ (0, V.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, V.jsx)("span", {"data-media-art": "thumb",@@ -47263,7 +47263,7 @@ function W_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)(AL, { name: "check" })+ children: /* @__PURE__ */ (0, V.jsx)(kL, { name: "check" })})]}),@@ -47300,7 +47300,7 @@ function W_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)(AL, { name: "folder-open" }), /* @__PURE__ */ (0, V.jsx)("span", {+ }) : /* @__PURE__ */ (0, V.jsx)(kL, { name: "folder-open" }), /* @__PURE__ */ (0, V.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -47312,7 +47312,7 @@ function W_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)(AL, { name: h.glyph }), /* @__PURE__ */ (0, V.jsx)("span", {+ children: [/* @__PURE__ */ (0, V.jsx)(kL, { name: h.glyph }), /* @__PURE__ */ (0, V.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -47324,7 +47324,7 @@ function W_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, V.jsx)(AL, { name: "trash" }), /* @__PURE__ */ (0, V.jsx)("span", {+ children: [/* @__PURE__ */ (0, V.jsx)(kL, { name: "trash" }), /* @__PURE__ */ (0, V.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -47339,7 +47339,7 @@ function W_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var G_e = (0, B.memo)(W_e), ML = [+var K_e = (0, B.memo)(G_e), jL = [["","全部",@@ -47376,53 +47376,53 @@ var G_e = (0, B.memo)(W_e), ML = ["hard-drive"]];-function NL(e = "", t = "pending") {+function ML(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 K_e(e) {+function q_e(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: NL("", "pending")+ href: ML("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: NL("", "dismissed")+ href: ML("", "dismissed")};}-var q_e = (e) => e === "dismissed" ? "已排除" : "待判断";+var J_e = (e) => e === "dismissed" ? "已排除" : "待判断";//#endregion//#region src/react/junk-queue/junk-count.tsx-function PL({ name: e }) {+function NL({ 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 FL({ scope: e, count: t }) {+function PL({ 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 J_e({ route: e, page: t, failed: n, onNavigate: r }) {- let i = OM(), a = (0, B.useRef)(null), { kind: o, view: s } = e, c = lA(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? ML.map(([e]) => kL(t, e)).join(",") : ""}`), l = K_e(s), u = (e) => {+function Y_e({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = OM(), a = (0, B.useRef)(null), { kind: o, view: s } = e, c = lA(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? jL.map(([e]) => OL(t, e)).join(",") : ""}`), l = q_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") || NL()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || ML()));}, 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)(TP, {- label: q_e(s),+ children: /* @__PURE__ */ (0, V.jsx)(wP, {+ label: J_e(s),figure: d,pending: !t && !n,flush: !0@@ -47442,17 +47442,17 @@ function J_e({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- ML.map(([e, n, r]) => /* @__PURE__ */ (0, V.jsxs)("a", {- href: NL(e, s),+ jL.map(([e, n, r]) => /* @__PURE__ */ (0, V.jsxs)("a", {+ href: ML(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, V.jsx)(PL, { name: r }),+ /* @__PURE__ */ (0, V.jsx)(NL, { name: r }),n,- /* @__PURE__ */ (0, V.jsx)(FL, {+ /* @__PURE__ */ (0, V.jsx)(PL, {scope: e,- count: t ? kL(t, e) : 0+ count: t ? OL(t, e) : 0})]}, e || "all")),@@ -47466,9 +47466,9 @@ function J_e({ 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)(PL, { name: l.glyph }),+ /* @__PURE__ */ (0, V.jsx)(NL, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, V.jsx)(FL, {+ /* @__PURE__ */ (0, V.jsx)(PL, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -47481,33 +47481,33 @@ function J_e({ route: e, page: t, failed: n, onNavigate: r }) {}//#endregion//#region src/react/junk-queue/junk-queue-page.tsx-var Y_e = vA("check"), X_e = (e, t) => e[1] === t.view && e[2] === t.kind;-function Z_e(e) {+var X_e = vA("check"), Z_e = (e, t) => e[1] === t.view && e[2] === t.kind;+function Q_e(e) {let t = {kind: e.kind,view: e.view}, n = TS({- queryKey: V_e(t, e.revision),- queryFn: ({ signal: e }) => U_e(t, e),- placeholderData: (e, n) => n && X_e(n.queryKey, t) ? e : void 0+ queryKey: H_e(t, e.revision),+ queryFn: ({ signal: e }) => W_e(t, e),+ placeholderData: (e, n) => n && Z_e(n.queryKey, t) ? e : void 0});(0, B.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = Q_e(e.countRow), i = n.isPending;+ let r = $_e(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)(J_e, {+ let { navigate: a } = e.actions, o = r ? (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)(Y_e, {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)($_e, {+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [o, /* @__PURE__ */ (0, V.jsx)(eve, {props: e,data: n.data,pending: i,@@ -47515,7 +47515,7 @@ function Z_e(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function Q_e(e) {+function $_e(e) {let [t, n] = (0, B.useState)(null);return (0, B.useLayoutEffect)(() => {if (!e) return;@@ -47525,8 +47525,8 @@ function Q_e(e) {};}, [e]), t;}-function $_e({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = DA(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 eve({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = OA(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", {@@ -47534,14 +47534,14 @@ function $_e({ 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)(OA, {+ if (!t) return /* @__PURE__ */ (0, V.jsx)(kA, {message: ye(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, V.jsx)(wE, {- icon: Y_e,+ return /* @__PURE__ */ (0, V.jsx)(TE, {+ icon: X_e,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"});@@ -47550,7 +47550,7 @@ function $_e({ 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)(G_e, {+ children: u.map((t) => /* @__PURE__ */ (0, V.jsx)(K_e, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -47558,11 +47558,11 @@ function $_e({ 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)(eve, { onMore: f }, s) : null] });+ }), u.length < l.length ? /* @__PURE__ */ (0, V.jsx)(tve, { onMore: f }, s) : null] });})()]});}-function eve({ onMore: e }) {+function tve({ onMore: e }) {let t = (0, B.useRef)(null);return (0, B.useEffect)(() => {let n = t.current;@@ -47580,12 +47580,12 @@ function eve({ onMore: e }) {}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var IL = "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", tve = {- gray: `${IL} border-separator-border bg-background-secondary-default text-text-secondary`,- warning: `${IL} border-current/35 bg-status-yellow-background text-status-yellow-text`,- error: `${IL} border-current/35 bg-background-tertiary-error text-text-error-primary`+var FL = "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", nve = {+ gray: `${FL} border-separator-border bg-background-secondary-default text-text-secondary`,+ warning: `${FL} border-current/35 bg-status-yellow-background text-status-yellow-text`,+ error: `${FL} border-current/35 bg-background-tertiary-error text-text-error-primary`};-function nve({ value: e, max: t }) {+function rve({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, V.jsxs)("svg", {role: "progressbar",@@ -47613,16 +47613,16 @@ function nve({ value: e, max: t }) {})]});}-function rve(e) {- let { job: t } = NM(e), n = t.data, r = t.isError ? n ? QA : W(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";+function ive(e) {+ let { job: t } = NM(e), n = t.data, r = t.isError ? n ? $A : 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 ? "扫描与资料采集未完成" : ej(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? fae : rae;+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : tj(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? dae : nae;return /* @__PURE__ */ (0, V.jsxs)("aside", {role: a ? "alert" : "status",- className: tve[s],+ className: nve[s],children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 items-center gap-3",- children: [o && l ? /* @__PURE__ */ (0, V.jsx)(nve, {+ children: [o && l ? /* @__PURE__ */ (0, V.jsx)(rve, {value: c,max: l}) : /* @__PURE__ */ (0, V.jsx)(d, {@@ -47632,42 +47632,42 @@ function rve(e) {className: "min-w-0 text-body-2-regular",children: u})]- }), /* @__PURE__ */ (0, V.jsx)(Ok, {+ }), /* @__PURE__ */ (0, V.jsx)(kk, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: cT,+ trailingIcon: lT,children: r || a ? "查看并处理" : "查看进度"})]});}//#endregion//#region src/react/playlists/playlists.ts-var ive = "/api/playlists", LL = "/api/playlist", RL = ["playlists"], zL = (e) => G(ive, e);-async function ave(e) {+var ave = "/api/playlists", IL = "/api/playlist", LL = ["playlists"], RL = (e) => G(ave, e);+async function ove(e) {await z.fetchQuery({- queryKey: RL,- queryFn: () => zL(e),+ queryKey: LL,+ queryFn: () => RL(e),staleTime: 0});}-var BL = () => z.invalidateQueries({- queryKey: RL,+var zL = () => z.invalidateQueries({+ queryKey: LL,exact: !0-}), ove = (e) => e.current_asset_id || e.preview_asset_id || null, VL = (e) => `/poster?id=${e}&c=4`, sve = (e) => K(LL, {+}), sve = (e) => e.current_asset_id || e.preview_asset_id || null, BL = (e) => `/poster?id=${e}&c=4`, cve = (e) => K(IL, {action: "create",name: e,asset_ids: []-}), HL = (e, t) => K(LL, {+}), VL = (e, t) => K(IL, {action: "rename",id: e,name: t-}), UL = (e) => K(LL, {+}), HL = (e) => K(IL, {action: "delete",id: e-}), cve = (e) => G(`${LL}?id=${e}`).catch(() => null);-function lve(e) {+}), lve = (e) => G(`${IL}?id=${e}`).catch(() => null);+function uve(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return K(LL, {+ return K(IL, {action: "create",name: e.name,asset_ids: t,@@ -47677,18 +47677,18 @@ function lve(e) {}//#endregion//#region src/react/playlists/playlists-page.tsx-var uve = vA("ellipsis"), dve = vA("pencil"), fve = vA("trash"), pve = vA("playlist"), WL = _E(yk, bk, "text-body-2-medium"), GL = "播放列表名称不能为空", KL = (e) => async () => {+var dve = vA("ellipsis"), fve = vA("pencil"), pve = vA("trash"), mve = vA("playlist"), UL = vE(bk, xk, "text-body-2-medium"), WL = "播放列表名称不能为空", GL = (e) => async () => {try {await e();} finally {- BL();+ zL();}};-function mve({ toast: e }) {+function hve({ toast: e }) {let [t, n] = (0, B.useState)(""), [r, i] = (0, B.useState)(""), a = OS({- mutationFn: (e) => sve(e),+ mutationFn: (e) => cve(e),onSuccess: (t) => {- n(""), i(""), BL(), e("已新建播放列表", { undo: KL(() => UL(t.playlist.id)) });+ n(""), i(""), zL(), e("已新建播放列表", { undo: GL(() => HL(t.playlist.id)) });},onError: (e) => i(W(e) || "新建失败")});@@ -47698,7 +47698,7 @@ function mve({ toast: e }) {onSubmit: (e) => {if (e.preventDefault(), !a.isPending) {if (!t.trim()) {- i(GL);+ i(WL);return;}a.mutate(t);@@ -47707,7 +47707,7 @@ function mve({ 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)(_k, {+ children: /* @__PURE__ */ (0, V.jsx)(vk, {label: "新播放列表",placeholder: "输入名称",maxLength: 80,@@ -47726,7 +47726,7 @@ function mve({ toast: e }) {})]});}-function hve({ target: e, close: t, toast: n }) {+function gve({ 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;@@ -47737,13 +47737,13 @@ function hve({ target: e, close: t, toast: n }) {return () => cancelAnimationFrame(t);}, [e]);let c = OS({- mutationFn: ({ row: e, value: t }) => HL(e.id, t),+ mutationFn: ({ row: e, value: t }) => VL(e.id, t),onSuccess: (e, { row: r }) => {- t(), BL(), n("已重命名播放列表", { undo: KL(() => HL(r.id, r.name)) });+ t(), zL(), n("已重命名播放列表", { undo: GL(() => VL(r.id, r.name)) });},onError: (e) => o(W(e))});- return /* @__PURE__ */ (0, V.jsx)(QN, {+ return /* @__PURE__ */ (0, V.jsx)($N, {isOpen: !!e,onOpenChange: (e) => {e || t();@@ -47755,7 +47755,7 @@ function hve({ target: e, close: t, toast: n }) {if (t.preventDefault(), !e || c.isPending) return;let n = r.trim();if (!n) {- o(GL);+ o(WL);return;}c.mutate({@@ -47766,11 +47766,11 @@ function hve({ target: e, close: t, toast: n }) {className: "flex min-h-0 flex-col",children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-4 p-5",- children: [/* @__PURE__ */ (0, V.jsx)(XE, {+ children: [/* @__PURE__ */ (0, V.jsx)(ZE, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "编辑名称"- }), /* @__PURE__ */ (0, V.jsx)(_k, {+ }), /* @__PURE__ */ (0, V.jsx)(vk, {ref: s,label: "名称",placeholder: "输入名称",@@ -47798,7 +47798,7 @@ function hve({ target: e, close: t, toast: n }) {})});}-function gve({ name: e, onRename: t, onDelete: n }) {+function _ve({ name: e, onRename: t, onDelete: n }) {let r = (0, B.useRef)(null), [i, a] = (0, B.useState)(!1), o = (e) => {a(!1), e();};@@ -47812,33 +47812,33 @@ function gve({ 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)(uve, {+ children: /* @__PURE__ */ (0, V.jsx)(dve, {"aria-hidden": !0,className: "size-4.5"})- }), /* @__PURE__ */ (0, V.jsx)(hO, {+ }), /* @__PURE__ */ (0, V.jsx)(gO, {triggerRef: r,isOpen: i,onOpenChange: a,placement: "bottom end",offset: 4,- className: vk,+ className: yk,children: /* @__PURE__ */ (0, V.jsxs)(SM, {"aria-label": `播放列表操作:${e}`,className: "flex w-37.5 flex-col gap-0.5 outline-none",children: [/* @__PURE__ */ (0, V.jsxs)("button", {type: "button",- className: WL,+ className: UL,onClick: () => o(t),- children: [/* @__PURE__ */ (0, V.jsx)(dve, {+ children: [/* @__PURE__ */ (0, V.jsx)(fve, {"aria-hidden": !0,className: "size-4 shrink-0"}), "编辑名称"]}), /* @__PURE__ */ (0, V.jsxs)("button", {type: "button",- className: WL,+ className: UL,onClick: () => o(n),- children: [/* @__PURE__ */ (0, V.jsx)(fve, {+ children: [/* @__PURE__ */ (0, V.jsx)(pve, {"aria-hidden": !0,className: "size-4 shrink-0"}), "删除播放列表"]@@ -47846,13 +47846,13 @@ function gve({ name: e, onRename: t, onDelete: n }) {})})] });}-function _ve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {+function vve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {let a = TS({- queryKey: RL,- queryFn: ({ signal: e }) => zL(e)+ queryKey: LL,+ queryFn: ({ signal: e }) => RL(e)}), [o, s] = (0, B.useState)(null), c = (0, B.useRef)(i);(0, B.useEffect)(() => {- c.current !== i && (c.current = i, BL());+ c.current !== i && (c.current = i, zL());}, [i]);let l = a.data;if (!l) return /* @__PURE__ */ (0, V.jsx)("div", {@@ -47870,8 +47870,8 @@ function _ve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: iconfirmLabel: "删除播放列表",danger: !0,onConfirm: async () => {- let t = await cve(e.id);- await UL(e.id), BL(), r("已删除播放列表", t ? { undo: KL(() => lve(t)) } : void 0);+ let t = await lve(e.id);+ await HL(e.id), zL(), r("已删除播放列表", t ? { undo: GL(() => uve(t)) } : void 0);}});};@@ -47886,38 +47886,38 @@ function _ve({ 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)(mve, { toast: r })]+ })] }), /* @__PURE__ */ (0, V.jsx)(hve, { 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 = ove(r);- return /* @__PURE__ */ (0, V.jsx)(LA, {+ let i = sve(r);+ return /* @__PURE__ */ (0, V.jsx)(RA, {"data-playlist-card": String(r.id),name: r.name,caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",count: r.item_count,- poster: r.preview_asset_id ? VL(r.preview_asset_id) : null,- flipImages: async () => (r.preview_ids || []).map(VL),+ poster: r.preview_asset_id ? BL(r.preview_asset_id) : null,+ flipImages: async () => (r.preview_ids || []).map(BL),canFlip: n,faces: r.faces || [],onOpenEntity: t,...i ? { onOpen: () => e(r.id, i) } : {},openLabel: `打开播放列表 ${r.name}`,- menu: /* @__PURE__ */ (0, V.jsx)(gve, {+ menu: /* @__PURE__ */ (0, V.jsx)(_ve, {name: r.name,onRename: () => s(r),onDelete: () => d(r)})}, r.id);})- }) : /* @__PURE__ */ (0, V.jsx)(wE, {- icon: pve,+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {+ icon: mve,title: "还没有播放列表",children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"}),- /* @__PURE__ */ (0, V.jsx)(hve, {+ /* @__PURE__ */ (0, V.jsx)(gve, {target: o,close: () => s(null),toast: r@@ -47927,11 +47927,11 @@ function _ve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i}//#endregion//#region src/react/quality-goals/quality-goals-page.tsx-function vve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {+function yve({ 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,- className: CE({+ className: wE({padding: "none",bordered: "soft",className: "flex flex-col gap-3 p-3"@@ -47947,7 +47947,7 @@ function vve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisclassName: "text-caption-1-regular text-text-secondary",children: "暂无预览"}), /* @__PURE__ */ (0, V.jsx)("img", {- src: oue(e),+ src: aue(e),alt: "",loading: "lazy",onError: (e) => e.currentTarget.remove(),@@ -48005,38 +48005,38 @@ function vve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis})]});}-function yve(e) {+function bve(e) {let t = TS({- queryKey: cj,- queryFn: ({ signal: e }) => lj(e)+ queryKey: lj,+ queryFn: ({ signal: e }) => uj(e)}), n = t.data;- if (!n) return /* @__PURE__ */ (0, V.jsx)(EE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {+ if (!n) return /* @__PURE__ */ (0, V.jsx)(DE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",title: "高清版目标读取失败",children: t.error ? W(t.error) : "未取得高清版目标,请刷新页面重试。"}) });let r = n.items || [];- return r.length ? /* @__PURE__ */ (0, V.jsxs)(EE, { children: [/* @__PURE__ */ (0, V.jsx)(TP, {+ return r.length ? /* @__PURE__ */ (0, V.jsxs)(DE, { children: [/* @__PURE__ */ (0, V.jsx)(wP, {label: "待升级",figure: `${n.total} 部作品`,flush: !0}), /* @__PURE__ */ (0, V.jsx)("ul", {className: "card-grid-cover gap-5",- children: r.map((t) => /* @__PURE__ */ (0, V.jsx)(vve, {+ children: r.map((t) => /* @__PURE__ */ (0, V.jsx)(yve, {item: t,...e}, t.id))- })] }) : /* @__PURE__ */ (0, V.jsx)(EE, { children: /* @__PURE__ */ (0, V.jsx)(wE, {+ })] }) : /* @__PURE__ */ (0, V.jsx)(DE, { children: /* @__PURE__ */ (0, V.jsx)(TE, {shell: "plain",- icon: Sae,+ icon: xae,title: "没有标记中的高清版目标",children: "现有版本都已满足条件,或还没有加入追踪。"}) });}//#endregion//#region src/react/review/bulk-toolbar.tsx-function bve(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 = _ue(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";+function xve(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 = gue(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": "复核筛选",@@ -48044,29 +48044,29 @@ function bve(e) {"data-glass-pane": "",className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",children: [- /* @__PURE__ */ (0, V.jsx)(Sk, {+ /* @__PURE__ */ (0, V.jsx)(Ck, {"aria-label": "筛选分组方式",size: "sm",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: t.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(Ck, {+ children: t.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(wk, {id: e,children: t}, e))}),- i.length > 1 ? /* @__PURE__ */ (0, V.jsxs)(Sk, {+ i.length > 1 ? /* @__PURE__ */ (0, V.jsxs)(Ck, {"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",size: "sm",selectedKey: a || "*",onSelectionChange: (e) => {e !== null && o(String(e) === "*" ? "" : String(e));},- children: [/* @__PURE__ */ (0, V.jsx)(Ck, {+ children: [/* @__PURE__ */ (0, V.jsx)(wk, {id: "*",children: "全部分类"- }), i.map((e) => /* @__PURE__ */ (0, V.jsx)(Ck, {+ }), i.map((e) => /* @__PURE__ */ (0, V.jsx)(wk, {id: e.key,children: `${e.title} · ${e.rows.length}`}, e.key))]@@ -48074,7 +48074,7 @@ function bve(e) {/* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: dT,+ leadingIcon: fT,"aria-pressed": v,disabled: p || !s.length,onClick: () => {@@ -48090,7 +48090,7 @@ function bve(e) {visible: c.size > 0,count: `已选 ${c.size} 项`,children: [- b ? /* @__PURE__ */ (0, V.jsxs)(Sk, {+ b ? /* @__PURE__ */ (0, V.jsxs)(Ck, {"aria-label": "统一选择来源",size: "sm",selectedKey: "",@@ -48098,10 +48098,10 @@ function bve(e) {onSelectionChange: (e) => {e !== null && e !== "" && h(String(e));},- children: [/* @__PURE__ */ (0, V.jsx)(Ck, {+ children: [/* @__PURE__ */ (0, V.jsx)(wk, {id: "",children: x- }), y.map((e) => /* @__PURE__ */ (0, V.jsx)(Ck, {+ }), y.map((e) => /* @__PURE__ */ (0, V.jsx)(wk, {id: e,children: e}, e))]@@ -48137,7 +48137,7 @@ function bve(e) {}//#endregion//#region src/react/review/candidate-form.tsx-var xve = {+var Sve = {title: "标题",original_title: "原标题",runtime: "来源时长",@@ -48147,14 +48147,14 @@ var xve = {cover_url: "封面",screenshot_urls: "截图",trailer_url: "预告片"-}, qL = "reviewgenretags";-function Sve({ tags: e }) {+}, KL = "reviewgenretags";+function Cve({ tags: e }) {return e.length ? /* @__PURE__ */ (0, V.jsx)("datalist", {- id: qL,+ id: KL,children: e.map((e) => /* @__PURE__ */ (0, V.jsx)("option", { value: e }, e))}) : null;}-function JL({ candidate: e, selectable: t = !1 }) {+function qL({ 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",@@ -48191,7 +48191,7 @@ function JL({ candidate: e, selectable: t = !1 }) {children: [/* @__PURE__ */ (0, V.jsx)("dt", {className: "text-body-2-regular text-text-secondary",- children: xve[e] || e+ children: Sve[e] || e}),/* @__PURE__ */ (0, V.jsx)("dd", {className: "min-w-0 text-body-2-regular break-words text-text-primary",@@ -48206,28 +48206,28 @@ function JL({ candidate: e, selectable: t = !1 }) {}) : null]});}-function Cve({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {+function wve({ 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)(JL, { candidate: a[0] })- }) : /* @__PURE__ */ (0, V.jsx)(NO, {+ children: /* @__PURE__ */ (0, V.jsx)(qL, { candidate: a[0] })+ }) : /* @__PURE__ */ (0, V.jsx)(PO, {"aria-label": `${t || "候选"}的来源`,value: n,isDisabled: i,onChange: r,className: "flex flex-col gap-2",- children: a.map((e) => /* @__PURE__ */ (0, V.jsx)(PO, {+ children: a.map((e) => /* @__PURE__ */ (0, V.jsx)(FO, {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)(JL, {+ children: /* @__PURE__ */ (0, V.jsx)(qL, {candidate: e,selectable: !0})}, e.candidate_key))}) : null;}-function wve({ genre: e, tags: t, locked: n, toast: r }) {+function Tve({ genre: e, tags: t, locked: n, toast: r }) {let [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), c = OS({mutationFn: (t) => wue(e, t),onSuccess: async (t, n) => {@@ -48254,16 +48254,16 @@ function wve({ genre: e, tags: t, locked: n, toast: r }) {className: "text-body-medium text-text-primary",children: e}),- /* @__PURE__ */ (0, V.jsx)(mk, {+ /* @__PURE__ */ (0, V.jsx)(hk, {"aria-label": `「${e}」收录成的中文标签`,value: i,onChange: a,maxLength: 40,isDisabled: n || c.isPending,className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, V.jsx)(gk, {+ children: /* @__PURE__ */ (0, V.jsx)(_k, {size: "small",- list: t.length ? qL : void 0,+ list: t.length ? KL : void 0,autoComplete: "off",placeholder: "中文标签",onKeyDown: (e) => {@@ -48295,8 +48295,8 @@ function wve({ genre: e, tags: t, locked: n, toast: r }) {]});}-function Tve({ row: e, tags: t, locked: n, toast: r }) {- let i = Sue(e);+function Eve({ row: e, tags: t, locked: n, toast: r }) {+ let i = xue(e);return i.length ? /* @__PURE__ */ (0, V.jsxs)("div", {role: "group","aria-label": "未收录 genre",@@ -48304,7 +48304,7 @@ function Tve({ 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)(wve, {+ }), i.map((e) => /* @__PURE__ */ (0, V.jsx)(Tve, {genre: e,tags: t,locked: n,@@ -48314,9 +48314,9 @@ function Tve({ row: e, tags: t, locked: n, toast: r }) {}//#endregion//#region src/react/review/review-evidence.tsx-var YL = (e = "") => /^https?:\/\//i.test(e) ? e : "", Eve = (e = "") => YL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");-function XL({ url: e }) {- let t = Eve(e || ""), [n, r] = (0, B.useState)(!1);+var JL = (e = "") => /^https?:\/\//i.test(e) ? e : "", Dve = (e = "") => JL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");+function YL({ url: e }) {+ let t = Dve(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", {@@ -48331,7 +48331,7 @@ function XL({ url: e }) {})});}-function ZL({ asset: e, openItem: t }) {+function XL({ 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",@@ -48357,21 +48357,21 @@ function ZL({ asset: e, openItem: t }) {}), /* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",size: "small",- leadingIcon: hae,+ leadingIcon: mae,onClick: () => t(e.id),children: "打开原视频"})]})]});}-function Dve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {+function Ove({ 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 ${iL}`,+ 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 ${rL}`,dangerouslySetInnerHTML: { __html: r }}), /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-col items-start",@@ -48387,8 +48387,8 @@ function Dve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {})]});}-function Ove({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {- let o = YL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));+function kve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {+ let o = JL(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: [@@ -48398,10 +48398,10 @@ function Ove({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [o ? /* @__PURE__ */ (0, V.jsx)(SE, {+ children: [o ? /* @__PURE__ */ (0, V.jsx)(CE, {variant: "secondary",size: "small",- trailingIcon: _T,+ trailingIcon: vT,href: o,target: "_blank",rel: "noopener noreferrer",@@ -48413,7 +48413,7 @@ function Ove({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, nochildren: `查看全部 ${c.toLocaleString()} 部作品`})]}),- /* @__PURE__ */ (0, V.jsx)(XL, { url: e.preview_url }),+ /* @__PURE__ */ (0, V.jsx)(YL, { url: e.preview_url }),/* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "通过后记录身份判断。"@@ -48456,7 +48456,7 @@ function Ove({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no]});}-function kve({ assets: e, picked: t, onPicked: n, locked: r }) {+function Ave({ 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);@@ -48532,19 +48532,19 @@ function kve({ assets: e, picked: t, onPicked: n, locked: r }) {}//#endregion//#region src/react/review/review-card.tsx-var Ave = CE({+var jve = wE({variant: "outlined",padding: "none",className: "flex flex-col gap-4 px-5 pt-4"-}), QL = "flex min-h-6 min-w-0 items-center", jve = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";-function Mve(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 = OM(), h = OM(), g = t === "metadata_fields", _ = pue[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = yue(t, n), x = bj(t, n), S = yj(t, n), C = bue(n), T = xue(n), E = vj(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", {+}), ZL = "flex min-h-6 min-w-0 items-center", Mve = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";+function Nve(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 = OM(), h = OM(), g = t === "metadata_fields", _ = fue[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = vue(t, n), x = xj(t, n), S = bj(t, n), C = yue(n), T = bue(n), E = yj(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)(ZL, {+ children: D.map((e) => /* @__PURE__ */ (0, V.jsx)(XL, {asset: e,openItem: f.openItem}, e.id))- }) : y ? /* @__PURE__ */ (0, V.jsx)(Dve, {+ }) : y ? /* @__PURE__ */ (0, V.jsx)(Ove, {kind: _,name: v,works: Number(n.video_count || n.videos || 0),@@ -48555,14 +48555,14 @@ function Mve(e) {image_version: n.image_version,avatar_focus: n.avatar_focus} : null, null, _)- }) : n.asset_id ? /* @__PURE__ */ (0, V.jsx)(ZL, {+ }) : n.asset_id ? /* @__PURE__ */ (0, V.jsx)(XL, {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)(Cve, {+ }) : null, j = g ? /* @__PURE__ */ (0, V.jsx)(wve, {row: n,fieldName: x,value: r.candidateKey,@@ -48571,7 +48571,7 @@ function Mve(e) {candidateKey: e}),locked: s- }) : t === "creator_tags" ? O.length ? /* @__PURE__ */ (0, V.jsx)(kve, {+ }) : t === "creator_tags" ? O.length ? /* @__PURE__ */ (0, V.jsx)(Ave, {assets: O,picked: r.assets,locked: s,@@ -48579,21 +48579,21 @@ function Mve(e) {...r,assets: e})- }) : /* @__PURE__ */ (0, V.jsx)(wE, {+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {shell: "inset",- icon: uae,+ icon: lae,title: "这批作品尚未抽帧",children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, V.jsx)(Ove, {+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, V.jsx)(kve, {row: n,openItem: f.openItem,openEntity: f.openEntity,onReveal: f.onReveal,revealing: f.revealing,note: f.revealNote- }) : /* @__PURE__ */ (0, V.jsx)(XL, { url: n.preview_url }), M = y ? A : x ? /* @__PURE__ */ (0, V.jsxs)("h4", {- className: `${QL} flex-wrap gap-2`,- children: [/* @__PURE__ */ (0, V.jsx)(bE, {+ }) : /* @__PURE__ */ (0, V.jsx)(YL, { url: n.preview_url }), M = y ? A : x ? /* @__PURE__ */ (0, V.jsxs)("h4", {+ className: `${ZL} flex-wrap gap-2`,+ children: [/* @__PURE__ */ (0, V.jsx)(xE, {variant: "caption",color: "blue",children: x@@ -48603,7 +48603,7 @@ function Mve(e) {children: S})]}) : /* @__PURE__ */ (0, V.jsx)("h4", {- className: QL,+ className: ZL,children: /* @__PURE__ */ (0, V.jsx)("span", {title: b,className: "min-w-0 truncate text-body-medium text-text-primary",@@ -48613,13 +48613,13 @@ function Mve(e) {return /* @__PURE__ */ (0, V.jsxs)("section", {"aria-label": b,"data-review-key": n.item_key,- className: `${Ave} ${jve(t)} overflow-hidden`,+ className: `${jve} ${Mve(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: `${QL} shrink-0`,+ className: `${ZL} shrink-0`,onPointerDownCapture: (e) => {p.current = e.shiftKey;},@@ -48636,7 +48636,7 @@ function Mve(e) {className: "min-w-0 flex-1",children: M}),- k ? /* @__PURE__ */ (0, V.jsx)(bE, {+ k ? /* @__PURE__ */ (0, V.jsx)(xE, {variant: "caption",color: "neutral",children: n.decision@@ -48660,7 +48660,7 @@ function Mve(e) {!y && A ? A : null,T.length || t === "creator_tags" ? /* @__PURE__ */ (0, V.jsx)("div", {className: "flex flex-wrap gap-1",- children: T.length ? T.map((e) => /* @__PURE__ */ (0, V.jsx)(bE, {+ children: T.length ? T.map((e) => /* @__PURE__ */ (0, V.jsx)(xE, {variant: "caption",color: "soft",children: e@@ -48670,7 +48670,7 @@ function Mve(e) {})}) : null,j,- /* @__PURE__ */ (0, V.jsx)(Tve, {+ /* @__PURE__ */ (0, V.jsx)(Eve, {row: n,tags: u,locked: s,@@ -48732,8 +48732,8 @@ function Mve(e) {}//#endregion//#region src/react/review/review-page.tsx-var Nve = "flex cursor-pointer items-center justify-between gap-2";-function Pve({ page: e, pages: t, onPage: n }) {+var Pve = "flex cursor-pointer items-center justify-between gap-2";+function Fve({ 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",@@ -48747,7 +48747,7 @@ function Pve({ page: e, pages: t, onPage: n }) {}),/* @__PURE__ */ (0, V.jsx)("ul", {className: "flex flex-wrap items-center gap-1",- children: uj(e, t).map((t, r) => /* @__PURE__ */ (0, V.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, V.jsx)("span", {+ children: dj(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: "…"@@ -48770,38 +48770,38 @@ function Pve({ page: e, pages: t, onPage: n }) {]});}-function Fve(e) {+function Ive(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)(gj(e.category) ? e.category : fue), [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)(_j(e.category) ? e.category : due), [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: mj,+ queryKey: hj,queryFn: ({ signal: e }) => Cj(e)}).data || {sections: {},counts: {}- }, P = N.sections[d] || [], ee = d === "metadata_fields", F = c, I = mue(P, ee), te = I.some(([e]) => e === p) ? p : "candidates", ne = _j(P, te), re = ne.some((e) => e.key === h) ? h : "", ie = gue(hue(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 = pue(P, ee), te = I.some(([e]) => e === p) ? p : "candidates", ne = vj(P, te), re = ne.some((e) => e.key === h) ? h : "", ie = hue(mue(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) || Cue(e), le = P.filter((e) => y.has(e.item_key)), ue = (e) => {+ })).filter((e) => e.rows.length), ce = (e) => x.get(e.item_key) || Sue(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 }) => wj(xj(d, e, t, ce(e))),+ mutationFn: ({ row: e, status: t }) => wj(Sj(d, e, t, ce(e))),onSuccess: (e, { row: t, status: n }) => {if (!e.ok) {L(t.item_key, e.error || "服务端拒绝了这次判定");return;}- Tj(d, [t.item_key]), ue([t.item_key]), s(Sj(n));+ Tj(d, [t.item_key]), ue([t.item_key]), s(Cue(n));},onError: (e, { row: t }) => L(t.item_key, W(e))}), pe = OS({@@ -48811,7 +48811,7 @@ function Fve(e) {if (!M.current) break;E(`正在处理 ${i} / ${t.length}`);try {- let t = await wj(xj(d, a, e, ce(a)));+ let t = await wj(Sj(d, a, e, ce(a)));if (!t.ok) throw Error(t.error || "服务端未采用该项");n.push(a.item_key);} catch (e) {@@ -48863,7 +48863,7 @@ function Fve(e) {revealNote: A,toast: s};- return /* @__PURE__ */ (0, V.jsx)(EE, { children: /* @__PURE__ */ (0, V.jsxs)("div", {+ return /* @__PURE__ */ (0, V.jsx)(DE, { children: /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-5 pb-10",children: [F ? /* @__PURE__ */ (0, V.jsx)(Y, {@@ -48879,13 +48879,13 @@ function Fve(e) {}) : void 0,children: ge}) : null,- /* @__PURE__ */ (0, V.jsx)(Sve, { tags: _e }),- /* @__PURE__ */ (0, V.jsxs)(ck, {+ /* @__PURE__ */ (0, V.jsx)(Cve, { tags: _e }),+ /* @__PURE__ */ (0, V.jsxs)(lk, {orientation: t ? "horizontal" : "vertical",selectedKey: d,onSelectionChange: (e) => {let t = String(e);- gj(t) && de(t);+ _j(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", {@@ -48894,27 +48894,27 @@ function Fve(e) {children: [/* @__PURE__ */ (0, V.jsx)("h2", {id: "reviewcategories",children: "复核分类"- }), /* @__PURE__ */ (0, V.jsx)(lk, {+ }), /* @__PURE__ */ (0, V.jsx)(uk, {"aria-labelledby": "reviewcategories","data-section-items": !0,className: "flex review-split:flex-col review-split:items-stretch",- children: due.map((e) => {+ children: uue.map((e) => {let t = Number(N.counts[e] || 0);- return /* @__PURE__ */ (0, V.jsxs)(uk, {+ return /* @__PURE__ */ (0, V.jsxs)(dk, {id: e,- className: Nve,- children: [hj[e], t ? /* @__PURE__ */ (0, V.jsx)("span", {+ className: Pve,+ children: [gj[e], t ? /* @__PURE__ */ (0, V.jsx)("span", {className: "tabular-nums text-caption-1-medium text-text-secondary",children: t.toLocaleString()}) : null]}, e);})})]- }), /* @__PURE__ */ (0, V.jsxs)(dk, {+ }), /* @__PURE__ */ (0, V.jsxs)(fk, {id: d,className: "flex min-w-0 flex-1 flex-col gap-5",children: [- P.length && !F ? /* @__PURE__ */ (0, V.jsx)(bve, {+ P.length && !F ? /* @__PURE__ */ (0, V.jsx)(xve, {groupOptions: I,groupBy: te,onGroupBy: (e) => {@@ -48930,7 +48930,7 @@ function Fve(e) {onSelected: b,selectedRows: le,metadata: ee,- approvable: le.every((e) => vj(d, e)),+ approvable: le.every((e) => yj(d, e)),busy: pe.isPending,feedback: T,onUnifySource: R,@@ -48955,7 +48955,7 @@ function Fve(e) {})]}) : null, /* @__PURE__ */ (0, V.jsx)("div", {className: "review-grid gap-5",- children: e.rows.map((e) => /* @__PURE__ */ (0, V.jsx)(Mve, {+ children: e.rows.map((e) => /* @__PURE__ */ (0, V.jsx)(Nve, {category: d,row: e,choice: ce(e),@@ -48963,7 +48963,7 @@ function Fve(e) {selected: y.has(e.item_key),onSelect: (t, n) => b((r) => {let i = new Set(r);- return D.current = vue(i, ae, D.current, e.item_key, t, n), i;+ return D.current = _ue(i, ae, D.current, e.item_key, t, n), i;}),locked: F,busy: fe.isPending && fe.variables?.row.item_key === e.item_key,@@ -48978,12 +48978,12 @@ function Fve(e) {handlers: ve}, e.item_key))})]- }, e.key)) : /* @__PURE__ */ (0, V.jsx)(wE, {- icon: nae,+ }, e.key)) : /* @__PURE__ */ (0, V.jsx)(TE, {+ icon: tae,title: "此分类没有待复核项目",children: "可切换分类查看其他候选。"}),- /* @__PURE__ */ (0, V.jsx)(Pve, {+ /* @__PURE__ */ (0, V.jsx)(Fve, {page: ie.page,pages: ie.pages,onPage: v@@ -48996,9 +48996,13 @@ function Fve(e) {}//#endregion//#region src/react/scraping/scraping.ts-var Ive = "/api/scraping", Lve = "/api/scraping/settings", Rve = "/api/scraping/check", $L = "/api/scraping/cover", zve = "/api/scraping/amane-bridge", Bve = "/api/scraping/amane-bridge/check", Vve = "/api/scraping/amane-bridge/rebuild", eR = ["scraping"], tR = ["scraping", "cover"], nR = ["scraping", "amane-bridge"], rR = (e) => G(Ive, e), iR = (e) => G($L, e), aR = (e) => G(zve, e);-async function Hve(e) {+var Lve = "/api/scraping", Rve = "/api/scraping/settings", zve = "/api/scraping/check", QL = "/api/scraping/cover", Bve = "/api/scraping/amane-bridge", Vve = "/api/scraping/amane-bridge/check", Hve = "/api/scraping/amane-bridge/rebuild", $L = ["scraping"], eR = ["scraping", "cover"], tR = ["scraping", "amane-bridge"], nR = (e) => G(Lve, e), rR = (e) => G(QL, e), iR = (e) => G(Bve, e);+async function Uve(e) {await Promise.all([+ z.fetchQuery({+ queryKey: $L,+ queryFn: () => nR(e)+ }),z.fetchQuery({queryKey: eR,queryFn: () => rR(e)@@ -49006,20 +49010,16 @@ async function Hve(e) {z.fetchQuery({queryKey: tR,queryFn: () => iR(e)- }),- z.fetchQuery({- queryKey: nR,- queryFn: () => aR(e)})]);}-function Uve(e, t) {+function Wve(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 Wve = [["peach", "Peach 代理"], ["direct", "直接连接"]], oR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];-function sR({ source: e }) {+var Gve = [["peach", "Peach 代理"], ["direct", "直接连接"]], aR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];+function oR({ source: e }) {let t = ["javten","fc2ppvdb",@@ -49037,16 +49037,16 @@ function sR({ source: e }) {className: "size-4 shrink-0 rounded-sm object-contain"});}-function Gve() {- return /* @__PURE__ */ (0, V.jsx)(sR, { source: "github" });+function Kve() {+ return /* @__PURE__ */ (0, V.jsx)(oR, { source: "github" });}-function Kve({ 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)(oR[0][0]), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), m = (0, B.useRef)(null);+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)(aR[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(Lve, {+ mutationFn: (t) => K(Rve, {source: e.source,network: n,cookie: i,@@ -49054,12 +49054,12 @@ function Kve({ source: e, toast: t }) {revoke: t}),onSuccess: (e, n) => {- z.setQueryData(eR, (t) => t && {+ z.setQueryData($L, (t) => t && {...t,sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");}- }), _ = OS({ mutationFn: () => K(Rve, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {+ }), _ = OS({ mutationFn: () => K(zve, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {e.preventDefault(), !v && (_.reset(), g.mutate(!1));}, b = () => {v || (_.reset(), g.mutate(!0));@@ -49084,43 +49084,43 @@ function Kve({ source: e, toast: t }) {}}let C = f || (g.error ? W(g.error) : "") || (_.error ? W(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;- return /* @__PURE__ */ (0, V.jsxs)(kk, {+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: e.label,onSubmit: y,aside: /* @__PURE__ */ (0, V.jsxs)("span", {className: "flex min-w-0 items-center gap-1",- children: [/* @__PURE__ */ (0, V.jsx)(sR, { source: e.source }), /* @__PURE__ */ (0, V.jsx)(Ik, {+ children: [/* @__PURE__ */ (0, V.jsx)(oR, { source: e.source }), /* @__PURE__ */ (0, V.jsx)(Lk, {href: e.login,children: e.login})]}),children: [- /* @__PURE__ */ (0, V.jsxs)(Ak, { children: [/* @__PURE__ */ (0, V.jsx)(Ek, {+ /* @__PURE__ */ (0, V.jsxs)(jk, { children: [/* @__PURE__ */ (0, V.jsx)(Dk, {label: "来源性质",children: e.nature || "公开页面"- }), /* @__PURE__ */ (0, V.jsx)(Ek, {+ }), /* @__PURE__ */ (0, V.jsx)(Dk, {label: "连接方式",- children: /* @__PURE__ */ (0, V.jsx)(Sk, {+ children: /* @__PURE__ */ (0, V.jsx)(Ck, {"aria-label": "连接方式",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: Wve.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(Ck, {+ children: Gve.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(wk, {id: e,children: t}, e))})})] }),- T ? /* @__PURE__ */ (0, V.jsxs)(jk, {+ T ? /* @__PURE__ */ (0, V.jsxs)(Mk, {divided: !0,children: [n === "peach" ? /* @__PURE__ */ (0, V.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, V.jsx)(Ok, {+ children: /* @__PURE__ */ (0, V.jsx)(kk, {href: "/configuration#peachProxy",size: "small",- trailingIcon: cT,+ trailingIcon: lT,children: "配置 Peach 代理"})}) : null,@@ -49140,13 +49140,13 @@ function Kve({ source: e, toast: t }) {l(e), h();},className: pA,- children: oR.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(PO, {+ children: aR.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(FO, {value: e,className: mA,children: t}, e))}),- c === "paste" ? /* @__PURE__ */ (0, V.jsx)(_k, {+ c === "paste" ? /* @__PURE__ */ (0, V.jsx)(vk, {type: "password",label: "Cookie",autoComplete: "off",@@ -49155,7 +49155,7 @@ function Kve({ source: e, toast: t }) {}) : /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, V.jsx)(Fk, { children: "Netscape Cookie 文件(.txt)" }),+ /* @__PURE__ */ (0, V.jsx)(Ik, { children: "Netscape Cookie 文件(.txt)" }),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-wrap items-center gap-3",children: [/* @__PURE__ */ (0, V.jsx)(J, {@@ -49181,14 +49181,14 @@ function Kve({ source: e, toast: t }) {]})] }) : null,- C ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: C }) : null,+ C ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: C }) : null,w.map((t) => /* @__PURE__ */ (0, V.jsx)(Y, {tone: t.ok ? "success" : "error",- children: Uve(t, e.label)+ children: Wve(t, e.label)}, t.label))]}) : null,- /* @__PURE__ */ (0, V.jsxs)(Mk, { children: [+ /* @__PURE__ */ (0, V.jsxs)(Nk, { children: [e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",onClick: b,@@ -49210,26 +49210,26 @@ function Kve({ source: e, toast: t }) {]});}-function qve({ toast: e }) {+function Jve({ toast: e }) {let [t, n] = (0, B.useState)(""), { running: r, outcome: i, start: a } = IM({- queryKey: tR,- queryFn: ({ signal: e }) => iR(e),- start: () => K($L, { code: t }),+ queryKey: eR,+ queryFn: ({ signal: e }) => rR(e),+ start: () => K(QL, { code: t }),onFinish: (t) => {t.status === "complete" && e(t.result || "封面采集完成");}}), o = (e) => {e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();}, s = a.error ? W(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";- return /* @__PURE__ */ (0, V.jsx)(kk, {+ return /* @__PURE__ */ (0, V.jsx)(Ak, {title: "高清封面",onSubmit: o,- children: /* @__PURE__ */ (0, V.jsxs)(jk, { children: [+ children: /* @__PURE__ */ (0, V.jsxs)(Mk, { children: [/* @__PURE__ */ (0, V.jsxs)("div", {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)(_k, {+ children: /* @__PURE__ */ (0, V.jsx)(vk, {"aria-label": "馆藏番号",isRequired: !0,isDisabled: r,@@ -49244,7 +49244,7 @@ function qve({ toast: e }) {children: "抓取封面"})]}),- r ? /* @__PURE__ */ (0, V.jsx)(TE, { label: "正在抓取封面" }) : null,+ r ? /* @__PURE__ */ (0, V.jsx)(EE, { label: "正在抓取封面" }) : null,s ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",children: s@@ -49256,11 +49256,11 @@ function qve({ toast: e }) {] })});}-function Jve({ toast: e }) {+function Yve({ toast: e }) {let { query: t, running: n, outcome: r, start: i } = IM({- queryKey: nR,- queryFn: ({ signal: e }) => aR(e),- start: () => K(Vve, {}),+ queryKey: tR,+ queryFn: ({ signal: e }) => iR(e),+ start: () => K(Hve, {}),jobOf: (e) => e.job,withJob: (e, t) => e && {...e,@@ -49269,45 +49269,45 @@ function Jve({ toast: e }) {onFinish: (t) => {t.status === "complete" && e(t.result || "amane 桥已重建");}- }), a = OS({ mutationFn: () => K(Bve, {}) }), o = t.data;- if (!o) return t.error ? /* @__PURE__ */ (0, V.jsx)(kk, {+ }), a = OS({ mutationFn: () => K(Vve, {}) }), o = t.data;+ if (!o) return t.error ? /* @__PURE__ */ (0, V.jsx)(Ak, {title: "amane",- children: /* @__PURE__ */ (0, V.jsx)(jk, { children: /* @__PURE__ */ (0, V.jsx)(Y, {+ children: /* @__PURE__ */ (0, V.jsx)(Mk, { children: /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",children: W(t.error)}) })}) : null;let s = n || i.isPending || a.isPending, c = i.error ? W(i.error) : a.error ? W(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";- return /* @__PURE__ */ (0, V.jsxs)(kk, {+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "amane",- aside: /* @__PURE__ */ (0, V.jsx)(Ik, {+ aside: /* @__PURE__ */ (0, V.jsx)(Lk, {href: o.repository,- leadingIcon: Gve,+ leadingIcon: Kve,children: o.repository}),children: [- /* @__PURE__ */ (0, V.jsxs)(Lk, { children: [- /* @__PURE__ */ (0, V.jsx)(Rk, {+ /* @__PURE__ */ (0, V.jsxs)(Rk, { children: [+ /* @__PURE__ */ (0, V.jsx)(zk, {term: "已安装版本",children: o.installed_version || "未安装"}),- /* @__PURE__ */ (0, V.jsx)(Rk, {+ /* @__PURE__ */ (0, V.jsx)(zk, {term: "上游最新版本",children: a.data?.latest ?? "尚未检查"}),- /* @__PURE__ */ (0, V.jsx)(Rk, {+ /* @__PURE__ */ (0, V.jsx)(zk, {term: "运行环境",children: o.installed ? "已安装" : "未安装"}),- /* @__PURE__ */ (0, V.jsx)(Rk, {+ /* @__PURE__ */ (0, V.jsx)(zk, {term: "内置站点",children: o.sites.map((e) => e.label).join("、")})] }),- /* @__PURE__ */ (0, V.jsxs)(jk, {+ /* @__PURE__ */ (0, V.jsxs)(Mk, {divided: !0,children: [- /* @__PURE__ */ (0, V.jsxs)(Nk, { children: [+ /* @__PURE__ */ (0, V.jsxs)(Pk, { children: ["已安装版本:",o.installed_version || "未安装","。amane(",@@ -49316,7 +49316,7 @@ function Jve({ toast: e }) {o.version," 版本,不随上游自动升级。"] }),- n ? /* @__PURE__ */ (0, V.jsx)(TE, { label: "正在重建运行环境" }) : null,+ n ? /* @__PURE__ */ (0, V.jsx)(EE, { label: "正在重建运行环境" }) : null,c ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",children: c@@ -49327,7 +49327,7 @@ function Jve({ toast: e }) {}) : null]}),- /* @__PURE__ */ (0, V.jsxs)(Mk, { children: [/* @__PURE__ */ (0, V.jsx)(J, {+ /* @__PURE__ */ (0, V.jsxs)(Nk, { children: [/* @__PURE__ */ (0, V.jsx)(J, {variant: "secondary",onClick: () => {s || a.mutate();@@ -49344,23 +49344,23 @@ function Jve({ toast: e }) {]});}-function Yve({ toast: e }) {+function Xve({ toast: e }) {let t = TS({- queryKey: eR,- queryFn: ({ signal: e }) => rR(e)+ queryKey: $L,+ queryFn: ({ signal: e }) => nR(e)}), n = t.data;- return n ? /* @__PURE__ */ (0, V.jsxs)(EE, { children: [+ return n ? /* @__PURE__ */ (0, V.jsxs)(DE, { children: [/* @__PURE__ */ (0, V.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "高清图片可能要经代理才能下载,先检查连接。"}),- /* @__PURE__ */ (0, V.jsx)(qve, { toast: e }),- (n.sources || []).map((t) => /* @__PURE__ */ (0, V.jsx)(Kve, {+ /* @__PURE__ */ (0, V.jsx)(Jve, { toast: e }),+ (n.sources || []).map((t) => /* @__PURE__ */ (0, V.jsx)(qve, {source: t,toast: e}, t.source)),- /* @__PURE__ */ (0, V.jsx)(Jve, { toast: e })- ] }) : /* @__PURE__ */ (0, V.jsx)(EE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {+ /* @__PURE__ */ (0, V.jsx)(Yve, { toast: e })+ ] }) : /* @__PURE__ */ (0, V.jsx)(DE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",title: "采集来源读取失败",children: t.error ? W(t.error) : "读取采集来源失败"@@ -49368,21 +49368,21 @@ function Yve({ toast: e }) {}//#endregion//#region src/react/search/search.ts-var cR = /* @__PURE__ */ new Set([+var sR = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), lR = /* @__PURE__ */ new Set(["asset"]), uR = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function Xve({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {+]), cR = /* @__PURE__ */ new Set(["asset"]), lR = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function Zve({ 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 || uR(t).includes(uR(e)));+ }, u = t.filter((t) => !e || lR(t).includes(lR(e)));if (!e) {let e = u.length ? {label: "搜索记录",@@ -49420,7 +49420,7 @@ function Xve({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: akind: e.kind,item: t}))- }), h = p.filter((e) => !lR.has(e.kind)).map(m), g = p.filter((e) => lR.has(e.kind)).map(m);+ }), h = p.filter((e) => !cR.has(e.kind)).map(m), g = p.filter((e) => cR.has(e.kind)).map(m);return {tabs: d && a.length > 1 ? [...a] : null,recent: f,@@ -49429,17 +49429,17 @@ function Xve({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: c};}-function Zve(e, t, n = Math.random) {+function Qve(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) => uR(t) === uR(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => lR(t) === lR(e))).slice(0, 5);}//#endregion//#region src/react/search/search-page.tsx-var Qve = () => ({+var $ve = () => ({history: [],pool: [],poolRequest: 0,@@ -49454,7 +49454,7 @@ var Qve = () => ({active: -1,reveal: !1,rewind: !1-}), dR = (e) => Xve({+}), uR = (e) => Zve({query: e.query,history: e.history,picks: e.picks,@@ -49462,18 +49462,18 @@ var Qve = () => ({groups: e.groups,tabs: e.tabs,kind: e.kind-}), $ve = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), fR = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("svg", {+}), eye = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), dR = ({ 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 eye(e) {+function tye(e) {let t = (0, B.useRef)(e);t.current = e;let n = (0, B.useRef)(null);- n.current ??= Qve();+ n.current ??= $ve();let r = n.current, i = (0, B.useRef)(null), [, a] = (0, B.useReducer)((e) => e + 1, 0), o = (0, B.useRef)(null);- o.current ??= tye(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= nye(() => 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();@@ -49486,7 +49486,7 @@ function eye(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 = dR(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, V.jsx)(rye, {+ let c = uR(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, V.jsx)(iye, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -49506,7 +49506,7 @@ function eye(e) {"data-search-root": "","data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, V.jsx)(nye, {+ c.tabs ? /* @__PURE__ */ (0, V.jsx)(rye, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -49527,7 +49527,7 @@ function eye(e) {]});}-function tye(e, t, n, r) {+function nye(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 () => {@@ -49541,7 +49541,7 @@ function tye(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) => uR(e) !== uR(t))]), K("/api/search-history", { query: t }).catch(() => null));+ !t || !e().historyLimit || (s([t, ...o().filter((e) => lR(e) !== lR(t))]), K("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -49574,9 +49574,9 @@ function tye(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 ? [] : Zve(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : Qve(t.pool, o()), t.active = -1;let a = n();- a && ($ve(dR(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (eye(uR(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, h = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -49588,7 +49588,7 @@ function tye(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() ? dR(t).options : [], v = (e) => {+ }, _ = () => f() ? uR(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) => {@@ -49601,7 +49601,7 @@ function tye(e, t, n, r) {i().blur(), e().actions.openItem(t.item.id);return;}- if (t.type === "suggest" && cR.has(t.kind)) {+ if (t.type === "suggest" && sR.has(t.kind)) {b(t.kind, t.value);return;}@@ -49653,12 +49653,12 @@ function tye(e, t, n, r) {await K("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => uR(t) !== uR(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => lR(t) !== lR(e))), t.active = -1, r();},pickKind: g};}-function nye({ tabs: e, kind: t, onPick: n, wire: r }) {+function rye({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, B.useRef)(null);(0, B.useLayoutEffect)(() => {r(i.current);@@ -49670,7 +49670,7 @@ function nye({ 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)(TL, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, V.jsx)(wL, { value: i }) : null]}, e || "all");return /* @__PURE__ */ (0, V.jsxs)("div", {ref: i,@@ -49680,8 +49680,8 @@ function nye({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var pR = (e) => e.preventDefault();-function rye({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+var fR = (e) => e.preventDefault();+function iye({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -49693,28 +49693,28 @@ function rye({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, V.jsx)(fR, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, V.jsx)(dR, { 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: pR,+ onMouseDown: fR,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, V.jsx)(fR, { name: "x" })+ children: /* @__PURE__ */ (0, V.jsx)(dR, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = cR.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = sR.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)(mR, {+ children: [/* @__PURE__ */ (0, V.jsx)(pR, {card: s.card,helpers: n}), /* @__PURE__ */ (0, V.jsxs)("span", {@@ -49740,7 +49740,7 @@ function rye({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- /* @__PURE__ */ (0, V.jsx)(hR, {+ /* @__PURE__ */ (0, V.jsx)(mR, {item: s,kind: c}),@@ -49760,11 +49760,11 @@ function rye({ 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: pR,+ onMouseDown: fR,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, V.jsx)(mR, {+ children: /* @__PURE__ */ (0, V.jsx)(pR, {card: e,helpers: n})@@ -49778,7 +49778,7 @@ function rye({ 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)(hR, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, V.jsx)(mR, {item: s,kind: c}) : null,@@ -49791,13 +49791,13 @@ function rye({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function mR({ card: e, helpers: t }) {+function pR({ card: e, helpers: t }) {return /* @__PURE__ */ (0, V.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function hR({ item: e, kind: t }) {+function mR({ item: e, kind: t }) {let n = {id: e.entity_id,has_image: e.has_image,@@ -49812,51 +49812,51 @@ function hR({ item: e, kind: t }) {}//#endregion//#region src/configuration-endpoints.ts-var gR = "/api/configuration", iye = "/api/pick-folder", _R = ["configuration"], vR = (e) => G(gR, e);-async function yR(e) {+var hR = "/api/configuration", aye = "/api/pick-folder", gR = ["configuration"], _R = (e) => G(hR, e);+async function vR(e) {await z.fetchQuery({- queryKey: _R,- queryFn: () => vR(e)+ queryKey: gR,+ queryFn: () => _R(e)});}//#endregion//#region src/react/settings/indexer-settings.tsx-var bR = "/api/configuration/indexers";-function aye({ receipt: e }) {+var yR = "/api/configuration/indexers";+function oye({ receipt: e }) {let t = TS({queryKey: ["indexers"],- queryFn: ({ signal: e }) => G(bR, e)+ queryFn: ({ signal: e }) => G(yR, e)});- return t.error ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: W(t.error) }) : t.data ? /* @__PURE__ */ (0, V.jsx)(oye, {+ return t.error ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: W(t.error) }) : t.data ? /* @__PURE__ */ (0, V.jsx)(sye, {initial: t.data,receipt: e}) : null;}-function oye({ initial: e, receipt: t }) {- let [n, r] = (0, B.useState)(e.indexers), i = kE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {+function sye({ initial: e, receipt: t }) {+ let [n, r] = (0, B.useState)(e.indexers), i = AE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,...t} : n));- return /* @__PURE__ */ (0, V.jsxs)(kk, {+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "资源索引器",onSubmit: (e) => {- e.preventDefault(), i.run("save", (e) => K(bR, { indexers: n }, "POST", e), (e) => {+ e.preventDefault(), i.run("save", (e) => K(yR, { indexers: n }, "POST", e), (e) => {r(e.indexers), t("已保存索引器");});},- children: [/* @__PURE__ */ (0, V.jsxs)(jk, { children: [- /* @__PURE__ */ (0, V.jsx)(Nk, { children: "接入 Prowlarr 或 Jackett 后,活动页「云下载」可以按番号搜磁力。 Prowlarr 的 Torznab 地址在索引器列表里每个索引器的详情中复制,API key 在 Settings → General。" }),+ children: [/* @__PURE__ */ (0, V.jsxs)(Mk, { children: [+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: "接入 Prowlarr 或 Jackett 后,活动页「云下载」可以按番号搜磁力。 Prowlarr 的 Torznab 地址在索引器列表里每个索引器的详情中复制,API key 在 Settings → General。" }),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)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: `索引器 ${t + 1} 名称`,value: e.name,maxLength: 80,isDisabled: !!i.busy,onChange: (t) => a(e.key, { name: t })}),- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: `索引器 ${t + 1} Torznab 地址`,value: e.url,type: "url",@@ -49865,7 +49865,7 @@ function oye({ initial: e, receipt: t }) {isDisabled: !!i.busy,onChange: (t) => a(e.key, { url: t })}),- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: `索引器 ${t + 1} API key`,type: "password",autoComplete: "new-password",@@ -49894,8 +49894,8 @@ function oye({ initial: e, receipt: t }) {}) })]}, e.key)),- i.error ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: i.error }) : null- ] }), /* @__PURE__ */ (0, V.jsxs)(Mk, { children: [/* @__PURE__ */ (0, V.jsx)(J, {+ i.error ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: i.error }) : null+ ] }), /* @__PURE__ */ (0, V.jsxs)(Nk, { children: [/* @__PURE__ */ (0, V.jsx)(J, {type: "button",disabled: !!i.busy || n.length >= e.max_indexers,onClick: () => r([...n, {@@ -49915,24 +49915,24 @@ function oye({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/download-settings.tsx-var sye = "/api/configuration/downloads", xR = "/api/configuration/downloads/check", cye = "/api/configuration/downloads/folder", lye = "/api/configuration/downloads/pikpak/login", uye = "/api/configuration/downloads/pikpak/logout", SR = "/api/configuration/downloads/pikpak/browser-login", CR = 2e3;-function dye({ initial: e, receipt: t }) {+var cye = "/api/configuration/downloads", bR = "/api/configuration/downloads/check", lye = "/api/configuration/downloads/folder", uye = "/api/configuration/downloads/pikpak/login", dye = "/api/configuration/downloads/pikpak/logout", xR = "/api/configuration/downloads/pikpak/browser-login", SR = 2e3;+function fye({ initial: e, receipt: t }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-6",- children: [/* @__PURE__ */ (0, V.jsx)(fye, {+ children: [/* @__PURE__ */ (0, V.jsx)(pye, {initial: e,receipt: t- }), /* @__PURE__ */ (0, V.jsx)(aye, { receipt: t })]+ }), /* @__PURE__ */ (0, V.jsx)(oye, { receipt: t })]});}-function fye({ initial: e, receipt: t }) {+function pye({ 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)(pye, {+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(mye, {state: n,settle: r,receipt: t,pikpakAccount: o- }), /* @__PURE__ */ (0, V.jsx)(hye, {+ }), /* @__PURE__ */ (0, V.jsx)(gye, {state: n,settle: r,receipt: t,@@ -49940,8 +49940,8 @@ function fye({ initial: e, receipt: t }) {setUsername: a})] });}-function pye({ 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)(wR), [g, _] = (0, B.useState)(""), [v, y] = (0, B.useState)(!1), b = kE(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({+function mye({ 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)(CR), [g, _] = (0, B.useState)(""), [v, y] = (0, B.useState)(!1), b = AE(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({...i,targets: {...i.targets,@@ -49970,8 +49970,8 @@ function pye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {target: !e.config.targets[115],root: !e.config.pikpak_root};- b.run("auto", (e) => G(xR, e), (e) => w(e, t), (e) => _(W(e)));- }, []), /* @__PURE__ */ (0, V.jsxs)(kk, {+ b.run("auto", (e) => G(bR, e), (e) => w(e, t), (e) => _(W(e)));+ }, []), /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "云下载",onSubmit: (e) => {if (e.preventDefault(), C) {@@ -49984,19 +49984,19 @@ function pye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {token: o,pikpak_account: r};- b.run("save", (e) => K(sye, f, "POST", e), (e) => {+ b.run("save", (e) => K(cye, 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(wR), y(!1), _("")), n("已保存配置");+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(CR), y(!1), _("")), n("已保存配置");}, (e) => _(W(e)));},children: [- /* @__PURE__ */ (0, V.jsxs)(jk, { children: [- /* @__PURE__ */ (0, V.jsx)(Nk, { children: "把磁力交给 115 或 PikPak 离线下载,下完由推送发现自动入库。" }),- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsxs)(Mk, { children: [+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: "把磁力交给 115 或 PikPak 离线下载,下完由推送发现自动入库。" }),+ /* @__PURE__ */ (0, V.jsx)(vk, {label: "CloudDrive2 地址",placeholder: "留空自动探测本机 19798 / 29798",autoComplete: "off",@@ -50008,7 +50008,7 @@ function pye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {clouddrive_address: e})}),- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: "CloudDrive2 API 令牌",type: "password",autoComplete: "off",@@ -50019,7 +50019,7 @@ function pye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {isDisabled: !e.available,onChange: s}),- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: "115 目标目录",placeholder: "留空时按推送发现自动填写",autoComplete: "off",@@ -50031,7 +50031,7 @@ function pye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {isDisabled: !e.available,onChange: (e) => S("115", e)}),- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: "PikPak 目标目录",placeholder: "以 / 开头的网盘路径",autoComplete: "off",@@ -50043,7 +50043,7 @@ function pye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, V.jsx)(Fk, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, V.jsx)(Sk, {+ children: [/* @__PURE__ */ (0, V.jsx)(Ik, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, V.jsx)(Ck, {"aria-label": "PikPak 根目录对应的媒体文件夹",selectedKey: i.pikpak_root || null,isDisabled: !e.available,@@ -50052,13 +50052,13 @@ function pye({ 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)(Ck, {+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, V.jsx)(wk, {id: e,children: e}, e))- }) : /* @__PURE__ */ (0, V.jsx)(Nk, { children: "媒体文件夹里还没有「CloudDrive · PikPak」来源。在上方添加 PikPak 的挂载目录后,这里才能选。" })]+ }) : /* @__PURE__ */ (0, V.jsx)(Pk, { children: "媒体文件夹里还没有「CloudDrive · PikPak」来源。在上方添加 PikPak 的挂载目录后,这里才能选。" })]}),- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: "等待上限(小时)",type: "number",inputMode: "numeric",@@ -50069,11 +50069,11 @@ function pye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {onChange: l})] }),- b.busy === "auto" ? /* @__PURE__ */ (0, V.jsx)(jk, {+ b.busy === "auto" ? /* @__PURE__ */ (0, V.jsx)(Mk, {divided: !0,- children: /* @__PURE__ */ (0, V.jsx)(TE, { label: "正在检查 CloudDrive2" })+ children: /* @__PURE__ */ (0, V.jsx)(EE, { label: "正在检查 CloudDrive2" })}) : null,- u ? /* @__PURE__ */ (0, V.jsx)(mye, {+ u ? /* @__PURE__ */ (0, V.jsx)(hye, {report: u,detected: f,suggested: m,@@ -50085,7 +50085,7 @@ function pye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {pikpak_root: i.pikpak_root,pikpak_account: r};- b.run("folder", (e) => K(cye, t, "POST", e), (t) => {+ b.run("folder", (e) => K(lye, t, "POST", e), (t) => {d(t), h((t) => ({...t,target: {@@ -50097,11 +50097,11 @@ function pye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {} : void 0,creating: b.busy === "folder"}) : null,- g || b.error ? /* @__PURE__ */ (0, V.jsx)(jk, {+ g || b.error ? /* @__PURE__ */ (0, V.jsx)(Mk, {divided: !0,- children: /* @__PURE__ */ (0, V.jsx)(Pk, { children: g || b.error })+ children: /* @__PURE__ */ (0, V.jsx)(Fk, { children: g || b.error })}) : null,- /* @__PURE__ */ (0, V.jsxs)(Mk, {+ /* @__PURE__ */ (0, V.jsxs)(Nk, {status: e.available ? void 0 : "云下载只在账本写入端可用。",children: [/* @__PURE__ */ (0, V.jsx)(J, {onClick: () => {@@ -50116,7 +50116,7 @@ function pye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {pikpak_root: i.pikpak_root,pikpak_account: r};- b.run("check", (e) => K(xR, t, "POST", e), (t) => w(t, e), (e) => _(W(e)));+ b.run("check", (e) => K(bR, t, "POST", e), (t) => w(t, e), (e) => _(W(e)));},disabled: !e.available,...X(b.busy === "check"),@@ -50131,25 +50131,25 @@ function pye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {]});}-var wR = {+var CR = {target: null,root: "",saved: !1};-function mye({ report: e, detected: t, suggested: n, create: r, creating: i }) {+function hye({ report: e, detected: t, suggested: n, create: r, creating: i }) {let a = n.target;- return /* @__PURE__ */ (0, V.jsxs)(jk, {+ return /* @__PURE__ */ (0, V.jsxs)(Mk, {divided: !0,- children: [/* @__PURE__ */ (0, V.jsxs)(Lk, { children: [- t ? /* @__PURE__ */ (0, V.jsx)(Rk, {+ children: [/* @__PURE__ */ (0, V.jsxs)(Rk, { children: [+ t ? /* @__PURE__ */ (0, V.jsx)(zk, {term: "CloudDrive2 地址",children: `探测到 ${t},保存配置后生效`}) : null,- a?.exists ? /* @__PURE__ */ (0, V.jsx)(Rk, {+ a?.exists ? /* @__PURE__ */ (0, V.jsx)(zk, {term: "115 目标目录",children: n.saved ? `已按推送发现填入 ${a.path}` : `按推送发现填入 ${a.path},保存配置后生效`}) : null,- a && !a.exists ? /* @__PURE__ */ (0, V.jsxs)(Rk, {+ a && !a.exists ? /* @__PURE__ */ (0, V.jsxs)(zk, {term: "115 目标目录",children: [`${a.path} 不存在`, r ? /* @__PURE__ */ (0, V.jsx)(J, {size: "small",@@ -50158,49 +50158,49 @@ function mye({ report: e, detected: t, suggested: n, create: r, creating: i }) {children: "新建这个目录"}) : null]}) : null,- n.root ? /* @__PURE__ */ (0, V.jsx)(Rk, {+ n.root ? /* @__PURE__ */ (0, V.jsx)(zk, {term: "PikPak 根目录",children: `按推送发现填入 ${n.root},保存配置后生效`}) : null,- e.permissions.length ? /* @__PURE__ */ (0, V.jsx)(Rk, {+ e.permissions.length ? /* @__PURE__ */ (0, V.jsx)(zk, {term: "离线权限",children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"}) : null,- e.folder ? /* @__PURE__ */ (0, V.jsx)(Rk, {+ e.folder ? /* @__PURE__ */ (0, V.jsx)(zk, {term: "目标目录",children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`}) : null,- e.quota ? /* @__PURE__ */ (0, V.jsx)(Rk, {+ e.quota ? /* @__PURE__ */ (0, V.jsx)(zk, {term: "115 离线配额",children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`}) : null- ] }), e.problems.map((e) => /* @__PURE__ */ (0, V.jsx)(Pk, { children: e }, e))]+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, V.jsx)(Fk, { children: e }, e))]});}-function hye({ 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 = kE(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";+function gye({ 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 = AE(), 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(SR, e.signal);+ let r = await G(xR, 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, CR);+ r = setTimeout(i, SR);};- return r = setTimeout(i, CR), () => {+ return r = setTimeout(i, SR), () => {e.abort(), clearTimeout(r);};}, [v]);let y = () => {- m(""), h.run("browser", (e) => K(SR, {}, "POST", e), (e) => {+ m(""), h.run("browser", (e) => K(xR, {}, "POST", e), (e) => {t(e), f("");}, (e) => f(W(e)));}, b = () => {- h.run("cancel", (e) => K(`${SR}/cancel`, {}, "POST", e), (e) => {+ h.run("cancel", (e) => K(`${xR}/cancel`, {}, "POST", e), (e) => {t(e), f(""), m(e.pikpak_browser.message);}, (e) => f(W(e)));}, x = (e) => {@@ -50210,7 +50210,7 @@ function hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {password: a,remember: s};- h.run("login", (e) => K(lye, i, "POST", e), (e) => {+ h.run("login", (e) => K(uye, i, "POST", e), (e) => {if (t(e.settings), f(""), !e.ok) {u(e.captcha_url ?? "");return;@@ -50218,11 +50218,11 @@ function hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {u(""), o(""), n("已登录 PikPak");}, (e) => f(W(e)));}, S = () => {- h.run("logout", (e) => K(uye, {}, "POST", e), (e) => {+ h.run("logout", (e) => K(dye, {}, "POST", e), (e) => {t(e), f(""), n("已登出 PikPak");}, (e) => f(W(e)));}, C = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: "账号",placeholder: "邮箱或手机号",autoComplete: "username",@@ -50231,7 +50231,7 @@ function hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {isDisabled: !e.available,onChange: i}),- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: "密码",type: "password",autoComplete: "current-password",@@ -50251,7 +50251,7 @@ function hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {title: "需要人机验证",extra: /* @__PURE__ */ (0, V.jsx)("div", {className: "pt-2",- children: /* @__PURE__ */ (0, V.jsx)(Ik, {+ children: /* @__PURE__ */ (0, V.jsx)(Lk, {href: l,children: "打开 PikPak 验证页"})@@ -50264,31 +50264,31 @@ function hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {...X(h.busy === "login"),children: "登录"}), T = _.state === "timeout" || _.state === "failed";- return /* @__PURE__ */ (0, V.jsxs)(kk, {+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "PikPak 账号",onSubmit: x,children: [- g.logged_in ? /* @__PURE__ */ (0, V.jsxs)(Lk, { children: [/* @__PURE__ */ (0, V.jsx)(Rk, {+ g.logged_in ? /* @__PURE__ */ (0, V.jsxs)(Rk, { children: [/* @__PURE__ */ (0, V.jsx)(zk, {term: "账号",children: g.username || "已登录"- }), g.method === "browser" ? /* @__PURE__ */ (0, V.jsx)(Rk, {+ }), g.method === "browser" ? /* @__PURE__ */ (0, V.jsx)(zk, {term: "登录方式",children: "浏览器登录,由 Peach 续期"- }) : /* @__PURE__ */ (0, V.jsx)(Rk, {+ }) : /* @__PURE__ */ (0, V.jsx)(zk, {term: "密码",children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"- })] }) : _.available ? /* @__PURE__ */ (0, V.jsxs)(jk, { children: [- /* @__PURE__ */ (0, V.jsx)(Nk, { children: "在弹出的浏览器窗口里登录 PikPak,之后由 Peach 自动续期。" }),- p ? T ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: p }) : /* @__PURE__ */ (0, V.jsx)(Nk, {+ })] }) : _.available ? /* @__PURE__ */ (0, V.jsxs)(Mk, { children: [+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: "在弹出的浏览器窗口里登录 PikPak,之后由 Peach 自动续期。" }),+ p ? T ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: p }) : /* @__PURE__ */ (0, V.jsx)(Pk, {role: "status",children: p}) : null,- /* @__PURE__ */ (0, V.jsx)(zk, {+ /* @__PURE__ */ (0, V.jsx)(Bk, {summary: "用账号密码登录",children: /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, V.jsx)(Nk, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }),+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }),C,/* @__PURE__ */ (0, V.jsx)("div", {className: "flex justify-end",@@ -50297,13 +50297,13 @@ function hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {]})})- ] }) : /* @__PURE__ */ (0, V.jsxs)(jk, { children: [/* @__PURE__ */ (0, V.jsx)(Nk, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }), C] }),- d || h.error ? /* @__PURE__ */ (0, V.jsx)(jk, {+ ] }) : /* @__PURE__ */ (0, V.jsxs)(Mk, { children: [/* @__PURE__ */ (0, V.jsx)(Pk, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }), C] }),+ d || h.error ? /* @__PURE__ */ (0, V.jsx)(Mk, {divided: !0,- children: /* @__PURE__ */ (0, V.jsx)(Pk, { children: d || h.error })+ children: /* @__PURE__ */ (0, V.jsx)(Fk, { children: d || h.error })}) : null,- /* @__PURE__ */ (0, V.jsx)(Mk, {- status: !g.logged_in && v ? /* @__PURE__ */ (0, V.jsx)(TE, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,+ /* @__PURE__ */ (0, V.jsx)(Nk, {+ status: !g.logged_in && v ? /* @__PURE__ */ (0, V.jsx)(EE, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,children: g.logged_in ? /* @__PURE__ */ (0, V.jsx)(J, {onClick: S,disabled: !e.available,@@ -50327,90 +50327,90 @@ function hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {}//#endregion//#region src/react/settings/maintenance-settings.tsx-var gye = [+var _ye = [["6", "每 6 小时"],["24", "每天"],["168", "每周"]];-function _ye({ data: e, receipt: t, reopenTutorial: n }) {+function vye({ data: e, receipt: t, reopenTutorial: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-6",children: [- /* @__PURE__ */ (0, V.jsx)(bye, { facts: e.facts }),- /* @__PURE__ */ (0, V.jsx)(vye, {+ /* @__PURE__ */ (0, V.jsx)(xye, { facts: e.facts }),+ /* @__PURE__ */ (0, V.jsx)(yye, {receipt: t,reopenTutorial: n}),- e.uninstall ? /* @__PURE__ */ (0, V.jsx)(xye, {+ e.uninstall ? /* @__PURE__ */ (0, V.jsx)(Sye, {uninstall: e.uninstall,receipt: t}) : null]});}-function vye({ receipt: e, reopenTutorial: t }) {- let n = kE();- return /* @__PURE__ */ (0, V.jsxs)(kk, {+function yye({ receipt: e, reopenTutorial: t }) {+ let n = AE();+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "安装教程",- children: [/* @__PURE__ */ (0, V.jsxs)(jk, { children: [/* @__PURE__ */ (0, V.jsx)(Nk, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: n.error }) : null] }), /* @__PURE__ */ (0, V.jsx)(Mk, { children: /* @__PURE__ */ (0, V.jsx)(J, {+ children: [/* @__PURE__ */ (0, V.jsxs)(Mk, { children: [/* @__PURE__ */ (0, V.jsx)(Pk, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: n.error }) : null] }), /* @__PURE__ */ (0, V.jsx)(Nk, { children: /* @__PURE__ */ (0, V.jsx)(J, {onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),...X(n.busy === "reopen"),children: "重新打开教程"}) })]});}-function yye({ initial: e, receipt: t }) {- let [n, r] = (0, B.useState)(e.mode), [i, a] = (0, B.useState)(e.interval_hours), o = kE(e.error), s = (r) => {+function bye({ initial: e, receipt: t }) {+ let [n, r] = (0, B.useState)(e.mode), [i, a] = (0, B.useState)(e.interval_hours), o = AE(e.error), s = (r) => {r.preventDefault(), e.available && o.run("save", (e) => K("/api/configuration/automatic-updates", {mode: n,interval_hours: i}, "POST", e), () => t("已保存配置"));}, c = e.available ? e.download_available ? "下载完成后在这里确认重启安装。" : void 0 : "自动更新需要由托盘管理的服务。";- return /* @__PURE__ */ (0, V.jsxs)(kk, {+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "自动更新",onSubmit: s,children: [- /* @__PURE__ */ (0, V.jsxs)(Ak, { children: [- /* @__PURE__ */ (0, V.jsx)(Ek, {+ /* @__PURE__ */ (0, V.jsxs)(jk, { children: [+ /* @__PURE__ */ (0, V.jsx)(Dk, {label: "自动检查新版本",- children: /* @__PURE__ */ (0, V.jsx)(rL, {+ children: /* @__PURE__ */ (0, V.jsx)(nL, {"aria-label": "自动检查新版本",isSelected: n !== "off",isDisabled: !e.available,onChange: (e) => r(e ? "check" : "off")})}),- /* @__PURE__ */ (0, V.jsx)(Ek, {+ /* @__PURE__ */ (0, V.jsx)(Dk, {label: "自动下载更新",- children: /* @__PURE__ */ (0, V.jsx)(rL, {+ children: /* @__PURE__ */ (0, V.jsx)(nL, {"aria-label": "自动下载更新",isSelected: n === "download",isDisabled: !e.available || !e.download_available || n === "off",onChange: (e) => r(e ? "download" : "check")})}),- /* @__PURE__ */ (0, V.jsx)(Ek, {+ /* @__PURE__ */ (0, V.jsx)(Dk, {label: "检查频率",description: c,- children: /* @__PURE__ */ (0, V.jsx)(Sk, {+ children: /* @__PURE__ */ (0, V.jsx)(Ck, {"aria-label": "检查频率",selectedKey: String(i),isDisabled: !e.available,onSelectionChange: (e) => {e !== null && a(Number(e));},- children: gye.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(Ck, {+ children: _ye.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(wk, {id: e,children: t}, e))})})] }),- o.error ? /* @__PURE__ */ (0, V.jsx)(jk, {+ o.error ? /* @__PURE__ */ (0, V.jsx)(Mk, {divided: !0,- children: /* @__PURE__ */ (0, V.jsx)(Pk, { children: o.error })+ children: /* @__PURE__ */ (0, V.jsx)(Fk, { children: o.error })}) : null,- /* @__PURE__ */ (0, V.jsx)(Mk, { children: /* @__PURE__ */ (0, V.jsx)(J, {+ /* @__PURE__ */ (0, V.jsx)(Nk, { children: /* @__PURE__ */ (0, V.jsx)(J, {type: "submit",disabled: !e.available,...X(o.busy === "save"),@@ -50419,22 +50419,22 @@ function yye({ initial: e, receipt: t }) {]});}-function bye({ facts: e }) {- return /* @__PURE__ */ (0, V.jsxs)(kk, {+function xye({ facts: e }) {+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "运行信息",- children: [/* @__PURE__ */ (0, V.jsx)(Lk, { children: e.map((e) => /* @__PURE__ */ (0, V.jsxs)(Rk, {+ children: [/* @__PURE__ */ (0, V.jsx)(Rk, { children: e.map((e) => /* @__PURE__ */ (0, V.jsxs)(zk, {term: e.term,- children: [e.value, e.download_url ? /* @__PURE__ */ (0, V.jsx)(Ik, {+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, V.jsx)(Lk, {href: e.download_url,children: e.download_label}) : null]- }, e.term)) }), /* @__PURE__ */ (0, V.jsx)(Mk, { children: /* @__PURE__ */ (0, V.jsx)(Ok, {+ }, e.term)) }), /* @__PURE__ */ (0, V.jsx)(Nk, { children: /* @__PURE__ */ (0, V.jsx)(kk, {href: "/diagnostics",children: "打开系统诊断"}) })]});}-function xye({ uninstall: e, receipt: t }) {+function Sye({ uninstall: e, receipt: t }) {let [n, r] = (0, B.useState)(!1), [i, a] = (0, B.useState)(""), o = () => void Te({title: "卸载 Peach",danger: !0,@@ -50448,18 +50448,18 @@ function xye({ uninstall: e, receipt: t }) {a(e.message);}}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];- return /* @__PURE__ */ (0, V.jsxs)(kk, {+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {id: "uninstallPeach",title: "卸载 Peach",- children: [/* @__PURE__ */ (0, V.jsxs)(jk, { children: [- e.available ? /* @__PURE__ */ (0, V.jsx)(Nk, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,+ children: [/* @__PURE__ */ (0, V.jsxs)(Mk, { children: [+ e.available ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,/* @__PURE__ */ (0, V.jsx)(BM, {isSelected: n,isDisabled: !e.full_available || !!i,onChange: r,children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"}),- /* @__PURE__ */ (0, V.jsx)(zk, {+ /* @__PURE__ */ (0, V.jsx)(Bk, {summary: "数据目录",children: c.map((e) => /* @__PURE__ */ (0, V.jsx)(jM, {path: e,@@ -50467,7 +50467,7 @@ function xye({ uninstall: e, receipt: t }) {onRevealed: t}, e))})- ] }), /* @__PURE__ */ (0, V.jsx)(Mk, {+ ] }), /* @__PURE__ */ (0, V.jsx)(Nk, {status: s ? /* @__PURE__ */ (0, V.jsx)("p", {role: i ? "status" : void 0,children: s@@ -50483,23 +50483,23 @@ function xye({ uninstall: e, receipt: t }) {}//#endregion//#region src/react/settings/release-updates.tsx-var TR = /* @__PURE__ */ new Set([+var wR = /* @__PURE__ */ new Set(["downloading","verifying","extracting","preparing","restarting","installing"-]), Sye = [+]), Cye = [65,67,90-], ER = 120;-function Cye({ initial: e, initialJob: t }) {+], TR = 120;+function wye({ 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 = kE(), l = (0, B.useRef)(!1), u = (0, B.useRef)(!0), d = TR.has(i.state);+ }), [o, s] = (0, B.useState)(""), c = AE(), l = (0, B.useRef)(!1), u = (0, B.useRef)(!0), d = wR.has(i.state);(0, B.useEffect)(() => (u.current = !0, () => {u.current = !1;}), []);@@ -50516,7 +50516,7 @@ function Cye({ 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 = TR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {+ let e = new AbortController(), t = wR.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;@@ -50529,9 +50529,9 @@ function Cye({ 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 >= ER && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");+ o += 1, o >= TR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");}- !e.signal.aborted && o < ER && (n = setTimeout(c, t));+ !e.signal.aborted && o < TR && (n = setTimeout(c, t));};return n = setTimeout(c, t), () => {e.abort(), clearTimeout(n);@@ -50545,57 +50545,57 @@ function Cye({ initial: e, initialJob: t }) {state: "error"}), c.setError(W(t));}), g = c.error || o, _ = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;- return /* @__PURE__ */ (0, V.jsxs)(kk, {+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "检查更新",children: [- /* @__PURE__ */ (0, V.jsxs)(Lk, { children: [- /* @__PURE__ */ (0, V.jsx)(Rk, {+ /* @__PURE__ */ (0, V.jsxs)(Rk, { children: [+ /* @__PURE__ */ (0, V.jsx)(zk, {term: "当前版本",children: n.current_version}),- /* @__PURE__ */ (0, V.jsx)(Rk, {+ /* @__PURE__ */ (0, V.jsx)(zk, {term: "安装方式",children: n.installation}),- /* @__PURE__ */ (0, V.jsx)(Rk, {+ /* @__PURE__ */ (0, V.jsx)(zk, {term: "更新通道",children: n.channel}),- /* @__PURE__ */ (0, V.jsx)(Rk, {+ /* @__PURE__ */ (0, V.jsx)(zk, {term: "最新版本",children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")})] }),- n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, V.jsxs)(jk, {+ n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, V.jsxs)(Mk, {divided: !0,children: [- n.checked_at ? /* @__PURE__ */ (0, V.jsxs)(Nk, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,+ n.checked_at ? /* @__PURE__ */ (0, V.jsxs)(Pk, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,n.state === "available" && !g ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "info",title: "有可用更新",children: n.message- }) : g || n.state === "error" ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, V.jsx)(Nk, {+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, V.jsx)(Pk, {role: "status",children: n.message}),- i.state === "error" ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: i.message }) : null,+ i.state === "error" ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: i.message }) : null,i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, V.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, V.jsx)(OE, {+ /* @__PURE__ */ (0, V.jsx)(kE, {label: "更新准备进度",value: i.progress,- stops: Sye+ stops: Cye}),- /* @__PURE__ */ (0, V.jsxs)(Nk, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),- /* @__PURE__ */ (0, V.jsx)(Nk, { children: _ })+ /* @__PURE__ */ (0, V.jsxs)(Pk, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: _ })]}) : null]}),- /* @__PURE__ */ (0, V.jsxs)(Mk, {- status: /* @__PURE__ */ (0, V.jsx)(Ik, {+ /* @__PURE__ */ (0, V.jsxs)(Nk, {+ status: /* @__PURE__ */ (0, V.jsx)(Lk, {href: n.release_url,children: "查看发布页"}),@@ -50622,28 +50622,28 @@ function Cye({ initial: e, initialJob: t }) {}//#endregion//#region src/react/settings/general-settings.tsx-function wye({ data: e, receipt: t }) {+function Tye({ data: e, receipt: t }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-6",children: [- e.startup ? /* @__PURE__ */ (0, V.jsx)(Tye, {+ e.startup ? /* @__PURE__ */ (0, V.jsx)(Eye, {startup: e.startup,receipt: t}) : null,- e.automatic_updates ? /* @__PURE__ */ (0, V.jsx)(yye, {+ e.automatic_updates ? /* @__PURE__ */ (0, V.jsx)(bye, {initial: e.automatic_updates,receipt: t}) : null,- e.updates ? /* @__PURE__ */ (0, V.jsx)(Cye, {+ e.updates ? /* @__PURE__ */ (0, V.jsx)(wye, {initial: e.updates,initialJob: e.update_job}) : null]});}-function Tye({ 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 = kE(), l = e.available && !e.desktop_message;- return /* @__PURE__ */ (0, V.jsxs)(kk, {+function Eye({ 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 = AE(), l = e.available && !e.desktop_message;+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "开机自启",onSubmit: (r) => {r.preventDefault(), e.available && c.run("save", (e) => K("/api/configuration/startup", {@@ -50653,30 +50653,30 @@ function Tye({ startup: e, receipt: t }) {}, "POST", e), () => t("已保存配置"));},children: [- /* @__PURE__ */ (0, V.jsxs)(Ak, { children: [- /* @__PURE__ */ (0, V.jsx)(Ek, {+ /* @__PURE__ */ (0, V.jsxs)(jk, { children: [+ /* @__PURE__ */ (0, V.jsx)(Dk, {label: "开机后启动 Peach",- children: /* @__PURE__ */ (0, V.jsx)(rL, {+ children: /* @__PURE__ */ (0, V.jsx)(nL, {"aria-label": "开机后启动 Peach",isSelected: n,isDisabled: !e.available,onChange: r})}),- /* @__PURE__ */ (0, V.jsx)(Ek, {+ /* @__PURE__ */ (0, V.jsx)(Dk, {label: "静默启动",description: "开机后只显示托盘图标,不打开网页。",- children: /* @__PURE__ */ (0, V.jsx)(rL, {+ children: /* @__PURE__ */ (0, V.jsx)(nL, {"aria-label": "静默启动",isSelected: i,isDisabled: !e.available || !n,onChange: a})}),- /* @__PURE__ */ (0, V.jsx)(Ek, {+ /* @__PURE__ */ (0, V.jsx)(Dk, {label: "在桌面创建快捷方式",description: e.desktop_message || "双击图标打开 Peach 网页。",- children: /* @__PURE__ */ (0, V.jsx)(rL, {+ children: /* @__PURE__ */ (0, V.jsx)(nL, {"aria-label": "在桌面创建快捷方式",isSelected: o,isDisabled: !l,@@ -50684,11 +50684,11 @@ function Tye({ startup: e, receipt: t }) {})})] }),- e.message || c.error ? /* @__PURE__ */ (0, V.jsxs)(jk, {+ e.message || c.error ? /* @__PURE__ */ (0, V.jsxs)(Mk, {divided: !0,- children: [e.message ? /* @__PURE__ */ (0, V.jsx)(Nk, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: c.error }) : null]+ children: [e.message ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, V.jsx)(Mk, { children: /* @__PURE__ */ (0, V.jsx)(J, {+ /* @__PURE__ */ (0, V.jsx)(Nk, { children: /* @__PURE__ */ (0, V.jsx)(J, {type: "submit",disabled: !e.available,...X(c.busy === "save"),@@ -50699,7 +50699,7 @@ function Tye({ startup: e, receipt: t }) {}//#endregion//#region src/react/restart-redirect.ts-var Eye = 8e3, Dye = [+var Dye = 8e3, Oye = [{name: "机械硬盘,或内存 8 GB 以内",cache: "10–20 GiB",@@ -50718,33 +50718,33 @@ var Eye = 8e3, Dye = [read: "256 / 128 KB",task: "2 个起步"}-], Oye = [+], kye = [["cache", "缓存上限"],["read", "读取长度(默认 / 最小)"],["task", "同时处理视频"]];-function kye() {+function Aye() {return /* @__PURE__ */ (0, V.jsx)("div", {className: "@container flex flex-col gap-3",- children: /* @__PURE__ */ (0, V.jsxs)(zk, {+ children: /* @__PURE__ */ (0, V.jsxs)(Bk, {summary: "CloudDrive 设置帮助",children: [- /* @__PURE__ */ (0, V.jsxs)(Nk, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, V.jsx)(Ik, {+ /* @__PURE__ */ (0, V.jsxs)(Pk, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, V.jsx)(Lk, {href: "https://www.clouddrive2.com/help.html",children: "挂载帮助"})] }),- /* @__PURE__ */ (0, V.jsx)(Nk, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),/* @__PURE__ */ (0, V.jsx)("ul", {"aria-label": "按缓存所在硬盘分档",className: "flex flex-col gap-2",- children: Dye.map((e) => /* @__PURE__ */ (0, V.jsxs)("li", {+ children: Oye.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: Oye.map(([t, n]) => /* @__PURE__ */ (0, V.jsxs)("div", {+ children: kye.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",@@ -50765,9 +50765,9 @@ function kye() {/* @__PURE__ */ (0, V.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })]}),- /* @__PURE__ */ (0, V.jsxs)(Nk, { children: [+ /* @__PURE__ */ (0, V.jsxs)(Pk, { children: ["三处缓存的分工、往上调的方法和这些起步值的来源在",- /* @__PURE__ */ (0, V.jsx)(Ik, {+ /* @__PURE__ */ (0, V.jsx)(Lk, {href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",children: "CloudDrive 配置与调优"}),@@ -50779,7 +50779,7 @@ function kye() {}//#endregion//#region src/react/settings/folder-rows.tsx-function Aye({ className: e }) {+function jye({ className: e }) {return /* @__PURE__ */ (0, V.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -50792,12 +50792,12 @@ function Aye({ className: e }) {children: /* @__PURE__ */ (0, V.jsx)("use", { href: "#i-folder-search" })});}-var DR = [+var ER = [["local", "本地磁盘"],["115", "CloudDrive · 115"],["pikpak", "CloudDrive · PikPak"]-], OR = (e) => Se[e] || "database", jye = (e) => e === "115" || e === "pikpak";-function Mye({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {+], DR = (e) => Se[e] || "database", Mye = (e) => e === "115" || e === "pikpak";+function Nye({ 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));@@ -50840,14 +50840,14 @@ function Mye({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:}};}-function Nye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {+function Pye({ 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-3 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)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {className: "min-w-0 flex-1","aria-label": e,placeholder: "本机文件夹路径",@@ -50863,13 +50863,13 @@ function Nye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,children: c}) : null,/* @__PURE__ */ (0, V.jsx)(AM, {- icon: Aye,+ icon: jye,"aria-label": "选择文件夹",onClick: o,...X(a)}),s ? /* @__PURE__ */ (0, V.jsx)(AM, {- icon: fT,+ icon: pT,"aria-label": "移除这个文件夹",onClick: s}) : null@@ -50880,25 +50880,25 @@ function Nye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,})]});}-function Pye({ index: e, value: t, onChange: n, options: r = DR }) {+function Fye({ index: e, value: t, onChange: n, options: r = ER }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, V.jsx)(Fk, { children: "媒体来源" }), /* @__PURE__ */ (0, V.jsx)(Sk, {+ children: [/* @__PURE__ */ (0, V.jsx)(Ik, { children: "媒体来源" }), /* @__PURE__ */ (0, V.jsx)(Ck, {"aria-label": `媒体来源 ${e + 1}`,selectedKey: t,onSelectionChange: (e) => {e !== null && n(String(e));},- children: r.map(([e, t]) => /* @__PURE__ */ (0, V.jsxs)(Ck, {+ children: r.map(([e, t]) => /* @__PURE__ */ (0, V.jsxs)(wk, {id: e,textValue: t,- children: [/* @__PURE__ */ (0, V.jsx)(Bk, { mark: OR(e) }), t]+ children: [/* @__PURE__ */ (0, V.jsx)(Vk, { mark: DR(e) }), t]}, e))})]});}-function Fye({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {- return /* @__PURE__ */ (0, V.jsx)(_k, {+function Iye({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {+ return /* @__PURE__ */ (0, V.jsx)(vk, {label: n,placeholder: r,value: e,@@ -50907,7 +50907,7 @@ function Fye({ value: e, onChange: t, label: n = "Windows 中的对应路径", p}//#endregion//#region src/react/settings/library-icon-picker.tsx-var kR = [+var OR = [["", "自动识别"],["hard-drive", "磁盘"],["database", "资料库"],@@ -50951,13 +50951,13 @@ var kR = [["star", "收藏"],["tags", "主题"]];-function Iye(e) {+function Lye(e) {let t = e === "local" ? "" : Se[e];return t ? [t, "自动识别"] : ["hard-drive", "默认"];}-var AR = "auto";-function Lye({ 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] = Iye(n);+var kR = "auto";+function Rye({ 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] = Lye(n);return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(J, {ref: i,variant: "secondary",@@ -50971,35 +50971,35 @@ function Lye({ 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)(Bk, { mark: e || l }), ((e) => e && kR.find(([t]) => t === e)?.[1] || u)(e)]+ children: [/* @__PURE__ */ (0, V.jsx)(Vk, { mark: e || l }), ((e) => e && OR.find(([t]) => t === e)?.[1] || u)(e)]})- }), /* @__PURE__ */ (0, V.jsx)(hO, {+ }), /* @__PURE__ */ (0, V.jsx)(gO, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom start",offset: 4,- className: vk,- children: /* @__PURE__ */ (0, V.jsxs)(EO, {+ className: yk,+ children: /* @__PURE__ */ (0, V.jsxs)(DO, {"aria-label": `${t}候选`,className: "flex w-72 flex-col gap-3 outline-none",children: [- /* @__PURE__ */ (0, V.jsx)(XE, {+ /* @__PURE__ */ (0, V.jsx)(ZE, {slot: "title",className: "px-1 text-body-medium text-text-primary",children: "选择媒体库图标"}),- /* @__PURE__ */ (0, V.jsx)(NO, {+ /* @__PURE__ */ (0, V.jsx)(PO, {"aria-label": "候选图标",- value: s || AR,- onChange: (e) => c(e === AR ? "" : e),+ value: s || kR,+ onChange: (e) => c(e === kR ? "" : e),className: "inline-grid grid-cols-7 gap-1",- children: kR.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(PO, {- value: e || AR,+ children: OR.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(FO, {+ value: e || kR,"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)(Bk, { mark: e || l })- }, e || AR))+ children: /* @__PURE__ */ (0, V.jsx)(Vk, { mark: e || l })+ }, e || kR))}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",@@ -51021,15 +51021,15 @@ function Lye({ value: e, label: t, kind: n = "local", onChange: r }) {}//#endregion//#region src/react/settings/push-discovery-settings.tsx-var Rye = "/api/configuration/push-discovery", zye = "/api/configuration/push-discovery/secret";-function Bye({ initial: e, receipt: t }) {- let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.prefixes), [o, s] = (0, B.useState)(""), c = kE(), l = OM(), u = n.media_roots, [d, f] = (0, B.useState)(e), p = (e, n) => {+var zye = "/api/configuration/push-discovery", Bye = "/api/configuration/push-discovery/secret";+function Vye({ initial: e, receipt: t }) {+ let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.prefixes), [o, s] = (0, B.useState)(""), c = AE(), l = OM(), 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,...t} : n));- return /* @__PURE__ */ (0, V.jsxs)(kk, {+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "推送发现",onSubmit: (e) => {e.preventDefault();@@ -51039,13 +51039,13 @@ function Bye({ initial: e, receipt: t }) {cloud: n.cloud,prefixes: i};- c.run("save", (e) => K(Rye, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(W(e)));+ c.run("save", (e) => K(zye, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(W(e)));},children: [- /* @__PURE__ */ (0, V.jsxs)(Ak, { children: [- /* @__PURE__ */ (0, V.jsx)(Ek, {+ /* @__PURE__ */ (0, V.jsxs)(jk, { children: [+ /* @__PURE__ */ (0, V.jsx)(Dk, {label: "新文件落地就入库",- children: /* @__PURE__ */ (0, V.jsx)(rL, {+ children: /* @__PURE__ */ (0, V.jsx)(nL, {"aria-label": "新文件落地就入库",isSelected: n.enabled,isDisabled: !n.available,@@ -51055,10 +51055,10 @@ function Bye({ initial: e, receipt: t }) {})})}),- /* @__PURE__ */ (0, V.jsx)(Ek, {+ /* @__PURE__ */ (0, V.jsx)(Dk, {label: "监视本机文件夹",description: "只监视本地磁盘,网盘由下面的 CloudDrive2 通知负责。",- children: /* @__PURE__ */ (0, V.jsx)(rL, {+ children: /* @__PURE__ */ (0, V.jsx)(nL, {"aria-label": "监视本机文件夹",isSelected: n.watch_local,isDisabled: !n.available || !n.enabled,@@ -51068,10 +51068,10 @@ function Bye({ initial: e, receipt: t }) {})})}),- /* @__PURE__ */ (0, V.jsx)(Ek, {+ /* @__PURE__ */ (0, V.jsx)(Dk, {label: "接收 CloudDrive2 通知",description: "网盘里有新文件时由 CloudDrive2 通知 Peach。",- children: /* @__PURE__ */ (0, V.jsx)(rL, {+ children: /* @__PURE__ */ (0, V.jsx)(nL, {"aria-label": "接收 CloudDrive2 通知",isSelected: n.cloud,isDisabled: !n.available || !n.enabled,@@ -51082,30 +51082,30 @@ function Bye({ initial: e, receipt: t }) {})})] }),- d.enabled ? /* @__PURE__ */ (0, V.jsx)(jk, {+ d.enabled ? /* @__PURE__ */ (0, V.jsx)(Mk, {divided: !0,- children: /* @__PURE__ */ (0, V.jsxs)(Lk, { children: [d.watch_local ? /* @__PURE__ */ (0, V.jsx)(Rk, {+ children: /* @__PURE__ */ (0, V.jsxs)(Rk, { children: [d.watch_local ? /* @__PURE__ */ (0, V.jsx)(zk, {term: "本机文件夹监视",children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"- }) : null, /* @__PURE__ */ (0, V.jsx)(Rk, {+ }) : null, /* @__PURE__ */ (0, V.jsx)(zk, {term: "已入库",children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`})] })}) : null,- d.enabled && d.cloud ? /* @__PURE__ */ (0, V.jsx)(jk, {+ d.enabled && d.cloud ? /* @__PURE__ */ (0, V.jsx)(Mk, {divided: !0,children: /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, V.jsx)(Fk, { children: "CloudDrive2 配置内容" }),- /* @__PURE__ */ (0, V.jsx)(Nk, { children: "在 CloudDrive2「设置 → Webhooks」里新建一条,粘贴这段配置。Webhook 需要 CloudDrive2 会员。" }),+ /* @__PURE__ */ (0, V.jsx)(Ik, { children: "CloudDrive2 配置内容" }),+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: "在 CloudDrive2「设置 → Webhooks」里新建一条,粘贴这段配置。Webhook 需要 CloudDrive2 会员。" }),d.config_toml ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("div", { children: /* @__PURE__ */ (0, V.jsx)(J, {size: "small",onClick: () => {navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));},children: "复制配置"- }) }), /* @__PURE__ */ (0, V.jsxs)(zk, {+ }) }), /* @__PURE__ */ (0, V.jsxs)(Bk, {summary: "查看这段配置",children: [/* @__PURE__ */ (0, V.jsx)("div", {className: "relative",@@ -51115,18 +51115,18 @@ function Bye({ initial: e, receipt: t }) {className: "overflow-x-auto rounded-2xl bg-background-tertiary-default p-3 text-caption-1-regular whitespace-pre text-text-primary",children: d.config_toml})- }), /* @__PURE__ */ (0, V.jsx)(Nk, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]- })] }) : /* @__PURE__ */ (0, V.jsx)(Nk, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })+ }), /* @__PURE__ */ (0, V.jsx)(Pk, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]+ })] }) : /* @__PURE__ */ (0, V.jsx)(Pk, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })]})}) : null,- n.enabled && n.cloud ? /* @__PURE__ */ (0, V.jsx)(jk, {+ n.enabled && n.cloud ? /* @__PURE__ */ (0, V.jsx)(Mk, {divided: !0,children: /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, V.jsx)(Fk, { children: "云端路径前缀" }),- /* @__PURE__ */ (0, V.jsx)(Nk, { children: "左边填 CloudDrive2 里的目录,右边选它对应的媒体文件夹。" }),+ /* @__PURE__ */ (0, V.jsx)(Ik, { children: "云端路径前缀" }),+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: "左边填 CloudDrive2 里的目录,右边选它对应的媒体文件夹。" }),/* @__PURE__ */ (0, V.jsx)("div", {role: "group","aria-label": "云端路径前缀",@@ -51134,7 +51134,7 @@ function Bye({ 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)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {className: "min-w-0 flex-1","aria-label": `云端路径前缀 ${t + 1}`,placeholder: "/115",@@ -51143,19 +51143,19 @@ function Bye({ initial: e, receipt: t }) {value: e.prefix,onChange: (e) => m(t, { prefix: e })}),- /* @__PURE__ */ (0, V.jsx)(Sk, {+ /* @__PURE__ */ (0, V.jsx)(Ck, {"aria-label": `前缀 ${t + 1} 对应的媒体根`,selectedKey: e.root,onSelectionChange: (e) => {e !== null && m(t, { root: String(e) });},- children: u.map((e) => /* @__PURE__ */ (0, V.jsx)(Ck, {+ children: u.map((e) => /* @__PURE__ */ (0, V.jsx)(wk, {id: e,children: e}, e))}),/* @__PURE__ */ (0, V.jsx)(AM, {- icon: fT,+ icon: pT,"aria-label": "移除这一条",onClick: () => a((e) => e.filter((e, n) => n !== t))})@@ -51173,15 +51173,15 @@ function Bye({ initial: e, receipt: t }) {]})}) : null,- o || c.error ? /* @__PURE__ */ (0, V.jsx)(jk, {+ o || c.error ? /* @__PURE__ */ (0, V.jsx)(Mk, {divided: !0,- children: /* @__PURE__ */ (0, V.jsx)(Pk, { children: o || c.error })+ children: /* @__PURE__ */ (0, V.jsx)(Fk, { children: o || c.error })}) : null,- /* @__PURE__ */ (0, V.jsxs)(Mk, {+ /* @__PURE__ */ (0, V.jsxs)(Nk, {status: d.enabled && d.cloud ? "更换密钥后要在 CloudDrive2 重新粘贴配置。" : void 0,children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, V.jsx)(J, {onClick: () => {- c.run("secret", (e) => K(zye, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(W(e)));+ c.run("secret", (e) => K(Bye, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(W(e)));},disabled: !n.available,...X(c.busy === "secret"),@@ -51198,29 +51198,29 @@ function Bye({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/media-settings.tsx-var Vye = (e) => DR.find(([t]) => t === e)?.[1] ?? e, Hye = async (e) => (await K(iye, { initial: e })).path, jR = (e = "") => ({+var Hye = (e) => ER.find(([t]) => t === e)?.[1] ?? e, Uye = async (e) => (await K(aye, { initial: e })).path, AR = (e = "") => ({path: e,location: "local",root: "",library: "",library_icon: ""});-function Uye(e) {- let t = e.media_sources?.filter((e) => DR.some(([t]) => t === e.location));+function Wye(e) {+ let t = e.media_sources?.filter((e) => ER.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) => jR(e));+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => AR(e));}-var Wye = (e) => !(e instanceof jS) || e.status !== 400 ? null : e.body?.errors ?? null;-function Gye({ data: e, receipt: t }) {+var Gye = (e) => !(e instanceof jS) || e.status !== 400 ? null : e.body?.errors ?? null;+function Kye({ data: e, receipt: t }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-6",children: [- e.editable ? /* @__PURE__ */ (0, V.jsx)(Kye, {+ e.editable ? /* @__PURE__ */ (0, V.jsx)(qye, {data: e,receipt: t}) : /* @__PURE__ */ (0, V.jsx)(Y, {@@ -51228,28 +51228,28 @@ function Gye({ data: e, receipt: t }) {title: "只读",children: e.notice}),- e.editable ? null : /* @__PURE__ */ (0, V.jsx)(qye, { data: e }),- e.push_discovery ? /* @__PURE__ */ (0, V.jsx)(Bye, {+ e.editable ? null : /* @__PURE__ */ (0, V.jsx)(Jye, { data: e }),+ e.push_discovery ? /* @__PURE__ */ (0, V.jsx)(Vye, {initial: e.push_discovery,receipt: t}) : null]});}-function Kye({ data: e, receipt: t }) {- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = Mye({- initial: () => Uye(e),- blank: () => jR(),- pickFolder: Hye,+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 } = Nye({+ initial: () => Wye(e),+ blank: () => AR(),+ pickFolder: Uye,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 = kE();+ }), [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 = AE();(0, B.useEffect)(() => {if (!y) return;- let e = setTimeout(() => location.assign(y.url), Eye);+ let e = setTimeout(() => location.assign(y.url), Dye);return () => clearTimeout(e);}, [y]);let C = (r) => {- r.preventDefault(), v(""), S.run("save", (t) => K(gR, {+ r.preventDefault(), v(""), S.run("save", (t) => K(hR, {revision: x.current,media_dirs: n.map((e) => e.path),...e.media_sources ? { media_sources: n } : {},@@ -51258,18 +51258,18 @@ function Kye({ data: e, receipt: t }) {}, "POST", t), (e) => {x.current = e.revision, s([]), g(""), t("已保存配置"), b(e);}, (e) => {- let t = Wye(e);+ let t = Gye(e);s(t?.media_dirs ?? []), g(t?.port ?? ""), t || v(W(e));});};- if (y) return /* @__PURE__ */ (0, V.jsx)(kk, {+ if (y) return /* @__PURE__ */ (0, V.jsx)(Ak, {title: "这台电脑",- children: /* @__PURE__ */ (0, V.jsx)(jk, { children: /* @__PURE__ */ (0, V.jsxs)(Y, {+ children: /* @__PURE__ */ (0, V.jsx)(Mk, { children: /* @__PURE__ */ (0, V.jsxs)(Y, {tone: "success",title: "配置已保存",children: ["Peach 正在重新启动。稍后自动跳转,或点击",- /* @__PURE__ */ (0, V.jsx)(Ok, {+ /* @__PURE__ */ (0, V.jsx)(kk, {href: y.url,size: "small",children: "进入馆藏"@@ -51278,20 +51278,20 @@ function Kye({ data: e, receipt: t }) {]}) })});- let w = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, T = n.some((e) => jye(e.location)), E = T ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];- return /* @__PURE__ */ (0, V.jsxs)(kk, {+ let w = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, T = n.some((e) => Mye(e.location)), E = T ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "这台电脑",onSubmit: C,- children: [/* @__PURE__ */ (0, V.jsxs)(jk, { children: [+ children: [/* @__PURE__ */ (0, V.jsxs)(Mk, { children: [/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, V.jsx)(Fk, { children: "媒体文件夹" }),+ /* @__PURE__ */ (0, V.jsx)(Ik, { children: "媒体文件夹" }),/* @__PURE__ */ (0, V.jsx)("div", {role: "group","aria-label": "媒体文件夹",className: "flex flex-col gap-3",- children: n.map((t, i) => /* @__PURE__ */ (0, V.jsxs)(Nye, {+ children: n.map((t, i) => /* @__PURE__ */ (0, V.jsxs)(Pye, {label: `媒体文件夹 ${i + 1}`,path: t.path,onPath: (e) => r(i, { path: e }),@@ -51300,9 +51300,9 @@ function Kye({ 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)(MR, { online: w(t.path)?.online }) : null,+ status: w(t.path) ? /* @__PURE__ */ (0, V.jsx)(jR, { online: w(t.path)?.online }) : null,children: [- /* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(vk, {label: "媒体库名称",maxLength: 80,placeholder: "同名文件夹归入同一个媒体库",@@ -51311,19 +51311,19 @@ function Kye({ data: e, receipt: t }) {}),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, V.jsx)(Fk, { children: "媒体库图标" }), /* @__PURE__ */ (0, V.jsx)(Lye, {+ children: [/* @__PURE__ */ (0, V.jsx)(Ik, { children: "媒体库图标" }), /* @__PURE__ */ (0, V.jsx)(Rye, {label: `媒体库图标 ${i + 1}`,value: t.library_icon,kind: t.location,onChange: (e) => r(i, { library_icon: e })})]}),- /* @__PURE__ */ (0, V.jsx)(Pye, {+ /* @__PURE__ */ (0, V.jsx)(Fye, {index: i,value: t.location,onChange: (e) => r(i, { location: e })}),- e.windows === !1 ? /* @__PURE__ */ (0, V.jsx)(Fye, {+ e.windows === !1 ? /* @__PURE__ */ (0, V.jsx)(Iye, {value: t.root,onChange: (e) => r(i, { root: e })}) : null@@ -51337,18 +51337,18 @@ function Kye({ data: e, receipt: t }) {})]}),- T ? /* @__PURE__ */ (0, V.jsx)(kye, {}) : null,- E.map((e) => /* @__PURE__ */ (0, V.jsxs)(Nk, { children: [+ T ? /* @__PURE__ */ (0, V.jsx)(Aye, {}) : null,+ E.map((e) => /* @__PURE__ */ (0, V.jsxs)(Pk, { children: ["未检测到 ",e.name,"。",- /* @__PURE__ */ (0, V.jsxs)(Ik, {+ /* @__PURE__ */ (0, V.jsxs)(Lk, {href: e.download_url,children: ["下载 ", e.name]})] }, e.name)),- e.windows === !1 ? /* @__PURE__ */ (0, V.jsx)(Nk, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,- e.port_editable === !1 ? null : /* @__PURE__ */ (0, V.jsx)(_k, {+ e.windows === !1 ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, V.jsx)(vk, {id: "configPort",label: "本机访问端口",inputMode: "numeric",@@ -51368,7 +51368,7 @@ function Kye({ data: e, receipt: t }) {title: "没有保存",children: _}) : null- ] }), /* @__PURE__ */ (0, V.jsx)(Mk, {+ ] }), /* @__PURE__ */ (0, V.jsx)(Nk, {status: e.port_editable === !1 ? void 0 : "保存后 Peach 会重新启动,端口改了就用新地址打开。",children: /* @__PURE__ */ (0, V.jsx)(J, {type: "submit",@@ -51378,7 +51378,7 @@ function Kye({ data: e, receipt: t }) {})]});}-function MR({ online: e }) {+function jR({ 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",@@ -51402,21 +51402,21 @@ function MR({ online: e }) {}), "未检测"]});}-function qye({ data: e }) {- let t = e.media_sources, n = kE();- return t ? /* @__PURE__ */ (0, V.jsxs)(kk, {+function Jye({ data: e }) {+ let t = e.media_sources, n = AE();+ return t ? /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "挂载状态",children: [- /* @__PURE__ */ (0, V.jsx)(Lk, { children: t.map((e, t) => /* @__PURE__ */ (0, V.jsxs)(Rk, {- term: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(Bk, { mark: OR(e.location) }), Vye(e.location)] }),- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, V.jsx)(MR, { online: e.online })]+ /* @__PURE__ */ (0, V.jsx)(Rk, { children: t.map((e, t) => /* @__PURE__ */ (0, V.jsxs)(zk, {+ term: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(Vk, { mark: DR(e.location) }), Hye(e.location)] }),+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, V.jsx)(jR, { online: e.online })]}, t)) }),- n.error ? /* @__PURE__ */ (0, V.jsx)(jk, {+ n.error ? /* @__PURE__ */ (0, V.jsx)(Mk, {divided: !0,- children: /* @__PURE__ */ (0, V.jsx)(Pk, { children: n.error })+ children: /* @__PURE__ */ (0, V.jsx)(Fk, { children: n.error })}) : null,- /* @__PURE__ */ (0, V.jsx)(Mk, { children: /* @__PURE__ */ (0, V.jsx)(J, {- onClick: () => void n.run("refresh", (e) => vR(e), (e) => z.setQueryData(_R, e)),+ /* @__PURE__ */ (0, V.jsx)(Nk, { children: /* @__PURE__ */ (0, V.jsx)(J, {+ onClick: () => void n.run("refresh", (e) => _R(e), (e) => z.setQueryData(gR, e)),...X(n.busy === "refresh"),children: "刷新挂载状态"}) })@@ -51425,8 +51425,8 @@ function qye({ data: e }) {}//#endregion//#region src/react/settings/password-pair.tsx-function Jye({ 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)(_k, {+function Yye({ 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)(vk, {id: "access-password",type: "password",label: e,@@ -51439,7 +51439,7 @@ function Jye({ label: e, password: t, confirmation: n, onPassword: r, onConfirmavalidationBehavior: "aria",isInvalid: !a && !!o,hint: a ? s : o || s- }), /* @__PURE__ */ (0, V.jsx)(_k, {+ }), /* @__PURE__ */ (0, V.jsx)(vk, {id: "access-confirm",type: "password",label: "确认访问密码",@@ -51456,13 +51456,13 @@ function Jye({ label: e, password: t, confirmation: n, onPassword: r, onConfirma}//#endregion//#region src/react/settings/access-settings.tsx-var Yye = {+var Xye = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"};-function Xye({ 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 = kE(), g = (e) => {+function Zye({ 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 = AE(), g = (e) => {e.preventDefault();let f = {};if (n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length) {@@ -51482,14 +51482,14 @@ function Xye({ initial: e, receipt: t }) {let t = e instanceof jS ? e.body : null, n = t?.errors || t?.detail?.errors;n ? p(n) : h.setError(W(e));});- }, _ = Yye[n.mode], v = n.mode !== "locked";- return /* @__PURE__ */ (0, V.jsxs)(kk, {+ }, _ = Xye[n.mode], v = n.mode !== "locked";+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "访问密码",onSubmit: g,children: [/* @__PURE__ */ (0, V.jsx)("div", {ref: m,- children: /* @__PURE__ */ (0, V.jsxs)(jk, { children: [- _ ? /* @__PURE__ */ (0, V.jsx)(Nk, { children: _ }) : null,+ children: /* @__PURE__ */ (0, V.jsxs)(Mk, { children: [+ _ ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: _ }) : null,n.mode === "open" ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "warning",title: "未设置访问密码",@@ -51500,7 +51500,7 @@ function Xye({ initial: e, receipt: t }) {onChange: d,children: "关闭访问密码"}) : null,- n.mode === "password" ? /* @__PURE__ */ (0, V.jsx)(_k, {+ n.mode === "password" ? /* @__PURE__ */ (0, V.jsx)(vk, {id: "access-current",type: "password",label: "当前访问密码",@@ -51513,7 +51513,7 @@ function Xye({ initial: e, receipt: t }) {isInvalid: !!f.current_password,hint: f.current_password}) : null,- v ? /* @__PURE__ */ (0, V.jsx)(Jye, {+ v ? /* @__PURE__ */ (0, V.jsx)(Yye, {label: n.mode === "password" ? "新访问密码" : "设置访问密码",password: o,confirmation: c,@@ -51529,9 +51529,9 @@ function Xye({ initial: e, receipt: t }) {title: "访问范围",children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"}) : null,- h.error ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: h.error }) : null+ h.error ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: h.error }) : null] })- }), v ? /* @__PURE__ */ (0, V.jsx)(Mk, { children: /* @__PURE__ */ (0, V.jsx)(J, {+ }), v ? /* @__PURE__ */ (0, V.jsx)(Nk, { children: /* @__PURE__ */ (0, V.jsx)(J, {type: "submit",...X(h.busy === "save"),children: "保存配置"@@ -51540,15 +51540,15 @@ function Xye({ initial: e, receipt: t }) {}//#endregion//#region src/configuration-copy.ts-var Zye = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Qye = "只填域名,留空用默认地址";+var Qye = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", $ye = "只填域名,留空用默认地址";//#endregion//#region src/react/settings/entry-links-settings.tsx-function $ye({ initial: e, receipt: t }) {- let [n, r] = (0, B.useState)(e.sites), i = kE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {+function ebe({ initial: e, receipt: t }) {+ let [n, r] = (0, B.useState)(e.sites), i = AE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {...n,host: t} : n));- return /* @__PURE__ */ (0, V.jsxs)(kk, {+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "外部入口",onSubmit: (e) => {e.preventDefault();@@ -51557,9 +51557,9 @@ function $ye({ initial: e, receipt: t }) {r(e.sites), t("已保存配置");});},- children: [/* @__PURE__ */ (0, V.jsxs)(jk, { children: [- /* @__PURE__ */ (0, V.jsx)(Nk, { children: Zye }),- n.map((e) => /* @__PURE__ */ (0, V.jsx)(_k, {+ children: [/* @__PURE__ */ (0, V.jsxs)(Mk, { children: [+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: Qye }),+ n.map((e) => /* @__PURE__ */ (0, V.jsx)(vk, {id: `entry-link-${e.key}`,label: `${e.label} 地址`,autoComplete: "off",@@ -51568,10 +51568,10 @@ function $ye({ initial: e, receipt: t }) {placeholder: e.default_host,onChange: (t) => a(e.key, t),validationBehavior: "aria",- hint: Qye+ hint: $ye}, e.key)),- i.error ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: i.error }) : null- ] }), /* @__PURE__ */ (0, V.jsx)(Mk, { children: /* @__PURE__ */ (0, V.jsx)(J, {+ i.error ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: i.error }) : null+ ] }), /* @__PURE__ */ (0, V.jsx)(Nk, { children: /* @__PURE__ */ (0, V.jsx)(J, {type: "submit",...X(i.busy === "save"),children: "保存配置"@@ -51580,19 +51580,19 @@ function $ye({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/tunnel-settings.tsx-var ebe = 2e3, tbe = [["quick", "临时链接"], ["named", "命名隧道"]], nbe = {+var tbe = 2e3, nbe = [["quick", "临时链接"], ["named", "命名隧道"]], rbe = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function rbe({ 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 = kE(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";+function ibe({ 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 = AE(), 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(() => {- vR(e.signal).then((t) => {- e.signal.aborted || !t.tunnel || (z.setQueryData(_R, t), i(t.tunnel), o(t.revision));+ _R(e.signal).then((t) => {+ e.signal.aborted || !t.tunnel || (z.setQueryData(gR, t), i(t.tunnel), o(t.revision));}).catch(() => void 0);- }, ebe);+ }, tbe);return () => {e.abort(), window.clearInterval(t);};@@ -51611,26 +51611,26 @@ function rbe({ revision: e, initial: t, receipt: n }) {n ? m(n) : h.setError(W(e));});};- return /* @__PURE__ */ (0, V.jsxs)(kk, {+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {title: "Cloudflare 公网入口",onSubmit: (e) => {e.preventDefault(), v("save", g, () => n("已保存配置"));},- children: [/* @__PURE__ */ (0, V.jsxs)(jk, { children: [+ children: [/* @__PURE__ */ (0, V.jsxs)(Mk, { children: [r.named_available ? /* @__PURE__ */ (0, V.jsx)(fA, {"aria-label": "公网入口的形态(二选一)",value: s,isDisabled: g,onChange: (e) => c(e),className: pA,- children: tbe.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(PO, {+ children: nbe.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(FO, {value: e,className: mA,children: t}, e))}) : null,- /* @__PURE__ */ (0, V.jsx)(Nk, { children: nbe[_ ? "named" : "quick"] }),- _ ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(_k, {+ /* @__PURE__ */ (0, V.jsx)(Pk, { children: rbe[_ ? "named" : "quick"] }),+ _ ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(vk, {id: "tunnel-hostname",label: "公开主机名",autoComplete: "off",@@ -51641,7 +51641,7 @@ function rbe({ revision: e, initial: t, receipt: n }) {validationBehavior: "aria",isInvalid: !!p.hostname,hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"- }), /* @__PURE__ */ (0, V.jsx)(_k, {+ }), /* @__PURE__ */ (0, V.jsx)(vk, {id: "tunnel-token",type: "password",label: "隧道令牌",@@ -51661,7 +51661,7 @@ function rbe({ revision: e, initial: t, receipt: n }) {r.state === "running" && r.url ? /* @__PURE__ */ (0, V.jsx)(Y, {tone: "info",title: "公网地址",- children: /* @__PURE__ */ (0, V.jsx)(Ik, {+ children: /* @__PURE__ */ (0, V.jsx)(Lk, {href: r.url,children: r.url})@@ -51671,9 +51671,9 @@ function rbe({ revision: e, initial: t, receipt: n }) {title: "正在连接",children: "正在等待 cloudflared 连上 Cloudflare 边缘。"}) : null,- r.error ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: r.error }) : null,- h.error ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: h.error }) : null- ] }), /* @__PURE__ */ (0, V.jsxs)(Mk, {+ r.error ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: r.error }) : null,+ h.error ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: h.error }) : null+ ] }), /* @__PURE__ */ (0, V.jsxs)(Nk, {status: r.enabled ? "Peach 重启后自动恢复。" : void 0,children: [/* @__PURE__ */ (0, V.jsx)(J, {onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),@@ -51689,28 +51689,28 @@ function rbe({ revision: e, initial: t, receipt: n }) {}//#endregion//#region src/react/settings/network-settings.tsx-var ibe = [+var abe = [["environment", "系统代理"],["direct", "直连"],["proxy", "自定义"]];-function abe({ data: e, receipt: t }) {+function obe({ data: e, receipt: t }) {return /* @__PURE__ */ (0, V.jsxs)("div", {className: "flex flex-col gap-6",children: [- e.peach_proxy ? /* @__PURE__ */ (0, V.jsx)(obe, {+ e.peach_proxy ? /* @__PURE__ */ (0, V.jsx)(sbe, {initial: e.peach_proxy,receipt: t}) : null,- e.entry_links ? /* @__PURE__ */ (0, V.jsx)($ye, {+ e.entry_links ? /* @__PURE__ */ (0, V.jsx)(ebe, {initial: e.entry_links,receipt: t}) : null,- e.access ? /* @__PURE__ */ (0, V.jsx)(Xye, {+ e.access ? /* @__PURE__ */ (0, V.jsx)(Zye, {initial: e.access,receipt: t}) : null,- e.tunnel ? /* @__PURE__ */ (0, V.jsx)(rbe, {+ e.tunnel ? /* @__PURE__ */ (0, V.jsx)(ibe, {revision: e.revision,initial: e.tunnel,receipt: t@@ -51718,9 +51718,9 @@ function abe({ data: e, receipt: t }) {]});}-function obe({ initial: e, receipt: t }) {- let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.mode), [o, s] = (0, B.useState)(""), c = kE();- return /* @__PURE__ */ (0, V.jsxs)(kk, {+function sbe({ initial: e, receipt: t }) {+ let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.mode), [o, s] = (0, B.useState)(""), c = AE();+ return /* @__PURE__ */ (0, V.jsxs)(Ak, {id: "peachProxy",title: "Peach 代理",onSubmit: (e) => {@@ -51732,25 +51732,25 @@ function obe({ initial: e, receipt: t }) {});},children: [- /* @__PURE__ */ (0, V.jsx)(Ak, { children: /* @__PURE__ */ (0, V.jsx)(Ek, {+ /* @__PURE__ */ (0, V.jsx)(jk, { children: /* @__PURE__ */ (0, V.jsx)(Dk, {label: "连接方式",description: "采集来源选「Peach 代理」时共用这里的连接方式。",- children: /* @__PURE__ */ (0, V.jsx)(Sk, {+ children: /* @__PURE__ */ (0, V.jsx)(Ck, {"aria-label": "连接方式",selectedKey: i,onSelectionChange: (e) => {e !== null && a(String(e));},- children: ibe.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(Ck, {+ children: abe.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(wk, {id: e,children: t}, e))})}) }),- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, V.jsxs)(jk, {+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, V.jsxs)(Mk, {divided: !0,children: [- i === "proxy" ? /* @__PURE__ */ (0, V.jsx)(_k, {+ i === "proxy" ? /* @__PURE__ */ (0, V.jsx)(vk, {id: "peachProxyAddress",type: "password",label: "代理地址",@@ -51764,10 +51764,10 @@ function obe({ initial: e, receipt: t }) {title: "需要选择连接方式",children: "已有来源的代理地址不同,请选择公共连接方式。"}) : null,- c.error ? /* @__PURE__ */ (0, V.jsx)(Pk, { children: c.error }) : null+ c.error ? /* @__PURE__ */ (0, V.jsx)(Fk, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, V.jsx)(Mk, { children: /* @__PURE__ */ (0, V.jsx)(J, {+ /* @__PURE__ */ (0, V.jsx)(Nk, { children: /* @__PURE__ */ (0, V.jsx)(J, {type: "submit",...X(c.busy === "save"),children: "保存配置"@@ -51777,10 +51777,10 @@ function obe({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/configuration-page.tsx-function sbe({ receipt: e, reopenTutorial: t }) {+function cbe({ receipt: e, reopenTutorial: t }) {let n = TS({- queryKey: _R,- queryFn: ({ signal: e }) => vR(e)+ queryKey: gR,+ queryFn: ({ signal: e }) => _R(e)}), r = n.data;if (!r) return /* @__PURE__ */ (0, V.jsx)("div", {className: "configpage",@@ -51801,17 +51801,17 @@ function sbe({ receipt: e, reopenTutorial: t }) {className: "configgroup",children: "通用"}) : null,- a ? /* @__PURE__ */ (0, V.jsx)(wye, { ...i }) : null,+ a ? /* @__PURE__ */ (0, V.jsx)(Tye, { ...i }) : null,/* @__PURE__ */ (0, V.jsx)("h2", {className: "configgroup",children: "媒体"}),- /* @__PURE__ */ (0, V.jsx)(Gye, { ...i }),+ /* @__PURE__ */ (0, V.jsx)(Kye, { ...i }),r.downloads ? /* @__PURE__ */ (0, V.jsx)("h2", {className: "configgroup",children: "下载"}) : null,- r.downloads ? /* @__PURE__ */ (0, V.jsx)(dye, {+ r.downloads ? /* @__PURE__ */ (0, V.jsx)(fye, {initial: r.downloads,receipt: e}) : null,@@ -51819,12 +51819,12 @@ function sbe({ receipt: e, reopenTutorial: t }) {className: "configgroup",children: "网络与访问"}) : null,- o ? /* @__PURE__ */ (0, V.jsx)(abe, { ...i }) : null,+ o ? /* @__PURE__ */ (0, V.jsx)(obe, { ...i }) : null,/* @__PURE__ */ (0, V.jsx)("h2", {className: "configgroup",children: "维护"}),- /* @__PURE__ */ (0, V.jsx)(_ye, {+ /* @__PURE__ */ (0, V.jsx)(vye, {...i,reopenTutorial: t})@@ -51832,1082 +51832,1616 @@ function sbe({ receipt: e, reopenTutorial: t }) {});}//#endregion-//#region src/react/stats/stats.ts-var cbe = "/api/stats", NR = ["stats"], PR = (e) => G(cbe, e);-async function lbe(e) {- await z.fetchQuery({- queryKey: NR,- queryFn: () => PR(e)+//#region src/number-setting.ts+function MR(e, t, n, r) {+ return Number.isInteger(e) && e >= t && e <= n ? e : r;+}+//#endregion+//#region src/react/settings/configuration-summary.tsx+var lbe = (e) => {+ let t = e.updates;+ return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";+};+function ube({ openConfiguration: e }) {+ let t = TS({+ queryKey: gR,+ queryFn: ({ signal: e }) => _R(e)+ }), n = t.data;+ return /* @__PURE__ */ (0, V.jsxs)("div", {+ className: "flex flex-col",+ children: [n ? /* @__PURE__ */ (0, V.jsxs)(Rk, { children: [+ /* @__PURE__ */ (0, V.jsx)(zk, {+ term: "媒体库",+ children: `${n.library_count} 个`+ }),+ /* @__PURE__ */ (0, V.jsx)(zk, {+ term: "端口",+ children: String(n.port)+ }),+ /* @__PURE__ */ (0, V.jsx)(zk, {+ term: "更新",+ children: lbe(n)+ })+ ] }) : /* @__PURE__ */ (0, V.jsx)(Mk, { children: /* @__PURE__ */ (0, V.jsx)(Y, {+ tone: "error",+ title: "配置读取失败",+ children: t.error ? W(t.error) : "未取得配置,请刷新页面重试。"+ }) }), /* @__PURE__ */ (0, V.jsx)(Nk, {+ status: "媒体文件夹、端口、代理与更新在配置页上改。",+ children: /* @__PURE__ */ (0, V.jsx)(J, {+ onClick: e,+ children: "打开配置页"+ })+ })]});}-var FR = (e, t) => t ? Math.round(e / t * 100) : 0, ube = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, IR = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, LR = (e) => (e.max_reached || 0) * 100, dbe = (e) => e.kind === "online" ? "在线直接观看" : IR(e) < LR(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", fbe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, pbe = (e) => Math.max(1, ...e) * 1.1, mbe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), hbe = {- video: "视频",- image: "图片",- illustration: "插画",- archive: "压缩包",- audio: "音频",- account: "账号",- other: "其它文件"-}, gbe = (e) => e.map((e) => ({- name: hbe[e.k] ?? e.k,- value: e.n-})).sort((e, t) => t.value - e.value), _be = {- 速食: "<5 分钟",- 短: "5–15 分钟",- 中: "15–40 分钟",- 长: ">40 分钟"-}, RR = (e, t = {}) => e.map((e) => ({- name: t[e.k] ?? e.k,- value: e.n-})), vbe = (e) => RR(e, _be), ybe = [- [- 1,- 1,- "1 次"- ],- [- 2,- 2,- "2 次"- ],+//#endregion+//#region src/react/settings-panel/legacy-controls.tsx+var NR = (e) => e.map(([e, t, n]) => n ? [+ e,+ t,+ n+] : [e, t]);+function PR({ 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, NR(r), i, {+ attr: a,+ className: o,+ text: s+ }), Qe(e, a, (e) => {+ d.current = {+ value: e,+ epoch: c+ }, f.current(e);+ }), d.current = {+ value: i,+ epoch: c+ }));+ }), /* @__PURE__ */ (0, V.jsx)("div", {+ id: e,+ ref: u+ });+}+function FR({ 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(NR(n), r, { label: t });+ let i = $e(e.firstElementChild);+ i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;+ }+ let o = f.current;+ o.value !== r && (o.value = r), o.disabled !== i && (o.disabled = i), o.getAttribute("aria-busy") === "true" !== a && Ue(o, a), u?.(o);+ }), /* @__PURE__ */ (0, V.jsx)("div", {+ id: e,+ ref: d,+ hidden: o,+ "aria-describedby": s+ });+}+function dbe({ 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+ });+ return l.current = {+ onStep: a,+ onSettle: o+ }, (0, B.useLayoutEffect)(() => {+ let i = s.current;+ !i || c.current || (i.insertAdjacentHTML("beforeend", Ee({+ value: r,+ min: 0,+ max: n,+ step: 1,+ label: t,+ attr: `data-glow-dial="${e}"`+ })), c.current = Xe(i.lastElementChild, {+ onInput: (e) => l.current.onStep(e),+ onChange: (e) => l.current.onSettle(e)+ }));+ }), (0, B.useLayoutEffect)(() => {+ c.current && c.current.value !== r && c.current.set(r);+ }, [r]), /* @__PURE__ */ (0, V.jsx)("div", {+ "data-glow-field": e,+ hidden: i,+ ref: s,+ children: /* @__PURE__ */ (0, V.jsx)("span", {+ "data-glow-field-label": "",+ children: t+ })+ });+}+//#endregion+//#region src/react/settings-panel/glow-settings.tsx+var fbe = [[- 3,- 3,- "3 次"+ "strength",+ "强度",+ 100],[- 4,- 4,- "4 次"+ "noise",+ "颗粒",+ 60],[- 5,- 5,- "5 次"+ "speed",+ "漂移速度",+ 300],[- 6,- 9,- "6–9 次"+ "soften",+ "柔化",+ 100],[- 10,- Infinity,- "≥10 次"+ "size",+ "大小",+ 100]-], bbe = (e) => ybe.map(([t, n, r]) => ({- name: r,- value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)-})), xbe = /* @__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 zR(e) {- return typeof e == "string" && xbe.includes(e);-}-//#endregion-//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js-var Sbe = /* @__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 BR(e) {- return typeof e == "string" && Sbe.has(e);-}-function VR(e) {- return typeof e == "string" && e.startsWith("data-");-}-function HR(e) {- if (typeof e != "object" || !e) return {};- var t = {};- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (BR(n) || VR(n)) && (t[n] = e[n]);- return t;-}-function UR(e) {- if (e == null) return null;- if (/*#__PURE__*/ (0, B.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {- var t = e.props;- return HR(t);- }- return typeof e == "object" && !Array.isArray(e) ? HR(e) : null;-}-//#endregion-//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js-function WR(e) {- var t = {};- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (BR(n) || VR(n) || zR(n)) && (t[n] = e[n]);- return t;-}-function Cbe(e) {- return e == null ? null : /*#__PURE__*/ (0, B.isValidElement)(e) ? WR(e.props) : typeof e == "object" && !Array.isArray(e) ? WR(e) : null;-}-//#endregion-//#region node_modules/recharts/es6/container/Surface.js-var wbe = [- "children",- "width",- "height",- "viewBox",- "className",- "style",- "title",- "desc"];-function GR() {- return GR = 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;- }, GR.apply(null, arguments);-}-function Tbe(e, t) {- if (e == null) return {};- var n, r, i = Ebe(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 Ebe(e, t) {- if (e == null) return {};- var n = {};- for (var r in e) if ({}.hasOwnProperty.call(e, r)) {- if (t.indexOf(r) !== -1) continue;- n[r] = e[r];- }- return n;-}-var KR = /*#__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 = Tbe(e, wbe), d = a || {- width: r,- height: i,- x: 0,- y: 0- }, f = _h("recharts-surface", o);- return /*#__PURE__*/ B.createElement("svg", GR({}, WR(u), {- className: f,- width: r,- height: i,- style: s,- viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,- ref: t- }), /*#__PURE__*/ B.createElement("title", null, c), /*#__PURE__*/ B.createElement("desc", null, l), n);-}), Dbe = ["children", "className"];-function qR() {- return qR = 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;- }, qR.apply(null, arguments);-}-function Obe(e, t) {- if (e == null) return {};- var n, r, i = kbe(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 kbe(e, t) {- if (e == null) return {};- var n = {};- for (var r in e) if ({}.hasOwnProperty.call(e, r)) {- if (t.indexOf(r) !== -1) continue;- n[r] = e[r];- }- return n;-}-var JR = /*#__PURE__*/ B.forwardRef((e, t) => {- var { children: n, className: r } = e, i = Obe(e, Dbe), a = _h("recharts-layer", r);- return /*#__PURE__*/ B.createElement("g", qR({ className: a }, WR(i), { ref: t }), n);-}), YR = /*#__PURE__*/ (0, B.createContext)(null), Abe = () => (0, B.useContext)(YR);-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js-function XR(e) {- return function() {- return e;- };-}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js-var ZR = Math.cos, QR = Math.sin, $R = Math.sqrt, ez = Math.PI;-ez / 2;-var tz = 2 * ez, nz = Math.PI, rz = 2 * nz, iz = 1e-6, jbe = rz - iz;-function az(e) {- this._ += e[0];- for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];-}-function Mbe(e) {- let t = Math.floor(e);- if (!(t >= 0)) throw Error(`invalid digits: ${e}`);- if (t > 15) return az;- 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];+function pbe({ 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] = [+ c.current,+ l.current,+ d.current+ ];+ !e || !t || !n || (t.addEventListener("click", () => {+ n.style.width = `${e.getBoundingClientRect().width}px`;+ }), Je(e, t, n));+ }, []);+ let m = o[i].color, h = (t) => {+ let n = e.store.value.homeGlow;+ n[i].color = u(t, n[i].color), n.preset = "custom", e.store.save(), e.changed("glow"), we(), l.current?.focus();};+ return /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-glow-stop": i,+ ref: c,+ children: [/* @__PURE__ */ (0, V.jsxs)("button", {+ type: "button",+ "data-glow-stop-toggle": "",+ "aria-haspopup": "dialog",+ "aria-expanded": "false",+ ref: l,+ children: [+ /* @__PURE__ */ (0, V.jsx)("span", {+ "aria-hidden": "true",+ "data-glow-stop-dot": "",+ style: { "--glow-swatch": m }+ }),+ /* @__PURE__ */ (0, V.jsxs)("span", {+ "data-glow-stop-text": "",+ children: [/* @__PURE__ */ (0, V.jsx)("b", { children: s }), /* @__PURE__ */ (0, V.jsx)("small", {+ className: "mono",+ "data-glow-stop-hex": "",+ children: m+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)(nT, { name: "chevron-down" })+ ]+ }), /* @__PURE__ */ (0, V.jsxs)("div", {+ className: "popmenu",+ "data-glow-stop-pop": "",+ popover: "manual",+ hidden: !0,+ ref: d,+ children: [/* @__PURE__ */ (0, V.jsx)("div", {+ "data-glow-pills": "",+ role: "group",+ "aria-label": "色系",+ children: r.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)("button", {+ type: "button",+ "data-glow-pill": e,+ "aria-pressed": e === f,+ onClick: () => p(e),+ children: t+ }, e))+ }), /* @__PURE__ */ (0, V.jsx)("div", {+ "data-glow-palette": "",+ role: "radiogroup",+ "aria-label": `${s}颜色`,+ children: n.map(([e, t, n]) => /* @__PURE__ */ (0, V.jsx)("button", {+ type: "button",+ role: "radio",+ "aria-checked": n === m,+ "data-glow-swatch": n,+ "data-glow-family": e,+ style: { "--glow-swatch": n },+ title: t,+ "aria-label": t,+ hidden: f !== "all" && e !== f,+ onClick: () => h(n)+ }, n))+ })]+ })]+ });}-var oz = class {- constructor(e) {- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? az : Mbe(e);- }- moveTo(e, t) {- this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;- }- closePath() {- this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._append`Z`);- }- lineTo(e, t) {- this._append`L${this._x1 = +e},${this._y1 = +t}`;- }- quadraticCurveTo(e, t, n, r) {- this._append`Q${+e},${+t},${this._x1 = +n},${this._y1 = +r}`;- }- bezierCurveTo(e, t, n, r, i, a) {- this._append`C${+e},${+t},${+n},${+r},${this._x1 = +i},${this._y1 = +a}`;- }- arcTo(e, t, n, r, i) {- 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 > iz) {- if (!(Math.abs(u * s - c * l) > iz) || !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((nz - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > iz && 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) > iz || Math.abs(this._y1 - l) > iz) && this._append`L${c},${l}`, n && (d < 0 && (d = d % rz + rz), d > jbe ? 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 > iz && this._append`A${n},${n},0,${+(d >= nz)},${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`;- }- toString() {- return this._;- }-};-oz.prototype;-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js-function sz(e) {- let t = 3;- return e.digits = function(n) {- if (!arguments.length) return t;- if (n == null) t = null;- else {- let e = Math.floor(n);- if (!(e >= 0)) throw RangeError(`invalid digits: ${n}`);- t = e;- }- return e;- }, () => new oz(t);-}-Array.prototype.slice;-function cz(e) {- return typeof e == "object" && "length" in e ? e : Array.from(e);+function mbe({ host: e }) {+ let t = e.store.value.homeGlow, n = f(t.preset);+ return /* @__PURE__ */ (0, V.jsxs)("section", {+ "data-glow-setting": "",+ id: "homeGlowControls",+ "aria-label": "侧栏光晕参数",+ hidden: !t.on,+ children: [+ /* @__PURE__ */ (0, V.jsxs)("section", {+ "data-glow-group": "",+ children: [+ /* @__PURE__ */ (0, V.jsx)("h4", { children: "配色" }),+ /* @__PURE__ */ (0, V.jsxs)("p", {+ "data-glow-current": "",+ children: ["当前配色", /* @__PURE__ */ (0, V.jsx)("b", {+ "data-glow-preset-name": "",+ children: d(t.preset)+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)(oS, {+ store: e.store,+ label: "光晕配色"+ }),+ /* @__PURE__ */ (0, V.jsx)("p", {+ "data-glow-native-note": "",+ hidden: !n,+ children: "这一档用每块玻璃自带的反光,颜色跟着明暗主题走。"+ }),+ /* @__PURE__ */ (0, V.jsx)("div", {+ "data-glow-fields": "",+ children: fbe.map(([r, i, a]) => /* @__PURE__ */ (0, V.jsx)(dbe, {+ field: r,+ label: i,+ max: a,+ value: t[r],+ hidden: n && r !== "speed",+ onStep: (t) => {+ e.store.value.homeGlow[r] = t, e.changed("glowFrame");+ },+ onSettle: () => {+ e.store.save(), r === "speed" && e.changed("glow");+ }+ }, r))+ })+ ]+ }),+ /* @__PURE__ */ (0, V.jsxs)("section", {+ "data-glow-group": "",+ "data-glow-colours": "",+ 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)(pbe, {+ host: e,+ spot: n,+ index: r,+ glow: t+ }, n))+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)("div", {+ "data-glow-actions": "",+ children: /* @__PURE__ */ (0, V.jsx)("button", {+ type: "button",+ className: "geist-button",+ "data-glow-reset": "",+ onClick: () => {+ e.store.value.homeGlow = p(null), e.store.save(), e.changed("glow");+ },+ children: "恢复默认"+ })+ })+ ]+ });}//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js-function lz(e) {- this._context = e;-}-lz.prototype = {- areaStart: function() {- this._line = 0;+//#region src/react/settings-panel/number-setting.tsx+var hbe = {+ batchSizeSetting: {+ min: 1,+ max: 200,+ unit: "个",+ fallback: 60},- areaEnd: function() {- this._line = NaN;+ hoverDelaySetting: {+ min: 1,+ max: 60,+ unit: "秒",+ optional: !0,+ fallback: 5},- lineStart: function() {- this._point = 0;+ seekSecondsSetting: {+ min: 1,+ max: 300,+ unit: "秒",+ fallback: 10},- lineEnd: function() {- (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;+ relatedLimitSetting: {+ min: 1,+ max: 60,+ unit: "个",+ optional: !0,+ fallback: 20},- point: function(e, t) {- switch (e = +e, t = +t, this._point) {- case 0:- this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);- break;- case 1: this._point = 2;- default: this._context.lineTo(e, t);- }- }-};-function uz(e) {- return new lz(e);-}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js-function dz(e) {- return e[0];-}-function fz(e) {- return e[1];-}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js-function pz(e, t) {- var n = XR(!0), r = null, i = uz, a = null, o = sz(s);- e = typeof e == "function" ? e : e === void 0 ? dz : XR(e), t = typeof t == "function" ? t : t === void 0 ? fz : XR(t);- function s(s) {- var c, l = (s = cz(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;+ searchHistoryLimitSetting: {+ min: 1,+ max: 50,+ unit: "条",+ optional: !0,+ fallback: 10+ },+ followScheduleSetting: {+ min: 15,+ max: 10080,+ unit: "分钟",+ optional: !0,+ fallback: 60}- return s.x = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : XR(+t), s) : e;- }, s.y = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : XR(+e), s) : t;- }, s.defined = function(e) {- return arguments.length ? (n = typeof e == "function" ? e : XR(!!e), s) : n;- }, s.curve = function(e) {- return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;- }, s.context = function(e) {- return arguments.length ? (e == null ? r = a = null : a = i(r = e), s) : r;- }, s;-}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js-function mz(e, t, n) {- var r = null, i = XR(!0), a = null, o = uz, s = null, c = sz(l);- e = typeof e == "function" ? e : e === void 0 ? dz : XR(+e), t = typeof t == "function" ? t : XR(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? fz : XR(+n);- function l(l) {- var u, d, f, p = (l = cz(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();- else {- for (s.lineEnd(), s.lineStart(), f = u - 1; f >= d; --f) s.point(_[f], v[f]);- s.lineEnd(), s.areaEnd();- }+}, IR = (e) => `peach.number.${e}`;+function LR({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = hbe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, B.useRef)(0);+ d.current ||= MR(Number(localStorage.getItem(IR(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)));+ }, [n]);+ let b = () => {+ let t = v.current;+ if (t) {+ if (!t.value || !t.checkValidity()) {+ t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`);+ return;}- h && (_[u] = +e(m, u, l), v[u] = +t(m, u, l), s.point(r ? +r(m, u, l) : _[u], n ? +n(m, u, l) : v[u]));+ t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(IR(e), String(d.current)), y.current(d.current);}- if (g) return s = null, g + "" || null;- }- function u() {- return pz().defined(i).curve(o).context(a);- }- return l.x = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : XR(+t), r = null, l) : e;- }, l.x0 = function(t) {- return arguments.length ? (e = typeof t == "function" ? t : XR(+t), l) : e;- }, l.x1 = function(e) {- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : XR(+e), l) : r;- }, l.y = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : XR(+e), n = null, l) : t;- }, l.y0 = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : XR(+e), l) : t;- }, l.y1 = function(e) {- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : XR(+e), l) : n;- }, l.lineX0 = l.lineY0 = function() {- return u().x(e).y(t);- }, l.lineY1 = function() {- return u().x(e).y(n);- }, l.lineX1 = function() {- return u().x(r).y(t);- }, l.defined = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : XR(!!e), l) : i;- }, l.curve = function(e) {- return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;- }, l.context = function(e) {- return arguments.length ? (e == null ? a = s = null : s = o(a = e), l) : a;- }, l;-}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js-var hz = class {- constructor(e, t) {- this._context = e, this._x = t;- }- areaStart() {- this._line = 0;- }- areaEnd() {- this._line = NaN;- }- lineStart() {- this._point = 0;- }- lineEnd() {- (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;- }- point(e, t) {- switch (e = +e, t = +t, this._point) {- case 0:- this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);- break;- case 1: this._point = 2;- default: this._x ? this._context.bezierCurveTo(this._x0 = (this._x0 + e) / 2, this._y0, this._x0, t, e, t) : this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + t) / 2, e, this._y0, e, t);+ }, x = (0, B.useRef)(b);+ x.current = b, (0, B.useEffect)(() => {+ let e = v.current;+ if (!e) return;+ let t = () => x.current();+ return e.addEventListener("change", t), () => e.removeEventListener("change", t);+ }, []);+ let S = f > 0, C = () => {+ let t = v.current;+ if (t?.removeAttribute("aria-invalid"), _(""), !S) {+ p(d.current), h(String(d.current)), y.current(d.current);+ return;}- this._x0 = e, this._y0 = t;- }-};-function Nbe(e) {- return new hz(e, !0);-}-function Pbe(e) {- return new hz(e, !1);-}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js-var gz = { draw(e, t) {- let n = $R(t / ez);- e.moveTo(n, 0), e.arc(0, 0, n, 0, tz);-} }, Fbe = { draw(e, t) {- let n = $R(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 = $R(1 / 3), Ibe = _z * 2, Lbe = { draw(e, t) {- let n = $R(t / Ibe), r = n * _z;- e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();-} }, Rbe = { draw(e, t) {- let n = $R(t), r = -n / 2;- e.rect(r, r, n, n);-} }, zbe = .8908130915292852, vz = QR(ez / 10) / QR(7 * ez / 10), Bbe = QR(tz / 10) * vz, Vbe = -ZR(tz / 10) * vz, Hbe = { draw(e, t) {- let n = $R(t * zbe), r = Bbe * n, i = Vbe * n;- e.moveTo(0, -n), e.lineTo(r, i);- for (let t = 1; t < 5; ++t) {- let a = tz * t / 5, o = ZR(a), s = QR(a);- e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);- }- e.closePath();-} }, yz = $R(3), Ube = { draw(e, t) {- let n = -$R(t / (yz * 3));- e.moveTo(0, n * 2), e.lineTo(-yz * n, -n), e.lineTo(yz * n, -n), e.closePath();-} }, bz = -.5, xz = $R(3) / 2, Sz = 1 / $R(12), Wbe = (Sz / 2 + 1) * 3, Gbe = { draw(e, t) {- let n = $R(t / Wbe), r = n / 2, i = n * Sz, a = r, o = n * Sz + n, s = -a, c = o;- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(bz * r - xz * i, xz * r + bz * i), e.lineTo(bz * a - xz * o, xz * a + bz * o), e.lineTo(bz * s - xz * c, xz * s + bz * c), e.lineTo(bz * r + xz * i, bz * i - xz * r), e.lineTo(bz * a + xz * o, bz * o - xz * a), e.lineTo(bz * s + xz * c, bz * c - xz * s), e.closePath();-} };-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js-function Kbe(e, t) {- let n = null, r = sz(i);- e = typeof e == "function" ? e : XR(e || gz), t = typeof t == "function" ? t : XR(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 : XR(t), i) : e;- }, i.size = function(e) {- return arguments.length ? (t = typeof e == "function" ? e : XR(+e), i) : t;- }, i.context = function(e) {- return arguments.length ? (n = e ?? null, i) : n;- }, i;+ t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(IR(e), String(d.current)), p(0), y.current(0);+ }, w = r || n === null;+ return /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-number-setting": "",+ children: [u ? /* @__PURE__ */ (0, V.jsx)("input", {+ type: "checkbox",+ "data-toggle": "",+ role: "switch",+ "aria-label": `启用${t}`,+ checked: S,+ disabled: w,+ onChange: C+ }) : null, /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-number-fields": "",+ hidden: u && !S,+ children: [/* @__PURE__ */ (0, V.jsxs)("div", {+ "data-number-control": "",+ children: [/* @__PURE__ */ (0, V.jsx)("input", {+ ref: v,+ type: "number",+ className: "geist-input",+ min: o,+ max: s,+ step: 1,+ value: m,+ disabled: w,+ "aria-label": t,+ "aria-describedby": `${e}-error`,+ onChange: (e) => {+ h(e.target.value), e.target.value && e.target.checkValidity() && (e.target.removeAttribute("aria-invalid"), _(""));+ },+ onKeyDown: (e) => {+ e.key === "Enter" && (e.preventDefault(), b());+ }+ }), /* @__PURE__ */ (0, V.jsx)("span", {+ "aria-hidden": "true",+ children: c+ })]+ }), /* @__PURE__ */ (0, V.jsx)("small", {+ id: `${e}-error`,+ "data-number-error": "",+ role: "status",+ hidden: !g,+ children: g+ })]+ })]+ });}//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js-function Cz() {}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js-function wz(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 Tz(e) {- this._context = e;+//#region src/react/sidebar/sidebar-order.ts+function RR(e) {+ let { mutate: t } = Gj();+ return (0, B.useCallback)((n) => {+ e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });+ }, [e, t]);}-Tz.prototype = {- areaStart: function() {- this._line = 0;- },- areaEnd: function() {- this._line = NaN;- },- lineStart: function() {- this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;- },- lineEnd: function() {- switch (this._point) {- case 3: wz(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;- },- point: function(e, t) {- switch (e = +e, t = +t, this._point) {- case 0:- this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);- break;- case 1:- 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: wz(this, e, t);- }- this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;- }-};-function qbe(e) {- return new Tz(e);+function zR(e, t, n, r) {+ if (t === n) return null;+ let i = [...e], a = i.indexOf(t);+ if (a < 0) return null;+ i.splice(a, 1);+ let o = i.indexOf(n);+ return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);}//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js-function Ez(e) {- this._context = e;-}-Ez.prototype = {- areaStart: Cz,- areaEnd: Cz,- 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;- },- lineEnd: function() {- switch (this._point) {- case 1:- this._context.moveTo(this._x2, this._y2), this._context.closePath();- break;- case 2:- this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath();- break;- case 3: this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);- }- },- point: function(e, t) {- switch (e = +e, t = +t, this._point) {- case 0:- this._point = 1, this._x2 = e, this._y2 = t;- break;- case 1:- this._point = 2, this._x3 = e, this._y3 = t;- break;- 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: wz(this, e, t);+//#region src/react/settings-panel/sidebar-order.tsx+var gbe = "__home__", BR = (e) => e === "" ? gbe : e;+function _be({ host: e }) {+ let t = RR(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 = zR(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]) => BR(e) === o) ?? a[0], y = () => {+ h.current && De(h.current), l(!1);+ }, b = () => {+ let e = h.current;+ if (!e) return;+ let t = !c;+ t ? ze(e) : De(e), l(t), t && e.querySelector("[aria-selected=\"true\"]")?.focus();+ }, x = (e) => {+ if (e.key === "Escape") {+ e.preventDefault(), y(), m.current?.focus();+ return;}- this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;- }-};-function Jbe(e) {- return new Ez(e);-}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js-function Dz(e) {- this._context = e;-}-Dz.prototype = {- areaStart: function() {- this._line = 0;- },- areaEnd: function() {- this._line = NaN;- },- lineStart: function() {- this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;- },- lineEnd: function() {- (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;- },- point: function(e, t) {- switch (e = +e, t = +t, this._point) {- case 0:- this._point = 1;- break;- case 1:- this._point = 2;- break;- case 2:- this._point = 3;- var n = (this._x0 + 4 * this._x1 + e) / 6, r = (this._y0 + 4 * this._y1 + t) / 6;- this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);- break;- case 3: this._point = 4;- default: wz(this, e, t);- }- this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;- }-};-function Ybe(e) {- return new Dz(e);-}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js-function Oz(e) {- this._context = e;-}-Oz.prototype = {- areaStart: Cz,- areaEnd: Cz,- lineStart: function() {- this._point = 0;- },- lineEnd: function() {- this._point && this._context.closePath();- },- point: function(e, t) {- e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));- }-};-function Xbe(e) {- return new Oz(e);+ if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;+ e.preventDefault();+ let t = [...h.current?.querySelectorAll("[role=\"option\"]") ?? []];+ t[(t.indexOf(e.currentTarget) + (e.key === "ArrowDown" ? 1 : -1) + t.length) % t.length]?.focus();+ }, S = () => {+ d(null), p(null);+ }, C = (e) => ({+ draggable: !0,+ onDragStart: (t) => {+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", BR(e));+ },+ onDragOver: (t) => {+ if (u === null || u === e) return;+ t.preventDefault(), t.dataTransfer.dropEffect = "move";+ let n = t.currentTarget.getBoundingClientRect(), r = t.clientY > n.top + t.currentTarget.offsetHeight / 2;+ (f?.key !== e || f.after !== r) && p({+ key: e,+ after: r+ });+ },+ onDrop: (t) => {+ t.preventDefault();+ let n = u, r = f?.key === e && f.after;+ S(), n !== null && n !== e && g(n, e, r);+ },+ onDragEnd: S+ });+ return /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-sidebar-order": "",+ id: "sidebarOrderSetting",+ children: [i.map(([e, r, a], o) => /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-sidebar-row": e,+ ...C(e),+ "data-dragging": u === e ? "" : void 0,+ "data-drop": f?.key === e ? f.after ? "after" : "before" : void 0,+ children: [/* @__PURE__ */ (0, V.jsxs)("span", {+ "data-sidebar-label": "",+ children: [+ /* @__PURE__ */ (0, V.jsx)("i", {+ "data-sidebar-grip": "",+ "aria-hidden": "true",+ children: /* @__PURE__ */ (0, V.jsx)(nT, { name: "grip-vertical" })+ }),+ /* @__PURE__ */ (0, V.jsx)(nT, { name: a ?? "" }),+ /* @__PURE__ */ (0, V.jsx)("b", { children: r })+ ]+ }), /* @__PURE__ */ (0, V.jsxs)("span", {+ "data-sidebar-actions": "",+ children: [+ /* @__PURE__ */ (0, V.jsx)("button", {+ type: "button",+ "data-sidebar-key": e,+ "data-sidebar-move": "-1",+ "aria-label": `上移 ${r}`,+ title: "上移",+ disabled: o === 0,+ onClick: () => _(e, -1),+ children: /* @__PURE__ */ (0, V.jsx)(nT, { name: "chevron-up" })+ }),+ /* @__PURE__ */ (0, V.jsx)("button", {+ type: "button",+ "data-sidebar-key": e,+ "data-sidebar-move": "1",+ "aria-label": `下移 ${r}`,+ title: "下移",+ disabled: o === i.length - 1,+ onClick: () => _(e, 1),+ children: /* @__PURE__ */ (0, V.jsx)(nT, { name: "chevron-down" })+ }),+ /* @__PURE__ */ (0, V.jsx)("button", {+ type: "button",+ "data-sidebar-key": e,+ "data-sidebar-hide": "",+ "aria-label": `隐藏 ${r}`,+ title: "隐藏",+ disabled: i.length === 1,+ onClick: () => {+ n.length > 1 && t(n.filter((t) => t !== e));+ },+ children: /* @__PURE__ */ (0, V.jsx)(nT, { name: "eye-off" })+ })+ ]+ })]+ }, BR(e))), /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-sidebar-add-row": "",+ children: [/* @__PURE__ */ (0, V.jsxs)("div", {+ "data-sidebar-add-picker": "",+ onBlur: (e) => {+ e.currentTarget.contains(e.relatedTarget) || y();+ },+ children: [/* @__PURE__ */ (0, V.jsx)("button", {+ type: "button",+ "data-sidebar-add-trigger": "",+ "aria-haspopup": "listbox",+ "aria-expanded": c,+ disabled: !v,+ ref: m,+ onClick: b,+ children: v ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [+ /* @__PURE__ */ (0, V.jsx)(nT, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, V.jsx)("span", {+ "data-sidebar-add-label": "",+ children: v[1]+ }),+ /* @__PURE__ */ (0, V.jsx)(nT, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(nT, { name: "check" }), /* @__PURE__ */ (0, V.jsx)("span", { children: "全部页面都已显示" })] })+ }), a.length ? /* @__PURE__ */ (0, V.jsx)("div", {+ className: "popmenu",+ "data-sidebar-add-menu": "",+ role: "listbox",+ "aria-label": "选择要添加的页面",+ hidden: !0,+ ref: h,+ children: a.map(([e, t, n]) => /* @__PURE__ */ (0, V.jsxs)("button", {+ type: "button",+ role: "option",+ "data-sidebar-add-option": BR(e),+ "aria-selected": v?.[0] === e,+ tabIndex: v?.[0] === e ? 0 : -1,+ onKeyDown: x,+ onClick: () => {+ s(BR(e)), y(), m.current?.focus();+ },+ children: [/* @__PURE__ */ (0, V.jsx)(nT, { name: n ?? "" }), /* @__PURE__ */ (0, V.jsx)("span", { children: t })]+ }, BR(e)))+ }) : null]+ }), /* @__PURE__ */ (0, V.jsx)("button", {+ type: "button",+ className: "geist-button primary",+ "data-sidebar-add": "",+ disabled: !v,+ onClick: () => {+ v && !n.includes(v[0]) && t([...n, v[0]]);+ },+ children: "添加"+ })]+ })]+ });}//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js-function kz(e) {- return e < 0 ? -1 : 1;-}-function Az(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 (kz(a) + kz(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;-}-function jz(e, t) {- var n = e._x1 - e._x0;- return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;+//#region src/react/settings-panel/settings-panel.tsx+var VR = [+ ["界面", "ri-palette-line"],+ ["浏览", "ri-layout-grid-line"],+ ["播放", "ri-play-circle-line"],+ ["搜索", "ri-search-line"],+ ["关注", "ri-rss-line"],+ ["安全", "ri-shield-check-line"],+ ["这台电脑", "ri-macbook-line"]+], vbe = [+ ["seed", "随机"],+ ["rating", "评分"],+ ["o", "高潮计数"],+ ["plays", "观看次数"],+ ["dur", "时长"],+ ["size", "体积"],+ ["new", "入库时间"],+ ["played", "观看时间"]+], ybe = [["desc", "降序"], ["asc", "升序"]], bbe = [+ ["off", "关闭"],+ ["precise", "精准"],+ ["coarse", "粗略"]+], xbe = [+ ["7", "每周"],+ ["30", "每月"],+ ["90", "每季"],+ ["0", "从不"]+], Sbe = [[+ "cover",+ "官方封面",+ ""+], [+ "thumbnail",+ "预览图",+ ""+]], Cbe = [+ [+ "feedHideGroupSetting",+ "feedHideGroupCompilations",+ "大合集",+ "新作收起大合集",+ "feedHideGroupDescription",+ "多人片段拼成的精选、总集和连发不进新作那一行,也不替它们补封面。"+ ],+ [+ "feedHideSoloSetting",+ "feedHideSoloCompilations",+ "单人合集",+ "新作收起单人合集",+ "feedHideSoloDescription",+ "只有一位女优的精选与长时间合集,比如「8時間 BEST」。"+ ],+ [+ "feedHideExcerptSetting",+ "feedHideExcerpts",+ "切片",+ "新作收起切片",+ "feedHideExcerptDescription",+ "把出过的正片剪成十几分钟单卖的,比如ハイライト厂牌。"+ ]+], wbe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", HR = null, UR = {+ open: !1,+ closing: !1,+ epoch: 0,+ tab: 0,+ machine: "none"+}, WR = 0, GR = null, KR = /* @__PURE__ */ new Set();+function Tbe(e) {+ return KR.add(e), () => {+ KR.delete(e);+ };}-function Mz(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 Ebe() {+ for (let e of [...KR]) e();}-function Nz(e) {- this._context = e;+function qR(e) {+ UR = {+ ...UR,+ ...e+ }, (0, $f.flushSync)(Ebe);}-Nz.prototype = {- areaStart: function() {- this._line = 0;- },- areaEnd: function() {- this._line = NaN;- },- lineStart: function() {- this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;- },- lineEnd: function() {- switch (this._point) {- case 2:- this._context.lineTo(this._x1, this._y1);- break;- case 3: Mz(this, this._t0, jz(this, this._t0));- }- (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;- },- point: function(e, t) {- var n = NaN;- if (e = +e, t = +t, e !== this._x1 || t !== this._y1) {- switch (this._point) {- case 0:- this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);- break;- case 1:- this._point = 2;- break;- case 2:- this._point = 3, Mz(this, jz(this, n = Az(this, e, t)), n);- break;- default: Mz(this, this._t0, n = Az(this, e, t));- }- this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;+async function Dbe(e) {+ if (UR.machine === "summary") return;+ let t = await e.configurable();+ if (UR.open) {+ if (!t) {+ qR({ machine: "note" });+ return;}+ try {+ await vR(new AbortController().signal);+ } catch {}+ UR.open && qR({ machine: "summary" });}-};-function Pz(e) {- this._context = new Fz(e);}-(Pz.prototype = Object.create(Nz.prototype)).point = function(e, t) {- Nz.prototype.point.call(this, t, e);-};-function Fz(e) {- this._context = e;+function Obe(e = "") {+ let t = HR;+ if (!t) return;+ we(), WR += 1, GR ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let n = VR.findIndex(([t]) => t === e), r = Pue();+ qR({+ open: !0,+ closing: !1,+ epoch: UR.epoch + 1,+ tab: n >= 0 ? n : UR.tab+ }), r.then((e) => {+ e && t.syncRemote(e);+ }), Dbe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-Fz.prototype = {- moveTo: function(e, t) {- this._context.moveTo(t, e);- },- closePath: function() {- this._context.closePath();- },- lineTo: function(e, t) {- this._context.lineTo(t, e);- },- bezierCurveTo: function(e, t, n, r, i, a) {- this._context.bezierCurveTo(t, e, r, n, a, i);+function JR() {+ if (!UR.open || UR.closing) return;+ let e = ++WR;+ qR({ closing: !0 });+ let t = () => {+ e !== WR || !UR.closing || (qR({+ open: !1,+ closing: !1+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), GR instanceof HTMLElement && document.contains(GR) && GR.focus(), GR = null);+ };+ if (matchMedia("(prefers-reduced-motion: reduce)").matches) {+ queueMicrotask(t);+ return;}-};-function Zbe(e) {- return new Nz(e);-}-function Qbe(e) {- return new Pz(e);-}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js-function Iz(e) {- this._context = e;+ document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380);}-Iz.prototype = {- areaStart: function() {- this._line = 0;- },- areaEnd: function() {- this._line = NaN;- },- lineStart: function() {- this._x = [], this._y = [];- },- lineEnd: function() {- 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 = Lz(e), i = Lz(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;- },- point: function(e, t) {- this._x.push(+e), this._y.push(+t);- }+var kbe = {+ open: Obe,+ close: JR,+ isOpen: () => UR.open,+ reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function Lz(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];- for (i[n - 1] = o[n - 1] / a[n - 1], t = n - 2; t >= 0; --t) i[t] = (o[t] - i[t + 1]) / a[t];- 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 $be(e) {- return new Iz(e);+function Abe(e) {+ return HR = e, kbe;+}+function jbe() {+ let e = (0, B.useSyncExternalStore)(Tbe, () => UR);+ return HR ? /* @__PURE__ */ (0, V.jsx)(Pbe, {+ host: HR,+ view: e+ }) : null;}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js-function Rz(e, t) {- this._context = e, this._t = t;+function Mbe(e) {+ if (e.key !== "Tab") return;+ let t = [...e.currentTarget.querySelectorAll(wbe)].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());}-Rz.prototype = {- areaStart: function() {- this._line = 0;- },- areaEnd: function() {- this._line = NaN;- },- lineStart: function() {- this._x = this._y = NaN, this._point = 0;- },- lineEnd: function() {- 0 < this._t && this._t < 1 && this._point === 2 && this._context.lineTo(this._x, this._y), (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line >= 0 && (this._t = 1 - this._t, this._line = 1 - this._line);- },- point: function(e, t) {- switch (e = +e, t = +t, this._point) {- case 0:- this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);- break;- case 1: this._point = 2;- default: if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);- else {- var n = this._x * (1 - this._t) + e * this._t;- this._context.lineTo(n, this._y), this._context.lineTo(n, t);- }+var YR = (e) => `settings-tab-${e}`, XR = (e) => e === VR.length - 1 ? "machineGroup" : `settings-group-${e}`;+function Nbe({ 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;+ if (!e || !e.offsetHeight) {+ n.hidden = !0;+ return;}- this._x = e, this._y = t;- }-};-function exe(e) {- return new Rz(e, .5);-}-function txe(e) {- return new Rz(e, 0);-}-function nxe(e) {- return new Rz(e, 1);-}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js-function zz(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 Bz(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 rxe(e, t) {- return e[t];-}-function ixe(e) {- let t = [];- return t.key = e, t;+ n.hidden = !1;+ let r = {+ x: e.offsetLeft,+ y: e.offsetTop,+ w: e.offsetWidth,+ h: e.offsetHeight+ }, o = a.current;+ a.current = r, Fe(n, t ? o : null, r, "y");+ }, l = (0, B.useRef)(c);+ l.current = c, (0, B.useLayoutEffect)(() => {+ let e = r.current;+ if (!e) return;+ Ze(e);+ let t = new ResizeObserver(() => l.current(s.current[o.current], !1));+ return t.observe(e), () => t.disconnect();+ }, []), (0, B.useLayoutEffect)(() => {+ let t = o.current !== e;+ o.current = e, l.current(s.current[e], t);+ }, [e, t]);+ let u = (e, t) => {+ let r = VR.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;+ else if (e.key === "End") i = r - 1;+ else return;+ e.preventDefault(), n(i), s.current[i]?.focus();+ };+ return /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-settings-nav": "",+ "data-glass-pane": "",+ role: "tablist",+ "aria-label": "设置分区",+ ref: r,+ onPointerLeave: (e) => {+ e.pointerType !== "touch" && c(s.current[o.current], !0);+ },+ children: [+ /* @__PURE__ */ (0, V.jsx)("span", {+ "data-settings-glide": "",+ "aria-hidden": "true",+ hidden: !0,+ ref: i+ }),+ /* @__PURE__ */ (0, V.jsx)("p", {+ "data-settings-nav-caption": "",+ role: "presentation",+ children: "设置"+ }),+ VR.map(([t, r], i) => /* @__PURE__ */ (0, V.jsxs)("button", {+ type: "button",+ role: "tab",+ id: YR(i),+ "aria-controls": XR(i),+ "aria-selected": i === e,+ tabIndex: i === e ? 0 : -1,+ ref: (e) => {+ s.current[i] = e;+ },+ onClick: () => n(i),+ onKeyDown: (e) => u(e, i),+ onPointerEnter: (e) => {+ e.pointerType !== "touch" && c(e.currentTarget, !0);+ },+ children: [/* @__PURE__ */ (0, V.jsx)(Bie, { name: r }), t]+ }, t))+ ]+ });}-function axe() {- var e = XR([]), t = Bz, n = zz, r = rxe;- function i(i) {- var a = Array.from(e.apply(this, arguments), ixe), 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 = cz(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 : XR(Array.from(t)), i) : e;- }, i.value = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : XR(+e), i) : r;- }, i.order = function(e) {- return arguments.length ? (t = e == null ? Bz : typeof e == "function" ? e : XR(Array.from(e)), i) : t;- }, i.offset = function(e) {- return arguments.length ? (n = e ?? zz, i) : n;- }, i;+function ZR({ index: e, tab: t, children: n }) {+ return /* @__PURE__ */ (0, V.jsxs)("section", {+ "data-setting-group": "",+ id: XR(e),+ role: "tabpanel",+ "aria-labelledby": YR(e),+ hidden: e !== t,+ children: [/* @__PURE__ */ (0, V.jsx)("h3", { children: VR[e][0] }), n]+ });}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js-function oxe(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;- }- zz(e, t);- }+function QR({ 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", {+ id: r,+ children: n+ })] }), /* @__PURE__ */ (0, V.jsx)("input", {+ "data-toggle": "",+ type: "checkbox",+ id: e,+ role: "switch",+ "aria-describedby": r,+ checked: i,+ onChange: (e) => a(e.target.checked)+ })]+ });}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js-function sxe(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;- }- zz(e, t);- }+function $R({ title: e, description: t, kind: n, children: r }) {+ return /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-setting-row": "",+ "data-setting-sort": n === "sort" ? "" : void 0,+ "data-setting-related": n === "related" ? "" : void 0,+ 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]+ });}-//#endregion-//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js-function cxe(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) {- for (var u = e[t[s]], d = u[r][1] || 0, f = (d - (u[r - 1][1] || 0)) / 2, p = 0; p < s; ++p) {- var m = e[t[p]], h = m[r][1] || 0, g = m[r - 1][1] || 0;- f += h - g;+var ez = ({ html: e, ...t }) => /* @__PURE__ */ (0, V.jsx)("small", {+ ...t,+ dangerouslySetInnerHTML: { __html: e }+}), tz = () => `${Ke("保存中")}<span>正在保存…</span>`, nz = (e, t) => e instanceof Error && e.message || t;+function Pbe({ 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];+ if (!e || !t) return;+ let n = parseFloat(getComputedStyle(e).getPropertyValue("--settings-gap")) || 0;+ e.toggleAttribute("data-scrolled", t.scrollTop > Math.max(n - 4, 0));+ }, u = (0, B.useRef)(l);+ u.current = l, (0, B.useLayoutEffect)(() => {+ let t = o.current;+ if (!t || !r.current) return;+ s.current = Ce(t) ?? s.current, e.attached(r.current);+ let n = () => u.current();+ return t.addEventListener("scroll", n, { passive: !0 }), () => t.removeEventListener("scroll", n);+ }, [e]), (0, B.useLayoutEffect)(() => {+ let e = c.current !== t.tab;+ c.current = t.tab, o.current && (o.current.scrollTop = 0), e && a.current && Be(a.current, "h2"), u.current();+ }, [t.tab, t.epoch]), (0, B.useLayoutEffect)(() => {+ s.current?.();+ });+ let d = t.epoch, f = (e) => {+ e !== UR.tab && qR({ tab: e });+ }, p = () => e.store.save();+ return /* @__PURE__ */ (0, V.jsx)("section", {+ "data-settings-panel": "",+ id: "settingsPanel",+ hidden: !t.open,+ "aria-modal": "true",+ role: "dialog",+ "aria-labelledby": "settingsTitle",+ "data-closing": t.closing ? "" : void 0,+ ref: r,+ onKeyDown: Mbe,+ onClick: (e) => {+ e.target === e.currentTarget && JR();+ },+ children: /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-settings-card": "",+ ref: i,+ children: [+ /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-settings-head": "",+ ref: a,+ children: [/* @__PURE__ */ (0, V.jsx)("h2", {+ id: "settingsTitle",+ children: VR[t.tab][0]+ }), /* @__PURE__ */ (0, V.jsx)("button", {+ type: "button",+ id: "settingsClose",+ "aria-label": "关闭设置",+ onClick: JR,+ children: /* @__PURE__ */ (0, V.jsx)("svg", {+ viewBox: "0 0 24 24",+ children: /* @__PURE__ */ (0, V.jsx)("use", { href: "#i-x" })+ })+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)(Nbe, {+ tab: t.tab,+ epoch: d,+ onSelect: f+ }),+ /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-settings-scroll": "",+ ref: o,+ children: [+ /* @__PURE__ */ (0, V.jsxs)(ZR, {+ index: 0,+ tab: t.tab,+ children: [+ /* @__PURE__ */ (0, V.jsx)($R, {+ title: "主题",+ description: "跟随系统,或固定用浅色、深色。",+ children: /* @__PURE__ */ (0, V.jsx)(PR, {+ id: "themeSetting",+ name: "theme",+ legend: "主题",+ options: e.themeOptions,+ value: n.theme,+ attr: "data-theme-choice",+ variant: "themeswitch",+ epoch: d,+ onChoose: (t) => {+ n.theme = t, p(), e.changed("theme");+ }+ })+ }),+ /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-setting-row": "",+ children: [/* @__PURE__ */ (0, V.jsxs)("label", {+ htmlFor: "glassContrastSetting",+ children: [/* @__PURE__ */ (0, V.jsx)("b", { children: "增加对比度" }), /* @__PURE__ */ (0, V.jsx)("small", { children: "关闭玻璃折射与透明效果,使用实色背景。" })]+ }), /* @__PURE__ */ (0, V.jsx)("input", {+ type: "checkbox",+ id: "glassContrastSetting",+ "data-toggle": "",+ role: "switch",+ checked: e.highContrast(),+ onChange: (t) => e.setHighContrast(t.target.checked)+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)(QR, {+ id: "uiSoundsSetting",+ title: "界面音效",+ checked: n.uiSounds,+ description: "按钮、开关、菜单、弹层和操作回执各配一声轻响。",+ onToggle: (t) => {+ n.uiSounds = t, p(), e.changed("uiSounds");+ }+ }),+ /* @__PURE__ */ (0, V.jsx)(QR, {+ id: "homeGlowSetting",+ title: "侧栏光晕",+ checked: n.homeGlow.on,+ description: "左栏玻璃面上那三枚慢慢漂动的光,其余玻璃面跟着取前两枚的颜色。配色在下面或左栏底部那枚配色钮上挑,强调色在配色钮上挑;这里还调强度、颗粒、漂移速度、柔化、大小和每一枚光晕的颜色。浅色主题按同一组颜色淡一档显示。",+ onToggle: (t) => {+ n.homeGlow.on = t, p(), e.changed("glow");+ }+ }),+ /* @__PURE__ */ (0, V.jsx)(mbe, { 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)(_be, { host: e })]+ })+ ]+ }),+ /* @__PURE__ */ (0, V.jsx)(Ibe, {+ host: e,+ tab: t.tab,+ epoch: d+ }),+ /* @__PURE__ */ (0, V.jsx)(Rbe, {+ host: e,+ tab: t.tab,+ epoch: d+ }),+ /* @__PURE__ */ (0, V.jsx)(ZR, {+ index: 3,+ tab: t.tab,+ children: /* @__PURE__ */ (0, V.jsx)(Bbe, {+ host: e,+ epoch: d+ })+ }),+ /* @__PURE__ */ (0, V.jsx)(Vbe, {+ host: e,+ tab: t.tab,+ epoch: d+ }),+ /* @__PURE__ */ (0, V.jsx)(ZR, {+ index: 5,+ tab: t.tab,+ children: /* @__PURE__ */ (0, V.jsx)(QR, {+ id: "censorSetting",+ title: "SFW 模式",+ describedBy: "sfwDescription",+ checked: e.censored(),+ description: "模糊、降低饱和度并压暗全站图片和视频,包括封面、头像与详情预览;停止悬停预览。文字、品牌标识和来源图标保持可见。",+ onToggle: (t) => e.setCensored(t)+ })+ }),+ /* @__PURE__ */ (0, V.jsx)(ZR, {+ index: 6,+ tab: t.tab,+ children: /* @__PURE__ */ (0, V.jsx)(Ube, {+ host: e,+ machine: t.machine+ })+ })+ ]+ })+ ]+ })+ });+}+function Fbe(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", {+ className: "gselectmark",+ iconClass: "gselectmark"+ }) + "<span data-sort-direction-label></span>"), Ge(n, t ? "a" : "b");+ let r = n.querySelector("[data-sort-direction-label]");+ r && (r.textContent = t ? "升序" : "降序");+}+function Ibe({ 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)(ZR, {+ index: 1,+ tab: t,+ children: [+ /* @__PURE__ */ (0, V.jsx)($R, {+ title: "每批作品",+ description: "首页每次加载的作品数量。",+ children: /* @__PURE__ */ (0, V.jsx)("div", {+ id: "batchSizeSetting",+ children: /* @__PURE__ */ (0, V.jsx)(LR, {+ id: "batchSizeSetting",+ label: "每批作品",+ value: r.batchSize,+ onApply: (t) => {+ r.batchSize = t || 60, i(), e.changed("batchSize");+ }+ }, n)+ })+ }),+ /* @__PURE__ */ (0, V.jsx)($R, {+ title: "默认排序",+ kind: "sort",+ description: /* @__PURE__ */ (0, V.jsx)("small", {+ id: "sortDirectionHelp",+ children: a ? "随机排序不使用方向。" : "打开首页时使用的排序与方向。"+ }),+ children: /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-setting-sort-controls": "",+ children: [/* @__PURE__ */ (0, V.jsx)(FR, {+ id: "defaultSortSetting",+ label: "默认排序",+ options: vbe,+ value: r.defaultSort,+ epoch: n,+ onPick: (t) => {+ r.defaultSort = t, i(), e.changed("defaultSort");+ }+ }), /* @__PURE__ */ (0, V.jsx)(FR, {+ id: "defaultSortDirectionSetting",+ label: "默认排序方向",+ options: ybe,+ value: o ? "asc" : "desc",+ hidden: a,+ disabled: a,+ describedBy: "sortDirectionHelp",+ epoch: n,+ onPick: (t) => {+ r.defaultSortDirection = t, i(), e.changed("sortDirection");+ },+ decorate: (e) => Fbe(e, o)+ })]+ })+ }),+ /* @__PURE__ */ (0, V.jsxs)("label", {+ "data-setting-row": "",+ children: [/* @__PURE__ */ (0, V.jsxs)("span", { children: [/* @__PURE__ */ (0, V.jsx)("b", { children: "合并分卷与版本" }), /* @__PURE__ */ (0, V.jsx)("small", { children: "同一番号的多个分卷或版次只占一张卡,展示第一个。" })] }), /* @__PURE__ */ (0, V.jsx)("input", {+ type: "checkbox",+ id: "groupCollapseSetting",+ "data-toggle": "",+ role: "switch",+ checked: r.groupCollapse,+ onChange: (t) => {+ r.groupCollapse = t.target.checked, i(), e.changed("groupCollapse");+ }+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)($R, {+ title: "JAV 默认封面",+ description: "首页、接着看和 Mix 等位置共用;缺图时使用另一种封面。",+ children: /* @__PURE__ */ (0, V.jsx)(PR, {+ id: "javImageSetting",+ name: "jav-image",+ legend: "JAV 默认封面",+ options: Sbe,+ value: r.javImage,+ attr: "data-jav-image-choice",+ variant: "javimageswitch",+ text: !0,+ epoch: n,+ onChoose: (t) => {+ r.javImage = AC(t), i(), e.changed("javImage");+ }+ })+ }),+ /* @__PURE__ */ (0, V.jsx)($R, {+ title: "视频封面默认大小",+ kind: "related",+ description: "首页和 JAV 等视频列表共用;小图展示完整封套,大图展示完整正封。",+ children: /* @__PURE__ */ (0, V.jsx)(PR, {+ id: "javSizeSetting",+ name: "video-size",+ legend: "视频封面默认大小",+ options: e.videoLayouts,+ value: e.videoLayout(),+ attr: "data-video-layout",+ variant: "javimageswitch",+ text: !0,+ epoch: n,+ onChoose: (t) => e.setVideoLayout(t)+ })+ }),+ /* @__PURE__ */ (0, V.jsx)(QR, {+ id: "feedAutoScrollSetting",+ title: "新作自动滚动",+ checked: r.feedAutoScroll,+ description: "首页和人物页那一行未入库的新作缓缓向前滚,到头停一下再往回;指针移上去或手动滚过时停下。",+ onToggle: (t) => {+ r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}- c += d, l += f * d;+ }),+ Cbe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, V.jsx)(Lbe, {+ host: e,+ id: t,+ settingKey: n,+ label: r,+ title: i,+ describedBy: a,+ description: o+ }, t))+ ]+ });+}+function Lbe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {+ let s = Gj(), [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}`);+ },+ onError: (t) => e.failure(`保存${r}开关`, t),+ onSettled: () => {+ l(null), Ue(u.current, !1);}- i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);- }- i[r - 1][1] += i[r - 1][0] = n, zz(e, t);- }+ });+ };+ return /* @__PURE__ */ (0, V.jsxs)("label", {+ "data-setting-row": "",+ children: [/* @__PURE__ */ (0, V.jsxs)("span", { children: [/* @__PURE__ */ (0, V.jsx)("b", { children: i }), /* @__PURE__ */ (0, V.jsx)("small", {+ id: a,+ children: o+ })] }), /* @__PURE__ */ (0, V.jsx)("input", {+ "data-toggle": "",+ type: "checkbox",+ id: t,+ role: "switch",+ "aria-describedby": a,+ ref: u,+ checked: c ?? d[n],+ onChange: (e) => f(e.target.checked)+ })]+ });}-//#endregion-//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs-function Vz(e) {- return e === "__proto__";+function Rbe({ host: e, tab: t, epoch: n }) {+ let r = e.store.value, i = () => e.store.save();+ return /* @__PURE__ */ (0, V.jsxs)(ZR, {+ index: 2,+ tab: t,+ children: [+ /* @__PURE__ */ (0, V.jsx)($R, {+ title: "悬停放大",+ description: "转圈完成后进入放大预览。",+ children: /* @__PURE__ */ (0, V.jsx)("div", {+ id: "hoverDelaySetting",+ children: /* @__PURE__ */ (0, V.jsx)(LR, {+ id: "hoverDelaySetting",+ label: "悬停放大",+ value: r.hoverDelaySeconds,+ onApply: (t) => {+ r.hoverDelaySeconds = MR(t, 0, 60, 5), i(), e.changed("hoverDelay");+ }+ }, n)+ })+ }),+ /* @__PURE__ */ (0, V.jsx)(QR, {+ id: "detailAutoplaySetting",+ title: "打开详情自动播放",+ checked: r.detailAutoplay,+ description: "打开本地作品或关注视频详情时开始播放;关闭后点击播放按钮开始。",+ onToggle: (e) => {+ r.detailAutoplay = e, i();+ }+ }),+ /* @__PURE__ */ (0, V.jsx)(QR, {+ id: "miniplayerSetting",+ title: "小窗播放",+ checked: r.miniplayer,+ description: "离开详情时正在播放的视频缩到角落继续播放;小窗开着时点击其他视频直接在小窗里换片。",+ onToggle: (t) => {+ r.miniplayer = t, i(), e.changed("miniplayer");+ }+ }),+ /* @__PURE__ */ (0, V.jsx)($R, {+ title: "快进 / 快退",+ description: "卡片预览和详情播放器共用。",+ children: /* @__PURE__ */ (0, V.jsx)("div", {+ id: "seekSecondsSetting",+ children: /* @__PURE__ */ (0, V.jsx)(LR, {+ id: "seekSecondsSetting",+ label: "快进 / 快退",+ value: r.seekSeconds,+ onApply: (t) => {+ r.seekSeconds = t || 10, i(), e.changed("seekSeconds");+ }+ }, n)+ })+ }),+ /* @__PURE__ */ (0, V.jsx)(zbe, { epoch: n }),+ /* @__PURE__ */ (0, V.jsx)($R, {+ title: "相关推荐",+ description: "详情下方一次显示的相似作品数量。",+ children: /* @__PURE__ */ (0, V.jsx)("div", {+ id: "relatedLimitSetting",+ children: /* @__PURE__ */ (0, V.jsx)(LR, {+ id: "relatedLimitSetting",+ label: "相关推荐",+ value: r.relatedLimit,+ onApply: (e) => {+ r.relatedLimit = e, i();+ }+ }, n)+ })+ })+ ]+ });}-//#endregion-//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs-var lxe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;-function Hz(e) {- switch (typeof e) {- case "number":- case "symbol": return !1;- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : lxe.test(e);- default: return !1;- }+function zbe({ epoch: e }) {+ let t = TS({+ queryKey: Hj,+ queryFn: ({ signal: e }) => Wj(e)+ }), n = Iue(), r = n.reset;+ (0, B.useEffect)(() => {+ r();+ }, [e, r]);+ let i = t.data?.mode || "off", a = n.isPending ? tz() : t.isFetching ? Pe("正在读取状态") : n.isError ? rz(nz(n.error, "保存失败")) : t.isError ? rz(`状态未取得:${nz(t.error, String(t.error))}`) : t.data ? rz(Rue(t.data)) : "读取运行状态…";+ return /* @__PURE__ */ (0, V.jsx)($R, {+ 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)(ez, {+ id: "videoThumbnailState",+ "aria-live": "polite",+ html: a+ })] }),+ children: /* @__PURE__ */ (0, V.jsx)(FR, {+ id: "videoThumbnailSetting",+ label: "视频缩略图采集",+ options: bbe,+ value: n.isPending || n.isError ? n.variables ?? i : i,+ disabled: n.isPending || t.isFetching,+ epoch: e,+ onPick: (e) => n.mutate(e)+ })+ });}-//#endregion-//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs-function Uz(e) {- return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);+function Bbe({ host: e, epoch: t }) {+ let n = e.store.value, r = Gj();+ return /* @__PURE__ */ (0, V.jsx)($R, {+ title: "搜索记录",+ description: "保存在 Peach 账本,所有访问端同步。",+ children: /* @__PURE__ */ (0, V.jsx)("div", {+ id: "searchHistoryLimitSetting",+ children: /* @__PURE__ */ (0, V.jsx)(LR, {+ id: "searchHistoryLimitSetting",+ label: "搜索记录",+ value: n.searchHistoryLimit,+ onApply: (t) => {+ n.searchHistoryLimit = MR(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });+ }+ }, t)+ })+ });}-//#endregion-//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs-function Wz(e) {- return typeof e == "symbol" || e instanceof Symbol;+function Vbe({ host: e, tab: t, epoch: n }) {+ let r = e.store.value, i = Gj(), o = Gj(), [s, c] = (0, B.useState)("");+ (0, B.useEffect)(() => {+ c("");+ }, [n]);+ let l = (t) => {+ o.isPending || (c("正在保存…"), o.mutate({ followInitialDays: t }, {+ onSuccess: (t) => {+ typeof t.followInitialDays == "number" && (r.followInitialDays = t.followInitialDays), e.store.save(), c("已保存,适用于尚未开始采集的来源。"), e.receipt("已保存首次采集历史范围");+ },+ onError: (t) => {+ c(nz(t, "")), e.failure("保存首次采集历史范围", t);+ }+ }));+ };+ return /* @__PURE__ */ (0, V.jsxs)(ZR, {+ index: 4,+ tab: t,+ children: [+ /* @__PURE__ */ (0, V.jsx)($R, {+ 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)(FR, {+ id: "followInitialDaysSetting",+ label: "首次采集历史范围",+ options: e.followInitialRanges,+ value: o.isPending ? String(o.variables?.followInitialDays ?? r.followInitialDays) : String(r.followInitialDays),+ busy: o.isPending,+ epoch: n,+ onPick: (e) => l(Number(e))+ })+ }),+ /* @__PURE__ */ (0, V.jsx)(Hbe, { epoch: n }),+ /* @__PURE__ */ (0, V.jsx)($R, {+ title: "头像与站点图标刷新",+ description: "创作者头像、来源图标和外链圆标保存在本机,到期后下次显示时重新取一次;视频与图片不保存。",+ children: /* @__PURE__ */ (0, V.jsx)(FR, {+ id: "metadataRefreshSetting",+ label: "头像与站点图标刷新",+ options: xbe,+ value: String(r.metadataRefreshDays),+ epoch: n,+ onPick: (t) => {+ let n = Number(t);+ r.metadataRefreshDays = a.includes(n) ? n : 30, e.store.save(), i.mutate({ metadataRefreshDays: r.metadataRefreshDays }, { onError: () => {} });+ }+ })+ })+ ]+ });}-//#endregion-//#region node_modules/es-toolkit/dist/compat/util/toString.mjs-function uxe(e) {- return e == null ? "" : Gz(e);+function Hbe({ epoch: e }) {+ let t = TS({+ queryKey: Vj,+ queryFn: ({ signal: e }) => Uj(e)+ }), n = Fue(), 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 ? tz() : t.isFetching ? Pe("正在读取状态") : n.isError ? rz(nz(n.error, "保存失败")) : t.isError ? rz(`状态未取得:${nz(t.error, String(t.error))}`) : i ? rz(Lue(i)) : "读取运行状态…";+ return /* @__PURE__ */ (0, V.jsx)($R, {+ title: "关注自动更新",+ description: /* @__PURE__ */ (0, V.jsx)(ez, {+ id: "followScheduleState",+ "aria-live": "polite",+ html: o+ }),+ children: /* @__PURE__ */ (0, V.jsx)("div", {+ id: "followScheduleSetting",+ children: /* @__PURE__ */ (0, V.jsx)(LR, {+ id: "followScheduleSetting",+ label: "关注自动更新",+ value: i && !a ? i.enabled ? i.interval_minutes : 0 : null,+ disabled: i ? !i.available : !1,+ onApply: (e) => n.mutate(e)+ }, e)+ })+ });}-function Gz(e) {- if (typeof e == "string") return e;- if (Array.isArray(e)) return e.map(Gz).join(",");- if (Wz(e)) return e.toString();- let t = e + "";- return t === "0" && Object.is(Number(e), -0) ? "-0" : t;+function Ube({ 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)(ube, { openConfiguration: () => {+ JR(), e.openConfiguration();+ } })+ })+ }, "summary") : t === "note" ? /* @__PURE__ */ (0, V.jsx)("div", {+ id: "machineSettings",+ dangerouslySetInnerHTML: { __html: Ie("媒体文件夹、端口、代理与更新只能在运行 Peach 服务的那台设备上改:在它的浏览器里打开配置页。", { label: "在服务端设备修改" }) }+ }, "note") : /* @__PURE__ */ (0, V.jsx)("div", { id: "machineSettings" }, "none");+}+function rz(e) {+ return e.replace(/[&<>"']/g, (e) => `&#${e.charCodeAt(0)};`);}//#endregion-//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs-function Kz(e) {- if (Array.isArray(e)) return e.map(Uz);- if (typeof e == "symbol") return [e];- e = uxe(e);- let t = [], n = e.length;- if (n === 0) return t;- let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;- for (e.charCodeAt(0) === 46 && t.push(""); r < n;) {- let l = e[r];- if (a) l === "\\" && r + 1 < n ? (r++, i += e[r]) : l === a ? a = "" : i += l;- else if (o) {- if (l === "\"" || l === "'") a = l, s = !0;- else if (l === "]") {- if (o = !1, !s && i.includes(".") && !c.test(i)) {- let e = i.split(".");- for (let n = 0; n < e.length; n++) e[n] !== "" && t.push(e[n]);- } else t.push(i);- i = "";- } else i += l;- } else if (l === "[") o = !0, s = !1, i &&= (t.push(i), "");- else if (l === ".") {- i &&= (t.push(i), "");- let n = e[r + 1];- (n === void 0 || n === ".") && t.push("");- } else i += l;- r++;- }- return i && t.push(i), t;+//#region src/react/stats/stats.ts+var Wbe = "/api/stats", iz = ["stats"], az = (e) => G(Wbe, e);+async function Gbe(e) {+ await z.fetchQuery({+ queryKey: iz,+ queryFn: () => az(e)+ });+}+var oz = (e, t) => t ? Math.round(e / t * 100) : 0, Kbe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, sz = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, cz = (e) => (e.max_reached || 0) * 100, qbe = (e) => e.kind === "online" ? "在线直接观看" : sz(e) < cz(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", Jbe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, Ybe = (e) => Math.max(1, ...e) * 1.1, Xbe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Zbe = {+ video: "视频",+ image: "图片",+ illustration: "插画",+ archive: "压缩包",+ audio: "音频",+ account: "账号",+ other: "其它文件"+}, Qbe = (e) => e.map((e) => ({+ name: Zbe[e.k] ?? e.k,+ value: e.n+})).sort((e, t) => t.value - e.value), $be = {+ 速食: "<5 分钟",+ 短: "5–15 分钟",+ 中: "15–40 分钟",+ 长: ">40 分钟"+}, lz = (e, t = {}) => e.map((e) => ({+ name: t[e.k] ?? e.k,+ value: e.n+})), exe = (e) => lz(e, $be), txe = [+ [+ 1,+ 1,+ "1 次"+ ],+ [+ 2,+ 2,+ "2 次"+ ],+ [+ 3,+ 3,+ "3 次"+ ],+ [+ 4,+ 4,+ "4 次"+ ],+ [+ 5,+ 5,+ "5 次"+ ],+ [+ 6,+ 9,+ "6–9 次"+ ],+ [+ 10,+ Infinity,+ "≥10 次"+ ]+], nxe = (e) => txe.map(([t, n, r]) => ({+ name: r,+ value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)+})), rxe = /* @__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 uz(e) {+ return typeof e == "string" && rxe.includes(e);}//#endregion-//#region node_modules/es-toolkit/dist/compat/object/get.mjs-function qz(e, t, n) {- if (e == null) return n;- switch (typeof t) {- case "string": {- if (Vz(t)) return n;- let r = e[t];- return r === void 0 ? Hz(t) && !Object.hasOwn(e, t) ? qz(e, Kz(t), n) : n : r;- }- case "number":- case "symbol": {- typeof t == "number" && (t = Uz(t));- let r = e[t];- return r === void 0 ? n : r;- }- default: {- if (Array.isArray(t)) return dxe(e, t, n);- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), Vz(t)) return n;- let r = e[t];- return r === void 0 ? n : r;- }- }+//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js+var ixe = /* @__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 dz(e) {+ return typeof e == "string" && ixe.has(e);}-function dxe(e, t, n) {- if (t.length === 0) return n;- let r = e;- for (let e = 0; e < t.length; e++) {- if (r == null || Vz(t[e])) return n;- r = r[t[e]];- }- return r === void 0 ? n : r;+function fz(e) {+ return typeof e == "string" && e.startsWith("data-");}-//#endregion-//#region node_modules/recharts/es6/util/round.js-var fxe = 4;-function Jz(e) {- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : fxe), n = Math.round(e * t) / t;- return Object.is(n, -0) ? 0 : n;+function pz(e) {+ if (typeof e != "object" || !e) return {};+ var t = {};+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (dz(n) || fz(n)) && (t[n] = e[n]);+ return t;}-function Yz(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 + Jz(i) + n;- }, "");+function mz(e) {+ if (e == null) return null;+ if (/*#__PURE__*/ (0, B.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {+ var t = e.props;+ return pz(t);+ }+ return typeof e == "object" && !Array.isArray(e) ? pz(e) : null;}//#endregion-//#region node_modules/recharts/es6/util/DataUtils.js-var Xz = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, Zz = (e) => typeof e == "number" && e != +e, Qz = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !Zz(e), $z = (e) => Z(e) || typeof e == "string", pxe = 0, eB = (e) => {- var t = ++pxe;- return `${e || ""}${t}`;-}, tB = 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 (Qz(e)) {- if (t == null) return n;- var a = e.indexOf("%");- i = t * parseFloat(e.slice(0, a)) / 100;- } else i = +e;- return Zz(i) && (i = n), r && t != null && i > t && (i = t), i;-}, nB = (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 rB(e, t, n) {- return Z(e) && Z(t) ? Jz(e + n * (t - e)) : t;-}-function iB(e, t, n) {- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : qz(e, t)) === n);+//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js+function hz(e) {+ var t = {};+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (dz(n) || fz(n) || uz(n)) && (t[n] = e[n]);+ return t;}-var aB = (e) => e == null, oB = (e) => aB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;-function sB(e) {- return e != null;+function axe(e) {+ return e == null ? null : /*#__PURE__*/ (0, B.isValidElement)(e) ? hz(e.props) : typeof e == "object" && !Array.isArray(e) ? hz(e) : null;}-function cB() {}//#endregion-//#region node_modules/recharts/es6/shape/Symbols.js-var mxe = [- "type",- "size",- "sizeType"+//#region node_modules/recharts/es6/container/Surface.js+var oxe = [+ "children",+ "width",+ "height",+ "viewBox",+ "className",+ "style",+ "title",+ "desc"];-function lB() {- return lB = Object.assign ? Object.assign.bind() : function(e) {+function gz() {+ return gz = 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;- }, lB.apply(null, arguments);+ }, gz.apply(null, arguments);}-function uB(e, t) {- var n = Object.keys(e);+function sxe(e, t) {+ if (e == null) return {};+ var n, r, i = cxe(e, t);if (Object.getOwnPropertySymbols) {- var r = Object.getOwnPropertySymbols(e);- t && (r = r.filter(function(t) {- return Object.getOwnPropertyDescriptor(e, t).enumerable;- })), n.push.apply(n, r);+ 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 n;+ return i;}-function dB(e) {- for (var t = 1; t < arguments.length; t++) {- var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? uB(Object(n), !0).forEach(function(t) {- hxe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uB(Object(n)).forEach(function(t) {- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));- });+function cxe(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];}- return e;-}-function hxe(e, t, n) {- return (t = gxe(t)) in e ? Object.defineProperty(e, t, {- value: n,- enumerable: !0,- configurable: !0,- writable: !0- }) : e[t] = n, e;-}-function gxe(e) {- var t = _xe(e, "string");- return typeof t == "symbol" ? t : t + "";+ return n;}-function _xe(e, t) {- if (typeof e != "object" || !e) return e;- var n = e[Symbol.toPrimitive];- if (n !== void 0) {- var r = n.call(e, t || "default");- if (typeof r != "object") return r;- throw TypeError("@@toPrimitive must return a primitive value.");- }- return (t === "string" ? String : Number)(e);+var _z = /*#__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 = sxe(e, oxe), d = a || {+ width: r,+ height: i,+ x: 0,+ y: 0+ }, f = _h("recharts-surface", o);+ return /*#__PURE__*/ B.createElement("svg", gz({}, hz(u), {+ className: f,+ width: r,+ height: i,+ style: s,+ viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,+ ref: t+ }), /*#__PURE__*/ B.createElement("title", null, c), /*#__PURE__*/ B.createElement("desc", null, l), n);+}), lxe = ["children", "className"];+function vz() {+ return vz = 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;+ }, vz.apply(null, arguments);}-function vxe(e, t) {+function uxe(e, t) {if (e == null) return {};- var n, r, i = yxe(e, t);+ var n, r, i = dxe(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 yxe(e, t) {+function dxe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -52916,3008 +53450,2340 @@ function yxe(e, t) {}return n;}-var fB = {- symbolCircle: gz,- symbolCross: Fbe,- symbolDiamond: Lbe,- symbolSquare: Rbe,- symbolStar: Hbe,- symbolTriangle: Ube,- symbolWye: Gbe-}, bxe = Math.PI / 180, xxe = (e) => fB[`symbol${oB(e)}`] || gz, Sxe = (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 * bxe;- 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;- }-}, Cxe = (e, t) => {- fB[`symbol${oB(e)}`] = t;-}, pB = (e) => {- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = dB(dB({}, vxe(e, mxe)), {}, {- type: t,- size: n,- sizeType: r- }), a = "circle";- typeof t == "string" && (a = t);- var o = () => {- var e = xxe(a), t = Kbe().type(e).size(Sxe(n, r, a))();- if (t !== null) return t;- }, { className: s, cx: c, cy: l } = i, u = WR(i);- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ B.createElement("path", lB({}, u, {- className: _h("recharts-symbols", s),- transform: `translate(${c}, ${l})`,- d: o()- })) : null;-};-pB.registerSymbol = Cxe;-//#endregion-//#region node_modules/recharts/es6/util/types.js-var mB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, hB = (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) => {- zR(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));- }), r;-}, wxe = (e, t, n) => (r) => (e(t, n, r), null), gB = (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];- zR(i) && typeof a == "function" && (r ||= {}, r[i] = wxe(a, t, n));- }), r;-};+var yz = /*#__PURE__*/ B.forwardRef((e, t) => {+ var { children: n, className: r } = e, i = uxe(e, lxe), a = _h("recharts-layer", r);+ return /*#__PURE__*/ B.createElement("g", vz({ className: a }, hz(i), { ref: t }), n);+}), bz = /*#__PURE__*/ (0, B.createContext)(null), fxe = () => (0, B.useContext)(bz);//#endregion-//#region node_modules/recharts/es6/util/resolveDefaultProps.js-function _B(e, t) {- var n = Object.keys(e);- if (Object.getOwnPropertySymbols) {- var r = Object.getOwnPropertySymbols(e);- t && (r = r.filter(function(t) {- return Object.getOwnPropertyDescriptor(e, t).enumerable;- })), n.push.apply(n, r);- }- return n;-}-function Txe(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) {- Exe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _B(Object(n)).forEach(function(t) {- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));- });- }- return e;+//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js+function xz(e) {+ return function() {+ return e;+ };}-function Exe(e, t, n) {- return (t = Dxe(t)) in e ? Object.defineProperty(e, t, {- value: n,- enumerable: !0,- configurable: !0,- writable: !0- }) : e[t] = n, e;+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js+var Sz = Math.cos, Cz = Math.sin, wz = Math.sqrt, Tz = Math.PI;+Tz / 2;+var Ez = 2 * Tz, Dz = Math.PI, Oz = 2 * Dz, kz = 1e-6, pxe = Oz - kz;+function Az(e) {+ this._ += e[0];+ for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];}-function Dxe(e) {- var t = Oxe(e, "string");- return typeof t == "symbol" ? t : t + "";+function mxe(e) {+ let t = Math.floor(e);+ if (!(t >= 0)) throw Error(`invalid digits: ${e}`);+ if (t > 15) return Az;+ 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];+ };}-function Oxe(e, t) {- if (typeof e != "object" || !e) return e;- var n = e[Symbol.toPrimitive];- if (n !== void 0) {- var r = n.call(e, t || "default");- if (typeof r != "object") return r;- throw TypeError("@@toPrimitive must return a primitive value.");+var jz = class {+ constructor(e) {+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? Az : mxe(e);}- return (t === "string" ? String : Number)(e);-}-function vB(e, t) {- var n = Txe({}, 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 yB() {- return yB = 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]);+ moveTo(e, t) {+ this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;+ }+ closePath() {+ this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._append`Z`);+ }+ lineTo(e, t) {+ this._append`L${this._x1 = +e},${this._y1 = +t}`;+ }+ quadraticCurveTo(e, t, n, r) {+ this._append`Q${+e},${+t},${this._x1 = +n},${this._y1 = +r}`;+ }+ bezierCurveTo(e, t, n, r, i, a) {+ this._append`C${+e},${+t},${+n},${+r},${this._x1 = +i},${this._y1 = +a}`;+ }+ arcTo(e, t, n, r, i) {+ 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 > kz) {+ if (!(Math.abs(u * s - c * l) > kz) || !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((Dz - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > kz && 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}`;+ }}- return e;- }, yB.apply(null, arguments);-}-function bB(e, t) {- var n = Object.keys(e);- if (Object.getOwnPropertySymbols) {- var r = Object.getOwnPropertySymbols(e);- t && (r = r.filter(function(t) {- return Object.getOwnPropertyDescriptor(e, t).enumerable;- })), n.push.apply(n, r);}- return n;-}-function xB(e) {- for (var t = 1; t < arguments.length; t++) {- var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? bB(Object(n), !0).forEach(function(t) {- kxe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bB(Object(n)).forEach(function(t) {- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));- });+ 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) > kz || Math.abs(this._y1 - l) > kz) && this._append`L${c},${l}`, n && (d < 0 && (d = d % Oz + Oz), d > pxe ? 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 > kz && this._append`A${n},${n},0,${+(d >= Dz)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);}- return e;-}-function kxe(e, t, n) {- return (t = Axe(t)) in e ? Object.defineProperty(e, t, {- value: n,- enumerable: !0,- configurable: !0,- writable: !0- }) : e[t] = n, e;-}-function Axe(e) {- var t = jxe(e, "string");- return typeof t == "symbol" ? t : t + "";-}-function jxe(e, t) {- if (typeof e != "object" || !e) return e;- var n = e[Symbol.toPrimitive];- if (n !== void 0) {- var r = n.call(e, t || "default");- if (typeof r != "object") return r;- throw TypeError("@@toPrimitive must return a primitive value.");+ 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`;}- return (t === "string" ? String : Number)(e);-}-var SB = 32, Mxe = {- align: "center",- iconSize: 14,- inactiveColor: "#ccc",- layout: "horizontal",- verticalAlign: "middle",- labelStyle: {}-};-function Nxe(e) {- if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);-}-function Pxe(e) {- var { data: t, iconType: n, inactiveColor: r } = e, i = SB / 2, a = SB / 6, o = SB / 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: Nxe(t.payload),- x1: 0,- y1: i,- x2: SB,- y2: i,- className: "recharts-legend-icon"- });- if (c === "line") return /*#__PURE__*/ B.createElement("path", {- strokeWidth: 4,- fill: "none",- stroke: s,- d: `M0,${i}h${o}- A${a},${a},0,1,1,${2 * o},${i}- H${SB}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,${SB / 8}h${SB}v${SB * 3 / 4}h${-SB}z`,- className: "recharts-legend-icon"- });- if (/*#__PURE__*/ B.isValidElement(t.legendIcon)) {- var l = xB({}, t);- return delete l.legendIcon, /*#__PURE__*/ B.cloneElement(t.legendIcon, l);+ toString() {+ return this._;}- return /*#__PURE__*/ B.createElement(pB, {- fill: s,- cx: i,- cy: i,- size: SB,- sizeType: "diameter",- type: c- });-}-function Fxe(e) {- var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {- x: 0,- y: 0,- width: SB,- height: SB- }, l = {- display: r === "horizontal" ? "inline-block" : "block",- marginRight: 10- }, u = {- display: "inline-block",- verticalAlign: "middle",- marginRight: 4- };- return t.map((t, r) => {- var d = t.formatter || i, f = _h({- "recharts-legend-item": !0,- [`legend-item-${r}`]: !0,- inactive: t.inactive- });- if (t.type === "none") return null;- var p = typeof s == "object" ? xB({}, 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", yB({- className: f,- style: l,- key: `legend-item-${r}`- }, gB(e, t, r)), /*#__PURE__*/ B.createElement(KR, {- width: n,- height: n,- viewBox: c,- style: u,- "aria-label": `${m} legend icon`- }, /*#__PURE__*/ B.createElement(Pxe, {- data: t,- iconType: o,- inactiveColor: a- })), /*#__PURE__*/ B.createElement("span", {- className: "recharts-legend-item-text",- style: p- }, m));- });-}-var Ixe = (e) => {- var t = vB(e, Mxe), { payload: n, layout: r, align: i } = t;- if (!n || !n.length) return null;- var a = {- padding: 0,- margin: 0,- textAlign: r === "horizontal" ? i : "left"- };- return /*#__PURE__*/ B.createElement("ul", {- className: "recharts-default-legend",- style: a- }, /*#__PURE__*/ B.createElement(Fxe, yB({}, t, { payload: n })));};+jz.prototype;//#endregion-//#region node_modules/es-toolkit/dist/array/uniqBy.mjs-function Lxe(e, t) {- let n = /* @__PURE__ */ new Map();- for (let r = 0; r < e.length; r++) {- let i = e[r], a = t(i, r, e);- n.has(a) || n.set(a, i);- }- return Array.from(n.values());+//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js+function Mz(e) {+ let t = 3;+ return e.digits = function(n) {+ if (!arguments.length) return t;+ if (n == null) t = null;+ else {+ let e = Math.floor(n);+ if (!(e >= 0)) throw RangeError(`invalid digits: ${n}`);+ t = e;+ }+ return e;+ }, () => new jz(t);}-//#endregion-//#region node_modules/es-toolkit/dist/function/ary.mjs-function Rxe(e, t) {- return function(...n) {- return e.apply(this, n.slice(0, t));- };+Array.prototype.slice;+function Nz(e) {+ return typeof e == "object" && "length" in e ? e : Array.from(e);}//#endregion-//#region node_modules/es-toolkit/dist/function/identity.mjs-function CB(e) {- return e;+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js+function Pz(e) {+ this._context = e;}-//#endregion-//#region node_modules/es-toolkit/dist/predicate/isLength.mjs-function zxe(e) {- return Number.isSafeInteger(e) && e >= 0;+Pz.prototype = {+ areaStart: function() {+ this._line = 0;+ },+ areaEnd: function() {+ this._line = NaN;+ },+ lineStart: function() {+ this._point = 0;+ },+ lineEnd: function() {+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;+ },+ point: function(e, t) {+ switch (e = +e, t = +t, this._point) {+ case 0:+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);+ break;+ case 1: this._point = 2;+ default: this._context.lineTo(e, t);+ }+ }+};+function Fz(e) {+ return new Pz(e);}//#endregion-//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs-function wB(e) {- return e != null && typeof e != "function" && zxe(e.length);+//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js+function Iz(e) {+ return e[0];}-//#endregion-//#region node_modules/es-toolkit/dist/compat/object/property.mjs-function Bxe(e) {- return function(t) {- return qz(t, e);- };+function Lz(e) {+ return e[1];}//#endregion-//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs-function TB(e) {- return e == null || typeof e != "object" && typeof e != "function";-}-//#endregion-//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs-function Vxe(e) {- return ArrayBuffer.isView(e) && !(e instanceof DataView);-}-//#endregion-//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs-function Hxe(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 EB(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 Uxe = "[object RegExp]", DB = "[object String]", OB = "[object Number]", kB = "[object Boolean]", AB = "[object Arguments]", Wxe = "[object Symbol]", Gxe = "[object Date]", Kxe = "[object Map]", qxe = "[object Set]", Jxe = "[object Array]", Yxe = "[object ArrayBuffer]", Xxe = "[object Object]", Zxe = "[object DataView]", Qxe = "[object Uint8Array]", $xe = "[object Uint8ClampedArray]", eSe = "[object Uint16Array]", tSe = "[object Uint32Array]", nSe = "[object Int8Array]", rSe = "[object Int16Array]", iSe = "[object Int32Array]", aSe = "[object Float32Array]", oSe = "[object Float64Array]", jB = 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 sSe(e) {- return jB.Buffer !== void 0 && jB.Buffer.isBuffer(e);+//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js+function Rz(e, t) {+ var n = xz(!0), r = null, i = Fz, a = null, o = Mz(s);+ e = typeof e == "function" ? e : e === void 0 ? Iz : xz(e), t = typeof t == "function" ? t : t === void 0 ? Lz : xz(t);+ function s(s) {+ var c, l = (s = Nz(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 : xz(+t), s) : e;+ }, s.y = function(e) {+ return arguments.length ? (t = typeof e == "function" ? e : xz(+e), s) : t;+ }, s.defined = function(e) {+ return arguments.length ? (n = typeof e == "function" ? e : xz(!!e), s) : n;+ }, s.curve = function(e) {+ return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;+ }, s.context = function(e) {+ return arguments.length ? (e == null ? r = a = null : a = i(r = e), s) : r;+ }, s;}//#endregion-//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs-function cSe(e, t) {- return MB(e, void 0, e, /* @__PURE__ */ new Map(), t);-}-function MB(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {- let a = i?.(e, t, n, r);- if (a !== void 0) return a;- if (TB(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] = MB(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());- if (e instanceof RegExp) {- let t = new RegExp(e.source, e.flags);- return t.lastIndex = e.lastIndex, t;- }- if (e instanceof Map) {- let t = /* @__PURE__ */ new Map();- r.set(e, t);- for (let [a, o] of e) t.set(a, MB(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(MB(a, void 0, n, r, i));- return t;- }- if (sSe(e)) return e.subarray();- if (Vxe(e)) {- let t = new (Object.getPrototypeOf(e)).constructor(e.length);- r.set(e, t);- for (let a = 0; a < e.length; a++) t[a] = MB(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), NB(t, e, n, r, i), t;+//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js+function zz(e, t, n) {+ var r = null, i = xz(!0), a = null, o = Fz, s = null, c = Mz(l);+ e = typeof e == "function" ? e : e === void 0 ? Iz : xz(+e), t = typeof t == "function" ? t : xz(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? Lz : xz(+n);+ function l(l) {+ var u, d, f, p = (l = Nz(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();+ else {+ for (s.lineEnd(), s.lineStart(), f = u - 1; f >= d; --f) s.point(_[f], v[f]);+ s.lineEnd(), s.areaEnd();+ }+ }+ h && (_[u] = +e(m, u, l), v[u] = +t(m, u, l), s.point(r ? +r(m, u, l) : _[u], n ? +n(m, u, l) : v[u]));+ }+ if (g) return s = null, g + "" || null;}- if (typeof File < "u" && e instanceof File) {- let t = new File([e], e.name, { type: e.type });- return r.set(e, t), NB(t, e, n, r, i), t;+ function u() {+ return Rz().defined(i).curve(o).context(a);}- if (typeof Blob < "u" && e instanceof Blob) {- let t = new Blob([e], { type: e.type });- return r.set(e, t), NB(t, e, n, r, i), t;+ return l.x = function(t) {+ return arguments.length ? (e = typeof t == "function" ? t : xz(+t), r = null, l) : e;+ }, l.x0 = function(t) {+ return arguments.length ? (e = typeof t == "function" ? t : xz(+t), l) : e;+ }, l.x1 = function(e) {+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : xz(+e), l) : r;+ }, l.y = function(e) {+ return arguments.length ? (t = typeof e == "function" ? e : xz(+e), n = null, l) : t;+ }, l.y0 = function(e) {+ return arguments.length ? (t = typeof e == "function" ? e : xz(+e), l) : t;+ }, l.y1 = function(e) {+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : xz(+e), l) : n;+ }, l.lineX0 = l.lineY0 = function() {+ return u().x(e).y(t);+ }, l.lineY1 = function() {+ return u().x(e).y(n);+ }, l.lineX1 = function() {+ return u().x(r).y(t);+ }, l.defined = function(e) {+ return arguments.length ? (i = typeof e == "function" ? e : xz(!!e), l) : i;+ }, l.curve = function(e) {+ return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;+ }, l.context = function(e) {+ return arguments.length ? (e == null ? a = s = null : s = o(a = e), l) : a;+ }, l;+}+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js+var Bz = class {+ constructor(e, t) {+ this._context = e, this._x = 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, NB(t, e, n, r, i), t;+ areaStart() {+ this._line = 0;}- if (e instanceof Boolean) {- let t = new Boolean(e.valueOf());- return r.set(e, t), NB(t, e, n, r, i), t;+ areaEnd() {+ this._line = NaN;}- if (e instanceof Number) {- let t = new Number(e.valueOf());- return r.set(e, t), NB(t, e, n, r, i), t;+ lineStart() {+ this._point = 0;}- if (e instanceof String) {- let t = new String(e.valueOf());- return r.set(e, t), NB(t, e, n, r, i), t;+ lineEnd() {+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;}- if (typeof e == "object" && lSe(e)) {- let t = Object.create(Object.getPrototypeOf(e));- return r.set(e, t), NB(t, e, n, r, i), t;+ point(e, t) {+ switch (e = +e, t = +t, this._point) {+ case 0:+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);+ break;+ case 1: this._point = 2;+ default: this._x ? this._context.bezierCurveTo(this._x0 = (this._x0 + e) / 2, this._y0, this._x0, t, e, t) : this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + t) / 2, e, this._y0, e, t);+ }+ this._x0 = e, this._y0 = t;}- return e;+};+function hxe(e) {+ return new Bz(e, !0);}-function NB(e, t, n = e, r, i) {- let a = [...Object.keys(t), ...Hxe(t)];- for (let o = 0; o < a.length; o++) {- let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);- (c == null || c.writable) && (e[s] = MB(t[s], s, n, r, i));- }+function gxe(e) {+ return new Bz(e, !1);}-function lSe(e) {- switch (EB(e)) {- case AB:- case Jxe:- case Yxe:- case Zxe:- case kB:- case Gxe:- case aSe:- case oSe:- case nSe:- case rSe:- case iSe:- case Kxe:- case OB:- case Xxe:- case Uxe:- case qxe:- case DB:- case Wxe:- case Qxe:- case $xe:- case eSe:- case tSe: return !0;- default: return !1;+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js+var Vz = { draw(e, t) {+ let n = wz(t / Tz);+ e.moveTo(n, 0), e.arc(0, 0, n, 0, Ez);+} }, _xe = { draw(e, t) {+ let n = wz(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();+} }, Hz = wz(1 / 3), vxe = Hz * 2, yxe = { draw(e, t) {+ let n = wz(t / vxe), r = n * Hz;+ e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();+} }, bxe = { draw(e, t) {+ let n = wz(t), r = -n / 2;+ e.rect(r, r, n, n);+} }, xxe = .8908130915292852, Uz = Cz(Tz / 10) / Cz(7 * Tz / 10), Sxe = Cz(Ez / 10) * Uz, Cxe = -Sz(Ez / 10) * Uz, wxe = { draw(e, t) {+ let n = wz(t * xxe), r = Sxe * n, i = Cxe * n;+ e.moveTo(0, -n), e.lineTo(r, i);+ for (let t = 1; t < 5; ++t) {+ let a = Ez * t / 5, o = Sz(a), s = Cz(a);+ e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);}-}+ e.closePath();+} }, Wz = wz(3), Txe = { draw(e, t) {+ let n = -wz(t / (Wz * 3));+ e.moveTo(0, n * 2), e.lineTo(-Wz * n, -n), e.lineTo(Wz * n, -n), e.closePath();+} }, Gz = -.5, Kz = wz(3) / 2, qz = 1 / wz(12), Exe = (qz / 2 + 1) * 3, Dxe = { draw(e, t) {+ let n = wz(t / Exe), r = n / 2, i = n * qz, a = r, o = n * qz + n, s = -a, c = o;+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(Gz * r - Kz * i, Kz * r + Gz * i), e.lineTo(Gz * a - Kz * o, Kz * a + Gz * o), e.lineTo(Gz * s - Kz * c, Kz * s + Gz * c), e.lineTo(Gz * r + Kz * i, Gz * i - Kz * r), e.lineTo(Gz * a + Kz * o, Gz * o - Kz * a), e.lineTo(Gz * s + Kz * c, Gz * c - Kz * s), e.closePath();+} };//#endregion-//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs-function uSe(e) {- return MB(e, void 0, e, /* @__PURE__ */ new Map(), void 0);+//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js+function Oxe(e, t) {+ let n = null, r = Mz(i);+ e = typeof e == "function" ? e : xz(e || Vz), t = typeof t == "function" ? t : xz(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 : xz(t), i) : e;+ }, i.size = function(e) {+ return arguments.length ? (t = typeof e == "function" ? e : xz(+e), i) : t;+ }, i.context = function(e) {+ return arguments.length ? (n = e ?? null, i) : n;+ }, i;}//#endregion-//#region node_modules/es-toolkit/dist/compat/util/eq.mjs-function PB(e, t) {- return e === t || Number.isNaN(e) && Number.isNaN(t);-}+//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js+function Jz() {}//#endregion-//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs-function FB(e) {- return e !== null && (typeof e == "object" || typeof e == "function");+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js+function Yz(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);}-//#endregion-//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs-function IB(e, t, n) {- return typeof n == "function" ? LB(e, t, function e(t, r, i, a, o, s) {- let c = n(t, r, i, a, o, s);- return c === void 0 ? LB(t, r, e, s, !1) : !!c;- }, /* @__PURE__ */ new Map(), !0) : IB(e, t, () => void 0);+function Xz(e) {+ this._context = e;}-function LB(e, t, n, r, i = !1) {- if (t === e) return !0;- switch (typeof t) {- case "object": return dSe(e, t, n, r, i);- case "function": return Object.keys(t).length > 0 ? LB(e, { ...t }, n, r, i) : PB(e, t);- default: return FB(e) && i ? typeof t != "string" || t === "" : PB(e, t);+Xz.prototype = {+ areaStart: function() {+ this._line = 0;+ },+ areaEnd: function() {+ this._line = NaN;+ },+ lineStart: function() {+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;+ },+ lineEnd: function() {+ switch (this._point) {+ case 3: Yz(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;+ },+ point: function(e, t) {+ switch (e = +e, t = +t, this._point) {+ case 0:+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);+ break;+ case 1:+ 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: Yz(this, e, t);+ }+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}+};+function kxe(e) {+ return new Xz(e);}-function dSe(e, t, n, r, i = !1) {- if (t == null) return !0;- if (Array.isArray(t)) return RB(e, t, n, r);- if (t instanceof Map) return fSe(e, t, n, r);- if (t instanceof Set) return pSe(e, t, n, r);- let a = Object.keys(t);- if (e == null) return i && a.length === 0;- if (i) TB(e) && (e = Object(e));- else {- let t = EB(e);- if (t !== "[object Object]" && t !== "[object Arguments]") return !1;- }- if (a.length === 0) return !0;- if (r?.has(t)) return r.get(t) === e;- r?.set(t, e);- try {- for (let i = 0; i < a.length; i++) {- let o = a[i];- if (!(o in e) || t[o] === void 0 && e[o] !== void 0 || t[o] === null && e[o] !== null || !n(e[o], t[o], o, e, t, r)) return !1;+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js+function Zz(e) {+ this._context = e;+}+Zz.prototype = {+ areaStart: Jz,+ areaEnd: Jz,+ 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;+ },+ lineEnd: function() {+ switch (this._point) {+ case 1:+ this._context.moveTo(this._x2, this._y2), this._context.closePath();+ break;+ case 2:+ this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath();+ break;+ case 3: this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);}- return !0;- } finally {- r?.delete(t);+ },+ point: function(e, t) {+ switch (e = +e, t = +t, this._point) {+ case 0:+ this._point = 1, this._x2 = e, this._y2 = t;+ break;+ case 1:+ this._point = 2, this._x3 = e, this._y3 = t;+ break;+ 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: Yz(this, e, t);+ }+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}+};+function Axe(e) {+ return new Zz(e);}-function fSe(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;+//#endregion+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js+function Qz(e) {+ this._context = e;}-function RB(e, t, n, r) {- if (t.length === 0) return !0;- if (!Array.isArray(e)) return !1;- let i = /* @__PURE__ */ new Set();- for (let a = 0; a < t.length; a++) {- let o = t[a], s = !1;- for (let c = 0; c < e.length; c++) {- if (i.has(c)) continue;- let l = e[c], u = !1;- if (n(l, o, a, e, t, r) && (u = !0), u) {- i.add(c), s = !0;+Qz.prototype = {+ areaStart: function() {+ this._line = 0;+ },+ areaEnd: function() {+ this._line = NaN;+ },+ lineStart: function() {+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;+ },+ lineEnd: function() {+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;+ },+ point: function(e, t) {+ switch (e = +e, t = +t, this._point) {+ case 0:+ this._point = 1;break;- }+ case 1:+ this._point = 2;+ break;+ case 2:+ this._point = 3;+ var n = (this._x0 + 4 * this._x1 + e) / 6, r = (this._y0 + 4 * this._y1 + t) / 6;+ this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);+ break;+ case 3: this._point = 4;+ default: Yz(this, e, t);}- if (!s) return !1;+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;}- return !0;-}-function pSe(e, t, n, r) {- return t.size === 0 || e instanceof Set && RB([...e], [...t], n, r);+};+function jxe(e) {+ return new Qz(e);}//#endregion-//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs-function zB(e, t) {- return IB(e, t, () => void 0);+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js+function $z(e) {+ this._context = e;}-//#endregion-//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs-function mSe(e) {- return e = uSe(e), (t) => zB(t, e);+$z.prototype = {+ areaStart: Jz,+ areaEnd: Jz,+ lineStart: function() {+ this._point = 0;+ },+ lineEnd: function() {+ this._point && this._context.closePath();+ },+ point: function(e, t) {+ e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));+ }+};+function Mxe(e) {+ return new $z(e);}//#endregion-//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs-function hSe(e, t) {- return cSe(e, (n, r, i, a) => {- let o = t?.(n, r, i, a);- if (o !== void 0) return o;- if (typeof e == "object") {- if (EB(e) === "[object Object]" && typeof e.constructor != "function") {- let t = {};- return a.set(e, t), NB(t, e, i, a), t;- }- switch (Object.prototype.toString.call(e)) {- case OB:- case DB:- case kB: {- let t = new e.constructor(e?.valueOf());- return NB(t, e), t;- }- case AB: {- let t = {};- return NB(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;- }- default: return;+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js+function eB(e) {+ return e < 0 ? -1 : 1;+}+function tB(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 (eB(a) + eB(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;+}+function nB(e, t) {+ var n = e._x1 - e._x0;+ return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;+}+function rB(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 iB(e) {+ this._context = e;+}+iB.prototype = {+ areaStart: function() {+ this._line = 0;+ },+ areaEnd: function() {+ this._line = NaN;+ },+ lineStart: function() {+ this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;+ },+ lineEnd: function() {+ switch (this._point) {+ case 2:+ this._context.lineTo(this._x1, this._y1);+ break;+ case 3: rB(this, this._t0, nB(this, this._t0));+ }+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;+ },+ point: function(e, t) {+ var n = NaN;+ if (e = +e, t = +t, e !== this._x1 || t !== this._y1) {+ switch (this._point) {+ case 0:+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);+ break;+ case 1:+ this._point = 2;+ break;+ case 2:+ this._point = 3, rB(this, nB(this, n = tB(this, e, t)), n);+ break;+ default: rB(this, this._t0, n = tB(this, e, t));}+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;}- });+ }+};+function aB(e) {+ this._context = new oB(e);}-//#endregion-//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs-function gSe(e) {- return hSe(e);+(aB.prototype = Object.create(iB.prototype)).point = function(e, t) {+ iB.prototype.point.call(this, t, e);+};+function oB(e) {+ this._context = e;}-//#endregion-//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs-var _Se = /^(?:0|[1-9]\d*)$/;-function BB(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 _Se.test(e);+oB.prototype = {+ moveTo: function(e, t) {+ this._context.moveTo(t, e);+ },+ closePath: function() {+ this._context.closePath();+ },+ lineTo: function(e, t) {+ this._context.lineTo(t, e);+ },+ bezierCurveTo: function(e, t, n, r, i, a) {+ this._context.bezierCurveTo(t, e, r, n, a, i);}+};+function Nxe(e) {+ return new iB(e);}-//#endregion-//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs-function vSe(e) {- return typeof e == "object" && !!e && EB(e) === "[object Arguments]";+function Pxe(e) {+ return new aB(e);}//#endregion-//#region node_modules/es-toolkit/dist/compat/object/has.mjs-function ySe(e, t) {- let n;- if (n = Array.isArray(t) ? t : typeof t == "string" && Hz(t) && !(t in Object(e)) ? Kz(t) : [t], n.length === 0) return !1;- let r = e;- for (let e = 0; e < n.length; e++) {- let t = Uz(n[e]);- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || vSe(r)) && BB(t) && Number(t) < r.length)) return !1;- r = r[t];- }- return !0;+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js+function sB(e) {+ this._context = e;}-//#endregion-//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs-function bSe(e, t) {- switch (typeof e) {- case "object":- Object.is(e?.valueOf(), -0) && (e = "-0");- break;- case "number": e = Uz(e);+sB.prototype = {+ areaStart: function() {+ this._line = 0;+ },+ areaEnd: function() {+ this._line = NaN;+ },+ lineStart: function() {+ this._x = [], this._y = [];+ },+ lineEnd: function() {+ 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 = cB(e), i = cB(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;+ },+ point: function(e, t) {+ this._x.push(+e), this._y.push(+t);}- return t = gSe(t), function(n) {- let r = qz(n, e);- return r === void 0 ? ySe(n, e) : t === void 0 ? r === void 0 : zB(r, t);- };+};+function cB(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];+ for (i[n - 1] = o[n - 1] / a[n - 1], t = n - 2; t >= 0; --t) i[t] = (o[t] - i[t + 1]) / a[t];+ 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 Fxe(e) {+ return new sB(e);}//#endregion-//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs-function VB(e) {- if (e == null) return CB;- switch (typeof e) {- case "function": return e;- case "object": return Array.isArray(e) && e.length === 2 ? bSe(e[0], e[1]) : mSe(e);- default: return Bxe(e);+//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js+function lB(e, t) {+ this._context = e, this._t = t;+}+lB.prototype = {+ areaStart: function() {+ this._line = 0;+ },+ areaEnd: function() {+ this._line = NaN;+ },+ lineStart: function() {+ this._x = this._y = NaN, this._point = 0;+ },+ lineEnd: function() {+ 0 < this._t && this._t < 1 && this._point === 2 && this._context.lineTo(this._x, this._y), (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line >= 0 && (this._t = 1 - this._t, this._line = 1 - this._line);+ },+ point: function(e, t) {+ switch (e = +e, t = +t, this._point) {+ case 0:+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);+ break;+ case 1: this._point = 2;+ default: if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);+ else {+ var n = this._x * (1 - this._t) + e * this._t;+ this._context.lineTo(n, this._y), this._context.lineTo(n, t);+ }+ }+ this._x = e, this._y = t;}+};+function Ixe(e) {+ return new lB(e, .5);}-//#endregion-//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs-function xSe(e) {- return e === 0 ? 0 : e;+function Lxe(e) {+ return new lB(e, 0);+}+function Rxe(e) {+ return new lB(e, 1);}//#endregion-//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs-function HB(e, t = CB) {- return wB(e) ? Lxe(Array.from(e), Rxe(VB(t), 1)).map(xSe) : [];+//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js+function uB(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/recharts/es6/util/payload/getUniqPayload.js-function UB(e, t, n) {- return t === !0 ? HB(e, n) : typeof t == "function" ? HB(e, t) : e;+//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js+function dB(e) {+ for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;+ return n;}//#endregion-//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var SSe = /* @__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;+//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js+function zxe(e, t) {+ return e[t];+}+function Bxe(e) {+ let t = [];+ return t.key = e, t;+}+function Vxe() {+ var e = xz([]), t = dB, n = uB, r = zxe;+ function i(i) {+ var a = Array.from(e.apply(this, arguments), Bxe), 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 = Nz(t(a)); o < s; ++o) a[l[o]].index = o;+ return n(a, l), a;}- var i = typeof Object.is == "function" ? Object.is : r, a = n.useSyncExternalStore, o = t.useRef, s = t.useEffect, c = t.useMemo, l = t.useDebugValue;- e.useSyncExternalStoreWithSelector = function(e, t, n, r, u) {- var d = o(null);- if (d.current === null) {- var f = {- hasValue: !1,- value: null- };- d.current = f;- } else f = d.current;- d = c(function() {- function e(e) {- if (!a) {- if (a = !0, o = e, e = r(e), u !== void 0 && f.hasValue) {- var t = f.value;- if (u(t, e)) return s = t;- }- return s = e;- }- if (t = s, i(o, e)) return t;- var n = r(e);- return u !== void 0 && u(t, n) ? (o = e, t) : (o = e, s = n);- }- var a = !1, o, s, c = n === void 0 ? null : n;- return [function() {- return e(t());- }, c === null ? void 0 : function() {- return e(c());- }];- }, [- t,- n,- r,- u- ]);- var p = a(e, d[0], d[1]);- return s(function() {- f.hasValue = !0, f.value = p;- }, [p]), l(p), p;- };-})), CSe = /* @__PURE__ */ xt(((e, t) => {- t.exports = SSe();-})), WB = /*#__PURE__*/ (0, B.createContext)(null), wSe = CSe(), TSe = (e) => e, GB = () => {- var e = (0, B.useContext)(WB);- return e ? e.store.dispatch : TSe;-}, KB = () => {}, ESe = () => KB, DSe = (e, t) => e === t;-function Q(e) {- var t = (0, B.useContext)(WB), n = (0, B.useMemo)(() => t ? (t) => {- if (t != null) return e(t);- } : KB, [t, e]);- return (0, wSe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : ESe, t ? t.store.getState : KB, t ? t.store.getState : KB, n, DSe);+ return i.keys = function(t) {+ return arguments.length ? (e = typeof t == "function" ? t : xz(Array.from(t)), i) : e;+ }, i.value = function(e) {+ return arguments.length ? (r = typeof e == "function" ? e : xz(+e), i) : r;+ }, i.order = function(e) {+ return arguments.length ? (t = e == null ? dB : typeof e == "function" ? e : xz(Array.from(e)), i) : t;+ }, i.offset = function(e) {+ return arguments.length ? (n = e ?? uB, i) : n;+ }, i;}//#endregion-//#region node_modules/reselect/dist/reselect.mjs-function OSe(e, t = `expected a function, instead received ${typeof e}`) {- if (typeof e != "function") throw TypeError(t);-}-function kSe(e, t = `expected an object, instead received ${typeof e}`) {- if (typeof e != "object") throw TypeError(t);-}-function ASe(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 qB = (e) => Array.isArray(e) ? e : [e];-function jSe(e) {- let t = Array.isArray(e[0]) ? e[0] : e;- return ASe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;-}-function MSe(e, t) {- let n = [], { length: r } = e;- for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));- return n;-}-var NSe = class {- constructor(e) {- this.value = e;- }- deref() {- return this.value;- }-}, PSe = typeof WeakRef < "u" ? WeakRef : NSe, FSe = 0, JB = 1;-function YB() {- return {- s: FSe,- v: void 0,- o: null,- p: null- };-}-function XB(e, t = {}) {- let n = YB(), { resultEqualityCheck: r } = t, i, a = 0;- function o() {- let t = n, { length: o } = arguments;- for (let e = 0, n = o; e < n; e++) {- let n = arguments[e];- if (typeof n == "function" || typeof n == "object" && n) {- let e = t.o;- e === null && (t.o = e = /* @__PURE__ */ new WeakMap());- let r = e.get(n);- r === void 0 ? (t = YB(), 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 = YB(), e.set(n, t)) : t = r;- }- }- let s = t, c;- if (t.s === JB) 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 PSe(c) : c;+//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js+function Hxe(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;}- return s.s = JB, s.v = c, c;+ uB(e, t);}- return o.clearCache = () => {- n = YB(), o.resetResultsCount();- }, o.resultsCount = () => a, o.resetResultsCount = () => {- a = 0;- }, o;}-function ISe(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()), OSe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = XB, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {- ...n,- ...a- }, f = qB(c), p = qB(u), m = jSe(e), h = s(function() {- return t++, o.apply(null, arguments);- }, ...f), g = l(function() {- r++;- let e = MSe(m, arguments);- return i = h.apply(null, e), i;- }, ...p);- return Object.assign(g, {- resultFunc: o,- memoizedResultFunc: h,- dependencies: m,- dependencyRecomputations: () => r,- resetDependencyRecomputations: () => {- r = 0;- },- lastResult: () => i,- recomputations: () => t,- resetRecomputations: () => {- t = 0;- },- memoize: s,- argsMemoize: l- });- };- return Object.assign(r, { withTypes: () => r }), r;-}-var $ = /* @__PURE__ */ ISe(XB), LSe = Object.assign((e, t = $) => {- kSe(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: () => LSe });//#endregion-//#region node_modules/es-toolkit/dist/array/flatten.mjs-function RSe(e, t = 1) {- let n = [], r = Math.floor(t), i = (e, t) => {- for (let a = 0; a < e.length; a++) {- let o = e[a];- Array.isArray(o) && t < r ? i(o, t + 1) : n.push(o);+//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js+function Uxe(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;}- };- return i(e, 0), n;-}-//#endregion-//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs-function ZB(e, t, n) {- return FB(n) && (typeof t == "number" && wB(n) && BB(t) && t < n.length || typeof t == "string" && t in n) ? PB(n[t], e) : !1;+ uB(e, t);+ }}//#endregion-//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs-function QB(e) {- return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;-}-var zSe = (e, t, n) => {- if (e !== t) {- let r = QB(e), i = QB(t);- if (r === i && r === 0) {- if (e < t) return n === "desc" ? 1 : -1;- if (e > t) return n === "desc" ? -1 : 1;+//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js+function Wxe(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) {+ for (var u = e[t[s]], d = u[r][1] || 0, f = (d - (u[r - 1][1] || 0)) / 2, p = 0; p < s; ++p) {+ var m = e[t[p]], h = m[r][1] || 0, g = m[r - 1][1] || 0;+ f += h - g;+ }+ c += d, l += f * d;+ }+ i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);}- return n === "desc" ? i - r : r - i;+ i[r - 1][1] += i[r - 1][0] = n, uB(e, t);}- return 0;-}, BSe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, VSe = /^\w*$/;-function HSe(e, t) {- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || Wz(e) ? !0 : typeof e == "string" && (VSe.test(e) || !BSe.test(e)) || t != null && Object.hasOwn(t, e);}//#endregion-//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs-function USe(e, t, n, r) {- if (e == null) return [];- n = r ? void 0 : n, Array.isArray(e) || (e = wB(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]];- return r > 0 && r === t.length ? n : void 0;- }, 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) || HSe(e) ? e : {- key: e,- path: Kz(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 = zSe(e.criteria[r], t.criteria[r], n[r]);- if (i !== 0) return i;- }- return 0;- }).map((e) => e.original);+//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs+function fB(e) {+ return e === "__proto__";}//#endregion-//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs-function $B(e, ...t) {- let n = t.length;- return n > 1 && ZB(e, t[0], t[1]) ? t = [] : n > 2 && ZB(t[0], t[1], t[2]) && (t = [t[0]]), USe(e, RSe(t), ["asc"]);+//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs+var Gxe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;+function pB(e) {+ switch (typeof e) {+ case "number":+ case "symbol": return !1;+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : Gxe.test(e);+ default: return !1;+ }}//#endregion-//#region node_modules/recharts/es6/state/selectors/legendSelectors.js-var eV = (e) => e.legend.settings, WSe = (e) => e.legend.size, GSe = $([(e) => e.legend.payload, eV], (e, t) => {- var { itemSorter: n } = t, r = e.flat(1);- return n ? $B(r, n) : r;-});-//#endregion-//#region node_modules/recharts/es6/context/legendPayloadContext.js-function KSe() {- return Q(GSe);+//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs+function mB(e) {+ return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);}//#endregion-//#region node_modules/recharts/es6/util/useElementOffset.js-var tV = 1;-function nV() {- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, B.useState)({- height: 0,- left: 0,- top: 0,- width: 0- });- return [t, (0, B.useCallback)((e) => {- if (e != null) {- var r = e.getBoundingClientRect(), i = {- height: r.height,- left: r.left,- top: r.top,- width: r.width- };- (Math.abs(i.height - t.height) > tV || Math.abs(i.left - t.left) > tV || Math.abs(i.top - t.top) > tV || Math.abs(i.width - t.width) > tV) && n({- height: i.height,- left: i.left,- top: i.top,- width: i.width- });- }- }, [- t.width,- t.height,- t.top,- t.left,- ...e- ])];+//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs+function hB(e) {+ return typeof e == "symbol" || e instanceof Symbol;}//#endregion-//#region node_modules/redux/dist/redux.mjs-function rV(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. `;+//#region node_modules/es-toolkit/dist/compat/util/toString.mjs+function Kxe(e) {+ return e == null ? "" : gB(e);}-var iV = typeof Symbol == "function" && Symbol.observable || "@@observable", aV = () => Math.random().toString(36).substring(7).split("").join("."), oV = {- INIT: `@@redux/INIT${/* @__PURE__ */ aV()}`,- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ aV()}`,- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${aV()}`-};-function sV(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 gB(e) {+ if (typeof e == "string") return e;+ if (Array.isArray(e)) return e.map(gB).join(",");+ if (hB(e)) return e.toString();+ let t = e + "";+ return t === "0" && Object.is(Number(e), -0) ? "-0" : t;}-function cV(e, t, n) {- if (typeof e != "function") throw Error(rV(2));- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(rV(0));- if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {- if (typeof n != "function") throw Error(rV(1));- return n(cV)(e, t);- }- let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;- function l() {- o === a && (o = /* @__PURE__ */ new Map(), a.forEach((e, t) => {- o.set(t, e);- }));- }- function u() {- if (c) throw Error(rV(3));- return i;- }- function d(e) {- if (typeof e != "function") throw Error(rV(4));- if (c) throw Error(rV(5));- let t = !0;- l();- let n = s++;- return o.set(n, e), function() {- if (t) {- if (c) throw Error(rV(6));- t = !1, l(), o.delete(n), a = null;- }- };+//#endregion+//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs+function _B(e) {+ if (Array.isArray(e)) return e.map(mB);+ if (typeof e == "symbol") return [e];+ e = Kxe(e);+ let t = [], n = e.length;+ if (n === 0) return t;+ let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;+ for (e.charCodeAt(0) === 46 && t.push(""); r < n;) {+ let l = e[r];+ if (a) l === "\\" && r + 1 < n ? (r++, i += e[r]) : l === a ? a = "" : i += l;+ else if (o) {+ if (l === "\"" || l === "'") a = l, s = !0;+ else if (l === "]") {+ if (o = !1, !s && i.includes(".") && !c.test(i)) {+ let e = i.split(".");+ for (let n = 0; n < e.length; n++) e[n] !== "" && t.push(e[n]);+ } else t.push(i);+ i = "";+ } else i += l;+ } else if (l === "[") o = !0, s = !1, i &&= (t.push(i), "");+ else if (l === ".") {+ i &&= (t.push(i), "");+ let n = e[r + 1];+ (n === void 0 || n === ".") && t.push("");+ } else i += l;+ r++;}- function f(e) {- if (!sV(e)) throw Error(rV(7));- if (e.type === void 0) throw Error(rV(8));- if (typeof e.type != "string") throw Error(rV(17));- if (c) throw Error(rV(9));- try {- c = !0, i = r(i, e);- } finally {- c = !1;+ return i && t.push(i), t;+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/object/get.mjs+function vB(e, t, n) {+ if (e == null) return n;+ switch (typeof t) {+ case "string": {+ if (fB(t)) return n;+ let r = e[t];+ return r === void 0 ? pB(t) && !Object.hasOwn(e, t) ? vB(e, _B(t), n) : n : r;+ }+ case "number":+ case "symbol": {+ typeof t == "number" && (t = mB(t));+ let r = e[t];+ return r === void 0 ? n : r;+ }+ default: {+ if (Array.isArray(t)) return qxe(e, t, n);+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), fB(t)) return n;+ let r = e[t];+ return r === void 0 ? n : r;}- return (a = o).forEach((e) => {- e();- }), e;- }- function p(e) {- if (typeof e != "function") throw Error(rV(10));- r = e, f({ type: oV.REPLACE });- }- function m() {- let e = d;- return {- subscribe(t) {- if (typeof t != "object" || !t) throw Error(rV(11));- function n() {- let e = t;- e.next && e.next(u());- }- return n(), { unsubscribe: e(n) };- },- [iV]() {- return this;- }- };}- return f({ type: oV.INIT }), {- dispatch: f,- subscribe: d,- getState: u,- replaceReducer: p,- [iV]: m- };-}-function qSe(e) {- Object.keys(e).forEach((t) => {- let n = e[t];- if (n(void 0, { type: oV.INIT }) === void 0) throw Error(rV(12));- if (n(void 0, { type: oV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(rV(13));- });}-function lV(e) {- let t = Object.keys(e), n = {};- for (let r = 0; r < t.length; r++) {- let i = t[r];- typeof e[i] == "function" && (n[i] = e[i]);- }- let r = Object.keys(n), i;- try {- qSe(n);- } catch (e) {- i = e;+function qxe(e, t, n) {+ if (t.length === 0) return n;+ let r = e;+ for (let e = 0; e < t.length; e++) {+ if (r == null || fB(t[e])) return n;+ r = r[t[e]];}- return function(e = {}, t) {- if (i) throw i;- 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(rV(14));- o[s] = u, a ||= u !== l;- }- return a ||= r.length !== Object.keys(e).length, a ? o : e;- };-}-function uV(...e) {- return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));-}-function JSe(...e) {- return (t) => (n, r) => {- let i = t(n, r), a = () => {- throw Error(rV(15));- }, o = {- getState: i.getState,- dispatch: (e, ...t) => a(e, ...t)- };- return a = uV(...e.map((e) => e(o)))(i.dispatch), {- ...i,- dispatch: a- };- };-}-function dV(e) {- return sV(e) && "type" in e && typeof e.type == "string";+ return r === void 0 ? n : r;}//#endregion-//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs-var fV = Symbol.for("immer-nothing"), pV = Symbol.for("immer-draftable"), mV = Symbol.for("immer-state");-function hV(e, ...t) {- throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);-}-var gV = Object, _V = gV.getPrototypeOf, vV = "constructor", yV = "prototype", bV = "configurable", xV = "enumerable", SV = "writable", CV = "value", wV = (e) => !!e && !!e[mV];-function TV(e) {- return e ? DV(e) || NV(e) || !!e[pV] || !!e[vV]?.[pV] || PV(e) || FV(e) : !1;-}-var YSe = gV[yV][vV].toString(), EV = /* @__PURE__ */ new WeakMap();-function DV(e) {- if (!e || !IV(e)) return !1;- let t = _V(e);- if (t === null || t === gV[yV]) return !0;- let n = gV.hasOwnProperty.call(t, vV) && t[vV];- if (n === Object) return !0;- if (!LV(n)) return !1;- let r = EV.get(n);- return r === void 0 && (r = Function.toString.call(n), EV.set(n, r)), r === YSe;-}-function OV(e, t, n = !0) {- kV(e) === 0 ? (n ? Reflect.ownKeys(e) : gV.keys(e)).forEach((n) => {- t(n, e[n], e);- }) : e.forEach((n, r) => t(r, n, e));+//#region node_modules/recharts/es6/util/round.js+var Jxe = 4;+function yB(e) {+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Jxe), n = Math.round(e * t) / t;+ return Object.is(n, -0) ? 0 : n;}-function kV(e) {- let t = e[mV];- return t ? t.type_ : NV(e) ? 1 : PV(e) ? 2 : FV(e) ? 3 : 0;+function bB(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 + yB(i) + n;+ }, "");}-var AV = (e, t, n = kV(e)) => n === 2 ? e.has(t) : gV[yV].hasOwnProperty.call(e, t), jV = (e, t, n = kV(e)) => n === 2 ? e.get(t) : e[t], MV = (e, t, n, r = kV(e)) => {- r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;+//#endregion+//#region node_modules/recharts/es6/util/DataUtils.js+var xB = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, SB = (e) => typeof e == "number" && e != +e, CB = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !SB(e), wB = (e) => Z(e) || typeof e == "string", Yxe = 0, TB = (e) => {+ var t = ++Yxe;+ return `${e || ""}${t}`;+}, EB = 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 (CB(e)) {+ if (t == null) return n;+ var a = e.indexOf("%");+ i = t * parseFloat(e.slice(0, a)) / 100;+ } else i = +e;+ return SB(i) && (i = n), r && t != null && i > t && (i = t), i;+}, DB = (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 XSe(e, t) {- return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;-}-var NV = Array.isArray, PV = (e) => e instanceof Map, FV = (e) => e instanceof Set, IV = (e) => typeof e == "object", LV = (e) => typeof e == "function", RV = (e) => typeof e == "boolean";-function ZSe(e) {- let t = +e;- return Number.isInteger(t) && String(t) === e;-}-var zV = (e) => e.copy_ || e.base_, BV = (e) => e.modified_ ? e.copy_ : e.base_;-function VV(e, t) {- if (PV(e)) return new Map(e);- if (FV(e)) return new Set(e);- if (NV(e)) return Array[yV].slice.call(e);- let n = DV(e);- if (t === !0 || t === "class_only" && !n) {- let t = gV.getOwnPropertyDescriptors(e);- delete t[mV];- let n = Reflect.ownKeys(t);- for (let r = 0; r < n.length; r++) {- let i = n[r], a = t[i];- a[SV] === !1 && (a[SV] = !0, a[bV] = !0), (a.get || a.set) && (t[i] = {- [bV]: !0,- [SV]: !0,- [xV]: a[xV],- [CV]: e[i]- });- }- return gV.create(_V(e), t);- }- {- let t = _V(e);- if (t !== null && n) return { ...e };- let r = gV.create(t);- return gV.assign(r, e);- }-}-function HV(e, t = !1) {- return WV(e) || wV(e) || !TV(e) ? e : (kV(e) > 1 && gV.defineProperties(e, {- set: UV,- add: UV,- clear: UV,- delete: UV- }), gV.freeze(e), t && OV(e, (e, t) => {- HV(t, !0);- }, !1), e);-}-function QSe() {- hV(2);-}-var UV = { [CV]: QSe };-function WV(e) {- return e === null || !IV(e) || gV.isFrozen(e);-}-var GV = "MapSet", KV = "Patches", qV = "ArrayMethods", JV = {};-function YV(e) {- let t = JV[e];- return t || hV(0, e), t;-}-var XV = (e) => !!JV[e], ZV, QV = () => ZV, $Se = (e, t) => ({- drafts_: [],- parent_: e,- immer_: t,- canAutoFreeze_: !0,- unfinalizedDrafts_: 0,- handledSet_: /* @__PURE__ */ new Set(),- processedForPatches_: /* @__PURE__ */ new Set(),- mapSetPlugin_: XV(GV) ? YV(GV) : void 0,- arrayMethodsPlugin_: XV(qV) ? YV(qV) : void 0-});-function $V(e, t) {- t && (e.patchPlugin_ = YV(KV), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);+function OB(e, t, n) {+ return Z(e) && Z(t) ? yB(e + n * (t - e)) : t;}-function eH(e) {- tH(e), e.drafts_.forEach(eCe), e.drafts_ = null;+function kB(e, t, n) {+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : vB(e, t)) === n);}-function tH(e) {- e === ZV && (ZV = e.parent_);+var AB = (e) => e == null, jB = (e) => AB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;+function MB(e) {+ return e != null;}-var nH = (e) => ZV = $Se(ZV, e);-function eCe(e) {- let t = e[mV];- t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;+function NB() {}+//#endregion+//#region node_modules/recharts/es6/shape/Symbols.js+var Xxe = [+ "type",+ "size",+ "sizeType"+];+function PB() {+ return PB = 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;+ }, PB.apply(null, arguments);}-function rH(e, t) {- t.unfinalizedDrafts_ = t.drafts_.length;- let n = t.drafts_[0];- if (e !== void 0 && e !== n) {- n[mV].modified_ && (eH(t), hV(4)), TV(e) && (e = iH(t, e));- let { patchPlugin_: r } = t;- r && r.generateReplacementPatches_(n[mV].base_, e, t);- } else e = iH(t, n);- return tCe(t, e, !0), eH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === fV ? void 0 : e;-}-function iH(e, t) {- if (WV(t)) return t;- let n = t[mV];- if (!n) return lH(t, e.handledSet_, e);- if (!oH(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);- cH(n, e);+function FB(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);}- return n.copy_;-}-function tCe(e, t, n = !1) {- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && HV(t, n);-}-function aH(e) {- e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;+ return n;}-var oH = (e, t) => e.scope_ === t, nCe = [];-function sH(e, t, n, r) {- let i = zV(e), a = e.type_;- if (r !== void 0 && jV(i, r, a) === t) {- MV(i, r, n, a);- return;- }- if (!e.draftLocations_) {- let t = e.draftLocations_ = /* @__PURE__ */ new Map();- OV(i, (e, n) => {- if (wV(n)) {- let r = t.get(n) || [];- r.push(e), t.set(n, r);- }+function IB(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? FB(Object(n), !0).forEach(function(t) {+ Zxe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FB(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}- let o = e.draftLocations_.get(t) ?? nCe;- for (let e of o) MV(i, e, n, a);+ return e;}-function rCe(e, t, n) {- e.callbacks_.push(function(r) {- let i = t;- if (!i || !oH(i, r)) return;- r.mapSetPlugin_?.fixSetContents(i);- let a = BV(i);- sH(e, i.draft_ ?? i, a, n), cH(i, r);- });+function Zxe(e, t, n) {+ return (t = Qxe(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;}-function cH(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);- }- aH(e);+function Qxe(e) {+ var t = $xe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function $xe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");}+ return (t === "string" ? String : Number)(e);}-function iCe(e, t, n) {- let { scope_: r } = e;- if (wV(n)) {- let i = n[mV];- oH(i, r) && i.callbacks_.push(function() {- hH(e), sH(e, n, BV(i), t);- });- } else TV(n) && e.callbacks_.push(function() {- let i = zV(e);- e.type_ === 3 ? i.has(n) && lH(n, r.handledSet_, r) : jV(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && lH(jV(e.copy_, t, e.type_), r.handledSet_, r);- });+function eSe(e, t) {+ if (e == null) return {};+ var n, r, i = tSe(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 lH(e, t, n) {- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || wV(e) || t.has(e) || !TV(e) || WV(e) ? e : (t.add(e), OV(e, (r, i) => {- if (wV(i)) {- let t = i[mV];- oH(t, n) && (MV(e, r, BV(t), e.type_), aH(t));- } else TV(i) && lH(i, t, n);- }), e);+function tSe(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;}-function aCe(e, t) {- let n = NV(e), r = {- type_: +!!n,- scope_: t ? t.scope_ : QV(),- modified_: !1,- finalized_: !1,- assigned_: void 0,- parent_: t,- base_: e,- draft_: null,- copy_: null,- revoke_: null,- isManual_: !1,- callbacks_: void 0- }, i = r, a = uH;- n && (i = [r], a = dH);- let { revoke: o, proxy: s } = Proxy.revocable(i, a);- return r.draft_ = s, r.revoke_ = o, [s, r];+var LB = {+ symbolCircle: Vz,+ symbolCross: _xe,+ symbolDiamond: yxe,+ symbolSquare: bxe,+ symbolStar: wxe,+ symbolTriangle: Txe,+ symbolWye: Dxe+}, nSe = Math.PI / 180, rSe = (e) => LB[`symbol${jB(e)}`] || Vz, iSe = (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 * nSe;+ 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;+ }+}, aSe = (e, t) => {+ LB[`symbol${jB(e)}`] = t;+}, RB = (e) => {+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = IB(IB({}, eSe(e, Xxe)), {}, {+ type: t,+ size: n,+ sizeType: r+ }), a = "circle";+ typeof t == "string" && (a = t);+ var o = () => {+ var e = rSe(a), t = Oxe().type(e).size(iSe(n, r, a))();+ if (t !== null) return t;+ }, { className: s, cx: c, cy: l } = i, u = hz(i);+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ B.createElement("path", PB({}, u, {+ className: _h("recharts-symbols", s),+ transform: `translate(${c}, ${l})`,+ d: o()+ })) : null;+};+RB.registerSymbol = aSe;+//#endregion+//#region node_modules/recharts/es6/util/types.js+var zB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, BB = (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) => {+ uz(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));+ }), r;+}, oSe = (e, t, n) => (r) => (e(t, n, r), null), VB = (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];+ uz(i) && typeof a == "function" && (r ||= {}, r[i] = oSe(a, t, n));+ }), r;+};+//#endregion+//#region node_modules/recharts/es6/util/resolveDefaultProps.js+function HB(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;}-var uH = {- get(e, t) {- if (t === mV) 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 = zV(e);- if (!AV(i, t, e.type_)) return sCe(e, i, t);- let a = i[t];- if (e.finalized_ || !TV(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && ZSe(t)) return a;- if (a === fH(e.base_, t) || oCe(e, t, a)) {- hH(e);- let n = e.type_ === 1 ? +t : t, r = gH(e.scope_, a, e, n);- return e.copy_[n] = r;- }- return a;- },- has(e, t) {- return t in zV(e);- },- ownKeys(e) {- return Reflect.ownKeys(zV(e));- },- set(e, t, n) {- let r = pH(zV(e), t);- if (r?.set) return r.set.call(e.draft_, n), !0;- if (!e.modified_) {- let r = fH(zV(e), t), i = r?.[mV];- if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;- if (XSe(n, r) && (n !== void 0 || AV(e.base_, t, e.type_))) return !0;- hH(e), mH(e);+function sSe(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? HB(Object(n), !0).forEach(function(t) {+ cSe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HB(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function cSe(e, t, n) {+ return (t = lSe(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function lSe(e) {+ var t = uSe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function uSe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function UB(e, t) {+ var n = sSe({}, 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 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.copy_[t] === n && (n !== void 0 || AV(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), iCe(e, t, n), !0);- },- deleteProperty(e, t) {- return hH(e), fH(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), mH(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;- },- getOwnPropertyDescriptor(e, t) {- let n = zV(e), r = Reflect.getOwnPropertyDescriptor(n, t);- return r && {- [SV]: !0,- [bV]: e.type_ !== 1 || t !== "length",- [xV]: r[xV],- [CV]: n[t]- };- },- defineProperty() {- hV(11);- },- getPrototypeOf(e) {- return _V(e.base_);- },- setPrototypeOf() {- hV(12);+ return e;+ }, WB.apply(null, arguments);+}+function GB(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);}-}, dH = {};-for (let e in uH) {- let t = uH[e];- dH[e] = function() {- let e = arguments;- return e[0] = e[0][0], t.apply(this, e);- };+ return n;+}+function KB(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? GB(Object(n), !0).forEach(function(t) {+ dSe(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 dSe(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 fSe(e) {+ var t = pSe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function pSe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);}-dH.deleteProperty = function(e, t) {- return dH.set.call(this, e, t, void 0);-}, dH.set = function(e, t, n) {- return uH.set.call(this, e[0], t, n, e[0]);+var qB = 32, mSe = {+ align: "center",+ iconSize: 14,+ inactiveColor: "#ccc",+ layout: "horizontal",+ verticalAlign: "middle",+ labelStyle: {}};-function fH(e, t) {- let n = e[mV];- return (n ? zV(n) : e)[t];+function hSe(e) {+ if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);}-function oCe(e, t, n) {- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !TV(n) || n[mV] ? !1 : e.baseRefs_.has(n);+function gSe(e) {+ var { data: t, iconType: n, inactiveColor: r } = e, i = qB / 2, a = qB / 6, o = qB / 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: hSe(t.payload),+ x1: 0,+ y1: i,+ x2: qB,+ y2: i,+ className: "recharts-legend-icon"+ });+ if (c === "line") return /*#__PURE__*/ B.createElement("path", {+ strokeWidth: 4,+ fill: "none",+ stroke: s,+ d: `M0,${i}h${o}+ A${a},${a},0,1,1,${2 * o},${i}+ H${qB}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,${qB / 8}h${qB}v${qB * 3 / 4}h${-qB}z`,+ className: "recharts-legend-icon"+ });+ if (/*#__PURE__*/ B.isValidElement(t.legendIcon)) {+ var l = KB({}, t);+ return delete l.legendIcon, /*#__PURE__*/ B.cloneElement(t.legendIcon, l);+ }+ return /*#__PURE__*/ B.createElement(RB, {+ fill: s,+ cx: i,+ cy: i,+ size: qB,+ sizeType: "diameter",+ type: c+ });}-function sCe(e, t, n) {- let r = pH(t, n);- return r ? CV in r ? r[CV] : r.get?.call(e.draft_) : void 0;+function _Se(e) {+ var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {+ x: 0,+ y: 0,+ width: qB,+ height: qB+ }, l = {+ display: r === "horizontal" ? "inline-block" : "block",+ marginRight: 10+ }, u = {+ display: "inline-block",+ verticalAlign: "middle",+ marginRight: 4+ };+ return t.map((t, r) => {+ var d = t.formatter || i, f = _h({+ "recharts-legend-item": !0,+ [`legend-item-${r}`]: !0,+ inactive: t.inactive+ });+ if (t.type === "none") return null;+ var p = typeof s == "object" ? KB({}, 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", WB({+ className: f,+ style: l,+ key: `legend-item-${r}`+ }, VB(e, t, r)), /*#__PURE__*/ B.createElement(_z, {+ width: n,+ height: n,+ viewBox: c,+ style: u,+ "aria-label": `${m} legend icon`+ }, /*#__PURE__*/ B.createElement(gSe, {+ data: t,+ iconType: o,+ inactiveColor: a+ })), /*#__PURE__*/ B.createElement("span", {+ className: "recharts-legend-item-text",+ style: p+ }, m));+ });}-function pH(e, t) {- if (!(t in e)) return;- let n = _V(e);- for (; n;) {- let e = Object.getOwnPropertyDescriptor(n, t);- if (e) return e;- n = _V(n);+var vSe = (e) => {+ var t = UB(e, mSe), { payload: n, layout: r, align: i } = t;+ if (!n || !n.length) return null;+ var a = {+ padding: 0,+ margin: 0,+ textAlign: r === "horizontal" ? i : "left"+ };+ return /*#__PURE__*/ B.createElement("ul", {+ className: "recharts-default-legend",+ style: a+ }, /*#__PURE__*/ B.createElement(_Se, WB({}, t, { payload: n })));+};+//#endregion+//#region node_modules/es-toolkit/dist/array/uniqBy.mjs+function ySe(e, t) {+ let n = /* @__PURE__ */ new Map();+ for (let r = 0; r < e.length; r++) {+ let i = e[r], a = t(i, r, e);+ n.has(a) || n.set(a, i);}+ return Array.from(n.values());}-function mH(e) {- e.modified_ || (e.modified_ = !0, e.parent_ && mH(e.parent_));+//#endregion+//#region node_modules/es-toolkit/dist/function/ary.mjs+function bSe(e, t) {+ return function(...n) {+ return e.apply(this, n.slice(0, t));+ };}-function hH(e) {- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), VV(e.base_, e.scope_.immer_.useStrictShallowCopy_));+//#endregion+//#region node_modules/es-toolkit/dist/function/identity.mjs+function JB(e) {+ return e;}-var cCe = class {- constructor(e) {- this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {- if (LV(e) && !LV(t)) {- let n = t;- t = e;- let r = this;- return function(e = n, ...i) {- return r.produce(e, (e) => t.call(this, e, ...i));- };- }- LV(t) || hV(6), n !== void 0 && !LV(n) && hV(7);- let r;- if (TV(e)) {- let i = nH(this), a = gH(i, e, void 0), o = !0;- try {- r = t(a), o = !1;- } finally {- o ? eH(i) : tH(i);- }- return $V(i, n), rH(r, i);- }- if (!e || !IV(e)) {- if (r = t(e), r === void 0 && (r = e), r === fV && (r = void 0), this.autoFreeze_ && HV(r, !0), n) {- let t = [], i = [];- YV(KV).generateReplacementPatches_(e, r, {- patches_: t,- inversePatches_: i- }), n(t, i);- }- return r;- }- hV(1, e);- }, this.produceWithPatches = (e, t) => {- if (LV(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));- let n, r;- return [- this.produce(e, t, (e, t) => {- n = e, r = t;- }),- n,- r- ];- }, RV(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), RV(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), RV(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);+//#endregion+//#region node_modules/es-toolkit/dist/predicate/isLength.mjs+function xSe(e) {+ return Number.isSafeInteger(e) && e >= 0;+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs+function YB(e) {+ return e != null && typeof e != "function" && xSe(e.length);+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/object/property.mjs+function SSe(e) {+ return function(t) {+ return vB(t, e);+ };+}+//#endregion+//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs+function XB(e) {+ return e == null || typeof e != "object" && typeof e != "function";+}+//#endregion+//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs+function CSe(e) {+ return ArrayBuffer.isView(e) && !(e instanceof DataView);+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs+function wSe(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 ZB(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 TSe = "[object RegExp]", QB = "[object String]", $B = "[object Number]", eV = "[object Boolean]", tV = "[object Arguments]", ESe = "[object Symbol]", DSe = "[object Date]", OSe = "[object Map]", kSe = "[object Set]", ASe = "[object Array]", jSe = "[object ArrayBuffer]", MSe = "[object Object]", NSe = "[object DataView]", PSe = "[object Uint8Array]", FSe = "[object Uint8ClampedArray]", ISe = "[object Uint16Array]", LSe = "[object Uint32Array]", RSe = "[object Int8Array]", zSe = "[object Int16Array]", BSe = "[object Int32Array]", VSe = "[object Float32Array]", HSe = "[object Float64Array]", nV = 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 USe(e) {+ return nV.Buffer !== void 0 && nV.Buffer.isBuffer(e);+}+//#endregion+//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs+function WSe(e, t) {+ return rV(e, void 0, e, /* @__PURE__ */ new Map(), t);+}+function rV(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {+ let a = i?.(e, t, n, r);+ if (a !== void 0) return a;+ if (XB(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] = rV(e[a], a, n, r, i);+ return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;}- createDraft(e) {- TV(e) || hV(8), wV(e) && (e = _H(e));- let t = nH(this), n = gH(t, e, void 0);- return n[mV].isManual_ = !0, tH(t), n;+ if (e instanceof Date) return new Date(e.getTime());+ if (e instanceof RegExp) {+ let t = new RegExp(e.source, e.flags);+ return t.lastIndex = e.lastIndex, t;}- finishDraft(e, t) {- let n = e && e[mV];- (!n || !n.isManual_) && hV(9);- let { scope_: r } = n;- return $V(r, t), rH(void 0, r);+ if (e instanceof Map) {+ let t = /* @__PURE__ */ new Map();+ r.set(e, t);+ for (let [a, o] of e) t.set(a, rV(o, a, n, r, i));+ return t;}- setAutoFreeze(e) {- this.autoFreeze_ = e;+ if (e instanceof Set) {+ let t = /* @__PURE__ */ new Set();+ r.set(e, t);+ for (let a of e) t.add(rV(a, void 0, n, r, i));+ return t;}- setUseStrictShallowCopy(e) {- this.useStrictShallowCopy_ = e;+ if (USe(e)) return e.subarray();+ if (CSe(e)) {+ let t = new (Object.getPrototypeOf(e)).constructor(e.length);+ r.set(e, t);+ for (let a = 0; a < e.length; a++) t[a] = rV(e[a], a, n, r, i);+ return t;}- setUseStrictIteration(e) {- this.useStrictIteration_ = e;+ 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), iV(t, e, n, r, i), t;}- shouldUseStrictIteration() {- return this.useStrictIteration_;+ if (typeof File < "u" && e instanceof File) {+ let t = new File([e], e.name, { type: e.type });+ return r.set(e, t), iV(t, e, n, r, i), t;}- applyPatches(e, t) {- let n;- for (n = t.length - 1; n >= 0; n--) {- let r = t[n];- if (r.path.length === 0 && r.op === "replace") {- e = r.value;- break;- }- }- n > -1 && (t = t.slice(n + 1));- let r = YV(KV).applyPatches_;- return wV(e) ? r(e, t) : this.produce(e, (e) => r(e, t));+ if (typeof Blob < "u" && e instanceof Blob) {+ let t = new Blob([e], { type: e.type });+ return r.set(e, t), iV(t, e, n, r, i), t;}-};-function gH(e, t, n, r) {- let [i, a] = PV(t) ? YV(GV).proxyMap_(t, n) : FV(t) ? YV(GV).proxySet_(t, n) : aCe(t, n);- return (n?.scope_ ?? QV()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? rCe(n, a, r) : a.callbacks_.push(function(e) {- e.mapSetPlugin_?.fixSetContents(a);- let { patchPlugin_: t } = e;- a.modified_ && t && t.generatePatches_(a, [], e);- }), i;+ 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, iV(t, e, n, r, i), t;+ }+ if (e instanceof Boolean) {+ let t = new Boolean(e.valueOf());+ return r.set(e, t), iV(t, e, n, r, i), t;+ }+ if (e instanceof Number) {+ let t = new Number(e.valueOf());+ return r.set(e, t), iV(t, e, n, r, i), t;+ }+ if (e instanceof String) {+ let t = new String(e.valueOf());+ return r.set(e, t), iV(t, e, n, r, i), t;+ }+ if (typeof e == "object" && aV(e)) {+ let t = Object.create(Object.getPrototypeOf(e));+ return r.set(e, t), iV(t, e, n, r, i), t;+ }+ return e;}-function _H(e) {- return wV(e) || hV(10, e), vH(e);+function iV(e, t, n = e, r, i) {+ let a = [...Object.keys(t), ...wSe(t)];+ for (let o = 0; o < a.length; o++) {+ let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);+ (c == null || c.writable) && (e[s] = rV(t[s], s, n, r, i));+ }+}+function aV(e) {+ switch (ZB(e)) {+ case tV:+ case ASe:+ case jSe:+ case NSe:+ case eV:+ case DSe:+ case VSe:+ case HSe:+ case RSe:+ case zSe:+ case BSe:+ case OSe:+ case $B:+ case MSe:+ case TSe:+ case kSe:+ case QB:+ case ESe:+ case PSe:+ case FSe:+ case ISe:+ case LSe: return !0;+ default: return !1;+ }}-function vH(e) {- if (!TV(e) || WV(e)) return e;- let t = e[mV], n, r = !0;- if (t) {- if (!t.modified_) return t.base_;- t.finalized_ = !0, n = VV(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();- } else n = VV(e, !0);- return OV(n, (e, t) => {- MV(n, e, vH(t));- }, r), t && (t.finalized_ = !1), n;+//#endregion+//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs+function oV(e) {+ return rV(e, void 0, e, /* @__PURE__ */ new Map(), void 0);}-globalThis.Iterator?.from;-var yH = new cCe().produce;//#endregion-//#region node_modules/redux-thunk/dist/redux-thunk.mjs-function bH(e) {- return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);+//#region node_modules/es-toolkit/dist/compat/util/eq.mjs+function sV(e, t) {+ return e === t || Number.isNaN(e) && Number.isNaN(t);}-var lCe = bH(), uCe = bH, dCe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {- if (arguments.length !== 0) return typeof arguments[0] == "object" ? uV : uV.apply(null, arguments);-};-typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;-function xH(e, t) {- function n(...n) {- if (t) {- let r = t(...n);- if (!r) throw Error(nU(0));- return {- type: e,- payload: r.payload,- ..."meta" in r && { meta: r.meta },- ..."error" in r && { error: r.error }- };- }- return {- type: e,- payload: n[0]- };- }- return n.toString = () => `${e}`, n.type = e, n.match = (t) => dV(t) && t.type === e, n;+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs+function cV(e) {+ return e !== null && (typeof e == "object" || typeof e == "function");}-var SH = class e extends Array {- constructor(...t) {- super(...t), Object.setPrototypeOf(this, e.prototype);+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs+function lV(e, t, n) {+ return typeof n == "function" ? uV(e, t, function e(t, r, i, a, o, s) {+ let c = n(t, r, i, a, o, s);+ return c === void 0 ? uV(t, r, e, s, !1) : !!c;+ }, /* @__PURE__ */ new Map(), !0) : lV(e, t, () => void 0);+}+function uV(e, t, n, r, i = !1) {+ if (t === e) return !0;+ switch (typeof t) {+ case "object": return dV(e, t, n, r, i);+ case "function": return Object.keys(t).length > 0 ? uV(e, { ...t }, n, r, i) : sV(e, t);+ default: return cV(e) && i ? typeof t != "string" || t === "" : sV(e, t);}- static get [Symbol.species]() {- return e;+}+function dV(e, t, n, r, i = !1) {+ if (t == null) return !0;+ if (Array.isArray(t)) return fV(e, t, n, r);+ if (t instanceof Map) return GSe(e, t, n, r);+ if (t instanceof Set) return KSe(e, t, n, r);+ let a = Object.keys(t);+ if (e == null) return i && a.length === 0;+ if (i) XB(e) && (e = Object(e));+ else {+ let t = ZB(e);+ if (t !== "[object Object]" && t !== "[object Arguments]") return !1;}- concat(...e) {- return super.concat.apply(this, e);+ if (a.length === 0) return !0;+ if (r?.has(t)) return r.get(t) === e;+ r?.set(t, e);+ try {+ for (let i = 0; i < a.length; i++) {+ let o = a[i];+ if (!(o in e) || t[o] === void 0 && e[o] !== void 0 || t[o] === null && e[o] !== null || !n(e[o], t[o], o, e, t, r)) return !1;+ }+ return !0;+ } finally {+ r?.delete(t);}- prepend(...t) {- return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));+}+function GSe(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 fV(e, t, n, r) {+ if (t.length === 0) return !0;+ if (!Array.isArray(e)) return !1;+ let i = /* @__PURE__ */ new Set();+ for (let a = 0; a < t.length; a++) {+ let o = t[a], s = !1;+ for (let c = 0; c < e.length; c++) {+ if (i.has(c)) continue;+ let l = e[c], u = !1;+ if (n(l, o, a, e, t, r) && (u = !0), u) {+ i.add(c), s = !0;+ break;+ }+ }+ if (!s) return !1;}-};-function CH(e) {- return TV(e) ? yH(e, () => {}) : e;+ return !0;}-function wH(e, t, n) {- return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);+function KSe(e, t, n, r) {+ return t.size === 0 || e instanceof Set && fV([...e], [...t], n, r);}-function fCe(e) {- return typeof e == "boolean";+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs+function pV(e, t) {+ return lV(e, t, () => void 0);}-var pCe = () => function(e) {- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new SH();- return t && (fCe(t) ? a.push(lCe) : a.push(uCe(t.extraArgument))), a;-}, TH = "RTK_autoBatch", EH = () => (e) => ({- payload: e,- meta: { [TH]: !0 }-}), DH = (e) => (t) => {- setTimeout(t, e);-}, mCe = (e, t) => (n) => {- let r = !1, i = () => {- r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());- }, a = e(i), o = setTimeout(i, t);-}, OH = (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 ? mCe(window.requestAnimationFrame, 100) : DH(10) : e.type === "callback" ? e.queueNotification : DH(e.timeout), l = () => {- o = !1, a && (a = !1, s.forEach((e) => e()));- };- return Object.assign({}, r, {- subscribe(e) {- let t = r.subscribe(() => i && e());- return s.add(e), () => {- t(), s.delete(e);- };- },- dispatch(e) {- try {- return i = !e?.meta?.[TH], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);- } finally {- i = !0;+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs+function qSe(e) {+ return e = oV(e), (t) => pV(t, e);+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs+function JSe(e, t) {+ return WSe(e, (n, r, i, a) => {+ let o = t?.(n, r, i, a);+ if (o !== void 0) return o;+ if (typeof e == "object") {+ if (ZB(e) === "[object Object]" && typeof e.constructor != "function") {+ let t = {};+ return a.set(e, t), iV(t, e, i, a), t;+ }+ switch (Object.prototype.toString.call(e)) {+ case $B:+ case QB:+ case eV: {+ let t = new e.constructor(e?.valueOf());+ return iV(t, e), t;+ }+ case tV: {+ let t = {};+ return iV(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;+ }+ default: return;}}});-}, hCe = (e) => function(t) {- let { autoBatch: n = !0 } = t ?? {}, r = new SH(e);- return n && r.push(OH(typeof n == "object" ? n : void 0)), r;-};-function gCe(e) {- let t = pCe(), { 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 (sV(n)) c = lV(n);- else throw Error(nU(1));- let l;- l = typeof r == "function" ? r(t) : t();- let u = uV;- i && (u = dCe({- trace: !1,- ...typeof i == "object" && i- }));- let d = hCe(JSe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);- return cV(c, o, p);}-function kH(e) {- let t = {}, n = [], r, i = {- addCase(e, n) {- let r = typeof e == "string" ? e : e.type;- if (!r) throw Error(nU(28));- if (r in t) throw Error(nU(29));- return t[r] = n, i;- },- addAsyncThunk(e, r) {- return r.pending && (t[e.pending.type] = r.pending), r.rejected && (t[e.rejected.type] = r.rejected), r.fulfilled && (t[e.fulfilled.type] = r.fulfilled), r.settled && n.push({- matcher: e.settled,- reducer: r.settled- }), i;- },- addMatcher(e, t) {- return n.push({- matcher: e,- reducer: t- }), i;- },- addDefaultCase(e) {- return r = e, i;- }+//#endregion+//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs+function YSe(e) {+ return JSe(e);+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs+var XSe = /^(?:0|[1-9]\d*)$/;+function mV(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 XSe.test(e);+ }+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs+function ZSe(e) {+ return typeof e == "object" && !!e && ZB(e) === "[object Arguments]";+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/object/has.mjs+function QSe(e, t) {+ let n;+ if (n = Array.isArray(t) ? t : typeof t == "string" && pB(t) && !(t in Object(e)) ? _B(t) : [t], n.length === 0) return !1;+ let r = e;+ for (let e = 0; e < n.length; e++) {+ let t = mB(n[e]);+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || ZSe(r)) && mV(t) && Number(t) < r.length)) return !1;+ r = r[t];+ }+ return !0;+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs+function $Se(e, t) {+ switch (typeof e) {+ case "object":+ Object.is(e?.valueOf(), -0) && (e = "-0");+ break;+ case "number": e = mB(e);+ }+ return t = YSe(t), function(n) {+ let r = vB(n, e);+ return r === void 0 ? QSe(n, e) : t === void 0 ? r === void 0 : pV(r, t);};- return e(i), [- t,- n,- r- ];}-function _Ce(e) {- return typeof e == "function";+//#endregion+//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs+function hV(e) {+ if (e == null) return JB;+ switch (typeof e) {+ case "function": return e;+ case "object": return Array.isArray(e) && e.length === 2 ? $Se(e[0], e[1]) : qSe(e);+ default: return SSe(e);+ }}-function vCe(e, t) {- let [n, r, i] = kH(t), a;- if (_Ce(e)) a = () => CH(e());- else {- let t = CH(e);- a = () => t;+//#endregion+//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs+function eCe(e) {+ return e === 0 ? 0 : e;+}+//#endregion+//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs+function gV(e, t = JB) {+ return YB(e) ? ySe(Array.from(e), bSe(hV(t), 1)).map(eCe) : [];+}+//#endregion+//#region node_modules/recharts/es6/util/payload/getUniqPayload.js+function _V(e, t, n) {+ return t === !0 ? gV(e, n) : typeof t == "function" ? gV(e, t) : e;+}+//#endregion+//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js+var tCe = /* @__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;}- 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 (wV(e)) {- let r = n(e, t);- return r === void 0 ? e : r;- }- if (TV(e)) return yH(e, (e) => n(e, t));- {- let r = n(e, t);- if (r === void 0) {- if (e === null) return e;- throw Error("A case reducer on a non-draftable value must not return undefined");+ var i = typeof Object.is == "function" ? Object.is : r, a = n.useSyncExternalStore, o = t.useRef, s = t.useEffect, c = t.useMemo, l = t.useDebugValue;+ e.useSyncExternalStoreWithSelector = function(e, t, n, r, u) {+ var d = o(null);+ if (d.current === null) {+ var f = {+ hasValue: !1,+ value: null+ };+ d.current = f;+ } else f = d.current;+ d = c(function() {+ function e(e) {+ if (!a) {+ if (a = !0, o = e, e = r(e), u !== void 0 && f.hasValue) {+ var t = f.value;+ if (u(t, e)) return s = t;}- return r;+ return s = e;}+ if (t = s, i(o, e)) return t;+ var n = r(e);+ return u !== void 0 && u(t, n) ? (o = e, t) : (o = e, s = n);}- return e;- }, e);+ var a = !1, o, s, c = n === void 0 ? null : n;+ return [function() {+ return e(t());+ }, c === null ? void 0 : function() {+ return e(c());+ }];+ }, [+ t,+ n,+ r,+ u+ ]);+ var p = a(e, d[0], d[1]);+ return s(function() {+ f.hasValue = !0, f.value = p;+ }, [p]), l(p), p;+ };+})), nCe = /* @__PURE__ */ xt(((e, t) => {+ t.exports = tCe();+})), vV = /*#__PURE__*/ (0, B.createContext)(null), rCe = nCe(), iCe = (e) => e, yV = () => {+ var e = (0, B.useContext)(vV);+ return e ? e.store.dispatch : iCe;+}, bV = () => {}, aCe = () => bV, oCe = (e, t) => e === t;+function Q(e) {+ var t = (0, B.useContext)(vV), n = (0, B.useMemo)(() => t ? (t) => {+ if (t != null) return e(t);+ } : bV, [t, e]);+ return (0, rCe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : aCe, t ? t.store.getState : bV, t ? t.store.getState : bV, n, oCe);+}+//#endregion+//#region node_modules/reselect/dist/reselect.mjs+function sCe(e, t = `expected a function, instead received ${typeof e}`) {+ if (typeof e != "function") throw TypeError(t);+}+function cCe(e, t = `expected an object, instead received ${typeof e}`) {+ if (typeof e != "object") throw TypeError(t);+}+function lCe(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}]`);}- return o.getInitialState = a, o;}-var yCe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", bCe = (e = 21) => {- let t = "", n = e;- for (; n--;) t += yCe[Math.random() * 64 | 0];- return t;-}, xCe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");-function SCe(e, t) {- return `${e}/${t}`;+var xV = (e) => Array.isArray(e) ? e : [e];+function uCe(e) {+ let t = Array.isArray(e[0]) ? e[0] : e;+ return lCe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;}-function CCe({ creators: e } = {}) {- let t = e?.asyncThunk?.[xCe];- return function(e) {- let { name: n, reducerPath: r = n } = e;- if (!n) throw Error(nU(11));- let i = (typeof e.reducers == "function" ? e.reducers(TCe()) : e.reducers) || {}, a = Object.keys(i), o = {- sliceCaseReducersByName: {},- sliceCaseReducersByType: {},- actionCreators: {},- sliceMatchers: []- }, s = {- addCase(e, t) {- let n = typeof e == "string" ? e : e.type;- if (!n) throw Error(nU(12));- if (n in o.sliceCaseReducersByType) throw Error(nU(13));- return o.sliceCaseReducersByType[n] = t, s;- },- addMatcher(e, t) {- return o.sliceMatchers.push({- matcher: e,- reducer: t- }), s;- },- exposeAction(e, t) {- return o.actionCreators[e] = t, s;- },- exposeCaseReducer(e, t) {- return o.sliceCaseReducersByName[e] = t, s;+function dCe(e, t) {+ let n = [], { length: r } = e;+ for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));+ return n;+}+var fCe = class {+ constructor(e) {+ this.value = e;+ }+ deref() {+ return this.value;+ }+}, pCe = typeof WeakRef < "u" ? WeakRef : fCe, mCe = 0, SV = 1;+function CV() {+ return {+ s: mCe,+ v: void 0,+ o: null,+ p: null+ };+}+function wV(e, t = {}) {+ let n = CV(), { resultEqualityCheck: r } = t, i, a = 0;+ function o() {+ let t = n, { length: o } = arguments;+ for (let e = 0, n = o; e < n; e++) {+ let n = arguments[e];+ if (typeof n == "function" || typeof n == "object" && n) {+ let e = t.o;+ e === null && (t.o = e = /* @__PURE__ */ new WeakMap());+ let r = e.get(n);+ r === void 0 ? (t = CV(), 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 = CV(), e.set(n, t)) : t = r;}- };- a.forEach((r) => {- let a = i[r], o = {- reducerName: r,- type: SCe(n, r),- createNotation: typeof e.reducers == "function"- };- DCe(a) ? kCe(o, a, s, t) : ECe(o, a, s);- });- function c() {- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? kH(e.extraReducers) : [e.extraReducers], i = {- ...t,- ...o.sliceCaseReducersByType- };- return vCe(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);- r && e.addDefaultCase(r);- });- }- let l = (e) => e, u = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new WeakMap(), f;- function p(e, t) {- return f ||= c(), f(e, t);}- function m() {- return f ||= c(), f.getInitialState();+ let s = t, c;+ if (t.s === SV) 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;}- function h(t, n = !1) {- function r(e) {- let i = e[t];- return i === void 0 && n && (i = wH(d, r, m)), i;- }- function i(t = l) {- return wH(wH(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {- let r = {};- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = wCe(a, t, () => wH(d, t, m), n);- return r;- });- }- return {- reducerPath: t,- getSelectors: i,- get selectors() {- return i(r);- },- selectSlice: r- };+ return s.s = SV, s.v = c, c;+ }+ return o.clearCache = () => {+ n = CV(), o.resetResultsCount();+ }, o.resultsCount = () => a, o.resetResultsCount = () => {+ a = 0;+ }, o;+}+function hCe(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()), sCe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = wV, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {+ ...n,+ ...a+ }, f = xV(c), p = xV(u), m = uCe(e), h = s(function() {+ return t++, o.apply(null, arguments);+ }, ...f), g = l(function() {+ r++;+ let e = dCe(m, arguments);+ return i = h.apply(null, e), i;+ }, ...p);+ return Object.assign(g, {+ resultFunc: o,+ memoizedResultFunc: h,+ dependencies: m,+ dependencyRecomputations: () => r,+ resetDependencyRecomputations: () => {+ r = 0;+ },+ lastResult: () => i,+ recomputations: () => t,+ resetRecomputations: () => {+ t = 0;+ },+ memoize: s,+ argsMemoize: l+ });+ };+ return Object.assign(r, { withTypes: () => r }), r;+}+var $ = /* @__PURE__ */ hCe(wV), gCe = Object.assign((e, t = $) => {+ cCe(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: () => gCe });+//#endregion+//#region node_modules/es-toolkit/dist/array/flatten.mjs+function _Ce(e, t = 1) {+ let n = [], r = Math.floor(t), i = (e, t) => {+ for (let a = 0; a < e.length; a++) {+ let o = e[a];+ Array.isArray(o) && t < r ? i(o, t + 1) : n.push(o);}- let g = {- name: n,- reducer: p,- actions: o.actionCreators,- caseReducers: o.sliceCaseReducersByName,- getInitialState: m,- ...h(r),- injectInto(e, { reducerPath: t, ...n } = {}) {- let i = t ?? r;- return e.inject({- reducerPath: i,- reducer: p- }, n), {- ...g,- ...h(i, !0)- };- }- };- return g;};+ return i(e, 0), n;}-function wCe(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;+//#endregion+//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs+function TV(e, t, n) {+ return cV(n) && (typeof t == "number" && YB(n) && mV(t) && t < n.length || typeof t == "string" && t in n) ? sV(n[t], e) : !1;}-var AH = /* @__PURE__ */ CCe();-function TCe() {- function e(e, t) {- return {- _reducerDefinitionType: "asyncThunk",- payloadCreator: e,- ...t- };+//#endregion+//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs+function EV(e) {+ return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;+}+var vCe = (e, t, n) => {+ if (e !== t) {+ let r = EV(e), i = EV(t);+ if (r === i && r === 0) {+ if (e < t) return n === "desc" ? 1 : -1;+ if (e > t) return n === "desc" ? -1 : 1;+ }+ return n === "desc" ? i - r : r - i;}- return e.withTypes = () => e, {- reducer(e) {- return Object.assign({ [e.name](...t) {- return e(...t);- } }[e.name], { _reducerDefinitionType: "reducer" });- },- preparedReducer(e, t) {- return {- _reducerDefinitionType: "reducerWithPrepare",- prepare: e,- reducer: t- };- },- asyncThunk: e- };+ return 0;+}, yCe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, bCe = /^\w*$/;+function xCe(e, t) {+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || hB(e) ? !0 : typeof e == "string" && (bCe.test(e) || !yCe.test(e)) || t != null && Object.hasOwn(t, e);}-function ECe({ type: e, reducerName: t, createNotation: n }, r, i) {- let a, o;- if ("reducer" in r) {- if (n && !OCe(r)) throw Error(nU(17));- a = r.reducer, o = r.prepare;- } else a = r;- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? xH(e, o) : xH(e));+//#endregion+//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs+function SCe(e, t, n, r) {+ if (e == null) return [];+ n = r ? void 0 : n, Array.isArray(e) || (e = YB(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]];+ return r > 0 && r === t.length ? n : void 0;+ }, 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) || xCe(e) ? e : {+ key: e,+ path: _B(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 = vCe(e.criteria[r], t.criteria[r], n[r]);+ if (i !== 0) return i;+ }+ return 0;+ }).map((e) => e.original);}-function DCe(e) {- return e._reducerDefinitionType === "asyncThunk";+//#endregion+//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs+function DV(e, ...t) {+ let n = t.length;+ return n > 1 && TV(e, t[0], t[1]) ? t = [] : n > 2 && TV(t[0], t[1], t[2]) && (t = [t[0]]), SCe(e, _Ce(t), ["asc"]);}-function OCe(e) {- return e._reducerDefinitionType === "reducerWithPrepare";+//#endregion+//#region node_modules/recharts/es6/state/selectors/legendSelectors.js+var OV = (e) => e.legend.settings, CCe = (e) => e.legend.size, wCe = $([(e) => e.legend.payload, OV], (e, t) => {+ var { itemSorter: n } = t, r = e.flat(1);+ return n ? DV(r, n) : r;+});+//#endregion+//#region node_modules/recharts/es6/context/legendPayloadContext.js+function TCe() {+ return Q(wCe);}-function kCe({ type: e, reducerName: t }, n, r, i) {- if (!i) throw Error(nU(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 || jH,- pending: s || jH,- rejected: c || jH,- settled: l || jH+//#endregion+//#region node_modules/recharts/es6/util/useElementOffset.js+var kV = 1;+function AV() {+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, B.useState)({+ height: 0,+ left: 0,+ top: 0,+ width: 0});+ return [t, (0, B.useCallback)((e) => {+ if (e != null) {+ var r = e.getBoundingClientRect(), i = {+ height: r.height,+ left: r.left,+ top: r.top,+ width: r.width+ };+ (Math.abs(i.height - t.height) > kV || Math.abs(i.left - t.left) > kV || Math.abs(i.top - t.top) > kV || Math.abs(i.width - t.width) > kV) && n({+ height: i.height,+ left: i.left,+ top: i.top,+ width: i.width+ });+ }+ }, [+ t.width,+ t.height,+ t.top,+ t.left,+ ...e+ ])];}-function jH() {}-var ACe = "task", MH = "listener", NH = "completed", PH = "cancelled", jCe = `task-${PH}`, MCe = `task-${NH}`, FH = `${MH}-${PH}`, NCe = `${MH}-${NH}`, IH = class {- constructor(e) {- this.code = e, this.message = `${ACe} ${PH} (reason: ${e})`;- }- code;- name = "TaskAbortError";- message;-}, LH = (e, t) => {- if (typeof e != "function") throw TypeError(nU(32));-}, RH = () => {}, zH = (e, t = RH) => (e.catch(t), e), BH = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), VH = (e) => {- if (e.aborted) throw new IH(e.reason);+//#endregion+//#region node_modules/redux/dist/redux.mjs+function jV(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 MV = typeof Symbol == "function" && Symbol.observable || "@@observable", NV = () => Math.random().toString(36).substring(7).split("").join("."), PV = {+ INIT: `@@redux/INIT${/* @__PURE__ */ NV()}`,+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ NV()}`,+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${NV()}`};-function HH(e, t) {- let n = RH;- return new Promise((r, i) => {- let a = () => i(new IH(e.reason));- if (e.aborted) {- a();- return;- }- n = BH(e, a), t.finally(() => n()).then(r, i);- }).finally(() => {- n = RH;- });+function FV(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;}-var PCe = async (e, t) => {- try {- return await Promise.resolve(), {- status: "ok",- value: await e()- };- } catch (e) {- return {- status: e instanceof IH ? "cancelled" : "rejected",- error: e- };- } finally {- t?.();+function IV(e, t, n) {+ if (typeof e != "function") throw Error(jV(2));+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(jV(0));+ if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {+ if (typeof n != "function") throw Error(jV(1));+ return n(IV)(e, t);}-}, UH = (e) => (t) => zH(HH(e, t).then((t) => (VH(e), t))), WH = (e) => {- let t = UH(e);- return (e) => t(new Promise((t) => setTimeout(t, e)));-}, { assign: GH } = Object, KH = {}, qH = "listenerMiddleware", FCe = (e, t) => {- let n = (t) => BH(e, () => t.abort(e.reason));- return (r, i) => {- LH(r, "taskExecutor");- let a = new AbortController();- n(a);- let o = PCe(async () => {- VH(e), VH(a.signal);- let t = await r({- pause: UH(a.signal),- delay: WH(a.signal),- signal: a.signal- });- return VH(a.signal), t;- }, () => a.abort(MCe));- return i?.autoJoin && t.push(o.catch(RH)), {- result: UH(e)(o),- cancel() {- a.abort(jCe);+ let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;+ function l() {+ o === a && (o = /* @__PURE__ */ new Map(), a.forEach((e, t) => {+ o.set(t, e);+ }));+ }+ function u() {+ if (c) throw Error(jV(3));+ return i;+ }+ function d(e) {+ if (typeof e != "function") throw Error(jV(4));+ if (c) throw Error(jV(5));+ let t = !0;+ l();+ let n = s++;+ return o.set(n, e), function() {+ if (t) {+ if (c) throw Error(jV(6));+ t = !1, l(), o.delete(n), a = null;}};- };-}, ICe = (e, t) => {- let n = async (n, r) => {- VH(t);- let i = () => {}, a = [new Promise((t, r) => {- let a = e({- predicate: n,- effect: (e, n) => {- n.unsubscribe(), t([- e,- n.getState(),- n.getOriginalState()- ]);- }- });- i = () => {- a(), r();- };- })];- r != null && a.push(new Promise((e) => setTimeout(e, r, null)));+ }+ function f(e) {+ if (!FV(e)) throw Error(jV(7));+ if (e.type === void 0) throw Error(jV(8));+ if (typeof e.type != "string") throw Error(jV(17));+ if (c) throw Error(jV(9));try {- let e = await HH(t, Promise.race(a));- return VH(t), e;+ c = !0, i = r(i, e);} finally {- i();- }- };- return ((e, t) => zH(n(e, t)));-}, JH = (e) => {- let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;- if (t) i = xH(t).match;- else if (n) t = n.type, i = n.match;- else if (r) i = r;- else if (!i) throw Error(nU(21));- return LH(a, "options.listener"), {- predicate: i,- type: t,- effect: a- };-}, YH = /* @__PURE__ */ GH((e) => {- let { type: t, predicate: n, effect: r } = JH(e);- return {- id: bCe(),- effect: r,- type: t,- predicate: n,- pending: /* @__PURE__ */ new Set(),- unsubscribe: () => {- throw Error(nU(22));+ c = !1;}+ return (a = o).forEach((e) => {+ e();+ }), e;+ }+ function p(e) {+ if (typeof e != "function") throw Error(jV(10));+ r = e, f({ type: PV.REPLACE });+ }+ function m() {+ let e = d;+ return {+ subscribe(t) {+ if (typeof t != "object" || !t) throw Error(jV(11));+ function n() {+ let e = t;+ e.next && e.next(u());+ }+ return n(), { unsubscribe: e(n) };+ },+ [MV]() {+ return this;+ }+ };+ }+ return f({ type: PV.INIT }), {+ dispatch: f,+ subscribe: d,+ getState: u,+ replaceReducer: p,+ [MV]: m};-}, { withTypes: () => YH }), XH = (e, t) => {- let { type: n, effect: r, predicate: i } = JH(t);- return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);-}, ZH = (e) => {- e.pending.forEach((e) => {- e.abort(FH);+}+function ECe(e) {+ Object.keys(e).forEach((t) => {+ let n = e[t];+ if (n(void 0, { type: PV.INIT }) === void 0) throw Error(jV(12));+ if (n(void 0, { type: PV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(jV(13));});-}, LCe = (e, t) => () => {- for (let e of t.keys()) ZH(e);- e.clear();-}, QH = (e, t, n) => {+}+function LV(e) {+ let t = Object.keys(e), n = {};+ for (let r = 0; r < t.length; r++) {+ let i = t[r];+ typeof e[i] == "function" && (n[i] = e[i]);+ }+ let r = Object.keys(n), i;try {- e(t, n);+ ECe(n);} catch (e) {- setTimeout(() => {- throw e;- }, 0);+ i = e;}-}, $H = /* @__PURE__ */ GH(/* @__PURE__ */ xH(`${qH}/add`), { withTypes: () => $H }), RCe = /* @__PURE__ */ xH(`${qH}/removeAll`), eU = /* @__PURE__ */ GH(/* @__PURE__ */ xH(`${qH}/remove`), { withTypes: () => eU }), zCe = (...e) => {- console.error(`${qH}/error`, ...e);-}, tU = (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 = zCe } = e;- LH(o, "onError");- let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {- e.unsubscribe(), t?.cancelActive && ZH(e);- }), c = ((e) => {- let n = XH(t, e) ?? YH(e);- return s(n);- });- GH(c, { withTypes: () => c });- let l = (e) => {- let n = XH(t, e);- return n && (n.unsubscribe(), e.cancelActive && ZH(n)), !!n;- };- GH(l, { withTypes: () => l });- let u = async (e, n, s, l) => {- let u = new AbortController(), d = ICe(c, u.signal), f = [];- try {- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, GH({}, s, {- getOriginalState: l,- condition: (e, t) => d(e, t).then(Boolean),- take: d,- delay: WH(u.signal),- pause: UH(u.signal),- extra: a,- signal: u.signal,- fork: FCe(u.signal, f),- unsubscribe: e.unsubscribe,- subscribe: () => {- t.set(e.id, e);- },- cancelActiveListeners: () => {- e.pending.forEach((e, t, n) => {- e !== u && (e.abort(FH), n.delete(e));- });- },- cancel: () => {- u.abort(FH), e.pending.delete(u);- },- throwIfCancelled: () => {- VH(u.signal);- }- })));- } catch (e) {- e instanceof IH || QH(o, e, { raisedBy: "effect" });- } finally {- await Promise.all(f), u.abort(NCe), i(e), e.pending.delete(u);+ return function(e = {}, t) {+ if (i) throw i;+ 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(jV(14));+ o[s] = u, a ||= u !== l;}- }, d = LCe(t, n);- return {- middleware: (e) => (n) => (r) => {- if (!dV(r)) return n(r);- if ($H.match(r)) return c(r.payload);- if (RCe.match(r)) {- d();- return;- }- if (eU.match(r)) return l(r.payload);- let i = e.getState(), a = () => {- if (i === KH) throw Error(nU(23));- return i;- }, s;- try {- if (s = n(r), t.size > 0) {- let n = e.getState(), s = Array.from(t.values());- for (let t of s) {- let s = !1;- try {- s = t.predicate(r, n, i);- } catch (e) {- s = !1, QH(o, e, { raisedBy: "predicate" });- }- s && u(t, r, e, a);- }- }- } finally {- i = KH;- }- return s;- },- startListening: c,- stopListening: l,- clearListeners: d+ return a ||= r.length !== Object.keys(e).length, a ? o : e;};-};-function nU(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. `;+}+function RV(...e) {+ return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));+}+function DCe(...e) {+ return (t) => (n, r) => {+ let i = t(n, r), a = () => {+ throw Error(jV(15));+ }, o = {+ getState: i.getState,+ dispatch: (e, ...t) => a(e, ...t)+ };+ return a = RV(...e.map((e) => e(o)))(i.dispatch), {+ ...i,+ dispatch: a+ };+ };+}+function zV(e) {+ return FV(e) && "type" in e && typeof e.type == "string";}//#endregion-//#region node_modules/recharts/es6/state/layoutSlice.js-var rU = AH({- name: "chartLayout",- initialState: {- layoutType: "horizontal",- width: 0,- height: 0,- margin: {- top: 5,- right: 5,- bottom: 5,- left: 5- },- scale: 1- },- reducers: {- setLayout(e, t) {- e.layoutType = t.payload;- },- setChartSize(e, t) {- e.width = t.payload.width, e.height = t.payload.height;- },- setMargin(e, t) {- e.margin.top = t.payload.top ?? 0, e.margin.right = t.payload.right ?? 0, e.margin.bottom = t.payload.bottom ?? 0, e.margin.left = t.payload.left ?? 0;- },- setScale(e, t) {- e.scale = t.payload;+//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs+var BV = Symbol.for("immer-nothing"), VV = Symbol.for("immer-draftable"), HV = Symbol.for("immer-state");+function UV(e, ...t) {+ throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);+}+var WV = Object, GV = WV.getPrototypeOf, KV = "constructor", qV = "prototype", JV = "configurable", YV = "enumerable", XV = "writable", ZV = "value", QV = (e) => !!e && !!e[HV];+function $V(e) {+ return e ? tH(e) || sH(e) || !!e[VV] || !!e[KV]?.[VV] || cH(e) || lH(e) : !1;+}+var OCe = WV[qV][KV].toString(), eH = /* @__PURE__ */ new WeakMap();+function tH(e) {+ if (!e || !uH(e)) return !1;+ let t = GV(e);+ if (t === null || t === WV[qV]) return !0;+ let n = WV.hasOwnProperty.call(t, KV) && t[KV];+ if (n === Object) return !0;+ if (!dH(n)) return !1;+ let r = eH.get(n);+ return r === void 0 && (r = Function.toString.call(n), eH.set(n, r)), r === OCe;+}+function nH(e, t, n = !0) {+ rH(e) === 0 ? (n ? Reflect.ownKeys(e) : WV.keys(e)).forEach((n) => {+ t(n, e[n], e);+ }) : e.forEach((n, r) => t(r, n, e));+}+function rH(e) {+ let t = e[HV];+ return t ? t.type_ : sH(e) ? 1 : cH(e) ? 2 : lH(e) ? 3 : 0;+}+var iH = (e, t, n = rH(e)) => n === 2 ? e.has(t) : WV[qV].hasOwnProperty.call(e, t), aH = (e, t, n = rH(e)) => n === 2 ? e.get(t) : e[t], oH = (e, t, n, r = rH(e)) => {+ r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;+};+function kCe(e, t) {+ return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;+}+var sH = Array.isArray, cH = (e) => e instanceof Map, lH = (e) => e instanceof Set, uH = (e) => typeof e == "object", dH = (e) => typeof e == "function", fH = (e) => typeof e == "boolean";+function ACe(e) {+ let t = +e;+ return Number.isInteger(t) && String(t) === e;+}+var pH = (e) => e.copy_ || e.base_, mH = (e) => e.modified_ ? e.copy_ : e.base_;+function hH(e, t) {+ if (cH(e)) return new Map(e);+ if (lH(e)) return new Set(e);+ if (sH(e)) return Array[qV].slice.call(e);+ let n = tH(e);+ if (t === !0 || t === "class_only" && !n) {+ let t = WV.getOwnPropertyDescriptors(e);+ delete t[HV];+ let n = Reflect.ownKeys(t);+ for (let r = 0; r < n.length; r++) {+ let i = n[r], a = t[i];+ a[XV] === !1 && (a[XV] = !0, a[JV] = !0), (a.get || a.set) && (t[i] = {+ [JV]: !0,+ [XV]: !0,+ [YV]: a[YV],+ [ZV]: e[i]+ });}+ return WV.create(GV(e), t);}-}), { setMargin: BCe, setLayout: VCe, setChartSize: HCe, setScale: UCe } = rU.actions, WCe = rU.reducer;-//#endregion-//#region node_modules/recharts/es6/util/getSliced.js-function iU(e, t, n) {- return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;+ {+ let t = GV(e);+ if (t !== null && n) return { ...e };+ let r = WV.create(t);+ return WV.assign(r, e);+ }+}+function gH(e, t = !1) {+ return vH(e) || QV(e) || !$V(e) ? e : (rH(e) > 1 && WV.defineProperties(e, {+ set: _H,+ add: _H,+ clear: _H,+ delete: _H+ }), WV.freeze(e), t && nH(e, (e, t) => {+ gH(t, !0);+ }, !1), e);}-//#endregion-//#region node_modules/recharts/es6/util/isWellBehavedNumber.js-function aU(e) {- return Number.isFinite(e);+function jCe() {+ UV(2);}-function oU(e) {- return typeof e == "number" && e > 0 && Number.isFinite(e);+var _H = { [ZV]: jCe };+function vH(e) {+ return e === null || !uH(e) || WV.isFrozen(e);}-//#endregion-//#region node_modules/recharts/es6/util/ChartUtils.js-function sU(e, t) {- var n = Object.keys(e);- if (Object.getOwnPropertySymbols) {- var r = Object.getOwnPropertySymbols(e);- t && (r = r.filter(function(t) {- return Object.getOwnPropertyDescriptor(e, t).enumerable;- })), n.push.apply(n, r);- }- return n;+var yH = "MapSet", bH = "Patches", xH = "ArrayMethods", SH = {};+function CH(e) {+ let t = SH[e];+ return t || UV(0, e), t;}-function cU(e) {- for (var t = 1; t < arguments.length; t++) {- var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? sU(Object(n), !0).forEach(function(t) {- GCe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sU(Object(n)).forEach(function(t) {- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));- });- }- return e;+var wH = (e) => !!SH[e], TH, EH = () => TH, MCe = (e, t) => ({+ drafts_: [],+ parent_: e,+ immer_: t,+ canAutoFreeze_: !0,+ unfinalizedDrafts_: 0,+ handledSet_: /* @__PURE__ */ new Set(),+ processedForPatches_: /* @__PURE__ */ new Set(),+ mapSetPlugin_: wH(yH) ? CH(yH) : void 0,+ arrayMethodsPlugin_: wH(xH) ? CH(xH) : void 0+});+function DH(e, t) {+ t && (e.patchPlugin_ = CH(bH), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);}-function GCe(e, t, n) {- return (t = KCe(t)) in e ? Object.defineProperty(e, t, {- value: n,- enumerable: !0,- configurable: !0,- writable: !0- }) : e[t] = n, e;+function OH(e) {+ kH(e), e.drafts_.forEach(NCe), e.drafts_ = null;}-function KCe(e) {- var t = qCe(e, "string");- return typeof t == "symbol" ? t : t + "";+function kH(e) {+ e === TH && (TH = e.parent_);}-function qCe(e, t) {- if (typeof e != "object" || !e) return e;- var n = e[Symbol.toPrimitive];- if (n !== void 0) {- var r = n.call(e, t || "default");- if (typeof r != "object") return r;- throw TypeError("@@toPrimitive must return a primitive value.");+var AH = (e) => TH = MCe(TH, e);+function NCe(e) {+ let t = e[HV];+ t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;+}+function jH(e, t) {+ t.unfinalizedDrafts_ = t.drafts_.length;+ let n = t.drafts_[0];+ if (e !== void 0 && e !== n) {+ n[HV].modified_ && (OH(t), UV(4)), $V(e) && (e = MH(t, e));+ let { patchPlugin_: r } = t;+ r && r.generateReplacementPatches_(n[HV].base_, e, t);+ } else e = MH(t, n);+ return PCe(t, e, !0), OH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === BV ? void 0 : e;+}+function MH(e, t) {+ if (vH(t)) return t;+ let n = t[HV];+ if (!n) return LH(t, e.handledSet_, e);+ if (!PH(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);+ IH(n, e);}- return (t === "string" ? String : Number)(e);+ return n.copy_;}-function lU(e, t, n) {- return aB(e) || aB(t) ? n : $z(t) ? qz(e, t, n) : typeof t == "function" ? t(e) : n;+function PCe(e, t, n = !1) {+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && gH(t, n);}-var JCe = (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 cU(cU({}, e), {}, { [a]: e[a] + (r || 0) });- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return cU(cU({}, e), {}, { [o]: e[o] + (i || 0) });+function NH(e) {+ e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;+}+var PH = (e, t) => e.scope_ === t, FCe = [];+function FH(e, t, n, r) {+ let i = pH(e), a = e.type_;+ if (r !== void 0 && aH(i, r, a) === t) {+ oH(i, r, n, a);+ return;}- return e;-}, uU = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", dU = (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;-}, fU = (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 ? Xz(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 aU(i) ? {- coordinate: i + h,- value: e,- offset: h,- index: t- } : null;- }).filter(sB) : c && l ? l.map((e, t) => {- var n = o.map(e);- return aU(n) ? {- coordinate: n + h,- value: e,- index: t,- offset: h- } : null;- }).filter(sB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {- var n = o.map(e);- return aU(n) ? {- coordinate: n + h,- value: e,- index: t,- offset: h- } : null;- }).filter(sB) : o.domain().map((e, t) => {- var n = o.map(e);- return aU(n) ? {- coordinate: n + h,- value: r ? r[e] : e,- index: t,- offset: h- } : null;- }).filter(sB);-}, pU = (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;-}, YCe = {- sign: (e) => {- var t = e.length;- if (!(t <= 0)) {- var n = e[0]?.length;- 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 = Zz(c) ? l : c;- u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);- }- }- }- },- expand: oxe,- none: zz,- silhouette: sxe,- wiggle: cxe,- positive: (e) => {- var t = e.length;- if (!(t <= 0)) {- var n = e[0]?.length;- 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 = Zz(o[1]) ? o[0] : o[1];- s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);- }+ if (!e.draftLocations_) {+ let t = e.draftLocations_ = /* @__PURE__ */ new Map();+ nH(i, (e, n) => {+ if (QV(n)) {+ let r = t.get(n) || [];+ r.push(e), t.set(n, r);}- }- }-}, XCe = (e, t, n) => {- var r = YCe[n] ?? zz, i = axe().keys(t).value((e, t) => Number(lU(e, t, 0))).order(Bz).offset(r)(e);- return i.forEach((n, r) => {- n.forEach((n, i) => {- var a = lU(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 mU(e) {- return e == null ? void 0 : String(e);+ }+ let o = e.draftLocations_.get(t) ?? FCe;+ for (let e of o) oH(i, e, n, a);}-function hU(e) {- var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;- if (t.type === "category") {- if (!t.allowDuplicatedCategory && t.dataKey && !aB(i[t.dataKey])) {- var s = iB(n, "value", i[t.dataKey]);- if (s) return s.coordinate + r / 2;+function ICe(e, t, n) {+ e.callbacks_.push(function(r) {+ let i = t;+ if (!i || !PH(i, r)) return;+ r.mapSetPlugin_?.fixSetContents(i);+ let a = mH(i);+ FH(e, i.draft_ ?? i, a, n), IH(i, r);+ });+}+function IH(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);}- return n != null && n[a] ? n[a].coordinate + r / 2 : null;+ NH(e);}- var c = lU(i, aB(o) ? t.dataKey : o), l = t.scale.map(c);- return Z(l) ? l : null;}-var gU = (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 = lU(a, t.dataKey, t.scale.domain()[o]);- if (aB(s)) return null;- var c = t.scale.map(s);- return Z(c) ? c - i / 2 + r : null;-}, _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];-}, ZCe = (e) => {- var t = e.flat(2).filter(Z);- return [Math.min(...t), Math.max(...t)];-}, QCe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], $Ce = (e, t, n) => {- if (e != null) return QCe(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 = ZCe(iU(r, t, n));- return !aU(i[0]) || !aU(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]));-}, vU = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, yU = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, bU = (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 = $B(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);+function LCe(e, t, n) {+ let { scope_: r } = e;+ if (QV(n)) {+ let i = n[HV];+ PH(i, r) && i.callbacks_.push(function() {+ UH(e), FH(e, n, mH(i), t);+ });+ } else $V(n) && e.callbacks_.push(function() {+ let i = pH(e);+ e.type_ === 3 ? i.has(n) && LH(n, r.handledSet_, r) : aH(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && LH(aH(e.copy_, t, e.type_), r.handledSet_, r);+ });+}+function LH(e, t, n) {+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || QV(e) || t.has(e) || !$V(e) || vH(e) ? e : (t.add(e), nH(e, (r, i) => {+ if (QV(i)) {+ let t = i[HV];+ PH(t, n) && (oH(e, r, mH(t), e.type_), NH(t));+ } else $V(i) && LH(i, t, n);+ }), e);+}+function RCe(e, t) {+ let n = sH(e), r = {+ type_: +!!n,+ scope_: t ? t.scope_ : EH(),+ modified_: !1,+ finalized_: !1,+ assigned_: void 0,+ parent_: t,+ base_: e,+ draft_: null,+ copy_: null,+ revoke_: null,+ isManual_: !1,+ callbacks_: void 0+ }, i = r, a = RH;+ n && (i = [r], a = zH);+ let { revoke: o, proxy: s } = Proxy.revocable(i, a);+ return r.draft_ = s, r.revoke_ = o, [s, r];+}+var RH = {+ get(e, t) {+ if (t === HV) 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 = pH(e);+ if (!iH(i, t, e.type_)) return BCe(e, i, t);+ let a = i[t];+ if (e.finalized_ || !$V(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && ACe(t)) return a;+ if (a === BH(e.base_, t) || zCe(e, t, a)) {+ UH(e);+ let n = e.type_ === 1 ? +t : t, r = WH(e.scope_, a, e, n);+ return e.copy_[n] = r;}- return a === Infinity ? 0 : a;+ return a;+ },+ has(e, t) {+ return t in pH(e);+ },+ ownKeys(e) {+ return Reflect.ownKeys(pH(e));+ },+ set(e, t, n) {+ let r = VH(pH(e), t);+ if (r?.set) return r.set.call(e.draft_, n), !0;+ if (!e.modified_) {+ let r = BH(pH(e), t), i = r?.[HV];+ if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;+ if (kCe(n, r) && (n !== void 0 || iH(e.base_, t, e.type_))) return !0;+ UH(e), HH(e);+ }+ return e.copy_[t] === n && (n !== void 0 || iH(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), LCe(e, t, n), !0);+ },+ deleteProperty(e, t) {+ return UH(e), BH(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), HH(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;+ },+ getOwnPropertyDescriptor(e, t) {+ let n = pH(e), r = Reflect.getOwnPropertyDescriptor(n, t);+ return r && {+ [XV]: !0,+ [JV]: e.type_ !== 1 || t !== "length",+ [YV]: r[YV],+ [ZV]: n[t]+ };+ },+ defineProperty() {+ UV(11);+ },+ getPrototypeOf(e) {+ return GV(e.base_);+ },+ setPrototypeOf() {+ UV(12);}- return n ? void 0 : 0;+}, zH = {};+for (let e in RH) {+ let t = RH[e];+ zH[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 RH.set.call(this, e[0], t, n, e[0]);};-function xU(e) {- var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;- return cU(cU({}, t), {}, {- dataKey: n,- payload: r,- value: i,- name: a- });+function BH(e, t) {+ let n = e[HV];+ return (n ? pH(n) : e)[t];}-function SU(e, t) {- if (e) return String(e);- if (typeof t == "string") return t;+function zCe(e, t, n) {+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !$V(n) || n[HV] ? !1 : e.baseRefs_.has(n);}-var ewe = (e, t) => {- if (t === "horizontal") return e.relativeX;- if (t === "vertical") return e.relativeY;-}, twe = (e, t) => t === "centric" ? e.angle : e.radius, CU = (e) => e.layout.width, wU = (e) => e.layout.height, nwe = (e) => e.layout.scale, TU = (e) => e.layout.margin, EU = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), DU = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), rwe = "data-recharts-item-index";-//#endregion-//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js-function OU(e, t) {- var n = Object.keys(e);- if (Object.getOwnPropertySymbols) {- var r = Object.getOwnPropertySymbols(e);- t && (r = r.filter(function(t) {- return Object.getOwnPropertyDescriptor(e, t).enumerable;- })), n.push.apply(n, r);- }- return n;+function BCe(e, t, n) {+ let r = VH(t, n);+ return r ? ZV in r ? r[ZV] : r.get?.call(e.draft_) : void 0;}-function kU(e) {- for (var t = 1; t < arguments.length; t++) {- var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? OU(Object(n), !0).forEach(function(t) {- iwe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OU(Object(n)).forEach(function(t) {- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));- });+function VH(e, t) {+ if (!(t in e)) return;+ let n = GV(e);+ for (; n;) {+ let e = Object.getOwnPropertyDescriptor(n, t);+ if (e) return e;+ n = GV(n);}- return e;}-function iwe(e, t, n) {- return (t = awe(t)) in e ? Object.defineProperty(e, t, {- value: n,- enumerable: !0,- configurable: !0,- writable: !0- }) : e[t] = n, e;+function HH(e) {+ e.modified_ || (e.modified_ = !0, e.parent_ && HH(e.parent_));}-function awe(e) {- var t = owe(e, "string");- return typeof t == "symbol" ? t : t + "";+function UH(e) {+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), hH(e.base_, e.scope_.immer_.useStrictShallowCopy_));}-function owe(e, t) {- if (typeof e != "object" || !e) return e;- var n = e[Symbol.toPrimitive];- if (n !== void 0) {- var r = n.call(e, t || "default");- if (typeof r != "object") return r;- throw TypeError("@@toPrimitive must return a primitive value.");- }- return (t === "string" ? String : Number)(e);-}-var swe = (e) => e.brush.height;-function cwe(e) {- return DU(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);-}-function lwe(e) {- return DU(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);-}-function uwe(e) {- return EU(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);-}-function dwe(e) {- return EU(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);-}-var AU = $([- CU,- wU,- TU,- swe,- cwe,- lwe,- uwe,- dwe,- eV,- WSe-], (e, t, n, r, i, a, o, s, c, l) => {- var u = {- left: (n.left || 0) + i,- right: (n.right || 0) + a- }, d = kU(kU({}, {- top: (n.top || 0) + o,- bottom: (n.bottom || 0) + s- }), u), f = d.bottom;- d.bottom += r, d = JCe(d, c, l);- var p = e - d.left - d.right, m = t - d.top - d.bottom;- return kU(kU({ brushBottom: f }, d), {}, {- width: Math.max(p, 0),- height: Math.max(m, 0)- });-}), fwe = $(AU, (e) => ({- x: e.left,- y: e.top,- width: e.width,- height: e.height-})), jU = $(CU, wU, (e, t) => ({- x: 0,- y: 0,- width: e,- height: t-})), pwe = /*#__PURE__*/ (0, B.createContext)(null), MU = () => (0, B.useContext)(pwe) != null, NU = (e) => e.brush, PU = $([- NU,- AU,- TU-], (e, t, n) => ({- height: e.height,- x: Z(e.x) ? e.x : t.left,- y: Z(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),- width: Z(e.width) ? e.width : t.width-}));-//#endregion-//#region node_modules/es-toolkit/dist/function/debounce.mjs-function mwe(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 = () => {- s && c(), p();- }, u = null, d = () => {- u != null && clearTimeout(u), u = setTimeout(() => {- u = null, l();- }, t);- }, f = () => {- u !== null && (clearTimeout(u), u = null);- }, p = () => {- f(), i = void 0, a = null;- }, m = () => {- c();- }, h = function(...e) {- if (n?.aborted) return;- i = this, a = e;- let t = u == null;- d(), o && t && c();- };- return h.schedule = d, h.cancel = p, h.flush = m, n?.addEventListener("abort", p, { once: !0 }), h;-}-//#endregion-//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs-function hwe(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 = mwe(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);- };- return u.cancel = l.cancel, u.flush = () => (l.flush(), s), u;-}-//#endregion-//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs-function gwe(e, t = 0, n = {}) {- let { leading: r = !0, trailing: i = !0 } = n;- return hwe(e, t, {- leading: r,- maxWait: t,- trailing: i- });-}-//#endregion-//#region node_modules/recharts/es6/util/LogUtils.js-var FU = 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.");- else {- var r = 0;- console.warn(t.replace(/%s/g, () => n[r++]));- }- }-}, IU = {- width: "100%",- height: "100%",- debounce: 0,- minWidth: 0,- initialDimension: {- width: -1,- height: -1- }-}, LU = (e, t, n) => {- var { width: r = IU.width, height: i = IU.height, aspect: a, maxHeight: o } = n, s = Qz(r) ? e : Number(r), c = Qz(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- };-}, _we = {- width: 0,- height: 0,- overflow: "visible"-}, vwe = {- width: 0,- overflowX: "visible"-}, ywe = {- height: 0,- overflowY: "visible"-}, bwe = {}, xwe = (e) => {- var { width: t, height: n } = e, r = Qz(t), i = Qz(n);- return r && i ? _we : r ? vwe : i ? ywe : bwe;-};-function Swe(e) {- var { width: t, height: n, aspect: r } = e, i = t, a = n;- return i === void 0 && a === void 0 ? (i = IU.width, a = IU.height) : i === void 0 ? i = r && r > 0 ? void 0 : IU.width : a === void 0 && (a = r && r > 0 ? void 0 : IU.height), {- width: i,- height: a- };-}-//#endregion-//#region node_modules/recharts/es6/component/ResponsiveContainer.js-function RU() {- return RU = 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;- }, RU.apply(null, arguments);-}-function zU(e, t) {- var n = Object.keys(e);- if (Object.getOwnPropertySymbols) {- var r = Object.getOwnPropertySymbols(e);- t && (r = r.filter(function(t) {- return Object.getOwnPropertyDescriptor(e, t).enumerable;- })), n.push.apply(n, r);- }- return n;-}-function BU(e) {- for (var t = 1; t < arguments.length; t++) {- var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? zU(Object(n), !0).forEach(function(t) {- Cwe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zU(Object(n)).forEach(function(t) {- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));- });- }- return e;-}-function Cwe(e, t, n) {- return (t = wwe(t)) in e ? Object.defineProperty(e, t, {- value: n,- enumerable: !0,- configurable: !0,- writable: !0- }) : e[t] = n, e;-}-function wwe(e) {- var t = Twe(e, "string");- return typeof t == "symbol" ? t : t + "";-}-function Twe(e, t) {- if (typeof e != "object" || !e) return e;- var n = e[Symbol.toPrimitive];- if (n !== void 0) {- var r = n.call(e, t || "default");- if (typeof r != "object") return r;- throw TypeError("@@toPrimitive must return a primitive value.");- }- return (t === "string" ? String : Number)(e);-}-var VU = /*#__PURE__*/ (0, B.createContext)(IU.initialDimension);-function Ewe(e) {- return oU(e.width) && oU(e.height);-}-function HU(e) {- var { children: t, width: n, height: r } = e, i = (0, B.useMemo)(() => ({- width: n,- height: r- }), [n, r]);- return Ewe(i) ? /*#__PURE__*/ B.createElement(VU.Provider, { value: i }, t) : null;-}-var UU = () => (0, B.useContext)(VU), Dwe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var { aspect: n, initialDimension: r = IU.initialDimension, width: i, height: a, minWidth: o = IU.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = IU.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,- containerHeight: r.height- }), y = (0, B.useCallback)((e, t) => {- v((n) => {- var r = Math.round(e), i = Math.round(t);- return n.containerWidth === r && n.containerHeight === i ? n : {- containerWidth: r,- containerHeight: i- };- });- }, []);- (0, B.useEffect)(() => {- if (h.current == null || typeof ResizeObserver > "u") return cB;- var e = (e) => {- var t, n = e[0];- if (n != null) {- var { width: r, height: i } = n.contentRect;- y(r, i), (t = g.current) == null || t.call(g, r, i);- }- };- u > 0 && (e = gwe(e, u, {- trailing: !0,- leading: !1- }));- var t = new ResizeObserver(e), { width: n, height: r } = h.current.getBoundingClientRect();- return y(n, r), t.observe(h.current), () => {- t.disconnect();- };- }, [y, u]);- var { containerWidth: b, containerHeight: x } = _;- FU(!n || n > 0, "The aspect(%s) must be greater than zero.", n);- var { calculatedWidth: S, calculatedHeight: C } = LU(b, x, {- width: i,- height: a,- aspect: n,- maxHeight: c- });- return FU(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: BU(BU({}, m), {}, {- width: i,- height: a,- minWidth: o,- minHeight: s,- maxHeight: c- }),- ref: h- }, /*#__PURE__*/ B.createElement("div", { style: xwe({- width: i,- height: a- }) }, /*#__PURE__*/ B.createElement(HU, {- width: S,- height: C- }, l)));-}), WU = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var n = UU();- if (oU(n.width) && oU(n.height)) return e.children;- var { width: r, height: i } = Swe({- width: e.width,- height: e.height,- aspect: e.aspect- }), { calculatedWidth: a, calculatedHeight: o } = LU(void 0, void 0, {- width: r,- height: i,- aspect: e.aspect,- maxHeight: e.maxHeight- });- return Z(a) && Z(o) ? /*#__PURE__*/ B.createElement(HU, {- width: a,- height: o- }, e.children) : /*#__PURE__*/ B.createElement(Dwe, RU({}, e, {- width: r,- height: i,- ref: t- }));-});-//#endregion-//#region node_modules/recharts/es6/context/chartLayoutContext.js-function GU(e) {- if (e) return {- x: e.x,- y: e.y,- upperWidth: "upperWidth" in e ? e.upperWidth : e.width,- lowerWidth: "lowerWidth" in e ? e.lowerWidth : e.width,- width: e.width,- height: e.height- };-}-var KU = () => {- var e = MU(), t = Q(fwe), n = Q(PU), r = Q(NU)?.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- };-}, Owe = {- top: 0,- bottom: 0,- left: 0,- right: 0,- width: 0,- height: 0,- brushBottom: 0-}, qU = () => Q(AU) ?? Owe, JU = () => Q(CU), YU = () => Q(wU), kwe = () => Q((e) => e.layout.margin), XU = (e) => e.layout.layoutType, ZU = () => Q(XU), QU = () => {- var e = ZU();- if (e === "horizontal" || e === "vertical") return e;-}, $U = (e) => {- var t = e.layout.layoutType;- if (t === "centric" || t === "radial") return t;-}, eW = () => Q($U), Awe = () => ZU() !== void 0, tW = (e) => {- var t = GB(), n = MU(), { width: r, height: i } = e, a = UU(), o = r, s = i;- return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, B.useEffect)(() => {- !n && oU(o) && oU(s) && t(HCe({- width: o,- height: s- }));- }, [- t,- n,- o,- s- ]), null;-}, nW = Symbol.for("immer-nothing"), rW = Symbol.for("immer-draftable"), iW = Symbol.for("immer-state");-function aW(e, ...t) {- throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);-}-var oW = Object.getPrototypeOf;-function sW(e) {- return !!e && !!e[iW];-}-function cW(e) {- return e ? uW(e) || Array.isArray(e) || !!e[rW] || !!e.constructor?.[rW] || hW(e) || gW(e) : !1;-}-var jwe = Object.prototype.constructor.toString(), lW = /* @__PURE__ */ new WeakMap();-function uW(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 = lW.get(n);- return r === void 0 && (r = Function.toString.call(n), lW.set(n, r)), r === jwe;-}-function dW(e, t, n = !0) {- fW(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 fW(e) {- let t = e[iW];- return t ? t.type_ : Array.isArray(e) ? 1 : hW(e) ? 2 : gW(e) ? 3 : 0;-}-function pW(e, t) {- return fW(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);-}-function mW(e, t, n) {- let r = fW(e);- r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;-}-function Mwe(e, t) {- return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;-}-function hW(e) {- return e instanceof Map;-}-function gW(e) {- return e instanceof Set;-}-function _W(e) {- return e.copy_ || e.base_;-}-function vW(e, t) {- if (hW(e)) return new Map(e);- if (gW(e)) return new Set(e);- if (Array.isArray(e)) return Array.prototype.slice.call(e);- let n = uW(e);- if (t === !0 || t === "class_only" && !n) {- let t = Object.getOwnPropertyDescriptors(e);- delete t[iW];- let n = Reflect.ownKeys(t);- for (let r = 0; r < n.length; r++) {- let i = n[r], a = t[i];- a.writable === !1 && (a.writable = !0, a.configurable = !0), (a.get || a.set) && (t[i] = {- configurable: !0,- writable: !0,- enumerable: a.enumerable,- value: e[i]- });- }- return Object.create(oW(e), t);- }- {- let t = oW(e);- if (t !== null && n) return { ...e };- let r = Object.create(t);- return Object.assign(r, e);- }-}-function yW(e, t = !1) {- return xW(e) || sW(e) || !cW(e) ? e : (fW(e) > 1 && Object.defineProperties(e, {- set: bW,- add: bW,- clear: bW,- delete: bW- }), Object.freeze(e), t && Object.values(e).forEach((e) => yW(e, !0)), e);-}-function Nwe() {- aW(2);-}-var bW = { value: Nwe };-function xW(e) {- return typeof e != "object" || !e || Object.isFrozen(e);-}-var Pwe = {};-function SW(e) {- let t = Pwe[e];- return t || aW(0, e), t;-}-var CW;-function wW() {- return CW;-}-function Fwe(e, t) {- return {- drafts_: [],- parent_: e,- immer_: t,- canAutoFreeze_: !0,- unfinalizedDrafts_: 0- };-}-function TW(e, t) {- t && (SW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);-}-function EW(e) {- DW(e), e.drafts_.forEach(Iwe), e.drafts_ = null;-}-function DW(e) {- e === CW && (CW = e.parent_);-}-function OW(e) {- return CW = Fwe(CW, e);-}-function Iwe(e) {- let t = e[iW];- t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;-}-function kW(e, t) {- t.unfinalizedDrafts_ = t.drafts_.length;- let n = t.drafts_[0];- return e !== void 0 && e !== n ? (n[iW].modified_ && (EW(t), aW(4)), cW(e) && (e = AW(t, e), t.parent_ || MW(t, e)), t.patches_ && SW("Patches").generateReplacementPatches_(n[iW].base_, e, t.patches_, t.inversePatches_)) : e = AW(t, n, []), EW(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === nW ? void 0 : e;-}-function AW(e, t, n) {- if (xW(t)) return t;- let r = e.immer_.shouldUseStrictIteration(), i = t[iW];- if (!i) return dW(t, (r, a) => jW(e, i, t, r, a, n), r), t;- if (i.scope_ !== e) return t;- if (!i.modified_) return MW(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), dW(a, (r, a) => jW(e, i, t, r, a, n, o), r), MW(e, t, !1), n && e.patches_ && SW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);- }- return i.copy_;-}-function jW(e, t, n, r, i, a, o) {- if (i == null || typeof i != "object" && !o) return;- let s = xW(i);- if (!(s && !o)) {- if (sW(i)) {- let o = AW(e, i, a && t && t.type_ !== 3 && !pW(t.assigned_, r) ? a.concat(r) : void 0);- if (mW(n, r, o), sW(o)) e.canAutoFreeze_ = !1;- else return;- } else o && n.add(i);- if (cW(i) && !s) {- if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;- AW(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (hW(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && MW(e, i);- }- }-}-function MW(e, t, n = !1) {- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && yW(t, n);-}-function Lwe(e, t) {- let n = Array.isArray(e), r = {- type_: +!!n,- scope_: t ? t.scope_ : wW(),- modified_: !1,- finalized_: !1,- assigned_: {},- parent_: t,- base_: e,- draft_: null,- copy_: null,- revoke_: null,- isManual_: !1- }, i = r, a = NW;- n && (i = [r], a = PW);- let { revoke: o, proxy: s } = Proxy.revocable(i, a);- return r.draft_ = s, r.revoke_ = o, s;-}-var NW = {- get(e, t) {- if (t === iW) return e;- let n = _W(e);- if (!pW(n, t)) return Rwe(e, n, t);- let r = n[t];- return e.finalized_ || !cW(r) ? r : r === FW(e.base_, t) ? (RW(e), e.copy_[t] = zW(r, e)) : r;- },- has(e, t) {- return t in _W(e);- },- ownKeys(e) {- return Reflect.ownKeys(_W(e));- },- set(e, t, n) {- let r = IW(_W(e), t);- if (r?.set) return r.set.call(e.draft_, n), !0;- if (!e.modified_) {- let r = FW(_W(e), t), i = r?.[iW];- if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;- if (Mwe(n, r) && (n !== void 0 || pW(e.base_, t))) return !0;- RW(e), LW(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 FW(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, RW(e), LW(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;- },- getOwnPropertyDescriptor(e, t) {- let n = _W(e), r = Reflect.getOwnPropertyDescriptor(n, t);- return r && {- writable: !0,- configurable: e.type_ !== 1 || t !== "length",- enumerable: r.enumerable,- value: n[t]- };- },- defineProperty() {- aW(11);- },- getPrototypeOf(e) {- return oW(e.base_);- },- setPrototypeOf() {- aW(12);- }-}, PW = {};-dW(NW, (e, t) => {- PW[e] = function() {- return arguments[0] = arguments[0][0], t.apply(this, arguments);- };-}), PW.deleteProperty = function(e, t) {- return PW.set.call(this, e, t, void 0);-}, PW.set = function(e, t, n) {- return NW.set.call(this, e[0], t, n, e[0]);-};-function FW(e, t) {- let n = e[iW];- return (n ? _W(n) : e)[t];-}-function Rwe(e, t, n) {- let r = IW(t, n);- return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;-}-function IW(e, t) {- if (!(t in e)) return;- let n = oW(e);- for (; n;) {- let e = Object.getOwnPropertyDescriptor(n, t);- if (e) return e;- n = oW(n);- }-}-function LW(e) {- e.modified_ || (e.modified_ = !0, e.parent_ && LW(e.parent_));-}-function RW(e) {- e.copy_ ||= vW(e.base_, e.scope_.immer_.useStrictShallowCopy_);-}-var zwe = class {- constructor(e) {- this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {- if (typeof e == "function" && typeof t != "function") {- let n = t;- t = e;- let r = this;- return function(e = n, ...i) {- return r.produce(e, (e) => t.call(this, e, ...i));- };- }- typeof t != "function" && aW(6), n !== void 0 && typeof n != "function" && aW(7);- let r;- if (cW(e)) {- let i = OW(this), a = zW(e, void 0), o = !0;- try {- r = t(a), o = !1;- } finally {- o ? EW(i) : DW(i);- }- return TW(i, n), kW(r, i);- }- if (!e || typeof e != "object") {- if (r = t(e), r === void 0 && (r = e), r === nW && (r = void 0), this.autoFreeze_ && yW(r, !0), n) {- let t = [], i = [];- SW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);- }- return r;- }- aW(1, e);- }, this.produceWithPatches = (e, t) => {- if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));- let n, r;- return [- this.produce(e, t, (e, t) => {- n = e, r = t;- }),- n,- r- ];- }, typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof e?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy), typeof e?.useStrictIteration == "boolean" && this.setUseStrictIteration(e.useStrictIteration);+var VCe = class {+ constructor(e) {+ this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {+ if (dH(e) && !dH(t)) {+ let n = t;+ t = e;+ let r = this;+ return function(e = n, ...i) {+ return r.produce(e, (e) => t.call(this, e, ...i));+ };+ }+ dH(t) || UV(6), n !== void 0 && !dH(n) && UV(7);+ let r;+ if ($V(e)) {+ let i = AH(this), a = WH(i, e, void 0), o = !0;+ try {+ r = t(a), o = !1;+ } finally {+ o ? OH(i) : kH(i);+ }+ return DH(i, n), jH(r, i);+ }+ if (!e || !uH(e)) {+ if (r = t(e), r === void 0 && (r = e), r === BV && (r = void 0), this.autoFreeze_ && gH(r, !0), n) {+ let t = [], i = [];+ CH(bH).generateReplacementPatches_(e, r, {+ patches_: t,+ inversePatches_: i+ }), n(t, i);+ }+ return r;+ }+ UV(1, e);+ }, this.produceWithPatches = (e, t) => {+ if (dH(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));+ let n, r;+ return [+ this.produce(e, t, (e, t) => {+ n = e, r = t;+ }),+ n,+ r+ ];+ }, fH(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), fH(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), fH(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);}createDraft(e) {- cW(e) || aW(8), sW(e) && (e = Bwe(e));- let t = OW(this), n = zW(e, void 0);- return n[iW].isManual_ = !0, DW(t), n;+ $V(e) || UV(8), QV(e) && (e = GH(e));+ let t = AH(this), n = WH(t, e, void 0);+ return n[HV].isManual_ = !0, kH(t), n;}finishDraft(e, t) {- let n = e && e[iW];- (!n || !n.isManual_) && aW(9);+ let n = e && e[HV];+ (!n || !n.isManual_) && UV(9);let { scope_: r } = n;- return TW(r, t), kW(void 0, r);+ return DH(r, t), jH(void 0, r);}setAutoFreeze(e) {this.autoFreeze_ = e;@@ -55941,244 +55807,637 @@ var zwe = class {}}n > -1 && (t = t.slice(n + 1));- let r = SW("Patches").applyPatches_;- return sW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));+ let r = CH(bH).applyPatches_;+ return QV(e) ? r(e, t) : this.produce(e, (e) => r(e, t));}};-function zW(e, t) {- let n = hW(e) ? SW("MapSet").proxyMap_(e, t) : gW(e) ? SW("MapSet").proxySet_(e, t) : Lwe(e, t);- return (t ? t.scope_ : wW()).drafts_.push(n), n;+function WH(e, t, n, r) {+ let [i, a] = cH(t) ? CH(yH).proxyMap_(t, n) : lH(t) ? CH(yH).proxySet_(t, n) : RCe(t, n);+ return (n?.scope_ ?? EH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? ICe(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 Bwe(e) {- return sW(e) || aW(10, e), BW(e);+function GH(e) {+ return QV(e) || UV(10, e), KH(e);}-function BW(e) {- if (!cW(e) || xW(e)) return e;- let t = e[iW], n, r = !0;+function KH(e) {+ if (!$V(e) || vH(e)) return e;+ let t = e[HV], n, r = !0;if (t) {if (!t.modified_) return t.base_;- t.finalized_ = !0, n = vW(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();- } else n = vW(e, !0);- return dW(n, (e, t) => {- mW(n, e, BW(t));+ t.finalized_ = !0, n = hH(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();+ } else n = hH(e, !0);+ return nH(n, (e, t) => {+ oH(n, e, KH(t));}, r), t && (t.finalized_ = !1), n;}-new zwe().produce;-function VW(e) {- return e;-}+globalThis.Iterator?.from;+var qH = new VCe().produce;//#endregion-//#region node_modules/recharts/es6/state/legendSlice.js-var HW = AH({- name: "legend",- initialState: {- settings: {- layout: "horizontal",- align: "center",- verticalAlign: "middle",- itemSorter: "value"- },- size: {- width: 0,- height: 0- },- payload: []- },- reducers: {- setLegendSize(e, t) {- e.size.width = t.payload.width, e.size.height = t.payload.height;- },- setLegendSettings(e, t) {- e.settings.align = t.payload.align, e.settings.layout = t.payload.layout, e.settings.verticalAlign = t.payload.verticalAlign, e.settings.itemSorter = t.payload.itemSorter;- },- addLegendPayload: {- reducer(e, t) {- e.payload.push(VW(t.payload));- },- prepare: EH()- },- replaceLegendPayload: {- reducer(e, t) {- var { prev: n, next: r } = t.payload, i = _H(e).payload.indexOf(VW(n));- i > -1 && (e.payload[i] = VW(r));- },- prepare: EH()- },- removeLegendPayload: {- reducer(e, t) {- var n = _H(e).payload.indexOf(VW(t.payload));- n > -1 && e.payload.splice(n, 1);- },- prepare: EH()+//#region node_modules/redux-thunk/dist/redux-thunk.mjs+function JH(e) {+ return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);+}+var HCe = JH(), UCe = JH, WCe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? RV : RV.apply(null, arguments);+};+typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;+function YH(e, t) {+ function n(...n) {+ if (t) {+ let r = t(...n);+ if (!r) throw Error(AU(0));+ return {+ type: e,+ payload: r.payload,+ ..."meta" in r && { meta: r.meta },+ ..."error" in r && { error: r.error }+ };}+ return {+ type: e,+ payload: n[0]+ };}-}), { setLegendSize: UW, setLegendSettings: Vwe, addLegendPayload: WW, replaceLegendPayload: GW, removeLegendPayload: KW } = HW.actions, Hwe = HW.reducer, Uwe = /* @__PURE__ */ xt(((e) => {- var t = Ot();- t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;-}));-(/* @__PURE__ */ xt(((e, t) => {- t.exports = Uwe();-})))();-function Wwe(e) {- e();+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => zV(t) && t.type === e, n;}-function Gwe() {- let e = null, t = null;- return {- clear() {- e = null, t = null;- },- notify() {- Wwe(() => {- let t = e;- for (; t;) t.callback(), t = t.next;- });- },- get() {- let t = [], n = e;- for (; n;) t.push(n), n = n.next;- return t;- },- subscribe(n) {- let r = !0, i = t = {- callback: n,- next: null,- prev: t- };- return i.prev ? i.prev.next = i : e = i, function() {- !r || e === null || (r = !1, i.next ? i.next.prev = i.prev : t = i.prev, i.prev ? i.prev.next = i.next : e = i.next);- };- }- };-}-var qW = {- notify() {},- get: () => []-};-function Kwe(e, t) {- let n, r = qW, i = 0, a = !1;- function o(e) {- u();- let t = r.subscribe(e), n = !1;- return () => {- n || (n = !0, t(), d());- };+var XH = class e extends Array {+ constructor(...t) {+ super(...t), Object.setPrototypeOf(this, e.prototype);}- function s() {- r.notify();+ static get [Symbol.species]() {+ return e;}- function c() {- m.onStateChange && m.onStateChange();+ concat(...e) {+ return super.concat.apply(this, e);}- function l() {- return a;+ prepend(...t) {+ return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));}- function u() {- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = Gwe());+};+function ZH(e) {+ return $V(e) ? qH(e, () => {}) : e;+}+function QH(e, t, n) {+ return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);+}+function GCe(e) {+ return typeof e == "boolean";+}+var KCe = () => function(e) {+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new XH();+ return t && (GCe(t) ? a.push(HCe) : a.push(UCe(t.extraArgument))), a;+}, $H = "RTK_autoBatch", eU = () => (e) => ({+ payload: e,+ meta: { [$H]: !0 }+}), tU = (e) => (t) => {+ setTimeout(t, e);+}, qCe = (e, t) => (n) => {+ let r = !1, i = () => {+ r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());+ }, a = e(i), o = setTimeout(i, t);+}, nU = (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 ? qCe(window.requestAnimationFrame, 100) : tU(10) : e.type === "callback" ? e.queueNotification : tU(e.timeout), l = () => {+ o = !1, a && (a = !1, s.forEach((e) => e()));+ };+ return Object.assign({}, r, {+ subscribe(e) {+ let t = r.subscribe(() => i && e());+ return s.add(e), () => {+ t(), s.delete(e);+ };+ },+ dispatch(e) {+ try {+ return i = !e?.meta?.[$H], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);+ } finally {+ i = !0;+ }+ }+ });+}, JCe = (e) => function(t) {+ let { autoBatch: n = !0 } = t ?? {}, r = new XH(e);+ return n && r.push(nU(typeof n == "object" ? n : void 0)), r;+};+function YCe(e) {+ let t = KCe(), { 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 (FV(n)) c = LV(n);+ else throw Error(AU(1));+ let l;+ l = typeof r == "function" ? r(t) : t();+ let u = RV;+ i && (u = WCe({+ trace: !1,+ ...typeof i == "object" && i+ }));+ let d = JCe(DCe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);+ return IV(c, o, p);+}+function rU(e) {+ let t = {}, n = [], r, i = {+ addCase(e, n) {+ let r = typeof e == "string" ? e : e.type;+ if (!r) throw Error(AU(28));+ if (r in t) throw Error(AU(29));+ return t[r] = n, i;+ },+ addAsyncThunk(e, r) {+ return r.pending && (t[e.pending.type] = r.pending), r.rejected && (t[e.rejected.type] = r.rejected), r.fulfilled && (t[e.fulfilled.type] = r.fulfilled), r.settled && n.push({+ matcher: e.settled,+ reducer: r.settled+ }), i;+ },+ addMatcher(e, t) {+ return n.push({+ matcher: e,+ reducer: t+ }), i;+ },+ addDefaultCase(e) {+ return r = e, i;+ }+ };+ return e(i), [+ t,+ n,+ r+ ];+}+function XCe(e) {+ return typeof e == "function";+}+function ZCe(e, t) {+ let [n, r, i] = rU(t), a;+ if (XCe(e)) a = () => ZH(e());+ else {+ let t = ZH(e);+ a = () => t;}- function d() {- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = qW);+ 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 (QV(e)) {+ let r = n(e, t);+ return r === void 0 ? e : r;+ }+ if ($V(e)) return qH(e, (e) => n(e, t));+ {+ let r = n(e, t);+ if (r === void 0) {+ if (e === null) return e;+ throw Error("A case reducer on a non-draftable value must not return undefined");+ }+ return r;+ }+ }+ return e;+ }, e);}- function f() {- a || (a = !0, u());+ return o.getInitialState = a, o;+}+var QCe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", $Ce = (e = 21) => {+ let t = "", n = e;+ for (; n--;) t += QCe[Math.random() * 64 | 0];+ return t;+}, ewe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");+function twe(e, t) {+ return `${e}/${t}`;+}+function nwe({ creators: e } = {}) {+ let t = e?.asyncThunk?.[ewe];+ return function(e) {+ let { name: n, reducerPath: r = n } = e;+ if (!n) throw Error(AU(11));+ let i = (typeof e.reducers == "function" ? e.reducers(iwe()) : e.reducers) || {}, a = Object.keys(i), o = {+ sliceCaseReducersByName: {},+ sliceCaseReducersByType: {},+ actionCreators: {},+ sliceMatchers: []+ }, s = {+ addCase(e, t) {+ let n = typeof e == "string" ? e : e.type;+ if (!n) throw Error(AU(12));+ if (n in o.sliceCaseReducersByType) throw Error(AU(13));+ return o.sliceCaseReducersByType[n] = t, s;+ },+ addMatcher(e, t) {+ return o.sliceMatchers.push({+ matcher: e,+ reducer: t+ }), s;+ },+ exposeAction(e, t) {+ return o.actionCreators[e] = t, s;+ },+ exposeCaseReducer(e, t) {+ return o.sliceCaseReducersByName[e] = t, s;+ }+ };+ a.forEach((r) => {+ let a = i[r], o = {+ reducerName: r,+ type: twe(n, r),+ createNotation: typeof e.reducers == "function"+ };+ owe(a) ? cwe(o, a, s, t) : awe(o, a, s);+ });+ function c() {+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? rU(e.extraReducers) : [e.extraReducers], i = {+ ...t,+ ...o.sliceCaseReducersByType+ };+ return ZCe(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);+ r && e.addDefaultCase(r);+ });+ }+ let l = (e) => e, u = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new WeakMap(), f;+ function p(e, t) {+ return f ||= c(), f(e, t);+ }+ function m() {+ return f ||= c(), f.getInitialState();+ }+ function h(t, n = !1) {+ function r(e) {+ let i = e[t];+ return i === void 0 && n && (i = QH(d, r, m)), i;+ }+ function i(t = l) {+ return QH(QH(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {+ let r = {};+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = rwe(a, t, () => QH(d, t, m), n);+ return r;+ });+ }+ return {+ reducerPath: t,+ getSelectors: i,+ get selectors() {+ return i(r);+ },+ selectSlice: r+ };+ }+ let g = {+ name: n,+ reducer: p,+ actions: o.actionCreators,+ caseReducers: o.sliceCaseReducersByName,+ getInitialState: m,+ ...h(r),+ injectInto(e, { reducerPath: t, ...n } = {}) {+ let i = t ?? r;+ return e.inject({+ reducerPath: i,+ reducer: p+ }, n), {+ ...g,+ ...h(i, !0)+ };+ }+ };+ return g;+ };+}+function rwe(e, t, n, r) {+ function i(i, ...a) {+ let o = t(i);+ return o === void 0 && r && (o = n()), e(o, ...a);}- function p() {- a && (a = !1, d());+ return i.unwrapped = e, i;+}+var iU = /* @__PURE__ */ nwe();+function iwe() {+ function e(e, t) {+ return {+ _reducerDefinitionType: "asyncThunk",+ payloadCreator: e,+ ...t+ };}- let m = {- addNestedSub: o,- notifyNestedSubs: s,- handleChangeWrapper: c,- isSubscribed: l,- trySubscribe: f,- tryUnsubscribe: p,- getListeners: () => r+ return e.withTypes = () => e, {+ reducer(e) {+ return Object.assign({ [e.name](...t) {+ return e(...t);+ } }[e.name], { _reducerDefinitionType: "reducer" });+ },+ preparedReducer(e, t) {+ return {+ _reducerDefinitionType: "reducerWithPrepare",+ prepare: e,+ reducer: t+ };+ },+ asyncThunk: e};- return m;}-var qwe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Jwe = typeof navigator < "u" && navigator.product === "ReactNative", Ywe = qwe || Jwe ? B.useLayoutEffect : B.useEffect;-function JW(e, t) {- return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;+function awe({ type: e, reducerName: t, createNotation: n }, r, i) {+ let a, o;+ if ("reducer" in r) {+ if (n && !swe(r)) throw Error(AU(17));+ a = r.reducer, o = r.prepare;+ } else a = r;+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? YH(e, o) : YH(e));}-function Xwe(e, t) {- if (JW(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]) || !JW(e[n[r]], t[n[r]])) return !1;- return !0;+function owe(e) {+ return e._reducerDefinitionType === "asyncThunk";}-var Zwe = /* @__PURE__ */ Symbol.for("react-redux-context"), Qwe = typeof globalThis < "u" ? globalThis : {};-function $we() {- if (!B.createContext) return {};- let e = Qwe[Zwe] ??= /* @__PURE__ */ new Map(), t = e.get(B.createContext);- return t || (t = B.createContext(null), e.set(B.createContext, t)), t;+function swe(e) {+ return e._reducerDefinitionType === "reducerWithPrepare";}-var eTe = /* @__PURE__ */ $we();-function tTe(e) {- let { children: t, context: n, serverState: r, store: i } = e, a = B.useMemo(() => {- let e = Kwe(i);+function cwe({ type: e, reducerName: t }, n, r, i) {+ if (!i) throw Error(AU(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 || aU,+ pending: s || aU,+ rejected: c || aU,+ settled: l || aU+ });+}+function aU() {}+var lwe = "task", oU = "listener", sU = "completed", cU = "cancelled", uwe = `task-${cU}`, dwe = `task-${sU}`, lU = `${oU}-${cU}`, fwe = `${oU}-${sU}`, uU = class {+ constructor(e) {+ this.code = e, this.message = `${lwe} ${cU} (reason: ${e})`;+ }+ code;+ name = "TaskAbortError";+ message;+}, dU = (e, t) => {+ if (typeof e != "function") throw TypeError(AU(32));+}, fU = () => {}, pU = (e, t = fU) => (e.catch(t), e), mU = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), hU = (e) => {+ if (e.aborted) throw new uU(e.reason);+};+function gU(e, t) {+ let n = fU;+ return new Promise((r, i) => {+ let a = () => i(new uU(e.reason));+ if (e.aborted) {+ a();+ return;+ }+ n = mU(e, a), t.finally(() => n()).then(r, i);+ }).finally(() => {+ n = fU;+ });+}+var pwe = async (e, t) => {+ try {+ return await Promise.resolve(), {+ status: "ok",+ value: await e()+ };+ } catch (e) {return {- store: i,- subscription: e,- getServerState: r ? () => r : void 0+ status: e instanceof uU ? "cancelled" : "rejected",+ error: e};- }, [i, r]), o = B.useMemo(() => i.getState(), [i]);- Ywe(() => {- let { subscription: e } = a;- return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {- e.tryUnsubscribe(), e.onStateChange = void 0;+ } finally {+ t?.();+ }+}, _U = (e) => (t) => pU(gU(e, t).then((t) => (hU(e), t))), vU = (e) => {+ let t = _U(e);+ return (e) => t(new Promise((t) => setTimeout(t, e)));+}, { assign: yU } = Object, bU = {}, xU = "listenerMiddleware", mwe = (e, t) => {+ let n = (t) => mU(e, () => t.abort(e.reason));+ return (r, i) => {+ dU(r, "taskExecutor");+ let a = new AbortController();+ n(a);+ let o = pwe(async () => {+ hU(e), hU(a.signal);+ let t = await r({+ pause: _U(a.signal),+ delay: vU(a.signal),+ signal: a.signal+ });+ return hU(a.signal), t;+ }, () => a.abort(dwe));+ return i?.autoJoin && t.push(o.catch(fU)), {+ result: _U(e)(o),+ cancel() {+ a.abort(uwe);+ }};- }, [a, o]);- let s = n || eTe;- return /* @__PURE__ */ B.createElement(s.Provider, { value: a }, t);-}-var nTe = tTe, rTe = /* @__PURE__ */ new Set([- "axisLine",- "tickLine",- "activeBar",- "activeDot",- "activeLabel",- "activeShape",- "allowEscapeViewBox",- "background",- "cursor",- "dot",- "label",- "line",- "margin",- "padding",- "position",- "shape",- "style",- "tick",- "wrapperStyle",- "radius",- "throttledEvents"-]);-function iTe(e, t) {- return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;-}-function YW(e, t) {- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (rTe.has(n)) {- if (e[n] == null && t[n] == null) continue;- if (!Xwe(e[n], t[n])) return !1;- } else if (!iTe(e[n], t[n])) return !1;- return !0;+ };+}, hwe = (e, t) => {+ let n = async (n, r) => {+ hU(t);+ let i = () => {}, a = [new Promise((t, r) => {+ let a = e({+ predicate: n,+ effect: (e, n) => {+ n.unsubscribe(), t([+ e,+ n.getState(),+ n.getOriginalState()+ ]);+ }+ });+ i = () => {+ a(), r();+ };+ })];+ r != null && a.push(new Promise((e) => setTimeout(e, r, null)));+ try {+ let e = await gU(t, Promise.race(a));+ return hU(t), e;+ } finally {+ i();+ }+ };+ return ((e, t) => pU(n(e, t)));+}, SU = (e) => {+ let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;+ if (t) i = YH(t).match;+ else if (n) t = n.type, i = n.match;+ else if (r) i = r;+ else if (!i) throw Error(AU(21));+ return dU(a, "options.listener"), {+ predicate: i,+ type: t,+ effect: a+ };+}, CU = /* @__PURE__ */ yU((e) => {+ let { type: t, predicate: n, effect: r } = SU(e);+ return {+ id: $Ce(),+ effect: r,+ type: t,+ predicate: n,+ pending: /* @__PURE__ */ new Set(),+ unsubscribe: () => {+ throw Error(AU(22));+ }+ };+}, { withTypes: () => CU }), wU = (e, t) => {+ let { type: n, effect: r, predicate: i } = SU(t);+ return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);+}, TU = (e) => {+ e.pending.forEach((e) => {+ e.abort(lU);+ });+}, gwe = (e, t) => () => {+ for (let e of t.keys()) TU(e);+ e.clear();+}, EU = (e, t, n) => {+ try {+ e(t, n);+ } catch (e) {+ setTimeout(() => {+ throw e;+ }, 0);+ }+}, DU = /* @__PURE__ */ yU(/* @__PURE__ */ YH(`${xU}/add`), { withTypes: () => DU }), _we = /* @__PURE__ */ YH(`${xU}/removeAll`), OU = /* @__PURE__ */ yU(/* @__PURE__ */ YH(`${xU}/remove`), { withTypes: () => OU }), vwe = (...e) => {+ console.error(`${xU}/error`, ...e);+}, kU = (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 = vwe } = e;+ dU(o, "onError");+ let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {+ e.unsubscribe(), t?.cancelActive && TU(e);+ }), c = ((e) => {+ let n = wU(t, e) ?? CU(e);+ return s(n);+ });+ yU(c, { withTypes: () => c });+ let l = (e) => {+ let n = wU(t, e);+ return n && (n.unsubscribe(), e.cancelActive && TU(n)), !!n;+ };+ yU(l, { withTypes: () => l });+ let u = async (e, n, s, l) => {+ let u = new AbortController(), d = hwe(c, u.signal), f = [];+ try {+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, yU({}, s, {+ getOriginalState: l,+ condition: (e, t) => d(e, t).then(Boolean),+ take: d,+ delay: vU(u.signal),+ pause: _U(u.signal),+ extra: a,+ signal: u.signal,+ fork: mwe(u.signal, f),+ unsubscribe: e.unsubscribe,+ subscribe: () => {+ t.set(e.id, e);+ },+ cancelActiveListeners: () => {+ e.pending.forEach((e, t, n) => {+ e !== u && (e.abort(lU), n.delete(e));+ });+ },+ cancel: () => {+ u.abort(lU), e.pending.delete(u);+ },+ throwIfCancelled: () => {+ hU(u.signal);+ }+ })));+ } catch (e) {+ e instanceof uU || EU(o, e, { raisedBy: "effect" });+ } finally {+ await Promise.all(f), u.abort(fwe), i(e), e.pending.delete(u);+ }+ }, d = gwe(t, n);+ return {+ middleware: (e) => (n) => (r) => {+ if (!zV(r)) return n(r);+ if (DU.match(r)) return c(r.payload);+ if (_we.match(r)) {+ d();+ return;+ }+ if (OU.match(r)) return l(r.payload);+ let i = e.getState(), a = () => {+ if (i === bU) throw Error(AU(23));+ return i;+ }, s;+ try {+ if (s = n(r), t.size > 0) {+ let n = e.getState(), s = Array.from(t.values());+ for (let t of s) {+ let s = !1;+ try {+ s = t.predicate(r, n, i);+ } catch (e) {+ s = !1, EU(o, e, { raisedBy: "predicate" });+ }+ s && u(t, r, e, a);+ }+ }+ } finally {+ i = bU;+ }+ return s;+ },+ startListening: c,+ stopListening: l,+ clearListeners: d+ };+};+function AU(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/component/Legend.js-var aTe = ["contextPayload"];-function XW() {- return XW = 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]);+//#region node_modules/recharts/es6/state/layoutSlice.js+var jU = iU({+ name: "chartLayout",+ initialState: {+ layoutType: "horizontal",+ width: 0,+ height: 0,+ margin: {+ top: 5,+ right: 5,+ bottom: 5,+ left: 5+ },+ scale: 1+ },+ reducers: {+ setLayout(e, t) {+ e.layoutType = t.payload;+ },+ setChartSize(e, t) {+ e.width = t.payload.width, e.height = t.payload.height;+ },+ setMargin(e, t) {+ e.margin.top = t.payload.top ?? 0, e.margin.right = t.payload.right ?? 0, e.margin.bottom = t.payload.bottom ?? 0, e.margin.left = t.payload.left ?? 0;+ },+ setScale(e, t) {+ e.scale = t.payload;}- return e;- }, XW.apply(null, arguments);+ }+}), { setMargin: ywe, setLayout: bwe, setChartSize: xwe, setScale: Swe } = jU.actions, Cwe = jU.reducer;+//#endregion+//#region node_modules/recharts/es6/util/getSliced.js+function MU(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 NU(e) {+ return Number.isFinite(e);+}+function PU(e) {+ return typeof e == "number" && e > 0 && Number.isFinite(e);}-function ZW(e, t) {+//#endregion+//#region node_modules/recharts/es6/util/ChartUtils.js+function FU(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -56188,30 +56447,30 @@ function ZW(e, t) {}return n;}-function QW(e) {+function IU(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? ZW(Object(n), !0).forEach(function(t) {- oTe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZW(Object(n)).forEach(function(t) {+ t % 2 ? FU(Object(n), !0).forEach(function(t) {+ wwe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FU(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function oTe(e, t, n) {- return (t = sTe(t)) in e ? Object.defineProperty(e, t, {+function wwe(e, t, n) {+ return (t = Twe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function sTe(e) {- var t = cTe(e, "string");+function Twe(e) {+ var t = Ewe(e, "string");return typeof t == "symbol" ? t : t + "";}-function cTe(e, t) {+function Ewe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -56221,104 +56480,178 @@ function cTe(e, t) {}return (t === "string" ? String : Number)(e);}-function lTe(e, t) {- if (e == null) return {};- var n, r, i = uTe(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 LU(e, t, n) {+ return AB(e) || AB(t) ? n : wB(t) ? vB(e, t, n) : typeof t == "function" ? t(e) : n;}-function uTe(e, t) {- if (e == null) return {};- var n = {};- for (var r in e) if ({}.hasOwnProperty.call(e, r)) {- if (t.indexOf(r) !== -1) continue;- n[r] = e[r];+var Dwe = (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 IU(IU({}, e), {}, { [a]: e[a] + (r || 0) });+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return IU(IU({}, e), {}, { [o]: e[o] + (i || 0) });}- return n;-}-function dTe(e) {- return e.value;-}-function fTe(e) {- var { contextPayload: t } = e, n = lTe(e, aTe), r = UB(t, e.payloadUniqBy, dTe), i = QW(QW({}, 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(Ixe, i);-}-function pTe(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 }), QW(QW({}, l), u);-}-function mTe(e) {- var t = GB();- return (0, B.useEffect)(() => {- t(Vwe(e));- }, [t, e]), null;-}-function hTe(e) {- var t = GB();- return (0, B.useEffect)(() => (t(UW(e)), () => {- t(UW({- width: 0,- height: 0- }));- }), [t, e]), null;+ return e;+}, RU = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", zU = (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;+}, BU = (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 ? xB(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 NU(i) ? {+ coordinate: i + h,+ value: e,+ offset: h,+ index: t+ } : null;+ }).filter(MB) : c && l ? l.map((e, t) => {+ var n = o.map(e);+ return NU(n) ? {+ coordinate: n + h,+ value: e,+ index: t,+ offset: h+ } : null;+ }).filter(MB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {+ var n = o.map(e);+ return NU(n) ? {+ coordinate: n + h,+ value: e,+ index: t,+ offset: h+ } : null;+ }).filter(MB) : o.domain().map((e, t) => {+ var n = o.map(e);+ return NU(n) ? {+ coordinate: n + h,+ value: r ? r[e] : e,+ index: t,+ offset: h+ } : null;+ }).filter(MB);+}, VU = (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;+}, Owe = {+ sign: (e) => {+ var t = e.length;+ if (!(t <= 0)) {+ var n = e[0]?.length;+ 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 = SB(c) ? l : c;+ u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);+ }+ }+ }+ },+ expand: Hxe,+ none: uB,+ silhouette: Uxe,+ wiggle: Wxe,+ positive: (e) => {+ var t = e.length;+ if (!(t <= 0)) {+ var n = e[0]?.length;+ 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 = SB(o[1]) ? o[0] : o[1];+ s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);+ }+ }+ }+ }+}, kwe = (e, t, n) => {+ var r = Owe[n] ?? uB, i = Vxe().keys(t).value((e, t) => Number(LU(e, t, 0))).order(dB).offset(r)(e);+ return i.forEach((n, r) => {+ n.forEach((n, i) => {+ var a = LU(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 HU(e) {+ return e == null ? void 0 : String(e);}-function gTe(e, t, n, r) {- return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;+function UU(e) {+ var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;+ if (t.type === "category") {+ if (!t.allowDuplicatedCategory && t.dataKey && !AB(i[t.dataKey])) {+ var s = kB(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 = LU(i, AB(o) ? t.dataKey : o), l = t.scale.map(c);+ return Z(l) ? l : null;}-var _Te = {- align: "center",- iconSize: 14,- inactiveColor: "#ccc",- itemSorter: "value",- layout: "horizontal",- verticalAlign: "bottom"+var WU = (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 = LU(a, t.dataKey, t.scale.domain()[o]);+ if (AB(s)) return null;+ var c = t.scale.map(s);+ return Z(c) ? c - i / 2 + r : null;+}, GU = (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];+}, Awe = (e) => {+ var t = e.flat(2).filter(Z);+ return [Math.min(...t), Math.max(...t)];+}, jwe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], Mwe = (e, t, n) => {+ if (e != null) return jwe(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 = Awe(MU(r, t, n));+ return !NU(i[0]) || !NU(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]));+}, KU = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, qU = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, JU = (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 = DV(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);+ }+ return a === Infinity ? 0 : a;+ }+ return n ? void 0 : 0;};-function vTe(e) {- var t = vB(e, _Te), n = KSe(), r = Abe(), i = kwe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = nV([n]), d = JU(), f = YU();- if (d == null || f == null) return null;- var p = d - (i?.left || 0) - (i?.right || 0), m = gTe(t.layout, o, a, p), h = c ? s : QW(QW({- position: "absolute",- width: m?.width || a || "auto",- height: m?.height || o || "auto"- }, pTe(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(mTe, {- layout: t.layout,- align: t.align,- verticalAlign: t.verticalAlign,- itemSorter: t.itemSorter- }), !c && /*#__PURE__*/ B.createElement(hTe, {- width: l.width,- height: l.height- }), /*#__PURE__*/ B.createElement(fTe, XW({}, t, m, {- margin: i,- chartWidth: d,- chartHeight: f,- contextPayload: n- })));- return /*#__PURE__*/ (0, $f.createPortal)(_, g);+function YU(e) {+ var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;+ return IU(IU({}, t), {}, {+ dataKey: n,+ payload: r,+ value: i,+ name: a+ });}-var $W = /*#__PURE__*/ B.memo(vTe, YW);-$W.displayName = "Legend";-//#endregion-//#region node_modules/recharts/es6/component/DefaultTooltipContent.js-function eG() {- return eG = 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;- }, eG.apply(null, arguments);+function XU(e, t) {+ if (e) return String(e);+ if (typeof t == "string") return t;}-function tG(e, t) {+var Nwe = (e, t) => {+ if (t === "horizontal") return e.relativeX;+ if (t === "vertical") return e.relativeY;+}, Pwe = (e, t) => t === "centric" ? e.angle : e.radius, ZU = (e) => e.layout.width, QU = (e) => e.layout.height, Fwe = (e) => e.layout.scale, $U = (e) => e.layout.margin, eW = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), tW = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), Iwe = "data-recharts-item-index";+//#endregion+//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js+function nW(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -56328,30 +56661,30 @@ function tG(e, t) {}return n;}-function nG(e) {+function rW(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? tG(Object(n), !0).forEach(function(t) {- yTe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tG(Object(n)).forEach(function(t) {+ t % 2 ? nW(Object(n), !0).forEach(function(t) {+ Lwe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nW(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function yTe(e, t, n) {- return (t = bTe(t)) in e ? Object.defineProperty(e, t, {+function Lwe(e, t, n) {+ return (t = Rwe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function bTe(e) {- var t = xTe(e, "string");+function Rwe(e) {+ var t = zwe(e, "string");return typeof t == "symbol" ? t : t + "";}-function xTe(e, t) {+function zwe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -56361,263 +56694,171 @@ function xTe(e, t) {}return (t === "string" ? String : Number)(e);}-function STe(e) {- return Array.isArray(e) && $z(e[0]) && $z(e[1]) ? e.join(" ~ ") : e;-}-var rG = {- separator: " : ",- contentStyle: {- margin: 0,- padding: 10,- backgroundColor: "#fff",- border: "1px solid #ccc",- whiteSpace: "nowrap"- },- itemStyle: {- display: "block",- paddingTop: 4,- paddingBottom: 4,- color: "#000"- },- labelStyle: {},- accessibilityLayer: !1-};-function CTe(e, t) {- return t == null ? e : $B(e, t);-}-var wTe = (e) => {- var { separator: t = rG.separator, contentStyle: n, itemStyle: r, labelStyle: i = rG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = rG.accessibilityLayer } = e, p = () => {- if (a && a.length) {- var e = {- padding: 0,- margin: 0- }, n = CTe(a, s).map((e, n) => {- if (e.type === "none") return null;- var i = e.formatter || o || STe, { 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 = nG(nG({}, rG.itemStyle), {}, { color: e.color || rG.itemStyle.color }, r);- return /*#__PURE__*/ B.createElement("li", {- className: "recharts-tooltip-item",- key: `tooltip-item-${n}`,- style: f- }, $z(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, $z(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",- style: e- }, n);- }- return null;- }, m = nG(nG({}, rG.contentStyle), n), h = nG({ margin: 0 }, i), g = !aB(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", eG({- className: v,- style: m- }, b), /*#__PURE__*/ B.createElement("p", {- className: y,- style: h- }, /*#__PURE__*/ B.isValidElement(_) ? _ : `${_}`), p());-}, iG = "recharts-tooltip-wrapper", TTe = { visibility: "hidden" };-function ETe(e) {- var { coordinate: t, translateX: n, translateY: r } = e;- return _h(iG, {- [`${iG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,- [`${iG}-left`]: Z(n) && t && Z(t.x) && n < t.x,- [`${iG}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,- [`${iG}-top`]: Z(r) && t && Z(t.y) && r < t.y- });+var Bwe = (e) => e.brush.height;+function Vwe(e) {+ return tW(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);}-function aG(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;- if (t[r]) return o[r] ? u : d;- 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 Hwe(e) {+ return tW(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);}-function DTe(e) {- var { translateX: t, translateY: n, useTranslate3d: r } = e;- return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };+function Uwe(e) {+ return eW(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);}-function OTe(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 = aG({- allowEscapeViewBox: t,- coordinate: n,- key: "x",- offset: i,- position: a,- reverseDirection: o,- tooltipDimension: s.width,- viewBox: l,- viewBoxDimension: l.width- }), f = aG({- allowEscapeViewBox: t,- coordinate: n,- key: "y",- offset: r,- position: a,- reverseDirection: o,- tooltipDimension: s.height,- viewBox: l,- viewBoxDimension: l.height- }), u = DTe({- translateX: d,- translateY: f,- useTranslate3d: c- })) : u = TTe, {- cssProperties: u,- cssClasses: ETe({- translateX: d,- translateY: f,- coordinate: n- })+function Wwe(e) {+ return eW(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);+}+var iW = $([+ ZU,+ QU,+ $U,+ Bwe,+ Vwe,+ Hwe,+ Uwe,+ Wwe,+ OV,+ CCe+], (e, t, n, r, i, a, o, s, c, l) => {+ var u = {+ left: (n.left || 0) + i,+ right: (n.right || 0) + a+ }, d = rW(rW({}, {+ top: (n.top || 0) + o,+ bottom: (n.bottom || 0) + s+ }), u), f = d.bottom;+ d.bottom += r, d = Dwe(d, c, l);+ var p = e - d.left - d.right, m = t - d.top - d.bottom;+ return rW(rW({ brushBottom: f }, d), {}, {+ width: Math.max(p, 0),+ height: Math.max(m, 0)+ });+}), Gwe = $(iW, (e) => ({+ x: e.left,+ y: e.top,+ width: e.width,+ height: e.height+})), aW = $(ZU, QU, (e, t) => ({+ x: 0,+ y: 0,+ width: e,+ height: t+})), Kwe = /*#__PURE__*/ (0, B.createContext)(null), oW = () => (0, B.useContext)(Kwe) != null, sW = (e) => e.brush, cW = $([+ sW,+ iW,+ $U+], (e, t, n) => ({+ height: e.height,+ x: Z(e.x) ? e.x : t.left,+ y: Z(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),+ width: Z(e.width) ? e.width : t.width+}));+//#endregion+//#region node_modules/es-toolkit/dist/function/debounce.mjs+function qwe(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 = () => {+ s && c(), p();+ }, u = null, d = () => {+ u != null && clearTimeout(u), u = setTimeout(() => {+ u = null, l();+ }, t);+ }, f = () => {+ u !== null && (clearTimeout(u), u = null);+ }, p = () => {+ f(), i = void 0, a = null;+ }, m = () => {+ c();+ }, h = function(...e) {+ if (n?.aborted) return;+ i = this, a = e;+ let t = u == null;+ d(), o && t && c();};+ return h.schedule = d, h.cancel = p, h.flush = m, n?.addEventListener("abort", p, { once: !0 }), h;}-var oG = {- devToolsEnabled: !0,- isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)-};//#endregion-//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js-function sG() {- var [e, t] = (0, B.useState)(() => oG.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 = () => {- t(e.matches);- };- return e.addEventListener("change", n), () => {- e.removeEventListener("change", n);- };- }- }, []), e;+//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs+function Jwe(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 = qwe(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);+ };+ return u.cancel = l.cancel, u.flush = () => (l.flush(), s), u;}//#endregion-//#region node_modules/recharts/es6/component/TooltipBoundingBox.js-function cG(e, t) {- var n = Object.keys(e);- if (Object.getOwnPropertySymbols) {- var r = Object.getOwnPropertySymbols(e);- t && (r = r.filter(function(t) {- return Object.getOwnPropertyDescriptor(e, t).enumerable;- })), n.push.apply(n, r);- }- return n;+//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs+function Ywe(e, t = 0, n = {}) {+ let { leading: r = !0, trailing: i = !0 } = n;+ return Jwe(e, t, {+ leading: r,+ maxWait: t,+ trailing: i+ });}-function lG(e) {- for (var t = 1; t < arguments.length; t++) {- var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? cG(Object(n), !0).forEach(function(t) {- kTe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cG(Object(n)).forEach(function(t) {- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));- });+//#endregion+//#region node_modules/recharts/es6/util/LogUtils.js+var lW = 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.");+ else {+ var r = 0;+ console.warn(t.replace(/%s/g, () => n[r++]));+ }}- return e;-}-function kTe(e, t, n) {- return (t = ATe(t)) in e ? Object.defineProperty(e, t, {- value: n,- enumerable: !0,- configurable: !0,- writable: !0- }) : e[t] = n, e;-}-function ATe(e) {- var t = jTe(e, "string");- return typeof t == "symbol" ? t : t + "";-}-function jTe(e, t) {- if (typeof e != "object" || !e) return e;- var n = e[Symbol.toPrimitive];- if (n !== void 0) {- var r = n.call(e, t || "default");- if (typeof r != "object") return r;- throw TypeError("@@toPrimitive must return a primitive value.");+}, uW = {+ width: "100%",+ height: "100%",+ debounce: 0,+ minWidth: 0,+ initialDimension: {+ width: -1,+ height: -1}- return (t === "string" ? String : Number)(e);-}-function MTe(e) {- if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;-}-function NTe(e) {- var t = sG(), [n, r] = B.useState(() => ({- dismissed: !1,- dismissedAtCoordinate: {- x: 0,- y: 0- }- }));- B.useEffect(() => {- var t = (t) => {- t.key === "Escape" && r({- dismissed: !0,- dismissedAtCoordinate: {- x: e.coordinate?.x ?? 0,- y: e.coordinate?.y ?? 0- }- });- };- 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(lG(lG({}, n), {}, { dismissed: !1 }));- var { cssClasses: i, cssProperties: a } = OTe({- allowEscapeViewBox: e.allowEscapeViewBox,- coordinate: e.coordinate,- offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,- offsetTop: typeof e.offset == "number" ? e.offset : e.offset.y,- position: e.position,- reverseDirection: e.reverseDirection,- tooltipBox: {- height: e.lastBoundingBox.height,- width: e.lastBoundingBox.width- },- useTranslate3d: e.useTranslate3d,- viewBox: e.viewBox- }), o = lG(lG({}, e.hasPortalFromProps ? {} : lG(lG({ transition: MTe({- prefersReducedMotion: t,- isAnimationActive: e.isAnimationActive,- active: e.active,- animationDuration: e.animationDuration,- animationEasing: e.animationEasing- }) }, a), {}, {- pointerEvents: "none",- position: "absolute",- top: 0,- left: 0- })), {}, { visibility: !n.dismissed && e.active && e.hasPayload ? "visible" : "hidden" }, e.wrapperStyle);- return /*#__PURE__*/ B.createElement("div", {- xmlns: "http://www.w3.org/1999/xhtml",- tabIndex: -1,- className: i,- style: o,- ref: e.innerRef- }, e.children);+}, dW = (e, t, n) => {+ var { width: r = uW.width, height: i = uW.height, aspect: a, maxHeight: o } = n, s = CB(r) ? e : Number(r), c = CB(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+ };+}, Xwe = {+ width: 0,+ height: 0,+ overflow: "visible"+}, Zwe = {+ width: 0,+ overflowX: "visible"+}, Qwe = {+ height: 0,+ overflowY: "visible"+}, $we = {}, eTe = (e) => {+ var { width: t, height: n } = e, r = CB(t), i = CB(n);+ return r && i ? Xwe : r ? Zwe : i ? Qwe : $we;+};+function tTe(e) {+ var { width: t, height: n, aspect: r } = e, i = t, a = n;+ return i === void 0 && a === void 0 ? (i = uW.width, a = uW.height) : i === void 0 ? i = r && r > 0 ? void 0 : uW.width : a === void 0 && (a = r && r > 0 ? void 0 : uW.height), {+ width: i,+ height: a+ };}-var PTe = /*#__PURE__*/ B.memo(NTe), uG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;//#endregion-//#region node_modules/recharts/es6/shape/Curve.js-function dG() {- return dG = Object.assign ? Object.assign.bind() : function(e) {+//#region node_modules/recharts/es6/component/ResponsiveContainer.js+function fW() {+ return fW = 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;- }, dG.apply(null, arguments);+ }, fW.apply(null, arguments);}-function fG(e, t) {+function pW(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -56627,30 +56868,30 @@ function fG(e, t) {}return n;}-function pG(e) {+function mW(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? fG(Object(n), !0).forEach(function(t) {- FTe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fG(Object(n)).forEach(function(t) {+ t % 2 ? pW(Object(n), !0).forEach(function(t) {+ nTe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pW(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function FTe(e, t, n) {- return (t = ITe(t)) in e ? Object.defineProperty(e, t, {+function nTe(e, t, n) {+ return (t = rTe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function ITe(e) {- var t = LTe(e, "string");+function rTe(e) {+ var t = iTe(e, "string");return typeof t == "symbol" ? t : t + "";}-function LTe(e, t) {+function iTe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -56660,162 +56901,717 @@ function LTe(e, t) {}return (t === "string" ? String : Number)(e);}-var mG = {- curveBasisClosed: Jbe,- curveBasisOpen: Ybe,- curveBasis: qbe,- curveBumpX: Nbe,- curveBumpY: Pbe,- curveLinearClosed: Xbe,- curveLinear: uz,- curveMonotoneX: Zbe,- curveMonotoneY: Qbe,- curveNatural: $be,- curveStep: exe,- curveStepAfter: nxe,- curveStepBefore: txe-}, hG = (e) => aU(e.x) && aU(e.y), gG = (e) => e.base != null && hG(e.base) && hG(e), _G = (e) => e.x, vG = (e) => e.y, RTe = (e, t) => {- if (typeof e == "function") return e;- var n = `curve${oB(e)}`;- if ((n === "curveMonotone" || n === "curveBump") && t) {- var r = mG[`${n}${t === "vertical" ? "Y" : "X"}`];- if (r) return r;- }- return mG[n] || uz;-}, yG = {- connectNulls: !1,- type: "linear"-}, zTe = (e) => {- var { type: t = yG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = yG.connectNulls } = e, o = RTe(t, i), s = a ? n.filter(hG) : n;- if (Array.isArray(r)) {- var c, l = n.map((e, t) => pG(pG({}, e), {}, { base: r[t] }));- return c = i === "vertical" ? mz().y(vG).x1(_G).x0((e) => e.base.x) : mz().x(_G).y1(vG).y0((e) => e.base.y), c.defined(gG).curve(o)(a ? l.filter(gG) : l);- }- return (i === "vertical" && Z(r) ? mz().y(vG).x1(_G).x0(r) : Z(r) ? mz().x(_G).y1(vG).y0(r) : pz().x(_G).y(vG)).defined(hG).curve(o)(s);-}, bG = (e) => {- var { className: t, points: n, path: r, pathRef: i } = e, a = ZU();- if ((!n || !n.length) && !r) return null;- var o = {- type: e.type,- points: e.points,- baseLine: e.baseLine,- layout: e.layout || a,- connectNulls: e.connectNulls- }, s = n && n.length ? zTe(o) : r;- return /*#__PURE__*/ B.createElement("path", dG({}, HR(e), hB(e), {- className: _h("recharts-curve", t),- d: s === null ? void 0 : s,- ref: i- }));-}, BTe = [- "x",- "y",- "top",- "left",- "width",- "height",- "className"-];-function xG() {- return xG = 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;- }, xG.apply(null, arguments);+var hW = /*#__PURE__*/ (0, B.createContext)(uW.initialDimension);+function aTe(e) {+ return PU(e.width) && PU(e.height);}-function SG(e, t) {- var n = Object.keys(e);- if (Object.getOwnPropertySymbols) {- var r = Object.getOwnPropertySymbols(e);- t && (r = r.filter(function(t) {- return Object.getOwnPropertyDescriptor(e, t).enumerable;- })), n.push.apply(n, r);- }- return n;+function gW(e) {+ var { children: t, width: n, height: r } = e, i = (0, B.useMemo)(() => ({+ width: n,+ height: r+ }), [n, r]);+ return aTe(i) ? /*#__PURE__*/ B.createElement(hW.Provider, { value: i }, t) : null;}-function VTe(e) {- for (var t = 1; t < arguments.length; t++) {- var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? SG(Object(n), !0).forEach(function(t) {- HTe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SG(Object(n)).forEach(function(t) {- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+var _W = () => (0, B.useContext)(hW), oTe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var { aspect: n, initialDimension: r = uW.initialDimension, width: i, height: a, minWidth: o = uW.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = uW.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,+ containerHeight: r.height+ }), y = (0, B.useCallback)((e, t) => {+ v((n) => {+ var r = Math.round(e), i = Math.round(t);+ return n.containerWidth === r && n.containerHeight === i ? n : {+ containerWidth: r,+ containerHeight: i+ };});- }- return e;-}-function HTe(e, t, n) {- return (t = UTe(t)) in e ? Object.defineProperty(e, t, {- value: n,- enumerable: !0,- configurable: !0,- writable: !0- }) : e[t] = n, e;+ }, []);+ (0, B.useEffect)(() => {+ if (h.current == null || typeof ResizeObserver > "u") return NB;+ var e = (e) => {+ var t, n = e[0];+ if (n != null) {+ var { width: r, height: i } = n.contentRect;+ y(r, i), (t = g.current) == null || t.call(g, r, i);+ }+ };+ u > 0 && (e = Ywe(e, u, {+ trailing: !0,+ leading: !1+ }));+ var t = new ResizeObserver(e), { width: n, height: r } = h.current.getBoundingClientRect();+ return y(n, r), t.observe(h.current), () => {+ t.disconnect();+ };+ }, [y, u]);+ var { containerWidth: b, containerHeight: x } = _;+ lW(!n || n > 0, "The aspect(%s) must be greater than zero.", n);+ var { calculatedWidth: S, calculatedHeight: C } = dW(b, x, {+ width: i,+ height: a,+ aspect: n,+ maxHeight: c+ });+ return lW(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: mW(mW({}, m), {}, {+ width: i,+ height: a,+ minWidth: o,+ minHeight: s,+ maxHeight: c+ }),+ ref: h+ }, /*#__PURE__*/ B.createElement("div", { style: eTe({+ width: i,+ height: a+ }) }, /*#__PURE__*/ B.createElement(gW, {+ width: S,+ height: C+ }, l)));+}), vW = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var n = _W();+ if (PU(n.width) && PU(n.height)) return e.children;+ var { width: r, height: i } = tTe({+ width: e.width,+ height: e.height,+ aspect: e.aspect+ }), { calculatedWidth: a, calculatedHeight: o } = dW(void 0, void 0, {+ width: r,+ height: i,+ aspect: e.aspect,+ maxHeight: e.maxHeight+ });+ return Z(a) && Z(o) ? /*#__PURE__*/ B.createElement(gW, {+ width: a,+ height: o+ }, e.children) : /*#__PURE__*/ B.createElement(oTe, fW({}, e, {+ width: r,+ height: i,+ ref: t+ }));+});+//#endregion+//#region node_modules/recharts/es6/context/chartLayoutContext.js+function yW(e) {+ if (e) return {+ x: e.x,+ y: e.y,+ upperWidth: "upperWidth" in e ? e.upperWidth : e.width,+ lowerWidth: "lowerWidth" in e ? e.lowerWidth : e.width,+ width: e.width,+ height: e.height+ };}-function UTe(e) {- var t = WTe(e, "string");- return typeof t == "symbol" ? t : t + "";+var bW = () => {+ var e = oW(), t = Q(Gwe), n = Q(cW), r = Q(sW)?.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+ };+}, sTe = {+ top: 0,+ bottom: 0,+ left: 0,+ right: 0,+ width: 0,+ height: 0,+ brushBottom: 0+}, xW = () => Q(iW) ?? sTe, SW = () => Q(ZU), CW = () => Q(QU), cTe = () => Q((e) => e.layout.margin), wW = (e) => e.layout.layoutType, TW = () => Q(wW), EW = () => {+ var e = TW();+ if (e === "horizontal" || e === "vertical") return e;+}, DW = (e) => {+ var t = e.layout.layoutType;+ if (t === "centric" || t === "radial") return t;+}, OW = () => Q(DW), lTe = () => TW() !== void 0, kW = (e) => {+ var t = yV(), n = oW(), { width: r, height: i } = e, a = _W(), o = r, s = i;+ return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, B.useEffect)(() => {+ !n && PU(o) && PU(s) && t(xwe({+ width: o,+ height: s+ }));+ }, [+ t,+ n,+ o,+ s+ ]), null;+}, AW = Symbol.for("immer-nothing"), jW = Symbol.for("immer-draftable"), MW = Symbol.for("immer-state");+function NW(e, ...t) {+ throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);}-function WTe(e, t) {- if (typeof e != "object" || !e) return e;- var n = e[Symbol.toPrimitive];- if (n !== void 0) {- var r = n.call(e, t || "default");- if (typeof r != "object") return r;- throw TypeError("@@toPrimitive must return a primitive value.");+var PW = Object.getPrototypeOf;+function FW(e) {+ return !!e && !!e[MW];+}+function IW(e) {+ return e ? RW(e) || Array.isArray(e) || !!e[jW] || !!e.constructor?.[jW] || UW(e) || WW(e) : !1;+}+var uTe = Object.prototype.constructor.toString(), LW = /* @__PURE__ */ new WeakMap();+function RW(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 = LW.get(n);+ return r === void 0 && (r = Function.toString.call(n), LW.set(n, r)), r === uTe;+}+function zW(e, t, n = !0) {+ BW(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 BW(e) {+ let t = e[MW];+ return t ? t.type_ : Array.isArray(e) ? 1 : UW(e) ? 2 : WW(e) ? 3 : 0;+}+function VW(e, t) {+ return BW(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);+}+function HW(e, t, n) {+ let r = BW(e);+ r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;+}+function dTe(e, t) {+ return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;+}+function UW(e) {+ return e instanceof Map;+}+function WW(e) {+ return e instanceof Set;+}+function GW(e) {+ return e.copy_ || e.base_;+}+function KW(e, t) {+ if (UW(e)) return new Map(e);+ if (WW(e)) return new Set(e);+ if (Array.isArray(e)) return Array.prototype.slice.call(e);+ let n = RW(e);+ if (t === !0 || t === "class_only" && !n) {+ let t = Object.getOwnPropertyDescriptors(e);+ delete t[MW];+ let n = Reflect.ownKeys(t);+ for (let r = 0; r < n.length; r++) {+ let i = n[r], a = t[i];+ a.writable === !1 && (a.writable = !0, a.configurable = !0), (a.get || a.set) && (t[i] = {+ configurable: !0,+ writable: !0,+ enumerable: a.enumerable,+ value: e[i]+ });+ }+ return Object.create(PW(e), t);+ }+ {+ let t = PW(e);+ if (t !== null && n) return { ...e };+ let r = Object.create(t);+ return Object.assign(r, e);}- return (t === "string" ? String : Number)(e);}-function GTe(e, t) {- if (e == null) return {};- var n, r, i = KTe(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]);+function qW(e, t = !1) {+ return YW(e) || FW(e) || !IW(e) ? e : (BW(e) > 1 && Object.defineProperties(e, {+ set: JW,+ add: JW,+ clear: JW,+ delete: JW+ }), Object.freeze(e), t && Object.values(e).forEach((e) => qW(e, !0)), e);+}+function fTe() {+ NW(2);+}+var JW = { value: fTe };+function YW(e) {+ return typeof e != "object" || !e || Object.isFrozen(e);+}+var pTe = {};+function XW(e) {+ let t = pTe[e];+ return t || NW(0, e), t;+}+var ZW;+function QW() {+ return ZW;+}+function mTe(e, t) {+ return {+ drafts_: [],+ parent_: e,+ immer_: t,+ canAutoFreeze_: !0,+ unfinalizedDrafts_: 0+ };+}+function $W(e, t) {+ t && (XW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);+}+function eG(e) {+ tG(e), e.drafts_.forEach(hTe), e.drafts_ = null;+}+function tG(e) {+ e === ZW && (ZW = e.parent_);+}+function nG(e) {+ return ZW = mTe(ZW, e);+}+function hTe(e) {+ let t = e[MW];+ t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;+}+function rG(e, t) {+ t.unfinalizedDrafts_ = t.drafts_.length;+ let n = t.drafts_[0];+ return e !== void 0 && e !== n ? (n[MW].modified_ && (eG(t), NW(4)), IW(e) && (e = iG(t, e), t.parent_ || oG(t, e)), t.patches_ && XW("Patches").generateReplacementPatches_(n[MW].base_, e, t.patches_, t.inversePatches_)) : e = iG(t, n, []), eG(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === AW ? void 0 : e;+}+function iG(e, t, n) {+ if (YW(t)) return t;+ let r = e.immer_.shouldUseStrictIteration(), i = t[MW];+ if (!i) return zW(t, (r, a) => aG(e, i, t, r, a, n), r), t;+ if (i.scope_ !== e) return t;+ if (!i.modified_) return oG(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) => aG(e, i, t, r, a, n, o), r), oG(e, t, !1), n && e.patches_ && XW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);}- return i;+ return i.copy_;}-function KTe(e, t) {- if (e == null) return {};- var n = {};- for (var r in e) if ({}.hasOwnProperty.call(e, r)) {- if (t.indexOf(r) !== -1) continue;- n[r] = e[r];+function aG(e, t, n, r, i, a, o) {+ if (i == null || typeof i != "object" && !o) return;+ let s = YW(i);+ if (!(s && !o)) {+ if (FW(i)) {+ let o = iG(e, i, a && t && t.type_ !== 3 && !VW(t.assigned_, r) ? a.concat(r) : void 0);+ if (HW(n, r, o), FW(o)) e.canAutoFreeze_ = !1;+ else return;+ } else o && n.add(i);+ if (IW(i) && !s) {+ if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;+ iG(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (UW(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && oG(e, i);+ }}- return n;}-var qTe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, JTe = (e) => {- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = GTe(e, BTe), l = VTe({- x: t,- y: n,- top: r,- left: i,- width: a,- height: o- }, c);- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ B.createElement("path", xG({}, WR(l), {- className: _h("recharts-cross", s),- d: qTe(t, n, a, o, r, i)- }));+function oG(e, t, n = !1) {+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && qW(t, n);+}+function gTe(e, t) {+ let n = Array.isArray(e), r = {+ type_: +!!n,+ scope_: t ? t.scope_ : QW(),+ modified_: !1,+ finalized_: !1,+ assigned_: {},+ parent_: t,+ base_: e,+ draft_: null,+ copy_: null,+ revoke_: null,+ isManual_: !1+ }, i = r, a = sG;+ n && (i = [r], a = cG);+ let { revoke: o, proxy: s } = Proxy.revocable(i, a);+ return r.draft_ = s, r.revoke_ = o, s;+}+var sG = {+ get(e, t) {+ if (t === MW) return e;+ let n = GW(e);+ if (!VW(n, t)) return _Te(e, n, t);+ let r = n[t];+ return e.finalized_ || !IW(r) ? r : r === lG(e.base_, t) ? (fG(e), e.copy_[t] = pG(r, e)) : r;+ },+ has(e, t) {+ return t in GW(e);+ },+ ownKeys(e) {+ return Reflect.ownKeys(GW(e));+ },+ set(e, t, n) {+ let r = uG(GW(e), t);+ if (r?.set) return r.set.call(e.draft_, n), !0;+ if (!e.modified_) {+ let r = lG(GW(e), t), i = r?.[MW];+ if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;+ if (dTe(n, r) && (n !== void 0 || VW(e.base_, t))) return !0;+ fG(e), dG(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 lG(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, fG(e), dG(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;+ },+ getOwnPropertyDescriptor(e, t) {+ let n = GW(e), r = Reflect.getOwnPropertyDescriptor(n, t);+ return r && {+ writable: !0,+ configurable: e.type_ !== 1 || t !== "length",+ enumerable: r.enumerable,+ value: n[t]+ };+ },+ defineProperty() {+ NW(11);+ },+ getPrototypeOf(e) {+ return PW(e.base_);+ },+ setPrototypeOf() {+ NW(12);+ }+}, cG = {};+zW(sG, (e, t) => {+ cG[e] = function() {+ return arguments[0] = arguments[0][0], t.apply(this, arguments);+ };+}), cG.deleteProperty = function(e, t) {+ return cG.set.call(this, e, t, void 0);+}, cG.set = function(e, t, n) {+ return sG.set.call(this, e[0], t, n, e[0]);+};+function lG(e, t) {+ let n = e[MW];+ return (n ? GW(n) : e)[t];+}+function _Te(e, t, n) {+ let r = uG(t, n);+ return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;+}+function uG(e, t) {+ if (!(t in e)) return;+ let n = PW(e);+ for (; n;) {+ let e = Object.getOwnPropertyDescriptor(n, t);+ if (e) return e;+ n = PW(n);+ }+}+function dG(e) {+ e.modified_ || (e.modified_ = !0, e.parent_ && dG(e.parent_));+}+function fG(e) {+ e.copy_ ||= KW(e.base_, e.scope_.immer_.useStrictShallowCopy_);+}+var vTe = class {+ constructor(e) {+ this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {+ if (typeof e == "function" && typeof t != "function") {+ let n = t;+ t = e;+ let r = this;+ return function(e = n, ...i) {+ return r.produce(e, (e) => t.call(this, e, ...i));+ };+ }+ typeof t != "function" && NW(6), n !== void 0 && typeof n != "function" && NW(7);+ let r;+ if (IW(e)) {+ let i = nG(this), a = pG(e, void 0), o = !0;+ try {+ r = t(a), o = !1;+ } finally {+ o ? eG(i) : tG(i);+ }+ return $W(i, n), rG(r, i);+ }+ if (!e || typeof e != "object") {+ if (r = t(e), r === void 0 && (r = e), r === AW && (r = void 0), this.autoFreeze_ && qW(r, !0), n) {+ let t = [], i = [];+ XW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);+ }+ return r;+ }+ NW(1, e);+ }, this.produceWithPatches = (e, t) => {+ if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));+ let n, r;+ return [+ this.produce(e, t, (e, t) => {+ n = e, r = t;+ }),+ n,+ r+ ];+ }, 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) {+ IW(e) || NW(8), FW(e) && (e = yTe(e));+ let t = nG(this), n = pG(e, void 0);+ return n[MW].isManual_ = !0, tG(t), n;+ }+ finishDraft(e, t) {+ let n = e && e[MW];+ (!n || !n.isManual_) && NW(9);+ let { scope_: r } = n;+ return $W(r, t), rG(void 0, r);+ }+ setAutoFreeze(e) {+ this.autoFreeze_ = e;+ }+ setUseStrictShallowCopy(e) {+ this.useStrictShallowCopy_ = e;+ }+ setUseStrictIteration(e) {+ this.useStrictIteration_ = e;+ }+ shouldUseStrictIteration() {+ return this.useStrictIteration_;+ }+ applyPatches(e, t) {+ let n;+ for (n = t.length - 1; n >= 0; n--) {+ let r = t[n];+ if (r.path.length === 0 && r.op === "replace") {+ e = r.value;+ break;+ }+ }+ n > -1 && (t = t.slice(n + 1));+ let r = XW("Patches").applyPatches_;+ return FW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));+ }};+function pG(e, t) {+ let n = UW(e) ? XW("MapSet").proxyMap_(e, t) : WW(e) ? XW("MapSet").proxySet_(e, t) : gTe(e, t);+ return (t ? t.scope_ : QW()).drafts_.push(n), n;+}+function yTe(e) {+ return FW(e) || NW(10, e), mG(e);+}+function mG(e) {+ if (!IW(e) || YW(e)) return e;+ let t = e[MW], n, r = !0;+ if (t) {+ if (!t.modified_) return t.base_;+ t.finalized_ = !0, n = KW(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();+ } else n = KW(e, !0);+ return zW(n, (e, t) => {+ HW(n, e, mG(t));+ }, r), t && (t.finalized_ = !1), n;+}+new vTe().produce;+function hG(e) {+ return e;+}//#endregion-//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js-function YTe(e, t, n, r) {- var i = r / 2;+//#region node_modules/recharts/es6/state/legendSlice.js+var gG = iU({+ name: "legend",+ initialState: {+ settings: {+ layout: "horizontal",+ align: "center",+ verticalAlign: "middle",+ itemSorter: "value"+ },+ size: {+ width: 0,+ height: 0+ },+ payload: []+ },+ reducers: {+ setLegendSize(e, t) {+ e.size.width = t.payload.width, e.size.height = t.payload.height;+ },+ setLegendSettings(e, t) {+ e.settings.align = t.payload.align, e.settings.layout = t.payload.layout, e.settings.verticalAlign = t.payload.verticalAlign, e.settings.itemSorter = t.payload.itemSorter;+ },+ addLegendPayload: {+ reducer(e, t) {+ e.payload.push(hG(t.payload));+ },+ prepare: eU()+ },+ replaceLegendPayload: {+ reducer(e, t) {+ var { prev: n, next: r } = t.payload, i = GH(e).payload.indexOf(hG(n));+ i > -1 && (e.payload[i] = hG(r));+ },+ prepare: eU()+ },+ removeLegendPayload: {+ reducer(e, t) {+ var n = GH(e).payload.indexOf(hG(t.payload));+ n > -1 && e.payload.splice(n, 1);+ },+ prepare: eU()+ }+ }+}), { setLegendSize: _G, setLegendSettings: bTe, addLegendPayload: vG, replaceLegendPayload: yG, removeLegendPayload: bG } = gG.actions, xTe = gG.reducer, STe = /* @__PURE__ */ xt(((e) => {+ var t = Ot();+ t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;+}));+(/* @__PURE__ */ xt(((e, t) => {+ t.exports = STe();+})))();+function CTe(e) {+ e();+}+function wTe() {+ let e = null, t = null;return {- stroke: "none",- fill: "#ccc",- x: e === "horizontal" ? t.x - i : n.left + .5,- y: e === "horizontal" ? n.top + .5 : t.y - i,- width: e === "horizontal" ? r : n.width - 1,- height: e === "horizontal" ? n.height - 1 : r+ clear() {+ e = null, t = null;+ },+ notify() {+ CTe(() => {+ let t = e;+ for (; t;) t.callback(), t = t.next;+ });+ },+ get() {+ let t = [], n = e;+ for (; n;) t.push(n), n = n.next;+ return t;+ },+ subscribe(n) {+ let r = !0, i = t = {+ callback: n,+ next: null,+ prev: t+ };+ return i.prev ? i.prev.next = i : e = i, function() {+ !r || e === null || (r = !1, i.next ? i.next.prev = i.prev : t = i.prev, i.prev ? i.prev.next = i.next : e = i.next);+ };+ }};}-//#endregion-//#region node_modules/recharts/es6/animation/util.js+var xG = {+ notify() {},+ get: () => []+};+function TTe(e, t) {+ let n, r = xG, i = 0, a = !1;+ function o(e) {+ u();+ let t = r.subscribe(e), n = !1;+ return () => {+ n || (n = !0, t(), d());+ };+ }+ function s() {+ r.notify();+ }+ function c() {+ m.onStateChange && m.onStateChange();+ }+ function l() {+ return a;+ }+ function u() {+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = wTe());+ }+ function d() {+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = xG);+ }+ function f() {+ a || (a = !0, u());+ }+ function p() {+ a && (a = !1, d());+ }+ let m = {+ addNestedSub: o,+ notifyNestedSubs: s,+ handleChangeWrapper: c,+ isSubscribed: l,+ trySubscribe: f,+ tryUnsubscribe: p,+ getListeners: () => r+ };+ return m;+}+var ETe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, DTe = typeof navigator < "u" && navigator.product === "ReactNative", OTe = ETe || DTe ? B.useLayoutEffect : B.useEffect;+function SG(e, t) {+ return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;+}+function kTe(e, t) {+ if (SG(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]) || !SG(e[n[r]], t[n[r]])) return !1;+ return !0;+}+var ATe = /* @__PURE__ */ Symbol.for("react-redux-context"), jTe = typeof globalThis < "u" ? globalThis : {};+function MTe() {+ if (!B.createContext) return {};+ let e = jTe[ATe] ??= /* @__PURE__ */ new Map(), t = e.get(B.createContext);+ return t || (t = B.createContext(null), e.set(B.createContext, t)), t;+}+var NTe = /* @__PURE__ */ MTe();+function PTe(e) {+ let { children: t, context: n, serverState: r, store: i } = e, a = B.useMemo(() => {+ let e = TTe(i);+ return {+ store: i,+ subscription: e,+ getServerState: r ? () => r : void 0+ };+ }, [i, r]), o = B.useMemo(() => i.getState(), [i]);+ OTe(() => {+ 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 || NTe;+ return /* @__PURE__ */ B.createElement(s.Provider, { value: a }, t);+}+var FTe = PTe, ITe = /* @__PURE__ */ new Set([+ "axisLine",+ "tickLine",+ "activeBar",+ "activeDot",+ "activeLabel",+ "activeShape",+ "allowEscapeViewBox",+ "background",+ "cursor",+ "dot",+ "label",+ "line",+ "margin",+ "padding",+ "position",+ "shape",+ "style",+ "tick",+ "wrapperStyle",+ "radius",+ "throttledEvents"+]);+function LTe(e, t) {+ return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;+}function CG(e, t) {+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (ITe.has(n)) {+ if (e[n] == null && t[n] == null) continue;+ if (!kTe(e[n], t[n])) return !1;+ } else if (!LTe(e[n], t[n])) return !1;+ return !0;+}+//#endregion+//#region node_modules/recharts/es6/component/Legend.js+var RTe = ["contextPayload"];+function wG() {+ return wG = 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;+ }, wG.apply(null, arguments);+}+function TG(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -56825,30 +57621,30 @@ function CG(e, t) {}return n;}-function wG(e) {+function EG(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? CG(Object(n), !0).forEach(function(t) {- XTe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : CG(Object(n)).forEach(function(t) {+ t % 2 ? TG(Object(n), !0).forEach(function(t) {+ zTe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TG(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function XTe(e, t, n) {- return (t = ZTe(t)) in e ? Object.defineProperty(e, t, {+function zTe(e, t, n) {+ return (t = BTe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function ZTe(e) {- var t = QTe(e, "string");+function BTe(e) {+ var t = VTe(e, "string");return typeof t == "symbol" ? t : t + "";}-function QTe(e, t) {+function VTe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -56858,10 +57654,403 @@ function QTe(e, t) {}return (t === "string" ? String : Number)(e);}-var $Te = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), TG = (e, t, n) => e.map((e) => `${$Te(e)} ${t}ms ${n}`).join(","), eEe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), EG = (e, t) => Object.keys(t).reduce((n, r) => wG(wG({}, n), {}, { [r]: e(r, t[r]) }), {});-//#endregion-//#region node_modules/recharts/es6/animation/configUpdate.js-function DG(e, t) {+function HTe(e, t) {+ if (e == null) return {};+ var n, r, i = UTe(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 UTe(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+function WTe(e) {+ return e.value;+}+function GTe(e) {+ var { contextPayload: t } = e, n = HTe(e, RTe), r = _V(t, e.payloadUniqBy, WTe), i = EG(EG({}, 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 KTe(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 }), EG(EG({}, l), u);+}+function qTe(e) {+ var t = yV();+ return (0, B.useEffect)(() => {+ t(bTe(e));+ }, [t, e]), null;+}+function JTe(e) {+ var t = yV();+ return (0, B.useEffect)(() => (t(_G(e)), () => {+ t(_G({+ width: 0,+ height: 0+ }));+ }), [t, e]), null;+}+function YTe(e, t, n, r) {+ return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;+}+var XTe = {+ align: "center",+ iconSize: 14,+ inactiveColor: "#ccc",+ itemSorter: "value",+ layout: "horizontal",+ verticalAlign: "bottom"+};+function ZTe(e) {+ var t = UB(e, XTe), n = TCe(), r = fxe(), i = cTe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = AV([n]), d = SW(), f = CW();+ if (d == null || f == null) return null;+ var p = d - (i?.left || 0) - (i?.right || 0), m = YTe(t.layout, o, a, p), h = c ? s : EG(EG({+ position: "absolute",+ width: m?.width || a || "auto",+ height: m?.height || o || "auto"+ }, KTe(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(qTe, {+ layout: t.layout,+ align: t.align,+ verticalAlign: t.verticalAlign,+ itemSorter: t.itemSorter+ }), !c && /*#__PURE__*/ B.createElement(JTe, {+ width: l.width,+ height: l.height+ }), /*#__PURE__*/ B.createElement(GTe, wG({}, t, m, {+ margin: i,+ chartWidth: d,+ chartHeight: f,+ contextPayload: n+ })));+ return /*#__PURE__*/ (0, $f.createPortal)(_, g);+}+var DG = /*#__PURE__*/ B.memo(ZTe, CG);+DG.displayName = "Legend";+//#endregion+//#region node_modules/recharts/es6/component/DefaultTooltipContent.js+function OG() {+ return OG = 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;+ }, OG.apply(null, arguments);+}+function kG(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function AG(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? kG(Object(n), !0).forEach(function(t) {+ QTe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kG(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function QTe(e, t, n) {+ return (t = $Te(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function $Te(e) {+ var t = eEe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function eEe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function tEe(e) {+ return Array.isArray(e) && wB(e[0]) && wB(e[1]) ? e.join(" ~ ") : e;+}+var jG = {+ separator: " : ",+ contentStyle: {+ margin: 0,+ padding: 10,+ backgroundColor: "#fff",+ border: "1px solid #ccc",+ whiteSpace: "nowrap"+ },+ itemStyle: {+ display: "block",+ paddingTop: 4,+ paddingBottom: 4,+ color: "#000"+ },+ labelStyle: {},+ accessibilityLayer: !1+};+function nEe(e, t) {+ return t == null ? e : DV(e, t);+}+var rEe = (e) => {+ var { separator: t = jG.separator, contentStyle: n, itemStyle: r, labelStyle: i = jG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = jG.accessibilityLayer } = e, p = () => {+ if (a && a.length) {+ var e = {+ padding: 0,+ margin: 0+ }, n = nEe(a, s).map((e, n) => {+ if (e.type === "none") return null;+ var i = e.formatter || o || tEe, { 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 = AG(AG({}, jG.itemStyle), {}, { color: e.color || jG.itemStyle.color }, r);+ return /*#__PURE__*/ B.createElement("li", {+ className: "recharts-tooltip-item",+ key: `tooltip-item-${n}`,+ style: f+ }, wB(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, wB(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",+ style: e+ }, n);+ }+ return null;+ }, m = AG(AG({}, jG.contentStyle), n), h = AG({ margin: 0 }, i), g = !AB(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", OG({+ className: v,+ style: m+ }, b), /*#__PURE__*/ B.createElement("p", {+ className: y,+ style: h+ }, /*#__PURE__*/ B.isValidElement(_) ? _ : `${_}`), p());+}, MG = "recharts-tooltip-wrapper", iEe = { visibility: "hidden" };+function aEe(e) {+ var { coordinate: t, translateX: n, translateY: r } = e;+ return _h(MG, {+ [`${MG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,+ [`${MG}-left`]: Z(n) && t && Z(t.x) && n < t.x,+ [`${MG}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,+ [`${MG}-top`]: Z(r) && t && Z(t.y) && r < t.y+ });+}+function NG(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;+ if (t[r]) return o[r] ? u : d;+ 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 oEe(e) {+ var { translateX: t, translateY: n, useTranslate3d: r } = e;+ return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };+}+function sEe(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 = NG({+ allowEscapeViewBox: t,+ coordinate: n,+ key: "x",+ offset: i,+ position: a,+ reverseDirection: o,+ tooltipDimension: s.width,+ viewBox: l,+ viewBoxDimension: l.width+ }), f = NG({+ allowEscapeViewBox: t,+ coordinate: n,+ key: "y",+ offset: r,+ position: a,+ reverseDirection: o,+ tooltipDimension: s.height,+ viewBox: l,+ viewBoxDimension: l.height+ }), u = oEe({+ translateX: d,+ translateY: f,+ useTranslate3d: c+ })) : u = iEe, {+ cssProperties: u,+ cssClasses: aEe({+ translateX: d,+ translateY: f,+ coordinate: n+ })+ };+}+var PG = {+ devToolsEnabled: !0,+ isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)+};+//#endregion+//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js+function FG() {+ var [e, t] = (0, B.useState)(() => PG.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 = () => {+ t(e.matches);+ };+ return e.addEventListener("change", n), () => {+ e.removeEventListener("change", n);+ };+ }+ }, []), e;+}+//#endregion+//#region node_modules/recharts/es6/component/TooltipBoundingBox.js+function IG(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function LG(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? IG(Object(n), !0).forEach(function(t) {+ cEe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IG(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function cEe(e, t, n) {+ return (t = lEe(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function lEe(e) {+ var t = uEe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function uEe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function dEe(e) {+ if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;+}+function fEe(e) {+ var t = FG(), [n, r] = B.useState(() => ({+ dismissed: !1,+ dismissedAtCoordinate: {+ x: 0,+ y: 0+ }+ }));+ B.useEffect(() => {+ var t = (t) => {+ t.key === "Escape" && r({+ dismissed: !0,+ dismissedAtCoordinate: {+ x: e.coordinate?.x ?? 0,+ y: e.coordinate?.y ?? 0+ }+ });+ };+ 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(LG(LG({}, n), {}, { dismissed: !1 }));+ var { cssClasses: i, cssProperties: a } = sEe({+ allowEscapeViewBox: e.allowEscapeViewBox,+ coordinate: e.coordinate,+ offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,+ offsetTop: typeof e.offset == "number" ? e.offset : e.offset.y,+ position: e.position,+ reverseDirection: e.reverseDirection,+ tooltipBox: {+ height: e.lastBoundingBox.height,+ width: e.lastBoundingBox.width+ },+ useTranslate3d: e.useTranslate3d,+ viewBox: e.viewBox+ }), o = LG(LG({}, e.hasPortalFromProps ? {} : LG(LG({ transition: dEe({+ prefersReducedMotion: t,+ isAnimationActive: e.isAnimationActive,+ active: e.active,+ animationDuration: e.animationDuration,+ animationEasing: e.animationEasing+ }) }, a), {}, {+ pointerEvents: "none",+ position: "absolute",+ top: 0,+ left: 0+ })), {}, { visibility: !n.dismissed && e.active && e.hasPayload ? "visible" : "hidden" }, e.wrapperStyle);+ return /*#__PURE__*/ B.createElement("div", {+ xmlns: "http://www.w3.org/1999/xhtml",+ tabIndex: -1,+ className: i,+ style: o,+ ref: e.innerRef+ }, e.children);+}+var pEe = /*#__PURE__*/ B.memo(fEe), RG = () => 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) {+ 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);+}+function BG(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -56871,30 +58060,30 @@ function DG(e, t) {}return n;}-function OG(e) {+function VG(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? DG(Object(n), !0).forEach(function(t) {- tEe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DG(Object(n)).forEach(function(t) {+ t % 2 ? BG(Object(n), !0).forEach(function(t) {+ mEe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BG(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function tEe(e, t, n) {- return (t = nEe(t)) in e ? Object.defineProperty(e, t, {+function mEe(e, t, n) {+ return (t = hEe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function nEe(e) {- var t = rEe(e, "string");+function hEe(e) {+ var t = gEe(e, "string");return typeof t == "symbol" ? t : t + "";}-function rEe(e, t) {+function gEe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -56904,51 +58093,295 @@ function rEe(e, t) {}return (t === "string" ? String : Number)(e);}-var kG = (e, t, n) => e + (t - e) * n, AG = (e) => {+var HG = {+ curveBasisClosed: Axe,+ curveBasisOpen: jxe,+ curveBasis: kxe,+ curveBumpX: hxe,+ curveBumpY: gxe,+ curveLinearClosed: Mxe,+ curveLinear: Fz,+ curveMonotoneX: Nxe,+ curveMonotoneY: Pxe,+ curveNatural: Fxe,+ curveStep: Ixe,+ curveStepAfter: Rxe,+ curveStepBefore: Lxe+}, UG = (e) => NU(e.x) && NU(e.y), WG = (e) => e.base != null && UG(e.base) && UG(e), GG = (e) => e.x, KG = (e) => e.y, _Ee = (e, t) => {+ if (typeof e == "function") return e;+ var n = `curve${jB(e)}`;+ if ((n === "curveMonotone" || n === "curveBump") && t) {+ var r = HG[`${n}${t === "vertical" ? "Y" : "X"}`];+ if (r) return r;+ }+ return HG[n] || Fz;+}, qG = {+ connectNulls: !1,+ type: "linear"+}, vEe = (e) => {+ var { type: t = qG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = qG.connectNulls } = e, o = _Ee(t, i), s = a ? n.filter(UG) : n;+ if (Array.isArray(r)) {+ var c, l = n.map((e, t) => VG(VG({}, e), {}, { base: r[t] }));+ return c = i === "vertical" ? zz().y(KG).x1(GG).x0((e) => e.base.x) : zz().x(GG).y1(KG).y0((e) => e.base.y), c.defined(WG).curve(o)(a ? l.filter(WG) : l);+ }+ return (i === "vertical" && Z(r) ? zz().y(KG).x1(GG).x0(r) : Z(r) ? zz().x(GG).y1(KG).y0(r) : Rz().x(GG).y(KG)).defined(UG).curve(o)(s);+}, JG = (e) => {+ var { className: t, points: n, path: r, pathRef: i } = e, a = TW();+ if ((!n || !n.length) && !r) return null;+ var o = {+ type: e.type,+ points: e.points,+ baseLine: e.baseLine,+ layout: e.layout || a,+ connectNulls: e.connectNulls+ }, s = n && n.length ? vEe(o) : r;+ return /*#__PURE__*/ B.createElement("path", zG({}, pz(e), BB(e), {+ className: _h("recharts-curve", t),+ d: s === null ? void 0 : s,+ ref: i+ }));+}, yEe = [+ "x",+ "y",+ "top",+ "left",+ "width",+ "height",+ "className"+];+function YG() {+ return YG = 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;+ }, YG.apply(null, arguments);+}+function XG(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function bEe(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? XG(Object(n), !0).forEach(function(t) {+ xEe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XG(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function xEe(e, t, n) {+ return (t = SEe(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");+ return typeof t == "symbol" ? t : t + "";+}+function CEe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+function wEe(e, t) {+ if (e == null) return {};+ var n, r, i = TEe(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 TEe(e, t) {+ if (e == null) return {};+ var n = {};+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {+ if (t.indexOf(r) !== -1) continue;+ n[r] = e[r];+ }+ return n;+}+var EEe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, DEe = (e) => {+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = wEe(e, yEe), l = bEe({+ x: t,+ y: n,+ top: r,+ left: i,+ width: a,+ height: o+ }, c);+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ B.createElement("path", YG({}, hz(l), {+ className: _h("recharts-cross", s),+ d: EEe(t, n, a, o, r, i)+ }));+};+//#endregion+//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js+function OEe(e, t, n, r) {+ var i = r / 2;+ return {+ stroke: "none",+ fill: "#ccc",+ x: e === "horizontal" ? t.x - i : n.left + .5,+ y: e === "horizontal" ? n.top + .5 : t.y - i,+ width: e === "horizontal" ? r : n.width - 1,+ height: e === "horizontal" ? n.height - 1 : r+ };+}+//#endregion+//#region node_modules/recharts/es6/animation/util.js+function ZG(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function QG(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? ZG(Object(n), !0).forEach(function(t) {+ kEe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZG(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, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function AEe(e) {+ var t = jEe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function jEe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var MEe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), $G = (e, t, n) => e.map((e) => `${MEe(e)} ${t}ms ${n}`).join(","), NEe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), eK = (e, t) => Object.keys(t).reduce((n, r) => QG(QG({}, n), {}, { [r]: e(r, t[r]) }), {});+//#endregion+//#region node_modules/recharts/es6/animation/configUpdate.js+function tK(e, t) {+ var n = Object.keys(e);+ if (Object.getOwnPropertySymbols) {+ var r = Object.getOwnPropertySymbols(e);+ t && (r = r.filter(function(t) {+ return Object.getOwnPropertyDescriptor(e, t).enumerable;+ })), n.push.apply(n, r);+ }+ return n;+}+function nK(e) {+ for (var t = 1; t < arguments.length; t++) {+ var n = arguments[t] == null ? {} : arguments[t];+ t % 2 ? tK(Object(n), !0).forEach(function(t) {+ PEe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tK(Object(n)).forEach(function(t) {+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));+ });+ }+ return e;+}+function PEe(e, t, n) {+ return (t = FEe(t)) in e ? Object.defineProperty(e, t, {+ value: n,+ enumerable: !0,+ configurable: !0,+ writable: !0+ }) : e[t] = n, e;+}+function FEe(e) {+ var t = IEe(e, "string");+ return typeof t == "symbol" ? t : t + "";+}+function IEe(e, t) {+ if (typeof e != "object" || !e) return e;+ var n = e[Symbol.toPrimitive];+ if (n !== void 0) {+ var r = n.call(e, t || "default");+ if (typeof r != "object") return r;+ throw TypeError("@@toPrimitive must return a primitive value.");+ }+ return (t === "string" ? String : Number)(e);+}+var rK = (e, t, n) => e + (t - e) * n, iK = (e) => {var { from: t, to: n } = e;return t !== n;-}, jG = (e, t, n) => {- var r = EG((t, n) => {- if (AG(n)) {+}, aK = (e, t, n) => {+ var r = eK((t, n) => {+ if (iK(n)) {var [r, i] = e(n.from, n.to, n.velocity);- return OG(OG({}, n), {}, {+ return nK(nK({}, n), {}, {from: r,velocity: i});}return n;}, t);- return n < 1 ? EG((e, t) => AG(t) && r[e] != null ? OG(OG({}, t), {}, {- velocity: kG(t.velocity, r[e].velocity, n),- from: kG(t.from, r[e].from, n)- }) : t, t) : jG(e, r, n - 1);+ return n < 1 ? eK((e, t) => iK(t) && r[e] != null ? nK(nK({}, t), {}, {+ velocity: rK(t.velocity, r[e].velocity, n),+ from: rK(t.from, r[e].from, n)+ }) : t, t) : aK(e, r, n - 1);};-function iEe(e, t, n, r, i, a) {- var o, s = r.reduce((n, r) => OG(OG({}, n), {}, { [r]: {+function LEe(e, t, n, r, i, a) {+ var o, s = r.reduce((n, r) => nK(nK({}, n), {}, { [r]: {from: e[r],velocity: 0,to: t[r]- } }), {}), c = () => EG((e, t) => t.from, s), l = () => !Object.values(s).filter(AG).length, u = null, d = (r) => {+ } }), {}), c = () => eK((e, t) => t.from, s), l = () => !Object.values(s).filter(iK).length, u = null, d = (r) => {o ||= r;var f = (r - o) / n.dt;- s = jG(n, s, f), i(OG(OG(OG({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));+ s = aK(n, s, f), i(nK(nK(nK({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));};return () => (u = a.setTimeout(d), () => {var e;(e = u) == null || e();});}-function aEe(e, t, n, r, i, a, o) {+function REe(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 : OG(OG({}, n), {}, { [r]: [i, a] });+ return i == null || a == null ? n : nK(nK({}, n), {}, { [r]: [i, a] });}, {}), l, u = (i) => {l ||= i;- var d = (i - l) / r, f = EG((e, t) => kG(...t, n(d)), c);- if (a(OG(OG(OG({}, e), t), f)), d < 1) s = o.setTimeout(u);+ var d = (i - l) / r, f = eK((e, t) => rK(...t, n(d)), c);+ if (a(nK(nK(nK({}, e), t), f)), d < 1) s = o.setTimeout(u);else {- var p = EG((e, t) => kG(...t, n(1)), c);- a(OG(OG(OG({}, e), t), p));+ var p = eK((e, t) => rK(...t, n(1)), c);+ a(nK(nK(nK({}, e), t), p));}};return () => (s = o.setTimeout(u), () => {@@ -56956,15 +58389,15 @@ function aEe(e, t, n, r, i, a, o) {(e = s) == null || e();});}-var oEe = (e, t, n, r, i, a) => {- var o = eEe(e, t);- return n == null ? () => (i(OG(OG({}, e), t)), () => {}) : n.isStepper === !0 ? iEe(e, t, n, o, i, a) : aEe(e, t, n, r, o, i, a);-}, MG = (e, t) => [+var zEe = (e, t, n, r, i, a) => {+ var o = NEe(e, t);+ return n == null ? () => (i(nK(nK({}, e), t)), () => {}) : n.isStepper === !0 ? LEe(e, t, n, o, i, a) : REe(e, t, n, r, o, i, a);+}, oK = (e, t) => [0,3 * e,3 * t - 6 * e,3 * e - 3 * t + 1-], NG = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), PG = (e, t) => (n) => NG(MG(e, t), n), sEe = (e, t) => (n) => NG([...MG(e, t).map((e, t) => e * t).slice(1), 0], n), cEe = (e) => {+], sK = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), cK = (e, t) => (n) => sK(oK(e, t), n), BEe = (e, t) => (n) => sK([...oK(e, t).map((e, t) => e * t).slice(1), 0], n), VEe = (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(",");@@ -56976,7 +58409,7 @@ var oEe = (e, t, n, r, i, a) => {i[2],i[3]];-}, lEe = function() {+}, HEe = function() {var e = [...arguments];if (e.length === 1) switch (e[0]) {case "linear": return [@@ -57010,7 +58443,7 @@ var oEe = (e, t, n, r, i, a) => {1];default:- var t = cEe(e[0]);+ var t = VEe(e[0]);if (t) return t;}return e.length === 4 ? e : [@@ -57019,8 +58452,8 @@ var oEe = (e, t, n, r, i, a) => {1,1];-}, uEe = (e, t, n, r) => {- var i = PG(e, n), a = PG(t, r), o = sEe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {+}, UEe = (e, t, n, r) => {+ var i = cK(e, n), a = cK(t, r), o = BEe(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);@@ -57029,29 +58462,29 @@ var oEe = (e, t, n, r, i, a) => {return a(n);};return c.isStepper = !1, c;-}, FG = function() {- return uEe(...lEe(...arguments));-}, dEe = function() {+}, lK = function() {+ return UEe(...HEe(...arguments));+}, WEe = 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;-}, fEe = (e) => {+}, GEe = (e) => {if (typeof e == "string") switch (e) {case "ease":case "ease-in-out":case "ease-out":case "ease-in":- case "linear": return FG(e);- case "spring": return dEe();- default: if (e.split("(")[0] === "cubic-bezier") return FG(e);+ case "linear": return lK(e);+ case "spring": return WEe();+ default: if (e.split("(")[0] === "cubic-bezier") return lK(e);}return typeof e == "function" ? e : null;};//#endregion//#region node_modules/recharts/es6/animation/AnimationManager.js-function pEe(e) {+function KEe(e) {var t, n = () => null, r = !1, i = null, a = (o) => {if (!r) {if (Array.isArray(o)) {@@ -57082,7 +58515,7 @@ function pEe(e) {}//#endregion//#region node_modules/recharts/es6/animation/timeoutController.js-var mEe = class {+var qEe = 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));@@ -57094,14 +58527,14 @@ var mEe = class {};//#endregion//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js-function hEe() {- return pEe(new mEe());+function JEe() {+ return KEe(new qEe());}//#endregion//#region node_modules/recharts/es6/animation/useAnimationManager.js-var gEe = /*#__PURE__*/ (0, B.createContext)(hEe);-function _Ee(e, t) {- var n = (0, B.useContext)(gEe);+var YEe = /*#__PURE__*/ (0, B.createContext)(JEe);+function XEe(e, t) {+ var n = (0, B.useContext)(YEe);return (0, B.useMemo)(() => t ?? n(e), [e,t,@@ -57110,7 +58543,7 @@ function _Ee(e, t) {}//#endregion//#region node_modules/recharts/es6/animation/JavascriptAnimate.js-var vEe = {+var ZEe = {begin: 0,duration: 1e3,easing: "ease",@@ -57118,14 +58551,14 @@ var vEe = {canBegin: !0,onAnimationEnd: () => {},onAnimationStart: () => {}-}, IG = { t: 0 }, LG = { t: 1 };-function RG(e) {- var t = vB(e, vEe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = sG(), d = n === "auto" ? !oG.isSsr && !u : n, f = _Ee(t.animationId, t.animationManager), [p, m] = (0, B.useState)(d ? IG : LG), h = (0, B.useRef)(null);+}, uK = { t: 0 }, dK = { t: 1 };+function fK(e) {+ var t = UB(e, ZEe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = FG(), d = n === "auto" ? !PG.isSsr && !u : n, f = XEe(t.animationId, t.animationManager), [p, m] = (0, B.useState)(d ? uK : dK), h = (0, B.useRef)(null);return (0, B.useEffect)(() => {- d || m(LG);+ d || m(dK);}, [d]), (0, B.useEffect)(() => {- if (!d || !r) return cB;- var e = oEe(IG, LG, fEe(a), i, m, f.getTimeoutController());+ if (!d || !r) return NB;+ var e = zEe(uK, dK, GEe(a), i, m, f.getTimeoutController());return f.start([c,o,@@ -57150,14 +58583,14 @@ function RG(e) {}//#endregion//#region node_modules/recharts/es6/util/useAnimationId.js-function zG(e) {- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, B.useRef)(eB(t)), r = (0, B.useRef)(e);- return r.current !== e && (n.current = eB(t), r.current = e), n.current;+function pK(e) {+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, B.useRef)(TB(t)), r = (0, B.useRef)(e);+ return r.current !== e && (n.current = TB(t), r.current = e), n.current;}//#endregion//#region node_modules/recharts/es6/shape/Rectangle.js-var yEe = ["radius"], bEe = ["radius"], xEe, SEe, CEe, wEe, TEe, EEe, DEe, OEe, kEe, AEe;-function BG(e, t) {+var QEe = ["radius"], $Ee = ["radius"], eDe, tDe, nDe, rDe, iDe, aDe, oDe, sDe, cDe, lDe;+function mK(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -57167,30 +58600,30 @@ function BG(e, t) {}return n;}-function VG(e) {+function hK(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? BG(Object(n), !0).forEach(function(t) {- jEe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BG(Object(n)).forEach(function(t) {+ t % 2 ? mK(Object(n), !0).forEach(function(t) {+ uDe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mK(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function jEe(e, t, n) {- return (t = MEe(t)) in e ? Object.defineProperty(e, t, {+function uDe(e, t, n) {+ return (t = dDe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function MEe(e) {- var t = NEe(e, "string");+function dDe(e) {+ var t = fDe(e, "string");return typeof t == "symbol" ? t : t + "";}-function NEe(e, t) {+function fDe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -57200,25 +58633,25 @@ function NEe(e, t) {}return (t === "string" ? String : Number)(e);}-function HG() {- return HG = Object.assign ? Object.assign.bind() : function(e) {+function gK() {+ return gK = 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;- }, HG.apply(null, arguments);+ }, gK.apply(null, arguments);}-function UG(e, t) {+function _K(e, t) {if (e == null) return {};- var n, r, i = PEe(e, t);+ var n, r, i = pDe(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 PEe(e, t) {+function pDe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -57227,11 +58660,11 @@ function PEe(e, t) {}return n;}-function WG(e, t) {+function vK(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var GG = (e, t, n, r, i) => {- var a = Jz(n), o = Jz(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 yK = (e, t, n, r, i) => {+ var a = yB(n), o = yB(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,@@ -57242,44 +58675,44 @@ var GG = (e, t, n, r, i) => {var h = i[p] ?? 0;f[p] = h > s ? s : h;}- d = Yz(xEe ||= WG([+ d = bB(eDe ||= vK(["M",",",""- ]), e, t + c * f[0]), f[0] > 0 && (d += Yz(SEe ||= WG([+ ]), e, t + c * f[0]), f[0] > 0 && (d += bB(tDe ||= vK(["A ",",",",0,0,",",",",",""- ]), f[0], f[0], u, e + l * f[0], t)), d += Yz(CEe ||= WG([+ ]), f[0], f[0], u, e + l * f[0], t)), d += bB(nDe ||= vK(["L ",",",""- ]), e + n - l * f[1], t), f[1] > 0 && (d += Yz(wEe ||= WG([+ ]), e + n - l * f[1], t), f[1] > 0 && (d += bB(rDe ||= vK(["A ",",",",0,0,",",\n ",",",""- ]), f[1], f[1], u, e + n, t + c * f[1])), d += Yz(TEe ||= WG([+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += bB(iDe ||= vK(["L ",",",""- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += Yz(EEe ||= WG([+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += bB(aDe ||= vK(["A ",",",",0,0,",",\n ",",",""- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += Yz(DEe ||= WG([+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += bB(oDe ||= vK(["L ",",",""- ]), e + l * f[3], t + r), f[3] > 0 && (d += Yz(OEe ||= WG([+ ]), e + l * f[3], t + r), f[3] > 0 && (d += bB(sDe ||= vK(["A ",",",",0,0,",@@ -57289,8 +58722,8 @@ var GG = (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 = Yz(kEe ||= WG(/* @__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 = Yz(AEe ||= WG([+ d = bB(cDe ||= vK(/* @__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 = bB(lDe ||= vK(["M ",","," h ",@@ -57299,7 +58732,7 @@ var GG = (e, t, n, r, i) => {" Z"]), e, t, n, r, -n);return d;-}, KG = {+}, bK = {x: 0,y: 0,width: 0,@@ -57310,15 +58743,15 @@ var GG = (e, t, n, r, i) => {animationBegin: 0,animationDuration: 1500,animationEasing: "ease"-}, qG = (e) => {- var t = vB(e, KG), n = (0, B.useRef)(null), [r, i] = (0, B.useState)(-1);+}, xK = (e) => {+ var t = UB(e, bK), 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 = zG((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 = pK((0, B.useMemo)(() => ({x: a,y: o,width: s,@@ -57334,19 +58767,19 @@ var GG = (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 = WR(t), { radius: C } = S, w = UG(S, yEe);- return /*#__PURE__*/ B.createElement("path", HG({}, w, {- x: Jz(a),- y: Jz(o),- width: Jz(s),- height: Jz(c),+ var S = hz(t), { radius: C } = S, w = _K(S, QEe);+ return /*#__PURE__*/ B.createElement("path", gK({}, w, {+ x: yB(a),+ y: yB(o),+ width: yB(s),+ height: yB(c),radius: typeof l == "number" ? l : void 0,className: x,- d: GG(a, o, s, c, l)+ d: yK(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 = TG(["strokeDasharray"], f, typeof d == "string" ? d : KG.animationEasing);- return /*#__PURE__*/ B.createElement(RG, {+ 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 = $G(["strokeDasharray"], f, typeof d == "string" ? d : bK.animationEasing);+ return /*#__PURE__*/ B.createElement(fK, {animationId: b,key: b,canBegin: r > 0,@@ -57355,24 +58788,24 @@ var GG = (e, t, n, r, i) => {isActive: h,begin: p}, (e) => {- var r = rB(T, s, e), i = rB(E, c, e), u = rB(D, a, e), d = rB(O, o, e);+ var r = OB(T, s, e), i = OB(E, c, e), u = OB(D, a, e), d = OB(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 = WR(t), { radius: h } = p, b = UG(p, bEe);- return /*#__PURE__*/ B.createElement("path", HG({}, b, {+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = hz(t), { radius: h } = p, b = _K(p, $Ee);+ return /*#__PURE__*/ B.createElement("path", gK({}, b, {radius: typeof l == "number" ? l : void 0,className: x,- d: GG(u, d, r, i, l),+ d: yK(u, d, r, i, l),ref: n,- style: VG(VG({}, f), t.style)+ style: hK(hK({}, f), t.style)}));});};//#endregion//#region node_modules/recharts/es6/util/PolarUtils.js-function JG(e, t) {+function SK(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -57382,30 +58815,30 @@ function JG(e, t) {}return n;}-function YG(e) {+function CK(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) {- FEe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : JG(Object(n)).forEach(function(t) {+ t % 2 ? SK(Object(n), !0).forEach(function(t) {+ mDe(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 FEe(e, t, n) {- return (t = IEe(t)) in e ? Object.defineProperty(e, t, {+function mDe(e, t, n) {+ return (t = hDe(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 hDe(e) {+ var t = gDe(e, "string");return typeof t == "symbol" ? t : t + "";}-function LEe(e, t) {+function gDe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -57415,10 +58848,10 @@ function LEe(e, t) {}return (t === "string" ? String : Number)(e);}-var XG = Math.PI / 180, ZG = (e) => e * Math.PI / 180, REe = (e) => e * 180 / Math.PI, QG = (e, t, n, r) => ({- x: e + Math.cos(-XG * r) * n,- y: t + Math.sin(-XG * r) * n-}), zEe = function(e, t) {+var wK = Math.PI / 180, TK = (e) => e * Math.PI / 180, _De = (e) => e * 180 / Math.PI, EK = (e, t, n, r) => ({+ x: e + Math.cos(-wK * r) * n,+ y: t + Math.sin(-wK * r) * n+}), vDe = function(e, t) {var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {top: 0,right: 0,@@ -57429,11 +58862,11 @@ var XG = Math.PI / 180, ZG = (e) => e * Math.PI / 180, REe = (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;-}, BEe = (e, t) => {+}, yDe = (e, t) => {var { x: n, y: r } = e, { x: i, y: a } = t;return Math.sqrt((n - i) ** 2 + (r - a) ** 2);-}, VEe = (e, t) => {- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = BEe({+}, bDe = (e, t) => {+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = yDe({x: n,y: r}, {@@ -57447,25 +58880,25 @@ var XG = Math.PI / 180, ZG = (e) => e * Math.PI / 180, REe = (e) => e * 180 / Mavar s = (n - i) / o, c = Math.acos(s);return r > a && (c = 2 * Math.PI - c), {radius: o,- angle: REe(c),+ angle: _De(c),angleInRadian: c};-}, HEe = (e) => {+}, xDe = (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};-}, UEe = (e, t) => {+}, SDe = (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;-}, WEe = (e, t) => {- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = VEe({+}, CDe = (e, t) => {+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = bDe({x: n,y: r}, t), { innerRadius: o, outerRadius: s } = t;if (i < o || i > s || i === 0) return null;- var { startAngle: c, endAngle: l } = HEe(t), u = a, d;+ var { startAngle: c, endAngle: l } = xDe(t), u = a, d;if (c <= l) {for (; u > l;) u -= 360;for (; u < c;) u += 360;@@ -57475,17 +58908,17 @@ var XG = Math.PI / 180, ZG = (e) => e * Math.PI / 180, REe = (e) => e * 180 / Mafor (; u < l;) u += 360;d = u >= l && u <= c;}- return d ? YG(YG({}, t), {}, {+ return d ? CK(CK({}, t), {}, {radius: i,- angle: UEe(u, t)+ angle: SDe(u, t)}) : null;};//#endregion//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js-function $G(e) {+function DK(e) {var { cx: t, cy: n, radius: r, startAngle: i, endAngle: a } = e;return {- points: [QG(t, n, r, i), QG(t, n, r, a)],+ points: [EK(t, n, r, i), EK(t, n, r, a)],cx: t,cy: n,radius: r,@@ -57495,29 +58928,29 @@ function $G(e) {}//#endregion//#region node_modules/recharts/es6/shape/Sector.js-var GEe, KEe, qEe, JEe, YEe, XEe, ZEe;-function eK() {- return eK = Object.assign ? Object.assign.bind() : function(e) {+var wDe, TDe, EDe, DDe, ODe, kDe, ADe;+function OK() {+ return OK = 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;- }, eK.apply(null, arguments);+ }, OK.apply(null, arguments);}-function tK(e, t) {+function kK(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (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) / XG, d = c ? i : i + a * u, f = QG(t, n, l, d), p = QG(t, n, r, d), m = c ? i - a * u : i;+var jDe = (e, t) => xB(t - e) * Math.min(Math.abs(t - e), 359.999), AK = (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) / wK, d = c ? i : i + a * u, f = EK(t, n, l, d), p = EK(t, n, r, d), m = c ? i - a * u : i;return {center: f,circleTangency: p,- lineTangency: QG(t, n, l * Math.cos(u * XG), m),+ lineTangency: EK(t, n, l * Math.cos(u * wK), m),theta: u};-}, rK = (e) => {- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = QEe(a, o), c = a + s, l = QG(t, n, i, a), u = QG(t, n, i, c), d = Yz(GEe ||= tK([+}, jK = (e) => {+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = jDe(a, o), c = a + s, l = EK(t, n, i, a), u = EK(t, n, i, c), d = bB(wDe ||= kK(["M ",",","\n A ",@@ -57529,8 +58962,8 @@ var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (e) =>"\n "]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);if (r > 0) {- var f = QG(t, n, r, a), p = QG(t, n, r, c);- d += Yz(KEe ||= tK([+ var f = EK(t, n, r, a), p = EK(t, n, r, c);+ d += bB(TDe ||= kK(["L ",",","\n A ",@@ -57541,14 +58974,14 @@ var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (e) =>","," Z"]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);- } else d += Yz(qEe ||= tK([+ } else d += bB(EDe ||= kK(["L ",","," Z"]), t, n);return d;-}, $Ee = (e) => {- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = Xz(l - c), { circleTangency: d, lineTangency: f, theta: p } = nK({+}, MDe = (e) => {+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = xB(l - c), { circleTangency: d, lineTangency: f, theta: p } = AK({cx: t,cy: n,radius: i,@@ -57556,7 +58989,7 @@ var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (e) =>sign: u,cornerRadius: a,cornerIsExternal: s- }), { circleTangency: m, lineTangency: h, theta: g } = nK({+ }), { circleTangency: m, lineTangency: h, theta: g } = AK({cx: t,cy: n,radius: i,@@ -57565,7 +58998,7 @@ var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (e) =>cornerRadius: a,cornerIsExternal: s}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;- if (_ < 0) return o ? Yz(JEe ||= tK([+ if (_ < 0) return o ? bB(DDe ||= kK(["M ",",","\n a",@@ -57575,7 +59008,7 @@ var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (e) =>",",",0,0,1,",",0\n "- ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : rK({+ ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : jK({cx: t,cy: n,innerRadius: r,@@ -57583,7 +59016,7 @@ var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (e) =>startAngle: c,endAngle: l});- var v = Yz(YEe ||= tK([+ var v = bB(ODe ||= kK(["M ",",","\n A",@@ -57605,7 +59038,7 @@ var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (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 } = nK({+ var { circleTangency: y, lineTangency: b, theta: x } = AK({cx: t,cy: n,radius: r,@@ -57614,7 +59047,7 @@ var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (e) =>isExternal: !0,cornerRadius: a,cornerIsExternal: s- }), { circleTangency: S, lineTangency: C, theta: w } = nK({+ }), { circleTangency: S, lineTangency: C, theta: w } = AK({cx: t,cy: n,radius: r,@@ -57625,7 +59058,7 @@ var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (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 += Yz(XEe ||= tK([+ v += bB(kDe ||= kK(["L",",","\n A",@@ -57646,13 +59079,13 @@ var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (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 += Yz(ZEe ||= tK([+ } else v += bB(ADe ||= kK(["L",",","Z"]), t, n);return v;-}, eDe = {+}, NDe = {cx: 0,cy: 0,innerRadius: 0,@@ -57662,10 +59095,10 @@ var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (e) =>cornerRadius: 0,forceCornerRadius: !1,cornerIsExternal: !1-}, iK = (e) => {- var t = vB(e, eDe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;+}, MK = (e) => {+ var t = UB(e, NDe), { 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 = tB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? $Ee({+ var f = _h("recharts-sector", d), p = a - i, m = EB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? MDe({cx: n,cy: r,innerRadius: i,@@ -57675,7 +59108,7 @@ var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (e) =>cornerIsExternal: c,startAngle: l,endAngle: u- }) : rK({+ }) : jK({cx: n,cy: r,innerRadius: i,@@ -57683,14 +59116,14 @@ var QEe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 359.999), nK = (e) =>startAngle: l,endAngle: u});- return /*#__PURE__*/ B.createElement("path", eK({}, WR(t), {+ return /*#__PURE__*/ B.createElement("path", OK({}, hz(t), {className: f,d: h}));};//#endregion//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js-function tDe(e, t, n) {+function PDe(e, t, n) {if (e === "horizontal") return [{x: t.x,y: n.top@@ -57705,9 +59138,9 @@ function tDe(e, t, n) {x: n.left + n.width,y: t.y}];- if (mB(t)) {+ if (zB(t)) {if (e === "centric") {- var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = QG(r, i, a, s), l = QG(r, i, o, s);+ var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = EK(r, i, a, s), l = EK(r, i, o, s);return [{x: c.x,y: c.y@@ -57716,30 +59149,30 @@ function tDe(e, t, n) {y: l.y}];}- return $G(t);+ return DK(t);}}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs-function nDe(e) {- return Wz(e) ? NaN : Number(e);+function FDe(e) {+ return hB(e) ? NaN : Number(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs-function aK(e) {- return e ? (e = nDe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;+function NK(e) {+ return e ? (e = FDe(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 oK(e, t, n) {- n && typeof n != "number" && ZB(e, t, n) && (t = n = void 0), e = aK(e), t === void 0 ? (t = e, e = 0) : t = aK(t), n = n === void 0 ? e < t ? 1 : -1 : aK(n);+function PK(e, t, n) {+ n && typeof n != "number" && TV(e, t, n) && (t = n = void 0), e = NK(e), t === void 0 ? (t = e, e = 0) : t = NK(t), n = n === void 0 ? e < t ? 1 : -1 : NK(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 sK = (e) => e.chartData, cK = $([sK], (e) => {+var FK = (e) => e.chartData, IK = $([FK], (e) => {var t = e.chartData == null ? 0 : e.chartData.length - 1;return {chartData: e.chartData,@@ -57747,35 +59180,35 @@ var sK = (e) => e.chartData, cK = $([sK], (e) => {dataEndIndex: t,dataStartIndex: 0};-}), lK = (e, t, n, r) => r ? cK(e) : sK(e), uK = (e, t, n) => n ? cK(e) : sK(e);+}), LK = (e, t, n, r) => r ? IK(e) : FK(e), RK = (e, t, n) => n ? IK(e) : FK(e);//#endregion//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js-function dK(e) {+function zK(e) {if (Array.isArray(e) && e.length === 2) {var [t, n] = e;- if (aU(t) && aU(n)) return !0;+ if (NU(t) && NU(n)) return !0;}return !1;}-function fK(e, t, n) {+function BK(e, t, n) {return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];}-function pK(e, t) {+function VK(e, t) {if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {var [n, r] = e, i, a;- if (aU(n)) i = n;+ if (NU(n)) i = n;else if (typeof n == "function") return;- if (aU(r)) a = r;+ if (NU(r)) a = r;else if (typeof r == "function") return;var o = [i, a];- if (dK(o)) return o;+ if (zK(o)) return o;}}-function rDe(e, t, n) {+function IDe(e, t, n) {if (!(!n && t == null)) {if (typeof e == "function" && t != null) try {var r = e(t, n);- if (dK(r)) return fK(r, t, n);+ if (zK(r)) return BK(r, t, n);} catch {}if (Array.isArray(e) && e.length === 2) {var [i, a] = e, o, s;@@ -57784,8 +59217,8 @@ function rDe(e, t, n) {else if (typeof i == "function") try {t != null && (o = i(t?.[0]));} catch {}- else if (typeof i == "string" && vU.test(i)) {- var c = vU.exec(i);+ else if (typeof i == "string" && KU.test(i)) {+ var c = KU.exec(i);if (c == null || c[1] == null || t == null) o = void 0;else {var l = +c[1];@@ -57797,8 +59230,8 @@ function rDe(e, t, n) {else if (typeof a == "function") try {t != null && (s = a(t?.[1]));} catch {}- else if (typeof a == "string" && yU.test(a)) {- var u = yU.exec(a);+ else if (typeof a == "string" && qU.test(a)) {+ var u = qU.exec(a);if (u == null || u[1] == null || t == null) s = void 0;else {var d = +u[1];@@ -57806,13 +59239,13 @@ function rDe(e, t, n) {}} else s = t?.[1];var f = [o, s];- if (dK(f)) return t == null ? f : fK(f, t, n);+ if (zK(f)) return t == null ? f : BK(f, t, n);}}}//#endregion//#region node_modules/recharts/es6/util/scale/util/arithmetic.js-var mK = /* @__PURE__ */ Tt((/* @__PURE__ */ xt(((e, t) => {+var HK = /* @__PURE__ */ Tt((/* @__PURE__ */ xt(((e, t) => {(function(e) {var n = 1e9, r = {precision: 20,@@ -58188,75 +59621,75 @@ var mK = /* @__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 hK(e) {- return e === 0 ? 1 : Math.floor(new mK.default(e).abs().log(10).toNumber()) + 1;+function UK(e) {+ return e === 0 ? 1 : Math.floor(new HK.default(e).abs().log(10).toNumber()) + 1;}-function gK(e, t, n) {- for (var r = new mK.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;+function WK(e, t, n) {+ for (var r = new HK.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 _K = (e) => {+var GK = (e) => {var [t, n] = e, [r, i] = [t, n];return t > n && ([r, i] = [n, t]), [r, i];-}, vK = (e, t, n) => {- if (e.lte(0)) return new mK.default(0);- var r = hK(e.toNumber()), i = new mK.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new mK.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);- return t ? new mK.default(s.toNumber()) : new mK.default(Math.ceil(s.toNumber()));-}, yK = (e, t, n) => {- if (e.lte(0)) return new mK.default(0);+}, KK = (e, t, n) => {+ if (e.lte(0)) return new HK.default(0);+ var r = UK(e.toNumber()), i = new HK.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new HK.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);+ return t ? new HK.default(s.toNumber()) : new HK.default(Math.ceil(s.toNumber()));+}, qK = (e, t, n) => {+ if (e.lte(0)) return new HK.default(0);var r = [1,2,2.5,5- ], i = e.toNumber(), a = Math.floor(new mK.default(i).abs().log(10).toNumber()), o = new mK.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);+ ], i = e.toNumber(), a = Math.floor(new HK.default(i).abs().log(10).toNumber()), o = new HK.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 mK.default(10).pow(l));+ c %= r.length, o = o.mul(new HK.default(10).pow(l));}- var u = r[c] ?? 1, d = new mK.default(u).mul(o);- return t ? d : new mK.default(Math.ceil(d.toNumber()));-}, iDe = (e, t, n) => {- var r = new mK.default(1), i = new mK.default(e);+ var u = r[c] ?? 1, d = new HK.default(u).mul(o);+ return t ? d : new HK.default(Math.ceil(d.toNumber()));+}, LDe = (e, t, n) => {+ var r = new HK.default(1), i = new HK.default(e);if (!i.isint() && n) {var a = Math.abs(e);- a < 1 ? (r = new mK.default(10).pow(hK(e) - 1), i = new mK.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new mK.default(Math.floor(e)));- } else e === 0 ? i = new mK.default(Math.floor((t - 1) / 2)) : n || (i = new mK.default(Math.floor(e)));- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new mK.default(c - o).mul(r)).toNumber());+ a < 1 ? (r = new HK.default(10).pow(UK(e) - 1), i = new HK.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new HK.default(Math.floor(e)));+ } else e === 0 ? i = new HK.default(Math.floor((t - 1) / 2)) : n || (i = new HK.default(Math.floor(e)));+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new HK.default(c - o).mul(r)).toNumber());return s;-}, bK = 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] : vK;+}, JK = 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] : KK;if (!Number.isFinite((t - e) / (n - 1))) return {- step: new mK.default(0),- tickMin: new mK.default(0),- tickMax: new mK.default(0)- };- var o = a(new mK.default(t).sub(e).div(n - 1), r, i), s;- e <= 0 && t >= 0 ? s = new mK.default(0) : (s = new mK.default(e).add(t).div(2), s = s.sub(new mK.default(s).mod(o)));- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new mK.default(t).sub(s).div(o).toNumber()), u = c + l + 1;- return u > n ? bK(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 HK.default(0),+ tickMin: new HK.default(0),+ tickMax: new HK.default(0)+ };+ var o = a(new HK.default(t).sub(e).div(n - 1), r, i), s;+ e <= 0 && t >= 0 ? s = new HK.default(0) : (s = new HK.default(e).add(t).div(2), s = s.sub(new HK.default(s).mod(o)));+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new HK.default(t).sub(s).div(o).toNumber()), u = c + l + 1;+ return u > n ? JK(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 mK.default(c).mul(o)),- tickMax: s.add(new mK.default(l).mul(o))+ tickMin: s.sub(new HK.default(c).mul(o)),+ tickMax: s.add(new HK.default(l).mul(o))});-}, xK = 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]);+}, YK = 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] = GK([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 iDe(s, r, i);- var { step: u, tickMin: d, tickMax: f } = bK(s, c, o, i, 0, a === "snap125" ? yK : vK), p = gK(d, f.add(new mK.default(.1).mul(u)), u);+ if (s === c) return LDe(s, r, i);+ var { step: u, tickMin: d, tickMax: f } = JK(s, c, o, i, 0, a === "snap125" ? qK : KK), p = WK(d, f.add(new HK.default(.1).mul(u)), u);return t > n ? p.reverse() : p;-}, SK = 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]);+}, XK = 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] = GK([n, r]);if (o === -Infinity || s === Infinity) return [n, r];if (o === s) return [o];- var c = a === "snap125" ? yK : vK, l = Math.max(t, 2), u = c(new mK.default(s).sub(o).div(l - 1), i, 0), d = [...gK(new mK.default(o), new mK.default(s), u), s];+ var c = a === "snap125" ? qK : KK, l = Math.max(t, 2), u = c(new HK.default(s).sub(o).div(l - 1), i, 0), d = [...WK(new HK.default(o), new HK.default(s), u), s];return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;-}, CK = (e) => e.rootProps.maxBarSize, wK = (e) => e.rootProps.barGap, TK = (e) => e.rootProps.barCategoryGap, EK = (e) => e.rootProps.barSize, DK = (e) => e.rootProps.stackOffset, OK = (e) => e.rootProps.reverseStackOrder, kK = (e) => e.options.chartName, AK = (e) => e.rootProps.syncId, jK = (e) => e.rootProps.syncMethod, MK = (e) => e.options.eventEmitter, aDe = (e) => e.rootProps.baseValue, NK = {+}, ZK = (e) => e.rootProps.maxBarSize, QK = (e) => e.rootProps.barGap, $K = (e) => e.rootProps.barCategoryGap, eq = (e) => e.rootProps.barSize, tq = (e) => e.rootProps.stackOffset, nq = (e) => e.rootProps.reverseStackOrder, rq = (e) => e.options.chartName, iq = (e) => e.rootProps.syncId, aq = (e) => e.rootProps.syncMethod, oq = (e) => e.options.eventEmitter, RDe = (e) => e.rootProps.baseValue, sq = {grid: -100,barBackground: -50,area: 100,@@ -58269,7 +59702,7 @@ var _K = (e) => {cursorLine: 1100,activeDot: 1200,label: 2e3-}, PK = {+}, cq = {allowDecimals: !1,allowDuplicatedCategory: !0,allowDataOverflow: !1,@@ -58290,8 +59723,8 @@ var _K = (e) => {tickLine: !0,tickSize: 8,type: "auto",- zIndex: NK.axis-}, FK = {+ zIndex: sq.axis+}, lq = {allowDataOverflow: !1,allowDecimals: !1,allowDuplicatedCategory: !0,@@ -58310,19 +59743,19 @@ var _K = (e) => {tickCount: 5,tickLine: !0,type: "auto",- zIndex: NK.axis-}, IK = (e, t) => {+ zIndex: sq.axis+}, uq = (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 LK(e, t, n) {+function dq(e, t, n) {if (n !== "auto") return n;- if (e != null) return uU(e, t) ? "category" : "number";+ if (e != null) return RU(e, t) ? "category" : "number";}//#endregion//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js-function RK(e, t) {+function fq(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -58332,30 +59765,30 @@ function RK(e, t) {}return n;}-function zK(e) {+function pq(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? RK(Object(n), !0).forEach(function(t) {- oDe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : RK(Object(n)).forEach(function(t) {+ t % 2 ? fq(Object(n), !0).forEach(function(t) {+ zDe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fq(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function oDe(e, t, n) {- return (t = sDe(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 sDe(e) {- var t = cDe(e, "string");+function BDe(e) {+ var t = VDe(e, "string");return typeof t == "symbol" ? t : t + "";}-function cDe(e, t) {+function VDe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -58365,81 +59798,81 @@ function cDe(e, t) {}return (t === "string" ? String : Number)(e);}-var BK = {- allowDataOverflow: PK.allowDataOverflow,- allowDecimals: PK.allowDecimals,+var mq = {+ allowDataOverflow: cq.allowDataOverflow,+ allowDecimals: cq.allowDecimals,allowDuplicatedCategory: !1,dataKey: void 0,domain: void 0,- id: PK.angleAxisId,+ id: cq.angleAxisId,includeHidden: !1,name: void 0,- reversed: PK.reversed,- scale: PK.scale,- tick: PK.tick,+ reversed: cq.reversed,+ scale: cq.scale,+ tick: cq.tick,tickCount: void 0,ticks: void 0,- type: PK.type,+ type: cq.type,unit: void 0,niceTicks: "auto"-}, VK = {- allowDataOverflow: FK.allowDataOverflow,- allowDecimals: FK.allowDecimals,- allowDuplicatedCategory: FK.allowDuplicatedCategory,+}, hq = {+ allowDataOverflow: lq.allowDataOverflow,+ allowDecimals: lq.allowDecimals,+ allowDuplicatedCategory: lq.allowDuplicatedCategory,dataKey: void 0,domain: void 0,- id: FK.radiusAxisId,- includeHidden: FK.includeHidden,+ id: lq.radiusAxisId,+ includeHidden: lq.includeHidden,name: void 0,- reversed: FK.reversed,- scale: FK.scale,- tick: FK.tick,- tickCount: FK.tickCount,+ reversed: lq.reversed,+ scale: lq.scale,+ tick: lq.tick,+ tickCount: lq.tickCount,ticks: void 0,- type: FK.type,+ type: lq.type,unit: void 0,niceTicks: "auto"-}, HK = $([(e, t) => {+}, gq = $([(e, t) => {if (t != null) return e.polarAxis.angleAxis[t];-}, $U], (e, t) => {+}, DW], (e, t) => {if (e != null) return e;- var n = LK(t, "angleAxis", BK.type) ?? "category";- return zK(zK({}, BK), {}, { type: n });-}), UK = $([(e, t) => e.polarAxis.radiusAxis[t], $U], (e, t) => {+ var n = dq(t, "angleAxis", mq.type) ?? "category";+ return pq(pq({}, mq), {}, { type: n });+}), _q = $([(e, t) => e.polarAxis.radiusAxis[t], DW], (e, t) => {if (e != null) return e;- var n = LK(t, "radiusAxis", VK.type) ?? "category";- return zK(zK({}, VK), {}, { type: n });-}), WK = (e) => e.polarOptions, GK = $([- CU,- wU,- AU-], zEe), KK = $([WK, GK], (e, t) => {- if (e != null) return tB(e.innerRadius, t, 0);-}), qK = $([WK, GK], (e, t) => {- if (e != null) return tB(e.outerRadius, t, t * .8);-}), JK = $([WK], (e) => {+ var n = dq(t, "radiusAxis", hq.type) ?? "category";+ return pq(pq({}, hq), {}, { type: n });+}), vq = (e) => e.polarOptions, yq = $([+ ZU,+ QU,+ iW+], vDe), bq = $([vq, yq], (e, t) => {+ if (e != null) return EB(e.innerRadius, t, 0);+}), xq = $([vq, yq], (e, t) => {+ if (e != null) return EB(e.outerRadius, t, t * .8);+}), Sq = $([vq], (e) => {if (e == null) return [0, 0];var { startAngle: t, endAngle: n } = e;return [t, n];-}), lDe = $([HK, JK], IK), YK = $([- GK,- KK,- qK+}), HDe = $([gq, Sq], uq), Cq = $([+ yq,+ bq,+ xq], (e, t, n) => {if (e != null && t != null && n != null) return [t, n];-}), uDe = $([UK, YK], IK), XK = $([- XU,- WK,- KK,- qK,- CU,- wU+}), UDe = $([_q, Cq], uq), wq = $([+ wW,+ vq,+ bq,+ xq,+ ZU,+ QU], (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: tB(o, i, i / 2),- cy: tB(s, a, a / 2),+ cx: EB(o, i, i / 2),+ cy: EB(s, a, a / 2),innerRadius: n,outerRadius: r,startAngle: c,@@ -58447,22 +59880,22 @@ var BK = {clockWise: !1};}-}), ZK = (e, t) => t, QK = (e, t, n) => n;+}), Tq = (e, t) => t, Eq = (e, t, n) => n;//#endregion//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js-function $K(e) {+function Dq(e) {return e?.id;}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js-function eq(e, t, n) {+function Oq(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 = $K(e);+ var n = Dq(e);t.forEach((t, r) => {- var s = a == null || i ? r : String(lU(t, a, null)), c = lU(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};+ var s = a == null || i ? r : String(LU(t, a, null)), c = LU(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};Object.assign(l, { [n]: c }), o.set(s, l);});}@@ -58470,18 +59903,18 @@ function eq(e, t, n) {}//#endregion//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js-function tq(e) {+function kq(e) {return "stackId" in e && e.stackId != null && e.dataKey != null;}//#endregion//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js-var nq = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];+var Aq = (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 rq(e, t) {+function jq(e, t) {return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;}-function dDe(e, t) {+function WDe(e, t) {if (e.length === t.length) {for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;return !0;@@ -58490,13 +59923,13 @@ function dDe(e, t) {}//#endregion//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js-var iq = (e) => {- var t = XU(e);+var Mq = (e) => {+ var t = wW(e);return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";-}, aq = (e) => e.tooltip.settings.axisId;+}, Nq = (e) => e.tooltip.settings.axisId;//#endregion//#region node_modules/recharts/es6/util/scale/RechartsScale.js-function oq(e) {+function Pq(e) {if (e != null) {var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];return {@@ -58537,13 +59970,13 @@ function oq(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js-var sq = (e, t) => {+var Fq = (e, t) => {if (t != null) switch (e) {case "linear":- if (!dK(t)) {+ if (!zK(t)) {for (var n, r, i = 0; i < t.length; i++) {var a = t[i];- aU(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));+ NU(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;}@@ -58553,14 +59986,14 @@ var sq = (e, t) => {};//#endregion//#region node_modules/d3-array/src/ascending.js-function cq(e, t) {+function Iq(e, t) {return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;}//#endregion//#region node_modules/d3-array/src/bisector.js-function lq(e) {+function Lq(e) {let t = e, n = e;- e.length === 1 && (t = (t, n) => e(t) - n, n = fDe(e));+ e.length === 1 && (t = (t, n) => e(t) - n, n = GDe(e));function r(e, t, r, i) {for (r ??= 0, i ??= e.length; r < i;) {let a = r + i >>> 1;@@ -58586,15 +60019,15 @@ function lq(e) {right: i};}-function fDe(e) {- return (t, n) => cq(e(t), n);+function GDe(e) {+ return (t, n) => Iq(e(t), n);}//#endregion//#region node_modules/d3-array/src/number.js-function uq(e) {+function Rq(e) {return e === null ? NaN : +e;}-function* pDe(e, t) {+function* KDe(e, t) {if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);else {let n = -1;@@ -58603,52 +60036,52 @@ function* pDe(e, t) {}//#endregion//#region node_modules/d3-array/src/bisect.js-var dq = lq(cq), fq = dq.right;-dq.left, lq(uq).center;+var zq = Lq(Iq), Bq = zq.right;+zq.left, Lq(Rq).center;//#endregion//#region node_modules/internmap/src/index.js-var pq = class extends Map {- constructor(e, t = gDe) {+var Vq = class extends Map {+ constructor(e, t = YDe) {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(mq(this, e));+ return super.get(Hq(this, e));}has(e) {- return super.has(mq(this, e));+ return super.has(Hq(this, e));}set(e, t) {- return super.set(mDe(this, e), t);+ return super.set(qDe(this, e), t);}delete(e) {- return super.delete(hDe(this, e));+ return super.delete(JDe(this, e));}};-function mq({ _intern: e, _key: t }, n) {+function Hq({ _intern: e, _key: t }, n) {let r = t(n);return e.has(r) ? e.get(r) : n;}-function mDe({ _intern: e, _key: t }, n) {+function qDe({ _intern: e, _key: t }, n) {let r = t(n);return e.has(r) ? e.get(r) : (e.set(r, n), n);}-function hDe({ _intern: e, _key: t }, n) {+function JDe({ _intern: e, _key: t }, n) {let r = t(n);return e.has(r) && (n = e.get(n), e.delete(r)), n;}-function gDe(e) {+function YDe(e) {return typeof e == "object" && e ? e.valueOf() : e;}//#endregion//#region node_modules/d3-array/src/ticks.js-var hq = Math.sqrt(50), gq = Math.sqrt(10), _q = Math.sqrt(2);-function vq(e, t, n) {+var Uq = Math.sqrt(50), Wq = Math.sqrt(10), Gq = Math.sqrt(2);+function Kq(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 = yq(e, t, n)) === 0 || !isFinite(s)) return [];+ if ((r = t < e) && (a = e, e = t, t = a), (s = qq(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;@@ -58659,17 +60092,17 @@ function vq(e, t, n) {}return r && o.reverse(), o;}-function yq(e, t, n) {+function qq(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 >= hq ? 10 : a >= gq ? 5 : a >= _q ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= hq ? 10 : a >= gq ? 5 : a >= _q ? 2 : 1);+ return i >= 0 ? (a >= Uq ? 10 : a >= Wq ? 5 : a >= Gq ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= Uq ? 10 : a >= Wq ? 5 : a >= Gq ? 2 : 1);}-function bq(e, t, n) {+function Jq(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 >= hq ? i *= 10 : a >= gq ? i *= 5 : a >= _q && (i *= 2), t < e ? -i : i;+ return a >= Uq ? i *= 10 : a >= Wq ? i *= 5 : a >= Gq && (i *= 2), t < e ? -i : i;}//#endregion//#region node_modules/d3-array/src/max.js-function xq(e, t) {+function Yq(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 {@@ -58680,7 +60113,7 @@ function xq(e, t) {}//#endregion//#region node_modules/d3-array/src/min.js-function Sq(e, t) {+function Xq(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 {@@ -58691,36 +60124,36 @@ function Sq(e, t) {}//#endregion//#region node_modules/d3-array/src/quickselect.js-function Cq(e, t, n = 0, r = e.length - 1, i = cq) {+function Zq(e, t, n = 0, r = e.length - 1, i = Iq) {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);- Cq(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);+ Zq(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 (wq(e, n, t), i(e[r], a) > 0 && wq(e, n, r); o < s;) {- for (wq(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;+ for (Qq(e, n, t), i(e[r], a) > 0 && Qq(e, n, r); o < s;) {+ for (Qq(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;for (; i(e[s], a) > 0;) --s;}- i(e[n], a) === 0 ? wq(e, n, s) : (++s, wq(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);+ i(e[n], a) === 0 ? Qq(e, n, s) : (++s, Qq(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);}return e;}-function wq(e, t, n) {+function Qq(e, t, n) {let r = e[t];e[t] = e[n], e[n] = r;}//#endregion//#region node_modules/d3-array/src/quantile.js-function _De(e, t, n) {- if (e = Float64Array.from(pDe(e, n)), r = e.length) {- if ((t = +t) <= 0 || r < 2) return Sq(e);- if (t >= 1) return xq(e);- var r, i = (r - 1) * t, a = Math.floor(i), o = xq(Cq(e, a).subarray(0, a + 1));- return o + (Sq(e.subarray(a + 1)) - o) * (i - a);+function XDe(e, t, n) {+ if (e = Float64Array.from(KDe(e, n)), r = e.length) {+ if ((t = +t) <= 0 || r < 2) return Xq(e);+ if (t >= 1) return Yq(e);+ var r, i = (r - 1) * t, a = Math.floor(i), o = Yq(Zq(e, a).subarray(0, a + 1));+ return o + (Xq(e.subarray(a + 1)) - o) * (i - a);}}-function vDe(e, t, n = uq) {+function ZDe(e, t, n = Rq) {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);@@ -58730,14 +60163,14 @@ function vDe(e, t, n = uq) {}//#endregion//#region node_modules/d3-array/src/range.js-function yDe(e, t, n) {+function QDe(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 Tq(e, t) {+function $q(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -58748,7 +60181,7 @@ function Tq(e, t) {}//#endregion//#region node_modules/d3-scale/src/init.js-function Eq(e, t) {+function eJ(e, t) {switch (arguments.length) {case 0: break;case 1:@@ -58758,7 +60191,7 @@ function Eq(e, t) {}return this;}-function Dq(e, t) {+function tJ(e, t) {switch (arguments.length) {case 0: break;case 1:@@ -58770,20 +60203,20 @@ function Dq(e, t) {}//#endregion//#region node_modules/d3-scale/src/ordinal.js-var Oq = Symbol("implicit");-function kq() {- var e = new pq(), t = [], n = [], r = Oq;+var nJ = Symbol("implicit");+function rJ() {+ var e = new Vq(), t = [], n = [], r = nJ;function i(i) {let a = e.get(i);if (a === void 0) {- if (r !== Oq) return r;+ if (r !== nJ) 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 pq();+ t = [], e = new Vq();for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);return i;}, i.range = function(e) {@@ -58791,18 +60224,18 @@ function kq() {}, i.unknown = function(e) {return arguments.length ? (r = e, i) : r;}, i.copy = function() {- return kq(t, n).unknown(r);- }, Eq.apply(i, arguments), i;+ return rJ(t, n).unknown(r);+ }, eJ.apply(i, arguments), i;}//#endregion//#region node_modules/d3-scale/src/band.js-function Aq() {- var e = kq().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;+function iJ() {+ var e = rJ().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 = yDe(e).map(function(e) {+ var m = QDe(e).map(function(e) {return f + a * e;});return n(d ? m.reverse() : m);@@ -58828,32 +60261,32 @@ function Aq() {}, e.align = function(e) {return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;}, e.copy = function() {- return Aq(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);- }, Eq.apply(d(), arguments);+ return iJ(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);+ }, eJ.apply(d(), arguments);}-function jq(e) {+function aJ(e) {var t = e.copy;return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {- return jq(t());+ return aJ(t());}, e;}-function bDe() {- return jq(Aq.apply(null, arguments).paddingInner(1));+function $De() {+ return aJ(iJ.apply(null, arguments).paddingInner(1));}//#endregion//#region node_modules/d3-color/src/define.js-function Mq(e, t, n) {+function oJ(e, t, n) {e.prototype = t.prototype = n, n.constructor = e;}-function Nq(e, t) {+function sJ(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 Pq() {}-var Fq = .7, Iq = 1 / Fq, Lq = "\\s*([+-]?\\d+)\\s*", Rq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", zq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", xDe = /^#([0-9a-f]{3,8})$/, SDe = RegExp(`^rgb\\(${Lq},${Lq},${Lq}\\)$`), CDe = RegExp(`^rgb\\(${zq},${zq},${zq}\\)$`), wDe = RegExp(`^rgba\\(${Lq},${Lq},${Lq},${Rq}\\)$`), TDe = RegExp(`^rgba\\(${zq},${zq},${zq},${Rq}\\)$`), EDe = RegExp(`^hsl\\(${Rq},${zq},${zq}\\)$`), DDe = RegExp(`^hsla\\(${Rq},${zq},${zq},${Rq}\\)$`), Bq = {+function cJ() {}+var lJ = .7, uJ = 1 / lJ, dJ = "\\s*([+-]?\\d+)\\s*", fJ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", pJ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", eOe = /^#([0-9a-f]{3,8})$/, tOe = RegExp(`^rgb\\(${dJ},${dJ},${dJ}\\)$`), nOe = RegExp(`^rgb\\(${pJ},${pJ},${pJ}\\)$`), rOe = RegExp(`^rgba\\(${dJ},${dJ},${dJ},${fJ}\\)$`), iOe = RegExp(`^rgba\\(${pJ},${pJ},${pJ},${fJ}\\)$`), aOe = RegExp(`^hsl\\(${fJ},${pJ},${pJ}\\)$`), oOe = RegExp(`^hsla\\(${fJ},${pJ},${pJ},${fJ}\\)$`), mJ = {aliceblue: 15792383,antiquewhite: 16444375,aqua: 65535,@@ -59003,170 +60436,170 @@ var Fq = .7, Iq = 1 / Fq, Lq = "\\s*([+-]?\\d+)\\s*", Rq = "\\s*([+-]?(?:\\d*\\.yellow: 16776960,yellowgreen: 10145074};-Mq(Pq, Uq, {+oJ(cJ, _J, {copy(e) {return Object.assign(new this.constructor(), this, e);},displayable() {return this.rgb().displayable();},- hex: Vq,- formatHex: Vq,- formatHex8: ODe,- formatHsl: kDe,- formatRgb: Hq,- toString: Hq+ hex: hJ,+ formatHex: hJ,+ formatHex8: sOe,+ formatHsl: cOe,+ formatRgb: gJ,+ toString: gJ});-function Vq() {+function hJ() {return this.rgb().formatHex();}-function ODe() {+function sOe() {return this.rgb().formatHex8();}-function kDe() {- return eJ(this).formatHsl();+function cOe() {+ return OJ(this).formatHsl();}-function Hq() {+function gJ() {return this.rgb().formatRgb();}-function Uq(e) {+function _J(e) {var t, n;- return e = (e + "").trim().toLowerCase(), (t = xDe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Wq(t) : n === 3 ? new qq(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Gq(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Gq(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 = SDe.exec(e)) ? new qq(t[1], t[2], t[3], 1) : (t = CDe.exec(e)) ? new qq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = wDe.exec(e)) ? Gq(t[1], t[2], t[3], t[4]) : (t = TDe.exec(e)) ? Gq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = EDe.exec(e)) ? $q(t[1], t[2] / 100, t[3] / 100, 1) : (t = DDe.exec(e)) ? $q(t[1], t[2] / 100, t[3] / 100, t[4]) : Bq.hasOwnProperty(e) ? Wq(Bq[e]) : e === "transparent" ? new qq(NaN, NaN, NaN, 0) : null;+ return e = (e + "").trim().toLowerCase(), (t = eOe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? vJ(t) : n === 3 ? new xJ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? yJ(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? yJ(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 = tOe.exec(e)) ? new xJ(t[1], t[2], t[3], 1) : (t = nOe.exec(e)) ? new xJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = rOe.exec(e)) ? yJ(t[1], t[2], t[3], t[4]) : (t = iOe.exec(e)) ? yJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = aOe.exec(e)) ? DJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = oOe.exec(e)) ? DJ(t[1], t[2] / 100, t[3] / 100, t[4]) : mJ.hasOwnProperty(e) ? vJ(mJ[e]) : e === "transparent" ? new xJ(NaN, NaN, NaN, 0) : null;}-function Wq(e) {- return new qq(e >> 16 & 255, e >> 8 & 255, e & 255, 1);+function vJ(e) {+ return new xJ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);}-function Gq(e, t, n, r) {- return r <= 0 && (e = t = n = NaN), new qq(e, t, n, r);+function yJ(e, t, n, r) {+ return r <= 0 && (e = t = n = NaN), new xJ(e, t, n, r);}-function ADe(e) {- return e instanceof Pq || (e = Uq(e)), e ? (e = e.rgb(), new qq(e.r, e.g, e.b, e.opacity)) : new qq();+function lOe(e) {+ return e instanceof cJ || (e = _J(e)), e ? (e = e.rgb(), new xJ(e.r, e.g, e.b, e.opacity)) : new xJ();}-function Kq(e, t, n, r) {- return arguments.length === 1 ? ADe(e) : new qq(e, t, n, r ?? 1);+function bJ(e, t, n, r) {+ return arguments.length === 1 ? lOe(e) : new xJ(e, t, n, r ?? 1);}-function qq(e, t, n, r) {+function xJ(e, t, n, r) {this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;}-Mq(qq, Kq, Nq(Pq, {+oJ(xJ, bJ, sJ(cJ, {brighter(e) {- return e = e == null ? Iq : Iq ** +e, new qq(this.r * e, this.g * e, this.b * e, this.opacity);+ return e = e == null ? uJ : uJ ** +e, new xJ(this.r * e, this.g * e, this.b * e, this.opacity);},darker(e) {- return e = e == null ? Fq : Fq ** +e, new qq(this.r * e, this.g * e, this.b * e, this.opacity);+ return e = e == null ? lJ : lJ ** +e, new xJ(this.r * e, this.g * e, this.b * e, this.opacity);},rgb() {return this;},clamp() {- return new qq(Zq(this.r), Zq(this.g), Zq(this.b), Xq(this.opacity));+ return new xJ(TJ(this.r), TJ(this.g), TJ(this.b), wJ(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: Jq,- formatHex: Jq,- formatHex8: jDe,- formatRgb: Yq,- toString: Yq+ hex: SJ,+ formatHex: SJ,+ formatHex8: uOe,+ formatRgb: CJ,+ toString: CJ}));-function Jq() {- return `#${Qq(this.r)}${Qq(this.g)}${Qq(this.b)}`;+function SJ() {+ return `#${EJ(this.r)}${EJ(this.g)}${EJ(this.b)}`;}-function jDe() {- return `#${Qq(this.r)}${Qq(this.g)}${Qq(this.b)}${Qq((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;+function uOe() {+ return `#${EJ(this.r)}${EJ(this.g)}${EJ(this.b)}${EJ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;}-function Yq() {- let e = Xq(this.opacity);- return `${e === 1 ? "rgb(" : "rgba("}${Zq(this.r)}, ${Zq(this.g)}, ${Zq(this.b)}${e === 1 ? ")" : `, ${e})`}`;+function CJ() {+ let e = wJ(this.opacity);+ return `${e === 1 ? "rgb(" : "rgba("}${TJ(this.r)}, ${TJ(this.g)}, ${TJ(this.b)}${e === 1 ? ")" : `, ${e})`}`;}-function Xq(e) {+function wJ(e) {return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));}-function Zq(e) {+function TJ(e) {return Math.max(0, Math.min(255, Math.round(e) || 0));}-function Qq(e) {- return e = Zq(e), (e < 16 ? "0" : "") + e.toString(16);+function EJ(e) {+ return e = TJ(e), (e < 16 ? "0" : "") + e.toString(16);}-function $q(e, t, n, r) {- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new tJ(e, t, n, r);+function DJ(e, t, n, r) {+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new kJ(e, t, n, r);}-function eJ(e) {- if (e instanceof tJ) return new tJ(e.h, e.s, e.l, e.opacity);- if (e instanceof Pq || (e = Uq(e)), !e) return new tJ();- if (e instanceof tJ) return e;+function OJ(e) {+ if (e instanceof kJ) return new kJ(e.h, e.s, e.l, e.opacity);+ if (e instanceof cJ || (e = _J(e)), !e) return new kJ();+ if (e instanceof kJ) 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 tJ(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 kJ(o, s, c, e.opacity);}-function MDe(e, t, n, r) {- return arguments.length === 1 ? eJ(e) : new tJ(e, t, n, r ?? 1);+function dOe(e, t, n, r) {+ return arguments.length === 1 ? OJ(e) : new kJ(e, t, n, r ?? 1);}-function tJ(e, t, n, r) {+function kJ(e, t, n, r) {this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;}-Mq(tJ, MDe, Nq(Pq, {+oJ(kJ, dOe, sJ(cJ, {brighter(e) {- return e = e == null ? Iq : Iq ** +e, new tJ(this.h, this.s, this.l * e, this.opacity);+ return e = e == null ? uJ : uJ ** +e, new kJ(this.h, this.s, this.l * e, this.opacity);},darker(e) {- return e = e == null ? Fq : Fq ** +e, new tJ(this.h, this.s, this.l * e, this.opacity);+ return e = e == null ? lJ : lJ ** +e, new kJ(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 qq(iJ(e >= 240 ? e - 240 : e + 120, i, r), iJ(e, i, r), iJ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);+ return new xJ(MJ(e >= 240 ? e - 240 : e + 120, i, r), MJ(e, i, r), MJ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);},clamp() {- return new tJ(nJ(this.h), rJ(this.s), rJ(this.l), Xq(this.opacity));+ return new kJ(AJ(this.h), jJ(this.s), jJ(this.l), wJ(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 = Xq(this.opacity);- return `${e === 1 ? "hsl(" : "hsla("}${nJ(this.h)}, ${rJ(this.s) * 100}%, ${rJ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;+ let e = wJ(this.opacity);+ return `${e === 1 ? "hsl(" : "hsla("}${AJ(this.h)}, ${jJ(this.s) * 100}%, ${jJ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;}}));-function nJ(e) {+function AJ(e) {return e = (e || 0) % 360, e < 0 ? e + 360 : e;}-function rJ(e) {+function jJ(e) {return Math.max(0, Math.min(1, e || 0));}-function iJ(e, t, n) {+function MJ(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 aJ = (e) => () => e;+var NJ = (e) => () => e;//#endregion//#region node_modules/d3-interpolate/src/color.js-function NDe(e, t) {+function fOe(e, t) {return function(n) {return e + n * t;};}-function PDe(e, t, n) {+function pOe(e, t, n) {return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {return (e + r * t) ** +n;};}-function FDe(e) {- return (e = +e) == 1 ? oJ : function(t, n) {- return n - t ? PDe(t, n, e) : aJ(isNaN(t) ? n : t);+function mOe(e) {+ return (e = +e) == 1 ? PJ : function(t, n) {+ return n - t ? pOe(t, n, e) : NJ(isNaN(t) ? n : t);};}-function oJ(e, t) {+function PJ(e, t) {var n = t - e;- return n ? NDe(e, n) : aJ(isNaN(e) ? t : e);+ return n ? fOe(e, n) : NJ(isNaN(e) ? t : e);}//#endregion//#region node_modules/d3-interpolate/src/rgb.js-var sJ = (function e(t) {- var n = FDe(t);+var FJ = (function e(t) {+ var n = mOe(t);function r(e, t) {- var r = n((e = Kq(e)).r, (t = Kq(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = oJ(e.opacity, t.opacity);+ var r = n((e = bJ(e)).r, (t = bJ(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = PJ(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 + "";};@@ -59175,7 +60608,7 @@ var sJ = (function e(t) {})(1);//#endregion//#region node_modules/d3-interpolate/src/numberArray.js-function IDe(e, t) {+function hOe(e, t) {t ||= [];var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;return function(a) {@@ -59183,14 +60616,14 @@ function IDe(e, t) {return r;};}-function LDe(e) {+function gOe(e) {return ArrayBuffer.isView(e) && !(e instanceof DataView);}//#endregion//#region node_modules/d3-interpolate/src/array.js-function RDe(e, t) {+function _Oe(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] = dJ(e[o], t[o]);+ for (o = 0; o < r; ++o) i[o] = zJ(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);@@ -59199,7 +60632,7 @@ function RDe(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/date.js-function zDe(e, t) {+function vOe(e, t) {var n = /* @__PURE__ */ new Date();return e = +e, t = +t, function(r) {return n.setTime(e * (1 - r) + t * r), n;@@ -59207,16 +60640,16 @@ function zDe(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/number.js-function cJ(e, t) {+function IJ(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 BDe(e, t) {+function yOe(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] = dJ(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] = zJ(e[i], t[i]) : r[i] = t[i];return function(e) {for (i in n) r[i] = n[i](e);return r;@@ -59224,45 +60657,45 @@ function BDe(e, t) {}//#endregion//#region node_modules/d3-interpolate/src/string.js-var lJ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, uJ = new RegExp(lJ.source, "g");-function VDe(e) {+var LJ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, RJ = new RegExp(LJ.source, "g");+function bOe(e) {return function() {return e;};}-function HDe(e) {+function xOe(e) {return function(t) {return e(t) + "";};}-function UDe(e, t) {- var n = lJ.lastIndex = uJ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];- for (e += "", t += ""; (r = lJ.exec(e)) && (i = uJ.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 SOe(e, t) {+ var n = LJ.lastIndex = RJ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];+ for (e += "", t += ""; (r = LJ.exec(e)) && (i = RJ.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: cJ(r, i)- })), n = uJ.lastIndex;- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? HDe(c[0].x) : VDe(t) : (t = c.length, function(e) {+ x: IJ(r, i)+ })), n = RJ.lastIndex;+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? xOe(c[0].x) : bOe(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 dJ(e, t) {+function zJ(e, t) {var n = typeof t, r;- return t == null || n === "boolean" ? aJ(t) : (n === "number" ? cJ : n === "string" ? (r = Uq(t)) ? (t = r, sJ) : UDe : t instanceof Uq ? sJ : t instanceof Date ? zDe : LDe(t) ? IDe : Array.isArray(t) ? RDe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? BDe : cJ)(e, t);+ return t == null || n === "boolean" ? NJ(t) : (n === "number" ? IJ : n === "string" ? (r = _J(t)) ? (t = r, FJ) : SOe : t instanceof _J ? FJ : t instanceof Date ? vOe : gOe(t) ? hOe : Array.isArray(t) ? _Oe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? yOe : IJ)(e, t);}//#endregion//#region node_modules/d3-interpolate/src/round.js-function fJ(e, t) {+function BJ(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 WDe(e, t) {- t === void 0 && (t = e, e = dJ);+function COe(e, t) {+ t === void 0 && (t = e, e = zJ);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)));@@ -59271,69 +60704,69 @@ function WDe(e, t) {}//#endregion//#region node_modules/d3-scale/src/constant.js-function GDe(e) {+function wOe(e) {return function() {return e;};}//#endregion//#region node_modules/d3-scale/src/number.js-function pJ(e) {+function VJ(e) {return +e;}//#endregion//#region node_modules/d3-scale/src/continuous.js-var mJ = [0, 1];-function hJ(e) {+var HJ = [0, 1];+function UJ(e) {return e;}-function gJ(e, t) {+function WJ(e, t) {return (t -= e = +e) ? function(n) {return (n - e) / t;- } : GDe(isNaN(t) ? NaN : .5);+ } : wOe(isNaN(t) ? NaN : .5);}-function KDe(e, t) {+function TOe(e, t) {var n;return e > t && (n = e, e = t, t = n), function(n) {return Math.max(e, Math.min(t, n));};}-function qDe(e, t, n) {+function EOe(e, t, n) {var r = e[0], i = e[1], a = t[0], o = t[1];- return i < r ? (r = gJ(i, r), a = n(o, a)) : (r = gJ(r, i), a = n(a, o)), function(e) {+ return i < r ? (r = WJ(i, r), a = n(o, a)) : (r = WJ(r, i), a = n(a, o)), function(e) {return a(r(e));};}-function JDe(e, t, n) {+function DOe(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] = gJ(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] = WJ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);return function(t) {- var n = fq(e, t, 1, r) - 1;+ var n = Bq(e, t, 1, r) - 1;return a[n](i[n](t));};}-function _J(e, t) {+function GJ(e, t) {return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());}-function vJ() {- var e = mJ, t = mJ, n = dJ, r, i, a, o = hJ, s, c, l;+function KJ() {+ var e = HJ, t = HJ, n = zJ, r, i, a, o = UJ, s, c, l;function u() {var n = Math.min(e.length, t.length);- return o !== hJ && (o = KDe(e[0], e[n - 1])), s = n > 2 ? JDe : qDe, c = l = null, d;+ return o !== UJ && (o = TOe(e[0], e[n - 1])), s = n > 2 ? DOe : EOe, 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), cJ))(n)));+ return o(i((l ||= s(t, e.map(r), IJ))(n)));}, d.domain = function(t) {- return arguments.length ? (e = Array.from(t, pJ), u()) : e.slice();+ return arguments.length ? (e = Array.from(t, VJ), 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 = fJ, u();+ return t = Array.from(e), n = BJ, u();}, d.clamp = function(e) {- return arguments.length ? (o = e ? !0 : hJ, u()) : o !== hJ;+ return arguments.length ? (o = e ? !0 : UJ, u()) : o !== UJ;}, d.interpolate = function(e) {return arguments.length ? (n = e, u()) : n;}, d.unknown = function(e) {@@ -59342,27 +60775,27 @@ function vJ() {return r = e, i = t, u();};}-function yJ() {- return vJ()(hJ, hJ);+function qJ() {+ return KJ()(UJ, UJ);}//#endregion//#region node_modules/d3-format/src/formatDecimal.js-function YDe(e) {+function OOe(e) {return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);}-function bJ(e, t) {+function JJ(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 xJ(e) {- return e = bJ(Math.abs(e)), e ? e[1] : NaN;+function YJ(e) {+ return e = JJ(Math.abs(e)), e ? e[1] : NaN;}//#endregion//#region node_modules/d3-format/src/formatGroup.js-function XDe(e, t) {+function kOe(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);@@ -59370,7 +60803,7 @@ function XDe(e, t) {}//#endregion//#region node_modules/d3-format/src/formatNumerals.js-function ZDe(e) {+function AOe(e) {return function(t) {return t.replace(/[0-9]/g, function(t) {return e[+t];@@ -59379,11 +60812,11 @@ function ZDe(e) {}//#endregion//#region node_modules/d3-format/src/formatSpecifier.js-var QDe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;-function SJ(e) {- if (!(t = QDe.exec(e))) throw Error("invalid format: " + e);+var jOe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;+function XJ(e) {+ if (!(t = jOe.exec(e))) throw Error("invalid format: " + e);var t;- return new CJ({+ return new ZJ({fill: t[1],align: t[2],sign: t[3],@@ -59396,16 +60829,16 @@ function SJ(e) {type: t[10]});}-SJ.prototype = CJ.prototype;-function CJ(e) {+XJ.prototype = ZJ.prototype;+function ZJ(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 + "";}-CJ.prototype.toString = function() {+ZJ.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 $De(e) {+function MOe(e) {out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {case ".":r = i = n;@@ -59421,46 +60854,46 @@ function $De(e) {}//#endregion//#region node_modules/d3-format/src/formatPrefixAuto.js-var wJ;-function eOe(e, t) {- var n = bJ(e, t);- if (!n) return wJ = void 0, e.toPrecision(t);- var r = n[0], i = n[1], a = i - (wJ = 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") + bJ(e, Math.max(0, t + a - 1))[0];+var QJ;+function NOe(e, t) {+ var n = JJ(e, t);+ if (!n) return QJ = void 0, e.toPrecision(t);+ var r = n[0], i = n[1], a = i - (QJ = 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") + JJ(e, Math.max(0, t + a - 1))[0];}//#endregion//#region node_modules/d3-format/src/formatRounded.js-function TJ(e, t) {- var n = bJ(e, t);+function $J(e, t) {+ var n = JJ(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 EJ = {+var eY = {"%": (e, t) => (e * 100).toFixed(t),b: (e) => Math.round(e).toString(2),c: (e) => e + "",- d: YDe,+ d: OOe,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) => TJ(e * 100, t),- r: TJ,- s: eOe,+ p: (e, t) => $J(e * 100, t),+ r: $J,+ s: NOe,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 DJ(e) {+function tY(e) {return e;}//#endregion//#region node_modules/d3-format/src/locale.js-var OJ = Array.prototype.map, kJ = [+var nY = Array.prototype.map, rY = ["y","z","a",@@ -59479,13 +60912,13 @@ var OJ = Array.prototype.map, kJ = ["Z","Y"];-function tOe(e) {- var t = e.grouping === void 0 || e.thousands === void 0 ? DJ : XDe(OJ.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 ? DJ : ZDe(OJ.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 POe(e) {+ var t = e.grouping === void 0 || e.thousands === void 0 ? tY : kOe(nY.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 ? tY : AOe(nY.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 = SJ(e);+ e = XJ(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") : EJ[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 = EJ[y], C = /[defgprs%]/.test(y);+ y === "n" ? (g = !0, y = "g") : eY[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 = eY[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;@@ -59493,7 +60926,7 @@ function tOe(e) {else {e = +e;var w = e < 0 || 1 / e < 0;- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = $De(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && wJ !== void 0 ? kJ[8 + wJ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = MOe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && QJ !== void 0 ? rY[8 + QJ / 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;@@ -59521,7 +60954,7 @@ function tOe(e) {}, w;}function u(e, t) {- var n = Math.max(-8, Math.min(8, Math.floor(xJ(t) / 3))) * 3, r = 10 ** -n, i = l((e = SJ(e), e.type = "f", e), { suffix: kJ[8 + n / 3] });+ var n = Math.max(-8, Math.min(8, Math.floor(YJ(t) / 3))) * 3, r = 10 ** -n, i = l((e = XJ(e), e.type = "f", e), { suffix: rY[8 + n / 3] });return function(e) {return i(r * e);};@@ -59533,65 +60966,65 @@ function tOe(e) {}//#endregion//#region node_modules/d3-format/src/defaultLocale.js-var AJ, jJ, MJ;-nOe({+var iY, aY, oY;+FOe({thousands: ",",grouping: [3],currency: ["$", ""]});-function nOe(e) {- return AJ = tOe(e), jJ = AJ.format, MJ = AJ.formatPrefix, AJ;+function FOe(e) {+ return iY = POe(e), aY = iY.format, oY = iY.formatPrefix, iY;}//#endregion//#region node_modules/d3-format/src/precisionFixed.js-function rOe(e) {- return Math.max(0, -xJ(Math.abs(e)));+function IOe(e) {+ return Math.max(0, -YJ(Math.abs(e)));}//#endregion//#region node_modules/d3-format/src/precisionPrefix.js-function iOe(e, t) {- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(xJ(t) / 3))) * 3 - xJ(Math.abs(e)));+function LOe(e, t) {+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(YJ(t) / 3))) * 3 - YJ(Math.abs(e)));}//#endregion//#region node_modules/d3-format/src/precisionRound.js-function aOe(e, t) {- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, xJ(t) - xJ(e)) + 1;+function ROe(e, t) {+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, YJ(t) - YJ(e)) + 1;}//#endregion//#region node_modules/d3-scale/src/tickFormat.js-function NJ(e, t, n, r) {- var i = bq(e, t, n), a;- switch (r = SJ(r ?? ",f"), r.type) {+function sY(e, t, n, r) {+ var i = Jq(e, t, n), a;+ switch (r = XJ(r ?? ",f"), r.type) {case "s":var o = Math.max(Math.abs(e), Math.abs(t));- return r.precision == null && !isNaN(a = iOe(i, o)) && (r.precision = a), MJ(r, o);+ return r.precision == null && !isNaN(a = LOe(i, o)) && (r.precision = a), oY(r, o);case "":case "e":case "g":case "p":case "r":- r.precision == null && !isNaN(a = aOe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));+ r.precision == null && !isNaN(a = ROe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));break;case "f":- case "%": r.precision == null && !isNaN(a = rOe(i)) && (r.precision = a - (r.type === "%") * 2);+ case "%": r.precision == null && !isNaN(a = IOe(i)) && (r.precision = a - (r.type === "%") * 2);}- return jJ(r);+ return aY(r);}//#endregion//#region node_modules/d3-scale/src/linear.js-function PJ(e) {+function cY(e) {var t = e.domain;return e.ticks = function(e) {var n = t();- return vq(n[0], n[n.length - 1], e ?? 10);+ return Kq(n[0], n[n.length - 1], e ?? 10);}, e.tickFormat = function(e, n) {var r = t();- return NJ(r[0], r[r.length - 1], e ?? 10, n);+ return sY(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 = yq(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);+ if (l = qq(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;@@ -59600,64 +61033,64 @@ function PJ(e) {return e;}, e;}-function FJ() {- var e = yJ();+function lY() {+ var e = qJ();return e.copy = function() {- return _J(e, FJ());- }, Eq.apply(e, arguments), PJ(e);+ return GJ(e, lY());+ }, eJ.apply(e, arguments), cY(e);}//#endregion//#region node_modules/d3-scale/src/identity.js-function IJ(e) {+function uY(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, pJ), n) : e.slice();+ return arguments.length ? (e = Array.from(t, VJ), n) : e.slice();}, n.unknown = function(e) {return arguments.length ? (t = e, n) : t;}, n.copy = function() {- return IJ(e).unknown(t);- }, e = arguments.length ? Array.from(e, pJ) : [0, 1], PJ(n);+ return uY(e).unknown(t);+ }, e = arguments.length ? Array.from(e, VJ) : [0, 1], cY(n);}//#endregion//#region node_modules/d3-scale/src/nice.js-function LJ(e, t) {+function dY(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 RJ(e) {+function fY(e) {return Math.log(e);}-function zJ(e) {+function pY(e) {return Math.exp(e);}-function oOe(e) {+function zOe(e) {return -Math.log(-e);}-function sOe(e) {+function BOe(e) {return -Math.exp(-e);}-function cOe(e) {+function VOe(e) {return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;}-function lOe(e) {- return e === 10 ? cOe : e === Math.E ? Math.exp : (t) => e ** +t;+function HOe(e) {+ return e === 10 ? VOe : e === Math.E ? Math.exp : (t) => e ** +t;}-function uOe(e) {+function UOe(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 BJ(e) {+function mY(e) {return (t, n) => -e(-t, n);}-function VJ(e) {- let t = e(RJ, zJ), n = t.domain, r = 10, i, a;+function hY(e) {+ let t = e(fY, pY), n = t.domain, r = 10, i, a;function o() {- return i = uOe(r), a = lOe(r), n()[0] < 0 ? (i = BJ(i), a = BJ(a), e(oOe, sOe)) : e(RJ, zJ), t;+ return i = UOe(r), a = HOe(r), n()[0] < 0 ? (i = mY(i), a = mY(a), e(zOe, BOe)) : e(fY, pY), t;}return t.base = function(e) {return arguments.length ? (r = +e, o()) : r;@@ -59677,100 +61110,100 @@ function VJ(e) {if (f > s) break;m.push(f);}- m.length * 2 < p && (m = vq(o, s, p));- } else m = vq(l, u, Math.min(u - l, p)).map(a);+ m.length * 2 < p && (m = Kq(o, s, p));+ } else m = Kq(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 = SJ(n)).precision == null && (n.trim = !0), n = jJ(n)), e === Infinity) return n;+ if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = XJ(n)).precision == null && (n.trim = !0), n = aY(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(LJ(n(), {+ }, t.nice = () => n(dY(n(), {floor: (e) => a(Math.floor(i(e))),ceil: (e) => a(Math.ceil(i(e)))})), t;}-function HJ() {- let e = VJ(vJ()).domain([1, 10]);- return e.copy = () => _J(e, HJ()).base(e.base()), Eq.apply(e, arguments), e;+function gY() {+ let e = hY(KJ()).domain([1, 10]);+ return e.copy = () => GJ(e, gY()).base(e.base()), eJ.apply(e, arguments), e;}//#endregion//#region node_modules/d3-scale/src/symlog.js-function UJ(e) {+function _Y(e) {return function(t) {return Math.sign(t) * Math.log1p(Math.abs(t / e));};}-function WJ(e) {+function vY(e) {return function(t) {return Math.sign(t) * Math.expm1(Math.abs(t)) * e;};}-function GJ(e) {- var t = 1, n = e(UJ(t), WJ(t));+function yY(e) {+ var t = 1, n = e(_Y(t), vY(t));return n.constant = function(n) {- return arguments.length ? e(UJ(t = +n), WJ(t)) : t;- }, PJ(n);+ return arguments.length ? e(_Y(t = +n), vY(t)) : t;+ }, cY(n);}-function KJ() {- var e = GJ(vJ());+function bY() {+ var e = yY(KJ());return e.copy = function() {- return _J(e, KJ()).constant(e.constant());- }, Eq.apply(e, arguments);+ return GJ(e, bY()).constant(e.constant());+ }, eJ.apply(e, arguments);}//#endregion//#region node_modules/d3-scale/src/pow.js-function qJ(e) {+function xY(e) {return function(t) {return t < 0 ? -((-t) ** +e) : t ** +e;};}-function dOe(e) {+function WOe(e) {return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);}-function fOe(e) {+function GOe(e) {return e < 0 ? -e * e : e * e;}-function JJ(e) {- var t = e(hJ, hJ), n = 1;+function SY(e) {+ var t = e(UJ, UJ), n = 1;function r() {- return n === 1 ? e(hJ, hJ) : n === .5 ? e(dOe, fOe) : e(qJ(n), qJ(1 / n));+ return n === 1 ? e(UJ, UJ) : n === .5 ? e(WOe, GOe) : e(xY(n), xY(1 / n));}return t.exponent = function(e) {return arguments.length ? (n = +e, r()) : n;- }, PJ(t);+ }, cY(t);}-function YJ() {- var e = JJ(vJ());+function CY() {+ var e = SY(KJ());return e.copy = function() {- return _J(e, YJ()).exponent(e.exponent());- }, Eq.apply(e, arguments), e;+ return GJ(e, CY()).exponent(e.exponent());+ }, eJ.apply(e, arguments), e;}-function pOe() {- return YJ.apply(null, arguments).exponent(.5);+function KOe() {+ return CY.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/d3-scale/src/radial.js-function XJ(e) {+function wY(e) {return Math.sign(e) * e * e;}-function mOe(e) {+function qOe(e) {return Math.sign(e) * Math.sqrt(Math.abs(e));}-function ZJ() {- var e = yJ(), t = [0, 1], n = !1, r;+function TY() {+ var e = qJ(), t = [0, 1], n = !1, r;function i(t) {- var i = mOe(e(t));+ var i = qOe(e(t));return isNaN(i) ? r : n ? Math.round(i) : i;}return i.invert = function(t) {- return e.invert(XJ(t));+ return e.invert(wY(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, pJ)).map(XJ)), i) : t.slice();+ return arguments.length ? (e.range((t = Array.from(n, VJ)).map(wY)), i) : t.slice();}, i.rangeRound = function(e) {return i.range(e).round(!0);}, i.round = function(e) {@@ -59780,20 +61213,20 @@ function ZJ() {}, i.unknown = function(e) {return arguments.length ? (r = e, i) : r;}, i.copy = function() {- return ZJ(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);- }, Eq.apply(i, arguments), PJ(i);+ return TY(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);+ }, eJ.apply(i, arguments), cY(i);}//#endregion//#region node_modules/d3-scale/src/quantile.js-function QJ() {+function EY() {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] = vDe(e, r / i);+ for (n = Array(i - 1); ++r < i;) n[r - 1] = ZDe(e, r / i);return a;}function a(e) {- return e == null || isNaN(e = +e) ? r : t[fq(n, e)];+ return e == null || isNaN(e = +e) ? r : t[Bq(n, e)];}return a.invertExtent = function(r) {var i = t.indexOf(r);@@ -59802,7 +61235,7 @@ function QJ() {if (!arguments.length) return e.slice();e = [];for (let n of t) n != null && !isNaN(n = +n) && e.push(n);- return e.sort(cq), i();+ return e.sort(Iq), i();}, a.range = function(e) {return arguments.length ? (t = Array.from(e), i()) : t.slice();}, a.unknown = function(e) {@@ -59810,15 +61243,15 @@ function QJ() {}, a.quantiles = function() {return n.slice();}, a.copy = function() {- return QJ().domain(e).range(t).unknown(r);- }, Eq.apply(a, arguments);+ return EY().domain(e).range(t).unknown(r);+ }, eJ.apply(a, arguments);}//#endregion//#region node_modules/d3-scale/src/quantize.js-function $J() {+function DY() {var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;function o(e) {- return e != null && e <= e ? i[fq(r, e, 0, n)] : a;+ return e != null && e <= e ? i[Bq(r, e, 0, n)] : a;}function s() {var i = -1;@@ -59837,15 +61270,15 @@ function $J() {}, o.thresholds = function() {return r.slice();}, o.copy = function() {- return $J().domain([e, t]).range(i).unknown(a);- }, Eq.apply(PJ(o), arguments);+ return DY().domain([e, t]).range(i).unknown(a);+ }, eJ.apply(cY(o), arguments);}//#endregion//#region node_modules/d3-scale/src/threshold.js-function eY() {+function OY() {var e = [.5], t = [0, 1], n, r = 1;function i(i) {- return i != null && i <= i ? t[fq(e, i, 0, r)] : n;+ return i != null && i <= i ? t[Bq(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();@@ -59857,13 +61290,13 @@ function eY() {}, i.unknown = function(e) {return arguments.length ? (n = e, i) : n;}, i.copy = function() {- return eY().domain(e).range(t).unknown(n);- }, Eq.apply(i, arguments);+ return OY().domain(e).range(t).unknown(n);+ }, eJ.apply(i, arguments);}//#endregion//#region node_modules/d3-time/src/interval.js-var tY = /* @__PURE__ */ new Date(), nY = /* @__PURE__ */ new Date();-function rY(e, t, n, r) {+var kY = /* @__PURE__ */ new Date(), AY = /* @__PURE__ */ new Date();+function jY(e, t, n, r) {function i(t) {return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;}@@ -59878,226 +61311,226 @@ function rY(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) => rY((t) => {+ }, i.filter = (n) => jY((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) => (tY.setTime(+t), nY.setTime(+r), e(tY), e(nY), Math.floor(n(tY, nY))), 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) => (kY.setTime(+t), AY.setTime(+r), e(kY), e(AY), Math.floor(n(kY, AY))), 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 iY = rY(() => {}, (e, t) => {+var MY = jY(() => {}, (e, t) => {e.setTime(+e + t);}, (e, t) => t - e);-iY.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? rY((t) => {+MY.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? jY((t) => {t.setTime(Math.floor(t / e) * e);}, (t, n) => {t.setTime(+t + n * e);-}, (t, n) => (n - t) / e) : iY), iY.range;+}, (t, n) => (n - t) / e) : MY), MY.range;//#endregion//#region node_modules/d3-time/src/duration.js-var aY = 1e3, oY = aY * 60, sY = oY * 60, cY = sY * 24, lY = cY * 7, uY = cY * 30, dY = cY * 365, fY = rY((e) => {+var NY = 1e3, PY = NY * 60, FY = PY * 60, IY = FY * 24, LY = IY * 7, RY = IY * 30, zY = IY * 365, BY = jY((e) => {e.setTime(e - e.getMilliseconds());}, (e, t) => {- e.setTime(+e + t * aY);-}, (e, t) => (t - e) / aY, (e) => e.getUTCSeconds());-fY.range;+ e.setTime(+e + t * NY);+}, (e, t) => (t - e) / NY, (e) => e.getUTCSeconds());+BY.range;//#endregion//#region node_modules/d3-time/src/minute.js-var pY = rY((e) => {- e.setTime(e - e.getMilliseconds() - e.getSeconds() * aY);+var VY = jY((e) => {+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * NY);}, (e, t) => {- e.setTime(+e + t * oY);-}, (e, t) => (t - e) / oY, (e) => e.getMinutes());-pY.range;-var mY = rY((e) => {+ e.setTime(+e + t * PY);+}, (e, t) => (t - e) / PY, (e) => e.getMinutes());+VY.range;+var HY = jY((e) => {e.setUTCSeconds(0, 0);}, (e, t) => {- e.setTime(+e + t * oY);-}, (e, t) => (t - e) / oY, (e) => e.getUTCMinutes());-mY.range;+ e.setTime(+e + t * PY);+}, (e, t) => (t - e) / PY, (e) => e.getUTCMinutes());+HY.range;//#endregion//#region node_modules/d3-time/src/hour.js-var hY = rY((e) => {- e.setTime(e - e.getMilliseconds() - e.getSeconds() * aY - e.getMinutes() * oY);+var UY = jY((e) => {+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * NY - e.getMinutes() * PY);}, (e, t) => {- e.setTime(+e + t * sY);-}, (e, t) => (t - e) / sY, (e) => e.getHours());-hY.range;-var gY = rY((e) => {+ e.setTime(+e + t * FY);+}, (e, t) => (t - e) / FY, (e) => e.getHours());+UY.range;+var WY = jY((e) => {e.setUTCMinutes(0, 0, 0);}, (e, t) => {- e.setTime(+e + t * sY);-}, (e, t) => (t - e) / sY, (e) => e.getUTCHours());-gY.range;+ e.setTime(+e + t * FY);+}, (e, t) => (t - e) / FY, (e) => e.getUTCHours());+WY.range;//#endregion//#region node_modules/d3-time/src/day.js-var _Y = rY((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * oY) / cY, (e) => e.getDate() - 1);-_Y.range;-var vY = rY((e) => {+var GY = jY((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * PY) / IY, (e) => e.getDate() - 1);+GY.range;+var KY = jY((e) => {e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t);-}, (e, t) => (t - e) / cY, (e) => e.getUTCDate() - 1);-vY.range;-var yY = rY((e) => {+}, (e, t) => (t - e) / IY, (e) => e.getUTCDate() - 1);+KY.range;+var qY = jY((e) => {e.setUTCHours(0, 0, 0, 0);}, (e, t) => {e.setUTCDate(e.getUTCDate() + t);-}, (e, t) => (t - e) / cY, (e) => Math.floor(e / cY));-yY.range;+}, (e, t) => (t - e) / IY, (e) => Math.floor(e / IY));+qY.range;//#endregion//#region node_modules/d3-time/src/week.js-function bY(e) {- return rY((t) => {+function JY(e) {+ return jY((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()) * oY) / lY);+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * PY) / LY);}-var xY = bY(0), SY = bY(1), hOe = bY(2), gOe = bY(3), CY = bY(4), _Oe = bY(5), vOe = bY(6);-xY.range, SY.range, hOe.range, gOe.range, CY.range, _Oe.range, vOe.range;-function wY(e) {- return rY((t) => {+var YY = JY(0), XY = JY(1), JOe = JY(2), YOe = JY(3), ZY = JY(4), XOe = JY(5), ZOe = JY(6);+YY.range, XY.range, JOe.range, YOe.range, ZY.range, XOe.range, ZOe.range;+function QY(e) {+ return jY((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) / lY);+ }, (e, t) => (t - e) / LY);}-var TY = wY(0), EY = wY(1), yOe = wY(2), bOe = wY(3), DY = wY(4), xOe = wY(5), SOe = wY(6);-TY.range, EY.range, yOe.range, bOe.range, DY.range, xOe.range, SOe.range;+var $Y = QY(0), eX = QY(1), QOe = QY(2), $Oe = QY(3), tX = QY(4), eke = QY(5), tke = QY(6);+$Y.range, eX.range, QOe.range, $Oe.range, tX.range, eke.range, tke.range;//#endregion//#region node_modules/d3-time/src/month.js-var OY = rY((e) => {+var nX = jY((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());-OY.range;-var kY = rY((e) => {+nX.range;+var rX = jY((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());-kY.range;+rX.range;//#endregion//#region node_modules/d3-time/src/year.js-var AY = rY((e) => {+var iX = jY((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());-AY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : rY((t) => {+iX.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : jY((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);-}), AY.range;-var jY = rY((e) => {+}), iX.range;+var aX = jY((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());-jY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : rY((t) => {+aX.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : jY((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);-}), jY.range;+}), aX.range;//#endregion//#region node_modules/d3-time/src/ticks.js-function MY(e, t, n, r, i, a) {+function oX(e, t, n, r, i, a) {let o = [[- fY,+ BY,1,- aY+ NY],[- fY,+ BY,5,- 5 * aY+ 5 * NY],[- fY,+ BY,15,- 15 * aY+ 15 * NY],[- fY,+ BY,30,- 30 * aY+ 30 * NY],[a,1,- oY+ PY],[a,5,- 5 * oY+ 5 * PY],[a,15,- 15 * oY+ 15 * PY],[a,30,- 30 * oY+ 30 * PY],[i,1,- sY+ FY],[i,3,- 3 * sY+ 3 * FY],[i,6,- 6 * sY+ 6 * FY],[i,12,- 12 * sY+ 12 * FY],[r,1,- cY+ IY],[r,2,- 2 * cY+ 2 * IY],[n,1,- lY+ LY],[t,1,- uY+ RY],[t,3,- 3 * uY+ 3 * RY],[e,1,- dY+ zY]];function s(e, t, n) {@@ -60107,32 +61540,32 @@ function MY(e, t, n, r, i, a) {return r ? a.reverse() : a;}function c(t, n, r) {- let i = Math.abs(n - t) / r, a = lq(([, , e]) => e).right(o, i);- if (a === o.length) return e.every(bq(t / dY, n / dY, r));- if (a === 0) return iY.every(Math.max(bq(t, n, r), 1));+ let i = Math.abs(n - t) / r, a = Lq(([, , e]) => e).right(o, i);+ if (a === o.length) return e.every(Jq(t / zY, n / zY, r));+ if (a === 0) return MY.every(Math.max(Jq(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 [COe, wOe] = MY(jY, kY, TY, yY, gY, mY), [TOe, EOe] = MY(AY, OY, xY, _Y, hY, pY);+var [nke, rke] = oX(aX, rX, $Y, qY, WY, HY), [ike, ake] = oX(iX, nX, YY, GY, UY, VY);//#endregion//#region node_modules/d3-time-format/src/locale.js-function NY(e) {+function sX(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 PY(e) {+function cX(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 FY(e, t, n) {+function lX(e, t, n) {return {y: e,m: t,@@ -60143,133 +61576,133 @@ function FY(e, t, n) {L: 0};}-function DOe(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 = zY(i), u = BY(i), d = zY(a), f = BY(a), p = zY(o), m = BY(o), h = zY(s), g = BY(s), _ = zY(c), v = BY(c), y = {+function oke(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 = pX(i), u = mX(i), d = pX(a), f = mX(a), p = pX(o), m = mX(o), h = pX(s), g = mX(s), _ = pX(c), v = mX(c), y = {a: N,A: P,b: ee,B: F,c: null,- d: GY,- e: GY,- f: XOe,- g: oke,- G: cke,- H: qOe,- I: JOe,- j: YOe,- L: KY,- m: ZOe,- M: QOe,+ d: yX,+ e: yX,+ f: kke,+ g: zke,+ G: Vke,+ H: Eke,+ I: Dke,+ j: Oke,+ L: bX,+ m: Ake,+ M: jke,p: I,q: te,- Q: QY,- s: $Y,- S: $Oe,- u: eke,- U: tke,- V: nke,- w: rke,- W: ike,+ Q: EX,+ s: DX,+ S: Mke,+ u: Nke,+ U: Pke,+ V: Fke,+ w: Ike,+ W: Lke,x: null,X: null,- y: ake,- Y: ske,- Z: lke,- "%": ZY+ y: Rke,+ Y: Bke,+ Z: Hke,+ "%": TX}, b = {a: ne,A: re,b: ie,B: ae,c: null,- d: JY,- e: JY,- f: pke,- g: Cke,- G: Tke,- H: uke,- I: dke,- j: fke,- L: YY,- m: mke,- M: hke,+ d: SX,+ e: SX,+ f: Kke,+ g: nAe,+ G: iAe,+ H: Uke,+ I: Wke,+ j: Gke,+ L: CX,+ m: qke,+ M: Jke,p: oe,q: se,- Q: QY,- s: $Y,- S: gke,- u: _ke,- U: vke,- V: yke,- w: bke,- W: xke,+ Q: EX,+ s: DX,+ S: Yke,+ u: Xke,+ U: Zke,+ V: Qke,+ w: $ke,+ W: eAe,x: null,X: null,- y: Ske,- Y: wke,- Z: Eke,- "%": ZY+ y: tAe,+ Y: rAe,+ Z: aAe,+ "%": TX}, x = {a: E,A: D,b: O,B: k,c: A,- d: UY,- e: UY,- f: UOe,- g: HY,- G: VY,- H: WY,- I: WY,- j: zOe,- L: HOe,- m: ROe,- M: BOe,+ d: _X,+ e: _X,+ f: Ske,+ g: gX,+ G: hX,+ H: vX,+ I: vX,+ j: vke,+ L: xke,+ m: _ke,+ M: yke,p: T,- q: LOe,- Q: GOe,- s: KOe,- S: VOe,- u: MOe,- U: NOe,- V: POe,- w: jOe,- W: FOe,+ q: gke,+ Q: wke,+ s: Tke,+ S: bke,+ u: dke,+ U: fke,+ V: pke,+ w: uke,+ W: mke,x: j,X: M,- y: HY,- Y: VY,- Z: IOe,- "%": WOe+ y: gX,+ Y: hX,+ Z: hke,+ "%": Cke};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 = IY[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 = uX[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 = FY(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;+ var r = lX(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 = PY(FY(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? EY.ceil(a) : EY(a), a = vY.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = NY(FY(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? SY.ceil(a) : SY(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 ? PY(FY(r.y, 0, 1)).getUTCDay() : NY(FY(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, PY(r)) : NY(r);+ "w" in r || (r.w = 1), "Z" in r ? (a = cX(lX(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? eX.ceil(a) : eX(a), a = KY.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = sX(lX(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? XY.ceil(a) : XY(a), a = GY.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 ? cX(lX(r.y, 0, 1)).getUTCDay() : sX(lX(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, cX(r)) : sX(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 IY ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;+ if (s = t.charAt(i++), c = x[s in uX ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;} else if (s != n.charCodeAt(r++)) return -1;}return r;@@ -60366,244 +61799,244 @@ function DOe(e) {}};}-var IY = {+var uX = {"-": "",_: " ",0: "0"-}, LY = /^\s*\d+/, OOe = /^%/, kOe = /[\\^$*+?|[\]().{}]/g;-function RY(e, t, n) {+}, dX = /^\s*\d+/, ske = /^%/, cke = /[\\^$*+?|[\]().{}]/g;+function fX(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 AOe(e) {- return e.replace(kOe, "\\$&");+function lke(e) {+ return e.replace(cke, "\\$&");}-function zY(e) {- return RegExp("^(?:" + e.map(AOe).join("|") + ")", "i");+function pX(e) {+ return RegExp("^(?:" + e.map(lke).join("|") + ")", "i");}-function BY(e) {+function mX(e) {return new Map(e.map((e, t) => [e.toLowerCase(), t]));}-function jOe(e, t, n) {- var r = LY.exec(t.slice(n, n + 1));+function uke(e, t, n) {+ var r = dX.exec(t.slice(n, n + 1));return r ? (e.w = +r[0], n + r[0].length) : -1;}-function MOe(e, t, n) {- var r = LY.exec(t.slice(n, n + 1));+function dke(e, t, n) {+ var r = dX.exec(t.slice(n, n + 1));return r ? (e.u = +r[0], n + r[0].length) : -1;}-function NOe(e, t, n) {- var r = LY.exec(t.slice(n, n + 2));+function fke(e, t, n) {+ var r = dX.exec(t.slice(n, n + 2));return r ? (e.U = +r[0], n + r[0].length) : -1;}-function POe(e, t, n) {- var r = LY.exec(t.slice(n, n + 2));+function pke(e, t, n) {+ var r = dX.exec(t.slice(n, n + 2));return r ? (e.V = +r[0], n + r[0].length) : -1;}-function FOe(e, t, n) {- var r = LY.exec(t.slice(n, n + 2));+function mke(e, t, n) {+ var r = dX.exec(t.slice(n, n + 2));return r ? (e.W = +r[0], n + r[0].length) : -1;}-function VY(e, t, n) {- var r = LY.exec(t.slice(n, n + 4));+function hX(e, t, n) {+ var r = dX.exec(t.slice(n, n + 4));return r ? (e.y = +r[0], n + r[0].length) : -1;}-function HY(e, t, n) {- var r = LY.exec(t.slice(n, n + 2));+function gX(e, t, n) {+ var r = dX.exec(t.slice(n, n + 2));return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;}-function IOe(e, t, n) {+function hke(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 LOe(e, t, n) {- var r = LY.exec(t.slice(n, n + 1));+function gke(e, t, n) {+ var r = dX.exec(t.slice(n, n + 1));return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;}-function ROe(e, t, n) {- var r = LY.exec(t.slice(n, n + 2));+function _ke(e, t, n) {+ var r = dX.exec(t.slice(n, n + 2));return r ? (e.m = r[0] - 1, n + r[0].length) : -1;}-function UY(e, t, n) {- var r = LY.exec(t.slice(n, n + 2));+function _X(e, t, n) {+ var r = dX.exec(t.slice(n, n + 2));return r ? (e.d = +r[0], n + r[0].length) : -1;}-function zOe(e, t, n) {- var r = LY.exec(t.slice(n, n + 3));+function vke(e, t, n) {+ var r = dX.exec(t.slice(n, n + 3));return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;}-function WY(e, t, n) {- var r = LY.exec(t.slice(n, n + 2));+function vX(e, t, n) {+ var r = dX.exec(t.slice(n, n + 2));return r ? (e.H = +r[0], n + r[0].length) : -1;}-function BOe(e, t, n) {- var r = LY.exec(t.slice(n, n + 2));+function yke(e, t, n) {+ var r = dX.exec(t.slice(n, n + 2));return r ? (e.M = +r[0], n + r[0].length) : -1;}-function VOe(e, t, n) {- var r = LY.exec(t.slice(n, n + 2));+function bke(e, t, n) {+ var r = dX.exec(t.slice(n, n + 2));return r ? (e.S = +r[0], n + r[0].length) : -1;}-function HOe(e, t, n) {- var r = LY.exec(t.slice(n, n + 3));+function xke(e, t, n) {+ var r = dX.exec(t.slice(n, n + 3));return r ? (e.L = +r[0], n + r[0].length) : -1;}-function UOe(e, t, n) {- var r = LY.exec(t.slice(n, n + 6));+function Ske(e, t, n) {+ var r = dX.exec(t.slice(n, n + 6));return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;}-function WOe(e, t, n) {- var r = OOe.exec(t.slice(n, n + 1));+function Cke(e, t, n) {+ var r = ske.exec(t.slice(n, n + 1));return r ? n + r[0].length : -1;}-function GOe(e, t, n) {- var r = LY.exec(t.slice(n));+function wke(e, t, n) {+ var r = dX.exec(t.slice(n));return r ? (e.Q = +r[0], n + r[0].length) : -1;}-function KOe(e, t, n) {- var r = LY.exec(t.slice(n));+function Tke(e, t, n) {+ var r = dX.exec(t.slice(n));return r ? (e.s = +r[0], n + r[0].length) : -1;}-function GY(e, t) {- return RY(e.getDate(), t, 2);+function yX(e, t) {+ return fX(e.getDate(), t, 2);}-function qOe(e, t) {- return RY(e.getHours(), t, 2);+function Eke(e, t) {+ return fX(e.getHours(), t, 2);}-function JOe(e, t) {- return RY(e.getHours() % 12 || 12, t, 2);+function Dke(e, t) {+ return fX(e.getHours() % 12 || 12, t, 2);}-function YOe(e, t) {- return RY(1 + _Y.count(AY(e), e), t, 3);+function Oke(e, t) {+ return fX(1 + GY.count(iX(e), e), t, 3);}-function KY(e, t) {- return RY(e.getMilliseconds(), t, 3);+function bX(e, t) {+ return fX(e.getMilliseconds(), t, 3);}-function XOe(e, t) {- return KY(e, t) + "000";+function kke(e, t) {+ return bX(e, t) + "000";}-function ZOe(e, t) {- return RY(e.getMonth() + 1, t, 2);+function Ake(e, t) {+ return fX(e.getMonth() + 1, t, 2);}-function QOe(e, t) {- return RY(e.getMinutes(), t, 2);+function jke(e, t) {+ return fX(e.getMinutes(), t, 2);}-function $Oe(e, t) {- return RY(e.getSeconds(), t, 2);+function Mke(e, t) {+ return fX(e.getSeconds(), t, 2);}-function eke(e) {+function Nke(e) {var t = e.getDay();return t === 0 ? 7 : t;}-function tke(e, t) {- return RY(xY.count(AY(e) - 1, e), t, 2);+function Pke(e, t) {+ return fX(YY.count(iX(e) - 1, e), t, 2);}-function qY(e) {+function xX(e) {var t = e.getDay();- return t >= 4 || t === 0 ? CY(e) : CY.ceil(e);+ return t >= 4 || t === 0 ? ZY(e) : ZY.ceil(e);}-function nke(e, t) {- return e = qY(e), RY(CY.count(AY(e), e) + (AY(e).getDay() === 4), t, 2);+function Fke(e, t) {+ return e = xX(e), fX(ZY.count(iX(e), e) + (iX(e).getDay() === 4), t, 2);}-function rke(e) {+function Ike(e) {return e.getDay();}-function ike(e, t) {- return RY(SY.count(AY(e) - 1, e), t, 2);+function Lke(e, t) {+ return fX(XY.count(iX(e) - 1, e), t, 2);}-function ake(e, t) {- return RY(e.getFullYear() % 100, t, 2);+function Rke(e, t) {+ return fX(e.getFullYear() % 100, t, 2);}-function oke(e, t) {- return e = qY(e), RY(e.getFullYear() % 100, t, 2);+function zke(e, t) {+ return e = xX(e), fX(e.getFullYear() % 100, t, 2);}-function ske(e, t) {- return RY(e.getFullYear() % 1e4, t, 4);+function Bke(e, t) {+ return fX(e.getFullYear() % 1e4, t, 4);}-function cke(e, t) {+function Vke(e, t) {var n = e.getDay();- return e = n >= 4 || n === 0 ? CY(e) : CY.ceil(e), RY(e.getFullYear() % 1e4, t, 4);+ return e = n >= 4 || n === 0 ? ZY(e) : ZY.ceil(e), fX(e.getFullYear() % 1e4, t, 4);}-function lke(e) {+function Hke(e) {var t = e.getTimezoneOffset();- return (t > 0 ? "-" : (t *= -1, "+")) + RY(t / 60 | 0, "0", 2) + RY(t % 60, "0", 2);+ return (t > 0 ? "-" : (t *= -1, "+")) + fX(t / 60 | 0, "0", 2) + fX(t % 60, "0", 2);}-function JY(e, t) {- return RY(e.getUTCDate(), t, 2);+function SX(e, t) {+ return fX(e.getUTCDate(), t, 2);}-function uke(e, t) {- return RY(e.getUTCHours(), t, 2);+function Uke(e, t) {+ return fX(e.getUTCHours(), t, 2);}-function dke(e, t) {- return RY(e.getUTCHours() % 12 || 12, t, 2);+function Wke(e, t) {+ return fX(e.getUTCHours() % 12 || 12, t, 2);}-function fke(e, t) {- return RY(1 + vY.count(jY(e), e), t, 3);+function Gke(e, t) {+ return fX(1 + KY.count(aX(e), e), t, 3);}-function YY(e, t) {- return RY(e.getUTCMilliseconds(), t, 3);+function CX(e, t) {+ return fX(e.getUTCMilliseconds(), t, 3);}-function pke(e, t) {- return YY(e, t) + "000";+function Kke(e, t) {+ return CX(e, t) + "000";}-function mke(e, t) {- return RY(e.getUTCMonth() + 1, t, 2);+function qke(e, t) {+ return fX(e.getUTCMonth() + 1, t, 2);}-function hke(e, t) {- return RY(e.getUTCMinutes(), t, 2);+function Jke(e, t) {+ return fX(e.getUTCMinutes(), t, 2);}-function gke(e, t) {- return RY(e.getUTCSeconds(), t, 2);+function Yke(e, t) {+ return fX(e.getUTCSeconds(), t, 2);}-function _ke(e) {+function Xke(e) {var t = e.getUTCDay();return t === 0 ? 7 : t;}-function vke(e, t) {- return RY(TY.count(jY(e) - 1, e), t, 2);+function Zke(e, t) {+ return fX($Y.count(aX(e) - 1, e), t, 2);}-function XY(e) {+function wX(e) {var t = e.getUTCDay();- return t >= 4 || t === 0 ? DY(e) : DY.ceil(e);+ return t >= 4 || t === 0 ? tX(e) : tX.ceil(e);}-function yke(e, t) {- return e = XY(e), RY(DY.count(jY(e), e) + (jY(e).getUTCDay() === 4), t, 2);+function Qke(e, t) {+ return e = wX(e), fX(tX.count(aX(e), e) + (aX(e).getUTCDay() === 4), t, 2);}-function bke(e) {+function $ke(e) {return e.getUTCDay();}-function xke(e, t) {- return RY(EY.count(jY(e) - 1, e), t, 2);+function eAe(e, t) {+ return fX(eX.count(aX(e) - 1, e), t, 2);}-function Ske(e, t) {- return RY(e.getUTCFullYear() % 100, t, 2);+function tAe(e, t) {+ return fX(e.getUTCFullYear() % 100, t, 2);}-function Cke(e, t) {- return e = XY(e), RY(e.getUTCFullYear() % 100, t, 2);+function nAe(e, t) {+ return e = wX(e), fX(e.getUTCFullYear() % 100, t, 2);}-function wke(e, t) {- return RY(e.getUTCFullYear() % 1e4, t, 4);+function rAe(e, t) {+ return fX(e.getUTCFullYear() % 1e4, t, 4);}-function Tke(e, t) {+function iAe(e, t) {var n = e.getUTCDay();- return e = n >= 4 || n === 0 ? DY(e) : DY.ceil(e), RY(e.getUTCFullYear() % 1e4, t, 4);+ return e = n >= 4 || n === 0 ? tX(e) : tX.ceil(e), fX(e.getUTCFullYear() % 1e4, t, 4);}-function Eke() {+function aAe() {return "+0000";}-function ZY() {+function TX() {return "%";}-function QY(e) {+function EX(e) {return +e;}-function $Y(e) {+function DX(e) {return Math.floor(e / 1e3);}//#endregion//#region node_modules/d3-time-format/src/defaultLocale.js-var eX, tX, nX;-Dke({+var OX, kX, AX;+oAe({dateTime: "%x, %X",date: "%-m/%-d/%Y",time: "%-I:%M:%S %p",@@ -60655,26 +62088,26 @@ Dke({"Dec"]});-function Dke(e) {- return eX = DOe(e), tX = eX.format, eX.parse, nX = eX.utcFormat, eX.utcParse, eX;+function oAe(e) {+ return OX = oke(e), kX = OX.format, OX.parse, AX = OX.utcFormat, OX.utcParse, OX;}//#endregion//#region node_modules/d3-scale/src/time.js-function Oke(e) {+function sAe(e) {return new Date(e);}-function kke(e) {+function cAe(e) {return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);}-function rX(e, t, n, r, i, a, o, s, c, l) {- var u = yJ(), 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 jX(e, t, n, r, i, a, o, s, c, l) {+ var u = qJ(), 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, kke)) : f().map(Oke);+ return arguments.length ? f(Array.from(e, cAe)) : f().map(sAe);}, u.ticks = function(t) {var n = f();return e(n[0], n[n.length - 1], t ?? 10);@@ -60682,23 +62115,23 @@ function rX(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(LJ(n, e)) : u;+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(dY(n, e)) : u;}, u.copy = function() {- return _J(u, rX(e, t, n, r, i, a, o, s, c, l));+ return GJ(u, jX(e, t, n, r, i, a, o, s, c, l));}, u;}-function Ake() {- return Eq.apply(rX(TOe, EOe, AY, OY, xY, _Y, hY, pY, fY, tX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);+function lAe() {+ return eJ.apply(jX(ike, ake, iX, nX, YY, GY, UY, VY, BY, kX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);}//#endregion//#region node_modules/d3-scale/src/utcTime.js-function jke() {- return Eq.apply(rX(COe, wOe, jY, kY, TY, vY, gY, mY, fY, nX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);+function uAe() {+ return eJ.apply(jX(nke, rke, aX, rX, $Y, KY, WY, HY, BY, AX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);}//#endregion//#region node_modules/d3-scale/src/sequential.js-function iX() {- var e = 0, t = 1, n, r, i, a, o = hJ, s = !1, c;+function MX() {+ var e = 0, t = 1, n, r, i, a, o = UJ, 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));}@@ -60715,68 +62148,68 @@ function iX() {return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];};}- return l.range = u(dJ), l.rangeRound = u(fJ), l.unknown = function(e) {+ return l.range = u(zJ), l.rangeRound = u(BJ), 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 aX(e, t) {+function NX(e, t) {return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());}-function oX() {- var e = PJ(iX()(hJ));+function PX() {+ var e = cY(MX()(UJ));return e.copy = function() {- return aX(e, oX());- }, Dq.apply(e, arguments);+ return NX(e, PX());+ }, tJ.apply(e, arguments);}-function sX() {- var e = VJ(iX()).domain([1, 10]);+function FX() {+ var e = hY(MX()).domain([1, 10]);return e.copy = function() {- return aX(e, sX()).base(e.base());- }, Dq.apply(e, arguments);+ return NX(e, FX()).base(e.base());+ }, tJ.apply(e, arguments);}-function cX() {- var e = GJ(iX());+function IX() {+ var e = yY(MX());return e.copy = function() {- return aX(e, cX()).constant(e.constant());- }, Dq.apply(e, arguments);+ return NX(e, IX()).constant(e.constant());+ }, tJ.apply(e, arguments);}-function lX() {- var e = JJ(iX());+function LX() {+ var e = SY(MX());return e.copy = function() {- return aX(e, lX()).exponent(e.exponent());- }, Dq.apply(e, arguments);+ return NX(e, LX()).exponent(e.exponent());+ }, tJ.apply(e, arguments);}-function Mke() {- return lX.apply(null, arguments).exponent(.5);+function dAe() {+ return LX.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/d3-scale/src/sequentialQuantile.js-function uX() {- var e = [], t = hJ;+function RX() {+ var e = [], t = UJ;function n(n) {- if (n != null && !isNaN(n = +n)) return t((fq(e, n, 1) - 1) / (e.length - 1));+ if (n != null && !isNaN(n = +n)) return t((Bq(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(cq), n;+ return e.sort(Iq), 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) => _De(e, r / t));+ return Array.from({ length: t + 1 }, (n, r) => XDe(e, r / t));}, n.copy = function() {- return uX(t).domain(e);- }, Dq.apply(n, arguments);+ return RX(t).domain(e);+ }, tJ.apply(n, arguments);}//#endregion//#region node_modules/d3-scale/src/diverging.js-function dX() {- var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = hJ, u, d = !1, f;+function zX() {+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = UJ, 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));}@@ -60794,7 +62227,7 @@ function dX() {function m(e) {return function(t) {var n, r, i;- return arguments.length ? ([n, r, i] = t, l = WDe(e, [+ return arguments.length ? ([n, r, i] = t, l = COe(e, [n,r,i@@ -60805,121 +62238,121 @@ function dX() {];};}- return p.range = m(dJ), p.rangeRound = m(fJ), p.unknown = function(e) {+ return p.range = m(zJ), p.rangeRound = m(BJ), 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 fX() {- var e = PJ(dX()(hJ));+function BX() {+ var e = cY(zX()(UJ));return e.copy = function() {- return aX(e, fX());- }, Dq.apply(e, arguments);+ return NX(e, BX());+ }, tJ.apply(e, arguments);}-function pX() {- var e = VJ(dX()).domain([+function VX() {+ var e = hY(zX()).domain([.1,1,10]);return e.copy = function() {- return aX(e, pX()).base(e.base());- }, Dq.apply(e, arguments);+ return NX(e, VX()).base(e.base());+ }, tJ.apply(e, arguments);}-function mX() {- var e = GJ(dX());+function HX() {+ var e = yY(zX());return e.copy = function() {- return aX(e, mX()).constant(e.constant());- }, Dq.apply(e, arguments);+ return NX(e, HX()).constant(e.constant());+ }, tJ.apply(e, arguments);}-function hX() {- var e = JJ(dX());+function UX() {+ var e = SY(zX());return e.copy = function() {- return aX(e, hX()).exponent(e.exponent());- }, Dq.apply(e, arguments);+ return NX(e, UX()).exponent(e.exponent());+ }, tJ.apply(e, arguments);}-function Nke() {- return hX.apply(null, arguments).exponent(.5);+function fAe() {+ return UX.apply(null, arguments).exponent(.5);}//#endregion//#region node_modules/victory-vendor/es/d3-scale.js-var gX = /* @__PURE__ */ St({- scaleBand: () => Aq,- scaleDiverging: () => fX,- scaleDivergingLog: () => pX,- scaleDivergingPow: () => hX,- scaleDivergingSqrt: () => Nke,- scaleDivergingSymlog: () => mX,- scaleIdentity: () => IJ,- scaleImplicit: () => Oq,- scaleLinear: () => FJ,- scaleLog: () => HJ,- scaleOrdinal: () => kq,- scalePoint: () => bDe,- scalePow: () => YJ,- scaleQuantile: () => QJ,- scaleQuantize: () => $J,- scaleRadial: () => ZJ,- scaleSequential: () => oX,- scaleSequentialLog: () => sX,- scaleSequentialPow: () => lX,- scaleSequentialQuantile: () => uX,- scaleSequentialSqrt: () => Mke,- scaleSequentialSymlog: () => cX,- scaleSqrt: () => pOe,- scaleSymlog: () => KJ,- scaleThreshold: () => eY,- scaleTime: () => Ake,- scaleUtc: () => jke,- tickFormat: () => NJ+var WX = /* @__PURE__ */ St({+ scaleBand: () => iJ,+ scaleDiverging: () => BX,+ scaleDivergingLog: () => VX,+ scaleDivergingPow: () => UX,+ scaleDivergingSqrt: () => fAe,+ scaleDivergingSymlog: () => HX,+ scaleIdentity: () => uY,+ scaleImplicit: () => nJ,+ scaleLinear: () => lY,+ scaleLog: () => gY,+ scaleOrdinal: () => rJ,+ scalePoint: () => $De,+ scalePow: () => CY,+ scaleQuantile: () => EY,+ scaleQuantize: () => DY,+ scaleRadial: () => TY,+ scaleSequential: () => PX,+ scaleSequentialLog: () => FX,+ scaleSequentialPow: () => LX,+ scaleSequentialQuantile: () => RX,+ scaleSequentialSqrt: () => dAe,+ scaleSequentialSymlog: () => IX,+ scaleSqrt: () => KOe,+ scaleSymlog: () => bY,+ scaleThreshold: () => OY,+ scaleTime: () => lAe,+ scaleUtc: () => uAe,+ tickFormat: () => sY});//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js-function Pke(e) {- if (e in gX) return gX[e]();- var t = `scale${oB(e)}`;- if (t in gX) return gX[t]();+function pAe(e) {+ if (e in WX) return WX[e]();+ var t = `scale${jB(e)}`;+ if (t in WX) return WX[t]();}-function _X(e, t, n) {+function GX(e, t, n) {if (typeof e == "function") return e.copy().domain(t).range(n);if (e != null) {- var r = Pke(e);+ var r = pAe(e);if (r != null) return r.domain(t).range(n), r;}}-function vX(e, t, n, r) {- if (n != null && r != null) return typeof e.scale == "function" ? _X(e.scale, n, r) : _X(t, n, r);+function KX(e, t, n, r) {+ if (n != null && r != null) return typeof e.scale == "function" ? GX(e.scale, n, r) : GX(t, n, r);}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js-function Fke(e) {- return `scale${oB(e)}`;+function mAe(e) {+ return `scale${jB(e)}`;}-function Ike(e) {- return Fke(e) in gX;+function hAe(e) {+ return mAe(e) in WX;}-var yX = (e, t, n) => {+var qX = (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 Ike(r) ? r : "point";+ if (typeof r == "string") return hAe(r) ? r : "point";}};//#endregion//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js-function Lke(e, t) {+function gAe(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 bX(e, t) {+function JX(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 = Lke(r, e);+ var t = gAe(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;@@ -60929,12 +62362,12 @@ function bX(e, t) {}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js-function Rke(e) {- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : bX(e, void 0);+function _Ae(e) {+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : JX(e, void 0);}//#endregion//#region node_modules/recharts/es6/state/selectors/axisSelectors.js-function xX(e, t) {+function YX(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -60944,30 +62377,30 @@ function xX(e, t) {}return n;}-function SX(e) {+function XX(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? xX(Object(n), !0).forEach(function(t) {- zke(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xX(Object(n)).forEach(function(t) {+ t % 2 ? YX(Object(n), !0).forEach(function(t) {+ vAe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YX(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function zke(e, t, n) {- return (t = Bke(t)) in e ? Object.defineProperty(e, t, {+function vAe(e, t, n) {+ return (t = yAe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Bke(e) {- var t = Vke(e, "string");+function yAe(e) {+ var t = bAe(e, "string");return typeof t == "symbol" ? t : t + "";}-function Vke(e, t) {+function bAe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -60977,7 +62410,7 @@ function Vke(e, t) {}return (t === "string" ? String : Number)(e);}-var CX = [0, "auto"], wX = {+var ZX = [0, "auto"], QX = {allowDataOverflow: !1,allowDecimals: !0,allowDuplicatedCategory: !0,@@ -61006,13 +62439,13 @@ var CX = [0, "auto"], wX = {type: "category",unit: void 0,niceTicks: "auto"-}, TX = (e, t) => e.cartesianAxis.xAxis[t], EX = (e, t) => TX(e, t) ?? wX, DX = {+}, $X = (e, t) => e.cartesianAxis.xAxis[t], eZ = (e, t) => $X(e, t) ?? QX, tZ = {allowDataOverflow: !1,allowDecimals: !0,allowDuplicatedCategory: !0,angle: 0,dataKey: void 0,- domain: CX,+ domain: ZX,hide: !0,id: 0,includeHidden: !1,@@ -61035,7 +62468,7 @@ var CX = [0, "auto"], wX = {unit: void 0,niceTicks: "auto",width: 60-}, OX = (e, t) => e.cartesianAxis.yAxis[t], kX = (e, t) => OX(e, t) ?? DX, Hke = {+}, nZ = (e, t) => e.cartesianAxis.yAxis[t], rZ = (e, t) => nZ(e, t) ?? tZ, xAe = {domain: [0, "auto"],includeHidden: !1,reversed: !1,@@ -61048,31 +62481,31 @@ var CX = [0, "auto"], wX = {scale: "auto",type: "number",unit: ""-}, AX = (e, t) => e.cartesianAxis.zAxis[t] ?? Hke, jX = (e, t, n) => {+}, iZ = (e, t) => e.cartesianAxis.zAxis[t] ?? xAe, aZ = (e, t, n) => {switch (t) {- case "xAxis": return EX(e, n);- case "yAxis": return kX(e, n);- case "zAxis": return AX(e, n);- case "angleAxis": return HK(e, n);- case "radiusAxis": return UK(e, n);+ case "xAxis": return eZ(e, n);+ case "yAxis": return rZ(e, n);+ case "zAxis": return iZ(e, n);+ case "angleAxis": return gq(e, n);+ case "radiusAxis": return _q(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, Uke = (e, t, n) => {+}, SAe = (e, t, n) => {switch (t) {- case "xAxis": return EX(e, n);- case "yAxis": return kX(e, n);+ case "xAxis": return eZ(e, n);+ case "yAxis": return rZ(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, MX = (e, t, n) => {+}, oZ = (e, t, n) => {switch (t) {- case "xAxis": return EX(e, n);- case "yAxis": return kX(e, n);- case "angleAxis": return HK(e, n);- case "radiusAxis": return UK(e, n);+ case "xAxis": return eZ(e, n);+ case "yAxis": return rZ(e, n);+ case "angleAxis": return gq(e, n);+ case "radiusAxis": return _q(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, NX = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");-function PX(e, t) {+}, sZ = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");+function cZ(e, t) {return (n) => {switch (e) {case "xAxis": return "xAxisId" in n && n.xAxisId === t;@@ -61084,58 +62517,58 @@ function PX(e, t) {}};}-var FX = (e) => e.graphicalItems.cartesianItems, Wke = $([ZK, QK], PX), IX = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), LX = $([- FX,- jX,- Wke-], IX, { memoizeOptions: { resultEqualityCheck: rq } }), RX = $([LX], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(tq)), zX = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Gke = $([LX], zX), BX = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Kke = $([LX], BX, { memoizeOptions: { resultEqualityCheck: rq } }), VX = (e, t) => {+var lZ = (e) => e.graphicalItems.cartesianItems, CAe = $([Tq, Eq], cZ), uZ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), dZ = $([+ lZ,+ aZ,+ CAe+], uZ, { memoizeOptions: { resultEqualityCheck: jq } }), fZ = $([dZ], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(kq)), pZ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), wAe = $([dZ], pZ), mZ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), TAe = $([dZ], mZ, { memoizeOptions: { resultEqualityCheck: jq } }), hZ = (e, t) => {var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;return e.length > 0 ? e : n.slice(r, i + 1);-}, HX = $([Kke, lK], VX), UX = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: lU(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: lU(e, t.dataKey) })), WX = $([- HX,- jX,- LX-], UX);-function GX(e) {- if ($z(e) || e instanceof Date) {+}, gZ = $([TAe, LK], hZ), _Z = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: LU(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: LU(e, t.dataKey) })), vZ = $([+ gZ,+ aZ,+ dZ+], _Z);+function yZ(e) {+ if (wB(e) || e instanceof Date) {var t = Number(e);- if (aU(t)) return t;+ if (NU(t)) return t;}}-function KX(e) {+function bZ(e) {if (Array.isArray(e)) {- var t = [GX(e[0]), GX(e[1])];- return dK(t) ? t : void 0;+ var t = [yZ(e[0]), yZ(e[1])];+ return zK(t) ? t : void 0;}- var n = GX(e);+ var n = yZ(e);if (n != null) return [n, n];}-function qX(e) {- return e.map(GX).filter(sB);+function xZ(e) {+ return e.map(yZ).filter(MB);}-function qke(e, t) {- var n = GX(e), r = GX(t);+function EAe(e, t) {+ var n = yZ(e), r = yZ(t);return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;}-var Jke = $([WX], (e) => e?.map((e) => e.value).sort(qke));-function JX(e, t) {+var DAe = $([vZ], (e) => e?.map((e) => e.value).sort(EAe));+function SZ(e, t) {switch (e) {case "xAxis": return t.direction === "x";case "yAxis": return t.direction === "y";default: return !1;}}-function Yke(e, t, n) {- return !n || typeof t != "number" || Zz(t) || !n.length ? [] : qX(n.flatMap((n) => {- var r = lU(e, n.dataKey), i, a;- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!aU(i) || !aU(a))) return [t - i, t + a];+function OAe(e, t, n) {+ return !n || typeof t != "number" || SB(t) || !n.length ? [] : xZ(n.flatMap((n) => {+ var r = LU(e, n.dataKey), i, a;+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!NU(i) || !NU(a))) return [t - i, t + a];}));}-var YX = (e) => MX(e, iq(e), aq(e)), XX = $([YX], (e) => e?.dataKey), Xke = $([- RX,- lK,- YX-], eq), ZX = (e, t, n, r) => {+var CZ = (e) => oZ(e, Mq(e), Nq(e)), wZ = $([CZ], (e) => e?.dataKey), kAe = $([+ fZ,+ LK,+ CZ+], Oq), TZ = (e, t, n, r) => {var i = t.reduce((e, t) => {if (t.stackId == null) return e;var n = e[t.stackId];@@ -61144,168 +62577,168 @@ var YX = (e) => MX(e, iq(e), aq(e)), XX = $([YX], (e) => e?.dataKey), Xke = $([return Object.fromEntries(Object.entries(i).map((t) => {var [i, a] = t, o = r ? [...a].reverse() : a;return [i, {- stackedData: XCe(e, o.map($K), n),+ stackedData: kwe(e, o.map(Dq), n),graphicalItems: o}];}));-}, QX = $([- Xke,- RX,- DK,- OK-], ZX), $X = (e, t, n, r) => {+}, EZ = $([+ kAe,+ fZ,+ tq,+ nq+], TZ), DZ = (e, t, n, r) => {var { dataStartIndex: i, dataEndIndex: a } = t;if (r == null && n !== "zAxis") {- var o = $Ce(e, i, a);+ var o = Mwe(e, i, a);if (o == null || o[0] !== 0 || o[1] !== 0) return o;}-}, Zke = $([jX], (e) => e.allowDataOverflow), eZ = (e) => {- if (e == null || !("domain" in e)) return CX;+}, AAe = $([aZ], (e) => e.allowDataOverflow), OZ = (e) => {+ if (e == null || !("domain" in e)) return ZX;if (e.domain != null) return e.domain;if ("ticks" in e && e.ticks != null) {if (e.type === "number") {- var t = qX(e.ticks);+ var t = xZ(e.ticks);return [Math.min(...t), Math.max(...t)];}if (e.type === "category") return e.ticks.map(String);}- return e?.domain ?? CX;-}, tZ = $([jX], eZ), nZ = $([tZ, Zke], pK), Qke = $([- QX,- sK,- ZK,- nZ-], $X, { memoizeOptions: { resultEqualityCheck: nq } }), rZ = (e) => e.errorBars, $ke = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => JX(n, e)), iZ = function() {+ return e?.domain ?? ZX;+}, kZ = $([aZ], OZ), AZ = $([kZ, AAe], VK), jAe = $([+ EZ,+ FK,+ Tq,+ AZ+], DZ, { memoizeOptions: { resultEqualityCheck: Aq } }), jZ = (e) => e.errorBars, MAe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => SZ(n, e)), MZ = function() {var e = [...arguments].filter(Boolean);if (e.length !== 0) {var t = e.flat();return [Math.min(...t), Math.max(...t)];}-}, aZ = (e, t, n, r, i) => {+}, NZ = (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) => JX(i, e)), c = lU(e, t.dataKey ?? n.dataKey), l = Yke(e, c, s);+ var s = r[n.id]?.filter((e) => SZ(i, e)), c = LU(e, t.dataKey ?? n.dataKey), l = OAe(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 = KX(c);+ var f = bZ(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 = KX(lU(e, t.dataKey));+ var n = bZ(LU(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]));- }), aU(a) && aU(o)) return [a, o];-}, eAe = $([- HX,- jX,- Gke,- rZ,- ZK-], aZ, { memoizeOptions: { resultEqualityCheck: nq } });-function tAe(e) {+ }), NU(a) && NU(o)) return [a, o];+}, NAe = $([+ gZ,+ aZ,+ wAe,+ jZ,+ Tq+], NZ, { memoizeOptions: { resultEqualityCheck: Aq } });+function PAe(e) {var { value: t } = e;- if ($z(t) || t instanceof Date) return t;-}-var nAe = (e, t, n) => {- var r = e.map(tAe).filter((e) => e != null);- return n && (t.dataKey == null || t.allowDuplicatedCategory && nB(r)) ? oK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));-}, oZ = (e) => e.referenceElements.dots, sZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), rAe = $([- oZ,- ZK,- QK-], sZ), cZ = (e) => e.referenceElements.areas, iAe = $([- cZ,- ZK,- QK-], sZ), lZ = (e) => e.referenceElements.lines, aAe = $([- lZ,- ZK,- QK-], sZ), uZ = (e, t) => {+ if (wB(t) || t instanceof Date) return t;+}+var FAe = (e, t, n) => {+ var r = e.map(PAe).filter((e) => e != null);+ return n && (t.dataKey == null || t.allowDuplicatedCategory && DB(r)) ? PK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));+}, PZ = (e) => e.referenceElements.dots, FZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), IAe = $([+ PZ,+ Tq,+ Eq+], FZ), IZ = (e) => e.referenceElements.areas, LAe = $([+ IZ,+ Tq,+ Eq+], FZ), LZ = (e) => e.referenceElements.lines, RAe = $([+ LZ,+ Tq,+ Eq+], FZ), RZ = (e, t) => {if (e != null) {- var n = qX(e.map((e) => t === "xAxis" ? e.x : e.y));+ var n = xZ(e.map((e) => t === "xAxis" ? e.x : e.y));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, oAe = $(rAe, ZK, uZ), dZ = (e, t) => {+}, zAe = $(IAe, Tq, RZ), zZ = (e, t) => {if (e != null) {- var n = qX(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));+ var n = xZ(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)];}-}, sAe = $([iAe, ZK], dZ);-function cAe(e) {- if (e.x != null) return qX([e.x]);+}, BAe = $([LAe, Tq], zZ);+function VAe(e) {+ if (e.x != null) return xZ([e.x]);var t = e.segment?.map((e) => e.x);- return t == null || t.length === 0 ? [] : qX(t);+ return t == null || t.length === 0 ? [] : xZ(t);}-function lAe(e) {- if (e.y != null) return qX([e.y]);+function HAe(e) {+ if (e.y != null) return xZ([e.y]);var t = e.segment?.map((e) => e.y);- return t == null || t.length === 0 ? [] : qX(t);+ return t == null || t.length === 0 ? [] : xZ(t);}-var fZ = (e, t) => {+var BZ = (e, t) => {if (e != null) {- var n = e.flatMap((e) => t === "xAxis" ? cAe(e) : lAe(e));+ var n = e.flatMap((e) => t === "xAxis" ? VAe(e) : HAe(e));if (n.length !== 0) return [Math.min(...n), Math.max(...n)];}-}, uAe = $(oAe, $([aAe, ZK], fZ), sAe, (e, t, n) => iZ(e, n, t)), pZ = (e, t, n, r, i, a, o, s) => n ?? rDe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? iZ(r, a, i) : iZ(a, i), e.allowDataOverflow), dAe = $([- jX,- tZ,- nZ,- Qke,- eAe,- uAe,- XU,- ZK-], pZ, { memoizeOptions: { resultEqualityCheck: nq } }), fAe = [0, 1], mZ = (e, t, n, r, i, a, o) => {+}, UAe = $(zAe, $([RAe, Tq], BZ), BAe, (e, t, n) => MZ(e, n, t)), VZ = (e, t, n, r, i, a, o, s) => n ?? IDe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? MZ(r, a, i) : MZ(a, i), e.allowDataOverflow), WAe = $([+ aZ,+ kZ,+ AZ,+ jAe,+ NAe,+ UAe,+ wW,+ Tq+], VZ, { memoizeOptions: { resultEqualityCheck: Aq } }), GAe = [0, 1], HZ = (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 = uU(t, a);- return l && s == null ? oK(0, n?.length ?? 0) : c === "category" ? nAe(r, e, l) : i === "expand" ? fAe : o;- }-}, hZ = $([- jX,- XU,- HX,- WX,- DK,- ZK,- dAe-], mZ), gZ = $([- jX,- NX,- kK-], yX), _Z = (e, t, n) => {+ var { dataKey: s, type: c } = e, l = RU(t, a);+ return l && s == null ? PK(0, n?.length ?? 0) : c === "category" ? FAe(r, e, l) : i === "expand" ? GAe : o;+ }+}, UZ = $([+ aZ,+ wW,+ gZ,+ vZ,+ tq,+ Tq,+ WAe+], HZ), WZ = $([+ aZ,+ sZ,+ rq+], qX), GZ = (e, t, n) => {var { niceTicks: r } = t;if (r !== "none") {- var i = eZ(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && dK(e)) {- if (a) return xK(e, t.tickCount, t.allowDecimals, r);- if (t.type === "number") return SK(e, t.tickCount, t.allowDecimals, r);+ var i = OZ(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 YK(e, t.tickCount, t.allowDecimals, r);+ if (t.type === "number") return XK(e, t.tickCount, t.allowDecimals, r);}if (r === "auto" && n === "linear" && t != null && t.tickCount) {- if (a && dK(e)) return xK(e, t.tickCount, t.allowDecimals, "adaptive");- if (t.type === "number" && dK(e)) return SK(e, t.tickCount, t.allowDecimals, "adaptive");+ if (a && zK(e)) return YK(e, t.tickCount, t.allowDecimals, "adaptive");+ if (t.type === "number" && zK(e)) return XK(e, t.tickCount, t.allowDecimals, "adaptive");}}-}, vZ = $([- hZ,- MX,- gZ-], _Z), yZ = (e, t, n, r) => {- if (r !== "angleAxis" && e?.type === "number" && dK(t) && Array.isArray(n) && n.length > 0) {+}, KZ = $([+ UZ,+ oZ,+ WZ+], GZ), qZ = (e, t, n, r) => {+ if (r !== "angleAxis" && e?.type === "number" && zK(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;-}, pAe = $([- jX,- hZ,- vZ,- ZK-], yZ), bZ = $($(WX, jX, (e, t) => {+}, KAe = $([+ aZ,+ UZ,+ KZ,+ Tq+], qZ), JZ = $($(vZ, aZ, (e, t) => {if (!(!t || t.type !== "number")) {- var n = Infinity, r = Array.from(qX(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];+ var n = Infinity, r = Array.from(xZ(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;@@ -61318,22 +62751,22 @@ var fZ = (e, t) => {}return n / o;}-}), XU, TK, AU, (e, t, n, r, i) => i, (e, t, n, r, i) => {- if (!aU(e)) return 0;+}), wW, $K, iW, (e, t, n, r, i) => i, (e, t, n, r, i) => {+ if (!NU(e)) return 0;var a = t === "vertical" ? r.height : r.width;if (i === "gap") return e * a / 2;if (i === "no-gap") {- var o = tB(n, e * a), s = e * a / 2;+ var o = EB(n, e * a), s = e * a / 2;return s - o - (s - o) / a * o;}return 0;-}), mAe = (e, t, n) => {- var r = EX(e, t);- return r == null || typeof r.padding != "string" ? 0 : bZ(e, "xAxis", t, n, r.padding);-}, hAe = (e, t, n) => {- var r = kX(e, t);- return r == null || typeof r.padding != "string" ? 0 : bZ(e, "yAxis", t, n, r.padding);-}, gAe = $(EX, mAe, (e, t) => {+}), qAe = (e, t, n) => {+ var r = eZ(e, t);+ return r == null || typeof r.padding != "string" ? 0 : JZ(e, "xAxis", t, n, r.padding);+}, JAe = (e, t, n) => {+ var r = rZ(e, t);+ return r == null || typeof r.padding != "string" ? 0 : JZ(e, "yAxis", t, n, r.padding);+}, YAe = $(eZ, qAe, (e, t) => {if (e == null) return {left: 0,right: 0@@ -61346,7 +62779,7 @@ var fZ = (e, t) => {left: (n.left ?? 0) + t,right: (n.right ?? 0) + t};-}), _Ae = $(kX, hAe, (e, t) => {+}), XAe = $(rZ, JAe, (e, t) => {if (e == null) return {top: 0,bottom: 0@@ -61359,98 +62792,98 @@ var fZ = (e, t) => {top: (n.top ?? 0) + t,bottom: (n.bottom ?? 0) + t};-}), vAe = $([- AU,- gAe,- PU,- NU,+}), ZAe = $([+ iW,+ YAe,+ cW,+ sW,(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];-}), yAe = $([- AU,- XU,- _Ae,- PU,- NU,+}), QAe = $([+ iW,+ wW,+ XAe,+ cW,+ sW,(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];-}), xZ = (e, t, n, r) => {+}), YZ = (e, t, n, r) => {switch (t) {- case "xAxis": return vAe(e, n, r);- case "yAxis": return yAe(e, n, r);- case "zAxis": return AX(e, n)?.range;- case "angleAxis": return JK(e);- case "radiusAxis": return YK(e, n);+ case "xAxis": return ZAe(e, n, r);+ case "yAxis": return QAe(e, n, r);+ case "zAxis": return iZ(e, n)?.range;+ case "angleAxis": return Sq(e);+ case "radiusAxis": return Cq(e, n);default: return;}-}, SZ = $([jX, xZ], IK), CZ = $([- jX,- gZ,- $([gZ, pAe], sq),- SZ-], vX), wZ = (e, t, n, r) => {+}, XZ = $([aZ, YZ], uq), ZZ = $([+ aZ,+ WZ,+ $([WZ, KAe], Fq),+ XZ+], KX), QZ = (e, t, n, r) => {if (n != null && n.dataKey != null) {var { type: i, scale: a } = n;- if (uU(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);- }-}, TZ = $([- XU,- WX,- MX,- ZK-], wZ), EZ = $([CZ], oq);-$([CZ], Rke), $([CZ, Jke], bX), $([- LX,- rZ,- ZK-], $ke);-function DZ(e, t) {+ if (RU(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);+ }+}, $Z = $([+ wW,+ vZ,+ oZ,+ Tq+], QZ), eQ = $([ZZ], Pq);+$([ZZ], _Ae), $([ZZ, DAe], JX), $([+ dZ,+ jZ,+ Tq+], MAe);+function tQ(e, t) {return e.id < t.id ? -1 : +(e.id > t.id);}-var OZ = (e, t) => t, kZ = (e, t, n) => n, bAe = $(EU, OZ, kZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(DZ)), xAe = $(DU, OZ, kZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(DZ)), AZ = (e, t) => ({+var nQ = (e, t) => t, rQ = (e, t, n) => n, $Ae = $(eW, nQ, rQ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(tQ)), eje = $(tW, nQ, rQ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(tQ)), iQ = (e, t) => ({width: e.width,height: t.height-}), SAe = (e, t) => ({+}), tje = (e, t) => ({width: typeof t.width == "number" ? t.width : 60,height: e.height-}), jZ = $(AU, EX, AZ), CAe = (e, t, n) => {+}), aQ = $(iW, eZ, iQ), nje = (e, t, n) => {switch (t) {case "top": return e.top;case "bottom": return n - e.bottom;default: return 0;}-}, wAe = (e, t, n) => {+}, rje = (e, t, n) => {switch (t) {case "left": return e.left;case "right": return n - e.right;default: return 0;}-}, TAe = $(wU, AU, bAe, OZ, kZ, (e, t, n, r, i) => {+}, ije = $(QU, iW, $Ae, nQ, rQ, (e, t, n, r, i) => {var a = {}, o;return n.forEach((n) => {- var s = AZ(t, n);- o ??= CAe(t, r, e);+ var s = iQ(t, n);+ o ??= nje(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;-}), EAe = $(CU, AU, xAe, OZ, kZ, (e, t, n, r, i) => {+}), aje = $(ZU, iW, eje, nQ, rQ, (e, t, n, r, i) => {var a = {}, o;return n.forEach((n) => {- var s = SAe(t, n);- o ??= wAe(t, r, e);+ var s = tje(t, n);+ o ??= rje(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;-}), DAe = $([- AU,- EX,+}), oje = $([+ iW,+ eZ,(e, t) => {- var n = EX(e, t);- if (n != null) return TAe(e, n.orientation, n.mirror);+ var n = eZ(e, t);+ if (n != null) return ije(e, n.orientation, n.mirror);},(e, t) => t], (e, t, n, r) => {@@ -61464,12 +62897,12 @@ var OZ = (e, t) => t, kZ = (e, t, n) => n, bAe = $(EU, OZ, kZ, (e, t, n) => e.fiy: i};}-}), OAe = $([- AU,- kX,+}), sje = $([+ iW,+ rZ,(e, t) => {- var n = kX(e, t);- if (n != null) return EAe(e, n.orientation, n.mirror);+ var n = rZ(e, t);+ if (n != null) return aje(e, n.orientation, n.mirror);},(e, t) => t], (e, t, n, r) => {@@ -61483,38 +62916,38 @@ var OZ = (e, t) => t, kZ = (e, t, n) => n, bAe = $(EU, OZ, kZ, (e, t, n) => e.fiy: e.top};}-}), MZ = $(AU, kX, (e, t) => ({+}), oQ = $(iW, rZ, (e, t) => ({width: typeof t.width == "number" ? t.width : 60,height: e.height-})), NZ = (e, t, n) => {+})), sQ = (e, t, n) => {switch (t) {- case "xAxis": return jZ(e, n).width;- case "yAxis": return MZ(e, n).height;+ case "xAxis": return aQ(e, n).width;+ case "yAxis": return oQ(e, n).height;default: return;}-}, PZ = (e, t, n, r) => {+}, cQ = (e, t, n, r) => {if (n != null) {- var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = uU(e, r), c = t.map((e) => e.value);- if (o && s && a === "category" && i && nB(c)) return c;- }-}, FZ = $([- XU,- WX,- jX,- ZK-], PZ), IZ = $([- XU,- Uke,- gZ,- EZ,- FZ,- TZ,- xZ,+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = RU(e, r), c = t.map((e) => e.value);+ if (o && s && a === "category" && i && DB(c)) return c;+ }+}, lQ = $([+ wW,vZ,- ZK+ aZ,+ Tq+], cQ), uQ = $([+ wW,+ SAe,+ WZ,+ eQ,+ lQ,+ $Z,+ YZ,+ KZ,+ Tq], (e, t, n, r, i, a, o, s, c) => {if (t != null) {- var l = uU(e, c);+ var l = RU(e, c);return {angle: t.angle,interval: t.interval,@@ -61536,107 +62969,107 @@ var OZ = (e, t) => t, kZ = (e, t, n) => n, bAe = $(EU, OZ, kZ, (e, t, n) => e.fiscale: r};}-}), LZ = (e, t, n, r, i, a, o, s, c) => {+}), dQ = (e, t, n, r, i, a, o, s, c) => {if (t != null && r != null) {- var l = uU(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 ? Xz(a[0] - a[1]) * 2 * m : m;+ var l = RU(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 ? xB(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 aU(i) ? {+ return NU(i) ? {index: t,coordinate: i + m,value: e,offset: m} : null;- }).filter(sB) : l && s ? s.map((e, t) => {+ }).filter(MB) : l && s ? s.map((e, t) => {var n = r.map(e);- return aU(n) ? {+ return NU(n) ? {coordinate: n + m,value: e,index: t,offset: m} : null;- }).filter(sB) : r.ticks ? r.ticks(f).map((e, t) => {+ }).filter(MB) : r.ticks ? r.ticks(f).map((e, t) => {var n = r.map(e);- return aU(n) ? {+ return NU(n) ? {coordinate: n + m,value: e,index: t,offset: m} : null;- }).filter(sB) : r.domain().map((e, t) => {+ }).filter(MB) : r.domain().map((e, t) => {var n = r.map(e);- return aU(n) ? {+ return NU(n) ? {coordinate: n + m,value: o ? o[e] : e,index: t,offset: m} : null;- }).filter(sB);+ }).filter(MB);}-}, RZ = $([- XU,- MX,- gZ,- EZ,- vZ,- xZ,- FZ,- TZ,- ZK-], LZ), zZ = (e, t, n, r, i, a, o) => {+}, fQ = $([+ wW,+ oZ,+ WZ,+ eQ,+ KZ,+ YZ,+ lQ,+ $Z,+ Tq+], dQ), pQ = (e, t, n, r, i, a, o) => {if (t != null && n != null && r != null && r[0] !== r[1]) {- var s = uU(e, o), { tickCount: c } = t, l = 0;- return l = o === "angleAxis" && r?.length >= 2 ? Xz(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {+ var s = RU(e, o), { tickCount: c } = t, l = 0;+ return l = o === "angleAxis" && r?.length >= 2 ? xB(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {var r = n.map(e);- return aU(r) ? {+ return NU(r) ? {coordinate: r + l,value: e,index: t,offset: l} : null;- }).filter(sB) : n.ticks ? n.ticks(c).map((e, t) => {+ }).filter(MB) : n.ticks ? n.ticks(c).map((e, t) => {var r = n.map(e);- return aU(r) ? {+ return NU(r) ? {coordinate: r + l,value: e,index: t,offset: l} : null;- }).filter(sB) : n.domain().map((e, t) => {+ }).filter(MB) : n.domain().map((e, t) => {var r = n.map(e);- return aU(r) ? {+ return NU(r) ? {coordinate: r + l,value: i ? i[e] : e,index: t,offset: l} : null;- }).filter(sB);+ }).filter(MB);}-}, BZ = $([- XU,- MX,- EZ,- xZ,- FZ,- TZ,- ZK-], zZ), VZ = $(jX, EZ, (e, t) => {- if (e != null && t != null) return SX(SX({}, e), {}, { scale: t });+}, mQ = $([+ wW,+ oZ,+ eQ,+ YZ,+ lQ,+ $Z,+ Tq+], pQ), hQ = $(aZ, eQ, (e, t) => {+ if (e != null && t != null) return XX(XX({}, e), {}, { scale: t });});-$((e, t, n) => AX(e, n), $([$([- jX,- gZ,- hZ,- SZ-], vX)], oq), (e, t) => {- if (e != null && t != null) return SX(SX({}, e), {}, { scale: t });+$((e, t, n) => iZ(e, n), $([$([+ aZ,+ WZ,+ UZ,+ XZ+], KX)], Pq), (e, t) => {+ if (e != null && t != null) return XX(XX({}, e), {}, { scale: t });});-var kAe = $([- XU,- EU,- DU+var cje = $([+ wW,+ eW,+ tW], (e, t, n) => {switch (e) {case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";@@ -61658,41 +63091,41 @@ $([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {});//#endregion//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js-var HZ = (e) => e.options.defaultTooltipEventType, UZ = (e) => e.options.validateTooltipEventTypes;-function WZ(e, t, n) {+var gQ = (e) => e.options.defaultTooltipEventType, _Q = (e) => e.options.validateTooltipEventTypes;+function vQ(e, t, n) {if (e == null) return t;var r = e ? "axis" : "item";return n == null ? t : n.includes(r) ? r : t;}-function GZ(e, t) {- return WZ(t, HZ(e), UZ(e));+function yQ(e, t) {+ return vQ(t, gQ(e), _Q(e));}-function AAe(e) {- return Q((t) => GZ(t, e));+function lje(e) {+ return Q((t) => yQ(t, e));}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js-var KZ = (e, t) => {+var bQ = (e, t) => {var n, r = Number(t);- if (!(Zz(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;-}, jAe = (e) => e.tooltip.settings, qZ = {+ if (!(SB(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;+}, uje = (e) => e.tooltip.settings, xQ = {active: !1,index: null,dataKey: void 0,graphicalItemId: void 0,coordinate: void 0-}, JZ = AH({+}, SQ = iU({name: "tooltip",initialState: {itemInteraction: {- click: qZ,- hover: qZ+ click: xQ,+ hover: xQ},axisInteraction: {- click: qZ,- hover: qZ+ click: xQ,+ hover: xQ},- keyboardInteraction: qZ,+ keyboardInteraction: xQ,syncInteraction: {active: !1,index: null,@@ -61714,23 +63147,23 @@ var KZ = (e, t) => {reducers: {addTooltipEntrySettings: {reducer(e, t) {- e.tooltipItemPayloads.push(VW(t.payload));+ e.tooltipItemPayloads.push(hG(t.payload));},- prepare: EH()+ prepare: eU()},replaceTooltipEntrySettings: {reducer(e, t) {- var { prev: n, next: r } = t.payload, i = _H(e).tooltipItemPayloads.indexOf(VW(n));- i > -1 && (e.tooltipItemPayloads[i] = VW(r));+ var { prev: n, next: r } = t.payload, i = GH(e).tooltipItemPayloads.indexOf(hG(n));+ i > -1 && (e.tooltipItemPayloads[i] = hG(r));},- prepare: EH()+ prepare: eU()},removeTooltipEntrySettings: {reducer(e, t) {- var n = _H(e).tooltipItemPayloads.indexOf(VW(t.payload));+ var n = GH(e).tooltipItemPayloads.indexOf(hG(t.payload));n > -1 && e.tooltipItemPayloads.splice(n, 1);},- prepare: EH()+ prepare: eU()},setTooltipSettingsState(e, t) {e.settings = t.payload;@@ -61760,10 +63193,10 @@ var KZ = (e, t) => {e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;}}-}), { addTooltipEntrySettings: MAe, replaceTooltipEntrySettings: NAe, removeTooltipEntrySettings: PAe, setTooltipSettingsState: FAe, setActiveMouseOverItemIndex: YZ, mouseLeaveItem: IAe, mouseLeaveChart: XZ, setActiveClickItemIndex: LAe, setMouseOverAxisIndex: ZZ, setMouseClickAxisIndex: RAe, setSyncInteraction: QZ, setKeyboardInteraction: $Z } = JZ.actions, zAe = JZ.reducer;+}), { addTooltipEntrySettings: dje, replaceTooltipEntrySettings: fje, removeTooltipEntrySettings: pje, setTooltipSettingsState: mje, setActiveMouseOverItemIndex: CQ, mouseLeaveItem: hje, mouseLeaveChart: wQ, setActiveClickItemIndex: gje, setMouseOverAxisIndex: TQ, setMouseClickAxisIndex: _je, setSyncInteraction: EQ, setKeyboardInteraction: DQ } = SQ.actions, vje = SQ.reducer;//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js-function eQ(e, t) {+function OQ(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -61773,30 +63206,30 @@ function eQ(e, t) {}return n;}-function tQ(e) {+function kQ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? eQ(Object(n), !0).forEach(function(t) {- BAe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eQ(Object(n)).forEach(function(t) {+ t % 2 ? OQ(Object(n), !0).forEach(function(t) {+ yje(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OQ(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function BAe(e, t, n) {- return (t = VAe(t)) in e ? Object.defineProperty(e, t, {+function yje(e, t, n) {+ return (t = bje(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function VAe(e) {- var t = HAe(e, "string");+function bje(e) {+ var t = xje(e, "string");return typeof t == "symbol" ? t : t + "";}-function HAe(e, t) {+function xje(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -61806,22 +63239,22 @@ function HAe(e, t) {}return (t === "string" ? String : Number)(e);}-function UAe(e, t, n) {+function Sje(e, t, n) {return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;}-function WAe(e) {+function Cje(e) {return e.index != null;}-var nQ = (e, t, n, r) => {- if (t == null) return qZ;- var i = UAe(e, t, n);- if (i == null) return qZ;+var AQ = (e, t, n, r) => {+ if (t == null) return xQ;+ var i = Sje(e, t, n);+ if (i == null) return xQ;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 (WAe(i)) {- if (a) return tQ(tQ({}, i), {}, { active: !0 });+ if (Cje(i)) {+ if (a) return kQ(kQ({}, i), {}, { active: !0 });} else if (r != null) return {active: !0,coordinate: void 0,@@ -61829,11 +63262,11 @@ var nQ = (e, t, n, r) => {index: r,graphicalItemId: void 0};- return tQ(tQ({}, qZ), {}, { coordinate: i.coordinate });+ return kQ(kQ({}, xQ), {}, { coordinate: i.coordinate });};//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js-function GAe(e) {+function wje(e) {if (typeof e == "number") return Number.isFinite(e) ? e : void 0;if (e instanceof Date) {var t = e.valueOf();@@ -61842,25 +63275,25 @@ function GAe(e) {var n = Number(e);return Number.isFinite(n) ? n : void 0;}-function KAe(e, t) {- var n = GAe(e), r = t[0], i = t[1];+function Tje(e, t) {+ var n = wje(e), r = t[0], i = t[1];return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);}-function qAe(e, t, n) {+function Eje(e, t, n) {if (n == null || t == null) return !0;- var r = lU(e, t);- return r == null || !dK(n) || KAe(r, n);+ var r = LU(e, t);+ return r == null || !zK(n) || Tje(r, n);}-var rQ = (e, t, n, r) => {+var jQ = (e, t, n, r) => {var i = e?.index;if (i == null) return null;var a = Number(i);- if (!aU(a)) return i;+ if (!NU(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 || qAe(l, n, r) ? String(c) : null;-}, iQ = (e, t, n, r, i, a, o) => {+ return l == null || Eje(l, n, r) ? String(c) : null;+}, MQ = (e, t, n, r, i, a, o) => {if (a != null) {var s = o[0]?.getPosition(a);if (s != null) return s;@@ -61876,7 +63309,7 @@ var rQ = (e, t, n, r) => {};}}-}, aQ = (e, t, n, r) => {+}, NQ = (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;@@ -61886,10 +63319,10 @@ var rQ = (e, t, n, r) => {return a == null ? [] : [a];}return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);-}, oQ = (e) => e.options.tooltipPayloadSearcher, sQ = (e) => e.tooltip;+}, PQ = (e) => e.options.tooltipPayloadSearcher, FQ = (e) => e.tooltip;//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js-function cQ(e, t) {+function IQ(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -61899,30 +63332,30 @@ function cQ(e, t) {}return n;}-function lQ(e) {+function LQ(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? cQ(Object(n), !0).forEach(function(t) {- JAe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cQ(Object(n)).forEach(function(t) {+ t % 2 ? IQ(Object(n), !0).forEach(function(t) {+ Dje(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IQ(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function JAe(e, t, n) {- return (t = YAe(t)) in e ? Object.defineProperty(e, t, {+function Dje(e, t, n) {+ return (t = Oje(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function YAe(e) {- var t = XAe(e, "string");+function Oje(e) {+ var t = kje(e, "string");return typeof t == "symbol" ? t : t + "";}-function XAe(e, t) {+function kje(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -61932,222 +63365,222 @@ function XAe(e, t) {}return (t === "string" ? String : Number)(e);}-function ZAe(e) {+function Aje(e) {if (typeof e == "string" || typeof e == "number") return e;}-function QAe(e) {+function jje(e) {if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;}-function $Ae(e) {+function Mje(e) {if (typeof e == "string" || typeof e == "number") return e;if (typeof e == "function") return (t) => e(t);}-function uQ(e) {+function RQ(e) {if (typeof e == "string") return e;}-function eje(e) {+function Nje(e) {if (!(typeof e != "object" || !e)) return {- name: "name" in e ? ZAe(e.name) : void 0,- unit: "unit" in e ? QAe(e.unit) : void 0,- dataKey: "dataKey" in e ? $Ae(e.dataKey) : void 0,+ name: "name" in e ? Aje(e.name) : void 0,+ unit: "unit" in e ? jje(e.unit) : void 0,+ dataKey: "dataKey" in e ? Mje(e.dataKey) : void 0,payload: "payload" in e ? e.payload : void 0,- color: "color" in e ? uQ(e.color) : void 0,- fill: "fill" in e ? uQ(e.fill) : void 0+ color: "color" in e ? RQ(e.color) : void 0,+ fill: "fill" in e ? RQ(e.fill) : void 0};}-function tje(e, t) {+function Pje(e, t) {return e ?? t;}-var dQ = (e, t, n, r, i, a, o) => {+var zQ = (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 = tje(d, s), m = Array.isArray(p) ? iU(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? iB(m, r, i) : a(m, t, c, g);+ var { dataDefinedOnItem: d, settings: f } = n, p = Pje(d, s), m = Array.isArray(p) ? MU(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? kB(m, r, i) : a(m, t, c, g);return Array.isArray(_) ? _.forEach((t) => {- var n = eje(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = lQ(lQ({}, f), {}, {+ var n = Nje(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = LQ(LQ({}, f), {}, {name: r,unit: n?.unit,color: n?.color ?? f?.color,fill: n?.fill ?? f?.fill});- e.push(xU({+ e.push(YU({tooltipEntrySettings: o,dataKey: i,payload: a,- value: lU(a, i),+ value: LU(a, i),name: r == null ? void 0 : String(r)}));- }) : e.push(xU({+ }) : e.push(YU({tooltipEntrySettings: f,dataKey: h,payload: _,- value: lU(_, h),- name: lU(_, g) ?? f?.name+ value: LU(_, h),+ name: LU(_, g) ?? f?.name})), e;}, []);}-}, fQ = $([- YX,- NX,- kK-], yX), pQ = $([+}, BQ = $([+ CZ,+ sZ,+ rq+], qX), VQ = $([$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),- YX,- $([iq, aq], PX)-], IX, { memoizeOptions: { resultEqualityCheck: rq } }), nje = $([pQ], (e) => e.filter(tq)), mQ = $([$([pQ], BX, { memoizeOptions: { resultEqualityCheck: rq } }), sK], VX), rje = $([- nje,- sK,- YX-], eq), hQ = $([- mQ,- YX,- pQ-], UX), gQ = $([YX], eZ), _Q = $([gQ, $([YX], (e) => e.allowDataOverflow)], pK), ije = $([+ CZ,+ $([Mq, Nq], cZ)+], uZ, { memoizeOptions: { resultEqualityCheck: jq } }), Fje = $([VQ], (e) => e.filter(kq)), HQ = $([$([VQ], mZ, { memoizeOptions: { resultEqualityCheck: jq } }), FK], hZ), Ije = $([+ Fje,+ FK,+ CZ+], Oq), UQ = $([+ HQ,+ CZ,+ VQ+], _Z), WQ = $([CZ], OZ), GQ = $([WQ, $([CZ], (e) => e.allowDataOverflow)], VK), Lje = $([$([- rje,- $([pQ], (e) => e.filter(tq)),- DK,- OK- ], ZX),- sK,- iq,- _Q-], $X), aje = $([- mQ,- YX,- $([pQ], zX),- rZ,- iq-], aZ, { memoizeOptions: { resultEqualityCheck: nq } }), oje = $([$([- oZ,- iq,- aq-], sZ), iq], uZ), sje = $([$([- cZ,- iq,- aq-], sZ), iq], dZ), vQ = $([- YX,- XU,- mQ,- hQ,- DK,- iq,+ Ije,+ $([VQ], (e) => e.filter(kq)),+ tq,+ nq+ ], TZ),+ FK,+ Mq,+ GQ+], DZ), Rje = $([+ HQ,+ CZ,+ $([VQ], pZ),+ jZ,+ Mq+], NZ, { memoizeOptions: { resultEqualityCheck: Aq } }), zje = $([$([+ PZ,+ Mq,+ Nq+], FZ), Mq], RZ), Bje = $([$([+ IZ,+ Mq,+ Nq+], FZ), Mq], zZ), KQ = $([+ CZ,+ wW,+ HQ,+ UQ,+ tq,+ Mq,$([- YX,- gQ,- _Q,- ije,- aje,+ CZ,+ WQ,+ GQ,+ Lje,+ Rje,$([- oje,+ zje,$([$([- lZ,- iq,- aq- ], sZ), iq], fZ),- sje- ], iZ),- XU,- iq- ], pZ)-], mZ), cje = $([- YX,- vQ,+ LZ,+ Mq,+ Nq+ ], FZ), Mq], BZ),+ Bje+ ], MZ),+ wW,+ Mq+ ], VZ)+], HZ), Vje = $([+ CZ,+ KQ,$([- vQ,- YX,- fQ- ], _Z),- iq-], yZ), yQ = (e) => xZ(e, iq(e), aq(e), !1), bQ = $([YX, yQ], IK), xQ = $([$([- YX,- fQ,- cje,- bQ-], vX)], oq), SQ = $([- XU,- YX,- fQ,- xQ,- yQ,+ KQ,+ CZ,+ BQ+ ], GZ),+ Mq+], qZ), qQ = (e) => YZ(e, Mq(e), Nq(e), !1), JQ = $([CZ, qQ], uq), YQ = $([$([+ CZ,+ BQ,+ Vje,+ JQ+], KX)], Pq), XQ = $([+ wW,+ CZ,+ BQ,+ YQ,+ qQ,$([- XU,- hQ,- YX,- iq- ], PZ),+ wW,+ UQ,+ CZ,+ Mq+ ], cQ),$([- XU,- hQ,- YX,- iq- ], wZ),- iq+ wW,+ UQ,+ CZ,+ Mq+ ], QZ),+ Mq], (e, t, n, r, i, a, o, s) => {if (t) {- var { type: c } = t, l = uU(e, s);+ var { type: c } = t, l = RU(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 ? Xz(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? xB(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {var n = r.map(e);- return aU(n) ? {+ return NU(n) ? {coordinate: n + d,value: e,index: t,offset: d} : null;- }).filter(sB) : r.domain().map((e, t) => {+ }).filter(MB) : r.domain().map((e, t) => {var n = r.map(e);- return aU(n) ? {+ return NU(n) ? {coordinate: n + d,value: a ? a[e] : e,index: t,offset: d} : null;- }).filter(sB);- }- }-}), CQ = $([- HZ,- UZ,- jAe-], (e, t, n) => WZ(n.shared, e, t)), wQ = (e) => e.tooltip.settings.trigger, TQ = (e) => e.tooltip.settings.defaultIndex, EQ = $([- sQ,- CQ,- wQ,- TQ-], nQ), DQ = $([- EQ,- mQ,- XX,- vQ-], rQ), OQ = $([SQ, DQ], KZ), kQ = $([EQ], (e) => {+ }).filter(MB);+ }+ }+}), ZQ = $([+ gQ,+ _Q,+ uje+], (e, t, n) => vQ(n.shared, e, t)), QQ = (e) => e.tooltip.settings.trigger, $Q = (e) => e.tooltip.settings.defaultIndex, e$ = $([+ FQ,+ ZQ,+ QQ,+ $Q+], AQ), t$ = $([+ e$,+ HQ,+ wZ,+ KQ+], jQ), n$ = $([XQ, t$], bQ), r$ = $([e$], (e) => {if (e) return e.dataKey;-}), lje = $([EQ], (e) => {+}), Hje = $([e$], (e) => {if (e) return e.graphicalItemId;-}), AQ = $([- sQ,- CQ,- wQ,- TQ-], aQ), uje = $([EQ, $([- CU,- wU,- XU,- AU,- SQ,- TQ,- AQ-], iQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), dje = $([EQ], (e) => e?.active ?? !1), fje = $([$([- AQ,- DQ,- sK,- XX,- OQ,- oQ,- CQ-], dQ)], (e) => {+}), i$ = $([+ FQ,+ ZQ,+ QQ,+ $Q+], NQ), Uje = $([e$, $([+ ZU,+ QU,+ wW,+ iW,+ XQ,+ $Q,+ i$+], MQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), Wje = $([e$], (e) => e?.active ?? !1), Gje = $([$([+ i$,+ t$,+ FK,+ wZ,+ n$,+ PQ,+ ZQ+], zQ)], (e) => {if (e != null) {var t = e.map((e) => e.payload).filter((e) => e != null);return Array.from(new Set(t));@@ -62155,7 +63588,7 @@ var dQ = (e, t, n, r, i, a, o) => {});//#endregion//#region node_modules/recharts/es6/context/useTooltipAxis.js-function jQ(e, t) {+function a$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -62165,30 +63598,30 @@ function jQ(e, t) {}return n;}-function MQ(e) {+function o$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? jQ(Object(n), !0).forEach(function(t) {- pje(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jQ(Object(n)).forEach(function(t) {+ t % 2 ? a$(Object(n), !0).forEach(function(t) {+ Kje(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : a$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function pje(e, t, n) {- return (t = mje(t)) in e ? Object.defineProperty(e, t, {+function Kje(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 mje(e) {- var t = hje(e, "string");+function qje(e) {+ var t = Jje(e, "string");return typeof t == "symbol" ? t : t + "";}-function hje(e, t) {+function Jje(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -62198,13 +63631,13 @@ function hje(e, t) {}return (t === "string" ? String : Number)(e);}-var gje = () => Q(YX), _je = () => {- var e = gje(), t = Q(SQ), n = Q(xQ);- return bU(!e || !n ? void 0 : MQ(MQ({}, e), {}, { scale: n }), t);+var Yje = () => Q(CZ), Xje = () => {+ var e = Yje(), t = Q(XQ), n = Q(YQ);+ return JU(!e || !n ? void 0 : o$(o$({}, e), {}, { scale: n }), t);};//#endregion//#region node_modules/recharts/es6/util/getActiveCoordinate.js-function NQ(e, t) {+function s$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -62214,30 +63647,30 @@ function NQ(e, t) {}return n;}-function PQ(e) {+function c$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? NQ(Object(n), !0).forEach(function(t) {- vje(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NQ(Object(n)).forEach(function(t) {+ t % 2 ? s$(Object(n), !0).forEach(function(t) {+ Zje(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function vje(e, t, n) {- return (t = yje(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 yje(e) {- var t = bje(e, "string");+function Qje(e) {+ var t = $je(e, "string");return typeof t == "symbol" ? t : t + "";}-function bje(e, t) {+function $je(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -62247,7 +63680,7 @@ function bje(e, t) {}return (t === "string" ? String : Number)(e);}-var xje = (e, t, n, r) => {+var eMe = (e, t, n, r) => {var i = t.find((e) => e && e.index === n);if (i) {if (e === "horizontal") return {@@ -62263,18 +63696,18 @@ var xje = (e, t, n, r) => {x: 0,y: 0};-}, Sje = (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 PQ(PQ(PQ({}, r), QG(r.cx, r.cy, o, a)), {}, {+ return c$(c$(c$({}, r), EK(r.cx, r.cy, o, a)), {}, {angle: a,radius: o});}var s = i.coordinate, { angle: c } = r;- return PQ(PQ(PQ({}, r), QG(r.cx, r.cy, s, c)), {}, {+ return c$(c$(c$({}, r), EK(r.cx, r.cy, s, c)), {}, {angle: c,radius: s});@@ -62293,19 +63726,19 @@ var xje = (e, t, n, r) => {y: 0};};-function Cje(e, t) {+function nMe(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 FQ = (e, t, n, r, i) => {+var l$ = (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 (Xz(c - s) !== Xz(l - c)) {+ if (xB(c - s) !== xB(l - c)) {var d = [];- if (Xz(l - c) === Xz(i[1] - i[0])) {+ if (xB(l - c) === xB(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);@@ -62330,78 +63763,78 @@ var FQ = (e, t, n, r, i) => {}}return -1;-}, IQ = () => Q(kK), LQ = (e, t) => t, RQ = (e, t, n) => n, zQ = (e, t, n, r) => r, wje = $(SQ, (e) => $B(e, (e) => e.coordinate)), BQ = $([- sQ,- LQ,- RQ,- zQ-], nQ), VQ = $([- BQ,- mQ,- XX,- vQ-], rQ), Tje = (e, t, n) => {+}, u$ = () => Q(rq), d$ = (e, t) => t, f$ = (e, t, n) => n, p$ = (e, t, n, r) => r, rMe = $(XQ, (e) => DV(e, (e) => e.coordinate)), m$ = $([+ FQ,+ d$,+ f$,+ p$+], AQ), h$ = $([+ m$,+ HQ,+ wZ,+ KQ+], jQ), iMe = (e, t, n) => {if (t != null) {- var r = sQ(e);+ var r = FQ(e);return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;}-}, HQ = $([- sQ,- LQ,- RQ,- zQ-], aQ), UQ = $([- CU,- wU,- XU,- AU,- SQ,- zQ,- HQ-], iQ), Eje = $([BQ, UQ], (e, t) => e.coordinate ?? t), WQ = $([SQ, VQ], KZ), Dje = $([- HQ,- VQ,- sK,- XX,- WQ,- oQ,- LQ-], dQ), Oje = $([BQ, VQ], (e, t) => ({+}, g$ = $([+ FQ,+ d$,+ f$,+ p$+], NQ), _$ = $([+ ZU,+ QU,+ wW,+ iW,+ XQ,+ p$,+ g$+], MQ), aMe = $([m$, _$], (e, t) => e.coordinate ?? t), v$ = $([XQ, h$], bQ), oMe = $([+ g$,+ h$,+ FK,+ wZ,+ v$,+ PQ,+ d$+], zQ), sMe = $([m$, h$], (e, t) => ({isActive: e.active && t != null,activeIndex: t-})), kje = (e, t, n, r, i, a, o) => {- if (!(!e || !n || !r || !i) && Cje(e, o)) {- var s = FQ(ewe(e, t), a, i, n, r), c = xje(t, i, s, e);+})), cMe = (e, t, n, r, i, a, o) => {+ if (!(!e || !n || !r || !i) && nMe(e, o)) {+ var s = l$(Nwe(e, t), a, i, n, r), c = eMe(t, i, s, e);return {activeIndex: String(s),activeCoordinate: c};}-}, Aje = (e, t, n, r, i, a, o) => {+}, lMe = (e, t, n, r, i, a, o) => {if (!(!e || !r || !i || !a || !n)) {- var s = WEe(e, n);+ var s = CDe(e, n);if (s) {- var c = FQ(twe(s, t), o, a, r, i), l = Sje(t, a, c, s);+ var c = l$(Pwe(s, t), o, a, r, i), l = tMe(t, a, c, s);return {activeIndex: String(c),activeCoordinate: l};}}-}, jje = (e, t, n, r, i, a, o, s) => {- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? kje(e, t, r, i, a, o, s) : Aje(e, t, n, r, i, a, o);-}, Mje = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {+}, uMe = (e, t, n, r, i, a, o, s) => {+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? cMe(e, t, r, i, a, o, s) : lMe(e, t, n, r, i, a, o);+}, dMe = $((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;}-}), Nje = $((e) => e.zIndex.zIndexMap, (e) => {- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(NK));+}), fMe = $((e) => e.zIndex.zIndexMap, (e) => {+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(sq));return Array.from(new Set(t)).sort((e, t) => e - t);-}, { memoizeOptions: { resultEqualityCheck: dDe } });+}, { memoizeOptions: { resultEqualityCheck: WDe } });//#endregion//#region node_modules/recharts/es6/state/zIndexSlice.js-function GQ(e, t) {+function y$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -62411,30 +63844,30 @@ function GQ(e, t) {}return n;}-function KQ(e) {+function b$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? GQ(Object(n), !0).forEach(function(t) {- Pje(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GQ(Object(n)).forEach(function(t) {+ t % 2 ? y$(Object(n), !0).forEach(function(t) {+ pMe(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 Pje(e, t, n) {- return (t = Fje(t)) in e ? Object.defineProperty(e, t, {+function pMe(e, t, n) {+ return (t = mMe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Fje(e) {- var t = Ije(e, "string");+function mMe(e) {+ var t = hMe(e, "string");return typeof t == "symbol" ? t : t + "";}-function Ije(e, t) {+function hMe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -62444,17 +63877,17 @@ function Ije(e, t) {}return (t === "string" ? String : Number)(e);}-var Lje = { zIndexMap: Object.values(NK).reduce((e, t) => KQ(KQ({}, e), {}, { [t]: {+var gMe = { zIndexMap: Object.values(sq).reduce((e, t) => b$(b$({}, e), {}, { [t]: {element: void 0,panoramaElement: void 0,consumers: 0-} }), {}) }, Rje = new Set(Object.values(NK));-function zje(e) {- return Rje.has(e);+} }), {}) }, _Me = new Set(Object.values(sq));+function vMe(e) {+ return _Me.has(e);}-var qQ = AH({+var x$ = iU({name: "zIndex",- initialState: Lje,+ initialState: gMe,reducers: {registerZIndexPortal: {reducer: (e, t) => {@@ -62465,61 +63898,61 @@ var qQ = AH({panoramaElement: void 0};},- prepare: EH()+ prepare: eU()},unregisterZIndexPortal: {reducer: (e, t) => {var { zIndex: n } = t.payload;- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !zje(n) && delete e.zIndexMap[n]);+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !vMe(n) && delete e.zIndexMap[n]);},- prepare: EH()+ prepare: eU()},registerZIndexPortalElement: {reducer: (e, t) => {var { zIndex: n, element: r, isPanorama: i } = t.payload;- e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = VW(r) : e.zIndexMap[n].element = VW(r) : e.zIndexMap[n] = {+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = hG(r) : e.zIndexMap[n].element = hG(r) : e.zIndexMap[n] = {consumers: 0,- element: i ? void 0 : VW(r),- panoramaElement: i ? VW(r) : void 0+ element: i ? void 0 : hG(r),+ panoramaElement: i ? hG(r) : void 0};},- prepare: EH()+ prepare: eU()},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: EH()+ prepare: eU()}}-}), { registerZIndexPortal: Bje, unregisterZIndexPortal: Vje, registerZIndexPortalElement: Hje, unregisterZIndexPortalElement: Uje } = qQ.actions, Wje = qQ.reducer;+}), { registerZIndexPortal: yMe, unregisterZIndexPortal: bMe, registerZIndexPortalElement: xMe, unregisterZIndexPortalElement: SMe } = x$.actions, CMe = x$.reducer;//#endregion//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js-function JQ(e) {- var { zIndex: t, children: n } = e, r = Awe() && t !== void 0 && t !== 0, i = MU(), a = GB();- (0, B.useLayoutEffect)(() => r ? (a(Bje({ zIndex: t })), () => {- a(Vje({ zIndex: t }));- }) : cB, [+function S$(e) {+ var { zIndex: t, children: n } = e, r = lTe() && t !== void 0 && t !== 0, i = oW(), a = yV();+ (0, B.useLayoutEffect)(() => r ? (a(yMe({ zIndex: t })), () => {+ a(bMe({ zIndex: t }));+ }) : NB, [a,t,r]);- var o = Q((e) => Mje(e, t, i));+ var o = Q((e) => dMe(e, t, i));return r ? o ? /*#__PURE__*/ (0, $f.createPortal)(n, o) : null : n;}//#endregion//#region node_modules/recharts/es6/component/Cursor.js-function YQ() {- return YQ = Object.assign ? Object.assign.bind() : function(e) {+function C$() {+ return C$ = 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;- }, YQ.apply(null, arguments);+ }, C$.apply(null, arguments);}-function XQ(e, t) {+function w$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -62529,30 +63962,30 @@ function XQ(e, t) {}return n;}-function ZQ(e) {+function T$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? XQ(Object(n), !0).forEach(function(t) {- Gje(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XQ(Object(n)).forEach(function(t) {+ t % 2 ? w$(Object(n), !0).forEach(function(t) {+ wMe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Gje(e, t, n) {- return (t = Kje(t)) in e ? Object.defineProperty(e, t, {+function wMe(e, t, n) {+ return (t = TMe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function Kje(e) {- var t = qje(e, "string");+function TMe(e) {+ var t = EMe(e, "string");return typeof t == "symbol" ? t : t + "";}-function qje(e, t) {+function EMe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -62562,18 +63995,18 @@ function qje(e, t) {}return (t === "string" ? String : Number)(e);}-function Jje(e) {+function DMe(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 Yje(e) {+function OMe(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 = JTe, h = NK.cursorLine;- else if (l === "BarChart") p = YTe(o, u, i, a), m = qG, h = NK.cursorRectangle;- else if (o === "radial" && mB(u)) {- var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = $G(u);+ if (l === "ScatterChart") p = u, m = DEe, h = sq.cursorLine;+ else if (l === "BarChart") p = OEe(o, u, i, a), m = xK, h = sq.cursorRectangle;+ else if (o === "radial" && zB(u)) {+ var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = DK(u);p = {cx: g,cy: _,@@ -62581,25 +64014,25 @@ function Yje(e) {endAngle: b,innerRadius: v,outerRadius: v- }, m = iK, h = NK.cursorLine;- } else p = { points: tDe(o, u, i) }, m = bG, h = NK.cursorLine;- var x = typeof s == "object" && "className" in s ? s.className : void 0, S = ZQ(ZQ(ZQ(ZQ({+ }, m = MK, h = sq.cursorLine;+ } else p = { points: PDe(o, u, i) }, m = JG, h = sq.cursorLine;+ var x = typeof s == "object" && "className" in s ? s.className : void 0, S = T$(T$(T$(T$({stroke: "#ccc",pointerEvents: "none"- }, i), p), UR(s)), {}, {+ }, i), p), mz(s)), {}, {payload: d,payloadIndex: f,className: _h("recharts-tooltip-cursor", x)});- return /*#__PURE__*/ B.createElement(JQ, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ B.createElement(Jje, {+ return /*#__PURE__*/ B.createElement(S$, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ B.createElement(DMe, {cursor: s,cursorComp: m,cursorProps: S}));}-function Xje(e) {- var t = _je(), n = qU(), r = ZU(), i = IQ();- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ B.createElement(Yje, YQ({}, e, {+function kMe(e) {+ var t = Xje(), n = xW(), r = TW(), i = u$();+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ B.createElement(OMe, C$({}, e, {offset: n,layout: r,tooltipAxisBandSize: t,@@ -62608,7 +64041,7 @@ function Xje(e) {}//#endregion//#region node_modules/recharts/es6/context/tooltipPortalContext.js-var QQ = /*#__PURE__*/ (0, B.createContext)(null), Zje = () => (0, B.useContext)(QQ), Qje = (/* @__PURE__ */ Tt((/* @__PURE__ */ xt(((e, t) => {+var E$ = /*#__PURE__*/ (0, B.createContext)(null), AMe = () => (0, B.useContext)(E$), jMe = (/* @__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));@@ -62695,12 +64128,12 @@ var QQ = /*#__PURE__*/ (0, B.createContext)(null), Zje = () => (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, $Q = new Qje(), e$ = "recharts.syncEvent.tooltip", t$ = "recharts.syncEvent.brush", n$ = (e, t) => {+})))(), 1)).default, D$ = new jMe(), O$ = "recharts.syncEvent.tooltip", k$ = "recharts.syncEvent.brush", A$ = (e, t) => {if (t && Array.isArray(e)) {var n = Number.parseInt(t, 10);- if (!Zz(n)) return e[n];+ if (!SB(n)) return e[n];}-}, r$ = AH({+}, j$ = iU({name: "options",initialState: {chartName: "",@@ -62711,13 +64144,13 @@ var QQ = /*#__PURE__*/ (0, B.createContext)(null), Zje = () => (0, B.useContext)reducers: { createEventEmitter: (e) => {e.eventEmitter ??= Symbol("rechartsEventEmitter");} }-}), $je = r$.reducer, { createEventEmitter: eMe } = r$.actions;+}), MMe = j$.reducer, { createEventEmitter: NMe } = j$.actions;//#endregion//#region node_modules/recharts/es6/synchronisation/syncSelectors.js-function tMe(e) {+function PMe(e) {return e.tooltip.syncInteraction;}-var i$ = AH({+var M$ = iU({name: "chartData",initialState: {chartData: void 0,@@ -62727,7 +64160,7 @@ var i$ = AH({},reducers: {setChartData(e, t) {- if (e.chartData = VW(t.payload), t.payload == null) {+ if (e.chartData = hG(t.payload), t.payload == null) {e.dataStartIndex = 0, e.dataEndIndex = 0;return;}@@ -62741,8 +64174,8 @@ var i$ = AH({n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);}}-}), { setChartData: a$, setDataStartEndIndexes: nMe, setComputedData: rMe } = i$.actions, iMe = i$.reducer, aMe = ["x", "y"];-function o$(e, t) {+}), { setChartData: N$, setDataStartEndIndexes: FMe, setComputedData: IMe } = M$.actions, LMe = M$.reducer, RMe = ["x", "y"];+function P$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -62752,30 +64185,30 @@ function o$(e, t) {}return n;}-function s$(e) {+function F$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? o$(Object(n), !0).forEach(function(t) {- oMe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o$(Object(n)).forEach(function(t) {+ t % 2 ? P$(Object(n), !0).forEach(function(t) {+ zMe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function oMe(e, t, n) {- return (t = sMe(t)) in e ? Object.defineProperty(e, t, {+function zMe(e, t, n) {+ return (t = BMe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function sMe(e) {- var t = cMe(e, "string");+function BMe(e) {+ var t = VMe(e, "string");return typeof t == "symbol" ? t : t + "";}-function cMe(e, t) {+function VMe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -62785,16 +64218,16 @@ function cMe(e, t) {}return (t === "string" ? String : Number)(e);}-function lMe(e, t) {+function HMe(e, t) {if (e == null) return {};- var n, r, i = uMe(e, t);+ var n, r, i = UMe(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 uMe(e, t) {+function UMe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -62803,20 +64236,20 @@ function uMe(e, t) {}return n;}-function dMe() {- var e = Q(AK), t = Q(MK), n = GB(), r = Q(jK), i = Q(SQ), a = ZU(), o = KU(), s = Q((e) => e.rootProps.className);+function WMe() {+ var e = Q(iq), t = Q(oq), n = yV(), r = Q(aq), i = Q(XQ), a = TW(), o = bW(), s = Q((e) => e.rootProps.className);(0, B.useEffect)(() => {- if (e == null) return cB;+ if (e == null) return NB;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 = lMe(d, aMe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = s$(s$({}, m), {}, {+ var d = c.payload.coordinate, { x: f, y: p } = d, m = HMe(d, RMe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = F$(F$({}, m), {}, {x: o.x + (_ ? (f - h) / _ : 0) * o.width,y: o.y + (v ? (p - g) / v : 0) * o.height});- n(s$(s$({}, c), {}, { payload: s$(s$({}, c.payload), {}, { coordinate: y }) }));+ n(F$(F$({}, c), {}, { payload: F$(F$({}, c.payload), {}, { coordinate: y }) }));} else n(c);return;}@@ -62832,7 +64265,7 @@ function dMe() {})] : 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(QZ({+ n(EQ({active: !1,coordinate: void 0,dataKey: void 0,@@ -62847,7 +64280,7 @@ function dMe() {x: a === "horizontal" ? b.coordinate : w,y: a === "horizontal" ? T : b.coordinate};- n(QZ({+ n(EQ({active: c.payload.active,coordinate: E,dataKey: c.payload.dataKey,@@ -62859,8 +64292,8 @@ function dMe() {}}};- return $Q.on(e$, s), () => {- $Q.off(e$, s);+ return D$.on(O$, s), () => {+ D$.off(O$, s);};}, [s,@@ -62873,15 +64306,15 @@ function dMe() {o]);}-function fMe() {- var e = Q(AK), t = Q(MK), n = GB();+function GMe() {+ var e = Q(iq), t = Q(oq), n = yV();(0, B.useEffect)(() => {- if (e == null) return cB;+ if (e == null) return NB;var r = (r, i, a) => {- t !== a && e === r && n(nMe(i));+ t !== a && e === r && n(FMe(i));};- return $Q.on(t$, r), () => {- $Q.off(t$, r);+ return D$.on(k$, r), () => {+ D$.off(k$, r);};}, [n,@@ -62889,17 +64322,17 @@ function fMe() {e]);}-function pMe() {- var e = GB();+function KMe() {+ var e = yV();(0, B.useEffect)(() => {- e(eMe());- }, [e]), dMe(), fMe();+ e(NMe());+ }, [e]), WMe(), GMe();}-function mMe(e, t, n, r, i, a) {- var o = Q((n) => Tje(n, e, t)), s = Q(lje), c = Q(MK), l = Q(AK), u = Q(jK), d = Q(tMe)?.active, f = KU();+function qMe(e, t, n, r, i, a) {+ var o = Q((n) => iMe(n, e, t)), s = Q(Hje), c = Q(oq), l = Q(iq), u = Q(aq), d = Q(PMe)?.active, f = bW();(0, B.useEffect)(() => {if (!d && l != null && c != null) {- var e = QZ({+ var e = EQ({active: a,coordinate: n,dataKey: o,@@ -62908,7 +64341,7 @@ function mMe(e, t, n, r, i, a) {sourceViewBox: f,graphicalItemId: s});- $Q.emit(e$, l, e, c);+ D$.emit(O$, l, e, c);}}, [d,@@ -62926,7 +64359,7 @@ function mMe(e, t, n, r, i, a) {}//#endregion//#region node_modules/recharts/es6/component/Tooltip.js-function c$(e, t) {+function I$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -62936,30 +64369,30 @@ function c$(e, t) {}return n;}-function l$(e) {+function L$(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? c$(Object(n), !0).forEach(function(t) {- hMe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c$(Object(n)).forEach(function(t) {+ t % 2 ? I$(Object(n), !0).forEach(function(t) {+ JMe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function hMe(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 = _Me(e, "string");+function YMe(e) {+ var t = XMe(e, "string");return typeof t == "symbol" ? t : t + "";}-function _Me(e, t) {+function XMe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -62969,13 +64402,13 @@ function _Me(e, t) {}return (t === "string" ? String : Number)(e);}-function vMe(e) {+function ZMe(e) {return e.dataKey;}-function yMe(e, t) {- return /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ B.createElement(e, t) : /*#__PURE__*/ B.createElement(wTe, t);+function QMe(e, t) {+ return /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ B.createElement(e, t) : /*#__PURE__*/ B.createElement(rEe, t);}-var u$ = [], bMe = {+var R$ = [], $Me = {allowEscapeViewBox: {x: !1,y: !1@@ -63001,10 +64434,10 @@ var u$ = [], bMe = {useTranslate3d: !1,wrapperStyle: {}};-function xMe(e) {- var t = vB(e, bMe), { 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 = GB(), S = typeof v == "number" ? String(v) : v;+function eNe(e) {+ var t = UB(e, $Me), { 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 = yV(), S = typeof v == "number" ? String(v) : v;(0, B.useEffect)(() => {- x(FAe({+ x(mje({shared: g,trigger: _,axisId: b,@@ -63019,20 +64452,20 @@ function xMe(e) {n,S]);- var C = KU(), w = uG(), T = AAe(g), { activeIndex: E, isActive: D } = Q((e) => Oje(e, T, _, S)) ?? {}, O = Q((e) => Dje(e, T, _, S)), k = Q((e) => WQ(e, T, _, S)), A = Q((e) => Eje(e, T, _, S)), j = O, M = Zje(), N = n ?? D ?? !1, [P, ee] = nV([j, N]), F = T === "axis" ? k : void 0;- mMe(T, _, A, F, E, N);+ var C = bW(), w = RG(), T = lje(g), { activeIndex: E, isActive: D } = Q((e) => sMe(e, T, _, S)) ?? {}, O = Q((e) => oMe(e, T, _, S)), k = Q((e) => v$(e, T, _, S)), A = Q((e) => aMe(e, T, _, S)), j = O, M = AMe(), N = n ?? D ?? !1, [P, ee] = AV([j, N]), F = T === "axis" ? k : void 0;+ qMe(T, _, A, F, E, N);var I = y ?? M;if (I == null || C == null || T == null) return null;- var te = j ?? u$;- N || (te = u$), s && te.length && (te = UB(te.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, vMe));- var ne = te.length > 0, re = l$(l$({}, t), {}, {+ var te = j ?? R$;+ N || (te = R$), s && te.length && (te = _V(te.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, ZMe));+ var ne = te.length > 0, re = L$(L$({}, t), {}, {payload: te,label: F,active: N,activeIndex: E,coordinate: A,accessibilityLayer: w- }), ie = /*#__PURE__*/ B.createElement(PTe, {+ }), ie = /*#__PURE__*/ B.createElement(pEe, {allowEscapeViewBox: r,animationDuration: i,animationEasing: a,@@ -63049,8 +64482,8 @@ function xMe(e) {lastBoundingBox: P,innerRef: ee,hasPortalFromProps: !!y- }, yMe(o, re));- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ (0, $f.createPortal)(ie, I), N && /*#__PURE__*/ B.createElement(Xje, {+ }, QMe(o, re));+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ (0, $f.createPortal)(ie, I), N && /*#__PURE__*/ B.createElement(kMe, {cursor: h,tooltipEventType: T,coordinate: A,@@ -63060,23 +64493,23 @@ function xMe(e) {}//#endregion//#region node_modules/recharts/es6/component/Cell.js-var d$ = (e) => null;-d$.displayName = "Cell";+var z$ = (e) => null;+z$.displayName = "Cell";//#endregion//#region node_modules/recharts/es6/util/LRUCache.js-function SMe(e, t, n) {- return (t = CMe(t)) in e ? Object.defineProperty(e, t, {+function tNe(e, t, n) {+ return (t = nNe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function CMe(e) {- var t = wMe(e, "string");+function nNe(e) {+ var t = rNe(e, "string");return typeof t == "symbol" ? t : t + "";}-function wMe(e, t) {+function rNe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -63086,9 +64519,9 @@ function wMe(e, t) {}return (t === "string" ? String : Number)(e);}-var TMe = class {+var iNe = class {constructor(e) {- SMe(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);@@ -63111,7 +64544,7 @@ var TMe = class {};//#endregion//#region node_modules/recharts/es6/util/DOMUtils.js-function f$(e, t) {+function B$(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -63121,30 +64554,30 @@ function f$(e, t) {}return n;}-function EMe(e) {+function aNe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? f$(Object(n), !0).forEach(function(t) {- DMe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f$(Object(n)).forEach(function(t) {+ t % 2 ? B$(Object(n), !0).forEach(function(t) {+ oNe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B$(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function DMe(e, t, n) {- return (t = OMe(t)) in e ? Object.defineProperty(e, t, {+function oNe(e, t, n) {+ return (t = sNe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function OMe(e) {- var t = kMe(e, "string");+function sNe(e) {+ var t = cNe(e, "string");return typeof t == "symbol" ? t : t + "";}-function kMe(e, t) {+function cNe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -63154,10 +64587,10 @@ function kMe(e, t) {}return (t === "string" ? String : Number)(e);}-var p$ = EMe({}, {+var V$ = aNe({}, {cacheSize: 2e3,enableCache: !0-}), m$ = new TMe(p$.cacheSize), AMe = {+}), H$ = new iNe(V$.cacheSize), lNe = {position: "absolute",top: "-20000px",left: 0,@@ -63165,14 +64598,14 @@ var p$ = EMe({}, {margin: 0,border: "none",whiteSpace: "pre"-}, h$ = "recharts_measurement_span";-function jMe(e, t) {+}, U$ = "recharts_measurement_span";+function uNe(e, t) {return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;}-var g$ = (e, t) => {+var W$ = (e, t) => {try {- var n = document.getElementById(h$);- n || (n = document.createElement("span"), n.setAttribute("id", h$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, AMe, t), n.textContent = `${e}`;+ var n = document.getElementById(U$);+ n || (n = document.createElement("span"), n.setAttribute("id", U$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, lNe, t), n.textContent = `${e}`;var r = n.getBoundingClientRect();return {width: r.width,@@ -63184,31 +64617,31 @@ var g$ = (e, t) => {height: 0};}-}, _$ = function(e) {+}, G$ = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};- if (e == null || oG.isSsr) return {+ if (e == null || PG.isSsr) return {width: 0,height: 0};- if (!p$.enableCache) return g$(e, t);- var n = jMe(e, t), r = m$.get(n);+ if (!V$.enableCache) return W$(e, t);+ var n = uNe(e, t), r = H$.get(n);if (r) return r;- var i = g$(e, t);- return m$.set(n, i), i;-}, v$;-function MMe(e, t, n) {- return (t = NMe(t)) in e ? Object.defineProperty(e, t, {+ var i = W$(e, t);+ return H$.set(n, i), i;+}, K$;+function dNe(e, t, n) {+ return (t = fNe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function NMe(e) {- var t = PMe(e, "string");+function fNe(e) {+ var t = pNe(e, "string");return typeof t == "symbol" ? t : t + "";}-function PMe(e, t) {+function pNe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -63218,7 +64651,7 @@ function PMe(e, t) {}return (t === "string" ? String : Number)(e);}-var y$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, b$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, FMe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, IMe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, LMe = {+var q$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, J$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, mNe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, hNe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, gNe = {cm: 96 / 2.54,mm: 96 / 25.4,pt: 96 / 72,@@ -63226,7 +64659,7 @@ var y$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, b$ = /(in: 96,Q: 96 / 101.6,px: 1-}, RMe = [+}, _Ne = ["cm","mm","pt",@@ -63235,20 +64668,20 @@ var y$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, b$ = /("Q","px"];-function zMe(e) {- return RMe.includes(e);+function vNe(e) {+ return _Ne.includes(e);}-var x$ = "NaN";-function BMe(e, t) {- return e * LMe[t];+var Y$ = "NaN";+function yNe(e, t) {+ return e * gNe[t];}-var S$ = class e {+var X$ = class e {static parse(t) {- var [, n, r] = IMe.exec(t) ?? [];+ var [, n, r] = hNe.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, Zz(e) && (this.unit = ""), t !== "" && !FMe.test(t) && (this.num = NaN, this.unit = ""), zMe(t) && (this.num = BMe(e, t), this.unit = "px");+ this.num = e, this.unit = t, this.num = e, this.unit = t, SB(e) && (this.unit = ""), t !== "" && !mNe.test(t) && (this.num = NaN, this.unit = ""), vNe(t) && (this.num = yNe(e, t), this.unit = "px");}add(t) {return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");@@ -63266,50 +64699,50 @@ var S$ = class e {return `${this.num}${this.unit}`;}isNaN() {- return Zz(this.num);+ return SB(this.num);}};-v$ = S$, MMe(S$, "NaN", new v$(NaN, ""));-function C$(e) {- if (e == null || e.includes(x$)) return x$;+K$ = X$, dNe(X$, "NaN", new K$(NaN, ""));+function Z$(e) {+ if (e == null || e.includes(Y$)) return Y$;for (var t = e; t.includes("*") || t.includes("/");) {- var [, n, r, i] = y$.exec(t) ?? [], a = S$.parse(n ?? ""), o = S$.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);- if (s.isNaN()) return x$;- t = t.replace(y$, s.toString());+ var [, n, r, i] = q$.exec(t) ?? [], a = X$.parse(n ?? ""), o = X$.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);+ if (s.isNaN()) return Y$;+ t = t.replace(q$, s.toString());}for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {- var [, c, l, u] = b$.exec(t) ?? [], d = S$.parse(c ?? ""), f = S$.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);- if (p.isNaN()) return x$;- t = t.replace(b$, p.toString());+ var [, c, l, u] = J$.exec(t) ?? [], d = X$.parse(c ?? ""), f = X$.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);+ if (p.isNaN()) return Y$;+ t = t.replace(J$, p.toString());}return t;}-var w$ = /\(([^()]*)\)/;-function VMe(e) {- for (var t = e, n; (n = w$.exec(t)) != null;) {+var Q$ = /\(([^()]*)\)/;+function bNe(e) {+ for (var t = e, n; (n = Q$.exec(t)) != null;) {var [, r] = n;- t = t.replace(w$, C$(r));+ t = t.replace(Q$, Z$(r));}return t;}-function HMe(e) {+function xNe(e) {var t = e.replace(/\s+/g, "");- return t = VMe(t), t = C$(t), t;+ return t = bNe(t), t = Z$(t), t;}-function UMe(e) {+function SNe(e) {try {- return HMe(e);+ return xNe(e);} catch {- return x$;+ return Y$;}}-function T$(e) {- var t = UMe(e.slice(5, -1));- return t === x$ ? "" : t;+function $$(e) {+ var t = SNe(e.slice(5, -1));+ return t === Y$ ? "" : t;}//#endregion//#region node_modules/recharts/es6/component/Text.js-var WMe = [+var CNe = ["x","y","lineHeight",@@ -63318,32 +64751,32 @@ var WMe = ["scaleToFit","textAnchor","verticalAnchor"-], GMe = [+], wNe = ["dx","dy","angle","className","breakAll"];-function E$() {- return E$ = Object.assign ? Object.assign.bind() : function(e) {+function e1() {+ return e1 = 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;- }, E$.apply(null, arguments);+ }, e1.apply(null, arguments);}-function D$(e, t) {+function t1(e, t) {if (e == null) return {};- var n, r, i = KMe(e, t);+ var n, r, i = TNe(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 KMe(e, t) {+function TNe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -63352,28 +64785,28 @@ function KMe(e, t) {}return n;}-var O$ = /[ \f\n\r\t\v\u2028\u2029]+/, k$ = (e) => {+var n1 = /[ \f\n\r\t\v\u2028\u2029]+/, r1 = (e) => {var { children: t, breakAll: n, style: r } = e;try {var i = [];- return aB(t) || (i = n ? t.toString().split("") : t.toString().split(O$)), {+ return AB(t) || (i = n ? t.toString().split("") : t.toString().split(n1)), {wordsWithComputedWidth: i.map((e) => ({word: e,- width: _$(e, r).width+ width: G$(e, r).width})),- spaceWidth: n ? 0 : _$("\xA0", r).width+ spaceWidth: n ? 0 : G$("\xA0", r).width};} catch {return null;}};-function A$(e) {+function i1(e) {return e === "start" || e === "middle" || e === "end" || e === "inherit";}-function qMe(e) {- return aB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";+function ENe(e) {+ return AB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";}-var j$ = (e, t, n, r) => e.reduce((e, i) => {+var a1 = (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 {@@ -63384,20 +64817,20 @@ var j$ = (e, t, n, r) => e.reduce((e, i) => {e.push(c);}return e;-}, []), M$ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), JMe = "…", N$ = (e, t, n, r, i, a, o, s) => {- var c = k$({+}, []), o1 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), DNe = "…", s1 = (e, t, n, r, i, a, o, s) => {+ var c = r1({breakAll: n,style: r,- children: e.slice(0, t) + JMe+ children: e.slice(0, t) + DNe});if (!c) return [!1, []];- var l = j$(c.wordsWithComputedWidth, a, o, s);- return [l.length > i || M$(l).width > Number(a), l];-}, YMe = (e, t, n, r, i) => {- var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = j$(t, r, n, i);- if (!l || i || !(d.length > a || M$(d).width > Number(r))) return d;+ var l = a1(c.wordsWithComputedWidth, a, o, s);+ return [l.length > i || o1(l).width > Number(a), l];+}, ONe = (e, t, n, r, i) => {+ var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = a1(t, r, n, i);+ if (!l || i || !(d.length > a || o1(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] = N$(u, g - 1, c, s, a, r, n, i), [y] = N$(u, g, c, s, a, r, n, i);+ var g = Math.floor((f + p) / 2), [_, v] = s1(u, g - 1, c, s, a, r, n, i), [y] = s1(u, g, c, s, a, r, n, i);if (!_ && !y && (f = g + 1), _ && y && (p = g - 1), !_ && y) {h = v;break;@@ -63405,13 +64838,13 @@ var j$ = (e, t, n, r) => e.reduce((e, i) => {m++;}return h || d;-}, P$ = (e) => [{- words: aB(e) ? [] : e.toString().split(O$),+}, c1 = (e) => [{+ words: AB(e) ? [] : e.toString().split(n1),width: void 0-}], XMe = (e) => {+}], kNe = (e) => {var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;- if ((t || n) && !oG.isSsr) {- var s, c, l = k$({+ if ((t || n) && !PG.isSsr) {+ var s, c, l = r1({breakAll: a,children: r,style: i@@ -63419,28 +64852,28 @@ var j$ = (e, t, n, r) => e.reduce((e, i) => {if (l) {var { wordsWithComputedWidth: u, spaceWidth: d } = l;s = u, c = d;- } else return P$(r);- return YMe({+ } else return c1(r);+ return ONe({breakAll: a,children: r,maxLines: o,style: i}, s, c, t, !!n);}- return P$(r);-}, F$ = "#808080", ZMe = {+ return c1(r);+}, l1 = "#808080", ANe = {angle: 0,breakAll: !1,capHeight: "0.71em",- fill: F$,+ fill: l1,lineHeight: "1em",scaleToFit: !1,textAnchor: "start",verticalAnchor: "end",x: 0,y: 0-}, I$ = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var n = vB(e, ZMe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = D$(n, WMe), f = (0, B.useMemo)(() => XMe({+}, u1 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var n = UB(e, ANe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = t1(n, CNe), f = (0, B.useMemo)(() => kNe({breakAll: d.breakAll,children: d.children,maxLines: d.maxLines,@@ -63454,32 +64887,32 @@ var j$ = (e, t, n, r) => e.reduce((e, i) => {c,d.style,d.width- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = D$(d, GMe);- if (!$z(r) || !$z(i) || f.length === 0) return null;+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = t1(d, wNe);+ if (!wB(r) || !wB(i) || f.length === 0) return null;var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);- if (!aU(y) || !aU(b)) return null;+ if (!NU(y) || !NU(b)) return null;var x;switch (u) {case "start":- x = T$(`calc(${o})`);+ x = $$(`calc(${o})`);break;case "middle":- x = T$(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);+ x = $$(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);break;- default: x = T$(`calc(${f.length - 1} * -${a})`);+ default: x = $$(`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", E$({}, WR(v), {+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ B.createElement("text", e1({}, hz(v), {ref: t,x: y,y: b,className: _h("recharts-text", g),textAnchor: l,- fill: s.includes("url") ? F$ : s+ fill: s.includes("url") ? l1 : s}), f.map((e, t) => {var n = e.words.join(_ ? "" : " ");return /*#__PURE__*/ B.createElement("tspan", {@@ -63489,10 +64922,10 @@ var j$ = (e, t, n, r) => e.reduce((e, i) => {}, n);}));});-I$.displayName = "Text";+u1.displayName = "Text";//#endregion//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js-function L$(e, t) {+function d1(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -63502,30 +64935,30 @@ function L$(e, t) {}return n;}-function R$(e) {+function f1(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) {- QMe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L$(Object(n)).forEach(function(t) {+ t % 2 ? d1(Object(n), !0).forEach(function(t) {+ jNe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : d1(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function QMe(e, t, n) {- return (t = $Me(t)) in e ? Object.defineProperty(e, t, {+function jNe(e, t, n) {+ return (t = MNe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function $Me(e) {- var t = eNe(e, "string");+function MNe(e) {+ var t = NNe(e, "string");return typeof t == "symbol" ? t : t + "";}-function eNe(e, t) {+function NNe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -63535,8 +64968,8 @@ function eNe(e, t) {}return (t === "string" ? String : Number)(e);}-var tNe = (e) => {- var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = GU(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 PNe = (e) => {+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = yW(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,@@ -63577,68 +65010,68 @@ var tNe = (e) => {width: m,height: c} : {};- return n === "insideLeft" ? R$({+ return n === "insideLeft" ? f1({x: p + x,y: s + c / 2,horizontalAnchor: C,verticalAnchor: "middle"- }, k) : n === "insideRight" ? R$({+ }, k) : n === "insideRight" ? f1({x: p + m - x,y: s + c / 2,horizontalAnchor: S,verticalAnchor: "middle"- }, k) : n === "insideTop" ? R$({+ }, k) : n === "insideTop" ? f1({x: d + l / 2,y: s + _,horizontalAnchor: "middle",verticalAnchor: y- }, k) : n === "insideBottom" ? R$({+ }, k) : n === "insideBottom" ? f1({x: f + u / 2,y: s + c - _,horizontalAnchor: "middle",verticalAnchor: v- }, k) : n === "insideTopLeft" ? R$({+ }, k) : n === "insideTopLeft" ? f1({x: d + x,y: s + _,horizontalAnchor: C,verticalAnchor: y- }, k) : n === "insideTopRight" ? R$({+ }, k) : n === "insideTopRight" ? f1({x: d + l - x,y: s + _,horizontalAnchor: S,verticalAnchor: y- }, k) : n === "insideBottomLeft" ? R$({+ }, k) : n === "insideBottomLeft" ? f1({x: f + x,y: s + c - _,horizontalAnchor: C,verticalAnchor: v- }, k) : n === "insideBottomRight" ? R$({+ }, k) : n === "insideBottomRight" ? f1({x: f + u - x,y: s + c - _,horizontalAnchor: S,verticalAnchor: v- }, k) : n && typeof n == "object" && (Z(n.x) || Qz(n.x)) && (Z(n.y) || Qz(n.y)) ? R$({- x: o + tB(n.x, m),- y: s + tB(n.y, c),+ }, k) : n && typeof n == "object" && (Z(n.x) || CB(n.x)) && (Z(n.y) || CB(n.y)) ? f1({+ x: o + EB(n.x, m),+ y: s + EB(n.y, c),horizontalAnchor: "end",verticalAnchor: "end"- }, k) : R$({+ }, k) : f1({x: h,y: s + c / 2,horizontalAnchor: "middle",verticalAnchor: "middle"}, k);-}, nNe = ["labelRef"], rNe = ["content"];-function z$(e, t) {+}, FNe = ["labelRef"], INe = ["content"];+function p1(e, t) {if (e == null) return {};- var n, r, i = iNe(e, t);+ var n, r, i = LNe(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 iNe(e, t) {+function LNe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -63647,7 +65080,7 @@ function iNe(e, t) {}return n;}-function B$(e, t) {+function m1(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -63657,30 +65090,30 @@ function B$(e, t) {}return n;}-function V$(e) {+function h1(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) {- aNe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B$(Object(n)).forEach(function(t) {+ t % 2 ? m1(Object(n), !0).forEach(function(t) {+ RNe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m1(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 RNe(e, t, n) {+ return (t = zNe(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 zNe(e) {+ var t = BNe(e, "string");return typeof t == "symbol" ? t : t + "";}-function sNe(e, t) {+function BNe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -63690,16 +65123,16 @@ function sNe(e, t) {}return (t === "string" ? String : Number)(e);}-function H$() {- return H$ = Object.assign ? Object.assign.bind() : function(e) {+function g1() {+ return g1 = 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;- }, H$.apply(null, arguments);+ }, g1.apply(null, arguments);}-var U$ = /*#__PURE__*/ (0, B.createContext)(null), W$ = (e) => {+var _1 = /*#__PURE__*/ (0, B.createContext)(null), v1 = (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,@@ -63715,11 +65148,11 @@ var U$ = /*#__PURE__*/ (0, B.createContext)(null), W$ = (e) => {a,o]);- return /*#__PURE__*/ B.createElement(U$.Provider, { value: c }, s);-}, G$ = () => {- var e = (0, B.useContext)(U$), t = KU();- return e || (t ? GU(t) : void 0);-}, K$ = /*#__PURE__*/ (0, B.createContext)(null), cNe = (e) => {+ return /*#__PURE__*/ B.createElement(_1.Provider, { value: c }, s);+}, y1 = () => {+ var e = (0, B.useContext)(_1), t = bW();+ return e || (t ? yW(t) : void 0);+}, b1 = /*#__PURE__*/ (0, B.createContext)(null), VNe = (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,@@ -63737,15 +65170,15 @@ var U$ = /*#__PURE__*/ (0, B.createContext)(null), W$ = (e) => {o,s]);- return /*#__PURE__*/ B.createElement(K$.Provider, { value: l }, c);-}, q$ = () => {- var e = (0, B.useContext)(K$), t = Q(XK);+ return /*#__PURE__*/ B.createElement(b1.Provider, { value: l }, c);+}, x1 = () => {+ var e = (0, B.useContext)(b1), t = Q(wq);return e || t;-}, lNe = (e) => {- var { value: t, formatter: n } = e, r = aB(e.children) ? t : e.children;+}, HNe = (e) => {+ var { value: t, formatter: n } = e, r = AB(e.children) ? t : e.children;return typeof n == "function" ? n(r) : r;-}, J$ = (e) => e != null && typeof e == "function", uNe = (e, t) => Xz(t - e) * Math.min(Math.abs(t - e), 360), dNe = (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 = uNe(d, f), g = h >= 0 ? 1 : -1, _, v;+}, S1 = (e) => e != null && typeof e == "function", UNe = (e, t) => xB(t - e) * Math.min(Math.abs(t - e), 360), WNe = (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 = UNe(d, f), g = h >= 0 ? 1 : -1, _, v;switch (t) {case "insideStart":_ = d + g * a, v = p;@@ -63759,20 +65192,20 @@ var U$ = /*#__PURE__*/ (0, B.createContext)(null), W$ = (e) => {default: throw Error(`Unsupported position ${t}`);}v = h <= 0 ? v : !v;- var y = QG(s, c, m, _), b = QG(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}+ var y = EK(s, c, m, _), b = EK(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}A${m},${m},0,1,${+!v},- ${b.x},${b.y}`, S = aB(e.id) ? eB("recharts-radial-line-") : e.id;- return /*#__PURE__*/ B.createElement("text", H$({}, r, {+ ${b.x},${b.y}`, S = AB(e.id) ? TB("recharts-radial-line-") : e.id;+ return /*#__PURE__*/ B.createElement("text", g1({}, 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));-}, fNe = (e, t, n) => {+}, GNe = (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 } = QG(r, i, o + t, l);+ var { x: u, y: d } = EK(r, i, o + t, l);return {x: u,y: d,@@ -63798,22 +65231,22 @@ var U$ = /*#__PURE__*/ (0, B.createContext)(null), W$ = (e) => {textAnchor: "middle",verticalAnchor: "end"};- var { x: f, y: p } = QG(r, i, (a + o) / 2, l);+ var { x: f, y: p } = EK(r, i, (a + o) / 2, l);return {x: f,y: p,textAnchor: "middle",verticalAnchor: "middle"};-}, Y$ = (e) => e != null && "cx" in e && Z(e.cx), pNe = {+}, C1 = (e) => e != null && "cx" in e && Z(e.cx), KNe = {angle: 0,offset: 5,- zIndex: NK.label,+ zIndex: sq.label,position: "middle",textBreakAll: !1};-function mNe(e) {- if (!Y$(e)) return e;+function qNe(e) {+ if (!C1(e)) return e;var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;return {x: t - r,@@ -63824,100 +65257,100 @@ function mNe(e) {height: i};}-function X$(e) {- var t = vB(e, pNe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = q$(), f = G$(), p = n == null ? i === "center" ? f : d ?? f : Y$(n) ? n : GU(n), m, h, g = mNe(p);- if (!p || aB(a) && aB(o) && !/*#__PURE__*/ (0, B.isValidElement)(s) && typeof s != "function") return null;- var _ = V$(V$({}, t), {}, { viewBox: p });+function w1(e) {+ var t = UB(e, KNe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = x1(), f = y1(), p = n == null ? i === "center" ? f : d ?? f : C1(n) ? n : yW(n), m, h, g = qNe(p);+ if (!p || AB(a) && AB(o) && !/*#__PURE__*/ (0, B.isValidElement)(s) && typeof s != "function") return null;+ var _ = h1(h1({}, t), {}, { viewBox: p });if (/*#__PURE__*/ (0, B.isValidElement)(s)) {- var { labelRef: v } = _, y = z$(_, nNe);+ var { labelRef: v } = _, y = p1(_, FNe);return /*#__PURE__*/ (0, B.cloneElement)(s, y);}if (typeof s == "function") {- var { content: b } = _, x = z$(_, rNe);+ var { content: b } = _, x = p1(_, INe);if (m = /*#__PURE__*/ (0, B.createElement)(s, x), /*#__PURE__*/ (0, B.isValidElement)(m)) return m;- } else m = lNe(t);- var S = WR(t);- if (Y$(p)) {- if (i === "insideStart" || i === "insideEnd" || i === "end") return dNe(t, i, m, S, p);- h = fNe(p, t.offset, t.position);+ } else m = HNe(t);+ var S = hz(t);+ if (C1(p)) {+ if (i === "insideStart" || i === "insideEnd" || i === "end") return WNe(t, i, m, S, p);+ h = GNe(p, t.offset, t.position);} else {if (!g) return null;- var C = tNe({+ var C = PNe({viewBox: g,position: i,offset: t.offset,- parentViewBox: Y$(r) ? void 0 : r,+ parentViewBox: C1(r) ? void 0 : r,clamp: !0});- h = V$(V$({+ h = h1(h1({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(JQ, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(I$, H$({+ return /*#__PURE__*/ B.createElement(S$, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(u1, g1({ref: u,className: _h("recharts-label", c)}, S, h, {- textAnchor: A$(S.textAnchor) ? S.textAnchor : h.textAnchor,+ textAnchor: i1(S.textAnchor) ? S.textAnchor : h.textAnchor,breakAll: l}), m));}-X$.displayName = "Label";-var Z$ = (e, t, n) => {+w1.displayName = "Label";+var T1 = (e, t, n) => {if (!e) return null;var r = {viewBox: t,labelRef: n};- return e === !0 ? /*#__PURE__*/ B.createElement(X$, H$({ key: "label-implicit" }, r)) : $z(e) ? /*#__PURE__*/ B.createElement(X$, H$({+ return e === !0 ? /*#__PURE__*/ B.createElement(w1, g1({ key: "label-implicit" }, r)) : wB(e) ? /*#__PURE__*/ B.createElement(w1, g1({key: "label-implicit",value: e- }, r)) : /*#__PURE__*/ (0, B.isValidElement)(e) ? e.type === X$ ? /*#__PURE__*/ (0, B.cloneElement)(e, V$({ key: "label-implicit" }, r)) : /*#__PURE__*/ B.createElement(X$, H$({+ }, r)) : /*#__PURE__*/ (0, B.isValidElement)(e) ? e.type === w1 ? /*#__PURE__*/ (0, B.cloneElement)(e, h1({ key: "label-implicit" }, r)) : /*#__PURE__*/ B.createElement(w1, g1({key: "label-implicit",content: e- }, r)) : J$(e) ? /*#__PURE__*/ B.createElement(X$, H$({+ }, r)) : S1(e) ? /*#__PURE__*/ B.createElement(w1, g1({key: "label-implicit",content: e- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ B.createElement(X$, H$({}, e, { key: "label-implicit" }, r)) : null;+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ B.createElement(w1, g1({}, e, { key: "label-implicit" }, r)) : null;};-function Q$(e) {+function E1(e) {var { label: t, labelRef: n } = e;- return Z$(t, G$(), n) || null;+ return T1(t, y1(), n) || null;}-function hNe(e) {+function JNe(e) {var { label: t } = e;- return Z$(t, q$()) || null;+ return T1(t, x1()) || null;}//#endregion//#region node_modules/recharts/es6/component/LabelList.js-var gNe = ["valueAccessor"], _Ne = [+var YNe = ["valueAccessor"], XNe = ["dataKey","clockWise","id","textBreakAll","zIndex"];-function $$() {- return $$ = Object.assign ? Object.assign.bind() : function(e) {+function D1() {+ return D1 = 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;- }, $$.apply(null, arguments);+ }, D1.apply(null, arguments);}-function e1(e, t) {+function O1(e, t) {if (e == null) return {};- var n, r, i = vNe(e, t);+ var n, r, i = ZNe(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 vNe(e, t) {+function ZNe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -63926,21 +65359,21 @@ function vNe(e, t) {}return n;}-var yNe = (e) => {+var QNe = (e) => {var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;- if (qMe(t)) return t;-}, t1 = /*#__PURE__*/ (0, B.createContext)(void 0), n1 = t1.Provider, r1 = /*#__PURE__*/ (0, B.createContext)(void 0), bNe = r1.Provider;-function xNe() {- return (0, B.useContext)(t1);+ if (ENe(t)) return t;+}, k1 = /*#__PURE__*/ (0, B.createContext)(void 0), A1 = k1.Provider, j1 = /*#__PURE__*/ (0, B.createContext)(void 0), $Ne = j1.Provider;+function ePe() {+ return (0, B.useContext)(k1);}-function SNe() {- return (0, B.useContext)(r1);+function tPe() {+ return (0, B.useContext)(j1);}-function i1(e) {- var { valueAccessor: t = yNe } = e, n = e1(e, gNe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = e1(n, _Ne), l = xNe(), u = SNe(), d = l || u;- return !d || !d.length ? null : /*#__PURE__*/ B.createElement(JQ, { zIndex: s ?? NK.label }, /*#__PURE__*/ B.createElement(JR, { className: "recharts-label-list" }, d.map((e, i) => {- var s = aB(r) ? t(e, i) : lU(e.payload, r), l = aB(a) ? {} : { id: `${a}-${i}` };- return /*#__PURE__*/ B.createElement(X$, $$({ key: `label-${i}` }, WR(e), c, l, {+function M1(e) {+ var { valueAccessor: t = QNe } = e, n = O1(e, YNe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = O1(n, XNe), l = ePe(), u = tPe(), d = l || u;+ return !d || !d.length ? null : /*#__PURE__*/ B.createElement(S$, { zIndex: s ?? sq.label }, /*#__PURE__*/ B.createElement(yz, { className: "recharts-label-list" }, d.map((e, i) => {+ var s = AB(r) ? t(e, i) : LU(e.payload, r), l = AB(a) ? {} : { id: `${a}-${i}` };+ return /*#__PURE__*/ B.createElement(w1, D1({ key: `label-${i}` }, hz(e), c, l, {fill: n.fill ?? e.fill,parentViewBox: e.parentViewBox,value: s,@@ -63951,41 +65384,41 @@ function i1(e) {}));})));}-i1.displayName = "LabelList";-function a1(e) {+M1.displayName = "LabelList";+function N1(e) {var { label: t } = e;- return t ? t === !0 ? /*#__PURE__*/ B.createElement(i1, { key: "labelList-implicit" }) : /*#__PURE__*/ B.isValidElement(t) || J$(t) ? /*#__PURE__*/ B.createElement(i1, {+ return t ? t === !0 ? /*#__PURE__*/ B.createElement(M1, { key: "labelList-implicit" }) : /*#__PURE__*/ B.isValidElement(t) || S1(t) ? /*#__PURE__*/ B.createElement(M1, {key: "labelList-implicit",content: t- }) : typeof t == "object" ? /*#__PURE__*/ B.createElement(i1, $$({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;+ }) : typeof t == "object" ? /*#__PURE__*/ B.createElement(M1, D1({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;}//#endregion//#region node_modules/recharts/es6/shape/Polygon.js-var CNe = [+var nPe = ["points","className","baseLinePoints","connectNulls"-], wNe;-function o1() {- return o1 = Object.assign ? Object.assign.bind() : function(e) {+], rPe;+function P1() {+ return P1 = 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;- }, o1.apply(null, arguments);+ }, P1.apply(null, arguments);}-function TNe(e, t) {+function iPe(e, t) {if (e == null) return {};- var n, r, i = ENe(e, t);+ var n, r, i = aPe(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 ENe(e, t) {+function aPe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -63994,23 +65427,23 @@ function ENe(e, t) {}return n;}-function DNe(e, t) {+function oPe(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var s1 = (e) => e != null && e.x === +e.x && e.y === +e.y, ONe = function() {+var F1 = (e) => e != null && e.x === +e.x && e.y === +e.y, sPe = function() {var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];e.forEach((e) => {var n = t[t.length - 1];- s1(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);+ F1(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);});var n = e[0], r = t[t.length - 1];- s1(n) && r && r.push(n);+ F1(n) && r && r.push(n);var i = t[t.length - 1];return i && i.length <= 0 && (t = t.slice(0, -1)), t;-}, c1 = (e, t) => {- var n = ONe(e);+}, I1 = (e, t) => {+ var n = sPe(e);t && (n = [n.reduce((e, t) => [...e, ...t], [])]);- var r = n.map((e) => e.reduce((e, t, n) => Yz(wNe ||= DNe([+ var r = n.map((e) => e.reduce((e, t, n) => bB(rPe ||= oPe(["","","",@@ -64018,29 +65451,29 @@ var s1 = (e) => e != null && e.x === +e.x && e.y === +e.y, ONe = function() {""]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");return n.length === 1 ? `${r}Z` : r;-}, kNe = (e, t, n) => {- var r = c1(e, n);- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${c1(Array.from(t).reverse(), n).slice(1)}`;-}, l1 = (e) => {- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = TNe(e, CNe);+}, cPe = (e, t, n) => {+ var r = I1(e, n);+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${I1(Array.from(t).reverse(), n).slice(1)}`;+}, L1 = (e) => {+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = iPe(e, nPe);if (!t || !t.length) return null;var o = _h("recharts-polygon", n);if (r && r.length) {- var s = a.stroke && a.stroke !== "none", c = kNe(t, r, i);- return /*#__PURE__*/ B.createElement("g", { className: o }, /*#__PURE__*/ B.createElement("path", o1({}, WR(a), {+ var s = a.stroke && a.stroke !== "none", c = cPe(t, r, i);+ return /*#__PURE__*/ B.createElement("g", { className: o }, /*#__PURE__*/ B.createElement("path", P1({}, hz(a), {fill: c.slice(-1) === "Z" ? a.fill : "none",stroke: "none",d: c- })), s ? /*#__PURE__*/ B.createElement("path", o1({}, WR(a), {+ })), s ? /*#__PURE__*/ B.createElement("path", P1({}, hz(a), {fill: "none",- d: c1(t, i)- })) : null, s ? /*#__PURE__*/ B.createElement("path", o1({}, WR(a), {+ d: I1(t, i)+ })) : null, s ? /*#__PURE__*/ B.createElement("path", P1({}, hz(a), {fill: "none",- d: c1(r, i)+ d: I1(r, i)})) : null);}- var l = c1(t, i);- return /*#__PURE__*/ B.createElement("path", o1({}, WR(a), {+ var l = I1(t, i);+ return /*#__PURE__*/ B.createElement("path", P1({}, hz(a), {fill: l.slice(-1) === "Z" ? a.fill : "none",className: o,d: l@@ -64048,111 +65481,111 @@ var s1 = (e) => e != null && e.x === +e.x && e.y === +e.y, ONe = function() {};//#endregion//#region node_modules/recharts/es6/shape/Dot.js-function u1() {- return u1 = Object.assign ? Object.assign.bind() : function(e) {+function R1() {+ return R1 = 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;- }, u1.apply(null, arguments);+ }, R1.apply(null, arguments);}-var d1 = (e) => {+var z1 = (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", u1({}, HR(e), hB(e), {+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ B.createElement("circle", R1({}, pz(e), BB(e), {className: a,cx: t,cy: n,r})) : null;-}, f1 = (e) => e.graphicalItems.polarItems, p1 = $([- f1,- jX,- $([ZK, QK], PX)-], IX), m1 = $([$([p1], BX), cK], VX), h1 = $([- m1,- jX,- p1-], UX);+}, B1 = (e) => e.graphicalItems.polarItems, V1 = $([+ B1,+ aZ,+ $([Tq, Eq], cZ)+], uZ), H1 = $([$([V1], mZ), IK], hZ), U1 = $([+ H1,+ aZ,+ V1+], _Z);$([- m1,- jX,- p1+ H1,+ aZ,+ V1], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({- value: lU(e, t.dataKey ?? n.dataKey),+ value: LU(e, t.dataKey ?? n.dataKey),errorDomain: []}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({value: e,errorDomain: []})) : e.map((e) => ({- value: lU(e, t.dataKey),+ value: LU(e, t.dataKey),errorDomain: []})));-var g1 = () => void 0, _1 = $([- jX,- XU,- m1,- h1,- DK,- ZK,+var W1 = () => void 0, G1 = $([+ aZ,+ wW,+ H1,+ U1,+ tq,+ Tq,$([- jX,- tZ,- nZ,- g1,+ aZ,+ kZ,+ AZ,+ W1,$([- m1,- jX,- p1,- rZ,- ZK- ], aZ),- g1,- XU,- ZK- ], pZ)-], mZ), v1 = $([- _1,- MX,- gZ-], _Z), ANe = $([gZ, $([- jX,- _1,- v1,- ZK-], yZ)], sq), y1 = (e, t, n) => {+ H1,+ aZ,+ V1,+ jZ,+ Tq+ ], NZ),+ W1,+ wW,+ Tq+ ], VZ)+], HZ), K1 = $([+ G1,+ oZ,+ WZ+], GZ), lPe = $([WZ, $([+ aZ,+ G1,+ K1,+ Tq+], qZ)], Fq), q1 = (e, t, n) => {switch (t) {- case "angleAxis": return HK(e, n);- case "radiusAxis": return UK(e, n);+ case "angleAxis": return gq(e, n);+ case "radiusAxis": return _q(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, b1 = (e, t, n) => {+}, J1 = (e, t, n) => {switch (t) {- case "angleAxis": return lDe(e, n);- case "radiusAxis": return uDe(e, n);+ case "angleAxis": return HDe(e, n);+ case "radiusAxis": return UDe(e, n);default: throw Error(`Unexpected axis type: ${t}`);}-}, x1 = $([$([- y1,- gZ,- ANe,- b1-], vX)], oq), S1 = $([- XU,- h1,- MX,- ZK-], wZ), C1 = $([- XU,- y1,- gZ,- x1,- v1,- b1,- FZ,- S1,- ZK-], LZ), jNe = $([C1], (e) => {+}, Y1 = $([$([+ q1,+ WZ,+ lPe,+ J1+], KX)], Pq), X1 = $([+ wW,+ U1,+ oZ,+ Tq+], QZ), Z1 = $([+ wW,+ q1,+ WZ,+ Y1,+ K1,+ J1,+ lQ,+ X1,+ Tq+], dQ), uPe = $([Z1], (e) => {if (e) {var t = /* @__PURE__ */ new Map();return e.forEach((e) => {@@ -64160,19 +65593,19 @@ var g1 = () => void 0, _1 = $([t.has(n) || t.set(n, e);}), Array.from(t.values());}-}), MNe = $([- XU,- y1,- x1,- b1,- FZ,- S1,- ZK-], zZ), NNe = $([(e, t) => C1(e, "angleAxis", t, !1)], (e) => {+}), dPe = $([+ wW,+ q1,+ Y1,+ J1,+ lQ,+ X1,+ Tq+], pQ), fPe = $([(e, t) => Z1(e, "angleAxis", t, !1)], (e) => {if (e) return e.map((e) => e.coordinate);-}), PNe = $([(e, t) => C1(e, "radiusAxis", t, !1)], (e) => {+}), pPe = $([(e, t) => Z1(e, "radiusAxis", t, !1)], (e) => {if (e) return e.map((e) => e.coordinate);-}), FNe = [+}), mPe = ["gridType","radialLines","angleAxisId",@@ -64185,16 +65618,16 @@ var g1 = () => void 0, _1 = $(["polarRadius","zIndex"];-function INe(e, t) {+function hPe(e, t) {if (e == null) return {};- var n, r, i = LNe(e, t);+ var n, r, i = gPe(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 gPe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -64203,16 +65636,16 @@ function LNe(e, t) {}return n;}-function w1() {- return w1 = 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;- }, w1.apply(null, arguments);+ }, Q1.apply(null, arguments);}-function T1(e, t) {+function $1(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64222,30 +65655,30 @@ function T1(e, t) {}return n;}-function E1(e) {+function e0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? T1(Object(n), !0).forEach(function(t) {- RNe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T1(Object(n)).forEach(function(t) {+ t % 2 ? $1(Object(n), !0).forEach(function(t) {+ _Pe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $1(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function RNe(e, t, n) {- return (t = zNe(t)) in e ? Object.defineProperty(e, t, {+function _Pe(e, t, n) {+ return (t = vPe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function zNe(e) {- var t = BNe(e, "string");+function vPe(e) {+ var t = yPe(e, "string");return typeof t == "symbol" ? t : t + "";}-function BNe(e, t) {+function yPe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64255,69 +65688,69 @@ function BNe(e, t) {}return (t === "string" ? String : Number)(e);}-var VNe = (e, t, n, r) => {+var bPe = (e, t, n, r) => {var i = "";return r.forEach((r, a) => {- var o = QG(t, n, e, r);+ var o = EK(t, n, e, r);i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;}), i += "Z", i;-}, HNe = (e) => {+}, xPe = (e) => {var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;if (!a || !a.length || !o) return null;- var s = E1({ stroke: "#ccc" }, HR(e));+ var s = e0({ stroke: "#ccc" }, pz(e));return /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {- var a = QG(t, n, r, e), o = QG(t, n, i, e);- return /*#__PURE__*/ B.createElement("line", w1({ key: `line-${e}` }, s, {+ var a = EK(t, n, r, e), o = EK(t, n, i, e);+ return /*#__PURE__*/ B.createElement("line", Q1({ key: `line-${e}` }, s, {x1: a.x,y1: a.y,x2: o.x,y2: o.y}));}));-}, D1 = (e) => {- var { cx: t, cy: n, radius: r } = e, i = E1({+}, t0 = (e) => {+ var { cx: t, cy: n, radius: r } = e, i = e0({stroke: "#ccc",fill: "none"- }, HR(e));- return /*#__PURE__*/ B.createElement("circle", w1({}, i, {+ }, pz(e));+ return /*#__PURE__*/ B.createElement("circle", Q1({}, i, {className: _h("recharts-polar-grid-concentric-circle", e.className),cx: t,cy: n,r}));-}, O1 = (e) => {- var { radius: t } = e, n = E1({+}, n0 = (e) => {+ var { radius: t } = e, n = e0({stroke: "#ccc",fill: "none"- }, HR(e));- return /*#__PURE__*/ B.createElement("path", w1({}, n, {+ }, pz(e));+ return /*#__PURE__*/ B.createElement("path", Q1({}, n, {className: _h("recharts-polar-grid-concentric-polygon", e.className),- d: VNe(t, e.cx, e.cy, e.polarAngles)+ d: bPe(t, e.cx, e.cy, e.polarAngles)}));-}, UNe = (e) => {+}, SPe = (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(D1, w1({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ B.createElement(O1, w1({}, e, { radius: r })), t.map((t, r) => {+ return /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ B.createElement(t0, Q1({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ B.createElement(n0, Q1({}, e, { radius: r })), t.map((t, r) => {var i = r;- return n === "circle" ? /*#__PURE__*/ B.createElement(D1, w1({ key: i }, e, {+ return n === "circle" ? /*#__PURE__*/ B.createElement(t0, Q1({ key: i }, e, {fill: "none",radius: t- })) : /*#__PURE__*/ B.createElement(O1, w1({ key: i }, e, {+ })) : /*#__PURE__*/ B.createElement(n0, Q1({ key: i }, e, {fill: "none",radius: t}));}));-}, WNe = {+}, CPe = {angleAxisId: 0,radiusAxisId: 0,gridType: "polygon",radialLines: !0,- zIndex: NK.grid-}, k1 = (e) => {- var t = vB(e, WNe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = INe(t, FNe), m = Q(XK), h = Q((e) => NNe(e, i)), g = Q((e) => PNe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;+ zIndex: sq.grid+}, r0 = (e) => {+ var t = UB(e, CPe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = hPe(t, mPe), m = Q(wq), h = Q((e) => fPe(e, i)), g = Q((e) => pPe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;if (_ == null || v == null) return null;- var y = E1({+ var y = e0({cx: m?.cx ?? o ?? 0,cy: m?.cy ?? s ?? 0,innerRadius: m?.innerRadius ?? c ?? 0,@@ -64326,13 +65759,13 @@ var VNe = (e, t, n, r) => {polarRadius: v,zIndex: f}, p), { outerRadius: b } = y;- return b <= 0 ? null : /*#__PURE__*/ B.createElement(JQ, { zIndex: y.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ B.createElement(UNe, w1({+ return b <= 0 ? null : /*#__PURE__*/ B.createElement(S$, { zIndex: y.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ B.createElement(SPe, Q1({gridType: n,radialLines: r}, y, {polarAngles: _,polarRadius: v- })), /*#__PURE__*/ B.createElement(HNe, w1({+ })), /*#__PURE__*/ B.createElement(xPe, Q1({gridType: n,radialLines: r}, y, {@@ -64340,19 +65773,19 @@ var VNe = (e, t, n, r) => {polarRadius: v}))));};-k1.displayName = "PolarGrid";+r0.displayName = "PolarGrid";//#endregion//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs-function A1(e) {+function i0(e) {return Array.isArray(e) ? e : Array.from(e);}//#endregion//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs-function GNe(e, t = CB) {+function wPe(e, t = JB) {if (e == null) return;- let n = A1(e);+ let n = i0(e);if (n.length === 0) return;- let r = VB(t), i, a;+ let r = hV(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);@@ -64361,11 +65794,11 @@ function GNe(e, t = CB) {}//#endregion//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs-function KNe(e, t = CB) {+function TPe(e, t = JB) {if (e == null) return;- let n = A1(e);+ let n = i0(e);if (n.length === 0) return;- let r = VB(t), i, a;+ let r = hV(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);@@ -64374,7 +65807,7 @@ function KNe(e, t = CB) {}//#endregion//#region node_modules/recharts/es6/state/polarAxisSlice.js-var j1 = AH({+var a0 = iU({name: "polarAxis",initialState: {radiusAxis: {},@@ -64382,47 +65815,47 @@ var j1 = AH({},reducers: {addRadiusAxis(e, t) {- e.radiusAxis[t.payload.id] = VW(t.payload);+ e.radiusAxis[t.payload.id] = hG(t.payload);},removeRadiusAxis(e, t) {delete e.radiusAxis[t.payload.id];},addAngleAxis(e, t) {- e.angleAxis[t.payload.id] = VW(t.payload);+ e.angleAxis[t.payload.id] = hG(t.payload);},removeAngleAxis(e, t) {delete e.angleAxis[t.payload.id];}}-}), { addRadiusAxis: qNe, removeRadiusAxis: JNe, addAngleAxis: YNe, removeAngleAxis: XNe } = j1.actions, ZNe = j1.reducer;+}), { addRadiusAxis: EPe, removeRadiusAxis: DPe, addAngleAxis: OPe, removeAngleAxis: kPe } = a0.actions, APe = a0.reducer;//#endregion//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js-function M1(e) {+function o0(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 QNe = ["type"], $Ne = [+var jPe = ["type"], MPe = ["cx","cy","angle","axisLine"-], ePe = [+], NPe = ["angle","tickFormatter","stroke","tick"];-function N1() {- return N1 = 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;- }, N1.apply(null, arguments);+ }, s0.apply(null, arguments);}-function P1(e, t) {+function c0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64432,30 +65865,30 @@ function P1(e, t) {}return n;}-function F1(e) {+function l0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? P1(Object(n), !0).forEach(function(t) {- tPe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P1(Object(n)).forEach(function(t) {+ t % 2 ? c0(Object(n), !0).forEach(function(t) {+ PPe(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 tPe(e, t, n) {- return (t = nPe(t)) in e ? Object.defineProperty(e, t, {+function PPe(e, t, n) {+ return (t = FPe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function nPe(e) {- var t = rPe(e, "string");+function FPe(e) {+ var t = IPe(e, "string");return typeof t == "symbol" ? t : t + "";}-function rPe(e, t) {+function IPe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64465,16 +65898,16 @@ function rPe(e, t) {}return (t === "string" ? String : Number)(e);}-function I1(e, t) {+function u0(e, t) {if (e == null) return {};- var n, r, i = iPe(e, t);+ var n, r, i = LPe(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 LPe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -64483,20 +65916,20 @@ function iPe(e, t) {}return n;}-var aPe = "radiusAxis";-function oPe(e) {- var t = GB(), n = eW(), r = (0, B.useMemo)(() => {- var { type: t } = e, r = I1(e, QNe), i = LK(n, "radiusAxis", t);- if (i != null) return F1(F1({}, r), {}, { type: i });+var RPe = "radiusAxis";+function zPe(e) {+ var t = yV(), n = OW(), r = (0, B.useMemo)(() => {+ var { type: t } = e, r = u0(e, jPe), i = dq(n, "radiusAxis", t);+ if (i != null) return l0(l0({}, r), {}, { type: i });}, [e, n]);- return (0, B.useEffect)(() => r == null ? cB : (t(qNe(r)), () => {- t(JNe(r));+ return (0, B.useEffect)(() => r == null ? NB : (t(EPe(r)), () => {+ t(DPe(r));}), [t, r]), null;}-var sPe = (e, t, n, r) => {+var BPe = (e, t, n, r) => {var { coordinate: i } = e;- return QG(n, r, i, t);-}, cPe = (e) => {+ return EK(n, r, i, t);+}, VPe = (e) => {var t;switch (e) {case "left":@@ -64508,49 +65941,49 @@ var sPe = (e, t, n, r) => {default: t = "middle";}return t;-}, lPe = (e, t, n, r) => {- var i = GNe(r, (e) => e.coordinate || 0);+}, HPe = (e, t, n, r) => {+ var i = wPe(r, (e) => e.coordinate || 0);return {cx: t,cy: n,startAngle: e,endAngle: e,- innerRadius: KNe(r, (e) => e.coordinate || 0)?.coordinate || 0,+ innerRadius: TPe(r, (e) => e.coordinate || 0)?.coordinate || 0,outerRadius: i?.coordinate || 0,clockWise: !1};-}, uPe = (e, t) => {- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = I1(e, $Ne), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = QG(n, r, s[0], i), l = QG(n, r, s[1], i), u = F1(F1(F1({}, HR(o)), {}, { fill: "none" }, HR(a)), {}, {+}, UPe = (e, t) => {+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = u0(e, MPe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = EK(n, r, s[0], i), l = EK(n, r, s[1], i), u = l0(l0(l0({}, pz(o)), {}, { fill: "none" }, pz(a)), {}, {x1: c.x,y1: c.y,x2: l.x,y2: l.y});- return /*#__PURE__*/ B.createElement("line", N1({ className: "recharts-polar-radius-axis-line" }, u));-}, dPe = (e, t, n) => /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ B.createElement(I$, N1({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), fPe = (e, t) => {- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = I1(e, ePe), s = cPe(e.orientation), c = HR(o), l = UR(a), u = t.map((t, o) => {- var u = sPe(t, e.angle, e.cx, e.cy), d = F1(F1(F1(F1({+ return /*#__PURE__*/ B.createElement("line", s0({ className: "recharts-polar-radius-axis-line" }, u));+}, WPe = (e, t, n) => /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ B.createElement(u1, s0({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), GPe = (e, t) => {+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = u0(e, NPe), s = VPe(e.orientation), c = pz(o), l = mz(a), u = t.map((t, o) => {+ var u = BPe(t, e.angle, e.cx, e.cy), d = l0(l0(l0(l0({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(JR, N1({- className: _h("recharts-polar-radius-axis-tick", M1(a)),+ return /*#__PURE__*/ B.createElement(yz, s0({+ className: _h("recharts-polar-radius-axis-tick", o0(a)),key: `tick-${t.coordinate}`- }, gB(e, t, o)), dPe(a, d, r ? r(t.value, o) : t.value));+ }, VB(e, t, o)), WPe(a, d, r ? r(t.value, o) : t.value));});- return /*#__PURE__*/ B.createElement(JR, { className: "recharts-polar-radius-axis-ticks" }, u);-}, pPe = (e) => {- var { radiusAxisId: t } = e, n = Q(XK), r = Q((e) => x1(e, "radiusAxis", t)), i = Q((e) => C1(e, "radiusAxis", t, !1));+ return /*#__PURE__*/ B.createElement(yz, { className: "recharts-polar-radius-axis-ticks" }, u);+}, KPe = (e) => {+ var { radiusAxisId: t } = e, n = Q(wq), r = Q((e) => Y1(e, "radiusAxis", t)), i = Q((e) => Z1(e, "radiusAxis", t, !1));if (n == null || !i || !i.length || r == null) return null;- var a = F1(F1({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;- return /*#__PURE__*/ B.createElement(JQ, { zIndex: a.zIndex }, /*#__PURE__*/ B.createElement(JR, { className: _h("recharts-polar-radius-axis", aPe, a.className) }, s && uPe(a, i), o && fPe(a, i), /*#__PURE__*/ B.createElement(cNe, lPe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ B.createElement(hNe, { label: a.label }), a.children)));+ var a = l0(l0({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;+ return /*#__PURE__*/ B.createElement(S$, { zIndex: a.zIndex }, /*#__PURE__*/ B.createElement(yz, { className: _h("recharts-polar-radius-axis", RPe, a.className) }, s && UPe(a, i), o && GPe(a, i), /*#__PURE__*/ B.createElement(VNe, HPe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ B.createElement(JNe, { label: a.label }), a.children)));};-function L1(e) {- var t = vB(e, FK);- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(oPe, {+function d0(e) {+ var t = UB(e, lq);+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(zPe, {domain: t.domain,id: t.radiusAxisId,scale: t.scale,@@ -64567,22 +66000,22 @@ function L1(e) {ticks: t.ticks,tickCount: t.tickCount,tick: t.tick- }), /*#__PURE__*/ B.createElement(pPe, t));+ }), /*#__PURE__*/ B.createElement(KPe, t));}-L1.displayName = "PolarRadiusAxis";+d0.displayName = "PolarRadiusAxis";//#endregion//#region node_modules/recharts/es6/polar/PolarAngleAxis.js-var mPe = ["children", "type"], hPe = ["ref"];-function R1() {- return R1 = Object.assign ? Object.assign.bind() : function(e) {+var qPe = ["children", "type"], JPe = ["ref"];+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;- }, R1.apply(null, arguments);+ }, f0.apply(null, arguments);}-function z1(e, t) {+function p0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64592,30 +66025,30 @@ function z1(e, t) {}return n;}-function B1(e) {+function m0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? z1(Object(n), !0).forEach(function(t) {- gPe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z1(Object(n)).forEach(function(t) {+ t % 2 ? p0(Object(n), !0).forEach(function(t) {+ YPe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p0(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function gPe(e, t, n) {- return (t = _Pe(t)) in e ? Object.defineProperty(e, t, {+function YPe(e, t, n) {+ return (t = XPe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function _Pe(e) {- var t = vPe(e, "string");+function XPe(e) {+ var t = ZPe(e, "string");return typeof t == "symbol" ? t : t + "";}-function vPe(e, t) {+function ZPe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64625,16 +66058,16 @@ function vPe(e, t) {}return (t === "string" ? String : Number)(e);}-function V1(e, t) {+function h0(e, t) {if (e == null) return {};- var n, r, i = yPe(e, t);+ var n, r, i = QPe(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 yPe(e, t) {+function QPe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -64643,47 +66076,47 @@ function yPe(e, t) {}return n;}-var H1 = 1e-5, bPe = Math.cos(ZG(45)), xPe = "angleAxis";-function SPe(e) {- var t = GB(), n = eW(), r = (0, B.useMemo)(() => {- var { children: t, type: r } = e, i = V1(e, mPe), a = LK(n, "angleAxis", r);- if (a != null) return B1(B1({}, i), {}, { type: a });- }, [e, n]), i = r === Q((e) => HK(e, r?.id));- return (0, B.useEffect)(() => r == null ? cB : (t(YNe(r)), () => {- t(XNe(r));+var g0 = 1e-5, $Pe = Math.cos(TK(45)), eFe = "angleAxis";+function tFe(e) {+ var t = yV(), n = OW(), r = (0, B.useMemo)(() => {+ var { children: t, type: r } = e, i = h0(e, qPe), a = dq(n, "angleAxis", r);+ if (a != null) return m0(m0({}, i), {}, { type: a });+ }, [e, n]), i = r === Q((e) => gq(e, r?.id));+ return (0, B.useEffect)(() => r == null ? NB : (t(OPe(r)), () => {+ t(kPe(r));}), [t, r]), i ? e.children : null;}-var CPe = (e, t) => {- var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = QG(n, r, i, e.coordinate), l = QG(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);+var nFe = (e, t) => {+ var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = EK(n, r, i, e.coordinate), l = EK(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);return {x1: c.x,y1: c.y,x2: l.x,y2: l.y};-}, wPe = (e, t) => {- var n = Math.cos(ZG(-e.coordinate));- return n > H1 ? t === "outer" ? "start" : "end" : n < -H1 ? t === "outer" ? "end" : "start" : "middle";-}, TPe = (e) => {- var t = Math.cos(ZG(-e.coordinate)), n = Math.sin(ZG(-e.coordinate));- return Math.abs(t) <= bPe ? n > 0 ? "start" : "end" : "middle";-}, EPe = (e) => {+}, rFe = (e, t) => {+ var n = Math.cos(TK(-e.coordinate));+ return n > g0 ? t === "outer" ? "start" : "end" : n < -g0 ? t === "outer" ? "end" : "start" : "middle";+}, iFe = (e) => {+ var t = Math.cos(TK(-e.coordinate)), n = Math.sin(TK(-e.coordinate));+ return Math.abs(t) <= $Pe ? n > 0 ? "start" : "end" : "middle";+}, aFe = (e) => {var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;if (!a) return null;- var s = B1(B1({}, HR(e)), {}, { fill: "none" }, HR(a));- if (i === "circle") return /*#__PURE__*/ B.createElement(d1, R1({ className: "recharts-polar-angle-axis-line" }, s, {+ var s = m0(m0({}, pz(e)), {}, { fill: "none" }, pz(a));+ if (i === "circle") return /*#__PURE__*/ B.createElement(z1, f0({ className: "recharts-polar-angle-axis-line" }, s, {cx: t,cy: n,r}));- var c = o.map((e) => QG(t, n, r, e.coordinate));- return /*#__PURE__*/ B.createElement(l1, R1({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));-}, DPe = (e) => {+ var c = o.map((e) => EK(t, n, r, e.coordinate));+ return /*#__PURE__*/ B.createElement(L1, f0({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));+}, oFe = (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(I$, R1({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;-}, OPe = (e) => {- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = HR(e), { ref: s } = o, c = V1(o, hPe), l = UR(t), u = B1(B1({}, c), {}, { fill: "none" }, HR(n)), d = a.map((a, o) => {- var s = CPe(a, e), d = wPe(a, e.orientation), f = TPe(a), p = B1(B1(B1({}, c), {}, {+ return t ? /*#__PURE__*/ B.isValidElement(t) ? /*#__PURE__*/ B.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ B.createElement(u1, f0({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;+}, sFe = (e) => {+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = pz(e), { ref: s } = o, c = h0(o, JPe), l = mz(t), u = m0(m0({}, c), {}, { fill: "none" }, pz(n)), d = a.map((a, o) => {+ var s = nFe(a, e), d = rFe(a, e.orientation), f = iFe(a), p = m0(m0(m0({}, c), {}, {textAnchor: d,verticalAnchor: f,stroke: "none",@@ -64694,28 +66127,28 @@ var CPe = (e, t) => {x: s.x2,y: s.y2});- return /*#__PURE__*/ B.createElement(JR, R1({- className: _h("recharts-polar-angle-axis-tick", M1(t)),+ return /*#__PURE__*/ B.createElement(yz, f0({+ className: _h("recharts-polar-angle-axis-tick", o0(t)),key: `tick-${a.coordinate}`- }, gB(e, a, o)), n && /*#__PURE__*/ B.createElement("line", R1({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ B.createElement(DPe, {+ }, VB(e, a, o)), n && /*#__PURE__*/ B.createElement("line", f0({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ B.createElement(oFe, {tick: t,tickProps: p,value: r ? r(a.value, o) : a.value}));});- return /*#__PURE__*/ B.createElement(JR, { className: "recharts-polar-angle-axis-ticks" }, d);-}, kPe = (e) => {- var { angleAxisId: t } = e, n = Q(XK), r = Q((e) => x1(e, "angleAxis", t)), i = MU(), a = Q((e) => jNe(e, "angleAxis", t, i));+ return /*#__PURE__*/ B.createElement(yz, { className: "recharts-polar-angle-axis-ticks" }, d);+}, cFe = (e) => {+ var { angleAxisId: t } = e, n = Q(wq), r = Q((e) => Y1(e, "angleAxis", t)), i = oW(), a = Q((e) => uPe(e, "angleAxis", t, i));if (n == null || !a || !a.length || r == null) return null;- var o = B1(B1(B1({}, e), {}, { scale: r }, n), {}, {+ var o = m0(m0(m0({}, e), {}, { scale: r }, n), {}, {radius: n.outerRadius,ticks: a});- return /*#__PURE__*/ B.createElement(JQ, { zIndex: o.zIndex }, /*#__PURE__*/ B.createElement(JR, { className: _h("recharts-polar-angle-axis", xPe, o.className) }, /*#__PURE__*/ B.createElement(EPe, o), /*#__PURE__*/ B.createElement(OPe, o)));+ return /*#__PURE__*/ B.createElement(S$, { zIndex: o.zIndex }, /*#__PURE__*/ B.createElement(yz, { className: _h("recharts-polar-angle-axis", eFe, o.className) }, /*#__PURE__*/ B.createElement(aFe, o), /*#__PURE__*/ B.createElement(sFe, o)));};-function U1(e) {- var t = vB(e, PK);- return /*#__PURE__*/ B.createElement(SPe, {+function _0(e) {+ var t = UB(e, cq);+ return /*#__PURE__*/ B.createElement(tFe, {id: t.angleAxisId,scale: t.scale,type: t.type,@@ -64732,12 +66165,12 @@ function U1(e) {ticks: t.ticks,tick: t.tick,domain: t.domain- }, /*#__PURE__*/ B.createElement(kPe, t));+ }, /*#__PURE__*/ B.createElement(cFe, t));}-U1.displayName = "PolarAngleAxis";+_0.displayName = "PolarAngleAxis";//#endregion//#region node_modules/react-is/cjs/react-is.production.js-var APe = /* @__PURE__ */ xt(((e) => {+var lFe = /* @__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) {@@ -64766,26 +66199,26 @@ var APe = /* @__PURE__ */ xt(((e) => {e.isFragment = function(e) {return m(e) === r;};-})), jPe = (/* @__PURE__ */ xt(((e, t) => {- t.exports = APe();-})))(), W1 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", G1 = null, K1 = null, q1 = (e) => {- if (e === G1 && Array.isArray(K1)) return K1;+})), uFe = (/* @__PURE__ */ xt(((e, t) => {+ t.exports = lFe();+})))(), v0 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", y0 = null, b0 = null, x0 = (e) => {+ if (e === y0 && Array.isArray(b0)) return b0;var t = [];return B.Children.forEach(e, (e) => {- aB(e) || ((0, jPe.isFragment)(e) ? t = t.concat(q1(e.props.children)) : t.push(e));- }), K1 = t, G1 = e, t;+ AB(e) || ((0, uFe.isFragment)(e) ? t = t.concat(x0(e.props.children)) : t.push(e));+ }), b0 = t, y0 = e, t;};-function J1(e, t) {+function S0(e, t) {var n = [], r = [];- return r = Array.isArray(t) ? t.map((e) => W1(e)) : [W1(t)], q1(e).forEach((e) => {- var t = qz(e, "type.displayName") || qz(e, "type.name");+ return r = Array.isArray(t) ? t.map((e) => v0(e)) : [v0(t)], x0(e).forEach((e) => {+ var t = vB(e, "type.displayName") || vB(e, "type.name");t && r.indexOf(t) !== -1 && n.push(e);}), n;}-var Y1 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;+var C0 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;//#endregion//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs-function MPe(e) {+function dFe(e) {if (typeof e != "object" || !e) return !1;if (Object.getPrototypeOf(e) === null) return !0;if (Object.prototype.toString.call(e) !== "[object Object]") {@@ -64798,8 +66231,8 @@ function MPe(e) {}//#endregion//#region node_modules/recharts/es6/shape/Trapezoid.js-var NPe, PPe, FPe, IPe, LPe;-function X1(e, t) {+var fFe, pFe, mFe, hFe, gFe;+function w0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64809,30 +66242,30 @@ function X1(e, t) {}return n;}-function Z1(e) {+function T0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? X1(Object(n), !0).forEach(function(t) {- RPe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X1(Object(n)).forEach(function(t) {+ t % 2 ? w0(Object(n), !0).forEach(function(t) {+ _Fe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w0(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function RPe(e, t, n) {- return (t = zPe(t)) in e ? Object.defineProperty(e, t, {+function _Fe(e, t, n) {+ return (t = vFe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function zPe(e) {- var t = BPe(e, "string");+function vFe(e) {+ var t = yFe(e, "string");return typeof t == "symbol" ? t : t + "";}-function BPe(e, t) {+function yFe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64842,42 +66275,42 @@ function BPe(e, t) {}return (t === "string" ? String : Number)(e);}-function Q1() {- return Q1 = Object.assign ? Object.assign.bind() : function(e) {+function E0() {+ return E0 = 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);+ }, E0.apply(null, arguments);}-function $1(e, t) {+function D0(e, t) {return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));}-var e0 = (e, t, n, r, i) => {- var a = n - r, o = Yz(NPe ||= $1([+var O0 = (e, t, n, r, i) => {+ var a = n - r, o = bB(fFe ||= D0(["M ",",",""]), e, t);- return o += Yz(PPe ||= $1([+ return o += bB(pFe ||= D0(["L ",",",""- ]), e + n, t), o += Yz(FPe ||= $1([+ ]), e + n, t), o += bB(mFe ||= D0(["L ",",",""- ]), e + n - a / 2, t + i), o += Yz(IPe ||= $1([+ ]), e + n - a / 2, t + i), o += bB(hFe ||= D0(["L ",",",""- ]), e + n - a / 2 - r, t + i), o += Yz(LPe ||= $1([+ ]), e + n - a / 2 - r, t + i), o += bB(gFe ||= D0(["L ",","," Z"]), e, t), o;-}, VPe = {+}, bFe = {x: 0,y: 0,upperWidth: 0,@@ -64887,8 +66320,8 @@ var e0 = (e, t, n, r, i) => {animationBegin: 0,animationDuration: 1500,animationEasing: "ease"-}, HPe = (e) => {- var t = vB(e, VPe), { 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 = zG(e, "trapezoid-");+}, xFe = (e) => {+ var t = UB(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 = pK(e, "trapezoid-");if ((0, B.useEffect)(() => {if (f.current && f.current.getTotalLength) try {var e = f.current.getTotalLength();@@ -64896,12 +66329,12 @@ var e0 = (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", Q1({}, WR(t), {+ if (!d) return /*#__PURE__*/ B.createElement("g", null, /*#__PURE__*/ B.createElement("path", E0({}, hz(t), {className: x,- d: e0(n, r, i, a, o)+ d: O0(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 = TG(["strokeDasharray"], l, c);- return /*#__PURE__*/ B.createElement(RG, {+ 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 = $G(["strokeDasharray"], l, c);+ return /*#__PURE__*/ B.createElement(fK, {animationId: b,key: b,canBegin: p > 0,@@ -64910,35 +66343,35 @@ var e0 = (e, t, n, r, i) => {isActive: d,begin: u}, (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);+ var s = OB(S, i, e), c = OB(C, a, e), l = OB(w, o, e), u = OB(T, n, e), d = OB(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", Q1({}, WR(t), {+ return /*#__PURE__*/ B.createElement("path", E0({}, hz(t), {className: x,- d: e0(u, d, s, c, l),+ d: O0(u, d, s, c, l),ref: f,- style: Z1(Z1({}, p), t.style)+ style: T0(T0({}, p), t.style)}));});-}, UPe = [+}, SFe = ["option","shapeType","activeClassName","inActiveClassName"];-function WPe(e, t) {+function CFe(e, t) {if (e == null) return {};- var n, r, i = GPe(e, t);+ var n, r, i = wFe(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 GPe(e, t) {+function wFe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -64947,7 +66380,7 @@ function GPe(e, t) {}return n;}-function t0(e, t) {+function k0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -64957,30 +66390,30 @@ function t0(e, t) {}return n;}-function n0(e) {+function A0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? t0(Object(n), !0).forEach(function(t) {- KPe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t0(Object(n)).forEach(function(t) {+ t % 2 ? k0(Object(n), !0).forEach(function(t) {+ TFe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k0(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function KPe(e, t, n) {- return (t = qPe(t)) in e ? Object.defineProperty(e, t, {+function TFe(e, t, n) {+ return (t = EFe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function qPe(e) {- var t = JPe(e, "string");+function EFe(e) {+ var t = DFe(e, "string");return typeof t == "symbol" ? t : t + "";}-function JPe(e, t) {+function DFe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -64990,68 +66423,68 @@ function JPe(e, t) {}return (t === "string" ? String : Number)(e);}-function YPe(e, t) {- return n0(n0({}, t), e);+function OFe(e, t) {+ return A0(A0({}, t), e);}-function XPe(e, t) {+function kFe(e, t) {return e === "symbols";}-function r0(e) {+function j0(e) {var { shapeType: t, elementProps: n } = e;switch (t) {- case "rectangle": return /*#__PURE__*/ B.createElement(qG, n);- case "trapezoid": return /*#__PURE__*/ B.createElement(HPe, n);- case "sector": return /*#__PURE__*/ B.createElement(iK, n);+ case "rectangle": return /*#__PURE__*/ B.createElement(xK, n);+ case "trapezoid": return /*#__PURE__*/ B.createElement(xFe, n);+ case "sector": return /*#__PURE__*/ B.createElement(MK, n);case "symbols":- if (XPe(t, n)) return /*#__PURE__*/ B.createElement(pB, n);+ if (kFe(t, n)) return /*#__PURE__*/ B.createElement(RB, n);break;- case "curve": return /*#__PURE__*/ B.createElement(bG, n);+ case "curve": return /*#__PURE__*/ B.createElement(JG, n);default: return null;}}-function ZPe(e) {+function AFe(e) {return /*#__PURE__*/ (0, B.isValidElement)(e) ? e.props : e;}-function i0(e) {- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = WPe(e, UPe), o;- if (/*#__PURE__*/ (0, B.isValidElement)(t)) o = /*#__PURE__*/ (0, B.cloneElement)(t, n0(n0({}, a), ZPe(t)));+function M0(e) {+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = CFe(e, SFe), o;+ if (/*#__PURE__*/ (0, B.isValidElement)(t)) o = /*#__PURE__*/ (0, B.cloneElement)(t, A0(A0({}, a), AFe(t)));else if (typeof t == "function") o = t(a, a.index);- else if (MPe(t) && typeof t != "boolean") {- var s = YPe(t, a);- o = /*#__PURE__*/ B.createElement(r0, {+ else if (dFe(t) && typeof t != "boolean") {+ var s = OFe(t, a);+ o = /*#__PURE__*/ B.createElement(j0, {shapeType: n,elementProps: s});} else {var c = a;- o = /*#__PURE__*/ B.createElement(r0, {+ o = /*#__PURE__*/ B.createElement(j0, {shapeType: n,elementProps: c});}- return a.isActive ? /*#__PURE__*/ B.createElement(JR, { className: r }, o) : /*#__PURE__*/ B.createElement(JR, { className: i }, o);+ return a.isActive ? /*#__PURE__*/ B.createElement(yz, { className: r }, o) : /*#__PURE__*/ B.createElement(yz, { className: i }, o);}//#endregion//#region node_modules/recharts/es6/context/tooltipContext.js-var a0 = (e, t, n) => {- var r = GB();+var N0 = (e, t, n) => {+ var r = yV();return (i, a) => (o) => {- e?.(i, a, o), r(YZ({+ e?.(i, a, o), r(CQ({activeIndex: String(a),activeDataKey: t,activeCoordinate: i.tooltipPosition,activeGraphicalItemId: n}));};-}, o0 = (e) => {- var t = GB();+}, P0 = (e) => {+ var t = yV();return (n, r) => (i) => {- e?.(n, r, i), t(IAe());+ e?.(n, r, i), t(hje());};-}, s0 = (e, t, n) => {- var r = GB();+}, F0 = (e, t, n) => {+ var r = yV();return (i, a) => (o) => {- e?.(i, a, o), r(LAe({+ e?.(i, a, o), r(gje({activeIndex: String(a),activeDataKey: t,activeCoordinate: i.tooltipPosition,@@ -65061,10 +66494,10 @@ var a0 = (e, t, n) => {};//#endregion//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js-function c0(e) {- var { tooltipEntrySettings: t } = e, n = GB(), r = MU(), i = (0, B.useRef)(null);+function I0(e) {+ var { tooltipEntrySettings: t } = e, n = yV(), r = oW(), i = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {- r || (i.current === null ? n(MAe(t)) : i.current !== t && n(NAe({+ r || (i.current === null ? n(dje(t)) : i.current !== t && n(fje({prev: i.current,next: t})), i.current = t);@@ -65073,15 +66506,15 @@ function c0(e) {n,r]), (0, B.useLayoutEffect)(() => () => {- i.current &&= (n(PAe(i.current)), null);+ i.current &&= (n(pje(i.current)), null);}, [n]), null;}//#endregion//#region node_modules/recharts/es6/state/SetLegendPayload.js-function l0(e) {- var { legendPayload: t } = e, n = GB(), r = MU(), i = (0, B.useRef)(null);+function L0(e) {+ var { legendPayload: t } = e, n = yV(), r = oW(), i = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {- r || (i.current === null ? n(WW(t)) : i.current !== t && n(GW({+ r || (i.current === null ? n(vG(t)) : i.current !== t && n(yG({prev: i.current,next: t})), i.current = t);@@ -65090,13 +66523,13 @@ function l0(e) {r,t]), (0, B.useLayoutEffect)(() => () => {- i.current &&= (n(KW(i.current)), null);+ i.current &&= (n(bG(i.current)), null);}, [n]), null;}-function u0(e) {- var { legendPayload: t } = e, n = GB(), r = Q(XU), i = (0, B.useRef)(null);+function R0(e) {+ var { legendPayload: t } = e, n = yV(), r = Q(wW), i = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {- (r === "centric" || r === "radial") && (i.current === null ? n(WW(t)) : i.current !== t && n(GW({+ (r === "centric" || r === "radial") && (i.current === null ? n(vG(t)) : i.current !== t && n(yG({prev: i.current,next: t})), i.current = t);@@ -65105,27 +66538,27 @@ function u0(e) {r,t]), (0, B.useLayoutEffect)(() => () => {- i.current &&= (n(KW(i.current)), null);+ i.current &&= (n(bG(i.current)), null);}, [n]), null;}//#endregion//#region node_modules/recharts/es6/util/useId.js-var QPe = B.useId ?? (() => {- var [e] = B.useState(() => eB("uid-"));+var jFe = B.useId ?? (() => {+ var [e] = B.useState(() => TB("uid-"));return e;});//#endregion//#region node_modules/recharts/es6/util/useUniqueId.js-function $Pe(e, t) {- var n = QPe();+function MFe(e, t) {+ var n = jFe();return t || (e ? `${e}-${n}` : n);}//#endregion//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js-var eFe = /*#__PURE__*/ (0, B.createContext)(void 0), d0 = (e) => {- var { id: t, type: n, children: r } = e, i = $Pe(`recharts-${n}`, t);- return /*#__PURE__*/ B.createElement(eFe.Provider, { value: i }, r(i));-}, f0 = AH({+var NFe = /*#__PURE__*/ (0, B.createContext)(void 0), z0 = (e) => {+ var { id: t, type: n, children: r } = e, i = MFe(`recharts-${n}`, t);+ return /*#__PURE__*/ B.createElement(NFe.Provider, { value: i }, r(i));+}, B0 = iU({name: "graphicalItems",initialState: {cartesianItems: [],@@ -65134,80 +66567,80 @@ var eFe = /*#__PURE__*/ (0, B.createContext)(void 0), d0 = (e) => {reducers: {addCartesianGraphicalItem: {reducer(e, t) {- e.cartesianItems.push(VW(t.payload));+ e.cartesianItems.push(hG(t.payload));},- prepare: EH()+ prepare: eU()},replaceCartesianGraphicalItem: {reducer(e, t) {- var { prev: n, next: r } = t.payload, i = _H(e).cartesianItems.indexOf(VW(n));- i > -1 && (e.cartesianItems[i] = VW(r));+ var { prev: n, next: r } = t.payload, i = GH(e).cartesianItems.indexOf(hG(n));+ i > -1 && (e.cartesianItems[i] = hG(r));},- prepare: EH()+ prepare: eU()},removeCartesianGraphicalItem: {reducer(e, t) {- var n = _H(e).cartesianItems.indexOf(VW(t.payload));+ var n = GH(e).cartesianItems.indexOf(hG(t.payload));n > -1 && e.cartesianItems.splice(n, 1);},- prepare: EH()+ prepare: eU()},addPolarGraphicalItem: {reducer(e, t) {- e.polarItems.push(VW(t.payload));+ e.polarItems.push(hG(t.payload));},- prepare: EH()+ prepare: eU()},removePolarGraphicalItem: {reducer(e, t) {- var n = _H(e).polarItems.indexOf(VW(t.payload));+ var n = GH(e).polarItems.indexOf(hG(t.payload));n > -1 && e.polarItems.splice(n, 1);},- prepare: EH()+ prepare: eU()},replacePolarGraphicalItem: {reducer(e, t) {- var { prev: n, next: r } = t.payload, i = _H(e).polarItems.indexOf(VW(n));- i > -1 && (e.polarItems[i] = VW(r));+ var { prev: n, next: r } = t.payload, i = GH(e).polarItems.indexOf(hG(n));+ i > -1 && (e.polarItems[i] = hG(r));},- prepare: EH()+ prepare: eU()}}-}), { addCartesianGraphicalItem: tFe, replaceCartesianGraphicalItem: nFe, removeCartesianGraphicalItem: rFe, addPolarGraphicalItem: iFe, removePolarGraphicalItem: aFe, replacePolarGraphicalItem: oFe } = f0.actions, sFe = f0.reducer, p0 = /*#__PURE__*/ (0, B.memo)((e) => {- var t = GB(), n = (0, B.useRef)(null);+}), { addCartesianGraphicalItem: PFe, replaceCartesianGraphicalItem: FFe, removeCartesianGraphicalItem: IFe, addPolarGraphicalItem: LFe, removePolarGraphicalItem: RFe, replacePolarGraphicalItem: zFe } = B0.actions, BFe = B0.reducer, V0 = /*#__PURE__*/ (0, B.memo)((e) => {+ var t = yV(), n = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {- n.current === null ? t(tFe(e)) : n.current !== e && t(nFe({+ n.current === null ? t(PFe(e)) : n.current !== e && t(FFe({prev: n.current,next: e})), n.current = e;}, [t, e]), (0, B.useLayoutEffect)(() => () => {- n.current &&= (t(rFe(n.current)), null);+ n.current &&= (t(IFe(n.current)), null);}, [t]), null;-}), m0 = /*#__PURE__*/ (0, B.memo)((e) => {- var t = GB(), n = (0, B.useRef)(null);+}), H0 = /*#__PURE__*/ (0, B.memo)((e) => {+ var t = yV(), n = (0, B.useRef)(null);return (0, B.useLayoutEffect)(() => {- n.current === null ? t(iFe(e)) : n.current !== e && t(oFe({+ n.current === null ? t(LFe(e)) : n.current !== e && t(zFe({prev: n.current,next: e})), n.current = e;}, [t, e]), (0, B.useLayoutEffect)(() => () => {- n.current &&= (t(aFe(n.current)), null);+ n.current &&= (t(RFe(n.current)), null);}, [t]), null;});//#endregion//#region node_modules/es-toolkit/dist/array/last.mjs-function cFe(e) {+function VFe(e) {return e[e.length - 1];}//#endregion//#region node_modules/es-toolkit/dist/compat/array/last.mjs-function lFe(e) {- if (!(!wB(e) || e.length === 0)) return cFe(A1(e));+function HFe(e) {+ if (!(!YB(e) || e.length === 0)) return VFe(i0(e));}//#endregion//#region node_modules/recharts/es6/component/Dots.js-var uFe = ["points"];-function h0(e, t) {+var UFe = ["points"];+function U0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -65217,30 +66650,30 @@ function h0(e, t) {}return n;}-function g0(e) {+function W0(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) {- dFe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h0(Object(n)).forEach(function(t) {+ t % 2 ? U0(Object(n), !0).forEach(function(t) {+ WFe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U0(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function dFe(e, t, n) {- return (t = fFe(t)) in e ? Object.defineProperty(e, t, {+function WFe(e, t, n) {+ return (t = GFe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function fFe(e) {- var t = pFe(e, "string");+function GFe(e) {+ var t = KFe(e, "string");return typeof t == "symbol" ? t : t + "";}-function pFe(e, t) {+function KFe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -65250,25 +66683,25 @@ function pFe(e, t) {}return (t === "string" ? String : Number)(e);}-function _0() {- return _0 = 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;- }, _0.apply(null, arguments);+ }, G0.apply(null, arguments);}-function mFe(e, t) {+function qFe(e, t) {if (e == null) return {};- var n, r, i = hFe(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 hFe(e, t) {+function JFe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -65277,21 +66710,21 @@ function hFe(e, t) {}return n;}-function gFe(e) {+function YFe(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 = mFe(a, uFe);- return /*#__PURE__*/ B.createElement(d1, _0({}, s, { className: i }));+ var i = _h(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = qFe(a, UFe);+ return /*#__PURE__*/ B.createElement(z1, G0({}, s, { className: i }));}-function _Fe(e, t) {+function XFe(e, t) {return e == null ? !1 : t ? !0 : e.length === 1;}-function v0(e) {- var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = NK.scatter } = e;- if (!_Fe(t, n)) return null;- var u = Y1(n), d = Cbe(n), f = t.map((e, r) => {- var s = g0(g0(g0({ r: 3 }, o), d), {}, {+function K0(e) {+ var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = sq.scatter } = e;+ if (!XFe(t, n)) return null;+ var u = C0(n), d = axe(n), f = t.map((e, r) => {+ var s = W0(W0(W0({ r: 3 }, o), d), {}, {index: r,cx: e.x ?? void 0,cy: e.y ?? void 0,@@ -65300,18 +66733,18 @@ function v0(e) {payload: e.payload,points: t});- return /*#__PURE__*/ B.createElement(gFe, {+ return /*#__PURE__*/ B.createElement(YFe, {key: `dot-${r}`,option: n,dotProps: s,className: i});}), p = {};- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ B.createElement(JQ, { zIndex: l }, /*#__PURE__*/ B.createElement(JR, _0({ className: r }, p), f));+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ B.createElement(S$, { zIndex: l }, /*#__PURE__*/ B.createElement(yz, G0({ className: r }, p), f));}//#endregion//#region node_modules/recharts/es6/state/cartesianAxisSlice.js-function y0(e, t) {+function q0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -65321,30 +66754,30 @@ function y0(e, t) {}return n;}-function b0(e) {+function J0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? y0(Object(n), !0).forEach(function(t) {- vFe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y0(Object(n)).forEach(function(t) {+ t % 2 ? q0(Object(n), !0).forEach(function(t) {+ ZFe(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 vFe(e, t, n) {- return (t = yFe(t)) in e ? Object.defineProperty(e, t, {+function ZFe(e, t, n) {+ return (t = QFe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function yFe(e) {- var t = bFe(e, "string");+function QFe(e) {+ var t = $Fe(e, "string");return typeof t == "symbol" ? t : t + "";}-function bFe(e, t) {+function $Fe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -65354,7 +66787,7 @@ function bFe(e, t) {}return (t === "string" ? String : Number)(e);}-var x0 = AH({+var Y0 = iU({name: "cartesianAxis",initialState: {xAxis: {},@@ -65364,60 +66797,60 @@ var x0 = AH({reducers: {addXAxis: {reducer(e, t) {- e.xAxis[t.payload.id] = VW(t.payload);+ e.xAxis[t.payload.id] = hG(t.payload);},- prepare: EH()+ prepare: eU()},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] = VW(r));+ e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = hG(r));},- prepare: EH()+ prepare: eU()},removeXAxis: {reducer(e, t) {delete e.xAxis[t.payload.id];},- prepare: EH()+ prepare: eU()},addYAxis: {reducer(e, t) {- e.yAxis[t.payload.id] = VW(t.payload);+ e.yAxis[t.payload.id] = hG(t.payload);},- prepare: EH()+ prepare: eU()},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] = VW(r));+ e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = hG(r));},- prepare: EH()+ prepare: eU()},removeYAxis: {reducer(e, t) {delete e.yAxis[t.payload.id];},- prepare: EH()+ prepare: eU()},addZAxis: {reducer(e, t) {- e.zAxis[t.payload.id] = VW(t.payload);+ e.zAxis[t.payload.id] = hG(t.payload);},- prepare: EH()+ prepare: eU()},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] = VW(r));+ e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = hG(r));},- prepare: EH()+ prepare: eU()},removeZAxis: {reducer(e, t) {delete e.zAxis[t.payload.id];},- prepare: EH()+ prepare: eU()},updateYAxisWidth(e, t) {var { id: n, width: r } = t.payload, i = e.yAxis[n];@@ -65425,22 +66858,22 @@ var x0 = AH({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] = b0(b0({}, i), {}, {+ e.yAxis[n] = J0(J0({}, i), {}, {width: r,widthHistory: o});}}}-}), { addXAxis: xFe, replaceXAxis: SFe, removeXAxis: CFe, addYAxis: wFe, replaceYAxis: TFe, removeYAxis: EFe, addZAxis: DFe, replaceZAxis: OFe, removeZAxis: kFe, updateYAxisWidth: AFe } = x0.actions, jFe = x0.reducer, MFe = $([- $([AU], (e) => ({+}), { addXAxis: eIe, replaceXAxis: tIe, removeXAxis: nIe, addYAxis: rIe, replaceYAxis: iIe, removeYAxis: aIe, addZAxis: oIe, replaceZAxis: sIe, removeZAxis: cIe, updateYAxisWidth: lIe } = Y0.actions, uIe = Y0.reducer, dIe = $([+ $([iW], (e) => ({top: e.top,bottom: e.bottom,left: e.left,right: e.right})),- CU,- wU+ ZU,+ QU], (e, t, n) => {if (!(!e || t == null || n == null)) return {x: e.left,@@ -65448,10 +66881,10 @@ var x0 = AH({width: Math.max(0, t - e.left - e.right),height: Math.max(0, n - e.top - e.bottom)};-}), S0 = () => Q(MFe), NFe = () => Q(fje);+}), X0 = () => Q(dIe), fIe = () => Q(Gje);//#endregion//#region node_modules/recharts/es6/component/ActivePoints.js-function C0(e, t) {+function Z0(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -65461,30 +66894,30 @@ function C0(e, t) {}return n;}-function w0(e) {+function Q0(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? C0(Object(n), !0).forEach(function(t) {- PFe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C0(Object(n)).forEach(function(t) {+ t % 2 ? Z0(Object(n), !0).forEach(function(t) {+ pIe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z0(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function PFe(e, t, n) {- return (t = FFe(t)) in e ? Object.defineProperty(e, t, {+function pIe(e, t, n) {+ return (t = mIe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function FFe(e) {- var t = IFe(e, "string");+function mIe(e) {+ var t = hIe(e, "string");return typeof t == "symbol" ? t : t + "";}-function IFe(e, t) {+function hIe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -65494,10 +66927,10 @@ function IFe(e, t) {}return (t === "string" ? String : Number)(e);}-var LFe = (e) => {+var gIe = (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 = w0(w0(w0({}, {+ var s = Q0(Q0(Q0({}, {index: n,dataKey: a,cx: t.x,@@ -65508,17 +66941,17 @@ var LFe = (e) => {stroke: "#fff",payload: t.payload,value: t.value- }), UR(i)), hB(i)), c = /*#__PURE__*/ (0, B.isValidElement)(i) ? /*#__PURE__*/ (0, B.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ B.createElement(d1, s);- return /*#__PURE__*/ B.createElement(JR, {+ }), mz(i)), BB(i)), c = /*#__PURE__*/ (0, B.isValidElement)(i) ? /*#__PURE__*/ (0, B.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ B.createElement(z1, s);+ return /*#__PURE__*/ B.createElement(yz, {className: "recharts-active-dot",clipPath: o}, c);};-function T0(e) {- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = NK.activeDot } = e, s = Q(DQ), c = NFe();+function $0(e) {+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = sq.activeDot } = e, s = Q(t$), c = fIe();if (t == null || c == null) return null;var l = t.find((e) => c.includes(e.payload));- return aB(l) ? null : /*#__PURE__*/ B.createElement(JQ, { zIndex: o }, /*#__PURE__*/ B.createElement(LFe, {+ return AB(l) ? null : /*#__PURE__*/ B.createElement(S$, { zIndex: o }, /*#__PURE__*/ B.createElement(gIe, {point: l,childIndex: Number(s),mainColor: n,@@ -65529,7 +66962,7 @@ function T0(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/radarSelectors.js-function E0(e, t) {+function e2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -65539,30 +66972,30 @@ function E0(e, t) {}return n;}-function D0(e) {+function t2(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) {- RFe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E0(Object(n)).forEach(function(t) {+ t % 2 ? e2(Object(n), !0).forEach(function(t) {+ _Ie(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function RFe(e, t, n) {- return (t = zFe(t)) in e ? Object.defineProperty(e, t, {+function _Ie(e, t, n) {+ return (t = vIe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function zFe(e) {- var t = BFe(e, "string");+function vIe(e) {+ var t = yIe(e, "string");return typeof t == "symbol" ? t : t + "";}-function BFe(e, t) {+function yIe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -65572,16 +67005,16 @@ function BFe(e, t) {}return (t === "string" ? String : Number)(e);}-var O0 = (e, t) => x1(e, "radiusAxis", t), VFe = $([O0], (e) => {+var n2 = (e, t) => Y1(e, "radiusAxis", t), bIe = $([n2], (e) => {if (e != null) return { scale: e };-}), HFe = $([UK, O0], (e, t) => {- if (e != null && t != null) return D0(D0({}, e), {}, { scale: t });-}), UFe = (e, t, n, r) => C1(e, "radiusAxis", t, r), k0 = (e, t, n) => HK(e, n), A0 = (e, t, n) => x1(e, "angleAxis", n), WFe = $([k0, A0], (e, t) => {- if (e != null && t != null) return D0(D0({}, e), {}, { scale: t });-}), GFe = (e, t, n, r) => C1(e, "angleAxis", n, r), KFe = $([- k0,- A0,- XK+}), xIe = $([_q, n2], (e, t) => {+ if (e != null && t != null) return t2(t2({}, e), {}, { scale: t });+}), SIe = (e, t, n, r) => Z1(e, "radiusAxis", t, r), r2 = (e, t, n) => gq(e, n), i2 = (e, t, n) => Y1(e, "angleAxis", n), CIe = $([r2, i2], (e, t) => {+ if (e != null && t != null) return t2(t2({}, e), {}, { scale: t });+}), wIe = (e, t, n, r) => Z1(e, "angleAxis", n, r), TIe = $([+ r2,+ i2,+ wq], (e, t, n) => {if (n != null && t != null) return {scale: t,@@ -65590,40 +67023,40 @@ var O0 = (e, t) => x1(e, "radiusAxis", t), VFe = $([O0], (e) => {cx: n.cx,cy: n.cy};-}), qFe = (e, t, n, r, i) => i, JFe = $([- XU,- HFe,- UFe,- WFe,- GFe-], (e, t, n, r, i) => uU(e, "radiusAxis") ? bU(t, n, !1) : bU(r, i, !1)), YFe = $([- VFe,- KFe,- cK,- $([f1, qFe], (e, t) => {+}), EIe = (e, t, n, r, i) => i, DIe = $([+ wW,+ xIe,+ SIe,+ CIe,+ wIe+], (e, t, n, r, i) => RU(e, "radiusAxis") ? JU(t, n, !1) : JU(r, i, !1)), OIe = $([+ bIe,+ TIe,+ IK,+ $([B1, EIe], (e, t) => {if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;}),- JFe+ DIe], (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 aIe({+ if (e != null && t != null && a != null && i != null && r != null) return RIe({radiusAxis: e,angleAxis: t,displayedData: a.slice(o, s + 1),dataKey: r,bandSize: i});-}), XFe = ["id"];-function j0() {- return j0 = Object.assign ? Object.assign.bind() : function(e) {+}), kIe = ["id"];+function a2() {+ return a2 = 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;- }, j0.apply(null, arguments);+ }, a2.apply(null, arguments);}-function M0(e, t) {+function o2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -65633,30 +67066,30 @@ function M0(e, t) {}return n;}-function N0(e) {+function s2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? M0(Object(n), !0).forEach(function(t) {- ZFe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M0(Object(n)).forEach(function(t) {+ t % 2 ? o2(Object(n), !0).forEach(function(t) {+ AIe(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 ZFe(e, t, n) {- return (t = QFe(t)) in e ? Object.defineProperty(e, t, {+function AIe(e, t, n) {+ return (t = jIe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function QFe(e) {- var t = $Fe(e, "string");+function jIe(e) {+ var t = MIe(e, "string");return typeof t == "symbol" ? t : t + "";}-function $Fe(e, t) {+function MIe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -65666,16 +67099,16 @@ function $Fe(e, t) {}return (t === "string" ? String : Number)(e);}-function eIe(e, t) {+function NIe(e, t) {if (e == null) return {};- var n, r, i = tIe(e, t);+ var n, r, i = PIe(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 tIe(e, t) {+function PIe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -65684,42 +67117,42 @@ function tIe(e, t) {}return n;}-function P0(e, t) {+function c2(e, t) {return e && e !== "none" ? e : t;}-var nIe = (e) => {+var FIe = (e) => {var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;return [{inactive: o,dataKey: t,type: a,- color: P0(r, i),- value: SU(n, t),+ color: c2(r, i),+ value: XU(n, t),payload: e}];-}, rIe = /*#__PURE__*/ B.memo((e) => {+}, IIe = /*#__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: cB,+ getPosition: NB,settings: {stroke: n,strokeWidth: r,fill: i,nameKey: void 0,dataKey: t,- name: SU(a, t),+ name: XU(a, t),hide: o,type: s,- color: P0(n, i),+ color: c2(n, i),unit: "",graphicalItemId: c}};- return /*#__PURE__*/ B.createElement(c0, { tooltipEntrySettings: l });+ return /*#__PURE__*/ B.createElement(I0, { tooltipEntrySettings: l });});-function iIe(e) {- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = HR(eIe(n, XFe));- return /*#__PURE__*/ B.createElement(v0, {+function LIe(e) {+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = pz(NIe(n, kIe));+ return /*#__PURE__*/ B.createElement(K0, {points: t,dot: r,className: "recharts-radar-dots",@@ -65728,11 +67161,11 @@ function iIe(e) {baseProps: o});}-function aIe(e) {+function RIe(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 = lU(e, n.dataKey, r), d = lU(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? lFe(d) : d, m = aB(p) ? 0 : t.scale.map(p) ?? 0;- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(N0(N0({}, QG(o, s, m, f)), {}, {+ var a = LU(e, n.dataKey, r), d = LU(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? HFe(d) : d, m = AB(p) ? 0 : t.scale.map(p) ?? 0;+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(s2(s2({}, EK(o, s, m, f)), {}, {name: a,value: d,cx: o,@@ -65745,8 +67178,8 @@ function aIe(e) {var d = [];return c && l.forEach((e) => {if (Array.isArray(e.value)) {- var n = e.value[0], r = aB(n) ? 0 : t.scale.map(n) ?? 0;- d.push(N0(N0({}, e), {}, { radius: r }, QG(o, s, r, e.angle)));+ var n = e.value[0], r = AB(n) ? 0 : t.scale.map(n) ?? 0;+ d.push(s2(s2({}, e), {}, { radius: r }, EK(o, s, r, e.angle)));} else d.push(e);}), {points: l,@@ -65754,7 +67187,7 @@ function aIe(e) {baseLinePoints: d};}-function oIe(e) {+function zIe(e) {var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {var t = {x: e.x,@@ -65764,7 +67197,7 @@ function oIe(e) {upperWidth: 0,height: 0};- return N0(N0({}, t), {}, {+ return s2(s2({}, t), {}, {value: e.value ?? "",payload: e.payload,parentViewBox: void 0,@@ -65772,12 +67205,12 @@ function oIe(e) {fill: void 0});});- return /*#__PURE__*/ B.createElement(n1, { value: t ? i : void 0 }, r);+ return /*#__PURE__*/ B.createElement(A1, { value: t ? i : void 0 }, r);}-function sIe(e) {+function BIe(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, N0(N0({}, r), {}, { points: t })) : typeof i == "function" ? i(N0(N0({}, r), {}, { points: t })) : /*#__PURE__*/ B.createElement(l1, j0({}, WR(r), {+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ B.isValidElement(i) ? /*#__PURE__*/ B.cloneElement(i, s2(s2({}, r), {}, { points: t })) : typeof i == "function" ? i(s2(s2({}, r), {}, { points: t })) : /*#__PURE__*/ B.createElement(L1, a2({}, hz(r), {onMouseEnter: (e) => {var { onMouseEnter: t } = r;t && t(r, e);@@ -65790,31 +67223,31 @@ function sIe(e) {baseLinePoints: a ? n : void 0,connectNulls: o}));- return /*#__PURE__*/ B.createElement(JR, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ B.createElement(iIe, {+ return /*#__PURE__*/ B.createElement(yz, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ B.createElement(LIe, {props: r,points: t}));}-var F0 = (e, t, n) => (r, i) => {+var l2 = (e, t, n) => (r, i) => {var a = e && e[Math.floor(i * t)];- return a ? N0(N0({}, r), {}, {- x: rB(a.x, r.x, n),- y: rB(a.y, r.y, n)- }) : N0(N0({}, r), {}, {- x: rB(r.cx, r.x, n),- y: rB(r.cy, r.y, n)+ return a ? s2(s2({}, r), {}, {+ x: OB(a.x, r.x, n),+ y: OB(a.y, r.y, n)+ }) : s2(s2({}, r), {}, {+ x: OB(r.cx, r.x, n),+ y: OB(r.cy, r.y, n)});};-function cIe(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 = zG(t, "recharts-radar-"), [_, v] = (0, B.useState)(!1), y = !_, b = (0, B.useCallback)(() => {+function VIe(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 = pK(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(oIe, {+ return /*#__PURE__*/ B.createElement(zIe, {showLabels: y,points: i- }, /*#__PURE__*/ B.createElement(RG, {+ }, /*#__PURE__*/ B.createElement(fK, {animationId: g,begin: s,duration: c,@@ -65824,23 +67257,23 @@ function cIe(e) {onAnimationEnd: b,onAnimationStart: x}, (e) => {- var o = e === 1 ? i : i.map(F0(f, m, e)), s = e === 1 ? a : a?.map(F0(p, h, e));- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ B.createElement(sIe, {+ var o = e === 1 ? i : i.map(l2(f, m, e)), s = e === 1 ? a : a?.map(l2(p, h, e));+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ B.createElement(BIe, {points: o,baseLinePoints: s,props: t});- }), /*#__PURE__*/ B.createElement(a1, { label: t.label }), t.children);+ }), /*#__PURE__*/ B.createElement(N1, { label: t.label }), t.children);}-function lIe(e) {+function HIe(e) {var t = (0, B.useRef)(void 0), n = (0, B.useRef)(void 0);- return /*#__PURE__*/ B.createElement(cIe, {+ return /*#__PURE__*/ B.createElement(VIe, {props: e,previousPointsRef: t,previousBaseLinePointsRef: n});}-var uIe = {+var UIe = {activeDot: !0,angleAxisId: 0,animationBegin: 0,@@ -65852,33 +67285,33 @@ var uIe = {label: !1,legendType: "rect",radiusAxisId: 0,- zIndex: NK.area+ zIndex: sq.area};-function dIe(e) {+function WIe(e) {var { hide: t, className: n, points: r } = e;if (t) return null;var i = _h("recharts-radar", n);- return /*#__PURE__*/ B.createElement(JQ, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(JR, { className: i }, /*#__PURE__*/ B.createElement(lIe, e)), /*#__PURE__*/ B.createElement(T0, {+ return /*#__PURE__*/ B.createElement(S$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(yz, { className: i }, /*#__PURE__*/ B.createElement(HIe, e)), /*#__PURE__*/ B.createElement($0, {points: r,- mainColor: P0(e.stroke, e.fill),+ mainColor: c2(e.stroke, e.fill),itemDataKey: e.dataKey,activeDot: e.activeDot}));}-function fIe(e) {- var t = MU(), n = Q((n) => YFe(n, e.radiusAxisId, e.angleAxisId, t, e.id));- return n?.points == null ? null : /*#__PURE__*/ B.createElement(dIe, j0({}, e, {+function GIe(e) {+ var t = oW(), n = Q((n) => OIe(n, e.radiusAxisId, e.angleAxisId, t, e.id));+ return n?.points == null ? null : /*#__PURE__*/ B.createElement(WIe, a2({}, e, {points: n?.points,baseLinePoints: n?.baseLinePoints,isRange: n?.isRange}));}-function I0(e) {- var t = vB(e, uIe);- return /*#__PURE__*/ B.createElement(d0, {+function u2(e) {+ var t = UB(e, UIe);+ return /*#__PURE__*/ B.createElement(z0, {id: t.id,type: "radar"- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(m0, {+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(H0, {type: "radar",id: e,data: void 0,@@ -65886,7 +67319,7 @@ function I0(e) {hide: t.hide,angleAxisId: t.angleAxisId,radiusAxisId: t.radiusAxisId- }), /*#__PURE__*/ B.createElement(u0, { legendPayload: nIe(t) }), /*#__PURE__*/ B.createElement(rIe, {+ }), /*#__PURE__*/ B.createElement(R0, { legendPayload: FIe(t) }), /*#__PURE__*/ B.createElement(IIe, {dataKey: t.dataKey,stroke: t.stroke,strokeWidth: t.strokeWidth,@@ -65895,33 +67328,33 @@ function I0(e) {hide: t.hide,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ B.createElement(fIe, j0({}, t, { id: e }))));+ }), /*#__PURE__*/ B.createElement(GIe, a2({}, t, { id: e }))));}-I0.displayName = "Radar";+u2.displayName = "Radar";//#endregion//#region node_modules/recharts/es6/util/RadialBarUtils.js-function L0() {- return L0 = Object.assign ? Object.assign.bind() : function(e) {+function d2() {+ return d2 = 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;- }, L0.apply(null, arguments);+ }, d2.apply(null, arguments);}-function R0(e) {+function f2(e) {return typeof e == "string" ? parseInt(e, 10) : e;}-function z0(e) {- return /*#__PURE__*/ B.createElement(i0, L0({ shapeType: "sector" }, e));+function p2(e) {+ return /*#__PURE__*/ B.createElement(M0, d2({ shapeType: "sector" }, e));}//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js-var B0 = (e, t, n) => {+var m2 = (e, t, n) => {var r = n ?? e;- if (!aB(r)) return tB(r, t, 0);-}, V0 = (e, t, n) => {- var r = {}, i = e.filter(tq), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {+ if (!AB(r)) return EB(r, t, 0);+}, h2 = (e, t, n) => {+ var r = {}, i = e.filter(kq), 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) => {@@ -65929,18 +67362,18 @@ var B0 = (e, t, n) => {return {stackId: r,dataKeys: i.map((e) => e.dataKey),- barSize: B0(t, n, i[0]?.barSize)+ barSize: m2(t, n, i[0]?.barSize)};}), c = a.map((e) => ({stackId: void 0,dataKeys: [e.dataKey].filter((e) => e != null),- barSize: B0(t, n, e.barSize)+ barSize: m2(t, n, e.barSize)}));return [...s, ...c];};//#endregion//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js-function H0(e, t) {+function g2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -65950,30 +67383,30 @@ function H0(e, t) {}return n;}-function U0(e) {+function _2(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) {- pIe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H0(Object(n)).forEach(function(t) {+ t % 2 ? g2(Object(n), !0).forEach(function(t) {+ KIe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function pIe(e, t, n) {- return (t = mIe(t)) in e ? Object.defineProperty(e, t, {+function KIe(e, t, n) {+ return (t = qIe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function mIe(e) {- var t = hIe(e, "string");+function qIe(e) {+ var t = JIe(e, "string");return typeof t == "symbol" ? t : t + "";}-function hIe(e, t) {+function JIe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -65983,11 +67416,11 @@ function hIe(e, t) {}return (t === "string" ? String : Number)(e);}-function gIe(e, t, n, r, i) {+function YIe(e, t, n, r, i) {var a = r.length;if (!(a < 1)) {- var o = tB(e, n, 0, !0), s, c = [];- if (aU(r[0]?.barSize)) {+ var o = EB(e, n, 0, !0), s, c = [];+ if (NU(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 = {@@ -66006,11 +67439,11 @@ function gIe(e, t, n, r, i) {return f = n.position, r;}, c);} else {- var p = tB(t, n, 0, !0);+ var p = EB(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 = aU(i) ? Math.min(m, i) : m;+ var h = NU(i) ? Math.min(m, i) : m;s = r.reduce((e, t, n) => [...e, {stackId: t.stackId,dataKeys: t.dataKeys,@@ -66023,11 +67456,11 @@ function gIe(e, t, n, r, i) {return s;}}-var W0 = (e, t, n, r, i, a, o) => {- var s = aB(o) ? t : o, c = gIe(n, r, i === a ? a : i, e, s);- return i !== a && c != null && (c = c.map((e) => U0(U0({}, e), {}, { position: U0(U0({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;-}, G0 = (e, t) => {- var n = $K(t);+var v2 = (e, t, n, r, i, a, o) => {+ var s = AB(o) ? t : o, c = YIe(n, r, i === a ? a : i, e, s);+ return i !== a && c != null && (c = c.map((e) => _2(_2({}, e), {}, { position: _2(_2({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;+}, y2 = (e, t) => {+ var n = Dq(t);if (!(!e || n == null || t == null)) {var { stackId: r } = t;if (r != null) {@@ -66038,7 +67471,7 @@ var W0 = (e, t, n, r, i, a, o) => {}}}-}, K0 = (e, t) => {+}, b2 = (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;@@ -66046,7 +67479,7 @@ var W0 = (e, t, n, r, i, a, o) => {};//#endregion//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js-function q0(e, t) {+function x2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -66056,30 +67489,30 @@ function q0(e, t) {}return n;}-function J0(e) {+function S2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? q0(Object(n), !0).forEach(function(t) {- _Ie(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q0(Object(n)).forEach(function(t) {+ t % 2 ? x2(Object(n), !0).forEach(function(t) {+ XIe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x2(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 = ZIe(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 ZIe(e) {+ var t = QIe(e, "string");return typeof t == "symbol" ? t : t + "";}-function yIe(e, t) {+function QIe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -66089,81 +67522,81 @@ function yIe(e, t) {}return (t === "string" ? String : Number)(e);}-var Y0 = $([(e, t) => UK(e, t), (e, t) => x1(e, "radiusAxis", t)], (e, t) => {- if (e != null && t != null) return J0(J0({}, e), {}, { scale: t });-}), X0 = (e, t) => MNe(e, "radiusAxis", t, !1), Z0 = $([(e, t, n) => HK(e, n), (e, t, n) => x1(e, "angleAxis", n)], (e, t) => {- if (e != null && t != null) return J0(J0({}, e), {}, { scale: t });-}), Q0 = (e, t, n) => C1(e, "angleAxis", n, !1), $0 = $([f1, (e, t, n, r) => r], (e, t) => {+var C2 = $([(e, t) => _q(e, t), (e, t) => Y1(e, "radiusAxis", t)], (e, t) => {+ if (e != null && t != null) return S2(S2({}, e), {}, { scale: t });+}), w2 = (e, t) => dPe(e, "radiusAxis", t, !1), T2 = $([(e, t, n) => gq(e, n), (e, t, n) => Y1(e, "angleAxis", n)], (e, t) => {+ if (e != null && t != null) return S2(S2({}, e), {}, { scale: t });+}), E2 = (e, t, n) => Z1(e, "angleAxis", n, !1), D2 = $([B1, (e, t, n, r) => r], (e, t) => {if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;-}), e2 = $([- XU,- Y0,- X0,- Z0,- Q0-], (e, t, n, r, i) => uU(e, "radiusAxis") ? bU(t, n, !1) : bU(r, i, !1)), bIe = $([- Z0,- Y0,- XU+}), O2 = $([+ wW,+ C2,+ w2,+ T2,+ E2+], (e, t, n, r, i) => RU(e, "radiusAxis") ? JU(t, n, !1) : JU(r, i, !1)), $Ie = $([+ T2,+ C2,+ wW], (e, t, n) => {var r = n === "radial" ? e : t;- if (r != null && r.scale != null) return _U({ numericAxis: r });-}), xIe = (e, t, n, r, i) => i, SIe = (e, t, n, r, i) => n, CIe = (e, t, n, r, i) => t, t2 = (e, t, n, r, i) => r.maxBarSize, n2 = (e) => e.type === "radialBar", wIe = $([$([+ if (r != null && r.scale != null) return GU({ numericAxis: r });+}), eLe = (e, t, n, r, i) => i, tLe = (e, t, n, r, i) => n, nLe = (e, t, n, r, i) => t, k2 = (e, t, n, r, i) => r.maxBarSize, A2 = (e) => e.type === "radialBar", rLe = $([$([$([$([- XU,- f1,- SIe,- CIe- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(n2)),- EK,+ wW,+ B1,+ tLe,+ nLe+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(A2)),+ eq,() => void 0- ], V0),- CK,- wK,- TK,+ ], h2),+ ZK,+ QK,+ $K,$([- XU,- CK,- Z0,- Q0,- Y0,- X0,- t2+ wW,+ ZK,+ T2,+ E2,+ C2,+ w2,+ k2], (e, t, n, r, i, a, o) => {- var s = aB(o) ? t : o;- return e === "centric" ? bU(n, r, !0) ?? s ?? 0 : bU(i, a, !0) ?? s ?? 0;+ var s = AB(o) ? t : o;+ return e === "centric" ? JU(n, r, !0) ?? s ?? 0 : JU(i, a, !0) ?? s ?? 0;}),- e2,- t2-], W0), $0], K0), r2 = $([p1], (e) => e.filter(n2).filter(tq)), i2 = $([+ O2,+ k2+], v2), D2], b2), j2 = $([V1], (e) => e.filter(A2).filter(kq)), M2 = $([$([- r2,- cK,- YX- ], eq),- r2,- DK,- OK-], ZX), TIe = $([- Z0,- Q0,- Y0,- X0,- sK,- $0,- e2,- XU,- bIe,- XK,- xIe,- wIe,- $([(e, t, n) => XU(e) === "centric" ? i2(e, "radiusAxis", t) : i2(e, "angleAxis", n), $0], G0)+ j2,+ IK,+ CZ+ ], Oq),+ j2,+ tq,+ nq+], TZ), iLe = $([+ T2,+ E2,+ C2,+ w2,+ FK,+ D2,+ O2,+ wW,+ $Ie,+ wq,+ eLe,+ rLe,+ $([(e, t, n) => wW(e) === "centric" ? M2(e, "radiusAxis", t) : M2(e, "angleAxis", n), D2], y2)], (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 HIe({+ return xLe({angleAxis: e,angleAxisTicks: t,bandSize: o,@@ -66184,7 +67617,7 @@ var Y0 = $([(e, t) => UK(e, t), (e, t) => x1(e, "radiusAxis", t)], (e, t) => {stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,startAngle: b});-}), EIe = $([cK, (e, t) => t], (e, t) => {+}), aLe = $([IK, (e, t) => t], (e, t) => {var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;if (n == null) return [];var a = n.slice(r, i + 1);@@ -66197,31 +67630,31 @@ var Y0 = $([(e, t) => UK(e, t), (e, t) => x1(e, "radiusAxis", t)], (e, t) => {});//#endregion//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js-function a2(e, t) {- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && aU(e.zIndex) ? e.zIndex : t;+function N2(e, t) {+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && NU(e.zIndex) ? e.zIndex : t;}//#endregion//#region node_modules/recharts/es6/polar/RadialBar.js-var DIe = [+var oLe = ["shape","activeShape","cornerRadius","id"-], OIe = [+], sLe = ["onMouseEnter","onClick","onMouseLeave"-], kIe = ["value", "background"];-function o2() {- return o2 = Object.assign ? Object.assign.bind() : function(e) {+], cLe = ["value", "background"];+function P2() {+ return P2 = 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;- }, o2.apply(null, arguments);+ }, P2.apply(null, arguments);}-function s2(e, t) {+function F2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -66231,30 +67664,30 @@ function s2(e, t) {}return n;}-function c2(e) {+function I2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? s2(Object(n), !0).forEach(function(t) {- AIe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s2(Object(n)).forEach(function(t) {+ t % 2 ? F2(Object(n), !0).forEach(function(t) {+ lLe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function AIe(e, t, n) {- return (t = jIe(t)) in e ? Object.defineProperty(e, t, {+function lLe(e, t, n) {+ return (t = uLe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function jIe(e) {- var t = MIe(e, "string");+function uLe(e) {+ var t = dLe(e, "string");return typeof t == "symbol" ? t : t + "";}-function MIe(e, t) {+function dLe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -66264,16 +67697,16 @@ function MIe(e, t) {}return (t === "string" ? String : Number)(e);}-function l2(e, t) {+function L2(e, t) {if (e == null) return {};- var n, r, i = NIe(e, t);+ var n, r, i = fLe(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 NIe(e, t) {+function fLe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -66282,8 +67715,8 @@ function NIe(e, t) {}return n;}-var u2 = [];-function PIe(e) {+var R2 = [];+function pLe(e) {var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({value: e.value,payload: e.payload,@@ -66300,15 +67733,15 @@ function PIe(e) {},fill: e.fill}));- return /*#__PURE__*/ B.createElement(bNe, { value: t ? i : void 0 }, r);+ return /*#__PURE__*/ B.createElement($Ne, { value: t ? i : void 0 }, r);}-function FIe(e) {- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = l2(n, DIe), l = HR(c), u = Q(DQ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = l2(n, OIe), h = a0(d, n.dataKey, s), g = o0(p), _ = s0(f, n.dataKey, s);- return t == null ? null : /*#__PURE__*/ B.createElement(PIe, {+function mLe(e) {+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = L2(n, oLe), l = pz(c), u = Q(t$), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = L2(n, sLe), h = N0(d, n.dataKey, s), g = P0(p), _ = F0(f, n.dataKey, s);+ return t == null ? null : /*#__PURE__*/ B.createElement(pLe, {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 = c2(c2(c2(c2({}, l), {}, { cornerRadius: R0(o) }, e), gB(m, e, t)), {}, {+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = I2(I2(I2(I2({}, l), {}, { cornerRadius: f2(o) }, e), VB(m, e, t)), {}, {onMouseEnter: r,onMouseLeave: s,onClick: d,@@ -66319,19 +67752,19 @@ function FIe(e) {option: n ? a : i,index: t});- return n ? /*#__PURE__*/ B.createElement(JQ, {- zIndex: NK.activeBar,+ return n ? /*#__PURE__*/ B.createElement(S$, {+ zIndex: sq.activeBar,key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`- }, /*#__PURE__*/ B.createElement(z0, f)) : /*#__PURE__*/ B.createElement(z0, o2({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));- }), /*#__PURE__*/ B.createElement(a1, { label: n.label }), n.children);+ }, /*#__PURE__*/ B.createElement(p2, f)) : /*#__PURE__*/ B.createElement(p2, P2({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));+ }), /*#__PURE__*/ B.createElement(N1, { label: n.label }), n.children);}-function IIe(e) {- var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = zG(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, B.useState)(!1), m = (0, B.useCallback)(() => {+function hLe(e) {+ var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = pK(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(RG, {+ return /*#__PURE__*/ B.createElement(fK, {animationId: u,begin: a,duration: o,@@ -66341,37 +67774,37 @@ function IIe(e) {onAnimationEnd: m,key: u}, (e) => {- var i = e === 1 ? r : (r ?? u2).map((t, n) => {+ var i = e === 1 ? r : (r ?? R2).map((t, n) => {var r = d && d[n];- if (r) return c2(c2({}, t), {}, {- startAngle: rB(r.startAngle, t.startAngle, e),- endAngle: rB(r.endAngle, t.endAngle, e)+ if (r) return I2(I2({}, t), {}, {+ startAngle: OB(r.startAngle, t.startAngle, e),+ endAngle: OB(r.endAngle, t.endAngle, e)});var { endAngle: i, startAngle: a } = t;- return c2(c2({}, t), {}, { endAngle: rB(a, i, e) });+ return I2(I2({}, t), {}, { endAngle: OB(a, i, e) });});- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ B.createElement(FIe, {- sectors: i ?? u2,+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ B.createElement(mLe, {+ sectors: i ?? R2,allOtherRadialBarProps: t,showLabels: !f});});}-function LIe(e) {+function gLe(e) {var t = (0, B.useRef)(null);- return /*#__PURE__*/ B.createElement(IIe, {+ return /*#__PURE__*/ B.createElement(hLe, {props: e,previousSectorsRef: t});}-function RIe(e) {- var t = Q((t) => EIe(t, e.legendType));- return /*#__PURE__*/ B.createElement(u0, { legendPayload: t ?? [] });+function _Le(e) {+ var t = Q((t) => aLe(t, e.legendType));+ return /*#__PURE__*/ B.createElement(R0, { legendPayload: t ?? [] });}-var zIe = /*#__PURE__*/ B.memo((e) => {+var vLe = /*#__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: cB,+ getPosition: NB,settings: {graphicalItemId: l,stroke: r,@@ -66379,45 +67812,45 @@ var zIe = /*#__PURE__*/ B.memo((e) => {fill: s,nameKey: void 0,dataKey: t,- name: SU(a, t),+ name: XU(a, t),hide: o,type: c,color: s,unit: ""}};- return /*#__PURE__*/ B.createElement(c0, { tooltipEntrySettings: u });-}), BIe = class extends B.PureComponent {+ return /*#__PURE__*/ B.createElement(I0, { tooltipEntrySettings: u });+}), yLe = class extends B.PureComponent {renderBackground(e) {if (e == null) return null;- var { cornerRadius: t } = this.props, n = UR(this.props.background);- return /*#__PURE__*/ B.createElement(JQ, { zIndex: a2(this.props.background, NK.barBackground) }, e.map((e, r) => {- var { value: i, background: a } = e, o = l2(e, kIe);+ var { cornerRadius: t } = this.props, n = mz(this.props.background);+ return /*#__PURE__*/ B.createElement(S$, { zIndex: N2(this.props.background, sq.barBackground) }, e.map((e, r) => {+ var { value: i, background: a } = e, o = L2(e, cLe);if (!a) return null;- var s = c2(c2(c2(c2(c2({ cornerRadius: R0(t) }, o), {}, { fill: "#eee" }, a), n), gB(this.props, e, r)), {}, {+ var s = I2(I2(I2(I2(I2({ cornerRadius: f2(t) }, o), {}, { fill: "#eee" }, a), n), VB(this.props, e, r)), {}, {index: r,className: _h("recharts-radial-bar-background-sector", String(n?.className)),option: a,isActive: !1});- return /*#__PURE__*/ B.createElement(z0, o2({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));+ return /*#__PURE__*/ B.createElement(p2, P2({ 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(JQ, { zIndex: this.props.zIndex }, /*#__PURE__*/ B.createElement(JR, { className: i }, r && /*#__PURE__*/ B.createElement(JR, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ B.createElement(JR, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ B.createElement(LIe, this.props))));+ return /*#__PURE__*/ B.createElement(S$, { zIndex: this.props.zIndex }, /*#__PURE__*/ B.createElement(yz, { className: i }, r && /*#__PURE__*/ B.createElement(yz, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ B.createElement(yz, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ B.createElement(gLe, this.props))));}};-function VIe(e) {- var t = B.useMemo(() => J1(e.children, d$), [e.children]), n = B.useMemo(() => ({+function bLe(e) {+ var t = B.useMemo(() => S0(e.children, z$), [e.children]), n = B.useMemo(() => ({data: void 0,hide: !1,id: e.id,dataKey: e.dataKey,minPointSize: e.minPointSize,- stackId: mU(e.stackId),+ stackId: HU(e.stackId),maxBarSize: e.maxBarSize,barSize: e.barSize,type: "radialBar",@@ -66432,8 +67865,8 @@ function VIe(e) {e.barSize,e.angleAxisId,e.radiusAxisId- ]), r = Q((r) => TIe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? u2;- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(zIe, {+ ]), r = Q((r) => iLe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? R2;+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(vLe, {dataKey: e.dataKey,sectors: r,stroke: e.stroke,@@ -66443,9 +67876,9 @@ function VIe(e) {fill: e.fill,tooltipType: e.tooltipType,id: e.id- }), /*#__PURE__*/ B.createElement(BIe, o2({}, e, { sectors: r })));+ }), /*#__PURE__*/ B.createElement(yLe, P2({}, e, { sectors: r })));}-var d2 = {+var z2 = {angleAxisId: 0,animationBegin: 0,animationDuration: 1500,@@ -66460,14 +67893,14 @@ var d2 = {legendType: "rect",minPointSize: 0,radiusAxisId: 0,- zIndex: NK.bar+ zIndex: sq.bar};-function HIe(e) {+function xLe(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 ? u2 : (t ?? []).map((e, t) => {+ return g == null || l == null ? R2 : (t ?? []).map((e, t) => {var b, x, S, C, w, T;- if (n ? b = pU(n[r + t], i) : (b = lU(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 = gU({+ if (n ? b = VU(n[r + t], i) : (b = LU(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 = WU({axis: c,ticks: l,bandSize: u,@@ -66478,7 +67911,7 @@ function HIe(e) {S = x + d.size;var E = w - C;if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {- var D = Xz(E || p) * (Math.abs(p) - Math.abs(E));+ var D = xB(E || p) * (Math.abs(p) - Math.abs(E));w += D;}T = { background: {@@ -66490,7 +67923,7 @@ function HIe(e) {endAngle: y} };}- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = gU({+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = WU({axis: f,ticks: g,bandSize: u,@@ -66501,11 +67934,11 @@ function HIe(e) {w = C + d.size;var O = S - x;if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {- var k = Xz(O || p) * (Math.abs(p) - Math.abs(O));+ var k = xB(O || p) * (Math.abs(p) - Math.abs(O));S += k;}}- return c2(c2(c2({}, e), T), {}, {+ return I2(I2(I2({}, e), T), {}, {payload: e,value: n ? b : b[1],cx: m,@@ -66517,38 +67950,38 @@ function HIe(e) {}, _ && _[t] && _[t].props);});}-function f2(e) {- var t = vB(e, d2);- return /*#__PURE__*/ B.createElement(d0, {+function B2(e) {+ var t = UB(e, z2);+ return /*#__PURE__*/ B.createElement(z0, {id: t.id,type: "radialBar"- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(m0, {+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(H0, {type: "radialBar",id: e,data: void 0,dataKey: t.dataKey,- hide: t.hide ?? d2.hide,- angleAxisId: t.angleAxisId ?? d2.angleAxisId,- radiusAxisId: t.radiusAxisId ?? d2.radiusAxisId,- stackId: mU(t.stackId),+ hide: t.hide ?? z2.hide,+ angleAxisId: t.angleAxisId ?? z2.angleAxisId,+ radiusAxisId: t.radiusAxisId ?? z2.radiusAxisId,+ stackId: HU(t.stackId),barSize: t.barSize,minPointSize: t.minPointSize,maxBarSize: t.maxBarSize- }), /*#__PURE__*/ B.createElement(RIe, t), /*#__PURE__*/ B.createElement(VIe, o2({}, t, { id: e }))));+ }), /*#__PURE__*/ B.createElement(_Le, t), /*#__PURE__*/ B.createElement(bLe, P2({}, t, { id: e }))));}-f2.displayName = "RadialBar";+B2.displayName = "RadialBar";//#endregion//#region node_modules/recharts/es6/context/chartDataContext.js-var p2 = (e) => {- var { chartData: t } = e, n = GB(), r = MU();- return (0, B.useEffect)(() => r ? () => {} : (n(a$(t)), () => {- n(a$(void 0));+var V2 = (e) => {+ var { chartData: t } = e, n = yV(), r = oW();+ return (0, B.useEffect)(() => r ? () => {} : (n(N$(t)), () => {+ n(N$(void 0));}), [t,n,r]), null;-}, m2 = {+}, H2 = {x: 0,y: 0,width: 0,@@ -66559,13 +67992,13 @@ var p2 = (e) => {bottom: 0,left: 0}-}, h2 = AH({+}, U2 = iU({name: "brush",- initialState: m2,+ initialState: H2,reducers: { setBrushSettings(e, t) {- return t.payload == null ? m2 : t.payload;+ return t.payload == null ? H2 : t.payload;} }-}), { setBrushSettings: UIe } = h2.actions, WIe = h2.reducer, GIe = (e, t) => {+}), { setBrushSettings: SLe } = U2.actions, CLe = U2.reducer, wLe = (e, t) => {var { x: n, y: r } = e, { x: i, y: a } = t;return {x: Math.min(n, i),@@ -66573,9 +68006,9 @@ var p2 = (e) => {width: Math.abs(i - n),height: Math.abs(a - r)};-}, KIe = (e) => {+}, TLe = (e) => {var { x1: t, y1: n, x2: r, y2: i } = e;- return GIe({+ return wLe({x: t,y: n}, {@@ -66583,13 +68016,13 @@ var p2 = (e) => {y: i});};-function qIe(e) {+function ELe(e) {return (e % 180 + 180) % 180;}-var JIe = function(e) {- var { width: t, height: n } = e, r = qIe(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 DLe = function(e) {+ var { width: t, height: n } = e, r = ELe(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);-}, g2 = AH({+}, W2 = iU({name: "referenceElements",initialState: {dots: [],@@ -66601,35 +68034,35 @@ var JIe = function(e) {e.dots.push(t.payload);},removeDot: (e, t) => {- var n = _H(e).dots.findIndex((e) => e === t.payload);+ var n = GH(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 = _H(e).areas.findIndex((e) => e === t.payload);+ var n = GH(e).areas.findIndex((e) => e === t.payload);n !== -1 && e.areas.splice(n, 1);},addLine: (e, t) => {- e.lines.push(VW(t.payload));+ e.lines.push(hG(t.payload));},removeLine: (e, t) => {- var n = _H(e).lines.findIndex((e) => e === t.payload);+ var n = GH(e).lines.findIndex((e) => e === t.payload);n !== -1 && e.lines.splice(n, 1);}}-}), { addDot: YIe, removeDot: XIe, addArea: ZIe, removeArea: QIe, addLine: $Ie, removeLine: eLe } = g2.actions, tLe = g2.reducer, _2 = /*#__PURE__*/ (0, B.createContext)(void 0), nLe = (e) => {- var { children: t } = e, [n] = (0, B.useState)(`${eB("recharts")}-clip`), r = S0();+}), { addDot: OLe, removeDot: kLe, addArea: ALe, removeArea: jLe, addLine: MLe, removeLine: NLe } = W2.actions, PLe = W2.reducer, G2 = /*#__PURE__*/ (0, B.createContext)(void 0), FLe = (e) => {+ var { children: t } = e, [n] = (0, B.useState)(`${TB("recharts")}-clip`), r = X0();if (r == null) return null;var { x: i, y: a, width: o, height: s } = r;- return /*#__PURE__*/ B.createElement(_2.Provider, { value: n }, /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("clipPath", { id: n }, /*#__PURE__*/ B.createElement("rect", {+ return /*#__PURE__*/ B.createElement(G2.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);-}, rLe = () => (0, B.useContext)(_2), iLe = class {+}, ILe = () => (0, B.useContext)(G2), LLe = class {constructor(e) {var { x: t, y: n } = e;this.xAxisScale = t, this.yAxisScale = n;@@ -66655,7 +68088,7 @@ var JIe = function(e) {};//#endregion//#region node_modules/recharts/es6/cartesian/ReferenceLine.js-function v2(e, t) {+function K2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -66665,30 +68098,30 @@ function v2(e, t) {}return n;}-function y2(e) {+function q2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? v2(Object(n), !0).forEach(function(t) {- aLe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v2(Object(n)).forEach(function(t) {+ t % 2 ? K2(Object(n), !0).forEach(function(t) {+ RLe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function aLe(e, t, n) {- return (t = oLe(t)) in e ? Object.defineProperty(e, t, {+function RLe(e, t, n) {+ return (t = zLe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function oLe(e) {- var t = sLe(e, "string");+function zLe(e) {+ var t = BLe(e, "string");return typeof t == "symbol" ? t : t + "";}-function sLe(e, t) {+function BLe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -66698,27 +68131,27 @@ function sLe(e, t) {}return (t === "string" ? String : Number)(e);}-function b2() {- return b2 = Object.assign ? Object.assign.bind() : function(e) {+function J2() {+ return J2 = 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;- }, b2.apply(null, arguments);+ }, J2.apply(null, arguments);}-var cLe = (e, t) => {+var VLe = (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 (!aU(t.x1) || !aU(t.y1) || !aU(t.x2) || !aU(t.y2)) return null;- n = /*#__PURE__*/ B.createElement("line", b2({}, t, { className: "recharts-reference-line-line" }));+ if (!NU(t.x1) || !NU(t.y1) || !NU(t.x2) || !NU(t.y2)) return null;+ n = /*#__PURE__*/ B.createElement("line", J2({}, t, { className: "recharts-reference-line-line" }));}return n;-}, lLe = (e, t, n, r, i, a) => {+}, HLe = (e, t, n, r, i, a) => {var { x: o, width: s } = a, c = i.map(e, { position: n });- if (!aU(c) || t === "discard" && !i.isInRange(c)) return null;+ if (!NU(c) || t === "discard" && !i.isInRange(c)) return null;var l = [{x: o + s,y: c@@ -66727,9 +68160,9 @@ var cLe = (e, t) => {y: c}];return r === "left" ? l.reverse() : l;-}, uLe = (e, t, n, r, i, a) => {+}, ULe = (e, t, n, r, i, a) => {var { y: o, height: s } = a, c = i.map(e, { position: n });- if (!aU(c) || t === "discard" && !i.isInRange(c)) return null;+ if (!NU(c) || t === "discard" && !i.isInRange(c)) return null;var l = [{x: c,y: o + s@@ -66738,7 +68171,7 @@ var cLe = (e, t) => {y: o}];return r === "top" ? l.reverse() : l;-}, dLe = (e, t, n, r) => {+}, WLe = (e, t, n, r) => {var i = [r.mapWithFallback(e[0], {position: n,fallback: "rangeMin"@@ -66747,43 +68180,43 @@ var cLe = (e, t) => {fallback: "rangeMax"})];return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;-}, fLe = (e, t, n, r, i, a, o) => {- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = $z(s);- return $z(c) ? lLe(c, u, r, a, t, n) : d ? uLe(s, u, r, i, e, n) : l != null && l.length === 2 ? dLe(l, u, r, new iLe({+}, GLe = (e, t, n, r, i, a, o) => {+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = wB(s);+ return wB(c) ? HLe(c, u, r, a, t, n) : d ? ULe(s, u, r, i, e, n) : l != null && l.length === 2 ? WLe(l, u, r, new LLe({x: e,y: t})) : null;};-function pLe(e) {- var t = GB();- return (0, B.useEffect)(() => (t($Ie(e)), () => {- t(eLe(e));+function KLe(e) {+ var t = yV();+ return (0, B.useEffect)(() => (t(MLe(e)), () => {+ t(NLe(e));})), null;}-function mLe(e) {- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = MU(), s = rLe(), c = Q((e) => EX(e, t)), l = Q((e) => kX(e, n)), u = Q((e) => EZ(e, "xAxis", t, o)), d = Q((e) => EZ(e, "yAxis", n, o)), f = KU();+function qLe(e) {+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = oW(), s = ILe(), c = Q((e) => eZ(e, t)), l = Q((e) => rZ(e, n)), u = Q((e) => eQ(e, "xAxis", t, o)), d = Q((e) => eQ(e, "yAxis", n, o)), f = bW();if (!s || !f || c == null || l == null || u == null || d == null) return null;- var p = fLe(u, d, f, e.position, c.orientation, l.orientation, e);+ var p = GLe(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 = y2(y2({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, WR(e)), {}, {+ var { x: g, y: _ } = m, { x: v, y } = h, b = q2(q2({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, hz(e)), {}, {x1: g,y1: _,x2: v,y2: y- }), x = KIe({+ }), x = TLe({x1: g,y1: _,x2: v,y2: y});- return /*#__PURE__*/ B.createElement(JQ, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(JR, { className: _h("recharts-reference-line", i) }, cLe(r, b), /*#__PURE__*/ B.createElement(W$, b2({}, x, {+ return /*#__PURE__*/ B.createElement(S$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(yz, { className: _h("recharts-reference-line", i) }, VLe(r, b), /*#__PURE__*/ B.createElement(v1, J2({}, x, {lowerWidth: x.width,upperWidth: x.width- }), /*#__PURE__*/ B.createElement(Q$, { label: e.label }), e.children)));+ }), /*#__PURE__*/ B.createElement(E1, { label: e.label }), e.children)));}-var hLe = {+var JLe = {ifOverflow: "discard",xAxisId: 0,yAxisId: 0,@@ -66793,23 +68226,23 @@ var hLe = {fillOpacity: 1,strokeWidth: 1,position: "middle",- zIndex: NK.line+ zIndex: sq.line};-function x2(e) {- var t = vB(e, hLe);- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(pLe, {+function Y2(e) {+ var t = UB(e, JLe);+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(KLe, {yAxisId: t.yAxisId,xAxisId: t.xAxisId,ifOverflow: t.ifOverflow,x: t.x,y: t.y,segment: t.segment- }), /*#__PURE__*/ B.createElement(mLe, t));+ }), /*#__PURE__*/ B.createElement(qLe, t));}-x2.displayName = "ReferenceLine";+Y2.displayName = "ReferenceLine";//#endregion//#region node_modules/recharts/es6/util/getEveryNth.js-function S2(e, t) {+function X2(e, t) {if (t < 1) return [];if (t === 1) return e;for (var n = [], r = 0; r < e.length; r += t) {@@ -66820,13 +68253,13 @@ function S2(e, t) {}//#endregion//#region node_modules/recharts/es6/util/TickUtils.js-function gLe(e, t, n) {- return JIe({+function YLe(e, t, n) {+ return DLe({width: e.width + t.width,height: e.height + t.height}, n);}-function _Le(e, t, n) {+function XLe(e, t, n) {var r = n === "width", { x: i, y: a, width: o, height: s } = e;return t === 1 ? {start: r ? i : a,@@ -66836,33 +68269,33 @@ function _Le(e, t, n) {end: r ? i : a};}-function C2(e, t, n, r, i) {+function Z2(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 vLe(e, t) {- return S2(e, t + 1);+function ZLe(e, t) {+ return X2(e, t + 1);}//#endregion//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js-function yLe(e, t, n, r, i) {+function QLe(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: S2(r, l) };- var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || C2(e, p, f, u, s);+ if (t === void 0) return { v: X2(r, l) };+ var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || Z2(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 bLe(e, t, n, r, i) {+function $Le(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 || C2(e, f, c, u, s);+ var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || Z2(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);@@ -66878,7 +68311,7 @@ function bLe(e, t, n, r, i) {}//#endregion//#region node_modules/recharts/es6/cartesian/getTicks.js-function w2(e, t) {+function Q2(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -66888,30 +68321,30 @@ function w2(e, t) {}return n;}-function T2(e) {+function $2(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? w2(Object(n), !0).forEach(function(t) {- xLe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w2(Object(n)).forEach(function(t) {+ t % 2 ? Q2(Object(n), !0).forEach(function(t) {+ eRe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q2(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function xLe(e, t, n) {- return (t = SLe(t)) in e ? Object.defineProperty(e, t, {+function eRe(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 SLe(e) {- var t = CLe(e, "string");+function tRe(e) {+ var t = nRe(e, "string");return typeof t == "symbol" ? t : t + "";}-function CLe(e, t) {+function nRe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -66921,26 +68354,26 @@ function CLe(e, t) {}return (t === "string" ? String : Number)(e);}-function wLe(e, t, n, r, i) {+function rRe(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 = T2(T2({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });- } else a[t] = l = T2(T2({}, l), {}, { tickCoord: l.coordinate });- l.tickCoord != null && C2(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = T2(T2({}, l), {}, { isShow: !0 }));+ a[t] = l = $2($2({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });+ } else a[t] = l = $2($2({}, l), {}, { tickCoord: l.coordinate });+ l.tickCoord != null && Z2(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = $2($2({}, l), {}, { isShow: !0 }));}, u = o - 1; u >= 0; u--) if (l(u)) continue;return a;}-function TLe(e, t, n, r, i, a) {+function iRe(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 = T2(T2({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && C2(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = T2(T2({}, u), {}, { isShow: !0 }));+ o[s - 1] = u = $2($2({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && Z2(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = $2($2({}, u), {}, { isShow: !0 }));}}for (var p = a ? s - 1 : s, m = function(t) {@@ -66949,17 +68382,17 @@ function TLe(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 = T2(T2({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });- } else o[t] = a = T2(T2({}, a), {}, { tickCoord: a.coordinate });- a.tickCoord != null && C2(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = T2(T2({}, a), {}, { isShow: !0 }));+ o[t] = a = $2($2({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });+ } else o[t] = a = $2($2({}, a), {}, { tickCoord: a.coordinate });+ a.tickCoord != null && Z2(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = $2($2({}, a), {}, { isShow: !0 }));}, h = 0; h < p; h++) if (m(h)) continue;return o;}-function E2(e, t, n) {+function e4(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) || oG.isSsr) return vLe(i, Z(c) ? c : 0) ?? [];- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? _$(u, {+ if (Z(c) || PG.isSsr) return ZLe(i, Z(c) ? c : 0) ?? [];+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? G$(u, {fontSize: t,letterSpacing: n}) : {@@ -66967,19 +68400,19 @@ function E2(e, t, n) {height: 0}, h = (e, r) => {var i = typeof l == "function" ? l(e.value, r) : e.value;- return p === "width" ? gLe(_$(i, {+ return p === "width" ? YLe(G$(i, {fontSize: t,letterSpacing: n- }), m, d) : _$(i, {+ }), m, d) : G$(i, {fontSize: t,letterSpacing: n})[p];- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? Xz(_.coordinate - g.coordinate) : 1, y = _Le(a, v, p);- return c === "equidistantPreserveStart" ? yLe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? bLe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? TLe(v, y, h, i, o, c === "preserveStartEnd") : wLe(v, y, h, i, o), f.filter((e) => e.isShow));+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? xB(_.coordinate - g.coordinate) : 1, y = XLe(a, v, p);+ return c === "equidistantPreserveStart" ? QLe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? $Le(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? iRe(v, y, h, i, o, c === "preserveStartEnd") : rRe(v, y, h, i, o), f.filter((e) => e.isShow));}//#endregion//#region node_modules/recharts/es6/util/YAxisUtils.js-var ELe = (e) => {+var aRe = (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) => {@@ -66992,7 +68425,7 @@ var ELe = (e) => {return Math.round(l);}return 0;-}, D2 = AH({+}, t4 = iU({name: "renderedTicks",initialState: {xAxis: {},@@ -67001,14 +68434,14 @@ var ELe = (e) => {reducers: {setRenderedTicks: (e, t) => {var { axisType: n, axisId: r, ticks: i } = t.payload;- e[n][r] = VW(i);+ e[n][r] = hG(i);},removeRenderedTicks: (e, t) => {var { axisType: n, axisId: r } = t.payload;delete e[n][r];}}-}), { setRenderedTicks: DLe, removeRenderedTicks: OLe } = D2.actions, kLe = D2.reducer, ALe = [+}), { setRenderedTicks: oRe, removeRenderedTicks: sRe } = t4.actions, cRe = t4.reducer, lRe = ["axisLine","width","height",@@ -67018,16 +68451,16 @@ var ELe = (e) => {"axisType","axisId"];-function jLe(e, t) {+function uRe(e, t) {if (e == null) return {};- var n, r, i = MLe(e, t);+ var n, r, i = dRe(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 dRe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -67036,16 +68469,16 @@ function MLe(e, t) {}return n;}-function O2() {- return O2 = Object.assign ? Object.assign.bind() : function(e) {+function n4() {+ return n4 = 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;- }, O2.apply(null, arguments);+ }, n4.apply(null, arguments);}-function k2(e, t) {+function r4(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -67055,30 +68488,30 @@ function k2(e, t) {}return n;}-function A2(e) {+function i4(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) {- NLe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k2(Object(n)).forEach(function(t) {+ t % 2 ? r4(Object(n), !0).forEach(function(t) {+ fRe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r4(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function NLe(e, t, n) {- return (t = PLe(t)) in e ? Object.defineProperty(e, t, {+function fRe(e, t, n) {+ return (t = pRe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function PLe(e) {- var t = FLe(e, "string");+function pRe(e) {+ var t = mRe(e, "string");return typeof t == "symbol" ? t : t + "";}-function FLe(e, t) {+function mRe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -67088,7 +68521,7 @@ function FLe(e, t) {}return (t === "string" ? String : Number)(e);}-var j2 = {+var a4 = {x: 0,y: 0,width: 0,@@ -67110,15 +68543,15 @@ var j2 = {tickSize: 6,tickMargin: 2,interval: "preserveEnd",- zIndex: NK.axis+ zIndex: sq.axis};-function ILe(e) {+function hRe(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 = A2(A2(A2({}, c), HR(s)), {}, { fill: "none" });+ var l = i4(i4(i4({}, c), pz(s)), {}, { fill: "none" });if (a === "top" || a === "bottom") {var u = +(a === "top" && !o || a === "bottom" && o);- l = A2(A2({}, l), {}, {+ l = i4(i4({}, l), {}, {x1: t,y1: n + u * i,x2: t + r,@@ -67126,16 +68559,16 @@ function ILe(e) {});} else {var d = +(a === "left" && !o || a === "right" && o);- l = A2(A2({}, l), {}, {+ l = i4(i4({}, l), {}, {x1: t + d * r,y1: n,x2: t + d * r,y2: n + i});}- return /*#__PURE__*/ B.createElement("line", O2({}, l, { className: _h("recharts-cartesian-axis-line", qz(s, "className")) }));+ return /*#__PURE__*/ B.createElement("line", n4({}, l, { className: _h("recharts-cartesian-axis-line", vB(s, "className")) }));}-function LLe(e, t, n, r, i, a, o, s, c) {+function gRe(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":@@ -67162,14 +68595,14 @@ function LLe(e, t, n, r, i, a, o, s, c) {}};}-function RLe(e, t) {+function _Re(e, t) {switch (e) {case "left": return t ? "start" : "end";case "right": return t ? "end" : "start";default: return "middle";}}-function zLe(e, t) {+function vRe(e, t) {switch (e) {case "left":case "right": return "middle";@@ -67177,19 +68610,19 @@ function zLe(e, t) {default: return t ? "end" : "start";}}-function BLe(e) {+function yRe(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, A2(A2({}, n), {}, { className: a }));- else if (typeof t == "function") i = t(A2(A2({}, n), {}, { className: a }));+ if (/*#__PURE__*/ B.isValidElement(t)) i = /*#__PURE__*/ B.cloneElement(t, i4(i4({}, n), {}, { className: a }));+ else if (typeof t == "function") i = t(i4(i4({}, n), {}, { className: a }));else {var o = "recharts-cartesian-axis-tick-value";- typeof t != "boolean" && (o = _h(o, M1(t))), i = /*#__PURE__*/ B.createElement(I$, O2({}, n, { className: o }), r);+ typeof t != "boolean" && (o = _h(o, o0(t))), i = /*#__PURE__*/ B.createElement(u1, n4({}, n, { className: o }), r);}return i;}-function VLe(e) {- var { ticks: t, axisType: n, axisId: r } = e, i = GB();- return (0, B.useEffect)(() => r == null || n == null ? cB : (i(DLe({+function bRe(e) {+ var { ticks: t, axisType: n, axisId: r } = e, i = yV();+ return (0, B.useEffect)(() => r == null || n == null ? NB : (i(oRe({ticks: t.map((e) => ({value: e.value,coordinate: e.coordinate,@@ -67199,7 +68632,7 @@ function VLe(e) {axisId: r,axisType: n})), () => {- i(OLe({+ i(sRe({axisId: r,axisType: n}));@@ -67210,17 +68643,17 @@ function VLe(e) {n]), null;}-var HLe = /*#__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 = E2(A2(A2({}, b), {}, { ticks: n }), v, y), T = HR(b), E = UR(r), D = A$(T.textAnchor) ? T.textAnchor : RLe(u, d), O = zLe(u, d), k = {};+var xRe = /*#__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 = e4(i4(i4({}, b), {}, { ticks: n }), v, y), T = pz(b), E = mz(r), D = i1(T.textAnchor) ? T.textAnchor : _Re(u, d), O = vRe(u, d), k = {};typeof i == "object" && (k = i);- var A = A2(A2({}, T), {}, { fill: "none" }, k), j = w.map((e) => A2({ entry: e }, LLe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {+ var A = i4(i4({}, T), {}, { fill: "none" }, k), j = w.map((e) => i4({ entry: e }, gRe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {var { entry: t, line: n } = e;- return /*#__PURE__*/ B.createElement(JR, {+ return /*#__PURE__*/ B.createElement(yz, {className: "recharts-cartesian-axis-tick",key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`- }, i && /*#__PURE__*/ B.createElement("line", O2({}, A, n, { className: _h("recharts-cartesian-axis-tick-line", qz(i, "className")) })));+ }, i && /*#__PURE__*/ B.createElement("line", n4({}, A, n, { className: _h("recharts-cartesian-axis-tick-line", vB(i, "className")) })));}), N = j.map((e, t) => {- var { entry: n, tick: i } = e, u = A2(A2({}, A2(A2(A2(A2({ verticalAnchor: O }, T), {}, {+ var { entry: n, tick: i } = e, u = i4(i4({}, i4(i4(i4(i4({ verticalAnchor: O }, T), {}, {textAnchor: D,stroke: "none",fill: a@@ -67231,26 +68664,26 @@ var HLe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {tickFormatter: o,padding: c}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);- return /*#__PURE__*/ B.createElement(JR, O2({+ return /*#__PURE__*/ B.createElement(yz, n4({className: "recharts-cartesian-axis-tick-label",key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`- }, gB(x, n, t)), r && /*#__PURE__*/ B.createElement(BLe, {+ }, VB(x, n, t)), r && /*#__PURE__*/ B.createElement(yRe, {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(VLe, {+ return /*#__PURE__*/ B.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ B.createElement(bRe, {ticks: w,axisId: C,axisType: S- }), N.length > 0 && /*#__PURE__*/ B.createElement(JQ, { zIndex: NK.label }, /*#__PURE__*/ B.createElement("g", {+ }), N.length > 0 && /*#__PURE__*/ B.createElement(S$, { zIndex: sq.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));-}), ULe = /*#__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 = jLe(e, ALe), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(""), h = (0, B.useRef)(null);- (0, B.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => ELe({+}), SRe = /*#__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 = uRe(e, lRe), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(""), h = (0, B.useRef)(null);+ (0, B.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => aRe({ticks: h.current,label: e.labelRef?.current,labelGapWithTick: 5,@@ -67268,7 +68701,7 @@ var HLe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {}}}, [d, p]);- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ B.createElement(JQ, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(JR, { className: _h("recharts-cartesian-axis", a) }, /*#__PURE__*/ B.createElement(ILe, {+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ B.createElement(S$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(yz, { className: _h("recharts-cartesian-axis", a) }, /*#__PURE__*/ B.createElement(hRe, {x: e.x,y: e.y,width: r,@@ -67276,8 +68709,8 @@ var HLe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {orientation: e.orientation,mirror: e.mirror,axisLine: n,- otherSvgProps: HR(e)- }), /*#__PURE__*/ B.createElement(HLe, {+ otherSvgProps: pz(e)+ }), /*#__PURE__*/ B.createElement(xRe, {ref: g,axisType: c,events: u,@@ -67301,32 +68734,32 @@ var HLe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {x: e.x,y: e.y,axisId: l- }), /*#__PURE__*/ B.createElement(W$, {+ }), /*#__PURE__*/ B.createElement(v1, {x: e.x,y: e.y,width: e.width,height: e.height,lowerWidth: e.width,upperWidth: e.width- }, /*#__PURE__*/ B.createElement(Q$, {+ }, /*#__PURE__*/ B.createElement(E1, {label: e.label,labelRef: e.labelRef}), e.children)));-}), M2 = /*#__PURE__*/ B.forwardRef((e, t) => {- var n = vB(e, j2);- return /*#__PURE__*/ B.createElement(ULe, O2({}, n, { ref: t }));+}), o4 = /*#__PURE__*/ B.forwardRef((e, t) => {+ var n = UB(e, a4);+ return /*#__PURE__*/ B.createElement(SRe, n4({}, n, { ref: t }));});-M2.displayName = "CartesianAxis";+o4.displayName = "CartesianAxis";//#endregion//#region node_modules/recharts/es6/cartesian/CartesianGrid.js-var WLe = [+var CRe = ["x1","y1","x2","y2","key"-], GLe = ["offset"], KLe = ["xAxisId", "yAxisId"], qLe = ["xAxisId", "yAxisId"];-function N2(e, t) {+], wRe = ["offset"], TRe = ["xAxisId", "yAxisId"], ERe = ["xAxisId", "yAxisId"];+function s4(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -67336,30 +68769,30 @@ function N2(e, t) {}return n;}-function P2(e) {+function c4(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) {- JLe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N2(Object(n)).forEach(function(t) {+ t % 2 ? s4(Object(n), !0).forEach(function(t) {+ DRe(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 JLe(e, t, n) {- return (t = YLe(t)) in e ? Object.defineProperty(e, t, {+function DRe(e, t, n) {+ return (t = ORe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function YLe(e) {- var t = XLe(e, "string");+function ORe(e) {+ var t = kRe(e, "string");return typeof t == "symbol" ? t : t + "";}-function XLe(e, t) {+function kRe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -67369,25 +68802,25 @@ function XLe(e, t) {}return (t === "string" ? String : Number)(e);}-function F2() {- return F2 = Object.assign ? Object.assign.bind() : function(e) {+function l4() {+ return l4 = 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;- }, F2.apply(null, arguments);+ }, l4.apply(null, arguments);}-function I2(e, t) {+function u4(e, t) {if (e == null) return {};- var n, r, i = ZLe(e, t);+ var n, r, i = ARe(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 ZLe(e, t) {+function ARe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -67396,7 +68829,7 @@ function ZLe(e, t) {}return n;}-var QLe = (e) => {+var jRe = (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;@@ -67412,13 +68845,13 @@ var QLe = (e) => {className: "recharts-cartesian-grid-bg"});};-function L2(e) {+function d4(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 = HR(I2(n, WLe)) ?? {}, { offset: u } = l, d = I2(l, GLe);- r = /*#__PURE__*/ B.createElement("line", F2({}, d, {+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = pz(u4(n, CRe)) ?? {}, { offset: u } = l, d = u4(l, wRe);+ r = /*#__PURE__*/ B.createElement("line", l4({}, d, {x1: i,y1: a,x2: o,@@ -67429,11 +68862,11 @@ function L2(e) {}return r;}-function $Le(e) {+function MRe(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 = I2(e, KLe), c = i.map((e, i) => {- var a = P2(P2({}, s), {}, {+ var { xAxisId: a, yAxisId: o } = e, s = u4(e, TRe), c = i.map((e, i) => {+ var a = c4(c4({}, s), {}, {x1: t,y1: e,x2: t + n,@@ -67441,7 +68874,7 @@ function $Le(e) {key: `line-${i}`,index: i});- return /*#__PURE__*/ B.createElement(L2, {+ return /*#__PURE__*/ B.createElement(d4, {key: `line-${i}`,option: r,lineItemProps: a@@ -67449,11 +68882,11 @@ function $Le(e) {});return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);}-function eRe(e) {+function NRe(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 = I2(e, qLe), c = i.map((e, i) => {- var a = P2(P2({}, s), {}, {+ var { xAxisId: a, yAxisId: o } = e, s = u4(e, ERe), c = i.map((e, i) => {+ var a = c4(c4({}, s), {}, {x1: e,y1: t,x2: e,@@ -67461,7 +68894,7 @@ function eRe(e) {key: `line-${i}`,index: i});- return /*#__PURE__*/ B.createElement(L2, {+ return /*#__PURE__*/ B.createElement(d4, {option: r,lineItemProps: a,key: `line-${i}`@@ -67469,7 +68902,7 @@ function eRe(e) {});return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);}-function tRe(e) {+function PRe(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);@@ -67492,7 +68925,7 @@ function tRe(e) {});return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);}-function nRe(e) {+function FRe(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);@@ -67515,10 +68948,10 @@ function nRe(e) {});return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);}-var rRe = (e, t) => {+var IRe = (e, t) => {var { xAxis: n, width: r, height: i, offset: a } = e;- return dU(E2(P2(P2(P2({}, j2), n), {}, {- ticks: fU(n, !0),+ return zU(e4(c4(c4(c4({}, a4), n), {}, {+ ticks: BU(n, !0),viewBox: {x: 0,y: 0,@@ -67526,10 +68959,10 @@ var rRe = (e, t) => {height: i}})), a.left, a.left + a.width, t);-}, iRe = (e, t) => {+}, LRe = (e, t) => {var { yAxis: n, width: r, height: i, offset: a } = e;- return dU(E2(P2(P2(P2({}, j2), n), {}, {- ticks: fU(n, !0),+ return zU(e4(c4(c4(c4({}, a4), n), {}, {+ ticks: BU(n, !0),viewBox: {x: 0,y: 0,@@ -67537,7 +68970,7 @@ var rRe = (e, t) => {height: i}})), a.top, a.top + a.height, t);-}, aRe = {+}, RRe = {horizontal: !0,vertical: !0,horizontalPoints: [],@@ -67549,36 +68982,36 @@ var rRe = (e, t) => {xAxisId: 0,yAxisId: 0,syncWithTicks: !1,- zIndex: NK.grid+ zIndex: sq.grid};-function R2(e) {- var t = JU(), n = YU(), r = qU(), i = P2(P2({}, vB(e, aRe)), {}, {+function f4(e) {+ var t = SW(), n = CW(), r = xW(), i = c4(c4({}, UB(e, RRe)), {}, {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 = MU(), h = Q((e) => IZ(e, "xAxis", a, m)), g = Q((e) => IZ(e, "yAxis", o, m));- if (!oU(l) || !oU(u) || !Z(s) || !Z(c)) return null;- var _ = i.verticalCoordinatesGenerator || rRe, v = i.horizontalCoordinatesGenerator || iRe, { 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 = oW(), h = Q((e) => uQ(e, "xAxis", a, m)), g = Q((e) => uQ(e, "yAxis", o, m));+ if (!PU(l) || !PU(u) || !Z(s) || !Z(c)) return null;+ var _ = i.verticalCoordinatesGenerator || IRe, v = i.horizontalCoordinatesGenerator || LRe, { horizontalPoints: y, verticalPoints: b } = i;if ((!y || !y.length) && typeof v == "function") {var x = f && f.length, S = v({- yAxis: g ? P2(P2({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,+ yAxis: g ? c4(c4({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,width: t ?? l,height: n ?? u,offset: r}, x ? !0 : d);- FU(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);+ lW(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 ? P2(P2({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,+ xAxis: h ? c4(c4({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,width: t ?? l,height: n ?? u,offset: r}, C ? !0 : d);- FU(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);+ lW(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);}- return /*#__PURE__*/ B.createElement(JQ, { zIndex: i.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ B.createElement(QLe, {+ return /*#__PURE__*/ B.createElement(S$, { zIndex: i.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ B.createElement(jRe, {fill: i.fill,fillOpacity: i.fillOpacity,x: i.x,@@ -67586,22 +69019,22 @@ function R2(e) {width: i.width,height: i.height,ry: i.ry- }), /*#__PURE__*/ B.createElement(tRe, F2({}, i, { horizontalPoints: y })), /*#__PURE__*/ B.createElement(nRe, F2({}, i, { verticalPoints: b })), /*#__PURE__*/ B.createElement($Le, F2({}, i, {+ }), /*#__PURE__*/ B.createElement(PRe, l4({}, i, { horizontalPoints: y })), /*#__PURE__*/ B.createElement(FRe, l4({}, i, { verticalPoints: b })), /*#__PURE__*/ B.createElement(MRe, l4({}, i, {offset: r,horizontalPoints: y,xAxis: h,yAxis: g- })), /*#__PURE__*/ B.createElement(eRe, F2({}, i, {+ })), /*#__PURE__*/ B.createElement(NRe, l4({}, i, {offset: r,verticalPoints: b,xAxis: h,yAxis: g}))));}-R2.displayName = "CartesianGrid";+f4.displayName = "CartesianGrid";//#endregion//#region node_modules/recharts/es6/state/errorBarSlice.js-var z2 = AH({+var p4 = iU({name: "errorBars",initialState: {},reducers: {@@ -67618,17 +69051,17 @@ var z2 = AH({e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));}}-}), { addErrorBar: oRe, replaceErrorBar: sRe, removeErrorBar: cRe } = z2.actions, lRe = z2.reducer, uRe = ["children"];-function dRe(e, t) {+}), { addErrorBar: zRe, replaceErrorBar: BRe, removeErrorBar: VRe } = p4.actions, HRe = p4.reducer, URe = ["children"];+function WRe(e, t) {if (e == null) return {};- var n, r, i = fRe(e, t);+ var n, r, i = GRe(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 fRe(e, t) {+function GRe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -67637,7 +69070,7 @@ function fRe(e, t) {}return n;}-var pRe = /*#__PURE__*/ (0, B.createContext)({+var KRe = /*#__PURE__*/ (0, B.createContext)({data: [],xAxisId: "xAxis-0",yAxisId: "yAxis-0",@@ -67648,22 +69081,22 @@ var pRe = /*#__PURE__*/ (0, B.createContext)({}),errorBarOffset: 0});-function B2(e) {- var { children: t } = e, n = dRe(e, uRe);- return /*#__PURE__*/ B.createElement(pRe.Provider, { value: n }, t);+function m4(e) {+ var { children: t } = e, n = WRe(e, URe);+ return /*#__PURE__*/ B.createElement(KRe.Provider, { value: n }, t);}//#endregion//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js-function V2(e, t) {- var n = Q((t) => EX(t, e)), r = Q((e) => kX(e, t)), i = n?.allowDataOverflow ?? wX.allowDataOverflow, a = r?.allowDataOverflow ?? DX.allowDataOverflow;+function h4(e, t) {+ var n = Q((t) => eZ(t, e)), r = Q((e) => rZ(e, t)), i = n?.allowDataOverflow ?? QX.allowDataOverflow, a = r?.allowDataOverflow ?? tZ.allowDataOverflow;return {needClip: i || a,needClipX: i,needClipY: a};}-function H2(e) {- var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = S0(), { needClipX: a, needClipY: o, needClip: s } = V2(t, n);+function g4(e) {+ var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = X0(), { needClipX: a, needClipY: o, needClip: s } = h4(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", {@@ -67675,30 +69108,30 @@ function H2(e) {}//#endregion//#region node_modules/recharts/es6/state/selectors/lineSelectors.js-var U2 = (e, t, n, r) => VZ(e, "xAxis", t, r), W2 = (e, t, n, r) => BZ(e, "xAxis", t, r), G2 = (e, t, n, r) => VZ(e, "yAxis", n, r), K2 = (e, t, n, r) => BZ(e, "yAxis", n, r), mRe = $([- XU,- U2,- G2,- W2,- K2-], (e, t, n, r, i) => uU(e, "xAxis") ? bU(t, r, !1) : bU(n, i, !1)), hRe = (e, t, n, r, i) => i;-function gRe(e) {+var _4 = (e, t, n, r) => hQ(e, "xAxis", t, r), v4 = (e, t, n, r) => mQ(e, "xAxis", t, r), y4 = (e, t, n, r) => hQ(e, "yAxis", n, r), b4 = (e, t, n, r) => mQ(e, "yAxis", n, r), qRe = $([+ wW,+ _4,+ y4,+ v4,+ b4+], (e, t, n, r, i) => RU(e, "xAxis") ? JU(t, r, !1) : JU(n, i, !1)), JRe = (e, t, n, r, i) => i;+function YRe(e) {return e.type === "line";}-var _Re = $([- XU,- U2,- G2,- W2,- K2,- $([FX, hRe], (e, t) => e.filter(gRe).find((e) => e.id === t)),- mRe,- lK+var XRe = $([+ wW,+ _4,+ y4,+ v4,+ b4,+ $([lZ, JRe], (e, t) => e.filter(YRe).find((e) => e.id === t)),+ qRe,+ LK], (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 LRe({+ if (p != null) return gze({layout: e,xAxis: t,yAxis: n,@@ -67712,8 +69145,8 @@ var _Re = $([});//#endregion//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js-function q2(e) {- var t = UR(e), n = 3, r = 2;+function x4(e) {+ var t = mz(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), {@@ -67728,13 +69161,13 @@ function q2(e) {}//#endregion//#region node_modules/recharts/es6/cartesian/Line.js-var vRe = ["id"], yRe = [+var ZRe = ["id"], QRe = ["type","layout","connectNulls","needClip","shape"-], bRe = [+], $Re = ["activeDot","animateNewValues","animationBegin",@@ -67750,16 +69183,16 @@ var vRe = ["id"], yRe = ["yAxisId","id"];-function J2() {- return J2 = Object.assign ? Object.assign.bind() : function(e) {+function S4() {+ return S4 = 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;- }, J2.apply(null, arguments);+ }, S4.apply(null, arguments);}-function Y2(e, t) {+function C4(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -67769,30 +69202,30 @@ function Y2(e, t) {}return n;}-function X2(e) {+function w4(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) {- xRe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y2(Object(n)).forEach(function(t) {+ t % 2 ? C4(Object(n), !0).forEach(function(t) {+ eze(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C4(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function xRe(e, t, n) {- return (t = SRe(t)) in e ? Object.defineProperty(e, t, {+function eze(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 SRe(e) {- var t = CRe(e, "string");+function tze(e) {+ var t = nze(e, "string");return typeof t == "symbol" ? t : t + "";}-function CRe(e, t) {+function nze(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -67802,16 +69235,16 @@ function CRe(e, t) {}return (t === "string" ? String : Number)(e);}-function Z2(e, t) {+function T4(e, t) {if (e == null) return {};- var n, r, i = wRe(e, t);+ var n, r, i = rze(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 wRe(e, t) {+function rze(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -67820,27 +69253,27 @@ function wRe(e, t) {}return n;}-var TRe = (e) => {+var ize = (e) => {var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;return [{inactive: a,dataKey: t,type: i,color: r,- value: SU(n, t),+ value: XU(n, t),payload: e}];-}, ERe = /*#__PURE__*/ B.memo((e) => {+}, aze = /*#__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: cB,+ getPosition: NB,settings: {stroke: r,strokeWidth: i,fill: a,dataKey: t,nameKey: void 0,- name: SU(o, t),+ name: XU(o, t),hide: s,type: l,color: r,@@ -67848,15 +69281,15 @@ var TRe = (e) => {graphicalItemId: u}};- return /*#__PURE__*/ B.createElement(c0, { tooltipEntrySettings: d });-}), Q2 = (e, t) => `${t}px ${e}px`;-function DRe(e, t) {+ return /*#__PURE__*/ B.createElement(I0, { tooltipEntrySettings: d });+}), E4 = (e, t) => `${t}px ${e}px`;+function oze(e, t) {for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);return r;}-var ORe = (e, t, n) => {+var sze = (e, t, n) => {var r = n.reduce((e, t) => e + t, 0);- if (!r) return Q2(t, e);+ if (!r) return E4(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) {@@ -67866,14 +69299,14 @@ var ORe = (e, t, n) => {}var d = o.length % 2 == 0 ? [0, t] : [t];return [- ...DRe(n, i),+ ...oze(n, i),...o,...d].map((e) => `${e}px`).join(", ");};-function kRe(e) {- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = HR(Z2(r, vRe));- return /*#__PURE__*/ B.createElement(v0, {+function cze(e) {+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = pz(T4(r, ZRe));+ return /*#__PURE__*/ B.createElement(K0, {points: n,dot: i,className: "recharts-line-dots",@@ -67884,7 +69317,7 @@ function kRe(e) {clipPathId: t});}-function ARe(e) {+function lze(e) {var { showLabels: t, children: n, points: r } = e, i = (0, B.useMemo)(() => r?.map((e) => {var t = {x: e.x ?? 0,@@ -67894,7 +69327,7 @@ function ARe(e) {upperWidth: 0,height: 0};- return X2(X2({}, t), {}, {+ return w4(w4({}, t), {}, {value: e.value,payload: e.payload,viewBox: t,@@ -67902,10 +69335,10 @@ function ARe(e) {fill: void 0});}), [r]);- return /*#__PURE__*/ B.createElement(n1, { value: t ? i : void 0 }, n);+ return /*#__PURE__*/ B.createElement(A1, { value: t ? i : void 0 }, n);}-function $2(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 = X2(X2({}, WR(Z2(a, yRe))), {}, {+function D4(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 = w4(w4({}, hz(T4(a, QRe))), {}, {fill: "none",className: "recharts-line-curve",clipPath: l ? `url(#clipPath-${t})` : void 0,@@ -67915,34 +69348,34 @@ function $2(e) {connectNulls: c,strokeDasharray: i ?? a.strokeDasharray});- return /*#__PURE__*/ B.createElement(B.Fragment, null, r?.length > 1 && /*#__PURE__*/ B.createElement(i0, J2({+ return /*#__PURE__*/ B.createElement(B.Fragment, null, r?.length > 1 && /*#__PURE__*/ B.createElement(M0, S4({shapeType: "curve",option: u- }, d, { pathRef: n })), /*#__PURE__*/ B.createElement(kRe, {+ }, d, { pathRef: n })), /*#__PURE__*/ B.createElement(cze, {points: r,clipPathId: t,props: a}));}-function jRe(e) {+function uze(e) {try {return e && e.getTotalLength && e.getTotalLength() || 0;} catch {return 0;}}-function MRe(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 = zG(o, "recharts-line-"), y = (0, B.useRef)(v), [b, x] = (0, B.useState)(!1), S = !b, C = (0, B.useCallback)(() => {+function dze(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 = pK(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 = jRe(r.current), E = (0, B.useRef)(0);+ }, [g]), T = uze(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(ARe, {+ return /*#__PURE__*/ B.createElement(lze, {points: o,showLabels: S- }, n.children, /*#__PURE__*/ B.createElement(RG, {+ }, n.children, /*#__PURE__*/ B.createElement(fK, {animationId: v,begin: l,duration: u,@@ -67952,26 +69385,26 @@ function MRe(e) {onAnimationStart: w,key: v}, (e) => {- var l = rB(D, T + D, e), u = Math.min(l, T), d = c ? s ? ORe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : Q2(T, u) : s == null ? void 0 : String(s);+ var l = OB(D, T + D, e), u = Math.min(l, T), d = c ? s ? sze(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : E4(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 X2(X2({}, t), {}, {- x: rB(i.x, t.x, e),- y: rB(i.y, t.y, e)+ return w4(w4({}, t), {}, {+ x: OB(i.x, t.x, e),+ y: OB(i.y, t.y, e)});}- return f ? X2(X2({}, t), {}, {- x: rB(p * 2, t.x, e),- y: rB(m / 2, t.y, e)- }) : X2(X2({}, t), {}, {+ return f ? w4(w4({}, t), {}, {+ x: OB(p * 2, t.x, e),+ y: OB(m / 2, t.y, e)+ }) : w4(w4({}, t), {}, {x: t.x,y: t.y});});- return i.current = g, /*#__PURE__*/ B.createElement($2, {+ return i.current = g, /*#__PURE__*/ B.createElement(D4, {props: n,points: g,clipPathId: t,@@ -67979,18 +69412,18 @@ function MRe(e) {strokeDasharray: d});}- return /*#__PURE__*/ B.createElement($2, {+ return /*#__PURE__*/ B.createElement(D4, {props: n,points: o,clipPathId: t,pathRef: r,strokeDasharray: d});- }), /*#__PURE__*/ B.createElement(a1, { label: n.label }));+ }), /*#__PURE__*/ B.createElement(N1, { label: n.label }));}-function NRe(e) {+function fze(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(MRe, {+ return /*#__PURE__*/ B.createElement(dze, {props: n,clipPathId: t,previousPointsRef: r,@@ -67998,17 +69431,17 @@ function NRe(e) {pathRef: a});}-var PRe = (e, t) => ({+var pze = (e, t) => ({x: e.x ?? void 0,y: e.y ?? void 0,value: e.value,- errorVal: lU(e.payload, t)-}), FRe = class extends B.Component {+ errorVal: LU(e.payload, t)+}), mze = 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 } = q2(t), _ = Y1(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;- return /*#__PURE__*/ B.createElement(JQ, { zIndex: f }, /*#__PURE__*/ B.createElement(JR, { className: p }, d && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(H2, {+ var p = _h("recharts-line", r), m = u, { r: h, strokeWidth: g } = x4(t), _ = C0(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;+ return /*#__PURE__*/ B.createElement(S$, { zIndex: f }, /*#__PURE__*/ B.createElement(yz, { className: p }, d && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(g4, {clipPathId: m,xAxisId: i,yAxisId: a@@ -68017,16 +69450,16 @@ var PRe = (e, t) => ({y: o - v / 2,width: c + v,height: l + v- }))), /*#__PURE__*/ B.createElement(B2, {+ }))), /*#__PURE__*/ B.createElement(m4, {xAxisId: i,yAxisId: a,data: n,- dataPointFormatter: PRe,+ dataPointFormatter: pze,errorBarOffset: 0- }, /*#__PURE__*/ B.createElement(NRe, {+ }, /*#__PURE__*/ B.createElement(fze, {props: this.props,clipPathId: m- }))), /*#__PURE__*/ B.createElement(T0, {+ }))), /*#__PURE__*/ B.createElement($0, {activeDot: this.props.activeDot,points: n,mainColor: this.props.stroke,@@ -68034,7 +69467,7 @@ var PRe = (e, t) => ({clipPath: y}));}-}, e4 = {+}, O4 = {activeDot: !0,animateNewValues: !0,animationBegin: 0,@@ -68051,14 +69484,14 @@ var PRe = (e, t) => ({strokeWidth: 1,xAxisId: 0,yAxisId: 0,- zIndex: NK.line,+ zIndex: sq.line,type: "linear"};-function IRe(e) {- var t = vB(e, e4), { 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 = Z2(t, bRe), { needClip: _ } = V2(p, m), v = S0(), y = ZU(), b = MU(), x = Q((e) => _Re(e, p, m, b, h));+function hze(e) {+ var t = UB(e, O4), { 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 = T4(t, $Re), { needClip: _ } = h4(p, m), v = X0(), y = TW(), b = oW(), x = Q((e) => XRe(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(FRe, J2({}, g, {+ return /*#__PURE__*/ B.createElement(mze, S4({}, g, {id: h,connectNulls: s,dot: c,@@ -68082,23 +69515,23 @@ function IRe(e) {needClip: _}));}-function LRe(e) {+function gze(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 = lU(e, o);+ var l = LU(e, o);if (t === "horizontal") return {- x: hU({+ x: UU({axis: n,ticks: i,bandSize: s,entry: e,index: c}),- y: (aB(l) ? null : r.scale.map(l)) ?? null,+ y: (AB(l) ? null : r.scale.map(l)) ?? null,value: l,payload: e};- var u = aB(l) ? null : n.scale.map(l), d = hU({+ var u = AB(l) ? null : n.scale.map(l), d = UU({axis: r,ticks: a,bandSize: s,@@ -68113,12 +69546,12 @@ function LRe(e) {};}).filter(Boolean);}-function RRe(e) {- var t = vB(e, e4), n = MU();- return /*#__PURE__*/ B.createElement(d0, {+function _ze(e) {+ var t = UB(e, O4), n = oW();+ return /*#__PURE__*/ B.createElement(z0, {id: t.id,type: "line"- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(l0, { legendPayload: TRe(t) }), /*#__PURE__*/ B.createElement(ERe, {+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(L0, { legendPayload: ize(t) }), /*#__PURE__*/ B.createElement(aze, {dataKey: t.dataKey,data: t.data,stroke: t.stroke,@@ -68129,7 +69562,7 @@ function RRe(e) {unit: t.unit,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ B.createElement(p0, {+ }), /*#__PURE__*/ B.createElement(V0, {type: "line",id: e,data: t.data,@@ -68139,50 +69572,50 @@ function RRe(e) {dataKey: t.dataKey,hide: t.hide,isPanorama: n- }), /*#__PURE__*/ B.createElement(IRe, J2({}, t, { id: e }))));+ }), /*#__PURE__*/ B.createElement(hze, S4({}, t, { id: e }))));}-var t4 = /*#__PURE__*/ B.memo(RRe, YW);-t4.displayName = "Line";+var k4 = /*#__PURE__*/ B.memo(_ze, CG);+k4.displayName = "Line";//#endregion//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js-function n4(e, t) {+function A4(e, t) {return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.xAxisId ?? 0;}-function r4(e, t) {+function j4(e, t) {return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.yAxisId ?? 0;}//#endregion//#region node_modules/recharts/es6/state/selectors/areaSelectors.js-var i4 = (e, t, n) => VZ(e, "xAxis", n4(e, t), n), a4 = (e, t, n) => BZ(e, "xAxis", n4(e, t), n), o4 = (e, t, n) => VZ(e, "yAxis", r4(e, t), n), s4 = (e, t, n) => BZ(e, "yAxis", r4(e, t), n), zRe = $([- XU,- i4,- o4,- a4,- s4-], (e, t, n, r, i) => uU(e, "xAxis") ? bU(t, r, !1) : bU(n, i, !1)), c4 = $([FX, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), l4 = (e) => uU(XU(e), "xAxis") ? "yAxis" : "xAxis", BRe = (e, t) => l4(e) === "yAxis" ? r4(e, t) : n4(e, t), VRe = $([- XU,- i4,- o4,- a4,- s4,- $([c4, (e, t, n) => QX(e, l4(e), BRe(e, t), n)], (e, t) => {+var M4 = (e, t, n) => hQ(e, "xAxis", A4(e, t), n), N4 = (e, t, n) => mQ(e, "xAxis", A4(e, t), n), P4 = (e, t, n) => hQ(e, "yAxis", j4(e, t), n), F4 = (e, t, n) => mQ(e, "yAxis", j4(e, t), n), vze = $([+ wW,+ M4,+ P4,+ N4,+ F4+], (e, t, n, r, i) => RU(e, "xAxis") ? JU(t, r, !1) : JU(n, i, !1)), I4 = $([lZ, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), L4 = (e) => RU(wW(e), "xAxis") ? "yAxis" : "xAxis", yze = (e, t) => L4(e) === "yAxis" ? j4(e, t) : A4(e, t), bze = $([+ wW,+ M4,+ P4,+ N4,+ F4,+ $([I4, (e, t, n) => EZ(e, L4(e), yze(e, t), n)], (e, t) => {if (e != null && t != null) {- var { stackId: n } = e, r = $K(e);+ var { stackId: n } = e, r = Dq(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]]);}}}),- uK,- zRe,- c4,- aDe+ RK,+ vze,+ I4,+ RDe], (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 sze({+ if (m != null) return Bze({layout: e,xAxis: t,yAxis: n,@@ -68196,7 +69629,7 @@ var i4 = (e, t, n) => VZ(e, "xAxis", n4(e, t), n), a4 = (e, t, n) => BZ(e, "xAxibandSize: s});}-}), HRe = ["id"], URe = [+}), xze = ["id"], Sze = ["activeDot","animationBegin","animationDuration",@@ -68212,25 +69645,25 @@ var i4 = (e, t, n) => VZ(e, "xAxis", n4(e, t), n), a4 = (e, t, n) => BZ(e, "xAxi"xAxisId","yAxisId"];-function u4() {- return u4 = 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;- }, u4.apply(null, arguments);+ }, R4.apply(null, arguments);}-function d4(e, t) {+function z4(e, t) {if (e == null) return {};- var n, r, i = WRe(e, t);+ var n, r, i = Cze(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 WRe(e, t) {+function Cze(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -68239,7 +69672,7 @@ function WRe(e, t) {}return n;}-function f4(e, t) {+function B4(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -68249,30 +69682,30 @@ function f4(e, t) {}return n;}-function p4(e) {+function V4(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? f4(Object(n), !0).forEach(function(t) {- GRe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f4(Object(n)).forEach(function(t) {+ t % 2 ? B4(Object(n), !0).forEach(function(t) {+ wze(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B4(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function GRe(e, t, n) {- return (t = KRe(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 KRe(e) {- var t = qRe(e, "string");+function Tze(e) {+ var t = Eze(e, "string");return typeof t == "symbol" ? t : t + "";}-function qRe(e, t) {+function Eze(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -68282,42 +69715,42 @@ function qRe(e, t) {}return (t === "string" ? String : Number)(e);}-function m4(e, t) {+function H4(e, t) {return e && e !== "none" ? e : t;}-var JRe = (e) => {+var Dze = (e) => {var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;return [{inactive: o,dataKey: t,type: a,- color: m4(r, i),- value: SU(n, t),+ color: H4(r, i),+ value: XU(n, t),payload: e}];-}, YRe = /*#__PURE__*/ B.memo((e) => {+}, Oze = /*#__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: cB,+ getPosition: NB,settings: {stroke: r,strokeWidth: i,fill: a,dataKey: t,nameKey: void 0,- name: SU(o, t),+ name: XU(o, t),hide: s,type: l,- color: m4(r, a),+ color: H4(r, a),unit: c,graphicalItemId: u}};- return /*#__PURE__*/ B.createElement(c0, { tooltipEntrySettings: d });+ return /*#__PURE__*/ B.createElement(I0, { tooltipEntrySettings: d });});-function XRe(e) {- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = HR(r);- return /*#__PURE__*/ B.createElement(v0, {+function kze(e) {+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = pz(r);+ return /*#__PURE__*/ B.createElement(K0, {points: n,dot: a,className: "recharts-area-dots",@@ -68328,7 +69761,7 @@ function XRe(e) {clipPathId: t});}-function ZRe(e) {+function Aze(e) {var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {var t = {x: e.x ?? 0,@@ -68338,7 +69771,7 @@ function ZRe(e) {upperWidth: 0,height: 0};- return p4(p4({}, t), {}, {+ return V4(V4({}, t), {}, {value: e.value,payload: e.payload,parentViewBox: void 0,@@ -68346,11 +69779,11 @@ function ZRe(e) {fill: void 0});});- return /*#__PURE__*/ B.createElement(n1, { value: t ? i : void 0 }, n);+ return /*#__PURE__*/ B.createElement(A1, { value: t ? i : void 0 }, n);}-function h4(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 = d4(a, HRe), p = HR(f), m = WR(f);- return /*#__PURE__*/ B.createElement(B.Fragment, null, t?.length > 1 && /*#__PURE__*/ B.createElement(JR, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ B.createElement(bG, u4({}, m, {+function U4(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 = z4(a, xze), p = pz(f), m = hz(f);+ return /*#__PURE__*/ B.createElement(B.Fragment, null, t?.length > 1 && /*#__PURE__*/ B.createElement(yz, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ B.createElement(JG, R4({}, m, {id: d,points: t,connectNulls: l,@@ -68359,29 +69792,29 @@ function h4(e) {layout: o,stroke: "none",className: "recharts-area-area"- })), c !== "none" && /*#__PURE__*/ B.createElement(bG, u4({}, p, {+ })), c !== "none" && /*#__PURE__*/ B.createElement(JG, R4({}, p, {className: "recharts-area-curve",layout: o,type: s,connectNulls: l,fill: "none",points: t- })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ B.createElement(bG, u4({}, p, {+ })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ B.createElement(JG, R4({}, p, {className: "recharts-area-curve",layout: o,type: s,connectNulls: l,fill: "none",points: n- }))), /*#__PURE__*/ B.createElement(XRe, {+ }))), /*#__PURE__*/ B.createElement(kze, {points: t,props: f,clipPathId: i}));}-function QRe(e) {+function jze(e) {var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;- if (!aU(a) || !aU(o)) return null;+ if (!NU(a) || !NU(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,@@ -68390,9 +69823,9 @@ function QRe(e) {height: Math.floor(s)}) : null;}-function $Re(e) {+function Mze(e) {var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;- if (!aU(a) || !aU(o)) return null;+ if (!NU(a) || !NU(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,@@ -68401,35 +69834,35 @@ function $Re(e) {height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))}) : null;}-function eze(e) {+function Nze(e) {var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;- return n === "vertical" ? /*#__PURE__*/ B.createElement(QRe, {+ return n === "vertical" ? /*#__PURE__*/ B.createElement(jze, {alpha: t,points: r,baseLine: i,strokeWidth: a- }) : /*#__PURE__*/ B.createElement($Re, {+ }) : /*#__PURE__*/ B.createElement(Mze, {alpha: t,points: r,baseLine: i,strokeWidth: a});}-function tze(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 = zG((0, B.useMemo)(() => ({+function Pze(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 = pK((0, B.useMemo)(() => ({points: o,baseLine: s- }), [o, s]), "recharts-area-"), h = QU(), [g, _] = (0, B.useState)(!1), v = !g, y = (0, B.useCallback)(() => {+ }), [o, s]), "recharts-area-"), h = EW(), [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(ZRe, {+ return /*#__PURE__*/ B.createElement(Aze, {showLabels: v,points: o- }, r.children, /*#__PURE__*/ B.createElement(RG, {+ }, r.children, /*#__PURE__*/ B.createElement(fK, {animationId: m,begin: l,duration: u,@@ -68444,24 +69877,24 @@ function tze(e) {var r = Math.floor(n * l);if (x[r]) {var i = x[r];- return p4(p4({}, t), {}, {- x: rB(i.x, t.x, e),- y: rB(i.y, t.y, e)+ return V4(V4({}, t), {}, {+ x: OB(i.x, t.x, e),+ y: OB(i.y, t.y, e)});}return t;- }), d = Z(s) ? rB(S, s, e) : aB(s) || Zz(s) ? rB(S, 0, e) : s.map((t, n) => {+ }), d = Z(s) ? OB(S, s, e) : AB(s) || SB(s) ? OB(S, 0, e) : s.map((t, n) => {var r = Math.floor(n * l);if (Array.isArray(S) && S[r]) {var i = S[r];- return p4(p4({}, t), {}, {- x: rB(i.x, t.x, e),- y: rB(i.y, t.y, e)+ return V4(V4({}, t), {}, {+ x: OB(i.x, t.x, e),+ y: OB(i.y, t.y, e)});}return t;});- return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ B.createElement(h4, {+ return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ B.createElement(U4, {points: u,baseLine: d,needClip: t,@@ -68469,24 +69902,24 @@ function tze(e) {props: r});}- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ B.createElement(JR, null, c && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ B.createElement(eze, {+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ B.createElement(yz, null, c && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ B.createElement(Nze, {alpha: e,points: o,baseLine: s,layout: h,strokeWidth: r.strokeWidth- }))), /*#__PURE__*/ B.createElement(JR, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ B.createElement(h4, {+ }))), /*#__PURE__*/ B.createElement(yz, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ B.createElement(U4, {points: o,baseLine: s,needClip: t,clipPathId: n,props: r})));- }), /*#__PURE__*/ B.createElement(a1, { label: r.label }));+ }), /*#__PURE__*/ B.createElement(N1, { label: r.label }));}-function nze(e) {+function Fze(e) {var { needClip: t, clipPathId: n, props: r } = e, i = (0, B.useRef)(null), a = (0, B.useRef)();- return /*#__PURE__*/ B.createElement(tze, {+ return /*#__PURE__*/ B.createElement(Pze, {needClip: t,clipPathId: n,props: r,@@ -68494,12 +69927,12 @@ function nze(e) {previousBaselineRef: a});}-var rze = class extends B.PureComponent {+var Ize = 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: _ } = q2(t), v = Y1(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;- return /*#__PURE__*/ B.createElement(JQ, { zIndex: p }, /*#__PURE__*/ B.createElement(JR, { className: m }, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(H2, {+ var m = _h("recharts-area", r), h = d, { r: g, strokeWidth: _ } = x4(t), v = C0(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;+ return /*#__PURE__*/ B.createElement(S$, { zIndex: p }, /*#__PURE__*/ B.createElement(yz, { className: m }, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(g4, {clipPathId: h,xAxisId: s,yAxisId: c@@ -68508,25 +69941,25 @@ var rze = class extends B.PureComponent {y: i - y / 2,width: l + y,height: u + y- }))), /*#__PURE__*/ B.createElement(nze, {+ }))), /*#__PURE__*/ B.createElement(Fze, {needClip: o,clipPathId: h,props: this.props- })), /*#__PURE__*/ B.createElement(T0, {+ })), /*#__PURE__*/ B.createElement($0, {points: n,- mainColor: m4(this.props.stroke, this.props.fill),+ mainColor: H4(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(T0, {+ }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ B.createElement($0, {points: f,- mainColor: m4(this.props.stroke, this.props.fill),+ mainColor: H4(this.props.stroke, this.props.fill),itemDataKey: this.props.dataKey,activeDot: this.props.activeDot,clipPath: b}));}-}, ize = {+}, Lze = {activeDot: !0,animationBegin: 0,animationDuration: 1500,@@ -68544,13 +69977,13 @@ var rze = class extends B.PureComponent {label: !1,xAxisId: 0,yAxisId: 0,- zIndex: NK.area+ zIndex: sq.area};-function aze(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 = d4(e, URe), g = ZU(), _ = IQ(), { needClip: v } = V2(p, m), y = MU(), { points: b, isRange: x, baseLine: S } = Q((t) => VRe(t, e.id, y)) ?? {}, C = S0();+function Rze(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 = z4(e, Sze), g = TW(), _ = u$(), { needClip: v } = h4(p, m), y = oW(), { points: b, isRange: x, baseLine: S } = Q((t) => bze(t, e.id, y)) ?? {}, C = X0();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(rze, u4({}, h, {+ return !b || !b.length ? null : /*#__PURE__*/ B.createElement(Ize, R4({}, h, {activeDot: t,animationBegin: n,animationDuration: r,@@ -68576,7 +70009,7 @@ function aze(e) {yAxisId: m}));}-var oze = (e, t, n, r, i) => {+var zze = (e, t, n, r, i) => {var a = n ?? t;if (Z(a)) return a;var o = e === "horizontal" ? i : r, s = o.scale.domain();@@ -68586,17 +70019,17 @@ var oze = (e, t, n, r, i) => {}return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];};-function sze(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 = oze(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {+function Bze(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 = zze(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 = lU(e, r);+ var o = LU(e, r);Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];}- var l = a?.[1] ?? null, v = l == null || m && !t && lU(e, r) == null;+ var l = a?.[1] ?? null, v = l == null || m && !t && LU(e, r) == null;return g ? {- x: hU({+ x: UU({axis: s,ticks: d,bandSize: p,@@ -68608,7 +70041,7 @@ function sze(e) {payload: e} : {x: v ? null : s.scale.map(l) ?? null,- y: hU({+ y: UU({axis: c,ticks: f,bandSize: p,@@ -68636,12 +70069,12 @@ function sze(e) {isRange: _};}-function cze(e) {- var t = vB(e, ize), n = MU();- return /*#__PURE__*/ B.createElement(d0, {+function Vze(e) {+ var t = UB(e, Lze), n = oW();+ return /*#__PURE__*/ B.createElement(z0, {id: t.id,type: "area"- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(l0, { legendPayload: JRe(t) }), /*#__PURE__*/ B.createElement(YRe, {+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(L0, { legendPayload: Dze(t) }), /*#__PURE__*/ B.createElement(Oze, {dataKey: t.dataKey,data: t.data,stroke: t.stroke,@@ -68652,7 +70085,7 @@ function cze(e) {unit: t.unit,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ B.createElement(p0, {+ }), /*#__PURE__*/ B.createElement(V0, {type: "area",id: e,data: t.data,@@ -68660,115 +70093,115 @@ function cze(e) {xAxisId: t.xAxisId,yAxisId: t.yAxisId,zAxisId: 0,- stackId: mU(t.stackId),+ stackId: HU(t.stackId),hide: t.hide,barSize: void 0,baseValue: t.baseValue,isPanorama: n,connectNulls: t.connectNulls- }), /*#__PURE__*/ B.createElement(aze, u4({}, t, { id: e }))));+ }), /*#__PURE__*/ B.createElement(Rze, R4({}, t, { id: e }))));}-var g4 = /*#__PURE__*/ B.memo(cze, YW);-g4.displayName = "Area";+var W4 = /*#__PURE__*/ B.memo(Vze, CG);+W4.displayName = "Area";//#endregion//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js-var lze = "Invariant failed";-function uze(e, t) {- if (!e) throw Error(lze);+var Hze = "Invariant failed";+function Uze(e, t) {+ if (!e) throw Error(Hze);}//#endregion//#region node_modules/recharts/es6/util/BarUtils.js-function _4() {- return _4 = Object.assign ? Object.assign.bind() : function(e) {+function G4() {+ return G4 = 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;- }, _4.apply(null, arguments);+ }, G4.apply(null, arguments);}-function v4(e) {- return /*#__PURE__*/ B.createElement(i0, _4({+function K4(e) {+ return /*#__PURE__*/ B.createElement(M0, G4({shapeType: "rectangle",activeClassName: "recharts-active-bar",inActiveClassName: "recharts-inactive-bar"}, e));}-var dze = function(e) {+var Wze = 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) || aB(n);- return i ? e(n, r) : (!i && uze(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);- };-}, fze = (e, t, n) => n, y4 = $([FX, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), pze = $([y4], (e) => e?.maxBarSize), mze = (e, t, n, r) => r, hze = $([- XU,- FX,- n4,- r4,- fze-], (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")), gze = (e, t, n) => {- var r = XU(e), i = n4(e, t), a = r4(e, t);- if (i != null && a != null) return r === "horizontal" ? QX(e, "yAxis", a, n) : QX(e, "xAxis", i, n);-}, _ze = $([- hze,- EK,+ var i = Z(n) || AB(n);+ return i ? e(n, r) : (!i && Uze(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);+ };+}, Gze = (e, t, n) => n, q4 = $([lZ, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), Kze = $([q4], (e) => e?.maxBarSize), qze = (e, t, n, r) => r, Jze = $([+ wW,+ lZ,+ A4,+ j4,+ Gze+], (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")), Yze = (e, t, n) => {+ var r = wW(e), i = A4(e, t), a = j4(e, t);+ if (i != null && a != null) return r === "horizontal" ? EZ(e, "yAxis", a, n) : EZ(e, "xAxis", i, n);+}, Xze = $([+ Jze,+ eq,(e, t) => {- var n = XU(e), r = n4(e, t), i = r4(e, t);- if (r != null && i != null) return n === "horizontal" ? NZ(e, "xAxis", r) : NZ(e, "yAxis", i);+ var n = wW(e), r = A4(e, t), i = j4(e, t);+ if (r != null && i != null) return n === "horizontal" ? sQ(e, "xAxis", r) : sQ(e, "yAxis", i);}-], V0), vze = (e, t, n) => {- var r = y4(e, t);+], h2), Zze = (e, t, n) => {+ var r = q4(e, t);if (r == null) return 0;- var i = n4(e, t), a = r4(e, t);+ var i = A4(e, t), a = j4(e, t);if (i == null || a == null) return 0;- var o = XU(e), s = CK(e), { maxBarSize: c } = r, l = aB(c) ? s : c, u, d;- return o === "horizontal" ? (u = VZ(e, "xAxis", i, n), d = BZ(e, "xAxis", i, n)) : (u = VZ(e, "yAxis", a, n), d = BZ(e, "yAxis", a, n)), bU(u, d, !0) ?? l ?? 0;-}, b4 = (e, t, n) => {- var r = XU(e), i = n4(e, t), a = r4(e, t);+ var o = wW(e), s = ZK(e), { maxBarSize: c } = r, l = AB(c) ? s : c, u, d;+ return o === "horizontal" ? (u = hQ(e, "xAxis", i, n), d = mQ(e, "xAxis", i, n)) : (u = hQ(e, "yAxis", a, n), d = mQ(e, "yAxis", a, n)), JU(u, d, !0) ?? l ?? 0;+}, J4 = (e, t, n) => {+ var r = wW(e), i = A4(e, t), a = j4(e, t);if (i != null && a != null) {var o, s;- return r === "horizontal" ? (o = VZ(e, "xAxis", i, n), s = BZ(e, "xAxis", i, n)) : (o = VZ(e, "yAxis", a, n), s = BZ(e, "yAxis", a, n)), bU(o, s);+ return r === "horizontal" ? (o = hQ(e, "xAxis", i, n), s = mQ(e, "xAxis", i, n)) : (o = hQ(e, "yAxis", a, n), s = mQ(e, "yAxis", a, n)), JU(o, s);}-}, yze = $([- AU,- jU,+}, Qze = $([+ iW,+ aW,(e, t, n) => {- var r = n4(e, t);- if (r != null) return VZ(e, "xAxis", r, n);+ var r = A4(e, t);+ if (r != null) return hQ(e, "xAxis", r, n);},(e, t, n) => {- var r = r4(e, t);- if (r != null) return VZ(e, "yAxis", r, n);+ var r = j4(e, t);+ if (r != null) return hQ(e, "yAxis", r, n);},(e, t, n) => {- var r = n4(e, t);- if (r != null) return BZ(e, "xAxis", r, n);+ var r = A4(e, t);+ if (r != null) return mQ(e, "xAxis", r, n);},(e, t, n) => {- var r = r4(e, t);- if (r != null) return BZ(e, "yAxis", r, n);+ var r = j4(e, t);+ if (r != null) return mQ(e, "yAxis", r, n);},$([$([- _ze,- CK,- wK,- TK,- vze,- b4,- pze- ], W0), y4], K0),- XU,- uK,- b4,- $([gze, y4], G0),- y4,- mze+ Xze,+ ZK,+ QK,+ $K,+ Zze,+ J4,+ Kze+ ], v2), q4], b2),+ wW,+ RK,+ J4,+ $([Yze, q4], y2),+ q4,+ qze], (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 qze({+ if (_ != null) return EBe({layout: s,barSettings: d,pos: o,@@ -68785,26 +70218,26 @@ var dze = function(e) {dataStartIndex: m});}-}), bze = ["index"];-function x4() {- return x4 = Object.assign ? Object.assign.bind() : function(e) {+}), $ze = ["index"];+function Y4() {+ return Y4 = 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;- }, x4.apply(null, arguments);+ }, Y4.apply(null, arguments);}-function xze(e, t) {+function eBe(e, t) {if (e == null) return {};- var n, r, i = Sze(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 Sze(e, t) {+function tBe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -68813,45 +70246,45 @@ function Sze(e, t) {}return n;}-var S4 = /*#__PURE__*/ (0, B.createContext)(void 0), Cze = (e) => {- var t = (0, B.useContext)(S4);+var X4 = /*#__PURE__*/ (0, B.createContext)(void 0), nBe = (e) => {+ var t = (0, B.useContext)(X4);if (t != null) return t.stackId;- if (e != null) return mU(e);-}, wze = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, Tze = (e) => {- var t = (0, B.useContext)(S4);+ if (e != null) return HU(e);+}, rBe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, iBe = (e) => {+ var t = (0, B.useContext)(X4);if (t != null) {var { stackId: n } = t;- return `url(#${wze(n, e)})`;+ return `url(#${rBe(n, e)})`;}-}, C4 = (e) => {- var { index: t } = e, n = xze(e, bze), r = Tze(t);- return /*#__PURE__*/ B.createElement(JR, x4({+}, Z4 = (e) => {+ var { index: t } = e, n = eBe(e, $ze), r = iBe(t);+ return /*#__PURE__*/ B.createElement(yz, Y4({className: "recharts-bar-stack-layer",clipPath: r}, n));-}, Eze = [+}, aBe = ["onMouseEnter","onMouseLeave","onClick"-], Dze = [+], oBe = ["value","background","tooltipPosition"-], Oze = ["id"], kze = [+], sBe = ["id"], cBe = ["onMouseEnter","onClick","onMouseLeave"];-function w4() {- return w4 = 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;- }, w4.apply(null, arguments);+ }, Q4.apply(null, arguments);}-function T4(e, t) {+function $4(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -68861,30 +70294,30 @@ function T4(e, t) {}return n;}-function E4(e) {+function e3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? T4(Object(n), !0).forEach(function(t) {- Aze(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T4(Object(n)).forEach(function(t) {+ t % 2 ? $4(Object(n), !0).forEach(function(t) {+ lBe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $4(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function Aze(e, t, n) {- return (t = jze(t)) in e ? Object.defineProperty(e, t, {+function lBe(e, t, n) {+ return (t = uBe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function jze(e) {- var t = Mze(e, "string");+function uBe(e) {+ var t = dBe(e, "string");return typeof t == "symbol" ? t : t + "";}-function Mze(e, t) {+function dBe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -68894,16 +70327,16 @@ function Mze(e, t) {}return (t === "string" ? String : Number)(e);}-function D4(e, t) {+function t3(e, t) {if (e == null) return {};- var n, r, i = Nze(e, t);+ var n, r, i = fBe(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 Nze(e, t) {+function fBe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -68912,27 +70345,27 @@ function Nze(e, t) {}return n;}-var Pze = (e) => {+var pBe = (e) => {var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;return [{inactive: a,dataKey: t,type: i,color: r,- value: SU(n, t),+ value: XU(n, t),payload: e}];-}, Fze = /*#__PURE__*/ B.memo((e) => {+}, mBe = /*#__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: cB,+ getPosition: NB,settings: {stroke: n,strokeWidth: r,fill: i,dataKey: t,nameKey: void 0,- name: SU(a, t),+ name: XU(a, t),hide: o,type: c,color: i,@@ -68940,19 +70373,19 @@ var Pze = (e) => {graphicalItemId: l}};- return /*#__PURE__*/ B.createElement(c0, { tooltipEntrySettings: u });+ return /*#__PURE__*/ B.createElement(I0, { tooltipEntrySettings: u });});-function Ize(e) {- var t = Q(DQ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = D4(a, Eze), u = a0(o, r, a.id), d = o0(s), f = s0(c, r, a.id);+function hBe(e) {+ var t = Q(t$), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = t3(a, aBe), u = N0(o, r, a.id), d = P0(s), f = F0(c, r, a.id);if (!i || n == null) return null;- var p = UR(i);- return /*#__PURE__*/ B.createElement(JQ, { zIndex: a2(i, NK.barBackground) }, n.map((e, n) => {- var { value: a, background: o, tooltipPosition: s } = e, c = D4(e, Dze);+ var p = mz(i);+ return /*#__PURE__*/ B.createElement(S$, { zIndex: N2(i, sq.barBackground) }, n.map((e, n) => {+ var { value: a, background: o, tooltipPosition: s } = e, c = t3(e, oBe);if (!o) return null;- var m = u(e, n), h = d(e, n), g = f(e, n), _ = E4(E4(E4(E4(E4({+ var m = u(e, n), h = d(e, n), g = f(e, n), _ = e3(e3(e3(e3(e3({option: i,isActive: String(n) === t- }, c), {}, { fill: "#eee" }, o), p), gB(l, e, n)), {}, {+ }, c), {}, { fill: "#eee" }, o), p), VB(l, e, n)), {}, {onMouseEnter: m,onMouseLeave: h,onClick: g,@@ -68960,10 +70393,10 @@ function Ize(e) {index: n,className: "recharts-bar-background-rectangle"});- return /*#__PURE__*/ B.createElement(v4, w4({ key: `background-bar-${n}` }, _));+ return /*#__PURE__*/ B.createElement(K4, Q4({ key: `background-bar-${n}` }, _));}));}-function Lze(e) {+function gBe(e) {var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {var t = {x: e.x,@@ -68973,7 +70406,7 @@ function Lze(e) {upperWidth: e.width,height: e.height};- return E4(E4({}, t), {}, {+ return e3(e3({}, t), {}, {value: e.value,payload: e.payload,parentViewBox: e.parentViewBox,@@ -68981,10 +70414,10 @@ function Lze(e) {fill: e.fill});});- return /*#__PURE__*/ B.createElement(n1, { value: t ? i : void 0 }, n);+ return /*#__PURE__*/ B.createElement(A1, { value: t ? i : void 0 }, n);}-function Rze(e) {- var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(DQ), c = Q(kQ), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, B.useState)(!1), [f, p] = (0, B.useState)(!1);+function _Be(e) {+ var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(t$), c = Q(r$), 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(() => {@@ -68995,42 +70428,42 @@ function Rze(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(v4, w4({}, r, { name: String(r.name) }, i, {+ }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ B.createElement(K4, Q4({}, r, { name: String(r.name) }, i, {isActive: h,option: _,index: a,dataKey: o,onTransitionEnd: m}));- return g ? /*#__PURE__*/ B.createElement(JQ, { zIndex: NK.activeBar }, /*#__PURE__*/ B.createElement(C4, { index: i.originalDataIndex }, v)) : v;+ return g ? /*#__PURE__*/ B.createElement(S$, { zIndex: sq.activeBar }, /*#__PURE__*/ B.createElement(Z4, { index: i.originalDataIndex }, v)) : v;}-function zze(e) {+function vBe(e) {var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;- return /*#__PURE__*/ B.createElement(v4, w4({}, n, { name: String(n.name) }, r, {+ return /*#__PURE__*/ B.createElement(K4, Q4({}, n, { name: String(n.name) }, r, {isActive: !1,option: t,index: i,dataKey: a}));}-function Bze(e) {- var { data: t, props: n } = e, r = HR(n) ?? {}, { id: i } = r, a = D4(r, Oze), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = D4(n, kze), p = a0(l, s, i), m = o0(d), h = s0(u, s, i);- return t ? /*#__PURE__*/ B.createElement(B.Fragment, null, t.map((e, t) => /*#__PURE__*/ B.createElement(C4, w4({+function yBe(e) {+ var { data: t, props: n } = e, r = pz(n) ?? {}, { id: i } = r, a = t3(r, sBe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = t3(n, cBe), p = N0(l, s, i), m = P0(d), h = F0(u, s, i);+ return t ? /*#__PURE__*/ B.createElement(B.Fragment, null, t.map((e, t) => /*#__PURE__*/ B.createElement(Z4, Q4({index: e.originalDataIndex,key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,className: "recharts-bar-rectangle"- }, gB(f, e, t), {+ }, VB(f, e, t), {onMouseEnter: p(e, t),onMouseLeave: m(e, t),onClick: h(e, t)- }), c ? /*#__PURE__*/ B.createElement(Rze, {+ }), c ? /*#__PURE__*/ B.createElement(_Be, {shape: o,activeBar: c,baseProps: a,entry: e,index: t,dataKey: s- }) : /*#__PURE__*/ B.createElement(zze, {+ }) : /*#__PURE__*/ B.createElement(vBe, {shape: o,baseProps: a,entry: e,@@ -69038,16 +70471,16 @@ function Bze(e) {dataKey: s})))) : null;}-function Vze(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 = zG(t, "recharts-bar-"), [p, m] = (0, B.useState)(!1), h = !p, g = (0, B.useCallback)(() => {+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 = pK(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(Lze, {+ return /*#__PURE__*/ B.createElement(gBe, {showLabels: h,rects: r- }, /*#__PURE__*/ B.createElement(RG, {+ }, /*#__PURE__*/ B.createElement(fK, {animationId: f,begin: o,duration: s,@@ -69059,69 +70492,69 @@ function Vze(e) {}, (e) => {var a = e === 1 ? r : r?.map((t, n) => {var r = d && d[n];- if (r) return E4(E4({}, 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 (r) return e3(e3({}, t), {}, {+ x: OB(r.x, t.x, e),+ y: OB(r.y, t.y, e),+ width: OB(r.width, t.width, e),+ height: OB(r.height, t.height, e)});if (i === "horizontal") {- var a = rB(0, t.height, e), o = rB(t.stackedBarStart, t.y, e);- return E4(E4({}, t), {}, {+ var a = OB(0, t.height, e), o = OB(t.stackedBarStart, t.y, e);+ return e3(e3({}, t), {}, {y: o,height: a});}- var s = rB(0, t.width, e), c = rB(t.stackedBarStart, t.x, e);- return E4(E4({}, t), {}, {+ var s = OB(0, t.width, e), c = OB(t.stackedBarStart, t.x, e);+ return e3(e3({}, t), {}, {width: s,x: c});});- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ B.createElement(JR, null, /*#__PURE__*/ B.createElement(Bze, {+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ B.createElement(yz, null, /*#__PURE__*/ B.createElement(yBe, {props: t,data: a}));- }), /*#__PURE__*/ B.createElement(a1, { label: t.label }), t.children);+ }), /*#__PURE__*/ B.createElement(N1, { label: t.label }), t.children);}-function Hze(e) {+function xBe(e) {var t = (0, B.useRef)(null);- return /*#__PURE__*/ B.createElement(Vze, {+ return /*#__PURE__*/ B.createElement(bBe, {previousRectanglesRef: t,props: e});}-var O4 = 0, Uze = (e, t) => {+var n3 = 0, SBe = (e, t) => {var n = Array.isArray(e.value) ? e.value[1] : e.value;return {x: e.x,y: e.y,value: n,- errorVal: lU(e, t)+ errorVal: LU(e, t)};-}, Wze = class extends B.PureComponent {+}, CBe = 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(JR, {+ return /*#__PURE__*/ B.createElement(yz, {className: l,id: c- }, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(H2, {+ }, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(g4, {clipPathId: u,xAxisId: i,yAxisId: a- })), /*#__PURE__*/ B.createElement(JR, {+ })), /*#__PURE__*/ B.createElement(yz, {className: "recharts-bar-rectangles",clipPath: o ? `url(#clipPath-${u})` : void 0- }, /*#__PURE__*/ B.createElement(Ize, {+ }, /*#__PURE__*/ B.createElement(hBe, {data: t,dataKey: n,background: s,allOtherBarProps: this.props- }), /*#__PURE__*/ B.createElement(Hze, this.props)));+ }), /*#__PURE__*/ B.createElement(xBe, this.props)));}-}, Gze = {+}, wBe = {activeBar: !1,animationBegin: 0,animationDuration: 400,@@ -69131,22 +70564,22 @@ var O4 = 0, Uze = (e, t) => {isAnimationActive: "auto",label: !1,legendType: "rect",- minPointSize: O4,+ minPointSize: n3,xAxisId: 0,yAxisId: 0,- zIndex: NK.bar+ zIndex: sq.bar};-function Kze(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 } = V2(t, n), f = ZU(), p = MU(), m = J1(e.children, d$), h = Q((t) => yze(t, e.id, p, m));+function TBe(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 } = h4(t, n), f = TW(), p = oW(), m = S0(e.children, z$), h = Q((t) => Qze(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(B2, {+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ B.createElement(m4, {xAxisId: t,yAxisId: n,data: h,- dataPointFormatter: Uze,+ dataPointFormatter: SBe,errorBarOffset: g- }, /*#__PURE__*/ B.createElement(Wze, w4({}, e, {+ }, /*#__PURE__*/ B.createElement(CBe, Q4({}, e, {layout: f,needClip: d,data: h,@@ -69162,20 +70595,20 @@ function Kze(e) {isAnimationActive: u})));}-function qze(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);+function EBe(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 = GU({ 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;- _ = pU(E, v);- } else _ = lU(e, n), Array.isArray(_) || (_ = [y, _]);- var D = dze(r, O4)(_[1], f);+ _ = VU(E, v);+ } else _ = LU(e, n), Array.isArray(_) || (_ = [y, _]);+ var D = Wze(r, n3)(_[1], f);if (t === "horizontal") {var O = c.scale.map(_[0]), k = c.scale.map(_[1]);if (O == null || k == null) return null;- x = gU({+ x = WU({axis: s,ticks: l,bandSize: o,@@ -69184,19 +70617,19 @@ function qze(e) {index: f}), S = k ?? O ?? void 0, C = a.size;var A = O - k;- if (w = Zz(A) ? 0 : A, T = {+ if (w = SB(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 = Xz(w || D) * (Math.abs(D) - Math.abs(w));+ var j = xB(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 = gU({+ if (x = M, S = WU({axis: c,ticks: u,bandSize: o,@@ -69209,11 +70642,11 @@ function qze(e) {width: p.width,height: w}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {- var P = Xz(C || D) * (Math.abs(D) - Math.abs(C));+ var P = xB(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 : E4(E4({}, e), {}, {+ return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : e3(e3({}, e), {}, {stackedBarStart: b,x,y: S,@@ -69231,12 +70664,12 @@ function qze(e) {}, m && m[f] && m[f].props);}).filter(Boolean);}-function Jze(e) {- var t = vB(e, Gze), n = Cze(t.stackId), r = MU();- return /*#__PURE__*/ B.createElement(d0, {+function DBe(e) {+ var t = UB(e, wBe), n = nBe(t.stackId), r = oW();+ return /*#__PURE__*/ B.createElement(z0, {id: t.id,type: "bar"- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(l0, { legendPayload: Pze(t) }), /*#__PURE__*/ B.createElement(Fze, {+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(L0, { legendPayload: pBe(t) }), /*#__PURE__*/ B.createElement(mBe, {dataKey: t.dataKey,stroke: t.stroke,strokeWidth: t.strokeWidth,@@ -69246,7 +70679,7 @@ function Jze(e) {unit: t.unit,tooltipType: t.tooltipType,id: e- }), /*#__PURE__*/ B.createElement(p0, {+ }), /*#__PURE__*/ B.createElement(V0, {type: "bar",id: e,data: void 0,@@ -69261,23 +70694,23 @@ function Jze(e) {maxBarSize: t.maxBarSize,isPanorama: r,hasCustomShape: t.shape != null- }), /*#__PURE__*/ B.createElement(JQ, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(Kze, w4({}, t, { id: e })))));+ }), /*#__PURE__*/ B.createElement(S$, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(TBe, Q4({}, t, { id: e })))));}-var k4 = /*#__PURE__*/ B.memo(Jze, YW);-k4.displayName = "Bar";+var r3 = /*#__PURE__*/ B.memo(DBe, CG);+r3.displayName = "Bar";//#endregion//#region node_modules/recharts/es6/util/axisPropsAreEqual.js-var Yze = ["domain", "range"], Xze = ["domain", "range"];-function A4(e, t) {+var OBe = ["domain", "range"], kBe = ["domain", "range"];+function i3(e, t) {if (e == null) return {};- var n, r, i = Zze(e, t);+ var n, r, i = ABe(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 Zze(e, t) {+function ABe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -69286,31 +70719,31 @@ function Zze(e, t) {}return n;}-function j4(e, t) {+function a3(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 M4(e, t) {+function o3(e, t) {if (e === t) return !0;- var { domain: n, range: r } = e, i = A4(e, Yze), { domain: a, range: o } = t, s = A4(t, Xze);- return !j4(n, a) || !j4(r, o) ? !1 : YW(i, s);+ var { domain: n, range: r } = e, i = i3(e, OBe), { domain: a, range: o } = t, s = i3(t, kBe);+ return !a3(n, a) || !a3(r, o) ? !1 : CG(i, s);}//#endregion//#region node_modules/recharts/es6/cartesian/XAxis.js-var Qze = ["type"], $ze = [+var jBe = ["type"], MBe = ["dangerouslySetInnerHTML","ticks","scale"-], eBe = ["id", "scale"];-function N4() {- return N4 = Object.assign ? Object.assign.bind() : function(e) {+], NBe = ["id", "scale"];+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;- }, N4.apply(null, arguments);+ }, s3.apply(null, arguments);}-function P4(e, t) {+function c3(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -69320,30 +70753,30 @@ function P4(e, t) {}return n;}-function F4(e) {+function l3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? P4(Object(n), !0).forEach(function(t) {- tBe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P4(Object(n)).forEach(function(t) {+ t % 2 ? c3(Object(n), !0).forEach(function(t) {+ PBe(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 tBe(e, t, n) {- return (t = nBe(t)) in e ? Object.defineProperty(e, t, {+function PBe(e, t, n) {+ return (t = FBe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function nBe(e) {- var t = rBe(e, "string");+function FBe(e) {+ var t = IBe(e, "string");return typeof t == "symbol" ? t : t + "";}-function rBe(e, t) {+function IBe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -69353,16 +70786,16 @@ function rBe(e, t) {}return (t === "string" ? String : Number)(e);}-function I4(e, t) {+function u3(e, t) {if (e == null) return {};- var n, r, i = iBe(e, t);+ var n, r, i = LBe(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 iBe(e, t) {+function LBe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -69371,24 +70804,24 @@ function iBe(e, t) {}return n;}-function aBe(e) {- var t = GB(), n = (0, B.useRef)(null), r = QU(), { type: i } = e, a = I4(e, Qze), o = LK(r, "xAxis", i), s = (0, B.useMemo)(() => {- if (o != null) return F4(F4({}, a), {}, { type: o });+function RBe(e) {+ var t = yV(), n = (0, B.useRef)(null), r = EW(), { type: i } = e, a = u3(e, jBe), o = dq(r, "xAxis", i), s = (0, B.useMemo)(() => {+ if (o != null) return l3(l3({}, a), {}, { type: o });}, [a, o]);return (0, B.useLayoutEffect)(() => {- s != null && (n.current === null ? t(xFe(s)) : n.current !== s && t(SFe({+ s != null && (n.current === null ? t(eIe(s)) : n.current !== s && t(tIe({prev: n.current,next: s})), n.current = s);}, [s, t]), (0, B.useLayoutEffect)(() => () => {- n.current &&= (t(CFe(n.current)), null);+ n.current &&= (t(nIe(n.current)), null);}, [t]), null;}-var oBe = (e) => {- var { xAxisId: t, className: n } = e, r = Q(jU), i = MU(), a = "xAxis", o = Q((e) => RZ(e, a, t, i)), s = Q((e) => jZ(e, t)), c = Q((e) => DAe(e, t)), l = Q((e) => TX(e, t));+var zBe = (e) => {+ var { xAxisId: t, className: n } = e, r = Q(aW), i = oW(), a = "xAxis", o = Q((e) => fQ(e, a, t, i)), s = Q((e) => aQ(e, t)), c = Q((e) => oje(e, t)), l = Q((e) => $X(e, t));if (s == null || c == null || l == null) return null;- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = I4(e, $ze), { id: m, scale: h } = l, g = I4(l, eBe);- return /*#__PURE__*/ B.createElement(M2, N4({}, p, g, {+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = u3(e, MBe), { id: m, scale: h } = l, g = u3(l, NBe);+ return /*#__PURE__*/ B.createElement(o4, s3({}, p, g, {x: c.x,y: c.y,width: s.width,@@ -69399,33 +70832,33 @@ var oBe = (e) => {axisType: a,axisId: t}));-}, sBe = {- allowDataOverflow: wX.allowDataOverflow,- allowDecimals: wX.allowDecimals,- allowDuplicatedCategory: wX.allowDuplicatedCategory,- angle: wX.angle,- axisLine: j2.axisLine,- height: wX.height,+}, BBe = {+ allowDataOverflow: QX.allowDataOverflow,+ allowDecimals: QX.allowDecimals,+ allowDuplicatedCategory: QX.allowDuplicatedCategory,+ angle: QX.angle,+ axisLine: a4.axisLine,+ height: QX.height,hide: !1,- includeHidden: wX.includeHidden,- interval: wX.interval,+ includeHidden: QX.includeHidden,+ interval: QX.interval,label: !1,- minTickGap: wX.minTickGap,- mirror: wX.mirror,- orientation: wX.orientation,- padding: wX.padding,- reversed: wX.reversed,- scale: wX.scale,- tick: wX.tick,- tickCount: wX.tickCount,- tickLine: j2.tickLine,- tickSize: j2.tickSize,- type: wX.type,- niceTicks: wX.niceTicks,+ minTickGap: QX.minTickGap,+ mirror: QX.mirror,+ orientation: QX.orientation,+ padding: QX.padding,+ reversed: QX.reversed,+ scale: QX.scale,+ tick: QX.tick,+ tickCount: QX.tickCount,+ tickLine: a4.tickLine,+ tickSize: a4.tickSize,+ type: QX.type,+ niceTicks: QX.niceTicks,xAxisId: 0-}, L4 = /*#__PURE__*/ B.memo((e) => {- var t = vB(e, sBe);- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(aBe, {+}, d3 = /*#__PURE__*/ B.memo((e) => {+ var t = UB(e, BBe);+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(RBe, {allowDataOverflow: t.allowDataOverflow,allowDecimals: t.allowDecimals,allowDuplicatedCategory: t.allowDuplicatedCategory,@@ -69451,26 +70884,26 @@ var oBe = (e) => {type: t.type,unit: t.unit,niceTicks: t.niceTicks- }), /*#__PURE__*/ B.createElement(oBe, t));-}, M4);-L4.displayName = "XAxis";+ }), /*#__PURE__*/ B.createElement(zBe, t));+}, o3);+d3.displayName = "XAxis";//#endregion//#region node_modules/recharts/es6/cartesian/YAxis.js-var cBe = ["type"], lBe = [+var VBe = ["type"], HBe = ["dangerouslySetInnerHTML","ticks","scale"-], uBe = ["id", "scale"];-function R4() {- return R4 = Object.assign ? Object.assign.bind() : function(e) {+], UBe = ["id", "scale"];+function f3() {+ return f3 = 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;- }, R4.apply(null, arguments);+ }, f3.apply(null, arguments);}-function z4(e, t) {+function p3(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -69480,30 +70913,30 @@ function z4(e, t) {}return n;}-function B4(e) {+function m3(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? z4(Object(n), !0).forEach(function(t) {- dBe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z4(Object(n)).forEach(function(t) {+ t % 2 ? p3(Object(n), !0).forEach(function(t) {+ WBe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p3(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function dBe(e, t, n) {- return (t = fBe(t)) in e ? Object.defineProperty(e, t, {+function WBe(e, t, n) {+ return (t = GBe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function fBe(e) {- var t = pBe(e, "string");+function GBe(e) {+ var t = KBe(e, "string");return typeof t == "symbol" ? t : t + "";}-function pBe(e, t) {+function KBe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -69513,16 +70946,16 @@ function pBe(e, t) {}return (t === "string" ? String : Number)(e);}-function V4(e, t) {+function h3(e, t) {if (e == null) return {};- var n, r, i = mBe(e, t);+ var n, r, i = qBe(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 qBe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -69531,27 +70964,27 @@ function mBe(e, t) {}return n;}-function hBe(e) {- var t = GB(), n = (0, B.useRef)(null), r = QU(), { type: i } = e, a = V4(e, cBe), o = LK(r, "yAxis", i), s = (0, B.useMemo)(() => {- if (o != null) return B4(B4({}, a), {}, { type: o });+function JBe(e) {+ var t = yV(), n = (0, B.useRef)(null), r = EW(), { type: i } = e, a = h3(e, VBe), o = dq(r, "yAxis", i), s = (0, B.useMemo)(() => {+ if (o != null) return m3(m3({}, a), {}, { type: o });}, [o, a]);return (0, B.useLayoutEffect)(() => {- s != null && (n.current === null ? t(wFe(s)) : n.current !== s && t(TFe({+ s != null && (n.current === null ? t(rIe(s)) : n.current !== s && t(iIe({prev: n.current,next: s})), n.current = s);}, [s, t]), (0, B.useLayoutEffect)(() => () => {- n.current &&= (t(EFe(n.current)), null);+ n.current &&= (t(aIe(n.current)), null);}, [t]), null;}-function gBe(e) {- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = Q(jU), c = MU(), l = GB(), u = "yAxis", d = Q((e) => MZ(e, t)), f = Q((e) => OAe(e, t)), p = Q((e) => RZ(e, u, t, c)), m = Q((e) => OX(e, t));+function YBe(e) {+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = Q(aW), c = oW(), l = yV(), u = "yAxis", d = Q((e) => oQ(e, t)), f = Q((e) => sje(e, t)), p = Q((e) => fQ(e, u, t, c)), m = Q((e) => nZ(e, t));if ((0, B.useLayoutEffect)(() => {- if (!(r !== "auto" || !d || J$(i) || /*#__PURE__*/ (0, B.isValidElement)(i) || m == null)) {+ if (!(r !== "auto" || !d || S1(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(AFe({+ Math.round(d.width) !== Math.round(n) && l(lIe({id: t,width: n}));@@ -69566,8 +70999,8 @@ function gBe(e) {r,m]), d == null || f == null || m == null) return null;- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = V4(e, lBe), { id: y, scale: b } = m, x = V4(m, uBe);- return /*#__PURE__*/ B.createElement(M2, R4({}, v, x, {+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = h3(e, HBe), { id: y, scale: b } = m, x = h3(m, UBe);+ return /*#__PURE__*/ B.createElement(o4, f3({}, v, x, {ref: a,labelRef: o,x: f.x,@@ -69582,33 +71015,33 @@ function gBe(e) {axisId: t}));}-var _Be = {- allowDataOverflow: DX.allowDataOverflow,- allowDecimals: DX.allowDecimals,- allowDuplicatedCategory: DX.allowDuplicatedCategory,- angle: DX.angle,- axisLine: j2.axisLine,+var XBe = {+ allowDataOverflow: tZ.allowDataOverflow,+ allowDecimals: tZ.allowDecimals,+ allowDuplicatedCategory: tZ.allowDuplicatedCategory,+ angle: tZ.angle,+ axisLine: a4.axisLine,hide: !1,- includeHidden: DX.includeHidden,- interval: DX.interval,+ includeHidden: tZ.includeHidden,+ interval: tZ.interval,label: !1,- minTickGap: DX.minTickGap,- mirror: DX.mirror,- orientation: DX.orientation,- padding: DX.padding,- reversed: DX.reversed,- scale: DX.scale,- tick: DX.tick,- tickCount: DX.tickCount,- tickLine: j2.tickLine,- tickSize: j2.tickSize,- type: DX.type,- niceTicks: DX.niceTicks,- width: DX.width,+ minTickGap: tZ.minTickGap,+ mirror: tZ.mirror,+ orientation: tZ.orientation,+ padding: tZ.padding,+ reversed: tZ.reversed,+ scale: tZ.scale,+ tick: tZ.tick,+ tickCount: tZ.tickCount,+ tickLine: a4.tickLine,+ tickSize: a4.tickSize,+ type: tZ.type,+ niceTicks: tZ.niceTicks,+ width: tZ.width,yAxisId: 0-}, H4 = /*#__PURE__*/ B.memo((e) => {- var t = vB(e, _Be);- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(hBe, {+}, g3 = /*#__PURE__*/ B.memo((e) => {+ var t = UB(e, XBe);+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(JBe, {interval: t.interval,id: t.yAxisId,scale: t.scale,@@ -69634,27 +71067,27 @@ var _Be = {tick: t.tick,tickFormatter: t.tickFormatter,niceTicks: t.niceTicks- }), /*#__PURE__*/ B.createElement(gBe, t));-}, M4);-H4.displayName = "YAxis";-var U4 = $([+ }), /*#__PURE__*/ B.createElement(YBe, t));+}, o3);+g3.displayName = "YAxis";+var _3 = $([(e, t) => t,- XU,- XK,- iq,- bQ,- SQ,- wje,- AU-], jje);+ wW,+ wq,+ Mq,+ JQ,+ XQ,+ rMe,+ iW+], uMe);//#endregion//#region node_modules/recharts/es6/util/getRelativeCoordinate.js-function vBe(e) {+function ZBe(e) {return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";}-function W4(e) {+function v3(e) {var t = e.currentTarget.getBoundingClientRect(), n, r;- if (vBe(e)) {+ if (ZBe(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 {@@ -69669,55 +71102,55 @@ function W4(e) {}//#endregion//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js-var G4 = xH("mouseClick"), K4 = tU();-K4.startListening({- actionCreator: G4,+var y3 = YH("mouseClick"), b3 = kU();+b3.startListening({+ actionCreator: y3,effect: (e, t) => {- var n = e.payload, r = U4(t.getState(), W4(n));- r?.activeIndex != null && t.dispatch(RAe({+ var n = e.payload, r = _3(t.getState(), v3(n));+ r?.activeIndex != null && t.dispatch(_je({activeIndex: r.activeIndex,activeDataKey: void 0,activeCoordinate: r.activeCoordinate}));}});-var q4 = xH("mouseMove"), J4 = tU(), Y4 = null, X4 = null, Z4 = null;-J4.startListening({- actionCreator: q4,+var x3 = YH("mouseMove"), S3 = kU(), C3 = null, w3 = null, T3 = null;+S3.startListening({+ actionCreator: x3,effect: (e, t) => {var n = e.payload, { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i?.includes("mousemove");- Y4 !== null && (cancelAnimationFrame(Y4), Y4 = null), X4 !== null && (typeof r != "number" || !a) && (clearTimeout(X4), X4 = null), Z4 = W4(n);+ C3 !== null && (cancelAnimationFrame(C3), C3 = null), w3 !== null && (typeof r != "number" || !a) && (clearTimeout(w3), w3 = null), T3 = v3(n);var o = () => {- var e = t.getState(), n = GZ(e, e.tooltip.settings.shared);- if (!Z4) {- Y4 = null, X4 = null;+ var e = t.getState(), n = yQ(e, e.tooltip.settings.shared);+ if (!T3) {+ C3 = null, w3 = null;return;}if (n === "axis") {- var r = U4(e, Z4);- r?.activeIndex == null ? t.dispatch(XZ()) : t.dispatch(ZZ({+ var r = _3(e, T3);+ r?.activeIndex == null ? t.dispatch(wQ()) : t.dispatch(TQ({activeIndex: r.activeIndex,activeDataKey: void 0,activeCoordinate: r.activeCoordinate}));}- Y4 = null, X4 = null;+ C3 = null, w3 = null;};if (!a) {o();return;}- r === "raf" ? Y4 = requestAnimationFrame(o) : typeof r == "number" && X4 === null && (X4 = setTimeout(o, r));+ r === "raf" ? C3 = requestAnimationFrame(o) : typeof r == "number" && w3 === null && (w3 = setTimeout(o, r));}});//#endregion//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js-function yBe(e, t) {+function QBe(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 Q4 = {+var E3 = {accessibilityLayer: !0,barCategoryGap: "10%",barGap: 4,@@ -69729,70 +71162,70 @@ var Q4 = {syncMethod: "index",baseValue: void 0,reverseStackOrder: !1-}, $4 = AH({+}, D3 = iU({name: "rootProps",- initialState: Q4,+ initialState: E3,reducers: { updateOptions: (e, t) => {- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? Q4.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 ?? E3.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;} }-}), bBe = $4.reducer, { updateOptions: xBe } = $4.actions, e3 = AH({+}), $Be = D3.reducer, { updateOptions: eVe } = D3.actions, O3 = iU({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: SBe } = e3.actions, CBe = e3.reducer, t3 = xH("keyDown"), n3 = xH("focus"), r3 = xH("blur"), i3 = tU(), a3 = null, o3 = null, s3 = null;-i3.startListening({- actionCreator: t3,+}), { updatePolarOptions: tVe } = O3.actions, nVe = O3.reducer, k3 = YH("keyDown"), A3 = YH("focus"), j3 = YH("blur"), M3 = kU(), N3 = null, P3 = null, F3 = null;+M3.startListening({+ actionCreator: k3,effect: (e, t) => {- s3 = e.payload, a3 !== null && (cancelAnimationFrame(a3), a3 = null);+ F3 = e.payload, N3 !== null && (cancelAnimationFrame(N3), N3 = null);var { throttleDelay: n, throttledEvents: r } = t.getState().eventSettings, i = r === "all" || r.includes("keydown");- o3 !== null && (typeof n != "number" || !i) && (clearTimeout(o3), o3 = null);+ P3 !== null && (typeof n != "number" || !i) && (clearTimeout(P3), P3 = null);var a = () => {try {var e = t.getState();if (e.rootProps.accessibilityLayer === !1) return;- var { keyboardInteraction: n } = e.tooltip, r = s3;+ var { keyboardInteraction: n } = e.tooltip, r = F3;if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;- var i = rQ(n, mQ(e), XX(e), vQ(e)), a = i == null ? -1 : Number(i);+ var i = jQ(n, HQ(e), wZ(e), KQ(e)), a = i == null ? -1 : Number(i);if (!Number.isFinite(a) || a < 0) return;- var o = SQ(e);+ var o = XQ(e);if (r === "Enter") {- var s = UQ(e, "axis", "hover", String(n.index));- t.dispatch($Z({+ var s = _$(e, "axis", "hover", String(n.index));+ t.dispatch(DQ({active: !n.active,activeIndex: n.index,activeCoordinate: s}));return;}- var c = kAe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;+ var c = cje(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;if (o == null || l >= o.length || l < 0) return;- var u = UQ(e, "axis", "hover", String(l));- t.dispatch($Z({+ var u = _$(e, "axis", "hover", String(l));+ t.dispatch(DQ({active: !0,activeIndex: l.toString(),activeCoordinate: u}));} finally {- a3 = null, o3 = null;+ N3 = null, P3 = null;}};if (!i) {a();return;}- n === "raf" ? a3 = requestAnimationFrame(a) : typeof n == "number" && o3 === null && (a(), s3 = null, o3 = setTimeout(() => {- s3 ? a() : (o3 = null, a3 = null);+ n === "raf" ? N3 = requestAnimationFrame(a) : typeof n == "number" && P3 === null && (a(), F3 = null, P3 = setTimeout(() => {+ F3 ? a() : (P3 = null, N3 = null);}, n));}-}), i3.startListening({- actionCreator: n3,+}), M3.startListening({+ actionCreator: A3,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 = UQ(n, "axis", "hover", String(i));- t.dispatch($Z({+ var i = "0", a = _$(n, "axis", "hover", String(i));+ t.dispatch(DQ({active: !0,activeIndex: i,activeCoordinate: a@@ -69800,13 +71233,13 @@ i3.startListening({}}}-}), i3.startListening({- actionCreator: r3,+}), M3.startListening({+ actionCreator: j3,effect: (e, t) => {var n = t.getState();if (n.rootProps.accessibilityLayer !== !1) {var { keyboardInteraction: r } = n.tooltip;- r.active && t.dispatch($Z({+ r.active && t.dispatch(DQ({active: !1,activeIndex: r.index,activeCoordinate: r.coordinate@@ -69816,7 +71249,7 @@ i3.startListening({});//#endregion//#region node_modules/recharts/es6/util/createEventProxy.js-function c3(e) {+function I3(e) {e.persist();var { currentTarget: t } = e;return new Proxy(e, { get: (e, n) => {@@ -69827,36 +71260,36 @@ function c3(e) {}//#endregion//#region node_modules/recharts/es6/state/externalEventsMiddleware.js-var l3 = xH("externalEvent"), u3 = tU(), d3 = /* @__PURE__ */ new Map(), f3 = /* @__PURE__ */ new Map(), p3 = /* @__PURE__ */ new Map();-u3.startListening({- actionCreator: l3,+var L3 = YH("externalEvent"), R3 = kU(), z3 = /* @__PURE__ */ new Map(), B3 = /* @__PURE__ */ new Map(), V3 = /* @__PURE__ */ new Map();+R3.startListening({+ actionCreator: L3,effect: (e, t) => {var { handler: n, reactEvent: r } = e.payload;if (n != null) {- var i = r.type, a = c3(r);- p3.set(i, {+ var i = r.type, a = I3(r);+ V3.set(i, {handler: n,reactEvent: a});- var o = d3.get(i);- o !== void 0 && (cancelAnimationFrame(o), d3.delete(i));- var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = f3.get(i);- d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), f3.delete(i));+ var o = z3.get(i);+ o !== void 0 && (cancelAnimationFrame(o), z3.delete(i));+ var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = B3.get(i);+ d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), B3.delete(i));var f = () => {- var e = p3.get(i);+ var e = V3.get(i);try {if (!e) return;var { handler: n, reactEvent: r } = e, a = t.getState(), o = {- activeCoordinate: uje(a),- activeDataKey: kQ(a),- activeIndex: DQ(a),- activeLabel: OQ(a),- activeTooltipIndex: DQ(a),- isTooltipActive: dje(a)+ activeCoordinate: Uje(a),+ activeDataKey: r$(a),+ activeIndex: t$(a),+ activeLabel: n$(a),+ activeTooltipIndex: t$(a),+ isTooltipActive: Wje(a)};n && n(o, r);} finally {- d3.delete(i), f3.delete(i), p3.delete(i);+ z3.delete(i), B3.delete(i), V3.delete(i);}};if (!u) {@@ -69865,19 +71298,19 @@ u3.startListening({}if (s === "raf") {var p = requestAnimationFrame(f);- d3.set(i, p);+ z3.set(i, p);} else if (typeof s == "number") {- if (!f3.has(i)) {+ if (!B3.has(i)) {f();var m = setTimeout(f, s);- f3.set(i, m);+ B3.set(i, m);}} else f();}}});-var wBe = $([- $([sQ], (e) => e.tooltipItemPayloads),+var rVe = $([+ $([FQ], (e) => e.tooltipItemPayloads),(e, t) => t,(e, t, n) => n], (e, t, n) => {@@ -69888,65 +71321,65 @@ var wBe = $([if (i != null) return i(t);}}-}), m3 = xH("touchMove"), h3 = tU(), g3 = null, _3 = null, v3 = null, y3 = null;-h3.startListening({- actionCreator: m3,+}), H3 = YH("touchMove"), U3 = kU(), W3 = null, G3 = null, K3 = null, q3 = null;+U3.startListening({+ actionCreator: H3,effect: (e, t) => {var n = e.payload;if (n.touches != null && n.touches.length !== 0) {- y3 = c3(n);+ q3 = I3(n);var { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i.includes("touchmove");- g3 !== null && (cancelAnimationFrame(g3), g3 = null), _3 !== null && (typeof r != "number" || !a) && (clearTimeout(_3), _3 = null), v3 = Array.from(n.touches).map((e) => W4({+ W3 !== null && (cancelAnimationFrame(W3), W3 = null), G3 !== null && (typeof r != "number" || !a) && (clearTimeout(G3), G3 = null), K3 = Array.from(n.touches).map((e) => v3({clientX: e.clientX,clientY: e.clientY,currentTarget: n.currentTarget}));var o = () => {- if (y3 != null) {- var e = t.getState(), n = GZ(e, e.tooltip.settings.shared);+ if (q3 != null) {+ var e = t.getState(), n = yQ(e, e.tooltip.settings.shared);if (n === "axis") {- var r = v3?.[0];+ var r = K3?.[0];if (r == null) {- g3 = null, _3 = null;+ W3 = null, G3 = null;return;}- var i = U4(e, r);- i?.activeIndex != null && t.dispatch(ZZ({+ var i = _3(e, r);+ i?.activeIndex != null && t.dispatch(TQ({activeIndex: i.activeIndex,activeDataKey: void 0,activeCoordinate: i.activeCoordinate}));} else if (n === "item") {- var a = y3.touches[0];+ var a = q3.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(rwe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = pQ(e).find((e) => e.id === c);+ var s = o.getAttribute(Iwe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = VQ(e).find((e) => e.id === c);if (s == null || l == null || c == null) return;- var { dataKey: u } = l, d = wBe(e, s, c);- t.dispatch(YZ({+ var { dataKey: u } = l, d = rVe(e, s, c);+ t.dispatch(CQ({activeDataKey: u,activeIndex: s,activeCoordinate: d,activeGraphicalItemId: c}));}- g3 = null, _3 = null;+ W3 = null, G3 = null;}};if (!a) {o();return;}- r === "raf" ? g3 = requestAnimationFrame(o) : typeof r == "number" && _3 === null && (o(), y3 = null, _3 = setTimeout(() => {- y3 ? o() : (_3 = null, g3 = null);+ r === "raf" ? W3 = requestAnimationFrame(o) : typeof r == "number" && G3 === null && (o(), q3 = null, G3 = setTimeout(() => {+ q3 ? o() : (G3 = null, W3 = null);}, r));}}});//#endregion//#region node_modules/recharts/es6/state/eventSettingsSlice.js-var b3 = {+var J3 = {throttleDelay: "raf",throttledEvents: ["mousemove",@@ -69955,33 +71388,33 @@ var b3 = {"scroll","wheel"]-}, x3 = AH({+}, Y3 = iU({name: "eventSettings",- initialState: b3,+ initialState: J3,reducers: { setEventSettings: (e, t) => {- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = VW(t.payload.throttledEvents));+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = hG(t.payload.throttledEvents));} }-}), { setEventSettings: TBe } = x3.actions, EBe = x3.reducer, DBe = lV({- brush: WIe,- cartesianAxis: jFe,- chartData: iMe,- errorBars: lRe,- eventSettings: EBe,- graphicalItems: sFe,- layout: WCe,- legend: Hwe,- options: $je,- polarAxis: ZNe,- polarOptions: CBe,- referenceElements: tLe,- renderedTicks: kLe,- rootProps: bBe,- tooltip: zAe,- zIndex: Wje-}), OBe = function(e) {+}), { setEventSettings: iVe } = Y3.actions, aVe = Y3.reducer, oVe = LV({+ brush: CLe,+ cartesianAxis: uIe,+ chartData: LMe,+ errorBars: HRe,+ eventSettings: aVe,+ graphicalItems: BFe,+ layout: Cwe,+ legend: xTe,+ options: MMe,+ polarAxis: APe,+ polarOptions: nVe,+ referenceElements: PLe,+ renderedTicks: cRe,+ rootProps: $Be,+ tooltip: vje,+ zIndex: CMe+}), sVe = function(e) {var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";- return gCe({- reducer: DBe,+ return YCe({+ reducer: oVe,preloadedState: e,middleware: (e) => e({serializableCheck: !1,@@ -69991,40 +71424,40 @@ var b3 = {"production"].includes("es6")}).concat([- K4.middleware,- J4.middleware,- i3.middleware,- u3.middleware,- h3.middleware+ b3.middleware,+ S3.middleware,+ M3.middleware,+ R3.middleware,+ U3.middleware]),enhancers: (e) => {var t = e;- return typeof e == "function" && (t = e()), t.concat(OH({ type: "raf" }));+ return typeof e == "function" && (t = e()), t.concat(nU({ type: "raf" }));},- devTools: oG.devToolsEnabled && {- serialize: { replacer: yBe },+ devTools: PG.devToolsEnabled && {+ serialize: { replacer: QBe },name: `recharts-${t}`}});};//#endregion//#region node_modules/recharts/es6/state/RechartsStoreProvider.js-function S3(e) {- var { preloadedState: t, children: n, reduxStoreName: r } = e, i = MU(), a = (0, B.useRef)(null);+function X3(e) {+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = oW(), a = (0, B.useRef)(null);if (i) return n;- a.current ??= OBe(t, r);- var o = WB;- return /*#__PURE__*/ B.createElement(nTe, {+ a.current ??= sVe(t, r);+ var o = vV;+ return /*#__PURE__*/ B.createElement(FTe, {context: o,store: a.current}, n);}//#endregion//#region node_modules/recharts/es6/state/ReportMainChartProps.js-function kBe(e) {- var { layout: t, margin: n } = e, r = GB(), i = MU();+function cVe(e) {+ var { layout: t, margin: n } = e, r = yV(), i = oW();return (0, B.useEffect)(() => {- i || (r(VCe(t)), r(BCe(n)));+ i || (r(bwe(t)), r(ywe(n)));}, [r,i,@@ -70032,31 +71465,31 @@ function kBe(e) {n]), null;}-var C3 = /*#__PURE__*/ (0, B.memo)(kBe, YW);+var Z3 = /*#__PURE__*/ (0, B.memo)(cVe, CG);//#endregion//#region node_modules/recharts/es6/state/ReportChartProps.js-function w3(e) {- var t = GB();+function Q3(e) {+ var t = yV();return (0, B.useEffect)(() => {- t(xBe(e));+ t(eVe(e));}, [t, e]), null;}-var T3 = /*#__PURE__*/ (0, B.memo)((e) => {- var t = GB();+var $3 = /*#__PURE__*/ (0, B.memo)((e) => {+ var t = yV();return (0, B.useEffect)(() => {- t(TBe(e));+ t(iVe(e));}, [t, e]), null;-}, YW);+}, CG);//#endregion//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js-function E3(e) {- var { zIndex: t, isPanorama: n } = e, r = (0, B.useRef)(null), i = GB();- return (0, B.useLayoutEffect)(() => (r.current && i(Hje({+function e6(e) {+ var { zIndex: t, isPanorama: n } = e, r = (0, B.useRef)(null), i = yV();+ return (0, B.useLayoutEffect)(() => (r.current && i(xMe({zIndex: t,element: r.current,isPanorama: n})), () => {- i(Uje({+ i(SMe({zIndex: t,isPanorama: n}));@@ -70070,15 +71503,15 @@ function E3(e) {className: `recharts-zIndex-layer_${t}`});}-function D3(e) {- var { children: t, isPanorama: n } = e, r = Q(Nje);+function t6(e) {+ var { children: t, isPanorama: n } = e, r = Q(fMe);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(E3, {+ return /*#__PURE__*/ B.createElement(B.Fragment, null, i.map((e) => /*#__PURE__*/ B.createElement(e6, {key: e,zIndex: e,isPanorama: n- })), t, a.map((e) => /*#__PURE__*/ B.createElement(E3, {+ })), t, a.map((e) => /*#__PURE__*/ B.createElement(e6, {key: e,zIndex: e,isPanorama: n@@ -70086,17 +71519,17 @@ function D3(e) {}//#endregion//#region node_modules/recharts/es6/container/RootSurface.js-var ABe = ["children"];-function jBe(e, t) {+var lVe = ["children"];+function uVe(e, t) {if (e == null) return {};- var n, r, i = MBe(e, t);+ var n, r, i = dVe(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 dVe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -70105,55 +71538,55 @@ function MBe(e, t) {}return n;}-function O3() {- return O3 = Object.assign ? Object.assign.bind() : function(e) {+function n6() {+ return n6 = 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;- }, O3.apply(null, arguments);+ }, n6.apply(null, arguments);}-var NBe = {+var fVe = {width: "100%",height: "100%",display: "block"-}, PBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var n = JU(), r = YU(), i = uG();- if (!oU(n) || !oU(r)) return null;+}, pVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var n = SW(), r = CW(), i = RG();+ if (!PU(n) || !PU(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(KR, O3({}, 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(_z, n6({}, o, {title: s,desc: c,role: u,tabIndex: l,width: n,height: r,- style: NBe,+ style: fVe,ref: t}), a);-}), FBe = (e) => {- var { children: t } = e, n = Q(PU);+}), mVe = (e) => {+ var { children: t } = e, n = Q(cW);if (!n) return null;var { width: r, height: i, y: a, x: o } = n;- return /*#__PURE__*/ B.createElement(KR, {+ return /*#__PURE__*/ B.createElement(_z, {width: r,height: i,x: o,y: a}, t);-}, k3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var { children: n } = e, r = jBe(e, ABe);- return MU() ? /*#__PURE__*/ B.createElement(FBe, null, /*#__PURE__*/ B.createElement(D3, { isPanorama: !0 }, n)) : /*#__PURE__*/ B.createElement(PBe, O3({ ref: t }, r), /*#__PURE__*/ B.createElement(D3, { isPanorama: !1 }, n));+}, r6 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var { children: n } = e, r = uVe(e, lVe);+ return oW() ? /*#__PURE__*/ B.createElement(mVe, null, /*#__PURE__*/ B.createElement(t6, { isPanorama: !0 }, n)) : /*#__PURE__*/ B.createElement(pVe, n6({ ref: t }, r), /*#__PURE__*/ B.createElement(t6, { isPanorama: !1 }, n));});//#endregion//#region node_modules/recharts/es6/util/useReportScale.js-function IBe() {- var e = GB(), [t, n] = (0, B.useState)(null), r = Q(nwe);+function hVe() {+ var e = yV(), [t, n] = (0, B.useState)(null), r = Q(Fwe);return (0, B.useEffect)(() => {if (t != null) {var n = t.getBoundingClientRect().width / t.offsetWidth;- aU(n) && n !== r && e(UCe(n));+ NU(n) && n !== r && e(Swe(n));}}, [t,@@ -70163,7 +71596,7 @@ function IBe() {}//#endregion//#region node_modules/recharts/es6/chart/RechartsWrapper.js-function A3(e, t) {+function i6(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -70173,30 +71606,30 @@ function A3(e, t) {}return n;}-function LBe(e) {+function gVe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? A3(Object(n), !0).forEach(function(t) {- RBe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A3(Object(n)).forEach(function(t) {+ t % 2 ? i6(Object(n), !0).forEach(function(t) {+ _Ve(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i6(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function RBe(e, t, n) {- return (t = zBe(t)) in e ? Object.defineProperty(e, t, {+function _Ve(e, t, n) {+ return (t = vVe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function zBe(e) {- var t = BBe(e, "string");+function vVe(e) {+ var t = yVe(e, "string");return typeof t == "symbol" ? t : t + "";}-function BBe(e, t) {+function yVe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -70206,17 +71639,17 @@ function BBe(e, t) {}return (t === "string" ? String : Number)(e);}-function j3() {- return j3 = Object.assign ? Object.assign.bind() : function(e) {+function a6() {+ return a6 = 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;- }, j3.apply(null, arguments);+ }, a6.apply(null, arguments);}-var VBe = () => (pMe(), null);-function M3(e) {+var bVe = () => (KMe(), null);+function o6(e) {if (typeof e == "number") return e;if (typeof e == "string") {var t = parseFloat(e);@@ -70224,10 +71657,10 @@ function M3(e) {}return 0;}-var HBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+var xVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {var n = (0, B.useRef)(null), [r, i] = (0, B.useState)({- containerWidth: M3(e.style?.width),- containerHeight: M3(e.style?.height)+ containerWidth: o6(e.style?.width),+ containerHeight: o6(e.style?.height)}), a = (0, B.useCallback)((e, t) => {i((n) => {var r = Math.round(e), i = Math.round(t);@@ -70252,14 +71685,14 @@ var HBe = /*#__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(tW, {+ }, [a]), /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(kW, {width: r.containerWidth,height: r.containerHeight- }), /*#__PURE__*/ B.createElement("div", j3({ ref: o }, e)));-}), UBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ }), /*#__PURE__*/ B.createElement("div", a6({ ref: o }, e)));+}), SVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {var { width: n, height: r } = e, [i, a] = (0, B.useState)({- containerWidth: M3(n),- containerHeight: M3(r)+ containerWidth: o6(n),+ containerHeight: o6(r)}), o = (0, B.useCallback)((e, t) => {a((n) => {var r = Math.round(e), i = Math.round(t);@@ -70274,32 +71707,32 @@ var HBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {o(n, r);}}, [t, o]);- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(tW, {+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(kW, {width: i.containerWidth,height: i.containerHeight- }), /*#__PURE__*/ B.createElement("div", j3({ ref: s }, e)));-}), WBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ }), /*#__PURE__*/ B.createElement("div", a6({ ref: s }, e)));+}), CVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {var { width: n, height: r } = e;- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(tW, {+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(kW, {width: n,height: r- }), /*#__PURE__*/ B.createElement("div", j3({ ref: t }, e)));-}), GBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ }), /*#__PURE__*/ B.createElement("div", a6({ ref: t }, e)));+}), wVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {var { width: n, height: r } = e;- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ B.createElement(UBe, j3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ B.createElement(WBe, j3({}, e, {+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ B.createElement(SVe, a6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ B.createElement(CVe, a6({}, e, {width: n,height: r,ref: t- })) : /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(tW, {+ })) : /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(kW, {width: n,height: r- }), /*#__PURE__*/ B.createElement("div", j3({ ref: t }, e)));+ }), /*#__PURE__*/ B.createElement("div", a6({ ref: t }, e)));});-function KBe(e) {- return e ? HBe : GBe;+function TVe(e) {+ return e ? xVe : wVe;}-var qBe = /*#__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 = GB(), [S, C] = (0, B.useState)(null), [w, T] = (0, B.useState)(null), E = IBe(), D = UU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, B.useCallback)((e) => {+var EVe = /*#__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 = yV(), [S, C] = (0, B.useState)(null), [w, T] = (0, B.useState)(null), E = hVe(), D = _W(), 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,@@ -70307,58 +71740,58 @@ var qBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {C,T]), j = (0, B.useCallback)((e) => {- x(G4(e)), x(l3({+ x(y3(e)), x(L3({handler: a,reactEvent: e}));}, [x, a]), M = (0, B.useCallback)((e) => {- x(q4(e)), x(l3({+ x(x3(e)), x(L3({handler: l,reactEvent: e}));}, [x, l]), N = (0, B.useCallback)((e) => {- x(XZ()), x(l3({+ x(wQ()), x(L3({handler: u,reactEvent: e}));}, [x, u]), P = (0, B.useCallback)((e) => {- x(q4(e)), x(l3({+ x(x3(e)), x(L3({handler: d,reactEvent: e}));}, [x, d]), ee = (0, B.useCallback)(() => {- x(n3());+ x(A3());}, [x]), F = (0, B.useCallback)(() => {- x(r3());+ x(j3());}, [x]), I = (0, B.useCallback)((e) => {- x(t3(e.key));+ x(k3(e.key));}, [x]), te = (0, B.useCallback)((e) => {- x(l3({+ x(L3({handler: o,reactEvent: e}));}, [x, o]), ne = (0, B.useCallback)((e) => {- x(l3({+ x(L3({handler: s,reactEvent: e}));}, [x, s]), re = (0, B.useCallback)((e) => {- x(l3({+ x(L3({handler: c,reactEvent: e}));}, [x, c]), ie = (0, B.useCallback)((e) => {- x(l3({+ x(L3({handler: f,reactEvent: e}));}, [x, f]), ae = (0, B.useCallback)((e) => {- x(l3({+ x(L3({handler: h,reactEvent: e}));}, [x, h]), oe = (0, B.useCallback)((e) => {- y && x(m3(e)), x(l3({+ y && x(H3(e)), x(L3({handler: m,reactEvent: e}));@@ -70367,16 +71800,16 @@ var qBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {y,m]), se = (0, B.useCallback)((e) => {- x(l3({+ x(L3({handler: p,reactEvent: e}));- }, [x, p]), ce = KBe(v);- return /*#__PURE__*/ B.createElement(QQ.Provider, { value: S }, /*#__PURE__*/ B.createElement(YR.Provider, { value: w }, /*#__PURE__*/ B.createElement(ce, {+ }, [x, p]), ce = TVe(v);+ return /*#__PURE__*/ B.createElement(E$.Provider, { value: S }, /*#__PURE__*/ B.createElement(bz.Provider, { value: w }, /*#__PURE__*/ B.createElement(ce, {width: O ?? g?.width,height: k ?? g?.height,className: _h("recharts-wrapper", r),- style: LBe({+ style: gVe({position: "relative",cursor: "default",width: O,@@ -70397,8 +71830,8 @@ var qBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {onTouchMove: oe,onTouchStart: ae,ref: A- }, /*#__PURE__*/ B.createElement(VBe, null), n)));-}), JBe = [+ }, /*#__PURE__*/ B.createElement(bVe, null), n)));+}), DVe = ["width","height","responsive",@@ -70409,16 +71842,16 @@ var qBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {"title","desc"];-function YBe(e, t) {+function OVe(e, t) {if (e == null) return {};- var n, r, i = XBe(e, t);+ var n, r, i = kVe(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 kVe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -70427,16 +71860,16 @@ function XBe(e, t) {}return n;}-var N3 = /*#__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 = HR(YBe(e, JBe));- return c ? /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(tW, {+var s6 = /*#__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 = pz(OVe(e, DVe));+ return c ? /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(kW, {width: n,height: r- }), /*#__PURE__*/ B.createElement(k3, {+ }), /*#__PURE__*/ B.createElement(r6, {otherAttributes: d,title: l,desc: u- }, a)) : /*#__PURE__*/ B.createElement(qBe, {+ }, a)) : /*#__PURE__*/ B.createElement(EVe, {className: o,style: s,width: n,@@ -70453,25 +71886,25 @@ var N3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {onTouchStart: e.onTouchStart,onTouchMove: e.onTouchMove,onTouchEnd: e.onTouchEnd- }, /*#__PURE__*/ B.createElement(k3, {+ }, /*#__PURE__*/ B.createElement(r6, {otherAttributes: d,title: l,desc: u,ref: t- }, /*#__PURE__*/ B.createElement(nLe, null, a)));+ }, /*#__PURE__*/ B.createElement(FLe, null, a)));});//#endregion//#region node_modules/recharts/es6/chart/CartesianChart.js-function P3() {- return P3 = Object.assign ? Object.assign.bind() : function(e) {+function c6() {+ return c6 = 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;- }, P3.apply(null, arguments);+ }, c6.apply(null, arguments);}-function F3(e, t) {+function l6(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -70481,30 +71914,30 @@ function F3(e, t) {}return n;}-function ZBe(e) {+function AVe(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) {- QBe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F3(Object(n)).forEach(function(t) {+ t % 2 ? l6(Object(n), !0).forEach(function(t) {+ jVe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l6(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function QBe(e, t, n) {- return (t = $Be(t)) in e ? Object.defineProperty(e, t, {+function jVe(e, t, n) {+ return (t = MVe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function $Be(e) {- var t = eVe(e, "string");+function MVe(e) {+ var t = NVe(e, "string");return typeof t == "symbol" ? t : t + "";}-function eVe(e, t) {+function NVe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -70514,7 +71947,7 @@ function eVe(e, t) {}return (t === "string" ? String : Number)(e);}-var tVe = ZBe({+var PVe = AVe({accessibilityLayer: !0,barCategoryGap: "10%",barGap: 4,@@ -70529,24 +71962,24 @@ var tVe = ZBe({reverseStackOrder: !1,stackOffset: "none",syncMethod: "index"-}, b3), I3 = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- var n = vB(e.categoricalChartProps, tVe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {+}, J3), u6 = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ var n = UB(e.categoricalChartProps, PVe), { 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(S3, {+ return /*#__PURE__*/ B.createElement(X3, {preloadedState: { options: c },reduxStoreName: s.id ?? r- }, /*#__PURE__*/ B.createElement(p2, { chartData: s.data }), /*#__PURE__*/ B.createElement(C3, {+ }, /*#__PURE__*/ B.createElement(V2, { chartData: s.data }), /*#__PURE__*/ B.createElement(Z3, {layout: n.layout,margin: n.margin- }), /*#__PURE__*/ B.createElement(T3, {+ }), /*#__PURE__*/ B.createElement($3, {throttleDelay: n.throttleDelay,throttledEvents: n.throttledEvents- }), /*#__PURE__*/ B.createElement(w3, {+ }), /*#__PURE__*/ B.createElement(Q3, {baseValue: n.baseValue,accessibilityLayer: n.accessibilityLayer,barCategoryGap: n.barCategoryGap,@@ -70558,52 +71991,52 @@ var tVe = ZBe({syncMethod: n.syncMethod,className: n.className,reverseStackOrder: n.reverseStackOrder- }), /*#__PURE__*/ B.createElement(N3, P3({}, n, { ref: t })));-}), nVe = ["axis"], rVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(I3, {+ }), /*#__PURE__*/ B.createElement(s6, c6({}, n, { ref: t })));+}), FVe = ["axis"], IVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(u6, {chartName: "LineChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: nVe,- tooltipPayloadSearcher: n$,+ validateTooltipEventTypes: FVe,+ tooltipPayloadSearcher: A$,categoricalChartProps: e,ref: t-})), iVe = ["axis", "item"], L3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(I3, {+})), LVe = ["axis", "item"], d6 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(u6, {chartName: "BarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: iVe,- tooltipPayloadSearcher: n$,+ validateTooltipEventTypes: LVe,+ tooltipPayloadSearcher: A$,categoricalChartProps: e,ref: t}));//#endregion//#region node_modules/recharts/es6/state/ReportPolarOptions.js-function aVe(e) {- var t = GB();+function RVe(e) {+ var t = yV();return (0, B.useEffect)(() => {- t(SBe(e));+ t(tVe(e));}, [t, e]), null;}//#endregion//#region node_modules/recharts/es6/chart/PolarChart.js-var oVe = ["layout"];-function R3() {- return R3 = Object.assign ? Object.assign.bind() : function(e) {+var zVe = ["layout"];+function f6() {+ return f6 = 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;- }, R3.apply(null, arguments);+ }, f6.apply(null, arguments);}-function sVe(e, t) {+function BVe(e, t) {if (e == null) return {};- var n, r, i = cVe(e, t);+ var n, r, i = VVe(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 cVe(e, t) {+function VVe(e, t) {if (e == null) return {};var n = {};for (var r in e) if ({}.hasOwnProperty.call(e, r)) {@@ -70612,7 +72045,7 @@ function cVe(e, t) {}return n;}-function z3(e, t) {+function p6(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -70622,30 +72055,30 @@ function z3(e, t) {}return n;}-function lVe(e) {+function HVe(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? z3(Object(n), !0).forEach(function(t) {- uVe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z3(Object(n)).forEach(function(t) {+ t % 2 ? p6(Object(n), !0).forEach(function(t) {+ UVe(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 uVe(e, t, n) {- return (t = dVe(t)) in e ? Object.defineProperty(e, t, {+function UVe(e, t, n) {+ return (t = WVe(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 WVe(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) {@@ -70655,7 +72088,7 @@ function fVe(e, t) {}return (t === "string" ? String : Number)(e);}-var B3 = lVe({+var m6 = HVe({accessibilityLayer: !0,stackOffset: "none",barCategoryGap: "10%",@@ -70674,24 +72107,24 @@ var B3 = lVe({cy: "50%",innerRadius: 0,outerRadius: "80%"-}, b3), V3 = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {- var n = vB(e.categoricalChartProps, B3), { layout: r } = n, i = sVe(n, oVe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {+}, J3), h6 = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {+ var n = UB(e.categoricalChartProps, m6), { layout: r } = n, i = BVe(n, zVe), { 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(S3, {+ return /*#__PURE__*/ B.createElement(X3, {preloadedState: { options: l },reduxStoreName: n.id ?? a- }, /*#__PURE__*/ B.createElement(p2, { chartData: n.data }), /*#__PURE__*/ B.createElement(C3, {+ }, /*#__PURE__*/ B.createElement(V2, { chartData: n.data }), /*#__PURE__*/ B.createElement(Z3, {layout: r,margin: n.margin- }), /*#__PURE__*/ B.createElement(T3, {+ }), /*#__PURE__*/ B.createElement($3, {throttleDelay: n.throttleDelay,throttledEvents: n.throttledEvents- }), /*#__PURE__*/ B.createElement(w3, {+ }), /*#__PURE__*/ B.createElement(Q3, {baseValue: void 0,accessibilityLayer: n.accessibilityLayer,barCategoryGap: n.barCategoryGap,@@ -70703,18 +72136,18 @@ var B3 = lVe({syncMethod: n.syncMethod,className: n.className,reverseStackOrder: n.reverseStackOrder- }), /*#__PURE__*/ B.createElement(aVe, {+ }), /*#__PURE__*/ B.createElement(RVe, {cx: n.cx,cy: n.cy,startAngle: n.startAngle,endAngle: n.endAngle,innerRadius: n.innerRadius,outerRadius: n.outerRadius- }), /*#__PURE__*/ B.createElement(N3, R3({}, i, { ref: t })));+ }), /*#__PURE__*/ B.createElement(s6, f6({}, i, { ref: t })));});//#endregion//#region node_modules/recharts/es6/chart/RadarChart.js-function H3(e, t) {+function g6(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -70724,30 +72157,30 @@ function H3(e, t) {}return n;}-function U3(e) {+function _6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? H3(Object(n), !0).forEach(function(t) {- pVe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H3(Object(n)).forEach(function(t) {+ t % 2 ? g6(Object(n), !0).forEach(function(t) {+ KVe(e, t, n[t]);+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g6(Object(n)).forEach(function(t) {Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));});}return e;}-function pVe(e, t, n) {- return (t = mVe(t)) in e ? Object.defineProperty(e, t, {+function KVe(e, t, n) {+ return (t = qVe(t)) in e ? Object.defineProperty(e, t, {value: n,enumerable: !0,configurable: !0,writable: !0}) : e[t] = n, e;}-function mVe(e) {- var t = hVe(e, "string");+function qVe(e) {+ var t = JVe(e, "string");return typeof t == "symbol" ? t : t + "";}-function hVe(e, t) {+function JVe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -70757,31 +72190,31 @@ function hVe(e, t) {}return (t === "string" ? String : Number)(e);}-var gVe = ["axis"], _Ve = U3(U3({}, B3), {}, {+var YVe = ["axis"], XVe = _6(_6({}, m6), {}, {layout: "centric",startAngle: 90,endAngle: -270-}), vVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var n = vB(e, _Ve);- return /*#__PURE__*/ B.createElement(V3, {+}), ZVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var n = UB(e, XVe);+ return /*#__PURE__*/ B.createElement(h6, {chartName: "RadarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: gVe,- tooltipPayloadSearcher: n$,+ validateTooltipEventTypes: YVe,+ tooltipPayloadSearcher: A$,categoricalChartProps: n,ref: t});-}), yVe = ["axis"], bVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(I3, {+}), QVe = ["axis"], $Ve = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(u6, {chartName: "AreaChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: yVe,- tooltipPayloadSearcher: n$,+ validateTooltipEventTypes: QVe,+ tooltipPayloadSearcher: A$,categoricalChartProps: e,ref: t}));//#endregion//#region node_modules/recharts/es6/chart/RadialBarChart.js-function W3(e, t) {+function v6(e, t) {var n = Object.keys(e);if (Object.getOwnPropertySymbols) {var r = Object.getOwnPropertySymbols(e);@@ -70791,30 +72224,30 @@ function W3(e, t) {}return n;}-function G3(e) {+function y6(e) {for (var t = 1; t < arguments.length; t++) {var n = arguments[t] == null ? {} : arguments[t];- t % 2 ? W3(Object(n), !0).forEach(function(t) {- xVe(e, t, n[t]);- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W3(Object(n)).forEach(function(t) {+ t % 2 ? v6(Object(n), !0).forEach(function(t) {+ eHe(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 xVe(e, t, n) {- return (t = SVe(t)) in e ? Object.defineProperty(e, t, {+function eHe(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 SVe(e) {- var t = CVe(e, "string");+function tHe(e) {+ var t = nHe(e, "string");return typeof t == "symbol" ? t : t + "";}-function CVe(e, t) {+function nHe(e, t) {if (typeof e != "object" || !e) return e;var n = e[Symbol.toPrimitive];if (n !== void 0) {@@ -70824,59 +72257,59 @@ function CVe(e, t) {}return (t === "string" ? String : Number)(e);}-var wVe = ["axis", "item"], TVe = G3(G3({}, B3), {}, {+var rHe = ["axis", "item"], iHe = y6(y6({}, m6), {}, {layout: "radial",startAngle: 0,endAngle: 360-}), EVe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {- var n = vB(e, TVe);- return /*#__PURE__*/ B.createElement(V3, {+}), aHe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {+ var n = UB(e, iHe);+ return /*#__PURE__*/ B.createElement(h6, {chartName: "RadialBarChart",defaultTooltipEventType: "axis",- validateTooltipEventTypes: wVe,- tooltipPayloadSearcher: n$,+ validateTooltipEventTypes: rHe,+ tooltipPayloadSearcher: A$,categoricalChartProps: n,ref: t});});//#endregion//#region src/react/charts/cn.ts-function K3(...e) {- return _E(_h(e));+function b6(...e) {+ return vE(_h(e));}//#endregion//#region src/react/evilcharts/registry/ui/recharts-chart.tsx-var q3 = {+var x6 = {light: "",dark: ".dark"-}, J3 = Object.keys(q3);-function DVe(e) {- for (let [t, n] of Object.entries(e)) if (n.colors && !J3.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${J3.join(", ")}). Received empty object or invalid keys.`);+}, S6 = Object.keys(x6);+function oHe(e) {+ for (let [t, n] of Object.entries(e)) if (n.colors && !S6.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${S6.join(", ")}). Received empty object or invalid keys.`);}-var Y3 = B.createContext(null);-function X3() {- let e = B.useContext(Y3);+var C6 = B.createContext(null);+function w6() {+ let e = B.useContext(C6);if (!e) throw Error("useChart must be used within a <ChartContainer />");return e;}-function Z3({ id: e, config: t, initialDimension: n = {+function T6({ 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 DVe(t), /* @__PURE__ */ (0, V.jsx)(Y3.Provider, {+ return oHe(t), /* @__PURE__ */ (0, V.jsx)(C6.Provider, {value: { config: t },children: /* @__PURE__ */ (0, V.jsxs)("div", {"data-slot": "chart","data-chart": c,- className: K3("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: b6("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)($3, {+ /* @__PURE__ */ (0, V.jsx)(D6, {id: c,config: t}),- /* @__PURE__ */ (0, V.jsx)(WU, {+ /* @__PURE__ */ (0, V.jsx)(vW, {className: "min-h-0 w-full flex-1",initialDimension: n,children: i@@ -70886,7 +72319,7 @@ function Z3({ id: e, config: t, initialDimension: n = {})});}-function Q3({ isLoading: e }) {+function E6({ 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", {@@ -70895,7 +72328,7 @@ function Q3({ isLoading: e }) {})}) : null;}-function OVe(e, t) {+function sHe(e, t) {let n = e.length;if (n >= t) return e.slice(0, t);let r = [], i = Math.floor(t / n), a = t % n;@@ -70905,46 +72338,46 @@ function OVe(e, t) {}return r;}-var $3 = ({ id: e, config: t }) => {+var D6 = ({ 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 ? [] : OVe(r, t6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);- }).filter(Boolean).join("\n"), i = Object.entries(q3).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");+ return !r || !Array.isArray(r) || r.length === 0 ? [] : sHe(r, k6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);+ }).filter(Boolean).join("\n"), i = Object.entries(x6).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");return /* @__PURE__ */ (0, V.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });};-function e6(e, t, n) {+function O6(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 t6(e) {+function k6(e) {if (!e.colors) return 1;- let t = J3.map((t) => e.colors?.[t]?.length ?? 0);+ let t = S6.map((t) => e.colors?.[t]?.length ?? 0);return Math.max(...t, 1);}-var kVe = (e = 10, t = 0, n = 70) => {+var cHe = (e = 10, t = 0, n = 70) => {let r = n - t;return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));-}, AVe = {+}, lHe = {sm: "rounded-sm",md: "rounded-md",lg: "rounded-lg",xl: "rounded-xl"-}, jVe = {+}, uHe = {default: "bg-background","frosted-glass": "bg-background/70 backdrop-blur-sm"};-function n6({ 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 } = X3(), g = B.useMemo(() => {+function A6({ 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 } = w6(), g = B.useMemo(() => {if (i || !t?.length) return null;- let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = e6(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 = O6(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;return s ? /* @__PURE__ */ (0, V.jsx)("div", {- className: K3("font-medium", c),+ className: b6("font-medium", c),children: s(a, t)}) : a ? /* @__PURE__ */ (0, V.jsx)("div", {- className: K3("font-medium", c),+ className: b6("font-medium", c),children: a}) : null;}, [@@ -70959,23 +72392,23 @@ function n6({ 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: K3("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", AVe[p], jVe[m], n),+ className: b6("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", lHe[p], uHe[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 = e6(h, e, n), o = i ? t6(i) : 1;+ let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = O6(h, e, n), o = i ? k6(i) : 1;return /* @__PURE__ */ (0, V.jsx)("div", {- className: K3("[&>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: b6("[&>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: K3("shrink-0 rounded-[2px]", {+ className: b6("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: MVe(n, o)+ style: dHe(n, o)}), /* @__PURE__ */ (0, V.jsxs)("div", {- className: K3("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),+ className: b6("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", {@@ -70992,27 +72425,27 @@ function n6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab})]});}-function MVe(e, t) {+function dHe(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 r6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, V.jsx)(xMe, {+var j6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, V.jsx)(eNe, {animationDuration: e,...t});//#endregion//#region src/react/evilcharts/registry/ui/recharts-legend.tsx-function i6({ 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 } = X3();+function M6({ 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 } = w6();return r?.length ? /* @__PURE__ */ (0, V.jsx)("div", {- className: K3("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: b6("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 = e6(u, e, r), a = o === null || o === r, d = i ? t6(i) : 1;+ let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = O6(u, e, r), a = o === null || o === r, d = i ? k6(i) : 1;return /* @__PURE__ */ (0, V.jsxs)("div", {- className: K3("[&>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: b6("[&>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)(NVe, {+ children: [i?.icon && !t ? /* @__PURE__ */ (0, V.jsx)(i.icon, {}) : /* @__PURE__ */ (0, V.jsx)(fHe, {variant: l,dataKey: r,colorsCount: d@@ -71021,8 +72454,8 @@ function i6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl})}) : null;}-function NVe({ variant: e, dataKey: t, colorsCount: n }) {- let r = PVe(t, n), i = FVe(t, n);+function fHe({ variant: e, dataKey: t, colorsCount: n }) {+ let r = pHe(t, n), i = mHe(t, n);switch (e) {case "square": return /* @__PURE__ */ (0, V.jsx)("div", {className: "h-2 w-2 shrink-0",@@ -71054,10 +72487,10 @@ function NVe({ variant: e, dataKey: t, colorsCount: n }) {});}}-function PVe(e, t) {+function pHe(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 FVe(e, t) {+function mHe(e, t) {let n = {WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite: "xor",@@ -71072,12 +72505,12 @@ function FVe(e, t) {...n};}-var a6 = $W, o6 = () => null, s6 = {+var N6 = DG, P6 = () => null, F6 = {stiffness: 300,damping: 35,mass: .8};-function IVe({ range: e, totalPoints: t, containerRef: n, commit: r }) {+function hHe({ 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,@@ -71123,7 +72556,7 @@ function IVe({ range: e, totalPoints: t, containerRef: n, commit: r }) {])};}-function LVe({ 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 gHe({ 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))@@ -71157,7 +72590,7 @@ function LVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "startIndex: n,endIndex: r};- }, [C, v]), { isDragging: A, bind: j } = IVe({+ }, [C, v]), { isDragging: A, bind: j } = hHe({range: E,totalPoints: C,containerRef: x,@@ -71184,7 +72617,7 @@ function LVe({ 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, s6), te = Yf(F, s6), 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, F6), te = Yf(F, F6), 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,@@ -71204,16 +72637,16 @@ function LVe({ 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: K3("group relative select-none", o),+ className: b6("group relative select-none", o),style: { height: a },children: [- !b && /* @__PURE__ */ (0, V.jsx)($3, {+ !b && /* @__PURE__ */ (0, V.jsx)(D6, {id: w,config: t}),/* @__PURE__ */ (0, V.jsx)("div", {className: "absolute inset-0 overflow-hidden rounded-md",- children: /* @__PURE__ */ (0, V.jsx)(RVe, {+ children: /* @__PURE__ */ (0, V.jsx)(_He, {data: e,keys: S,chartConfig: t,@@ -71242,13 +72675,13 @@ function LVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "},...j("middle")}),- /* @__PURE__ */ (0, V.jsx)(c6, {+ /* @__PURE__ */ (0, V.jsx)(I6, {side: "left",position: ne,label: y ? ce(M.startIndex) : void 0,bind: j("left")}),- /* @__PURE__ */ (0, V.jsx)(c6, {+ /* @__PURE__ */ (0, V.jsx)(I6, {side: "right",position: re,label: y ? ce(M.endIndex) : void 0,@@ -71257,16 +72690,16 @@ function LVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "]});}-function c6({ side: e, position: t, label: n, bind: r }) {+function I6({ 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: K3("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: b6("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: K3("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: b6("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: [@@ -71277,6674 +72710,5250 @@ function c6({ side: e, position: t, label: n, bind: r }) {})})}), n && /* @__PURE__ */ (0, V.jsx)("div", {- className: K3("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 RVe({ 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: t6(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",- y1: "0",- x2: "0",- y2: "1",- children: [/* @__PURE__ */ (0, V.jsx)("stop", {- offset: "0%",- stopColor: "white",- stopOpacity: .15- }), /* @__PURE__ */ (0, V.jsx)("stop", {- offset: "100%",- stopColor: "white",- stopOpacity: 0- })]- }), u.map(({ dataKey: e, colorsCount: t }) => {- let n = t === 1 ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("stop", {- offset: "0%",- stopColor: `var(--color-${e}-0)`- }), /* @__PURE__ */ (0, V.jsx)("stop", {- offset: "100%",- stopColor: `var(--color-${e}-0)`- })] }) : Array.from({ length: t }, (n, r) => /* @__PURE__ */ (0, V.jsx)("stop", {- offset: `${r / (t - 1) * 100}%`,- stopColor: `var(--color-${e}-${r}, var(--color-${e}-0))`- }, r));- return /* @__PURE__ */ (0, V.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("linearGradient", {- id: `${a}-zm-${e}`,- x1: "0",- y1: "0",- x2: "0",- y2: "1",+ className: b6("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- }), r === "area" && /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("mask", {- id: `${a}-zm-fill-mask-${e}`,- children: /* @__PURE__ */ (0, V.jsx)("rect", {- width: "100%",- height: "100%",- fill: `url(#${a}-zm-vertical-fade)`- })- }), /* @__PURE__ */ (0, V.jsx)("pattern", {- id: `${a}-zm-fill-${e}`,- patternUnits: "userSpaceOnUse",- width: "100%",- height: "100%",- children: /* @__PURE__ */ (0, V.jsx)("rect", {- width: "100%",- height: "100%",- fill: `url(#${a}-zm-${e})`,- mask: `url(#${a}-zm-fill-mask-${e})`- })- })] })] }, e);- })] });- if (r === "line") return /* @__PURE__ */ (0, V.jsx)(WU, {- width: "100%",- height: "100%",- children: /* @__PURE__ */ (0, V.jsxs)(rVe, {- data: e,- margin: {- top: 4,- right: 0,- bottom: 0,- left: 0- },- children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, V.jsx)(t4, {- type: i,- dataKey: e,- stroke: `url(#${a}-zm-${e})`,- strokeWidth: 1,- strokeOpacity: .5,- strokeDasharray: d,- connectNulls: c,- dot: !1,- activeDot: !1,- isAnimationActive: !1- }, e))]- })- });- if (r === "bar") {- let n = l ?? 3;- return /* @__PURE__ */ (0, V.jsx)(WU, {- width: "100%",- height: "100%",- children: /* @__PURE__ */ (0, V.jsxs)(L3, {- data: e,- margin: {- top: 2,- right: 0,- bottom: 0,- left: 0- },- barGap: 2,- barSize: 14,- children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, V.jsx)(k4, {- dataKey: e,- fill: `url(#${a}-zm-${e})`,- fillOpacity: .35,- stackId: o ? "zm-stack" : void 0,- isAnimationActive: !1,- radius: [- n,- n,- n,- n- ]- }, e))]- })- });- }- return /* @__PURE__ */ (0, V.jsx)(WU, {- width: "100%",- height: "100%",- children: /* @__PURE__ */ (0, V.jsxs)(bVe, {- data: e,- margin: {- top: 4,- right: 0,- bottom: 0,- left: 0- },- children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, V.jsx)(g4, {- type: i,- dataKey: e,- stroke: `url(#${a}-zm-${e})`,- fill: `url(#${a}-zm-fill-${e})`,- strokeWidth: 1,- strokeOpacity: .5,- strokeDasharray: d,- connectNulls: c,- fillOpacity: 1,- stackId: o ? "zm-stack" : void 0,- dot: !1,- activeDot: !1,- isAnimationActive: !1- }, e))]- })- });-}-function zVe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {- let [r, i] = B.useState({- startIndex: t,- endIndex: n ?? Math.max(0, e.length - 1)- }), a = B.useDeferredValue(r);- return (0, B.useEffect)(() => {- i({- startIndex: 0,- endIndex: Math.max(0, e.length - 1)- });- }, [e.length]), {- range: r,- visibleData: B.useMemo(() => e.slice(a.startIndex, a.endIndex + 1), [- e,- a.startIndex,- a.endIndex- ]),- brushProps: {- startIndex: r.startIndex,- endIndex: r.endIndex,- onChange: i- }- };-}-var BVe = {- dots: ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {- id: e,- x: "0",- y: "0",- width: "20",- height: "20",- patternUnits: "userSpaceOnUse",- children: /* @__PURE__ */ (0, V.jsx)("circle", {- className: "text-border dark:text-border",- cx: "2",- cy: "2",- r: "1",- fill: "currentColor"- })- }),- grid: ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {- id: e,- x: "0",- y: "0",- width: "20",- height: "20",- patternUnits: "userSpaceOnUse",- children: /* @__PURE__ */ (0, V.jsx)("path", {- className: "text-border dark:text-border",- d: "M 20 0 L 0 0 0 20",- fill: "none",- stroke: "currentColor",- strokeWidth: "0.5"- })- }),- plus: ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {- id: e,- x: "0",- y: "0",- width: "16",- height: "16",- patternUnits: "userSpaceOnUse",- children: /* @__PURE__ */ (0, V.jsx)("path", {- className: "text-border dark:text-border",- d: "M 8 4 L 8 12 M 4 8 L 12 8",- fill: "none",- stroke: "currentColor",- strokeWidth: "0.5",- strokeLinecap: "round"- })- }),- bubbles: ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {- id: e,- x: "0",- y: "0",- width: "100",- height: "100",- patternUnits: "userSpaceOnUse",- patternTransform: "scale(0.6667)",- children: /* @__PURE__ */ (0, V.jsx)("path", {- className: "text-border dark:text-border",- d: "M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z",- fill: "currentColor",- fillOpacity: "0.4",- fillRule: "evenodd"- })- }),- "cross-hatch": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {- id: e,- x: "0",- y: "0",- width: "20",- height: "20",- patternUnits: "userSpaceOnUse",- children: /* @__PURE__ */ (0, V.jsx)("path", {- className: "text-border/60 dark:text-border/50",- d: "M 0 0 L 20 20 M 20 0 L 0 20",- fill: "none",- stroke: "currentColor",- strokeWidth: "0.5"- })- }),- "diagonal-lines": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {- id: e,- x: "0",- y: "0",- width: "6",- height: "6",- patternUnits: "userSpaceOnUse",- patternTransform: "rotate(45)",- children: /* @__PURE__ */ (0, V.jsx)("line", {- className: "text-border dark:text-border",- x1: "0",- y1: "0",- x2: "0",- y2: "6",- stroke: "currentColor",- strokeWidth: "0.5"- })- }),- "falling-triangles": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {- id: e,- x: "0",- y: "0",- width: "18",- height: "36",- patternUnits: "userSpaceOnUse",- children: /* @__PURE__ */ (0, V.jsx)("path", {- className: "text-border dark:text-border",- d: "M2 6h12L8 18 2 6zm18 36h12l-6 12-6-12z",- transform: "scale(0.5)",- fill: "currentColor",- fillOpacity: "0.4"- })- }),- "4-pointed-star": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {- id: e,- x: "0",- y: "0",- width: "16",- height: "16",- patternUnits: "userSpaceOnUse",- children: /* @__PURE__ */ (0, V.jsx)("polygon", {- className: "text-border dark:text-border",- fillRule: "evenodd",- points: "5 3 8 4 5 5 4 8 3 5 0 4 3 3 4 0 5 3",- fill: "currentColor",- fillOpacity: "0.4"- })- }),- "tiny-checkers": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {- id: e,- x: "0",- y: "0",- width: "8",- height: "8",- patternUnits: "userSpaceOnUse",- children: /* @__PURE__ */ (0, V.jsx)("path", {- className: "text-border dark:text-border",- fillRule: "evenodd",- d: "M0 0h4v4H0V0zm4 4h4v4H4V4z",- fill: "currentColor",- fillOpacity: "0.2"- })- }),- "overlapping-circles": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {- id: e,- x: "0",- y: "0",- width: "40",- height: "40",- patternUnits: "userSpaceOnUse",- children: /* @__PURE__ */ (0, V.jsx)("path", {- className: "text-border dark:text-border",- fillRule: "evenodd",- d: "M25 25c0-2.762 2.238-5 5-5s5 2.238 5 5-2.238 5-5 5c0 2.762-2.238 5-5 5s-5-2.238-5-5 2.238-5 5-5zM5 5c0-2.762 2.238-5 5-5s5 2.238 5 5-2.238 5-5 5c0 2.762-2.238 5-5 5S0 12.762 0 10s2.238-5 5-5zm5 4c2.209 0 4-1.791 4-4s-1.791-4-4-4-4 1.791-4 4 1.791 4 4 4zm20 20c2.209 0 4-1.791 4-4s-1.791-4-4-4-4 1.791-4 4 1.791 4 4 4z",- fill: "currentColor",- fillOpacity: "0.4"- })- }),- "wiggle-lines": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {- id: e,- x: "0",- y: "0",- width: "52",- height: "26",- patternUnits: "userSpaceOnUse",- patternTransform: "scale(0.6)",- children: /* @__PURE__ */ (0, V.jsx)("path", {- className: "text-border dark:text-border",- d: "M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z",- fill: "currentColor",- fillOpacity: "0.4"- })- })-};-function l6({ variant: e }) {- let t = (0, B.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = BVe[e];- return /* @__PURE__ */ (0, V.jsxs)(JQ, {- zIndex: -1,- children: [/* @__PURE__ */ (0, V.jsxs)("defs", { children: [- /* @__PURE__ */ (0, V.jsx)(a, { id: n }),- /* @__PURE__ */ (0, V.jsx)("filter", {- id: i,- children: /* @__PURE__ */ (0, V.jsx)("feGaussianBlur", { stdDeviation: "25" })- }),- /* @__PURE__ */ (0, V.jsx)("mask", {- id: r,- maskUnits: "userSpaceOnUse",- children: /* @__PURE__ */ (0, V.jsx)("rect", {- x: "8%",- y: "20%",- width: "85%",- height: "60%",- fill: "white",- filter: `url(#${i})`- })- })- ] }), /* @__PURE__ */ (0, V.jsx)("rect", {- width: "100%",- height: "100%",- fill: `url(#${n})`,- mask: `url(#${r})`})]});}-//#endregion-//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx-var u6 = 2, VVe = "loading", HVe = 2e3, UVe = "evil-stacked", WVe = .5, GVe = .05, KVe = [- 0,- .7,- .5,- 1-], d6 = (0, B.createContext)(null);-function f6() {- let e = (0, B.use)(d6);- if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");- return e;-}-function p6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = u6, 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 } = dHe(m, h), { visibleData: T, brushProps: E } = zVe({ data: t }), D = (0, B.useMemo)(() => {- let e = B.Children.toArray(n), t = e.find((e) => (0, B.isValidElement)(e) && e.type === o6), r = (0, B.isValidElement)(t) ? t.props : {};- return {- slot: {- present: (0, B.isValidElement)(t),- height: r.height,- formatLabel: r.formatLabel,- onChange: r.onChange- },- chartChildren: e.filter((e) => !((0, B.isValidElement)(e) && e.type === o6))- };- }, [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);- }, [p]), N = (0, B.useMemo)(() => ({- config: e,- isStacked: k,- isHorizontal: A,- isLoading: m,- barRadius: s,- animationType: c,- introStartedAt: v,- dataLength: j.length,- selectedDataKey: y,- selectDataKey: M,- isMouseInChart: x- }), [- e,- k,- A,- m,- s,- c,- v,- j.length,- y,- M,- x- ]);- return /* @__PURE__ */ (0, V.jsx)(d6, {- value: N,- children: /* @__PURE__ */ (0, V.jsxs)(Z3, {- className: r,- config: e,- footer: O && !m && /* @__PURE__ */ (0, V.jsx)(LVe, {- data: t,- chartConfig: e,- xDataKey: g,- variant: "bar",- barRadius: s,- height: D.slot.height,- formatLabel: D.slot.formatLabel,- stacked: k,- skipStyle: !0,- className: "mt-1",- ...E,- onChange: (e) => {- E.onChange(e), D.slot.onChange?.(e);- }- }),- children: [/* @__PURE__ */ (0, V.jsx)(Q3, { isLoading: m }), /* @__PURE__ */ (0, V.jsxs)(L3, {- id: _,- accessibilityLayer: !0,- layout: A ? "vertical" : "horizontal",- data: m ? C : j,- barGap: l,- barCategoryGap: u,- stackOffset: a === "percent" ? "expand" : void 0,- onMouseEnter: () => S(!0),- onMouseLeave: () => S(!1),- ...i,- children: [- d && /* @__PURE__ */ (0, V.jsx)(l6, { variant: d }),- /* @__PURE__ */ (0, V.jsx)(x2, { color: "white" }),- D.chartChildren,- m && /* @__PURE__ */ (0, V.jsx)(fHe, {- chartId: _,- onShimmerExit: w- })- ]- })]- })- });-}-function qVe({ 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 } = f6(), 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,- dataKey: e,- variant: t,- barRadius: S,- glowing: o,- bufferBar: s,- isClickable: i,- enableHoverHighlight: a,- isMouseInChart: y,- isHorizontal: d,- introStartedAt: h,- selectedDataKey: _,- dataLength: g,- onClick: () => {- i && v(C ? null : e);- }- };- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(k4, {- dataKey: e,- stackId: u ? UVe : void 0,- fill: `url(#${b}-colors-${e})`,- radius: S,- isAnimationActive: !1,- style: i || a ? { cursor: "pointer" } : void 0,- shape: (e) => /* @__PURE__ */ (0, V.jsx)(m6, {- ...e,- ...T,- animationType: w- }),- activeBar: (e) => /* @__PURE__ */ (0, V.jsx)(m6, {- ...e,- ...T,- animationType: "none"- }),- ...c- }), /* @__PURE__ */ (0, V.jsxs)("defs", { children: [- /* @__PURE__ */ (0, V.jsx)(nHe, {- id: b,- dataKey: e,- config: l- }),- t === "hatched" && /* @__PURE__ */ (0, V.jsx)(rHe, {- id: b,- dataKey: e- }),- t === "duotone" && /* @__PURE__ */ (0, V.jsx)(aHe, {- id: b,- dataKey: e,- config: l- }),- t === "duotone-reverse" && /* @__PURE__ */ (0, V.jsx)(oHe, {- id: b,- dataKey: e,- config: l- }),- t === "gradient" && /* @__PURE__ */ (0, V.jsx)(sHe, {- id: b,- dataKey: e- }),- t === "stripped" && /* @__PURE__ */ (0, V.jsx)(cHe, {- id: b,- dataKey: e- }),- s && /* @__PURE__ */ (0, V.jsx)(iHe, {- id: b,- dataKey: e- }),- o && /* @__PURE__ */ (0, V.jsx)(lHe, {- id: b,- dataKey: e- })- ] })] });-}-function JVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {- let { isLoading: o, isHorizontal: s } = f6();- return o ? null : /* @__PURE__ */ (0, V.jsx)(L4, {- tickLine: e,- axisLine: t,- tickMargin: n,- minTickGap: r,- type: i ?? (s ? "number" : "category"),- ...a- });-}-function YVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {- let { isLoading: s, isHorizontal: c } = f6();- return s ? null : /* @__PURE__ */ (0, V.jsx)(H4, {- tickLine: e,- axisLine: t,- tickMargin: n,- minTickGap: r,- width: i,- type: a ?? (c ? "category" : "number"),- ...o- });-}-function XVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {- let { isHorizontal: i } = f6();- return /* @__PURE__ */ (0, V.jsx)(R2, {- strokeDasharray: e,- vertical: t ?? i,- horizontal: n ?? !i,- ...r- });-}-function ZVe({ variant: e, roundness: t, defaultIndex: n }) {- let { isLoading: r, selectedDataKey: i } = f6();- return r ? null : /* @__PURE__ */ (0, V.jsx)(r6, {- cursor: !1,- defaultIndex: n,- content: /* @__PURE__ */ (0, V.jsx)(n6, {- selected: i,- roundness: t,- variant: e- })- });-}-function QVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {- let { selectedDataKey: i, selectDataKey: a } = f6();- return /* @__PURE__ */ (0, V.jsx)(a6, {- verticalAlign: n,- align: t,- content: /* @__PURE__ */ (0, V.jsx)(i6, {- selected: i,- onSelectChange: a,- isClickable: r,- variant: e- })- });-}-var m6 = (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 = $Ve(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : eHe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = tHe({- isClickable: d,- selectedDataKey: _,- dataKey: o,- enableHoverHighlight: f,- isMouseInChart: p,- isActive: v- }), O = d || f ? { cursor: "pointer" } : void 0, k = C ? [- c,- c,- 0,- 0- ] : c, A = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(qG, {- x: t,- y: n,- width: r,- opacity: D,- height: Math.max(0, i - 3),- radius: k,- fill: T,- filter: E,- stroke: S ? `url(#${a}-colors-${o})` : void 0,- strokeWidth: S ? 1 : void 0- }), C && /* @__PURE__ */ (0, V.jsx)(qG, {- x: t,- y: n - 4,- width: r,- height: 2,- radius: 1,- fill: `url(#${a}-colors-${o})`- })] });- return /* @__PURE__ */ (0, V.jsxs)("g", {- style: O,- onClick: b,- children: [/* @__PURE__ */ (0, V.jsx)(qG, {- ...e,- fill: "transparent"- }), w ? /* @__PURE__ */ (0, V.jsx)(ep.g, {- initial: w.initial,- animate: w.animate,- transition: w.transition,- style: w.style,- children: A- }) : A]- });-}, $Ve = (e, t, n, r, i) => {- if (e === "none" || t < 0 || n <= 0) return null;- let a = n - 1, o = a / 2, s;- switch (e) {- case "right-to-left":- s = a - t;- break;- case "center-out":- s = Math.abs(t - o);- break;- case "edges-in":- s = o - Math.abs(t - o);- break;- default: s = t;- }- let c = s * GVe * 1e3, l = WVe * 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: KVe,- delay: Math.max(0, c - d) / 1e3- };- return r ? {- initial: { scaleX: f },- animate: { scaleX: 1 },- transition: p,- style: { originX: 0 }- } : {- initial: { scaleY: f },- animate: { scaleY: 1 },- transition: p,- style: { originY: 1 }- };-}, eHe = (e, t, n) => {- switch (e) {- case "hatched": return `url(#${t}-hatched-${n})`;- case "duotone": return `url(#${t}-duotone-${n})`;- case "duotone-reverse": return `url(#${t}-duotone-reverse-${n})`;- case "gradient": return `url(#${t}-gradient-${n})`;- case "stripped": return `url(#${t}-stripped-${n})`;- default: return `url(#${t}-colors-${n})`;- }-}, tHe = ({ 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;-}, nHe = ({ id: e, dataKey: t, config: n }) => {- let r = t6(n[t] ?? {});- return /* @__PURE__ */ (0, V.jsx)("linearGradient", {- id: `${e}-colors-${t}`,- x1: "0",- y1: "0",- x2: "0",- y2: "1",- children: r === 1 ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("stop", {- offset: "0%",- stopColor: `var(--color-${t}-0)`- }), /* @__PURE__ */ (0, V.jsx)("stop", {- offset: "100%",- stopColor: `var(--color-${t}-0)`- })] }) : Array.from({ length: r }, (e, n) => {- let i = `${n / (r - 1) * 100}%`;- return /* @__PURE__ */ (0, V.jsx)("stop", {- offset: i,- stopColor: `var(--color-${t}-${n}, var(--color-${t}-0))`- }, i);- })- });-}, rHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsxs)("pattern", {- id: `${e}-hatched-mask-pattern`,- x: "0",- y: "0",- width: "5",- height: "5",- patternUnits: "userSpaceOnUse",- patternTransform: "rotate(-45)",- children: [/* @__PURE__ */ (0, V.jsx)("rect", {- width: "5",- height: "5",- fill: "white",- fillOpacity: .3- }), /* @__PURE__ */ (0, V.jsx)("rect", {- width: "1.5",- height: "5",- fill: "white",- fillOpacity: 1- })]- }),- /* @__PURE__ */ (0, V.jsx)("mask", {- id: `${e}-hatched-mask-${t}`,- children: /* @__PURE__ */ (0, V.jsx)("rect", {- width: "100%",- height: "100%",- fill: `url(#${e}-hatched-mask-pattern)`- })- }),- /* @__PURE__ */ (0, V.jsx)("pattern", {- id: `${e}-hatched-${t}`,- patternUnits: "userSpaceOnUse",- width: "100%",- height: "100%",- children: /* @__PURE__ */ (0, V.jsx)("rect", {- width: "100%",- height: "100%",- fill: `url(#${e}-colors-${t})`,- mask: `url(#${e}-hatched-mask-${t})`- })- })-] }), iHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsxs)("pattern", {- id: `${e}-buffer-hatched-mask-pattern`,- x: "0",- y: "0",- width: "5",- height: "5",- patternUnits: "userSpaceOnUse",- patternTransform: "rotate(-45)",- children: [/* @__PURE__ */ (0, V.jsx)("rect", {- width: "5",- height: "5",- fill: "black",- fillOpacity: 0- }), /* @__PURE__ */ (0, V.jsx)("rect", {- width: "1",- height: "5",- fill: "white",- fillOpacity: 1- })]- }),- /* @__PURE__ */ (0, V.jsx)("mask", {- id: `${e}-buffer-hatched-mask-${t}`,- children: /* @__PURE__ */ (0, V.jsx)("rect", {- width: "100%",- height: "100%",- fill: `url(#${e}-buffer-hatched-mask-pattern)`- })- }),- /* @__PURE__ */ (0, V.jsx)("pattern", {- id: `${e}-buffer-hatched-${t}`,- patternUnits: "userSpaceOnUse",- width: "100%",- height: "100%",- children: /* @__PURE__ */ (0, V.jsx)("rect", {- width: "100%",- height: "100%",- fill: `url(#${e}-colors-${t})`,- mask: `url(#${e}-buffer-hatched-mask-${t})`- })- })-] }), aHe = ({ id: e, dataKey: t, config: n }) => {- let r = t6(n[t] ?? {});- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsxs)("linearGradient", {- id: `${e}-duotone-mask-gradient-${t}`,- gradientUnits: "objectBoundingBox",- x1: "0",- y1: "0",- x2: "1",- y2: "0",- children: [/* @__PURE__ */ (0, V.jsx)("stop", {- offset: "50%",- stopColor: "white",- stopOpacity: .4- }), /* @__PURE__ */ (0, V.jsx)("stop", {- offset: "50%",- stopColor: "white",- stopOpacity: 1- })]- }),- /* @__PURE__ */ (0, V.jsx)("linearGradient", {- id: `${e}-duotone-colors-${t}`,- gradientUnits: "objectBoundingBox",- x1: "0",- y1: "0",- x2: "0",- y2: "1",- children: r === 1 ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("stop", {- offset: "0%",- stopColor: `var(--color-${t}-0)`- }), /* @__PURE__ */ (0, V.jsx)("stop", {- offset: "100%",- stopColor: `var(--color-${t}-0)`- })] }) : Array.from({ length: r }, (e, n) => {- let i = `${n / (r - 1) * 100}%`;- return /* @__PURE__ */ (0, V.jsx)("stop", {- offset: i,- stopColor: `var(--color-${t}-${n}, var(--color-${t}-0))`- }, i);- })- }),- /* @__PURE__ */ (0, V.jsx)("mask", {- id: `${e}-duotone-mask-${t}`,- maskContentUnits: "objectBoundingBox",- children: /* @__PURE__ */ (0, V.jsx)("rect", {- x: "0",- y: "0",- width: "1",- height: "1",- fill: `url(#${e}-duotone-mask-gradient-${t})`- })- }),- /* @__PURE__ */ (0, V.jsx)("pattern", {- id: `${e}-duotone-${t}`,- patternUnits: "objectBoundingBox",- patternContentUnits: "objectBoundingBox",- width: "1",- height: "1",- children: /* @__PURE__ */ (0, V.jsx)("rect", {- x: "0",- y: "0",- width: "1",- height: "1",- fill: `url(#${e}-duotone-colors-${t})`,- mask: `url(#${e}-duotone-mask-${t})`- })- })- ] });-}, oHe = ({ id: e, dataKey: t, config: n }) => {- let r = t6(n[t] ?? {});- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsxs)("linearGradient", {- id: `${e}-duotone-reverse-mask-gradient-${t}`,- gradientUnits: "objectBoundingBox",- x1: "0",- y1: "0",- x2: "1",- y2: "0",- children: [/* @__PURE__ */ (0, V.jsx)("stop", {- offset: "50%",- stopColor: "white",- stopOpacity: 1- }), /* @__PURE__ */ (0, V.jsx)("stop", {- offset: "50%",- stopColor: "white",- stopOpacity: .4- })]- }),- /* @__PURE__ */ (0, V.jsx)("linearGradient", {- id: `${e}-duotone-reverse-colors-${t}`,- gradientUnits: "objectBoundingBox",- x1: "0",- y1: "0",- x2: "0",- y2: "1",- children: r === 1 ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("stop", {- offset: "0%",- stopColor: `var(--color-${t}-0)`- }), /* @__PURE__ */ (0, V.jsx)("stop", {- offset: "100%",- stopColor: `var(--color-${t}-0)`- })] }) : Array.from({ length: r }, (e, n) => {- let i = `${n / (r - 1) * 100}%`;- return /* @__PURE__ */ (0, V.jsx)("stop", {- offset: i,- stopColor: `var(--color-${t}-${n}, var(--color-${t}-0))`- }, i);- })- }),- /* @__PURE__ */ (0, V.jsx)("mask", {- id: `${e}-duotone-reverse-mask-${t}`,- maskContentUnits: "objectBoundingBox",- children: /* @__PURE__ */ (0, V.jsx)("rect", {- x: "0",- y: "0",- width: "1",- height: "1",- fill: `url(#${e}-duotone-reverse-mask-gradient-${t})`- })- }),- /* @__PURE__ */ (0, V.jsx)("pattern", {- id: `${e}-duotone-reverse-${t}`,- patternUnits: "objectBoundingBox",- patternContentUnits: "objectBoundingBox",- width: "1",- height: "1",- children: /* @__PURE__ */ (0, V.jsx)("rect", {- x: "0",- y: "0",- width: "1",- height: "1",- fill: `url(#${e}-duotone-reverse-colors-${t})`,- mask: `url(#${e}-duotone-reverse-mask-${t})`- })- })- ] });-}, sHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsxs)("linearGradient", {- id: `${e}-gradient-mask-gradient`,+function _He({ 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: k6(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",y1: "0",x2: "0",y2: "1",children: [/* @__PURE__ */ (0, V.jsx)("stop", {- offset: "20%",+ offset: "0%",stopColor: "white",- stopOpacity: 1+ stopOpacity: .15}), /* @__PURE__ */ (0, V.jsx)("stop", {- offset: "90%",+ offset: "100%",stopColor: "white",stopOpacity: 0})]- }),- /* @__PURE__ */ (0, V.jsx)("mask", {- id: `${e}-gradient-mask-${t}`,- children: /* @__PURE__ */ (0, V.jsx)("rect", {- width: "100%",- height: "100%",- fill: `url(#${e}-gradient-mask-gradient)`- })- }),- /* @__PURE__ */ (0, V.jsx)("pattern", {- id: `${e}-gradient-${t}`,- patternUnits: "userSpaceOnUse",- width: "100%",- height: "100%",- children: /* @__PURE__ */ (0, V.jsx)("rect", {- width: "100%",- height: "100%",- fill: `url(#${e}-colors-${t})`,- mask: `url(#${e}-gradient-mask-${t})`- })- })-] }), cHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsxs)("linearGradient", {- id: `${e}-stripped-mask-gradient`,- x1: "0",- y1: "0",- x2: "0",- y2: "1",- children: [/* @__PURE__ */ (0, V.jsx)("stop", {+ }), u.map(({ dataKey: e, colorsCount: t }) => {+ let n = t === 1 ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("stop", {offset: "0%",- stopColor: "white",- stopOpacity: .2+ stopColor: `var(--color-${e}-0)`}), /* @__PURE__ */ (0, V.jsx)("stop", {offset: "100%",- stopColor: "white",- stopOpacity: .2- })]- }),- /* @__PURE__ */ (0, V.jsx)("mask", {- id: `${e}-stripped-mask-${t}`,- children: /* @__PURE__ */ (0, V.jsx)("rect", {- width: "100%",- height: "100%",- fill: `url(#${e}-stripped-mask-gradient)`- })- }),- /* @__PURE__ */ (0, V.jsx)("pattern", {- id: `${e}-stripped-${t}`,- patternUnits: "userSpaceOnUse",- width: "100%",- height: "100%",- children: /* @__PURE__ */ (0, V.jsx)("rect", {- width: "100%",- height: "100%",- fill: `url(#${e}-colors-${t})`,- mask: `url(#${e}-stripped-mask-${t})`- })- })-] }), lHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)("filter", {- id: `${e}-bar-glow-${t}`,- x: "-100%",- y: "-100%",- width: "300%",- height: "300%",- children: [- /* @__PURE__ */ (0, V.jsx)("feGaussianBlur", {- in: "SourceGraphic",- stdDeviation: "8",- result: "blur"- }),- /* @__PURE__ */ (0, V.jsx)("feColorMatrix", {- in: "blur",- type: "matrix",- values: "1 0 0 0 0\n 0 1 0 0 0\n 0 0 1 0 0\n 0 0 0 0.5 0",- result: "glow"- }),- /* @__PURE__ */ (0, V.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, V.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, V.jsx)("feMergeNode", { in: "SourceGraphic" })] })- ]-}), uHe = (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 dHe(e, t = 12) {- let [n, r] = (0, B.useState)(!1), i = (0, B.useCallback)(() => {- e && r((e) => !e);- }, [e]);- return {- loadingData: (0, B.useMemo)(() => kVe(t, 20, 80), [t, n]),- onShimmerExit: i- };-}-var fHe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(k4, {- dataKey: VVe,- fill: "currentColor",- fillOpacity: .15,- radius: u6,- isAnimationActive: !1,- legendType: "none",- style: { mask: `url(#${e}-loading-mask)` }-}), /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)(pHe, {- chartId: e,- onShimmerExit: t-}) })] }), pHe = ({ chartId: e, onShimmerExit: t }) => {- let n = uHe(), r = (0, B.useRef)(-1);- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsx)("linearGradient", {- id: `${e}-loading-mask-gradient`,+ stopColor: `var(--color-${e}-0)`+ })] }) : Array.from({ length: t }, (n, r) => /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: `${r / (t - 1) * 100}%`,+ stopColor: `var(--color-${e}-${r}, var(--color-${e}-0))`+ }, r));+ return /* @__PURE__ */ (0, V.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("linearGradient", {+ id: `${a}-zm-${e}`,x1: "0",y1: "0",- x2: "1",- y2: "0",- children: n.map(({ offset: e, opacity: t }) => /* @__PURE__ */ (0, V.jsx)("stop", {- offset: e,- stopColor: "white",- stopOpacity: t- }, e))- }),- /* @__PURE__ */ (0, V.jsx)("pattern", {- id: `${e}-loading-mask-pattern`,- patternUnits: "objectBoundingBox",- patternContentUnits: "objectBoundingBox",- patternTransform: "rotate(25)",- width: 3,- height: "1",- x: "0",- y: "0",- children: /* @__PURE__ */ (0, V.jsx)(ep.rect, {- y: "0",- width: "1",- height: "1",- fill: `url(#${e}-loading-mask-gradient)`,- initial: { x: -1 },- animate: { x: 2 },- transition: {- duration: HVe / 1e3,- ease: "linear",- repeat: Infinity,- repeatType: "loop"- },- onUpdate: (e) => {- let n = typeof e.x == "number" ? e.x : -1, i = r.current;- n >= 1 && i < 1 && t(), r.current = n;- }+ x2: "0",+ y2: "1",+ children: n+ }), r === "area" && /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("mask", {+ id: `${a}-zm-fill-mask-${e}`,+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${a}-zm-vertical-fade)`})- }),- /* @__PURE__ */ (0, V.jsx)("mask", {- id: `${e}-loading-mask`,- maskUnits: "userSpaceOnUse",+ }), /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: `${a}-zm-fill-${e}`,+ patternUnits: "userSpaceOnUse",+ width: "100%",+ height: "100%",children: /* @__PURE__ */ (0, V.jsx)("rect", {width: "100%",height: "100%",- fill: `url(#${e}-loading-mask-pattern)`+ fill: `url(#${a}-zm-${e})`,+ mask: `url(#${a}-zm-fill-mask-${e})`})+ })] })] }, e);+ })] });+ if (r === "line") return /* @__PURE__ */ (0, V.jsx)(vW, {+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, V.jsxs)(IVe, {+ data: e,+ margin: {+ top: 4,+ right: 0,+ bottom: 0,+ left: 0+ },+ children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, V.jsx)(k4, {+ type: i,+ dataKey: e,+ stroke: `url(#${a}-zm-${e})`,+ strokeWidth: 1,+ strokeOpacity: .5,+ strokeDasharray: d,+ connectNulls: c,+ dot: !1,+ activeDot: !1,+ isAnimationActive: !1+ }, e))]})- ] });-};-p6.Bar = qVe, p6.XAxis = JVe, p6.YAxis = YVe, p6.Grid = XVe, p6.Tooltip = ZVe, p6.Legend = QVe, p6.Brush = o6;-//#endregion-//#region src/react/charts/chart-card.tsx-var h6 = `${CE({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;-function g6({ 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", {- className: "flex min-w-0 flex-col gap-1",- children: [/* @__PURE__ */ (0, V.jsx)("h3", {- className: "text-title-2-medium text-text-primary",- children: e- }), /* @__PURE__ */ (0, V.jsx)("b", {- className: "text-display-4-medium tabular-nums text-text-primary",- children: t- })]- }), /* @__PURE__ */ (0, V.jsx)("small", {- className: "min-w-0 text-caption-1-regular break-words text-text-secondary",- children: n- })]- });-}-var _6 = [- "var(--color-chart-1)",- "var(--color-chart-2)",- "var(--color-chart-3)",- "var(--color-chart-4)",- "var(--color-chart-5)",- "var(--color-chart-6)"-], v6 = (e) => ({ light: [e] }), y6 = (e) => `s${e}`;-function mHe(e) {- return Object.fromEntries(e.map((e, t) => [y6(t), {- label: e,- colors: v6(_6[t % _6.length])- }]));-}-//#endregion-//#region src/react/charts/chart-tip.tsx-var b6 = "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 x6({ 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", {- className: "flex flex-1 items-center justify-between gap-4 leading-none",- children: [/* @__PURE__ */ (0, V.jsx)("span", {- className: "text-muted-foreground",- children: t- }), /* @__PURE__ */ (0, V.jsx)("span", {- className: "font-mono font-medium tabular-nums text-foreground",- children: n.toLocaleString()- })]- })]- });-}-var S6 = "size-2.5 shrink-0 rounded-xs";-function hHe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {- let { config: o } = X3(), 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: b6,- 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 = e6(o, e, a), c = i ? n[i] : e.value;- return /* @__PURE__ */ (0, V.jsx)(x6, {- name: s?.label ?? e.name,- value: Number(c ?? 0),- swatch: /* @__PURE__ */ (0, V.jsx)("i", {- className: S6,- style: { background: `var(--color-${a}-0)` }- })- }, a + t);- })]});-}-function C6({ nameKey: e, valueKey: t, hideLabel: n }) {- return /* @__PURE__ */ (0, V.jsx)(r6, {- cursor: !1,- content: /* @__PURE__ */ (0, V.jsx)(hHe, {- nameKey: e,- valueKey: t,- hideLabel: n+ if (r === "bar") {+ let n = l ?? 3;+ return /* @__PURE__ */ (0, V.jsx)(vW, {+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, V.jsxs)(d6, {+ data: e,+ margin: {+ top: 2,+ right: 0,+ bottom: 0,+ left: 0+ },+ barGap: 2,+ barSize: 14,+ children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, V.jsx)(r3, {+ dataKey: e,+ fill: `url(#${a}-zm-${e})`,+ fillOpacity: .35,+ stackId: o ? "zm-stack" : void 0,+ isAnimationActive: !1,+ radius: [+ n,+ n,+ n,+ n+ ]+ }, e))]+ })+ });+ }+ return /* @__PURE__ */ (0, V.jsx)(vW, {+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, V.jsxs)($Ve, {+ data: e,+ margin: {+ top: 4,+ right: 0,+ bottom: 0,+ left: 0+ },+ children: [/* @__PURE__ */ (0, V.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, V.jsx)(W4, {+ type: i,+ dataKey: e,+ stroke: `url(#${a}-zm-${e})`,+ fill: `url(#${a}-zm-fill-${e})`,+ strokeWidth: 1,+ strokeOpacity: .5,+ strokeDasharray: d,+ connectNulls: c,+ fillOpacity: 1,+ stackId: o ? "zm-stack" : void 0,+ dot: !1,+ activeDot: !1,+ isAnimationActive: !1+ }, e))]})});}-//#endregion-//#region src/react/charts/bar-card.tsx-var w6 = [0, (e) => e * 1.2], T6 = (e) => ({- position: e,- className: "fill-text-secondary",- formatter: (e) => Number(e).toLocaleString()-});-function E6({ 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- })), s = o.reduce((e, t) => e + t.value, 0);- if (!s) return null;- let c = a === "horizontal";- return /* @__PURE__ */ (0, V.jsxs)("section", {- className: h6,- "aria-label": e,- children: [/* @__PURE__ */ (0, V.jsx)(g6, {- title: e,- figure: s.toLocaleString(),- note: t- }), /* @__PURE__ */ (0, V.jsxs)(p6, {- data: o,- config: { value: {- label: n,- colors: v6(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)(p6.Grid, {}),- c ? /* @__PURE__ */ (0, V.jsx)(p6.YAxis, {- dataKey: "name",- interval: 0- }) : /* @__PURE__ */ (0, V.jsx)(p6.XAxis, {- dataKey: "name",- interval: 0- }),- c ? /* @__PURE__ */ (0, V.jsx)(p6.XAxis, {- hide: !0,- domain: w6- }) : /* @__PURE__ */ (0, V.jsx)(p6.YAxis, {- hide: !0,- domain: w6- }),- /* @__PURE__ */ (0, V.jsx)(p6.Bar, {- dataKey: "value",- enableHoverHighlight: !0,- barProps: {- dataKey: "value",- label: T6(c ? "right" : "top")- }- }),- /* @__PURE__ */ (0, V.jsx)(C6, {})- ]- })]- });-}-//#endregion-//#region src/react/charts/heat.ts-var D6 = [- "周一",- "周二",- "周三",- "周四",- "周五",- "周六",- "周日"-], O6 = (e, t) => e ? Math.max(.12, e / t) : 0;-function gHe(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;- !Number.isInteger(e) || e < 0 || e > 6 || !Number.isInteger(r) || r < 0 || r > 23 || !Number.isFinite(i) || i < 0 || (t[e][r] = (t[e][r] || 0) + i);- }- let n = t.flat(), r = Math.max(1, ...n);- return {- cells: t.flatMap((e, t) => e.map((e, n) => ({- key: `${t}-${n}`,- label: `${D6[t]} ${n}:00`,- count: e,- share: O6(e, r)- }))),- total: n.reduce((e, t) => e + t, 0)- };-}-function _He(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,- start: "",- end: ""- };- if (!t.length) return n;- let r = /* @__PURE__ */ new Date(`${t.at(-1).date}T00:00:00Z`), i = new Date(r);- i.setUTCDate(i.getUTCDate() - 90);- let a = new Map(t.map((e) => [e.date, e.count])), o = Math.max(1, ...t.map((e) => e.count)), s = Array.from({ length: 91 }, (e, t) => {- let n = new Date(i);- n.setUTCDate(i.getUTCDate() + t);- let r = n.toISOString().slice(0, 10), s = a.get(r) || 0;- return {- key: r,- label: r,- count: s,- share: O6(s, o)- };- });- return {- cells: s,- total: s.reduce((e, t) => e + t.count, 0),- start: i.toISOString().slice(0, 10),- end: t.at(-1).date+function vHe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {+ let [r, i] = B.useState({+ startIndex: t,+ endIndex: n ?? Math.max(0, e.length - 1)+ }), a = B.useDeferredValue(r);+ return (0, B.useEffect)(() => {+ i({+ startIndex: 0,+ endIndex: Math.max(0, e.length - 1)+ });+ }, [e.length]), {+ range: r,+ visibleData: B.useMemo(() => e.slice(a.startIndex, a.endIndex + 1), [+ e,+ a.startIndex,+ a.endIndex+ ]),+ brushProps: {+ startIndex: r.startIndex,+ endIndex: r.endIndex,+ onChange: i+ }};}-//#endregion-//#region src/react/charts/heat-card.tsx-var k6 = 14, A6 = 17, j6 = {- 4: {- fill: "fill-chart-4",- dot: "bg-chart-4"- },- 5: {- fill: "fill-chart-5",- dot: "bg-chart-5"- }-}, vHe = {- start: "translate-x-0",- center: "-translate-x-1/2",- end: "-translate-x-full"+var yHe = {+ dots: ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "20",+ height: "20",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, V.jsx)("circle", {+ className: "text-border dark:text-border",+ cx: "2",+ cy: "2",+ r: "1",+ fill: "currentColor"+ })+ }),+ grid: ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "20",+ height: "20",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, V.jsx)("path", {+ className: "text-border dark:text-border",+ d: "M 20 0 L 0 0 0 20",+ fill: "none",+ stroke: "currentColor",+ strokeWidth: "0.5"+ })+ }),+ plus: ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "16",+ height: "16",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, V.jsx)("path", {+ className: "text-border dark:text-border",+ d: "M 8 4 L 8 12 M 4 8 L 12 8",+ fill: "none",+ stroke: "currentColor",+ strokeWidth: "0.5",+ strokeLinecap: "round"+ })+ }),+ bubbles: ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "100",+ height: "100",+ patternUnits: "userSpaceOnUse",+ patternTransform: "scale(0.6667)",+ children: /* @__PURE__ */ (0, V.jsx)("path", {+ className: "text-border dark:text-border",+ d: "M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z",+ fill: "currentColor",+ fillOpacity: "0.4",+ fillRule: "evenodd"+ })+ }),+ "cross-hatch": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "20",+ height: "20",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, V.jsx)("path", {+ className: "text-border/60 dark:text-border/50",+ d: "M 0 0 L 20 20 M 20 0 L 0 20",+ fill: "none",+ stroke: "currentColor",+ strokeWidth: "0.5"+ })+ }),+ "diagonal-lines": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "6",+ height: "6",+ patternUnits: "userSpaceOnUse",+ patternTransform: "rotate(45)",+ children: /* @__PURE__ */ (0, V.jsx)("line", {+ className: "text-border dark:text-border",+ x1: "0",+ y1: "0",+ x2: "0",+ y2: "6",+ stroke: "currentColor",+ strokeWidth: "0.5"+ })+ }),+ "falling-triangles": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "18",+ height: "36",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, V.jsx)("path", {+ className: "text-border dark:text-border",+ d: "M2 6h12L8 18 2 6zm18 36h12l-6 12-6-12z",+ transform: "scale(0.5)",+ fill: "currentColor",+ fillOpacity: "0.4"+ })+ }),+ "4-pointed-star": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "16",+ height: "16",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, V.jsx)("polygon", {+ className: "text-border dark:text-border",+ fillRule: "evenodd",+ points: "5 3 8 4 5 5 4 8 3 5 0 4 3 3 4 0 5 3",+ fill: "currentColor",+ fillOpacity: "0.4"+ })+ }),+ "tiny-checkers": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "8",+ height: "8",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, V.jsx)("path", {+ className: "text-border dark:text-border",+ fillRule: "evenodd",+ d: "M0 0h4v4H0V0zm4 4h4v4H4V4z",+ fill: "currentColor",+ fillOpacity: "0.2"+ })+ }),+ "overlapping-circles": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "40",+ height: "40",+ patternUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, V.jsx)("path", {+ className: "text-border dark:text-border",+ fillRule: "evenodd",+ d: "M25 25c0-2.762 2.238-5 5-5s5 2.238 5 5-2.238 5-5 5c0 2.762-2.238 5-5 5s-5-2.238-5-5 2.238-5 5-5zM5 5c0-2.762 2.238-5 5-5s5 2.238 5 5-2.238 5-5 5c0 2.762-2.238 5-5 5S0 12.762 0 10s2.238-5 5-5zm5 4c2.209 0 4-1.791 4-4s-1.791-4-4-4-4 1.791-4 4 1.791 4 4 4zm20 20c2.209 0 4-1.791 4-4s-1.791-4-4-4-4 1.791-4 4 1.791 4 4 4z",+ fill: "currentColor",+ fillOpacity: "0.4"+ })+ }),+ "wiggle-lines": ({ id: e }) => /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: e,+ x: "0",+ y: "0",+ width: "52",+ height: "26",+ patternUnits: "userSpaceOnUse",+ patternTransform: "scale(0.6)",+ children: /* @__PURE__ */ (0, V.jsx)("path", {+ className: "text-border dark:text-border",+ d: "M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z",+ fill: "currentColor",+ fillOpacity: "0.4"+ })+ })};-function yHe({ 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 ${b6} ${vHe[a]}`,- children: [/* @__PURE__ */ (0, V.jsx)("div", {- className: "font-medium text-foreground",- children: e.label- }), /* @__PURE__ */ (0, V.jsx)(x6, {- name: t,- value: e.count,- swatch: /* @__PURE__ */ (0, V.jsx)("i", { className: `${S6} ${j6[n].dot}` })- })]- });-}-function M6({ 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 * A6, m = f + a * A6, h = (e) => ({- x: d + e % i * A6,- y: f + Math.floor(e / i) * A6- }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + k6 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {- start: _.x,- center: _.x + k6 / 2,- end: _.x + k6- }[y] : 0;- return /* @__PURE__ */ (0, V.jsxs)("section", {- className: h6,- children: [- /* @__PURE__ */ (0, V.jsx)(g6, {- title: e,- figure: (g ? g.count : r).toLocaleString(),- note: g ? g.label : t.unit- }),- /* @__PURE__ */ (0, V.jsxs)("div", {- className: "relative",- children: [/* @__PURE__ */ (0, V.jsx)("div", {- className: "min-w-0 overflow-x-auto",- children: /* @__PURE__ */ (0, V.jsxs)("svg", {- role: "img",- "aria-label": e,- onPointerLeave: () => u(-1),- viewBox: `0 0 ${p} ${m}`,- className: "block h-auto min-w-80 w-full",- children: [o, n.map((e, n) => {- let { x: r, y: i } = h(n);- return /* @__PURE__ */ (0, V.jsx)("rect", {- tabIndex: 0,- role: "img",- "aria-label": `${e.label},${e.count} ${t.cellUnit}`,- x: r,- y: i,- width: k6,- height: k6,- 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 ${j6[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)(yHe, {- cell: g,- series: t.series,- tone: c,- anchor: y,- left: b / p * 100,- top: _.y / m * 100- }) : null]+function L6({ variant: e }) {+ let t = (0, B.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = yHe[e];+ return /* @__PURE__ */ (0, V.jsxs)(S$, {+ zIndex: -1,+ children: [/* @__PURE__ */ (0, V.jsxs)("defs", { children: [+ /* @__PURE__ */ (0, V.jsx)(a, { id: n }),+ /* @__PURE__ */ (0, V.jsx)("filter", {+ id: i,+ children: /* @__PURE__ */ (0, V.jsx)("feGaussianBlur", { stdDeviation: "25" })}),- /* @__PURE__ */ (0, V.jsx)("footer", {- className: "flex flex-wrap justify-between gap-3 text-caption-1-regular text-text-secondary",- children: s+ /* @__PURE__ */ (0, V.jsx)("mask", {+ id: r,+ maskUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ x: "8%",+ y: "20%",+ width: "85%",+ height: "60%",+ fill: "white",+ filter: `url(#${i})`+ })})- ]- });-}-var bHe = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [D6.map((e, t) => /* @__PURE__ */ (0, V.jsx)("text", {- x: 0,- y: 18 + t * A6 + 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 * A6,- y: 8,- dominantBaseline: "middle",- className: "fill-text-secondary text-caption-1-regular",- children: t-}, t))] });-function N6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {- let o = gHe(e), s = _He(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)(M6, {- title: t,- words: r,- tone: i,- cells: o.cells,- total: o.total,- columns: 24,- rows: 7,- axis: bHe,- 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)(M6, {- title: n,- words: r,- tone: i,- cells: s.cells,- total: s.total,- columns: 13,- rows: 7,- footer: /* @__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: h6,- children: [/* @__PURE__ */ (0, V.jsx)("h3", {- className: "text-title-2-medium text-text-primary",- children: t- }), /* @__PURE__ */ (0, V.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: a+ ] }), /* @__PURE__ */ (0, V.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${n})`,+ mask: `url(#${r})`})]- }) : null;-}-//#endregion-//#region src/react/components/expandable-ranking.tsx-function P6({ 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;- if (!e || !u) return;- let t = () => {- let t = e.children[Math.min(n, e.children.length) - 1];- !t || !e.offsetWidth || (e.style.setProperty("--ranking-collapsed-height", `${t.offsetTop - e.offsetTop + t.offsetHeight}px`), e.style.setProperty("--ranking-expanded-height", `${e.scrollHeight}px`));- };- t();- let r = new ResizeObserver(t);- return r.observe(e), () => r.disconnect();- }, [- u,- n,- l.length- ]);- let d = l.map((e, t) => !(0, B.isValidElement)(e) || t < n ? e : (0, B.cloneElement)(e, { inert: !a || void 0 }));- return /* @__PURE__ */ (0, V.jsxs)("div", {- "data-expandable-ranking": !0,- "data-expandable": u || void 0,- "data-expanded": a || void 0,- "data-animating": s || void 0,- children: [/* @__PURE__ */ (0, V.jsx)("ol", {- id: r,- ref: i,- "data-expandable-ranking-list": !0,- className: t,- onTransitionEnd: (e) => {- e.target === i.current && e.propertyName === "max-height" && c(!1);- },- children: d- }), u ? /* @__PURE__ */ (0, V.jsx)("button", {- type: "button",- "data-ranking-toggle": !0,- "aria-controls": r,- "aria-expanded": a,- "aria-label": a ? "收起排名" : "展开更多排名",- onClick: () => {- c(!0), o((e) => !e);- },- children: /* @__PURE__ */ (0, V.jsx)(sT, { "aria-hidden": !0 })- }) : null]});}//#endregion-//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx-var xHe = "30%", SHe = "100%", F6 = 5, I6 = 14, CHe = 5, L6 = 1500, R6 = (0, B.createContext)(null);-function z6() {- let e = (0, B.use)(R6);- if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");+//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx+var R6 = 2, bHe = "loading", xHe = 2e3, SHe = "evil-stacked", CHe = .5, wHe = .05, THe = [+ 0,+ .7,+ .5,+ 1+], z6 = (0, B.createContext)(null);+function B6() {+ let e = (0, B.use)(z6);+ if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");return e;}-function B6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = xHe, outerRadius: l = SHe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {- let m = (0, B.useId)().replace(/:/g, ""), [h, g] = (0, B.useState)(u), _ = AHe(f), v = DHe(o), y = (0, B.useCallback)((e, t) => {- g(e), d?.(e === null ? null : {- dataKey: e,- value: t ?? 0- });- }, [d]), b = (0, B.useMemo)(() => t.map((e) => ({- ...e,- fill: `url(#${m}-radial-colors-${e[n]})`- })), [- t,- n,- m- ]), x = (0, B.useMemo)(() => ({+function V6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = R6, 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 } = WHe(m, h), { visibleData: T, brushProps: E } = vHe({ data: t }), D = (0, B.useMemo)(() => {+ let e = B.Children.toArray(n), t = e.find((e) => (0, B.isValidElement)(e) && e.type === P6), r = (0, B.isValidElement)(t) ? t.props : {};+ return {+ slot: {+ present: (0, B.isValidElement)(t),+ height: r.height,+ formatLabel: r.formatLabel,+ onChange: r.onChange+ },+ chartChildren: e.filter((e) => !((0, B.isValidElement)(e) && e.type === P6))+ };+ }, [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);+ }, [p]), N = (0, B.useMemo)(() => ({config: e,- nameKey: n,- chartId: m,- isLoading: f,- selectedBar: h,- selectBar: y+ isStacked: k,+ isHorizontal: A,+ isLoading: m,+ barRadius: s,+ animationType: c,+ introStartedAt: v,+ dataLength: j.length,+ selectedDataKey: y,+ selectDataKey: M,+ isMouseInChart: x}), [e,- n,+ k,+ A,m,- f,- h,- y+ s,+ c,+ v,+ j.length,+ y,+ M,+ x]);- return /* @__PURE__ */ (0, V.jsx)(R6, {- value: x,- children: /* @__PURE__ */ (0, V.jsxs)(Z3, {- className: i,+ return /* @__PURE__ */ (0, V.jsx)(z6, {+ value: N,+ children: /* @__PURE__ */ (0, V.jsxs)(T6, {+ className: r,config: e,- children: [/* @__PURE__ */ (0, V.jsx)(Q3, { isLoading: f }), /* @__PURE__ */ (0, V.jsxs)(EVe, {- id: m,- data: f ? _ : b,- innerRadius: c,- outerRadius: l,- startAngle: v.startAngle,- endAngle: v.endAngle,- cx: v.cx,- cy: v.cy,- ...a,+ footer: O && !m && /* @__PURE__ */ (0, V.jsx)(gHe, {+ data: t,+ chartConfig: e,+ xDataKey: g,+ variant: "bar",+ barRadius: s,+ height: D.slot.height,+ formatLabel: D.slot.formatLabel,+ stacked: k,+ skipStyle: !0,+ className: "mt-1",+ ...E,+ onChange: (e) => {+ E.onChange(e), D.slot.onChange?.(e);+ }+ }),+ children: [/* @__PURE__ */ (0, V.jsx)(E6, { isLoading: m }), /* @__PURE__ */ (0, V.jsxs)(d6, {+ id: _,+ accessibilityLayer: !0,+ layout: A ? "vertical" : "horizontal",+ data: m ? C : j,+ barGap: l,+ barCategoryGap: u,+ stackOffset: a === "percent" ? "expand" : void 0,+ onMouseEnter: () => S(!0),+ onMouseLeave: () => S(!1),+ ...i,children: [- s != null && s > 0 && /* @__PURE__ */ (0, V.jsx)(U1, {- type: "number",- domain: [0, s],- tick: !1,- axisLine: !1- }),- p && /* @__PURE__ */ (0, V.jsx)(l6, { variant: p }),- r,- f && /* @__PURE__ */ (0, V.jsx)(jHe, {}),- /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)(OHe, {- config: e,- chartId: m- }) })+ d && /* @__PURE__ */ (0, V.jsx)(L6, { variant: d }),+ /* @__PURE__ */ (0, V.jsx)(Y2, { color: "white" }),+ D.chartChildren,+ m && /* @__PURE__ */ (0, V.jsx)(GHe, {+ chartId: _,+ onShimmerExit: w+ })]})]})});}-function wHe({ dataKey: e, cornerRadius: t = F6, barSize: n = I6, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {- let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = z6();- return s ? null : /* @__PURE__ */ (0, V.jsx)(f2, {+function EHe({ 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 } = B6(), 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,dataKey: e,- cornerRadius: t,- barSize: n,- background: r,- className: "drop-shadow-sm",- style: i ? { cursor: "pointer" } : void 0,- onClick: (t, n) => {- if (!i) return;- let r = t, a = r?.[o] ?? String(n), s = Number(r?.[e] ?? 0);- l(c === a ? null : a, s);- },- shape: (e) => {- let t = e[o], n = c === null || c === t;- return /* @__PURE__ */ (0, V.jsx)(iK, {- ...e,- opacity: i && !n ? .15 : 1,- className: "transition-opacity duration-200"- });- },+ variant: t,+ barRadius: S,+ glowing: o,+ bufferBar: s,+ isClickable: i,+ enableHoverHighlight: a,+ isMouseInChart: y,+ isHorizontal: d,+ introStartedAt: h,+ selectedDataKey: _,+ dataLength: g,+ onClick: () => {+ i && v(C ? null : e);+ }+ };+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(r3, {+ dataKey: e,+ stackId: u ? SHe : void 0,+ fill: `url(#${b}-colors-${e})`,+ radius: S,+ isAnimationActive: !1,+ style: i || a ? { cursor: "pointer" } : void 0,+ shape: (e) => /* @__PURE__ */ (0, V.jsx)(H6, {+ ...e,+ ...T,+ animationType: w+ }),+ activeBar: (e) => /* @__PURE__ */ (0, V.jsx)(H6, {+ ...e,+ ...T,+ animationType: "none"+ }),+ ...c+ }), /* @__PURE__ */ (0, V.jsxs)("defs", { children: [+ /* @__PURE__ */ (0, V.jsx)(FHe, {+ id: b,+ dataKey: e,+ config: l+ }),+ t === "hatched" && /* @__PURE__ */ (0, V.jsx)(IHe, {+ id: b,+ dataKey: e+ }),+ t === "duotone" && /* @__PURE__ */ (0, V.jsx)(RHe, {+ id: b,+ dataKey: e,+ config: l+ }),+ t === "duotone-reverse" && /* @__PURE__ */ (0, V.jsx)(zHe, {+ id: b,+ dataKey: e,+ config: l+ }),+ t === "gradient" && /* @__PURE__ */ (0, V.jsx)(BHe, {+ id: b,+ dataKey: e+ }),+ t === "stripped" && /* @__PURE__ */ (0, V.jsx)(VHe, {+ id: b,+ dataKey: e+ }),+ s && /* @__PURE__ */ (0, V.jsx)(LHe, {+ id: b,+ dataKey: e+ }),+ o && /* @__PURE__ */ (0, V.jsx)(HHe, {+ id: b,+ dataKey: e+ })+ ] })] });+}+function DHe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {+ let { isLoading: o, isHorizontal: s } = B6();+ return o ? null : /* @__PURE__ */ (0, V.jsx)(d3, {+ tickLine: e,+ axisLine: t,+ tickMargin: n,+ minTickGap: r,+ type: i ?? (s ? "number" : "category"),...a});}-function THe({ variant: e, roundness: t, defaultIndex: n }) {- let { nameKey: r, isLoading: i } = z6();- return i ? null : /* @__PURE__ */ (0, V.jsx)(r6, {- defaultIndex: n,+function OHe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {+ let { isLoading: s, isHorizontal: c } = B6();+ return s ? null : /* @__PURE__ */ (0, V.jsx)(g3, {+ tickLine: e,+ axisLine: t,+ tickMargin: n,+ minTickGap: r,+ width: i,+ type: a ?? (c ? "category" : "number"),+ ...o+ });+}+function kHe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {+ let { isHorizontal: i } = B6();+ return /* @__PURE__ */ (0, V.jsx)(f4, {+ strokeDasharray: e,+ vertical: t ?? i,+ horizontal: n ?? !i,+ ...r+ });+}+function AHe({ variant: e, roundness: t, defaultIndex: n }) {+ let { isLoading: r, selectedDataKey: i } = B6();+ return r ? null : /* @__PURE__ */ (0, V.jsx)(j6, {cursor: !1,- content: /* @__PURE__ */ (0, V.jsx)(n6, {- nameKey: r,- hideLabel: !0,+ defaultIndex: n,+ content: /* @__PURE__ */ (0, V.jsx)(A6, {+ selected: i,roundness: t,variant: e})});}-function EHe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {- let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = z6();- return a ? null : /* @__PURE__ */ (0, V.jsx)(a6, {+function jHe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {+ let { selectedDataKey: i, selectDataKey: a } = B6();+ return /* @__PURE__ */ (0, V.jsx)(N6, {verticalAlign: n,align: t,- content: /* @__PURE__ */ (0, V.jsx)(i6, {- selected: o,- onSelectChange: s,+ content: /* @__PURE__ */ (0, V.jsx)(M6, {+ selected: i,+ onSelectChange: a,isClickable: r,- nameKey: i,variant: e})});-}-function DHe(e) {+}+var H6 = (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 = MHe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : NHe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = PHe({+ isClickable: d,+ selectedDataKey: _,+ dataKey: o,+ enableHoverHighlight: f,+ isMouseInChart: p,+ isActive: v+ }), O = d || f ? { cursor: "pointer" } : void 0, k = C ? [+ c,+ c,+ 0,+ 0+ ] : c, A = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(xK, {+ x: t,+ y: n,+ width: r,+ opacity: D,+ height: Math.max(0, i - 3),+ radius: k,+ fill: T,+ filter: E,+ stroke: S ? `url(#${a}-colors-${o})` : void 0,+ strokeWidth: S ? 1 : void 0+ }), C && /* @__PURE__ */ (0, V.jsx)(xK, {+ x: t,+ y: n - 4,+ width: r,+ height: 2,+ radius: 1,+ fill: `url(#${a}-colors-${o})`+ })] });+ return /* @__PURE__ */ (0, V.jsxs)("g", {+ style: O,+ onClick: b,+ children: [/* @__PURE__ */ (0, V.jsx)(xK, {+ ...e,+ fill: "transparent"+ }), w ? /* @__PURE__ */ (0, V.jsx)(ep.g, {+ initial: w.initial,+ animate: w.animate,+ transition: w.transition,+ style: w.style,+ children: A+ }) : A]+ });+}, MHe = (e, t, n, r, i) => {+ if (e === "none" || t < 0 || n <= 0) return null;+ let a = n - 1, o = a / 2, s;switch (e) {- case "semi": return {- startAngle: 180,- endAngle: 0,- cx: "50%",- cy: "70%"- };- default: return {- startAngle: 90,- endAngle: -270,- cx: "50%",- cy: "50%"- };+ case "right-to-left":+ s = a - t;+ break;+ case "center-out":+ s = Math.abs(t - o);+ break;+ case "edges-in":+ s = o - Math.abs(t - o);+ break;+ default: s = t;}-}-var OHe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, V.jsx)(V.Fragment, { children: Object.entries(e).map(([e, n]) => {- let r = t6(n);+ let c = s * wHe * 1e3, l = CHe * 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: THe,+ delay: Math.max(0, c - d) / 1e3+ };+ return r ? {+ initial: { scaleX: f },+ animate: { scaleX: 1 },+ transition: p,+ style: { originX: 0 }+ } : {+ initial: { scaleY: f },+ animate: { scaleY: 1 },+ transition: p,+ style: { originY: 1 }+ };+}, NHe = (e, t, n) => {+ switch (e) {+ case "hatched": return `url(#${t}-hatched-${n})`;+ case "duotone": return `url(#${t}-duotone-${n})`;+ case "duotone-reverse": return `url(#${t}-duotone-reverse-${n})`;+ case "gradient": return `url(#${t}-gradient-${n})`;+ case "stripped": return `url(#${t}-stripped-${n})`;+ default: return `url(#${t}-colors-${n})`;+ }+}, PHe = ({ 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;+}, FHe = ({ id: e, dataKey: t, config: n }) => {+ let r = k6(n[t] ?? {});return /* @__PURE__ */ (0, V.jsx)("linearGradient", {- id: `${t}-radial-colors-${e}`,+ id: `${e}-colors-${t}`,x1: "0",y1: "0",- x2: "1",+ x2: "0",y2: "1",children: r === 1 ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("stop", {offset: "0%",- stopColor: `var(--color-${e}-0)`+ stopColor: `var(--color-${t}-0)`}), /* @__PURE__ */ (0, V.jsx)("stop", {offset: "100%",- stopColor: `var(--color-${e}-0)`- })] }) : Array.from({ length: r }, (t, n) => {+ stopColor: `var(--color-${t}-0)`+ })] }) : Array.from({ length: r }, (e, n) => {let i = `${n / (r - 1) * 100}%`;return /* @__PURE__ */ (0, V.jsx)("stop", {offset: i,- stopColor: `var(--color-${e}-${n}, var(--color-${e}-0))`+ stopColor: `var(--color-${t}-${n}, var(--color-${t}-0))`}, i);})- }, `${t}-radial-colors-${e}`);-}) });-function kHe() {- return Array.from({ length: CHe }, (e, t) => ({- name: `loading${t}`,- value: 40 + Math.random() * 60- }));-}-function AHe(e) {- let [t, n] = (0, B.useState)(0);- return (0, B.useEffect)(() => {- if (!e) return;- let t = setInterval(() => {- n((e) => e + 1);- }, L6);- return () => clearInterval(t);- }, [e]), (0, B.useMemo)(() => kHe(), [t]);-}-var jHe = () => /* @__PURE__ */ (0, V.jsx)(f2, {- dataKey: "value",- cornerRadius: F6,- barSize: I6,- background: !0,- isAnimationActive: !0,- animationDuration: L6,- animationEasing: "ease-in-out",- shape: (e) => /* @__PURE__ */ (0, V.jsx)(iK, {- ...e,- fill: "currentColor",- fillOpacity: .25+ });+}, IHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [+ /* @__PURE__ */ (0, V.jsxs)("pattern", {+ id: `${e}-hatched-mask-pattern`,+ x: "0",+ y: "0",+ width: "5",+ height: "5",+ patternUnits: "userSpaceOnUse",+ patternTransform: "rotate(-45)",+ children: [/* @__PURE__ */ (0, V.jsx)("rect", {+ width: "5",+ height: "5",+ fill: "white",+ fillOpacity: .3+ }), /* @__PURE__ */ (0, V.jsx)("rect", {+ width: "1.5",+ height: "5",+ fill: "white",+ fillOpacity: 1+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)("mask", {+ id: `${e}-hatched-mask-${t}`,+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-hatched-mask-pattern)`+ })+ }),+ /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: `${e}-hatched-${t}`,+ patternUnits: "userSpaceOnUse",+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-colors-${t})`,+ mask: `url(#${e}-hatched-mask-${t})`+ })+ })+] }), LHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [+ /* @__PURE__ */ (0, V.jsxs)("pattern", {+ id: `${e}-buffer-hatched-mask-pattern`,+ x: "0",+ y: "0",+ width: "5",+ height: "5",+ patternUnits: "userSpaceOnUse",+ patternTransform: "rotate(-45)",+ children: [/* @__PURE__ */ (0, V.jsx)("rect", {+ width: "5",+ height: "5",+ fill: "black",+ fillOpacity: 0+ }), /* @__PURE__ */ (0, V.jsx)("rect", {+ width: "1",+ height: "5",+ fill: "white",+ fillOpacity: 1+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)("mask", {+ id: `${e}-buffer-hatched-mask-${t}`,+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-buffer-hatched-mask-pattern)`+ })+ }),+ /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: `${e}-buffer-hatched-${t}`,+ patternUnits: "userSpaceOnUse",+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-colors-${t})`,+ mask: `url(#${e}-buffer-hatched-mask-${t})`+ })+ })+] }), RHe = ({ id: e, dataKey: t, config: n }) => {+ let r = k6(n[t] ?? {});+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [+ /* @__PURE__ */ (0, V.jsxs)("linearGradient", {+ id: `${e}-duotone-mask-gradient-${t}`,+ gradientUnits: "objectBoundingBox",+ x1: "0",+ y1: "0",+ x2: "1",+ y2: "0",+ children: [/* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "50%",+ stopColor: "white",+ stopOpacity: .4+ }), /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "50%",+ stopColor: "white",+ stopOpacity: 1+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)("linearGradient", {+ id: `${e}-duotone-colors-${t}`,+ gradientUnits: "objectBoundingBox",+ x1: "0",+ y1: "0",+ x2: "0",+ y2: "1",+ children: r === 1 ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "0%",+ stopColor: `var(--color-${t}-0)`+ }), /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "100%",+ stopColor: `var(--color-${t}-0)`+ })] }) : Array.from({ length: r }, (e, n) => {+ let i = `${n / (r - 1) * 100}%`;+ return /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: i,+ stopColor: `var(--color-${t}-${n}, var(--color-${t}-0))`+ }, i);+ })+ }),+ /* @__PURE__ */ (0, V.jsx)("mask", {+ id: `${e}-duotone-mask-${t}`,+ maskContentUnits: "objectBoundingBox",+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ x: "0",+ y: "0",+ width: "1",+ height: "1",+ fill: `url(#${e}-duotone-mask-gradient-${t})`+ })+ }),+ /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: `${e}-duotone-${t}`,+ patternUnits: "objectBoundingBox",+ patternContentUnits: "objectBoundingBox",+ width: "1",+ height: "1",+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ x: "0",+ y: "0",+ width: "1",+ height: "1",+ fill: `url(#${e}-duotone-colors-${t})`,+ mask: `url(#${e}-duotone-mask-${t})`+ })+ })+ ] });+}, zHe = ({ id: e, dataKey: t, config: n }) => {+ let r = k6(n[t] ?? {});+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [+ /* @__PURE__ */ (0, V.jsxs)("linearGradient", {+ id: `${e}-duotone-reverse-mask-gradient-${t}`,+ gradientUnits: "objectBoundingBox",+ x1: "0",+ y1: "0",+ x2: "1",+ y2: "0",+ children: [/* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "50%",+ stopColor: "white",+ stopOpacity: 1+ }), /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "50%",+ stopColor: "white",+ stopOpacity: .4+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)("linearGradient", {+ id: `${e}-duotone-reverse-colors-${t}`,+ gradientUnits: "objectBoundingBox",+ x1: "0",+ y1: "0",+ x2: "0",+ y2: "1",+ children: r === 1 ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "0%",+ stopColor: `var(--color-${t}-0)`+ }), /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "100%",+ stopColor: `var(--color-${t}-0)`+ })] }) : Array.from({ length: r }, (e, n) => {+ let i = `${n / (r - 1) * 100}%`;+ return /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: i,+ stopColor: `var(--color-${t}-${n}, var(--color-${t}-0))`+ }, i);+ })+ }),+ /* @__PURE__ */ (0, V.jsx)("mask", {+ id: `${e}-duotone-reverse-mask-${t}`,+ maskContentUnits: "objectBoundingBox",+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ x: "0",+ y: "0",+ width: "1",+ height: "1",+ fill: `url(#${e}-duotone-reverse-mask-gradient-${t})`+ })+ }),+ /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: `${e}-duotone-reverse-${t}`,+ patternUnits: "objectBoundingBox",+ patternContentUnits: "objectBoundingBox",+ width: "1",+ height: "1",+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ x: "0",+ y: "0",+ width: "1",+ height: "1",+ fill: `url(#${e}-duotone-reverse-colors-${t})`,+ mask: `url(#${e}-duotone-reverse-mask-${t})`+ })+ })+ ] });+}, BHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [+ /* @__PURE__ */ (0, V.jsxs)("linearGradient", {+ id: `${e}-gradient-mask-gradient`,+ x1: "0",+ y1: "0",+ x2: "0",+ y2: "1",+ children: [/* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "20%",+ stopColor: "white",+ stopOpacity: 1+ }), /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "90%",+ stopColor: "white",+ stopOpacity: 0+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)("mask", {+ id: `${e}-gradient-mask-${t}`,+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-gradient-mask-gradient)`+ })+ }),+ /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: `${e}-gradient-${t}`,+ patternUnits: "userSpaceOnUse",+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-colors-${t})`,+ mask: `url(#${e}-gradient-mask-${t})`+ })+ })+] }), VHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [+ /* @__PURE__ */ (0, V.jsxs)("linearGradient", {+ id: `${e}-stripped-mask-gradient`,+ x1: "0",+ y1: "0",+ x2: "0",+ y2: "1",+ children: [/* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "0%",+ stopColor: "white",+ stopOpacity: .2+ }), /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "100%",+ stopColor: "white",+ stopOpacity: .2+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)("mask", {+ id: `${e}-stripped-mask-${t}`,+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-stripped-mask-gradient)`+ })+ }),+ /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: `${e}-stripped-${t}`,+ patternUnits: "userSpaceOnUse",+ width: "100%",+ height: "100%",+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-colors-${t})`,+ mask: `url(#${e}-stripped-mask-${t})`+ })})+] }), HHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)("filter", {+ id: `${e}-bar-glow-${t}`,+ x: "-100%",+ y: "-100%",+ width: "300%",+ height: "300%",+ children: [+ /* @__PURE__ */ (0, V.jsx)("feGaussianBlur", {+ in: "SourceGraphic",+ stdDeviation: "8",+ result: "blur"+ }),+ /* @__PURE__ */ (0, V.jsx)("feColorMatrix", {+ in: "blur",+ type: "matrix",+ values: "1 0 0 0 0\n 0 1 0 0 0\n 0 0 1 0 0\n 0 0 0 0.5 0",+ result: "glow"+ }),+ /* @__PURE__ */ (0, V.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, V.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, V.jsx)("feMergeNode", { in: "SourceGraphic" })] })+ ]+}), UHe = (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))+ };});-B6.RadialBar = wHe, B6.Tooltip = THe, B6.Legend = EHe;-//#endregion-//#region src/react/stats/radial-card.tsx-var MHe = [- "bg-chart-1",- "bg-chart-2",- "bg-chart-3",- "bg-chart-4",- "bg-chart-5",- "bg-chart-6"-], NHe = [- "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",- "aria-pressed:bg-chart-4/10 aria-pressed:ring-chart-4",- "aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5",- "aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"-];-function V6({ 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: y6(t),- value: e.value- }));- return /* @__PURE__ */ (0, V.jsxs)("section", {- className: h6,- children: [- /* @__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", {- className: "flex min-w-0 flex-col gap-1",- children: [/* @__PURE__ */ (0, V.jsx)("h3", {- className: "text-title-2-medium text-text-primary",- children: u ? u.name : e- }), /* @__PURE__ */ (0, V.jsx)("b", {- className: "text-display-4-medium tabular-nums text-text-primary",- children: (u ? u.value : l).toLocaleString()- })]- }), /* @__PURE__ */ (0, V.jsx)("small", {- className: "text-caption-1-regular text-text-secondary",- children: n- })]- }),- /* @__PURE__ */ (0, V.jsx)("div", {- role: "img",- "aria-label": e,- onPointerLeave: () => o(-1),- children: /* @__PURE__ */ (0, V.jsxs)(B6, {- data: f,- nameKey: "slice",- config: mHe(s.map((e) => e.name)),- max: pbe(s.map((e) => e.value)),- innerRadius: "22%",- className: "aspect-auto h-75 max-sm:h-65",- children: [/* @__PURE__ */ (0, V.jsx)(B6.RadialBar, {- dataKey: "value",- barSize: mbe(s.length),- radialBarProps: {- shape: (e) => /* @__PURE__ */ (0, V.jsx)(iK, {- ...e,- opacity: c >= 0 && c !== e.index ? .3 : 1,- className: "cursor-pointer transition-opacity duration-200"- }),- onClick: (e, t) => d(t),- onMouseEnter: (e, t) => o(t)- }- }), /* @__PURE__ */ (0, V.jsx)(C6, {- nameKey: "slice",- hideLabel: !0- })]- })- }),- /* @__PURE__ */ (0, V.jsx)("div", {- className: "inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2",- children: s.map((e, t) => /* @__PURE__ */ (0, V.jsxs)("button", {- type: "button",- "aria-pressed": r === t,- onClick: () => d(t),- onPointerEnter: () => o(t),- 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 ${NHe[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 ${MHe[t % 6]}`- }), e.name]- }),- /* @__PURE__ */ (0, V.jsx)("b", {- className: "text-title-2-medium tabular-nums text-text-primary",- children: e.value.toLocaleString()- }),- e.detail ? /* @__PURE__ */ (0, V.jsx)("small", {- className: "text-caption-1-regular text-text-secondary",- children: e.detail- }) : null- ]- }, e.name))+function WHe(e, t = 12) {+ let [n, r] = (0, B.useState)(!1), i = (0, B.useCallback)(() => {+ e && r((e) => !e);+ }, [e]);+ return {+ loadingData: (0, B.useMemo)(() => cHe(t, 20, 80), [t, n]),+ onShimmerExit: i+ };+}+var GHe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(r3, {+ dataKey: bHe,+ fill: "currentColor",+ fillOpacity: .15,+ radius: R6,+ isAnimationActive: !1,+ legendType: "none",+ style: { mask: `url(#${e}-loading-mask)` }+}), /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)(KHe, {+ chartId: e,+ onShimmerExit: t+}) })] }), KHe = ({ chartId: e, onShimmerExit: t }) => {+ let n = UHe(), r = (0, B.useRef)(-1);+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [+ /* @__PURE__ */ (0, V.jsx)("linearGradient", {+ id: `${e}-loading-mask-gradient`,+ x1: "0",+ y1: "0",+ x2: "1",+ y2: "0",+ children: n.map(({ offset: e, opacity: t }) => /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: e,+ stopColor: "white",+ stopOpacity: t+ }, e))+ }),+ /* @__PURE__ */ (0, V.jsx)("pattern", {+ id: `${e}-loading-mask-pattern`,+ patternUnits: "objectBoundingBox",+ patternContentUnits: "objectBoundingBox",+ patternTransform: "rotate(25)",+ width: 3,+ height: "1",+ x: "0",+ y: "0",+ children: /* @__PURE__ */ (0, V.jsx)(ep.rect, {+ y: "0",+ width: "1",+ height: "1",+ fill: `url(#${e}-loading-mask-gradient)`,+ initial: { x: -1 },+ animate: { x: 2 },+ transition: {+ duration: xHe / 1e3,+ ease: "linear",+ repeat: Infinity,+ repeatType: "loop"+ },+ onUpdate: (e) => {+ let n = typeof e.x == "number" ? e.x : -1, i = r.current;+ n >= 1 && i < 1 && t(), r.current = n;+ }})- ]- });-}+ }),+ /* @__PURE__ */ (0, V.jsx)("mask", {+ id: `${e}-loading-mask`,+ maskUnits: "userSpaceOnUse",+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ width: "100%",+ height: "100%",+ fill: `url(#${e}-loading-mask-pattern)`+ })+ })+ ] });+};+V6.Bar = EHe, V6.XAxis = DHe, V6.YAxis = OHe, V6.Grid = kHe, V6.Tooltip = AHe, V6.Legend = jHe, V6.Brush = P6;//#endregion-//#region src/react/stats/stats-page.tsx-var PHe = 10, H6 = _6[5], FHe = _6[4], IHe = `${CE()} flex flex-col gap-4`, LHe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", RHe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", zHe = "开始播放后,这里会显示最近的真实观看证据。", BHe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", VHe = "添加媒体文件夹后,这里会显示存储空间。";-function U6({ 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", {- className: "text-caption-1-regular text-text-secondary",- children: e- }), /* @__PURE__ */ (0, V.jsx)("b", {- className: "text-title-3-medium tabular-nums text-text-primary",- children: t.toLocaleString()- })]- });-}-function W6({ 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", {- className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",- children: [/* @__PURE__ */ (0, V.jsx)("span", { children: e }), /* @__PURE__ */ (0, V.jsxs)("b", {- className: "tabular-nums",- children: [t.toLocaleString(), /* @__PURE__ */ (0, V.jsxs)("span", {- className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: [FR(t, n), "%"]- })]- })]- }), /* @__PURE__ */ (0, V.jsx)(OE, {- label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,- value: t,- max: Math.max(n, 1)- })]- });-}-function G6({ 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: [- /* @__PURE__ */ (0, V.jsx)("span", {- className: "text-caption-1-regular text-text-secondary",+//#region src/react/charts/chart-card.tsx+var U6 = `${wE({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;+function W6({ 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", {+ className: "flex min-w-0 flex-col gap-1",+ children: [/* @__PURE__ */ (0, V.jsx)("h3", {+ className: "text-title-2-medium text-text-primary",children: e- }),- /* @__PURE__ */ (0, V.jsx)("b", {+ }), /* @__PURE__ */ (0, V.jsx)("b", {className: "text-display-4-medium tabular-nums text-text-primary",children: t- }),- /* @__PURE__ */ (0, V.jsx)("span", {- className: "text-body-2-regular text-text-secondary",- children: n- })- ]- });-}-function K6({ headline: e, children: t }) {- return /* @__PURE__ */ (0, V.jsxs)("div", {- className: `${IHe} md:flex-row md:gap-6`,- children: [e, /* @__PURE__ */ (0, V.jsx)("div", {- className: "min-w-0 grow",- children: t- })]- });-}-function HHe({ 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)(V6, {- title: "网盘与本地",- rows: e.by_loc.map((e) => ({- name: se[e.k] ?? e.k,- value: e.videos,- detail: pe(e.bytes)- }))- }), /* @__PURE__ */ (0, V.jsx)(V6, {- title: "媒体库",- rows: e.by_library.map((e) => ({- name: e.name,- value: e.videos,- detail: pe(e.bytes)- }))})]- }), /* @__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)(E6, {- title: "时长",- unit: "个视频",- series: "视频",- color: H6,- rows: vbe(e.by_length)- }),- /* @__PURE__ */ (0, V.jsx)(E6, {- title: "画质",- unit: "个视频",- series: "视频",- color: H6,- rows: RR(e.by_quality)- }),- /* @__PURE__ */ (0, V.jsx)(E6, {- title: "文件类型",- unit: "个条目",- series: "条目",- color: H6,- layout: "horizontal",- rows: gbe(e.by_medium)- })- ]+ }), /* @__PURE__ */ (0, V.jsx)("small", {+ className: "min-w-0 text-caption-1-regular break-words text-text-secondary",+ children: n})]- }) : /* @__PURE__ */ (0, V.jsx)(wE, {- shell: "plain",- icon: bae,- title: "还没有视频",- actions: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [t ? /* @__PURE__ */ (0, V.jsx)(J, {- size: "small",- onClick: n,- children: "添加媒体文件夹"- }) : null, /* @__PURE__ */ (0, V.jsx)(SE, {- variant: "secondary",- href: "/follow-manage?tab=add",- size: "small",- children: "添加关注"- })] }),- children: LHe});}-function UHe({ data: e }) {- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(N6, {- activity: e.play_activity,- title: "播放时间",- dailyTitle: "每日播放",- words: {- unit: "个作品",- series: "作品",- cellUnit: "个作品"- },- tone: 5- }), /* @__PURE__ */ (0, V.jsx)(E6, {- title: "播放次数",- unit: "个作品",- series: "作品",- color: FHe,- rows: bbe(e.replays)- })] });+var G6 = [+ "var(--color-chart-1)",+ "var(--color-chart-2)",+ "var(--color-chart-3)",+ "var(--color-chart-4)",+ "var(--color-chart-5)",+ "var(--color-chart-6)"+], K6 = (e) => ({ light: [e] }), q6 = (e) => `s${e}`;+function qHe(e) {+ return Object.fromEntries(e.map((e, t) => [q6(t), {+ label: e,+ colors: K6(G6[t % G6.length])+ }]));}-function WHe({ attribution: e }) {- let t = e.videos;+//#endregion+//#region src/react/charts/chart-tip.tsx+var J6 = "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 Y6({ swatch: e, name: t, value: n }) {return /* @__PURE__ */ (0, V.jsxs)("div", {- className: "flex flex-col",- children: [- /* @__PURE__ */ (0, V.jsx)(W6, {- term: "有创作者",- value: e.creator,- total: t- }),- /* @__PURE__ */ (0, V.jsx)(W6, {- term: "有番号",- value: e.code,- total: t- }),- /* @__PURE__ */ (0, V.jsx)(W6, {- term: "有厂牌",- value: e.studio,- total: t- }),- /* @__PURE__ */ (0, V.jsx)(W6, {- term: "已抽帧",- value: e.thumb,- total: t- }),- /* @__PURE__ */ (0, V.jsx)(W6, {- term: "已探测时长",- value: e.duration,- total: t- })- ]- });-}-function GHe({ 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",- children: [- /* @__PURE__ */ (0, V.jsxs)("header", {- className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",- children: [/* @__PURE__ */ (0, V.jsx)("h3", {- className: "min-w-0 break-words",- children: e.label- }), t == null ? /* @__PURE__ */ (0, V.jsx)("span", {- className: "whitespace-nowrap text-text-secondary",- children: e.online ? "容量未取得" : "离线"- }) : /* @__PURE__ */ (0, V.jsxs)("b", {- 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: [FR(n, t), "%"]- })]- })]- }),- t == null ? null : /* @__PURE__ */ (0, V.jsx)(OE, {- label: `${e.label}空间使用率`,- value: n,- max: Math.max(t, 1)- }),- /* @__PURE__ */ (0, V.jsxs)("p", {- className: "flex justify-between gap-3 text-caption-1-regular text-text-secondary",- children: [/* @__PURE__ */ (0, V.jsx)("span", {- className: "min-w-0 break-words",- children: e.root ?? "未映射"- }), t == null ? null : /* @__PURE__ */ (0, V.jsx)("span", {- className: "whitespace-nowrap tabular-nums",- children: `可用 ${pe(e.free ?? 0)} · 共 ${pe(t)}`- })]- })- ]- });-}-function KHe({ 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)(GHe, { volume: e }, `${e.kind}:${e.label}`))- }) : /* @__PURE__ */ (0, V.jsx)(wE, {- shell: "plain",- icon: yT,- title: "还没有存储来源",- actions: t ? /* @__PURE__ */ (0, V.jsx)(J, {- size: "small",- onClick: n,- children: "添加媒体文件夹"- }) : void 0,- children: VHe- });-}-function qHe({ tags: e, tagLabel: t, onTag: n }) {- return e.length ? /* @__PURE__ */ (0, V.jsx)(P6, {- previewCount: PHe,- 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",- children: /* @__PURE__ */ (0, V.jsxs)("button", {- type: "button",- onClick: () => n(e.k),- className: "flex min-h-11 w-full min-w-0 cursor-pointer items-center gap-2.5 rounded-lg px-3 py-2 text-left outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: [- /* @__PURE__ */ (0, V.jsx)("span", {- className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",- children: r + 1- }),- /* @__PURE__ */ (0, V.jsx)("span", {- className: "min-w-0 grow text-body-2-regular break-words text-text-primary",- children: t(e.k)- }),- /* @__PURE__ */ (0, V.jsx)("b", {- className: "text-body-2-medium tabular-nums text-text-secondary",- children: e.n.toLocaleString()- })- ]- })- }, e.k))- }) : /* @__PURE__ */ (0, V.jsx)(wE, {- shell: "plain",- icon: ST,- title: "还没有内容标签",- actions: /* @__PURE__ */ (0, V.jsx)(SE, {- variant: "secondary",- href: "/data-cleanup",- size: "small",- children: "补全资料"- }),- children: RHe- });-}-function JHe({ rows: e }) {- return e.length ? /* @__PURE__ */ (0, V.jsx)("div", {- className: "flex flex-col gap-5",- children: e.map((e) => {- let t = IR(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", {- className: "min-w-0 grow basis-64",- children: [/* @__PURE__ */ (0, V.jsx)("h3", {- className: "min-w-0 text-body-2-medium text-text-primary",- children: /* @__PURE__ */ (0, V.jsx)("a", {- href: fbe(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: dbe(e) })]- })]- }), /* @__PURE__ */ (0, V.jsxs)("div", {- className: "min-w-0 basis-40",- children: [/* @__PURE__ */ (0, V.jsx)(OE, {- label: `真实观看 ${t.toFixed(0)}%`,- value: t- }), /* @__PURE__ */ (0, V.jsx)("small", {- className: "mt-1.5 block text-caption-1-regular text-text-secondary",- children: `真实 ${t.toFixed(0)}% · 到达 ${LR(e).toFixed(0)}%`- })]- })]- }, `${e.kind}:${e.id}`);- })- }) : /* @__PURE__ */ (0, V.jsx)(wE, {- shell: "plain",- icon: bT,- title: "还没有观看记录",- actions: /* @__PURE__ */ (0, V.jsx)(SE, {- variant: "secondary",- href: "/",- size: "small",- children: "浏览馆藏"- }),- children: zHe+ className: "flex w-full items-center gap-2",+ children: [e, /* @__PURE__ */ (0, V.jsxs)("div", {+ className: "flex flex-1 items-center justify-between gap-4 leading-none",+ children: [/* @__PURE__ */ (0, V.jsx)("span", {+ className: "text-muted-foreground",+ children: t+ }), /* @__PURE__ */ (0, V.jsx)("span", {+ className: "font-mono font-medium tabular-nums text-foreground",+ children: n.toLocaleString()+ })]+ })]});}-function YHe({ 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", {- className: "flex min-w-0 flex-col gap-1.5",- children: [- /* @__PURE__ */ (0, V.jsxs)("header", {- className: "flex items-baseline justify-between gap-3",- children: [/* @__PURE__ */ (0, V.jsx)("h3", {- className: "min-w-0 text-body-2-medium break-words text-text-primary",- children: e.k- }), /* @__PURE__ */ (0, V.jsxs)("b", {- className: "text-body-2-medium whitespace-nowrap text-text-primary",- children: [e.assets.toLocaleString(), /* @__PURE__ */ (0, V.jsx)("small", {- className: "ml-1 text-caption-1-regular font-normal text-text-secondary",- children: "个视频"- })]- })]- }),- /* @__PURE__ */ (0, V.jsx)(OE, {- label: `${e.k} 覆盖视频`,- value: e.assets,- max: Math.max(t, 1)- }),- /* @__PURE__ */ (0, V.jsxs)("small", {- className: "text-caption-1-regular text-text-secondary",- children: [e.n.toLocaleString(), " 条标签"]+var X6 = "size-2.5 shrink-0 rounded-xs";+function JHe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {+ let { config: o } = w6(), 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: J6,+ 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 = O6(o, e, a), c = i ? n[i] : e.value;+ return /* @__PURE__ */ (0, V.jsx)(Y6, {+ name: s?.label ?? e.name,+ value: Number(c ?? 0),+ swatch: /* @__PURE__ */ (0, V.jsx)("i", {+ className: X6,+ style: { background: `var(--color-${a}-0)` }})- ]- }, e.k))- }) : /* @__PURE__ */ (0, V.jsx)(wE, {- shell: "plain",- icon: ST,- title: "还没有标签来源",- actions: /* @__PURE__ */ (0, V.jsx)(SE, {- variant: "secondary",- href: "/data-cleanup",- size: "small",- children: "补全资料"- }),- children: BHe+ }, a + t);+ })]});}-function q6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {- return /* @__PURE__ */ (0, V.jsx)(uk, {- id: e,- className: _M({- interactive: !0,- selectable: !0- }),- children: /* @__PURE__ */ (0, V.jsx)(xM, {- label: t,- icon: i,- accent: a,- figure: n,- footer: r+function Z6({ nameKey: e, valueKey: t, hideLabel: n }) {+ return /* @__PURE__ */ (0, V.jsx)(j6, {+ cursor: !1,+ content: /* @__PURE__ */ (0, V.jsx)(JHe, {+ nameKey: e,+ valueKey: t,+ hideLabel: n})});}-function XHe(e) {- let t = TS({- queryKey: NR,- queryFn: ({ signal: e }) => PR(e)- }), n = t.data;- if (!n) return /* @__PURE__ */ (0, V.jsx)(EE, { 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 = FR(n.tag_cov, n.attribution.videos);- return /* @__PURE__ */ (0, V.jsxs)(EE, { children: [- /* @__PURE__ */ (0, V.jsx)("p", {- className: "text-caption-1-regular text-text-secondary",- children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${pe(o)}`- }),- /* @__PURE__ */ (0, V.jsxs)(ck, {- defaultSelectedKey: "inventory",- className: "flex flex-col gap-4",- children: [- /* @__PURE__ */ (0, V.jsxs)(lk, {- "aria-label": "统计视图",- className: vM,- children: [- /* @__PURE__ */ (0, V.jsx)(q6, {- id: "inventory",- label: "馆藏视频",- icon: hT,- accent: 0,- figure: a.toLocaleString(),- detail: pe(o)- }),- /* @__PURE__ */ (0, V.jsx)(q6, {- id: "viewing",- label: "看过",- icon: vT,- accent: 1,- figure: r.played.toLocaleString(),- detail: ube(r.play_seconds)- }),- /* @__PURE__ */ (0, V.jsx)(q6, {- id: "coverage",- label: "内容标签",- icon: ST,- accent: 2,- figure: `${s}%`,- detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`- }),- /* @__PURE__ */ (0, V.jsx)(q6, {- id: "storage",- label: "使用空间",- icon: yT,- accent: 3,- figure: `${i.online} 个卷`,- detail: i.measured ? `已用 ${pe(i.used)}` : "容量未取得"- })- ]- }),- /* @__PURE__ */ (0, V.jsx)(dk, {- id: "inventory",- children: /* @__PURE__ */ (0, V.jsx)(HHe, {- data: n,- ...e- })- }),- /* @__PURE__ */ (0, V.jsxs)(dk, {- id: "viewing",- className: "flex flex-col gap-5",- children: [/* @__PURE__ */ (0, V.jsx)(K6, {- headline: /* @__PURE__ */ (0, V.jsx)(G6, {- term: "观看",- figure: r.played.toLocaleString(),- unit: "个作品有播放记录"- }),- children: /* @__PURE__ */ (0, V.jsxs)("div", {- className: "inline-grid w-full gap-3 sm:grid-cols-2",- children: [- /* @__PURE__ */ (0, V.jsx)(U6, {- term: "馆藏观看",- value: r.library_played- }),- /* @__PURE__ */ (0, V.jsx)(U6, {- term: "在线直接观看",- value: r.online_played- }),- /* @__PURE__ */ (0, V.jsx)(U6, {- term: "高潮计数",- value: r.o_total- }),- /* @__PURE__ */ (0, V.jsx)(U6, {- term: "快进扫过",- value: r.skimmed- }),- /* @__PURE__ */ (0, V.jsx)(U6, {- term: "喜欢",- value: r.liked- }),- /* @__PURE__ */ (0, V.jsx)(U6, {- term: "明确不喜欢",- value: r.dislike- }),- /* @__PURE__ */ (0, V.jsx)(U6, {- term: "看过了",- value: r.seen- }),- /* @__PURE__ */ (0, V.jsx)(U6, {- term: "回收站",- value: r.trash- })- ]- })- }), /* @__PURE__ */ (0, V.jsx)(UHe, { data: n })]- }),- /* @__PURE__ */ (0, V.jsx)(dk, {- id: "coverage",- children: /* @__PURE__ */ (0, V.jsx)(K6, {- headline: /* @__PURE__ */ (0, V.jsx)(G6, {- term: "内容标签覆盖",- figure: `${s}%`,- unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`- }),- children: /* @__PURE__ */ (0, V.jsx)(WHe, { attribution: n.attribution })- })- }),- /* @__PURE__ */ (0, V.jsx)(dk, {- id: "storage",- children: /* @__PURE__ */ (0, V.jsx)(K6, {- headline: /* @__PURE__ */ (0, V.jsx)(G6, {- term: "使用空间",- figure: String(i.measured),- unit: "个卷已取得容量"- }),- children: /* @__PURE__ */ (0, V.jsx)(KHe, {- volumes: n.storage_volumes,- ...e- })- })- })- ]- }),- /* @__PURE__ */ (0, V.jsxs)(ck, {- defaultSelectedKey: "tags",- className: `${CE({ padding: "none" })} flex flex-col`,+//#endregion+//#region src/react/charts/bar-card.tsx+var Q6 = [0, (e) => e * 1.2], $6 = (e) => ({+ position: e,+ className: "fill-text-secondary",+ formatter: (e) => Number(e).toLocaleString()+});+function e8({ 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+ })), s = o.reduce((e, t) => e + t.value, 0);+ if (!s) return null;+ let c = a === "horizontal";+ return /* @__PURE__ */ (0, V.jsxs)("section", {+ className: U6,+ "aria-label": e,+ children: [/* @__PURE__ */ (0, V.jsx)(W6, {+ title: e,+ figure: s.toLocaleString(),+ note: t+ }), /* @__PURE__ */ (0, V.jsxs)(V6, {+ data: o,+ config: { value: {+ label: n,+ colors: K6(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)("div", {- className: "px-4 pt-3",- children: /* @__PURE__ */ (0, V.jsxs)(dA, {- "aria-label": "统计维度",- className: pA,- children: [- /* @__PURE__ */ (0, V.jsx)(uk, {- id: "tags",- className: mA,- children: "内容标签"- }),- /* @__PURE__ */ (0, V.jsx)(uk, {- id: "recent",- className: mA,- children: "最近看过"- }),- /* @__PURE__ */ (0, V.jsx)(uk, {- id: "sources",- className: mA,- children: "标签来源"- })- ]- })+ /* @__PURE__ */ (0, V.jsx)(V6.Grid, {}),+ c ? /* @__PURE__ */ (0, V.jsx)(V6.YAxis, {+ dataKey: "name",+ interval: 0+ }) : /* @__PURE__ */ (0, V.jsx)(V6.XAxis, {+ dataKey: "name",+ interval: 0}),- /* @__PURE__ */ (0, V.jsx)(dk, {- id: "tags",- className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, V.jsx)(qHe, {- tags: n.top_tags,- ...e- })+ c ? /* @__PURE__ */ (0, V.jsx)(V6.XAxis, {+ hide: !0,+ domain: Q6+ }) : /* @__PURE__ */ (0, V.jsx)(V6.YAxis, {+ hide: !0,+ domain: Q6}),- /* @__PURE__ */ (0, V.jsx)(dk, {- id: "recent",- className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, V.jsx)(JHe, { rows: n.recent })+ /* @__PURE__ */ (0, V.jsx)(V6.Bar, {+ dataKey: "value",+ enableHoverHighlight: !0,+ barProps: {+ dataKey: "value",+ label: $6(c ? "right" : "top")+ }}),- /* @__PURE__ */ (0, V.jsx)(dk, {- id: "sources",- className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, V.jsx)(YHe, {- sources: n.tag_source,- videos: n.attribution.videos- })- })+ /* @__PURE__ */ (0, V.jsx)(Z6, {})]- })- ] });-}-//#endregion-//#region node_modules/d3-sankey/src/align.js-function ZHe(e, t) {- return e.sourceLinks.length ? e.depth : t - 1;-}-//#endregion-//#region node_modules/d3-sankey/src/constant.js-function J6(e) {- return function() {- return e;- };+ })]+ });}//#endregion-//#region node_modules/d3-sankey/src/sankey.js-function Y6(e, t) {- return Z6(e.source, t.source) || e.index - t.index;-}-function X6(e, t) {- return Z6(e.target, t.target) || e.index - t.index;-}-function Z6(e, t) {- return e.y0 - t.y0;-}-function Q6(e) {- return e.value;-}-function QHe(e) {- return e.index;-}-function $He(e) {- return e.nodes;-}-function eUe(e) {- return e.links;-}-function $6(e, t) {- let n = e.get(t);- if (!n) throw Error("missing: " + t);- return n;-}-function e8({ 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;+//#region src/react/charts/heat.ts+var t8 = [+ "周一",+ "周二",+ "周三",+ "周四",+ "周五",+ "周六",+ "周日"+], n8 = (e, t) => e ? Math.max(.12, e / t) : 0;+function YHe(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;+ !Number.isInteger(e) || e < 0 || e > 6 || !Number.isInteger(r) || r < 0 || r > 23 || !Number.isFinite(i) || i < 0 || (t[e][r] = (t[e][r] || 0) + i);}+ let n = t.flat(), r = Math.max(1, ...n);+ return {+ cells: t.flatMap((e, t) => e.map((e, n) => ({+ key: `${t}-${n}`,+ label: `${t8[t]} ${n}:00`,+ count: e,+ share: n8(e, r)+ }))),+ total: n.reduce((e, t) => e + t, 0)+ };}-function tUe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = QHe, c = ZHe, l, u, d = $He, f = eUe, p = 6;- function m() {- let e = {- nodes: d.apply(null, arguments),- links: f.apply(null, arguments)+function XHe(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,+ start: "",+ end: ""+ };+ if (!t.length) return n;+ let r = /* @__PURE__ */ new Date(`${t.at(-1).date}T00:00:00Z`), i = new Date(r);+ i.setUTCDate(i.getUTCDate() - 90);+ let a = new Map(t.map((e) => [e.date, e.count])), o = Math.max(1, ...t.map((e) => e.count)), s = Array.from({ length: 91 }, (e, t) => {+ let n = new Date(i);+ n.setUTCDate(i.getUTCDate() + t);+ let r = n.toISOString().slice(0, 10), s = a.get(r) || 0;+ return {+ key: r,+ label: r,+ count: s,+ share: n8(s, o)};- return h(e), g(e), _(e), v(e), x(e), e8(e), e;- }- m.update = function(e) {- return e8(e), e;- }, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : J6(e), m) : s;- }, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : J6(e), m) : c;- }, m.nodeSort = function(e) {- return arguments.length ? (l = e, m) : l;- }, m.nodeWidth = function(e) {- return arguments.length ? (i = +e, m) : i;- }, m.nodePadding = function(e) {- return arguments.length ? (a = o = +e, m) : a;- }, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : J6(e), m) : d;- }, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : J6(e), m) : f;- }, m.linkSort = function(e) {- return arguments.length ? (u = e, m) : u;- }, m.size = function(i) {- return arguments.length ? (e = t = 0, n = +i[0], r = +i[1], m) : [n - e, r - t];- }, m.extent = function(i) {- return arguments.length ? (e = +i[0][0], n = +i[1][0], t = +i[0][1], r = +i[1][1], m) : [[e, t], [n, r]];- }, m.iterations = function(e) {- return arguments.length ? (p = +e, m) : p;+ });+ return {+ cells: s,+ total: s.reduce((e, t) => e + t.count, 0),+ start: i.toISOString().slice(0, 10),+ end: t.at(-1).date};- function h({ nodes: e, links: t }) {- for (let [t, n] of e.entries()) n.index = t, n.sourceLinks = [], n.targetLinks = [];- let n = new Map(e.map((t, n) => [s(t, n, e), t]));- for (let [e, r] of t.entries()) {- r.index = e;- let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = $6(n, t)), typeof i != "object" && (i = r.target = $6(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(Tq(t.sourceLinks, Q6), Tq(t.targetLinks, Q6)) : t.fixedValue;- }- function _({ nodes: e }) {- let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;- for (; n.size;) {- for (let e of n) {- e.depth = i;- for (let { target: t } of e.sourceLinks) r.add(t);- }- if (++i > t) throw Error("circular link");- n = r, r = /* @__PURE__ */ new Set();- }- }- function v({ nodes: e }) {- let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;- for (; n.size;) {- for (let e of n) {- e.height = i;- for (let { source: t } of e.targetLinks) r.add(t);- }- if (++i > t) throw Error("circular link");- n = r, r = /* @__PURE__ */ new Set();- }- }- function y({ nodes: t }) {- let r = xq(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];- }- if (l) for (let e of o) e.sort(l);- return o;- }- function b(e) {- let n = Sq(e, (e) => (r - t - (e.length - 1) * o) / Tq(e, Q6));- for (let i of e) {- let e = t;- for (let t of i) {- t.y0 = e, t.y1 = e + t.value * n, e = t.y1 + o;- for (let e of t.sourceLinks) e.width = e.value * n;- }- e = (r - e + o) / (i.length + 1);- for (let t = 0; t < i.length; ++t) {- let n = i[t];- n.y0 += e * (t + 1), n.y1 += e * (t + 1);- }- O(i);- }- }- function x(e) {- let n = y(e);- o = Math.min(a, (r - t) / (xq(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);- }- }- function S(e, t, n) {- for (let r = 1, i = e.length; r < i; ++r) {- let i = e[r];- for (let e of i) {- let n = 0, r = 0;- for (let { source: t, value: i } of e.targetLinks) {- let a = i * (e.layer - t.layer);- n += k(t, e) * a, r += a;- }- if (!(r > 0)) continue;- let i = (n / r - e.y0) * t;- e.y0 += i, e.y1 += i, D(e);- }- l === void 0 && i.sort(Z6), w(i, n);- }- }- function C(e, t, n) {- for (let r = e.length - 2; r >= 0; --r) {- let i = e[r];- for (let e of i) {- let n = 0, r = 0;- for (let { target: t, value: i } of e.sourceLinks) {- let a = i * (t.layer - e.layer);- n += A(e, t) * a, r += a;- }- if (!(r > 0)) continue;- let i = (n / r - e.y0) * t;- e.y0 += i, e.y1 += i, D(e);- }- l === void 0 && i.sort(Z6), w(i, n);- }- }- function w(e, n) {- let i = e.length >> 1, a = e[i];- E(e, a.y0 - o, i - 1, n), T(e, a.y1 + o, i + 1, n), E(e, r, e.length - 1, n), T(e, t, 0, n);- }- function T(e, t, n, r) {- for (; n < e.length; ++n) {- let i = e[n], a = (t - i.y0) * r;- a > 1e-6 && (i.y0 += a, i.y1 += a), t = i.y1 + o;- }- }- function E(e, t, n, r) {- for (; n >= 0; --n) {- let i = e[n], a = (i.y1 - t) * r;- a > 1e-6 && (i.y0 -= a, i.y1 -= a), t = i.y0 - o;- }- }- function D({ sourceLinks: e, targetLinks: t }) {- if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(X6);- for (let { target: { targetLinks: t } } of e) t.sort(Y6);- }- }- function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(X6), n.sort(Y6);- }- function k(e, t) {- let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;- for (let { target: r, width: i } of e.sourceLinks) {- if (r === t) break;- n += i + o;- }- for (let { source: r, width: i } of t.targetLinks) {- if (r === e) break;- n -= i;- }- return n;- }- function A(e, t) {- let n = t.y0 - (t.targetLinks.length - 1) * o / 2;- for (let { source: r, width: i } of t.targetLinks) {- if (r === e) break;- n += i + o;- }- for (let { target: r, width: i } of e.sourceLinks) {- if (r === t) break;- n -= i;- }- return n;- }- return m;}//#endregion-//#region node_modules/d3-path/src/path.js-var t8 = Math.PI, n8 = 2 * t8, r8 = 1e-6, nUe = n8 - r8;-function i8() {- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";-}-function a8() {- return new i8();-}-i8.prototype = a8.prototype = {- constructor: i8,- moveTo: function(e, t) {- this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);- },- closePath: function() {- this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._ += "Z");- },- lineTo: function(e, t) {- this._ += "L" + (this._x1 = +e) + "," + (this._y1 = +t);- },- quadraticCurveTo: function(e, t, n, r) {- this._ += "Q" + +e + "," + +t + "," + (this._x1 = +n) + "," + (this._y1 = +r);- },- bezierCurveTo: function(e, t, n, r, i, a) {- this._ += "C" + +e + "," + +t + "," + +n + "," + +r + "," + (this._x1 = +i) + "," + (this._y1 = +a);- },- arcTo: function(e, t, n, r, i) {- e = +e, t = +t, n = +n, r = +r, i = +i;- 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 > r8) {- if (!(Math.abs(u * s - c * l) > r8) || !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((t8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > r8 && (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);- }- }- },- arc: function(e, t, n, r, i, a) {- 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) > r8 || Math.abs(this._y1 - l) > r8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % n8 + n8), d > nUe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > r8 && (this._ += "A" + n + "," + n + ",0," + +(d >= t8) + "," + 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";+//#region src/react/charts/heat-card.tsx+var r8 = 14, i8 = 17, a8 = {+ 4: {+ fill: "fill-chart-4",+ dot: "bg-chart-4"},- toString: function() {- return this._;+ 5: {+ fill: "fill-chart-5",+ dot: "bg-chart-5"}+}, ZHe = {+ start: "translate-x-0",+ center: "-translate-x-1/2",+ end: "-translate-x-full"};-//#endregion-//#region node_modules/d3-shape/src/constant.js-function o8(e) {- return function() {- return e;- };-}-//#endregion-//#region node_modules/d3-shape/src/point.js-function rUe(e) {- return e[0];-}-function iUe(e) {- return e[1];-}-//#endregion-//#region node_modules/d3-shape/src/array.js-var aUe = Array.prototype.slice;-//#endregion-//#region node_modules/d3-shape/src/link/index.js-function oUe(e) {- return e.source;-}-function sUe(e) {- return e.target;-}-function cUe(e) {- var t = oUe, n = sUe, r = rUe, i = iUe, a = null;- function o() {- var o, s = aUe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = a8(), 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 : o8(+e), o) : r;- }, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : o8(+e), o) : i;- }, o.context = function(e) {- return arguments.length ? (a = e ?? null, o) : a;- }, o;-}-function lUe(e, t, n, r, i) {- e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);-}-function uUe() {- return cUe(lUe);-}-//#endregion-//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function dUe(e) {- return [e.source.x1, e.y0];-}-function fUe(e) {- return [e.target.x0, e.y1];-}-function pUe() {- return uUe().source(dUe).target(fUe);-}-//#endregion-//#region src/react/taste/taste.ts-var mUe = "/api/taste", s8 = "/api/taste/refresh", hUe = "/api/taste/import", gUe = "/api/taste/source", c8 = (e) => ["taste", e], _Ue = ["taste", "refresh"], vUe = [- ["7d", "最近 7 天"],- ["30d", "最近 30 天"],- ["90d", "最近 90 天"],- ["365d", "最近一年"],- ["all", "全部时间"]-], l8 = (e, t) => G(`${mUe}?window=${e}`, t), yUe = (e) => G(s8, e);-async function bUe(e, t) {- await z.fetchQuery({- queryKey: c8(e),- queryFn: () => l8(e, t)- });-}-var xUe = (e) => K(s8, {- window: e,- background: !0-}), SUe = (e, t) => K(gUe, {- operation: "remove",- source_key: e,- window: t-});-async function CUe(e) {- let t = await fetch(hUe, {- method: "POST",- credentials: "same-origin",- headers: {- "Content-Type": "application/octet-stream",- "X-Peach-Filename": encodeURIComponent(e.name)+function QHe({ 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}%`},- body: e- }), n = null;- try {- n = await t.json();- } catch {}- if (!t.ok) {- let e = n?.error;- throw new jS(e || `导入失败(${t.status})`, t.status, n);- }- return n;-}-var wUe = 1e4, u8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", TUe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, EUe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function DUe(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(" · ");+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${J6} ${ZHe[a]}`,+ children: [/* @__PURE__ */ (0, V.jsx)("div", {+ className: "font-medium text-foreground",+ children: e.label+ }), /* @__PURE__ */ (0, V.jsx)(Y6, {+ name: t,+ value: e.count,+ swatch: /* @__PURE__ */ (0, V.jsx)("i", { className: `${X6} ${a8[n].dot}` })+ })]+ });}-function OUe(e) {- let t = e.map(EUe), n = Math.max(1, ...t);- return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));+function o8({ 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 * i8, m = f + a * i8, h = (e) => ({+ x: d + e % i * i8,+ y: f + Math.floor(e / i) * i8+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + r8 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {+ start: _.x,+ center: _.x + r8 / 2,+ end: _.x + r8+ }[y] : 0;+ return /* @__PURE__ */ (0, V.jsxs)("section", {+ className: U6,+ children: [+ /* @__PURE__ */ (0, V.jsx)(W6, {+ title: e,+ figure: (g ? g.count : r).toLocaleString(),+ note: g ? g.label : t.unit+ }),+ /* @__PURE__ */ (0, V.jsxs)("div", {+ className: "relative",+ children: [/* @__PURE__ */ (0, V.jsx)("div", {+ className: "min-w-0 overflow-x-auto",+ children: /* @__PURE__ */ (0, V.jsxs)("svg", {+ role: "img",+ "aria-label": e,+ onPointerLeave: () => u(-1),+ viewBox: `0 0 ${p} ${m}`,+ className: "block h-auto min-w-80 w-full",+ children: [o, n.map((e, n) => {+ let { x: r, y: i } = h(n);+ return /* @__PURE__ */ (0, V.jsx)("rect", {+ tabIndex: 0,+ role: "img",+ "aria-label": `${e.label},${e.count} ${t.cellUnit}`,+ x: r,+ y: i,+ width: r8,+ height: r8,+ 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 ${a8[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)(QHe, {+ cell: g,+ series: t.series,+ tone: c,+ anchor: y,+ left: b / p * 100,+ top: _.y / m * 100+ }) : null]+ }),+ /* @__PURE__ */ (0, V.jsx)("footer", {+ className: "flex flex-wrap justify-between gap-3 text-caption-1-regular text-text-secondary",+ children: s+ })+ ]+ });}-var d8 = (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 kUe(e) {- let t = d8(e, 6);- return t.length < 3 ? [] : t;+var $He = /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [t8.map((e, t) => /* @__PURE__ */ (0, V.jsx)("text", {+ x: 0,+ y: 18 + t * i8 + 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 * i8,+ y: 8,+ dominantBaseline: "middle",+ className: "fill-text-secondary text-caption-1-regular",+ children: t+}, t))] });+function s8({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {+ let o = YHe(e), s = XHe(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)(o8, {+ title: t,+ words: r,+ tone: i,+ cells: o.cells,+ total: o.total,+ columns: 24,+ rows: 7,+ axis: $He,+ 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)(o8, {+ title: n,+ words: r,+ tone: i,+ cells: s.cells,+ total: s.total,+ columns: 13,+ rows: 7,+ footer: /* @__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: U6,+ children: [/* @__PURE__ */ (0, V.jsx)("h3", {+ className: "text-title-2-medium text-text-primary",+ children: t+ }), /* @__PURE__ */ (0, V.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: a+ })]+ }) : null;}-var f8 = {- width: 720,- height: 435-}, p8 = {- source: 145,- target: 545-};-function AUe(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 = tUe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({- nodes: [...n.map((e) => ({- id: `source:${e}`,- name: e,- side: "source"- })), ...r.map((e) => ({- id: `target:${e}`,- name: e,- side: "target"- }))],- links: t.map((e) => ({- source: `source:${e.source}`,- target: `target:${e.target}`,- value: e.value- }))- }), a = t.reduce((e, t) => e + t.value, 0), o = pUe();- return {- nodes: i.nodes.map((e) => ({- id: e.id,- name: e.name,- side: e.side,- index: e.index ?? 0,- x: e.x0 ?? 0,- y: e.y0 ?? 0,- height: Math.max(1, (e.y1 ?? 0) - (e.y0 ?? 0)),- value: e.value ?? 0,- share: (e.value ?? 0) / a * 100,- color: n.indexOf(e.name) % 6- })),- links: i.links.map((e, t) => {- let r = e.source, i = e.target;- return {- key: `${r.id}->${i.id}:${t}`,- d: o(e) || "",- width: Math.max(.5, e.width || 0),- color: n.indexOf(r.name) % 6,- source: r.index ?? 0,- target: i.index ?? 0,- value: e.value,- label: `${r.name} → ${i.name}`- };- }),- total: a- };+//#endregion+//#region src/react/components/expandable-ranking.tsx+function c8({ 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;+ if (!e || !u) return;+ let t = () => {+ let t = e.children[Math.min(n, e.children.length) - 1];+ !t || !e.offsetWidth || (e.style.setProperty("--ranking-collapsed-height", `${t.offsetTop - e.offsetTop + t.offsetHeight}px`), e.style.setProperty("--ranking-expanded-height", `${e.scrollHeight}px`));+ };+ t();+ let r = new ResizeObserver(t);+ return r.observe(e), () => r.disconnect();+ }, [+ u,+ n,+ l.length+ ]);+ let d = l.map((e, t) => !(0, B.isValidElement)(e) || t < n ? e : (0, B.cloneElement)(e, { inert: !a || void 0 }));+ return /* @__PURE__ */ (0, V.jsxs)("div", {+ "data-expandable-ranking": !0,+ "data-expandable": u || void 0,+ "data-expanded": a || void 0,+ "data-animating": s || void 0,+ children: [/* @__PURE__ */ (0, V.jsx)("ol", {+ id: r,+ ref: i,+ "data-expandable-ranking-list": !0,+ className: t,+ onTransitionEnd: (e) => {+ e.target === i.current && e.propertyName === "max-height" && c(!1);+ },+ children: d+ }), u ? /* @__PURE__ */ (0, V.jsx)("button", {+ type: "button",+ "data-ranking-toggle": !0,+ "aria-controls": r,+ "aria-expanded": a,+ "aria-label": a ? "收起排名" : "展开更多排名",+ onClick: () => {+ c(!0), o((e) => !e);+ },+ children: /* @__PURE__ */ (0, V.jsx)(cT, { "aria-hidden": !0 })+ }) : null]+ });}-var jUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, m8 = 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)(g8, {- cx: e,- cy: t,- dotId: c,- fillOpacity: a,- gradientUrl: l,- className: i,- maskId: s- });- case "colored-border": return /* @__PURE__ */ (0, V.jsx)(_8, {- cx: e,- cy: t,- dotId: c,- fillOpacity: a,- gradientUrl: l,- className: i,- maskId: s- });- default: return /* @__PURE__ */ (0, V.jsx)(h8, {- cx: e,- cy: t,- dotId: c,- fillOpacity: a,- gradientUrl: l,- className: i,- maskId: s- });- }-}), h8 = 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", {- id: `dot-clip-${n}`,- children: /* @__PURE__ */ (0, V.jsx)("circle", {- cx: e,- cy: t,- r: 3- })- }) }), /* @__PURE__ */ (0, V.jsx)("rect", {- x: "0",- y: t - 3,- width: "100%",- height: 6,- fill: i,- fillOpacity: r,- clipPath: `url(#dot-clip-${n})`- })]-}));-h8.displayName = "DefaultDot";-var g8 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, V.jsxs)("g", {- className: K3(a, "text-background"),- mask: o ? `url(#${o})` : void 0,- children: [- /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)("clipPath", {- id: `dot-clip-${n}`,- children: /* @__PURE__ */ (0, V.jsx)("circle", {- cx: e,- cy: t,- r: 6- })- }) }),- /* @__PURE__ */ (0, V.jsx)("circle", {- cx: e,- cy: t,- r: 6,- fill: "currentColor"- }),- /* @__PURE__ */ (0, V.jsx)("rect", {- x: "0",- y: t - (6 - 5 / 2),- width: "100%",- height: 7,- fill: i,- fillOpacity: r,- clipPath: `url(#dot-clip-inner-${n})`- }),- /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)("clipPath", {- id: `dot-clip-inner-${n}`,- children: /* @__PURE__ */ (0, V.jsx)("circle", {- cx: e,- cy: t,- r: 6 - 5 / 2- })- }) })- ]-}));-g8.displayName = "PrimaryBorderDot";-var _8 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, V.jsxs)("g", {- className: K3(a, "text-background"),- mask: o ? `url(#${o})` : void 0,- children: [- /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)("clipPath", {- id: `dot-clip-${n}`,- children: /* @__PURE__ */ (0, V.jsx)("circle", {- cx: e,- cy: t,- r: 3.5- })- }) }),- /* @__PURE__ */ (0, V.jsx)("rect", {- x: "0",- y: t - 3 - 1 / 2,- width: "100%",- height: 7,- fill: i,- fillOpacity: r,- clipPath: `url(#dot-clip-${n})`- }),- /* @__PURE__ */ (0, V.jsx)("circle", {- cx: e,- cy: t,- r: 3 - 1 / 2,- fill: "currentColor"- })- ]-}));-_8.displayName = "ColoredBorderDot";//#endregion-//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx-var MUe = 1, NUe = .3, PUe = 6, v8 = 1500, y8 = "value", b8 = (0, B.createContext)(null);-function x8() {- let e = (0, B.use)(b8);- if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");+//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx+var eUe = "30%", tUe = "100%", l8 = 5, u8 = 14, nUe = 5, d8 = 1500, f8 = (0, B.createContext)(null);+function p8() {+ let e = (0, B.use)(f8);+ if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");return e;}-function S8({ 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 = qUe(c, l), m = (0, B.useCallback)((e) => {- f(e), s?.(e);- }, [s]), h = (0, B.useMemo)(() => ({+function m8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = eUe, 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), _ = lUe(f), v = oUe(o), y = (0, B.useCallback)((e, t) => {+ g(e), d?.(e === null ? null : {+ dataKey: e,+ value: t ?? 0+ });+ }, [d]), b = (0, B.useMemo)(() => t.map((e) => ({+ ...e,+ fill: `url(#${m}-radial-colors-${e[n]})`+ })), [+ t,+ n,+ m+ ]), x = (0, B.useMemo)(() => ({config: e,- isLoading: c,- selectedDataKey: d,- selectDataKey: m+ nameKey: n,+ chartId: m,+ isLoading: f,+ selectedBar: h,+ selectBar: y}), [e,- c,- d,- m+ n,+ m,+ f,+ h,+ y]);- return /* @__PURE__ */ (0, V.jsx)(b8, {- value: h,- children: /* @__PURE__ */ (0, V.jsxs)(Z3, {- className: r,+ return /* @__PURE__ */ (0, V.jsx)(f8, {+ value: x,+ children: /* @__PURE__ */ (0, V.jsxs)(T6, {+ className: i,config: e,- children: [/* @__PURE__ */ (0, V.jsx)(Q3, { isLoading: c }), /* @__PURE__ */ (0, V.jsxs)(vVe, {- id: u,- data: c ? p : t,- ...i,+ children: [/* @__PURE__ */ (0, V.jsx)(E6, { isLoading: f }), /* @__PURE__ */ (0, V.jsxs)(aHe, {+ id: m,+ data: f ? _ : b,+ innerRadius: c,+ outerRadius: l,+ startAngle: v.startAngle,+ endAngle: v.endAngle,+ cx: v.cx,+ cy: v.cy,+ ...a,children: [- a && /* @__PURE__ */ (0, V.jsx)(l6, { variant: a }),- n,- c && /* @__PURE__ */ (0, V.jsx)(JUe, {})+ s != null && s > 0 && /* @__PURE__ */ (0, V.jsx)(_0, {+ type: "number",+ domain: [0, s],+ tick: !1,+ axisLine: !1+ }),+ p && /* @__PURE__ */ (0, V.jsx)(L6, { variant: p }),+ r,+ f && /* @__PURE__ */ (0, V.jsx)(uUe, {}),+ /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)(sUe, {+ config: e,+ chartId: m+ }) })]})]})});}-function FUe({ dataKey: e, variant: t = "filled", fillOpacity: n = NUe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {- let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = x8(), 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 } = VUe(a, d, e, p.dot);- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(I0, {+function rUe({ dataKey: e, cornerRadius: t = l8, barSize: n = u8, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {+ let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = p8();+ return s ? null : /* @__PURE__ */ (0, V.jsx)(B2, {dataKey: e,- stroke: `url(#${d}-radar-stroke-${e})`,- strokeOpacity: p.stroke,- strokeWidth: MUe,- fill: m ? `url(#${d}-radar-fill-${e})` : "none",- fillOpacity: m ? n * p.fill : 0,- dot: h,- activeDot: g,- filter: r ? `url(#${d}-radar-glow-${e})` : void 0,- className: "transition-opacity duration-200",+ cornerRadius: t,+ barSize: n,+ background: r,+ className: "drop-shadow-sm",style: i ? { cursor: "pointer" } : void 0,- onClick: () => {- i && u(l === e ? null : e);+ onClick: (t, n) => {+ if (!i) return;+ let r = t, a = r?.[o] ?? String(n), s = Number(r?.[e] ?? 0);+ l(c === a ? null : a, s);},- ...o- }), /* @__PURE__ */ (0, V.jsxs)("defs", { children: [- /* @__PURE__ */ (0, V.jsx)(HUe, {- id: d,- dataKey: e,- config: s- }),- /* @__PURE__ */ (0, V.jsx)(UUe, {- id: d,- dataKey: e,- config: s- }),- m && /* @__PURE__ */ (0, V.jsx)(WUe, {- id: d,- dataKey: e,- config: s- }),- r && /* @__PURE__ */ (0, V.jsx)(GUe, {- id: d,- dataKey: e- })- ] })] });-}-var C8 = () => null, w8 = () => null;-function IUe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {- return /* @__PURE__ */ (0, V.jsx)(k1, {- gridType: e,- stroke: t,- strokeOpacity: n,- strokeDasharray: r,- ...i- });-}-function LUe({ tick: e = {- fill: "currentColor",- fontSize: 12-}, tickLine: t = !1, ...n }) {- let { isLoading: r } = x8();- return r ? null : /* @__PURE__ */ (0, V.jsx)(U1, {- tick: e,- tickLine: t,- ...n- });-}-function RUe({ tick: e = {- fill: "currentColor",- fontSize: 10-}, tickLine: t = !1, axisLine: n = !1, ...r }) {- let { isLoading: i } = x8();- return i ? null : /* @__PURE__ */ (0, V.jsx)(L1, {- tick: e,- tickLine: t,- axisLine: n,- ...r+ shape: (e) => {+ let t = e[o], n = c === null || c === t;+ return /* @__PURE__ */ (0, V.jsx)(MK, {+ ...e,+ opacity: i && !n ? .15 : 1,+ className: "transition-opacity duration-200"+ });+ },+ ...a});}-function zUe({ variant: e, roundness: t, defaultIndex: n }) {- let { isLoading: r, selectedDataKey: i } = x8();- return r ? null : /* @__PURE__ */ (0, V.jsx)(r6, {+function iUe({ variant: e, roundness: t, defaultIndex: n }) {+ let { nameKey: r, isLoading: i } = p8();+ return i ? null : /* @__PURE__ */ (0, V.jsx)(j6, {defaultIndex: n,cursor: !1,- content: /* @__PURE__ */ (0, V.jsx)(n6, {- selected: i,+ content: /* @__PURE__ */ (0, V.jsx)(A6, {+ nameKey: r,+ hideLabel: !0,roundness: t,variant: e})});}-function BUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {- let { isLoading: i, selectedDataKey: a, selectDataKey: o } = x8();- return i ? null : /* @__PURE__ */ (0, V.jsx)(a6, {+function aUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {+ let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = p8();+ return a ? null : /* @__PURE__ */ (0, V.jsx)(N6, {verticalAlign: n,align: t,- content: /* @__PURE__ */ (0, V.jsx)(i6, {- selected: a,- onSelectChange: o,+ content: /* @__PURE__ */ (0, V.jsx)(M6, {+ selected: o,+ onSelectChange: s,isClickable: r,+ nameKey: i,variant: e})});}-var VUe = (e, t, n, r) => {- let i = !1, a = !1;- return B.Children.forEach(e, (e) => {- if ((0, B.isValidElement)(e)) {- if (e.type === C8) {- let { variant: a } = e.props;- i = /* @__PURE__ */ (0, V.jsx)(m8, {- type: a,- dataKey: n,- chartId: t,- fillOpacity: r- });- }- if (e.type === w8) {- let { variant: i } = e.props;- a = /* @__PURE__ */ (0, V.jsx)(m8, {- type: i,- dataKey: n,- chartId: t,- fillOpacity: r- });- }- }- }), {- dot: i,- activeDot: a- };-}, T8 = ({ 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]-}), /* @__PURE__ */ (0, V.jsx)("stop", {- offset: "100%",- stopColor: `var(--color-${e}-0)`,- stopOpacity: n?.[n.length - 1]-})] }) : /* @__PURE__ */ (0, V.jsx)(V.Fragment, { children: Array.from({ length: t }, (r, i) => {- let a = `${i / (t - 1) * 100}%`;- return /* @__PURE__ */ (0, V.jsx)("stop", {- offset: a,- stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,- stopOpacity: n?.[i]- }, a);-}) }), HUe = ({ id: e, dataKey: t, config: n }) => {- let r = t6(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)(T8, {- dataKey: t,- colorsCount: r- })- });-}, UUe = ({ id: e, dataKey: t, config: n }) => {- let r = t6(n[t] ?? {});+function oUe(e) {+ switch (e) {+ case "semi": return {+ startAngle: 180,+ endAngle: 0,+ cx: "50%",+ cy: "70%"+ };+ default: return {+ startAngle: 90,+ endAngle: -270,+ cx: "50%",+ cy: "50%"+ };+ }+}+var sUe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, V.jsx)(V.Fragment, { children: Object.entries(e).map(([e, n]) => {+ let r = k6(n);return /* @__PURE__ */ (0, V.jsx)("linearGradient", {- id: `${e}-radar-stroke-${t}`,+ id: `${t}-radial-colors-${e}`,x1: "0",y1: "0",x2: "1",- y2: "1",- children: /* @__PURE__ */ (0, V.jsx)(T8, {- dataKey: t,- colorsCount: r- })- });-}, WUe = ({ id: e, dataKey: t, config: n }) => {- let r = t6(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)(T8, {- dataKey: t,- colorsCount: r,- opacities: i- })- });-}, GUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)("filter", {- id: `${e}-radar-glow-${t}`,- x: "-50%",- y: "-50%",- width: "200%",- height: "200%",- children: [- /* @__PURE__ */ (0, V.jsx)("feGaussianBlur", {- in: "SourceGraphic",- stdDeviation: "4",- result: "blur"- }),- /* @__PURE__ */ (0, V.jsx)("feColorMatrix", {- in: "blur",- type: "matrix",- values: "1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.6 0",- result: "glow"- }),- /* @__PURE__ */ (0, V.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, V.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, V.jsx)("feMergeNode", { in: "SourceGraphic" })] })- ]-}), KUe = (e) => [- "A",- "B",- "C",- "D",- "E",- "F"-].slice(0, e).map((e) => ({- skill: e,- [y8]: 30 + Math.random() * 70-}));-function qUe(e, t = PUe) {- let [n, r] = (0, B.useState)(0);- return (0, B.useEffect)(() => {- if (!e) return;- let t = setInterval(() => {- r((e) => e + 1);- }, v8);- return () => clearInterval(t);- }, [e]), (0, B.useMemo)(() => KUe(t), [t, n]);-}-var JUe = () => /* @__PURE__ */ (0, V.jsx)(I0, {- dataKey: y8,- stroke: "currentColor",- strokeOpacity: .3,- strokeWidth: 2,- fill: "currentColor",- fillOpacity: .1,- dot: !1,- isAnimationActive: !0,- animationDuration: v8,- animationEasing: "ease-in-out"-});-S8.Radar = FUe, S8.Dot = C8, S8.ActiveDot = w8, S8.PolarGrid = IUe, S8.PolarAngleAxis = LUe, S8.PolarRadiusAxis = RUe, S8.Tooltip = zUe, S8.Legend = BUe;-//#endregion-//#region src/react/taste/charts.tsx-var YUe = [- "stroke-chart-1",- "stroke-chart-2",- "stroke-chart-3",- "stroke-chart-4",- "stroke-chart-5",- "stroke-chart-6"-], XUe = [- "fill-chart-1",- "fill-chart-2",- "fill-chart-3",- "fill-chart-4",- "fill-chart-5",- "fill-chart-6"-], E8 = { value: {- label: "标签命中",- colors: v6(_6[3])-} }, ZUe = [- "min-h-24",- "min-h-24",- "min-h-24",- "min-h-32",- "min-h-40",- "min-h-48",- "min-h-52",- "min-h-60",- "min-h-64"-], QUe = 26, $Ue = { radius: E8.value }, eWe = (e, t) => Math.sqrt(e / t);-function tWe({ rows: e, label: t }) {- let n = kUe(e);- if (!n.length) return null;- let r = n[0].value, i = n.map((e) => ({- ...e,- radius: eWe(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)(S8, {- data: i,- config: $Ue,- chartProps: { outerRadius: "58%" },- className: "aspect-auto h-70 text-text-secondary",- children: [- /* @__PURE__ */ (0, V.jsx)(S8.PolarGrid, {}),- /* @__PURE__ */ (0, V.jsx)(S8.PolarAngleAxis, { dataKey: "name" }),- /* @__PURE__ */ (0, V.jsx)(S8.PolarRadiusAxis, {- domain: [0, 1],- allowDecimals: !0,- tick: !1- }),- /* @__PURE__ */ (0, V.jsx)(S8.Radar, { dataKey: "radius" }),- /* @__PURE__ */ (0, V.jsx)(C6, { valueKey: "value" })- ]+ y2: "1",+ children: r === 1 ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "0%",+ stopColor: `var(--color-${e}-0)`+ }), /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "100%",+ stopColor: `var(--color-${e}-0)`+ })] }) : Array.from({ length: r }, (t, n) => {+ let i = `${n / (r - 1) * 100}%`;+ return /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: i,+ stopColor: `var(--color-${e}-${n}, var(--color-${e}-0))`+ }, i);})- });+ }, `${t}-radial-colors-${e}`);+}) });+function cUe() {+ return Array.from({ length: nUe }, (e, t) => ({+ name: `loading${t}`,+ value: 40 + Math.random() * 60+ }));}-function nWe({ rows: e, label: t }) {- let n = d8(e, 8);- return n.length ? /* @__PURE__ */ (0, V.jsx)("section", {- "aria-label": t,- className: `flex grow flex-col ${ZUe[n.length]}`,- children: /* @__PURE__ */ (0, V.jsxs)(p6, {- data: n,- config: E8,- layout: "horizontal",- barRadius: 4,- chartProps: { maxBarSize: QUe },- className: "aspect-auto text-text-secondary",- children: [- /* @__PURE__ */ (0, V.jsx)(p6.YAxis, {- dataKey: "name",- interval: 0- }),- /* @__PURE__ */ (0, V.jsx)(p6.XAxis, {- hide: !0,- domain: w6- }),- /* @__PURE__ */ (0, V.jsx)(p6.Bar, {- dataKey: "value",- enableHoverHighlight: !0,- barProps: {- dataKey: "value",- label: T6("right")- }- }),- /* @__PURE__ */ (0, V.jsx)(C6, {})- ]- })- }) : null;+function lUe(e) {+ let [t, n] = (0, B.useState)(0);+ return (0, B.useEffect)(() => {+ if (!e) return;+ let t = setInterval(() => {+ n((e) => e + 1);+ }, d8);+ return () => clearInterval(t);+ }, [e]), (0, B.useMemo)(() => cUe(), [t]);}-function rWe({ flows: e }) {- let [t, n] = (0, B.useState)(null), r = AUe(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;+var uUe = () => /* @__PURE__ */ (0, V.jsx)(B2, {+ dataKey: "value",+ cornerRadius: l8,+ barSize: u8,+ background: !0,+ isAnimationActive: !0,+ animationDuration: d8,+ animationEasing: "ease-in-out",+ shape: (e) => /* @__PURE__ */ (0, V.jsx)(MK, {+ ...e,+ fill: "currentColor",+ fillOpacity: .25+ })+});+m8.RadialBar = rUe, m8.Tooltip = iUe, m8.Legend = aUe;+//#endregion+//#region src/react/stats/radial-card.tsx+var dUe = [+ "bg-chart-1",+ "bg-chart-2",+ "bg-chart-3",+ "bg-chart-4",+ "bg-chart-5",+ "bg-chart-6"+], fUe = [+ "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",+ "aria-pressed:bg-chart-4/10 aria-pressed:ring-chart-4",+ "aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5",+ "aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"+];+function h8({ 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: q6(t),+ value: e.value+ }));return /* @__PURE__ */ (0, V.jsxs)("section", {- className: h6,+ className: U6,children: [- /* @__PURE__ */ (0, V.jsx)(g6, {- title: "创作者线索来源",- figure: (t ? t.value : r.total).toLocaleString(),- note: t ? t.label : "条线索"+ /* @__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", {+ className: "flex min-w-0 flex-col gap-1",+ children: [/* @__PURE__ */ (0, V.jsx)("h3", {+ className: "text-title-2-medium text-text-primary",+ children: u ? u.name : e+ }), /* @__PURE__ */ (0, V.jsx)("b", {+ className: "text-display-4-medium tabular-nums text-text-primary",+ children: (u ? u.value : l).toLocaleString()+ })]+ }), /* @__PURE__ */ (0, V.jsx)("small", {+ className: "text-caption-1-regular text-text-secondary",+ children: n+ })]}),/* @__PURE__ */ (0, V.jsx)("div", {- className: "min-w-0 overflow-x-auto",- children: /* @__PURE__ */ (0, V.jsxs)("svg", {- viewBox: `0 0 ${f8.width} ${f8.height}`,- fill: "none",- role: "img",- "aria-label": "来源网站与创作者线索",- className: "block h-auto max-h-130 min-w-160 w-full",- onPointerLeave: () => n(null),- children: [/* @__PURE__ */ (0, V.jsx)("g", { children: r.links.map((e) => /* @__PURE__ */ (0, V.jsx)("path", {- d: e.d,- strokeWidth: e.width,- tabIndex: 0,- role: "img",- "aria-label": `${e.label}:${e.value} 条线索`,- fillOpacity: 0,- strokeOpacity: a(e, e.label) ? .55 : .08,- className: `outline-none transition-opacity ${YUe[e.color]}`,- onPointerEnter: () => n({- value: e.value,- label: e.label,- node: null- }),- onFocus: () => n({- value: e.value,- label: e.label,- node: null- }),- onBlur: () => n(null)- }, e.key)) }), /* @__PURE__ */ (0, V.jsx)("g", { children: r.nodes.map((e) => /* @__PURE__ */ (0, V.jsxs)("g", {- tabIndex: 0,- role: "img",- "aria-label": `${e.name}:${e.value} 条线索`,- className: "outline-none focus-visible:opacity-100",- onPointerEnter: () => n({- value: e.value,- label: e.name,- node: e.index- }),- onFocus: () => n({- value: e.value,- label: e.name,- node: e.index- }),- onBlur: () => n(null),- children: [/* @__PURE__ */ (0, V.jsx)("rect", {- x: e.x,- y: e.y,- width: 10,- height: e.height,- rx: 5,- className: e.side === "source" ? XUe[e.color] : "fill-text-secondary"- }), /* @__PURE__ */ (0, V.jsxs)("text", {- x: p8[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: [jUe(e.name), /* @__PURE__ */ (0, V.jsx)("tspan", {- x: p8[e.side],- dy: 15,- children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`- })]- })]- }, e.id)) })]+ role: "img",+ "aria-label": e,+ onPointerLeave: () => o(-1),+ children: /* @__PURE__ */ (0, V.jsxs)(m8, {+ data: f,+ nameKey: "slice",+ config: qHe(s.map((e) => e.name)),+ max: Ybe(s.map((e) => e.value)),+ innerRadius: "22%",+ className: "aspect-auto h-75 max-sm:h-65",+ children: [/* @__PURE__ */ (0, V.jsx)(m8.RadialBar, {+ dataKey: "value",+ barSize: Xbe(s.length),+ radialBarProps: {+ shape: (e) => /* @__PURE__ */ (0, V.jsx)(MK, {+ ...e,+ opacity: c >= 0 && c !== e.index ? .3 : 1,+ className: "cursor-pointer transition-opacity duration-200"+ }),+ onClick: (e, t) => d(t),+ onMouseEnter: (e, t) => o(t)+ }+ }), /* @__PURE__ */ (0, V.jsx)(Z6, {+ nameKey: "slice",+ hideLabel: !0+ })]})}),- /* @__PURE__ */ (0, V.jsxs)("footer", {- className: "flex justify-between gap-3 text-caption-1-regular text-text-secondary",- children: [/* @__PURE__ */ (0, V.jsx)("span", { children: "来源网站" }), /* @__PURE__ */ (0, V.jsx)("span", { children: "创作者 · 线索占比" })]+ /* @__PURE__ */ (0, V.jsx)("div", {+ className: "inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2",+ children: s.map((e, t) => /* @__PURE__ */ (0, V.jsxs)("button", {+ type: "button",+ "aria-pressed": r === t,+ onClick: () => d(t),+ onPointerEnter: () => o(t),+ 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 ${fUe[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 ${dUe[t % 6]}`+ }), e.name]+ }),+ /* @__PURE__ */ (0, V.jsx)("b", {+ className: "text-title-2-medium tabular-nums text-text-primary",+ children: e.value.toLocaleString()+ }),+ e.detail ? /* @__PURE__ */ (0, V.jsx)("small", {+ className: "text-caption-1-regular text-text-secondary",+ children: e.detail+ }) : null+ ]+ }, e.name))})]});}//#endregion-//#region src/react/taste/taste-page.tsx-var iWe = 10, D8 = _E(yk, bk, "text-body-2-medium"), O8 = `${CE()} flex flex-col gap-4`, k8 = "rounded-xl bg-background-primary-default p-3", aWe = "读取运行 Peach 的这台电脑上的浏览记录", oWe = "导入或读取浏览记录后,这里会列出已采集设备。", sWe = "馆藏里暂时没有对得上浏览信号的标签。", cWe = "采集浏览记录后,这里会显示聚合后的口味证据。", lWe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", uWe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", dWe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", fWe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", pWe = "这个数据源将不再用于口味分析。原始导出文件保留。", A8 = "peach-taste-guide-dismissed";-function j8({ icon: e, term: t, figure: n, detail: r, accent: i }) {- return /* @__PURE__ */ (0, V.jsx)("div", {- className: _M(),- children: /* @__PURE__ */ (0, V.jsx)(xM, {- label: t,- icon: e,- accent: i,- figure: n,- footer: r ?? ""- })+//#region src/react/stats/stats-page.tsx+var pUe = 10, g8 = G6[5], mUe = G6[4], hUe = `${wE()} flex flex-col gap-4`, gUe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", _Ue = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", vUe = "开始播放后,这里会显示最近的真实观看证据。", yUe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", bUe = "添加媒体文件夹后,这里会显示存储空间。";+function _8({ 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", {+ className: "text-caption-1-regular text-text-secondary",+ children: e+ }), /* @__PURE__ */ (0, V.jsx)("b", {+ className: "text-title-3-medium tabular-nums text-text-primary",+ children: t.toLocaleString()+ })]});}-function M8({ 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", {- src: xe({ domain: t }),- alt: "",- loading: "lazy",- width: 20,- height: 20,- onError: (e) => e.currentTarget.remove(),- className: "absolute size-5 object-contain"+function v8({ 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", {+ className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",+ children: [/* @__PURE__ */ (0, V.jsx)("span", { children: e }), /* @__PURE__ */ (0, V.jsxs)("b", {+ className: "tabular-nums",+ children: [t.toLocaleString(), /* @__PURE__ */ (0, V.jsxs)("span", {+ className: "ml-1.5 text-caption-1-regular text-text-secondary",+ children: [oz(t, n), "%"]+ })]+ })]+ }), /* @__PURE__ */ (0, V.jsx)(kE, {+ label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,+ value: t,+ max: Math.max(n, 1)})]});}-function mWe({ 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 ${iL}`,- dangerouslySetInnerHTML: { __html: e }+function y8({ 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: [+ /* @__PURE__ */ (0, V.jsx)("span", {+ className: "text-caption-1-regular text-text-secondary",+ children: e+ }),+ /* @__PURE__ */ (0, V.jsx)("b", {+ className: "text-display-4-medium tabular-nums text-text-primary",+ children: t+ }),+ /* @__PURE__ */ (0, V.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: n+ })+ ]});}-function hWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {- if (!e.length) return /* @__PURE__ */ (0, V.jsx)(wE, {- shell: "plain",- icon: TT,- title: "暂无足够证据",- children: r+function b8({ headline: e, children: t }) {+ return /* @__PURE__ */ (0, V.jsxs)("div", {+ className: `${hUe} md:flex-row md:gap-6`,+ children: [e, /* @__PURE__ */ (0, V.jsx)("div", {+ className: "min-w-0 grow",+ children: t+ })]});- let a = OUe(e);- return /* @__PURE__ */ (0, V.jsx)(P6, {- previewCount: iWe,- 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: [- /* @__PURE__ */ (0, V.jsx)("svg", {- viewBox: "0 0 100 1",- preserveAspectRatio: "none",- "aria-hidden": !0,- className: "absolute inset-0 -z-10 size-full overflow-hidden rounded-lg opacity-15",- children: /* @__PURE__ */ (0, V.jsx)("rect", {- width: a[r],- height: 1,- className: "fill-chart-4"- })- }),- /* @__PURE__ */ (0, V.jsx)("span", {- className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",- children: r + 1- }),- n === "domain" ? /* @__PURE__ */ (0, V.jsx)(M8, {- name: e.name,- domain: e.name- }) : null,- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, V.jsx)(M8, {+}+function xUe({ 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)(h8, {+ title: "网盘与本地",+ rows: e.by_loc.map((e) => ({+ name: se[e.k] ?? e.k,+ value: e.videos,+ detail: pe(e.bytes)+ }))+ }), /* @__PURE__ */ (0, V.jsx)(h8, {+ title: "媒体库",+ rows: e.by_library.map((e) => ({name: e.name,- domain: s- }) : null,- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, V.jsx)(mWe, { html: w(e.name, e.entity_id ? {- id: e.entity_id,- has_image: !!e.has_image,- image_version: e.image_version,- avatar_focus: e.avatar_focus- } : null, e.has_avatar ? e.representative_asset_id ?? null : null, n === "creator" ? "creator" : t || "performer") }) : null,- /* @__PURE__ */ (0, V.jsxs)("span", {- className: "flex min-w-0 grow flex-col gap-0.5",- children: [/* @__PURE__ */ (0, V.jsx)("b", {- className: "min-w-0 text-body-medium break-words text-text-primary",- children: e.name- }), /* @__PURE__ */ (0, V.jsx)("small", {- className: "text-caption-1-regular text-text-secondary",- children: DUe(e)- })]+ value: e.videos,+ detail: pe(e.bytes)+ }))+ })]+ }), /* @__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)(e8, {+ title: "时长",+ unit: "个视频",+ series: "视频",+ color: g8,+ rows: exe(e.by_length)}),- o ? /* @__PURE__ */ (0, V.jsx)(lT, {- "aria-hidden": !0,- className: "size-4 shrink-0 text-text-tertiary"- }) : null- ] }), l = "relative isolate flex min-h-11 w-full min-w-0 items-center gap-2.5 rounded-lg px-3 py-2 text-left";- return /* @__PURE__ */ (0, V.jsx)("li", {- className: "min-w-0",- children: o ? /* @__PURE__ */ (0, V.jsx)("button", {- type: "button",- onClick: () => i(t, e.name),- className: `${l} cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring`,- children: c- }) : /* @__PURE__ */ (0, V.jsx)("div", {- className: l,- children: c+ /* @__PURE__ */ (0, V.jsx)(e8, {+ title: "画质",+ unit: "个视频",+ series: "视频",+ color: g8,+ rows: lz(e.by_quality)+ }),+ /* @__PURE__ */ (0, V.jsx)(e8, {+ title: "文件类型",+ unit: "个条目",+ series: "条目",+ color: g8,+ layout: "horizontal",+ rows: Qbe(e.by_medium)})- }, e.name);- })+ ]+ })]+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {+ shell: "plain",+ icon: yae,+ title: "还没有视频",+ actions: /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [t ? /* @__PURE__ */ (0, V.jsx)(J, {+ size: "small",+ onClick: n,+ children: "添加媒体文件夹"+ }) : null, /* @__PURE__ */ (0, V.jsx)(CE, {+ variant: "secondary",+ href: "/follow-manage?tab=add",+ size: "small",+ children: "添加关注"+ })] }),+ children: gUe});}-function N8({ label: e, panels: t, onSignal: n }) {- return /* @__PURE__ */ (0, V.jsxs)(ck, {- className: `${CE({ padding: "none" })} flex flex-col`,- children: [/* @__PURE__ */ (0, V.jsx)("div", {- className: "px-4 pt-3",- children: /* @__PURE__ */ (0, V.jsx)(dA, {- "aria-label": e,- className: pA,- children: t.map((e) => /* @__PURE__ */ (0, V.jsx)(uk, {- id: e.id,- className: mA,- children: e.name- }, e.id))- })- }), t.map((e) => /* @__PURE__ */ (0, V.jsx)(dk, {- id: e.id,- className: "px-4 pt-3.5 pb-4",- children: /* @__PURE__ */ (0, V.jsx)(hWe, {- ...e.props,- onSignal: n+function SUe({ data: e }) {+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(s8, {+ activity: e.play_activity,+ title: "播放时间",+ dailyTitle: "每日播放",+ words: {+ unit: "个作品",+ series: "作品",+ cellUnit: "个作品"+ },+ tone: 5+ }), /* @__PURE__ */ (0, V.jsx)(e8, {+ title: "播放次数",+ unit: "个作品",+ series: "作品",+ color: mUe,+ rows: nxe(e.replays)+ })] });+}+function CUe({ attribution: e }) {+ let t = e.videos;+ return /* @__PURE__ */ (0, V.jsxs)("div", {+ className: "flex flex-col",+ children: [+ /* @__PURE__ */ (0, V.jsx)(v8, {+ term: "有创作者",+ value: e.creator,+ total: t+ }),+ /* @__PURE__ */ (0, V.jsx)(v8, {+ term: "有番号",+ value: e.code,+ total: t+ }),+ /* @__PURE__ */ (0, V.jsx)(v8, {+ term: "有厂牌",+ value: e.studio,+ total: t+ }),+ /* @__PURE__ */ (0, V.jsx)(v8, {+ term: "已抽帧",+ value: e.thumb,+ total: t+ }),+ /* @__PURE__ */ (0, V.jsx)(v8, {+ term: "已探测时长",+ value: e.duration,+ total: t})- }, e.id))]+ ]});}-function gWe({ data: e, onSignal: t, navigate: n }) {- let r = e.analysis;- if (!r?.headline) return null;- let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({- key: `tag:${e.tag}`,- title: e.title,- detail: e.detail,- act: () => t("tag", e.tag)- })), ...(r.next_steps || []).map((e) => ({- key: `route:${e.route}`,- title: e.title,- detail: e.detail,- act: () => n(e.route)- }))];- return /* @__PURE__ */ (0, V.jsxs)("section", {- className: O8,- "aria-label": "口味总结",+function wUe({ 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",children: [/* @__PURE__ */ (0, V.jsxs)("header", {- className: "flex flex-col gap-2",- children: [- /* @__PURE__ */ (0, V.jsx)("h3", {- className: "text-title-2-medium text-text-primary",- children: "口味总结"- }),- /* @__PURE__ */ (0, V.jsx)("p", {- className: "max-w-prose text-title-2-regular text-text-primary",- children: r.headline- }),- /* @__PURE__ */ (0, V.jsxs)("p", {- className: "flex flex-wrap items-center gap-2 text-body-2-regular text-text-secondary",- children: [/* @__PURE__ */ (0, V.jsx)("i", {- "aria-hidden": !0,- className: `size-2 shrink-0 rounded-full ${i.level === "high" ? "bg-status-lime-text" : i.level === "medium" ? "bg-status-yellow-text" : "bg-text-tertiary"}`- }), i.label || "仍在学习"]- })- ]- }),- 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 ${k8}`,- children: [/* @__PURE__ */ (0, V.jsx)("span", {- className: "text-caption-1-regular text-text-secondary",- children: e.label- }), /* @__PURE__ */ (0, V.jsx)("b", {- className: "text-body-2-medium break-words text-text-primary",- children: e.text- })]- }, e.label))- }) : null,- a.length ? /* @__PURE__ */ (0, V.jsx)("div", {- className: "flex flex-col gap-2",- 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 ${k8} 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", {- className: "text-body-2-medium text-text-primary",- children: e.title- }), /* @__PURE__ */ (0, V.jsx)("small", {- className: "text-caption-1-regular text-text-secondary",- children: e.detail- })]- }), /* @__PURE__ */ (0, V.jsx)(lT, {- "aria-hidden": !0,- className: "size-4 shrink-0 text-text-tertiary"+ className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",+ children: [/* @__PURE__ */ (0, V.jsx)("h3", {+ className: "min-w-0 break-words",+ children: e.label+ }), t == null ? /* @__PURE__ */ (0, V.jsx)("span", {+ className: "whitespace-nowrap text-text-secondary",+ children: e.online ? "容量未取得" : "离线"+ }) : /* @__PURE__ */ (0, V.jsxs)("b", {+ 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: [oz(n, t), "%"]})]- }, e.key))- }) : /* @__PURE__ */ (0, V.jsx)(wE, {- shell: "plain",- icon: TT,- title: "还没有可探索的入口",- children: sWe+ })]+ }),+ t == null ? null : /* @__PURE__ */ (0, V.jsx)(kE, {+ label: `${e.label}空间使用率`,+ value: n,+ max: Math.max(t, 1)+ }),+ /* @__PURE__ */ (0, V.jsxs)("p", {+ className: "flex justify-between gap-3 text-caption-1-regular text-text-secondary",+ children: [/* @__PURE__ */ (0, V.jsx)("span", {+ className: "min-w-0 break-words",+ children: e.root ?? "未映射"+ }), t == null ? null : /* @__PURE__ */ (0, V.jsx)("span", {+ className: "whitespace-nowrap tabular-nums",+ children: `可用 ${pe(e.free ?? 0)} · 共 ${pe(t)}`+ })]})]});}-function _We({ onboarding: e, done: t }) {- let [n, r] = (0, B.useState)(() => {- try {- return localStorage.getItem(A8) === "1";- } catch {- return !1;- }+function TUe({ 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}`))+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {+ shell: "plain",+ icon: bT,+ title: "还没有存储来源",+ actions: t ? /* @__PURE__ */ (0, V.jsx)(J, {+ size: "small",+ onClick: n,+ children: "添加媒体文件夹"+ }) : void 0,+ children: bUe});- return t || n ? null : /* @__PURE__ */ (0, V.jsx)("div", {- className: CE({- padding: "none",- className: "p-4"+}+function EUe({ tags: e, tagLabel: t, onTag: n }) {+ return e.length ? /* @__PURE__ */ (0, V.jsx)(c8, {+ previewCount: pUe,+ 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",+ children: /* @__PURE__ */ (0, V.jsxs)("button", {+ type: "button",+ onClick: () => n(e.k),+ className: "flex min-h-11 w-full min-w-0 cursor-pointer items-center gap-2.5 rounded-lg px-3 py-2 text-left outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",+ children: [+ /* @__PURE__ */ (0, V.jsx)("span", {+ className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",+ children: r + 1+ }),+ /* @__PURE__ */ (0, V.jsx)("span", {+ className: "min-w-0 grow text-body-2-regular break-words text-text-primary",+ children: t(e.k)+ }),+ /* @__PURE__ */ (0, V.jsx)("b", {+ className: "text-body-2-medium tabular-nums text-text-secondary",+ children: e.n.toLocaleString()+ })+ ]+ })+ }, e.k))+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {+ shell: "plain",+ icon: CT,+ title: "还没有内容标签",+ actions: /* @__PURE__ */ (0, V.jsx)(CE, {+ variant: "secondary",+ href: "/data-cleanup",+ size: "small",+ children: "补全资料"}),- children: /* @__PURE__ */ (0, V.jsxs)(zk, {- summary: "浏览器历史记录导入指南",- defaultOpen: e,+ children: _Ue+ });+}+function DUe({ rows: e }) {+ return e.length ? /* @__PURE__ */ (0, V.jsx)("div", {+ className: "flex flex-col gap-5",+ children: e.map((e) => {+ let t = sz(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", {+ className: "min-w-0 grow basis-64",+ children: [/* @__PURE__ */ (0, V.jsx)("h3", {+ className: "min-w-0 text-body-2-medium text-text-primary",+ children: /* @__PURE__ */ (0, V.jsx)("a", {+ href: Jbe(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: qbe(e) })]+ })]+ }), /* @__PURE__ */ (0, V.jsxs)("div", {+ className: "min-w-0 basis-40",+ children: [/* @__PURE__ */ (0, V.jsx)(kE, {+ label: `真实观看 ${t.toFixed(0)}%`,+ value: t+ }), /* @__PURE__ */ (0, V.jsx)("small", {+ className: "mt-1.5 block text-caption-1-regular text-text-secondary",+ children: `真实 ${t.toFixed(0)}% · 到达 ${cz(e).toFixed(0)}%`+ })]+ })]+ }, `${e.kind}:${e.id}`);+ })+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {+ shell: "plain",+ icon: xT,+ title: "还没有观看记录",+ actions: /* @__PURE__ */ (0, V.jsx)(CE, {+ variant: "secondary",+ href: "/",+ size: "small",+ children: "浏览馆藏"+ }),+ children: vUe+ });+}+function OUe({ 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", {+ className: "flex min-w-0 flex-col gap-1.5",children: [- /* @__PURE__ */ (0, V.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: uWe- }),- /* @__PURE__ */ (0, V.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: dWe- }),- /* @__PURE__ */ (0, V.jsxs)("ul", {- className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",- children: [/* @__PURE__ */ (0, V.jsxs)("li", { children: [- "Chrome:在 ",- /* @__PURE__ */ (0, V.jsx)("a", {- href: "https://takeout.google.com/",- target: "_blank",- rel: "noopener noreferrer",- className: "text-text-primary underline-offset-4 hover:underline",- children: "Google Takeout"- }),- " ",- "选择 Chrome 历史记录,下载 ZIP 后直接导入。"- ] }), /* @__PURE__ */ (0, V.jsxs)("li", { children: [- "其他浏览器:用 ",- /* @__PURE__ */ (0, V.jsx)("a", {- href: "https://github.com/purarue/browserexport",- target: "_blank",- rel: "noopener noreferrer",- className: "text-text-primary underline-offset-4 hover:underline",- children: "browserexport"- }),- " ",- "导出历史记录,再导入导出文件。"- ] })]+ /* @__PURE__ */ (0, V.jsxs)("header", {+ className: "flex items-baseline justify-between gap-3",+ children: [/* @__PURE__ */ (0, V.jsx)("h3", {+ className: "min-w-0 text-body-2-medium break-words text-text-primary",+ children: e.k+ }), /* @__PURE__ */ (0, V.jsxs)("b", {+ className: "text-body-2-medium whitespace-nowrap text-text-primary",+ children: [e.assets.toLocaleString(), /* @__PURE__ */ (0, V.jsx)("small", {+ className: "ml-1 text-caption-1-regular font-normal text-text-secondary",+ children: "个视频"+ })]+ })]}),- /* @__PURE__ */ (0, V.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: fWe+ /* @__PURE__ */ (0, V.jsx)(kE, {+ label: `${e.k} 覆盖视频`,+ value: e.assets,+ max: Math.max(t, 1)}),- /* @__PURE__ */ (0, V.jsx)("span", {- className: "self-start",- children: /* @__PURE__ */ (0, V.jsx)(J, {- variant: "secondary",- size: "small",- onClick: () => {- try {- localStorage.setItem(A8, "1");- } catch {}- r(!0);- },- children: "跳过"- })+ /* @__PURE__ */ (0, V.jsxs)("small", {+ className: "text-caption-1-regular text-text-secondary",+ children: [e.n.toLocaleString(), " 条标签"]})]- })+ }, e.k))+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {+ shell: "plain",+ icon: CT,+ title: "还没有标签来源",+ actions: /* @__PURE__ */ (0, V.jsx)(CE, {+ variant: "secondary",+ href: "/data-cleanup",+ size: "small",+ children: "补全资料"+ }),+ children: yUe});}-function vWe({ busy: e, onRefresh: t, onImport: n }) {- let r = (0, B.useRef)(null), [i, a] = (0, B.useState)(!1), o = (e) => {- a(!1), e();- };- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("span", {- "data-button-group": !0,- "data-split-button": !0,- "data-variant": "primary",- children: [/* @__PURE__ */ (0, V.jsx)(J, {- leadingIcon: mT,- title: aWe,- onClick: t,- ...X(e),- children: "读取浏览器历史"- }), /* @__PURE__ */ (0, V.jsx)(J, {- ref: r,- iconOnly: !0,- leadingIcon: sT,- "aria-label": "更多取得浏览记录的方式",- "aria-haspopup": "dialog",- "aria-expanded": i,- ...X(e),- onClick: () => {- e || a(!0);- }- })]- }), /* @__PURE__ */ (0, V.jsx)(hO, {- triggerRef: r,- isOpen: i,- onOpenChange: a,- placement: "bottom end",- offset: 4,- className: vk,- children: /* @__PURE__ */ (0, V.jsxs)(SM, {- "aria-label": "更多取得浏览记录的方式",- className: "flex w-52 flex-col gap-1 outline-none",- children: [/* @__PURE__ */ (0, V.jsxs)("button", {- type: "button",- className: D8,- onClick: () => o(t),- children: [/* @__PURE__ */ (0, V.jsx)(mT, {- "aria-hidden": !0,- className: "size-4 shrink-0"- }), "读取浏览器历史"]- }), /* @__PURE__ */ (0, V.jsxs)("button", {- type: "button",- className: D8,- onClick: () => o(n),- children: [/* @__PURE__ */ (0, V.jsx)(ET, {- "aria-hidden": !0,- className: "size-4 shrink-0"- }), "导入历史文件"]- })]+function x8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {+ return /* @__PURE__ */ (0, V.jsx)(dk, {+ id: e,+ className: _M({+ interactive: !0,+ selectable: !0+ }),+ children: /* @__PURE__ */ (0, V.jsx)(xM, {+ label: t,+ icon: i,+ accent: a,+ figure: n,+ footer: r})- })] });-}-function yWe({ sources: e, window: t, toast: n }) {- let r = OS({- mutationFn: (e) => SUe(e, t),- onSuccess: (e) => {- z.setQueryData(c8(t), e.dashboard), n("已移除口味数据源");- }- });- return /* @__PURE__ */ (0, V.jsxs)("section", {- className: O8,- "aria-label": "数据源",- children: [- /* @__PURE__ */ (0, V.jsx)("h3", {- className: "text-title-2-medium text-text-primary",- children: "数据源"- }),- r.error ? /* @__PURE__ */ (0, V.jsx)(Y, {- tone: "error",- children: W(r.error)- }) : null,- 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 ${k8}`,- children: [- /* @__PURE__ */ (0, V.jsx)("span", {- className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, V.jsx)(ET, {- "aria-hidden": !0,- className: "size-4"- }) : /* @__PURE__ */ (0, V.jsx)(hT, {- "aria-hidden": !0,- className: "size-4"- })- }),- /* @__PURE__ */ (0, V.jsxs)("span", {- className: "flex min-w-0 grow flex-col gap-0.5",- children: [/* @__PURE__ */ (0, V.jsx)("b", {- className: "min-w-0 text-body-2-medium break-words text-text-primary",- children: e.profile- }), /* @__PURE__ */ (0, V.jsx)("small", {- className: "min-w-0 text-caption-1-regular break-words text-text-secondary",- children: `${e.browser} · ${e.host} · ${Number(e.visits || 0).toLocaleString()} 条`- })]- }),- /* @__PURE__ */ (0, V.jsx)(J, {- variant: "secondary",- size: "small",- "aria-label": `移除 ${e.profile}`,- iconOnly: !0,- leadingIcon: gT,- ...X(r.isPending),- onClick: () => {- r.isPending || Te({- title: "移除口味数据源",- body: pWe,- confirmLabel: "移除口味数据源",- onConfirm: () => r.mutateAsync(e.source_key)- });- }- })- ]- }, e.source_key))- }) : /* @__PURE__ */ (0, V.jsx)(wE, {- shell: "plain",- icon: hT,- title: "还没有数据源",- children: oWe- })- ]});}-function bWe(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: c8(a),- queryFn: ({ signal: e }) => l8(a, e),- placeholderData: AS.keepPreviousData- }), { job: d, running: f, outcome: p, start: m } = IM({- queryKey: _Ue,- queryFn: ({ signal: e }) => yUe(e),- start: () => xUe(a),- idlePollMs: wUe,- onFinish: (e) => {- e.status !== "failed" && (z.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));- }- }), h = OS({- mutationFn: (e) => CUe(e),- onSuccess: (e) => {- z.setQueryData(c8("all"), e.dashboard), o("all"), r("已导入口味数据");- }- }), g = (e) => {- let t = e.currentTarget.files?.[0];- e.currentTarget.value = "", !(!t || h.isPending) && (h.reset(), h.mutate(t));- }, _ = () => {- f || m.isPending || (m.reset(), m.mutate());- }, v = u.data;- if (!v) return /* @__PURE__ */ (0, V.jsx)(EE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {+function kUe(e) {+ let t = TS({+ queryKey: iz,+ queryFn: ({ signal: e }) => az(e)+ }), n = t.data;+ if (!n) return /* @__PURE__ */ (0, V.jsx)(DE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {tone: "error",- title: "口味分析读取失败",- children: u.error ? W(u.error) : "读取口味分析失败"+ title: "馆藏统计读取失败",+ children: t.error ? W(t.error) : "未取得统计数据,请刷新页面重试。"}) });- let y = v.summary || {}, b = v.coverage || {}, x = v.rankings || {}, S = v.storage || {}, C = x.browser_categories || [], w = v.gaps || [], T = b.tagged || 0, E = b.identified || 0, D = m.error ? W(m.error) : h.error ? W(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";- return /* @__PURE__ */ (0, V.jsxs)(EE, { children: [- /* @__PURE__ */ (0, V.jsxs)(ck, {- selectedKey: s,- onSelectionChange: (e) => c(String(e)),- className: "flex flex-col gap-5",+ 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 = oz(n.tag_cov, n.attribution.videos);+ return /* @__PURE__ */ (0, V.jsxs)(DE, { children: [+ /* @__PURE__ */ (0, V.jsx)("p", {+ className: "text-caption-1-regular text-text-secondary",+ children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${pe(o)}`+ }),+ /* @__PURE__ */ (0, V.jsxs)(lk, {+ defaultSelectedKey: "inventory",+ className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, V.jsxs)("div", {- className: "flex flex-wrap items-center justify-between gap-3",- children: [/* @__PURE__ */ (0, V.jsxs)(dA, {- "aria-label": "口味证据来源",- className: pA,- children: [/* @__PURE__ */ (0, V.jsx)(uk, {- id: "browser",- className: mA,- children: "浏览器记录"- }), /* @__PURE__ */ (0, V.jsx)(uk, {- id: "peach",- className: mA,- children: "Peach 内部"- })]- }), /* @__PURE__ */ (0, V.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [- /* @__PURE__ */ (0, V.jsx)(Sk, {- "aria-label": "分析范围",- selectedKey: a,- onSelectionChange: (e) => {- e !== null && o(String(e));- },- children: vUe.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(Ck, {- id: e,- children: t- }, e))- }),- /* @__PURE__ */ (0, V.jsx)(vWe, {- busy: f || m.isPending || h.isPending,- onRefresh: _,- onImport: () => l.current?.click()- }),- /* @__PURE__ */ (0, V.jsx)("input", {- ref: l,- type: "file",- tabIndex: -1,- "aria-hidden": !0,- className: "hidden",- onChange: g- })- ]- })]- }),- /* @__PURE__ */ (0, V.jsx)(_We, {- onboarding: i,- done: !!(y.history_sources || v.updated_at)- }),- /* @__PURE__ */ (0, V.jsxs)("div", {- "aria-live": "polite",- className: "flex flex-col gap-3 empty:hidden",- children: [- f ? /* @__PURE__ */ (0, V.jsx)(MM, {- label: d?.message || "正在读取浏览记录并更新口味分析",- value: d?.checked,- total: d?.total- }) : null,- h.isPending ? /* @__PURE__ */ (0, V.jsx)(MM, { label: "正在导入历史文件" }) : null,- D ? /* @__PURE__ */ (0, V.jsx)(Y, {- tone: "error",- children: D- }) : null- ]- }),- /* @__PURE__ */ (0, V.jsxs)(dk, {- id: "browser",- className: "flex flex-col gap-5",+ /* @__PURE__ */ (0, V.jsxs)(uk, {+ "aria-label": "统计视图",+ className: vM,children: [- /* @__PURE__ */ (0, V.jsxs)("div", {- className: vM,- children: [- /* @__PURE__ */ (0, V.jsx)(j8, {- accent: 0,- icon: bT,- term: "浏览记录",- figure: Number(y.history_visits || 0).toLocaleString(),- detail: `${y.history_sources || 0} 个数据源 · ${u8(y.range_start)}—${u8(y.range_end)}`- }),- /* @__PURE__ */ (0, V.jsx)(j8, {- accent: 1,- icon: ST,- term: "口味维度",- figure: C.length.toLocaleString(),- detail: C[0]?.name || "尚无主维度"- }),- /* @__PURE__ */ (0, V.jsx)(j8, {- accent: 2,- icon: TT,- term: "浏览候选",- figure: w.length.toLocaleString()- }),- /* @__PURE__ */ (0, V.jsx)(j8, {- accent: 3,- icon: hT,- term: "私有导出",- figure: Number(S.exports || 0).toLocaleString(),- detail: pe(S.bytes || 0)- })- ]+ /* @__PURE__ */ (0, V.jsx)(x8, {+ id: "inventory",+ label: "馆藏视频",+ icon: gT,+ accent: 0,+ figure: a.toLocaleString(),+ detail: pe(o)}),- /* @__PURE__ */ (0, V.jsxs)("section", {- className: `${O8} 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",- children: [- /* @__PURE__ */ (0, V.jsx)("span", {- className: "text-caption-1-regular text-text-secondary",- children: "浏览器画像"- }),- /* @__PURE__ */ (0, V.jsx)(tWe, {- rows: C,- label: "主要口味维度"- }),- /* @__PURE__ */ (0, V.jsx)("small", {- className: "text-caption-1-regular text-text-secondary",- children: v.updated_at ? `更新于 ${u8(v.updated_at)}` : "尚未采集浏览记录"- })- ]- }), /* @__PURE__ */ (0, V.jsx)("div", {- className: "flex min-w-0 grow flex-col",- children: C.length ? /* @__PURE__ */ (0, V.jsx)(nWe, {- rows: C,- label: "口味维度排名"- }) : /* @__PURE__ */ (0, V.jsx)(wE, {- shell: "plain",- icon: TT,- title: "暂无口味维度",- children: cWe- })- })]+ /* @__PURE__ */ (0, V.jsx)(x8, {+ id: "viewing",+ label: "看过",+ icon: yT,+ accent: 1,+ figure: r.played.toLocaleString(),+ detail: Kbe(r.play_seconds)}),- /* @__PURE__ */ (0, V.jsx)(N6, {- activity: v.activity,- title: "浏览活跃时间",- dailyTitle: "每日活跃",- words: {- unit: "口味网站访问",- series: "访问",- cellUnit: "次访问"- },- tone: 4,- empty: "还没有可用于分析的口味网站访问记录。"+ /* @__PURE__ */ (0, V.jsx)(x8, {+ id: "coverage",+ label: "内容标签",+ icon: CT,+ accent: 2,+ figure: `${s}%`,+ detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`}),- /* @__PURE__ */ (0, V.jsx)(rWe, { flows: v.creator_flows }),- /* @__PURE__ */ (0, V.jsx)(N8, {- label: "浏览器口味维度",- onSignal: t,- panels: [- {- id: "tags",- name: "标签",- props: {- rows: x.browser_tags || [],- kind: "tag",- visual: "none",- empty: "暂无足够证据"- }- },- {- id: "creators",- name: "创作者",- props: {- rows: x.browser_creators || [],- kind: "creator",- visual: "creator",- empty: "暂无创作者证据"- }- },- {- id: "domains",- name: "常访问网站",- props: {- rows: x.domains || [],- kind: "",- visual: "domain",- empty: "暂无网站证据"- }- },- {- id: "gaps",- name: "浏览候选",- props: {- rows: w,- kind: "",- visual: "none",- empty: lWe- }- }- ]+ /* @__PURE__ */ (0, V.jsx)(x8, {+ id: "storage",+ label: "使用空间",+ icon: bT,+ accent: 3,+ figure: `${i.online} 个卷`,+ detail: i.measured ? `已用 ${pe(i.used)}` : "容量未取得"})]}),- /* @__PURE__ */ (0, V.jsxs)(dk, {- id: "peach",+ /* @__PURE__ */ (0, V.jsx)(fk, {+ id: "inventory",+ children: /* @__PURE__ */ (0, V.jsx)(xUe, {+ data: n,+ ...e+ })+ }),+ /* @__PURE__ */ (0, V.jsxs)(fk, {+ id: "viewing",className: "flex flex-col gap-5",- children: [- /* @__PURE__ */ (0, V.jsxs)("div", {- className: vM,+ children: [/* @__PURE__ */ (0, V.jsx)(b8, {+ headline: /* @__PURE__ */ (0, V.jsx)(y8, {+ term: "观看",+ figure: r.played.toLocaleString(),+ unit: "个作品有播放记录"+ }),+ children: /* @__PURE__ */ (0, V.jsxs)("div", {+ className: "inline-grid w-full gap-3 sm:grid-cols-2",children: [- /* @__PURE__ */ (0, V.jsx)(j8, {- accent: 0,- icon: vT,- term: "Peach 看过",- figure: Number(y.peach_items || 0).toLocaleString(),- detail: TUe(y.peach_seconds || 0)+ /* @__PURE__ */ (0, V.jsx)(_8, {+ term: "馆藏观看",+ value: r.library_played}),- /* @__PURE__ */ (0, V.jsx)(j8, {- accent: 1,- icon: yae,+ /* @__PURE__ */ (0, V.jsx)(_8, {+ term: "在线直接观看",+ value: r.online_played+ }),+ /* @__PURE__ */ (0, V.jsx)(_8, {+ term: "高潮计数",+ value: r.o_total+ }),+ /* @__PURE__ */ (0, V.jsx)(_8, {+ term: "快进扫过",+ value: r.skimmed+ }),+ /* @__PURE__ */ (0, V.jsx)(_8, {term: "喜欢",- figure: Number(y.liked || 0).toLocaleString()+ value: r.liked}),- /* @__PURE__ */ (0, V.jsx)(j8, {- accent: 2,- icon: vae,- term: "不合口味",- figure: Number(y.disliked || 0).toLocaleString()+ /* @__PURE__ */ (0, V.jsx)(_8, {+ term: "明确不喜欢",+ value: r.dislike}),- /* @__PURE__ */ (0, V.jsx)(j8, {- accent: 3,- icon: ST,- term: "有标签",- figure: T.toLocaleString()+ /* @__PURE__ */ (0, V.jsx)(_8, {+ term: "看过了",+ value: r.seen+ }),+ /* @__PURE__ */ (0, V.jsx)(_8, {+ term: "回收站",+ value: r.trash})]+ })+ }), /* @__PURE__ */ (0, V.jsx)(SUe, { data: n })]+ }),+ /* @__PURE__ */ (0, V.jsx)(fk, {+ id: "coverage",+ children: /* @__PURE__ */ (0, V.jsx)(b8, {+ headline: /* @__PURE__ */ (0, V.jsx)(y8, {+ term: "内容标签覆盖",+ figure: `${s}%`,+ unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`}),- /* @__PURE__ */ (0, V.jsxs)("section", {- className: `${O8} 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",- children: [- /* @__PURE__ */ (0, V.jsx)("span", {- className: "text-caption-1-regular text-text-secondary",- children: "Peach 观看"- }),- /* @__PURE__ */ (0, V.jsx)("b", {- className: "text-display-4-medium tabular-nums text-text-primary",- children: Number(y.peach_items || 0).toLocaleString()- }),- /* @__PURE__ */ (0, V.jsx)("span", {- className: "text-body-2-regular text-text-secondary",- children: "个作品有内部行为证据"- })- ]- }), /* @__PURE__ */ (0, V.jsxs)("div", {- className: "flex min-w-0 grow flex-col",- children: [/* @__PURE__ */ (0, V.jsx)(P8, {- term: "有标签",- value: T,- rest: b.untagged || 0- }), /* @__PURE__ */ (0, V.jsx)(P8, {- term: "有身份",- value: E,- rest: b.unidentified || 0- })]- })]+ children: /* @__PURE__ */ (0, V.jsx)(CUe, { attribution: n.attribution })+ })+ }),+ /* @__PURE__ */ (0, V.jsx)(fk, {+ id: "storage",+ children: /* @__PURE__ */ (0, V.jsx)(b8, {+ headline: /* @__PURE__ */ (0, V.jsx)(y8, {+ term: "使用空间",+ figure: String(i.measured),+ unit: "个卷已取得容量"}),- /* @__PURE__ */ (0, V.jsx)(N8, {- label: "Peach 口味维度",- onSignal: t,- panels: [- {- id: "tags",- name: "标签",- props: {- rows: x.peach_tags || [],- kind: "tag",- visual: "none",- empty: "暂无足够证据"- }- },- {- id: "creators",- name: "创作者",- props: {- rows: x.peach_creators || [],- kind: "creator",- visual: "creator",- empty: "暂无创作者证据"- }- },- {- id: "performers",- name: "女优",- props: {- rows: x.peach_performers || [],- kind: "performer",- visual: "entity",- empty: "暂无女优证据"- }- }- ]+ children: /* @__PURE__ */ (0, V.jsx)(TUe, {+ volumes: n.storage_volumes,+ ...e})- ]+ })})]}),- /* @__PURE__ */ (0, V.jsx)(gWe, {- data: v,- onSignal: t,- navigate: n- }),- /* @__PURE__ */ (0, V.jsx)(yWe, {- sources: v.sources || [],- window: a,- toast: r+ /* @__PURE__ */ (0, V.jsxs)(lk, {+ defaultSelectedKey: "tags",+ className: `${wE({ padding: "none" })} flex flex-col`,+ children: [+ /* @__PURE__ */ (0, V.jsx)("div", {+ className: "px-4 pt-3",+ children: /* @__PURE__ */ (0, V.jsxs)(dA, {+ "aria-label": "统计维度",+ className: pA,+ children: [+ /* @__PURE__ */ (0, V.jsx)(dk, {+ id: "tags",+ className: mA,+ children: "内容标签"+ }),+ /* @__PURE__ */ (0, V.jsx)(dk, {+ id: "recent",+ className: mA,+ children: "最近看过"+ }),+ /* @__PURE__ */ (0, V.jsx)(dk, {+ id: "sources",+ className: mA,+ children: "标签来源"+ })+ ]+ })+ }),+ /* @__PURE__ */ (0, V.jsx)(fk, {+ id: "tags",+ className: "px-4 pt-3.5 pb-4",+ children: /* @__PURE__ */ (0, V.jsx)(EUe, {+ tags: n.top_tags,+ ...e+ })+ }),+ /* @__PURE__ */ (0, V.jsx)(fk, {+ id: "recent",+ className: "px-4 pt-3.5 pb-4",+ children: /* @__PURE__ */ (0, V.jsx)(DUe, { rows: n.recent })+ }),+ /* @__PURE__ */ (0, V.jsx)(fk, {+ id: "sources",+ className: "px-4 pt-3.5 pb-4",+ children: /* @__PURE__ */ (0, V.jsx)(OUe, {+ sources: n.tag_source,+ videos: n.attribution.videos+ })+ })+ ]})] });}-function P8({ 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",- children: [/* @__PURE__ */ (0, V.jsxs)("p", {- className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",- children: [/* @__PURE__ */ (0, V.jsx)("span", { children: e }), /* @__PURE__ */ (0, V.jsxs)("b", {- className: "tabular-nums",- children: [t.toLocaleString(), /* @__PURE__ */ (0, V.jsx)("span", {- className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: `${n} 项待补`- })]- })]- }), /* @__PURE__ */ (0, V.jsx)(OE, {- label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,- value: t,- max: r- })]- });+//#endregion+//#region node_modules/d3-sankey/src/align.js+function AUe(e, t) {+ return e.sourceLinks.length ? e.depth : t - 1;}//#endregion-//#region src/react/router/managed-routes.tsx-function xWe(e, t, n) {- if (e === "duplicates") {- n("/duplicates");- return;+//#region node_modules/d3-sankey/src/constant.js+function S8(e) {+ return function() {+ return e;+ };+}+//#endregion+//#region node_modules/d3-sankey/src/sankey.js+function C8(e, t) {+ return T8(e.source, t.source) || e.index - t.index;+}+function w8(e, t) {+ return T8(e.target, t.target) || e.index - t.index;+}+function T8(e, t) {+ return e.y0 - t.y0;+}+function E8(e) {+ return e.value;+}+function jUe(e) {+ return e.index;+}+function MUe(e) {+ return e.nodes;+}+function NUe(e) {+ return e.links;+}+function D8(e, t) {+ let n = e.get(t);+ if (!n) throw Error("missing: " + t);+ return n;+}+function O8({ 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;}- let r = t.managePath(e);- I8(r) ? n(r) : t.openManage(e);}-var F8 = {- "/stats": {- prefetch: (e, t) => lbe(t),- page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(XHe, {- tagLabel: ot,- onTag: t.openTag,- configurable: e.configurable,- openMediaSettings: () => {- t.requestConfigurationSection("媒体"), n("/configuration");+function PUe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = jUe, c = AUe, l, u, d = MUe, f = NUe, 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), O8(e), e;+ }+ m.update = function(e) {+ return O8(e), e;+ }, m.nodeId = function(e) {+ return arguments.length ? (s = typeof e == "function" ? e : S8(e), m) : s;+ }, m.nodeAlign = function(e) {+ return arguments.length ? (c = typeof e == "function" ? e : S8(e), m) : c;+ }, m.nodeSort = function(e) {+ return arguments.length ? (l = e, m) : l;+ }, m.nodeWidth = function(e) {+ return arguments.length ? (i = +e, m) : i;+ }, m.nodePadding = function(e) {+ return arguments.length ? (a = o = +e, m) : a;+ }, m.nodes = function(e) {+ return arguments.length ? (d = typeof e == "function" ? e : S8(e), m) : d;+ }, m.links = function(e) {+ return arguments.length ? (f = typeof e == "function" ? e : S8(e), m) : f;+ }, m.linkSort = function(e) {+ return arguments.length ? (u = e, m) : u;+ }, m.size = function(i) {+ return arguments.length ? (e = t = 0, n = +i[0], r = +i[1], m) : [n - e, r - t];+ }, m.extent = function(i) {+ return arguments.length ? (e = +i[0][0], n = +i[1][0], t = +i[0][1], r = +i[1][1], m) : [[e, t], [n, r]];+ }, m.iterations = function(e) {+ return arguments.length ? (p = +e, m) : p;+ };+ function h({ nodes: e, links: t }) {+ for (let [t, n] of e.entries()) n.index = t, n.sourceLinks = [], n.targetLinks = [];+ let n = new Map(e.map((t, n) => [s(t, n, e), t]));+ for (let [e, r] of t.entries()) {+ r.index = e;+ let { source: t, target: i } = r;+ typeof t != "object" && (t = r.source = D8(n, t)), typeof i != "object" && (i = r.target = D8(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($q(t.sourceLinks, E8), $q(t.targetLinks, E8)) : t.fixedValue;+ }+ function _({ nodes: e }) {+ let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;+ for (; n.size;) {+ for (let e of n) {+ e.depth = i;+ for (let { target: t } of e.sourceLinks) r.add(t);}- })- },- "/taste": {- prefetch: (e, t) => bUe("all", t),- page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(bWe, {- onSignal: t.openTasteSignal,- navigate: n,- toast: (e) => t.receipt(e),- onboarding: e.onboarding- })- },- "/review": {- prefetch: (e, t) => Tue(t),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(Fve, {- ...e,- route: t.routeReview,- openItem: t.openItem,- openEntity: t.openEntity,- revealSource: t.revealSource,- toast: (e) => t.receipt(e)- })- },- "/data-cleanup": {- prefetch: (e, t) => fde(t),- page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(yfe, {- failure: t.failure,- open: (e) => xWe(e, t, n),- toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)- })- },- "/duplicates": {- prefetch: (e, t) => Vle(t),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(pme, {- openItem: t.openItem,- failure: t.failure,- toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})- })- },- "/quality-goals": {- prefetch: (e, t) => aue(t),- page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(yve, {- openItem: t.openItem,- javTitleHtml: at,- javDisplayName: it,- searchResources: (e) => {- t.requestCloudDownload(e), n("/activity");- },- srcBadge: t.srcBadge- })- },- "/scraping": {- prefetch: (e, t) => Hve(t),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(Yve, { toast: (e) => t.toast(e) })- },- "/configuration": {- prefetch: (e, t) => yR(t),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(sbe, {- receipt: (e) => t.receipt(e),- reopenTutorial: t.reopenTutorial- })- },- "/diagnostics": {- prefetch: (e, t) => mme(t),- page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(vme, {- navigate: n,- openItem: t.openItem,- receipt: (e) => t.receipt(e),- configure: (e) => {- t.requestConfigurationSection(e), n("/configuration");+ if (++i > t) throw Error("circular link");+ n = r, r = /* @__PURE__ */ new Set();+ }+ }+ function v({ nodes: e }) {+ let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;+ for (; n.size;) {+ for (let e of n) {+ e.height = i;+ for (let { source: t } of e.targetLinks) r.add(t);}- })- },- "/activity": {- prefetch: (e, t) => Ece(t),- page: (e) => /* @__PURE__ */ (0, V.jsx)(Yce, { ...e.prefill ? { prefill: e.prefill } : {} })- },- "/follow-manage": {- prefetch: (e, t) => Xme(t, e.tab),- page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(b_e, {- ...e,- route: t.routeFollowManage,- savePreference: t.saveFollowPreference,- toast: (e) => t.receipt(e),- openFollow: t.openFollow,- cloudDownload: (e) => {- t.requestCloudDownload(e), n("/activity");+ if (++i > t) throw Error("circular link");+ n = r, r = /* @__PURE__ */ new Set();+ }+ }+ function y({ nodes: t }) {+ let r = Yq(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];+ }+ if (l) for (let e of o) e.sort(l);+ return o;+ }+ function b(e) {+ let n = Xq(e, (e) => (r - t - (e.length - 1) * o) / $q(e, E8));+ for (let i of e) {+ let e = t;+ for (let t of i) {+ t.y0 = e, t.y1 = e + t.value * n, e = t.y1 + o;+ for (let e of t.sourceLinks) e.width = e.value * n;}- })+ e = (r - e + o) / (i.length + 1);+ for (let t = 0; t < i.length; ++t) {+ let n = i[t];+ n.y0 += e * (t + 1), n.y1 += e * (t + 1);+ }+ O(i);+ }}-}, I8 = (e) => Object.hasOwn(F8, e), L8 = {- "/playlists": {- prefetch: (e, t) => ave(t),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(_ve, {- revision: e.revision,- openPlaylist: t.openPlaylist,- openEntity: t.openEntity,- canFlip: t.canFlip,- toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})- })- },- "/follow": {- prefetch: (e, t) => ihe(e, t),- page: (e) => /* @__PURE__ */ (0, V.jsx)(Ohe, { ...e })+ function x(e) {+ let n = y(e);+ o = Math.min(a, (r - t) / (Yq(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);+ }}-}, R8 = (e) => Object.hasOwn(L8, e), z8 = {- prefetch: (e, t) => Bfe(e, t),- page: (e, t) => /* @__PURE__ */ (0, V.jsx)(I_e, {- ...e,- route: t.routeIndex,- savePreference: t.savePeopleLayout,- exitSelectMode: t.exitSelectMode,- personAvatar: t.personAvatar,- authorAvatar: t.authorAvatar,- tagLabel: ot,- openEntity: t.openEntity,- showTags: t.showIndexTags,- openFollowAuthor: t.openFollowAuthor,- openFollowTag: t.openFollowTag- })-}, B8 = {- "/performers": z8,- "/creators": z8,- "/studios": z8,- "/agencies": z8,- "/tags": z8-}, V8 = {- prefetch: (e) => kfe(e),- page: (e) => /* @__PURE__ */ (0, V.jsx)(ime, { ...e })-}, H8 = {- "/performers/*": V8,- "/studios/*": V8,- "/creators/*": V8,- "/series/*": V8,- "/agencies/*": V8-}, U8 = {- "/": {- prefetch: (e, t) => Are(e, t),- page: (e) => /* @__PURE__ */ (0, V.jsx)(RA, { ...e })- },- "/junk-files": {- prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, V.jsx)(Z_e, { ...e })+ function S(e, t, n) {+ for (let r = 1, i = e.length; r < i; ++r) {+ let i = e[r];+ for (let e of i) {+ let n = 0, r = 0;+ for (let { source: t, value: i } of e.targetLinks) {+ let a = i * (e.layer - t.layer);+ n += k(t, e) * a, r += a;+ }+ if (!(r > 0)) continue;+ let i = (n / r - e.y0) * t;+ e.y0 += i, e.y1 += i, D(e);+ }+ l === void 0 && i.sort(T8), w(i, n);+ }}-}, W8 = (e) => Object.hasOwn(U8, e), SWe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, V.jsx)(rve, { ...e }) : /* @__PURE__ */ (0, V.jsx)(PM, { ...e }), G8 = {- "catalog-filter": {- prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, V.jsx)(ule, { ...e })- },- "feed-new": {- prefetch: (e) => wfe(e),- page: (e) => /* @__PURE__ */ (0, V.jsx)(yme, { ...e })- },- "library-processing": {- prefetch: (e, t) => ZA(t),- page: (e) => /* @__PURE__ */ (0, V.jsx)(SWe, { ...e })- },- search: {- prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, V.jsx)(eye, { ...e })+ function C(e, t, n) {+ for (let r = e.length - 2; r >= 0; --r) {+ let i = e[r];+ for (let e of i) {+ let n = 0, r = 0;+ for (let { target: t, value: i } of e.sourceLinks) {+ let a = i * (t.layer - e.layer);+ n += A(e, t) * a, r += a;+ }+ if (!(r > 0)) continue;+ let i = (n / r - e.y0) * t;+ e.y0 += i, e.y1 += i, D(e);+ }+ l === void 0 && i.sort(T8), w(i, n);+ }}-}, K8 = (e) => Object.hasOwn(G8, e), q8 = {- "batch-dock": {- prefetch: async () => {},- page: () => /* @__PURE__ */ (0, V.jsx)(Ane, {})- },- "glow-picker": {- prefetch: async () => {},- page: () => /* @__PURE__ */ (0, V.jsx)(Nne, {})- },- "manage-header": {- prefetch: async () => {},- page: () => /* @__PURE__ */ (0, V.jsx)(Kie, {})- },- immerse: {- prefetch: async () => {},- page: () => /* @__PURE__ */ (0, V.jsx)(Fie, {})+ function w(e, n) {+ let i = e.length >> 1, a = e[i];+ E(e, a.y0 - o, i - 1, n), T(e, a.y1 + o, i + 1, n), E(e, r, e.length - 1, n), T(e, t, 0, n);}-}, J8 = (e) => Object.hasOwn(q8, e), CWe = [- "/",- "/unseen",- "/watch-later",- "/flagged",- "/trash",- "/junk-files"-], wWe = [- ...Object.keys(F8),- ...Object.keys(L8),- ...Object.keys(B8),- ...Object.keys(H8),- ...CWe-], Y8 = (e) => I8(e) || R8(e) || Object.hasOwn(B8, e) || Object.hasOwn(H8, e) || W8(e) || K8(e) || J8(e);-function X8(e) {- return I8(e) ? F8[e] : R8(e) ? L8[e] : W8(e) ? U8[e] : K8(e) ? G8[e] : J8(e) ? q8[e] : Object.hasOwn(B8, e) ? B8[e] : H8[e];-}-function TWe(e, t, n) {- return Y8(e) ? X8(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));-}-function EWe(e, t, n, r) {- return X8(e).page(t, n, r);-}-//#endregion-//#region node_modules/react-router/dist/production/lib/router/url.js-var DWe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, OWe = /^[\\/]{2}/;-function kWe(e, t) {- return t + e.replace(/\\/g, "/");-}-//#endregion-//#region node_modules/react-router/dist/production/lib/router/history.js-function Z8(e, t) {- if (e === !1 || e == null) throw Error(t);-}-function Q8(e, t) {- if (!e) {- typeof console < "u" && console.warn(t);- try {- throw Error(t);- } catch {}+ function T(e, t, n, r) {+ for (; n < e.length; ++n) {+ let i = e[n], a = (t - i.y0) * r;+ a > 1e-6 && (i.y0 += a, i.y1 += a), t = i.y1 + o;+ }}-}-function AWe({ 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 $8(e) {- let t = {};- if (e) {- let n = e.indexOf("#");- n >= 0 && (t.hash = e.substring(n), e = e.substring(0, n));- let r = e.indexOf("?");- r >= 0 && (t.search = e.substring(r), e = e.substring(0, r)), e && (t.pathname = e);+ function E(e, t, n, r) {+ for (; n >= 0; --n) {+ let i = e[n], a = (i.y1 - t) * r;+ a > 1e-6 && (i.y0 -= a, i.y1 -= a), t = i.y0 - o;+ }+ }+ function D({ sourceLinks: e, targetLinks: t }) {+ if (u === void 0) {+ for (let { source: { sourceLinks: e } } of t) e.sort(w8);+ for (let { target: { targetLinks: t } } of e) t.sort(C8);+ }+ }+ function O(e) {+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(w8), n.sort(C8);+ }+ function k(e, t) {+ let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;+ for (let { target: r, width: i } of e.sourceLinks) {+ if (r === t) break;+ n += i + o;+ }+ for (let { source: r, width: i } of t.targetLinks) {+ if (r === e) break;+ n -= i;+ }+ return n;+ }+ function A(e, t) {+ let n = t.y0 - (t.targetLinks.length - 1) * o / 2;+ for (let { source: r, width: i } of t.targetLinks) {+ if (r === e) break;+ n += i + o;+ }+ for (let { target: r, width: i } of e.sourceLinks) {+ if (r === t) break;+ n -= i;+ }+ return n;}- return t;+ return m;}//#endregion-//#region node_modules/react-router/dist/production/lib/router/utils.js-function jWe(e, t, n = "/") {- return MWe(e, t, n, !1);-}-function MWe(e, t, n, r, i) {- let a = o5((typeof t == "string" ? $8(t) : t).pathname || "/", n);- if (a == null) return null;- let o = i ?? NWe(e), s = null, c = KWe(a);- for (let e = 0; s == null && e < o.length; ++e) s = GWe(o[e], c, r);- return s;-}-function NWe(e) {- let t = e5(e);- return PWe(t), t;-}-function e5(e, t = [], n = [], r = "", i = !1) {- let a = (e, a, o = i, s) => {- let c = {- relativePath: s === void 0 ? e.path || "" : s,- caseSensitive: e.caseSensitive === !0,- childrenIndex: a,- route: e- };- if (c.relativePath.startsWith("/")) {- if (!c.relativePath.startsWith(r) && o) return;- Z8(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 = u5([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && (Z8(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), e5(e.children, t, u, l, o)), !(e.path == null && !e.index) && t.push({- path: l,- score: UWe(l, e.index),- routesMeta: u.map((e, t) => {- let [n, r] = a5(e.relativePath, e.caseSensitive, t === u.length - 1);- return {- ...e,- matcher: n,- compiledParams: r- };- })- });- };- return e.forEach((e, t) => {- if (e.path === "" || !e.path?.includes("?")) a(e, t);- else for (let n of t5(e.path)) a(e, t, !0, n);- }), t;-}-function t5(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 = t5(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 PWe(e) {- e.sort((e, t) => e.score === t.score ? WWe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);-}-var FWe = /^:[\w-]+$/, IWe = /^:[\w-]+/, LWe = 3.5, RWe = 3, zWe = 2, BWe = 1, VWe = 10, HWe = -2, n5 = (e) => e === "*";-function UWe(e, t) {- let n = e.split("/"), r = n.length;- return n.some(n5) && (r += HWe), t && (r += zWe), n.filter((e) => !n5(e)).reduce((e, t) => e + (FWe.test(t) ? RWe : IWe.test(t) ? LWe : t === "" ? BWe : VWe), r);-}-function WWe(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 GWe(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 ? i5(u, l, s.matcher, s.compiledParams) : r5(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = r5({- path: s.relativePath,- caseSensitive: s.caseSensitive,- end: !1- }, l)), !d) return null;- Object.assign(i, d.params), o.push({- params: i,- pathname: u5([a, d.pathname]),- pathnameBase: ZWe(u5([a, d.pathnameBase])),- route: f- }), d.pathnameBase !== "/" && (a = u5([a, d.pathnameBase]));- }- return o;+//#region node_modules/d3-path/src/path.js+var k8 = Math.PI, A8 = 2 * k8, j8 = 1e-6, FUe = A8 - j8;+function M8() {+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function r5(e, t) {- typeof e == "string" && (e = {- path: e,- caseSensitive: !1,- end: !0- });- let [n, r] = a5(e.path, e.caseSensitive, e.end);- return i5(e, t, n, r);+function N8() {+ return new M8();}-function i5(e, t, n, r) {- let i = t.match(n);- if (!i) return null;- let a = i[0], o = d5(a, 1), s = i.slice(1);- return {- params: r.reduce((e, { paramName: t, isOptional: n }, r) => {- if (t === "*") {- let e = s[r] || "";- o = d5(a.slice(0, a.length - e.length), 1);+M8.prototype = N8.prototype = {+ constructor: M8,+ moveTo: function(e, t) {+ this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);+ },+ closePath: function() {+ this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._ += "Z");+ },+ lineTo: function(e, t) {+ this._ += "L" + (this._x1 = +e) + "," + (this._y1 = +t);+ },+ quadraticCurveTo: function(e, t, n, r) {+ this._ += "Q" + +e + "," + +t + "," + (this._x1 = +n) + "," + (this._y1 = +r);+ },+ bezierCurveTo: function(e, t, n, r, i, a) {+ this._ += "C" + +e + "," + +t + "," + +n + "," + +r + "," + (this._x1 = +i) + "," + (this._y1 = +a);+ },+ arcTo: function(e, t, n, r, i) {+ e = +e, t = +t, n = +n, r = +r, i = +i;+ 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 > j8) {+ if (!(Math.abs(u * s - c * l) > j8) || !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((k8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > j8 && (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);}- let i = s[r];- return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;- }, {}),- pathname: a,- pathnameBase: o,- pattern: e- };-}-function a5(e, t = !1, n = !0) {- Q8(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,- isOptional: n != null- }), n) {- let t = a.charAt(i + e.length);- return t && t !== "/" ? "/([^\\/]*)" : "(?:/([^\\/]*))?";}- return "/([^\\/]+)";- }).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 KWe(e) {- try {- return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");- } catch (t) {- return Q8(!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;+ },+ arc: function(e, t, n, r, i, a) {+ 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) > j8 || Math.abs(this._y1 - l) > j8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % A8 + A8), d > FUe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > j8 && (this._ += "A" + n + "," + n + ",0," + +(d >= k8) + "," + 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";+ },+ toString: function() {+ return this._;}-}-function o5(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 qWe(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? $8(e) : e, a;- return n ? (n = l5(n), a = n.startsWith("/") || n.startsWith("\\") ? s5(n.substring(1), "/") : s5(n, t)) : a = t, {- pathname: a,- search: QWe(r),- hash: $We(i)+};+//#endregion+//#region node_modules/d3-shape/src/constant.js+function P8(e) {+ return function() {+ return e;};}-function s5(e, t) {- let n = d5(t).split("/");- return e.split("/").forEach((e) => {- e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);- }), n.length > 1 ? n.join("/") : "/";-}-function c5(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 JWe(e) {- return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);+//#endregion+//#region node_modules/d3-shape/src/point.js+function IUe(e) {+ return e[0];}-function YWe(e) {- let t = JWe(e);- return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);+function LUe(e) {+ return e[1];}-function XWe(e, t, n, r = !1) {- let i;- typeof e == "string" ? i = $8(e) : (i = { ...e }, Z8(!i.pathname || !i.pathname.includes("?"), c5("?", "pathname", "search", i)), Z8(!i.pathname || !i.pathname.includes("#"), c5("#", "pathname", "hash", i)), Z8(!i.search || !i.search.includes("#"), c5("#", "search", "hash", i)));- let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;- if (o == null) s = n;- else {- let e = t.length - 1;- if (!r && o.startsWith("..")) {- let t = o.split("/");- for (; t[0] === "..";) t.shift(), --e;- i.pathname = t.join("/");- }- s = e >= 0 ? t[e] : "/";- }- let c = qWe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");- return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;+//#endregion+//#region node_modules/d3-shape/src/array.js+var RUe = Array.prototype.slice;+//#endregion+//#region node_modules/d3-shape/src/link/index.js+function zUe(e) {+ return e.source;}-var l5 = (e) => e.replace(/[\\/]{2,}/g, "/"), u5 = (e) => l5(e.join("/"));-function d5(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);+function BUe(e) {+ return e.target;}-var ZWe = (e) => d5(e).replace(/^\/*/, "/"), QWe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, $We = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, eGe = class {- status;- statusText;- data;- error;- internal;- constructor(e, t, n, r = !1) {- this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;+function VUe(e) {+ var t = zUe, n = BUe, r = IUe, i = LUe, a = null;+ function o() {+ var o, s = RUe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = N8(), 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;}-};-function tGe(e) {- return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;+ 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 : P8(+e), o) : r;+ }, o.y = function(e) {+ return arguments.length ? (i = typeof e == "function" ? e : P8(+e), o) : i;+ }, o.context = function(e) {+ return arguments.length ? (a = e ?? null, o) : a;+ }, o;}-function nGe(e) {- return u5(e.map((e) => e.route.path).filter(Boolean)) || "/";+function HUe(e, t, n, r, i) {+ e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-var f5 = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function rGe(e, t) {- let n = e;- if (typeof n != "string" || !DWe.test(n)) return {- absoluteURL: void 0,- isExternal: !1,- to: n- };- let r = n, i = !1;- if (f5) try {- let e = new URL(window.location.href), r = OWe.test(n) ? new URL(kWe(n, e.protocol)) : new URL(n), a = o5(r.pathname, t);- r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;- } catch {- Q8(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);- }- return {- absoluteURL: r,- isExternal: i,- to: n- };+function UUe() {+ return VUe(HUe);}//#endregion-//#region node_modules/react-router/dist/production/lib/router/navigation.js-var p5 = new URL("http://localhost");-function m5(e) {- if (e.createURL) return e.createURL("/");- try {- return new URL(e.createHref("/"), p5);- } catch {- return p5;- }-}-function h5(e, t) {- return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);+//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js+function WUe(e) {+ return [e.source.x1, e.y0];}-function iGe(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 GUe(e) {+ return [e.target.x0, e.y1];}-function g5(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 && !h5(i, n), s = !h5(a, n);- if (r === "reject") {- if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !iGe(e, i) || !h5(i, a))) throw Error("External navigation is not allowed");+function KUe() {+ return UUe().source(WUe).target(GUe);}//#endregion-//#region node_modules/react-router/dist/production/lib/router/router.js-var _5 = [- "POST",- "PUT",- "PATCH",- "DELETE"-];-new Set(_5);-var aGe = ["GET", ..._5];-new Set(aGe);-var oGe = [- "about:",- "blob:",- "chrome:",- "chrome-untrusted:",- "content:",- "data:",- "devtools:",- "file:",- "filesystem:",- "javascript:"-];-function sGe(e) {- try {- return oGe.includes(new URL(e).protocol);- } catch {- return !1;- }+//#region src/react/taste/taste.ts+var qUe = "/api/taste", F8 = "/api/taste/refresh", JUe = "/api/taste/import", YUe = "/api/taste/source", I8 = (e) => ["taste", e], XUe = ["taste", "refresh"], ZUe = [+ ["7d", "最近 7 天"],+ ["30d", "最近 30 天"],+ ["90d", "最近 90 天"],+ ["365d", "最近一年"],+ ["all", "全部时间"]+], L8 = (e, t) => G(`${qUe}?window=${e}`, t), QUe = (e) => G(F8, e);+async function $Ue(e, t) {+ await z.fetchQuery({+ queryKey: I8(e),+ queryFn: () => L8(e, t)+ });}-//#endregion-//#region node_modules/react-router/dist/production/lib/context.js-var v5 = B.createContext(null);-v5.displayName = "DataRouter";-var cGe = B.createContext(null);-cGe.displayName = "DataRouterState";-var y5 = B.createContext(null);-y5.displayName = "DataRouterData";-var lGe = B.createContext(null);-lGe.displayName = "DataRouterNavigation";-var uGe = B.createContext(!1), dGe = B.createContext({ isTransitioning: !1 });-dGe.displayName = "ViewTransition";-var fGe = B.createContext(null);-fGe.displayName = "Fetchers";-var pGe = B.createContext(null);-pGe.displayName = "Await";-var b5 = B.createContext(null);-b5.displayName = "Navigation";-var x5 = B.createContext(null);-x5.displayName = "Location";-var S5 = B.createContext({- outlet: null,- matches: [],- isDataRoute: !1+var eWe = (e) => K(F8, {+ window: e,+ background: !0+}), tWe = (e, t) => K(YUe, {+ operation: "remove",+ source_key: e,+ window: t});-S5.displayName = "Route";-var C5 = B.createContext(!1);-C5.displayName = "IsDataRoute";-var w5 = B.createContext(void 0);-w5.displayName = "RouteId";-var T5 = B.createContext(null);-T5.displayName = "RouteError";-//#endregion-//#region node_modules/react-router/dist/production/lib/errors.js-var E5 = "REACT_ROUTER_ERROR", mGe = "REDIRECT", hGe = "ROUTE_ERROR_RESPONSE";-function gGe(e) {- if (e.startsWith(`${E5}:${mGe}:{`)) 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 _Ge(e) {- if (e.startsWith(`${E5}:${hGe}:{`)) try {- let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new eGe(t.status, t.statusText, t.data);+async function nWe(e) {+ let t = await fetch(JUe, {+ method: "POST",+ credentials: "same-origin",+ headers: {+ "Content-Type": "application/octet-stream",+ "X-Peach-Filename": encodeURIComponent(e.name)+ },+ body: e+ }), n = null;+ try {+ n = await t.json();} catch {}+ if (!t.ok) {+ let e = n?.error;+ throw new jS(e || `导入失败(${t.status})`, t.status, n);+ }+ return n;}-//#endregion-//#region node_modules/react-router/dist/production/lib/hooks.js-function D5() {- return B.useContext(x5) != null;-}-function O5() {- return Z8(D5(), "useLocation() may be used only in the context of a <Router> component."), B.useContext(x5).location;-}-var k5 = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";-function vGe() {- return B.useContext(C5) ? AGe() : yGe();-}-function yGe() {- Z8(D5(), "useNavigate() may be used only in the context of a <Router> component.");- let e = B.useContext(v5), { basename: t, navigator: n } = B.useContext(b5), { matches: r } = B.useContext(S5), { pathname: i } = O5(), a = JSON.stringify(YWe(r)), o = B.useRef(!1);- return B.useLayoutEffect(() => {- o.current = !0;- }), B.useCallback((r, s = {}) => {- if (Q8(o.current, k5), !o.current) return;- if (typeof r == "number") {- n.go(r);- return;- }- let c = XWe(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : u5([t, c.pathname])), g5(typeof r == "string" ? r : AWe(r), n.createHref(c), m5(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);- }, [- t,- n,- a,- i,- e- ]);+var rWe = 1e4, R8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", iWe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, aWe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function oWe(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(" · ");}-B.createContext(null);-function bGe(e, t) {- return A5(e, t);+function sWe(e) {+ let t = e.map(aWe), n = Math.max(1, ...t);+ return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-function A5(e, t, n) {- Z8(D5(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = B.useContext(b5), { matches: i } = B.useContext(S5), a = i[i.length - 1], o = a ? a.params : {};- a && a.pathname;- let s = a ? a.pathnameBase : "/";- a && a.route;- let c = O5(), l;- if (t) {- let e = typeof t == "string" ? $8(t) : t;- Z8(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 !== "/") {- let e = s.replace(/^\//, "").split("/");- 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) : jWe(e, { pathname: d });- let p = EGe(f && f.map((e) => Object.assign({}, e, {- params: Object.assign({}, o, e.params),- pathname: u5([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : u5([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(x5.Provider, { value: {- location: {- pathname: "/",- search: "",- hash: "",- state: null,- key: "default",- mask: void 0,- ...l- },- navigationType: "POP"- } }, p) : p;+var z8 = (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 cWe(e) {+ let t = z8(e, 6);+ return t.length < 3 ? [] : t;}-function xGe() {- let e = kGe(), t = tGe(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 B8 = {+ width: 720,+ height: 435+}, V8 = {+ source: 145,+ target: 545+};+function lWe(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 = PUe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({+ nodes: [...n.map((e) => ({+ id: `source:${e}`,+ name: e,+ side: "source"+ })), ...r.map((e) => ({+ id: `target:${e}`,+ name: e,+ side: "target"+ }))],+ links: t.map((e) => ({+ source: `source:${e.source}`,+ target: `target:${e.target}`,+ value: e.value+ }))+ }), a = t.reduce((e, t) => e + t.value, 0), o = KUe();+ return {+ nodes: i.nodes.map((e) => ({+ id: e.id,+ name: e.name,+ side: e.side,+ index: e.index ?? 0,+ x: e.x0 ?? 0,+ y: e.y0 ?? 0,+ height: Math.max(1, (e.y1 ?? 0) - (e.y0 ?? 0)),+ value: e.value ?? 0,+ share: (e.value ?? 0) / a * 100,+ color: n.indexOf(e.name) % 6+ })),+ links: i.links.map((e, t) => {+ let r = e.source, i = e.target;+ return {+ key: `${r.id}->${i.id}:${t}`,+ d: o(e) || "",+ width: Math.max(.5, e.width || 0),+ color: n.indexOf(r.name) % 6,+ source: r.index ?? 0,+ target: i.index ?? 0,+ value: e.value,+ label: `${r.name} → ${i.name}`+ };+ }),+ total: a+ };}-var SGe = /* @__PURE__ */ B.createElement(xGe, null), CGe = class extends B.Component {- constructor(e) {- super(e), this.state = {- location: e.location,- revalidation: e.revalidation,- error: e.error- };- }- static contextType = uGe;- static getDerivedStateFromError(e) {- return { error: e };- }- static getDerivedStateFromProps(e, t) {- return t.location !== e.location || t.revalidation !== "idle" && e.revalidation === "idle" ? {- error: e.error,- location: e.location,- revalidation: e.revalidation- } : {- error: e.error === void 0 ? t.error : e.error,- location: t.location,- revalidation: e.revalidation || t.revalidation- };- }- componentDidCatch(e, t) {- this.props.onError ? this.props.onError(e, t) : console.error("React Router caught the following error during render", e);- }- render() {- let e = this.state.error;- if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = _Ge(e.digest);- t && (e = t);- }- let t = e === void 0 ? this.props.children : /* @__PURE__ */ B.createElement(S5.Provider, { value: this.props.routeContext }, /* @__PURE__ */ B.createElement(C5.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ B.createElement(w5.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ B.createElement(T5.Provider, {- value: e,- children: this.props.component- }))));- return this.context ? /* @__PURE__ */ B.createElement(wGe, { error: e }, t) : t;- }-}, j5 = /* @__PURE__ */ new WeakMap();-function wGe({ children: e, error: t }) {- let { basename: n, navigator: r } = B.useContext(b5);- if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = gGe(t.digest);- if (e) {- let i = j5.get(t);- if (i) throw i;- let a = rGe(e.location, n), o = a.absoluteURL || a.to;- if (g5(e.location, o, m5(r), "allow-explicit"), sGe(o)) throw Error("Invalid redirect location");- if (f5 && !j5.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 j5.set(t, n), n;- }- }- return /* @__PURE__ */ B.createElement("meta", {- httpEquiv: "refresh",- content: `0;url=${o}`- });- }+var uWe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, H8 = 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)(W8, {+ cx: e,+ cy: t,+ dotId: c,+ fillOpacity: a,+ gradientUrl: l,+ className: i,+ maskId: s+ });+ case "colored-border": return /* @__PURE__ */ (0, V.jsx)(G8, {+ cx: e,+ cy: t,+ dotId: c,+ fillOpacity: a,+ gradientUrl: l,+ className: i,+ maskId: s+ });+ default: return /* @__PURE__ */ (0, V.jsx)(U8, {+ cx: e,+ cy: t,+ dotId: c,+ fillOpacity: a,+ gradientUrl: l,+ className: i,+ maskId: s+ });}+}), U8 = 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", {+ id: `dot-clip-${n}`,+ children: /* @__PURE__ */ (0, V.jsx)("circle", {+ cx: e,+ cy: t,+ r: 3+ })+ }) }), /* @__PURE__ */ (0, V.jsx)("rect", {+ x: "0",+ y: t - 3,+ width: "100%",+ height: 6,+ fill: i,+ fillOpacity: r,+ clipPath: `url(#dot-clip-${n})`+ })]+}));+U8.displayName = "DefaultDot";+var W8 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, V.jsxs)("g", {+ className: b6(a, "text-background"),+ mask: o ? `url(#${o})` : void 0,+ children: [+ /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)("clipPath", {+ id: `dot-clip-${n}`,+ children: /* @__PURE__ */ (0, V.jsx)("circle", {+ cx: e,+ cy: t,+ r: 6+ })+ }) }),+ /* @__PURE__ */ (0, V.jsx)("circle", {+ cx: e,+ cy: t,+ r: 6,+ fill: "currentColor"+ }),+ /* @__PURE__ */ (0, V.jsx)("rect", {+ x: "0",+ y: t - (6 - 5 / 2),+ width: "100%",+ height: 7,+ fill: i,+ fillOpacity: r,+ clipPath: `url(#dot-clip-inner-${n})`+ }),+ /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)("clipPath", {+ id: `dot-clip-inner-${n}`,+ children: /* @__PURE__ */ (0, V.jsx)("circle", {+ cx: e,+ cy: t,+ r: 6 - 5 / 2+ })+ }) })+ ]+}));+W8.displayName = "PrimaryBorderDot";+var G8 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, V.jsxs)("g", {+ className: b6(a, "text-background"),+ mask: o ? `url(#${o})` : void 0,+ children: [+ /* @__PURE__ */ (0, V.jsx)("defs", { children: /* @__PURE__ */ (0, V.jsx)("clipPath", {+ id: `dot-clip-${n}`,+ children: /* @__PURE__ */ (0, V.jsx)("circle", {+ cx: e,+ cy: t,+ r: 3.5+ })+ }) }),+ /* @__PURE__ */ (0, V.jsx)("rect", {+ x: "0",+ y: t - 3 - 1 / 2,+ width: "100%",+ height: 7,+ fill: i,+ fillOpacity: r,+ clipPath: `url(#dot-clip-${n})`+ }),+ /* @__PURE__ */ (0, V.jsx)("circle", {+ cx: e,+ cy: t,+ r: 3 - 1 / 2,+ fill: "currentColor"+ })+ ]+}));+G8.displayName = "ColoredBorderDot";+//#endregion+//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx+var dWe = 1, fWe = .3, pWe = 6, K8 = 1500, q8 = "value", J8 = (0, B.createContext)(null);+function Y8() {+ let e = (0, B.use)(J8);+ if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");return e;}-function TGe({ routeContext: e, match: t, children: n }) {- let r = B.useContext(v5);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ B.createElement(S5.Provider, { value: e }, /* @__PURE__ */ B.createElement(C5.Provider, { value: e.isDataRoute }, /* @__PURE__ */ B.createElement(w5.Provider, { value: t.route.id }, n)));-}-function EGe(e, t = [], n) {- let r = n?.state;- if (e == null) {- if (!r) return null;- if (r.errors) e = r.matches;- else if (t.length === 0 && !r.initialized && r.matches.length > 0) e = r.matches;- else return null;- }- let i = e, a = r?.errors;- if (a != null) {- let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);- Z8(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) {- o = r.renderFallback;- for (let e = 0; e < i.length; e++) {- let t = i[e];- if ((t.route.HydrateFallback || t.route.hydrateFallbackElement) && (s = e), t.route.id) {- let { loaderData: e, errors: a } = r, c = t.route.loader && !e.hasOwnProperty(t.route.id) && (!a || a[t.route.id] === void 0);- if (t.route.lazy || c) {- n.isStatic && (o = !0), i = s >= 0 ? i.slice(0, s + 1) : [i[0]];- break;- }- }- }- }- let c = n?.onError, l = r && c ? (e, t) => {- c(e, {- location: r.location,- params: r.matches?.[0]?.params ?? {},- pattern: nGe(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 || SGe, o && (s < 0 && c === 0 ? (jGe("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(TGe, {- match: n,- routeContext: {- outlet: e,- matches: m,- isDataRoute: r != null- },- children: t- });- };- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ B.createElement(CGe, {- location: r.location,- revalidation: r.revalidation,- component: f,- error: u,- children: h(),- routeContext: {- outlet: null,- matches: m,- isDataRoute: !0- },- onError: l- }) : h();- }, null);-}-function M5(e) {- return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;-}-function DGe(e) {- let t = B.useContext(v5);- return Z8(t, M5(e)), t;-}-function OGe(e) {- let t = B.useContext(y5);- return Z8(t, M5(e)), t;-}-function N5(e) {- let t = B.useContext(w5);- return Z8(t, `${e} can only be used on routes that contain a unique "id"`), t;-}-function kGe() {- let e = B.useContext(T5), t = OGe("useRouteError"), n = N5("useRouteError");- return e === void 0 ? t.errors?.[n] : e;+function X8({ 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 = EWe(c, l), m = (0, B.useCallback)((e) => {+ f(e), s?.(e);+ }, [s]), h = (0, B.useMemo)(() => ({+ config: e,+ isLoading: c,+ selectedDataKey: d,+ selectDataKey: m+ }), [+ e,+ c,+ d,+ m+ ]);+ return /* @__PURE__ */ (0, V.jsx)(J8, {+ value: h,+ children: /* @__PURE__ */ (0, V.jsxs)(T6, {+ className: r,+ config: e,+ children: [/* @__PURE__ */ (0, V.jsx)(E6, { isLoading: c }), /* @__PURE__ */ (0, V.jsxs)(ZVe, {+ id: u,+ data: c ? p : t,+ ...i,+ children: [+ a && /* @__PURE__ */ (0, V.jsx)(L6, { variant: a }),+ n,+ c && /* @__PURE__ */ (0, V.jsx)(DWe, {})+ ]+ })]+ })+ });}-function AGe() {- let { router: e } = DGe("useNavigate"), t = N5("useNavigate"), n = B.useRef(!1);- return B.useLayoutEffect(() => {- n.current = !0;- }), B.useCallback(async (r, i = {}) => {- Q8(n.current, k5), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {- fromRouteId: t,- ...i- }));- }, [e, t]);+function mWe({ dataKey: e, variant: t = "filled", fillOpacity: n = fWe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {+ let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = Y8(), 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)(u2, {+ dataKey: e,+ stroke: `url(#${d}-radar-stroke-${e})`,+ strokeOpacity: p.stroke,+ strokeWidth: dWe,+ fill: m ? `url(#${d}-radar-fill-${e})` : "none",+ fillOpacity: m ? n * p.fill : 0,+ dot: h,+ activeDot: g,+ filter: r ? `url(#${d}-radar-glow-${e})` : void 0,+ className: "transition-opacity duration-200",+ style: i ? { cursor: "pointer" } : void 0,+ onClick: () => {+ i && u(l === e ? null : e);+ },+ ...o+ }), /* @__PURE__ */ (0, V.jsxs)("defs", { children: [+ /* @__PURE__ */ (0, V.jsx)(xWe, {+ id: d,+ dataKey: e,+ config: s+ }),+ /* @__PURE__ */ (0, V.jsx)(SWe, {+ id: d,+ dataKey: e,+ config: s+ }),+ m && /* @__PURE__ */ (0, V.jsx)(CWe, {+ id: d,+ dataKey: e,+ config: s+ }),+ r && /* @__PURE__ */ (0, V.jsx)(wWe, {+ id: d,+ dataKey: e+ })+ ] })] });}-var P5 = {};-function jGe(e, t, n) {- !t && !P5[e] && (P5[e] = !0, Q8(!1, n));+var Z8 = () => null, Q8 = () => null;+function hWe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {+ return /* @__PURE__ */ (0, V.jsx)(r0, {+ gridType: e,+ stroke: t,+ strokeOpacity: n,+ strokeDasharray: r,+ ...i+ });}-B.memo(MGe);-function MGe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = B.useContext(v5);- return Z8(a, "You must render this element inside a <DataRouterContext.Provider> element"), A5(e, void 0, {- router: a.router,- manifest: t,- state: n,- isStatic: r,- onError: i+function gWe({ tick: e = {+ fill: "currentColor",+ fontSize: 12+}, tickLine: t = !1, ...n }) {+ let { isLoading: r } = Y8();+ return r ? null : /* @__PURE__ */ (0, V.jsx)(_0, {+ tick: e,+ tickLine: t,+ ...n});}-function F5(e) {- Z8(!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 _We({ tick: e = {+ fill: "currentColor",+ fontSize: 10+}, tickLine: t = !1, axisLine: n = !1, ...r }) {+ let { isLoading: i } = Y8();+ return i ? null : /* @__PURE__ */ (0, V.jsx)(d0, {+ tick: e,+ tickLine: t,+ axisLine: n,+ ...r+ });}-function NGe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- Z8(!D5(), "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,- static: a,- useTransitions: o,- future: {}- }), [- s,- i,- a,- o- ]);- typeof n == "string" && (n = $8(n));- let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = B.useMemo(() => {- let e = o5(l, s);- return e == null ? null : {- location: {- pathname: e,- search: u,- hash: d,- state: f,- key: p,- mask: m- },- navigationType: r- };- }, [- s,- l,- u,- d,- f,- p,- r,- m- ]);- return Q8(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(b5.Provider, { value: c }, /* @__PURE__ */ B.createElement(x5.Provider, {- children: t,- value: h- }));+function vWe({ variant: e, roundness: t, defaultIndex: n }) {+ let { isLoading: r, selectedDataKey: i } = Y8();+ return r ? null : /* @__PURE__ */ (0, V.jsx)(j6, {+ defaultIndex: n,+ cursor: !1,+ content: /* @__PURE__ */ (0, V.jsx)(A6, {+ selected: i,+ roundness: t,+ variant: e+ })+ });}-function I5({ children: e, location: t }) {- return bGe(L5(e), t);+function yWe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {+ let { isLoading: i, selectedDataKey: a, selectDataKey: o } = Y8();+ return i ? null : /* @__PURE__ */ (0, V.jsx)(N6, {+ verticalAlign: n,+ align: t,+ content: /* @__PURE__ */ (0, V.jsx)(M6, {+ selected: a,+ onSelectChange: o,+ isClickable: r,+ variant: e+ })+ });}-B.Component;-function L5(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, L5(e.props.children, i));- return;+var bWe = (e, t, n, r) => {+ let i = !1, a = !1;+ return B.Children.forEach(e, (e) => {+ if ((0, B.isValidElement)(e)) {+ if (e.type === Z8) {+ let { variant: a } = e.props;+ i = /* @__PURE__ */ (0, V.jsx)(H8, {+ type: a,+ dataKey: n,+ chartId: t,+ fillOpacity: r+ });+ }+ if (e.type === Q8) {+ let { variant: i } = e.props;+ a = /* @__PURE__ */ (0, V.jsx)(H8, {+ type: i,+ dataKey: n,+ chartId: t,+ fillOpacity: r+ });+ }}- Z8(e.type === F5, `[${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;- Z8(!a.index || !a.children, "An index route cannot have child routes.");- let o = {- id: a.id || i.join("-"),- caseSensitive: a.caseSensitive,- element: a.element,- Component: a.Component,- index: a.index,- path: a.path,- middleware: a.middleware,- loader: a.loader,- action: a.action,- hydrateFallbackElement: a.hydrateFallbackElement,- HydrateFallback: a.HydrateFallback,- errorElement: a.errorElement,- ErrorBoundary: a.ErrorBoundary,- shouldRevalidate: a.shouldRevalidate,- handle: a.handle,- lazy: a.lazy- };- a.children && (o.children = L5(a.children, i)), n.push(o);- }), n;+ }), {+ dot: i,+ activeDot: a+ };+}, $8 = ({ 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]+}), /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: "100%",+ stopColor: `var(--color-${e}-0)`,+ stopOpacity: n?.[n.length - 1]+})] }) : /* @__PURE__ */ (0, V.jsx)(V.Fragment, { children: Array.from({ length: t }, (r, i) => {+ let a = `${i / (t - 1) * 100}%`;+ return /* @__PURE__ */ (0, V.jsx)("stop", {+ offset: a,+ stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,+ stopOpacity: n?.[i]+ }, a);+}) }), xWe = ({ id: e, dataKey: t, config: n }) => {+ let r = k6(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)($8, {+ dataKey: t,+ colorsCount: r+ })+ });+}, SWe = ({ id: e, dataKey: t, config: n }) => {+ let r = k6(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)($8, {+ dataKey: t,+ colorsCount: r+ })+ });+}, CWe = ({ id: e, dataKey: t, config: n }) => {+ let r = k6(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)($8, {+ dataKey: t,+ colorsCount: r,+ opacities: i+ })+ });+}, wWe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, V.jsxs)("filter", {+ id: `${e}-radar-glow-${t}`,+ x: "-50%",+ y: "-50%",+ width: "200%",+ height: "200%",+ children: [+ /* @__PURE__ */ (0, V.jsx)("feGaussianBlur", {+ in: "SourceGraphic",+ stdDeviation: "4",+ result: "blur"+ }),+ /* @__PURE__ */ (0, V.jsx)("feColorMatrix", {+ in: "blur",+ type: "matrix",+ values: "1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.6 0",+ result: "glow"+ }),+ /* @__PURE__ */ (0, V.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, V.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, V.jsx)("feMergeNode", { in: "SourceGraphic" })] })+ ]+}), TWe = (e) => [+ "A",+ "B",+ "C",+ "D",+ "E",+ "F"+].slice(0, e).map((e) => ({+ skill: e,+ [q8]: 30 + Math.random() * 70+}));+function EWe(e, t = pWe) {+ let [n, r] = (0, B.useState)(0);+ return (0, B.useEffect)(() => {+ if (!e) return;+ let t = setInterval(() => {+ r((e) => e + 1);+ }, K8);+ return () => clearInterval(t);+ }, [e]), (0, B.useMemo)(() => TWe(t), [t, n]);}+var DWe = () => /* @__PURE__ */ (0, V.jsx)(u2, {+ dataKey: q8,+ stroke: "currentColor",+ strokeOpacity: .3,+ strokeWidth: 2,+ fill: "currentColor",+ fillOpacity: .1,+ dot: !1,+ isAnimationActive: !0,+ animationDuration: K8,+ animationEasing: "ease-in-out"+});+X8.Radar = mWe, X8.Dot = Z8, X8.ActiveDot = Q8, X8.PolarGrid = hWe, X8.PolarAngleAxis = gWe, X8.PolarRadiusAxis = _We, X8.Tooltip = vWe, X8.Legend = yWe;//#endregion-//#region src/react/providers.tsx-var R5 = null;-function PGe() {- return R5?.isConnected || (R5 = document.createElement("div"), R5.className = "peach-react", R5.dataset.reactOverlays = "", document.body.append(R5)), R5;+//#region src/react/taste/charts.tsx+var OWe = [+ "stroke-chart-1",+ "stroke-chart-2",+ "stroke-chart-3",+ "stroke-chart-4",+ "stroke-chart-5",+ "stroke-chart-6"+], kWe = [+ "fill-chart-1",+ "fill-chart-2",+ "fill-chart-3",+ "fill-chart-4",+ "fill-chart-5",+ "fill-chart-6"+], e5 = { value: {+ label: "标签命中",+ colors: K6(G6[3])+} }, AWe = [+ "min-h-24",+ "min-h-24",+ "min-h-24",+ "min-h-32",+ "min-h-40",+ "min-h-48",+ "min-h-52",+ "min-h-60",+ "min-h-64"+], jWe = 26, MWe = { radius: e5.value }, NWe = (e, t) => Math.sqrt(e / t);+function PWe({ rows: e, label: t }) {+ let n = cWe(e);+ if (!n.length) return null;+ let r = n[0].value, i = n.map((e) => ({+ ...e,+ radius: NWe(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)(X8, {+ data: i,+ config: MWe,+ chartProps: { outerRadius: "58%" },+ className: "aspect-auto h-70 text-text-secondary",+ children: [+ /* @__PURE__ */ (0, V.jsx)(X8.PolarGrid, {}),+ /* @__PURE__ */ (0, V.jsx)(X8.PolarAngleAxis, { dataKey: "name" }),+ /* @__PURE__ */ (0, V.jsx)(X8.PolarRadiusAxis, {+ domain: [0, 1],+ allowDecimals: !0,+ tick: !1+ }),+ /* @__PURE__ */ (0, V.jsx)(X8.Radar, { dataKey: "radius" }),+ /* @__PURE__ */ (0, V.jsx)(Z6, { valueKey: "value" })+ ]+ })+ });}-function z5({ children: e }) {- return /* @__PURE__ */ (0, V.jsx)(uS, {- client: z,- children: /* @__PURE__ */ (0, V.jsx)(rd, {- reducedMotion: "user",- children: /* @__PURE__ */ (0, V.jsx)(Qv, {- getContainer: PGe,- children: e+function FWe({ rows: e, label: t }) {+ let n = z8(e, 8);+ return n.length ? /* @__PURE__ */ (0, V.jsx)("section", {+ "aria-label": t,+ className: `flex grow flex-col ${AWe[n.length]}`,+ children: /* @__PURE__ */ (0, V.jsxs)(V6, {+ data: n,+ config: e5,+ layout: "horizontal",+ barRadius: 4,+ chartProps: { maxBarSize: jWe },+ className: "aspect-auto text-text-secondary",+ children: [+ /* @__PURE__ */ (0, V.jsx)(V6.YAxis, {+ dataKey: "name",+ interval: 0+ }),+ /* @__PURE__ */ (0, V.jsx)(V6.XAxis, {+ hide: !0,+ domain: Q6+ }),+ /* @__PURE__ */ (0, V.jsx)(V6.Bar, {+ dataKey: "value",+ enableHoverHighlight: !0,+ barProps: {+ dataKey: "value",+ label: $6("right")+ }+ }),+ /* @__PURE__ */ (0, V.jsx)(Z6, {})+ ]+ })+ }) : null;+}+function IWe({ flows: e }) {+ let [t, n] = (0, B.useState)(null), r = lWe(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: U6,+ children: [+ /* @__PURE__ */ (0, V.jsx)(W6, {+ title: "创作者线索来源",+ figure: (t ? t.value : r.total).toLocaleString(),+ note: t ? t.label : "条线索"+ }),+ /* @__PURE__ */ (0, V.jsx)("div", {+ className: "min-w-0 overflow-x-auto",+ children: /* @__PURE__ */ (0, V.jsxs)("svg", {+ viewBox: `0 0 ${B8.width} ${B8.height}`,+ fill: "none",+ role: "img",+ "aria-label": "来源网站与创作者线索",+ className: "block h-auto max-h-130 min-w-160 w-full",+ onPointerLeave: () => n(null),+ children: [/* @__PURE__ */ (0, V.jsx)("g", { children: r.links.map((e) => /* @__PURE__ */ (0, V.jsx)("path", {+ d: e.d,+ strokeWidth: e.width,+ tabIndex: 0,+ role: "img",+ "aria-label": `${e.label}:${e.value} 条线索`,+ fillOpacity: 0,+ strokeOpacity: a(e, e.label) ? .55 : .08,+ className: `outline-none transition-opacity ${OWe[e.color]}`,+ onPointerEnter: () => n({+ value: e.value,+ label: e.label,+ node: null+ }),+ onFocus: () => n({+ value: e.value,+ label: e.label,+ node: null+ }),+ onBlur: () => n(null)+ }, e.key)) }), /* @__PURE__ */ (0, V.jsx)("g", { children: r.nodes.map((e) => /* @__PURE__ */ (0, V.jsxs)("g", {+ tabIndex: 0,+ role: "img",+ "aria-label": `${e.name}:${e.value} 条线索`,+ className: "outline-none focus-visible:opacity-100",+ onPointerEnter: () => n({+ value: e.value,+ label: e.name,+ node: e.index+ }),+ onFocus: () => n({+ value: e.value,+ label: e.name,+ node: e.index+ }),+ onBlur: () => n(null),+ children: [/* @__PURE__ */ (0, V.jsx)("rect", {+ x: e.x,+ y: e.y,+ width: 10,+ height: e.height,+ rx: 5,+ className: e.side === "source" ? kWe[e.color] : "fill-text-secondary"+ }), /* @__PURE__ */ (0, V.jsxs)("text", {+ x: V8[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: [uWe(e.name), /* @__PURE__ */ (0, V.jsx)("tspan", {+ x: V8[e.side],+ dy: 15,+ children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`+ })]+ })]+ }, e.id)) })]+ })+ }),+ /* @__PURE__ */ (0, V.jsxs)("footer", {+ className: "flex justify-between gap-3 text-caption-1-regular text-text-secondary",+ children: [/* @__PURE__ */ (0, V.jsx)("span", { children: "来源网站" }), /* @__PURE__ */ (0, V.jsx)("span", { children: "创作者 · 线索占比" })]})- })+ ]});}//#endregion-//#region src/react/router/router.tsx-var B5 = (0, B.createContext)(0), V5 = (0, B.createContext)(null);-function FGe({ children: e }) {- let [t, n] = (0, B.useState)(() => ft.navigation);- return (0, B.useLayoutEffect)(() => (n(ft.navigation), ft.listen(n)), []), /* @__PURE__ */ (0, V.jsx)(B5.Provider, {- value: t.seq,- children: /* @__PURE__ */ (0, V.jsx)(NGe, {- location: t.location,- navigationType: t.action,- navigator: ft,- children: e+//#region src/react/taste/taste-page.tsx+var LWe = 10, t5 = vE(bk, xk, "text-body-2-medium"), n5 = `${wE()} flex flex-col gap-4`, r5 = "rounded-xl bg-background-primary-default p-3", RWe = "读取运行 Peach 的这台电脑上的浏览记录", zWe = "导入或读取浏览记录后,这里会列出已采集设备。", BWe = "馆藏里暂时没有对得上浏览信号的标签。", VWe = "采集浏览记录后,这里会显示聚合后的口味证据。", HWe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", UWe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", WWe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", GWe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", KWe = "这个数据源将不再用于口味分析。原始导出文件保留。", i5 = "peach-taste-guide-dismissed";+function a5({ icon: e, term: t, figure: n, detail: r, accent: i }) {+ return /* @__PURE__ */ (0, V.jsx)("div", {+ className: _M(),+ children: /* @__PURE__ */ (0, V.jsx)(xM, {+ label: t,+ icon: e,+ accent: i,+ figure: n,+ footer: r ?? ""})});}-function IGe() {- let e = (0, B.useContext)(B5);- return (0, B.useLayoutEffect)(() => {- queueMicrotask(() => pt(e));- }, [e]), null;-}-function LGe({ target: e }) {- let t = vGe();- return (0, B.useLayoutEffect)(() => {- e.current = t;- }), null;+function o5({ 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", {+ src: xe({ domain: t }),+ alt: "",+ loading: "lazy",+ width: 20,+ height: 20,+ onError: (e) => e.currentTarget.remove(),+ className: "absolute size-5 object-contain"+ })]+ });}-function RGe(e, t, n) {- let r = new URL(e, window.location.href);- if (!I8(r.pathname)) {- t.navigate(e);- return;- }- n(`${r.pathname}${r.search}${r.hash}`);+function qWe({ 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 ${rL}`,+ dangerouslySetInnerHTML: { __html: e }+ });}-function zGe() {- let e = (0, B.useContext)(V5), [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 && RGe(t, e, r.current);- }, [e]);- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(LGe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, V.jsx)(BGe, {- entry: t,- children: /* @__PURE__ */ (0, V.jsx)(VGe, {- entry: t,- actions: e,- go: i+function JWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {+ if (!e.length) return /* @__PURE__ */ (0, V.jsx)(TE, {+ shell: "plain",+ icon: ET,+ title: "暂无足够证据",+ children: r+ });+ let a = sWe(e);+ return /* @__PURE__ */ (0, V.jsx)(c8, {+ previewCount: LWe,+ 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: [+ /* @__PURE__ */ (0, V.jsx)("svg", {+ viewBox: "0 0 100 1",+ preserveAspectRatio: "none",+ "aria-hidden": !0,+ className: "absolute inset-0 -z-10 size-full overflow-hidden rounded-lg opacity-15",+ children: /* @__PURE__ */ (0, V.jsx)("rect", {+ width: a[r],+ height: 1,+ className: "fill-chart-4"+ })+ }),+ /* @__PURE__ */ (0, V.jsx)("span", {+ className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",+ children: r + 1+ }),+ n === "domain" ? /* @__PURE__ */ (0, V.jsx)(o5, {+ name: e.name,+ domain: e.name+ }) : null,+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, V.jsx)(o5, {+ name: e.name,+ domain: s+ }) : null,+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, V.jsx)(qWe, { html: w(e.name, e.entity_id ? {+ id: e.entity_id,+ has_image: !!e.has_image,+ image_version: e.image_version,+ avatar_focus: e.avatar_focus+ } : null, e.has_avatar ? e.representative_asset_id ?? null : null, n === "creator" ? "creator" : t || "performer") }) : null,+ /* @__PURE__ */ (0, V.jsxs)("span", {+ className: "flex min-w-0 grow flex-col gap-0.5",+ children: [/* @__PURE__ */ (0, V.jsx)("b", {+ className: "min-w-0 text-body-medium break-words text-text-primary",+ children: e.name+ }), /* @__PURE__ */ (0, V.jsx)("small", {+ className: "text-caption-1-regular text-text-secondary",+ children: oWe(e)+ })]+ }),+ o ? /* @__PURE__ */ (0, V.jsx)(uT, {+ "aria-hidden": !0,+ className: "size-4 shrink-0 text-text-tertiary"+ }) : null+ ] }), l = "relative isolate flex min-h-11 w-full min-w-0 items-center gap-2.5 rounded-lg px-3 py-2 text-left";+ return /* @__PURE__ */ (0, V.jsx)("li", {+ className: "min-w-0",+ children: o ? /* @__PURE__ */ (0, V.jsx)("button", {+ type: "button",+ onClick: () => i(t, e.name),+ className: `${l} cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring`,+ children: c+ }) : /* @__PURE__ */ (0, V.jsx)("div", {+ className: l,+ children: c+ })+ }, e.name);})- }, t.revision)) : null] });-}-var BGe = class extends B.Component {- state = { failed: !1 };- static getDerivedStateFromError() {- return { failed: !0 };- }- componentDidCatch() {- lt(this.props.entry.container, this.props.entry.revision);- }- render() {- return this.state.failed ? null : this.props.children;- }-}, VGe = (0, B.memo)(function({ entry: e, actions: t, go: n }) {- return Y8(e.path) ? (0, $f.createPortal)(EWe(e.path, e.props, t, n), e.host, String(e.revision)) : null;-});-function HGe({ children: e }) {- let t = O5(), n = ct(t.state);- return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)(I5, {- location: n ?? t,- children: [- wWe.map((e) => /* @__PURE__ */ (0, V.jsx)(F5, {- path: e,- element: null- }, e)),- /* @__PURE__ */ (0, V.jsx)(F5, {- path: "/resource-sync",- element: null- }),- /* @__PURE__ */ (0, V.jsx)(F5, {- path: "*",- element: e- })- ]- }), /* @__PURE__ */ (0, V.jsxs)(I5, { children: [st.map((e) => /* @__PURE__ */ (0, V.jsx)(F5, {- path: e,- element: null- }, e)), /* @__PURE__ */ (0, V.jsx)(F5, {- path: "*",- element: null- })] })] });-}-function UGe({ children: e, actions: t = null }) {- return /* @__PURE__ */ (0, V.jsx)(z5, { children: /* @__PURE__ */ (0, V.jsx)(V5.Provider, {- value: t,- children: /* @__PURE__ */ (0, V.jsxs)(FGe, { children: [- /* @__PURE__ */ (0, V.jsx)(IGe, {}),- /* @__PURE__ */ (0, V.jsx)(zGe, {}),- /* @__PURE__ */ (0, V.jsx)(HGe, { children: e })- ] })- }) });-}-var WGe = { onCaughtError: (e) => {- globalThis.reportError?.(e);-} }, H5 = null;-function GGe(e) {- if (H5) return;- H5 = (0, MN.createRoot)(document.createElement("div"), WGe);- let t = H5;- (0, $f.flushSync)(() => t.render(/* @__PURE__ */ (0, V.jsx)(UGe, { actions: e })));-}-//#endregion-//#region src/number-setting.ts-function U5(e, t, n, r) {- return Number.isInteger(e) && e >= t && e <= n ? e : r;+ });}-//#endregion-//#region src/react/settings/configuration-summary.tsx-var KGe = (e) => {- let t = e.updates;- return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";-};-function qGe({ openConfiguration: e }) {- let t = TS({- queryKey: _R,- queryFn: ({ signal: e }) => vR(e)- }), n = t.data;- return /* @__PURE__ */ (0, V.jsxs)("div", {- className: "flex flex-col",- children: [n ? /* @__PURE__ */ (0, V.jsxs)(Lk, { children: [- /* @__PURE__ */ (0, V.jsx)(Rk, {- term: "媒体库",- children: `${n.library_count} 个`- }),- /* @__PURE__ */ (0, V.jsx)(Rk, {- term: "端口",- children: String(n.port)- }),- /* @__PURE__ */ (0, V.jsx)(Rk, {- term: "更新",- children: KGe(n)+function s5({ label: e, panels: t, onSignal: n }) {+ return /* @__PURE__ */ (0, V.jsxs)(lk, {+ className: `${wE({ padding: "none" })} flex flex-col`,+ children: [/* @__PURE__ */ (0, V.jsx)("div", {+ className: "px-4 pt-3",+ children: /* @__PURE__ */ (0, V.jsx)(dA, {+ "aria-label": e,+ className: pA,+ children: t.map((e) => /* @__PURE__ */ (0, V.jsx)(dk, {+ id: e.id,+ className: mA,+ children: e.name+ }, e.id))})- ] }) : /* @__PURE__ */ (0, V.jsx)(jk, { children: /* @__PURE__ */ (0, V.jsx)(Y, {- tone: "error",- title: "配置读取失败",- children: t.error ? W(t.error) : "未取得配置,请刷新页面重试。"- }) }), /* @__PURE__ */ (0, V.jsx)(Mk, {- status: "媒体文件夹、端口、代理与更新在配置页上改。",- children: /* @__PURE__ */ (0, V.jsx)(J, {- onClick: e,- children: "打开配置页"+ }), t.map((e) => /* @__PURE__ */ (0, V.jsx)(fk, {+ id: e.id,+ className: "px-4 pt-3.5 pb-4",+ children: /* @__PURE__ */ (0, V.jsx)(JWe, {+ ...e.props,+ onSignal: n})- })]+ }, e.id))]});}-//#endregion-//#region src/react/settings-panel/legacy-controls.tsx-var W5 = (e) => e.map(([e, t, n]) => n ? [- e,- t,- n-] : [e, t]);-function G5({ 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, W5(r), i, {- attr: a,- className: o,- text: s- }), Qe(e, a, (e) => {- d.current = {- value: e,- epoch: c- }, f.current(e);- }), d.current = {- value: i,- epoch: c- }));- }), /* @__PURE__ */ (0, V.jsx)("div", {- id: e,- ref: u+function YWe({ data: e, onSignal: t, navigate: n }) {+ let r = e.analysis;+ if (!r?.headline) return null;+ let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({+ key: `tag:${e.tag}`,+ title: e.title,+ detail: e.detail,+ act: () => t("tag", e.tag)+ })), ...(r.next_steps || []).map((e) => ({+ key: `route:${e.route}`,+ title: e.title,+ detail: e.detail,+ act: () => n(e.route)+ }))];+ return /* @__PURE__ */ (0, V.jsxs)("section", {+ className: n5,+ "aria-label": "口味总结",+ children: [+ /* @__PURE__ */ (0, V.jsxs)("header", {+ className: "flex flex-col gap-2",+ children: [+ /* @__PURE__ */ (0, V.jsx)("h3", {+ className: "text-title-2-medium text-text-primary",+ children: "口味总结"+ }),+ /* @__PURE__ */ (0, V.jsx)("p", {+ className: "max-w-prose text-title-2-regular text-text-primary",+ children: r.headline+ }),+ /* @__PURE__ */ (0, V.jsxs)("p", {+ className: "flex flex-wrap items-center gap-2 text-body-2-regular text-text-secondary",+ children: [/* @__PURE__ */ (0, V.jsx)("i", {+ "aria-hidden": !0,+ className: `size-2 shrink-0 rounded-full ${i.level === "high" ? "bg-status-lime-text" : i.level === "medium" ? "bg-status-yellow-text" : "bg-text-tertiary"}`+ }), i.label || "仍在学习"]+ })+ ]+ }),+ 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 ${r5}`,+ children: [/* @__PURE__ */ (0, V.jsx)("span", {+ className: "text-caption-1-regular text-text-secondary",+ children: e.label+ }), /* @__PURE__ */ (0, V.jsx)("b", {+ className: "text-body-2-medium break-words text-text-primary",+ children: e.text+ })]+ }, e.label))+ }) : null,+ a.length ? /* @__PURE__ */ (0, V.jsx)("div", {+ className: "flex flex-col gap-2",+ 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 ${r5} 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", {+ className: "text-body-2-medium text-text-primary",+ children: e.title+ }), /* @__PURE__ */ (0, V.jsx)("small", {+ className: "text-caption-1-regular text-text-secondary",+ children: e.detail+ })]+ }), /* @__PURE__ */ (0, V.jsx)(uT, {+ "aria-hidden": !0,+ className: "size-4 shrink-0 text-text-tertiary"+ })]+ }, e.key))+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {+ shell: "plain",+ icon: ET,+ title: "还没有可探索的入口",+ children: BWe+ })+ ]});}-function K5({ 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(W5(n), r, { label: t });- let i = $e(e.firstElementChild);- i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;+function XWe({ onboarding: e, done: t }) {+ let [n, r] = (0, B.useState)(() => {+ try {+ return localStorage.getItem(i5) === "1";+ } catch {+ return !1;}- let o = f.current;- o.value !== r && (o.value = r), o.disabled !== i && (o.disabled = i), o.getAttribute("aria-busy") === "true" !== a && Ue(o, a), u?.(o);- }), /* @__PURE__ */ (0, V.jsx)("div", {- id: e,- ref: d,- hidden: o,- "aria-describedby": s- });-}-function JGe({ 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- });- return l.current = {- onStep: a,- onSettle: o- }, (0, B.useLayoutEffect)(() => {- let i = s.current;- !i || c.current || (i.insertAdjacentHTML("beforeend", Ee({- value: r,- min: 0,- max: n,- step: 1,- label: t,- attr: `data-glow-dial="${e}"`- })), c.current = Xe(i.lastElementChild, {- onInput: (e) => l.current.onStep(e),- onChange: (e) => l.current.onSettle(e)- }));- }), (0, B.useLayoutEffect)(() => {- c.current && c.current.value !== r && c.current.set(r);- }, [r]), /* @__PURE__ */ (0, V.jsx)("div", {- "data-glow-field": e,- hidden: i,- ref: s,- children: /* @__PURE__ */ (0, V.jsx)("span", {- "data-glow-field-label": "",- children: t- })});-}-//#endregion-//#region src/react/settings-panel/glow-settings.tsx-var YGe = [- [- "strength",- "强度",- 100- ],- [- "noise",- "颗粒",- 60- ],- [- "speed",- "漂移速度",- 300- ],- [- "soften",- "柔化",- 100- ],- [- "size",- "大小",- 100- ]-];-function XGe({ 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] = [- c.current,- l.current,- d.current- ];- !e || !t || !n || (t.addEventListener("click", () => {- n.style.width = `${e.getBoundingClientRect().width}px`;- }), Je(e, t, n));- }, []);- let m = o[i].color, h = (t) => {- let n = e.store.value.homeGlow;- n[i].color = u(t, n[i].color), n.preset = "custom", e.store.save(), e.changed("glow"), we(), l.current?.focus();- };- return /* @__PURE__ */ (0, V.jsxs)("div", {- "data-glow-stop": i,- ref: c,- children: [/* @__PURE__ */ (0, V.jsxs)("button", {- type: "button",- "data-glow-stop-toggle": "",- "aria-haspopup": "dialog",- "aria-expanded": "false",- ref: l,+ return t || n ? null : /* @__PURE__ */ (0, V.jsx)("div", {+ className: wE({+ padding: "none",+ className: "p-4"+ }),+ children: /* @__PURE__ */ (0, V.jsxs)(Bk, {+ summary: "浏览器历史记录导入指南",+ defaultOpen: e,children: [- /* @__PURE__ */ (0, V.jsx)("span", {- "aria-hidden": "true",- "data-glow-stop-dot": "",- style: { "--glow-swatch": m }+ /* @__PURE__ */ (0, V.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: UWe}),- /* @__PURE__ */ (0, V.jsxs)("span", {- "data-glow-stop-text": "",- children: [/* @__PURE__ */ (0, V.jsx)("b", { children: s }), /* @__PURE__ */ (0, V.jsx)("small", {- className: "mono",- "data-glow-stop-hex": "",- children: m- })]+ /* @__PURE__ */ (0, V.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: WWe+ }),+ /* @__PURE__ */ (0, V.jsxs)("ul", {+ className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",+ children: [/* @__PURE__ */ (0, V.jsxs)("li", { children: [+ "Chrome:在 ",+ /* @__PURE__ */ (0, V.jsx)("a", {+ href: "https://takeout.google.com/",+ target: "_blank",+ rel: "noopener noreferrer",+ className: "text-text-primary underline-offset-4 hover:underline",+ children: "Google Takeout"+ }),+ " ",+ "选择 Chrome 历史记录,下载 ZIP 后直接导入。"+ ] }), /* @__PURE__ */ (0, V.jsxs)("li", { children: [+ "其他浏览器:用 ",+ /* @__PURE__ */ (0, V.jsx)("a", {+ href: "https://github.com/purarue/browserexport",+ target: "_blank",+ rel: "noopener noreferrer",+ className: "text-text-primary underline-offset-4 hover:underline",+ children: "browserexport"+ }),+ " ",+ "导出历史记录,再导入导出文件。"+ ] })]+ }),+ /* @__PURE__ */ (0, V.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: GWe}),- /* @__PURE__ */ (0, V.jsx)(tT, { name: "chevron-down" })+ /* @__PURE__ */ (0, V.jsx)("span", {+ className: "self-start",+ children: /* @__PURE__ */ (0, V.jsx)(J, {+ variant: "secondary",+ size: "small",+ onClick: () => {+ try {+ localStorage.setItem(i5, "1");+ } catch {}+ r(!0);+ },+ children: "跳过"+ })+ })]- }), /* @__PURE__ */ (0, V.jsxs)("div", {- className: "popmenu",- "data-glow-stop-pop": "",- popover: "manual",- hidden: !0,- ref: d,- children: [/* @__PURE__ */ (0, V.jsx)("div", {- "data-glow-pills": "",- role: "group",- "aria-label": "色系",- children: r.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)("button", {- type: "button",- "data-glow-pill": e,- "aria-pressed": e === f,- onClick: () => p(e),- children: t- }, e))- }), /* @__PURE__ */ (0, V.jsx)("div", {- "data-glow-palette": "",- role: "radiogroup",- "aria-label": `${s}颜色`,- children: n.map(([e, t, n]) => /* @__PURE__ */ (0, V.jsx)("button", {- type: "button",- role: "radio",- "aria-checked": n === m,- "data-glow-swatch": n,- "data-glow-family": e,- style: { "--glow-swatch": n },- title: t,- "aria-label": t,- hidden: f !== "all" && e !== f,- onClick: () => h(n)- }, n))- })]+ })+ });+}+function ZWe({ busy: e, onRefresh: t, onImport: n }) {+ let r = (0, B.useRef)(null), [i, a] = (0, B.useState)(!1), o = (e) => {+ a(!1), e();+ };+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("span", {+ "data-button-group": !0,+ "data-split-button": !0,+ "data-variant": "primary",+ children: [/* @__PURE__ */ (0, V.jsx)(J, {+ leadingIcon: hT,+ title: RWe,+ onClick: t,+ ...X(e),+ children: "读取浏览器历史"+ }), /* @__PURE__ */ (0, V.jsx)(J, {+ ref: r,+ iconOnly: !0,+ leadingIcon: cT,+ "aria-label": "更多取得浏览记录的方式",+ "aria-haspopup": "dialog",+ "aria-expanded": i,+ ...X(e),+ onClick: () => {+ e || a(!0);+ }})]- });+ }), /* @__PURE__ */ (0, V.jsx)(gO, {+ triggerRef: r,+ isOpen: i,+ onOpenChange: a,+ placement: "bottom end",+ offset: 4,+ className: yk,+ children: /* @__PURE__ */ (0, V.jsxs)(SM, {+ "aria-label": "更多取得浏览记录的方式",+ className: "flex w-52 flex-col gap-1 outline-none",+ children: [/* @__PURE__ */ (0, V.jsxs)("button", {+ type: "button",+ className: t5,+ onClick: () => o(t),+ children: [/* @__PURE__ */ (0, V.jsx)(hT, {+ "aria-hidden": !0,+ className: "size-4 shrink-0"+ }), "读取浏览器历史"]+ }), /* @__PURE__ */ (0, V.jsxs)("button", {+ type: "button",+ className: t5,+ onClick: () => o(n),+ children: [/* @__PURE__ */ (0, V.jsx)(DT, {+ "aria-hidden": !0,+ className: "size-4 shrink-0"+ }), "导入历史文件"]+ })]+ })+ })] });}-function ZGe({ host: e }) {- let t = e.store.value.homeGlow, n = f(t.preset);+function QWe({ sources: e, window: t, toast: n }) {+ let r = OS({+ mutationFn: (e) => tWe(e, t),+ onSuccess: (e) => {+ z.setQueryData(I8(t), e.dashboard), n("已移除口味数据源");+ }+ });return /* @__PURE__ */ (0, V.jsxs)("section", {- "data-glow-setting": "",- id: "homeGlowControls",- "aria-label": "侧栏光晕参数",- hidden: !t.on,+ className: n5,+ "aria-label": "数据源",children: [- /* @__PURE__ */ (0, V.jsxs)("section", {- "data-glow-group": "",- children: [- /* @__PURE__ */ (0, V.jsx)("h4", { children: "配色" }),- /* @__PURE__ */ (0, V.jsxs)("p", {- "data-glow-current": "",- children: ["当前配色", /* @__PURE__ */ (0, V.jsx)("b", {- "data-glow-preset-name": "",- children: d(t.preset)- })]- }),- /* @__PURE__ */ (0, V.jsx)(oS, {- store: e.store,- label: "光晕配色"- }),- /* @__PURE__ */ (0, V.jsx)("p", {- "data-glow-native-note": "",- hidden: !n,- children: "这一档用每块玻璃自带的反光,颜色跟着明暗主题走。"- }),- /* @__PURE__ */ (0, V.jsx)("div", {- "data-glow-fields": "",- children: YGe.map(([r, i, a]) => /* @__PURE__ */ (0, V.jsx)(JGe, {- field: r,- label: i,- max: a,- value: t[r],- hidden: n && r !== "speed",- onStep: (t) => {- e.store.value.homeGlow[r] = t, e.changed("glowFrame");- },- onSettle: () => {- e.store.save(), r === "speed" && e.changed("glow");- }- }, r))- })- ]- }),- /* @__PURE__ */ (0, V.jsxs)("section", {- "data-glow-group": "",- "data-glow-colours": "",- 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)(XGe, {- host: e,- spot: n,- index: r,- glow: t- }, n))- })]+ /* @__PURE__ */ (0, V.jsx)("h3", {+ className: "text-title-2-medium text-text-primary",+ children: "数据源"}),- /* @__PURE__ */ (0, V.jsx)("div", {- "data-glow-actions": "",- children: /* @__PURE__ */ (0, V.jsx)("button", {- type: "button",- className: "geist-button",- "data-glow-reset": "",- onClick: () => {- e.store.value.homeGlow = p(null), e.store.save(), e.changed("glow");- },- children: "恢复默认"- })+ r.error ? /* @__PURE__ */ (0, V.jsx)(Y, {+ tone: "error",+ children: W(r.error)+ }) : null,+ 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 ${r5}`,+ children: [+ /* @__PURE__ */ (0, V.jsx)("span", {+ className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, V.jsx)(DT, {+ "aria-hidden": !0,+ className: "size-4"+ }) : /* @__PURE__ */ (0, V.jsx)(gT, {+ "aria-hidden": !0,+ className: "size-4"+ })+ }),+ /* @__PURE__ */ (0, V.jsxs)("span", {+ className: "flex min-w-0 grow flex-col gap-0.5",+ children: [/* @__PURE__ */ (0, V.jsx)("b", {+ className: "min-w-0 text-body-2-medium break-words text-text-primary",+ children: e.profile+ }), /* @__PURE__ */ (0, V.jsx)("small", {+ className: "min-w-0 text-caption-1-regular break-words text-text-secondary",+ children: `${e.browser} · ${e.host} · ${Number(e.visits || 0).toLocaleString()} 条`+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)(J, {+ variant: "secondary",+ size: "small",+ "aria-label": `移除 ${e.profile}`,+ iconOnly: !0,+ leadingIcon: _T,+ ...X(r.isPending),+ onClick: () => {+ r.isPending || Te({+ title: "移除口味数据源",+ body: KWe,+ confirmLabel: "移除口味数据源",+ onConfirm: () => r.mutateAsync(e.source_key)+ });+ }+ })+ ]+ }, e.source_key))+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {+ shell: "plain",+ icon: gT,+ title: "还没有数据源",+ children: zWe})]});}+function $We(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: I8(a),+ queryFn: ({ signal: e }) => L8(a, e),+ placeholderData: AS.keepPreviousData+ }), { job: d, running: f, outcome: p, start: m } = IM({+ queryKey: XUe,+ queryFn: ({ signal: e }) => QUe(e),+ start: () => eWe(a),+ idlePollMs: rWe,+ onFinish: (e) => {+ e.status !== "failed" && (z.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));+ }+ }), h = OS({+ mutationFn: (e) => nWe(e),+ onSuccess: (e) => {+ z.setQueryData(I8("all"), e.dashboard), o("all"), r("已导入口味数据");+ }+ }), g = (e) => {+ let t = e.currentTarget.files?.[0];+ e.currentTarget.value = "", !(!t || h.isPending) && (h.reset(), h.mutate(t));+ }, _ = () => {+ f || m.isPending || (m.reset(), m.mutate());+ }, v = u.data;+ if (!v) return /* @__PURE__ */ (0, V.jsx)(DE, { children: /* @__PURE__ */ (0, V.jsx)(Y, {+ tone: "error",+ title: "口味分析读取失败",+ children: u.error ? W(u.error) : "读取口味分析失败"+ }) });+ let y = v.summary || {}, b = v.coverage || {}, x = v.rankings || {}, S = v.storage || {}, C = x.browser_categories || [], w = v.gaps || [], T = b.tagged || 0, E = b.identified || 0, D = m.error ? W(m.error) : h.error ? W(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";+ return /* @__PURE__ */ (0, V.jsxs)(DE, { children: [+ /* @__PURE__ */ (0, V.jsxs)(lk, {+ selectedKey: s,+ onSelectionChange: (e) => c(String(e)),+ className: "flex flex-col gap-5",+ children: [+ /* @__PURE__ */ (0, V.jsxs)("div", {+ className: "flex flex-wrap items-center justify-between gap-3",+ children: [/* @__PURE__ */ (0, V.jsxs)(dA, {+ "aria-label": "口味证据来源",+ className: pA,+ children: [/* @__PURE__ */ (0, V.jsx)(dk, {+ id: "browser",+ className: mA,+ children: "浏览器记录"+ }), /* @__PURE__ */ (0, V.jsx)(dk, {+ id: "peach",+ className: mA,+ children: "Peach 内部"+ })]+ }), /* @__PURE__ */ (0, V.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [+ /* @__PURE__ */ (0, V.jsx)(Ck, {+ "aria-label": "分析范围",+ selectedKey: a,+ onSelectionChange: (e) => {+ e !== null && o(String(e));+ },+ children: ZUe.map(([e, t]) => /* @__PURE__ */ (0, V.jsx)(wk, {+ id: e,+ children: t+ }, e))+ }),+ /* @__PURE__ */ (0, V.jsx)(ZWe, {+ busy: f || m.isPending || h.isPending,+ onRefresh: _,+ onImport: () => l.current?.click()+ }),+ /* @__PURE__ */ (0, V.jsx)("input", {+ ref: l,+ type: "file",+ tabIndex: -1,+ "aria-hidden": !0,+ className: "hidden",+ onChange: g+ })+ ]+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)(XWe, {+ onboarding: i,+ done: !!(y.history_sources || v.updated_at)+ }),+ /* @__PURE__ */ (0, V.jsxs)("div", {+ "aria-live": "polite",+ className: "flex flex-col gap-3 empty:hidden",+ children: [+ f ? /* @__PURE__ */ (0, V.jsx)(MM, {+ label: d?.message || "正在读取浏览记录并更新口味分析",+ value: d?.checked,+ total: d?.total+ }) : null,+ h.isPending ? /* @__PURE__ */ (0, V.jsx)(MM, { label: "正在导入历史文件" }) : null,+ D ? /* @__PURE__ */ (0, V.jsx)(Y, {+ tone: "error",+ children: D+ }) : null+ ]+ }),+ /* @__PURE__ */ (0, V.jsxs)(fk, {+ id: "browser",+ className: "flex flex-col gap-5",+ children: [+ /* @__PURE__ */ (0, V.jsxs)("div", {+ className: vM,+ children: [+ /* @__PURE__ */ (0, V.jsx)(a5, {+ accent: 0,+ icon: xT,+ term: "浏览记录",+ figure: Number(y.history_visits || 0).toLocaleString(),+ detail: `${y.history_sources || 0} 个数据源 · ${R8(y.range_start)}—${R8(y.range_end)}`+ }),+ /* @__PURE__ */ (0, V.jsx)(a5, {+ accent: 1,+ icon: CT,+ term: "口味维度",+ figure: C.length.toLocaleString(),+ detail: C[0]?.name || "尚无主维度"+ }),+ /* @__PURE__ */ (0, V.jsx)(a5, {+ accent: 2,+ icon: ET,+ term: "浏览候选",+ figure: w.length.toLocaleString()+ }),+ /* @__PURE__ */ (0, V.jsx)(a5, {+ accent: 3,+ icon: gT,+ term: "私有导出",+ figure: Number(S.exports || 0).toLocaleString(),+ detail: pe(S.bytes || 0)+ })+ ]+ }),+ /* @__PURE__ */ (0, V.jsxs)("section", {+ className: `${n5} 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",+ children: [+ /* @__PURE__ */ (0, V.jsx)("span", {+ className: "text-caption-1-regular text-text-secondary",+ children: "浏览器画像"+ }),+ /* @__PURE__ */ (0, V.jsx)(PWe, {+ rows: C,+ label: "主要口味维度"+ }),+ /* @__PURE__ */ (0, V.jsx)("small", {+ className: "text-caption-1-regular text-text-secondary",+ children: v.updated_at ? `更新于 ${R8(v.updated_at)}` : "尚未采集浏览记录"+ })+ ]+ }), /* @__PURE__ */ (0, V.jsx)("div", {+ className: "flex min-w-0 grow flex-col",+ children: C.length ? /* @__PURE__ */ (0, V.jsx)(FWe, {+ rows: C,+ label: "口味维度排名"+ }) : /* @__PURE__ */ (0, V.jsx)(TE, {+ shell: "plain",+ icon: ET,+ title: "暂无口味维度",+ children: VWe+ })+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)(s8, {+ activity: v.activity,+ title: "浏览活跃时间",+ dailyTitle: "每日活跃",+ words: {+ unit: "口味网站访问",+ series: "访问",+ cellUnit: "次访问"+ },+ tone: 4,+ empty: "还没有可用于分析的口味网站访问记录。"+ }),+ /* @__PURE__ */ (0, V.jsx)(IWe, { flows: v.creator_flows }),+ /* @__PURE__ */ (0, V.jsx)(s5, {+ label: "浏览器口味维度",+ onSignal: t,+ panels: [+ {+ id: "tags",+ name: "标签",+ props: {+ rows: x.browser_tags || [],+ kind: "tag",+ visual: "none",+ empty: "暂无足够证据"+ }+ },+ {+ id: "creators",+ name: "创作者",+ props: {+ rows: x.browser_creators || [],+ kind: "creator",+ visual: "creator",+ empty: "暂无创作者证据"+ }+ },+ {+ id: "domains",+ name: "常访问网站",+ props: {+ rows: x.domains || [],+ kind: "",+ visual: "domain",+ empty: "暂无网站证据"+ }+ },+ {+ id: "gaps",+ name: "浏览候选",+ props: {+ rows: w,+ kind: "",+ visual: "none",+ empty: HWe+ }+ }+ ]+ })+ ]+ }),+ /* @__PURE__ */ (0, V.jsxs)(fk, {+ id: "peach",+ className: "flex flex-col gap-5",+ children: [+ /* @__PURE__ */ (0, V.jsxs)("div", {+ className: vM,+ children: [+ /* @__PURE__ */ (0, V.jsx)(a5, {+ accent: 0,+ icon: yT,+ term: "Peach 看过",+ figure: Number(y.peach_items || 0).toLocaleString(),+ detail: iWe(y.peach_seconds || 0)+ }),+ /* @__PURE__ */ (0, V.jsx)(a5, {+ accent: 1,+ icon: vae,+ term: "喜欢",+ figure: Number(y.liked || 0).toLocaleString()+ }),+ /* @__PURE__ */ (0, V.jsx)(a5, {+ accent: 2,+ icon: _ae,+ term: "不合口味",+ figure: Number(y.disliked || 0).toLocaleString()+ }),+ /* @__PURE__ */ (0, V.jsx)(a5, {+ accent: 3,+ icon: CT,+ term: "有标签",+ figure: T.toLocaleString()+ })+ ]+ }),+ /* @__PURE__ */ (0, V.jsxs)("section", {+ className: `${n5} 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",+ children: [+ /* @__PURE__ */ (0, V.jsx)("span", {+ className: "text-caption-1-regular text-text-secondary",+ children: "Peach 观看"+ }),+ /* @__PURE__ */ (0, V.jsx)("b", {+ className: "text-display-4-medium tabular-nums text-text-primary",+ children: Number(y.peach_items || 0).toLocaleString()+ }),+ /* @__PURE__ */ (0, V.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: "个作品有内部行为证据"+ })+ ]+ }), /* @__PURE__ */ (0, V.jsxs)("div", {+ className: "flex min-w-0 grow flex-col",+ children: [/* @__PURE__ */ (0, V.jsx)(c5, {+ term: "有标签",+ value: T,+ rest: b.untagged || 0+ }), /* @__PURE__ */ (0, V.jsx)(c5, {+ term: "有身份",+ value: E,+ rest: b.unidentified || 0+ })]+ })]+ }),+ /* @__PURE__ */ (0, V.jsx)(s5, {+ label: "Peach 口味维度",+ onSignal: t,+ panels: [+ {+ id: "tags",+ name: "标签",+ props: {+ rows: x.peach_tags || [],+ kind: "tag",+ visual: "none",+ empty: "暂无足够证据"+ }+ },+ {+ id: "creators",+ name: "创作者",+ props: {+ rows: x.peach_creators || [],+ kind: "creator",+ visual: "creator",+ empty: "暂无创作者证据"+ }+ },+ {+ id: "performers",+ name: "女优",+ props: {+ rows: x.peach_performers || [],+ kind: "performer",+ visual: "entity",+ empty: "暂无女优证据"+ }+ }+ ]+ })+ ]+ })+ ]+ }),+ /* @__PURE__ */ (0, V.jsx)(YWe, {+ data: v,+ onSignal: t,+ navigate: n+ }),+ /* @__PURE__ */ (0, V.jsx)(QWe, {+ sources: v.sources || [],+ window: a,+ toast: r+ })+ ] });+}+function c5({ 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",+ children: [/* @__PURE__ */ (0, V.jsxs)("p", {+ className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",+ children: [/* @__PURE__ */ (0, V.jsx)("span", { children: e }), /* @__PURE__ */ (0, V.jsxs)("b", {+ className: "tabular-nums",+ children: [t.toLocaleString(), /* @__PURE__ */ (0, V.jsx)("span", {+ className: "ml-1.5 text-caption-1-regular text-text-secondary",+ children: `${n} 项待补`+ })]+ })]+ }), /* @__PURE__ */ (0, V.jsx)(kE, {+ label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,+ value: t,+ max: r+ })]+ });+}//#endregion-//#region src/react/settings-panel/number-setting.tsx-var QGe = {- batchSizeSetting: {- min: 1,- max: 200,- unit: "个",- fallback: 60+//#region src/react/router/managed-routes.tsx+function eGe(e, t, n) {+ if (e === "duplicates") {+ n("/duplicates");+ return;+ }+ let r = t.managePath(e);+ u5(r) ? n(r) : t.openManage(e);+}+var l5 = {+ "/stats": {+ prefetch: (e, t) => Gbe(t),+ page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(kUe, {+ tagLabel: ot,+ onTag: t.openTag,+ configurable: e.configurable,+ openMediaSettings: () => {+ t.requestConfigurationSection("媒体"), n("/configuration");+ }+ })+ },+ "/taste": {+ prefetch: (e, t) => $Ue("all", t),+ page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)($We, {+ onSignal: t.openTasteSignal,+ navigate: n,+ toast: (e) => t.receipt(e),+ onboarding: e.onboarding+ })+ },+ "/review": {+ prefetch: (e, t) => Tue(t),+ page: (e, t) => /* @__PURE__ */ (0, V.jsx)(Ive, {+ ...e,+ route: t.routeReview,+ openItem: t.openItem,+ openEntity: t.openEntity,+ revealSource: t.revealSource,+ toast: (e) => t.receipt(e)+ })+ },+ "/data-cleanup": {+ prefetch: (e, t) => fde(t),+ page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(yfe, {+ failure: t.failure,+ open: (e) => eGe(e, t, n),+ toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)+ })},- hoverDelaySetting: {- min: 1,- max: 60,- unit: "秒",- optional: !0,- fallback: 5+ "/duplicates": {+ prefetch: (e, t) => Ble(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 } : {})+ })},- seekSecondsSetting: {- min: 1,- max: 300,- unit: "秒",- fallback: 10+ "/quality-goals": {+ prefetch: (e, t) => iue(t),+ page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(bve, {+ openItem: t.openItem,+ javTitleHtml: at,+ javDisplayName: it,+ searchResources: (e) => {+ t.requestCloudDownload(e), n("/activity");+ },+ srcBadge: t.srcBadge+ })},- relatedLimitSetting: {- min: 1,- max: 60,- unit: "个",- optional: !0,- fallback: 20+ "/scraping": {+ prefetch: (e, t) => Uve(t),+ page: (e, t) => /* @__PURE__ */ (0, V.jsx)(Xve, { toast: (e) => t.toast(e) })},- searchHistoryLimitSetting: {- min: 1,- max: 50,- unit: "条",- optional: !0,- fallback: 10+ "/configuration": {+ prefetch: (e, t) => vR(t),+ page: (e, t) => /* @__PURE__ */ (0, V.jsx)(cbe, {+ receipt: (e) => t.receipt(e),+ reopenTutorial: t.reopenTutorial+ })},- followScheduleSetting: {- min: 15,- max: 10080,- unit: "分钟",- optional: !0,- fallback: 60- }-}, q5 = (e) => `peach.number.${e}`;-function J5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = QGe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, B.useRef)(0);- d.current ||= U5(Number(localStorage.getItem(q5(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)));- }, [n]);- let b = () => {- let t = v.current;- if (t) {- if (!t.value || !t.checkValidity()) {- t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`);- return;+ "/diagnostics": {+ prefetch: (e, t) => hme(t),+ page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(yme, {+ navigate: n,+ openItem: t.openItem,+ receipt: (e) => t.receipt(e),+ configure: (e) => {+ t.requestConfigurationSection(e), n("/configuration");}- t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(q5(e), String(d.current)), y.current(d.current);- }- }, x = (0, B.useRef)(b);- x.current = b, (0, B.useEffect)(() => {- let e = v.current;- if (!e) return;- let t = () => x.current();- return e.addEventListener("change", t), () => e.removeEventListener("change", t);- }, []);- let S = f > 0, C = () => {- let t = v.current;- if (t?.removeAttribute("aria-invalid"), _(""), !S) {- p(d.current), h(String(d.current)), y.current(d.current);- return;- }- t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(q5(e), String(d.current)), p(0), y.current(0);- }, w = r || n === null;- return /* @__PURE__ */ (0, V.jsxs)("div", {- "data-number-setting": "",- children: [u ? /* @__PURE__ */ (0, V.jsx)("input", {- type: "checkbox",- "data-toggle": "",- role: "switch",- "aria-label": `启用${t}`,- checked: S,- disabled: w,- onChange: C- }) : null, /* @__PURE__ */ (0, V.jsxs)("div", {- "data-number-fields": "",- hidden: u && !S,- children: [/* @__PURE__ */ (0, V.jsxs)("div", {- "data-number-control": "",- children: [/* @__PURE__ */ (0, V.jsx)("input", {- ref: v,- type: "number",- className: "geist-input",- min: o,- max: s,- step: 1,- value: m,- disabled: w,- "aria-label": t,- "aria-describedby": `${e}-error`,- onChange: (e) => {- h(e.target.value), e.target.value && e.target.checkValidity() && (e.target.removeAttribute("aria-invalid"), _(""));- },- onKeyDown: (e) => {- e.key === "Enter" && (e.preventDefault(), b());- }- }), /* @__PURE__ */ (0, V.jsx)("span", {- "aria-hidden": "true",- children: c- })]- }), /* @__PURE__ */ (0, V.jsx)("small", {- id: `${e}-error`,- "data-number-error": "",- role: "status",- hidden: !g,- children: g- })]- })]- });+ })+ },+ "/activity": {+ prefetch: (e, t) => Tce(t),+ page: (e) => /* @__PURE__ */ (0, V.jsx)(Yce, { ...e.prefill ? { prefill: e.prefill } : {} })+ },+ "/follow-manage": {+ prefetch: (e, t) => Zme(t, e.tab),+ page: (e, t, n) => /* @__PURE__ */ (0, V.jsx)(x_e, {+ ...e,+ route: t.routeFollowManage,+ savePreference: t.saveFollowPreference,+ toast: (e) => t.receipt(e),+ openFollow: t.openFollow,+ cloudDownload: (e) => {+ t.requestCloudDownload(e), n("/activity");+ }+ })+ }+}, u5 = (e) => Object.hasOwn(l5, e), d5 = {+ "/playlists": {+ prefetch: (e, t) => ove(t),+ page: (e, t) => /* @__PURE__ */ (0, V.jsx)(vve, {+ revision: e.revision,+ openPlaylist: t.openPlaylist,+ openEntity: t.openEntity,+ canFlip: t.canFlip,+ toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})+ })+ },+ "/follow": {+ prefetch: (e, t) => ahe(e, t),+ page: (e) => /* @__PURE__ */ (0, V.jsx)(khe, { ...e })+ }+}, f5 = (e) => Object.hasOwn(d5, e), p5 = {+ prefetch: (e, t) => Bfe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, V.jsx)(L_e, {+ ...e,+ route: t.routeIndex,+ savePreference: t.savePeopleLayout,+ exitSelectMode: t.exitSelectMode,+ personAvatar: t.personAvatar,+ authorAvatar: t.authorAvatar,+ tagLabel: ot,+ openEntity: t.openEntity,+ showTags: t.showIndexTags,+ openFollowAuthor: t.openFollowAuthor,+ openFollowTag: t.openFollowTag+ })+}, m5 = {+ "/performers": p5,+ "/creators": p5,+ "/studios": p5,+ "/agencies": p5,+ "/tags": p5+}, h5 = {+ prefetch: (e) => kfe(e),+ page: (e) => /* @__PURE__ */ (0, V.jsx)(ame, { ...e })+}, g5 = {+ "/performers/*": h5,+ "/studios/*": h5,+ "/creators/*": h5,+ "/series/*": h5,+ "/agencies/*": h5+}, _5 = {+ "/": {+ prefetch: (e, t) => kre(e, t),+ page: (e) => /* @__PURE__ */ (0, V.jsx)(zA, { ...e })+ },+ "/junk-files": {+ prefetch: async () => {},+ page: (e) => /* @__PURE__ */ (0, V.jsx)(Q_e, { ...e })+ }+}, v5 = (e) => Object.hasOwn(_5, e), tGe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, V.jsx)(ive, { ...e }) : /* @__PURE__ */ (0, V.jsx)(PM, { ...e }), y5 = {+ "catalog-filter": {+ prefetch: async () => {},+ page: (e) => /* @__PURE__ */ (0, V.jsx)(ule, { ...e })+ },+ "feed-new": {+ prefetch: (e) => wfe(e),+ page: (e) => /* @__PURE__ */ (0, V.jsx)(bme, { ...e })+ },+ "library-processing": {+ prefetch: (e, t) => QA(t),+ page: (e) => /* @__PURE__ */ (0, V.jsx)(tGe, { ...e })+ },+ search: {+ prefetch: async () => {},+ page: (e) => /* @__PURE__ */ (0, V.jsx)(tye, { ...e })+ }+}, b5 = (e) => Object.hasOwn(y5, e), x5 = {+ "batch-dock": {+ prefetch: async () => {},+ page: () => /* @__PURE__ */ (0, V.jsx)(Ane, {})+ },+ "glow-picker": {+ prefetch: async () => {},+ page: () => /* @__PURE__ */ (0, V.jsx)(Nne, {})+ },+ "manage-header": {+ prefetch: async () => {},+ page: () => /* @__PURE__ */ (0, V.jsx)(Gie, {})+ },+ immerse: {+ prefetch: async () => {},+ page: () => /* @__PURE__ */ (0, V.jsx)(Pie, {})+ },+ "settings-panel": {+ prefetch: async () => {},+ page: () => /* @__PURE__ */ (0, V.jsx)(jbe, {})+ }+}, S5 = (e) => Object.hasOwn(x5, e), nGe = [+ "/",+ "/unseen",+ "/watch-later",+ "/flagged",+ "/trash",+ "/junk-files"+], rGe = [+ ...Object.keys(l5),+ ...Object.keys(d5),+ ...Object.keys(m5),+ ...Object.keys(g5),+ ...nGe+], C5 = (e) => u5(e) || f5(e) || Object.hasOwn(m5, e) || Object.hasOwn(g5, e) || v5(e) || b5(e) || S5(e);+function w5(e) {+ return u5(e) ? l5[e] : f5(e) ? d5[e] : v5(e) ? _5[e] : b5(e) ? y5[e] : S5(e) ? x5[e] : Object.hasOwn(m5, e) ? m5[e] : g5[e];+}+function iGe(e, t, n) {+ return C5(e) ? w5(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+}+function aGe(e, t, n, r) {+ return w5(e).page(t, n, r);}//#endregion-//#region src/react/sidebar/sidebar-order.ts-function Y5(e) {- let { mutate: t } = Gj();- return (0, B.useCallback)((n) => {- e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });- }, [e, t]);+//#region node_modules/react-router/dist/production/lib/router/url.js+var oGe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, sGe = /^[\\/]{2}/;+function cGe(e, t) {+ return t + e.replace(/\\/g, "/");}-function X5(e, t, n, r) {- if (t === n) return null;- let i = [...e], a = i.indexOf(t);- if (a < 0) return null;- i.splice(a, 1);- let o = i.indexOf(n);- return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);+//#endregion+//#region node_modules/react-router/dist/production/lib/router/history.js+function T5(e, t) {+ if (e === !1 || e == null) throw Error(t);+}+function E5(e, t) {+ if (!e) {+ typeof console < "u" && console.warn(t);+ try {+ throw Error(t);+ } catch {}+ }+}+function lGe({ 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 D5(e) {+ let t = {};+ if (e) {+ let n = e.indexOf("#");+ n >= 0 && (t.hash = e.substring(n), e = e.substring(0, n));+ let r = e.indexOf("?");+ r >= 0 && (t.search = e.substring(r), e = e.substring(0, r)), e && (t.pathname = e);+ }+ return t;}//#endregion-//#region src/react/settings-panel/sidebar-order.tsx-var $Ge = "__home__", Z5 = (e) => e === "" ? $Ge : e;-function eKe({ host: e }) {- let t = Y5(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 = X5(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]) => Z5(e) === o) ?? a[0], y = () => {- h.current && De(h.current), l(!1);- }, b = () => {- let e = h.current;- if (!e) return;- let t = !c;- t ? ze(e) : De(e), l(t), t && e.querySelector("[aria-selected=\"true\"]")?.focus();- }, x = (e) => {- if (e.key === "Escape") {- e.preventDefault(), y(), m.current?.focus();- return;+//#region node_modules/react-router/dist/production/lib/router/utils.js+function uGe(e, t, n = "/") {+ return dGe(e, t, n, !1);+}+function dGe(e, t, n, r, i) {+ let a = P5((typeof t == "string" ? D5(t) : t).pathname || "/", n);+ if (a == null) return null;+ let o = i ?? fGe(e), s = null, c = TGe(a);+ for (let e = 0; s == null && e < o.length; ++e) s = wGe(o[e], c, r);+ return s;+}+function fGe(e) {+ let t = O5(e);+ return pGe(t), t;+}+function O5(e, t = [], n = [], r = "", i = !1) {+ let a = (e, a, o = i, s) => {+ let c = {+ relativePath: s === void 0 ? e.path || "" : s,+ caseSensitive: e.caseSensitive === !0,+ childrenIndex: a,+ route: e+ };+ if (c.relativePath.startsWith("/")) {+ if (!c.relativePath.startsWith(r) && o) return;+ T5(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);}- if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;- e.preventDefault();- let t = [...h.current?.querySelectorAll("[role=\"option\"]") ?? []];- t[(t.indexOf(e.currentTarget) + (e.key === "ArrowDown" ? 1 : -1) + t.length) % t.length]?.focus();- }, S = () => {- d(null), p(null);- }, C = (e) => ({- draggable: !0,- onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", Z5(e));- },- onDragOver: (t) => {- if (u === null || u === e) return;- t.preventDefault(), t.dataTransfer.dropEffect = "move";- let n = t.currentTarget.getBoundingClientRect(), r = t.clientY > n.top + t.currentTarget.offsetHeight / 2;- (f?.key !== e || f.after !== r) && p({- key: e,- after: r- });- },- onDrop: (t) => {- t.preventDefault();- let n = u, r = f?.key === e && f.after;- S(), n !== null && n !== e && g(n, e, r);- },- onDragEnd: S- });- return /* @__PURE__ */ (0, V.jsxs)("div", {- "data-sidebar-order": "",- id: "sidebarOrderSetting",- children: [i.map(([e, r, a], o) => /* @__PURE__ */ (0, V.jsxs)("div", {- "data-sidebar-row": e,- ...C(e),- "data-dragging": u === e ? "" : void 0,- "data-drop": f?.key === e ? f.after ? "after" : "before" : void 0,- children: [/* @__PURE__ */ (0, V.jsxs)("span", {- "data-sidebar-label": "",- children: [- /* @__PURE__ */ (0, V.jsx)("i", {- "data-sidebar-grip": "",- "aria-hidden": "true",- children: /* @__PURE__ */ (0, V.jsx)(tT, { name: "grip-vertical" })- }),- /* @__PURE__ */ (0, V.jsx)(tT, { name: a ?? "" }),- /* @__PURE__ */ (0, V.jsx)("b", { children: r })- ]- }), /* @__PURE__ */ (0, V.jsxs)("span", {- "data-sidebar-actions": "",- children: [- /* @__PURE__ */ (0, V.jsx)("button", {- type: "button",- "data-sidebar-key": e,- "data-sidebar-move": "-1",- "aria-label": `上移 ${r}`,- title: "上移",- disabled: o === 0,- onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, V.jsx)(tT, { name: "chevron-up" })- }),- /* @__PURE__ */ (0, V.jsx)("button", {- type: "button",- "data-sidebar-key": e,- "data-sidebar-move": "1",- "aria-label": `下移 ${r}`,- title: "下移",- disabled: o === i.length - 1,- onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, V.jsx)(tT, { name: "chevron-down" })- }),- /* @__PURE__ */ (0, V.jsx)("button", {- type: "button",- "data-sidebar-key": e,- "data-sidebar-hide": "",- "aria-label": `隐藏 ${r}`,- title: "隐藏",- disabled: i.length === 1,- onClick: () => {- n.length > 1 && t(n.filter((t) => t !== e));- },- children: /* @__PURE__ */ (0, V.jsx)(tT, { name: "eye-off" })- })- ]- })]- }, Z5(e))), /* @__PURE__ */ (0, V.jsxs)("div", {- "data-sidebar-add-row": "",- children: [/* @__PURE__ */ (0, V.jsxs)("div", {- "data-sidebar-add-picker": "",- onBlur: (e) => {- e.currentTarget.contains(e.relatedTarget) || y();- },- children: [/* @__PURE__ */ (0, V.jsx)("button", {- type: "button",- "data-sidebar-add-trigger": "",- "aria-haspopup": "listbox",- "aria-expanded": c,- disabled: !v,- ref: m,- onClick: b,- children: v ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [- /* @__PURE__ */ (0, V.jsx)(tT, { name: v[2] ?? "" }),- /* @__PURE__ */ (0, V.jsx)("span", {- "data-sidebar-add-label": "",- children: v[1]- }),- /* @__PURE__ */ (0, V.jsx)(tT, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(tT, { name: "check" }), /* @__PURE__ */ (0, V.jsx)("span", { children: "全部页面都已显示" })] })- }), a.length ? /* @__PURE__ */ (0, V.jsx)("div", {- className: "popmenu",- "data-sidebar-add-menu": "",- role: "listbox",- "aria-label": "选择要添加的页面",- hidden: !0,- ref: h,- children: a.map(([e, t, n]) => /* @__PURE__ */ (0, V.jsxs)("button", {- type: "button",- role: "option",- "data-sidebar-add-option": Z5(e),- "aria-selected": v?.[0] === e,- tabIndex: v?.[0] === e ? 0 : -1,- onKeyDown: x,- onClick: () => {- s(Z5(e)), y(), m.current?.focus();- },- children: [/* @__PURE__ */ (0, V.jsx)(tT, { name: n ?? "" }), /* @__PURE__ */ (0, V.jsx)("span", { children: t })]- }, Z5(e)))- }) : null]- }), /* @__PURE__ */ (0, V.jsx)("button", {- type: "button",- className: "geist-button primary",- "data-sidebar-add": "",- disabled: !v,- onClick: () => {- v && !n.includes(v[0]) && t([...n, v[0]]);- },- children: "添加"- })]- })]- });+ let l = R5([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (T5(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), O5(e.children, t, u, l, o)), !(e.path == null && !e.index) && t.push({+ path: l,+ score: SGe(l, e.index),+ routesMeta: u.map((e, t) => {+ let [n, r] = N5(e.relativePath, e.caseSensitive, t === u.length - 1);+ return {+ ...e,+ matcher: n,+ compiledParams: r+ };+ })+ });+ };+ return e.forEach((e, t) => {+ if (e.path === "" || !e.path?.includes("?")) a(e, t);+ else for (let n of k5(e.path)) a(e, t, !0, n);+ }), t;}-//#endregion-//#region src/react/settings-panel/settings-panel.tsx-var Q5 = [- ["界面", "ri-palette-line"],- ["浏览", "ri-layout-grid-line"],- ["播放", "ri-play-circle-line"],- ["搜索", "ri-search-line"],- ["关注", "ri-rss-line"],- ["安全", "ri-shield-check-line"],- ["这台电脑", "ri-macbook-line"]-], tKe = [- ["seed", "随机"],- ["rating", "评分"],- ["o", "高潮计数"],- ["plays", "观看次数"],- ["dur", "时长"],- ["size", "体积"],- ["new", "入库时间"],- ["played", "观看时间"]-], nKe = [["desc", "降序"], ["asc", "升序"]], rKe = [- ["off", "关闭"],- ["precise", "精准"],- ["coarse", "粗略"]-], iKe = [- ["7", "每周"],- ["30", "每月"],- ["90", "每季"],- ["0", "从不"]-], aKe = [[- "cover",- "官方封面",- ""-], [- "thumbnail",- "预览图",- ""-]], oKe = [- [- "feedHideGroupSetting",- "feedHideGroupCompilations",- "大合集",- "新作收起大合集",- "feedHideGroupDescription",- "多人片段拼成的精选、总集和连发不进新作那一行,也不替它们补封面。"- ],- [- "feedHideSoloSetting",- "feedHideSoloCompilations",- "单人合集",- "新作收起单人合集",- "feedHideSoloDescription",- "只有一位女优的精选与长时间合集,比如「8時間 BEST」。"- ],- [- "feedHideExcerptSetting",- "feedHideExcerpts",- "切片",- "新作收起切片",- "feedHideExcerptDescription",- "把出过的正片剪成十几分钟单卖的,比如ハイライト厂牌。"- ]-], sKe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", $5 = null, e7 = null, t7 = null, n7 = {- open: !1,- closing: !1,- epoch: 0,- tab: 0,- machine: "none"-}, r7 = 0, i7 = null;-function cKe() {- return (!e7 || !t7?.isConnected) && (e7?.unmount(), t7 = document.createElement("div"), t7.dataset.settingsHost = "", document.body.append(t7), e7 = (0, MN.createRoot)(t7)), e7;+function k5(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 = k5(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 a7() {- let e = $5;- e && (0, $f.flushSync)(() => cKe().render(/* @__PURE__ */ (0, V.jsx)(z5, { children: /* @__PURE__ */ (0, V.jsx)(hKe, {- host: e,- view: n7- }) })));+function pGe(e) {+ e.sort((e, t) => e.score === t.score ? CGe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-function o7(e) {- n7 = {- ...n7,- ...e- }, a7();+var mGe = /^:[\w-]+$/, hGe = /^:[\w-]+/, gGe = 3.5, _Ge = 3, vGe = 2, yGe = 1, bGe = 10, xGe = -2, A5 = (e) => e === "*";+function SGe(e, t) {+ let n = e.split("/"), r = n.length;+ return n.some(A5) && (r += xGe), t && (r += vGe), n.filter((e) => !A5(e)).reduce((e, t) => e + (mGe.test(t) ? _Ge : hGe.test(t) ? gGe : t === "" ? yGe : bGe), r);+}+function CGe(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) {+ 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 ? M5(u, l, s.matcher, s.compiledParams) : j5(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = j5({+ path: s.relativePath,+ caseSensitive: s.caseSensitive,+ end: !1+ }, l)), !d) return null;+ Object.assign(i, d.params), o.push({+ params: i,+ pathname: R5([a, d.pathname]),+ pathnameBase: AGe(R5([a, d.pathnameBase])),+ route: f+ }), d.pathnameBase !== "/" && (a = R5([a, d.pathnameBase]));+ }+ return o;+}+function j5(e, t) {+ typeof e == "string" && (e = {+ path: e,+ caseSensitive: !1,+ end: !0+ });+ let [n, r] = N5(e.path, e.caseSensitive, e.end);+ return M5(e, t, n, r);+}+function M5(e, t, n, r) {+ let i = t.match(n);+ if (!i) return null;+ let a = i[0], o = z5(a, 1), s = i.slice(1);+ return {+ params: r.reduce((e, { paramName: t, isOptional: n }, r) => {+ if (t === "*") {+ let e = s[r] || "";+ o = z5(a.slice(0, a.length - e.length), 1);+ }+ let i = s[r];+ return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;+ }, {}),+ pathname: a,+ pathnameBase: o,+ pattern: e+ };}-async function lKe(e) {- if (n7.machine === "summary") return;- let t = await e.configurable();- if (n7.open) {- if (!t) {- o7({ machine: "note" });- return;+function N5(e, t = !1, n = !0) {+ E5(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,+ isOptional: n != null+ }), n) {+ let t = a.charAt(i + e.length);+ return t && t !== "/" ? "/([^\\/]*)" : "(?:/([^\\/]*))?";}- try {- await yR(new AbortController().signal);- } catch {}- n7.open && o7({ machine: "summary" });+ return "/([^\\/]+)";+ }).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 TGe(e) {+ try {+ return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");+ } catch (t) {+ return E5(!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 uKe(e = "") {- let t = $5;- if (!t) return;- we(), r7 += 1, i7 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let n = Q5.findIndex(([t]) => t === e), r = Pue();- o7({- open: !0,- closing: !1,- epoch: n7.epoch + 1,- tab: n >= 0 ? n : n7.tab- }), r.then((e) => {- e && t.syncRemote(e);- }), lKe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+function P5(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 s7() {- if (!n7.open || n7.closing) return;- let e = ++r7;- o7({ closing: !0 });- let t = () => {- e !== r7 || !n7.closing || (o7({- open: !1,- closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), i7 instanceof HTMLElement && document.contains(i7) && i7.focus(), i7 = null);+function EGe(e, t = "/") {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? D5(e) : e, a;+ return n ? (n = L5(n), a = n.startsWith("/") || n.startsWith("\\") ? F5(n.substring(1), "/") : F5(n, t)) : a = t, {+ pathname: a,+ search: jGe(r),+ hash: MGe(i)};- if (matchMedia("(prefers-reduced-motion: reduce)").matches) {- queueMicrotask(t);- return;+}+function F5(e, t) {+ let n = z5(t).split("/");+ return e.split("/").forEach((e) => {+ e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);+ }), n.length > 1 ? n.join("/") : "/";+}+function I5(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 DGe(e) {+ return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);+}+function OGe(e) {+ let t = DGe(e);+ return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);+}+function kGe(e, t, n, r = !1) {+ let i;+ typeof e == "string" ? i = D5(e) : (i = { ...e }, T5(!i.pathname || !i.pathname.includes("?"), I5("?", "pathname", "search", i)), T5(!i.pathname || !i.pathname.includes("#"), I5("#", "pathname", "hash", i)), T5(!i.search || !i.search.includes("#"), I5("#", "search", "hash", i)));+ let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;+ if (o == null) s = n;+ else {+ let e = t.length - 1;+ if (!r && o.startsWith("..")) {+ let t = o.split("/");+ for (; t[0] === "..";) t.shift(), --e;+ i.pathname = t.join("/");+ }+ s = e >= 0 ? t[e] : "/";}- t7?.querySelector("[data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380);+ let c = EGe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var dKe = {- open: uKe,- close: s7,- isOpen: () => n7.open,- reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))+var L5 = (e) => e.replace(/[\\/]{2,}/g, "/"), R5 = (e) => L5(e.join("/"));+function z5(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 AGe = (e) => z5(e).replace(/^\/*/, "/"), jGe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, MGe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, NGe = class {+ status;+ statusText;+ data;+ error;+ internal;+ constructor(e, t, n, r = !1) {+ this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;+ }};-function fKe(e) {- return $5 = e, a7(), dKe;+function PGe(e) {+ return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function pKe(e) {- if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(sKe)].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());+function FGe(e) {+ return R5(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var c7 = (e) => `settings-tab-${e}`, l7 = (e) => e === Q5.length - 1 ? "machineGroup" : `settings-group-${e}`;-function mKe({ 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;- if (!e || !e.offsetHeight) {- n.hidden = !0;- return;- }- n.hidden = !1;- let r = {- x: e.offsetLeft,- y: e.offsetTop,- w: e.offsetWidth,- h: e.offsetHeight- }, o = a.current;- a.current = r, Fe(n, t ? o : null, r, "y");- }, l = (0, B.useRef)(c);- l.current = c, (0, B.useLayoutEffect)(() => {- let e = r.current;- if (!e) return;- Ze(e);- let t = new ResizeObserver(() => l.current(s.current[o.current], !1));- return t.observe(e), () => t.disconnect();- }, []), (0, B.useLayoutEffect)(() => {- let t = o.current !== e;- o.current = e, l.current(s.current[e], t);- }, [e, t]);- let u = (e, t) => {- let r = Q5.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;- else if (e.key === "End") i = r - 1;- else return;- e.preventDefault(), n(i), s.current[i]?.focus();+var B5 = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+function IGe(e, t) {+ let n = e;+ if (typeof n != "string" || !oGe.test(n)) return {+ absoluteURL: void 0,+ isExternal: !1,+ to: n+ };+ let r = n, i = !1;+ if (B5) try {+ let e = new URL(window.location.href), r = sGe.test(n) ? new URL(cGe(n, e.protocol)) : new URL(n), a = P5(r.pathname, t);+ r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;+ } catch {+ E5(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ }+ return {+ absoluteURL: r,+ isExternal: i,+ to: n};- return /* @__PURE__ */ (0, V.jsxs)("div", {- "data-settings-nav": "",- "data-glass-pane": "",- role: "tablist",- "aria-label": "设置分区",- ref: r,- onPointerLeave: (e) => {- e.pointerType !== "touch" && c(s.current[o.current], !0);- },- children: [- /* @__PURE__ */ (0, V.jsx)("span", {- "data-settings-glide": "",- "aria-hidden": "true",- hidden: !0,- ref: i- }),- /* @__PURE__ */ (0, V.jsx)("p", {- "data-settings-nav-caption": "",- role: "presentation",- children: "设置"- }),- Q5.map(([t, r], i) => /* @__PURE__ */ (0, V.jsxs)("button", {- type: "button",- role: "tab",- id: c7(i),- "aria-controls": l7(i),- "aria-selected": i === e,- tabIndex: i === e ? 0 : -1,- ref: (e) => {- s.current[i] = e;- },- onClick: () => n(i),- onKeyDown: (e) => u(e, i),- onPointerEnter: (e) => {- e.pointerType !== "touch" && c(e.currentTarget, !0);- },- children: [/* @__PURE__ */ (0, V.jsx)(Vie, { name: r }), t]- }, t))- ]- });}-function u7({ index: e, tab: t, children: n }) {- return /* @__PURE__ */ (0, V.jsxs)("section", {- "data-setting-group": "",- id: l7(e),- role: "tabpanel",- "aria-labelledby": c7(e),- hidden: e !== t,- children: [/* @__PURE__ */ (0, V.jsx)("h3", { children: Q5[e][0] }), n]- });+//#endregion+//#region node_modules/react-router/dist/production/lib/router/navigation.js+var V5 = new URL("http://localhost");+function H5(e) {+ if (e.createURL) return e.createURL("/");+ try {+ return new URL(e.createHref("/"), V5);+ } catch {+ return V5;+ }}-function d7({ 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", {- id: r,- children: n- })] }), /* @__PURE__ */ (0, V.jsx)("input", {- "data-toggle": "",- type: "checkbox",- id: e,- role: "switch",- "aria-describedby": r,- checked: i,- onChange: (e) => a(e.target.checked)- })]- });+function U5(e, t) {+ return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function f7({ title: e, description: t, kind: n, children: r }) {- return /* @__PURE__ */ (0, V.jsxs)("div", {- "data-setting-row": "",- "data-setting-sort": n === "sort" ? "" : void 0,- "data-setting-related": n === "related" ? "" : void 0,- 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]- });+function LGe(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;}-var p7 = ({ html: e, ...t }) => /* @__PURE__ */ (0, V.jsx)("small", {- ...t,- dangerouslySetInnerHTML: { __html: e }-}), m7 = () => `${Ke("保存中")}<span>正在保存…</span>`, h7 = (e, t) => e instanceof Error && e.message || t;-function hKe({ 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];- if (!e || !t) return;- let n = parseFloat(getComputedStyle(e).getPropertyValue("--settings-gap")) || 0;- e.toggleAttribute("data-scrolled", t.scrollTop > Math.max(n - 4, 0));- }, u = (0, B.useRef)(l);- u.current = l, (0, B.useLayoutEffect)(() => {- let t = o.current;- if (!t || !r.current) return;- s.current = Ce(t) ?? s.current, e.attached(r.current);- let n = () => u.current();- return t.addEventListener("scroll", n, { passive: !0 }), () => t.removeEventListener("scroll", n);- }, [e]), (0, B.useLayoutEffect)(() => {- let e = c.current !== t.tab;- c.current = t.tab, o.current && (o.current.scrollTop = 0), e && a.current && Be(a.current, "h2"), u.current();- }, [t.tab, t.epoch]), (0, B.useLayoutEffect)(() => {- s.current?.();- });- let d = t.epoch, f = (e) => {- e !== n7.tab && o7({ tab: e });- }, p = () => e.store.save();- return /* @__PURE__ */ (0, V.jsx)("section", {- "data-settings-panel": "",- id: "settingsPanel",- hidden: !t.open,- "aria-modal": "true",- role: "dialog",- "aria-labelledby": "settingsTitle",- "data-closing": t.closing ? "" : void 0,- ref: r,- onKeyDown: pKe,- onClick: (e) => {- e.target === e.currentTarget && s7();- },- children: /* @__PURE__ */ (0, V.jsxs)("div", {- "data-settings-card": "",- ref: i,- children: [- /* @__PURE__ */ (0, V.jsxs)("div", {- "data-settings-head": "",- ref: a,- children: [/* @__PURE__ */ (0, V.jsx)("h2", {- id: "settingsTitle",- children: Q5[t.tab][0]- }), /* @__PURE__ */ (0, V.jsx)("button", {- type: "button",- id: "settingsClose",- "aria-label": "关闭设置",- onClick: s7,- children: /* @__PURE__ */ (0, V.jsx)("svg", {- viewBox: "0 0 24 24",- children: /* @__PURE__ */ (0, V.jsx)("use", { href: "#i-x" })- })- })]- }),- /* @__PURE__ */ (0, V.jsx)(mKe, {- tab: t.tab,- epoch: d,- onSelect: f- }),- /* @__PURE__ */ (0, V.jsxs)("div", {- "data-settings-scroll": "",- ref: o,- children: [- /* @__PURE__ */ (0, V.jsxs)(u7, {- index: 0,- tab: t.tab,- children: [- /* @__PURE__ */ (0, V.jsx)(f7, {- title: "主题",- description: "跟随系统,或固定用浅色、深色。",- children: /* @__PURE__ */ (0, V.jsx)(G5, {- id: "themeSetting",- name: "theme",- legend: "主题",- options: e.themeOptions,- value: n.theme,- attr: "data-theme-choice",- variant: "themeswitch",- epoch: d,- onChoose: (t) => {- n.theme = t, p(), e.changed("theme");- }- })- }),- /* @__PURE__ */ (0, V.jsxs)("div", {- "data-setting-row": "",- children: [/* @__PURE__ */ (0, V.jsxs)("label", {- htmlFor: "glassContrastSetting",- children: [/* @__PURE__ */ (0, V.jsx)("b", { children: "增加对比度" }), /* @__PURE__ */ (0, V.jsx)("small", { children: "关闭玻璃折射与透明效果,使用实色背景。" })]- }), /* @__PURE__ */ (0, V.jsx)("input", {- type: "checkbox",- id: "glassContrastSetting",- "data-toggle": "",- role: "switch",- checked: e.highContrast(),- onChange: (t) => e.setHighContrast(t.target.checked)- })]- }),- /* @__PURE__ */ (0, V.jsx)(d7, {- id: "uiSoundsSetting",- title: "界面音效",- checked: n.uiSounds,- description: "按钮、开关、菜单、弹层和操作回执各配一声轻响。",- onToggle: (t) => {- n.uiSounds = t, p(), e.changed("uiSounds");- }- }),- /* @__PURE__ */ (0, V.jsx)(d7, {- id: "homeGlowSetting",- title: "侧栏光晕",- checked: n.homeGlow.on,- description: "左栏玻璃面上那三枚慢慢漂动的光,其余玻璃面跟着取前两枚的颜色。配色在下面或左栏底部那枚配色钮上挑,强调色在配色钮上挑;这里还调强度、颗粒、漂移速度、柔化、大小和每一枚光晕的颜色。浅色主题按同一组颜色淡一档显示。",- onToggle: (t) => {- n.homeGlow.on = t, p(), e.changed("glow");- }- }),- /* @__PURE__ */ (0, V.jsx)(ZGe, { 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)(eKe, { host: e })]- })- ]- }),- /* @__PURE__ */ (0, V.jsx)(_Ke, {- host: e,- tab: t.tab,- epoch: d- }),- /* @__PURE__ */ (0, V.jsx)(yKe, {- host: e,- tab: t.tab,- epoch: d- }),- /* @__PURE__ */ (0, V.jsx)(u7, {- index: 3,- tab: t.tab,- children: /* @__PURE__ */ (0, V.jsx)(xKe, {- host: e,- epoch: d- })- }),- /* @__PURE__ */ (0, V.jsx)(SKe, {- host: e,- tab: t.tab,- epoch: d- }),- /* @__PURE__ */ (0, V.jsx)(u7, {- index: 5,- tab: t.tab,- children: /* @__PURE__ */ (0, V.jsx)(d7, {- id: "censorSetting",- title: "SFW 模式",- describedBy: "sfwDescription",- checked: e.censored(),- description: "模糊、降低饱和度并压暗全站图片和视频,包括封面、头像与详情预览;停止悬停预览。文字、品牌标识和来源图标保持可见。",- onToggle: (t) => e.setCensored(t)- })- }),- /* @__PURE__ */ (0, V.jsx)(u7, {- index: 6,- tab: t.tab,- children: /* @__PURE__ */ (0, V.jsx)(wKe, {- host: e,- machine: t.machine- })- })- ]- })- ]- })- });+function W5(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 && !U5(i, n), s = !U5(a, n);+ if (r === "reject") {+ if (o || s) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !LGe(e, i) || !U5(i, a))) throw Error("External navigation is not allowed");}-function gKe(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", {- className: "gselectmark",- iconClass: "gselectmark"- }) + "<span data-sort-direction-label></span>"), Ge(n, t ? "a" : "b");- let r = n.querySelector("[data-sort-direction-label]");- r && (r.textContent = t ? "升序" : "降序");+//#endregion+//#region node_modules/react-router/dist/production/lib/router/router.js+var G5 = [+ "POST",+ "PUT",+ "PATCH",+ "DELETE"+];+new Set(G5);+var RGe = ["GET", ...G5];+new Set(RGe);+var zGe = [+ "about:",+ "blob:",+ "chrome:",+ "chrome-untrusted:",+ "content:",+ "data:",+ "devtools:",+ "file:",+ "filesystem:",+ "javascript:"+];+function BGe(e) {+ try {+ return zGe.includes(new URL(e).protocol);+ } catch {+ return !1;+ }}-function _Ke({ 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)(u7, {- index: 1,- tab: t,- children: [- /* @__PURE__ */ (0, V.jsx)(f7, {- title: "每批作品",- description: "首页每次加载的作品数量。",- children: /* @__PURE__ */ (0, V.jsx)("div", {- id: "batchSizeSetting",- children: /* @__PURE__ */ (0, V.jsx)(J5, {- id: "batchSizeSetting",- label: "每批作品",- value: r.batchSize,- onApply: (t) => {- r.batchSize = t || 60, i(), e.changed("batchSize");- }- }, n)- })- }),- /* @__PURE__ */ (0, V.jsx)(f7, {- title: "默认排序",- kind: "sort",- description: /* @__PURE__ */ (0, V.jsx)("small", {- id: "sortDirectionHelp",- children: a ? "随机排序不使用方向。" : "打开首页时使用的排序与方向。"- }),- children: /* @__PURE__ */ (0, V.jsxs)("div", {- "data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, V.jsx)(K5, {- id: "defaultSortSetting",- label: "默认排序",- options: tKe,- value: r.defaultSort,- epoch: n,- onPick: (t) => {- r.defaultSort = t, i(), e.changed("defaultSort");- }- }), /* @__PURE__ */ (0, V.jsx)(K5, {- id: "defaultSortDirectionSetting",- label: "默认排序方向",- options: nKe,- value: o ? "asc" : "desc",- hidden: a,- disabled: a,- describedBy: "sortDirectionHelp",- epoch: n,- onPick: (t) => {- r.defaultSortDirection = t, i(), e.changed("sortDirection");- },- decorate: (e) => gKe(e, o)- })]- })- }),- /* @__PURE__ */ (0, V.jsxs)("label", {- "data-setting-row": "",- children: [/* @__PURE__ */ (0, V.jsxs)("span", { children: [/* @__PURE__ */ (0, V.jsx)("b", { children: "合并分卷与版本" }), /* @__PURE__ */ (0, V.jsx)("small", { children: "同一番号的多个分卷或版次只占一张卡,展示第一个。" })] }), /* @__PURE__ */ (0, V.jsx)("input", {- type: "checkbox",- id: "groupCollapseSetting",- "data-toggle": "",- role: "switch",- checked: r.groupCollapse,- onChange: (t) => {- r.groupCollapse = t.target.checked, i(), e.changed("groupCollapse");- }- })]- }),- /* @__PURE__ */ (0, V.jsx)(f7, {- title: "JAV 默认封面",- description: "首页、接着看和 Mix 等位置共用;缺图时使用另一种封面。",- children: /* @__PURE__ */ (0, V.jsx)(G5, {- id: "javImageSetting",- name: "jav-image",- legend: "JAV 默认封面",- options: aKe,- value: r.javImage,- attr: "data-jav-image-choice",- variant: "javimageswitch",- text: !0,- epoch: n,- onChoose: (t) => {- r.javImage = kC(t), i(), e.changed("javImage");- }- })- }),- /* @__PURE__ */ (0, V.jsx)(f7, {- title: "视频封面默认大小",- kind: "related",- description: "首页和 JAV 等视频列表共用;小图展示完整封套,大图展示完整正封。",- children: /* @__PURE__ */ (0, V.jsx)(G5, {- id: "javSizeSetting",- name: "video-size",- legend: "视频封面默认大小",- options: e.videoLayouts,- value: e.videoLayout(),- attr: "data-video-layout",- variant: "javimageswitch",- text: !0,- epoch: n,- onChoose: (t) => e.setVideoLayout(t)- })- }),- /* @__PURE__ */ (0, V.jsx)(d7, {- id: "feedAutoScrollSetting",- title: "新作自动滚动",- checked: r.feedAutoScroll,- description: "首页和人物页那一行未入库的新作缓缓向前滚,到头停一下再往回;指针移上去或手动滚过时停下。",- onToggle: (t) => {- r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");+//#endregion+//#region node_modules/react-router/dist/production/lib/context.js+var K5 = B.createContext(null);+K5.displayName = "DataRouter";+var VGe = B.createContext(null);+VGe.displayName = "DataRouterState";+var q5 = B.createContext(null);+q5.displayName = "DataRouterData";+var HGe = B.createContext(null);+HGe.displayName = "DataRouterNavigation";+var UGe = B.createContext(!1), WGe = B.createContext({ isTransitioning: !1 });+WGe.displayName = "ViewTransition";+var GGe = B.createContext(null);+GGe.displayName = "Fetchers";+var KGe = B.createContext(null);+KGe.displayName = "Await";+var J5 = B.createContext(null);+J5.displayName = "Navigation";+var Y5 = B.createContext(null);+Y5.displayName = "Location";+var X5 = B.createContext({+ outlet: null,+ matches: [],+ isDataRoute: !1+});+X5.displayName = "Route";+var Z5 = B.createContext(!1);+Z5.displayName = "IsDataRoute";+var Q5 = B.createContext(void 0);+Q5.displayName = "RouteId";+var $5 = B.createContext(null);+$5.displayName = "RouteError";+//#endregion+//#region node_modules/react-router/dist/production/lib/errors.js+var e7 = "REACT_ROUTER_ERROR", qGe = "REDIRECT", JGe = "ROUTE_ERROR_RESPONSE";+function YGe(e) {+ if (e.startsWith(`${e7}:${qGe}:{`)) 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 XGe(e) {+ if (e.startsWith(`${e7}:${JGe}:{`)) try {+ let t = JSON.parse(e.slice(40));+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new NGe(t.status, t.statusText, t.data);+ } catch {}+}+//#endregion+//#region node_modules/react-router/dist/production/lib/hooks.js+function t7() {+ return B.useContext(Y5) != null;+}+function n7() {+ return T5(t7(), "useLocation() may be used only in the context of a <Router> component."), B.useContext(Y5).location;+}+var r7 = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";+function ZGe() {+ return B.useContext(Z5) ? lKe() : QGe();+}+function QGe() {+ T5(t7(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = B.useContext(K5), { basename: t, navigator: n } = B.useContext(J5), { matches: r } = B.useContext(X5), { pathname: i } = n7(), a = JSON.stringify(OGe(r)), o = B.useRef(!1);+ return B.useLayoutEffect(() => {+ o.current = !0;+ }), B.useCallback((r, s = {}) => {+ if (E5(o.current, r7), !o.current) return;+ if (typeof r == "number") {+ n.go(r);+ return;+ }+ let c = kGe(r, JSON.parse(a), i, s.relative === "path");+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : R5([t, c.pathname])), W5(typeof r == "string" ? r : lGe(r), n.createHref(c), H5(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ }, [+ t,+ n,+ a,+ i,+ e+ ]);+}+B.createContext(null);+function $Ge(e, t) {+ return i7(e, t);+}+function i7(e, t, n) {+ T5(t7(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = B.useContext(J5), { matches: i } = B.useContext(X5), a = i[i.length - 1], o = a ? a.params : {};+ a && a.pathname;+ let s = a ? a.pathnameBase : "/";+ a && a.route;+ let c = n7(), l;+ if (t) {+ let e = typeof t == "string" ? D5(t) : t;+ T5(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 !== "/") {+ let e = s.replace(/^\//, "").split("/");+ 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) : uGe(e, { pathname: d });+ let p = aKe(f && f.map((e) => Object.assign({}, e, {+ params: Object.assign({}, o, e.params),+ pathname: R5([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : R5([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(Y5.Provider, { value: {+ location: {+ pathname: "/",+ search: "",+ hash: "",+ state: null,+ key: "default",+ mask: void 0,+ ...l+ },+ navigationType: "POP"+ } }, p) : p;+}+function eKe() {+ let e = cKe(), t = PGe(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 tKe = /* @__PURE__ */ B.createElement(eKe, null), nKe = class extends B.Component {+ constructor(e) {+ super(e), this.state = {+ location: e.location,+ revalidation: e.revalidation,+ error: e.error+ };+ }+ static contextType = UGe;+ static getDerivedStateFromError(e) {+ return { error: e };+ }+ static getDerivedStateFromProps(e, t) {+ return t.location !== e.location || t.revalidation !== "idle" && e.revalidation === "idle" ? {+ error: e.error,+ location: e.location,+ revalidation: e.revalidation+ } : {+ error: e.error === void 0 ? t.error : e.error,+ location: t.location,+ revalidation: e.revalidation || t.revalidation+ };+ }+ componentDidCatch(e, t) {+ this.props.onError ? this.props.onError(e, t) : console.error("React Router caught the following error during render", e);+ }+ render() {+ let e = this.state.error;+ if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {+ let t = XGe(e.digest);+ t && (e = t);+ }+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ B.createElement(X5.Provider, { value: this.props.routeContext }, /* @__PURE__ */ B.createElement(Z5.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ B.createElement(Q5.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ B.createElement($5.Provider, {+ value: e,+ children: this.props.component+ }))));+ return this.context ? /* @__PURE__ */ B.createElement(rKe, { error: e }, t) : t;+ }+}, a7 = /* @__PURE__ */ new WeakMap();+function rKe({ children: e, error: t }) {+ let { basename: n, navigator: r } = B.useContext(J5);+ if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {+ let e = YGe(t.digest);+ if (e) {+ let i = a7.get(t);+ if (i) throw i;+ let a = IGe(e.location, n), o = a.absoluteURL || a.to;+ if (W5(e.location, o, H5(r), "allow-explicit"), BGe(o)) throw Error("Invalid redirect location");+ if (B5 && !a7.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 a7.set(t, n), n;}- }),- oKe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, V.jsx)(vKe, {- host: e,- id: t,- settingKey: n,- label: r,- title: i,- describedBy: a,- description: o- }, t))- ]- });+ }+ return /* @__PURE__ */ B.createElement("meta", {+ httpEquiv: "refresh",+ content: `0;url=${o}`+ });+ }+ }+ return e;}-function vKe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {- let s = Gj(), [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}`);- },- onError: (t) => e.failure(`保存${r}开关`, t),- onSettled: () => {- l(null), Ue(u.current, !1);+function iKe({ routeContext: e, match: t, children: n }) {+ let r = B.useContext(K5);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ B.createElement(X5.Provider, { value: e }, /* @__PURE__ */ B.createElement(Z5.Provider, { value: e.isDataRoute }, /* @__PURE__ */ B.createElement(Q5.Provider, { value: t.route.id }, n)));+}+function aKe(e, t = [], n) {+ let r = n?.state;+ if (e == null) {+ if (!r) return null;+ if (r.errors) e = r.matches;+ else if (t.length === 0 && !r.initialized && r.matches.length > 0) e = r.matches;+ else return null;+ }+ let i = e, a = r?.errors;+ if (a != null) {+ let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);+ T5(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) {+ o = r.renderFallback;+ for (let e = 0; e < i.length; e++) {+ let t = i[e];+ if ((t.route.HydrateFallback || t.route.hydrateFallbackElement) && (s = e), t.route.id) {+ let { loaderData: e, errors: a } = r, c = t.route.loader && !e.hasOwnProperty(t.route.id) && (!a || a[t.route.id] === void 0);+ if (t.route.lazy || c) {+ n.isStatic && (o = !0), i = s >= 0 ? i.slice(0, s + 1) : [i[0]];+ break;+ }}+ }+ }+ let c = n?.onError, l = r && c ? (e, t) => {+ c(e, {+ location: r.location,+ params: r.matches?.[0]?.params ?? {},+ pattern: FGe(r.matches),+ errorInfo: t});- };- return /* @__PURE__ */ (0, V.jsxs)("label", {- "data-setting-row": "",- children: [/* @__PURE__ */ (0, V.jsxs)("span", { children: [/* @__PURE__ */ (0, V.jsx)("b", { children: i }), /* @__PURE__ */ (0, V.jsx)("small", {- id: a,- children: o- })] }), /* @__PURE__ */ (0, V.jsx)("input", {- "data-toggle": "",- type: "checkbox",- id: t,- role: "switch",- "aria-describedby": a,- ref: u,- checked: c ?? d[n],- onChange: (e) => f(e.target.checked)- })]+ } : 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 || tKe, o && (s < 0 && c === 0 ? (uKe("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(iKe, {+ match: n,+ routeContext: {+ outlet: e,+ matches: m,+ isDataRoute: r != null+ },+ children: t+ });+ };+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ B.createElement(nKe, {+ location: r.location,+ revalidation: r.revalidation,+ component: f,+ error: u,+ children: h(),+ routeContext: {+ outlet: null,+ matches: m,+ isDataRoute: !0+ },+ onError: l+ }) : h();+ }, null);+}+function o7(e) {+ return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;+}+function oKe(e) {+ let t = B.useContext(K5);+ return T5(t, o7(e)), t;+}+function sKe(e) {+ let t = B.useContext(q5);+ return T5(t, o7(e)), t;+}+function s7(e) {+ let t = B.useContext(Q5);+ return T5(t, `${e} can only be used on routes that contain a unique "id"`), t;+}+function cKe() {+ let e = B.useContext($5), t = sKe("useRouteError"), n = s7("useRouteError");+ return e === void 0 ? t.errors?.[n] : e;+}+function lKe() {+ let { router: e } = oKe("useNavigate"), t = s7("useNavigate"), n = B.useRef(!1);+ return B.useLayoutEffect(() => {+ n.current = !0;+ }), B.useCallback(async (r, i = {}) => {+ E5(n.current, r7), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ fromRouteId: t,+ ...i+ }));+ }, [e, t]);+}+var c7 = {};+function uKe(e, t, n) {+ !t && !c7[e] && (c7[e] = !0, E5(!1, n));+}+B.memo(dKe);+function dKe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+ let a = B.useContext(K5);+ return T5(a, "You must render this element inside a <DataRouterContext.Provider> element"), i7(e, void 0, {+ router: a.router,+ manifest: t,+ state: n,+ isStatic: r,+ onError: i});}-function yKe({ host: e, tab: t, epoch: n }) {- let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, V.jsxs)(u7, {- index: 2,- tab: t,- children: [- /* @__PURE__ */ (0, V.jsx)(f7, {- title: "悬停放大",- description: "转圈完成后进入放大预览。",- children: /* @__PURE__ */ (0, V.jsx)("div", {- id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, V.jsx)(J5, {- id: "hoverDelaySetting",- label: "悬停放大",- value: r.hoverDelaySeconds,- onApply: (t) => {- r.hoverDelaySeconds = U5(t, 0, 60, 5), i(), e.changed("hoverDelay");- }- }, n)- })- }),- /* @__PURE__ */ (0, V.jsx)(d7, {- id: "detailAutoplaySetting",- title: "打开详情自动播放",- checked: r.detailAutoplay,- description: "打开本地作品或关注视频详情时开始播放;关闭后点击播放按钮开始。",- onToggle: (e) => {- r.detailAutoplay = e, i();- }- }),- /* @__PURE__ */ (0, V.jsx)(d7, {- id: "miniplayerSetting",- title: "小窗播放",- checked: r.miniplayer,- description: "离开详情时正在播放的视频缩到角落继续播放;小窗开着时点击其他视频直接在小窗里换片。",- onToggle: (t) => {- r.miniplayer = t, i(), e.changed("miniplayer");- }- }),- /* @__PURE__ */ (0, V.jsx)(f7, {- title: "快进 / 快退",- description: "卡片预览和详情播放器共用。",- children: /* @__PURE__ */ (0, V.jsx)("div", {- id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, V.jsx)(J5, {- id: "seekSecondsSetting",- label: "快进 / 快退",- value: r.seekSeconds,- onApply: (t) => {- r.seekSeconds = t || 10, i(), e.changed("seekSeconds");- }- }, n)- })- }),- /* @__PURE__ */ (0, V.jsx)(bKe, { epoch: n }),- /* @__PURE__ */ (0, V.jsx)(f7, {- title: "相关推荐",- description: "详情下方一次显示的相似作品数量。",- children: /* @__PURE__ */ (0, V.jsx)("div", {- id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, V.jsx)(J5, {- id: "relatedLimitSetting",- label: "相关推荐",- value: r.relatedLimit,- onApply: (e) => {- r.relatedLimit = e, i();- }- }, n)- })+function l7(e) {+ T5(!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 fKe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+ T5(!t7(), "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,+ static: a,+ useTransitions: o,+ future: {}+ }), [+ s,+ i,+ a,+ o+ ]);+ typeof n == "string" && (n = D5(n));+ let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = B.useMemo(() => {+ let e = P5(l, s);+ return e == null ? null : {+ location: {+ pathname: e,+ search: u,+ hash: d,+ state: f,+ key: p,+ mask: m+ },+ navigationType: r+ };+ }, [+ s,+ l,+ u,+ d,+ f,+ p,+ r,+ m+ ]);+ return E5(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(J5.Provider, { value: c }, /* @__PURE__ */ B.createElement(Y5.Provider, {+ children: t,+ value: h+ }));+}+function u7({ children: e, location: t }) {+ return $Ge(d7(e), t);+}+B.Component;+function d7(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, d7(e.props.children, i));+ return;+ }+ T5(e.type === l7, `[${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;+ T5(!a.index || !a.children, "An index route cannot have child routes.");+ let o = {+ id: a.id || i.join("-"),+ caseSensitive: a.caseSensitive,+ element: a.element,+ Component: a.Component,+ index: a.index,+ path: a.path,+ middleware: a.middleware,+ loader: a.loader,+ action: a.action,+ hydrateFallbackElement: a.hydrateFallbackElement,+ HydrateFallback: a.HydrateFallback,+ errorElement: a.errorElement,+ ErrorBoundary: a.ErrorBoundary,+ shouldRevalidate: a.shouldRevalidate,+ handle: a.handle,+ lazy: a.lazy+ };+ a.children && (o.children = d7(a.children, i)), n.push(o);+ }), n;+}+//#endregion+//#region src/react/providers.tsx+var f7 = null;+function pKe() {+ return f7?.isConnected || (f7 = document.createElement("div"), f7.className = "peach-react", f7.dataset.reactOverlays = "", document.body.append(f7)), f7;+}+function p7({ children: e }) {+ return /* @__PURE__ */ (0, V.jsx)(uS, {+ client: z,+ children: /* @__PURE__ */ (0, V.jsx)(rd, {+ reducedMotion: "user",+ children: /* @__PURE__ */ (0, V.jsx)(Qv, {+ getContainer: pKe,+ children: e})- ]+ })});}-function bKe({ epoch: e }) {- let t = TS({- queryKey: Hj,- queryFn: ({ signal: e }) => Wj(e)- }), n = Iue(), r = n.reset;- (0, B.useEffect)(() => {- r();- }, [e, r]);- let i = t.data?.mode || "off", a = n.isPending ? m7() : t.isFetching ? Pe("正在读取状态") : n.isError ? g7(h7(n.error, "保存失败")) : t.isError ? g7(`状态未取得:${h7(t.error, String(t.error))}`) : t.data ? g7(Rue(t.data)) : "读取运行状态…";- return /* @__PURE__ */ (0, V.jsx)(f7, {- 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)(p7, {- id: "videoThumbnailState",- "aria-live": "polite",- html: a- })] }),- children: /* @__PURE__ */ (0, V.jsx)(K5, {- id: "videoThumbnailSetting",- label: "视频缩略图采集",- options: rKe,- value: n.isPending || n.isError ? n.variables ?? i : i,- disabled: n.isPending || t.isFetching,- epoch: e,- onPick: (e) => n.mutate(e)+//#endregion+//#region src/react/router/router.tsx+var m7 = (0, B.createContext)(0), h7 = (0, B.createContext)(null);+function mKe({ children: e }) {+ let [t, n] = (0, B.useState)(() => ft.navigation);+ return (0, B.useLayoutEffect)(() => (n(ft.navigation), ft.listen(n)), []), /* @__PURE__ */ (0, V.jsx)(m7.Provider, {+ value: t.seq,+ children: /* @__PURE__ */ (0, V.jsx)(fKe, {+ location: t.location,+ navigationType: t.action,+ navigator: ft,+ children: e})});}-function xKe({ host: e, epoch: t }) {- let n = e.store.value, r = Gj();- return /* @__PURE__ */ (0, V.jsx)(f7, {- title: "搜索记录",- description: "保存在 Peach 账本,所有访问端同步。",- children: /* @__PURE__ */ (0, V.jsx)("div", {- id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, V.jsx)(J5, {- id: "searchHistoryLimitSetting",- label: "搜索记录",- value: n.searchHistoryLimit,- onApply: (t) => {- n.searchHistoryLimit = U5(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });- }- }, t)+function hKe() {+ let e = (0, B.useContext)(m7);+ return (0, B.useLayoutEffect)(() => {+ queueMicrotask(() => pt(e));+ }, [e]), null;+}+function gKe({ target: e }) {+ let t = ZGe();+ return (0, B.useLayoutEffect)(() => {+ e.current = t;+ }), null;+}+function _Ke(e, t, n) {+ let r = new URL(e, window.location.href);+ if (!u5(r.pathname)) {+ t.navigate(e);+ return;+ }+ n(`${r.pathname}${r.search}${r.hash}`);+}+function vKe() {+ let e = (0, B.useContext)(h7), [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 && _Ke(t, e, r.current);+ }, [e]);+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsx)(gKe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, V.jsx)(yKe, {+ entry: t,+ children: /* @__PURE__ */ (0, V.jsx)(bKe, {+ entry: t,+ actions: e,+ go: i})- });+ }, t.revision)) : null] });}-function SKe({ host: e, tab: t, epoch: n }) {- let r = e.store.value, i = Gj(), o = Gj(), [s, c] = (0, B.useState)("");- (0, B.useEffect)(() => {- c("");- }, [n]);- let l = (t) => {- o.isPending || (c("正在保存…"), o.mutate({ followInitialDays: t }, {- onSuccess: (t) => {- typeof t.followInitialDays == "number" && (r.followInitialDays = t.followInitialDays), e.store.save(), c("已保存,适用于尚未开始采集的来源。"), e.receipt("已保存首次采集历史范围");- },- onError: (t) => {- c(h7(t, "")), e.failure("保存首次采集历史范围", t);- }- }));- };- return /* @__PURE__ */ (0, V.jsxs)(u7, {- index: 4,- tab: t,+var yKe = class extends B.Component {+ state = { failed: !1 };+ static getDerivedStateFromError() {+ return { failed: !0 };+ }+ componentDidCatch() {+ lt(this.props.entry.container, this.props.entry.revision);+ }+ render() {+ return this.state.failed ? null : this.props.children;+ }+}, bKe = (0, B.memo)(function({ entry: e, actions: t, go: n }) {+ return C5(e.path) ? (0, $f.createPortal)(aGe(e.path, e.props, t, n), e.host, String(e.revision)) : null;+});+function xKe({ children: e }) {+ let t = n7(), n = ct(t.state);+ return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)(u7, {+ location: n ?? t,children: [- /* @__PURE__ */ (0, V.jsx)(f7, {- 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)(K5, {- id: "followInitialDaysSetting",- label: "首次采集历史范围",- options: e.followInitialRanges,- value: o.isPending ? String(o.variables?.followInitialDays ?? r.followInitialDays) : String(r.followInitialDays),- busy: o.isPending,- epoch: n,- onPick: (e) => l(Number(e))- })+ rGe.map((e) => /* @__PURE__ */ (0, V.jsx)(l7, {+ path: e,+ element: null+ }, e)),+ /* @__PURE__ */ (0, V.jsx)(l7, {+ path: "/resource-sync",+ element: null}),- /* @__PURE__ */ (0, V.jsx)(CKe, { epoch: n }),- /* @__PURE__ */ (0, V.jsx)(f7, {- title: "头像与站点图标刷新",- description: "创作者头像、来源图标和外链圆标保存在本机,到期后下次显示时重新取一次;视频与图片不保存。",- children: /* @__PURE__ */ (0, V.jsx)(K5, {- id: "metadataRefreshSetting",- label: "头像与站点图标刷新",- options: iKe,- value: String(r.metadataRefreshDays),- epoch: n,- onPick: (t) => {- let n = Number(t);- r.metadataRefreshDays = a.includes(n) ? n : 30, e.store.save(), i.mutate({ metadataRefreshDays: r.metadataRefreshDays }, { onError: () => {} });- }- })+ /* @__PURE__ */ (0, V.jsx)(l7, {+ path: "*",+ element: e})]- });-}-function CKe({ epoch: e }) {- let t = TS({- queryKey: Vj,- queryFn: ({ signal: e }) => Uj(e)- }), n = Fue(), 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 ? m7() : t.isFetching ? Pe("正在读取状态") : n.isError ? g7(h7(n.error, "保存失败")) : t.isError ? g7(`状态未取得:${h7(t.error, String(t.error))}`) : i ? g7(Lue(i)) : "读取运行状态…";- return /* @__PURE__ */ (0, V.jsx)(f7, {- title: "关注自动更新",- description: /* @__PURE__ */ (0, V.jsx)(p7, {- id: "followScheduleState",- "aria-live": "polite",- html: o- }),- children: /* @__PURE__ */ (0, V.jsx)("div", {- id: "followScheduleSetting",- children: /* @__PURE__ */ (0, V.jsx)(J5, {- id: "followScheduleSetting",- label: "关注自动更新",- value: i && !a ? i.enabled ? i.interval_minutes : 0 : null,- disabled: i ? !i.available : !1,- onApply: (e) => n.mutate(e)- }, e)- })- });+ }), /* @__PURE__ */ (0, V.jsxs)(u7, { children: [st.map((e) => /* @__PURE__ */ (0, V.jsx)(l7, {+ path: e,+ element: null+ }, e)), /* @__PURE__ */ (0, V.jsx)(l7, {+ path: "*",+ element: null+ })] })] });}-function wKe({ 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)(qGe, { openConfiguration: () => {- s7(), e.openConfiguration();- } })- })- }, "summary") : t === "note" ? /* @__PURE__ */ (0, V.jsx)("div", {- id: "machineSettings",- dangerouslySetInnerHTML: { __html: Ie("媒体文件夹、端口、代理与更新只能在运行 Peach 服务的那台设备上改:在它的浏览器里打开配置页。", { label: "在服务端设备修改" }) }- }, "note") : /* @__PURE__ */ (0, V.jsx)("div", { id: "machineSettings" }, "none");+function SKe({ children: e, actions: t = null }) {+ return /* @__PURE__ */ (0, V.jsx)(p7, { children: /* @__PURE__ */ (0, V.jsx)(h7.Provider, {+ value: t,+ children: /* @__PURE__ */ (0, V.jsxs)(mKe, { children: [+ /* @__PURE__ */ (0, V.jsx)(hKe, {}),+ /* @__PURE__ */ (0, V.jsx)(vKe, {}),+ /* @__PURE__ */ (0, V.jsx)(xKe, { children: e })+ ] })+ }) });}-function g7(e) {- return e.replace(/[&<>"']/g, (e) => `&#${e.charCodeAt(0)};`);+var CKe = { onCaughtError: (e) => {+ globalThis.reportError?.(e);+} }, g7 = null;+function wKe(e) {+ if (g7) return;+ g7 = (0, MN.createRoot)(document.createElement("div"), CKe);+ let t = g7;+ (0, $f.flushSync)(() => t.render(/* @__PURE__ */ (0, V.jsx)(SKe, { actions: e })));}//#endregion//#region src/react/sidebar/sidebar-island.tsx@@ -77961,7 +77970,7 @@ function C7() {let e = y7;if (!e || !b7) return;let t = x7, n = S7;- (0, $f.flushSync)(() => b7.render(/* @__PURE__ */ (0, V.jsx)(z5, { children: /* @__PURE__ */ (0, V.jsx)(OKe, {+ (0, $f.flushSync)(() => b7.render(/* @__PURE__ */ (0, V.jsx)(p7, { children: /* @__PURE__ */ (0, V.jsx)(OKe, {host: e,props: t,epoch: n@@ -78000,7 +78009,7 @@ function OKe({ host: e, props: t, epoch: n }) {] });}function kKe({ host: e, epoch: t, version: n }) {- let r = Y5(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 = lA(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || _7 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+ let r = RR(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 = lA(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || _7 : "").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 [@@ -78033,7 +78042,7 @@ function kKe({ host: e, epoch: t, version: n }) {t.preventDefault();let n = f, a = m?.key === e && m.after;g();- let o = n === null ? null : X5(i, n, e, a);+ let o = n === null ? null : zR(i, n, e, a);o && r(o);},onDragEnd: g@@ -78056,7 +78065,7 @@ function kKe({ host: e, epoch: t, version: n }) {"data-sidebar-home-logo": "",src: "/peach-logo.png",alt: ""- }) : /* @__PURE__ */ (0, V.jsx)(tT, { name: r }), /* @__PURE__ */ (0, V.jsx)("span", { children: n })]+ }) : /* @__PURE__ */ (0, V.jsx)(nT, { name: r }), /* @__PURE__ */ (0, V.jsx)("span", { children: n })]}, t || _7))}), v ? (0, $f.createPortal)(/* @__PURE__ */ (0, V.jsx)("span", {"data-sidebar-glide": "",@@ -78212,7 +78221,7 @@ function PKe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, V.jsx)(tT, { name: "chevron-right" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, V.jsx)(nT, { name: "chevron-right" }), /* @__PURE__ */ (0, V.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, V.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -78234,7 +78243,7 @@ function PKe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })}var E7 = (0, B.createContext)(() => {});function FKe({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, V.jsx)(tT, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, V.jsx)("img", {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, V.jsx)(nT, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, V.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""@@ -78313,7 +78322,7 @@ function IKe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, V.jsx)(tT, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, V.jsx)(nT, { name: "chevron-down" })}) : null] });}function O7({ rows: e, host: t, selected: n, badges: r }) {@@ -78418,7 +78427,7 @@ var j7 = (e) => ["follow-item", e], VKe = (e) => `/api/follow?item=${encodeURICoasync function M7(e, t) {let n = await G(VKe(e), t);for (let t of n.groups || []) {- let r = NF(t).find((t) => t.id === e);+ let r = MF(t).find((t) => t.id === e);if (r) return {item: r,group: t,@@ -78429,9 +78438,9 @@ async function M7(e, t) {throw Error("这条关注内容已不存在");}async function WKe(e, t) {- let n = j7(e.id), r = ahe(e.id), i = z.getQueryData(kF) ? null : z.fetchQuery({- queryKey: kF,- queryFn: () => AF(t)+ let n = j7(e.id), r = ohe(e.id), i = z.getQueryData(OF) ? null : z.fetchQuery({+ queryKey: OF,+ queryFn: () => kF(t)});r ? z.setQueryData(n, {...r,@@ -78442,7 +78451,7 @@ async function WKe(e, t) {}), await i;}function GKe(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 && RF(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);+ 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 && LF(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,@@ -78456,7 +78465,7 @@ function GKe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var KKe = (e) => NF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), qKe = {+var KKe = (e) => MF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), qKe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA",@@ -78621,8 +78630,8 @@ function sqe(e) {queryKey: j7(t),queryFn: ({ signal: e }) => M7(t, e)}), i = TS({- queryKey: kF,- queryFn: ({ signal: e }) => AF(e)+ queryKey: OF,+ queryFn: ({ signal: e }) => kF(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)(cqe, {...e,@@ -78638,7 +78647,7 @@ function sqe(e) {"data-follow-detail-media": "none",children: [/* @__PURE__ */ (0, V.jsx)(V7, { onClose: n.close }), /* @__PURE__ */ (0, V.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? /* @__PURE__ */ (0, V.jsx)(OA, {+ children: r.isError ? /* @__PURE__ */ (0, V.jsx)(kA, {message: ye(r.error),onRetry: () => void r.refetch()}) : null@@ -78772,7 +78781,7 @@ function lqe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, V.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: WF(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: UF(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, V.jsx)("span", { children: "没有可用预览" })]}),u ? /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [@@ -78831,7 +78840,7 @@ function W7(e) {}, [e]);}function uqe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = RF(e), a = W7(n);+ let i = LF(e), a = W7(n);return /* @__PURE__ */ (0, V.jsx)(L7, {kind: "collection","data-follow-queue": "",@@ -78840,7 +78849,7 @@ function uqe({ 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 = XKe(e, n, i ? n.provider_label : ""), o = i ? WF(n.provider, n.provider_label) : "";+ let i = e.duplicates.includes(n), a = XKe(e, n, i ? n.provider_label : ""), o = i ? UF(n.provider, n.provider_label) : "";return /* @__PURE__ */ (0, V.jsxs)(R7, {current: n.id === t,"data-follow-queue-item": n.id,@@ -78863,7 +78872,7 @@ function uqe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, V.jsx)("time", {dateTime: n.published_at || "",- children: ZF(n)+ children: XF(n)})]})]}, n.id);@@ -78914,7 +78923,7 @@ function dqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpevariants: [],duplicates: [],has_wip: e.variant_kind === "wip"- }, f = YF(d, e), p = qF(e, tqe(e, t.sources), n), m = p.credited ? "" : e.author && me(e.author) !== me(p.author) ? e.author : "", h = XF(e, n), g = eqe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {+ }, f = JF(d, e), p = KF(e, tqe(e, t.sources), n), m = p.credited ? "" : e.author && me(e.author) !== me(p.author) ? e.author : "", h = YF(e, n), g = eqe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -78930,7 +78939,7 @@ function dqe({ 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: JF(d, e) + L(e.title) }+ dangerouslySetInnerHTML: { __html: qF(d, e) + L(e.title) }}), e.url ? /* @__PURE__ */ (0, V.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -78957,7 +78966,7 @@ function dqe({ 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: ZF(e) }),+ /* @__PURE__ */ (0, V.jsx)("span", { children: XF(e) }),z7(e.duration) ? /* @__PURE__ */ (0, V.jsx)("span", { children: fe(e.duration) }) : null,f ? /* @__PURE__ */ (0, V.jsx)("span", {"data-follow-badges": "",@@ -79135,17 +79144,17 @@ function fqe(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(UP, {+ mutationFn: ({ to: e }) => K(HP, {item: r,to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && yL(), t.toast(iqe(n), { undo: i === "saved" ? void 0 : async () => {- await K(UP, {+ u(n), c(""), n === "ignored" && vL(), t.toast(iqe(n), { undo: i === "saved" ? void 0 : async () => {+ await K(HP, {item: r,to: i}), u(i);@@ -79173,17 +79182,17 @@ function fqe(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: u_e(r),- queryFn: ({ signal: e }) => p_e(r, e)+ queryKey: d_e(r),+ queryFn: ({ signal: e }) => m_e(r, e)}).data?.want ?? null, g = OS({- mutationFn: async (e) => (e ? await vL([e.id]) : await _L({ follow: r }), !e),+ mutationFn: async (e) => (e ? await _L([e.id]) : await gL({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), yL();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), vL();},onError: d,onSettled: () => l("want", !1)@@ -79268,7 +79277,7 @@ function _qe({ code: e, coverUrl: t, box: n, onSaved: r }) {children: /* @__PURE__ */ (0, V.jsx)(K7, { className: "size-3.75" })}), /* @__PURE__ */ (0, V.jsx)(Qv, {getContainer: () => mqe(o.current),- children: /* @__PURE__ */ (0, V.jsx)(QN, {+ children: /* @__PURE__ */ (0, V.jsx)($N, {isOpen: i,onOpenChange: a,width: "cover-crop",@@ -79297,7 +79306,7 @@ function vqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : fpe(e, AC);+ } : fpe(e, jC);c(JN(t, e, null));}let m = f.isPending;@@ -79305,11 +79314,11 @@ function vqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, V.jsx)($N, { children: /* @__PURE__ */ (0, V.jsx)(K7, { className: "size-6" }) }),+ /* @__PURE__ */ (0, V.jsx)(eP, { children: /* @__PURE__ */ (0, V.jsx)(K7, { className: "size-6" }) }),/* @__PURE__ */ (0, V.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, V.jsx)(XE, {+ /* @__PURE__ */ (0, V.jsx)(ZE, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -79325,7 +79334,7 @@ function vqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {]}),/* @__PURE__ */ (0, V.jsx)(AM, {- icon: fT,+ icon: pT,size: "small","aria-label": "关闭",onClick: i@@ -79337,7 +79346,7 @@ function vqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {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)(nP, {src: t,- aspect: l ? AC : null,+ aspect: l ? jC : null,box: s,size: a,label: `${e} 的正封取景框`,@@ -79349,10 +79358,10 @@ function vqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}),/* @__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)(rL, {+ children: [/* @__PURE__ */ (0, V.jsx)(nL, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(JN(s, a, AC));+ u(e), e && s && a && c(JN(s, a, jC));},children: /* @__PURE__ */ (0, V.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -79390,12 +79399,12 @@ var q7 = ({ name: e }) => /* @__PURE__ */ (0, V.jsx)("span", {});function yqe(e) {let { queue: t, actions: n } = e, r = TS({- queryKey: t ? LC(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => KC(t, e.helpers, n),+ queryKey: t ? RC(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => qC(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? YC(i, e.id) : t ? null : e.id, o = TS({- queryKey: IC(a ?? 0),- queryFn: ({ signal: e }) => GC(a, e),+ }), i = t && r.data || null, a = i ? XC(i, e.id) : t ? null : e.id, o = TS({+ queryKey: LC(a ?? 0),+ queryFn: ({ signal: e }) => KC(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -79408,7 +79417,7 @@ function yqe(e) {"data-item-media": "none",children: [/* @__PURE__ */ (0, V.jsx)(Y7, { onClose: n.close }), /* @__PURE__ */ (0, V.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, V.jsx)(OA, {+ children: e ? /* @__PURE__ */ (0, V.jsx)(kA, {message: ye(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -79420,7 +79429,7 @@ function yqe(e) {}return /* @__PURE__ */ (0, V.jsx)(bqe, {...e,- item: Bre(o.data, i),+ item: zre(o.data, i),queue: i}, o.data.id);}@@ -79438,13 +79447,13 @@ function bqe(e) {(0, B.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, B.useEffect)(() => {- n?.kind === "playlist" && K(RC, {+ n?.kind === "playlist" && K(zC, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = eie(t, i.sourceOffline(t.location || ""));+ let s = $re(t, i.sourceOffline(t.location || ""));return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [/* @__PURE__ */ (0, V.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,@@ -79538,7 +79547,7 @@ function Sqe({ item: e, badge: t, helpers: n, actions: r }) {});}function Cqe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = Xre(e), a = (0, B.useRef)(null), o = Tqe(e, t, r), s = (0, B.useRef)(o);+ let i = Yre(e), a = (0, B.useRef)(null), o = Tqe(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, {@@ -79574,10 +79583,10 @@ function Cqe({ queue: e, itemId: t, helpers: n, actions: r }) {listRef: c,children: e.items.map((i) => {let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, V.jsx)("i", {- className: `javedition ${Jre[i.edition_label] || "censored"}`,+ className: `javedition ${qre[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && JC(i);+ }) : null, s = e.kind === "playlist" && YC(i);return /* @__PURE__ */ (0, V.jsxs)(R7, {current: i.id === t,"data-queue-item": i.id,@@ -79617,14 +79626,14 @@ function Cqe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, V.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" ? rw(i.part_label) : P(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" ? iw(i.part_label) : P(i, n.tagLabel)})]}, i.id);})});}function wqe(e, t) {- let n = OS({ mutationFn: (t) => K(RC, {+ let n = OS({ mutationFn: (t) => K(zC, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -79638,10 +79647,10 @@ function wqe(e, t) {});}function Tqe(e, t, n) {- let r = LC({+ let r = RC({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (z.setQueryData(r, qC(e)), e), a = (t) => K(RC, {+ }), i = (e) => (z.setQueryData(r, JC(e)), e), a = (t) => K(zC, {id: e.playlistId,...t}).then((e) => e.playlist), o = OS({@@ -79657,8 +79666,8 @@ function Tqe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = Qre(s, t, r, c);- if ($re(l, s)) return;+ let l = Zre(s, t, r, c);+ if (Qre(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -79898,7 +79907,7 @@ function Dqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {}, n = new ResizeObserver(t);return n.observe(e), t(), () => n.disconnect();}, []);- let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Zre(e, t);+ let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Xre(e, t);return /* @__PURE__ */ (0, V.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, V.jsxs)("div", {@@ -79935,9 +79944,9 @@ function Dqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {box: e.poster_box || null,onSaved: (t) => {z.invalidateQueries({- queryKey: IC(e.id),+ queryKey: LC(e.id),exact: !0- }), FC((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), IC((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,@@ -79985,13 +79994,13 @@ function Oqe({ id: e, actions: t, onStatus: n }) {})] });}function kqe({ item: e, write: t }) {- let n = ZC(e.rating);+ let n = QC(e.rating);return /* @__PURE__ */ (0, V.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": XC(e.rating),+ "data-value": ZC(e.rating),children: [/* @__PURE__ */ (0, V.jsx)("div", {"data-rating-stars": "",children: [@@ -80013,12 +80022,12 @@ function kqe({ item: e, write: t }) {}), /* @__PURE__ */ (0, V.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: Ure(e.rating)+ children: Hre(e.rating)})]});}function Aqe({ item: e, actions: t }) {- let n = (0, B.useMemo)(() => Hre(e), [e]), [r, i] = (0, B.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+ let n = (0, B.useMemo)(() => Vre(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": "",dangerouslySetInnerHTML: { __html: `<span>${L(n.name.slice(0, 1))}</span>` + A({@@ -80093,7 +80102,7 @@ function Aqe({ item: e, actions: t }) {size: "small",id: "castMore","data-cast-more": "",- trailingIcon: sT,+ trailingIcon: cT,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -80139,7 +80148,7 @@ function Aqe({ item: e, actions: t }) {});}function jqe({ item: e, write: t, helpers: n, actions: r }) {- let i = Gre(e, n);+ let i = Wre(e, n);return /* @__PURE__ */ (0, V.jsxs)("div", {"data-stage-tags": "",id: "detailTags",@@ -80181,7 +80190,7 @@ function Mqe({ item: e, write: t, helpers: n }) {clearTimeout(t), document.removeEventListener("pointerdown", e, !0);};}, [s, h]);- let g = s ? qre(d, n.tagCandidates(), nw()) : {+ let g = s ? Kre(d, n.tagCandidates(), rw()) : {recent: [],results: [],create: ""@@ -80209,12 +80218,12 @@ function Mqe({ item: e, write: t, helpers: n }) {if (n.key === "Enter") {n.preventDefault();let r = p >= 0 ? _[p] : null;- r ? v(r, r.n !== -1 && QC(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));+ r ? v(r, r.n !== -1 && $C(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));}}}, b = -1, x = (t) => {b += 1;- let r = b, i = QC(e, t.k);+ let r = b, i = $C(e, t.k);return /* @__PURE__ */ (0, V.jsxs)("button", {type: "button","data-pick": t.k,@@ -80312,7 +80321,7 @@ function Mqe({ item: e, write: t, helpers: n }) {})] });}function Nqe({ item: e }) {- let t = tie(e);+ let t = eie(e);return /* @__PURE__ */ (0, V.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, V.jsxs)("div", {@@ -80387,8 +80396,8 @@ function Pqe({ item: e, open: t, write: n }) {}function Fqe(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = TS({- queryKey: Lre(t.id, n),- queryFn: async ({ signal: e }) => (await G(zre(t.id, n), e)).items || []+ queryKey: Ire(t.id, n),+ queryFn: async ({ signal: e }) => (await G(Rre(t.id, n), e)).items || []}), [o] = (0, B.useState)(() => r.relatedSkeletonHtml()), s = (0, B.useCallback)((e) => {e && (ke(e), r.wireDrag(e));}, [r]);@@ -80401,7 +80410,7 @@ function Fqe(e) {ref: s,id: "nrow","data-related-row": "",- children: a.data ? /* @__PURE__ */ (0, V.jsx)(RA, {+ children: a.data ? /* @__PURE__ */ (0, V.jsx)(zA, {mode: "items",variant: "next",items: a.data,@@ -80419,7 +80428,7 @@ function Fqe(e) {});}function Iqe(e, t, n) {- let r = e.id, i = IC(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 = e.id, i = LC(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) => {@@ -80435,7 +80444,7 @@ function Iqe(e, t, n) {rating: t.rating,o_count: t.o_count};- return PC(r, n), t;+ return FC(r, n), t;}, m = (e, t) => K(e, {id: r,...t@@ -80450,7 +80459,7 @@ function Iqe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(zC, t === void 0 ? { kind: e } : {+ let n = await m(BC, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -80470,21 +80479,21 @@ function Iqe(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = Wre(n, e);- await _("rate", r), t.toast(r ? `已评 ${ZC(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = Ure(n, e);+ await _("rate", r), t.toast(r ? `已评 ${QC(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(iw(e, r), { undo: async () => {+ t.toast(aw(e, r), { undo: async () => {e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);}),later: () => g("later", "更新稍后看", async () => {- let e = await m(VC, {});+ let e = await m(HC, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(VC, {})).watch_later });+ p({ watch_later: (await m(HC, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -80494,9 +80503,9 @@ function Iqe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(HC, { wanted: !e.wanted });+ }), r = await m(UC, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(HC, e));+ n(await m(UC, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -80510,7 +80519,7 @@ function Iqe(e, t, n) {});u("保存中…");try {- o(await m(UC, {+ o(await m(WC, {liked: a,reason: i}));@@ -80520,7 +80529,7 @@ function Iqe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m(UC, r));+ o(await m(WC, r));} });});},@@ -80529,11 +80538,11 @@ function Iqe(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => $C(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(BC, {+ p((t) => ew(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(VC, {operation: "add",tag: e.k- }), p((t) => ew(t, e));+ }), p((t) => tw(t, e));} });}),addTag: (e) => {@@ -80542,14 +80551,14 @@ function Iqe(e, t, n) {(await m("/api/item-tag", {operation: "add",tag: r- })).ok && (p((e) => ew(e, {+ })).ok && (p((e) => tw(e, {k: r,cat: "general"- })), Kre(r), t.toast(`已添加标签「${n(r)}」`, { undo: async () => {- await m(BC, {+ })), Gre(r), t.toast(`已添加标签「${n(r)}」`, { undo: async () => {+ await m(VC, {operation: "remove",tag: r- }), p((e) => $C(e, r));+ }), p((e) => ew(e, r));} }));});}@@ -80567,7 +80576,7 @@ function Lqe(e, t) {kind: (e) => Z7?.player === e ? Z7.kind : Q7?.kind ?? $7?.kind ?? "item",expand: () => C9(),toMiniplayer: () => w9()- }), o9 || (o9 = !0, addEventListener("pagehide", () => pC()));+ }), o9 || (o9 = !0, addEventListener("pagehide", () => mC()));}var o9 = !1;function s9() {@@ -80592,7 +80601,7 @@ function l9(e, t) {Q7 = 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 = DC(s, {+ let c = OC(s, {kind: n,item: r,media: i,@@ -80605,12 +80614,12 @@ function l9(e, t) {});return () => {let e = !!o.player && Z7?.player === o.player;- Q7 === o && (Q7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), pC());+ Q7 === o && (Q7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), mC());};}function zqe(e, t) {let { player: n } = t;- b9(t), Z7 = null, x9(), n.el().classList.remove("vjs-peach-mini"), TC(e), e.append(n.el()), VS(n);+ b9(t), Z7 = null, x9(), n.el().classList.remove("vjs-peach-mini"), EC(e), e.append(n.el()), VS(n);let r = {player: n,kind: t.kind,@@ -80619,9 +80628,9 @@ function zqe(e, t) {key: t.key};Q7 = r;- let i = EC(n, e);+ let i = DC(n, e);return HS(n), () => {- Q7 === r && (Q7 = null), i(), Z7?.player !== n && (BS() === n && VS(null), iC(n), pC());+ Q7 === r && (Q7 = null), i(), Z7?.player !== n && (BS() === n && VS(null), iC(n), mC());};}var u9 = () => {@@ -80743,7 +80752,7 @@ function S9() {let e = Z7;e && b9(e), Z7 = null, n9++;let t = e?.player ?? null;- t && BS() === t && VS(null), iC(t), t && pC(), e9?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), RS(), x9();+ t && BS() === t && VS(null), iC(t), t && mC(), e9?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), RS(), x9();}function C9() {if (!f9() || !Z7) return;@@ -80779,7 +80788,7 @@ async function qqe(e) {return;}let r = Z7;- b9(r), BS() === r.player && VS(null), iC(r.player), pC(), e9.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ b9(r), BS() === r.player && VS(null), iC(r.player), mC(), e9.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);let a = {@@ -80788,7 +80797,7 @@ async function qqe(e) {title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- p9(a), DC(i, {+ p9(a), OC(i, {kind: "item",item: n,autoplay: !0,@@ -81000,7 +81009,7 @@ function Qqe() {}function z9() {let e = Qqe();- (0, $f.flushSync)(() => e.render(/* @__PURE__ */ (0, V.jsx)(z5, { children: /* @__PURE__ */ (0, V.jsx)($qe, { view: M9 }) })));+ (0, $f.flushSync)(() => e.render(/* @__PURE__ */ (0, V.jsx)(p7, { children: /* @__PURE__ */ (0, V.jsx)($qe, { view: M9 }) })));}function $qe({ view: e }) {return /* @__PURE__ */ (0, V.jsxs)(V.Fragment, { children: [e ? /* @__PURE__ */ (0, V.jsx)(eJe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, V.jsx)(Yqe, {})] });@@ -81153,7 +81162,7 @@ async function rJe(e) {ke(r), document.body.setAttribute("data-detail-open", ""), r.open || r.showModal();let i = M9.content;try {- i.kind === "item" ? await Vre(i.props, n.signal) : await WKe(i.props, n.signal);+ i.kind === "item" ? await Bre(i.props, n.signal) : await WKe(i.props, n.signal);} catch {if (n.signal.aborted) return;}@@ -81892,4 +81901,4 @@ var NJe = /*#__PURE__*/ B.forwardRef(function(e, t) {});};//#endregion-export { kne as configureBatchDock, Mne as configureGlowPicker, Pie as configureImmerse, Gie as configureManageHeader, GGe as configureRouter, fKe as configureSettingsPanel, DKe as configureSidebar, cJe as configureStage, PJe as mountToaster, TWe as prefetchManagedRoute, FJe as showToast };+export { kne as configureBatchDock, Mne as configureGlowPicker, Nie as configureImmerse, Wie as configureManageHeader, wKe as configureRouter, Abe as configureSettingsPanel, DKe as configureSidebar, cJe as configureStage, PJe as mountToaster, iGe as prefetchManagedRoute, FJe as showToast };diff --git a/web/dist/peach-ui.js b/web/dist/peach-ui.jsindex 0bd163c0b..32d90fcca 100644--- a/web/dist/peach-ui.js+++ b/web/dist/peach-ui.js@@ -1626,22 +1626,22 @@ function Tn(e) {function En(e) {return (e ?? "online") !== "online" || I.isOnline();}-var L = class extends Error {+var Dn = class extends Error {constructor(e) {super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;}};-function Dn(e) {- return e instanceof L;-}function On(e) {+ return e instanceof Dn;+}+function kn(e) {let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {a = e, o = t;});s.catch(k);let c = () => i !== "pending", l = (t) => {if (!c()) {- let n = new L(t);+ let n = new Dn(t);h(n), e.onCancel?.(n);}}, u = () => {@@ -1691,7 +1691,7 @@ function On(e) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/removable.js-var kn = class {+var An = class {#e;destroy() {this.clearGcTimeout();@@ -1710,7 +1710,7 @@ var kn = class {};//#endregion//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js-function An(e) {+function jn(e) {return { onFetch: (t, n) => {let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {pages: [],@@ -1737,7 +1737,7 @@ function An(e) {};};if (i && a.length) {- let e = i === "backward", t = e ? Mn : jn, n = {+ let e = i === "backward", t = e ? Nn : Mn, n = {pages: a,pageParams: o};@@ -1745,7 +1745,7 @@ function An(e) {} else {let t = e ?? a.length;do {- let e = c === 0 ? o[0] ?? r.initialPageParam : jn(r, s);+ let e = c === 0 ? o[0] ?? r.initialPageParam : Mn(r, s);if (c > 0 && e == null) break;s = await d(s, e), c++;} while (c < t);@@ -1760,22 +1760,22 @@ function An(e) {}, n) : l;} };}-function jn(e, { pages: t, pageParams: n }) {+function Mn(e, { pages: t, pageParams: n }) {let r = t.length - 1;return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;}-function Mn(e, { pages: t, pageParams: n }) {+function Nn(e, { pages: t, pageParams: n }) {return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;}-function Nn(e, t) {- return t ? jn(e, t) != null : !1;-}function Pn(e, t) {- return !t || !e.getPreviousPageParam ? !1 : Mn(e, t) != null;+ return t ? Mn(e, t) != null : !1;+}+function Fn(e, t) {+ return !t || !e.getPreviousPageParam ? !1 : Nn(e, t) != null;}//#endregion//#region node_modules/@tanstack/query-core/build/modern/query.js-var Fn = class extends kn {+var In = class extends An {#e;#t;#n;@@ -1785,7 +1785,7 @@ var Fn = class extends kn {#o;#s;constructor(e) {- super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = Rn(this.options), this.state = e.state ?? this.#t, this.scheduleGc();+ super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = zn(this.options), this.state = e.state ?? this.#t, this.scheduleGc();}get meta() {return this.options.meta;@@ -1801,8 +1801,8 @@ var Fn = class extends kn {...this.#o,...e}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {- let e = Rn(this.options);- e.data !== void 0 && (this.setState(Ln(e.data, e.dataUpdatedAt)), this.#t = e);+ let e = zn(this.options);+ e.data !== void 0 && (this.setState(Rn(e.data, e.dataUpdatedAt)), this.#t = e);}}optionalRemove() {@@ -1916,15 +1916,15 @@ var Fn = class extends kn {};return r(e), e;})();- (this.#e === "infinite" ? An(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({+ (this.#e === "infinite" ? jn(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({type: "fetch",meta: a.fetchOptions?.meta});- let o = this.#a = On({+ let o = this.#a = kn({initialPromise: t?.initialPromise,fn: a.fetchFn,onCancel: (e) => {- e instanceof L && e.revert && this.setState({+ e instanceof Dn && e.revert && this.setState({...this.#n,fetchStatus: "idle"}), n.abort();@@ -1952,7 +1952,7 @@ var Fn = class extends kn {if (e === void 0) throw Error(`${this.queryHash} data is undefined`);return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;} catch (e) {- if (e instanceof L) {+ if (e instanceof Dn) {if (e.silent) return this.#a.promise;if (e.revert) {if (this.state.data === void 0) throw e;@@ -1985,13 +1985,13 @@ var Fn = class extends kn {};case "fetch": return {...t,- ...In(t.data, this.options),+ ...Ln(t.data, this.options),fetchMeta: e.meta ?? null};case "success":let n = {...t,- ...Ln(e.data, e.dataUpdatedAt),+ ...Rn(e.data, e.dataUpdatedAt),dataUpdateCount: t.dataUpdateCount + 1,...!e.manual && {fetchStatus: "idle",@@ -2034,7 +2034,7 @@ var Fn = class extends kn {});}};-function In(e, t) {+function Ln(e, t) {return {fetchFailureCount: 0,fetchFailureReason: null,@@ -2045,7 +2045,7 @@ function In(e, t) {}};}-function Ln(e, t) {+function Rn(e, t) {return {data: e,dataUpdatedAt: t ?? Date.now(),@@ -2054,7 +2054,7 @@ function Ln(e, t) {status: "success"};}-function Rn(e) {+function zn(e) {let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;return {data: t,@@ -2073,7 +2073,7 @@ function Rn(e) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js-var zn = class extends P {+var Bn = class extends P {#e;#t = void 0;#n = void 0;@@ -2095,16 +2095,16 @@ var zn = class extends P {this.refetch = this.refetch.bind(this);}onSubscribe() {- this.listeners.size === 1 && (this.#t.addObserver(this), Vn(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());+ this.listeners.size === 1 && (this.#t.addObserver(this), Hn(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());}onUnsubscribe() {this.hasListeners() || this.destroy();}shouldFetchOnReconnect() {- return Hn(this.#t, this.options, this.options.refetchOnReconnect);+ return Un(this.#t, this.options, this.options.refetchOnReconnect);}shouldFetchOnWindowFocus() {- return Hn(this.#t, this.options, this.options.refetchOnWindowFocus);+ return Un(this.#t, this.options, this.options.refetchOnWindowFocus);}destroy() {this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);@@ -2118,7 +2118,7 @@ var zn = class extends P {observer: this});let r = this.hasListeners();- r && Un(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || A(this.options.enabled, this.#t) !== A(t.enabled, this.#t) || A(this.options.staleTime, this.#t) !== A(t.staleTime, this.#t)) && this.#g();+ r && Wn(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || A(this.options.enabled, this.#t) !== A(t.enabled, this.#t) || A(this.options.staleTime, this.#t) !== A(t.staleTime, this.#t)) && this.#g();let i = this.#_();r && (this.#t !== n || A(this.options.enabled, this.#t) !== A(t.enabled, this.#t) || i !== this.#f) && this.#v(i);}@@ -2197,10 +2197,10 @@ var zn = class extends P {createResult(e, t) {let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;if (t._optimisticResults) {- let i = this.hasListeners(), a = !i && Vn(e, t), o = i && Un(e, n, t, r);+ let i = this.hasListeners(), a = !i && Hn(e, t), o = i && Wn(e, n, t, r);(a || o) && (l = {...l,- ...In(c.data, e.options)+ ...Ln(c.data, e.options)}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");}let { error: f, errorUpdatedAt: p, status: m } = l;@@ -2243,7 +2243,7 @@ var zn = class extends P {isPaused: l.fetchStatus === "paused",isPlaceholderData: u,isRefetchError: v && ee,- isStale: Wn(e, t),+ isStale: Gn(e, t),refetch: this.refetch,isEnabled: A(t.enabled, e) !== !1};@@ -2281,28 +2281,28 @@ var zn = class extends P {this.updateResult(), this.hasListeners() && this.#y();}};-function Bn(e, t) {+function Vn(e, t) {return A(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || A(t.retryOnMount, e) !== !1);}-function Vn(e, t) {- return Bn(e, t) || e.state.data !== void 0 && Hn(e, t, t.refetchOnMount);+function Hn(e, t) {+ return Vn(e, t) || e.state.data !== void 0 && Un(e, t, t.refetchOnMount);}-function Hn(e, t, n) {+function Un(e, t, n) {if (A(t.enabled, e) !== !1 && A(t.staleTime, e) !== "static") {let r = A(n, e);- return r === "always" || r !== !1 && Wn(e, t);+ return r === "always" || r !== !1 && Gn(e, t);}return !1;}-function Un(e, t, n, r) {- return (e !== t || A(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Wn(e, n);+function Wn(e, t, n, r) {+ return (e !== t || A(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Gn(e, n);}-function Wn(e, t) {+function Gn(e, t) {return A(t.enabled, e) !== !1 && e.isStaleByTime(A(t.staleTime, e));}//#endregion//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js-var Gn = class extends zn {+var Kn = class extends Bn {constructor(e, t) {super(e, t);}@@ -2333,8 +2333,8 @@ var Gn = class extends zn {...r,fetchNextPage: this.fetchNextPage,fetchPreviousPage: this.fetchPreviousPage,- hasNextPage: Nn(t, n.data),- hasPreviousPage: Pn(t, n.data),+ hasNextPage: Pn(t, n.data),+ hasPreviousPage: Fn(t, n.data),isFetchNextPageError: l,isFetchingNextPage: u,isFetchPreviousPageError: d,@@ -2343,13 +2343,13 @@ var Gn = class extends zn {isRefetching: a && !u && !f};}-}, Kn = class extends kn {+}, qn = class extends An {#e;#t;#n;#r;constructor(e) {- super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || qn(), this.setOptions(e.options), this.scheduleGc();+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || Jn(), this.setOptions(e.options), this.scheduleGc();}setOptions(e) {this.options = e, this.updateGcTime(this.options.gcTime);@@ -2384,7 +2384,7 @@ var Gn = class extends zn {client: this.#e,meta: this.options.meta,mutationKey: this.options.mutationKey- }, r = this.#r = On({+ }, r = this.#r = kn({fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),onFail: (e, t) => {this.#i({@@ -2511,7 +2511,7 @@ var Gn = class extends zn {});}};-function qn() {+function Jn() {return {context: void 0,data: void 0,@@ -2526,7 +2526,7 @@ function qn() {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js-var Jn = class extends P {+var Yn = class extends P {#e;#t;#n;@@ -2534,7 +2534,7 @@ var Jn = class extends P {super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;}build(e, t, n) {- let r = new Kn({+ let r = new qn({client: e,mutationCache: this,mutationId: ++this.#n,@@ -2545,7 +2545,7 @@ var Jn = class extends P {}add(e) {this.#e.add(e);- let t = Yn(e);+ let t = Xn(e);if (typeof t == "string") {let n = this.#t.get(t);n ? n.push(e) : this.#t.set(t, [e]);@@ -2557,7 +2557,7 @@ var Jn = class extends P {}remove(e) {if (this.#e.delete(e)) {- let t = Yn(e);+ let t = Xn(e);if (typeof t == "string") {let n = this.#t.get(t);if (n) {@@ -2574,7 +2574,7 @@ var Jn = class extends P {});}canRun(e) {- let t = Yn(e);+ let t = Xn(e);if (typeof t == "string") {let n = this.#t.get(t)?.find((e) => e.state.status === "pending");return !n || n === e;@@ -2582,7 +2582,7 @@ var Jn = class extends P {return !0;}runNext(e) {- let t = Yn(e);+ let t = Xn(e);return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();}clear() {@@ -2620,12 +2620,12 @@ var Jn = class extends P {return F.batch(() => Promise.all(e.map((e) => e.continue().catch(k))));}};-function Yn(e) {+function Xn(e) {return e.options.scope?.id;}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutationObserver.js-var Xn = class extends P {+var Zn = class extends P {#e;#t = void 0;#n;@@ -2663,7 +2663,7 @@ var Xn = class extends P {return this.#r = t, this.#n?.removeObserver(this), this.#n = this.#e.getMutationCache().build(this.#e, this.options), this.#n.addObserver(this), this.#n.execute(e);}#i() {- let e = this.#n?.state ?? qn();+ let e = this.#n?.state ?? Jn();this.#t = {...e,isPending: e.status === "pending",@@ -2714,11 +2714,11 @@ var Xn = class extends P {};//#endregion//#region node_modules/@tanstack/query-core/build/modern/queriesObserver.js-function Zn(e, t) {+function Qn(e, t) {let n = new Set(t);return e.filter((e) => !n.has(e));}-var Qn = class extends P {+var $n = class extends P {#e;#t;#n;@@ -2755,9 +2755,9 @@ var Qn = class extends P {let n = this.#t[t];return !n || !N(e, n);});- !o && !s || (o && (this.#l = t, this.#i = n), this.#t = r, this.hasListeners() && (o && (Zn(e, n).forEach((e) => {+ !o && !s || (o && (this.#l = t, this.#i = n), this.#t = r, this.hasListeners() && (o && (Qn(e, n).forEach((e) => {e.destroy();- }), Zn(n, e).forEach((e) => {+ }), Qn(n, e).forEach((e) => {e.subscribe((t) => {this.#m(e, t);});@@ -2812,7 +2812,7 @@ var Qn = class extends P {});let n = [];return e.forEach((e) => {- let r = this.#e.defaultQueryOptions(e), i = t.get(r.queryHash)?.shift() ?? new zn(this.#e, r);+ let r = this.#e.defaultQueryOptions(e), i = t.get(r.queryHash)?.shift() ?? new Bn(this.#e, r);n.push({defaultedQueryOptions: r,observer: i@@ -2833,14 +2833,14 @@ var Qn = class extends P {});}}-}, $n = class extends P {+}, er = class extends P {#e;constructor(e = {}) {super(), this.config = e, this.#e = /* @__PURE__ */ new Map();}build(e, t, n) {let r = t.queryKey, i = t.queryHash ?? Yt(r, t), a = this.get(i);- return a || (a = new Fn({+ return a || (a = new In({client: e,queryKey: r,queryHash: i,@@ -2906,7 +2906,7 @@ var Qn = class extends P {});});}-}, er = class {+}, tr = class {#e;#t;#n;@@ -2916,7 +2916,7 @@ var Qn = class extends P {#o;#s;constructor(e = {}) {- this.#e = e.queryCache || new $n(), this.#t = e.mutationCache || new Jn(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;+ this.#e = e.queryCache || new er(), this.#t = e.mutationCache || new Yn(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;}mount() {this.#a++, this.#a === 1 && (this.#o = mn.subscribe(async (e) => {@@ -3100,7 +3100,7 @@ var Qn = class extends P {};//#endregion//#region node_modules/@tanstack/query-core/build/modern/streamedQuery.js-function tr({ streamFn: e, refetchMode: t = "reset", reducer: n = (e, t) => an(e, t), initialValue: r = [] }) {+function nr({ streamFn: e, refetchMode: t = "reset", reducer: n = (e, t) => an(e, t), initialValue: r = [] }) {return async (i) => {let a = i.client.getQueryCache().find({queryKey: i.queryKey,@@ -3129,19 +3129,19 @@ function tr({ streamFn: e, refetchMode: t = "reset", reducer: n = (e, t) => an(e//#endregion//#region node_modules/@tanstack/query-core/build/modern/types.js/* istanbul ignore file */-var nr = Symbol(), rr = Symbol(), ir = Symbol(), R = new er({ defaultOptions: { queries: {+var rr = Symbol(), ir = Symbol(), ar = Symbol(), L = new tr({ defaultOptions: { queries: {networkMode: "always",retry: 0,refetchOnWindowFocus: !1,refetchOnMount: !1,retryOnMount: !1-} } }), ar = class extends Error {+} } }), or = class extends Error {status;body;constructor(e, t, n = null) {super(r(e, t)), this.name = "ApiError", this.status = t, this.body = n;}-}, or = (e) => {+}, sr = (e) => {if (!e || typeof e != "object") return "";let t = e;for (let e of [@@ -3154,7 +3154,7 @@ var nr = Symbol(), rr = Symbol(), ir = Symbol(), R = new er({ defaultOptions: {}return "";};-async function sr(e, t) {+async function cr(e, t) {let n = await fetch(e, {headers: { Accept: "application/json" },credentials: "same-origin",@@ -3163,34 +3163,34 @@ async function sr(e, t) {try {r = await n.json();} catch {}- if (!n.ok) throw new ar(or(r) || `请求失败(${n.status})`, n.status);+ if (!n.ok) throw new or(sr(r) || `请求失败(${n.status})`, n.status);return r;}//#endregion//#region src/query/media-sources.ts-var cr = "/api/sources", lr = ["media-sources"], ur = (e) => sr(cr, e), dr = (e) => e?.name === "AbortError" || Dn(e);-async function fr() {- let e = () => R.fetchQuery({- queryKey: lr,- queryFn: () => ur()+var lr = "/api/sources", ur = ["media-sources"], dr = (e) => cr(lr, e), fr = (e) => e?.name === "AbortError" || On(e);+async function pr() {+ let e = () => L.fetchQuery({+ queryKey: ur,+ queryFn: () => dr()});try {return await e();} catch (t) {- if (!dr(t)) throw t;+ if (!fr(t)) throw t;return await e();}}//#endregion//#region node_modules/react-router/dist/production/lib/router/url.js-var pr = /^[\\/]{2}/, mr = "popstate";-function hr(e) {+var mr = /^[\\/]{2}/, hr = "popstate";+function gr(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}-function gr(e = {}) {+function _r(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;- return xr("", {+ return Sr("", {pathname: r,search: i,hash: a@@ -3201,14 +3201,14 @@ function gr(e = {}) {} : void 0);}function n(e, t) {- return typeof t == "string" ? t : Sr(t);+ return typeof t == "string" ? t : Cr(t);}- return wr(t, n, null, e);+ return Tr(t, n, null, e);}-function _r(e, t) {+function vr(e, t) {if (e === !1 || e == null) throw Error(t);}-function vr(e, t) {+function yr(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -3216,10 +3216,10 @@ function vr(e, t) {} catch {}}}-function yr() {+function br() {return Math.random().toString(36).substring(2, 10);}-function br(e, t) {+function xr(e, t) {return {usr: e.state,key: e.key,@@ -3231,21 +3231,21 @@ function br(e, t) {} : void 0};}-function xr(e, t, n = null, r, i) {+function Sr(e, t, n = null, r, i) {return {pathname: typeof e == "string" ? e : e.pathname,search: "",hash: "",- ...typeof t == "string" ? Cr(t) : t,+ ...typeof t == "string" ? wr(t) : t,state: n,- key: t && t.key || r || yr(),+ key: t && t.key || r || br(),mask: i};}-function Sr({ pathname: e = "/", search: t = "", hash: n = "" }) {+function Cr({ 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 Cr(e) {+function wr(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -3255,7 +3255,7 @@ function Cr(e) {}return t;}-function wr(e, t, n, r = {}) {+function Tr(e, t, n, r = {}) {let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();l ?? (l = 0, o.replaceState({...o.state,@@ -3275,9 +3275,9 @@ function wr(e, t, n, r = {}) {}function f(e, t) {s = "PUSH";- let r = hr(e) ? e : xr(h.location, e, t);+ let r = gr(e) ? e : Sr(h.location, e, t);n && n(r, e), l = u() + 1;- let d = br(r, l), f = h.createHref(r.mask || r);+ let d = xr(r, l), f = h.createHref(r.mask || r);try {o.pushState(d, "", f);} catch (e) {@@ -3292,9 +3292,9 @@ function wr(e, t, n, r = {}) {}function p(e, t) {s = "REPLACE";- let r = hr(e) ? e : xr(h.location, e, t);+ let r = gr(e) ? e : Sr(h.location, e, t);n && n(r, e), l = u();- let i = br(r, l), d = h.createHref(r.mask || r);+ let i = xr(r, l), d = h.createHref(r.mask || r);o.replaceState(i, "", d), a && c && c({action: s,location: h.location,@@ -3302,7 +3302,7 @@ function wr(e, t, n, r = {}) {});}function m(e) {- return Tr(i, e);+ return Er(i, e);}let h = {get action() {@@ -3313,8 +3313,8 @@ function wr(e, t, n, r = {}) {},listen(e) {if (c) throw Error("A history only accepts one active listener");- return i.addEventListener(mr, d), c = e, () => {- i.removeEventListener(mr, d), c = null;+ return i.addEventListener(hr, d), c = e, () => {+ i.removeEventListener(hr, d), c = null;};},createHref(e) {@@ -3337,15 +3337,15 @@ function wr(e, t, n, r = {}) {};return h;}-function Tr(e, t, n = !1) {+function Er(e, t, n = !1) {let r = "http://localhost";- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), _r(r, "No window.location.(origin|href) available to create URL");- let i = typeof t == "string" ? t : Sr(t);- return i = i.replace(/ $/, "%20"), !n && pr.test(i) && (i = r + i), new URL(i, r);+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), vr(r, "No window.location.(origin|href) available to create URL");+ let i = typeof t == "string" ? t : Cr(t);+ return i = i.replace(/ $/, "%20"), !n && mr.test(i) && (i = r + i), new URL(i, r);}//#endregion//#region node_modules/react/cjs/react.production.js-var Er = /* @__PURE__ */ f(((e) => {+var Dr = /* @__PURE__ */ f(((e) => {var t = {isMounted: function() {return !1;@@ -3372,26 +3372,26 @@ var Er = /* @__PURE__ */ f(((e) => {s.constructor = o, n(s, i.prototype), s.isPureReactComponent = !0, Array.isArray;}));(/* @__PURE__ */ f(((e, t) => {- t.exports = Er();+ t.exports = Dr();})))();-function Dr(e, t) {+function Or(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = kr(e.path, e.caseSensitive, e.end);- return Or(e, t, n, r);+ let [n, r] = Ar(e.path, e.caseSensitive, e.end);+ return kr(e, t, n, r);}-function Or(e, t, n, r) {+function kr(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = Ar(a, 1), s = i.slice(1);+ let a = i[0], o = jr(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = Ar(a.slice(0, a.length - e.length), 1);+ o = jr(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -3401,8 +3401,8 @@ function Or(e, t, n, r) {pattern: e};}-function kr(e, t = !1, n = !0) {- vr(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 Ar(e, t = !1, n = !0) {+ yr(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,@@ -3415,7 +3415,7 @@ function kr(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 Ar(e, t = 0) {+function jr(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);@@ -3423,107 +3423,107 @@ function Ar(e, t = 0) {typeof window < "u" && window.document !== void 0 && window.document.createElement;//#endregion//#region src/history/overlay.ts-var jr = [+var Mr = ["/item/:id","/mix/:seed/:item","/parts/:seed/:item","/editions/:seed/:item","/playlists/:playlist/:item","/follow/item/:id"-], Mr = (e) => jr.some((t) => Dr(t, e) !== null);-function Nr(e) {+], Nr = (e) => Mr.some((t) => Or(t, e) !== null);+function Pr(e) {let t = e?.backgroundLocation;return typeof t?.pathname == "string" ? {pathname: t.pathname,search: typeof t.search == "string" ? t.search : ""} : null;}-var Pr = null, Fr = null;-function Ir() {+var Fr = null, Ir = null;+function Lr() {let { pathname: e, search: t } = window.location;- Mr(e) || (Pr = {+ Nr(e) || (Fr = {pathname: e,search: t});}-function Lr() {- Pr = null, Fr = null;+function Rr() {+ Fr = null, Ir = null;}-function Rr(e) {- let t = Nr(e);- t && (Pr = t, Fr = t.pathname + t.search);+function zr(e) {+ let t = Pr(e);+ t && (Fr = t, Ir = t.pathname + t.search);}-function zr() {- let e = Fr;- return Fr = null, e;+function Br() {+ let e = Ir;+ return Ir = null, e;}-function Br(e) {- return Pr ? {- backgroundLocation: { ...Pr },+function Vr(e) {+ return Fr ? {+ backgroundLocation: { ...Fr },overlay: e} : void 0;}//#endregion//#region src/history/managed.ts-var Vr = () => {}, Hr = new Promise((e) => {- Vr = e;+var Hr = () => {}, Ur = new Promise((e) => {+ Hr = e;});-Hr.catch(() => {});-var Ur = null;-function Wr(e) {- Ur = e;-}-var z = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), Gr = 0, Kr = /* @__PURE__ */ new Set();-function qr(e) {- Vr(e);+Ur.catch(() => {});+var Wr = null;+function Gr(e) {+ Wr = e;}+var R = /* @__PURE__ */ new Map(), z = /* @__PURE__ */ new Map(), Kr = 0, qr = /* @__PURE__ */ new Set();function Jr(e) {- return z.get(e) ?? null;+ Hr(e);}function Yr(e) {- return !!e && (z.has(e) || B.has(e));+ return R.get(e) ?? null;}-var Xr = () => [...z.values()];-function Zr(e) {- return Kr.add(e), () => {- Kr.delete(e);- };+function Xr(e) {+ return !!e && (R.has(e) || z.has(e));}+var Zr = () => [...R.values()];function Qr(e) {- let t = Xr();- for (let n of [...Kr]) n(t, e);+ return qr.add(e), () => {+ qr.delete(e);+ };+}+function $r(e) {+ let t = Zr();+ for (let n of [...qr]) n(t, e);}-async function $r(e, t, n) {+async function ei(e, t, n) {let { container: r } = n;if (ri(r), !n.isCurrent()) return !1;- Gr += 1;+ Kr += 1;let i = {- revision: Gr,+ revision: Kr,controller: new AbortController()};- B.set(r, i);- let a = Ur;- Ur = null, a?.();- let o = await Hr;- if (B.get(r) !== i) return !1;+ z.set(r, i);+ let a = Wr;+ Wr = null, a?.();+ let o = await Ur;+ if (z.get(r) !== i) return !1;try {await o(e, t, i.controller.signal);} catch {if (i.controller.signal.aborted) return !1;}- if (B.get(r) !== i || (B.delete(r), !n.isCurrent())) return !1;+ if (z.get(r) !== i || (z.delete(r), !n.isCurrent())) return !1;let s = n.place ? n.place(r) : ti(r);- return z.set(r, {+ return R.set(r, {path: e,props: t,revision: i.revision,container: r,host: s,resident: !!n.resident- }), Qr(!0), !0;+ }), $r(!0), !0;}-function ei(e, t, n = () => t) {- return $r(e, {}, {+function B(e, t, n = () => t) {+ return ei(e, {}, {container: t,isCurrent: () => !0,place: () => n(t),@@ -3535,37 +3535,37 @@ function ti(e) {return t.className = "peach-react", e.textContent = "", e.append(t), t;}function ni(e, t) {- let n = e ? z.get(e) : void 0;- n && (z.set(n.container, {+ let n = e ? R.get(e) : void 0;+ n && (R.set(n.container, {...n,props: {...n.props,...t}- }), Qr(!1));+ }), $r(!1));}function ri(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {- let e = B.get(r);- e && (e.controller.abort(), B.delete(r));- let t = z.get(r);- t && (z.delete(r), n.push(t));+ let e = z.get(r);+ e && (e.controller.abort(), z.delete(r));+ let t = R.get(r);+ t && (R.delete(r), n.push(t));}if (n.length) {- Qr(!0);+ $r(!0);for (let e of n) e.resident || e.host.remove();}}function ii(e, t) {- let n = z.get(e);- n?.revision === t && (z.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- Qr(!1);+ let n = R.get(e);+ n?.revision === t && (R.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {+ $r(!1);}));}//#endregion//#region src/history/index.ts-var V = gr({ v5Compat: !0 }), ai = 0, oi = {+var V = _r({ v5Compat: !0 }), ai = 0, oi = {action: V.action,location: V.location,seq: ai@@ -3610,8 +3610,8 @@ function mi(e) {!ui || e <= ci || (ci = e, ui("history"));}function hi(e) {- let t = Br(e);- !t || !Mr(window.location.pathname) || fi(window.location.href, {+ let t = Vr(e);+ !t || !Nr(window.location.pathname) || fi(window.location.href, {replace: !0,state: t});@@ -4795,18 +4795,18 @@ async function Is(t) {return r.performers.length || r.studios.length || !i.has("state") ? r : (i.delete("state"), await e(`/api/tops?${i}`));}function Ls(t, n) {- return Promise.all([R.fetchQuery({+ return Promise.all([L.fetchQuery({queryKey: Ns(t),queryFn: () => e(`/api/facets${t ? `?${t}` : ""}`),staleTime: js- }), R.fetchQuery({+ }), L.fetchQuery({queryKey: Ps(n, t),queryFn: () => Is(n),staleTime: js})]);}function Rs(e) {- return R.fetchQuery({+ return L.fetchQuery({queryKey: Fs(e),queryFn: () => Is(e),staleTime: js@@ -4815,10 +4815,10 @@ function Rs(e) {function zs() {Ms += 1;let e = (e) => e.state.fetchStatus === "idle";- R.removeQueries({+ L.removeQueries({queryKey: ["facets"],predicate: e- }), R.removeQueries({+ }), L.removeQueries({queryKey: ["tops"],predicate: e});@@ -4998,13 +4998,16 @@ function dc(e) {}var fc = () => uc, pc = null, mc = null;function hc(e) {- return pc ??= import("/dist/peach-react.js").then((t) => (mc = t.configureSettingsPanel(e), mc)), pc;+ return pc ??= import("/dist/peach-react.js").then(async (t) => {+ let n = t.configureSettingsPanel(e), r = document.createElement("div");+ return r.dataset.settingsHost = "", await B("settings-panel", r, (e) => (document.body.append(e), e)), mc = n, n;+ }), pc;}var gc = () => mc, _c = null, vc = null;function yc(e) {return _c ??= import("/dist/peach-react.js").then(async (t) => {let n = t.configureImmerse(e), r = document.createElement("div");- return r.dataset.immerseHost = "", await ei("immerse", r, (e) => (document.body.append(e), e)), vc = n, n;+ return r.dataset.immerseHost = "", await B("immerse", r, (e) => (document.body.append(e), e)), vc = n, n;}), _c;}var bc = () => vc, xc = null, Sc = null;@@ -5015,32 +5018,32 @@ var wc = () => Sc, Tc = null, Ec = null;function Dc(e) {return Tc ??= import("/dist/peach-react.js").then(async (t) => {let n = t.configureManageHeader(e);- return await ei("manage-header", e.root, (e) => (e.replaceChildren(), e)), Ec = n, n;+ return await B("manage-header", e.root, (e) => (e.replaceChildren(), e)), Ec = n, n;}), Tc;}var Oc = () => Ec, kc = null, Ac = null;function jc(e) {return kc ??= import("/dist/peach-react.js").then(async (t) => {let n = t.configureBatchDock(e);- return await ei("batch-dock", e.root), Ac = n, n;+ return await B("batch-dock", e.root), Ac = n, n;}), kc;}var Mc = () => Ac, Nc = null;function Pc(e) {return Nc ??= import("/dist/peach-react.js").then(async (t) => {- t.configureGlowPicker(e), await ei("glow-picker", e.root);+ t.configureGlowPicker(e), await B("glow-picker", e.root);}), Nc;}var Fc = null;-Wr(() => {+Gr(() => {import("/dist/peach-react.js").catch(() => {});});function Ic(e) {if (!Fc) {let t = import("/dist/peach-react.js").then((t) => (t.configureRouter(e), t));- qr(t.then((e) => e.prefetchManagedRoute)), Fc = t.then(() => void 0);+ Jr(t.then((e) => e.prefetchManagedRoute)), Fc = t.then(() => void 0);}return Fc;}//#endregion-export { Se as ACCENTS, Ft as ACCENT_CHOICES, it as COVER_FRONT_RATIO, L as CancelledError, Ce as DEFAULT_ACCENT, Me as DEFAULT_HOME_GLOW, Ue as DEFAULT_SETTINGS, ue as DEFAULT_SIDEBAR_ORDER, ba as FACE_CEILING, va as FACE_TARGET, He as FEED_COMPILATION_KEYS, Be as FOLLOW_INITIAL_DAYS, ve as GLASS_NATIVE_PRESET, _e as GLOW_SPOT_LABELS, De as GLOW_SWATCHES, Ee as GLOW_SWATCH_FAMILIES, ye as HOME_GLOW_CHOICES, C as HOME_GLOW_PRESETS, S as HOME_GLOW_SPOTS, Gn as InfiniteQueryObserver, tt as JAV_LAYOUTS, m as JAV_RELEASE_SORT, lr as MEDIA_SOURCES_KEY, cr as MEDIA_SOURCES_URL, Ve as METADATA_REFRESH_DAYS, ya as MIN_FACE_PX, Kn as Mutation, Jn as MutationCache, Xn as MutationObserver, jr as OVERLAY_PATHS, rt as PHOTO_LAYOUTS, nt as PHOTO_SIZES, Qn as QueriesObserver, Fn as Query, $n as QueryCache, er as QueryClient, zn as QueryObserver, Re as SETTINGS_KEY, p as SORTS, _ as SORT_ALIASES, g as SORT_DIR_WORDS, h as SORT_KEYS, ze as THEME_CHOICES, Ye as THEME_OPTIONS, xt as TILES, ki as activeQueue, Pi as activityPrefill, Rr as adoptOverlayState, Oa as advanceImageFallback, T as allowedSetting, E as appSettingsStore, Mt as applyAccent, Tt as applyDensity, jt as applyGlassFaces, At as applyHomeGlow, qe as applySyncedSettings, Qe as applyTheme, ro as avatarFrame, Va as avatarInner, Nr as backgroundOf, _i as barsContext, Mc as batchDockApi, Cs as boardPageSkeleton, Ya as cardArtwork, $a as cardIdentity, st as cardLayoutFor, mt as cardRatio, Es as catalogEmptyHtml, As as catalogFilterSkeletonHtml, Ts as catalogSuggestions, Lt as chooseAccent, It as chooseGlowPreset, ga as clampPage, Ys as cleanupSkeletonHtml, Lr as clearOverlayBackground, ic as clickPlayerControl, Ni as configurationRequestedSection, So as configureHoverPreview, qr as connectManagedRoutes, io as coverAnchor, oo as coverBackdrop, lo as coverFace, Ka as coverImage, co as coverRatio, Ia as coverUrl, St as currentDensity, rr as dataTagErrorSymbol, nr as dataTagSymbol, Cn as defaultScheduler, yn as defaultShouldDehydrateMutation, bn as defaultShouldDehydrateQuery, y as defaultSortDir, xn as dehydrate, vn as dehydrateQuery, Di as detailOriginAbove, Ei as detailOriginAnchor, Qa as detailPosterUrl, vi as detailReturnBarsContext, Oi as detailReturnNeedsRestore, Ti as detailReturnPath, Ss as detailSkeletonHtml, zs as dropBars, Ha as entityAvatar, Ba as entityFaceImg, Oo as entitySkeletonHtml, pn as environmentManager, tr as experimental_streamedQuery, Ga as faceBoxAttrs, Ca as faceFrame, Ua as faceOrigin, Wa as facePos, Aa as faceSourceScale, Sa as faceZoom, ii as failManagedRoute, Ls as fetchBars, ur as fetchMediaSources, Rs as fetchTopsPage, go as fitNativeImage, mn as focusManager, Mi as followDetailReturnPath, la as followJobProgress, Ci as followLastSelectedId, bi as followSelected, ho as frameCachedImages, Te as glowAccent, Pe as glowChipFill, Pt as glowChips, ke as glowColor, xe as glowPalette, be as glowPresetName, pt as gridLayout, xa as hasFaceBox, j as hashKey, Ir as holdOverlayBackground, ot as homeLayout, Sn as hydrate, Da as imageFallbackAttrs, bc as immerseApi, Ui as initBoardControls, bo as installCardArt, Dn as isCancelledError, w as isNativeGlass, Mr as isOverlayPath, Ut as isServer, Ja as javArtwork, ie as javImageKind, at as javLayout, sa as jobActivityHtml, rc as junkCountSkeletonHtml, $s as junkPath, Qs as junkRoute, rn as keepPreviousData, Si as lastSelectedId, Zr as listenManagedEntry, jc as loadBatchDock, Pc as loadGlowPicker, yc as loadImmerse, Dc as loadManageHeader, fr as loadMediaSources, Ic as loadRouter, hc as loadSettingsPanel, Cc as loadSidebar, dc as loadStage, La as logoUrl, Oc as manageHeaderApi, ia as manageHeaderSkeletonHtml, ta as manageHeaderView, Xr as managedEntries, Jr as managedEntry, Yr as managedTaken, Jt as matchMutation, qt as matchQuery, Xa as mixFace, to as mixLabel, ja as nativeImageFit, ee as nextSortState, k as noop, we as normalizeAccent, We as normalizeAppSettings, Ne as normalizeHomeGlow, re as normalizeJavImage, b as normalizeJavLayout, ne as normalizeJavPreferences, me as normalizeSidebarOrder, F as notifyManager, Ri as notifyShell, I as onlineManager, $r as openManagedRoute, ei as openResidentSurface, Br as overlayState, ha as pageCount, _a as paginationHtml, Le as paintGlassFaces, zt as paintGlowButton, Ie as paintHomeGlow, Ot as paintHomeGlowNow, Dt as paintPhotoSizeButton, oe as panelFrame, Ea as parseFallbacks, M as partialMatchKey, di as peachHistory, Ai as pendingQueueRoute, za as performerLabel, dt as photoLayout, ut as photoSize, Je as postSearchHistoryLimit, ao as posterPanel, te as preferredDirection, Wr as preloadManagedRoutes, ji as presentedItem, R as queryClient, eo as queueAvatarHtml, Za as queueThumbHtml, Ge as readAppSettings, _o as refitNativeImages, Vi as registerDiagnosticsRoute, vo as relayoutCovers, ce as relayoutJavImages, To as releaseHover, wo as releaseHoverPreviews, ri as releaseManagedRoute, Na as rememberRepresentatives, Zt as replaceEqualDeep, Pa as representativeOf, Rt as resetGlowColors, hi as retagOverlay, mi as routeSeen, oc as seekVideoBy, fa as selectGroup, xi as selectMode, ua as selectRange, wi as selectSurface, yi as selected, da as selectionSummary, Eo as setHoverState, gc as settingsPanelApi, mo as settleImage, fi as shellNavigate, Bi as shellVersion, ln as shouldThrowError, cc as showToast, wc as sidebarApi, he as sidebarHasCatalogContent, Zi as sidebarSkeletonHtml, ge as sidebarTagCounts, sn as skipToken, v as sortDirWord, fc as stageApi, pi as startRouting, gi as state, ht as storeHomeLayout, gt as storeJavLayout, yt as storePhotoLayout, vt as storePhotoSize, _t as storeVideoLayout, zi as subscribeShell, Hi as syncBoardRange, se as syncJavImages, pa as syncSelectionToolbar, zr as takeOverlayReturn, O as timeoutManager, Et as toggleDensity, ac as toggleVideoPlayback, Yi as transitionTheme, ir as unsetMarker, ni as updateManagedRoute, so as upgradeCover, ca as watchJob, po as watchPendingImages, et as watchSystemTheme, Bt as wireGlowButton, Do as wireHover, ka as wireImageFallbacks, Fa as withVersion, Li as writeShell };+export { Se as ACCENTS, Ft as ACCENT_CHOICES, it as COVER_FRONT_RATIO, Dn as CancelledError, Ce as DEFAULT_ACCENT, Me as DEFAULT_HOME_GLOW, Ue as DEFAULT_SETTINGS, ue as DEFAULT_SIDEBAR_ORDER, ba as FACE_CEILING, va as FACE_TARGET, He as FEED_COMPILATION_KEYS, Be as FOLLOW_INITIAL_DAYS, ve as GLASS_NATIVE_PRESET, _e as GLOW_SPOT_LABELS, De as GLOW_SWATCHES, Ee as GLOW_SWATCH_FAMILIES, ye as HOME_GLOW_CHOICES, C as HOME_GLOW_PRESETS, S as HOME_GLOW_SPOTS, Kn as InfiniteQueryObserver, tt as JAV_LAYOUTS, m as JAV_RELEASE_SORT, ur as MEDIA_SOURCES_KEY, lr as MEDIA_SOURCES_URL, Ve as METADATA_REFRESH_DAYS, ya as MIN_FACE_PX, qn as Mutation, Yn as MutationCache, Zn as MutationObserver, Mr as OVERLAY_PATHS, rt as PHOTO_LAYOUTS, nt as PHOTO_SIZES, $n as QueriesObserver, In as Query, er as QueryCache, tr as QueryClient, Bn as QueryObserver, Re as SETTINGS_KEY, p as SORTS, _ as SORT_ALIASES, g as SORT_DIR_WORDS, h as SORT_KEYS, ze as THEME_CHOICES, Ye as THEME_OPTIONS, xt as TILES, ki as activeQueue, Pi as activityPrefill, zr as adoptOverlayState, Oa as advanceImageFallback, T as allowedSetting, E as appSettingsStore, Mt as applyAccent, Tt as applyDensity, jt as applyGlassFaces, At as applyHomeGlow, qe as applySyncedSettings, Qe as applyTheme, ro as avatarFrame, Va as avatarInner, Pr as backgroundOf, _i as barsContext, Mc as batchDockApi, Cs as boardPageSkeleton, Ya as cardArtwork, $a as cardIdentity, st as cardLayoutFor, mt as cardRatio, Es as catalogEmptyHtml, As as catalogFilterSkeletonHtml, Ts as catalogSuggestions, Lt as chooseAccent, It as chooseGlowPreset, ga as clampPage, Ys as cleanupSkeletonHtml, Rr as clearOverlayBackground, ic as clickPlayerControl, Ni as configurationRequestedSection, So as configureHoverPreview, Jr as connectManagedRoutes, io as coverAnchor, oo as coverBackdrop, lo as coverFace, Ka as coverImage, co as coverRatio, Ia as coverUrl, St as currentDensity, ir as dataTagErrorSymbol, rr as dataTagSymbol, Cn as defaultScheduler, yn as defaultShouldDehydrateMutation, bn as defaultShouldDehydrateQuery, y as defaultSortDir, xn as dehydrate, vn as dehydrateQuery, Di as detailOriginAbove, Ei as detailOriginAnchor, Qa as detailPosterUrl, vi as detailReturnBarsContext, Oi as detailReturnNeedsRestore, Ti as detailReturnPath, Ss as detailSkeletonHtml, zs as dropBars, Ha as entityAvatar, Ba as entityFaceImg, Oo as entitySkeletonHtml, pn as environmentManager, nr as experimental_streamedQuery, Ga as faceBoxAttrs, Ca as faceFrame, Ua as faceOrigin, Wa as facePos, Aa as faceSourceScale, Sa as faceZoom, ii as failManagedRoute, Ls as fetchBars, dr as fetchMediaSources, Rs as fetchTopsPage, go as fitNativeImage, mn as focusManager, Mi as followDetailReturnPath, la as followJobProgress, Ci as followLastSelectedId, bi as followSelected, ho as frameCachedImages, Te as glowAccent, Pe as glowChipFill, Pt as glowChips, ke as glowColor, xe as glowPalette, be as glowPresetName, pt as gridLayout, xa as hasFaceBox, j as hashKey, Lr as holdOverlayBackground, ot as homeLayout, Sn as hydrate, Da as imageFallbackAttrs, bc as immerseApi, Ui as initBoardControls, bo as installCardArt, On as isCancelledError, w as isNativeGlass, Nr as isOverlayPath, Ut as isServer, Ja as javArtwork, ie as javImageKind, at as javLayout, sa as jobActivityHtml, rc as junkCountSkeletonHtml, $s as junkPath, Qs as junkRoute, rn as keepPreviousData, Si as lastSelectedId, Qr as listenManagedEntry, jc as loadBatchDock, Pc as loadGlowPicker, yc as loadImmerse, Dc as loadManageHeader, pr as loadMediaSources, Ic as loadRouter, hc as loadSettingsPanel, Cc as loadSidebar, dc as loadStage, La as logoUrl, Oc as manageHeaderApi, ia as manageHeaderSkeletonHtml, ta as manageHeaderView, Zr as managedEntries, Yr as managedEntry, Xr as managedTaken, Jt as matchMutation, qt as matchQuery, Xa as mixFace, to as mixLabel, ja as nativeImageFit, ee as nextSortState, k as noop, we as normalizeAccent, We as normalizeAppSettings, Ne as normalizeHomeGlow, re as normalizeJavImage, b as normalizeJavLayout, ne as normalizeJavPreferences, me as normalizeSidebarOrder, F as notifyManager, Ri as notifyShell, I as onlineManager, ei as openManagedRoute, B as openResidentSurface, Vr as overlayState, ha as pageCount, _a as paginationHtml, Le as paintGlassFaces, zt as paintGlowButton, Ie as paintHomeGlow, Ot as paintHomeGlowNow, Dt as paintPhotoSizeButton, oe as panelFrame, Ea as parseFallbacks, M as partialMatchKey, di as peachHistory, Ai as pendingQueueRoute, za as performerLabel, dt as photoLayout, ut as photoSize, Je as postSearchHistoryLimit, ao as posterPanel, te as preferredDirection, Gr as preloadManagedRoutes, ji as presentedItem, L as queryClient, eo as queueAvatarHtml, Za as queueThumbHtml, Ge as readAppSettings, _o as refitNativeImages, Vi as registerDiagnosticsRoute, vo as relayoutCovers, ce as relayoutJavImages, To as releaseHover, wo as releaseHoverPreviews, ri as releaseManagedRoute, Na as rememberRepresentatives, Zt as replaceEqualDeep, Pa as representativeOf, Rt as resetGlowColors, hi as retagOverlay, mi as routeSeen, oc as seekVideoBy, fa as selectGroup, xi as selectMode, ua as selectRange, wi as selectSurface, yi as selected, da as selectionSummary, Eo as setHoverState, gc as settingsPanelApi, mo as settleImage, fi as shellNavigate, Bi as shellVersion, ln as shouldThrowError, cc as showToast, wc as sidebarApi, he as sidebarHasCatalogContent, Zi as sidebarSkeletonHtml, ge as sidebarTagCounts, sn as skipToken, v as sortDirWord, fc as stageApi, pi as startRouting, gi as state, ht as storeHomeLayout, gt as storeJavLayout, yt as storePhotoLayout, vt as storePhotoSize, _t as storeVideoLayout, zi as subscribeShell, Hi as syncBoardRange, se as syncJavImages, pa as syncSelectionToolbar, Br as takeOverlayReturn, O as timeoutManager, Et as toggleDensity, ac as toggleVideoPlayback, Yi as transitionTheme, ar as unsetMarker, ni as updateManagedRoute, so as upgradeCover, ca as watchJob, po as watchPendingImages, et as watchSystemTheme, Bt as wireGlowButton, Do as wireHover, ka as wireImageFallbacks, Fa as withVersion, Li as writeShell };